md-review-server 0.1.3 → 0.1.4

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 (56) hide show
  1. package/dist/assets/{_baseUniq-BtqrRblU.js → _baseUniq-DB8TI-5m.js} +1 -1
  2. package/dist/assets/{arc-DYLWUs9a.js → arc-DdZ0nXCv.js} +1 -1
  3. package/dist/assets/{architectureDiagram-VXUJARFQ-D6qlN2-o.js → architectureDiagram-VXUJARFQ-CpfdK-tM.js} +1 -1
  4. package/dist/assets/{blockDiagram-VD42YOAC-DYwXxiWE.js → blockDiagram-VD42YOAC-XdvlyZ7N.js} +1 -1
  5. package/dist/assets/{c4Diagram-YG6GDRKO-BkX5Nh_r.js → c4Diagram-YG6GDRKO-lEuiY0SL.js} +1 -1
  6. package/dist/assets/channel-El_Xn8mh.js +1 -0
  7. package/dist/assets/{chunk-4BX2VUAB-BVS8BUrO.js → chunk-4BX2VUAB-Bg3tfFin.js} +1 -1
  8. package/dist/assets/{chunk-55IACEB6-D0VSlUME.js → chunk-55IACEB6-BKMySPzf.js} +1 -1
  9. package/dist/assets/{chunk-B4BG7PRW-CTbGViQg.js → chunk-B4BG7PRW-DOWj2Slb.js} +1 -1
  10. package/dist/assets/{chunk-DI55MBZ5-DZZ8VuIT.js → chunk-DI55MBZ5-ByhN8Kb_.js} +1 -1
  11. package/dist/assets/{chunk-FMBD7UC4-Cejd2Qga.js → chunk-FMBD7UC4-ulqmu4g7.js} +1 -1
  12. package/dist/assets/{chunk-QN33PNHL-CSYbobj9.js → chunk-QN33PNHL-DrF5OScT.js} +1 -1
  13. package/dist/assets/{chunk-QZHKN3VN-DTYL7itM.js → chunk-QZHKN3VN-ByJUsxaJ.js} +1 -1
  14. package/dist/assets/{chunk-TZMSLE5B-CB26Um_S.js → chunk-TZMSLE5B-B4d7_-Fp.js} +1 -1
  15. package/dist/assets/classDiagram-2ON5EDUG-7U4rCohT.js +1 -0
  16. package/dist/assets/classDiagram-v2-WZHVMYZB-7U4rCohT.js +1 -0
  17. package/dist/assets/clone-B3pgUSfP.js +1 -0
  18. package/dist/assets/{cose-bilkent-S5V4N54A-DJZQhu6B.js → cose-bilkent-S5V4N54A-9WVDCK6U.js} +1 -1
  19. package/dist/assets/{dagre-6UL2VRFP-BIJxtntA.js → dagre-6UL2VRFP--e0xiEXF.js} +1 -1
  20. package/dist/assets/{diagram-PSM6KHXK-BaKSafBV.js → diagram-PSM6KHXK-CS-BHPX7.js} +1 -1
  21. package/dist/assets/{diagram-QEK2KX5R-DP04tSss.js → diagram-QEK2KX5R-H5L9-KVG.js} +1 -1
  22. package/dist/assets/{diagram-S2PKOQOG-DvAywjcf.js → diagram-S2PKOQOG-DhXpPYNY.js} +1 -1
  23. package/dist/assets/{erDiagram-Q2GNP2WA-BzPG-mA4.js → erDiagram-Q2GNP2WA-BVcjcuuk.js} +1 -1
  24. package/dist/assets/{flowDiagram-NV44I4VS-Bg7K4ofb.js → flowDiagram-NV44I4VS-D37-At88.js} +1 -1
  25. package/dist/assets/{ganttDiagram-JELNMOA3-CUVnLJVA.js → ganttDiagram-JELNMOA3-quhE1UqX.js} +1 -1
  26. package/dist/assets/{gitGraphDiagram-NY62KEGX-D4v4IMg3.js → gitGraphDiagram-NY62KEGX-BMKxpPqN.js} +1 -1
  27. package/dist/assets/{graph-BY0lo9mk.js → graph-CQ-s0rCx.js} +1 -1
  28. package/dist/assets/index-CLneYKld.js +415 -0
  29. package/dist/assets/index-CjRkYqDt.css +19 -0
  30. package/dist/assets/{infoDiagram-WHAUD3N6-BkDjJjcL.js → infoDiagram-WHAUD3N6-4xKLgSTQ.js} +1 -1
  31. package/dist/assets/{journeyDiagram-XKPGCS4Q-88A7UWEC.js → journeyDiagram-XKPGCS4Q-DHejZ0NY.js} +1 -1
  32. package/dist/assets/{kanban-definition-3W4ZIXB7-Dwb0ibd7.js → kanban-definition-3W4ZIXB7-PHbzshGp.js} +1 -1
  33. package/dist/assets/{layout-8a74uiju.js → layout-J_cB854J.js} +1 -1
  34. package/dist/assets/{linear-CPWCLHud.js → linear-B75YF8Ml.js} +1 -1
  35. package/dist/assets/{min-CqBum7ZI.js → min-Cx-agucr.js} +1 -1
  36. package/dist/assets/{mindmap-definition-VGOIOE7T-Dwgu9T2u.js → mindmap-definition-VGOIOE7T-BVSx8QkU.js} +1 -1
  37. package/dist/assets/{pieDiagram-ADFJNKIX-Ban3Hxk-.js → pieDiagram-ADFJNKIX-U7hwtC4F.js} +1 -1
  38. package/dist/assets/{quadrantDiagram-AYHSOK5B-DsjCsrlw.js → quadrantDiagram-AYHSOK5B-c7Xg0Ogc.js} +1 -1
  39. package/dist/assets/{requirementDiagram-UZGBJVZJ-BRvX4zCO.js → requirementDiagram-UZGBJVZJ-Bfi-FbJv.js} +1 -1
  40. package/dist/assets/{sankeyDiagram-TZEHDZUN-DHn2OBLn.js → sankeyDiagram-TZEHDZUN-BA4CTB_A.js} +1 -1
  41. package/dist/assets/{sequenceDiagram-WL72ISMW-CummwZV_.js → sequenceDiagram-WL72ISMW-e05HuYf-.js} +1 -1
  42. package/dist/assets/{stateDiagram-FKZM4ZOC-IuG47RUM.js → stateDiagram-FKZM4ZOC-C1HQRb62.js} +1 -1
  43. package/dist/assets/stateDiagram-v2-4FDKWEC3-dfD-mdkt.js +1 -0
  44. package/dist/assets/{timeline-definition-IT6M3QCI-DrEsI2Bt.js → timeline-definition-IT6M3QCI-BH_IFFY3.js} +1 -1
  45. package/dist/assets/{treemap-KMMF4GRG-CpGxyb0v.js → treemap-KMMF4GRG-CTlyJ6RY.js} +1 -1
  46. package/dist/assets/workerBundle-DGWlUuev.js +72 -0
  47. package/dist/assets/{xychartDiagram-PRI3JC2R-DZ2Ig9GW.js → xychartDiagram-PRI3JC2R-CjH_M-NJ.js} +1 -1
  48. package/dist/index.html +2 -2
  49. package/package.json +2 -1
  50. package/dist/assets/channel-DEOuUvLR.js +0 -1
  51. package/dist/assets/classDiagram-2ON5EDUG-COuYCe8Y.js +0 -1
  52. package/dist/assets/classDiagram-v2-WZHVMYZB-COuYCe8Y.js +0 -1
  53. package/dist/assets/clone-Dp52nPJ3.js +0 -1
  54. package/dist/assets/index-BcvRuFYs.js +0 -346
  55. package/dist/assets/index-Db98Ybtz.css +0 -19
  56. package/dist/assets/stateDiagram-v2-4FDKWEC3-CtbaykL5.js +0 -1
@@ -0,0 +1,72 @@
1
+ const e=`"use strict";(()=>{var Li=Object.defineProperty;var Ni=(e,n)=>{for(var i in n)Li(e,i,{get:n[i],enumerable:!0})};var Ke={};Ni(Ke,{Diff:()=>F,FILE_HEADERS_ONLY:()=>kn,INCLUDE_HEADERS:()=>he,OMIT_HEADERS:()=>On,applyPatch:()=>Ge,applyPatches:()=>Ln,arrayDiff:()=>Ye,canonicalize:()=>ne,characterDiff:()=>Se,convertChangesToDMP:()=>Tn,convertChangesToXML:()=>Dn,createPatch:()=>In,createTwoFilesPatch:()=>Je,cssDiff:()=>He,diffArrays:()=>Sn,diffChars:()=>hn,diffCss:()=>Cn,diffJson:()=>bn,diffLines:()=>T,diffSentences:()=>An,diffTrimmedLines:()=>wn,diffWords:()=>vn,diffWordsWithSpace:()=>Te,formatPatch:()=>re,jsonDiff:()=>Be,lineDiff:()=>pe,parsePatch:()=>ie,reversePatch:()=>ze,sentenceDiff:()=>Pe,structuredPatch:()=>me,wordDiff:()=>Oe,wordsWithSpaceDiff:()=>Ie});var F=class{diff(n,i,r={}){let l;typeof r=="function"?(l=r,r={}):"callback"in r&&(l=r.callback);let t=this.castInput(n,r),o=this.castInput(i,r),u=this.removeEmpty(this.tokenize(t,r)),f=this.removeEmpty(this.tokenize(o,r));return this.diffWithOptionsObj(u,f,r,l)}diffWithOptionsObj(n,i,r,l){var t;let o=h=>{if(h=this.postProcess(h,r),l){setTimeout(function(){l(h)},0);return}else return h},u=i.length,f=n.length,s=1,p=u+f;r.maxEditLength!=null&&(p=Math.min(p,r.maxEditLength));let c=(t=r.timeout)!==null&&t!==void 0?t:1/0,x=Date.now()+c,v=[{oldPos:-1,lastComponent:void 0}],d=this.extractCommon(v[0],i,n,0,r);if(v[0].oldPos+1>=f&&d+1>=u)return o(this.buildValues(v[0].lastComponent,i,n));let a=-1/0,m=1/0,y=()=>{for(let h=Math.max(a,-s);h<=Math.min(m,s);h+=2){let g,w=v[h-1],C=v[h+1];w&&(v[h-1]=void 0);let E=!1;if(C){let S=C.oldPos-h;E=C&&0<=S&&S<u}let b=w&&w.oldPos+1<f;if(!E&&!b){v[h]=void 0;continue}if(!b||E&&w.oldPos<C.oldPos?g=this.addToPath(C,!0,!1,0,r):g=this.addToPath(w,!1,!0,1,r),d=this.extractCommon(g,i,n,h,r),g.oldPos+1>=f&&d+1>=u)return o(this.buildValues(g.lastComponent,i,n))||!0;v[h]=g,g.oldPos+1>=f&&(m=Math.min(m,h-1)),d+1>=u&&(a=Math.max(a,h+1))}s++};if(l)(function h(){setTimeout(function(){if(s>p||Date.now()>x)return l(void 0);y()||h()},0)})();else for(;s<=p&&Date.now()<=x;){let h=y();if(h)return h}}addToPath(n,i,r,l,t){let o=n.lastComponent;return o&&!t.oneChangePerToken&&o.added===i&&o.removed===r?{oldPos:n.oldPos+l,lastComponent:{count:o.count+1,added:i,removed:r,previousComponent:o.previousComponent}}:{oldPos:n.oldPos+l,lastComponent:{count:1,added:i,removed:r,previousComponent:o}}}extractCommon(n,i,r,l,t){let o=i.length,u=r.length,f=n.oldPos,s=f-l,p=0;for(;s+1<o&&f+1<u&&this.equals(r[f+1],i[s+1],t);)s++,f++,p++,t.oneChangePerToken&&(n.lastComponent={count:1,previousComponent:n.lastComponent,added:!1,removed:!1});return p&&!t.oneChangePerToken&&(n.lastComponent={count:p,previousComponent:n.lastComponent,added:!1,removed:!1}),n.oldPos=f,s}equals(n,i,r){return r.comparator?r.comparator(n,i):n===i||!!r.ignoreCase&&n.toLowerCase()===i.toLowerCase()}removeEmpty(n){let i=[];for(let r=0;r<n.length;r++)n[r]&&i.push(n[r]);return i}castInput(n,i){return n}tokenize(n,i){return Array.from(n)}join(n){return n.join("")}postProcess(n,i){return n}get useLongestToken(){return!1}buildValues(n,i,r){let l=[],t;for(;n;)l.push(n),t=n.previousComponent,delete n.previousComponent,n=t;l.reverse();let o=l.length,u=0,f=0,s=0;for(;u<o;u++){let p=l[u];if(p.removed)p.value=this.join(r.slice(s,s+p.count)),s+=p.count;else{if(!p.added&&this.useLongestToken){let c=i.slice(f,f+p.count);c=c.map(function(x,v){let d=r[s+v];return d.length>x.length?d:x}),p.value=this.join(c)}else p.value=this.join(i.slice(f,f+p.count));f+=p.count,p.added||(s+=p.count)}}return l}};var be=class extends F{},Se=new be;function hn(e,n,i){return Se.diff(e,n,i)}function Ee(e,n){let i;for(i=0;i<e.length&&i<n.length;i++)if(e[i]!=n[i])return e.slice(0,i);return e.slice(0,i)}function Fe(e,n){let i;if(!e||!n||e[e.length-1]!=n[n.length-1])return"";for(i=0;i<e.length&&i<n.length;i++)if(e[e.length-(i+1)]!=n[n.length-(i+1)])return e.slice(-i);return e.slice(-i)}function ae(e,n,i){if(e.slice(0,n.length)!=n)throw Error(\`string \${JSON.stringify(e)} doesn't start with prefix \${JSON.stringify(n)}; this is a bug\`);return i+e.slice(n.length)}function se(e,n,i){if(!n)return e+i;if(e.slice(-n.length)!=n)throw Error(\`string \${JSON.stringify(e)} doesn't end with suffix \${JSON.stringify(n)}; this is a bug\`);return e.slice(0,-n.length)+i}function G(e,n){return ae(e,n,"")}function ee(e,n){return se(e,n,"")}function _e(e,n){return n.slice(0,ki(e,n))}function ki(e,n){let i=0;e.length>n.length&&(i=e.length-n.length);let r=n.length;e.length<n.length&&(r=e.length);let l=Array(r),t=0;l[0]=0;for(let o=1;o<r;o++){for(n[o]==n[t]?l[o]=l[t]:l[o]=t;t>0&&n[o]!=n[t];)t=l[t];n[o]==n[t]&&t++}t=0;for(let o=i;o<e.length;o++){for(;t>0&&e[o]!=n[t];)t=l[t];e[o]==n[t]&&t++}return t}function mn(e){return e.includes(\`\\r
2
+ \`)&&!e.startsWith(\`
3
+ \`)&&!e.match(/[^\\r]\\n/)}function gn(e){return!e.includes(\`\\r
4
+ \`)&&e.includes(\`
5
+ \`)}function Le(e,n){let i=[];for(let r of Array.from(n.segment(e))){let l=r.segment;i.length&&/\\s/.test(i[i.length-1])&&/\\s/.test(l)?i[i.length-1]+=l:i.push(l)}return i}function ce(e,n){if(n)return z(e,n)[1];let i;for(i=e.length-1;i>=0&&e[i].match(/\\s/);i--);return e.substring(i+1)}function Y(e,n){if(n)return z(e,n)[0];let i=e.match(/^\\s*/);return i?i[0]:""}function z(e,n){if(!n)return[Y(e),ce(e)];if(n.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');let i=Le(e,n),r=i[0],l=i[i.length-1],t=/\\s/.test(r)?r:"",o=/\\s/.test(l)?l:"";return[t,o]}var de="a-zA-Z0-9_\\\\u{AD}\\\\u{C0}-\\\\u{D6}\\\\u{D8}-\\\\u{F6}\\\\u{F8}-\\\\u{2C6}\\\\u{2C8}-\\\\u{2D7}\\\\u{2DE}-\\\\u{2FF}\\\\u{1E00}-\\\\u{1EFF}",Oi=new RegExp(\`[\${de}]+|\\\\s+|[^\${de}]\`,"ug"),Ne=class extends F{equals(n,i,r){return r.ignoreCase&&(n=n.toLowerCase(),i=i.toLowerCase()),n.trim()===i.trim()}tokenize(n,i={}){let r;if(i.intlSegmenter){let o=i.intlSegmenter;if(o.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');r=Le(n,o)}else r=n.match(Oi)||[];let l=[],t=null;return r.forEach(o=>{/\\s/.test(o)?t==null?l.push(o):l.push(l.pop()+o):t!=null&&/\\s/.test(t)?l[l.length-1]==t?l.push(l.pop()+o):l.push(t+o):l.push(o),t=o}),l}join(n){return n.map((i,r)=>r==0?i:i.replace(/^\\s+/,"")).join("")}postProcess(n,i){if(!n||i.oneChangePerToken)return n;let r=null,l=null,t=null;return n.forEach(o=>{o.added?l=o:o.removed?t=o:((l||t)&&xn(r,t,l,o,i.intlSegmenter),r=o,l=null,t=null)}),(l||t)&&xn(r,t,l,null,i.intlSegmenter),n}},Oe=new Ne;function vn(e,n,i){return i?.ignoreWhitespace!=null&&!i.ignoreWhitespace?Te(e,n,i):Oe.diff(e,n,i)}function xn(e,n,i,r,l){if(n&&i){let[t,o]=z(n.value,l),[u,f]=z(i.value,l);if(e){let s=Ee(t,u);e.value=se(e.value,u,s),n.value=G(n.value,s),i.value=G(i.value,s)}if(r){let s=Fe(o,f);r.value=ae(r.value,f,s),n.value=ee(n.value,s),i.value=ee(i.value,s)}}else if(i){if(e){let t=Y(i.value,l);i.value=i.value.substring(t.length)}if(r){let t=Y(r.value,l);r.value=r.value.substring(t.length)}}else if(e&&r){let t=Y(r.value,l),[o,u]=z(n.value,l),f=Ee(t,o);n.value=G(n.value,f);let s=Fe(G(t,f),u);n.value=ee(n.value,s),r.value=ae(r.value,t,s),e.value=se(e.value,t,t.slice(0,t.length-s.length))}else if(r){let t=Y(r.value,l),o=ce(n.value,l),u=_e(o,t);n.value=ee(n.value,u)}else if(e){let t=ce(e.value,l),o=Y(n.value,l),u=_e(t,o);n.value=G(n.value,u)}}var ke=class extends F{tokenize(n){let i=new RegExp(\`(\\\\r?\\\\n)|[\${de}]+|[^\\\\S\\\\n\\\\r]+|[^\${de}]\`,"ug");return n.match(i)||[]}},Ie=new ke;function Te(e,n,i){return Ie.diff(e,n,i)}function yn(e,n){if(typeof e=="function")n.callback=e;else if(e)for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}var De=class extends F{constructor(){super(...arguments),this.tokenize=Re}equals(n,i,r){return r.ignoreWhitespace?((!r.newlineIsToken||!n.includes(\`
6
+ \`))&&(n=n.trim()),(!r.newlineIsToken||!i.includes(\`
7
+ \`))&&(i=i.trim())):r.ignoreNewlineAtEof&&!r.newlineIsToken&&(n.endsWith(\`
8
+ \`)&&(n=n.slice(0,-1)),i.endsWith(\`
9
+ \`)&&(i=i.slice(0,-1))),super.equals(n,i,r)}},pe=new De;function T(e,n,i){return pe.diff(e,n,i)}function wn(e,n,i){return i=yn(i,{ignoreWhitespace:!0}),pe.diff(e,n,i)}function Re(e,n){n.stripTrailingCr&&(e=e.replace(/\\r\\n/g,\`
10
+ \`));let i=[],r=e.split(/(\\n|\\r\\n)/);r[r.length-1]||r.pop();for(let l=0;l<r.length;l++){let t=r[l];l%2&&!n.newlineIsToken?i[i.length-1]+=t:i.push(t)}return i}function Ii(e){return e=="."||e=="!"||e=="?"}var Me=class extends F{tokenize(n){var i;let r=[],l=0;for(let t=0;t<n.length;t++){if(t==n.length-1){r.push(n.slice(l));break}if(Ii(n[t])&&n[t+1].match(/\\s/)){for(r.push(n.slice(l,t+1)),t=l=t+1;!((i=n[t+1])===null||i===void 0)&&i.match(/\\s/);)t++;r.push(n.slice(l,t+1)),l=t+1}}return r}},Pe=new Me;function An(e,n,i){return Pe.diff(e,n,i)}var We=class extends F{tokenize(n){return n.split(/([{}:;,]|\\s+)/)}},He=new We;function Cn(e,n,i){return He.diff(e,n,i)}var je=class extends F{constructor(){super(...arguments),this.tokenize=Re}get useLongestToken(){return!0}castInput(n,i){let{undefinedReplacement:r,stringifyReplacer:l=(t,o)=>typeof o>"u"?r:o}=i;return typeof n=="string"?n:JSON.stringify(ne(n,null,null,l),null," ")}equals(n,i,r){return super.equals(n.replace(/,([\\r\\n])/g,"$1"),i.replace(/,([\\r\\n])/g,"$1"),r)}},Be=new je;function bn(e,n,i){return Be.diff(e,n,i)}function ne(e,n,i,r,l){n=n||[],i=i||[],r&&(e=r(l===void 0?"":l,e));let t;for(t=0;t<n.length;t+=1)if(n[t]===e)return i[t];let o;if(Object.prototype.toString.call(e)==="[object Array]"){for(n.push(e),o=new Array(e.length),i.push(o),t=0;t<e.length;t+=1)o[t]=ne(e[t],n,i,r,String(t));return n.pop(),i.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),typeof e=="object"&&e!==null){n.push(e),o={},i.push(o);let u=[],f;for(f in e)Object.prototype.hasOwnProperty.call(e,f)&&u.push(f);for(u.sort(),t=0;t<u.length;t+=1)f=u[t],o[f]=ne(e[f],n,i,r,f);n.pop(),i.pop()}else o=e;return o}var Ue=class extends F{tokenize(n){return n.slice()}join(n){return n}removeEmpty(n){return n}},Ye=new Ue;function Sn(e,n,i){return Ye.diff(e,n,i)}function $e(e){return Array.isArray(e)?e.map(n=>$e(n)):Object.assign(Object.assign({},e),{hunks:e.hunks.map(n=>Object.assign(Object.assign({},n),{lines:n.lines.map((i,r)=>{var l;return i.startsWith("\\\\")||i.endsWith("\\r")||!((l=n.lines[r+1])===null||l===void 0)&&l.startsWith("\\\\")?i:i+"\\r"})}))})}function qe(e){return Array.isArray(e)?e.map(n=>qe(n)):Object.assign(Object.assign({},e),{hunks:e.hunks.map(n=>Object.assign(Object.assign({},n),{lines:n.lines.map(i=>i.endsWith("\\r")?i.substring(0,i.length-1):i)}))})}function En(e){return Array.isArray(e)||(e=[e]),!e.some(n=>n.hunks.some(i=>i.lines.some(r=>!r.startsWith("\\\\")&&r.endsWith("\\r"))))}function Fn(e){return Array.isArray(e)||(e=[e]),e.some(n=>n.hunks.some(i=>i.lines.some(r=>r.endsWith("\\r"))))&&e.every(n=>n.hunks.every(i=>i.lines.every((r,l)=>{var t;return r.startsWith("\\\\")||r.endsWith("\\r")||((t=i.lines[l+1])===null||t===void 0?void 0:t.startsWith("\\\\"))})))}function ie(e){let n=e.split(/\\n/),i=[],r=0;function l(d){return/^diff --git /.test(d)}function t(d){return l(d)||/^Index:\\s/.test(d)||/^diff(?: -r \\w+)+\\s/.test(d)}function o(d){return/^(---|\\+\\+\\+)\\s/.test(d)}function u(d){return/^@@\\s/.test(d)}function f(){var d;let a={};a.hunks=[],i.push(a);let m=!1;for(;r<n.length;){let y=n[r];if(o(y)||u(y))break;if(l(y)){if(m)return;m=!0,a.isGit=!0;let h=s(y);for(h&&(a.oldFileName=h.oldFileName,a.newFileName=h.newFileName),r++;r<n.length;){let g=n[r];if(o(g)||u(g)||t(g))break;let w=/^rename from (.*)/.exec(g);w&&(a.oldFileName="a/"+p(w[1]),a.isRename=!0);let C=/^rename to (.*)/.exec(g);C&&(a.newFileName="b/"+p(C[1]),a.isRename=!0);let E=/^copy from (.*)/.exec(g);E&&(a.oldFileName="a/"+p(E[1]),a.isCopy=!0);let b=/^copy to (.*)/.exec(g);b&&(a.newFileName="b/"+p(b[1]),a.isCopy=!0);let S=/^new file mode (\\d+)/.exec(g);S&&(a.isCreate=!0,a.newMode=S[1]);let M=/^deleted file mode (\\d+)/.exec(g);M&&(a.isDelete=!0,a.oldMode=M[1]);let V=/^old mode (\\d+)/.exec(g);V&&(a.oldMode=V[1]);let Z=/^new mode (\\d+)/.exec(g);Z&&(a.newMode=Z[1]),/^Binary files /.test(g)&&(a.isBinary=!0),r++}continue}else if(t(y)){if(m)return;m=!0;let h=/^(?:Index:|diff(?: -r \\w+)+)\\s+/.exec(y);h&&(a.index=y.substring(h[0].length).trim())}r++}if(x(a),x(a),a.oldFileName===void 0!=(a.newFileName===void 0))throw new Error("Missing "+(a.oldFileName!==void 0?'"+++ ..."':'"--- ..."')+" file header for "+((d=a.oldFileName)!==null&&d!==void 0?d:a.newFileName));for(;r<n.length;){let y=n[r];if(t(y)||o(y)||/^===================================================================/.test(y))break;u(y)?a.hunks.push(v()):r++}}function s(d){let a=d.substring(11);if(a.startsWith('"')){let y=c(a);if(y===null)return null;let h=a.substring(y.rawLength+1),g;if(h.startsWith('"')){let w=c(h);if(w===null)return null;g=w.fileName}else g=h;return{oldFileName:y.fileName,newFileName:g}}let m=a.indexOf('"');if(m>0){let y=a.substring(0,m-1),h=c(a.substring(m));return h===null?null:{oldFileName:y,newFileName:h.fileName}}if(a.startsWith("a/")){let y=[],h=0;for(;h=a.indexOf(" b/",h+1),h!==-1;)y.push(h);if(y.length>0){let g=y[Math.floor(y.length/2)];return{oldFileName:a.substring(0,g),newFileName:a.substring(g+1)}}}return null}function p(d){if(d.startsWith('"')){let a=c(d);if(a)return a.fileName}return d}function c(d){if(!d.startsWith('"'))return null;let a="",m=1;for(;m<d.length;){if(d[m]==='"')return{fileName:a,rawLength:m+1};if(d[m]==="\\\\"&&m+1<d.length)switch(m++,d[m]){case"a":a+="\\x07";break;case"b":a+="\\b";break;case"f":a+="\\f";break;case"n":a+=\`
11
+ \`;break;case"r":a+="\\r";break;case"t":a+=" ";break;case"v":a+="\\v";break;case"\\\\":a+="\\\\";break;case'"':a+='"';break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{if(m+2>=d.length||d[m+1]<"0"||d[m+1]>"7"||d[m+2]<"0"||d[m+2]>"7")return null;let y=[parseInt(d.substring(m,m+3),8)];for(m+=3;d[m]==="\\\\"&&d[m+1]>="0"&&d[m+1]<="7";){if(m+3>=d.length||d[m+2]<"0"||d[m+2]>"7"||d[m+3]<"0"||d[m+3]>"7")return null;y.push(parseInt(d.substring(m+1,m+4),8)),m+=4}a+=new TextDecoder("utf-8").decode(new Uint8Array(y));continue}default:return null}else a+=d[m];m++}return null}function x(d){let a=/^(---|\\+\\+\\+)\\s+/.exec(n[r]);if(a){let m=a[1],y=n[r].substring(3).trim().split(" ",2),h=(y[1]||"").trim(),g=y[0];g.startsWith('"')?g=p(g):g=g.replace(/\\\\\\\\/g,"\\\\"),m==="---"?(d.oldFileName=g,d.oldHeader=h):(d.newFileName=g,d.newHeader=h),r++}}function v(){var d;let a=r,m=n[r++],y=m.split(/@@ -(\\d+)(?:,(\\d+))? \\+(\\d+)(?:,(\\d+))? @@/),h={oldStart:+y[1],oldLines:typeof y[2]>"u"?1:+y[2],newStart:+y[3],newLines:typeof y[4]>"u"?1:+y[4],lines:[]};h.oldLines===0&&(h.oldStart+=1),h.newLines===0&&(h.newStart+=1);let g=0,w=0;for(;r<n.length&&(w<h.oldLines||g<h.newLines||!((d=n[r])===null||d===void 0)&&d.startsWith("\\\\"));r++){let C=n[r].length==0&&r!=n.length-1?" ":n[r][0];if(C==="+"||C==="-"||C===" "||C==="\\\\")h.lines.push(n[r]),C==="+"?g++:C==="-"?w++:C===" "&&(g++,w++);else throw new Error(\`Hunk at line \${a+1} contained invalid line \${n[r]}\`)}if(!g&&h.newLines===1&&(h.newLines=0),!w&&h.oldLines===1&&(h.oldLines=0),g!==h.newLines)throw new Error("Added line count did not match for hunk at line "+(a+1));if(w!==h.oldLines)throw new Error("Removed line count did not match for hunk at line "+(a+1));if(r<n.length&&n[r]&&/^[+ -]/.test(n[r])&&!o(n[r]))throw new Error("Hunk at line "+(a+1)+" has more lines than expected (expected "+h.oldLines+" old lines and "+h.newLines+" new lines)");return h}for(;r<n.length;)f();return i}function _n(e,n,i){let r=!0,l=!1,t=!1,o=1;return function u(){if(r&&!t){if(l?o++:r=!1,e+o<=i)return e+o;t=!0}if(!l)return t||(r=!0),n<=e-o?e-o++:(l=!0,u())}}function Ge(e,n,i={}){let r;if(typeof n=="string"?r=ie(n):Array.isArray(n)?r=n:r=[n],r.length>1)throw new Error("applyPatch only works with a single input.");return Ti(e,r[0],i)}function Ti(e,n,i={}){(i.autoConvertLineEndings||i.autoConvertLineEndings==null)&&(mn(e)&&En(n)?n=$e(n):gn(e)&&Fn(n)&&(n=qe(n)));let r=e.split(\`
12
+ \`),l=n.hunks,t=i.compareLine||((d,a,m,y)=>a===y),o=i.fuzzFactor||0,u=0;if(o<0||!Number.isInteger(o))throw new Error("fuzzFactor must be a non-negative integer");if(!l.length)return e;let f="",s=!1,p=!1;for(let d=0;d<l[l.length-1].lines.length;d++){let a=l[l.length-1].lines[d];a[0]=="\\\\"&&(f[0]=="+"?s=!0:f[0]=="-"&&(p=!0)),f=a}if(s){if(p){if(!o&&r[r.length-1]=="")return!1}else if(r[r.length-1]=="")r.pop();else if(!o)return!1}else if(p){if(r[r.length-1]!="")r.push("");else if(!o)return!1}function c(d,a,m,y=0,h=!0,g=[],w=0){let C=0,E=!1;for(;y<d.length;y++){let b=d[y],S=b.length>0?b[0]:" ",M=b.length>0?b.substr(1):b;if(S==="-")if(t(a+1,r[a],S,M))a++,C=0;else return!m||r[a]==null?null:(g[w]=r[a],c(d,a+1,m-1,y,!1,g,w+1));if(S==="+"){if(!h)return null;g[w]=M,w++,C=0,E=!0}if(S===" ")if(C++,g[w]=r[a],t(a+1,r[a],S,M))w++,h=!0,E=!1,a++;else return E||!m?null:r[a]&&(c(d,a+1,m-1,y+1,!1,g,w+1)||c(d,a+1,m-1,y,!1,g,w+1))||c(d,a,m-1,y+1,!1,g,w)}return w-=C,a-=C,g.length=w,{patchedLines:g,oldLineLastI:a-1}}let x=[],v=0;for(let d=0;d<l.length;d++){let a=l[d],m,y=r.length-a.oldLines+o,h;for(let g=0;g<=o;g++){h=a.oldStart+v-1;let w=_n(h,u,y);for(;h!==void 0&&(m=c(a.lines,h,g),!m);h=w());if(m)break}if(!m)return!1;for(let g=u;g<h;g++)x.push(r[g]);for(let g=0;g<m.patchedLines.length;g++){let w=m.patchedLines[g];x.push(w)}u=m.oldLineLastI+1,v=h+1-a.oldStart}for(let d=u;d<r.length;d++)x.push(r[d]);return x.join(\`
13
+ \`)}function Ln(e,n){let i=typeof e=="string"?ie(e):e,r=0;function l(){let t=i[r++];if(!t)return n.complete();n.loadFile(t,function(o,u){if(o)return n.complete(o);let f=Ge(u,t,n);n.patched(t,f,function(s){if(s)return n.complete(s);l()})})}l()}function Nn(e){return e===void 0||e==="/dev/null"?e:e.startsWith("a/")?"b/"+e.slice(2):e.startsWith("b/")?"a/"+e.slice(2):e}function ze(e){if(Array.isArray(e))return e.map(i=>ze(i)).reverse();let n=Object.assign(Object.assign({},e),{oldFileName:e.isGit?Nn(e.newFileName):e.newFileName,oldHeader:e.newHeader,newFileName:e.isGit?Nn(e.oldFileName):e.oldFileName,newHeader:e.oldHeader,oldMode:e.newMode,newMode:e.oldMode,isCreate:e.isDelete,isDelete:e.isCreate,hunks:e.hunks.map(i=>({oldLines:i.newLines,oldStart:i.newStart,newLines:i.oldLines,newStart:i.oldStart,lines:i.lines.map(r=>r.startsWith("-")?\`+\${r.slice(1)}\`:r.startsWith("+")?\`-\${r.slice(1)}\`:r)}))});return e.isCopy&&(n.newFileName="/dev/null",n.newHeader=void 0,n.isDelete=!0,delete n.isCreate,delete n.isCopy,delete n.isRename,n.hunks=[]),n}function Di(e){for(let n=0;n<e.length;n++)if(e[n]<" "||e[n]>"~"||e[n]==='"'||e[n]==="\\\\")return!0;return!1}function H(e){if(!Di(e))return e;let n='"',i=new TextEncoder().encode(e),r=0;for(;r<i.length;){let l=i[r];l===7?n+="\\\\a":l===8?n+="\\\\b":l===9?n+="\\\\t":l===10?n+="\\\\n":l===11?n+="\\\\v":l===12?n+="\\\\f":l===13?n+="\\\\r":l===34?n+='\\\\"':l===92?n+="\\\\\\\\":l>=32&&l<=126?n+=String.fromCharCode(l):n+="\\\\"+l.toString(8).padStart(3,"0"),r++}return n+='"',n}var he={includeIndex:!0,includeUnderline:!0,includeFileHeaders:!0},kn={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!0},On={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!1};function me(e,n,i,r,l,t,o){let u;o?typeof o=="function"?u={callback:o}:u=o:u={},typeof u.context>"u"&&(u.context=4);let f=u.context;if(u.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(u.callback){let{callback:p}=u;T(i,r,Object.assign(Object.assign({},u),{callback:c=>{let x=s(c);p(x)}}))}else return s(T(i,r,u));function s(p){if(!p)return;p.push({value:"",lines:[]});function c(h){return h.map(function(g){return" "+g})}let x=[],v=0,d=0,a=[],m=1,y=1;for(let h=0;h<p.length;h++){let g=p[h],w=g.lines||Ri(g.value);if(g.lines=w,g.added||g.removed){if(!v){let C=p[h-1];v=m,d=y,C&&(a=f>0?c(C.lines.slice(-f)):[],v-=a.length,d-=a.length)}for(let C of w)a.push((g.added?"+":"-")+C);g.added?y+=w.length:m+=w.length}else{if(v)if(w.length<=f*2&&h<p.length-2)for(let C of c(w))a.push(C);else{let C=Math.min(w.length,f);for(let b of c(w.slice(0,C)))a.push(b);let E={oldStart:v,oldLines:m-v+C,newStart:d,newLines:y-d+C,lines:a};x.push(E),v=0,d=0,a=[]}m+=w.length,y+=w.length}}for(let h of x)for(let g=0;g<h.lines.length;g++)h.lines[g].endsWith(\`
14
+ \`)?h.lines[g]=h.lines[g].slice(0,-1):(h.lines.splice(g+1,0,"\\\"),g++);return{oldFileName:e,newFileName:n,oldHeader:l,newHeader:t,hunks:x}}}function re(e,n){var i,r,l,t,o,u;if(n||(n=he),Array.isArray(e)){if(e.length>1&&!n.includeFileHeaders&&!e.every(p=>p.isGit))throw new Error("Cannot omit file headers on a multi-file patch. (The result would be unparseable; how would a tool trying to apply the patch know which changes are to which file?)");return e.map(p=>re(p,n)).join(\`
15
+ \`)}let f=[];if(e.isGit){if(n=he,!e.oldFileName)throw new Error("oldFileName must be specified for Git patches");if(!e.newFileName)throw new Error("newFileName must be specified for Git patches");let p=e.oldFileName,c=e.newFileName;e.isCreate&&p==="/dev/null"?p=c.replace(/^b\\//,"a/"):e.isDelete&&c==="/dev/null"&&(c=p.replace(/^a\\//,"b/")),f.push("diff --git "+H(p)+" "+H(c)),e.isDelete&&f.push("deleted file mode "+((i=e.oldMode)!==null&&i!==void 0?i:"100644")),e.isCreate&&f.push("new file mode "+((r=e.newMode)!==null&&r!==void 0?r:"100644")),e.oldMode&&e.newMode&&!e.isDelete&&!e.isCreate&&(f.push("old mode "+e.oldMode),f.push("new mode "+e.newMode)),e.isRename&&(f.push("rename from "+H(((l=e.oldFileName)!==null&&l!==void 0?l:"").replace(/^a\\//,""))),f.push("rename to "+H(((t=e.newFileName)!==null&&t!==void 0?t:"").replace(/^b\\//,"")))),e.isCopy&&(f.push("copy from "+H(((o=e.oldFileName)!==null&&o!==void 0?o:"").replace(/^a\\//,""))),f.push("copy to "+H(((u=e.newFileName)!==null&&u!==void 0?u:"").replace(/^b\\//,""))))}else n.includeIndex&&e.oldFileName==e.newFileName&&e.oldFileName!==void 0&&f.push("Index: "+e.oldFileName),n.includeUnderline&&f.push("===================================================================");let s=e.hunks.length>0;n.includeFileHeaders&&e.oldFileName!==void 0&&e.newFileName!==void 0&&(!e.isGit||s)&&(f.push("--- "+H(e.oldFileName)+(e.oldHeader?" "+e.oldHeader:"")),f.push("+++ "+H(e.newFileName)+(e.newHeader?" "+e.newHeader:"")));for(let p=0;p<e.hunks.length;p++){let c=e.hunks[p],x=c.oldLines===0?c.oldStart-1:c.oldStart,v=c.newLines===0?c.newStart-1:c.newStart;f.push("@@ -"+x+","+c.oldLines+" +"+v+","+c.newLines+" @@");for(let d of c.lines)f.push(d)}return f.join(\`
16
+ \`)+\`
17
+ \`}function Je(e,n,i,r,l,t,o){if(typeof o=="function"&&(o={callback:o}),o?.callback){let{callback:u}=o;me(e,n,i,r,l,t,Object.assign(Object.assign({},o),{callback:f=>{u(f?re(f,o.headerOptions):void 0)}}))}else{let u=me(e,n,i,r,l,t,o);return u?re(u,o?.headerOptions):void 0}}function In(e,n,i,r,l,t){return Je(e,e,n,i,r,l,t)}function Ri(e){let n=e.endsWith(\`
18
+ \`),i=e.split(\`
19
+ \`).map(r=>r+\`
20
+ \`);return n?i.pop():i.push(i.pop().slice(0,-1)),i}function Tn(e){let n=[],i,r;for(let l=0;l<e.length;l++)i=e[l],i.added?r=1:i.removed?r=-1:r=0,n.push([r,i.value]);return n}function Dn(e){let n=[];for(let i=0;i<e.length;i++){let r=e[i];r.added?n.push("<ins>"):r.removed&&n.push("<del>"),n.push(Mi(r.value)),r.added?n.push("</ins>"):r.removed&&n.push("</del>")}return n.join("")}function Mi(e){let n=e;return n=n.replace(/&/g,"&amp;"),n=n.replace(/</g,"&lt;"),n=n.replace(/>/g,"&gt;"),n=n.replace(/"/g,"&quot;"),n}function Qn(e){return typeof e>"u"||e===null}function Pi(e){return typeof e=="object"&&e!==null}function Wi(e){return Array.isArray(e)?e:Qn(e)?[]:[e]}function Hi(e,n){var i,r,l,t;if(n)for(t=Object.keys(n),i=0,r=t.length;i<r;i+=1)l=t[i],e[l]=n[l];return e}function ji(e,n){var i="",r;for(r=0;r<n;r+=1)i+=e;return i}function Bi(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var Ui=Qn,Yi=Pi,$i=Wi,qi=ji,Gi=Bi,zi=Hi,L={isNothing:Ui,isObject:Yi,toArray:$i,repeat:qi,isNegativeZero:Gi,extend:zi};function Xn(e,n){var i="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(i+='in "'+e.mark.name+'" '),i+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!n&&e.mark.snippet&&(i+=\`
21
+
22
+ \`+e.mark.snippet),r+" "+i):r}function oe(e,n){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=n,this.message=Xn(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}oe.prototype=Object.create(Error.prototype);oe.prototype.constructor=oe;oe.prototype.toString=function(n){return this.name+": "+Xn(this,n)};var O=oe;function Qe(e,n,i,r,l){var t="",o="",u=Math.floor(l/2)-1;return r-n>u&&(t=" ... ",n=r-u+t.length),i-r>u&&(o=" ...",i=r+u-o.length),{str:t+e.slice(n,i).replace(/\\t/g,"\\u2192")+o,pos:r-n+t.length}}function Xe(e,n){return L.repeat(" ",n-e.length)+e}function Ji(e,n){if(n=Object.create(n||null),!e.buffer)return null;n.maxLength||(n.maxLength=79),typeof n.indent!="number"&&(n.indent=1),typeof n.linesBefore!="number"&&(n.linesBefore=3),typeof n.linesAfter!="number"&&(n.linesAfter=2);for(var i=/\\r?\\n|\\r|\\0/g,r=[0],l=[],t,o=-1;t=i.exec(e.buffer);)l.push(t.index),r.push(t.index+t[0].length),e.position<=t.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var u="",f,s,p=Math.min(e.line+n.linesAfter,l.length).toString().length,c=n.maxLength-(n.indent+p+3);for(f=1;f<=n.linesBefore&&!(o-f<0);f++)s=Qe(e.buffer,r[o-f],l[o-f],e.position-(r[o]-r[o-f]),c),u=L.repeat(" ",n.indent)+Xe((e.line-f+1).toString(),p)+" | "+s.str+\`
23
+ \`+u;for(s=Qe(e.buffer,r[o],l[o],e.position,c),u+=L.repeat(" ",n.indent)+Xe((e.line+1).toString(),p)+" | "+s.str+\`
24
+ \`,u+=L.repeat("-",n.indent+p+3+s.pos)+\`^
25
+ \`,f=1;f<=n.linesAfter&&!(o+f>=l.length);f++)s=Qe(e.buffer,r[o+f],l[o+f],e.position-(r[o]-r[o+f]),c),u+=L.repeat(" ",n.indent)+Xe((e.line+f+1).toString(),p)+" | "+s.str+\`
26
+ \`;return u.replace(/\\n$/,"")}var Ki=Ji,Qi=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Xi=["scalar","sequence","mapping"];function Vi(e){var n={};return e!==null&&Object.keys(e).forEach(function(i){e[i].forEach(function(r){n[String(r)]=i})}),n}function Zi(e,n){if(n=n||{},Object.keys(n).forEach(function(i){if(Qi.indexOf(i)===-1)throw new O('Unknown option "'+i+'" is met in definition of "'+e+'" YAML type.')}),this.options=n,this.tag=e,this.kind=n.kind||null,this.resolve=n.resolve||function(){return!0},this.construct=n.construct||function(i){return i},this.instanceOf=n.instanceOf||null,this.predicate=n.predicate||null,this.represent=n.represent||null,this.representName=n.representName||null,this.defaultStyle=n.defaultStyle||null,this.multi=n.multi||!1,this.styleAliases=Vi(n.styleAliases||null),Xi.indexOf(this.kind)===-1)throw new O('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var N=Zi;function Rn(e,n){var i=[];return e[n].forEach(function(r){var l=i.length;i.forEach(function(t,o){t.tag===r.tag&&t.kind===r.kind&&t.multi===r.multi&&(l=o)}),i[l]=r}),i}function er(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},n,i;function r(l){l.multi?(e.multi[l.kind].push(l),e.multi.fallback.push(l)):e[l.kind][l.tag]=e.fallback[l.tag]=l}for(n=0,i=arguments.length;n<i;n+=1)arguments[n].forEach(r);return e}function Ze(e){return this.extend(e)}Ze.prototype.extend=function(n){var i=[],r=[];if(n instanceof N)r.push(n);else if(Array.isArray(n))r=r.concat(n);else if(n&&(Array.isArray(n.implicit)||Array.isArray(n.explicit)))n.implicit&&(i=i.concat(n.implicit)),n.explicit&&(r=r.concat(n.explicit));else throw new O("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(t){if(!(t instanceof N))throw new O("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&t.loadKind!=="scalar")throw new O("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new O("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(t){if(!(t instanceof N))throw new O("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(Ze.prototype);return l.implicit=(this.implicit||[]).concat(i),l.explicit=(this.explicit||[]).concat(r),l.compiledImplicit=Rn(l,"implicit"),l.compiledExplicit=Rn(l,"explicit"),l.compiledTypeMap=er(l.compiledImplicit,l.compiledExplicit),l};var nr=Ze,ir=new N("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),rr=new N("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),lr=new N("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),or=new nr({explicit:[ir,rr,lr]});function tr(e){if(e===null)return!0;var n=e.length;return n===1&&e==="~"||n===4&&(e==="null"||e==="Null"||e==="NULL")}function ur(){return null}function fr(e){return e===null}var ar=new N("tag:yaml.org,2002:null",{kind:"scalar",resolve:tr,construct:ur,predicate:fr,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function sr(e){if(e===null)return!1;var n=e.length;return n===4&&(e==="true"||e==="True"||e==="TRUE")||n===5&&(e==="false"||e==="False"||e==="FALSE")}function cr(e){return e==="true"||e==="True"||e==="TRUE"}function dr(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var pr=new N("tag:yaml.org,2002:bool",{kind:"scalar",resolve:sr,construct:cr,predicate:dr,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function hr(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function mr(e){return 48<=e&&e<=55}function gr(e){return 48<=e&&e<=57}function xr(e){if(e===null)return!1;var n=e.length,i=0,r=!1,l;if(!n)return!1;if(l=e[i],(l==="-"||l==="+")&&(l=e[++i]),l==="0"){if(i+1===n)return!0;if(l=e[++i],l==="b"){for(i++;i<n;i++)if(l=e[i],l!=="_"){if(l!=="0"&&l!=="1")return!1;r=!0}return r&&l!=="_"}if(l==="x"){for(i++;i<n;i++)if(l=e[i],l!=="_"){if(!hr(e.charCodeAt(i)))return!1;r=!0}return r&&l!=="_"}if(l==="o"){for(i++;i<n;i++)if(l=e[i],l!=="_"){if(!mr(e.charCodeAt(i)))return!1;r=!0}return r&&l!=="_"}}if(l==="_")return!1;for(;i<n;i++)if(l=e[i],l!=="_"){if(!gr(e.charCodeAt(i)))return!1;r=!0}return!(!r||l==="_")}function vr(e){var n=e,i=1,r;if(n.indexOf("_")!==-1&&(n=n.replace(/_/g,"")),r=n[0],(r==="-"||r==="+")&&(r==="-"&&(i=-1),n=n.slice(1),r=n[0]),n==="0")return 0;if(r==="0"){if(n[1]==="b")return i*parseInt(n.slice(2),2);if(n[1]==="x")return i*parseInt(n.slice(2),16);if(n[1]==="o")return i*parseInt(n.slice(2),8)}return i*parseInt(n,10)}function yr(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!L.isNegativeZero(e)}var wr=new N("tag:yaml.org,2002:int",{kind:"scalar",resolve:xr,construct:vr,predicate:yr,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Ar=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN))$");function Cr(e){return!(e===null||!Ar.test(e)||e[e.length-1]==="_")}function br(e){var n,i;return n=e.replace(/_/g,"").toLowerCase(),i=n[0]==="-"?-1:1,"+-".indexOf(n[0])>=0&&(n=n.slice(1)),n===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:n===".nan"?NaN:i*parseFloat(n,10)}var Sr=/^[-+]?[0-9]+e/;function Er(e,n){var i;if(isNaN(e))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(L.isNegativeZero(e))return"-0.0";return i=e.toString(10),Sr.test(i)?i.replace("e",".e"):i}function Fr(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||L.isNegativeZero(e))}var _r=new N("tag:yaml.org,2002:float",{kind:"scalar",resolve:Cr,construct:br,predicate:Fr,represent:Er,defaultStyle:"lowercase"}),Lr=or.extend({implicit:[ar,pr,wr,_r]}),Nr=Lr,Vn=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Zn=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\\\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\\\.([0-9]*))?(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function kr(e){return e===null?!1:Vn.exec(e)!==null||Zn.exec(e)!==null}function Or(e){var n,i,r,l,t,o,u,f=0,s=null,p,c,x;if(n=Vn.exec(e),n===null&&(n=Zn.exec(e)),n===null)throw new Error("Date resolve error");if(i=+n[1],r=+n[2]-1,l=+n[3],!n[4])return new Date(Date.UTC(i,r,l));if(t=+n[4],o=+n[5],u=+n[6],n[7]){for(f=n[7].slice(0,3);f.length<3;)f+="0";f=+f}return n[9]&&(p=+n[10],c=+(n[11]||0),s=(p*60+c)*6e4,n[9]==="-"&&(s=-s)),x=new Date(Date.UTC(i,r,l,t,o,u,f)),s&&x.setTime(x.getTime()-s),x}function Ir(e){return e.toISOString()}var Tr=new N("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:kr,construct:Or,instanceOf:Date,represent:Ir});function Dr(e){return e==="<<"||e===null}var Rr=new N("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Dr}),on=\`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
27
+ \\r\`;function Mr(e){if(e===null)return!1;var n,i,r=0,l=e.length,t=on;for(i=0;i<l;i++)if(n=t.indexOf(e.charAt(i)),!(n>64)){if(n<0)return!1;r+=6}return r%8===0}function Pr(e){var n,i,r=e.replace(/[\\r\\n=]/g,""),l=r.length,t=on,o=0,u=[];for(n=0;n<l;n++)n%4===0&&n&&(u.push(o>>16&255),u.push(o>>8&255),u.push(o&255)),o=o<<6|t.indexOf(r.charAt(n));return i=l%4*6,i===0?(u.push(o>>16&255),u.push(o>>8&255),u.push(o&255)):i===18?(u.push(o>>10&255),u.push(o>>2&255)):i===12&&u.push(o>>4&255),new Uint8Array(u)}function Wr(e){var n="",i=0,r,l,t=e.length,o=on;for(r=0;r<t;r++)r%3===0&&r&&(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[i&63]),i=(i<<8)+e[r];return l=t%3,l===0?(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[i&63]):l===2?(n+=o[i>>10&63],n+=o[i>>4&63],n+=o[i<<2&63],n+=o[64]):l===1&&(n+=o[i>>2&63],n+=o[i<<4&63],n+=o[64],n+=o[64]),n}function Hr(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var jr=new N("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Mr,construct:Pr,predicate:Hr,represent:Wr}),Br=Object.prototype.hasOwnProperty,Ur=Object.prototype.toString;function Yr(e){if(e===null)return!0;var n=[],i,r,l,t,o,u=e;for(i=0,r=u.length;i<r;i+=1){if(l=u[i],o=!1,Ur.call(l)!=="[object Object]")return!1;for(t in l)if(Br.call(l,t))if(!o)o=!0;else return!1;if(!o)return!1;if(n.indexOf(t)===-1)n.push(t);else return!1}return!0}function $r(e){return e!==null?e:[]}var qr=new N("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Yr,construct:$r}),Gr=Object.prototype.toString;function zr(e){if(e===null)return!0;var n,i,r,l,t,o=e;for(t=new Array(o.length),n=0,i=o.length;n<i;n+=1){if(r=o[n],Gr.call(r)!=="[object Object]"||(l=Object.keys(r),l.length!==1))return!1;t[n]=[l[0],r[l[0]]]}return!0}function Jr(e){if(e===null)return[];var n,i,r,l,t,o=e;for(t=new Array(o.length),n=0,i=o.length;n<i;n+=1)r=o[n],l=Object.keys(r),t[n]=[l[0],r[l[0]]];return t}var Kr=new N("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:zr,construct:Jr}),Qr=Object.prototype.hasOwnProperty;function Xr(e){if(e===null)return!0;var n,i=e;for(n in i)if(Qr.call(i,n)&&i[n]!==null)return!1;return!0}function Vr(e){return e!==null?e:{}}var Zr=new N("tag:yaml.org,2002:set",{kind:"mapping",resolve:Xr,construct:Vr}),ei=Nr.extend({implicit:[Tr,Rr],explicit:[jr,qr,Kr,Zr]}),B=Object.prototype.hasOwnProperty,ge=1,ni=2,ii=3,xe=4,Ve=1,el=2,Mn=3,nl=/[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/,il=/[\\x85\\u2028\\u2029]/,rl=/[,\\[\\]\\{\\}]/,ri=/^(?:!|!!|![a-z\\-]+!)$/i,li=/^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;function Pn(e){return Object.prototype.toString.call(e)}function R(e){return e===10||e===13}function q(e){return e===9||e===32}function I(e){return e===9||e===32||e===10||e===13}function K(e){return e===44||e===91||e===93||e===123||e===125}function ll(e){var n;return 48<=e&&e<=57?e-48:(n=e|32,97<=n&&n<=102?n-97+10:-1)}function ol(e){return e===120?2:e===117?4:e===85?8:0}function tl(e){return 48<=e&&e<=57?e-48:-1}function Wn(e){return e===48?"\\0":e===97?"\\x07":e===98?"\\b":e===116||e===9?" ":e===110?\`
28
+ \`:e===118?"\\v":e===102?"\\f":e===114?"\\r":e===101?"\\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\\\":e===78?"\\x85":e===95?"\\xA0":e===76?"\\u2028":e===80?"\\u2029":""}function ul(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function oi(e,n,i){n==="__proto__"?Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writable:!0,value:i}):e[n]=i}var ti=new Array(256),ui=new Array(256);for($=0;$<256;$++)ti[$]=Wn($)?1:0,ui[$]=Wn($);var $;function fl(e,n){this.input=e,this.filename=n.filename||null,this.schema=n.schema||ei,this.onWarning=n.onWarning||null,this.legacy=n.legacy||!1,this.json=n.json||!1,this.listener=n.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function fi(e,n){var i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=Ki(i),new O(n,i)}function A(e,n){throw fi(e,n)}function ve(e,n){e.onWarning&&e.onWarning.call(null,fi(e,n))}var Hn={YAML:function(n,i,r){var l,t,o;n.version!==null&&A(n,"duplication of %YAML directive"),r.length!==1&&A(n,"YAML directive accepts exactly one argument"),l=/^([0-9]+)\\.([0-9]+)$/.exec(r[0]),l===null&&A(n,"ill-formed argument of the YAML directive"),t=parseInt(l[1],10),o=parseInt(l[2],10),t!==1&&A(n,"unacceptable YAML version of the document"),n.version=r[0],n.checkLineBreaks=o<2,o!==1&&o!==2&&ve(n,"unsupported YAML version of the document")},TAG:function(n,i,r){var l,t;r.length!==2&&A(n,"TAG directive accepts exactly two arguments"),l=r[0],t=r[1],ri.test(l)||A(n,"ill-formed tag handle (first argument) of the TAG directive"),B.call(n.tagMap,l)&&A(n,'there is a previously declared suffix for "'+l+'" tag handle'),li.test(t)||A(n,"ill-formed tag prefix (second argument) of the TAG directive");try{t=decodeURIComponent(t)}catch{A(n,"tag prefix is malformed: "+t)}n.tagMap[l]=t}};function j(e,n,i,r){var l,t,o,u;if(n<i){if(u=e.input.slice(n,i),r)for(l=0,t=u.length;l<t;l+=1)o=u.charCodeAt(l),o===9||32<=o&&o<=1114111||A(e,"expected valid JSON character");else nl.test(u)&&A(e,"the stream contains non-printable characters");e.result+=u}}function jn(e,n,i,r){var l,t,o,u;for(L.isObject(i)||A(e,"cannot merge mappings; the provided source object is unacceptable"),l=Object.keys(i),o=0,u=l.length;o<u;o+=1)t=l[o],B.call(n,t)||(oi(n,t,i[t]),r[t]=!0)}function Q(e,n,i,r,l,t,o,u,f){var s,p;if(Array.isArray(l))for(l=Array.prototype.slice.call(l),s=0,p=l.length;s<p;s+=1)Array.isArray(l[s])&&A(e,"nested arrays are not supported inside keys"),typeof l=="object"&&Pn(l[s])==="[object Object]"&&(l[s]="[object Object]");if(typeof l=="object"&&Pn(l)==="[object Object]"&&(l="[object Object]"),l=String(l),n===null&&(n={}),r==="tag:yaml.org,2002:merge")if(Array.isArray(t))for(s=0,p=t.length;s<p;s+=1)jn(e,n,t[s],i);else jn(e,n,t,i);else!e.json&&!B.call(i,l)&&B.call(n,l)&&(e.line=o||e.line,e.lineStart=u||e.lineStart,e.position=f||e.position,A(e,"duplicated mapping key")),oi(n,l,t),delete i[l];return n}function tn(e){var n;n=e.input.charCodeAt(e.position),n===10?e.position++:n===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):A(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function _(e,n,i){for(var r=0,l=e.input.charCodeAt(e.position);l!==0;){for(;q(l);)l===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),l=e.input.charCodeAt(++e.position);if(n&&l===35)do l=e.input.charCodeAt(++e.position);while(l!==10&&l!==13&&l!==0);if(R(l))for(tn(e),l=e.input.charCodeAt(e.position),r++,e.lineIndent=0;l===32;)e.lineIndent++,l=e.input.charCodeAt(++e.position);else break}return i!==-1&&r!==0&&e.lineIndent<i&&ve(e,"deficient indentation"),r}function Ae(e){var n=e.position,i;return i=e.input.charCodeAt(n),!!((i===45||i===46)&&i===e.input.charCodeAt(n+1)&&i===e.input.charCodeAt(n+2)&&(n+=3,i=e.input.charCodeAt(n),i===0||I(i)))}function un(e,n){n===1?e.result+=" ":n>1&&(e.result+=L.repeat(\`
29
+ \`,n-1))}function al(e,n,i){var r,l,t,o,u,f,s,p,c=e.kind,x=e.result,v;if(v=e.input.charCodeAt(e.position),I(v)||K(v)||v===35||v===38||v===42||v===33||v===124||v===62||v===39||v===34||v===37||v===64||v===96||(v===63||v===45)&&(l=e.input.charCodeAt(e.position+1),I(l)||i&&K(l)))return!1;for(e.kind="scalar",e.result="",t=o=e.position,u=!1;v!==0;){if(v===58){if(l=e.input.charCodeAt(e.position+1),I(l)||i&&K(l))break}else if(v===35){if(r=e.input.charCodeAt(e.position-1),I(r))break}else{if(e.position===e.lineStart&&Ae(e)||i&&K(v))break;if(R(v))if(f=e.line,s=e.lineStart,p=e.lineIndent,_(e,!1,-1),e.lineIndent>=n){u=!0,v=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=f,e.lineStart=s,e.lineIndent=p;break}}u&&(j(e,t,o,!1),un(e,e.line-f),t=o=e.position,u=!1),q(v)||(o=e.position+1),v=e.input.charCodeAt(++e.position)}return j(e,t,o,!1),e.result?!0:(e.kind=c,e.result=x,!1)}function sl(e,n){var i,r,l;if(i=e.input.charCodeAt(e.position),i!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=l=e.position;(i=e.input.charCodeAt(e.position))!==0;)if(i===39)if(j(e,r,e.position,!0),i=e.input.charCodeAt(++e.position),i===39)r=e.position,e.position++,l=e.position;else return!0;else R(i)?(j(e,r,l,!0),un(e,_(e,!1,n)),r=l=e.position):e.position===e.lineStart&&Ae(e)?A(e,"unexpected end of the document within a single quoted scalar"):(e.position++,l=e.position);A(e,"unexpected end of the stream within a single quoted scalar")}function cl(e,n){var i,r,l,t,o,u;if(u=e.input.charCodeAt(e.position),u!==34)return!1;for(e.kind="scalar",e.result="",e.position++,i=r=e.position;(u=e.input.charCodeAt(e.position))!==0;){if(u===34)return j(e,i,e.position,!0),e.position++,!0;if(u===92){if(j(e,i,e.position,!0),u=e.input.charCodeAt(++e.position),R(u))_(e,!1,n);else if(u<256&&ti[u])e.result+=ui[u],e.position++;else if((o=ol(u))>0){for(l=o,t=0;l>0;l--)u=e.input.charCodeAt(++e.position),(o=ll(u))>=0?t=(t<<4)+o:A(e,"expected hexadecimal character");e.result+=ul(t),e.position++}else A(e,"unknown escape sequence");i=r=e.position}else R(u)?(j(e,i,r,!0),un(e,_(e,!1,n)),i=r=e.position):e.position===e.lineStart&&Ae(e)?A(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}A(e,"unexpected end of the stream within a double quoted scalar")}function dl(e,n){var i=!0,r,l,t,o=e.tag,u,f=e.anchor,s,p,c,x,v,d=Object.create(null),a,m,y,h;if(h=e.input.charCodeAt(e.position),h===91)p=93,v=!1,u=[];else if(h===123)p=125,v=!0,u={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=u),h=e.input.charCodeAt(++e.position);h!==0;){if(_(e,!0,n),h=e.input.charCodeAt(e.position),h===p)return e.position++,e.tag=o,e.anchor=f,e.kind=v?"mapping":"sequence",e.result=u,!0;i?h===44&&A(e,"expected the node content, but found ','"):A(e,"missed comma between flow collection entries"),m=a=y=null,c=x=!1,h===63&&(s=e.input.charCodeAt(e.position+1),I(s)&&(c=x=!0,e.position++,_(e,!0,n))),r=e.line,l=e.lineStart,t=e.position,X(e,n,ge,!1,!0),m=e.tag,a=e.result,_(e,!0,n),h=e.input.charCodeAt(e.position),(x||e.line===r)&&h===58&&(c=!0,h=e.input.charCodeAt(++e.position),_(e,!0,n),X(e,n,ge,!1,!0),y=e.result),v?Q(e,u,d,m,a,y,r,l,t):c?u.push(Q(e,null,d,m,a,y,r,l,t)):u.push(a),_(e,!0,n),h=e.input.charCodeAt(e.position),h===44?(i=!0,h=e.input.charCodeAt(++e.position)):i=!1}A(e,"unexpected end of the stream within a flow collection")}function pl(e,n){var i,r,l=Ve,t=!1,o=!1,u=n,f=0,s=!1,p,c;if(c=e.input.charCodeAt(e.position),c===124)r=!1;else if(c===62)r=!0;else return!1;for(e.kind="scalar",e.result="";c!==0;)if(c=e.input.charCodeAt(++e.position),c===43||c===45)Ve===l?l=c===43?Mn:el:A(e,"repeat of a chomping mode identifier");else if((p=tl(c))>=0)p===0?A(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?A(e,"repeat of an indentation width identifier"):(u=n+p-1,o=!0);else break;if(q(c)){do c=e.input.charCodeAt(++e.position);while(q(c));if(c===35)do c=e.input.charCodeAt(++e.position);while(!R(c)&&c!==0)}for(;c!==0;){for(tn(e),e.lineIndent=0,c=e.input.charCodeAt(e.position);(!o||e.lineIndent<u)&&c===32;)e.lineIndent++,c=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>u&&(u=e.lineIndent),R(c)){f++;continue}if(e.lineIndent<u){l===Mn?e.result+=L.repeat(\`
30
+ \`,t?1+f:f):l===Ve&&t&&(e.result+=\`
31
+ \`);break}for(r?q(c)?(s=!0,e.result+=L.repeat(\`
32
+ \`,t?1+f:f)):s?(s=!1,e.result+=L.repeat(\`
33
+ \`,f+1)):f===0?t&&(e.result+=" "):e.result+=L.repeat(\`
34
+ \`,f):e.result+=L.repeat(\`
35
+ \`,t?1+f:f),t=!0,o=!0,f=0,i=e.position;!R(c)&&c!==0;)c=e.input.charCodeAt(++e.position);j(e,i,e.position,!1)}return!0}function Bn(e,n){var i,r=e.tag,l=e.anchor,t=[],o,u=!1,f;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=t),f=e.input.charCodeAt(e.position);f!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,A(e,"tab characters must not be used in indentation")),!(f!==45||(o=e.input.charCodeAt(e.position+1),!I(o))));){if(u=!0,e.position++,_(e,!0,-1)&&e.lineIndent<=n){t.push(null),f=e.input.charCodeAt(e.position);continue}if(i=e.line,X(e,n,ii,!1,!0),t.push(e.result),_(e,!0,-1),f=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>n)&&f!==0)A(e,"bad indentation of a sequence entry");else if(e.lineIndent<n)break}return u?(e.tag=r,e.anchor=l,e.kind="sequence",e.result=t,!0):!1}function hl(e,n,i){var r,l,t,o,u,f,s=e.tag,p=e.anchor,c={},x=Object.create(null),v=null,d=null,a=null,m=!1,y=!1,h;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=c),h=e.input.charCodeAt(e.position);h!==0;){if(!m&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,A(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),t=e.line,(h===63||h===58)&&I(r))h===63?(m&&(Q(e,c,x,v,d,null,o,u,f),v=d=a=null),y=!0,m=!0,l=!0):m?(m=!1,l=!0):A(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,h=r;else{if(o=e.line,u=e.lineStart,f=e.position,!X(e,i,ni,!1,!0))break;if(e.line===t){for(h=e.input.charCodeAt(e.position);q(h);)h=e.input.charCodeAt(++e.position);if(h===58)h=e.input.charCodeAt(++e.position),I(h)||A(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(Q(e,c,x,v,d,null,o,u,f),v=d=a=null),y=!0,m=!1,l=!1,v=e.tag,d=e.result;else if(y)A(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=s,e.anchor=p,!0}else if(y)A(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=s,e.anchor=p,!0}if((e.line===t||e.lineIndent>n)&&(m&&(o=e.line,u=e.lineStart,f=e.position),X(e,n,xe,!0,l)&&(m?d=e.result:a=e.result),m||(Q(e,c,x,v,d,a,o,u,f),v=d=a=null),_(e,!0,-1),h=e.input.charCodeAt(e.position)),(e.line===t||e.lineIndent>n)&&h!==0)A(e,"bad indentation of a mapping entry");else if(e.lineIndent<n)break}return m&&Q(e,c,x,v,d,null,o,u,f),y&&(e.tag=s,e.anchor=p,e.kind="mapping",e.result=c),y}function ml(e){var n,i=!1,r=!1,l,t,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&A(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(i=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,l="!!",o=e.input.charCodeAt(++e.position)):l="!",n=e.position,i){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(t=e.input.slice(n,e.position),o=e.input.charCodeAt(++e.position)):A(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!I(o);)o===33&&(r?A(e,"tag suffix cannot contain exclamation marks"):(l=e.input.slice(n-1,e.position+1),ri.test(l)||A(e,"named tag handle cannot contain such characters"),r=!0,n=e.position+1)),o=e.input.charCodeAt(++e.position);t=e.input.slice(n,e.position),rl.test(t)&&A(e,"tag suffix cannot contain flow indicator characters")}t&&!li.test(t)&&A(e,"tag name cannot contain such characters: "+t);try{t=decodeURIComponent(t)}catch{A(e,"tag name is malformed: "+t)}return i?e.tag=t:B.call(e.tagMap,l)?e.tag=e.tagMap[l]+t:l==="!"?e.tag="!"+t:l==="!!"?e.tag="tag:yaml.org,2002:"+t:A(e,'undeclared tag handle "'+l+'"'),!0}function gl(e){var n,i;if(i=e.input.charCodeAt(e.position),i!==38)return!1;for(e.anchor!==null&&A(e,"duplication of an anchor property"),i=e.input.charCodeAt(++e.position),n=e.position;i!==0&&!I(i)&&!K(i);)i=e.input.charCodeAt(++e.position);return e.position===n&&A(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(n,e.position),!0}function xl(e){var n,i,r;if(r=e.input.charCodeAt(e.position),r!==42)return!1;for(r=e.input.charCodeAt(++e.position),n=e.position;r!==0&&!I(r)&&!K(r);)r=e.input.charCodeAt(++e.position);return e.position===n&&A(e,"name of an alias node must contain at least one character"),i=e.input.slice(n,e.position),B.call(e.anchorMap,i)||A(e,'unidentified alias "'+i+'"'),e.result=e.anchorMap[i],_(e,!0,-1),!0}function X(e,n,i,r,l){var t,o,u,f=1,s=!1,p=!1,c,x,v,d,a,m;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,t=o=u=xe===i||ii===i,r&&_(e,!0,-1)&&(s=!0,e.lineIndent>n?f=1:e.lineIndent===n?f=0:e.lineIndent<n&&(f=-1)),f===1)for(;ml(e)||gl(e);)_(e,!0,-1)?(s=!0,u=t,e.lineIndent>n?f=1:e.lineIndent===n?f=0:e.lineIndent<n&&(f=-1)):u=!1;if(u&&(u=s||l),(f===1||xe===i)&&(ge===i||ni===i?a=n:a=n+1,m=e.position-e.lineStart,f===1?u&&(Bn(e,m)||hl(e,m,a))||dl(e,a)?p=!0:(o&&pl(e,a)||sl(e,a)||cl(e,a)?p=!0:xl(e)?(p=!0,(e.tag!==null||e.anchor!==null)&&A(e,"alias node should not have any properties")):al(e,a,ge===i)&&(p=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):f===0&&(p=u&&Bn(e,m))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&A(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),c=0,x=e.implicitTypes.length;c<x;c+=1)if(d=e.implicitTypes[c],d.resolve(e.result)){e.result=d.construct(e.result),e.tag=d.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(B.call(e.typeMap[e.kind||"fallback"],e.tag))d=e.typeMap[e.kind||"fallback"][e.tag];else for(d=null,v=e.typeMap.multi[e.kind||"fallback"],c=0,x=v.length;c<x;c+=1)if(e.tag.slice(0,v[c].tag.length)===v[c].tag){d=v[c];break}d||A(e,"unknown tag !<"+e.tag+">"),e.result!==null&&d.kind!==e.kind&&A(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+d.kind+'", not "'+e.kind+'"'),d.resolve(e.result,e.tag)?(e.result=d.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):A(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||p}function vl(e){var n=e.position,i,r,l,t=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(_(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(t=!0,o=e.input.charCodeAt(++e.position),i=e.position;o!==0&&!I(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(i,e.position),l=[],r.length<1&&A(e,"directive name must not be less than one character in length");o!==0;){for(;q(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!R(o));break}if(R(o))break;for(i=e.position;o!==0&&!I(o);)o=e.input.charCodeAt(++e.position);l.push(e.input.slice(i,e.position))}o!==0&&tn(e),B.call(Hn,r)?Hn[r](e,r,l):ve(e,'unknown document directive "'+r+'"')}if(_(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,_(e,!0,-1)):t&&A(e,"directives end mark is expected"),X(e,e.lineIndent-1,xe,!1,!0),_(e,!0,-1),e.checkLineBreaks&&il.test(e.input.slice(n,e.position))&&ve(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Ae(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,_(e,!0,-1));return}if(e.position<e.length-1)A(e,"end of the stream or a document separator is expected");else return}function ai(e,n){e=String(e),n=n||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=\`
36
+ \`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var i=new fl(e,n),r=e.indexOf("\\0");for(r!==-1&&(i.position=r,A(i,"null byte is not allowed in input")),i.input+="\\0";i.input.charCodeAt(i.position)===32;)i.lineIndent+=1,i.position+=1;for(;i.position<i.length-1;)vl(i);return i.documents}function yl(e,n,i){n!==null&&typeof n=="object"&&typeof i>"u"&&(i=n,n=null);var r=ai(e,i);if(typeof n!="function")return r;for(var l=0,t=r.length;l<t;l+=1)n(r[l])}function wl(e,n){var i=ai(e,n);if(i.length!==0){if(i.length===1)return i[0];throw new O("expected a single document in the stream, but found more")}}var Al=yl,Cl=wl,si={loadAll:Al,load:Cl},ci=Object.prototype.toString,di=Object.prototype.hasOwnProperty,fn=65279,bl=9,te=10,Sl=13,El=32,Fl=33,_l=34,en=35,Ll=37,Nl=38,kl=39,Ol=42,pi=44,Il=45,ye=58,Tl=61,Dl=62,Rl=63,Ml=64,hi=91,mi=93,Pl=96,gi=123,Wl=124,xi=125,k={};k[0]="\\\\0";k[7]="\\\\a";k[8]="\\\\b";k[9]="\\\\t";k[10]="\\\\n";k[11]="\\\\v";k[12]="\\\\f";k[13]="\\\\r";k[27]="\\\\e";k[34]='\\\\"';k[92]="\\\\\\\\";k[133]="\\\\N";k[160]="\\\\_";k[8232]="\\\\L";k[8233]="\\\\P";var Hl=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],jl=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\\.[0-9_]*)?$/;function Bl(e,n){var i,r,l,t,o,u,f;if(n===null)return{};for(i={},r=Object.keys(n),l=0,t=r.length;l<t;l+=1)o=r[l],u=String(n[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),f=e.compiledTypeMap.fallback[o],f&&di.call(f.styleAliases,u)&&(u=f.styleAliases[u]),i[o]=u;return i}function Ul(e){var n,i,r;if(n=e.toString(16).toUpperCase(),e<=255)i="x",r=2;else if(e<=65535)i="u",r=4;else if(e<=4294967295)i="U",r=8;else throw new O("code point within a string may not be greater than 0xFFFFFFFF");return"\\\\"+i+L.repeat("0",r-n.length)+n}var Yl=1,ue=2;function $l(e){this.schema=e.schema||ei,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=L.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=Bl(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?ue:Yl,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Un(e,n){for(var i=L.repeat(" ",n),r=0,l=-1,t="",o,u=e.length;r<u;)l=e.indexOf(\`
37
+ \`,r),l===-1?(o=e.slice(r),r=u):(o=e.slice(r,l+1),r=l+1),o.length&&o!==\`
38
+ \`&&(t+=i),t+=o;return t}function nn(e,n){return\`
39
+ \`+L.repeat(" ",e.indent*n)}function ql(e,n){var i,r,l;for(i=0,r=e.implicitTypes.length;i<r;i+=1)if(l=e.implicitTypes[i],l.resolve(n))return!0;return!1}function we(e){return e===El||e===bl}function fe(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==fn||65536<=e&&e<=1114111}function Yn(e){return fe(e)&&e!==fn&&e!==Sl&&e!==te}function $n(e,n,i){var r=Yn(e),l=r&&!we(e);return(i?r:r&&e!==pi&&e!==hi&&e!==mi&&e!==gi&&e!==xi)&&e!==en&&!(n===ye&&!l)||Yn(n)&&!we(n)&&e===en||n===ye&&l}function Gl(e){return fe(e)&&e!==fn&&!we(e)&&e!==Il&&e!==Rl&&e!==ye&&e!==pi&&e!==hi&&e!==mi&&e!==gi&&e!==xi&&e!==en&&e!==Nl&&e!==Ol&&e!==Fl&&e!==Wl&&e!==Tl&&e!==Dl&&e!==kl&&e!==_l&&e!==Ll&&e!==Ml&&e!==Pl}function zl(e){return!we(e)&&e!==ye}function le(e,n){var i=e.charCodeAt(n),r;return i>=55296&&i<=56319&&n+1<e.length&&(r=e.charCodeAt(n+1),r>=56320&&r<=57343)?(i-55296)*1024+r-56320+65536:i}function vi(e){var n=/^\\n* /;return n.test(e)}var yi=1,rn=2,wi=3,Ai=4,J=5;function Jl(e,n,i,r,l,t,o,u){var f,s=0,p=null,c=!1,x=!1,v=r!==-1,d=-1,a=Gl(le(e,0))&&zl(le(e,e.length-1));if(n||o)for(f=0;f<e.length;s>=65536?f+=2:f++){if(s=le(e,f),!fe(s))return J;a=a&&$n(s,p,u),p=s}else{for(f=0;f<e.length;s>=65536?f+=2:f++){if(s=le(e,f),s===te)c=!0,v&&(x=x||f-d-1>r&&e[d+1]!==" ",d=f);else if(!fe(s))return J;a=a&&$n(s,p,u),p=s}x=x||v&&f-d-1>r&&e[d+1]!==" "}return!c&&!x?a&&!o&&!l(e)?yi:t===ue?J:rn:i>9&&vi(e)?J:o?t===ue?J:rn:x?Ai:wi}function Kl(e,n,i,r,l){e.dump=(function(){if(n.length===0)return e.quotingType===ue?'""':"''";if(!e.noCompatMode&&(Hl.indexOf(n)!==-1||jl.test(n)))return e.quotingType===ue?'"'+n+'"':"'"+n+"'";var t=e.indent*Math.max(1,i),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-t),u=r||e.flowLevel>-1&&i>=e.flowLevel;function f(s){return ql(e,s)}switch(Jl(n,u,e.indent,o,f,e.quotingType,e.forceQuotes&&!r,l)){case yi:return n;case rn:return"'"+n.replace(/'/g,"''")+"'";case wi:return"|"+qn(n,e.indent)+Gn(Un(n,t));case Ai:return">"+qn(n,e.indent)+Gn(Un(Ql(n,o),t));case J:return'"'+Xl(n)+'"';default:throw new O("impossible error: invalid scalar style")}})()}function qn(e,n){var i=vi(e)?String(n):"",r=e[e.length-1]===\`
40
+ \`,l=r&&(e[e.length-2]===\`
41
+ \`||e===\`
42
+ \`),t=l?"+":r?"":"-";return i+t+\`
43
+ \`}function Gn(e){return e[e.length-1]===\`
44
+ \`?e.slice(0,-1):e}function Ql(e,n){for(var i=/(\\n+)([^\\n]*)/g,r=(function(){var s=e.indexOf(\`
45
+ \`);return s=s!==-1?s:e.length,i.lastIndex=s,zn(e.slice(0,s),n)})(),l=e[0]===\`
46
+ \`||e[0]===" ",t,o;o=i.exec(e);){var u=o[1],f=o[2];t=f[0]===" ",r+=u+(!l&&!t&&f!==""?\`
47
+ \`:"")+zn(f,n),l=t}return r}function zn(e,n){if(e===""||e[0]===" ")return e;for(var i=/ [^ ]/g,r,l=0,t,o=0,u=0,f="";r=i.exec(e);)u=r.index,u-l>n&&(t=o>l?o:u,f+=\`
48
+ \`+e.slice(l,t),l=t+1),o=u;return f+=\`
49
+ \`,e.length-l>n&&o>l?f+=e.slice(l,o)+\`
50
+ \`+e.slice(o+1):f+=e.slice(l),f.slice(1)}function Xl(e){for(var n="",i=0,r,l=0;l<e.length;i>=65536?l+=2:l++)i=le(e,l),r=k[i],!r&&fe(i)?(n+=e[l],i>=65536&&(n+=e[l+1])):n+=r||Ul(i);return n}function Vl(e,n,i){var r="",l=e.tag,t,o,u;for(t=0,o=i.length;t<o;t+=1)u=i[t],e.replacer&&(u=e.replacer.call(i,String(t),u)),(P(e,n,u,!1,!1)||typeof u>"u"&&P(e,n,null,!1,!1))&&(r!==""&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=l,e.dump="["+r+"]"}function Jn(e,n,i,r){var l="",t=e.tag,o,u,f;for(o=0,u=i.length;o<u;o+=1)f=i[o],e.replacer&&(f=e.replacer.call(i,String(o),f)),(P(e,n+1,f,!0,!0,!1,!0)||typeof f>"u"&&P(e,n+1,null,!0,!0,!1,!0))&&((!r||l!=="")&&(l+=nn(e,n)),e.dump&&te===e.dump.charCodeAt(0)?l+="-":l+="- ",l+=e.dump);e.tag=t,e.dump=l||"[]"}function Zl(e,n,i){var r="",l=e.tag,t=Object.keys(i),o,u,f,s,p;for(o=0,u=t.length;o<u;o+=1)p="",r!==""&&(p+=", "),e.condenseFlow&&(p+='"'),f=t[o],s=i[f],e.replacer&&(s=e.replacer.call(i,f,s)),P(e,n,f,!1,!1)&&(e.dump.length>1024&&(p+="? "),p+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),P(e,n,s,!1,!1)&&(p+=e.dump,r+=p));e.tag=l,e.dump="{"+r+"}"}function eo(e,n,i,r){var l="",t=e.tag,o=Object.keys(i),u,f,s,p,c,x;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new O("sortKeys must be a boolean or a function");for(u=0,f=o.length;u<f;u+=1)x="",(!r||l!=="")&&(x+=nn(e,n)),s=o[u],p=i[s],e.replacer&&(p=e.replacer.call(i,s,p)),P(e,n+1,s,!0,!0,!0)&&(c=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,c&&(e.dump&&te===e.dump.charCodeAt(0)?x+="?":x+="? "),x+=e.dump,c&&(x+=nn(e,n)),P(e,n+1,p,!0,c)&&(e.dump&&te===e.dump.charCodeAt(0)?x+=":":x+=": ",x+=e.dump,l+=x));e.tag=t,e.dump=l||"{}"}function Kn(e,n,i){var r,l,t,o,u,f;for(l=i?e.explicitTypes:e.implicitTypes,t=0,o=l.length;t<o;t+=1)if(u=l[t],(u.instanceOf||u.predicate)&&(!u.instanceOf||typeof n=="object"&&n instanceof u.instanceOf)&&(!u.predicate||u.predicate(n))){if(i?u.multi&&u.representName?e.tag=u.representName(n):e.tag=u.tag:e.tag="?",u.represent){if(f=e.styleMap[u.tag]||u.defaultStyle,ci.call(u.represent)==="[object Function]")r=u.represent(n,f);else if(di.call(u.represent,f))r=u.represent[f](n,f);else throw new O("!<"+u.tag+'> tag resolver accepts not "'+f+'" style');e.dump=r}return!0}return!1}function P(e,n,i,r,l,t,o){e.tag=null,e.dump=i,Kn(e,i,!1)||Kn(e,i,!0);var u=ci.call(e.dump),f=r,s;r&&(r=e.flowLevel<0||e.flowLevel>n);var p=u==="[object Object]"||u==="[object Array]",c,x;if(p&&(c=e.duplicates.indexOf(i),x=c!==-1),(e.tag!==null&&e.tag!=="?"||x||e.indent!==2&&n>0)&&(l=!1),x&&e.usedDuplicates[c])e.dump="*ref_"+c;else{if(p&&x&&!e.usedDuplicates[c]&&(e.usedDuplicates[c]=!0),u==="[object Object]")r&&Object.keys(e.dump).length!==0?(eo(e,n,e.dump,l),x&&(e.dump="&ref_"+c+e.dump)):(Zl(e,n,e.dump),x&&(e.dump="&ref_"+c+" "+e.dump));else if(u==="[object Array]")r&&e.dump.length!==0?(e.noArrayIndent&&!o&&n>0?Jn(e,n-1,e.dump,l):Jn(e,n,e.dump,l),x&&(e.dump="&ref_"+c+e.dump)):(Vl(e,n,e.dump),x&&(e.dump="&ref_"+c+" "+e.dump));else if(u==="[object String]")e.tag!=="?"&&Kl(e,e.dump,n,t,f);else{if(u==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new O("unacceptable kind of an object to dump "+u)}e.tag!==null&&e.tag!=="?"&&(s=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?s="!"+s:s.slice(0,18)==="tag:yaml.org,2002:"?s="!!"+s.slice(18):s="!<"+s+">",e.dump=s+" "+e.dump)}return!0}function no(e,n){var i=[],r=[],l,t;for(ln(e,i,r),l=0,t=r.length;l<t;l+=1)n.duplicates.push(i[r[l]]);n.usedDuplicates=new Array(t)}function ln(e,n,i){var r,l,t;if(e!==null&&typeof e=="object")if(l=n.indexOf(e),l!==-1)i.indexOf(l)===-1&&i.push(l);else if(n.push(e),Array.isArray(e))for(l=0,t=e.length;l<t;l+=1)ln(e[l],n,i);else for(r=Object.keys(e),l=0,t=r.length;l<t;l+=1)ln(e[r[l]],n,i)}function io(e,n){n=n||{};var i=new $l(n);i.noRefs||no(e,i);var r=e;return i.replacer&&(r=i.replacer.call({"":r},"",r)),P(i,0,r,!0,!0)?i.dump+\`
51
+ \`:""}var ro=io,lo={dump:ro};function an(e,n){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+n+" instead, which is now safe by default.")}}var sn=si.load,st=si.loadAll,Ce=lo.dump;var ct=an("safeLoad","load"),dt=an("safeLoadAll","loadAll"),pt=an("safeDump","dump");var to=Ke;function D(e,n){return n==="yaml"?Ce(e,{indent:2,lineWidth:-1,noRefs:!0}).trimEnd():JSON.stringify(e,null,2)}function uo(e,n,i="json"){let r=D(e,i),l=D(n,i);return r===l?[{value:r}]:cn(e,n,0,i)}function fo(e,n){return uo(e,n,"json")}function ao(e,n){try{let i=JSON.parse(e),r=JSON.parse(n),l=JSON.stringify(i),t=JSON.stringify(r);return l===t?[{value:e}]:T(e,n,{newlineIsToken:!1})}catch{return T(e,n,{newlineIsToken:!1})}}function so(e,n){let i=sn(e),r=sn(n),l=Ce(i,{indent:2,lineWidth:-1,noRefs:!0}),t=Ce(r,{indent:2,lineWidth:-1,noRefs:!0});return l===t?[{value:e}]:T(e,n,{newlineIsToken:!1})}function cn(e,n,i,r="json"){let l=D(e,r),t=D(n,r);return l===t?[{value:W(l,i,r)}]:typeof e=="object"&&e!==null&&typeof n=="object"&&n!==null&&!Array.isArray(e)&&!Array.isArray(n)?co(e,n,i,r):Array.isArray(e)&&Array.isArray(n)?po(e,n,i,r):ho(l,t,i,r)}function co(e,n,i,r="json"){let l=[],t=" ".repeat(i),o=" ".repeat(i+1),u=new Set(Object.keys(e)),f=Object.keys(n),s=[...u].filter(c=>!(c in n)),p=[...f,...s];l.push({value:\`{
52
+ \`});for(let c=0;c<p.length;c++){let x=p[c],d=c===p.length-1?"":",",a=x in e,m=x in n;if(a&&m){let y=D(e[x],r),h=D(n[x],r);if(y===h){let g=W(y,i+1);l.push({value:o+JSON.stringify(x)+": "+g+d+\`
53
+ \`})}else{let g=o+JSON.stringify(x)+": ",w=cn(e[x],n[x],i+1,r);if(w.length>0)if(!w[0].removed&&!w[0].added)w[0].value=g+w[0].value;else{let C=w.find(b=>b.removed),E=w.find(b=>b.added);C&&(C.value=g+C.value),E&&(E.value=g+E.value)}if(d&&w.length>0){let C=w[w.length-1];C.value=C.value.replace(/\\n$/,d+\`
54
+ \`)}l.push(...w)}}else if(a){let y=W(D(e[x],r),i+1);l.push({removed:!0,value:o+JSON.stringify(x)+": "+y+d+\`
55
+ \`})}else{let y=W(D(n[x],r),i+1);l.push({added:!0,value:o+JSON.stringify(x)+": "+y+d+\`
56
+ \`})}}return l.push({value:t+\`}
57
+ \`}),l}function po(e,n,i,r="json"){let l=[],t=" ".repeat(i),o=" ".repeat(i+1);l.push({value:\`[
58
+ \`});let u=Math.max(e.length,n.length);for(let f=0;f<u;f++){let p=f===u-1?"":",";if(f>=e.length){let c=W(D(n[f],r),i+1);l.push({added:!0,value:o+c+p+\`
59
+ \`})}else if(f>=n.length){let c=W(D(e[f],r),i+1);l.push({removed:!0,value:o+c+p+\`
60
+ \`})}else{let c=D(e[f],r),x=D(n[f],r);if(c===x){let v=W(c,i+1);l.push({value:o+v+p+\`
61
+ \`})}else{let v=cn(e[f],n[f],i+1,r);if(v.length>0&&(v[0].value=o+v[0].value),p&&v.length>0){let d=v[v.length-1];d.value=d.value.replace(/\\n$/,p+\`
62
+ \`)}l.push(...v)}}}return l.push({value:t+\`]
63
+ \`}),l}function ho(e,n,i,r="json"){let l=W(e,i),t=W(n,i);return T(l,t).map(u=>({value:u.value,added:u.added,removed:u.removed}))}function W(e,n,i="json"){if(n===0)return e;let r=" ".repeat(n);return e.split(\`
64
+ \`).map((l,t)=>t===0?l:r+l).join(\`
65
+ \`)}var Ci=e=>e===""?[]:e.replace(/\\n$/,"").split(\`
66
+ \`),mo=(e,n,i="diffChars")=>{let l=(typeof i=="string"?to[i]:i)(e,n),t={left:[],right:[]};return l.forEach(({added:o,removed:u,value:f})=>{if(o)t.right.push({type:1,value:f});else if(u)t.left.push({type:2,value:f});else{let s={type:0,value:f};t.right.push(s),t.left.push(s)}}),t},bi=(e,n,i=!1,r="diffChars",l=0,t=[],o=!1)=>{let u=[];if(typeof e=="string"&&typeof n=="string")if(r==="diffJson")u=ao(e,n);else if(r==="diffYaml")try{u=so(e,n)}catch{u=T(e,n,{newlineIsToken:!1})}else u=T(e,n,{newlineIsToken:!1});else u=fo(e,n);let f=l,s=l,p=[],c=0,x=[],v=[],d=(a,m,y,h,g)=>Ci(a).map((C,E)=>{let b={},S={};if(!(v.includes(\`\${m}-\${E}\`)||g&&E!==0)){if(y||h){let M=!0;if(h){s+=1,b.lineNumber=s,b.type=2,b.value=C||" ";let V=u[m+1];if(V?.added){let Z=Ci(V.value)[E];if(Z){let Si=d(Z,m,!0,!1,!0),{value:U,lineNumber:Ei,type:Fi}=Si[0].right;if(v.push(\`\${m+1}-\${E}\`),S.lineNumber=Ei,b.value===U)M=!1,S.type=0,b.type=0,S.value=U;else{S.type=Fi;let dn=500,_i=C.length>dn||U.length>dn;if(i||_i)S.value=U;else if(o)b.rawValue=C,b.value=C,S.rawValue=U,S.value=U;else{let pn=mo(C,U,r);S.value=pn.right,b.value=pn.left}}}}}else f+=1,S.lineNumber=f,S.type=1,S.value=C;M&&!g&&(x.includes(c)||x.push(c))}else s+=1,f+=1,b.lineNumber=s,b.type=0,b.value=C,S.lineNumber=f,S.type=0,S.value=C;return(t?.includes(\`L-\${b.lineNumber}\`)||t?.includes(\`R-\${S.lineNumber}\`)&&!x.includes(c))&&x.push(c),g||(c+=1),{right:S,left:b}}}).filter(C=>C!=null);return u.forEach(({added:a,removed:m,value:y},h)=>{p=[...p,...d(y,h,a,m)]}),{lineInformation:p,diffLines:x}};self.onmessage=e=>{let{oldString:n,newString:i,disableWordDiff:r,lineCompareMethod:l,linesOffset:t,showLines:o,deferWordDiff:u}=e.data,f=bi(n,i,r,l,t,o,u);self.postMessage(f)};})();
67
+ /*! Bundled license information:
68
+
69
+ js-yaml/dist/js-yaml.mjs:
70
+ (*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
71
+ */
72
+ `;export{e as WORKER_CODE};
@@ -1,4 +1,4 @@
1
- import{_ as a,s as gi,g as xi,q as Xt,p as di,a as fi,b as pi,l as Nt,H as mi,e as yi,y as bi,E as St,D as Yt,F as Ai,K as wi,i as Ci,aA as Si,R as Wt}from"./index-BcvRuFYs.js";import{i as _i}from"./init-Gi6I4Gst.js";import{o as ki}from"./ordinal-Cboi1Yqb.js";import{l as zt}from"./linear-CPWCLHud.js";import"./defaultLocale-C4B-KCzX.js";function Ri(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s<n;)o[s]=e+s*i;return o}function yt(){var e=ki().unknown(void 0),t=e.domain,i=e.range,s=0,n=1,o,g,m=!1,p=0,k=0,v=.5;delete e.unknown;function C(){var b=t().length,E=n<s,D=E?n:s,P=E?s:n;o=(P-D)/Math.max(1,b-p+k*2),m&&(o=Math.floor(o)),D+=(P-D-o*(b-p))*v,g=o*(1-p),m&&(D=Math.round(D),g=Math.round(g));var I=Ri(b).map(function(y){return D+o*y});return i(E?I.reverse():I)}return e.domain=function(b){return arguments.length?(t(b),C()):t()},e.range=function(b){return arguments.length?([s,n]=b,s=+s,n=+n,C()):[s,n]},e.rangeRound=function(b){return[s,n]=b,s=+s,n=+n,m=!0,C()},e.bandwidth=function(){return g},e.step=function(){return o},e.round=function(b){return arguments.length?(m=!!b,C()):m},e.padding=function(b){return arguments.length?(p=Math.min(1,k=+b),C()):p},e.paddingInner=function(b){return arguments.length?(p=Math.min(1,b),C()):p},e.paddingOuter=function(b){return arguments.length?(k=+b,C()):k},e.align=function(b){return arguments.length?(v=Math.max(0,Math.min(1,b)),C()):v},e.copy=function(){return yt(t(),[s,n]).round(m).paddingInner(p).paddingOuter(k).align(v)},_i.apply(C(),arguments)}var bt=(function(){var e=a(function(F,h,u,x){for(u=u||{},x=F.length;x--;u[F[x]]=h);return u},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],o=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],k=[1,26],v=[1,28],C=[1,29],b=[1,30],E=[1,31],D=[1,32],P=[1,33],I=[1,34],y=[1,35],_=[1,36],c=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],l=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],S=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],$={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(h,u,x,d,w,r,at){var f=r.length-1;switch(w){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:o,36:g}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:o,36:g}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:o,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,34]),e(m,[2,35]),e(m,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:o,36:g}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,34:n,35:o,36:g}),{11:23,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:45,15:44,27:U,33:46,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:49,17:48,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:52,17:51,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{20:[1,53]},{22:[1,54]},e(l,[2,18]),{1:[2,2]},e(l,[2,8]),e(l,[2,9]),e(L,[2,37],{40:55,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c}),e(L,[2,38]),e(L,[2,39]),e(S,[2,40]),e(S,[2,42]),e(S,[2,43]),e(S,[2,44]),e(S,[2,45]),e(S,[2,46]),e(S,[2,47]),e(S,[2,48]),e(S,[2,49]),e(S,[2,50]),e(S,[2,51]),e(l,[2,10]),e(l,[2,22],{30:41,29:56,24:W,27:z}),e(l,[2,24]),e(l,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,11]),e(l,[2,30],{33:60,27:U}),e(l,[2,32]),{31:[1,61]},e(l,[2,12]),{17:62,24:X},{25:63,27:R},e(l,[2,14]),{17:65,24:X},e(l,[2,16]),e(l,[2,17]),e(S,[2,41]),e(l,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(l,[2,31]),{27:[1,69]},e(l,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(l,[2,15]),e(l,[2,26]),e(l,[2,27]),{11:59,32:72,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,33]),e(l,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(h,u){if(u.recoverable)this.trace(h);else{var x=new Error(h);throw x.hash=u,x}},"parseError"),parse:a(function(h){var u=this,x=[0],d=[],w=[null],r=[],at=this.table,f="",lt=0,It=0,hi=2,Mt=1,li=r.slice.call(arguments,1),T=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);T.setInput(h,Y.yy),Y.yy.lexer=T,Y.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var ft=T.yylloc;r.push(ft);var ci=T.options&&T.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ui(V){x.length=x.length-2*V,w.length=w.length-V,r.length=r.length-V}a(ui,"popStack");function Vt(){var V;return V=d.pop()||T.lex()||Mt,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=u.symbols_[V]||V),V}a(Vt,"lex");for(var M,H,B,pt,q={},ct,O,Bt,ut;;){if(H=x[x.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((M===null||typeof M>"u")&&(M=Vt()),B=at[H]&&at[H][M]),typeof B>"u"||!B.length||!B[0]){var mt="";ut=[];for(ct in at[H])this.terminals_[ct]&&ct>hi&&ut.push("'"+this.terminals_[ct]+"'");T.showPosition?mt="Parse error on line "+(lt+1)+`:
1
+ import{_ as a,s as gi,g as xi,q as Xt,p as di,a as fi,b as pi,l as Nt,H as mi,e as yi,y as bi,E as St,D as Yt,F as Ai,K as wi,i as Ci,aA as Si,R as Wt}from"./index-CLneYKld.js";import{i as _i}from"./init-Gi6I4Gst.js";import{o as ki}from"./ordinal-Cboi1Yqb.js";import{l as zt}from"./linear-B75YF8Ml.js";import"./defaultLocale-C4B-KCzX.js";function Ri(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s<n;)o[s]=e+s*i;return o}function yt(){var e=ki().unknown(void 0),t=e.domain,i=e.range,s=0,n=1,o,g,m=!1,p=0,k=0,v=.5;delete e.unknown;function C(){var b=t().length,E=n<s,D=E?n:s,P=E?s:n;o=(P-D)/Math.max(1,b-p+k*2),m&&(o=Math.floor(o)),D+=(P-D-o*(b-p))*v,g=o*(1-p),m&&(D=Math.round(D),g=Math.round(g));var I=Ri(b).map(function(y){return D+o*y});return i(E?I.reverse():I)}return e.domain=function(b){return arguments.length?(t(b),C()):t()},e.range=function(b){return arguments.length?([s,n]=b,s=+s,n=+n,C()):[s,n]},e.rangeRound=function(b){return[s,n]=b,s=+s,n=+n,m=!0,C()},e.bandwidth=function(){return g},e.step=function(){return o},e.round=function(b){return arguments.length?(m=!!b,C()):m},e.padding=function(b){return arguments.length?(p=Math.min(1,k=+b),C()):p},e.paddingInner=function(b){return arguments.length?(p=Math.min(1,b),C()):p},e.paddingOuter=function(b){return arguments.length?(k=+b,C()):k},e.align=function(b){return arguments.length?(v=Math.max(0,Math.min(1,b)),C()):v},e.copy=function(){return yt(t(),[s,n]).round(m).paddingInner(p).paddingOuter(k).align(v)},_i.apply(C(),arguments)}var bt=(function(){var e=a(function(F,h,u,x){for(u=u||{},x=F.length;x--;u[F[x]]=h);return u},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],o=[1,6],g=[1,7],m=[1,5,10,12,14,16,18,19,21,23,34,35,36],p=[1,25],k=[1,26],v=[1,28],C=[1,29],b=[1,30],E=[1,31],D=[1,32],P=[1,33],I=[1,34],y=[1,35],_=[1,36],c=[1,37],W=[1,43],z=[1,42],U=[1,47],X=[1,50],l=[1,10,12,14,16,18,19,21,23,34,35,36],L=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],S=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],$={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:a(function(h,u,x,d,w,r,at){var f=r.length-1;switch(w){case 5:d.setOrientation(r[f]);break;case 9:d.setDiagramTitle(r[f].text.trim());break;case 12:d.setLineData({text:"",type:"text"},r[f]);break;case 13:d.setLineData(r[f-1],r[f]);break;case 14:d.setBarData({text:"",type:"text"},r[f]);break;case 15:d.setBarData(r[f-1],r[f]);break;case 16:this.$=r[f].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=r[f].trim(),d.setAccDescription(this.$);break;case 19:this.$=r[f-1];break;case 20:this.$=[Number(r[f-2]),...r[f]];break;case 21:this.$=[Number(r[f])];break;case 22:d.setXAxisTitle(r[f]);break;case 23:d.setXAxisTitle(r[f-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(r[f]);break;case 26:d.setXAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 27:this.$=r[f-1];break;case 28:this.$=[r[f-2],...r[f]];break;case 29:this.$=[r[f]];break;case 30:d.setYAxisTitle(r[f]);break;case 31:d.setYAxisTitle(r[f-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(r[f-2]),Number(r[f]));break;case 37:this.$={text:r[f],type:"text"};break;case 38:this.$={text:r[f],type:"text"};break;case 39:this.$={text:r[f],type:"markdown"};break;case 40:this.$=r[f];break;case 41:this.$=r[f-1]+""+r[f];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,34:n,35:o,36:g}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,34:n,35:o,36:g}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:o,36:g}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,34]),e(m,[2,35]),e(m,[2,36]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,34:n,35:o,36:g}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,34:n,35:o,36:g}),{11:23,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:39,13:38,24:W,27:z,29:40,30:41,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:45,15:44,27:U,33:46,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:49,17:48,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{11:52,17:51,24:X,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},{20:[1,53]},{22:[1,54]},e(l,[2,18]),{1:[2,2]},e(l,[2,8]),e(l,[2,9]),e(L,[2,37],{40:55,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c}),e(L,[2,38]),e(L,[2,39]),e(S,[2,40]),e(S,[2,42]),e(S,[2,43]),e(S,[2,44]),e(S,[2,45]),e(S,[2,46]),e(S,[2,47]),e(S,[2,48]),e(S,[2,49]),e(S,[2,50]),e(S,[2,51]),e(l,[2,10]),e(l,[2,22],{30:41,29:56,24:W,27:z}),e(l,[2,24]),e(l,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,11]),e(l,[2,30],{33:60,27:U}),e(l,[2,32]),{31:[1,61]},e(l,[2,12]),{17:62,24:X},{25:63,27:R},e(l,[2,14]),{17:65,24:X},e(l,[2,16]),e(l,[2,17]),e(S,[2,41]),e(l,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(l,[2,31]),{27:[1,69]},e(l,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(l,[2,15]),e(l,[2,26]),e(l,[2,27]),{11:59,32:72,37:24,38:p,39:k,40:27,41:v,42:C,43:b,44:E,45:D,46:P,47:I,48:y,49:_,50:c},e(l,[2,33]),e(l,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:a(function(h,u){if(u.recoverable)this.trace(h);else{var x=new Error(h);throw x.hash=u,x}},"parseError"),parse:a(function(h){var u=this,x=[0],d=[],w=[null],r=[],at=this.table,f="",lt=0,It=0,hi=2,Mt=1,li=r.slice.call(arguments,1),T=Object.create(this.lexer),Y={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Y.yy[dt]=this.yy[dt]);T.setInput(h,Y.yy),Y.yy.lexer=T,Y.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var ft=T.yylloc;r.push(ft);var ci=T.options&&T.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ui(V){x.length=x.length-2*V,w.length=w.length-V,r.length=r.length-V}a(ui,"popStack");function Vt(){var V;return V=d.pop()||T.lex()||Mt,typeof V!="number"&&(V instanceof Array&&(d=V,V=d.pop()),V=u.symbols_[V]||V),V}a(Vt,"lex");for(var M,H,B,pt,q={},ct,O,Bt,ut;;){if(H=x[x.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((M===null||typeof M>"u")&&(M=Vt()),B=at[H]&&at[H][M]),typeof B>"u"||!B.length||!B[0]){var mt="";ut=[];for(ct in at[H])this.terminals_[ct]&&ct>hi&&ut.push("'"+this.terminals_[ct]+"'");T.showPosition?mt="Parse error on line "+(lt+1)+`:
2
2
  `+T.showPosition()+`
3
3
  Expecting `+ut.join(", ")+", got '"+(this.terminals_[M]||M)+"'":mt="Parse error on line "+(lt+1)+": Unexpected "+(M==Mt?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(mt,{text:T.match,token:this.terminals_[M]||M,line:T.yylineno,loc:ft,expected:ut})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+M);switch(B[0]){case 1:x.push(M),w.push(T.yytext),r.push(T.yylloc),x.push(B[1]),M=null,It=T.yyleng,f=T.yytext,lt=T.yylineno,ft=T.yylloc;break;case 2:if(O=this.productions_[B[1]][1],q.$=w[w.length-O],q._$={first_line:r[r.length-(O||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(O||1)].first_column,last_column:r[r.length-1].last_column},ci&&(q._$.range=[r[r.length-(O||1)].range[0],r[r.length-1].range[1]]),pt=this.performAction.apply(q,[f,It,lt,Y.yy,B[1],w,r].concat(li)),typeof pt<"u")return pt;O&&(x=x.slice(0,-1*O*2),w=w.slice(0,-1*O),r=r.slice(0,-1*O)),x.push(this.productions_[B[1]][0]),w.push(q.$),r.push(q._$),Bt=at[x[x.length-2]][x[x.length-1]],x.push(Bt);break;case 3:return!0}}return!0},"parse")},Et=(function(){var F={EOF:1,parseError:a(function(u,x){if(this.yy.parser)this.yy.parser.parseError(u,x);else throw new Error(u)},"parseError"),setInput:a(function(h,u){return this.yy=u||this.yy||{},this._input=h,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},"setInput"),input:a(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var u=h.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:a(function(h){var u=h.length,x=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var d=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),x.length-1&&(this.yylineno-=x.length-1);var w=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:x?(x.length===d.length?this.yylloc.first_column:0)+d[d.length-x.length].length-x[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(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).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(h){this.unput(this.match.slice(h))},"less"),pastInput:a(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var h=this.pastInput(),u=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
package/dist/index.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Markdown Review</title>
7
- <script type="module" crossorigin src="/assets/index-BcvRuFYs.js"></script>
8
- <link rel="stylesheet" crossorigin href="/assets/index-Db98Ybtz.css">
7
+ <script type="module" crossorigin src="/assets/index-CLneYKld.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index-CjRkYqDt.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "md-review-server",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Visual Markdown review server with Codex skill, sidecar comments, and HTTP APIs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -78,6 +78,7 @@
78
78
  "mri": "^1.2.0",
79
79
  "open": "^11.0.0",
80
80
  "react": "^19.0.0",
81
+ "react-diff-viewer-continued": "4.2.2",
81
82
  "react-dom": "^19.0.0",
82
83
  "react-markdown": "^10.1.0",
83
84
  "rehype-highlight": "^7.0.2",
@@ -1 +0,0 @@
1
- import{ap as o,aq as n}from"./index-BcvRuFYs.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-CTbGViQg.js";import{_ as i}from"./index-BcvRuFYs.js";import"./chunk-FMBD7UC4-Cejd2Qga.js";import"./chunk-55IACEB6-D0VSlUME.js";import"./chunk-QN33PNHL-CSYbobj9.js";var p={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{p as diagram};
@@ -1 +0,0 @@
1
- import{s as a,c as s,a as e,C as t}from"./chunk-B4BG7PRW-CTbGViQg.js";import{_ as i}from"./index-BcvRuFYs.js";import"./chunk-FMBD7UC4-Cejd2Qga.js";import"./chunk-55IACEB6-D0VSlUME.js";import"./chunk-QN33PNHL-CSYbobj9.js";var p={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{p as diagram};
@@ -1 +0,0 @@
1
- import{b as r}from"./graph-BY0lo9mk.js";var e=4;function a(o){return r(o,e)}export{a as c};