!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(exports):"function"==typeofdefine&&define.amd?define(["exports"],t):t(((e=e||self).prettierPlugins=e.prettierPlugins||{},e.prettierPlugins.yaml={}))}(this,(function(e){"use strict";vart=function(e,t){varn=newSyntaxError(e+" ("+t.start.line+":"+t.start.column+")");returnn.loc=t,n};varn=function(e){return/^\s*#[^\n\S]*@(prettier|format)\s*?(\n|$)/.test(e)},r="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{};functiona(e){returne&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}functiono(e,t){returne(t={exports:{}},t.exports),t.exports}functioni(e){return(i="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe})(e)}functions(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionu(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functionf(e,t,n){returnt&&u(e.prototype,t),n&&u(e,n),e}functionl(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}functionc(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}functiond(e,t){return(d=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e})(e,t)}functionh(e,t,n){return(h=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){varr=[null];r.push.apply(r,t);vara=new(Function.bind.apply(e,r));returnn&&d(a,n.prototype),a}).apply(null,arguments)}functionp(e){vart="function"==typeofMap?newMap:void0;return(p=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))returne;varn;if("function"!=typeofe)thrownewTypeError("Super expression must either be null or a function");if(void0!==t){if(t.has(e))returnt.get(e);t.set(e,r)}functionr(){returnh(e,arguments,c(this).constructor)}returnr.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),d(r,e)})(e)}functionv(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}functiong(e,t){return!t||"object"!=typeoft&&"function"!=typeoft?v(e):t}functionm(e,t,n){return(m="undefined"!=typeofReflect&&Reflect.get?Reflect.get:function(e,t,n){varr=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););returne}(e,t);if(r){vara=Object.getOwnPropertyDescriptor(r,t);returna.get?a.get.call(n):a.value}})(e,t,n||e)}functiony(e,t){returnb(e)||function(e,t){if(!(Symbol.iteratorinObject(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;varn=[],r=!0,a=!1,o=void0;try{for(vari,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throwo}}returnn}(e,t)||w()}function_(e){returnb(e)||function(e){if(Symbol.iteratorinObject(e)||"[object Arguments]"===Object.prototype.toString.call(e))returnArray.from(e)}(e)||w()}functionb(e){if(Array.isArray(e))returne}functionw(){thrownewTypeError("Invalid attempt to destructure non-iterable instance")}