!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?e(exports):"function"==typeofdefine&&define.amd?define(["exports"],e):e(((t=t||self).prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.glimmer={}))}(this,(function(t){"use strict";vare=function(t,e){varr=newSyntaxError(t+" ("+e.start.line+":"+e.start.column+")");returnr.loc=e,r};functionr(t){return(r="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functiona(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionn(t,e){for(varr=0;r<e.length;r++){vara=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"ina&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}functioni(t,e,r){returne&&n(t.prototype,e),r&&n(t,r),t}functiono(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}functions(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)})(t)}functionl(t,e){return(l=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t})(t,e)}functionc(t,e){return!e||"object"!=typeofe&&"function"!=typeofe?function(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}(t):e}functionu(t,e){returnf(t)||function(t,e){if(!(Symbol.iteratorinObject(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;varr=[],a=!0,n=!1,i=void0;try{for(varo,s=t[Symbol.iterator]();!(a=(o=s.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){n=!0,i=t}finally{try{a||null==s.return||s.return()}finally{if(n)throwi}}returnr}(t,e)||m()}functionh(t){returnf(t)||d(t)||m()}functionp(t){returnfunction(t){if(Array.isArray(t)){for(vare=0,r=newArray(t.length);e<t.length;e++)r[e]=t[e];returnr}}(t)||d(t)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance")}()}functionf(t){if(Array.isArray(t))returnt}functiond(t){if(Symbol.iteratorinObject(t)||"[object Arguments]"===Object.prototype.toString.call(t))returnArray.from(t)}functionm(){thrownewTypeError("Invalid attempt to destructure non-iterable instance")}varg=("undefined"!=typeofglobal?global:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{}).performance||{},v=(g.now||g.mozNow||g.msNow||g.oNow||g.webkitNow,Object.freeze([]),new(function(){functiont(e,r){a(this,t),this._head=e,this._tail=r}returni(t,[{key:"forEachNode",value:function(t){for(vare=this._head;null!==e;)t(e),e=this.nextNode(e)}},{key:"head",value:function(){returnthis._head}},{key:"tail",value:function(){returnthis._tail}},{key:"toArray",value:function(){vart=[];returnthis.forEachNode((function(e){returnt.push(e)})),t}},{key:"nextNode",value:function(t){returnt===this._tail?null:t.next}}]),t}())(null,null),Object.keys);functionb(t){for(vare=1;e<arguments.length;e++){vara=arguments[e];if(null!==a&&"object"===r(a))for(varn=v(a),i=0;i<n.length;i++){varo=n[i];t[o]=a[o]}}returnt}vary=function(){for(vart=arguments.length,e=newArray(t),r=0;r<t;r++)e[r]=arguments[r];returne};functionk(t,e,r,a){return{type:"ElementModifierStatement",path:_(t),params:e||[],hash:r||N([]),loc:O(a||null)}}functionS(t){returnArray.isArray(t)&&2===t.length&&"loc"===t[0]}functionw(t){if("string"==typeoft)returnk(t);vare,a,n,i=function(t){return"string"==typeoft?_(t):_(t[1],t[2]&&t[2][1])}(t[0]),o=null,s=t.slice(1),l=s.shift();returnn=l,Array.isArray(n)&&!S(n)&&(e=l,function(t){return!("object"!==r(t)||!t||Array.isArray(t))}(l=s.shift())&&(a=function(t,e){varr=[];returnObject.keys(t).forEach((function(e){r.push(L(e,t[e]))})),N(r,e)}(l))),S(l)&&(o=l[1]),k(i,e,a,o)}functionx(t){returnP(t[0],"string"==typeoft[1]?A(t[1]):t[1],t[2]?t[2][1]:void0)}functionE(){for(vart={},e=arguments.length,r=newArray(e)