oapiex 0.3.8 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/bin/acorn-e8W_D2c_.mjs +16 -0
  2. package/bin/angular-hFYH82G-.mjs +4 -0
  3. package/bin/babel-fr_lL9to.mjs +15 -0
  4. package/bin/cli.mjs +111 -13
  5. package/bin/estree-B-Lhm4Hd.mjs +44 -0
  6. package/bin/flow-BRS1FfP1.mjs +20 -0
  7. package/bin/glimmer-BtFpvZhb.mjs +37 -0
  8. package/bin/graphql-kQVq9UYo.mjs +28 -0
  9. package/bin/html-CIcRoqWL.mjs +25 -0
  10. package/bin/markdown-uvG4mxr8.mjs +62 -0
  11. package/bin/meriyah-DyP35pNK.mjs +5 -0
  12. package/bin/postcss-CbFXTw98.mjs +61 -0
  13. package/bin/typescript-BDVDge_O.mjs +21 -0
  14. package/bin/yaml-BNfwk1xa.mjs +159 -0
  15. package/dist/acorn-21ABnSdB.cjs +4971 -0
  16. package/dist/acorn-C_1S2EAj.mjs +4969 -0
  17. package/dist/angular-BV6jfWdp.cjs +4084 -0
  18. package/dist/angular-C66eBqoS.mjs +4082 -0
  19. package/dist/babel-Bz8pZo4b.cjs +9879 -0
  20. package/dist/babel-CsQd21KZ.mjs +9877 -0
  21. package/dist/estree-CzMW7i2J.mjs +7266 -0
  22. package/dist/estree-JnZk-Onr.cjs +7270 -0
  23. package/dist/flow-BiaXaApn.mjs +52913 -0
  24. package/dist/flow-nfncfm-z.cjs +52915 -0
  25. package/dist/glimmer-B6CdKQ-2.mjs +7532 -0
  26. package/dist/glimmer-CiwR9Elq.cjs +7536 -0
  27. package/dist/graphql-BHWygr4C.cjs +1950 -0
  28. package/dist/graphql-C2x1gvQd.mjs +1945 -0
  29. package/dist/html-2W-fjNa6.cjs +7143 -0
  30. package/dist/html-kerd4hOT.mjs +7138 -0
  31. package/dist/index.cjs +15635 -22
  32. package/dist/index.mjs +15622 -8
  33. package/dist/markdown-CbyydoYw.mjs +6877 -0
  34. package/dist/markdown-Ccw9NnJ_.cjs +6882 -0
  35. package/dist/meriyah-C4Gx_ouZ.mjs +7591 -0
  36. package/dist/meriyah-CUKcThLv.cjs +7593 -0
  37. package/dist/postcss-DtZ8UtYr.cjs +6782 -0
  38. package/dist/postcss-DuVmYBUE.mjs +6777 -0
  39. package/dist/typescript-DoEQusFy.mjs +22902 -0
  40. package/dist/typescript-I6QkuLBo.cjs +22904 -0
  41. package/dist/yaml-TADhykGS.mjs +5279 -0
  42. package/dist/yaml-jVlKqQbk.cjs +5285 -0
  43. package/package.json +16 -13
@@ -0,0 +1,37 @@
1
+ var e=Object.defineProperty,t=(t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})},n={};t(n,{languages:()=>Tr,parsers:()=>Er,printers:()=>Vr});var r=(e,t)=>(n,r,...i)=>n|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,i),i=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},a=r(`replaceAll`,function(){if(typeof this==`string`)return i});function o(e){return this[e<0?this.length+e:e]}var s=r(`at`,function(){if(Array.isArray(this)||typeof this==`string`)return o}),c=()=>{},l=`string`,u=`array`,d=`cursor`,f=`indent`,p=`align`,m=`trim`,h=`group`,g=`fill`,_=`if-break`,v=`indent-if-break`,y=`line-suffix`,b=`line-suffix-boundary`,x=`line`,S=`label`,C=`break-parent`,w=new Set([d,f,p,m,h,g,_,v,y,b,x,S,C]);function T(e){if(typeof e==`string`)return l;if(Array.isArray(e))return u;if(!e)return;let{type:t}=e;if(w.has(t))return t}var E=T,ee=e=>new Intl.ListFormat(`en-US`,{type:`disjunction`}).format(e);function D(e){let t=e===null?`null`:typeof e;if(t!==`string`&&t!==`object`)return`Unexpected doc '${t}',
2
+ Expected it to be 'string' or 'object'.`;if(E(e))throw Error(`doc is valid.`);let n=Object.prototype.toString.call(e);if(n!==`[object Object]`)return`Unexpected doc '${n}'.`;let r=ee([...w].map(e=>`'${e}'`));return`Unexpected doc.type '${e.type}'.
3
+ Expected it to be ${r}.`}var O=class extends Error{name=`InvalidDocError`;constructor(e){super(D(e)),this.doc=e}};function te(e,t){if(typeof e==`string`)return t(e);let n=new Map;return r(e);function r(e){if(n.has(e))return n.get(e);let t=i(e);return n.set(e,t),t}function i(e){switch(E(e)){case u:return t(e.map(r));case g:return t({...e,parts:e.parts.map(r)});case _:return t({...e,breakContents:r(e.breakContents),flatContents:r(e.flatContents)});case h:{let{expandedStates:n,contents:i}=e;return n?(n=n.map(r),i=n[0]):i=r(i),t({...e,contents:i,expandedStates:n})}case p:case f:case v:case S:case y:return t({...e,contents:r(e.contents)});case l:case d:case m:case b:case x:case C:return t(e);default:throw new O(e)}}}function k(e,t=ue){return te(e,e=>typeof e==`string`?le(t,e.split(`
4
+ `)):e)}var A=c,ne=c,j=c,re=c;function M(e){return A(e),{type:f,contents:e}}function ie(e,t){return re(e),A(t),{type:p,contents:t,n:e}}function ae(e){return ie(-1,e)}var oe={type:C};function se(e){return j(e),{type:g,parts:e}}function N(e,t={}){return A(e),ne(t.expandedStates,!0),{type:h,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function ce(e,t=``,n={}){return A(e),t!==``&&A(t),{type:_,breakContents:e,flatContents:t,groupId:n.groupId}}function le(e,t){A(e),ne(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}var P={type:x},F={type:x,soft:!0},I=[{type:x,hard:!0},oe],ue=[{type:x,hard:!0,literal:!0},oe],de=Object.freeze({character:`'`,codePoint:39}),fe=Object.freeze({character:`"`,codePoint:34}),pe=Object.freeze({preferred:de,alternate:fe}),me=Object.freeze({preferred:fe,alternate:de});function he(e,t){let{preferred:n,alternate:r}=t===!0||t===`'`?pe:me,{length:i}=e,a=0,o=0;for(let t=0;t<i;t++){let i=e.charCodeAt(t);i===n.codePoint?a++:i===r.codePoint&&o++}return(a>o?r:n).character}var ge=he;function _e(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var L=new class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,n=0;for(let r=0;r<e.length&&t.has(e.charAt(r));r++)n++;return n}getTrailingWhitespaceCount(e){let t=this.#e,n=0;for(let r=e.length-1;r>=0&&t.has(e.charAt(r));r--)n++;return n}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(s(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let n=`[${_e([...this.#e].join(``))}]+`,r=new RegExp(t?`(${n})`:n,`u`);return e.split(r)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>t.has(e))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>!t.has(e))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,e=>t.has(e))}#t(e){let t=1/0;for(let n of e.split(`
5
+ `)){if(n.length===0)continue;let e=this.getLeadingWhitespaceCount(n);if(e===0)return 0;n.length!==e&&e<t&&(t=e)}return t===1/0?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
6
+ `).map(e=>e.slice(t)).join(`
7
+ `)}}([` `,`
8
+ `,`\f`,`\r`,` `]);function ve(e){return Array.isArray(e)&&e.length>0}var ye=ve,be=class extends Error{name=`UnexpectedNodeError`;constructor(e,t,n=`type`){super(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}};function xe(e,t,n){if(e.type===`TextNode`){let r=e.chars.trim();if(!r)return null;n.tag===`style`&&n.children.length===1&&n.children[0]===e?t.chars=``:t.chars=L.split(r).join(` `)}e.type===`ElementNode`&&(delete t.startTag,delete t.openTag,delete t.parts,delete t.endTag,delete t.closeTag,delete t.nameNode,delete t.body,delete t.blockParamNodes,delete t.params,delete t.path),e.type===`Block`&&(delete t.blockParamNodes,delete t.params),e.type===`AttrNode`&&e.name.toLowerCase()===`class`&&delete t.value,e.type===`PathExpression`&&(t.head=e.head.original)}xe.ignoredProperties=new Set([`loc`,`selfClosing`]);var Se=xe;function Ce(e){let{node:t}=e;if(t.type!==`TextNode`)return;let{parent:n}=e;if(!(n.type===`ElementNode`&&n.tag===`style`&&n.children.length===1&&n.children[0]===t))return;let r=n.attributes.find(e=>e.type===`AttrNode`&&e.name===`lang`);if(!(r&&!(r.value.type===`TextNode`&&(r.value.chars===``||r.value.chars===`css`))))return async e=>{let n=t.chars;return n.trim()?await e(n,{parser:`css`}):``}}var we=Ce,Te=null;function Ee(e){if(Te!==null&&typeof Te.property){let e=Te;return Te=Ee.prototype=null,e}return Te=Ee.prototype=e??Object.create(null),new Ee}var De=10;for(let e=0;e<=De;e++)Ee();function Oe(e){return Ee(e)}function ke(e,t=`type`){Oe(e);function n(n){let r=n[t],i=e[r];if(!Array.isArray(i))throw Object.assign(Error(`Missing visitor keys for '${r}'.`),{node:n});return i}return n}var Ae=ke;Object.freeze([]);var je=Object.assign,Me=console;function Ne(e,t=`unexpected unreachable branch`){throw Me.log(`unreachable`,e),Me.log(`${t} :: ${JSON.stringify(e)} (${e})`),Error(`code reached unreachable`)}var Pe=(function(){var e=function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},t=[2,52],n=[1,20],r=[5,14,15,19,29,34,39,44,47,48,53,57,61],i=[1,44],a=[1,40],o=[1,43],s=[1,33],c=[1,34],l=[1,35],u=[1,36],d=[1,37],f=[1,42],p=[1,46],m=[14,15,19,29,34,39,44,47,48,53,57,61],h=[14,15,19,29,34,44,47,48,53,57,61],g=[15,18],_=[14,15,19,29,34,47,48,53,57,61],v=[33,67,73,75,84,85,86,87,88,89],y=[23,33,56,67,68,73,75,77,79,84,85,86,87,88,89],b=[1,62],x=[1,63],S=[23,33,56,68,73,79],C=[23,33,56,67,68,73,75,77,79,84,85,86,87,88,89,92,93],w=[2,51],T=[1,64],E=[67,73,75,77,84,85,86,87,88,89],ee=[56,67,73,75,84,85,86,87,88,89],D=[1,75],O=[1,76],te=[1,83],k=[33,67,73,75,79,84,85,86,87,88,89],A=[23,67,73,75,84,85,86,87,88,89],ne=[67,68,73,75,84,85,86,87,88,89],j=[33,79],re=[1,134],M=[73,81],ie={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,hash:49,expr:50,mustache_repetition0:51,mustache_option0:52,OPEN_UNESCAPED:53,mustache_repetition1:54,mustache_option1:55,CLOSE_UNESCAPED:56,OPEN_PARTIAL:57,partial_repetition0:58,partial_option0:59,openPartialBlock:60,OPEN_PARTIAL_BLOCK:61,openPartialBlock_repetition0:62,openPartialBlock_option0:63,exprHead:64,arrayLiteral:65,sexpr:66,OPEN_SEXPR:67,CLOSE_SEXPR:68,sexpr_repetition0:69,sexpr_option0:70,hash_repetition_plus0:71,hashSegment:72,ID:73,EQUALS:74,OPEN_ARRAY:75,arrayLiteral_repetition0:76,CLOSE_ARRAY:77,blockParams:78,OPEN_BLOCK_PARAMS:79,blockParams_repetition_plus0:80,CLOSE_BLOCK_PARAMS:81,path:82,dataName:83,STRING:84,NUMBER:85,BOOLEAN:86,UNDEFINED:87,NULL:88,DATA:89,pathSegments:90,sep:91,SEP:92,PRIVATE_SEP:93,$accept:0,$end:1},terminals_:{2:`error`,5:`EOF`,14:`COMMENT`,15:`CONTENT`,18:`END_RAW_BLOCK`,19:`OPEN_RAW_BLOCK`,23:`CLOSE_RAW_BLOCK`,29:`OPEN_BLOCK`,33:`CLOSE`,34:`OPEN_INVERSE`,39:`OPEN_INVERSE_CHAIN`,44:`INVERSE`,47:`OPEN_ENDBLOCK`,48:`OPEN`,53:`OPEN_UNESCAPED`,56:`CLOSE_UNESCAPED`,57:`OPEN_PARTIAL`,61:`OPEN_PARTIAL_BLOCK`,67:`OPEN_SEXPR`,68:`CLOSE_SEXPR`,73:`ID`,74:`EQUALS`,75:`OPEN_ARRAY`,77:`CLOSE_ARRAY`,79:`OPEN_BLOCK_PARAMS`,81:`CLOSE_BLOCK_PARAMS`,84:`STRING`,85:`NUMBER`,86:`BOOLEAN`,87:`UNDEFINED`,88:`NULL`,89:`DATA`,92:`SEP`,93:`PRIVATE_SEP`},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,3],[8,5],[8,5],[11,5],[12,3],[60,5],[50,1],[50,1],[64,1],[64,1],[66,3],[66,5],[49,1],[72,3],[65,3],[78,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[83,2],[91,1],[91,1],[82,3],[82,1],[90,3],[90,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[51,0],[51,2],[52,0],[52,1],[54,0],[54,2],[55,0],[55,1],[58,0],[58,2],[59,0],[59,1],[62,0],[62,2],[63,0],[63,1],[69,0],[69,2],[70,0],[70,1],[71,1],[71,2],[76,0],[76,2],[80,1],[80,2]],performAction:function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=r.prepareProgram(a[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 28:case 29:case 30:case 31:case 38:case 39:case 46:case 47:this.$=a[s];break;case 9:this.$={type:`CommentStatement`,value:r.stripComment(a[s]),strip:r.stripFlags(a[s],a[s]),loc:r.locInfo(this._$)};break;case 10:this.$={type:`ContentStatement`,original:a[s],value:a[s],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(a[s-2],a[s-1],a[s],this._$);break;case 12:this.$={path:a[s-3],params:a[s-2],hash:a[s-1]};break;case 13:this.$=r.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!1,this._$);break;case 14:this.$=r.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!0,this._$);break;case 15:this.$={open:a[s-5],path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:r.stripFlags(a[s-5],a[s])};break;case 16:case 17:this.$={path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:r.stripFlags(a[s-5],a[s])};break;case 18:this.$={strip:r.stripFlags(a[s-1],a[s-1]),program:a[s]};break;case 19:var c=r.prepareBlock(a[s-2],a[s-1],a[s],a[s],!1,this._$),l=r.prepareProgram([c],a[s-1].loc);l.chained=!0,this.$={strip:a[s-2].strip,program:l,chain:!0};break;case 21:this.$={path:a[s-1],strip:r.stripFlags(a[s-2],a[s])};break;case 22:this.$=r.prepareMustache(r.syntax.hash(a[s-1],r.locInfo(this._$),{yy:r,syntax:`expr`}),[],void 0,a[s-2],r.stripFlags(a[s-2],a[s]),this._$);break;case 23:case 24:this.$=r.prepareMustache(a[s-3],a[s-2],a[s-1],a[s-4],r.stripFlags(a[s-4],a[s]),this._$);break;case 25:this.$={type:`PartialStatement`,name:a[s-3],params:a[s-2],hash:a[s-1],indent:``,strip:r.stripFlags(a[s-4],a[s]),loc:r.locInfo(this._$)};break;case 26:this.$=r.preparePartialBlock(a[s-2],a[s-1],a[s],this._$);break;case 27:this.$={path:a[s-3],params:a[s-2],hash:a[s-1],strip:r.stripFlags(a[s-4],a[s])};break;case 32:this.$=r.syntax.hash(a[s-1],r.locInfo(this._$),{yy:r,syntax:`expr`});break;case 33:this.$={type:`SubExpression`,path:a[s-3],params:a[s-2],hash:a[s-1],loc:r.locInfo(this._$)};break;case 34:this.$={type:`Hash`,pairs:a[s],loc:r.locInfo(this._$)};break;case 35:this.$={type:`HashPair`,key:r.id(a[s-2]),value:a[s],loc:r.locInfo(this._$)};break;case 36:this.$=r.syntax.square(a[s-1],r.locInfo(this._$),{yy:r,syntax:`expr`});break;case 37:this.$=r.id(a[s-1]);break;case 40:this.$={type:`StringLiteral`,value:a[s],original:a[s],loc:r.locInfo(this._$)};break;case 41:this.$={type:`NumberLiteral`,value:Number(a[s]),original:Number(a[s]),loc:r.locInfo(this._$)};break;case 42:this.$={type:`BooleanLiteral`,value:a[s]===`true`,original:a[s]===`true`,loc:r.locInfo(this._$)};break;case 43:this.$={type:`UndefinedLiteral`,original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 44:this.$={type:`NullLiteral`,original:null,value:null,loc:r.locInfo(this._$)};break;case 45:this.$=r.preparePath(!0,!1,a[s],this._$);break;case 48:this.$=r.preparePath(!1,a[s-2],a[s],this._$);break;case 49:this.$=r.preparePath(!1,!1,a[s],this._$);break;case 50:a[s-2].push({part:r.id(a[s]),original:a[s],separator:a[s-1]}),this.$=a[s-2];break;case 51:this.$=[{part:r.id(a[s]),original:a[s]}];break;case 52:case 54:case 56:case 64:case 70:case 76:case 84:case 88:case 92:case 96:case 100:case 106:this.$=[];break;case 53:case 55:case 57:case 65:case 71:case 77:case 85:case 89:case 93:case 97:case 101:case 105:case 107:case 109:a[s-1].push(a[s]);break;case 104:case 108:this.$=[a[s]];break}},table:[e([5,14,15,19,29,34,48,53,57,61],t,{3:1,4:2,6:3}),{1:[3]},{5:[1,4]},e([5,39,44,47],[2,2],{7:5,8:6,9:7,10:8,11:9,12:10,13:11,24:15,27:16,16:17,60:19,14:[1,12],15:n,19:[1,23],29:[1,21],34:[1,22],48:[1,13],53:[1,14],57:[1,18],61:[1,24]}),{1:[2,1]},e(r,[2,53]),e(r,[2,3]),e(r,[2,4]),e(r,[2,5]),e(r,[2,6]),e(r,[2,7]),e(r,[2,8]),e(r,[2,9]),{20:28,49:25,50:26,64:29,65:38,66:39,67:i,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{20:28,50:45,64:29,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},e(m,t,{6:3,4:47}),e(h,t,{6:3,4:48}),e(g,[2,54],{17:49}),{20:28,50:50,64:29,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},e(_,t,{6:3,4:51}),e([5,14,15,18,19,29,34,39,44,47,48,53,57,61],[2,10]),{20:52,64:53,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{20:54,64:53,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{20:55,64:53,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{20:28,50:56,64:29,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{33:[1,57]},e(v,[2,84],{51:58}),e([23,33,56,68,79],[2,34],{72:59,73:[1,60]}),e(y,[2,28]),e(y,[2,29],{91:61,92:b,93:x}),e(S,[2,104]),e(y,[2,38]),e(y,[2,39]),e(y,[2,40]),e(y,[2,41]),e(y,[2,42]),e(y,[2,43]),e(y,[2,44]),e(C,[2,30]),e(C,[2,31]),e([23,33,56,67,68,73,75,79,84,85,86,87,88,89,92,93],w,{74:T}),e(y,[2,49],{91:65,92:b,93:x}),{73:p,90:66},e(E,[2,106],{76:67}),{20:28,49:68,50:69,64:29,65:38,66:39,67:i,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},e(ee,[2,88],{54:70}),e(C,w),{25:71,38:73,39:D,43:74,44:O,45:72,47:[2,60]},{28:77,43:78,44:O,47:[2,62]},{13:80,15:n,18:[1,79]},e(v,[2,92],{58:81}),{26:82,47:te},e(k,[2,64],{30:84}),{91:61,92:b,93:x},e(k,[2,70],{35:85}),e(A,[2,56],{21:86}),e(v,[2,96],{62:87}),e(r,[2,22]),{20:28,33:[2,86],49:90,50:89,52:88,64:29,65:38,66:39,67:i,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},e(S,[2,105]),{74:T},{73:p,90:91},{73:[2,46]},{73:[2,47]},{20:28,50:92,64:29,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{73:[1,93]},e(y,[2,45],{91:65,92:b,93:x}),{20:28,50:95,64:29,65:38,66:39,67:i,73:p,75:o,77:[1,94],82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{68:[1,96]},e(ne,[2,100],{69:97}),{20:28,49:100,50:99,55:98,56:[2,90],64:29,65:38,66:39,67:i,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{26:101,47:te},{47:[2,61]},e(m,t,{6:3,4:102}),{47:[2,20]},{20:103,64:53,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},e(_,t,{6:3,4:104}),{26:105,47:te},{47:[2,63]},e(r,[2,11]),e(g,[2,55]),{20:28,33:[2,94],49:108,50:107,59:106,64:29,65:38,66:39,67:i,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},e(r,[2,26]),{20:109,64:53,65:38,66:39,67:i,73:p,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},e(j,[2,66],{71:27,20:28,64:29,72:30,82:31,83:32,65:38,66:39,90:41,31:110,50:111,49:112,67:i,73:a,75:o,84:s,85:c,86:l,87:u,88:d,89:f}),e(j,[2,72],{71:27,20:28,64:29,72:30,82:31,83:32,65:38,66:39,90:41,36:113,50:114,49:115,67:i,73:a,75:o,84:s,85:c,86:l,87:u,88:d,89:f}),{20:28,22:116,23:[2,58],49:118,50:117,64:29,65:38,66:39,67:i,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{20:28,33:[2,98],49:121,50:120,63:119,64:29,65:38,66:39,67:i,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{33:[1,122]},e(v,[2,85]),{33:[2,87]},e(y,[2,48],{91:65,92:b,93:x}),e(S,[2,35]),e(C,[2,50]),e(C,[2,36]),e(E,[2,107]),e(C,[2,32]),{20:28,49:125,50:124,64:29,65:38,66:39,67:i,68:[2,102],70:123,71:27,72:30,73:a,75:o,82:31,83:32,84:s,85:c,86:l,87:u,88:d,89:f,90:41},{56:[1,126]},e(ee,[2,89]),{56:[2,91]},e(r,[2,13]),{38:73,39:D,43:74,44:O,45:128,46:127,47:[2,82]},e(k,[2,76],{40:129}),{47:[2,18]},e(r,[2,14]),{33:[1,130]},e(v,[2,93]),{33:[2,95]},{33:[1,131]},{32:132,33:[2,68],78:133,79:re},e(k,[2,65]),e(j,[2,67]),{33:[2,74],37:135,78:136,79:re},e(k,[2,71]),e(j,[2,73]),{23:[1,137]},e(A,[2,57]),{23:[2,59]},{33:[1,138]},e(v,[2,97]),{33:[2,99]},e(r,[2,23]),{68:[1,139]},e(ne,[2,101]),{68:[2,103]},e(r,[2,24]),{47:[2,19]},{47:[2,83]},e(j,[2,78],{71:27,20:28,64:29,72:30,82:31,83:32,65:38,66:39,90:41,41:140,50:141,49:142,67:i,73:a,75:o,84:s,85:c,86:l,87:u,88:d,89:f}),e(r,[2,25]),e(r,[2,21]),{33:[1,143]},{33:[2,69]},{73:[1,145],80:144},{33:[1,146]},{33:[2,75]},e(g,[2,12]),e(_,[2,27]),e(C,[2,33]),{33:[2,80],42:147,78:148,79:re},e(k,[2,77]),e(j,[2,79]),e(m,[2,15]),{73:[1,150],81:[1,149]},e(M,[2,108]),e(h,[2,16]),{33:[1,151]},{33:[2,81]},{33:[2,37]},e(M,[2,109]),e(m,[2,17])],defaultActions:{4:[2,1],62:[2,46],63:[2,47],72:[2,61],74:[2,20],78:[2,63],90:[2,87],100:[2,91],104:[2,18],108:[2,95],118:[2,59],121:[2,99],125:[2,103],127:[2,19],128:[2,83],133:[2,69],136:[2,75],148:[2,81],149:[2,37]},parseError:function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},parse:function(e){var t=this,n=[0],r=[null],i=[],a=this.table,o=``,s=0,c=0,l=0,u=2,d=1,f=i.slice.call(arguments,1),p=Object.create(this.lexer),m={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(m.yy[h]=this.yy[h]);p.setInput(e,m.yy),m.yy.lexer=p,m.yy.parser=this,typeof p.yylloc>`u`&&(p.yylloc={});var g=p.yylloc;i.push(g);var _=p.options&&p.options.ranges;typeof m.yy.parseError==`function`?this.parseError=m.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v=function(){var e;return e=p.lex()||d,typeof e!=`number`&&(e=t.symbols_[e]||e),e},y,b,x,S,C,w={},T,E,ee,D;;){if(x=n[n.length-1],this.defaultActions[x]?S=this.defaultActions[x]:((y===null||typeof y>`u`)&&(y=v()),S=a[x]&&a[x][y]),typeof S>`u`||!S.length||!S[0]){var O=``;for(T in D=[],a[x])this.terminals_[T]&&T>u&&D.push(`'`+this.terminals_[T]+`'`);O=p.showPosition?`Parse error on line `+(s+1)+`:
9
+ `+p.showPosition()+`
10
+ Expecting `+D.join(`, `)+`, got '`+(this.terminals_[y]||y)+`'`:`Parse error on line `+(s+1)+`: Unexpected `+(y==d?`end of input`:`'`+(this.terminals_[y]||y)+`'`),this.parseError(O,{text:p.match,token:this.terminals_[y]||y,line:p.yylineno,loc:g,expected:D})}if(S[0]instanceof Array&&S.length>1)throw Error(`Parse Error: multiple actions possible at state: `+x+`, token: `+y);switch(S[0]){case 1:n.push(y),r.push(p.yytext),i.push(p.yylloc),n.push(S[1]),y=null,b?(y=b,b=null):(c=p.yyleng,o=p.yytext,s=p.yylineno,g=p.yylloc,l>0&&l--);break;case 2:if(E=this.productions_[S[1]][1],w.$=r[r.length-E],w._$={first_line:i[i.length-(E||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(E||1)].first_column,last_column:i[i.length-1].last_column},_&&(w._$.range=[i[i.length-(E||1)].range[0],i[i.length-1].range[1]]),C=this.performAction.apply(w,[o,c,s,m.yy,S[1],r,i].concat(f)),typeof C<`u`)return C;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),i=i.slice(0,-1*E)),n.push(this.productions_[S[1]][0]),r.push(w.$),i.push(w._$),ee=a[n[n.length-2]][n[n.length-1]],n.push(ee);break;case 3:return!0}}return!0}};ie.lexer=(function(){return{EOF:1,parseError:function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
11
+ `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},showPosition:function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
12
+ `+t+`^`},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
13
+ `+this.showPosition(),{text:``,token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){function i(e,n){return t.yytext=t.yytext.substring(e,t.yyleng-n+e)}switch(n){case 0:if(t.yytext.slice(-2)===`\\\\`?(i(0,1),this.begin(`mu`)):t.yytext.slice(-1)===`\\`?(i(0,1),this.begin(`emu`)):this.begin(`mu`),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin(`raw`),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]===`raw`?15:(i(5,9),18);case 5:return 15;case 6:return this.popState(),14;case 7:return 67;case 8:return 68;case 9:if(e.syntax.square===`string`)this.unput(t.yytext),this.begin(`escl`);else return 75;break;case 10:return 77;case 11:return 19;case 12:return this.popState(),this.begin(`raw`),23;case 13:return 57;case 14:return 61;case 15:return 29;case 16:return 47;case 17:return this.popState(),44;case 18:return this.popState(),44;case 19:return 34;case 20:return 39;case 21:return 53;case 22:return 48;case 23:this.unput(t.yytext),this.popState(),this.begin(`com`);break;case 24:return this.popState(),14;case 25:return 48;case 26:return 74;case 27:return 73;case 28:return 73;case 29:return 93;case 30:return 92;case 31:break;case 32:return this.popState(),56;case 33:return this.popState(),33;case 34:return t.yytext=i(1,2).replace(/\\"/g,`"`),84;case 35:return t.yytext=i(1,2).replace(/\\'/g,`'`),84;case 36:return 89;case 37:return 86;case 38:return 86;case 39:return 87;case 40:return 88;case 41:return 85;case 42:return 79;case 43:return 81;case 44:return 73;case 45:return t.yytext=t.yytext.replace(/\\([\\\]])/g,`$1`),this.popState(),73;case 46:return`INVALID`;case 47:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)\]|])))/,/^(?:\.#)/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)\]])))/,/^(?:false(?=([~}\s)\]])))/,/^(?:undefined(?=([~}\s)\]])))/,/^(?:null(?=([~}\s)\]])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)\]])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)\]|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,46,47],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},escl:{rules:[45],inclusive:!1},INITIAL:{rules:[0,1,47],inclusive:!0}}}})();function ae(){this.yy={}}return ae.prototype=ie,ie.Parser=ae,new ae})(),Fe=[`description`,`fileName`,`lineNumber`,`endLineNumber`,`message`,`name`,`number`,`stack`];function Ie(e,t){var n=t&&t.loc,r,i,a,o;n&&(r=n.start.line,i=n.end.line,a=n.start.column,o=n.end.column,e+=` - `+r+`:`+a);for(var s=Error.prototype.constructor.call(this,e),c=0;c<Fe.length;c++)this[Fe[c]]=s[Fe[c]];Error.captureStackTrace&&Error.captureStackTrace(this,Ie);try{n&&(this.lineNumber=r,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,`column`,{value:a,enumerable:!0}),Object.defineProperty(this,`endColumn`,{value:o,enumerable:!0})):(this.column=a,this.endColumn=o))}catch{}}Ie.prototype=Error();var Le=Ie;function Re(){this.parents=[]}Re.prototype={constructor:Re,mutating:!1,acceptKey:function(e,t){var n=this.accept(e[t]);if(this.mutating){if(n&&!Re.prototype[n.type])throw new Le(`Unexpected node type "`+n.type+`" found when accepting `+t+` on `+e.type);e[t]=n}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new Le(e.type+` requires `+t)},acceptArray:function(e){for(var t=0,n=e.length;t<n;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,n--)},accept:function(e){if(e){if(!this[e.type])throw new Le(`Unknown type: `+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||t)return t;if(t!==!1)return e}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:ze,Decorator:ze,BlockStatement:Be,DecoratorBlock:Be,PartialStatement:Ve,PartialBlockStatement:function(e){Ve.call(this,e),this.acceptKey(e,`program`)},ContentStatement:function(){},CommentStatement:function(){},SubExpression:ze,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,`value`)}};function ze(e){this.acceptRequired(e,`path`),this.acceptArray(e.params),this.acceptKey(e,`hash`)}function Be(e){ze.call(this,e),this.acceptKey(e,`program`),this.acceptKey(e,`inverse`)}function Ve(e){this.acceptRequired(e,`name`),this.acceptArray(e.params),this.acceptKey(e,`hash`)}var He=Re;function R(e){e===void 0&&(e={}),this.options=e}R.prototype=new He,R.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,i=0,a=r.length;i<a;i++){var o=r[i],s=this.accept(o);if(s){var c=Ue(r,i,n),l=We(r,i,n),u=s.openStandalone&&c,d=s.closeStandalone&&l,f=s.inlineStandalone&&c&&l;s.close&&z(r,i,!0),s.open&&B(r,i,!0),t&&f&&(z(r,i),B(r,i)&&o.type===`PartialStatement`&&(o.indent=/([ \t]+$)/.exec(r[i-1].original)[1])),t&&u&&(z((o.program||o.inverse).body),B(r,i)),t&&d&&(z(r,i),B((o.inverse||o.program).body))}}return e},R.prototype.BlockStatement=R.prototype.DecoratorBlock=R.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,n=e.program&&e.inverse,r=n,i=n;if(n&&n.chained)for(r=n.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var a={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:We(t.body),closeStandalone:Ue((r||t).body)};if(e.openStrip.close&&z(t.body,null,!0),n){var o=e.inverseStrip;o.open&&B(t.body,null,!0),o.close&&z(r.body,null,!0),e.closeStrip.open&&B(i.body,null,!0),!this.options.ignoreStandalone&&Ue(t.body)&&We(r.body)&&(B(t.body),z(r.body))}else e.closeStrip.open&&B(t.body,null,!0);return a},R.prototype.Decorator=R.prototype.MustacheStatement=function(e){return e.strip},R.prototype.PartialStatement=R.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}};function Ue(e,t,n){t===void 0&&(t=e.length);var r=e[t-1],i=e[t-2];if(!r)return n;if(r.type===`ContentStatement`)return(i||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original)}function We(e,t,n){t===void 0&&(t=-1);var r=e[t+1],i=e[t+2];if(!r)return n;if(r.type===`ContentStatement`)return(i||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original)}function z(e,t,n){var r=e[t==null?0:t+1];if(!(!r||r.type!==`ContentStatement`||!n&&r.rightStripped)){var i=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,``),r.rightStripped=r.value!==i}}function B(e,t,n){var r=e[t==null?e.length-1:t-1];if(!(!r||r.type!==`ContentStatement`||!n&&r.leftStripped)){var i=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,``),r.leftStripped=r.value!==i,r.leftStripped}}var Ge=R,Ke={};t(Ke,{SourceLocation:()=>Ye,id:()=>Xe,prepareBlock:()=>nt,prepareMustache:()=>et,preparePartialBlock:()=>it,preparePath:()=>$e,prepareProgram:()=>rt,prepareRawBlock:()=>tt,stripComment:()=>Qe,stripFlags:()=>Ze});var qe=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))};function Je(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new Le(e.path.original+` doesn't match `+t,n)}}function Ye(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function Xe(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e}function Ze(e,t){return{open:e.charAt(2)===`~`,close:t.charAt(t.length-3)===`~`}}function Qe(e){return e.replace(/^\{\{~?!-?-?/,``).replace(/-?-?~?\}\}$/,``)}function $e(e,t,n,r){r=this.locInfo(r);for(var i=e?`@`:t?t.original+`.`:``,a=[],o=0,s=0,c=n.length;s<c;s++){var l=n[s].part,u=n[s].original!==l,d=n[s].separator,f=d===`.#`?`#`:``;if(i+=(d||``)+l,!u&&(l===`..`||l===`.`||l===`this`)){if(a.length>0)throw new Le(`Invalid path: `+i,{loc:r});l===`..`&&o++}else a.push(`${f}${l}`)}var p=t||a.shift();return{type:`PathExpression`,this:i.startsWith(`this.`),data:e,depth:o,head:p,tail:a,parts:p?qe([p],a,!0):a,original:i,loc:r}}function et(e,t,n,r,i,a){var o=r.charAt(3)||r.charAt(2),s=o!==`{`&&o!==`&`;return{type:/\*/.test(r)?`Decorator`:`MustacheStatement`,path:e,params:t,hash:n,escaped:s,strip:i,loc:this.locInfo(a)}}function tt(e,t,n,r){Je(e,n),r=this.locInfo(r);var i={type:`Program`,body:t,strip:{},loc:r};return{type:`BlockStatement`,path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:r}}function nt(e,t,n,r,i,a){r&&r.path&&Je(e,r);var o=/\*/.test(e.open);t.blockParams=e.blockParams;var s,c;if(n){if(o)throw new Le(`Unexpected inverse block on decorator`,n);n.chain&&(n.program.body[0].closeStrip=r.strip),c=n.strip,s=n.program}return i&&(i=s,s=t,t=i),{type:o?`DecoratorBlock`:`BlockStatement`,path:e.path,params:e.params,hash:e.hash,program:t,inverse:s,openStrip:e.strip,inverseStrip:c,closeStrip:r&&r.strip,loc:this.locInfo(a)}}function rt(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:`Program`,body:e,strip:{},loc:t}}function it(e,t,n,r){return Je(e,n),{type:`PartialBlockStatement`,name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(r)}}var at={};for(ot in Ke)Object.prototype.hasOwnProperty.call(Ke,ot)&&(at[ot]=Ke[ot]);var ot;function st(e,t){if(e.type===`Program`)return e;Pe.yy=at,Pe.yy.locInfo=function(e){return new Ye(t&&t.srcName,e)};var n=typeof t?.syntax?.square==`function`?t.syntax.square:t?.syntax?.square===`node`?ct:`string`,r;return r=typeof t?.syntax?.hash==`function`?t.syntax.hash:lt,Pe.yy.syntax={square:n,hash:r},Pe.parse(e)}function ct(e,t){return{type:`ArrayLiteral`,items:e,loc:t}}function lt(e,t){return{type:`HashLiteral`,pairs:e.pairs,loc:t}}function ut(e,t){var n=st(e,t);return new Ge(t).accept(n)}var dt={Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:`⁡`,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,amp:`&`,AMP:`&`,andand:`⩕`,And:`⩓`,and:`∧`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angmsd:`∡`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,apacir:`⩯`,ap:`≈`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:`⁡`,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,barwed:`⌅`,Barwed:`⌆`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,Because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxdl:`┐`,boxdL:`╕`,boxDl:`╖`,boxDL:`╗`,boxdr:`┌`,boxdR:`╒`,boxDr:`╓`,boxDR:`╔`,boxh:`─`,boxH:`═`,boxhd:`┬`,boxHd:`╤`,boxhD:`╥`,boxHD:`╦`,boxhu:`┴`,boxHu:`╧`,boxhU:`╨`,boxHU:`╩`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxul:`┘`,boxuL:`╛`,boxUl:`╜`,boxUL:`╝`,boxur:`└`,boxuR:`╘`,boxUr:`╙`,boxUR:`╚`,boxv:`│`,boxV:`║`,boxvh:`┼`,boxvH:`╪`,boxVh:`╫`,boxVH:`╬`,boxvl:`┤`,boxvL:`╡`,boxVl:`╢`,boxVL:`╣`,boxvr:`├`,boxvR:`╞`,boxVr:`╟`,boxVR:`╠`,bprime:`‵`,breve:`˘`,Breve:`˘`,brvbar:`¦`,bscr:`𝒷`,Bscr:`ℬ`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsolb:`⧅`,bsol:`\\`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,cap:`∩`,Cap:`⋒`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,CenterDot:`·`,cfr:`𝔠`,Cfr:`ℭ`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cir:`○`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,colon:`:`,Colon:`∷`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,conint:`∮`,Conint:`∯`,ContourIntegral:`∮`,copf:`𝕔`,Copf:`ℂ`,coprod:`∐`,Coproduct:`∐`,copy:`©`,COPY:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,cross:`✗`,Cross:`⨯`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cupbrcap:`⩈`,cupcap:`⩆`,CupCap:`≍`,cup:`∪`,Cup:`⋓`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dagger:`†`,Dagger:`‡`,daleth:`ℸ`,darr:`↓`,Darr:`↡`,dArr:`⇓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,ddagger:`‡`,ddarr:`⇊`,DD:`ⅅ`,dd:`ⅆ`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,diamond:`⋄`,Diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrowBar:`⤓`,downarrow:`↓`,DownArrow:`↓`,Downarrow:`⇓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVectorBar:`⥖`,DownLeftVector:`↽`,DownRightTeeVector:`⥟`,DownRightVectorBar:`⥗`,DownRightVector:`⇁`,DownTeeArrow:`↧`,DownTee:`⊤`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,Ecirc:`Ê`,ecirc:`ê`,ecir:`≖`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,edot:`ė`,eDot:`≑`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp13:` `,emsp14:` `,emsp:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,escr:`ℯ`,Escr:`ℰ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,ExponentialE:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,forall:`∀`,ForAll:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,Fscr:`ℱ`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,ge:`≥`,gE:`≧`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,gescc:`⪩`,ges:`⩾`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,gg:`≫`,Gg:`⋙`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gla:`⪥`,gl:`≷`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gnE:`≩`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gtcc:`⪧`,gtcir:`⩺`,gt:`>`,GT:`>`,Gt:`≫`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,harrcir:`⥈`,harr:`↔`,hArr:`⇔`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,Hfr:`ℌ`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,Hopf:`ℍ`,horbar:`―`,HorizontalLine:`─`,hscr:`𝒽`,Hscr:`ℋ`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:`⁣`,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,Ifr:`ℑ`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,Im:`ℑ`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,incare:`℅`,in:`∈`,infin:`∞`,infintie:`⧝`,inodot:`ı`,intcal:`⊺`,int:`∫`,Int:`∬`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:`⁣`,InvisibleTimes:`⁢`,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,Iscr:`ℐ`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:`⁢`,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,lang:`⟨`,Lang:`⟪`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,larrb:`⇤`,larrbfs:`⤟`,larr:`←`,Larr:`↞`,lArr:`⇐`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,latail:`⤙`,lAtail:`⤛`,lat:`⪫`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lBarr:`⤎`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,lE:`≦`,LeftAngleBracket:`⟨`,LeftArrowBar:`⇤`,leftarrow:`←`,LeftArrow:`←`,Leftarrow:`⇐`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVectorBar:`⥙`,LeftDownVector:`⇃`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTeeArrow:`↤`,LeftTee:`⊣`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangleBar:`⧏`,LeftTriangle:`⊲`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVectorBar:`⥘`,LeftUpVector:`↿`,LeftVectorBar:`⥒`,LeftVector:`↼`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,lescc:`⪨`,les:`⩽`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,llarr:`⇇`,ll:`≪`,Ll:`⋘`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoustache:`⎰`,lmoust:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lnE:`≨`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftrightarrow:`⟷`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longmapsto:`⟼`,longrightarrow:`⟶`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:`‎`,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,Lscr:`ℒ`,lsh:`↰`,Lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,ltcc:`⪦`,ltcir:`⩹`,lt:`<`,LT:`<`,Lt:`≪`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,midast:`*`,midcir:`⫰`,mid:`∣`,middot:`·`,minusb:`⊟`,minus:`−`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,Mscr:`ℳ`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natural:`♮`,naturals:`ℕ`,natur:`♮`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,nearhk:`⤤`,nearr:`↗`,neArr:`⇗`,nearrow:`↗`,ne:`≠`,nedot:`≐̸`,NegativeMediumSpace:`​`,NegativeThickSpace:`​`,NegativeThinSpace:`​`,NegativeVeryThinSpace:`​`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
14
+ `,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nharr:`↮`,nhArr:`⇎`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlarr:`↚`,nlArr:`⇍`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nleftarrow:`↚`,nLeftarrow:`⇍`,nleftrightarrow:`↮`,nLeftrightarrow:`⇎`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,nopf:`𝕟`,Nopf:`ℕ`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangleBar:`⧐̸`,NotRightTriangle:`⋫`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,nparallel:`∦`,npar:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,nprec:`⊀`,npreceq:`⪯̸`,npre:`⪯̸`,nrarrc:`⤳̸`,nrarr:`↛`,nrArr:`⇏`,nrarrw:`↝̸`,nrightarrow:`↛`,nRightarrow:`⇏`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nvdash:`⊬`,nvDash:`⊭`,nVdash:`⊮`,nVDash:`⊯`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwarr:`↖`,nwArr:`⇖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,Ocirc:`Ô`,ocirc:`ô`,ocir:`⊚`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,orarr:`↻`,Or:`⩔`,or:`∨`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,otimesas:`⨶`,Otimes:`⨷`,otimes:`⊗`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,para:`¶`,parallel:`∥`,par:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plus:`+`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,popf:`𝕡`,Popf:`ℙ`,pound:`£`,prap:`⪷`,Pr:`⪻`,pr:`≺`,prcue:`≼`,precapprox:`⪷`,prec:`≺`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,pre:`⪯`,prE:`⪳`,precsim:`≾`,prime:`′`,Prime:`″`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportional:`∝`,Proportion:`∷`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,Qopf:`ℚ`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,QUOT:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,Rang:`⟫`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarr:`→`,Rarr:`↠`,rArr:`⇒`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,rAtail:`⤜`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rBarr:`⤏`,RBarr:`⤐`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,Re:`ℜ`,rect:`▭`,reg:`®`,REG:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,Rfr:`ℜ`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrowBar:`⇥`,rightarrow:`→`,RightArrow:`→`,Rightarrow:`⇒`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVectorBar:`⥕`,RightDownVector:`⇂`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTeeArrow:`↦`,RightTee:`⊢`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangleBar:`⧐`,RightTriangle:`⊳`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVectorBar:`⥔`,RightUpVector:`↾`,RightVectorBar:`⥓`,RightVector:`⇀`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:`‏`,rmoustache:`⎱`,rmoust:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,Ropf:`ℝ`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,rscr:`𝓇`,Rscr:`ℛ`,rsh:`↱`,Rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,scap:`⪸`,Scaron:`Š`,scaron:`š`,Sc:`⪼`,sc:`≻`,sccue:`≽`,sce:`⪰`,scE:`⪴`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdotb:`⊡`,sdot:`⋅`,sdote:`⩦`,searhk:`⤥`,searr:`↘`,seArr:`⇘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:`­`,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,solbar:`⌿`,solb:`⧄`,sol:`/`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,square:`□`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squ:`□`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,Sub:`⋐`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,Subset:`⋐`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succapprox:`⪸`,succ:`≻`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,sum:`∑`,Sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,Sup:`⋑`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,Supset:`⋑`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swarr:`↙`,swArr:`⇙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,Therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:`  `,ThinSpace:` `,thinsp:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,tilde:`˜`,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,timesbar:`⨱`,timesb:`⊠`,times:`×`,timesd:`⨰`,tint:`∭`,toea:`⤨`,topbot:`⌶`,topcir:`⫱`,top:`⊤`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,TRADE:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,uarr:`↑`,Uarr:`↟`,uArr:`⇑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrowBar:`⤒`,uparrow:`↑`,UpArrow:`↑`,Uparrow:`⇑`,UpArrowDownArrow:`⇅`,updownarrow:`↕`,UpDownArrow:`↕`,Updownarrow:`⇕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,upsi:`υ`,Upsi:`ϒ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTeeArrow:`↥`,UpTee:`⊥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,vArr:`⇕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vBar:`⫨`,Vbar:`⫫`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,vdash:`⊢`,vDash:`⊨`,Vdash:`⊩`,VDash:`⊫`,Vdashl:`⫦`,veebar:`⊻`,vee:`∨`,Vee:`⋁`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,Verbar:`‖`,vert:`|`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,Wedge:`⋀`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xharr:`⟷`,xhArr:`⟺`,Xi:`Ξ`,xi:`ξ`,xlarr:`⟵`,xlArr:`⟸`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrarr:`⟶`,xrArr:`⟹`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,yuml:`ÿ`,Yuml:`Ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:`​`,Zeta:`Ζ`,zeta:`ζ`,zfr:`𝔷`,Zfr:`ℨ`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,Zopf:`ℤ`,Zscr:`𝒵`,zscr:`𝓏`,zwj:`‍`,zwnj:`‌`},ft=/^#[xX]([A-Fa-f0-9]+)$/,pt=/^#([0-9]+)$/,mt=/^([A-Za-z0-9]+)$/,ht=(function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(ft);if(t)return String.fromCharCode(parseInt(t[1],16));if(t=e.match(pt),t)return String.fromCharCode(parseInt(t[1],10));if(t=e.match(mt),t)return this.named[t[1]]}},e})(),gt=/[\t\n\f ]/,_t=/[A-Za-z]/,vt=/\r\n?/g;function V(e){return gt.test(e)}function yt(e){return _t.test(e)}function bt(e){return e.replace(vt,`
15
+ `)}var xt=(function(){function e(e,t,n){n===void 0&&(n=`precompile`),this.delegate=e,this.entityParser=t,this.mode=n,this.state=`beforeData`,this.line=-1,this.column=-1,this.input=``,this.index=-1,this.tagNameBuffer=``,this.states={beforeData:function(){var e=this.peek();if(e===`<`&&!this.isIgnoredEndTag())this.transitionTo(`tagOpen`),this.markTagStart(),this.consume();else{if(this.mode===`precompile`&&e===`
16
+ `){var t=this.tagNameBuffer.toLowerCase();(t===`pre`||t===`textarea`)&&this.consume()}this.transitionTo(`data`),this.delegate.beginData()}},data:function(){var e=this.peek(),t=this.tagNameBuffer;e===`<`&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo(`tagOpen`),this.markTagStart(),this.consume()):e===`&`&&t!==`script`&&t!==`style`?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||`&`)):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();e===`!`?this.transitionTo(`markupDeclarationOpen`):e===`/`?this.transitionTo(`endTagOpen`):(e===`@`||e===`:`||yt(e))&&(this.transitionTo(`tagName`),this.tagNameBuffer=``,this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();e===`-`&&this.peek()===`-`?(this.consume(),this.transitionTo(`commentStart`),this.delegate.beginComment()):e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()===`DOCTYPE`&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo(`doctype`),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){V(this.consume())&&this.transitionTo(`beforeDoctypeName`)},beforeDoctypeName:function(){var e=this.consume();V(e)||(this.transitionTo(`doctypeName`),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();V(e)?this.transitionTo(`afterDoctypeName`):e===`>`?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`)):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!V(e))if(e===`>`)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`);else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),n=t.toUpperCase()===`PUBLIC`,r=t.toUpperCase()===`SYSTEM`;(n||r)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),n?this.transitionTo(`afterDoctypePublicKeyword`):r&&this.transitionTo(`afterDoctypeSystemKeyword`)}},afterDoctypePublicKeyword:function(){var e=this.peek();V(e)?(this.transitionTo(`beforeDoctypePublicIdentifier`),this.consume()):e===`"`?(this.transitionTo(`doctypePublicIdentifierDoubleQuoted`),this.consume()):e===`'`?(this.transitionTo(`doctypePublicIdentifierSingleQuoted`),this.consume()):e===`>`&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();e===`"`?this.transitionTo(`afterDoctypePublicIdentifier`):e===`>`?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`)):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();e===`'`?this.transitionTo(`afterDoctypePublicIdentifier`):e===`>`?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`)):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();V(e)?this.transitionTo(`betweenDoctypePublicAndSystemIdentifiers`):e===`>`?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`)):e===`"`?this.transitionTo(`doctypeSystemIdentifierDoubleQuoted`):e===`'`&&this.transitionTo(`doctypeSystemIdentifierSingleQuoted`)},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();V(e)||(e===`>`?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`)):e===`"`?this.transitionTo(`doctypeSystemIdentifierDoubleQuoted`):e===`'`&&this.transitionTo(`doctypeSystemIdentifierSingleQuoted`))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();e===`"`?this.transitionTo(`afterDoctypeSystemIdentifier`):e===`>`?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`)):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();e===`'`?this.transitionTo(`afterDoctypeSystemIdentifier`):e===`>`?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`)):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();V(e)||e===`>`&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo(`beforeData`))},commentStart:function(){var e=this.consume();e===`-`?this.transitionTo(`commentStartDash`):e===`>`?(this.delegate.finishComment(),this.transitionTo(`beforeData`)):(this.delegate.appendToCommentData(e),this.transitionTo(`comment`))},commentStartDash:function(){var e=this.consume();e===`-`?this.transitionTo(`commentEnd`):e===`>`?(this.delegate.finishComment(),this.transitionTo(`beforeData`)):(this.delegate.appendToCommentData(`-`),this.transitionTo(`comment`))},comment:function(){var e=this.consume();e===`-`?this.transitionTo(`commentEndDash`):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();e===`-`?this.transitionTo(`commentEnd`):(this.delegate.appendToCommentData(`-`+e),this.transitionTo(`comment`))},commentEnd:function(){var e=this.consume();e===`>`?(this.delegate.finishComment(),this.transitionTo(`beforeData`)):(this.delegate.appendToCommentData(`--`+e),this.transitionTo(`comment`))},tagName:function(){var e=this.consume();V(e)?this.transitionTo(`beforeAttributeName`):e===`/`?this.transitionTo(`selfClosingStartTag`):e===`>`?(this.delegate.finishTag(),this.transitionTo(`beforeData`)):this.appendToTagName(e)},endTagName:function(){var e=this.consume();V(e)?(this.transitionTo(`beforeAttributeName`),this.tagNameBuffer=``):e===`/`?(this.transitionTo(`selfClosingStartTag`),this.tagNameBuffer=``):e===`>`?(this.delegate.finishTag(),this.transitionTo(`beforeData`),this.tagNameBuffer=``):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();if(V(e)){this.consume();return}else e===`/`?(this.transitionTo(`selfClosingStartTag`),this.consume()):e===`>`?(this.consume(),this.delegate.finishTag(),this.transitionTo(`beforeData`)):e===`=`?(this.delegate.reportSyntaxError(`attribute name cannot start with equals sign`),this.transitionTo(`attributeName`),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo(`attributeName`),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();V(e)?(this.transitionTo(`afterAttributeName`),this.consume()):e===`/`?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo(`selfClosingStartTag`)):e===`=`?(this.transitionTo(`beforeAttributeValue`),this.consume()):e===`>`?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo(`beforeData`)):e===`"`||e===`'`||e===`<`?(this.delegate.reportSyntaxError(e+` is not a valid character within attribute names`),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();if(V(e)){this.consume();return}else e===`/`?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo(`selfClosingStartTag`)):e===`=`?(this.consume(),this.transitionTo(`beforeAttributeValue`)):e===`>`?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo(`beforeData`)):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo(`attributeName`),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();V(e)?this.consume():e===`"`?(this.transitionTo(`attributeValueDoubleQuoted`),this.delegate.beginAttributeValue(!0),this.consume()):e===`'`?(this.transitionTo(`attributeValueSingleQuoted`),this.delegate.beginAttributeValue(!0),this.consume()):e===`>`?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo(`beforeData`)):(this.transitionTo(`attributeValueUnquoted`),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();e===`"`?(this.delegate.finishAttributeValue(),this.transitionTo(`afterAttributeValueQuoted`)):e===`&`?this.delegate.appendToAttributeValue(this.consumeCharRef()||`&`):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();e===`'`?(this.delegate.finishAttributeValue(),this.transitionTo(`afterAttributeValueQuoted`)):e===`&`?this.delegate.appendToAttributeValue(this.consumeCharRef()||`&`):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();V(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo(`beforeAttributeName`)):e===`/`?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo(`selfClosingStartTag`)):e===`&`?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||`&`)):e===`>`?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo(`beforeData`)):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();V(e)?(this.consume(),this.transitionTo(`beforeAttributeName`)):e===`/`?(this.consume(),this.transitionTo(`selfClosingStartTag`)):e===`>`?(this.consume(),this.delegate.finishTag(),this.transitionTo(`beforeData`)):this.transitionTo(`beforeAttributeName`)},selfClosingStartTag:function(){this.peek()===`>`?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo(`beforeData`)):this.transitionTo(`beforeAttributeName`)},endTagOpen:function(){var e=this.consume();(e===`@`||e===`:`||yt(e))&&(this.transitionTo(`endTagName`),this.tagNameBuffer=``,this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo(`beforeData`),this.input=``,this.tagNameBuffer=``,this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=bt(e);this.index<this.input.length;){var t=this.states[this.state];if(t!==void 0)t.call(this);else throw Error(`unhandled state `+this.state)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){this.state===`data`&&(this.delegate.finishData(),this.transitionTo(`beforeData`))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,e===`
17
+ `?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(`;`,this.index);if(e!==-1){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return e===`title`&&this.input.substring(this.index,this.index+8)!==`</title>`||e===`style`&&this.input.substring(this.index,this.index+8)!==`</style>`||e===`script`&&this.input.substring(this.index,this.index+9)!==`<\/script>`},e})();(function(){function e(e,t){t===void 0&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new xt(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(e===null)throw Error(`token was unexpectedly null`);if(arguments.length===0)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw Error(`token type was unexpectedly `+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:`Doctype`,name:``})},e.prototype.appendToDoctypeName=function(e){this.current(`Doctype`).name+=e},e.prototype.appendToDoctypePublicIdentifier=function(e){var t=this.current(`Doctype`);t.publicIdentifier===void 0?t.publicIdentifier=e:t.publicIdentifier+=e},e.prototype.appendToDoctypeSystemIdentifier=function(e){var t=this.current(`Doctype`);t.systemIdentifier===void 0?t.systemIdentifier=e:t.systemIdentifier+=e},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:`Chars`,chars:``})},e.prototype.appendToData=function(e){this.current(`Chars`).chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:`Comment`,chars:``})},e.prototype.appendToCommentData=function(e){this.current(`Comment`).chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:`StartTag`,tagName:``,attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:`EndTag`,tagName:``})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current(`StartTag`).selfClosing=!0},e.prototype.appendToTagName=function(e){this.current(`StartTag`,`EndTag`).tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=[``,``,!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current(`StartTag`).attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e})();var St={Append:1,TrustingAppend:2,Comment:3,Modifier:4,StrictModifier:5,Block:6,StrictBlock:7,Component:8,OpenElement:10,OpenElementWithSplat:11,FlushElement:12,CloseElement:13,StaticAttr:14,DynamicAttr:15,ComponentAttr:16,AttrSplat:17,Yield:18,DynamicArg:20,StaticArg:21,TrustingDynamicAttr:22,TrustingComponentAttr:23,StaticComponentAttr:24,Debugger:26,Undefined:27,Call:28,Concat:29,GetSymbol:30,GetLexicalSymbol:32,GetStrictKeyword:31,GetFreeAsComponentOrHelperHead:35,GetFreeAsHelperHead:37,GetFreeAsModifierHead:38,GetFreeAsComponentHead:39,InElement:40,If:41,Each:42,Let:44,WithDynamicVars:45,InvokeComponent:46,HasBlock:48,HasBlockParams:49,Curry:50,Not:51,IfInline:52,GetDynamicVar:53,Log:54};St.FlushElement,St.GetSymbol;var Ct=!1;new RegExp(/["\x26\xa0]/u.source,`gu`),new RegExp(/[&<>\xa0]/u.source,`gu`);var wt=new Set([`area`,`base`,`br`,`col`,`command`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`]);function Tt(){return[...wt]}function Et(e){return wt.has(e.toLowerCase())&&e[0]?.toLowerCase()===e[0]}function Dt(e){return!!e&&e.length>0}function Ot(e){return e.length===0?void 0:e[e.length-1]}function kt(e){return e.length===0?void 0:e[0]}var H=Object.freeze({line:1,column:0}),At=Object.freeze({source:`(synthetic)`,start:H,end:H}),jt=Object.freeze({source:`(nonexistent)`,start:H,end:H}),U=Object.freeze({source:`(broken)`,start:H,end:H}),Mt=class{constructor(e){this._whens=e}first(e){for(let t of this._whens){let n=t.match(e);if(Dt(n))return n[0]}return null}},Nt=class{get(e,t){let n=this._map.get(e);return n||(n=t(),this._map.set(e,n),n)}add(e,t){this._map.set(e,t)}match(e){let t=(function(e){switch(e){case`Broken`:case`InternalsSynthetic`:case`NonExistent`:return`IS_INVISIBLE`;default:return e}})(e),n=[],r=this._map.get(t),i=this._map.get(`MATCH_ANY`);return r&&n.push(r),i&&n.push(i),n}constructor(){this._map=new Map}};function Pt(e){return e(new Ft).validate()}var Ft=class{validate(){return(e,t)=>this.matchFor(e.kind,t.kind)(e,t)}matchFor(e,t){let n=this._whens.match(e);return Dt(n),new Mt(n).first(t)}when(e,t,n){return this._whens.get(e,(()=>new Nt)).add(t,n),this}constructor(){this._whens=new Nt}},It=class e{static synthetic(t){return new e({loc:W.synthetic(t),chars:t})}static load(t,n){return new e({loc:W.load(t,n[1]),chars:n[0]})}constructor(e){this.loc=e.loc,this.chars=e.chars}getString(){return this.chars}serialize(){return[this.chars,this.loc.serialize()]}},W=class e{static get NON_EXISTENT(){return new G(`NonExistent`,jt).wrap()}static load(t,n){return typeof n==`number`?e.forCharPositions(t,n,n):typeof n==`string`?e.synthetic(n):Array.isArray(n)?e.forCharPositions(t,n[0],n[1]):n===`NonExistent`?e.NON_EXISTENT:n===`Broken`?e.broken(U):void Ne(n)}static forHbsLoc(e,t){return new Rt(e,{start:new Vt(e,t.start),end:new Vt(e,t.end)},t).wrap()}static forCharPositions(e,t,n){return new Lt(e,{start:new Bt(e,t),end:new Bt(e,n)}).wrap()}static synthetic(e){return new G(`InternalsSynthetic`,jt,e).wrap()}static broken(e=U){return new G(`Broken`,e).wrap()}constructor(e){var t;this.data=e,this.isInvisible=(t=e.kind)!==`CharPosition`&&t!==`HbsPosition`}getStart(){return this.data.getStart().wrap()}getEnd(){return this.data.getEnd().wrap()}get loc(){let e=this.data.toHbsSpan();return e===null?U:e.toHbsLoc()}get module(){return this.data.getModule()}get startPosition(){return this.loc.start}get endPosition(){return this.loc.end}toJSON(){return this.loc}withStart(e){return K(e.data,this.data.getEnd())}withEnd(e){return K(this.data.getStart(),e.data)}asString(){return this.data.asString()}toSlice(e){let t=this.data.asString();return JSON.stringify(t),JSON.stringify(e),new It({loc:this,chars:e||t})}get start(){return this.loc.start}set start(e){this.data.locDidUpdate({start:e})}get end(){return this.loc.end}set end(e){this.data.locDidUpdate({end:e})}get source(){return this.module}collapse(e){switch(e){case`start`:return this.getStart().collapsed();case`end`:return this.getEnd().collapsed()}}extend(e){return K(this.data.getStart(),e.data.getEnd())}serialize(){return this.data.serialize()}slice({skipStart:e=0,skipEnd:t=0}){return K(this.getStart().move(e).data,this.getEnd().move(-t).data)}sliceStartChars({skipStart:e=0,chars:t}){return K(this.getStart().move(e).data,this.getStart().move(e+t).data)}sliceEndChars({skipEnd:e=0,chars:t}){return K(this.getEnd().move(e-t).data,this.getStart().move(-e).data)}},Lt=class{#e;constructor(e,t){this.source=e,this.charPositions=t,this.kind=`CharPosition`,this.#e=null}wrap(){return new W(this)}asString(){return this.source.slice(this.charPositions.start.charPos,this.charPositions.end.charPos)}getModule(){return this.source.module}getStart(){return this.charPositions.start}getEnd(){return this.charPositions.end}locDidUpdate(){}toHbsSpan(){let e=this.#e;if(e===null){let t=this.charPositions.start.toHbsPos(),n=this.charPositions.end.toHbsPos();e=this.#e=t===null||n===null?q:new Rt(this.source,{start:t,end:n})}return e===q?null:e}serialize(){let{start:{charPos:e},end:{charPos:t}}=this.charPositions;return e===t?e:[e,t]}toCharPosSpan(){return this}},Rt=class{#e;#t;constructor(e,t,n=null){this.source=e,this.hbsPositions=t,this.kind=`HbsPosition`,this.#e=null,this.#t=n}serialize(){let e=this.toCharPosSpan();return e===null?`Broken`:e.wrap().serialize()}wrap(){return new W(this)}updateProvided(e,t){this.#t&&(this.#t[t]=e),this.#e=null,this.#t={start:e,end:e}}locDidUpdate({start:e,end:t}){e!==void 0&&(this.updateProvided(e,`start`),this.hbsPositions.start=new Vt(this.source,e,null)),t!==void 0&&(this.updateProvided(t,`end`),this.hbsPositions.end=new Vt(this.source,t,null))}asString(){let e=this.toCharPosSpan();return e===null?``:e.asString()}getModule(){return this.source.module}getStart(){return this.hbsPositions.start}getEnd(){return this.hbsPositions.end}toHbsLoc(){return{start:this.hbsPositions.start.hbsPos,end:this.hbsPositions.end.hbsPos}}toHbsSpan(){return this}toCharPosSpan(){let e=this.#e;if(e===null){let t=this.hbsPositions.start.toCharPos(),n=this.hbsPositions.end.toCharPos();if(!t||!n)return e=this.#e=q,null;e=this.#e=new Lt(this.source,{start:t,end:n})}return e===q?null:e}},G=class{constructor(e,t,n=null){this.kind=e,this.loc=t,this.string=n}serialize(){switch(this.kind){case`Broken`:case`NonExistent`:return this.kind;case`InternalsSynthetic`:return this.string||``}}wrap(){return new W(this)}asString(){return this.string||``}locDidUpdate({start:e,end:t}){e!==void 0&&(this.loc.start=e),t!==void 0&&(this.loc.end=t)}getModule(){return`an unknown module`}getStart(){return new Ht(this.kind,this.loc.start)}getEnd(){return new Ht(this.kind,this.loc.end)}toCharPosSpan(){return this}toHbsSpan(){return null}toHbsLoc(){return U}},K=Pt((e=>e.when(`HbsPosition`,`HbsPosition`,((e,t)=>new Rt(e.source,{start:e,end:t}).wrap())).when(`CharPosition`,`CharPosition`,((e,t)=>new Lt(e.source,{start:e,end:t}).wrap())).when(`CharPosition`,`HbsPosition`,((e,t)=>{let n=t.toCharPos();return n===null?new G(`Broken`,U).wrap():K(e,n)})).when(`HbsPosition`,`CharPosition`,((e,t)=>{let n=e.toCharPos();return n===null?new G(`Broken`,U).wrap():K(n,t)})).when(`IS_INVISIBLE`,`MATCH_ANY`,(e=>new G(e.kind,U).wrap())).when(`MATCH_ANY`,`IS_INVISIBLE`,((e,t)=>new G(t.kind,U).wrap())))),q=`BROKEN`,zt=class e{static forHbsPos(e,t){return new Vt(e,t,null).wrap()}static broken(e=H){return new Ht(`Broken`,e).wrap()}constructor(e){this.data=e}get offset(){let e=this.data.toCharPos();return e===null?null:e.offset}eql(e){return Ut(this.data,e.data)}until(e){return K(this.data,e.data)}move(t){let n=this.data.toCharPos();if(n===null)return e.broken();{let r=n.offset+t;return n.source.validate(r)?new Bt(n.source,r).wrap():e.broken()}}collapsed(){return K(this.data,this.data)}toJSON(){return this.data.toJSON()}},Bt=class{constructor(e,t){this.source=e,this.charPos=t,this.kind=`CharPosition`,this._locPos=null}toCharPos(){return this}toJSON(){let e=this.toHbsPos();return e===null?H:e.toJSON()}wrap(){return new zt(this)}get offset(){return this.charPos}toHbsPos(){let e=this._locPos;if(e===null){let t=this.source.hbsPosFor(this.charPos);this._locPos=e=t===null?q:new Vt(this.source,t,this.charPos)}return e===q?null:e}},Vt=class{constructor(e,t,n=null){this.source=e,this.hbsPos=t,this.kind=`HbsPosition`,this._charPos=n===null?null:new Bt(e,n)}toCharPos(){let e=this._charPos;if(e===null){let t=this.source.charPosFor(this.hbsPos);this._charPos=e=t===null?q:new Bt(this.source,t)}return e===q?null:e}toJSON(){return this.hbsPos}wrap(){return new zt(this)}toHbsPos(){return this}},Ht=class{constructor(e,t){this.kind=e,this.pos=t}toCharPos(){return null}toJSON(){return this.pos}wrap(){return new zt(this)}get offset(){return null}},Ut=Pt((e=>e.when(`HbsPosition`,`HbsPosition`,(({hbsPos:e},{hbsPos:t})=>e.column===t.column&&e.line===t.line)).when(`CharPosition`,`CharPosition`,(({charPos:e},{charPos:t})=>e===t)).when(`CharPosition`,`HbsPosition`,(({offset:e},t)=>e===t.toCharPos()?.offset)).when(`HbsPosition`,`CharPosition`,((e,{offset:t})=>e.toCharPos()?.offset===t)).when(`MATCH_ANY`,`MATCH_ANY`,(()=>!1)))),Wt=class e{static from(t,n={}){return new e(t,n.meta?.moduleName)}constructor(e,t=`an unknown module`){this.source=e,this.module=t}validate(e){return e>=0&&e<=this.source.length}slice(e,t){return this.source.slice(e,t)}offsetFor(e,t){return zt.forHbsPos(this,{line:e,column:t})}spanFor({start:e,end:t}){return W.forHbsLoc(this,{start:{line:e.line,column:e.column},end:{line:t.line,column:t.column}})}hbsPosFor(e){let t=0,n=0;if(e>this.source.length)return null;for(;;){let r=this.source.indexOf(`
18
+ `,n);if(e<=r||r===-1)return{line:t+1,column:e-n};t+=1,n=r+1}}charPosFor(e){let{line:t,column:n}=e,r=this.source.length,i=0,a=0;for(;a<r;){let e=this.source.indexOf(`
19
+ `,a);if(e===-1&&(e=this.source.length),i===t-1){if(a+n>e)return e;if(Ct){let e=this.hbsPosFor(a+n);e.line,e.column}return a+n}if(e===-1)return 0;i+=1,a=e+1}return r}};function J(e,t){let{module:n,loc:r}=t,{line:i,column:a}=r.start,o=t.asString(),s=o?`
20
+
21
+ |
22
+ | ${o.split(`
23
+ `).join(`
24
+ | `)}
25
+ |
26
+
27
+ `:``,c=Error(`${e}: ${s}(error occurred in '${n}' @ line ${i} : column ${a})`);return c.name=`SyntaxError`,c.location=t,c.code=o,c}var Gt={Template:[`body`],Block:[`body`],MustacheStatement:[`path`,`params`,`hash`],BlockStatement:[`path`,`params`,`hash`,`program`,`inverse`],ElementModifierStatement:[`path`,`params`,`hash`],CommentStatement:[],MustacheCommentStatement:[],ElementNode:[`attributes`,`modifiers`,`children`,`comments`],AttrNode:[`value`],TextNode:[],ConcatStatement:[`parts`],SubExpression:[`path`,`params`,`hash`],PathExpression:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:[`pairs`],HashPair:[`value`]},Kt=(function(){function e(e,t,n,r){let i=Error.call(this,e);this.key=r,this.message=e,this.node=t,this.parent=n,i.stack&&(this.stack=i.stack)}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e})();function qt(e,t,n){return new Kt(`Cannot remove a node unless it is part of an array`,e,t,n)}function Jt(e,t,n){return new Kt(`Cannot replace a node with multiple nodes unless it is part of an array`,e,t,n)}function Yt(e,t){return new Kt(`Replacing and removing in key handlers is not yet supported.`,e,null,t)}var Xt=class{constructor(e,t=null,n=null){this.node=e,this.parent=t,this.parentKey=n}get parentNode(){return this.parent?this.parent.node:null}parents(){return{[Symbol.iterator]:()=>new Zt(this)}}},Zt=class{constructor(e){this.path=e}next(){return this.path.parent?(this.path=this.path.parent,{done:!1,value:this.path}):{done:!0,value:null}}};function Qt(e){return typeof e==`function`?e:e.enter}function $t(e){return typeof e==`function`?void 0:e.exit}function en(e,t){let n,r,i,{node:a,parent:o,parentKey:s}=t,c=(function(e,t){if(e.Program&&(t===`Template`&&!e.Template||t===`Block`&&!e.Block))return e.Program;let n=e[t];return n===void 0?e.All:n})(e,a.type);if(c!==void 0&&(n=Qt(c),r=$t(c)),n!==void 0&&(i=n(a,t)),i!=null){if(JSON.stringify(a)!==JSON.stringify(i))return Array.isArray(i)?(rn(e,i,o,s),i):en(e,new Xt(i,o,s))||i;i=void 0}if(i===void 0){let n=Gt[a.type];for(let r=0;r<n.length;r++)nn(e,c,t,n[r]);r!==void 0&&(i=r(a,t))}return i}function tn(e,t,n){e[t]=n}function nn(e,t,n,r){let i,a,{node:o}=n,s=(function(e,t){return e[t]})(o,r);if(s){if(t!==void 0){let e=(function(e,t){let n=typeof e==`function`?void 0:e.keys;if(n===void 0)return;let r=n[t];return r===void 0?n.All:r})(t,r);e!==void 0&&(i=Qt(e),a=$t(e))}if(i!==void 0&&i(o,r)!==void 0)throw Yt(o,r);if(Array.isArray(s))rn(e,s,n,r);else{let t=en(e,new Xt(s,n,r));t!==void 0&&(function(e,t,n,r){if(r===null)throw qt(n,e,t);if(Array.isArray(r)){if(r.length!==1)throw r.length===0?qt(n,e,t):Jt(n,e,t);tn(e,t,r[0])}else tn(e,t,r)})(o,r,s,t)}if(a!==void 0&&a(o,r)!==void 0)throw Yt(o,r)}}function rn(e,t,n,r){for(let i=0;i<t.length;i++){let a=t[i],o=en(e,new Xt(a,n,r));o!==void 0&&(i+=an(t,i,o)-1)}}function an(e,t,n){return n===null?(e.splice(t,1),0):Array.isArray(n)?(e.splice(t,1,...n),n.length):(e.splice(t,1,n),1)}function on(e,t){en(t,new Xt(e))}function sn(e,t){(function(e){switch(e.type){case`Block`:case`Template`:return e.body;case`ElementNode`:return e.children}})(e).push(t)}function cn(e){return e.type===`StringLiteral`||e.type===`BooleanLiteral`||e.type===`NumberLiteral`||e.type===`NullLiteral`||e.type===`UndefinedLiteral`}var ln;function un(){return ln||=new Wt(``,`(synthetic)`),ln}function dn(e,t){return Z.var({name:e,loc:X(t||null)})}function Y(e,t){let n=X(t||null);if(typeof e!=`string`){if(`type`in e)return e;{e.head.indexOf(`.`);let{head:r,tail:i}=e;return Z.path({head:Z.head({original:r,loc:n.sliceStartChars({chars:r.length})}),tail:i,loc:X(t||null)})}}let{head:r,tail:i}=(function(e,t){let[n,...r]=e.split(`.`),i=Z.head({original:n,loc:X(t||null)});return Z.path({head:i,tail:r,loc:X(t||null)})})(e,n);return Z.path({head:r,tail:i,loc:n})}function fn(e,t,n){return Z.literal({type:e,value:t,loc:X(n||null)})}function pn(e=[],t){return Z.hash({pairs:e,loc:X(t||null)})}function mn(e){return e.map((e=>typeof e==`string`?Z.var({name:e,loc:W.synthetic(e)}):e))}function hn(e=[],t=[],n=!1,r){return Z.blockItself({body:e,params:mn(t),chained:n,loc:X(r||null)})}function gn(e=[],t=[],n){return Z.template({body:e,blockParams:t,loc:X(n||null)})}function X(...e){if(e.length===1){let t=e[0];return t&&typeof t==`object`?W.forHbsLoc(un(),t):W.forHbsLoc(un(),At)}{let[t,n,r,i,a]=e,o=a?new Wt(``,a):un();return W.forHbsLoc(o,{start:{line:t,column:n},end:{line:r||t,column:i||n}})}}var _n={mustache:function(e,t=[],n=pn([]),r=!1,i,a){return Z.mustache({path:Y(e),params:t,hash:n,trusting:r,strip:a,loc:X(i||null)})},block:function(e,t,n,r,i=null,a,o,s,c){let l,u=null;return l=r.type===`Template`?Z.blockItself({params:mn(r.blockParams),body:r.body,loc:r.loc}):r,i?.type===`Template`?(i.blockParams.length,u=Z.blockItself({params:[],body:i.body,loc:i.loc})):u=i,Z.block({path:Y(e),params:t||[],hash:n||pn([]),defaultBlock:l,elseBlock:u,loc:X(a||null),openStrip:o,inverseStrip:s,closeStrip:c})},comment:function(e,t){return Z.comment({value:e,loc:X(t||null)})},mustacheComment:function(e,t){return Z.mustacheComment({value:e,loc:X(t||null)})},element:function(e,t={}){let n,r,{attrs:i,blockParams:a,modifiers:o,comments:s,children:c,openTag:l,closeTag:u,loc:d}=t;typeof e==`string`?e.endsWith(`/`)?(n=Y(e.slice(0,-1)),r=!0):n=Y(e):`type`in e?(e.type,e.type,n=e):`path`in e?(e.path.type,e.path.type,n=e.path,r=e.selfClosing):(n=Y(e.name),r=e.selfClosing);let f=a?.map((e=>typeof e==`string`?dn(e):e)),p=null;return u?p=X(u):u===void 0&&(p=r||Et(n.original)?null:X(null)),Z.element({path:n,selfClosing:r||!1,attributes:i||[],params:f||[],modifiers:o||[],comments:s||[],children:c||[],openTag:X(l||null),closeTag:p,loc:X(d||null)})},elementModifier:function(e,t,n,r){return Z.elementModifier({path:Y(e),params:t||[],hash:n||pn([]),loc:X(r||null)})},attr:function(e,t,n){return Z.attr({name:e,value:t,loc:X(n||null)})},text:function(e=``,t){return Z.text({chars:e,loc:X(t||null)})},sexpr:function(e,t=[],n=pn([]),r){return Z.sexpr({path:Y(e),params:t,hash:n,loc:X(r||null)})},concat:function(e,t){if(!Dt(e))throw Error(`b.concat requires at least one part`);return Z.concat({parts:e,loc:X(t||null)})},hash:pn,pair:function(e,t,n){return Z.pair({key:e,value:t,loc:X(n||null)})},literal:fn,program:function(e,t,n){return t&&t.length?hn(e,t,!1,n):gn(e,[],n)},blockItself:hn,template:gn,loc:X,pos:function(e,t){return Z.pos({line:e,column:t})},path:Y,fullPath:function(e,t=[],n){return Z.path({head:e,tail:t,loc:X(n||null)})},head:function(e,t){return Z.head({original:e,loc:X(t||null)})},at:function(e,t){return Z.atName({name:e,loc:X(t||null)})},var:dn,this:function(e){return Z.this({loc:X(e||null)})},string:vn(`StringLiteral`),boolean:vn(`BooleanLiteral`),number:vn(`NumberLiteral`),undefined:()=>fn(`UndefinedLiteral`,void 0),null:()=>fn(`NullLiteral`,null)};function vn(e){return function(t,n){return fn(e,t,n)}}var yn={close:!1,open:!1},Z=new class{pos({line:e,column:t}){return{line:e,column:t}}blockItself({body:e,params:t,chained:n=!1,loc:r}){return{type:`Block`,body:e,params:t,get blockParams(){return this.params.map((e=>e.name))},set blockParams(e){this.params=e.map((e=>Z.var({name:e,loc:W.synthetic(e)})))},chained:n,loc:r}}template({body:e,blockParams:t,loc:n}){return{type:`Template`,body:e,blockParams:t,loc:n}}mustache({path:e,params:t,hash:n,trusting:r,loc:i,strip:a=yn}){return(function({path:e,params:t,hash:n,trusting:r,strip:i,loc:a}){let o={type:`MustacheStatement`,path:e,params:t,hash:n,trusting:r,strip:i,loc:a};return Object.defineProperty(o,`escaped`,{enumerable:!1,get(){return!this.trusting},set(e){this.trusting=!e}}),o})({path:e,params:t,hash:n,trusting:r,strip:a,loc:i})}block({path:e,params:t,hash:n,defaultBlock:r,elseBlock:i=null,loc:a,openStrip:o=yn,inverseStrip:s=yn,closeStrip:c=yn}){return{type:`BlockStatement`,path:e,params:t,hash:n,program:r,inverse:i,loc:a,openStrip:o,inverseStrip:s,closeStrip:c}}comment({value:e,loc:t}){return{type:`CommentStatement`,value:e,loc:t}}mustacheComment({value:e,loc:t}){return{type:`MustacheCommentStatement`,value:e,loc:t}}concat({parts:e,loc:t}){return{type:`ConcatStatement`,parts:e,loc:t}}element({path:e,selfClosing:t,attributes:n,modifiers:r,params:i,comments:a,children:o,openTag:s,closeTag:c,loc:l}){let u=t;return{type:`ElementNode`,path:e,attributes:n,modifiers:r,params:i,comments:a,children:o,openTag:s,closeTag:c,loc:l,get tag(){return this.path.original},set tag(e){this.path.original=e},get blockParams(){return this.params.map((e=>e.name))},set blockParams(e){this.params=e.map((e=>Z.var({name:e,loc:W.synthetic(e)})))},get selfClosing(){return u},set selfClosing(e){u=e,this.closeTag=e?null:W.synthetic(`</${this.tag}>`)}}}elementModifier({path:e,params:t,hash:n,loc:r}){return{type:`ElementModifierStatement`,path:e,params:t,hash:n,loc:r}}attr({name:e,value:t,loc:n}){return{type:`AttrNode`,name:e,value:t,loc:n}}text({chars:e,loc:t}){return{type:`TextNode`,chars:e,loc:t}}sexpr({path:e,params:t,hash:n,loc:r}){return{type:`SubExpression`,path:e,params:t,hash:n,loc:r}}path({head:e,tail:t,loc:n}){return(function({head:e,tail:t,loc:n}){let r={type:`PathExpression`,head:e,tail:t,get original(){return[this.head.original,...this.tail].join(`.`)},set original(e){let[t,...n]=e.split(`.`);this.head=_n.head(t,this.head.loc),this.tail=n},loc:n};return Object.defineProperty(r,`parts`,{enumerable:!1,get(){let e=this.original.split(`.`);return e[0]===`this`?e.shift():e[0].startsWith(`@`)&&(e[0]=e[0].slice(1)),Object.freeze(e)},set(e){let t=[...e];t[0]===`this`||t[0]?.startsWith(`@`)||(this.head.type===`ThisHead`?t.unshift(`this`):this.head.type===`AtHead`&&(t[0]=`@${t[0]}`)),this.original=t.join(`.`)}}),Object.defineProperty(r,`this`,{enumerable:!1,get(){return this.head.type===`ThisHead`}}),Object.defineProperty(r,`data`,{enumerable:!1,get(){return this.head.type===`AtHead`}}),r})({head:e,tail:t,loc:n})}head({original:e,loc:t}){return e===`this`?this.this({loc:t}):e[0]===`@`?this.atName({name:e,loc:t}):this.var({name:e,loc:t})}this({loc:e}){return{type:`ThisHead`,get original(){return`this`},loc:e}}atName({name:e,loc:t}){let n=``,r={type:`AtHead`,get name(){return n},set name(e){e[0],e.indexOf(`.`),n=e},get original(){return this.name},set original(e){this.name=e},loc:t};return r.name=e,r}var({name:e,loc:t}){let n=``,r={type:`VarHead`,get name(){return n},set name(e){e[0],e.indexOf(`.`),n=e},get original(){return this.name},set original(e){this.name=e},loc:t};return r.name=e,r}hash({pairs:e,loc:t}){return{type:`Hash`,pairs:e,loc:t}}pair({key:e,value:t,loc:n}){return{type:`HashPair`,key:e,value:t,loc:n}}literal({type:e,value:t,loc:n}){return(function({type:e,value:t,loc:n}){let r={type:e,value:t,loc:n};return Object.defineProperty(r,`original`,{enumerable:!1,get(){return this.value},set(e){this.value=e}}),r})({type:e,value:t,loc:n})}},bn=class{constructor(e,t=new ht(dt),n=`precompile`){this.elementStack=[],this.currentAttribute=null,this.currentNode=null,this.source=e,this.lines=e.source.split(/\r\n?|\n/u),this.tokenizer=new xt(this,t,n)}offset(){let{line:e,column:t}=this.tokenizer;return this.source.offsetFor(e,t)}pos({line:e,column:t}){return this.source.offsetFor(e,t)}finish(e){return je({},e,{loc:e.start.until(this.offset())})}get currentAttr(){return this.currentAttribute}get currentTag(){let e=this.currentNode;return e&&(e.type===`StartTag`||e.type),e}get currentStartTag(){let e=this.currentNode;return e&&e.type,e}get currentEndTag(){let e=this.currentNode;return e&&e.type,e}get currentComment(){let e=this.currentNode;return e&&e.type,e}get currentData(){let e=this.currentNode;return e&&e.type,e}acceptNode(e){return this[e.type](e)}currentElement(){return Ot(this.elementStack)}sourceForNode(e,t){let n,r,i,a=e.loc.start.line-1,o=a-1,s=e.loc.start.column,c=[];for(t?(r=t.loc.end.line-1,i=t.loc.end.column):(r=e.loc.end.line-1,i=e.loc.end.column);o<r;)o++,n=this.lines[o],o===a?a===r?c.push(n.slice(s,i)):c.push(n.slice(s)):o===r?c.push(n.slice(0,i)):c.push(n);return c.join(`
28
+ `)}},xn=class extends bn{parse(e,t){e.loc;let n=Z.template({body:[],blockParams:t,loc:this.source.spanFor(e.loc)}),r=this.parseProgram(n,e);return this.pendingError?.eof(r.loc.getEnd()),r}Program(e,t){e.loc;let n=Z.blockItself({body:[],params:t,chained:e.chained,loc:this.source.spanFor(e.loc)});return this.parseProgram(n,e)}parseProgram(e,t){if(t.body.length===0)return e;let n;try{this.elementStack.push(e);for(let e of t.body)this.acceptNode(e)}finally{n=this.elementStack.pop()}if(e!==n){if(n?.type===`ElementNode`)throw J(`Unclosed element \`${n.tag}\``,n.loc);e.type}return e}BlockStatement(e){if(this.tokenizer.state===`comment`)return e.loc,void this.appendToCommentData(this.sourceForNode(e));if(this.tokenizer.state!==`data`&&this.tokenizer.state!==`beforeData`)throw J(`A block may only be used inside an HTML element or another block.`,this.source.spanFor(e.loc));let{path:t,params:n,hash:r}=Sn(this,e),i=this.source.spanFor(e.loc),a,o=[];if(e.program.blockParams?.length){let t=r.loc.collapse(`end`);t=e.program.loc?t.withEnd(this.source.spanFor(e.program.loc).getStart()):e.program.body[0]?t.withEnd(this.source.spanFor(e.program.body[0].loc).getStart()):t.withEnd(i.getEnd()),a=wn(this.source,e,t);let n=t.asString(),s=n.indexOf(`|`)+1,c=n.indexOf(`|`,s);for(let r of e.program.blockParams){let e,i;e=s>=c?-1:n.indexOf(r,s),e===-1||e+r.length>c?(s=c,i=this.source.spanFor(jt)):(s=e,i=t.sliceStartChars({skipStart:s,chars:r.length}),s+=r.length),o.push(Z.var({name:r,loc:i}))}}else a=wn(this.source,e,i);let s=this.Program(a.program,o),c=a.inverse?this.Program(a.inverse,[]):null,l=Z.block({path:t,params:n,hash:r,defaultBlock:s,elseBlock:c,loc:this.source.spanFor(e.loc),openStrip:e.openStrip,inverseStrip:e.inverseStrip,closeStrip:e.closeStrip});sn(this.currentElement(),l)}MustacheStatement(e){this.pendingError?.mustache(this.source.spanFor(e.loc));let{tokenizer:t}=this;if(t.state===`comment`)return void this.appendToCommentData(this.sourceForNode(e));let n,{escaped:r,loc:i,strip:a}=e;if(`original`in e.path&&e.path.original===`...attributes`)throw J(`Illegal use of ...attributes`,this.source.spanFor(e.loc));if(cn(e.path))n=Z.mustache({path:this.acceptNode(e.path),params:[],hash:Z.hash({pairs:[],loc:this.source.spanFor(e.path.loc).collapse(`end`)}),trusting:!r,loc:this.source.spanFor(i),strip:a});else{let{path:t,params:o,hash:s}=Sn(this,e);n=Z.mustache({path:t,params:o,hash:s,trusting:!r,loc:this.source.spanFor(i),strip:a})}switch(t.state){case`tagOpen`:case`tagName`:throw J(`Cannot use mustaches in an elements tagname`,n.loc);case`beforeAttributeName`:Cn(this.currentStartTag,n);break;case`attributeName`:case`afterAttributeName`:this.beginAttributeValue(!1),this.finishAttributeValue(),Cn(this.currentStartTag,n),t.transitionTo(`beforeAttributeName`);break;case`afterAttributeValueQuoted`:Cn(this.currentStartTag,n),t.transitionTo(`beforeAttributeName`);break;case`beforeAttributeValue`:this.beginAttributeValue(!1),this.appendDynamicAttributeValuePart(n),t.transitionTo(`attributeValueUnquoted`);break;case`attributeValueDoubleQuoted`:case`attributeValueSingleQuoted`:case`attributeValueUnquoted`:this.appendDynamicAttributeValuePart(n);break;default:sn(this.currentElement(),n)}return n}appendDynamicAttributeValuePart(e){this.finalizeTextPart();let t=this.currentAttr;t.isDynamic=!0,t.parts.push(e)}finalizeTextPart(){let e=this.currentAttr.currentPart;e!==null&&(this.currentAttr.parts.push(e),this.startTextPart())}startTextPart(){this.currentAttr.currentPart=null}ContentStatement(e){(function(e,t){let n=t.loc.start.line,r=t.loc.start.column,i=(function(e,t){if(t===``)return{lines:e.split(`
29
+ `).length-1,columns:0};let[n]=e.split(t),r=n.split(/\n/u),i=r.length-1;return{lines:i,columns:r[i].length}})(t.original,t.value);n+=i.lines,i.lines?r=i.columns:r+=i.columns,e.line=n,e.column=r})(this.tokenizer,e),this.tokenizer.tokenizePart(e.value),this.tokenizer.flushData()}CommentStatement(e){let{tokenizer:t}=this;if(t.state===`comment`)return this.appendToCommentData(this.sourceForNode(e)),null;let{value:n,loc:r}=e,i=Z.mustacheComment({value:n,loc:this.source.spanFor(r)});switch(t.state){case`beforeAttributeName`:case`afterAttributeName`:this.currentStartTag.comments.push(i);break;case`beforeData`:case`data`:sn(this.currentElement(),i);break;default:throw J(`Using a Handlebars comment when in the \`${t.state}\` state is not supported`,this.source.spanFor(e.loc))}return i}PartialStatement(e){throw J(`Handlebars partials are not supported`,this.source.spanFor(e.loc))}PartialBlockStatement(e){throw J(`Handlebars partial blocks are not supported`,this.source.spanFor(e.loc))}Decorator(e){throw J(`Handlebars decorators are not supported`,this.source.spanFor(e.loc))}DecoratorBlock(e){throw J(`Handlebars decorator blocks are not supported`,this.source.spanFor(e.loc))}SubExpression(e){let{path:t,params:n,hash:r}=Sn(this,e);return Z.sexpr({path:t,params:n,hash:r,loc:this.source.spanFor(e.loc)})}PathExpression(e){let{original:t}=e,n;if(t.indexOf(`/`)!==-1){if(t.slice(0,2)===`./`)throw J(`Using "./" is not supported in Glimmer and unnecessary`,this.source.spanFor(e.loc));if(t.slice(0,3)===`../`)throw J(`Changing context using "../" is not supported in Glimmer`,this.source.spanFor(e.loc));if(t.indexOf(`.`)!==-1)throw J(`Mixing '.' and '/' in paths is not supported in Glimmer; use only '.' to separate property paths`,this.source.spanFor(e.loc));n=[e.parts.join(`/`)]}else{if(t===`.`)throw J(`'.' is not a supported path in Glimmer; check for a path with a trailing '.'`,this.source.spanFor(e.loc));n=e.parts}let r,i=!1;if(/^this(?:\..+)?$/u.test(t)&&(i=!0),i)r=Z.this({loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+4}})});else if(e.data){let t=n.shift();if(t===void 0)throw J(`Attempted to parse a path expression, but it was not valid. Paths beginning with @ must start with a-z.`,this.source.spanFor(e.loc));r=Z.atName({name:`@${t}`,loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+t.length+1}})})}else{let t=n.shift();if(t===void 0)throw J(`Attempted to parse a path expression, but it was not valid. Paths must start with a-z or A-Z.`,this.source.spanFor(e.loc));r=Z.var({name:t,loc:this.source.spanFor({start:e.loc.start,end:{line:e.loc.start.line,column:e.loc.start.column+t.length}})})}return Z.path({head:r,tail:n,loc:this.source.spanFor(e.loc)})}Hash(e){let t=e.pairs.map((e=>Z.pair({key:e.key,value:this.acceptNode(e.value),loc:this.source.spanFor(e.loc)})));return Z.hash({pairs:t,loc:this.source.spanFor(e.loc)})}StringLiteral(e){return Z.literal({type:`StringLiteral`,value:e.value,loc:this.source.spanFor(e.loc)})}BooleanLiteral(e){return Z.literal({type:`BooleanLiteral`,value:e.value,loc:this.source.spanFor(e.loc)})}NumberLiteral(e){return Z.literal({type:`NumberLiteral`,value:e.value,loc:this.source.spanFor(e.loc)})}UndefinedLiteral(e){return Z.literal({type:`UndefinedLiteral`,value:void 0,loc:this.source.spanFor(e.loc)})}NullLiteral(e){return Z.literal({type:`NullLiteral`,value:null,loc:this.source.spanFor(e.loc)})}constructor(...e){super(...e),this.pendingError=null}};function Sn(e,t){let n;switch(t.path.type){case`PathExpression`:n=e.PathExpression(t.path);break;case`SubExpression`:n=e.SubExpression(t.path);break;case`StringLiteral`:case`UndefinedLiteral`:case`NullLiteral`:case`NumberLiteral`:case`BooleanLiteral`:{let n;throw n=t.path.type===`BooleanLiteral`?t.path.original.toString():t.path.type===`StringLiteral`?`"${t.path.original}"`:t.path.type===`NullLiteral`?`null`:t.path.type===`NumberLiteral`?t.path.value.toString():`undefined`,J(`${t.path.type} "${t.path.type===`StringLiteral`?t.path.original:n}" cannot be called as a sub-expression, replace (${n}) with ${n}`,e.source.spanFor(t.path.loc))}}let r=t.params.map((t=>e.acceptNode(t))),i=Dt(r)?Ot(r).loc:n.loc;return{path:n,params:r,hash:t.hash?e.Hash(t.hash):Z.hash({pairs:[],loc:e.source.spanFor(i).collapse(`end`)})}}function Cn(e,t){let{path:n,params:r,hash:i,loc:a}=t;if(cn(n)){let r=`{{${(function(e){return e.type===`UndefinedLiteral`?`undefined`:JSON.stringify(e.value)})(n)}}}`;throw J(`In <${e.name} ... ${r} ..., ${r} is not a valid modifier`,t.loc)}let o=Z.elementModifier({path:n,params:r,hash:i,loc:a});e.modifiers.push(o)}function wn(e,t,n){if(!t.program.loc){let r=s(0,t.program.body,0),i=s(0,t.program.body,-1);if(r&&i)t.program.loc={...r.loc,end:i.loc.end};else{let r=e.spanFor(t.loc);t.program.loc=n.withEnd(r.getEnd())}}let r=e.spanFor(t.program.loc).getEnd();return t.inverse&&!t.inverse.loc&&(t.inverse.loc=r.collapsed()),t}function Q(e){return/[\t\n\f ]/u.test(e)}var Tn=class extends xn{reset(){this.currentNode=null}beginComment(){this.currentNode={type:`CommentStatement`,value:``,start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}appendToCommentData(e){this.currentComment.value+=e}finishComment(){sn(this.currentElement(),Z.comment(this.finish(this.currentComment)))}beginData(){this.currentNode={type:`TextNode`,chars:``,start:this.offset()}}appendToData(e){this.currentData.chars+=e}finishData(){sn(this.currentElement(),Z.text(this.finish(this.currentData)))}tagOpen(){this.tagOpenLine=this.tokenizer.line,this.tagOpenColumn=this.tokenizer.column}beginStartTag(){this.currentNode={type:`StartTag`,name:``,nameStart:null,nameEnd:null,attributes:[],modifiers:[],comments:[],params:[],selfClosing:!1,start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}beginEndTag(){this.currentNode={type:`EndTag`,name:``,start:this.source.offsetFor(this.tagOpenLine,this.tagOpenColumn)}}finishTag(){let e=this.finish(this.currentTag);if(e.type===`StartTag`){if(this.finishStartTag(),e.name===`:`)throw J(`Invalid named block named detected, you may have created a named block without a name, or you may have began your name with a number. Named blocks must have names that are at least one character long, and begin with a lower case letter`,this.source.spanFor({start:this.currentTag.start.toJSON(),end:this.offset().toJSON()}));(wt.has(e.name)||e.selfClosing)&&this.finishEndTag(!0)}else e.type,e.type,this.finishEndTag(!1)}finishStartTag(){let{name:e,nameStart:t,nameEnd:n}=this.currentStartTag,r=t.until(n),[i,...a]=e.split(`.`),o=Z.path({head:Z.head({original:i,loc:r.sliceStartChars({chars:i.length})}),tail:a,loc:r}),{attributes:s,modifiers:c,comments:l,params:u,selfClosing:d,loc:f}=this.finish(this.currentStartTag),p=Z.element({path:o,selfClosing:d,attributes:s,modifiers:c,comments:l,params:u,children:[],openTag:f,closeTag:d?null:W.broken(),loc:f});this.elementStack.push(p)}finishEndTag(e){let{start:t}=this.currentTag,n=this.finish(this.currentTag),r=this.elementStack.pop();this.validateEndTag(n,r,e);let i=this.currentElement();e?r.closeTag=null:r.selfClosing?r.closeTag:r.closeTag=t.until(this.offset()),r.loc=r.loc.withEnd(this.offset()),sn(i,Z.element(r))}markTagAsSelfClosing(){let e=this.currentTag;if(e.type!==`StartTag`)throw J(`Invalid end tag: closing tag must not be self-closing`,this.source.spanFor({start:e.start.toJSON(),end:this.offset().toJSON()}));e.selfClosing=!0}appendToTagName(e){let t=this.currentTag;if(t.name+=e,t.type===`StartTag`){let e=this.offset();t.nameStart===null&&(t.nameEnd,t.nameStart=e.move(-1)),t.nameEnd=e}}beginAttribute(){let e=this.offset();this.currentAttribute={name:``,parts:[],currentPart:null,isQuoted:!1,isDynamic:!1,start:e,valueSpan:e.collapsed()}}appendToAttributeName(e){this.currentAttr.name+=e,this.currentAttr.name===`as`&&this.parsePossibleBlockParams()}beginAttributeValue(e){this.currentAttr.isQuoted=e,this.startTextPart(),this.currentAttr.valueSpan=this.offset().collapsed()}appendToAttributeValue(e){let t=this.currentAttr.parts,n=t[t.length-1],r=this.currentAttr.currentPart;if(r)r.chars+=e,r.loc=r.loc.withEnd(this.offset());else{let t=this.offset();t=e===`
30
+ `?n?n.loc.getEnd():this.currentAttr.valueSpan.getStart():t.move(-1),this.currentAttr.currentPart=Z.text({chars:e,loc:t.collapsed()})}}finishAttributeValue(){this.finalizeTextPart();let e=this.currentTag,t=this.offset();if(e.type===`EndTag`)throw J(`Invalid end tag: closing tag must not have attributes`,this.source.spanFor({start:e.start.toJSON(),end:t.toJSON()}));let{name:n,parts:r,start:i,isQuoted:a,isDynamic:o,valueSpan:s}=this.currentAttr;if(n.startsWith(`|`)&&r.length===0&&!a&&!o)throw J("Invalid block parameters syntax: block parameters must be preceded by the `as` keyword",i.until(i.move(n.length)));let c=this.assembleAttributeValue(r,a,o,i.until(t));c.loc=s.withEnd(t);let l=Z.attr({name:n,value:c,loc:i.until(t)});this.currentStartTag.attributes.push(l)}parsePossibleBlockParams(){let e=/[!"#%&'()*+./;<=>@[\\\]^`{|}~]/u;this.tokenizer.state;let t=this.currentStartTag,n=this.currentAttr,r={state:`PossibleAs`},i={PossibleAs:e=>{if(r.state,Q(e))r={state:`BeforeStartPipe`},this.tokenizer.transitionTo(`afterAttributeName`),this.tokenizer.consume();else{if(e===`|`)throw J(`Invalid block parameters syntax: expecting at least one space character between "as" and "|"`,n.start.until(this.offset().move(1)));r={state:`Done`}}},BeforeStartPipe:e=>{r.state,Q(e)?this.tokenizer.consume():e===`|`?(r={state:`BeforeBlockParamName`},this.tokenizer.transitionTo(`beforeAttributeName`),this.tokenizer.consume()):r={state:`Done`}},BeforeBlockParamName:e=>{if(r.state,Q(e))this.tokenizer.consume();else if(e===``)r={state:`Done`},this.pendingError={mustache(e){throw J(`Invalid block parameters syntax: mustaches cannot be used inside parameters list`,e)},eof(e){throw J(`Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list`,n.start.until(e))}};else if(e===`|`){if(t.params.length===0)throw J(`Invalid block parameters syntax: empty parameters list, expecting at least one identifier`,n.start.until(this.offset().move(1)));r={state:`AfterEndPipe`},this.tokenizer.consume()}else{if(e===`>`||e===`/`)throw J(`Invalid block parameters syntax: incomplete parameters list, expecting "|" but the tag was closed prematurely`,n.start.until(this.offset().move(1)));r={state:`BlockParamName`,name:e,start:this.offset()},this.tokenizer.consume()}},BlockParamName:i=>{if(r.state,i===``)r={state:`Done`},this.pendingError={mustache(e){throw J(`Invalid block parameters syntax: mustaches cannot be used inside parameters list`,e)},eof(e){throw J(`Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list`,n.start.until(e))}};else if(i===`|`||Q(i)){let n=r.start.until(this.offset());if(r.name===`this`||e.test(r.name))throw J(`Invalid block parameters syntax: invalid identifier name \`${r.name}\``,n);t.params.push(Z.var({name:r.name,loc:n})),r=i===`|`?{state:`AfterEndPipe`}:{state:`BeforeBlockParamName`},this.tokenizer.consume()}else{if(i===`>`||i===`/`)throw J(`Invalid block parameters syntax: expecting "|" but the tag was closed prematurely`,n.start.until(this.offset().move(1)));r.name+=i,this.tokenizer.consume()}},AfterEndPipe:e=>{r.state,Q(e)?this.tokenizer.consume():e===``?(r={state:`Done`},this.pendingError={mustache(e){throw J(`Invalid block parameters syntax: modifiers cannot follow parameters list`,e)},eof(e){throw J(`Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list`,n.start.until(e))}}):e===`>`||e===`/`?r={state:`Done`}:(r={state:`Error`,message:`Invalid block parameters syntax: expecting the tag to be closed with ">" or "/>" after parameters list`,start:this.offset()},this.tokenizer.consume())},Error:e=>{if(r.state,e===``||e===`/`||e===`>`||Q(e))throw J(r.message,r.start.until(this.offset()));this.tokenizer.consume()},Done:()=>{}},a;do a=this.tokenizer.peek(),i[r.state](a);while(r.state!==`Done`&&a!==``);r.state}reportSyntaxError(e){throw J(e,this.offset().collapsed())}assembleConcatenatedValue(e){let t=kt(e),n=Ot(e);return Z.concat({parts:e,loc:this.source.spanFor(t.loc).extend(this.source.spanFor(n.loc))})}validateEndTag(e,t,n){if(wt.has(e.name)&&!n)throw J(`<${e.name}> elements do not need end tags. You should remove it`,e.loc);if(t.type!==`ElementNode`)throw J(`Closing tag </${e.name}> without an open tag`,e.loc);if(t.tag!==e.name)throw J(`Closing tag </${e.name}> did not match last open tag <${t.tag}> (on line ${t.loc.startPosition.line})`,e.loc)}assembleAttributeValue(e,t,n,r){if(n){if(t)return this.assembleConcatenatedValue(e);{let[t,n]=e;if(n===void 0||n.type===`TextNode`&&n.chars===`/`)return t;throw J(`An unquoted attribute value must be a string or a mustache, preceded by whitespace or a '=' character, and followed by whitespace, a '>' character, or '/>'`,r)}}return Dt(e)?e[0]:Z.text({chars:``,loc:r})}constructor(...e){super(...e),this.tagOpenLine=0,this.tagOpenColumn=0}},En={},Dn=class extends ht{constructor(){super({})}parse(){}};function On(e,t={}){let n,r,i,a=t.mode||`precompile`;typeof e==`string`?(n=new Wt(e,t.meta?.moduleName),r=a===`codemod`?st(e,t.parseOptions):ut(e,t.parseOptions)):e instanceof Wt?(n=e,r=a===`codemod`?st(e.source,t.parseOptions):ut(e.source,t.parseOptions)):(n=new Wt(``,t.meta?.moduleName),r=e),a===`codemod`&&(i=new Dn);let o=W.forCharPositions(n,0,n.source.length);r.loc={source:`(program)`,start:o.startPosition,end:o.endPosition};let s=new Tn(n,i,a).parse(r,t.locals??[]);if(t.plugins?.ast)for(let e of t.plugins.ast)on(s,e(je({},t,{syntax:En},{plugins:void 0})).visitor);return s}var kn=Ae(Gt),An=e=>e.loc.start.offset,jn=e=>e.loc.end.offset,Mn=new Set(Tt());function Nn(e){return e.toUpperCase()===e}function Pn(e){return e.type===`ElementNode`&&typeof e.tag==`string`&&!e.tag.startsWith(`:`)&&(Nn(e.tag[0])||e.tag.includes(`.`))}function Fn(e){return Mn.has(e.toLowerCase())&&!Nn(e[0])}function In(e){return e.selfClosing===!0||Fn(e.tag)||Pn(e)&&e.children.every(e=>Ln(e))}function Ln(e){return e.type===`TextNode`&&!/\S/u.test(e.chars)}function Rn(e){return e?.type===`MustacheCommentStatement`&&typeof e.value==`string`&&e.value.trim()===`prettier-ignore`}function zn(e){return Rn(e.node)||e.isInArray&&(e.key===`children`||e.key===`body`||e.key===`parts`)&&Rn(e.siblings[e.index-2])}var Bn=2;function Vn(e,t,n){let{node:r}=e;switch(r.type){case`Block`:case`Program`:case`Template`:return N(e.map(n,`body`));case`ElementNode`:{let i=t.htmlWhitespaceSensitivity!==`ignore`,a=[!i&&e.previous?.type===`ElementNode`?F:``,N([Un(e,n)])];if(In(r))return[a];let o=[`</`,r.tag,`>`],s=r.tag===`style`;if(r.children.length===0||(!i||s)&&r.children.every(e=>Ln(e)))return[a,o];let c=e.map(n,`children`);return s||!i?[a,M([F,...c]),F,o]:[a,M(N(c)),o]}case`BlockStatement`:return nr(e)?[rr(e,n),or(e,t,n),sr(e,t,n)]:[$n(e,n),N([or(e,t,n),sr(e,t,n),ir(e,t,n)])];case`ElementModifierStatement`:return N([`{{`,gr(e,n),`}}`]);case`MustacheStatement`:return N([Gn(r),gr(e,n),Kn(r)]);case`SubExpression`:return N([`(`,hr(e,n),F,`)`]);case`AttrNode`:{let{name:e,value:i}=r,a=i.type===`TextNode`;if(a&&i.chars===``&&An(i)===jn(i))return e;let o=a?ge(i.chars,t.singleQuote):i.type===`ConcatStatement`?ge(i.parts.map(e=>e.type===`TextNode`?e.chars:``).join(``),t.singleQuote):``,s=n(`value`);return[e,`=`,o,e===`class`&&o?N(M(s)):s,o]}case`ConcatStatement`:return e.map(n,`parts`);case`Hash`:return le(P,e.map(n,`pairs`));case`HashPair`:return[r.key,`=`,n(`value`)];case`TextNode`:{let n=r.chars,{parent:i}=e;if(i.type===`ElementNode`){if(i.tag===`pre`)return k(n);if(i.tag===`style`)return n=a(0,n,/^\n+/gu,``),n=L.trimEnd(n),n=L.dedentString(n),k(n,I)}n=a(0,n,`{{`,`\\{{`);let o=lr(e);if(o){if(o===`class`){let t=n.trim().split(/\s+/u).join(` `),r=!1,i=!1;return e.parent.type===`ConcatStatement`&&(e.previous?.type===`MustacheStatement`&&/^\s/u.test(n)&&(r=!0),e.next?.type===`MustacheStatement`&&/\s$/u.test(n)&&t!==``&&(i=!0)),[r?P:``,t,i?P:``]}return k(n)}let s=L.isWhitespaceOnly(n),{isFirst:c,isLast:l}=e;if(t.htmlWhitespaceSensitivity!==`ignore`){let t=l&&e.parent.type===`Template`,r=c&&e.parent.type===`Template`;if(s){if(r||t)return``;let e=[P],i=$(n);return i&&(e=fr(i)),l&&(e=e.map(e=>ae(e))),e}let i=L.getLeadingWhitespace(n),a=[];if(i){a=[P];let e=$(i);e&&(a=fr(e)),n=n.slice(i.length)}let o=L.getTrailingWhitespace(n),u=[];if(o){if(!t){u=[P];let e=$(o);e&&(u=fr(e)),l&&(u=u.map(e=>ae(e)))}n=n.slice(0,-o.length)}return[...a,se(cr(n)),...u]}let u=$(n),d=ur(n),f=dr(n);if((c||l)&&s&&(e.parent.type===`Block`||e.parent.type===`ElementNode`||e.parent.type===`Template`))return``;s&&u?(d=Math.min(u,Bn),f=0):((e.next?.type===`BlockStatement`||e.next?.type===`ElementNode`)&&(f=Math.max(f,1)),(e.previous?.type===`BlockStatement`||e.previous?.type===`ElementNode`)&&(d=Math.max(d,1)));let p=``,m=``;return f===0&&e.next?.type===`MustacheStatement`&&(m=` `),d===0&&e.previous?.type===`MustacheStatement`&&(p=` `),c&&(d=0,p=``),l&&(f=0,m=``),L.hasLeadingWhitespace(n)&&(n=p+L.trimStart(n)),L.hasTrailingWhitespace(n)&&(n=L.trimEnd(n)+m),[...fr(d),se(cr(n)),...fr(f)]}case`MustacheCommentStatement`:{let e=An(r),n=jn(r),i=t.originalText.charAt(e+2)===`~`,a=t.originalText.charAt(n-3)===`~`,o=r.value.includes(`}}`)?`--`:``;return[`{{`,i?`~`:``,`!`,o,r.value,o,a?`~`:``,`}}`]}case`PathExpression`:return Cr(r);case`BooleanLiteral`:return String(r.value);case`CommentStatement`:return[`<!--`,r.value,`-->`];case`StringLiteral`:return pr(e,t);case`NumberLiteral`:return String(r.value);case`UndefinedLiteral`:return`undefined`;case`NullLiteral`:return`null`;default:throw new be(r,`Handlebars`)}}function Hn(e,t){return An(e)-An(t)}function Un(e,t){let{node:n}=e,r=[`attributes`,`modifiers`,`comments`].filter(e=>ye(n[e])),i=r.flatMap(e=>n[e]).sort(Hn);for(let n of r)e.each(({node:e})=>{let n=i.indexOf(e);i.splice(n,1,[P,t()])},n);return ye(n.blockParams)&&i.push(P,yr(n)),[`<`,n.tag,M(i),Wn(n)]}function Wn(e){return In(e)?ce([F,`/>`],[` />`,F]):ce([F,`>`],`>`)}function Gn(e){return[e.trusting?`{{{`:`{{`,e.strip?.open?`~`:``]}function Kn(e){let t=e.trusting?`}}}`:`}}`;return[e.strip?.close?`~`:``,t]}function qn(e){return[Gn(e),e.openStrip.open?`~`:``,`#`]}function Jn(e){let t=Kn(e);return[e.openStrip.close?`~`:``,t]}function Yn(e){return[Gn(e),e.closeStrip.open?`~`:``,`/`]}function Xn(e){let t=Kn(e);return[e.closeStrip.close?`~`:``,t]}function Zn(e){return[Gn(e),e.inverseStrip.open?`~`:``]}function Qn(e){let t=Kn(e);return[e.inverseStrip.close?`~`:``,t]}function $n(e,t){let{node:n}=e,r=[],i=vr(e,t);return i&&r.push(N(i)),ye(n.program.blockParams)&&r.push(yr(n.program)),N([qn(n),_r(e,t),r.length>0?M([P,le(P,r)]):``,F,Jn(n)])}function er(e,t){return[t.htmlWhitespaceSensitivity===`ignore`?I:``,Zn(e),`else`,Qn(e)]}var tr=({path:e},{path:t})=>[e,t].every(e=>e.type===`PathExpression`&&e.head.type===`VarHead`)&&e.head.name===t.head.name;function nr(e){if(!e.match(e=>e.type===`BlockStatement`,(e,t)=>t===`body`&&e.type===`Block`&&e.body.length===1,(e,t)=>t===`inverse`&&e.type===`BlockStatement`))return!1;let{node:t}=e;return t.path.type===`PathExpression`&&t.path.head.type===`VarHead`&&t.path.head.name===`if`||tr(t,e.grandparent)}function rr(e,t){let{node:n,grandparent:r}=e;return N([Zn(r),[`else`,` `,r.inverse.body[0].path.head.name],M([P,N(vr(e,t)),...ye(n.program.blockParams)?[P,yr(n.program)]:[]]),F,Qn(r)])}function ir(e,t,n){let{node:r}=e;return t.htmlWhitespaceSensitivity===`ignore`?[ar(r)?F:I,Yn(r),n(`path`),Xn(r)]:[Yn(r),n(`path`),Xn(r)]}function ar(e){return e.type===`BlockStatement`&&e.program.body.every(e=>Ln(e))}function or(e,t,n){let{node:r}=e;if(ar(r))return``;let i=n(`program`);return t.htmlWhitespaceSensitivity===`ignore`?M([I,i]):M(i)}function sr(e,t,n){let{node:r}=e;if(!r.inverse)return``;let i=n(`inverse`),a=t.htmlWhitespaceSensitivity===`ignore`?[I,i]:i;return e.call(nr,`inverse`,`body`,0)?a:[er(r,t),M(a)]}function cr(e){return le(P,L.split(e))}function lr(e){for(let t=0;t<2;t++){let n=e.getParentNode(t);if(n?.type===`AttrNode`)return n.name.toLowerCase()}}function $(e){return e=typeof e==`string`?e:``,e.split(`
31
+ `).length-1}function ur(e){return e=typeof e==`string`?e:``,$((e.match(/^([^\S\n\r]*[\n\r])+/gu)||[])[0]||``)}function dr(e){return e=typeof e==`string`?e:``,$((e.match(/([\n\r][^\S\n\r]*)+$/gu)||[])[0]||``)}function fr(e=0){return Array.from({length:Math.min(e,Bn)}).fill(I)}function pr(e,t){let{node:{value:n}}=e,r=ge(n,mr(e)?!t.singleQuote:t.singleQuote);return[r,a(0,n,r,`\\${r}`),r]}function mr(e){let{ancestors:t}=e,n=t.findIndex(e=>e.type!==`SubExpression`);return n!==-1&&t[n+1].type===`ConcatStatement`&&t[n+2].type===`AttrNode`}function hr(e,t){let n=_r(e,t),r=vr(e,t);return r?M([n,P,N(r)]):n}function gr(e,t){let n=_r(e,t),r=vr(e,t);return r?[M([n,P,r]),F]:n}function _r(e,t){return t(`path`)}function vr(e,t){let{node:n}=e,r=[];return n.params.length>0&&r.push(...e.map(t,`params`)),n.hash?.pairs.length>0&&r.push(t(`hash`)),r.length===0?``:le(P,r)}function yr(e){return[`as |`,e.blockParams.join(` `),`|`]}var br=new Set(`!"#%&'()*+,./;<=>@[\\]^\`{|}~`),xr=new Set([`true`,`false`,`null`,`undefined`]),Sr=(e,t)=>t===0&&e.startsWith(`@`)?!1:t!==0&&xr.has(e)||/\s/u.test(e)||/^\d/u.test(e)||Array.prototype.some.call(e,e=>br.has(e));function Cr(e){return e.tail.length===0&&e.original.includes(`/`)?e.original:[e.head.original,...e.tail].map((e,t)=>Sr(e,t)?`[${e}]`:e).join(`.`)}var wr={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},print:Vn,massageAstNode:Se,hasPrettierIgnore:zn,getVisitorKeys:kn,embed:we},Tr=[{name:`Handlebars`,type:`markup`,aceMode:`handlebars`,extensions:[`.handlebars`,`.hbs`],tmScope:`text.html.handlebars`,aliases:[`hbs`,`htmlbars`],parsers:[`glimmer`],vscodeLanguageIds:[`handlebars`],linguistLanguageId:155}],Er={};t(Er,{glimmer:()=>Br});function Dr(e,t){let n=SyntaxError(e+` (`+t.loc.start.line+`:`+t.loc.start.column+`)`);return Object.assign(n,t)}var Or=Dr,kr=Symbol.for(`PRETTIER_IS_FRONT_MATTER`),Ar=3;function jr(e){let t=e.slice(0,Ar);if(t!==`---`&&t!==`+++`)return;let n=e.indexOf(`
32
+ `,Ar);if(n===-1)return;let r=e.slice(Ar,n).trim(),i=e.indexOf(`
33
+ ${t}`,n),a=r;if(a||=t===`+++`?`toml`:`yaml`,i===-1&&t===`---`&&a===`yaml`&&(i=e.indexOf(`
34
+ ...`,n)),i===-1)return;let o=i+1+Ar,c=e.charAt(o+1);if(!/\s?/u.test(c))return;let l=e.slice(0,o),u;return{language:a,explicitLanguage:r||null,value:e.slice(n+1,i),startDelimiter:t,endDelimiter:l.slice(-Ar),raw:l,start:{line:1,column:0,index:0},end:{index:l.length,get line(){return u??=l.split(`
35
+ `),u.length},get column(){return u??=l.split(`
36
+ `),s(0,u,-1).length}},[kr]:!0}}function Mr(e){let t=jr(e);return t?{frontMatter:t,get content(){let{raw:n}=t;return a(0,n,/[^\n]/gu,` `)+e.slice(n.length)}}:{content:e}}var Nr=Mr;function Pr(e){let t=e.children??e.body;if(t)for(let e=0;e<t.length-1;e++)t[e].type===`TextNode`&&t[e+1].type===`MustacheStatement`&&(t[e].chars=t[e].chars.replace(/\\$/u,`\\\\`))}var Fr=e=>{let{start:t,end:n}=e.loc;t.offset=e.loc.getStart().offset,n.offset=e.loc.getEnd().offset},Ir={mode:`codemod`,plugins:{ast:[()=>({name:`glimmerPrettierParsePlugin`,visitor:{All(e){Fr(e),Pr(e)}}})]}};function Lr(e){let{frontMatter:t,content:n}=Nr(e),r;try{r=On(n,Ir)}catch(e){let t=zr(e);throw t?Or(Rr(e),{loc:t,cause:e}):e}if(t){let e={...t,type:`FrontMatter`,loc:{start:{...t.start,offset:t.start.index},end:{...t.end,offset:t.end.index}}};r.body.unshift(e)}return r}function Rr(e){let{message:t}=e,n=t.split(`
37
+ `);return n.length>=4&&/^Parse error on line \d+:$/u.test(n[0])&&/^-*\^$/u.test(s(0,n,-2))?s(0,n,-1):n.length>=4&&/:\s?$/u.test(n[0])&&/^\(error occurred in '.*?' @ line \d+ : column \d+\)$/u.test(s(0,n,-1))&&n[1]===``&&s(0,n,-2)===``&&n.slice(2,-2).every(e=>e.startsWith(`|`))?n[0].trim().slice(0,-1):t}function zr(e){let{location:t,hash:n}=e;if(t){let{start:e,end:n}=t;return typeof n.line==`number`?t:{start:e}}if(n){let{loc:{last_line:e,last_column:t}}=n;return{start:{line:e,column:t+1}}}}var Br={parse:Lr,astFormat:`glimmer`,locStart:An,locEnd:jn},Vr={glimmer:wr};export{n as default,Tr as languages,Er as parsers,Vr as printers};
@@ -0,0 +1,28 @@
1
+ var e=Object.defineProperty,t=(t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})},n={};t(n,{languages:()=>M,options:()=>N,parsers:()=>P,printers:()=>At});var r=(e,t)=>(n,r,...i)=>n|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,i),i=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},a=r(`replaceAll`,function(){if(typeof this==`string`)return i}),o=()=>{},s=`indent`,c=`group`,l=`if-break`,u=`line`,d=`break-parent`,f=o,p=o;function m(e){return f(e),{type:s,contents:e}}var ee={type:d};function h(e,t={}){return f(e),p(t.expandedStates,!0),{type:c,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function g(e,t=``,n={}){return f(e),t!==``&&f(t),{type:l,breakContents:e,flatContents:t,groupId:n.groupId}}function _(e,t){f(e),p(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}var v={type:u},y={type:u,soft:!0},b=[{type:u,hard:!0},ee];function x(e){return(t,n,r)=>{let i=!!r?.backwards;if(n===!1)return!1;let{length:a}=t,o=n;for(;o>=0&&o<a;){let n=t.charAt(o);if(e instanceof RegExp){if(!e.test(n))return o}else if(!e.includes(n))return o;i?o--:o++}return o===-1||o===a?o:!1}}var S=x(` `),te=x(`,; `),ne=x(/[^\n\r]/u),C=e=>e===`
2
+ `||e===`\r`||e===`\u2028`||e===`\u2029`;function re(e,t,n){let r=!!n?.backwards;if(t===!1)return!1;let i=e.charAt(t);if(r){if(e.charAt(t-1)===`\r`&&i===`
3
+ `)return t-2;if(C(i))return t-1}else{if(i===`\r`&&e.charAt(t+1)===`
4
+ `)return t+2;if(C(i))return t+1}return t}var w=re;function ie(e,t,n={}){let r=S(e,n.backwards?t-1:t,n);return r!==w(e,r,n)}var ae=ie;function oe(e,t){if(t===!1)return!1;if(e.charAt(t)===`/`&&e.charAt(t+1)===`*`){for(let n=t+2;n<e.length;++n)if(e.charAt(n)===`*`&&e.charAt(n+1)===`/`)return n+2}return t}var se=oe;function ce(e,t){return t===!1?!1:e.charAt(t)===`/`&&e.charAt(t+1)===`/`?ne(e,t):t}var le=ce;function ue(e,t){let n=null,r=t;for(;r!==n;)n=r,r=te(e,r),r=se(e,r),r=S(e,r);return r=le(e,r),r=w(e,r),r!==!1&&ae(e,r)}var de=ue;function fe(e){return Array.isArray(e)&&e.length>0}var pe=fe,me=class extends Error{name=`UnexpectedNodeError`;constructor(e,t,n=`type`){super(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},T=null;function E(e){if(T!==null&&typeof T.property){let e=T;return T=E.prototype=null,e}return T=E.prototype=e??Object.create(null),new E}var he=10;for(let e=0;e<=he;e++)E();function ge(e){return E(e)}function _e(e,t=`type`){ge(e);function n(n){let r=n[t],i=e[r];if(!Array.isArray(i))throw Object.assign(Error(`Missing visitor keys for '${r}'.`),{node:n});return i}return n}var ve=_e,ye=class{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return`Location`}toJSON(){return{start:this.start,end:this.end}}},be=class{constructor(e,t,n,r,i,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return`Token`}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},xe={Name:[],Document:[`definitions`],OperationDefinition:[`description`,`name`,`variableDefinitions`,`directives`,`selectionSet`],VariableDefinition:[`description`,`variable`,`type`,`defaultValue`,`directives`],Variable:[`name`],SelectionSet:[`selections`],Field:[`alias`,`name`,`arguments`,`directives`,`selectionSet`],Argument:[`name`,`value`],FragmentSpread:[`name`,`directives`],InlineFragment:[`typeCondition`,`directives`,`selectionSet`],FragmentDefinition:[`description`,`name`,`variableDefinitions`,`typeCondition`,`directives`,`selectionSet`],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[`values`],ObjectValue:[`fields`],ObjectField:[`name`,`value`],Directive:[`name`,`arguments`],NamedType:[`name`],ListType:[`type`],NonNullType:[`type`],SchemaDefinition:[`description`,`directives`,`operationTypes`],OperationTypeDefinition:[`type`],ScalarTypeDefinition:[`description`,`name`,`directives`],ObjectTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],FieldDefinition:[`description`,`name`,`arguments`,`type`,`directives`],InputValueDefinition:[`description`,`name`,`type`,`defaultValue`,`directives`],InterfaceTypeDefinition:[`description`,`name`,`interfaces`,`directives`,`fields`],UnionTypeDefinition:[`description`,`name`,`directives`,`types`],EnumTypeDefinition:[`description`,`name`,`directives`,`values`],EnumValueDefinition:[`description`,`name`,`directives`],InputObjectTypeDefinition:[`description`,`name`,`directives`,`fields`],DirectiveDefinition:[`description`,`name`,`arguments`,`locations`],SchemaExtension:[`directives`,`operationTypes`],ScalarTypeExtension:[`name`,`directives`],ObjectTypeExtension:[`name`,`interfaces`,`directives`,`fields`],InterfaceTypeExtension:[`name`,`interfaces`,`directives`,`fields`],UnionTypeExtension:[`name`,`directives`,`types`],EnumTypeExtension:[`name`,`directives`,`values`],InputObjectTypeExtension:[`name`,`directives`,`fields`],TypeCoordinate:[`name`],MemberCoordinate:[`name`,`memberName`],ArgumentCoordinate:[`name`,`fieldName`,`argumentName`],DirectiveCoordinate:[`name`],DirectiveArgumentCoordinate:[`name`,`argumentName`]};new Set(Object.keys(xe));var D;(function(e){e.QUERY=`query`,e.MUTATION=`mutation`,e.SUBSCRIPTION=`subscription`})(D||={});var Se={...xe};for(let e of[`ArgumentCoordinate`,`DirectiveArgumentCoordinate`,`DirectiveCoordinate`,`MemberCoordinate`,`TypeCoordinate`])delete Se[e];var Ce=ve(Se,`kind`),O=e=>e.loc.start,we=e=>e.loc.end,Te=`format`,Ee=/^\s*#[^\S\n]*@(?:noformat|noprettier)\s*(?:\n|$)/u,De=/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u,Oe=e=>De.test(e),ke=e=>Ee.test(e),Ae=e=>`# @${Te}
5
+
6
+ ${e}`;function je(e,t,n){let{node:r}=e;if(!r.description)return``;let i=[n(`description`)];return r.kind===`InputValueDefinition`&&!r.description.block?i.push(v):i.push(b),i}var k=je;function Me(e,t,n){let{node:r}=e;switch(r.kind){case`Document`:return[..._(b,j(e,t,n,`definitions`)),b];case`OperationDefinition`:{let i=t.originalText[O(r)]!==`{`,a=!!r.name;return[k(e,t,n),i?r.operation:``,i&&a?[` `,n(`name`)]:``,i&&!a&&pe(r.variableDefinitions)?` `:``,Ie(e,n),A(e,n,r),!i&&!a?``:` `,n(`selectionSet`)]}case`FragmentDefinition`:return[k(e,t,n),`fragment `,n(`name`),Ie(e,n),` on `,n(`typeCondition`),A(e,n,r),` `,n(`selectionSet`)];case`SelectionSet`:return[`{`,m([b,_(b,j(e,t,n,`selections`))]),b,`}`];case`Field`:return h([r.alias?[n(`alias`),`: `]:``,n(`name`),r.arguments.length>0?h([`(`,m([y,_([g(``,`, `),y],j(e,t,n,`arguments`))]),y,`)`]):``,A(e,n,r),r.selectionSet?` `:``,n(`selectionSet`)]);case`Name`:return r.value;case`StringValue`:if(r.block){let e=a(0,r.value,`"""`,`\\"""`).split(`
7
+ `);return e.length===1&&(e[0]=e[0].trim()),e.every(e=>e===``)&&(e.length=0),_(b,[`"""`,...e,`"""`])}return[`"`,a(0,a(0,r.value,/["\\]/gu,`\\$&`),`
8
+ `,`\\n`),`"`];case`IntValue`:case`FloatValue`:case`EnumValue`:return r.value;case`BooleanValue`:return r.value?`true`:`false`;case`NullValue`:return`null`;case`Variable`:return[`$`,n(`name`)];case`ListValue`:return h([`[`,m([y,_([g(``,`, `),y],e.map(n,`values`))]),y,`]`]);case`ObjectValue`:{let i=t.bracketSpacing&&r.fields.length>0?` `:``;return h([`{`,i,m([y,_([g(``,`, `),y],e.map(n,`fields`))]),y,g(``,i),`}`])}case`ObjectField`:case`Argument`:return[n(`name`),`: `,n(`value`)];case`Directive`:return[`@`,n(`name`),r.arguments.length>0?h([`(`,m([y,_([g(``,`, `),y],j(e,t,n,`arguments`))]),y,`)`]):``];case`NamedType`:return n(`name`);case`VariableDefinition`:return[k(e,t,n),n(`variable`),`: `,n(`type`),r.defaultValue?[` = `,n(`defaultValue`)]:``,A(e,n,r)];case`ObjectTypeExtension`:case`ObjectTypeDefinition`:case`InputObjectTypeExtension`:case`InputObjectTypeDefinition`:case`InterfaceTypeExtension`:case`InterfaceTypeDefinition`:{let{kind:i}=r,a=[];return i.endsWith(`TypeDefinition`)?a.push(k(e,t,n)):a.push(`extend `),i.startsWith(`ObjectType`)?a.push(`type`):i.startsWith(`InputObjectType`)?a.push(`input`):a.push(`interface`),a.push(` `,n(`name`)),!i.startsWith(`InputObjectType`)&&r.interfaces.length>0&&a.push(` implements `,...Fe(e,t,n)),a.push(A(e,n,r)),r.fields.length>0&&a.push([` {`,m([b,_(b,j(e,t,n,`fields`))]),b,`}`]),a}case`FieldDefinition`:return[k(e,t,n),n(`name`),r.arguments.length>0?h([`(`,m([y,_([g(``,`, `),y],j(e,t,n,`arguments`))]),y,`)`]):``,`: `,n(`type`),A(e,n,r)];case`DirectiveDefinition`:return[k(e,t,n),`directive `,`@`,n(`name`),r.arguments.length>0?h([`(`,m([y,_([g(``,`, `),y],j(e,t,n,`arguments`))]),y,`)`]):``,r.repeatable?` repeatable`:``,` on `,..._(` | `,e.map(n,`locations`))];case`EnumTypeExtension`:case`EnumTypeDefinition`:return[k(e,t,n),r.kind===`EnumTypeExtension`?`extend `:``,`enum `,n(`name`),A(e,n,r),r.values.length>0?[` {`,m([b,_(b,j(e,t,n,`values`))]),b,`}`]:``];case`EnumValueDefinition`:return[k(e,t,n),n(`name`),A(e,n,r)];case`InputValueDefinition`:return[k(e,t,n),n(`name`),`: `,n(`type`),r.defaultValue?[` = `,n(`defaultValue`)]:``,A(e,n,r)];case`SchemaExtension`:return[`extend schema`,A(e,n,r),...r.operationTypes.length>0?[` {`,m([b,_(b,j(e,t,n,`operationTypes`))]),b,`}`]:[]];case`SchemaDefinition`:return[k(e,t,n),`schema`,A(e,n,r),` {`,r.operationTypes.length>0?m([b,_(b,j(e,t,n,`operationTypes`))]):``,b,`}`];case`OperationTypeDefinition`:return[r.operation,`: `,n(`type`)];case`FragmentSpread`:return[`...`,n(`name`),A(e,n,r)];case`InlineFragment`:return[`...`,r.typeCondition?[` on `,n(`typeCondition`)]:``,A(e,n,r),` `,n(`selectionSet`)];case`UnionTypeExtension`:case`UnionTypeDefinition`:return h([k(e,t,n),h([r.kind===`UnionTypeExtension`?`extend `:``,`union `,n(`name`),A(e,n,r),r.types.length>0?[` =`,g(``,` `),m([g([v,`| `]),_([v,`| `],e.map(n,`types`))])]:``])]);case`ScalarTypeExtension`:case`ScalarTypeDefinition`:return[k(e,t,n),r.kind===`ScalarTypeExtension`?`extend `:``,`scalar `,n(`name`),A(e,n,r)];case`NonNullType`:return[n(`type`),`!`];case`ListType`:return[`[`,n(`type`),`]`];default:throw new me(r,`Graphql`,`kind`)}}function A(e,t,n){if(n.directives.length===0)return``;let r=_(v,e.map(t,`directives`));return n.kind===`FragmentDefinition`||n.kind===`OperationDefinition`?h([v,r]):[` `,h(m([y,r]))]}function j(e,t,n,r){return e.map(({isLast:e,node:r})=>{let i=n();return!e&&de(t.originalText,we(r))?[i,b]:i},r)}function Ne(e){return e.kind!==`Comment`}function Pe({node:e}){if(e.kind===`Comment`)return`#`+e.value.trimEnd();throw Error(`Not a comment: `+JSON.stringify(e))}function Fe(e,t,n){let{node:r}=e,i=[],{interfaces:a}=r,o=e.map(n,`interfaces`);for(let e=0;e<a.length;e++){let n=a[e];i.push(o[e]);let r=a[e+1];if(r){let e=t.originalText.slice(n.loc.end,r.loc.start).includes(`#`);i.push(` &`,e?v:` `)}}return i}function Ie(e,t){let{node:n}=e;return pe(n.variableDefinitions)?h([`(`,m([y,_([g(``,`, `),y],e.map(t,`variableDefinitions`))]),y,`)`]):``}function Le(e,t){e.kind===`StringValue`&&e.block&&!e.value.includes(`
9
+ `)&&(t.value=e.value.trim())}Le.ignoredProperties=new Set([`loc`,`comments`]);function Re(e){let{node:t}=e;return t?.comments?.some(e=>e.value.trim()===`prettier-ignore`)}var ze={print:Me,massageAstNode:Le,hasPrettierIgnore:Re,insertPragma:Ae,printComment:Pe,canAttachComment:Ne,getVisitorKeys:Ce},M=[{name:`GraphQL`,type:`data`,aceMode:`graphqlschema`,extensions:[`.graphql`,`.gql`,`.graphqls`],tmScope:`source.graphql`,parsers:[`graphql`],vscodeLanguageIds:[`graphql`],linguistLanguageId:139}],N={bracketSpacing:{bracketSpacing:{category:`Common`,type:`boolean`,default:!0,description:`Print spaces between brackets.`,oppositeDescription:`Do not print spaces between brackets.`},objectWrap:{category:`Common`,type:`choice`,default:`preserve`,description:`How to wrap object literals.`,choices:[{value:`preserve`,description:`Keep as multi-line, if there is a newline between the opening brace and first property.`},{value:`collapse`,description:`Fit to a single line when possible.`}]},singleQuote:{category:`Common`,type:`boolean`,default:!1,description:`Use single quotes instead of double quotes.`},proseWrap:{category:`Common`,type:`choice`,default:`preserve`,description:`How to wrap prose.`,choices:[{value:`always`,description:`Wrap prose if it exceeds the print width.`},{value:`never`,description:`Do not wrap prose.`},{value:`preserve`,description:`Wrap prose as-is.`}]},bracketSameLine:{category:`Common`,type:`boolean`,default:!1,description:`Put > of opening tags on the last line instead of on a new line.`},singleAttributePerLine:{category:`Common`,type:`boolean`,default:!1,description:`Enforce single attribute per line in HTML, Vue and JSX.`}}.bracketSpacing},P={};t(P,{graphql:()=>kt});function Be(e){return typeof e==`object`&&!!e}function Ve(e,t){if(!e)throw Error(t??`Unexpected invariant triggered.`)}var He=/\r\n|[\n\r]/g;function F(e,t){let n=0,r=1;for(let i of e.body.matchAll(He)){if(typeof i.index==`number`||Ve(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ue(e){return We(e.source,F(e.source,e.start))}function We(e,t){let n=e.locationOffset.column-1,r=``.padStart(n)+e.body,i=t.line-1,a=e.locationOffset.line-1,o=t.line+a,s=t.line===1?n:0,c=t.column+s,l=`${e.name}:${o}:${c}
10
+ `,u=r.split(/\r\n|[\n\r]/g),d=u[i];if(d.length>120){let e=Math.floor(c/80),t=c%80,n=[];for(let e=0;e<d.length;e+=80)n.push(d.slice(e,e+80));return l+I([[`${o} |`,n[0]],...n.slice(1,e+1).map(e=>[`|`,e]),[`|`,`^`.padStart(t)],[`|`,n[e+1]]])}return l+I([[`${o-1} |`,u[i-1]],[`${o} |`,d],[`|`,`^`.padStart(c)],[`${o+1} |`,u[i+1]]])}function I(e){let t=e.filter(([e,t])=>t!==void 0),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?` `+t:``)).join(`
11
+ `)}function Ge(e){let t=e[0];return t==null||`kind`in t||`length`in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var Ke=class e extends Error{constructor(t,...n){var r;let{nodes:i,source:a,positions:o,path:s,originalError:c,extensions:l}=Ge(n);super(t),this.name=`GraphQLError`,this.path=s??void 0,this.originalError=c??void 0,this.nodes=L(Array.isArray(i)?i:i?[i]:void 0);let u=L(this.nodes?.map(e=>e.loc).filter(e=>e!=null));this.source=a??(u==null||(r=u[0])==null?void 0:r.source),this.positions=o??u?.map(e=>e.start),this.locations=o&&a?o.map(e=>F(a,e)):u?.map(e=>F(e.source,e.start));let d=Be(c?.extensions)?c?.extensions:void 0;this.extensions=l??d??Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,`stack`,{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,`stack`,{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return`GraphQLError`}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+=`
12
+
13
+ `+Ue(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+=`
14
+
15
+ `+We(this.source,t);return e}toJSON(){let e={message:this.message};return this.locations!=null&&(e.locations=this.locations),this.path!=null&&(e.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}};function L(e){return e===void 0||e.length===0?void 0:e}function R(e,t,n){return new Ke(`Syntax Error: ${n}`,{source:e,positions:[t]})}var z;(function(e){e.QUERY=`QUERY`,e.MUTATION=`MUTATION`,e.SUBSCRIPTION=`SUBSCRIPTION`,e.FIELD=`FIELD`,e.FRAGMENT_DEFINITION=`FRAGMENT_DEFINITION`,e.FRAGMENT_SPREAD=`FRAGMENT_SPREAD`,e.INLINE_FRAGMENT=`INLINE_FRAGMENT`,e.VARIABLE_DEFINITION=`VARIABLE_DEFINITION`,e.SCHEMA=`SCHEMA`,e.SCALAR=`SCALAR`,e.OBJECT=`OBJECT`,e.FIELD_DEFINITION=`FIELD_DEFINITION`,e.ARGUMENT_DEFINITION=`ARGUMENT_DEFINITION`,e.INTERFACE=`INTERFACE`,e.UNION=`UNION`,e.ENUM=`ENUM`,e.ENUM_VALUE=`ENUM_VALUE`,e.INPUT_OBJECT=`INPUT_OBJECT`,e.INPUT_FIELD_DEFINITION=`INPUT_FIELD_DEFINITION`})(z||={});var B;(function(e){e.NAME=`Name`,e.DOCUMENT=`Document`,e.OPERATION_DEFINITION=`OperationDefinition`,e.VARIABLE_DEFINITION=`VariableDefinition`,e.SELECTION_SET=`SelectionSet`,e.FIELD=`Field`,e.ARGUMENT=`Argument`,e.FRAGMENT_SPREAD=`FragmentSpread`,e.INLINE_FRAGMENT=`InlineFragment`,e.FRAGMENT_DEFINITION=`FragmentDefinition`,e.VARIABLE=`Variable`,e.INT=`IntValue`,e.FLOAT=`FloatValue`,e.STRING=`StringValue`,e.BOOLEAN=`BooleanValue`,e.NULL=`NullValue`,e.ENUM=`EnumValue`,e.LIST=`ListValue`,e.OBJECT=`ObjectValue`,e.OBJECT_FIELD=`ObjectField`,e.DIRECTIVE=`Directive`,e.NAMED_TYPE=`NamedType`,e.LIST_TYPE=`ListType`,e.NON_NULL_TYPE=`NonNullType`,e.SCHEMA_DEFINITION=`SchemaDefinition`,e.OPERATION_TYPE_DEFINITION=`OperationTypeDefinition`,e.SCALAR_TYPE_DEFINITION=`ScalarTypeDefinition`,e.OBJECT_TYPE_DEFINITION=`ObjectTypeDefinition`,e.FIELD_DEFINITION=`FieldDefinition`,e.INPUT_VALUE_DEFINITION=`InputValueDefinition`,e.INTERFACE_TYPE_DEFINITION=`InterfaceTypeDefinition`,e.UNION_TYPE_DEFINITION=`UnionTypeDefinition`,e.ENUM_TYPE_DEFINITION=`EnumTypeDefinition`,e.ENUM_VALUE_DEFINITION=`EnumValueDefinition`,e.INPUT_OBJECT_TYPE_DEFINITION=`InputObjectTypeDefinition`,e.DIRECTIVE_DEFINITION=`DirectiveDefinition`,e.SCHEMA_EXTENSION=`SchemaExtension`,e.SCALAR_TYPE_EXTENSION=`ScalarTypeExtension`,e.OBJECT_TYPE_EXTENSION=`ObjectTypeExtension`,e.INTERFACE_TYPE_EXTENSION=`InterfaceTypeExtension`,e.UNION_TYPE_EXTENSION=`UnionTypeExtension`,e.ENUM_TYPE_EXTENSION=`EnumTypeExtension`,e.INPUT_OBJECT_TYPE_EXTENSION=`InputObjectTypeExtension`,e.TYPE_COORDINATE=`TypeCoordinate`,e.MEMBER_COORDINATE=`MemberCoordinate`,e.ARGUMENT_COORDINATE=`ArgumentCoordinate`,e.DIRECTIVE_COORDINATE=`DirectiveCoordinate`,e.DIRECTIVE_ARGUMENT_COORDINATE=`DirectiveArgumentCoordinate`})(B||={});function qe(e){return e===9||e===32}function V(e){return e>=48&&e<=57}function H(e){return e>=97&&e<=122||e>=65&&e<=90}function U(e){return H(e)||e===95}function Je(e){return H(e)||V(e)||e===95}function Ye(e){let t=2**53-1,n=null,r=-1;for(let i=0;i<e.length;++i){let a=e[i],o=Xe(a);o!==a.length&&(n??=i,r=i,i!==0&&o<t&&(t=o))}return e.map((e,n)=>n===0?e:e.slice(t)).slice(n??0,r+1)}function Xe(e){let t=0;for(;t<e.length&&qe(e.charCodeAt(t));)++t;return t}var W;(function(e){e.SOF=`<SOF>`,e.EOF=`<EOF>`,e.BANG=`!`,e.DOLLAR=`$`,e.AMP=`&`,e.PAREN_L=`(`,e.PAREN_R=`)`,e.DOT=`.`,e.SPREAD=`...`,e.COLON=`:`,e.EQUALS=`=`,e.AT=`@`,e.BRACKET_L=`[`,e.BRACKET_R=`]`,e.BRACE_L=`{`,e.PIPE=`|`,e.BRACE_R=`}`,e.NAME=`Name`,e.INT=`Int`,e.FLOAT=`Float`,e.STRING=`String`,e.BLOCK_STRING=`BlockString`,e.COMMENT=`Comment`})(W||={});var Ze=class{constructor(e){let t=new be(W.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return`Lexer`}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==W.EOF)do if(e.next)e=e.next;else{let t=tt(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===W.COMMENT);return e}};function Qe(e){return e===W.BANG||e===W.DOLLAR||e===W.AMP||e===W.PAREN_L||e===W.PAREN_R||e===W.DOT||e===W.SPREAD||e===W.COLON||e===W.EQUALS||e===W.AT||e===W.BRACKET_L||e===W.BRACKET_R||e===W.BRACE_L||e===W.PIPE||e===W.BRACE_R}function G(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function K(e,t){return $e(e.charCodeAt(t))&&et(e.charCodeAt(t+1))}function $e(e){return e>=55296&&e<=56319}function et(e){return e>=56320&&e<=57343}function q(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return W.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return e===`"`?`'"'`:`"${e}"`}return`U+`+n.toString(16).toUpperCase().padStart(4,`0`)}function J(e,t,n,r,i){let a=e.line;return new be(t,n,r,a,1+n-e.lineStart,i)}function tt(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:n.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return nt(e,i);case 33:return J(e,W.BANG,i,i+1);case 36:return J(e,W.DOLLAR,i,i+1);case 38:return J(e,W.AMP,i,i+1);case 40:return J(e,W.PAREN_L,i,i+1);case 41:return J(e,W.PAREN_R,i,i+1);case 46:if(n.charCodeAt(i+1)===46&&n.charCodeAt(i+2)===46)return J(e,W.SPREAD,i,i+3);break;case 58:return J(e,W.COLON,i,i+1);case 61:return J(e,W.EQUALS,i,i+1);case 64:return J(e,W.AT,i,i+1);case 91:return J(e,W.BRACKET_L,i,i+1);case 93:return J(e,W.BRACKET_R,i,i+1);case 123:return J(e,W.BRACE_L,i,i+1);case 124:return J(e,W.PIPE,i,i+1);case 125:return J(e,W.BRACE_R,i,i+1);case 34:return n.charCodeAt(i+1)===34&&n.charCodeAt(i+2)===34?lt(e,i):it(e,i)}if(V(t)||t===45)return rt(e,i,t);if(U(t))return ut(e,i);throw R(e.source,i,t===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:G(t)||K(n,i)?`Unexpected character: ${q(e,i)}.`:`Invalid character: ${q(e,i)}.`)}return J(e,W.EOF,r,r)}function nt(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(e===10||e===13)break;if(G(e))++i;else if(K(n,i))i+=2;else break}return J(e,W.COMMENT,t,i,n.slice(t+1,i))}function rt(e,t,n){let r=e.source.body,i=t,a=n,o=!1;if(a===45&&(a=r.charCodeAt(++i)),a===48){if(a=r.charCodeAt(++i),V(a))throw R(e.source,i,`Invalid number, unexpected digit after 0: ${q(e,i)}.`)}else i=Y(e,i,a),a=r.charCodeAt(i);if(a===46&&(o=!0,a=r.charCodeAt(++i),i=Y(e,i,a),a=r.charCodeAt(i)),(a===69||a===101)&&(o=!0,a=r.charCodeAt(++i),(a===43||a===45)&&(a=r.charCodeAt(++i)),i=Y(e,i,a),a=r.charCodeAt(i)),a===46||U(a))throw R(e.source,i,`Invalid number, expected digit but got: ${q(e,i)}.`);return J(e,o?W.FLOAT:W.INT,t,i,r.slice(t,i))}function Y(e,t,n){if(!V(n))throw R(e.source,t,`Invalid number, expected digit but got: ${q(e,t)}.`);let r=e.source.body,i=t+1;for(;V(r.charCodeAt(i));)++i;return i}function it(e,t){let n=e.source.body,r=n.length,i=t+1,a=i,o=``;for(;i<r;){let r=n.charCodeAt(i);if(r===34)return o+=n.slice(a,i),J(e,W.STRING,t,i+1,o);if(r===92){o+=n.slice(a,i);let t=n.charCodeAt(i+1)===117?n.charCodeAt(i+2)===123?at(e,i):ot(e,i):ct(e,i);o+=t.value,i+=t.size,a=i;continue}if(r===10||r===13)break;if(G(r))++i;else if(K(n,i))i+=2;else throw R(e.source,i,`Invalid character within String: ${q(e,i)}.`)}throw R(e.source,i,`Unterminated string.`)}function at(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+ i++);if(e===125){if(i<5||!G(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|X(e),r<0)break}throw R(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function ot(e,t){let n=e.source.body,r=st(n,t+2);if(G(r))return{value:String.fromCodePoint(r),size:6};if($e(r)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){let e=st(n,t+8);if(et(e))return{value:String.fromCodePoint(r,e),size:12}}throw R(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function st(e,t){return X(e.charCodeAt(t))<<12|X(e.charCodeAt(t+1))<<8|X(e.charCodeAt(t+2))<<4|X(e.charCodeAt(t+3))}function X(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function ct(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:`"`,size:2};case 92:return{value:`\\`,size:2};case 47:return{value:`/`,size:2};case 98:return{value:`\b`,size:2};case 102:return{value:`\f`,size:2};case 110:return{value:`
16
+ `,size:2};case 114:return{value:`\r`,size:2};case 116:return{value:` `,size:2}}throw R(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function lt(e,t){let n=e.source.body,r=n.length,i=e.lineStart,a=t+3,o=a,s=``,c=[];for(;a<r;){let r=n.charCodeAt(a);if(r===34&&n.charCodeAt(a+1)===34&&n.charCodeAt(a+2)===34){s+=n.slice(o,a),c.push(s);let r=J(e,W.BLOCK_STRING,t,a+3,Ye(c).join(`
17
+ `));return e.line+=c.length-1,e.lineStart=i,r}if(r===92&&n.charCodeAt(a+1)===34&&n.charCodeAt(a+2)===34&&n.charCodeAt(a+3)===34){s+=n.slice(o,a),o=a+1,a+=4;continue}if(r===10||r===13){s+=n.slice(o,a),c.push(s),r===13&&n.charCodeAt(a+1)===10?a+=2:++a,s=``,o=a,i=a;continue}if(G(r))++a;else if(K(n,a))a+=2;else throw R(e.source,a,`Invalid character within String: ${q(e,a)}.`)}throw R(e.source,a,`Unterminated string.`)}function ut(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r&&Je(n.charCodeAt(i));)++i;return J(e,W.NAME,t,i,n.slice(t,i))}function Z(e,t){if(!e)throw Error(t)}function dt(e){return Q(e,[])}function Q(e,t){switch(typeof e){case`string`:return JSON.stringify(e);case`function`:return e.name?`[function ${e.name}]`:`[function]`;case`object`:return ft(e,t);default:return String(e)}}function ft(e,t){if(e===null)return`null`;if(t.includes(e))return`[Circular]`;let n=[...t,e];if(pt(e)){let t=e.toJSON();if(t!==e)return typeof t==`string`?t:Q(t,n)}else if(Array.isArray(e))return ht(e,n);return mt(e,n)}function pt(e){return typeof e.toJSON==`function`}function mt(e,t){let n=Object.entries(e);return n.length===0?`{}`:t.length>2?`[`+gt(e)+`]`:`{ `+n.map(([e,n])=>e+`: `+Q(n,t)).join(`, `)+` }`}function ht(e,t){if(e.length===0)return`[]`;if(t.length>2)return`[Array]`;let n=Math.min(10,e.length),r=e.length-n,i=[];for(let r=0;r<n;++r)i.push(Q(e[r],t));return r===1?i.push(`... 1 more item`):r>1&&i.push(`... ${r} more items`),`[`+i.join(`, `)+`]`}function gt(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,``).replace(/]$/,``);if(t===`Object`&&typeof e.constructor==`function`){let t=e.constructor.name;if(typeof t==`string`&&t!==``)return t}return t}var _t=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e==`object`&&e){let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:e.constructor?.name)){let t=dt(e);throw Error(`Cannot use ${n} "${t}" from another module or realm.
18
+
19
+ Ensure that there is only one instance of "graphql" in the node_modules
20
+ directory. If different versions of "graphql" are the dependencies of other
21
+ relied on modules, use "resolutions" to ensure only one version is installed.
22
+
23
+ https://yarnpkg.com/en/docs/selective-version-resolutions
24
+
25
+ Duplicate "graphql" modules cannot be used at the same time since different
26
+ versions may have different capabilities and behavior. The data from one
27
+ version used in the function from another could produce confusing and
28
+ spurious results.`)}}return!1},vt=class{constructor(e,t=`GraphQL request`,n={line:1,column:1}){typeof e==`string`||Z(!1,`Body must be a string. Received: ${dt(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Z(!1,`line in locationOffset is 1-indexed and must be positive.`),this.locationOffset.column>0||Z(!1,`column in locationOffset is 1-indexed and must be positive.`)}get[Symbol.toStringTag](){return`Source`}};function yt(e){return _t(e,vt)}function bt(e,t){let n=new xt(e,t),r=n.parseDocument();return Object.defineProperty(r,`tokenCount`,{enumerable:!1,value:n.tokenCount}),r}var xt=class{constructor(e,t={}){let{lexer:n,...r}=t;if(n)this._lexer=n;else{let t=yt(e)?e:new vt(e);this._lexer=new Ze(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(W.NAME);return this.node(e,{kind:B.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:B.DOCUMENT,definitions:this.many(W.SOF,this.parseDefinition,W.EOF)})}parseDefinition(){if(this.peek(W.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===W.BRACE_L)throw R(this._lexer.source,this._lexer.token.start,`Unexpected description, descriptions are not supported on shorthand queries.`);if(t.kind===W.NAME){switch(t.value){case`schema`:return this.parseSchemaDefinition();case`scalar`:return this.parseScalarTypeDefinition();case`type`:return this.parseObjectTypeDefinition();case`interface`:return this.parseInterfaceTypeDefinition();case`union`:return this.parseUnionTypeDefinition();case`enum`:return this.parseEnumTypeDefinition();case`input`:return this.parseInputObjectTypeDefinition();case`directive`:return this.parseDirectiveDefinition()}switch(t.value){case`query`:case`mutation`:case`subscription`:return this.parseOperationDefinition();case`fragment`:return this.parseFragmentDefinition()}if(e)throw R(this._lexer.source,this._lexer.token.start,`Unexpected description, only GraphQL definitions support descriptions.`);switch(t.value){case`extend`:return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(W.BRACE_L))return this.node(e,{kind:B.OPERATION_DEFINITION,operation:D.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t=this.parseDescription(),n=this.parseOperationType(),r;return this.peek(W.NAME)&&(r=this.parseName()),this.node(e,{kind:B.OPERATION_DEFINITION,operation:n,description:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(W.NAME);switch(e.value){case`query`:return D.QUERY;case`mutation`:return D.MUTATION;case`subscription`:return D.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(W.PAREN_L,this.parseVariableDefinition,W.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:B.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(W.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(W.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(W.DOLLAR),this.node(e,{kind:B.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:B.SELECTION_SET,selections:this.many(W.BRACE_L,this.parseSelection,W.BRACE_R)})}parseSelection(){return this.peek(W.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e=this._lexer.token,t=this.parseName(),n,r;return this.expectOptionalToken(W.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:B.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(W.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(W.PAREN_L,t,W.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(W.COLON),this.node(t,{kind:B.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(W.SPREAD);let t=this.expectOptionalKeyword(`on`);return!t&&this.peek(W.NAME)?this.node(e,{kind:B.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:B.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return this.expectKeyword(`fragment`),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:B.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword(`on`),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:B.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword(`on`),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value===`on`)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case W.BRACKET_L:return this.parseList(e);case W.BRACE_L:return this.parseObject(e);case W.INT:return this.advanceLexer(),this.node(t,{kind:B.INT,value:t.value});case W.FLOAT:return this.advanceLexer(),this.node(t,{kind:B.FLOAT,value:t.value});case W.STRING:case W.BLOCK_STRING:return this.parseStringLiteral();case W.NAME:switch(this.advanceLexer(),t.value){case`true`:return this.node(t,{kind:B.BOOLEAN,value:!0});case`false`:return this.node(t,{kind:B.BOOLEAN,value:!1});case`null`:return this.node(t,{kind:B.NULL});default:return this.node(t,{kind:B.ENUM,value:t.value})}case W.DOLLAR:if(e)if(this.expectToken(W.DOLLAR),this._lexer.token.kind===W.NAME){let e=this._lexer.token.value;throw R(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}else throw this.unexpected(t);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:B.STRING,value:e.value,block:e.kind===W.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:B.LIST,values:this.any(W.BRACKET_L,()=>this.parseValueLiteral(e),W.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:B.OBJECT,fields:this.any(W.BRACE_L,()=>this.parseObjectField(e),W.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(W.COLON),this.node(t,{kind:B.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(W.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(W.AT),this.node(t,{kind:B.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e=this._lexer.token,t;if(this.expectOptionalToken(W.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(W.BRACKET_R),t=this.node(e,{kind:B.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(W.BANG)?this.node(e,{kind:B.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:B.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(W.STRING)||this.peek(W.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`schema`);let n=this.parseConstDirectives(),r=this.many(W.BRACE_L,this.parseOperationTypeDefinition,W.BRACE_R);return this.node(e,{kind:B.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(W.COLON);let n=this.parseNamedType();return this.node(e,{kind:B.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`scalar`);let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:B.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`type`);let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:B.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword(`implements`)?this.delimitedMany(W.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(W.BRACE_L,this.parseFieldDefinition,W.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(W.COLON);let i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:B.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(W.PAREN_L,this.parseInputValueDef,W.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(W.COLON);let r=this.parseTypeReference(),i;this.expectOptionalToken(W.EQUALS)&&(i=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(e,{kind:B.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`interface`);let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:B.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`union`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:B.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(W.EQUALS)?this.delimitedMany(W.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`enum`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:B.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(W.BRACE_L,this.parseEnumValueDefinition,W.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:B.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if(this._lexer.token.value===`true`||this._lexer.token.value===`false`||this._lexer.token.value===`null`)throw R(this._lexer.source,this._lexer.token.start,`${$(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`input`);let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:B.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(W.BRACE_L,this.parseInputValueDef,W.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===W.NAME)switch(e.value){case`schema`:return this.parseSchemaExtension();case`scalar`:return this.parseScalarTypeExtension();case`type`:return this.parseObjectTypeExtension();case`interface`:return this.parseInterfaceTypeExtension();case`union`:return this.parseUnionTypeExtension();case`enum`:return this.parseEnumTypeExtension();case`input`:return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`schema`);let t=this.parseConstDirectives(),n=this.optionalMany(W.BRACE_L,this.parseOperationTypeDefinition,W.BRACE_R);if(t.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:B.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`scalar`);let t=this.parseName(),n=this.parseConstDirectives();if(n.length===0)throw this.unexpected();return this.node(e,{kind:B.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`type`);let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:B.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`interface`);let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(n.length===0&&r.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:B.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`union`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:B.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`enum`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:B.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword(`extend`),this.expectKeyword(`input`);let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(n.length===0&&r.length===0)throw this.unexpected();return this.node(e,{kind:B.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword(`directive`),this.expectToken(W.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword(`repeatable`);this.expectKeyword(`on`);let a=this.parseDirectiveLocations();return this.node(e,{kind:B.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(W.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(z,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e=this._lexer.token,t=this.expectOptionalToken(W.AT),n=this.parseName(),r;!t&&this.expectOptionalToken(W.DOT)&&(r=this.parseName());let i;return(t||r)&&this.expectOptionalToken(W.PAREN_L)&&(i=this.parseName(),this.expectToken(W.COLON),this.expectToken(W.PAREN_R)),t?i?this.node(e,{kind:B.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:i}):this.node(e,{kind:B.DIRECTIVE_COORDINATE,name:n}):r?i?this.node(e,{kind:B.ARGUMENT_COORDINATE,name:n,fieldName:r,argumentName:i}):this.node(e,{kind:B.MEMBER_COORDINATE,name:n,memberName:r}):this.node(e,{kind:B.TYPE_COORDINATE,name:n})}node(e,t){return this._options.noLocation!==!0&&(t.loc=new ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw R(this._lexer.source,t.start,`Expected ${St(e)}, found ${$(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this.advanceLexer(),!0):!1}expectKeyword(e){let t=this._lexer.token;if(t.kind===W.NAME&&t.value===e)this.advanceLexer();else throw R(this._lexer.source,t.start,`Expected "${e}", found ${$(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===W.NAME&&t.value===e?(this.advanceLexer(),!0):!1}unexpected(e){let t=e??this._lexer.token;return R(this._lexer.source,t.start,`Unexpected ${$(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==W.EOF&&(++this._tokenCounter,e!==void 0&&this._tokenCounter>e))throw R(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}};function $(e){let t=e.value;return St(e.kind)+(t==null?``:` "${t}"`)}function St(e){return Qe(e)?`"${e}"`:e}function Ct(e,t){let n=SyntaxError(e+` (`+t.loc.start.line+`:`+t.loc.start.column+`)`);return Object.assign(n,t)}var wt=Ct;function Tt(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let e=n;e!==r;e=e.next)e.kind===`Comment`&&t.push({...e,loc:{start:e.start,end:e.end}});return t}var Et={allowLegacyFragmentVariables:!0};function Dt(e){if(e?.name===`GraphQLError`){let{message:t,locations:[n]}=e;return wt(t,{loc:{start:n},cause:e})}return e}function Ot(e){let t;try{t=bt(e,Et)}catch(e){throw Dt(e)}return t.comments=Tt(t),t}var kt={parse:Ot,astFormat:`graphql`,hasPragma:Oe,hasIgnorePragma:ke,locStart:O,locEnd:we},At={graphql:ze};export{n as default,M as languages,N as options,P as parsers,At as printers};