diff --git a/.editorconfig b/.editorconfig index 871c2f2fb484..d60b940abe37 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,7 @@ root = true [*] end_of_line = lf insert_final_newline = true -charset = utf8 +charset = utf-8 [*.{js,jsx,ts,tsx,graphql,sql,md,html,mjml,json,jsonc,json5,yml,yaml,template,sh,Dockerfile}] indent_style = space diff --git a/.github/actions/check_create_redwood_app/package.json b/.github/actions/check_create_redwood_app/package.json index 11a229c6dafa..f86413cdeb88 100644 --- a/.github/actions/check_create_redwood_app/package.json +++ b/.github/actions/check_create_redwood_app/package.json @@ -5,5 +5,5 @@ "@actions/core": "1.10.1", "@actions/exec": "1.1.1" }, - "packageManager": "yarn@3.6.3" + "packageManager": "yarn@3.7.0" } diff --git a/.github/actions/check_test_project_fixture/package.json b/.github/actions/check_test_project_fixture/package.json index 11a229c6dafa..f86413cdeb88 100644 --- a/.github/actions/check_test_project_fixture/package.json +++ b/.github/actions/check_test_project_fixture/package.json @@ -5,5 +5,5 @@ "@actions/core": "1.10.1", "@actions/exec": "1.1.1" }, - "packageManager": "yarn@3.6.3" + "packageManager": "yarn@3.7.0" } diff --git a/.github/actions/detect-changes/package.json b/.github/actions/detect-changes/package.json index 40f7015b5bc6..6790460c30d1 100644 --- a/.github/actions/detect-changes/package.json +++ b/.github/actions/detect-changes/package.json @@ -5,5 +5,5 @@ "@actions/core": "1.10.1", "@actions/exec": "1.1.1" }, - "packageManager": "yarn@3.6.3" + "packageManager": "yarn@3.7.0" } diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5644306161b..01a2f9b6eeb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,10 +94,12 @@ jobs: - uses: actions/checkout@v4 + # Temporarily pinned to `18.18` because `18.19` has a breaking change + # related to loaders affecting one of our tests. - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 18.18 - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -119,7 +121,7 @@ jobs: - name: Get number of CPU cores if: always() id: cpu-cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 - name: 🧪 Test run: yarn test-ci ${{ steps.cpu-cores.outputs.count }} diff --git a/.github/workflows/monthly_issue_metrics.yml b/.github/workflows/monthly_issue_metrics.yml deleted file mode 100644 index f3b7d5fa45d8..000000000000 --- a/.github/workflows/monthly_issue_metrics.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Monthly issue metrics -on: - workflow_dispatch: - schedule: - # 2:03 AM on the 1st day of every month - - cron: '3 2 1 * *' - -permissions: - issues: write - pull-requests: read - -jobs: - build: - name: monthly issue metrics - runs-on: ubuntu-latest - steps: - - name: Get dates for last month - shell: bash - run: | - # Calculate the first day of the previous month - first_day=$(date -d "last month" +%Y-%m-01) - - # Calculate the last day of the previous month - last_day=$(date -d "$first_day +1 month -1 day" +%Y-%m-%d) - - #Set an environment variable with the date range - echo "$first_day..$last_day" - echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV" - - - name: Run issue-metrics tool - uses: github/issue-metrics@v2 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SEARCH_QUERY: 'repo:redwoodjs/redwood is:issue created:${{ env.last_month }} -reason:"not planned"' - - - name: Create issue - uses: peter-evans/create-issue-from-file@v4 - with: - title: Monthly issue metrics report - token: ${{ secrets.GITHUB_TOKEN }} - content-filepath: ./issue_metrics.md diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index fffb55c15a43..c5f27ef55282 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -28,10 +28,12 @@ jobs: with: fetch-depth: 0 + # Temporarily pinned to `18.18` because `18.19` has a breaking change + # related to loaders affecting one of our tests. - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 18.18 - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache diff --git a/.github/workflows/publish-release-candidate.yml b/.github/workflows/publish-release-candidate.yml index 4269d9f838d6..39c284a6e1a5 100644 --- a/.github/workflows/publish-release-candidate.yml +++ b/.github/workflows/publish-release-candidate.yml @@ -62,10 +62,12 @@ jobs: # This is required because lerna uses tags to determine the version. fetch-depth: 0 + # Temporarily pinned to `18.18` because `18.19` has a breaking change + # related to loaders affecting one of our tests. - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 18.18 - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache diff --git a/.github/workflows/require-release-label.yml b/.github/workflows/require-release-label.yml index 687f9afe6dd5..84593106555d 100644 --- a/.github/workflows/require-release-label.yml +++ b/.github/workflows/require-release-label.yml @@ -15,7 +15,7 @@ jobs: name: 🏷 Require release label runs-on: ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v4 + - uses: mheap/github-action-required-labels@v5 with: mode: exactly count: 1 diff --git a/.github/workflows/weekly_issue_metrics.yml b/.github/workflows/weekly_issue_metrics.yml deleted file mode 100644 index 7bb630b4d7d7..000000000000 --- a/.github/workflows/weekly_issue_metrics.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Weekly issue metrics -on: - workflow_dispatch: - schedule: - # 2:33 AM every Monday - - cron: '33 2 * * 1' - -permissions: - issues: write - pull-requests: read - -jobs: - build: - name: weekly issue metrics - runs-on: ubuntu-latest - steps: - - name: Get dates for last week - shell: bash - run: | - # Calculate the first day of the previous week (and as we all know - # weeks start on Mondays ;)) - first_day=$(date -d "last Sunday - 6 days" +%Y-%m-%d) - - # Calculate the last day of the previous week - last_day=$(date -d "last Sunday" +%Y-%m-%d) - - #Set an environment variable with the date range - echo "$first_day..$last_day" - echo "last_week=$first_day..$last_day" >> "$GITHUB_ENV" - - - name: Run issue-metrics tool - uses: github/issue-metrics@v2 - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SEARCH_QUERY: 'repo:redwoodjs/redwood is:issue created:${{ env.last_week }} -reason:"not planned"' - - - name: Create issue - uses: peter-evans/create-issue-from-file@v4 - with: - title: Weekly issue metrics report - token: ${{ secrets.GITHUB_TOKEN }} - content-filepath: ./issue_metrics.md diff --git a/.gitignore b/.gitignore index 553242a9d907..f56b61eb0377 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.icloud +.cosine .idea .DS_Store node_modules @@ -8,7 +9,6 @@ yarn-error.log **/*.tsbuildinfo tasks/.verdaccio tasks/e2e/cypress/fixtures/example.json -tasks/release/*.md tmp/ blog-test-project/* .yarn/* diff --git a/.yarn/releases/yarn-3.6.3.cjs b/.yarn/releases/yarn-3.6.3.cjs deleted file mode 100755 index 9837c3028118..000000000000 --- a/.yarn/releases/yarn-3.6.3.cjs +++ /dev/null @@ -1,874 +0,0 @@ -#!/usr/bin/env node -/* eslint-disable */ -//prettier-ignore -(()=>{var Dge=Object.create;var lS=Object.defineProperty;var kge=Object.getOwnPropertyDescriptor;var Rge=Object.getOwnPropertyNames;var Fge=Object.getPrototypeOf,Nge=Object.prototype.hasOwnProperty;var J=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});var Tge=(r,e)=>()=>(r&&(e=r(r=0)),e);var w=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ut=(r,e)=>{for(var t in e)lS(r,t,{get:e[t],enumerable:!0})},Lge=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Rge(e))!Nge.call(r,n)&&n!==t&&lS(r,n,{get:()=>e[n],enumerable:!(i=kge(e,n))||i.enumerable});return r};var Pe=(r,e,t)=>(t=r!=null?Dge(Fge(r)):{},Lge(e||!r||!r.__esModule?lS(t,"default",{value:r,enumerable:!0}):t,r));var PK=w((z7e,xK)=>{xK.exports=vK;vK.sync=ife;var QK=J("fs");function rfe(r,e){var t=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!t||(t=t.split(";"),t.indexOf("")!==-1))return!0;for(var i=0;i{FK.exports=kK;kK.sync=nfe;var DK=J("fs");function kK(r,e,t){DK.stat(r,function(i,n){t(i,i?!1:RK(n,e))})}function nfe(r,e){return RK(DK.statSync(r),e)}function RK(r,e){return r.isFile()&&sfe(r,e)}function sfe(r,e){var t=r.mode,i=r.uid,n=r.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),l=parseInt("010",8),c=parseInt("001",8),u=a|l,g=t&c||t&l&&n===o||t&a&&i===s||t&u&&s===0;return g}});var LK=w((Z7e,TK)=>{var X7e=J("fs"),lI;process.platform==="win32"||global.TESTING_WINDOWS?lI=PK():lI=NK();TK.exports=SS;SS.sync=ofe;function SS(r,e,t){if(typeof e=="function"&&(t=e,e={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(i,n){SS(r,e||{},function(s,o){s?n(s):i(o)})})}lI(r,e||{},function(i,n){i&&(i.code==="EACCES"||e&&e.ignoreErrors)&&(i=null,n=!1),t(i,n)})}function ofe(r,e){try{return lI.sync(r,e||{})}catch(t){if(e&&e.ignoreErrors||t.code==="EACCES")return!1;throw t}}});var YK=w((_7e,GK)=>{var Dg=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",MK=J("path"),afe=Dg?";":":",OK=LK(),KK=r=>Object.assign(new Error(`not found: ${r}`),{code:"ENOENT"}),UK=(r,e)=>{let t=e.colon||afe,i=r.match(/\//)||Dg&&r.match(/\\/)?[""]:[...Dg?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(t)],n=Dg?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Dg?n.split(t):[""];return Dg&&r.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:i,pathExt:s,pathExtExe:n}},HK=(r,e,t)=>{typeof e=="function"&&(t=e,e={}),e||(e={});let{pathEnv:i,pathExt:n,pathExtExe:s}=UK(r,e),o=[],a=c=>new Promise((u,g)=>{if(c===i.length)return e.all&&o.length?u(o):g(KK(r));let f=i[c],h=/^".*"$/.test(f)?f.slice(1,-1):f,p=MK.join(h,r),C=!h&&/^\.[\\\/]/.test(r)?r.slice(0,2)+p:p;u(l(C,c,0))}),l=(c,u,g)=>new Promise((f,h)=>{if(g===n.length)return f(a(u+1));let p=n[g];OK(c+p,{pathExt:s},(C,y)=>{if(!C&&y)if(e.all)o.push(c+p);else return f(c+p);return f(l(c,u,g+1))})});return t?a(0).then(c=>t(null,c),t):a(0)},Afe=(r,e)=>{e=e||{};let{pathEnv:t,pathExt:i,pathExtExe:n}=UK(r,e),s=[];for(let o=0;o{"use strict";var jK=(r={})=>{let e=r.env||process.env;return(r.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"};vS.exports=jK;vS.exports.default=jK});var VK=w((eZe,zK)=>{"use strict";var JK=J("path"),lfe=YK(),cfe=qK();function WK(r,e){let t=r.options.env||process.env,i=process.cwd(),n=r.options.cwd!=null,s=n&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(r.options.cwd)}catch{}let o;try{o=lfe.sync(r.command,{path:t[cfe({env:t})],pathExt:e?JK.delimiter:void 0})}catch{}finally{s&&process.chdir(i)}return o&&(o=JK.resolve(n?r.options.cwd:"",o)),o}function ufe(r){return WK(r)||WK(r,!0)}zK.exports=ufe});var XK=w((tZe,PS)=>{"use strict";var xS=/([()\][%!^"`<>&|;, *?])/g;function gfe(r){return r=r.replace(xS,"^$1"),r}function ffe(r,e){return r=`${r}`,r=r.replace(/(\\*)"/g,'$1$1\\"'),r=r.replace(/(\\*)$/,"$1$1"),r=`"${r}"`,r=r.replace(xS,"^$1"),e&&(r=r.replace(xS,"^$1")),r}PS.exports.command=gfe;PS.exports.argument=ffe});var _K=w((rZe,ZK)=>{"use strict";ZK.exports=/^#!(.*)/});var eU=w((iZe,$K)=>{"use strict";var hfe=_K();$K.exports=(r="")=>{let e=r.match(hfe);if(!e)return null;let[t,i]=e[0].replace(/#! ?/,"").split(" "),n=t.split("/").pop();return n==="env"?i:i?`${n} ${i}`:n}});var rU=w((nZe,tU)=>{"use strict";var DS=J("fs"),pfe=eU();function dfe(r){let t=Buffer.alloc(150),i;try{i=DS.openSync(r,"r"),DS.readSync(i,t,0,150,0),DS.closeSync(i)}catch{}return pfe(t.toString())}tU.exports=dfe});var oU=w((sZe,sU)=>{"use strict";var Cfe=J("path"),iU=VK(),nU=XK(),mfe=rU(),Efe=process.platform==="win32",Ife=/\.(?:com|exe)$/i,yfe=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function wfe(r){r.file=iU(r);let e=r.file&&mfe(r.file);return e?(r.args.unshift(r.file),r.command=e,iU(r)):r.file}function Bfe(r){if(!Efe)return r;let e=wfe(r),t=!Ife.test(e);if(r.options.forceShell||t){let i=yfe.test(e);r.command=Cfe.normalize(r.command),r.command=nU.command(r.command),r.args=r.args.map(s=>nU.argument(s,i));let n=[r.command].concat(r.args).join(" ");r.args=["/d","/s","/c",`"${n}"`],r.command=process.env.comspec||"cmd.exe",r.options.windowsVerbatimArguments=!0}return r}function bfe(r,e,t){e&&!Array.isArray(e)&&(t=e,e=null),e=e?e.slice(0):[],t=Object.assign({},t);let i={command:r,args:e,options:t,file:void 0,original:{command:r,args:e}};return t.shell?i:Bfe(i)}sU.exports=bfe});var lU=w((oZe,AU)=>{"use strict";var kS=process.platform==="win32";function RS(r,e){return Object.assign(new Error(`${e} ${r.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${r.command}`,path:r.command,spawnargs:r.args})}function Qfe(r,e){if(!kS)return;let t=r.emit;r.emit=function(i,n){if(i==="exit"){let s=aU(n,e,"spawn");if(s)return t.call(r,"error",s)}return t.apply(r,arguments)}}function aU(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawn"):null}function Sfe(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawnSync"):null}AU.exports={hookChildProcess:Qfe,verifyENOENT:aU,verifyENOENTSync:Sfe,notFoundError:RS}});var TS=w((aZe,kg)=>{"use strict";var cU=J("child_process"),FS=oU(),NS=lU();function uU(r,e,t){let i=FS(r,e,t),n=cU.spawn(i.command,i.args,i.options);return NS.hookChildProcess(n,i),n}function vfe(r,e,t){let i=FS(r,e,t),n=cU.spawnSync(i.command,i.args,i.options);return n.error=n.error||NS.verifyENOENTSync(n.status,i),n}kg.exports=uU;kg.exports.spawn=uU;kg.exports.sync=vfe;kg.exports._parse=FS;kg.exports._enoent=NS});var fU=w((AZe,gU)=>{"use strict";function xfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function Zl(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Zl)}xfe(Zl,Error);Zl.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g>",ie=me(">>",!1),de=">&",_e=me(">&",!1),Pt=">",It=me(">",!1),Mr="<<<",ii=me("<<<",!1),gi="<&",hr=me("<&",!1),fi="<",ni=me("<",!1),Ks=function(m){return{type:"argument",segments:[].concat(...m)}},pr=function(m){return m},Ii="$'",rs=me("$'",!1),fa="'",dA=me("'",!1),cg=function(m){return[{type:"text",text:m}]},is='""',CA=me('""',!1),ha=function(){return{type:"text",text:""}},wp='"',mA=me('"',!1),EA=function(m){return m},wr=function(m){return{type:"arithmetic",arithmetic:m,quoted:!0}},Tl=function(m){return{type:"shell",shell:m,quoted:!0}},ug=function(m){return{type:"variable",...m,quoted:!0}},yo=function(m){return{type:"text",text:m}},gg=function(m){return{type:"arithmetic",arithmetic:m,quoted:!1}},Bp=function(m){return{type:"shell",shell:m,quoted:!1}},bp=function(m){return{type:"variable",...m,quoted:!1}},vr=function(m){return{type:"glob",pattern:m}},se=/^[^']/,wo=Je(["'"],!0,!1),Fn=function(m){return m.join("")},fg=/^[^$"]/,bt=Je(["$",'"'],!0,!1),Ll=`\\ -`,Nn=me(`\\ -`,!1),ns=function(){return""},ss="\\",gt=me("\\",!1),Bo=/^[\\$"`]/,At=Je(["\\","$",'"',"`"],!1,!1),ln=function(m){return m},S="\\a",Lt=me("\\a",!1),hg=function(){return"a"},Ml="\\b",Qp=me("\\b",!1),Sp=function(){return"\b"},vp=/^[Ee]/,xp=Je(["E","e"],!1,!1),Pp=function(){return"\x1B"},G="\\f",yt=me("\\f",!1),IA=function(){return"\f"},zi="\\n",Ol=me("\\n",!1),Xe=function(){return` -`},pa="\\r",pg=me("\\r",!1),ME=function(){return"\r"},Dp="\\t",OE=me("\\t",!1),ar=function(){return" "},Tn="\\v",Kl=me("\\v",!1),kp=function(){return"\v"},Us=/^[\\'"?]/,da=Je(["\\","'",'"',"?"],!1,!1),cn=function(m){return String.fromCharCode(parseInt(m,16))},Le="\\x",dg=me("\\x",!1),Ul="\\u",Hs=me("\\u",!1),Hl="\\U",yA=me("\\U",!1),Cg=function(m){return String.fromCodePoint(parseInt(m,16))},mg=/^[0-7]/,Ca=Je([["0","7"]],!1,!1),ma=/^[0-9a-fA-f]/,rt=Je([["0","9"],["a","f"],["A","f"]],!1,!1),bo=nt(),wA="-",Gl=me("-",!1),Gs="+",Yl=me("+",!1),KE=".",Rp=me(".",!1),Eg=function(m,Q,N){return{type:"number",value:(m==="-"?-1:1)*parseFloat(Q.join("")+"."+N.join(""))}},Fp=function(m,Q){return{type:"number",value:(m==="-"?-1:1)*parseInt(Q.join(""))}},UE=function(m){return{type:"variable",...m}},jl=function(m){return{type:"variable",name:m}},HE=function(m){return m},Ig="*",BA=me("*",!1),Rr="/",GE=me("/",!1),Ys=function(m,Q,N){return{type:Q==="*"?"multiplication":"division",right:N}},js=function(m,Q){return Q.reduce((N,U)=>({left:N,...U}),m)},yg=function(m,Q,N){return{type:Q==="+"?"addition":"subtraction",right:N}},bA="$((",R=me("$((",!1),q="))",Ce=me("))",!1),Ke=function(m){return m},Re="$(",ze=me("$(",!1),dt=function(m){return m},Ft="${",Ln=me("${",!1),JQ=":-",k1=me(":-",!1),R1=function(m,Q){return{name:m,defaultValue:Q}},WQ=":-}",F1=me(":-}",!1),N1=function(m){return{name:m,defaultValue:[]}},zQ=":+",T1=me(":+",!1),L1=function(m,Q){return{name:m,alternativeValue:Q}},VQ=":+}",M1=me(":+}",!1),O1=function(m){return{name:m,alternativeValue:[]}},XQ=function(m){return{name:m}},K1="$",U1=me("$",!1),H1=function(m){return e.isGlobPattern(m)},G1=function(m){return m},ZQ=/^[a-zA-Z0-9_]/,_Q=Je([["a","z"],["A","Z"],["0","9"],"_"],!1,!1),$Q=function(){return L()},eS=/^[$@*?#a-zA-Z0-9_\-]/,tS=Je(["$","@","*","?","#",["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Y1=/^[(){}<>$|&; \t"']/,wg=Je(["(",")","{","}","<",">","$","|","&",";"," "," ",'"',"'"],!1,!1),rS=/^[<>&; \t"']/,iS=Je(["<",">","&",";"," "," ",'"',"'"],!1,!1),YE=/^[ \t]/,jE=Je([" "," "],!1,!1),b=0,Oe=0,QA=[{line:1,column:1}],d=0,E=[],I=0,k;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function L(){return r.substring(Oe,b)}function Z(){return Et(Oe,b)}function te(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Ri([lt(m)],r.substring(Oe,b),Q)}function we(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Mn(m,Q)}function me(m,Q){return{type:"literal",text:m,ignoreCase:Q}}function Je(m,Q,N){return{type:"class",parts:m,inverted:Q,ignoreCase:N}}function nt(){return{type:"any"}}function wt(){return{type:"end"}}function lt(m){return{type:"other",description:m}}function it(m){var Q=QA[m],N;if(Q)return Q;for(N=m-1;!QA[N];)N--;for(Q=QA[N],Q={line:Q.line,column:Q.column};Nd&&(d=b,E=[]),E.push(m))}function Mn(m,Q){return new Zl(m,null,null,Q)}function Ri(m,Q,N){return new Zl(Zl.buildMessage(m,Q),m,Q,N)}function SA(){var m,Q;return m=b,Q=Or(),Q===t&&(Q=null),Q!==t&&(Oe=m,Q=s(Q)),m=Q,m}function Or(){var m,Q,N,U,ce;if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U!==t?(ce=os(),ce===t&&(ce=null),ce!==t?(Oe=m,Q=o(Q,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;if(m===t)if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U===t&&(U=null),U!==t?(Oe=m,Q=a(Q,U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function os(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=Or(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=l(N),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Ea(){var m;return r.charCodeAt(b)===59?(m=c,b++):(m=t,I===0&&be(u)),m===t&&(r.charCodeAt(b)===38?(m=g,b++):(m=t,I===0&&be(f))),m}function Kr(){var m,Q,N;return m=b,Q=j1(),Q!==t?(N=fge(),N===t&&(N=null),N!==t?(Oe=m,Q=h(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function fge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=hge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Kr(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=p(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function hge(){var m;return r.substr(b,2)===C?(m=C,b+=2):(m=t,I===0&&be(y)),m===t&&(r.substr(b,2)===B?(m=B,b+=2):(m=t,I===0&&be(v))),m}function j1(){var m,Q,N;return m=b,Q=Cge(),Q!==t?(N=pge(),N===t&&(N=null),N!==t?(Oe=m,Q=D(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function pge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=dge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=j1(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=T(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function dge(){var m;return r.substr(b,2)===H?(m=H,b+=2):(m=t,I===0&&be(j)),m===t&&(r.charCodeAt(b)===124?(m=$,b++):(m=t,I===0&&be(V))),m}function qE(){var m,Q,N,U,ce,Se;if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t)if(U=W1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(Oe=m,Q=A(Q,U),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;else b=m,m=t;if(m===t)if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Ae(Q),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Cge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===40?(N=ge,b++):(N=t,I===0&&be(re)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===41?(ht=M,b++):(ht=t,I===0&&be(F)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=ue(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===123?(N=pe,b++):(N=t,I===0&&be(ke)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===125?(ht=Fe,b++):(ht=t,I===0&&be(Ne)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=oe(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){for(N=[],U=qE();U!==t;)N.push(U),U=qE();if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t){if(ce=[],Se=J1(),Se!==t)for(;Se!==t;)ce.push(Se),Se=J1();else ce=t;if(ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=le(N,ce),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t}else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=qE(),U!==t)for(;U!==t;)N.push(U),U=qE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Be(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}}}return m}function q1(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=JE(),U!==t)for(;U!==t;)N.push(U),U=JE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=fe(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t;return m}function J1(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t?(N=Np(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();Q!==t?(N=JE(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t)}return m}function Np(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(qe.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(ne)),N===t&&(N=null),N!==t?(U=mge(),U!==t?(ce=JE(),ce!==t?(Oe=m,Q=Y(N,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function mge(){var m;return r.substr(b,2)===he?(m=he,b+=2):(m=t,I===0&&be(ie)),m===t&&(r.substr(b,2)===de?(m=de,b+=2):(m=t,I===0&&be(_e)),m===t&&(r.charCodeAt(b)===62?(m=Pt,b++):(m=t,I===0&&be(It)),m===t&&(r.substr(b,3)===Mr?(m=Mr,b+=3):(m=t,I===0&&be(ii)),m===t&&(r.substr(b,2)===gi?(m=gi,b+=2):(m=t,I===0&&be(hr)),m===t&&(r.charCodeAt(b)===60?(m=fi,b++):(m=t,I===0&&be(ni))))))),m}function JE(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(N=W1(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m}function W1(){var m,Q,N;if(m=b,Q=[],N=z1(),N!==t)for(;N!==t;)Q.push(N),N=z1();else Q=t;return Q!==t&&(Oe=m,Q=Ks(Q)),m=Q,m}function z1(){var m,Q;return m=b,Q=Ege(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=Ige(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=yge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=wge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q))),m}function Ege(){var m,Q,N,U;return m=b,r.substr(b,2)===Ii?(Q=Ii,b+=2):(Q=t,I===0&&be(rs)),Q!==t?(N=Qge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function Ige(){var m,Q,N,U;return m=b,r.charCodeAt(b)===39?(Q=fa,b++):(Q=t,I===0&&be(dA)),Q!==t?(N=Bge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function yge(){var m,Q,N,U;if(m=b,r.substr(b,2)===is?(Q=is,b+=2):(Q=t,I===0&&be(CA)),Q!==t&&(Oe=m,Q=ha()),m=Q,m===t)if(m=b,r.charCodeAt(b)===34?(Q=wp,b++):(Q=t,I===0&&be(mA)),Q!==t){for(N=[],U=V1();U!==t;)N.push(U),U=V1();N!==t?(r.charCodeAt(b)===34?(U=wp,b++):(U=t,I===0&&be(mA)),U!==t?(Oe=m,Q=EA(N),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function wge(){var m,Q,N;if(m=b,Q=[],N=X1(),N!==t)for(;N!==t;)Q.push(N),N=X1();else Q=t;return Q!==t&&(Oe=m,Q=EA(Q)),m=Q,m}function V1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=wr(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Tl(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=ug(Q)),m=Q,m===t&&(m=b,Q=bge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q))),m}function X1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=gg(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Bp(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=bp(Q)),m=Q,m===t&&(m=b,Q=xge(),Q!==t&&(Oe=m,Q=vr(Q)),m=Q,m===t&&(m=b,Q=vge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q)))),m}function Bge(){var m,Q,N;for(m=b,Q=[],se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));N!==t;)Q.push(N),se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function bge(){var m,Q,N;if(m=b,Q=[],N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt))),N!==t)for(;N!==t;)Q.push(N),N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt)));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function Z1(){var m,Q,N;return m=b,r.substr(b,2)===Ll?(Q=Ll,b+=2):(Q=t,I===0&&be(Nn)),Q!==t&&(Oe=m,Q=ns()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Bo.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(At)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t)),m}function Qge(){var m,Q,N;for(m=b,Q=[],N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));N!==t;)Q.push(N),N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function _1(){var m,Q,N;return m=b,r.substr(b,2)===S?(Q=S,b+=2):(Q=t,I===0&&be(Lt)),Q!==t&&(Oe=m,Q=hg()),m=Q,m===t&&(m=b,r.substr(b,2)===Ml?(Q=Ml,b+=2):(Q=t,I===0&&be(Qp)),Q!==t&&(Oe=m,Q=Sp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(vp.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(xp)),N!==t?(Oe=m,Q=Pp(),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===G?(Q=G,b+=2):(Q=t,I===0&&be(yt)),Q!==t&&(Oe=m,Q=IA()),m=Q,m===t&&(m=b,r.substr(b,2)===zi?(Q=zi,b+=2):(Q=t,I===0&&be(Ol)),Q!==t&&(Oe=m,Q=Xe()),m=Q,m===t&&(m=b,r.substr(b,2)===pa?(Q=pa,b+=2):(Q=t,I===0&&be(pg)),Q!==t&&(Oe=m,Q=ME()),m=Q,m===t&&(m=b,r.substr(b,2)===Dp?(Q=Dp,b+=2):(Q=t,I===0&&be(OE)),Q!==t&&(Oe=m,Q=ar()),m=Q,m===t&&(m=b,r.substr(b,2)===Tn?(Q=Tn,b+=2):(Q=t,I===0&&be(Kl)),Q!==t&&(Oe=m,Q=kp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Us.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(da)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=Sge()))))))))),m}function Sge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as,AS;return m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(N=nS(),N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Le?(Q=Le,b+=2):(Q=t,I===0&&be(dg)),Q!==t?(N=b,U=b,ce=nS(),ce!==t?(Se=On(),Se!==t?(ce=[ce,Se],U=ce):(b=U,U=t)):(b=U,U=t),U===t&&(U=nS()),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ul?(Q=Ul,b+=2):(Q=t,I===0&&be(Hs)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(ce=[ce,Se,ht,Bt],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Hl?(Q=Hl,b+=2):(Q=t,I===0&&be(yA)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(qr=On(),qr!==t?(hi=On(),hi!==t?(as=On(),as!==t?(AS=On(),AS!==t?(ce=[ce,Se,ht,Bt,qr,hi,as,AS],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=Cg(N),m=Q):(b=m,m=t)):(b=m,m=t)))),m}function nS(){var m;return mg.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(Ca)),m}function On(){var m;return ma.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(rt)),m}function vge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t)),N!==t)for(;N!==t;)Q.push(N),N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function sS(){var m,Q,N,U,ce,Se;if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;if(N!==t)if(r.charCodeAt(b)===46?(U=KE,b++):(U=t,I===0&&be(Rp)),U!==t){if(ce=[],qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne)),Se!==t)for(;Se!==t;)ce.push(Se),qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne));else ce=t;ce!==t?(Oe=m,Q=Eg(Q,N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;if(m===t){if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;N!==t?(Oe=m,Q=Fp(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;if(m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=UE(Q)),m=Q,m===t&&(m=b,Q=ql(),Q!==t&&(Oe=m,Q=jl(Q)),m=Q,m===t)))if(m=b,r.charCodeAt(b)===40?(Q=ge,b++):(Q=t,I===0&&be(re)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.charCodeAt(b)===41?(Se=M,b++):(Se=t,I===0&&be(F)),Se!==t?(Oe=m,Q=HE(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t}return m}function oS(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=sS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function $1(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=oS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function eK(){var m,Q,N,U,ce,Se;if(m=b,r.substr(b,3)===bA?(Q=bA,b+=3):(Q=t,I===0&&be(R)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.substr(b,2)===q?(Se=q,b+=2):(Se=t,I===0&&be(Ce)),Se!==t?(Oe=m,Q=Ke(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;return m}function tK(){var m,Q,N,U;return m=b,r.substr(b,2)===Re?(Q=Re,b+=2):(Q=t,I===0&&be(ze)),Q!==t?(N=Or(),N!==t?(r.charCodeAt(b)===41?(U=M,b++):(U=t,I===0&&be(F)),U!==t?(Oe=m,Q=dt(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function aS(){var m,Q,N,U,ce,Se;return m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===JQ?(U=JQ,b+=2):(U=t,I===0&&be(k1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=R1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===WQ?(U=WQ,b+=3):(U=t,I===0&&be(F1)),U!==t?(Oe=m,Q=N1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===zQ?(U=zQ,b+=2):(U=t,I===0&&be(T1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=L1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===VQ?(U=VQ,b+=3):(U=t,I===0&&be(M1)),U!==t?(Oe=m,Q=O1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.charCodeAt(b)===125?(U=Fe,b++):(U=t,I===0&&be(Ne)),U!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.charCodeAt(b)===36?(Q=K1,b++):(Q=t,I===0&&be(U1)),Q!==t?(N=ql(),N!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)))))),m}function xge(){var m,Q,N;return m=b,Q=Pge(),Q!==t?(Oe=b,N=H1(Q),N?N=void 0:N=t,N!==t?(Oe=m,Q=G1(Q),m=Q):(b=m,m=t)):(b=m,m=t),m}function Pge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N!==t)for(;N!==t;)Q.push(N),N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t);else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function rK(){var m,Q,N;if(m=b,Q=[],ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q)),N!==t)for(;N!==t;)Q.push(N),ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function ql(){var m,Q,N;if(m=b,Q=[],eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS)),N!==t)for(;N!==t;)Q.push(N),eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function iK(){var m;return Y1.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(wg)),m}function nK(){var m;return rS.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(iS)),m}function He(){var m,Q;if(m=[],YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE)),Q!==t)for(;Q!==t;)m.push(Q),YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE));else m=t;return m}if(k=n(),k!==t&&b===r.length)return k;throw k!==t&&b{"use strict";function Dfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function $l(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,$l)}Dfe($l,Error);$l.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;gH&&(H=v,j=[]),j.push(ne))}function Ne(ne,Y){return new $l(ne,null,null,Y)}function oe(ne,Y,he){return new $l($l.buildMessage(ne,Y),ne,Y,he)}function le(){var ne,Y,he,ie;return ne=v,Y=Be(),Y!==t?(r.charCodeAt(v)===47?(he=s,v++):(he=t,$===0&&Fe(o)),he!==t?(ie=Be(),ie!==t?(D=ne,Y=a(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=Be(),Y!==t&&(D=ne,Y=l(Y)),ne=Y),ne}function Be(){var ne,Y,he,ie;return ne=v,Y=fe(),Y!==t?(r.charCodeAt(v)===64?(he=c,v++):(he=t,$===0&&Fe(u)),he!==t?(ie=qe(),ie!==t?(D=ne,Y=g(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=fe(),Y!==t&&(D=ne,Y=f(Y)),ne=Y),ne}function fe(){var ne,Y,he,ie,de;return ne=v,r.charCodeAt(v)===64?(Y=c,v++):(Y=t,$===0&&Fe(u)),Y!==t?(he=ae(),he!==t?(r.charCodeAt(v)===47?(ie=s,v++):(ie=t,$===0&&Fe(o)),ie!==t?(de=ae(),de!==t?(D=ne,Y=h(),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=ae(),Y!==t&&(D=ne,Y=h()),ne=Y),ne}function ae(){var ne,Y,he;if(ne=v,Y=[],p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C)),he!==t)for(;he!==t;)Y.push(he),p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}function qe(){var ne,Y,he;if(ne=v,Y=[],y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B)),he!==t)for(;he!==t;)Y.push(he),y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}if(V=n(),V!==t&&v===r.length)return V;throw V!==t&&v{"use strict";function mU(r){return typeof r>"u"||r===null}function Rfe(r){return typeof r=="object"&&r!==null}function Ffe(r){return Array.isArray(r)?r:mU(r)?[]:[r]}function Nfe(r,e){var t,i,n,s;if(e)for(s=Object.keys(e),t=0,i=s.length;t{"use strict";function Vp(r,e){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Vp.prototype=Object.create(Error.prototype);Vp.prototype.constructor=Vp;Vp.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t};EU.exports=Vp});var wU=w((SZe,yU)=>{"use strict";var IU=tc();function HS(r,e,t,i,n){this.name=r,this.buffer=e,this.position=t,this.line=i,this.column=n}HS.prototype.getSnippet=function(e,t){var i,n,s,o,a;if(!this.buffer)return null;for(e=e||4,t=t||75,i="",n=this.position;n>0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(n-1))===-1;)if(n-=1,this.position-n>t/2-1){i=" ... ",n+=5;break}for(s="",o=this.position;ot/2-1){s=" ... ",o-=5;break}return a=this.buffer.slice(n,o),IU.repeat(" ",e)+i+a+s+` -`+IU.repeat(" ",e+this.position-n+i.length)+"^"};HS.prototype.toString=function(e){var t,i="";return this.name&&(i+='in "'+this.name+'" '),i+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet(),t&&(i+=`: -`+t)),i};yU.exports=HS});var si=w((vZe,bU)=>{"use strict";var BU=Ng(),Mfe=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],Ofe=["scalar","sequence","mapping"];function Kfe(r){var e={};return r!==null&&Object.keys(r).forEach(function(t){r[t].forEach(function(i){e[String(i)]=t})}),e}function Ufe(r,e){if(e=e||{},Object.keys(e).forEach(function(t){if(Mfe.indexOf(t)===-1)throw new BU('Unknown option "'+t+'" is met in definition of "'+r+'" YAML type.')}),this.tag=r,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=Kfe(e.styleAliases||null),Ofe.indexOf(this.kind)===-1)throw new BU('Unknown kind "'+this.kind+'" is specified for "'+r+'" YAML type.')}bU.exports=Ufe});var rc=w((xZe,SU)=>{"use strict";var QU=tc(),dI=Ng(),Hfe=si();function GS(r,e,t){var i=[];return r.include.forEach(function(n){t=GS(n,e,t)}),r[e].forEach(function(n){t.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&i.push(o)}),t.push(n)}),t.filter(function(n,s){return i.indexOf(s)===-1})}function Gfe(){var r={scalar:{},sequence:{},mapping:{},fallback:{}},e,t;function i(n){r[n.kind][n.tag]=r.fallback[n.tag]=n}for(e=0,t=arguments.length;e{"use strict";var Yfe=si();vU.exports=new Yfe("tag:yaml.org,2002:str",{kind:"scalar",construct:function(r){return r!==null?r:""}})});var DU=w((DZe,PU)=>{"use strict";var jfe=si();PU.exports=new jfe("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(r){return r!==null?r:[]}})});var RU=w((kZe,kU)=>{"use strict";var qfe=si();kU.exports=new qfe("tag:yaml.org,2002:map",{kind:"mapping",construct:function(r){return r!==null?r:{}}})});var CI=w((RZe,FU)=>{"use strict";var Jfe=rc();FU.exports=new Jfe({explicit:[xU(),DU(),RU()]})});var TU=w((FZe,NU)=>{"use strict";var Wfe=si();function zfe(r){if(r===null)return!0;var e=r.length;return e===1&&r==="~"||e===4&&(r==="null"||r==="Null"||r==="NULL")}function Vfe(){return null}function Xfe(r){return r===null}NU.exports=new Wfe("tag:yaml.org,2002:null",{kind:"scalar",resolve:zfe,construct:Vfe,predicate:Xfe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})});var MU=w((NZe,LU)=>{"use strict";var Zfe=si();function _fe(r){if(r===null)return!1;var e=r.length;return e===4&&(r==="true"||r==="True"||r==="TRUE")||e===5&&(r==="false"||r==="False"||r==="FALSE")}function $fe(r){return r==="true"||r==="True"||r==="TRUE"}function ehe(r){return Object.prototype.toString.call(r)==="[object Boolean]"}LU.exports=new Zfe("tag:yaml.org,2002:bool",{kind:"scalar",resolve:_fe,construct:$fe,predicate:ehe,represent:{lowercase:function(r){return r?"true":"false"},uppercase:function(r){return r?"TRUE":"FALSE"},camelcase:function(r){return r?"True":"False"}},defaultStyle:"lowercase"})});var KU=w((TZe,OU)=>{"use strict";var the=tc(),rhe=si();function ihe(r){return 48<=r&&r<=57||65<=r&&r<=70||97<=r&&r<=102}function nhe(r){return 48<=r&&r<=55}function she(r){return 48<=r&&r<=57}function ohe(r){if(r===null)return!1;var e=r.length,t=0,i=!1,n;if(!e)return!1;if(n=r[t],(n==="-"||n==="+")&&(n=r[++t]),n==="0"){if(t+1===e)return!0;if(n=r[++t],n==="b"){for(t++;t=0?"0b"+r.toString(2):"-0b"+r.toString(2).slice(1)},octal:function(r){return r>=0?"0"+r.toString(8):"-0"+r.toString(8).slice(1)},decimal:function(r){return r.toString(10)},hexadecimal:function(r){return r>=0?"0x"+r.toString(16).toUpperCase():"-0x"+r.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var GU=w((LZe,HU)=>{"use strict";var UU=tc(),lhe=si(),che=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function uhe(r){return!(r===null||!che.test(r)||r[r.length-1]==="_")}function ghe(r){var e,t,i,n;return e=r.replace(/_/g,"").toLowerCase(),t=e[0]==="-"?-1:1,n=[],"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:e.indexOf(":")>=0?(e.split(":").forEach(function(s){n.unshift(parseFloat(s,10))}),e=0,i=1,n.forEach(function(s){e+=s*i,i*=60}),t*e):t*parseFloat(e,10)}var fhe=/^[-+]?[0-9]+e/;function hhe(r,e){var t;if(isNaN(r))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===r)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===r)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(UU.isNegativeZero(r))return"-0.0";return t=r.toString(10),fhe.test(t)?t.replace("e",".e"):t}function phe(r){return Object.prototype.toString.call(r)==="[object Number]"&&(r%1!==0||UU.isNegativeZero(r))}HU.exports=new lhe("tag:yaml.org,2002:float",{kind:"scalar",resolve:uhe,construct:ghe,predicate:phe,represent:hhe,defaultStyle:"lowercase"})});var YS=w((MZe,YU)=>{"use strict";var dhe=rc();YU.exports=new dhe({include:[CI()],implicit:[TU(),MU(),KU(),GU()]})});var jS=w((OZe,jU)=>{"use strict";var Che=rc();jU.exports=new Che({include:[YS()]})});var zU=w((KZe,WU)=>{"use strict";var mhe=si(),qU=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),JU=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 Ehe(r){return r===null?!1:qU.exec(r)!==null||JU.exec(r)!==null}function Ihe(r){var e,t,i,n,s,o,a,l=0,c=null,u,g,f;if(e=qU.exec(r),e===null&&(e=JU.exec(r)),e===null)throw new Error("Date resolve error");if(t=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(t,i,n));if(s=+e[4],o=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],g=+(e[11]||0),c=(u*60+g)*6e4,e[9]==="-"&&(c=-c)),f=new Date(Date.UTC(t,i,n,s,o,a,l)),c&&f.setTime(f.getTime()-c),f}function yhe(r){return r.toISOString()}WU.exports=new mhe("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Ehe,construct:Ihe,instanceOf:Date,represent:yhe})});var XU=w((UZe,VU)=>{"use strict";var whe=si();function Bhe(r){return r==="<<"||r===null}VU.exports=new whe("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Bhe})});var $U=w((HZe,_U)=>{"use strict";var ic;try{ZU=J,ic=ZU("buffer").Buffer}catch{}var ZU,bhe=si(),qS=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Qhe(r){if(r===null)return!1;var e,t,i=0,n=r.length,s=qS;for(t=0;t64)){if(e<0)return!1;i+=6}return i%8===0}function She(r){var e,t,i=r.replace(/[\r\n=]/g,""),n=i.length,s=qS,o=0,a=[];for(e=0;e>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(i.charAt(e));return t=n%4*6,t===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):t===18?(a.push(o>>10&255),a.push(o>>2&255)):t===12&&a.push(o>>4&255),ic?ic.from?ic.from(a):new ic(a):a}function vhe(r){var e="",t=0,i,n,s=r.length,o=qS;for(i=0;i>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]),t=(t<<8)+r[i];return n=s%3,n===0?(e+=o[t>>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]):n===2?(e+=o[t>>10&63],e+=o[t>>4&63],e+=o[t<<2&63],e+=o[64]):n===1&&(e+=o[t>>2&63],e+=o[t<<4&63],e+=o[64],e+=o[64]),e}function xhe(r){return ic&&ic.isBuffer(r)}_U.exports=new bhe("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Qhe,construct:She,predicate:xhe,represent:vhe})});var t2=w((YZe,e2)=>{"use strict";var Phe=si(),Dhe=Object.prototype.hasOwnProperty,khe=Object.prototype.toString;function Rhe(r){if(r===null)return!0;var e=[],t,i,n,s,o,a=r;for(t=0,i=a.length;t{"use strict";var Nhe=si(),The=Object.prototype.toString;function Lhe(r){if(r===null)return!0;var e,t,i,n,s,o=r;for(s=new Array(o.length),e=0,t=o.length;e{"use strict";var Ohe=si(),Khe=Object.prototype.hasOwnProperty;function Uhe(r){if(r===null)return!0;var e,t=r;for(e in t)if(Khe.call(t,e)&&t[e]!==null)return!1;return!0}function Hhe(r){return r!==null?r:{}}n2.exports=new Ohe("tag:yaml.org,2002:set",{kind:"mapping",resolve:Uhe,construct:Hhe})});var Lg=w((JZe,o2)=>{"use strict";var Ghe=rc();o2.exports=new Ghe({include:[jS()],implicit:[zU(),XU()],explicit:[$U(),t2(),i2(),s2()]})});var A2=w((WZe,a2)=>{"use strict";var Yhe=si();function jhe(){return!0}function qhe(){}function Jhe(){return""}function Whe(r){return typeof r>"u"}a2.exports=new Yhe("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:jhe,construct:qhe,predicate:Whe,represent:Jhe})});var c2=w((zZe,l2)=>{"use strict";var zhe=si();function Vhe(r){if(r===null||r.length===0)return!1;var e=r,t=/\/([gim]*)$/.exec(r),i="";return!(e[0]==="/"&&(t&&(i=t[1]),i.length>3||e[e.length-i.length-1]!=="/"))}function Xhe(r){var e=r,t=/\/([gim]*)$/.exec(r),i="";return e[0]==="/"&&(t&&(i=t[1]),e=e.slice(1,e.length-i.length-1)),new RegExp(e,i)}function Zhe(r){var e="/"+r.source+"/";return r.global&&(e+="g"),r.multiline&&(e+="m"),r.ignoreCase&&(e+="i"),e}function _he(r){return Object.prototype.toString.call(r)==="[object RegExp]"}l2.exports=new zhe("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:Vhe,construct:Xhe,predicate:_he,represent:Zhe})});var f2=w((VZe,g2)=>{"use strict";var mI;try{u2=J,mI=u2("esprima")}catch{typeof window<"u"&&(mI=window.esprima)}var u2,$he=si();function epe(r){if(r===null)return!1;try{var e="("+r+")",t=mI.parse(e,{range:!0});return!(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function tpe(r){var e="("+r+")",t=mI.parse(e,{range:!0}),i=[],n;if(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return t.body[0].expression.params.forEach(function(s){i.push(s.name)}),n=t.body[0].expression.body.range,t.body[0].expression.body.type==="BlockStatement"?new Function(i,e.slice(n[0]+1,n[1]-1)):new Function(i,"return "+e.slice(n[0],n[1]))}function rpe(r){return r.toString()}function ipe(r){return Object.prototype.toString.call(r)==="[object Function]"}g2.exports=new $he("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:epe,construct:tpe,predicate:ipe,represent:rpe})});var Xp=w((ZZe,p2)=>{"use strict";var h2=rc();p2.exports=h2.DEFAULT=new h2({include:[Lg()],explicit:[A2(),c2(),f2()]})});var N2=w((_Ze,Zp)=>{"use strict";var Ba=tc(),w2=Ng(),npe=wU(),B2=Lg(),spe=Xp(),kA=Object.prototype.hasOwnProperty,EI=1,b2=2,Q2=3,II=4,JS=1,ope=2,d2=3,ape=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ape=/[\x85\u2028\u2029]/,lpe=/[,\[\]\{\}]/,S2=/^(?:!|!!|![a-z\-]+!)$/i,v2=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function C2(r){return Object.prototype.toString.call(r)}function xo(r){return r===10||r===13}function sc(r){return r===9||r===32}function fn(r){return r===9||r===32||r===10||r===13}function Mg(r){return r===44||r===91||r===93||r===123||r===125}function cpe(r){var e;return 48<=r&&r<=57?r-48:(e=r|32,97<=e&&e<=102?e-97+10:-1)}function upe(r){return r===120?2:r===117?4:r===85?8:0}function gpe(r){return 48<=r&&r<=57?r-48:-1}function m2(r){return r===48?"\0":r===97?"\x07":r===98?"\b":r===116||r===9?" ":r===110?` -`:r===118?"\v":r===102?"\f":r===114?"\r":r===101?"\x1B":r===32?" ":r===34?'"':r===47?"/":r===92?"\\":r===78?"\x85":r===95?"\xA0":r===76?"\u2028":r===80?"\u2029":""}function fpe(r){return r<=65535?String.fromCharCode(r):String.fromCharCode((r-65536>>10)+55296,(r-65536&1023)+56320)}var x2=new Array(256),P2=new Array(256);for(nc=0;nc<256;nc++)x2[nc]=m2(nc)?1:0,P2[nc]=m2(nc);var nc;function hpe(r,e){this.input=r,this.filename=e.filename||null,this.schema=e.schema||spe,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=r.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function D2(r,e){return new w2(e,new npe(r.filename,r.input,r.position,r.line,r.position-r.lineStart))}function ft(r,e){throw D2(r,e)}function yI(r,e){r.onWarning&&r.onWarning.call(null,D2(r,e))}var E2={YAML:function(e,t,i){var n,s,o;e.version!==null&&ft(e,"duplication of %YAML directive"),i.length!==1&&ft(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),n===null&&ft(e,"ill-formed argument of the YAML directive"),s=parseInt(n[1],10),o=parseInt(n[2],10),s!==1&&ft(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=o<2,o!==1&&o!==2&&yI(e,"unsupported YAML version of the document")},TAG:function(e,t,i){var n,s;i.length!==2&&ft(e,"TAG directive accepts exactly two arguments"),n=i[0],s=i[1],S2.test(n)||ft(e,"ill-formed tag handle (first argument) of the TAG directive"),kA.call(e.tagMap,n)&&ft(e,'there is a previously declared suffix for "'+n+'" tag handle'),v2.test(s)||ft(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=s}};function DA(r,e,t,i){var n,s,o,a;if(e1&&(r.result+=Ba.repeat(` -`,e-1))}function ppe(r,e,t){var i,n,s,o,a,l,c,u,g=r.kind,f=r.result,h;if(h=r.input.charCodeAt(r.position),fn(h)||Mg(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n)))return!1;for(r.kind="scalar",r.result="",s=o=r.position,a=!1;h!==0;){if(h===58){if(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n))break}else if(h===35){if(i=r.input.charCodeAt(r.position-1),fn(i))break}else{if(r.position===r.lineStart&&wI(r)||t&&Mg(h))break;if(xo(h))if(l=r.line,c=r.lineStart,u=r.lineIndent,zr(r,!1,-1),r.lineIndent>=e){a=!0,h=r.input.charCodeAt(r.position);continue}else{r.position=o,r.line=l,r.lineStart=c,r.lineIndent=u;break}}a&&(DA(r,s,o,!1),zS(r,r.line-l),s=o=r.position,a=!1),sc(h)||(o=r.position+1),h=r.input.charCodeAt(++r.position)}return DA(r,s,o,!1),r.result?!0:(r.kind=g,r.result=f,!1)}function dpe(r,e){var t,i,n;if(t=r.input.charCodeAt(r.position),t!==39)return!1;for(r.kind="scalar",r.result="",r.position++,i=n=r.position;(t=r.input.charCodeAt(r.position))!==0;)if(t===39)if(DA(r,i,r.position,!0),t=r.input.charCodeAt(++r.position),t===39)i=r.position,r.position++,n=r.position;else return!0;else xo(t)?(DA(r,i,n,!0),zS(r,zr(r,!1,e)),i=n=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a single quoted scalar"):(r.position++,n=r.position);ft(r,"unexpected end of the stream within a single quoted scalar")}function Cpe(r,e){var t,i,n,s,o,a;if(a=r.input.charCodeAt(r.position),a!==34)return!1;for(r.kind="scalar",r.result="",r.position++,t=i=r.position;(a=r.input.charCodeAt(r.position))!==0;){if(a===34)return DA(r,t,r.position,!0),r.position++,!0;if(a===92){if(DA(r,t,r.position,!0),a=r.input.charCodeAt(++r.position),xo(a))zr(r,!1,e);else if(a<256&&x2[a])r.result+=P2[a],r.position++;else if((o=upe(a))>0){for(n=o,s=0;n>0;n--)a=r.input.charCodeAt(++r.position),(o=cpe(a))>=0?s=(s<<4)+o:ft(r,"expected hexadecimal character");r.result+=fpe(s),r.position++}else ft(r,"unknown escape sequence");t=i=r.position}else xo(a)?(DA(r,t,i,!0),zS(r,zr(r,!1,e)),t=i=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a double quoted scalar"):(r.position++,i=r.position)}ft(r,"unexpected end of the stream within a double quoted scalar")}function mpe(r,e){var t=!0,i,n=r.tag,s,o=r.anchor,a,l,c,u,g,f={},h,p,C,y;if(y=r.input.charCodeAt(r.position),y===91)l=93,g=!1,s=[];else if(y===123)l=125,g=!0,s={};else return!1;for(r.anchor!==null&&(r.anchorMap[r.anchor]=s),y=r.input.charCodeAt(++r.position);y!==0;){if(zr(r,!0,e),y=r.input.charCodeAt(r.position),y===l)return r.position++,r.tag=n,r.anchor=o,r.kind=g?"mapping":"sequence",r.result=s,!0;t||ft(r,"missed comma between flow collection entries"),p=h=C=null,c=u=!1,y===63&&(a=r.input.charCodeAt(r.position+1),fn(a)&&(c=u=!0,r.position++,zr(r,!0,e))),i=r.line,Kg(r,e,EI,!1,!0),p=r.tag,h=r.result,zr(r,!0,e),y=r.input.charCodeAt(r.position),(u||r.line===i)&&y===58&&(c=!0,y=r.input.charCodeAt(++r.position),zr(r,!0,e),Kg(r,e,EI,!1,!0),C=r.result),g?Og(r,s,f,p,h,C):c?s.push(Og(r,null,f,p,h,C)):s.push(h),zr(r,!0,e),y=r.input.charCodeAt(r.position),y===44?(t=!0,y=r.input.charCodeAt(++r.position)):t=!1}ft(r,"unexpected end of the stream within a flow collection")}function Epe(r,e){var t,i,n=JS,s=!1,o=!1,a=e,l=0,c=!1,u,g;if(g=r.input.charCodeAt(r.position),g===124)i=!1;else if(g===62)i=!0;else return!1;for(r.kind="scalar",r.result="";g!==0;)if(g=r.input.charCodeAt(++r.position),g===43||g===45)JS===n?n=g===43?d2:ope:ft(r,"repeat of a chomping mode identifier");else if((u=gpe(g))>=0)u===0?ft(r,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?ft(r,"repeat of an indentation width identifier"):(a=e+u-1,o=!0);else break;if(sc(g)){do g=r.input.charCodeAt(++r.position);while(sc(g));if(g===35)do g=r.input.charCodeAt(++r.position);while(!xo(g)&&g!==0)}for(;g!==0;){for(WS(r),r.lineIndent=0,g=r.input.charCodeAt(r.position);(!o||r.lineIndenta&&(a=r.lineIndent),xo(g)){l++;continue}if(r.lineIndente)&&l!==0)ft(r,"bad indentation of a sequence entry");else if(r.lineIndente)&&(Kg(r,e,II,!0,n)&&(p?f=r.result:h=r.result),p||(Og(r,c,u,g,f,h,s,o),g=f=h=null),zr(r,!0,-1),y=r.input.charCodeAt(r.position)),r.lineIndent>e&&y!==0)ft(r,"bad indentation of a mapping entry");else if(r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndent tag; it should be "scalar", not "'+r.kind+'"'),g=0,f=r.implicitTypes.length;g tag; it should be "'+h.kind+'", not "'+r.kind+'"'),h.resolve(r.result)?(r.result=h.construct(r.result),r.anchor!==null&&(r.anchorMap[r.anchor]=r.result)):ft(r,"cannot resolve a node with !<"+r.tag+"> explicit tag")):ft(r,"unknown tag !<"+r.tag+">");return r.listener!==null&&r.listener("close",r),r.tag!==null||r.anchor!==null||u}function bpe(r){var e=r.position,t,i,n,s=!1,o;for(r.version=null,r.checkLineBreaks=r.legacy,r.tagMap={},r.anchorMap={};(o=r.input.charCodeAt(r.position))!==0&&(zr(r,!0,-1),o=r.input.charCodeAt(r.position),!(r.lineIndent>0||o!==37));){for(s=!0,o=r.input.charCodeAt(++r.position),t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);for(i=r.input.slice(t,r.position),n=[],i.length<1&&ft(r,"directive name must not be less than one character in length");o!==0;){for(;sc(o);)o=r.input.charCodeAt(++r.position);if(o===35){do o=r.input.charCodeAt(++r.position);while(o!==0&&!xo(o));break}if(xo(o))break;for(t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);n.push(r.input.slice(t,r.position))}o!==0&&WS(r),kA.call(E2,i)?E2[i](r,i,n):yI(r,'unknown document directive "'+i+'"')}if(zr(r,!0,-1),r.lineIndent===0&&r.input.charCodeAt(r.position)===45&&r.input.charCodeAt(r.position+1)===45&&r.input.charCodeAt(r.position+2)===45?(r.position+=3,zr(r,!0,-1)):s&&ft(r,"directives end mark is expected"),Kg(r,r.lineIndent-1,II,!1,!0),zr(r,!0,-1),r.checkLineBreaks&&Ape.test(r.input.slice(e,r.position))&&yI(r,"non-ASCII line breaks are interpreted as content"),r.documents.push(r.result),r.position===r.lineStart&&wI(r)){r.input.charCodeAt(r.position)===46&&(r.position+=3,zr(r,!0,-1));return}if(r.position"u"&&(t=e,e=null);var i=k2(r,t);if(typeof e!="function")return i;for(var n=0,s=i.length;n"u"&&(t=e,e=null),R2(r,e,Ba.extend({schema:B2},t))}function Spe(r,e){return F2(r,Ba.extend({schema:B2},e))}Zp.exports.loadAll=R2;Zp.exports.load=F2;Zp.exports.safeLoadAll=Qpe;Zp.exports.safeLoad=Spe});var iH=w(($Ze,_S)=>{"use strict";var $p=tc(),ed=Ng(),vpe=Xp(),xpe=Lg(),G2=Object.prototype.toString,Y2=Object.prototype.hasOwnProperty,Ppe=9,_p=10,Dpe=13,kpe=32,Rpe=33,Fpe=34,j2=35,Npe=37,Tpe=38,Lpe=39,Mpe=42,q2=44,Ope=45,J2=58,Kpe=61,Upe=62,Hpe=63,Gpe=64,W2=91,z2=93,Ype=96,V2=123,jpe=124,X2=125,Ni={};Ni[0]="\\0";Ni[7]="\\a";Ni[8]="\\b";Ni[9]="\\t";Ni[10]="\\n";Ni[11]="\\v";Ni[12]="\\f";Ni[13]="\\r";Ni[27]="\\e";Ni[34]='\\"';Ni[92]="\\\\";Ni[133]="\\N";Ni[160]="\\_";Ni[8232]="\\L";Ni[8233]="\\P";var qpe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function Jpe(r,e){var t,i,n,s,o,a,l;if(e===null)return{};for(t={},i=Object.keys(e),n=0,s=i.length;n0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}else{for(s=0;si&&r[g+1]!==" ",g=s);else if(!Ug(o))return BI;a=s>0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}c=c||u&&s-g-1>i&&r[g+1]!==" "}return!l&&!c?f&&!n(r)?_2:$2:t>9&&Z2(r)?BI:c?tH:eH}function _pe(r,e,t,i){r.dump=function(){if(e.length===0)return"''";if(!r.noCompatMode&&qpe.indexOf(e)!==-1)return"'"+e+"'";var n=r.indent*Math.max(1,t),s=r.lineWidth===-1?-1:Math.max(Math.min(r.lineWidth,40),r.lineWidth-n),o=i||r.flowLevel>-1&&t>=r.flowLevel;function a(l){return zpe(r,l)}switch(Zpe(e,o,r.indent,s,a)){case _2:return e;case $2:return"'"+e.replace(/'/g,"''")+"'";case eH:return"|"+O2(e,r.indent)+K2(L2(e,n));case tH:return">"+O2(e,r.indent)+K2(L2($pe(e,s),n));case BI:return'"'+ede(e,s)+'"';default:throw new ed("impossible error: invalid scalar style")}}()}function O2(r,e){var t=Z2(r)?String(e):"",i=r[r.length-1]===` -`,n=i&&(r[r.length-2]===` -`||r===` -`),s=n?"+":i?"":"-";return t+s+` -`}function K2(r){return r[r.length-1]===` -`?r.slice(0,-1):r}function $pe(r,e){for(var t=/(\n+)([^\n]*)/g,i=function(){var c=r.indexOf(` -`);return c=c!==-1?c:r.length,t.lastIndex=c,U2(r.slice(0,c),e)}(),n=r[0]===` -`||r[0]===" ",s,o;o=t.exec(r);){var a=o[1],l=o[2];s=l[0]===" ",i+=a+(!n&&!s&&l!==""?` -`:"")+U2(l,e),n=s}return i}function U2(r,e){if(r===""||r[0]===" ")return r;for(var t=/ [^ ]/g,i,n=0,s,o=0,a=0,l="";i=t.exec(r);)a=i.index,a-n>e&&(s=o>n?o:a,l+=` -`+r.slice(n,s),n=s+1),o=a;return l+=` -`,r.length-n>e&&o>n?l+=r.slice(n,o)+` -`+r.slice(o+1):l+=r.slice(n),l.slice(1)}function ede(r){for(var e="",t,i,n,s=0;s=55296&&t<=56319&&(i=r.charCodeAt(s+1),i>=56320&&i<=57343)){e+=T2((t-55296)*1024+i-56320+65536),s++;continue}n=Ni[t],e+=!n&&Ug(t)?r[s]:n||T2(t)}return e}function tde(r,e,t){var i="",n=r.tag,s,o;for(s=0,o=t.length;s1024&&(u+="? "),u+=r.dump+(r.condenseFlow?'"':"")+":"+(r.condenseFlow?"":" "),oc(r,e,c,!1,!1)&&(u+=r.dump,i+=u));r.tag=n,r.dump="{"+i+"}"}function nde(r,e,t,i){var n="",s=r.tag,o=Object.keys(t),a,l,c,u,g,f;if(r.sortKeys===!0)o.sort();else if(typeof r.sortKeys=="function")o.sort(r.sortKeys);else if(r.sortKeys)throw new ed("sortKeys must be a boolean or a function");for(a=0,l=o.length;a1024,g&&(r.dump&&_p===r.dump.charCodeAt(0)?f+="?":f+="? "),f+=r.dump,g&&(f+=VS(r,e)),oc(r,e+1,u,!0,g)&&(r.dump&&_p===r.dump.charCodeAt(0)?f+=":":f+=": ",f+=r.dump,n+=f));r.tag=s,r.dump=n||"{}"}function H2(r,e,t){var i,n,s,o,a,l;for(n=t?r.explicitTypes:r.implicitTypes,s=0,o=n.length;s tag resolver accepts not "'+l+'" style');r.dump=i}return!0}return!1}function oc(r,e,t,i,n,s){r.tag=null,r.dump=t,H2(r,t,!1)||H2(r,t,!0);var o=G2.call(r.dump);i&&(i=r.flowLevel<0||r.flowLevel>e);var a=o==="[object Object]"||o==="[object Array]",l,c;if(a&&(l=r.duplicates.indexOf(t),c=l!==-1),(r.tag!==null&&r.tag!=="?"||c||r.indent!==2&&e>0)&&(n=!1),c&&r.usedDuplicates[l])r.dump="*ref_"+l;else{if(a&&c&&!r.usedDuplicates[l]&&(r.usedDuplicates[l]=!0),o==="[object Object]")i&&Object.keys(r.dump).length!==0?(nde(r,e,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(ide(r,e,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump));else if(o==="[object Array]"){var u=r.noArrayIndent&&e>0?e-1:e;i&&r.dump.length!==0?(rde(r,u,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(tde(r,u,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump))}else if(o==="[object String]")r.tag!=="?"&&_pe(r,r.dump,e,s);else{if(r.skipInvalid)return!1;throw new ed("unacceptable kind of an object to dump "+o)}r.tag!==null&&r.tag!=="?"&&(r.dump="!<"+r.tag+"> "+r.dump)}return!0}function sde(r,e){var t=[],i=[],n,s;for(XS(r,t,i),n=0,s=i.length;n{"use strict";var bI=N2(),nH=iH();function QI(r){return function(){throw new Error("Function "+r+" is deprecated and cannot be used.")}}Fr.exports.Type=si();Fr.exports.Schema=rc();Fr.exports.FAILSAFE_SCHEMA=CI();Fr.exports.JSON_SCHEMA=YS();Fr.exports.CORE_SCHEMA=jS();Fr.exports.DEFAULT_SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_FULL_SCHEMA=Xp();Fr.exports.load=bI.load;Fr.exports.loadAll=bI.loadAll;Fr.exports.safeLoad=bI.safeLoad;Fr.exports.safeLoadAll=bI.safeLoadAll;Fr.exports.dump=nH.dump;Fr.exports.safeDump=nH.safeDump;Fr.exports.YAMLException=Ng();Fr.exports.MINIMAL_SCHEMA=CI();Fr.exports.SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_SCHEMA=Xp();Fr.exports.scan=QI("scan");Fr.exports.parse=QI("parse");Fr.exports.compose=QI("compose");Fr.exports.addConstructor=QI("addConstructor")});var aH=w((t_e,oH)=>{"use strict";var ade=sH();oH.exports=ade});var lH=w((r_e,AH)=>{"use strict";function Ade(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function ac(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,ac)}Ade(ac,Error);ac.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g({[Ke]:Ce})))},H=function(R){return R},j=function(R){return R},$=Us("correct indentation"),V=" ",W=ar(" ",!1),_=function(R){return R.length===bA*yg},A=function(R){return R.length===(bA+1)*yg},Ae=function(){return bA++,!0},ge=function(){return bA--,!0},re=function(){return pg()},M=Us("pseudostring"),F=/^[^\r\n\t ?:,\][{}#&*!|>'"%@`\-]/,ue=Tn(["\r",` -`," "," ","?",":",",","]","[","{","}","#","&","*","!","|",">","'",'"',"%","@","`","-"],!0,!1),pe=/^[^\r\n\t ,\][{}:#"']/,ke=Tn(["\r",` -`," "," ",",","]","[","{","}",":","#",'"',"'"],!0,!1),Fe=function(){return pg().replace(/^ *| *$/g,"")},Ne="--",oe=ar("--",!1),le=/^[a-zA-Z\/0-9]/,Be=Tn([["a","z"],["A","Z"],"/",["0","9"]],!1,!1),fe=/^[^\r\n\t :,]/,ae=Tn(["\r",` -`," "," ",":",","],!0,!1),qe="null",ne=ar("null",!1),Y=function(){return null},he="true",ie=ar("true",!1),de=function(){return!0},_e="false",Pt=ar("false",!1),It=function(){return!1},Mr=Us("string"),ii='"',gi=ar('"',!1),hr=function(){return""},fi=function(R){return R},ni=function(R){return R.join("")},Ks=/^[^"\\\0-\x1F\x7F]/,pr=Tn(['"',"\\",["\0",""],"\x7F"],!0,!1),Ii='\\"',rs=ar('\\"',!1),fa=function(){return'"'},dA="\\\\",cg=ar("\\\\",!1),is=function(){return"\\"},CA="\\/",ha=ar("\\/",!1),wp=function(){return"/"},mA="\\b",EA=ar("\\b",!1),wr=function(){return"\b"},Tl="\\f",ug=ar("\\f",!1),yo=function(){return"\f"},gg="\\n",Bp=ar("\\n",!1),bp=function(){return` -`},vr="\\r",se=ar("\\r",!1),wo=function(){return"\r"},Fn="\\t",fg=ar("\\t",!1),bt=function(){return" "},Ll="\\u",Nn=ar("\\u",!1),ns=function(R,q,Ce,Ke){return String.fromCharCode(parseInt(`0x${R}${q}${Ce}${Ke}`))},ss=/^[0-9a-fA-F]/,gt=Tn([["0","9"],["a","f"],["A","F"]],!1,!1),Bo=Us("blank space"),At=/^[ \t]/,ln=Tn([" "," "],!1,!1),S=Us("white space"),Lt=/^[ \t\n\r]/,hg=Tn([" "," ",` -`,"\r"],!1,!1),Ml=`\r -`,Qp=ar(`\r -`,!1),Sp=` -`,vp=ar(` -`,!1),xp="\r",Pp=ar("\r",!1),G=0,yt=0,IA=[{line:1,column:1}],zi=0,Ol=[],Xe=0,pa;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function pg(){return r.substring(yt,G)}function ME(){return cn(yt,G)}function Dp(R,q){throw q=q!==void 0?q:cn(yt,G),Ul([Us(R)],r.substring(yt,G),q)}function OE(R,q){throw q=q!==void 0?q:cn(yt,G),dg(R,q)}function ar(R,q){return{type:"literal",text:R,ignoreCase:q}}function Tn(R,q,Ce){return{type:"class",parts:R,inverted:q,ignoreCase:Ce}}function Kl(){return{type:"any"}}function kp(){return{type:"end"}}function Us(R){return{type:"other",description:R}}function da(R){var q=IA[R],Ce;if(q)return q;for(Ce=R-1;!IA[Ce];)Ce--;for(q=IA[Ce],q={line:q.line,column:q.column};Cezi&&(zi=G,Ol=[]),Ol.push(R))}function dg(R,q){return new ac(R,null,null,q)}function Ul(R,q,Ce){return new ac(ac.buildMessage(R,q),R,q,Ce)}function Hs(){var R;return R=Cg(),R}function Hl(){var R,q,Ce;for(R=G,q=[],Ce=yA();Ce!==t;)q.push(Ce),Ce=yA();return q!==t&&(yt=R,q=s(q)),R=q,R}function yA(){var R,q,Ce,Ke,Re;return R=G,q=ma(),q!==t?(r.charCodeAt(G)===45?(Ce=o,G++):(Ce=t,Xe===0&&Le(a)),Ce!==t?(Ke=Rr(),Ke!==t?(Re=Ca(),Re!==t?(yt=R,q=l(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R}function Cg(){var R,q,Ce;for(R=G,q=[],Ce=mg();Ce!==t;)q.push(Ce),Ce=mg();return q!==t&&(yt=R,q=c(q)),R=q,R}function mg(){var R,q,Ce,Ke,Re,ze,dt,Ft,Ln;if(R=G,q=Rr(),q===t&&(q=null),q!==t){if(Ce=G,r.charCodeAt(G)===35?(Ke=u,G++):(Ke=t,Xe===0&&Le(g)),Ke!==t){if(Re=[],ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t),ze!==t)for(;ze!==t;)Re.push(ze),ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t);else Re=t;Re!==t?(Ke=[Ke,Re],Ce=Ke):(G=Ce,Ce=t)}else G=Ce,Ce=t;if(Ce===t&&(Ce=null),Ce!==t){if(Ke=[],Re=Ys(),Re!==t)for(;Re!==t;)Ke.push(Re),Re=Ys();else Ke=t;Ke!==t?(yt=R,q=h(),R=q):(G=R,R=t)}else G=R,R=t}else G=R,R=t;if(R===t&&(R=G,q=ma(),q!==t?(Ce=Gl(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=ma(),q!==t?(Ce=Gs(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))){if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t)if(Ke=Rr(),Ke!==t)if(Re=KE(),Re!==t){if(ze=[],dt=Ys(),dt!==t)for(;dt!==t;)ze.push(dt),dt=Ys();else ze=t;ze!==t?(yt=R,q=y(Ce,Re),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;else G=R,R=t;else G=R,R=t;if(R===t)if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t){if(Ke=[],Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t),Re!==t)for(;Re!==t;)Ke.push(Re),Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t);else Ke=t;Ke!==t?(Re=Rr(),Re===t&&(Re=null),Re!==t?(r.charCodeAt(G)===58?(ze=p,G++):(ze=t,Xe===0&&Le(C)),ze!==t?(dt=Rr(),dt===t&&(dt=null),dt!==t?(Ft=Ca(),Ft!==t?(yt=R,q=T(Ce,Ke,Ft),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)}else G=R,R=t;else G=R,R=t}return R}function Ca(){var R,q,Ce,Ke,Re,ze,dt;if(R=G,q=G,Xe++,Ce=G,Ke=js(),Ke!==t?(Re=rt(),Re!==t?(r.charCodeAt(G)===45?(ze=o,G++):(ze=t,Xe===0&&Le(a)),ze!==t?(dt=Rr(),dt!==t?(Ke=[Ke,Re,ze,dt],Ce=Ke):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t),Xe--,Ce!==t?(G=q,q=void 0):q=t,q!==t?(Ce=Ys(),Ce!==t?(Ke=bo(),Ke!==t?(Re=Hl(),Re!==t?(ze=wA(),ze!==t?(yt=R,q=H(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=js(),q!==t?(Ce=bo(),Ce!==t?(Ke=Cg(),Ke!==t?(Re=wA(),Re!==t?(yt=R,q=H(Ke),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))if(R=G,q=Yl(),q!==t){if(Ce=[],Ke=Ys(),Ke!==t)for(;Ke!==t;)Ce.push(Ke),Ke=Ys();else Ce=t;Ce!==t?(yt=R,q=j(q),R=q):(G=R,R=t)}else G=R,R=t;return R}function ma(){var R,q,Ce;for(Xe++,R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=_(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),Xe--,R===t&&(q=t,Xe===0&&Le($)),R}function rt(){var R,q,Ce;for(R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=A(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),R}function bo(){var R;return yt=G,R=Ae(),R?R=void 0:R=t,R}function wA(){var R;return yt=G,R=ge(),R?R=void 0:R=t,R}function Gl(){var R;return R=jl(),R===t&&(R=Rp()),R}function Gs(){var R,q,Ce;if(R=jl(),R===t){if(R=G,q=[],Ce=Eg(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Eg();else q=t;q!==t&&(yt=R,q=re()),R=q}return R}function Yl(){var R;return R=Fp(),R===t&&(R=UE(),R===t&&(R=jl(),R===t&&(R=Rp()))),R}function KE(){var R;return R=Fp(),R===t&&(R=jl(),R===t&&(R=Eg())),R}function Rp(){var R,q,Ce,Ke,Re,ze;if(Xe++,R=G,F.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ue)),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(M)),R}function Eg(){var R,q,Ce,Ke,Re;if(R=G,r.substr(G,2)===Ne?(q=Ne,G+=2):(q=t,Xe===0&&Le(oe)),q===t&&(q=null),q!==t)if(le.test(r.charAt(G))?(Ce=r.charAt(G),G++):(Ce=t,Xe===0&&Le(Be)),Ce!==t){for(Ke=[],fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Re!==t;)Ke.push(Re),fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Ke!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;return R}function Fp(){var R,q;return R=G,r.substr(G,4)===qe?(q=qe,G+=4):(q=t,Xe===0&&Le(ne)),q!==t&&(yt=R,q=Y()),R=q,R}function UE(){var R,q;return R=G,r.substr(G,4)===he?(q=he,G+=4):(q=t,Xe===0&&Le(ie)),q!==t&&(yt=R,q=de()),R=q,R===t&&(R=G,r.substr(G,5)===_e?(q=_e,G+=5):(q=t,Xe===0&&Le(Pt)),q!==t&&(yt=R,q=It()),R=q),R}function jl(){var R,q,Ce,Ke;return Xe++,R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(r.charCodeAt(G)===34?(Ce=ii,G++):(Ce=t,Xe===0&&Le(gi)),Ce!==t?(yt=R,q=hr(),R=q):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(Ce=HE(),Ce!==t?(r.charCodeAt(G)===34?(Ke=ii,G++):(Ke=t,Xe===0&&Le(gi)),Ke!==t?(yt=R,q=fi(Ce),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)),Xe--,R===t&&(q=t,Xe===0&&Le(Mr)),R}function HE(){var R,q,Ce;if(R=G,q=[],Ce=Ig(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Ig();else q=t;return q!==t&&(yt=R,q=ni(q)),R=q,R}function Ig(){var R,q,Ce,Ke,Re,ze;return Ks.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(pr)),R===t&&(R=G,r.substr(G,2)===Ii?(q=Ii,G+=2):(q=t,Xe===0&&Le(rs)),q!==t&&(yt=R,q=fa()),R=q,R===t&&(R=G,r.substr(G,2)===dA?(q=dA,G+=2):(q=t,Xe===0&&Le(cg)),q!==t&&(yt=R,q=is()),R=q,R===t&&(R=G,r.substr(G,2)===CA?(q=CA,G+=2):(q=t,Xe===0&&Le(ha)),q!==t&&(yt=R,q=wp()),R=q,R===t&&(R=G,r.substr(G,2)===mA?(q=mA,G+=2):(q=t,Xe===0&&Le(EA)),q!==t&&(yt=R,q=wr()),R=q,R===t&&(R=G,r.substr(G,2)===Tl?(q=Tl,G+=2):(q=t,Xe===0&&Le(ug)),q!==t&&(yt=R,q=yo()),R=q,R===t&&(R=G,r.substr(G,2)===gg?(q=gg,G+=2):(q=t,Xe===0&&Le(Bp)),q!==t&&(yt=R,q=bp()),R=q,R===t&&(R=G,r.substr(G,2)===vr?(q=vr,G+=2):(q=t,Xe===0&&Le(se)),q!==t&&(yt=R,q=wo()),R=q,R===t&&(R=G,r.substr(G,2)===Fn?(q=Fn,G+=2):(q=t,Xe===0&&Le(fg)),q!==t&&(yt=R,q=bt()),R=q,R===t&&(R=G,r.substr(G,2)===Ll?(q=Ll,G+=2):(q=t,Xe===0&&Le(Nn)),q!==t?(Ce=BA(),Ce!==t?(Ke=BA(),Ke!==t?(Re=BA(),Re!==t?(ze=BA(),ze!==t?(yt=R,q=ns(Ce,Ke,Re,ze),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)))))))))),R}function BA(){var R;return ss.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(gt)),R}function Rr(){var R,q;if(Xe++,R=[],At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln)),q!==t)for(;q!==t;)R.push(q),At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(Bo)),R}function GE(){var R,q;if(Xe++,R=[],Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg)),q!==t)for(;q!==t;)R.push(q),Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(S)),R}function Ys(){var R,q,Ce,Ke,Re,ze;if(R=G,q=js(),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)}else G=R,R=t;return R}function js(){var R;return r.substr(G,2)===Ml?(R=Ml,G+=2):(R=t,Xe===0&&Le(Qp)),R===t&&(r.charCodeAt(G)===10?(R=Sp,G++):(R=t,Xe===0&&Le(vp)),R===t&&(r.charCodeAt(G)===13?(R=xp,G++):(R=t,Xe===0&&Le(Pp)))),R}let yg=2,bA=0;if(pa=n(),pa!==t&&G===r.length)return pa;throw pa!==t&&G{"use strict";var hde=r=>{let e=!1,t=!1,i=!1;for(let n=0;n{if(!(typeof r=="string"||Array.isArray(r)))throw new TypeError("Expected the input to be `string | string[]`");e=Object.assign({pascalCase:!1},e);let t=n=>e.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n;return Array.isArray(r)?r=r.map(n=>n.trim()).filter(n=>n.length).join("-"):r=r.trim(),r.length===0?"":r.length===1?e.pascalCase?r.toUpperCase():r.toLowerCase():(r!==r.toLowerCase()&&(r=hde(r)),r=r.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(n,s)=>s.toUpperCase()).replace(/\d+(\w|$)/g,n=>n.toUpperCase()),t(r))};ev.exports=hH;ev.exports.default=hH});var dH=w((A_e,pde)=>{pde.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vercel",constant:"VERCEL",env:"NOW_BUILDER"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"}]});var Ac=w(Un=>{"use strict";var mH=dH(),Po=process.env;Object.defineProperty(Un,"_vendors",{value:mH.map(function(r){return r.constant})});Un.name=null;Un.isPR=null;mH.forEach(function(r){let t=(Array.isArray(r.env)?r.env:[r.env]).every(function(i){return CH(i)});if(Un[r.constant]=t,t)switch(Un.name=r.name,typeof r.pr){case"string":Un.isPR=!!Po[r.pr];break;case"object":"env"in r.pr?Un.isPR=r.pr.env in Po&&Po[r.pr.env]!==r.pr.ne:"any"in r.pr?Un.isPR=r.pr.any.some(function(i){return!!Po[i]}):Un.isPR=CH(r.pr);break;default:Un.isPR=null}});Un.isCI=!!(Po.CI||Po.CONTINUOUS_INTEGRATION||Po.BUILD_NUMBER||Po.RUN_ID||Un.name);function CH(r){return typeof r=="string"?!!Po[r]:Object.keys(r).every(function(e){return Po[e]===r[e]})}});var hn={};ut(hn,{KeyRelationship:()=>lc,applyCascade:()=>od,base64RegExp:()=>BH,colorStringAlphaRegExp:()=>wH,colorStringRegExp:()=>yH,computeKey:()=>RA,getPrintable:()=>Vr,hasExactLength:()=>xH,hasForbiddenKeys:()=>Wde,hasKeyRelationship:()=>av,hasMaxLength:()=>Dde,hasMinLength:()=>Pde,hasMutuallyExclusiveKeys:()=>zde,hasRequiredKeys:()=>Jde,hasUniqueItems:()=>kde,isArray:()=>yde,isAtLeast:()=>Nde,isAtMost:()=>Tde,isBase64:()=>jde,isBoolean:()=>mde,isDate:()=>Ide,isDict:()=>Bde,isEnum:()=>Zi,isHexColor:()=>Yde,isISO8601:()=>Gde,isInExclusiveRange:()=>Mde,isInInclusiveRange:()=>Lde,isInstanceOf:()=>Qde,isInteger:()=>Ode,isJSON:()=>qde,isLiteral:()=>dde,isLowerCase:()=>Kde,isNegative:()=>Rde,isNullable:()=>xde,isNumber:()=>Ede,isObject:()=>bde,isOneOf:()=>Sde,isOptional:()=>vde,isPositive:()=>Fde,isString:()=>sd,isTuple:()=>wde,isUUID4:()=>Hde,isUnknown:()=>vH,isUpperCase:()=>Ude,iso8601RegExp:()=>ov,makeCoercionFn:()=>cc,makeSetter:()=>SH,makeTrait:()=>QH,makeValidator:()=>Qt,matchesRegExp:()=>ad,plural:()=>kI,pushError:()=>pt,simpleKeyRegExp:()=>IH,uuid4RegExp:()=>bH});function Qt({test:r}){return QH(r)()}function Vr(r){return r===null?"null":r===void 0?"undefined":r===""?"an empty string":JSON.stringify(r)}function RA(r,e){var t,i,n;return typeof e=="number"?`${(t=r==null?void 0:r.p)!==null&&t!==void 0?t:"."}[${e}]`:IH.test(e)?`${(i=r==null?void 0:r.p)!==null&&i!==void 0?i:""}.${e}`:`${(n=r==null?void 0:r.p)!==null&&n!==void 0?n:"."}[${JSON.stringify(e)}]`}function cc(r,e){return t=>{let i=r[e];return r[e]=t,cc(r,e).bind(null,i)}}function SH(r,e){return t=>{r[e]=t}}function kI(r,e,t){return r===1?e:t}function pt({errors:r,p:e}={},t){return r==null||r.push(`${e!=null?e:"."}: ${t}`),!1}function dde(r){return Qt({test:(e,t)=>e!==r?pt(t,`Expected a literal (got ${Vr(r)})`):!0})}function Zi(r){let e=Array.isArray(r)?r:Object.values(r),t=new Set(e);return Qt({test:(i,n)=>t.has(i)?!0:pt(n,`Expected a valid enumeration value (got ${Vr(i)})`)})}var IH,yH,wH,BH,bH,ov,QH,vH,sd,Cde,mde,Ede,Ide,yde,wde,Bde,bde,Qde,Sde,od,vde,xde,Pde,Dde,xH,kde,Rde,Fde,Nde,Tde,Lde,Mde,Ode,ad,Kde,Ude,Hde,Gde,Yde,jde,qde,Jde,Wde,zde,lc,Vde,av,ls=Tge(()=>{IH=/^[a-zA-Z_][a-zA-Z0-9_]*$/,yH=/^#[0-9a-f]{6}$/i,wH=/^#[0-9a-f]{6}([0-9a-f]{2})?$/i,BH=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,bH=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$/i,ov=/^(?:[1-9]\d{3}(-?)(?:(?:0[1-9]|1[0-2])\1(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])\1(?:29|30)|(?:0[13578]|1[02])(?:\1)31|00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[0-5]))|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)(?:(-?)02(?:\2)29|-?366))T(?:[01]\d|2[0-3])(:?)[0-5]\d(?:\3[0-5]\d)?(?:Z|[+-][01]\d(?:\3[0-5]\d)?)$/,QH=r=>()=>r;vH=()=>Qt({test:(r,e)=>!0});sd=()=>Qt({test:(r,e)=>typeof r!="string"?pt(e,`Expected a string (got ${Vr(r)})`):!0});Cde=new Map([["true",!0],["True",!0],["1",!0],[1,!0],["false",!1],["False",!1],["0",!1],[0,!1]]),mde=()=>Qt({test:(r,e)=>{var t;if(typeof r!="boolean"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i=Cde.get(r);if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a boolean (got ${Vr(r)})`)}return!0}}),Ede=()=>Qt({test:(r,e)=>{var t;if(typeof r!="number"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"){let n;try{n=JSON.parse(r)}catch{}if(typeof n=="number")if(JSON.stringify(n)===r)i=n;else return pt(e,`Received a number that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a number (got ${Vr(r)})`)}return!0}}),Ide=()=>Qt({test:(r,e)=>{var t;if(!(r instanceof Date)){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"&&ov.test(r))i=new Date(r);else{let n;if(typeof r=="string"){let s;try{s=JSON.parse(r)}catch{}typeof s=="number"&&(n=s)}else typeof r=="number"&&(n=r);if(typeof n<"u")if(Number.isSafeInteger(n)||!Number.isSafeInteger(n*1e3))i=new Date(n*1e3);else return pt(e,`Received a timestamp that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a date (got ${Vr(r)})`)}return!0}}),yde=(r,{delimiter:e}={})=>Qt({test:(t,i)=>{var n;if(typeof t=="string"&&typeof e<"u"&&typeof(i==null?void 0:i.coercions)<"u"){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");t=t.split(e),i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,t)])}if(!Array.isArray(t))return pt(i,`Expected an array (got ${Vr(t)})`);let s=!0;for(let o=0,a=t.length;o{let t=xH(r.length);return Qt({test:(i,n)=>{var s;if(typeof i=="string"&&typeof e<"u"&&typeof(n==null?void 0:n.coercions)<"u"){if(typeof(n==null?void 0:n.coercion)>"u")return pt(n,"Unbound coercion result");i=i.split(e),n.coercions.push([(s=n.p)!==null&&s!==void 0?s:".",n.coercion.bind(null,i)])}if(!Array.isArray(i))return pt(n,`Expected a tuple (got ${Vr(i)})`);let o=t(i,Object.assign({},n));for(let a=0,l=i.length;aQt({test:(t,i)=>{if(typeof t!="object"||t===null)return pt(i,`Expected an object (got ${Vr(t)})`);let n=Object.keys(t),s=!0;for(let o=0,a=n.length;o{let t=Object.keys(r);return Qt({test:(i,n)=>{if(typeof i!="object"||i===null)return pt(n,`Expected an object (got ${Vr(i)})`);let s=new Set([...t,...Object.keys(i)]),o={},a=!0;for(let l of s){if(l==="constructor"||l==="__proto__")a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),"Unsafe property name");else{let c=Object.prototype.hasOwnProperty.call(r,l)?r[l]:void 0,u=Object.prototype.hasOwnProperty.call(i,l)?i[l]:void 0;typeof c<"u"?a=c(u,Object.assign(Object.assign({},n),{p:RA(n,l),coercion:cc(i,l)}))&&a:e===null?a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),`Extraneous property (got ${Vr(u)})`):Object.defineProperty(o,l,{enumerable:!0,get:()=>u,set:SH(i,l)})}if(!a&&(n==null?void 0:n.errors)==null)break}return e!==null&&(a||(n==null?void 0:n.errors)!=null)&&(a=e(o,n)&&a),a}})},Qde=r=>Qt({test:(e,t)=>e instanceof r?!0:pt(t,`Expected an instance of ${r.name} (got ${Vr(e)})`)}),Sde=(r,{exclusive:e=!1}={})=>Qt({test:(t,i)=>{var n,s,o;let a=[],l=typeof(i==null?void 0:i.errors)<"u"?[]:void 0;for(let c=0,u=r.length;c1?pt(i,`Expected to match exactly a single predicate (matched ${a.join(", ")})`):(o=i==null?void 0:i.errors)===null||o===void 0||o.push(...l),!1}}),od=(r,e)=>Qt({test:(t,i)=>{var n,s;let o={value:t},a=typeof(i==null?void 0:i.coercions)<"u"?cc(o,"value"):void 0,l=typeof(i==null?void 0:i.coercions)<"u"?[]:void 0;if(!r(t,Object.assign(Object.assign({},i),{coercion:a,coercions:l})))return!1;let c=[];if(typeof l<"u")for(let[,u]of l)c.push(u());try{if(typeof(i==null?void 0:i.coercions)<"u"){if(o.value!==t){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,o.value)])}(s=i==null?void 0:i.coercions)===null||s===void 0||s.push(...l)}return e.every(u=>u(o.value,i))}finally{for(let u of c)u()}}}),vde=r=>Qt({test:(e,t)=>typeof e>"u"?!0:r(e,t)}),xde=r=>Qt({test:(e,t)=>e===null?!0:r(e,t)}),Pde=r=>Qt({test:(e,t)=>e.length>=r?!0:pt(t,`Expected to have a length of at least ${r} elements (got ${e.length})`)}),Dde=r=>Qt({test:(e,t)=>e.length<=r?!0:pt(t,`Expected to have a length of at most ${r} elements (got ${e.length})`)}),xH=r=>Qt({test:(e,t)=>e.length!==r?pt(t,`Expected to have a length of exactly ${r} elements (got ${e.length})`):!0}),kde=({map:r}={})=>Qt({test:(e,t)=>{let i=new Set,n=new Set;for(let s=0,o=e.length;sQt({test:(r,e)=>r<=0?!0:pt(e,`Expected to be negative (got ${r})`)}),Fde=()=>Qt({test:(r,e)=>r>=0?!0:pt(e,`Expected to be positive (got ${r})`)}),Nde=r=>Qt({test:(e,t)=>e>=r?!0:pt(t,`Expected to be at least ${r} (got ${e})`)}),Tde=r=>Qt({test:(e,t)=>e<=r?!0:pt(t,`Expected to be at most ${r} (got ${e})`)}),Lde=(r,e)=>Qt({test:(t,i)=>t>=r&&t<=e?!0:pt(i,`Expected to be in the [${r}; ${e}] range (got ${t})`)}),Mde=(r,e)=>Qt({test:(t,i)=>t>=r&&tQt({test:(e,t)=>e!==Math.round(e)?pt(t,`Expected to be an integer (got ${e})`):Number.isSafeInteger(e)?!0:pt(t,`Expected to be a safe integer (got ${e})`)}),ad=r=>Qt({test:(e,t)=>r.test(e)?!0:pt(t,`Expected to match the pattern ${r.toString()} (got ${Vr(e)})`)}),Kde=()=>Qt({test:(r,e)=>r!==r.toLowerCase()?pt(e,`Expected to be all-lowercase (got ${r})`):!0}),Ude=()=>Qt({test:(r,e)=>r!==r.toUpperCase()?pt(e,`Expected to be all-uppercase (got ${r})`):!0}),Hde=()=>Qt({test:(r,e)=>bH.test(r)?!0:pt(e,`Expected to be a valid UUID v4 (got ${Vr(r)})`)}),Gde=()=>Qt({test:(r,e)=>ov.test(r)?!1:pt(e,`Expected to be a valid ISO 8601 date string (got ${Vr(r)})`)}),Yde=({alpha:r=!1})=>Qt({test:(e,t)=>(r?yH.test(e):wH.test(e))?!0:pt(t,`Expected to be a valid hexadecimal color string (got ${Vr(e)})`)}),jde=()=>Qt({test:(r,e)=>BH.test(r)?!0:pt(e,`Expected to be a valid base 64 string (got ${Vr(r)})`)}),qde=(r=vH())=>Qt({test:(e,t)=>{let i;try{i=JSON.parse(e)}catch{return pt(t,`Expected to be a valid JSON string (got ${Vr(e)})`)}return r(i,t)}}),Jde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)||s.push(o);return s.length>0?pt(i,`Missing required ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},Wde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>0?pt(i,`Forbidden ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},zde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>1?pt(i,`Mutually exclusive properties ${s.map(o=>`"${o}"`).join(", ")}`):!0}})};(function(r){r.Forbids="Forbids",r.Requires="Requires"})(lc||(lc={}));Vde={[lc.Forbids]:{expect:!1,message:"forbids using"},[lc.Requires]:{expect:!0,message:"requires using"}},av=(r,e,t,{ignore:i=[]}={})=>{let n=new Set(i),s=new Set(t),o=Vde[e];return Qt({test:(a,l)=>{let c=new Set(Object.keys(a));if(!c.has(r)||n.has(a[r]))return!0;let u=[];for(let g of s)(c.has(g)&&!n.has(a[g]))!==o.expect&&u.push(g);return u.length>=1?pt(l,`Property "${r}" ${o.message} ${kI(u.length,"property","properties")} ${u.map(g=>`"${g}"`).join(", ")}`):!0}})}});var qH=w((A$e,jH)=>{"use strict";jH.exports=(r,...e)=>new Promise(t=>{t(r(...e))})});var Jg=w((l$e,pv)=>{"use strict";var gCe=qH(),JH=r=>{if(r<1)throw new TypeError("Expected `concurrency` to be a number from 1 and up");let e=[],t=0,i=()=>{t--,e.length>0&&e.shift()()},n=(a,l,...c)=>{t++;let u=gCe(a,...c);l(u),u.then(i,i)},s=(a,l,...c)=>{tnew Promise(c=>s(a,c,...l));return Object.defineProperties(o,{activeCount:{get:()=>t},pendingCount:{get:()=>e.length}}),o};pv.exports=JH;pv.exports.default=JH});var gd=w((u$e,WH)=>{var fCe="2.0.0",hCe=Number.MAX_SAFE_INTEGER||9007199254740991,pCe=16;WH.exports={SEMVER_SPEC_VERSION:fCe,MAX_LENGTH:256,MAX_SAFE_INTEGER:hCe,MAX_SAFE_COMPONENT_LENGTH:pCe}});var fd=w((g$e,zH)=>{var dCe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};zH.exports=dCe});var uc=w((NA,VH)=>{var{MAX_SAFE_COMPONENT_LENGTH:dv}=gd(),CCe=fd();NA=VH.exports={};var mCe=NA.re=[],et=NA.src=[],tt=NA.t={},ECe=0,St=(r,e,t)=>{let i=ECe++;CCe(i,e),tt[r]=i,et[i]=e,mCe[i]=new RegExp(e,t?"g":void 0)};St("NUMERICIDENTIFIER","0|[1-9]\\d*");St("NUMERICIDENTIFIERLOOSE","[0-9]+");St("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");St("MAINVERSION",`(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})`);St("MAINVERSIONLOOSE",`(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})`);St("PRERELEASEIDENTIFIER",`(?:${et[tt.NUMERICIDENTIFIER]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASEIDENTIFIERLOOSE",`(?:${et[tt.NUMERICIDENTIFIERLOOSE]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASE",`(?:-(${et[tt.PRERELEASEIDENTIFIER]}(?:\\.${et[tt.PRERELEASEIDENTIFIER]})*))`);St("PRERELEASELOOSE",`(?:-?(${et[tt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${et[tt.PRERELEASEIDENTIFIERLOOSE]})*))`);St("BUILDIDENTIFIER","[0-9A-Za-z-]+");St("BUILD",`(?:\\+(${et[tt.BUILDIDENTIFIER]}(?:\\.${et[tt.BUILDIDENTIFIER]})*))`);St("FULLPLAIN",`v?${et[tt.MAINVERSION]}${et[tt.PRERELEASE]}?${et[tt.BUILD]}?`);St("FULL",`^${et[tt.FULLPLAIN]}$`);St("LOOSEPLAIN",`[v=\\s]*${et[tt.MAINVERSIONLOOSE]}${et[tt.PRERELEASELOOSE]}?${et[tt.BUILD]}?`);St("LOOSE",`^${et[tt.LOOSEPLAIN]}$`);St("GTLT","((?:<|>)?=?)");St("XRANGEIDENTIFIERLOOSE",`${et[tt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);St("XRANGEIDENTIFIER",`${et[tt.NUMERICIDENTIFIER]}|x|X|\\*`);St("XRANGEPLAIN",`[v=\\s]*(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:${et[tt.PRERELEASE]})?${et[tt.BUILD]}?)?)?`);St("XRANGEPLAINLOOSE",`[v=\\s]*(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:${et[tt.PRERELEASELOOSE]})?${et[tt.BUILD]}?)?)?`);St("XRANGE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAIN]}$`);St("XRANGELOOSE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAINLOOSE]}$`);St("COERCE",`(^|[^\\d])(\\d{1,${dv}})(?:\\.(\\d{1,${dv}}))?(?:\\.(\\d{1,${dv}}))?(?:$|[^\\d])`);St("COERCERTL",et[tt.COERCE],!0);St("LONETILDE","(?:~>?)");St("TILDETRIM",`(\\s*)${et[tt.LONETILDE]}\\s+`,!0);NA.tildeTrimReplace="$1~";St("TILDE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAIN]}$`);St("TILDELOOSE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAINLOOSE]}$`);St("LONECARET","(?:\\^)");St("CARETTRIM",`(\\s*)${et[tt.LONECARET]}\\s+`,!0);NA.caretTrimReplace="$1^";St("CARET",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAIN]}$`);St("CARETLOOSE",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAINLOOSE]}$`);St("COMPARATORLOOSE",`^${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]})$|^$`);St("COMPARATOR",`^${et[tt.GTLT]}\\s*(${et[tt.FULLPLAIN]})$|^$`);St("COMPARATORTRIM",`(\\s*)${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]}|${et[tt.XRANGEPLAIN]})`,!0);NA.comparatorTrimReplace="$1$2$3";St("HYPHENRANGE",`^\\s*(${et[tt.XRANGEPLAIN]})\\s+-\\s+(${et[tt.XRANGEPLAIN]})\\s*$`);St("HYPHENRANGELOOSE",`^\\s*(${et[tt.XRANGEPLAINLOOSE]})\\s+-\\s+(${et[tt.XRANGEPLAINLOOSE]})\\s*$`);St("STAR","(<|>)?=?\\s*\\*");St("GTE0","^\\s*>=\\s*0.0.0\\s*$");St("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var hd=w((f$e,XH)=>{var ICe=["includePrerelease","loose","rtl"],yCe=r=>r?typeof r!="object"?{loose:!0}:ICe.filter(e=>r[e]).reduce((e,t)=>(e[t]=!0,e),{}):{};XH.exports=yCe});var MI=w((h$e,$H)=>{var ZH=/^[0-9]+$/,_H=(r,e)=>{let t=ZH.test(r),i=ZH.test(e);return t&&i&&(r=+r,e=+e),r===e?0:t&&!i?-1:i&&!t?1:r_H(e,r);$H.exports={compareIdentifiers:_H,rcompareIdentifiers:wCe}});var Li=w((p$e,iG)=>{var OI=fd(),{MAX_LENGTH:eG,MAX_SAFE_INTEGER:KI}=gd(),{re:tG,t:rG}=uc(),BCe=hd(),{compareIdentifiers:pd}=MI(),Yn=class{constructor(e,t){if(t=BCe(t),e instanceof Yn){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>eG)throw new TypeError(`version is longer than ${eG} characters`);OI("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let i=e.trim().match(t.loose?tG[rG.LOOSE]:tG[rG.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>KI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>KI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>KI||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);i===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};iG.exports=Yn});var gc=w((d$e,aG)=>{var{MAX_LENGTH:bCe}=gd(),{re:nG,t:sG}=uc(),oG=Li(),QCe=hd(),SCe=(r,e)=>{if(e=QCe(e),r instanceof oG)return r;if(typeof r!="string"||r.length>bCe||!(e.loose?nG[sG.LOOSE]:nG[sG.FULL]).test(r))return null;try{return new oG(r,e)}catch{return null}};aG.exports=SCe});var lG=w((C$e,AG)=>{var vCe=gc(),xCe=(r,e)=>{let t=vCe(r,e);return t?t.version:null};AG.exports=xCe});var uG=w((m$e,cG)=>{var PCe=gc(),DCe=(r,e)=>{let t=PCe(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null};cG.exports=DCe});var fG=w((E$e,gG)=>{var kCe=Li(),RCe=(r,e,t,i)=>{typeof t=="string"&&(i=t,t=void 0);try{return new kCe(r,t).inc(e,i).version}catch{return null}};gG.exports=RCe});var cs=w((I$e,pG)=>{var hG=Li(),FCe=(r,e,t)=>new hG(r,t).compare(new hG(e,t));pG.exports=FCe});var UI=w((y$e,dG)=>{var NCe=cs(),TCe=(r,e,t)=>NCe(r,e,t)===0;dG.exports=TCe});var EG=w((w$e,mG)=>{var CG=gc(),LCe=UI(),MCe=(r,e)=>{if(LCe(r,e))return null;{let t=CG(r),i=CG(e),n=t.prerelease.length||i.prerelease.length,s=n?"pre":"",o=n?"prerelease":"";for(let a in t)if((a==="major"||a==="minor"||a==="patch")&&t[a]!==i[a])return s+a;return o}};mG.exports=MCe});var yG=w((B$e,IG)=>{var OCe=Li(),KCe=(r,e)=>new OCe(r,e).major;IG.exports=KCe});var BG=w((b$e,wG)=>{var UCe=Li(),HCe=(r,e)=>new UCe(r,e).minor;wG.exports=HCe});var QG=w((Q$e,bG)=>{var GCe=Li(),YCe=(r,e)=>new GCe(r,e).patch;bG.exports=YCe});var vG=w((S$e,SG)=>{var jCe=gc(),qCe=(r,e)=>{let t=jCe(r,e);return t&&t.prerelease.length?t.prerelease:null};SG.exports=qCe});var PG=w((v$e,xG)=>{var JCe=cs(),WCe=(r,e,t)=>JCe(e,r,t);xG.exports=WCe});var kG=w((x$e,DG)=>{var zCe=cs(),VCe=(r,e)=>zCe(r,e,!0);DG.exports=VCe});var HI=w((P$e,FG)=>{var RG=Li(),XCe=(r,e,t)=>{let i=new RG(r,t),n=new RG(e,t);return i.compare(n)||i.compareBuild(n)};FG.exports=XCe});var TG=w((D$e,NG)=>{var ZCe=HI(),_Ce=(r,e)=>r.sort((t,i)=>ZCe(t,i,e));NG.exports=_Ce});var MG=w((k$e,LG)=>{var $Ce=HI(),eme=(r,e)=>r.sort((t,i)=>$Ce(i,t,e));LG.exports=eme});var dd=w((R$e,OG)=>{var tme=cs(),rme=(r,e,t)=>tme(r,e,t)>0;OG.exports=rme});var GI=w((F$e,KG)=>{var ime=cs(),nme=(r,e,t)=>ime(r,e,t)<0;KG.exports=nme});var Cv=w((N$e,UG)=>{var sme=cs(),ome=(r,e,t)=>sme(r,e,t)!==0;UG.exports=ome});var YI=w((T$e,HG)=>{var ame=cs(),Ame=(r,e,t)=>ame(r,e,t)>=0;HG.exports=Ame});var jI=w((L$e,GG)=>{var lme=cs(),cme=(r,e,t)=>lme(r,e,t)<=0;GG.exports=cme});var mv=w((M$e,YG)=>{var ume=UI(),gme=Cv(),fme=dd(),hme=YI(),pme=GI(),dme=jI(),Cme=(r,e,t,i)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return ume(r,t,i);case"!=":return gme(r,t,i);case">":return fme(r,t,i);case">=":return hme(r,t,i);case"<":return pme(r,t,i);case"<=":return dme(r,t,i);default:throw new TypeError(`Invalid operator: ${e}`)}};YG.exports=Cme});var qG=w((O$e,jG)=>{var mme=Li(),Eme=gc(),{re:qI,t:JI}=uc(),Ime=(r,e)=>{if(r instanceof mme)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};let t=null;if(!e.rtl)t=r.match(qI[JI.COERCE]);else{let i;for(;(i=qI[JI.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||i.index+i[0].length!==t.index+t[0].length)&&(t=i),qI[JI.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;qI[JI.COERCERTL].lastIndex=-1}return t===null?null:Eme(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,e)};jG.exports=Ime});var WG=w((K$e,JG)=>{"use strict";JG.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}});var WI=w((U$e,zG)=>{"use strict";zG.exports=Ht;Ht.Node=fc;Ht.create=Ht;function Ht(r){var e=this;if(e instanceof Ht||(e=new Ht),e.tail=null,e.head=null,e.length=0,r&&typeof r.forEach=="function")r.forEach(function(n){e.push(n)});else if(arguments.length>0)for(var t=0,i=arguments.length;t1)t=e;else if(this.head)i=this.head.next,t=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;i!==null;n++)t=r(t,i.value,n),i=i.next;return t};Ht.prototype.reduceReverse=function(r,e){var t,i=this.tail;if(arguments.length>1)t=e;else if(this.tail)i=this.tail.prev,t=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;i!==null;n--)t=r(t,i.value,n),i=i.prev;return t};Ht.prototype.toArray=function(){for(var r=new Array(this.length),e=0,t=this.head;t!==null;e++)r[e]=t.value,t=t.next;return r};Ht.prototype.toArrayReverse=function(){for(var r=new Array(this.length),e=0,t=this.tail;t!==null;e++)r[e]=t.value,t=t.prev;return r};Ht.prototype.slice=function(r,e){e=e||this.length,e<0&&(e+=this.length),r=r||0,r<0&&(r+=this.length);var t=new Ht;if(ethis.length&&(e=this.length);for(var i=0,n=this.head;n!==null&&ithis.length&&(e=this.length);for(var i=this.length,n=this.tail;n!==null&&i>e;i--)n=n.prev;for(;n!==null&&i>r;i--,n=n.prev)t.push(n.value);return t};Ht.prototype.splice=function(r,e,...t){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,n=this.head;n!==null&&i{"use strict";var bme=WI(),hc=Symbol("max"),va=Symbol("length"),Wg=Symbol("lengthCalculator"),md=Symbol("allowStale"),pc=Symbol("maxAge"),Sa=Symbol("dispose"),VG=Symbol("noDisposeOnSet"),di=Symbol("lruList"),Zs=Symbol("cache"),ZG=Symbol("updateAgeOnGet"),Ev=()=>1,yv=class{constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(typeof e.max!="number"||e.max<0))throw new TypeError("max must be a non-negative number");let t=this[hc]=e.max||1/0,i=e.length||Ev;if(this[Wg]=typeof i!="function"?Ev:i,this[md]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[pc]=e.maxAge||0,this[Sa]=e.dispose,this[VG]=e.noDisposeOnSet||!1,this[ZG]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a non-negative number");this[hc]=e||1/0,Cd(this)}get max(){return this[hc]}set allowStale(e){this[md]=!!e}get allowStale(){return this[md]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[pc]=e,Cd(this)}get maxAge(){return this[pc]}set lengthCalculator(e){typeof e!="function"&&(e=Ev),e!==this[Wg]&&(this[Wg]=e,this[va]=0,this[di].forEach(t=>{t.length=this[Wg](t.value,t.key),this[va]+=t.length})),Cd(this)}get lengthCalculator(){return this[Wg]}get length(){return this[va]}get itemCount(){return this[di].length}rforEach(e,t){t=t||this;for(let i=this[di].tail;i!==null;){let n=i.prev;XG(this,e,i,t),i=n}}forEach(e,t){t=t||this;for(let i=this[di].head;i!==null;){let n=i.next;XG(this,e,i,t),i=n}}keys(){return this[di].toArray().map(e=>e.key)}values(){return this[di].toArray().map(e=>e.value)}reset(){this[Sa]&&this[di]&&this[di].length&&this[di].forEach(e=>this[Sa](e.key,e.value)),this[Zs]=new Map,this[di]=new bme,this[va]=0}dump(){return this[di].map(e=>zI(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[di]}set(e,t,i){if(i=i||this[pc],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let n=i?Date.now():0,s=this[Wg](t,e);if(this[Zs].has(e)){if(s>this[hc])return zg(this,this[Zs].get(e)),!1;let l=this[Zs].get(e).value;return this[Sa]&&(this[VG]||this[Sa](e,l.value)),l.now=n,l.maxAge=i,l.value=t,this[va]+=s-l.length,l.length=s,this.get(e),Cd(this),!0}let o=new wv(e,t,s,n,i);return o.length>this[hc]?(this[Sa]&&this[Sa](e,t),!1):(this[va]+=o.length,this[di].unshift(o),this[Zs].set(e,this[di].head),Cd(this),!0)}has(e){if(!this[Zs].has(e))return!1;let t=this[Zs].get(e).value;return!zI(this,t)}get(e){return Iv(this,e,!0)}peek(e){return Iv(this,e,!1)}pop(){let e=this[di].tail;return e?(zg(this,e),e.value):null}del(e){zg(this,this[Zs].get(e))}load(e){this.reset();let t=Date.now();for(let i=e.length-1;i>=0;i--){let n=e[i],s=n.e||0;if(s===0)this.set(n.k,n.v);else{let o=s-t;o>0&&this.set(n.k,n.v,o)}}}prune(){this[Zs].forEach((e,t)=>Iv(this,t,!1))}},Iv=(r,e,t)=>{let i=r[Zs].get(e);if(i){let n=i.value;if(zI(r,n)){if(zg(r,i),!r[md])return}else t&&(r[ZG]&&(i.value.now=Date.now()),r[di].unshiftNode(i));return n.value}},zI=(r,e)=>{if(!e||!e.maxAge&&!r[pc])return!1;let t=Date.now()-e.now;return e.maxAge?t>e.maxAge:r[pc]&&t>r[pc]},Cd=r=>{if(r[va]>r[hc])for(let e=r[di].tail;r[va]>r[hc]&&e!==null;){let t=e.prev;zg(r,e),e=t}},zg=(r,e)=>{if(e){let t=e.value;r[Sa]&&r[Sa](t.key,t.value),r[va]-=t.length,r[Zs].delete(t.key),r[di].removeNode(e)}},wv=class{constructor(e,t,i,n,s){this.key=e,this.value=t,this.length=i,this.now=n,this.maxAge=s||0}},XG=(r,e,t,i)=>{let n=t.value;zI(r,n)&&(zg(r,t),r[md]||(n=void 0)),n&&e.call(i,n.value,n.key,r)};_G.exports=yv});var us=w((G$e,iY)=>{var dc=class{constructor(e,t){if(t=Sme(t),e instanceof dc)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new dc(e.raw,t);if(e instanceof Bv)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!tY(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&kme(n[0])){this.set=[n];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();let i=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=eY.get(i);if(n)return n;let s=this.options.loose,o=s?Mi[bi.HYPHENRANGELOOSE]:Mi[bi.HYPHENRANGE];e=e.replace(o,Hme(this.options.includePrerelease)),Hr("hyphen replace",e),e=e.replace(Mi[bi.COMPARATORTRIM],xme),Hr("comparator trim",e,Mi[bi.COMPARATORTRIM]),e=e.replace(Mi[bi.TILDETRIM],Pme),e=e.replace(Mi[bi.CARETTRIM],Dme),e=e.split(/\s+/).join(" ");let a=s?Mi[bi.COMPARATORLOOSE]:Mi[bi.COMPARATOR],l=e.split(" ").map(f=>Rme(f,this.options)).join(" ").split(/\s+/).map(f=>Ume(f,this.options)).filter(this.options.loose?f=>!!f.match(a):()=>!0).map(f=>new Bv(f,this.options)),c=l.length,u=new Map;for(let f of l){if(tY(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");let g=[...u.values()];return eY.set(i,g),g}intersects(e,t){if(!(e instanceof dc))throw new TypeError("a Range is required");return this.set.some(i=>rY(i,t)&&e.set.some(n=>rY(n,t)&&i.every(s=>n.every(o=>s.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new vme(e,this.options)}catch{return!1}for(let t=0;tr.value==="<0.0.0-0",kme=r=>r.value==="",rY=(r,e)=>{let t=!0,i=r.slice(),n=i.pop();for(;t&&i.length;)t=i.every(s=>n.intersects(s,e)),n=i.pop();return t},Rme=(r,e)=>(Hr("comp",r,e),r=Tme(r,e),Hr("caret",r),r=Fme(r,e),Hr("tildes",r),r=Mme(r,e),Hr("xrange",r),r=Kme(r,e),Hr("stars",r),r),$i=r=>!r||r.toLowerCase()==="x"||r==="*",Fme=(r,e)=>r.trim().split(/\s+/).map(t=>Nme(t,e)).join(" "),Nme=(r,e)=>{let t=e.loose?Mi[bi.TILDELOOSE]:Mi[bi.TILDE];return r.replace(t,(i,n,s,o,a)=>{Hr("tilde",r,i,n,s,o,a);let l;return $i(n)?l="":$i(s)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:$i(o)?l=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:a?(Hr("replaceTilde pr",a),l=`>=${n}.${s}.${o}-${a} <${n}.${+s+1}.0-0`):l=`>=${n}.${s}.${o} <${n}.${+s+1}.0-0`,Hr("tilde return",l),l})},Tme=(r,e)=>r.trim().split(/\s+/).map(t=>Lme(t,e)).join(" "),Lme=(r,e)=>{Hr("caret",r,e);let t=e.loose?Mi[bi.CARETLOOSE]:Mi[bi.CARET],i=e.includePrerelease?"-0":"";return r.replace(t,(n,s,o,a,l)=>{Hr("caret",r,n,s,o,a,l);let c;return $i(s)?c="":$i(o)?c=`>=${s}.0.0${i} <${+s+1}.0.0-0`:$i(a)?s==="0"?c=`>=${s}.${o}.0${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.0${i} <${+s+1}.0.0-0`:l?(Hr("replaceCaret pr",l),s==="0"?o==="0"?c=`>=${s}.${o}.${a}-${l} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}-${l} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a}-${l} <${+s+1}.0.0-0`):(Hr("no pr"),s==="0"?o==="0"?c=`>=${s}.${o}.${a}${i} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),Hr("caret return",c),c})},Mme=(r,e)=>(Hr("replaceXRanges",r,e),r.split(/\s+/).map(t=>Ome(t,e)).join(" ")),Ome=(r,e)=>{r=r.trim();let t=e.loose?Mi[bi.XRANGELOOSE]:Mi[bi.XRANGE];return r.replace(t,(i,n,s,o,a,l)=>{Hr("xRange",r,i,n,s,o,a,l);let c=$i(s),u=c||$i(o),g=u||$i(a),f=g;return n==="="&&f&&(n=""),l=e.includePrerelease?"-0":"",c?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&f?(u&&(o=0),a=0,n===">"?(n=">=",u?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?s=+s+1:o=+o+1),n==="<"&&(l="-0"),i=`${n+s}.${o}.${a}${l}`):u?i=`>=${s}.0.0${l} <${+s+1}.0.0-0`:g&&(i=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),Hr("xRange return",i),i})},Kme=(r,e)=>(Hr("replaceStars",r,e),r.trim().replace(Mi[bi.STAR],"")),Ume=(r,e)=>(Hr("replaceGTE0",r,e),r.trim().replace(Mi[e.includePrerelease?bi.GTE0PRE:bi.GTE0],"")),Hme=r=>(e,t,i,n,s,o,a,l,c,u,g,f,h)=>($i(i)?t="":$i(n)?t=`>=${i}.0.0${r?"-0":""}`:$i(s)?t=`>=${i}.${n}.0${r?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,$i(c)?l="":$i(u)?l=`<${+c+1}.0.0-0`:$i(g)?l=`<${c}.${+u+1}.0-0`:f?l=`<=${c}.${u}.${g}-${f}`:r?l=`<${c}.${u}.${+g+1}-0`:l=`<=${l}`,`${t} ${l}`.trim()),Gme=(r,e,t)=>{for(let i=0;i0){let n=r[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Ed=w((Y$e,AY)=>{var Id=Symbol("SemVer ANY"),Vg=class{static get ANY(){return Id}constructor(e,t){if(t=Yme(t),e instanceof Vg){if(e.loose===!!t.loose)return e;e=e.value}Qv("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Id?this.value="":this.value=this.operator+this.semver.version,Qv("comp",this)}parse(e){let t=this.options.loose?nY[sY.COMPARATORLOOSE]:nY[sY.COMPARATOR],i=e.match(t);if(!i)throw new TypeError(`Invalid comparator: ${e}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new oY(i[2],this.options.loose):this.semver=Id}toString(){return this.value}test(e){if(Qv("Comparator.test",e,this.options.loose),this.semver===Id||e===Id)return!0;if(typeof e=="string")try{e=new oY(e,this.options)}catch{return!1}return bv(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Vg))throw new TypeError("a Comparator is required");if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new aY(e.value,t).test(this.value);if(e.operator==="")return e.value===""?!0:new aY(this.value,t).test(e.semver);let i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),s=this.semver.version===e.semver.version,o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),a=bv(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=bv(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||n||s&&o||a||l}};AY.exports=Vg;var Yme=hd(),{re:nY,t:sY}=uc(),bv=mv(),Qv=fd(),oY=Li(),aY=us()});var yd=w((j$e,lY)=>{var jme=us(),qme=(r,e,t)=>{try{e=new jme(e,t)}catch{return!1}return e.test(r)};lY.exports=qme});var uY=w((q$e,cY)=>{var Jme=us(),Wme=(r,e)=>new Jme(r,e).set.map(t=>t.map(i=>i.value).join(" ").trim().split(" "));cY.exports=Wme});var fY=w((J$e,gY)=>{var zme=Li(),Vme=us(),Xme=(r,e,t)=>{let i=null,n=null,s=null;try{s=new Vme(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===-1)&&(i=o,n=new zme(i,t))}),i};gY.exports=Xme});var pY=w((W$e,hY)=>{var Zme=Li(),_me=us(),$me=(r,e,t)=>{let i=null,n=null,s=null;try{s=new _me(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===1)&&(i=o,n=new Zme(i,t))}),i};hY.exports=$me});var mY=w((z$e,CY)=>{var Sv=Li(),eEe=us(),dY=dd(),tEe=(r,e)=>{r=new eEe(r,e);let t=new Sv("0.0.0");if(r.test(t)||(t=new Sv("0.0.0-0"),r.test(t)))return t;t=null;for(let i=0;i{let a=new Sv(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||dY(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),s&&(!t||dY(t,s))&&(t=s)}return t&&r.test(t)?t:null};CY.exports=tEe});var IY=w((V$e,EY)=>{var rEe=us(),iEe=(r,e)=>{try{return new rEe(r,e).range||"*"}catch{return null}};EY.exports=iEe});var VI=w((X$e,bY)=>{var nEe=Li(),BY=Ed(),{ANY:sEe}=BY,oEe=us(),aEe=yd(),yY=dd(),wY=GI(),AEe=jI(),lEe=YI(),cEe=(r,e,t,i)=>{r=new nEe(r,i),e=new oEe(e,i);let n,s,o,a,l;switch(t){case">":n=yY,s=AEe,o=wY,a=">",l=">=";break;case"<":n=wY,s=lEe,o=yY,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(aEe(r,e,i))return!1;for(let c=0;c{h.semver===sEe&&(h=new BY(">=0.0.0")),g=g||h,f=f||h,n(h.semver,g.semver,i)?g=h:o(h.semver,f.semver,i)&&(f=h)}),g.operator===a||g.operator===l||(!f.operator||f.operator===a)&&s(r,f.semver))return!1;if(f.operator===l&&o(r,f.semver))return!1}return!0};bY.exports=cEe});var SY=w((Z$e,QY)=>{var uEe=VI(),gEe=(r,e,t)=>uEe(r,e,">",t);QY.exports=gEe});var xY=w((_$e,vY)=>{var fEe=VI(),hEe=(r,e,t)=>fEe(r,e,"<",t);vY.exports=hEe});var kY=w(($$e,DY)=>{var PY=us(),pEe=(r,e,t)=>(r=new PY(r,t),e=new PY(e,t),r.intersects(e));DY.exports=pEe});var FY=w((eet,RY)=>{var dEe=yd(),CEe=cs();RY.exports=(r,e,t)=>{let i=[],n=null,s=null,o=r.sort((u,g)=>CEe(u,g,t));for(let u of o)dEe(u,e,t)?(s=u,n||(n=u)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let a=[];for(let[u,g]of i)u===g?a.push(u):!g&&u===o[0]?a.push("*"):g?u===o[0]?a.push(`<=${g}`):a.push(`${u} - ${g}`):a.push(`>=${u}`);let l=a.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return l.length{var NY=us(),XI=Ed(),{ANY:vv}=XI,wd=yd(),xv=cs(),mEe=(r,e,t={})=>{if(r===e)return!0;r=new NY(r,t),e=new NY(e,t);let i=!1;e:for(let n of r.set){for(let s of e.set){let o=EEe(n,s,t);if(i=i||o!==null,o)continue e}if(i)return!1}return!0},EEe=(r,e,t)=>{if(r===e)return!0;if(r.length===1&&r[0].semver===vv){if(e.length===1&&e[0].semver===vv)return!0;t.includePrerelease?r=[new XI(">=0.0.0-0")]:r=[new XI(">=0.0.0")]}if(e.length===1&&e[0].semver===vv){if(t.includePrerelease)return!0;e=[new XI(">=0.0.0")]}let i=new Set,n,s;for(let h of r)h.operator===">"||h.operator===">="?n=TY(n,h,t):h.operator==="<"||h.operator==="<="?s=LY(s,h,t):i.add(h.semver);if(i.size>1)return null;let o;if(n&&s){if(o=xv(n.semver,s.semver,t),o>0)return null;if(o===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let h of i){if(n&&!wd(h,String(n),t)||s&&!wd(h,String(s),t))return null;for(let p of e)if(!wd(h,String(p),t))return!1;return!0}let a,l,c,u,g=s&&!t.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1;g&&g.prerelease.length===1&&s.operator==="<"&&g.prerelease[0]===0&&(g=!1);for(let h of e){if(u=u||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",n){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator===">"||h.operator===">="){if(a=TY(n,h,t),a===h&&a!==n)return!1}else if(n.operator===">="&&!wd(n.semver,String(h),t))return!1}if(s){if(g&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===g.major&&h.semver.minor===g.minor&&h.semver.patch===g.patch&&(g=!1),h.operator==="<"||h.operator==="<="){if(l=LY(s,h,t),l===h&&l!==s)return!1}else if(s.operator==="<="&&!wd(s.semver,String(h),t))return!1}if(!h.operator&&(s||n)&&o!==0)return!1}return!(n&&c&&!s&&o!==0||s&&u&&!n&&o!==0||f||g)},TY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i>0?r:i<0||e.operator===">"&&r.operator===">="?e:r},LY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i<0?r:i>0||e.operator==="<"&&r.operator==="<="?e:r};MY.exports=mEe});var Xr=w((ret,KY)=>{var Pv=uc();KY.exports={re:Pv.re,src:Pv.src,tokens:Pv.t,SEMVER_SPEC_VERSION:gd().SEMVER_SPEC_VERSION,SemVer:Li(),compareIdentifiers:MI().compareIdentifiers,rcompareIdentifiers:MI().rcompareIdentifiers,parse:gc(),valid:lG(),clean:uG(),inc:fG(),diff:EG(),major:yG(),minor:BG(),patch:QG(),prerelease:vG(),compare:cs(),rcompare:PG(),compareLoose:kG(),compareBuild:HI(),sort:TG(),rsort:MG(),gt:dd(),lt:GI(),eq:UI(),neq:Cv(),gte:YI(),lte:jI(),cmp:mv(),coerce:qG(),Comparator:Ed(),Range:us(),satisfies:yd(),toComparators:uY(),maxSatisfying:fY(),minSatisfying:pY(),minVersion:mY(),validRange:IY(),outside:VI(),gtr:SY(),ltr:xY(),intersects:kY(),simplifyRange:FY(),subset:OY()}});var Dv=w(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0});ZI.VERSION=void 0;ZI.VERSION="9.1.0"});var Gt=w((exports,module)=>{"use strict";var __spreadArray=exports&&exports.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var i=0,n=e.length,s;i{(function(r,e){typeof define=="function"&&define.amd?define([],e):typeof _I=="object"&&_I.exports?_I.exports=e():r.regexpToAst=e()})(typeof self<"u"?self:UY,function(){function r(){}r.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},r.prototype.restoreState=function(p){this.idx=p.idx,this.input=p.input,this.groupIdx=p.groupIdx},r.prototype.pattern=function(p){this.idx=0,this.input=p,this.groupIdx=0,this.consumeChar("/");var C=this.disjunction();this.consumeChar("/");for(var y={type:"Flags",loc:{begin:this.idx,end:p.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":o(y,"global");break;case"i":o(y,"ignoreCase");break;case"m":o(y,"multiLine");break;case"u":o(y,"unicode");break;case"y":o(y,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:y,value:C,loc:this.loc(0)}},r.prototype.disjunction=function(){var p=[],C=this.idx;for(p.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),p.push(this.alternative());return{type:"Disjunction",value:p,loc:this.loc(C)}},r.prototype.alternative=function(){for(var p=[],C=this.idx;this.isTerm();)p.push(this.term());return{type:"Alternative",value:p,loc:this.loc(C)}},r.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},r.prototype.assertion=function(){var p=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(p)};case"$":return{type:"EndAnchor",loc:this.loc(p)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(p)};case"B":return{type:"NonWordBoundary",loc:this.loc(p)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");var C;switch(this.popChar()){case"=":C="Lookahead";break;case"!":C="NegativeLookahead";break}a(C);var y=this.disjunction();return this.consumeChar(")"),{type:C,value:y,loc:this.loc(p)}}l()},r.prototype.quantifier=function(p){var C,y=this.idx;switch(this.popChar()){case"*":C={atLeast:0,atMost:1/0};break;case"+":C={atLeast:1,atMost:1/0};break;case"?":C={atLeast:0,atMost:1};break;case"{":var B=this.integerIncludingZero();switch(this.popChar()){case"}":C={atLeast:B,atMost:B};break;case",":var v;this.isDigit()?(v=this.integerIncludingZero(),C={atLeast:B,atMost:v}):C={atLeast:B,atMost:1/0},this.consumeChar("}");break}if(p===!0&&C===void 0)return;a(C);break}if(!(p===!0&&C===void 0))return a(C),this.peekChar(0)==="?"?(this.consumeChar("?"),C.greedy=!1):C.greedy=!0,C.type="Quantifier",C.loc=this.loc(y),C},r.prototype.atom=function(){var p,C=this.idx;switch(this.peekChar()){case".":p=this.dotAll();break;case"\\":p=this.atomEscape();break;case"[":p=this.characterClass();break;case"(":p=this.group();break}return p===void 0&&this.isPatternCharacter()&&(p=this.patternCharacter()),a(p),p.loc=this.loc(C),this.isQuantifier()&&(p.quantifier=this.quantifier()),p},r.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[n(` -`),n("\r"),n("\u2028"),n("\u2029")]}},r.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},r.prototype.decimalEscapeAtom=function(){var p=this.positiveInteger();return{type:"GroupBackReference",value:p}},r.prototype.characterClassEscape=function(){var p,C=!1;switch(this.popChar()){case"d":p=u;break;case"D":p=u,C=!0;break;case"s":p=f;break;case"S":p=f,C=!0;break;case"w":p=g;break;case"W":p=g,C=!0;break}return a(p),{type:"Set",value:p,complement:C}},r.prototype.controlEscapeAtom=function(){var p;switch(this.popChar()){case"f":p=n("\f");break;case"n":p=n(` -`);break;case"r":p=n("\r");break;case"t":p=n(" ");break;case"v":p=n("\v");break}return a(p),{type:"Character",value:p}},r.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var p=this.popChar();if(/[a-zA-Z]/.test(p)===!1)throw Error("Invalid ");var C=p.toUpperCase().charCodeAt(0)-64;return{type:"Character",value:C}},r.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:n("\0")}},r.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},r.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},r.prototype.identityEscapeAtom=function(){var p=this.popChar();return{type:"Character",value:n(p)}},r.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case` -`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:var p=this.popChar();return{type:"Character",value:n(p)}}},r.prototype.characterClass=function(){var p=[],C=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),C=!0);this.isClassAtom();){var y=this.classAtom(),B=y.type==="Character";if(B&&this.isRangeDash()){this.consumeChar("-");var v=this.classAtom(),D=v.type==="Character";if(D){if(v.value=this.input.length)throw Error("Unexpected end of input");this.idx++},r.prototype.loc=function(p){return{begin:p,end:this.idx}};var e=/[0-9a-fA-F]/,t=/[0-9]/,i=/[1-9]/;function n(p){return p.charCodeAt(0)}function s(p,C){p.length!==void 0?p.forEach(function(y){C.push(y)}):C.push(p)}function o(p,C){if(p[C]===!0)throw"duplicate flag "+C;p[C]=!0}function a(p){if(p===void 0)throw Error("Internal Error - Should never get here!")}function l(){throw Error("Internal Error - Should never get here!")}var c,u=[];for(c=n("0");c<=n("9");c++)u.push(c);var g=[n("_")].concat(u);for(c=n("a");c<=n("z");c++)g.push(c);for(c=n("A");c<=n("Z");c++)g.push(c);var f=[n(" "),n("\f"),n(` -`),n("\r"),n(" "),n("\v"),n(" "),n("\xA0"),n("\u1680"),n("\u2000"),n("\u2001"),n("\u2002"),n("\u2003"),n("\u2004"),n("\u2005"),n("\u2006"),n("\u2007"),n("\u2008"),n("\u2009"),n("\u200A"),n("\u2028"),n("\u2029"),n("\u202F"),n("\u205F"),n("\u3000"),n("\uFEFF")];function h(){}return h.prototype.visitChildren=function(p){for(var C in p){var y=p[C];p.hasOwnProperty(C)&&(y.type!==void 0?this.visit(y):Array.isArray(y)&&y.forEach(function(B){this.visit(B)},this))}},h.prototype.visit=function(p){switch(p.type){case"Pattern":this.visitPattern(p);break;case"Flags":this.visitFlags(p);break;case"Disjunction":this.visitDisjunction(p);break;case"Alternative":this.visitAlternative(p);break;case"StartAnchor":this.visitStartAnchor(p);break;case"EndAnchor":this.visitEndAnchor(p);break;case"WordBoundary":this.visitWordBoundary(p);break;case"NonWordBoundary":this.visitNonWordBoundary(p);break;case"Lookahead":this.visitLookahead(p);break;case"NegativeLookahead":this.visitNegativeLookahead(p);break;case"Character":this.visitCharacter(p);break;case"Set":this.visitSet(p);break;case"Group":this.visitGroup(p);break;case"GroupBackReference":this.visitGroupBackReference(p);break;case"Quantifier":this.visitQuantifier(p);break}this.visitChildren(p)},h.prototype.visitPattern=function(p){},h.prototype.visitFlags=function(p){},h.prototype.visitDisjunction=function(p){},h.prototype.visitAlternative=function(p){},h.prototype.visitStartAnchor=function(p){},h.prototype.visitEndAnchor=function(p){},h.prototype.visitWordBoundary=function(p){},h.prototype.visitNonWordBoundary=function(p){},h.prototype.visitLookahead=function(p){},h.prototype.visitNegativeLookahead=function(p){},h.prototype.visitCharacter=function(p){},h.prototype.visitSet=function(p){},h.prototype.visitGroup=function(p){},h.prototype.visitGroupBackReference=function(p){},h.prototype.visitQuantifier=function(p){},{RegExpParser:r,BaseRegExpVisitor:h,VERSION:"0.5.0"}})});var ty=w(Xg=>{"use strict";Object.defineProperty(Xg,"__esModule",{value:!0});Xg.clearRegExpParserCache=Xg.getRegExpAst=void 0;var IEe=$I(),ey={},yEe=new IEe.RegExpParser;function wEe(r){var e=r.toString();if(ey.hasOwnProperty(e))return ey[e];var t=yEe.pattern(e);return ey[e]=t,t}Xg.getRegExpAst=wEe;function BEe(){ey={}}Xg.clearRegExpParserCache=BEe});var qY=w(Cn=>{"use strict";var bEe=Cn&&Cn.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Cn,"__esModule",{value:!0});Cn.canMatchCharCode=Cn.firstCharOptimizedIndices=Cn.getOptimizedStartCodesIndices=Cn.failedOptimizationPrefixMsg=void 0;var GY=$I(),gs=Gt(),YY=ty(),xa=Rv(),jY="Complement Sets are not supported for first char optimization";Cn.failedOptimizationPrefixMsg=`Unable to use "first char" lexer optimizations: -`;function QEe(r,e){e===void 0&&(e=!1);try{var t=(0,YY.getRegExpAst)(r),i=iy(t.value,{},t.flags.ignoreCase);return i}catch(s){if(s.message===jY)e&&(0,gs.PRINT_WARNING)(""+Cn.failedOptimizationPrefixMsg+(" Unable to optimize: < "+r.toString()+` > -`)+` Complement Sets cannot be automatically optimized. - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{var n="";e&&(n=` - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),(0,gs.PRINT_ERROR)(Cn.failedOptimizationPrefixMsg+` -`+(" Failed parsing: < "+r.toString()+` > -`)+(" Using the regexp-to-ast library version: "+GY.VERSION+` -`)+" Please open an issue at: https://github.com/bd82/regexp-to-ast/issues"+n)}}return[]}Cn.getOptimizedStartCodesIndices=QEe;function iy(r,e,t){switch(r.type){case"Disjunction":for(var i=0;i=xa.minOptimizationVal)for(var f=u.from>=xa.minOptimizationVal?u.from:xa.minOptimizationVal,h=u.to,p=(0,xa.charCodeToOptimizedIndex)(f),C=(0,xa.charCodeToOptimizedIndex)(h),y=p;y<=C;y++)e[y]=y}}});break;case"Group":iy(o.value,e,t);break;default:throw Error("Non Exhaustive Match")}var a=o.quantifier!==void 0&&o.quantifier.atLeast===0;if(o.type==="Group"&&kv(o)===!1||o.type!=="Group"&&a===!1)break}break;default:throw Error("non exhaustive match!")}return(0,gs.values)(e)}Cn.firstCharOptimizedIndices=iy;function ry(r,e,t){var i=(0,xa.charCodeToOptimizedIndex)(r);e[i]=i,t===!0&&SEe(r,e)}function SEe(r,e){var t=String.fromCharCode(r),i=t.toUpperCase();if(i!==t){var n=(0,xa.charCodeToOptimizedIndex)(i.charCodeAt(0));e[n]=n}else{var s=t.toLowerCase();if(s!==t){var n=(0,xa.charCodeToOptimizedIndex)(s.charCodeAt(0));e[n]=n}}}function HY(r,e){return(0,gs.find)(r.value,function(t){if(typeof t=="number")return(0,gs.contains)(e,t);var i=t;return(0,gs.find)(e,function(n){return i.from<=n&&n<=i.to})!==void 0})}function kv(r){return r.quantifier&&r.quantifier.atLeast===0?!0:r.value?(0,gs.isArray)(r.value)?(0,gs.every)(r.value,kv):kv(r.value):!1}var vEe=function(r){bEe(e,r);function e(t){var i=r.call(this)||this;return i.targetCharCodes=t,i.found=!1,i}return e.prototype.visitChildren=function(t){if(this.found!==!0){switch(t.type){case"Lookahead":this.visitLookahead(t);return;case"NegativeLookahead":this.visitNegativeLookahead(t);return}r.prototype.visitChildren.call(this,t)}},e.prototype.visitCharacter=function(t){(0,gs.contains)(this.targetCharCodes,t.value)&&(this.found=!0)},e.prototype.visitSet=function(t){t.complement?HY(t,this.targetCharCodes)===void 0&&(this.found=!0):HY(t,this.targetCharCodes)!==void 0&&(this.found=!0)},e}(GY.BaseRegExpVisitor);function xEe(r,e){if(e instanceof RegExp){var t=(0,YY.getRegExpAst)(e),i=new vEe(r);return i.visit(t),i.found}else return(0,gs.find)(e,function(n){return(0,gs.contains)(r,n.charCodeAt(0))})!==void 0}Cn.canMatchCharCode=xEe});var Rv=w(Ve=>{"use strict";var JY=Ve&&Ve.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Ve,"__esModule",{value:!0});Ve.charCodeToOptimizedIndex=Ve.minOptimizationVal=Ve.buildLineBreakIssueMessage=Ve.LineTerminatorOptimizedTester=Ve.isShortPattern=Ve.isCustomPattern=Ve.cloneEmptyGroups=Ve.performWarningRuntimeChecks=Ve.performRuntimeChecks=Ve.addStickyFlag=Ve.addStartOfInput=Ve.findUnreachablePatterns=Ve.findModesThatDoNotExist=Ve.findInvalidGroupType=Ve.findDuplicatePatterns=Ve.findUnsupportedFlags=Ve.findStartOfInputAnchor=Ve.findEmptyMatchRegExps=Ve.findEndOfInputAnchor=Ve.findInvalidPatterns=Ve.findMissingPatterns=Ve.validatePatterns=Ve.analyzeTokenTypes=Ve.enableSticky=Ve.disableSticky=Ve.SUPPORT_STICKY=Ve.MODES=Ve.DEFAULT_MODE=void 0;var WY=$I(),ir=Bd(),xe=Gt(),Zg=qY(),zY=ty(),ko="PATTERN";Ve.DEFAULT_MODE="defaultMode";Ve.MODES="modes";Ve.SUPPORT_STICKY=typeof new RegExp("(?:)").sticky=="boolean";function PEe(){Ve.SUPPORT_STICKY=!1}Ve.disableSticky=PEe;function DEe(){Ve.SUPPORT_STICKY=!0}Ve.enableSticky=DEe;function kEe(r,e){e=(0,xe.defaults)(e,{useSticky:Ve.SUPPORT_STICKY,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` -`],tracer:function(v,D){return D()}});var t=e.tracer;t("initCharCodeToOptimizedIndexMap",function(){HEe()});var i;t("Reject Lexer.NA",function(){i=(0,xe.reject)(r,function(v){return v[ko]===ir.Lexer.NA})});var n=!1,s;t("Transform Patterns",function(){n=!1,s=(0,xe.map)(i,function(v){var D=v[ko];if((0,xe.isRegExp)(D)){var T=D.source;return T.length===1&&T!=="^"&&T!=="$"&&T!=="."&&!D.ignoreCase?T:T.length===2&&T[0]==="\\"&&!(0,xe.contains)(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],T[1])?T[1]:e.useSticky?Tv(D):Nv(D)}else{if((0,xe.isFunction)(D))return n=!0,{exec:D};if((0,xe.has)(D,"exec"))return n=!0,D;if(typeof D=="string"){if(D.length===1)return D;var H=D.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),j=new RegExp(H);return e.useSticky?Tv(j):Nv(j)}else throw Error("non exhaustive match")}})});var o,a,l,c,u;t("misc mapping",function(){o=(0,xe.map)(i,function(v){return v.tokenTypeIdx}),a=(0,xe.map)(i,function(v){var D=v.GROUP;if(D!==ir.Lexer.SKIPPED){if((0,xe.isString)(D))return D;if((0,xe.isUndefined)(D))return!1;throw Error("non exhaustive match")}}),l=(0,xe.map)(i,function(v){var D=v.LONGER_ALT;if(D){var T=(0,xe.isArray)(D)?(0,xe.map)(D,function(H){return(0,xe.indexOf)(i,H)}):[(0,xe.indexOf)(i,D)];return T}}),c=(0,xe.map)(i,function(v){return v.PUSH_MODE}),u=(0,xe.map)(i,function(v){return(0,xe.has)(v,"POP_MODE")})});var g;t("Line Terminator Handling",function(){var v=Aj(e.lineTerminatorCharacters);g=(0,xe.map)(i,function(D){return!1}),e.positionTracking!=="onlyOffset"&&(g=(0,xe.map)(i,function(D){if((0,xe.has)(D,"LINE_BREAKS"))return D.LINE_BREAKS;if(oj(D,v)===!1)return(0,Zg.canMatchCharCode)(v,D.PATTERN)}))});var f,h,p,C;t("Misc Mapping #2",function(){f=(0,xe.map)(i,Mv),h=(0,xe.map)(s,sj),p=(0,xe.reduce)(i,function(v,D){var T=D.GROUP;return(0,xe.isString)(T)&&T!==ir.Lexer.SKIPPED&&(v[T]=[]),v},{}),C=(0,xe.map)(s,function(v,D){return{pattern:s[D],longerAlt:l[D],canLineTerminator:g[D],isCustom:f[D],short:h[D],group:a[D],push:c[D],pop:u[D],tokenTypeIdx:o[D],tokenType:i[D]}})});var y=!0,B=[];return e.safeMode||t("First Char Optimization",function(){B=(0,xe.reduce)(i,function(v,D,T){if(typeof D.PATTERN=="string"){var H=D.PATTERN.charCodeAt(0),j=Lv(H);Fv(v,j,C[T])}else if((0,xe.isArray)(D.START_CHARS_HINT)){var $;(0,xe.forEach)(D.START_CHARS_HINT,function(W){var _=typeof W=="string"?W.charCodeAt(0):W,A=Lv(_);$!==A&&($=A,Fv(v,A,C[T]))})}else if((0,xe.isRegExp)(D.PATTERN))if(D.PATTERN.unicode)y=!1,e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" Unable to analyze < "+D.PATTERN.toString()+` > pattern. -`)+` The regexp unicode flag is not currently supported by the regexp-to-ast library. - This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{var V=(0,Zg.getOptimizedStartCodesIndices)(D.PATTERN,e.ensureOptimizations);(0,xe.isEmpty)(V)&&(y=!1),(0,xe.forEach)(V,function(W){Fv(v,W,C[T])})}else e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" TokenType: <"+D.name+`> is using a custom token pattern without providing parameter. -`)+` This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),y=!1;return v},[])}),t("ArrayPacking",function(){B=(0,xe.packArray)(B)}),{emptyGroups:p,patternIdxToConfig:C,charCodeToPatternIdxToConfig:B,hasCustom:n,canBeOptimized:y}}Ve.analyzeTokenTypes=kEe;function REe(r,e){var t=[],i=VY(r);t=t.concat(i.errors);var n=XY(i.valid),s=n.valid;return t=t.concat(n.errors),t=t.concat(FEe(s)),t=t.concat(rj(s)),t=t.concat(ij(s,e)),t=t.concat(nj(s)),t}Ve.validatePatterns=REe;function FEe(r){var e=[],t=(0,xe.filter)(r,function(i){return(0,xe.isRegExp)(i[ko])});return e=e.concat(ZY(t)),e=e.concat($Y(t)),e=e.concat(ej(t)),e=e.concat(tj(t)),e=e.concat(_Y(t)),e}function VY(r){var e=(0,xe.filter)(r,function(n){return!(0,xe.has)(n,ko)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- missing static 'PATTERN' property",type:ir.LexerDefinitionErrorType.MISSING_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findMissingPatterns=VY;function XY(r){var e=(0,xe.filter)(r,function(n){var s=n[ko];return!(0,xe.isRegExp)(s)&&!(0,xe.isFunction)(s)&&!(0,xe.has)(s,"exec")&&!(0,xe.isString)(s)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:ir.LexerDefinitionErrorType.INVALID_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findInvalidPatterns=XY;var NEe=/[^\\][\$]/;function ZY(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitEndAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return NEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain end of input anchor '$' - See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.EOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findEndOfInputAnchor=ZY;function _Y(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n.test("")}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' must not match an empty string",type:ir.LexerDefinitionErrorType.EMPTY_MATCH_PATTERN,tokenTypes:[i]}});return t}Ve.findEmptyMatchRegExps=_Y;var TEe=/[^\\[][\^]|^\^/;function $Y(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitStartAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return TEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain start of input anchor '^' - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.SOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findStartOfInputAnchor=$Y;function ej(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n instanceof RegExp&&(n.multiline||n.global)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:ir.LexerDefinitionErrorType.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[i]}});return t}Ve.findUnsupportedFlags=ej;function tj(r){var e=[],t=(0,xe.map)(r,function(s){return(0,xe.reduce)(r,function(o,a){return s.PATTERN.source===a.PATTERN.source&&!(0,xe.contains)(e,a)&&a.PATTERN!==ir.Lexer.NA&&(e.push(a),o.push(a)),o},[])});t=(0,xe.compact)(t);var i=(0,xe.filter)(t,function(s){return s.length>1}),n=(0,xe.map)(i,function(s){var o=(0,xe.map)(s,function(l){return l.name}),a=(0,xe.first)(s).PATTERN;return{message:"The same RegExp pattern ->"+a+"<-"+("has been used in all of the following Token Types: "+o.join(", ")+" <-"),type:ir.LexerDefinitionErrorType.DUPLICATE_PATTERNS_FOUND,tokenTypes:s}});return n}Ve.findDuplicatePatterns=tj;function rj(r){var e=(0,xe.filter)(r,function(i){if(!(0,xe.has)(i,"GROUP"))return!1;var n=i.GROUP;return n!==ir.Lexer.SKIPPED&&n!==ir.Lexer.NA&&!(0,xe.isString)(n)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:ir.LexerDefinitionErrorType.INVALID_GROUP_TYPE_FOUND,tokenTypes:[i]}});return t}Ve.findInvalidGroupType=rj;function ij(r,e){var t=(0,xe.filter)(r,function(n){return n.PUSH_MODE!==void 0&&!(0,xe.contains)(e,n.PUSH_MODE)}),i=(0,xe.map)(t,function(n){var s="Token Type: ->"+n.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+n.PUSH_MODE+"<-which does not exist";return{message:s,type:ir.LexerDefinitionErrorType.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[n]}});return i}Ve.findModesThatDoNotExist=ij;function nj(r){var e=[],t=(0,xe.reduce)(r,function(i,n,s){var o=n.PATTERN;return o===ir.Lexer.NA||((0,xe.isString)(o)?i.push({str:o,idx:s,tokenType:n}):(0,xe.isRegExp)(o)&&MEe(o)&&i.push({str:o.source,idx:s,tokenType:n})),i},[]);return(0,xe.forEach)(r,function(i,n){(0,xe.forEach)(t,function(s){var o=s.str,a=s.idx,l=s.tokenType;if(n"+i.name+"<-")+`in the lexer's definition. -See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:c,type:ir.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenTypes:[i,l]})}})}),e}Ve.findUnreachablePatterns=nj;function LEe(r,e){if((0,xe.isRegExp)(e)){var t=e.exec(r);return t!==null&&t.index===0}else{if((0,xe.isFunction)(e))return e(r,0,[],{});if((0,xe.has)(e,"exec"))return e.exec(r,0,[],{});if(typeof e=="string")return e===r;throw Error("non exhaustive match")}}function MEe(r){var e=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return(0,xe.find)(e,function(t){return r.source.indexOf(t)!==-1})===void 0}function Nv(r){var e=r.ignoreCase?"i":"";return new RegExp("^(?:"+r.source+")",e)}Ve.addStartOfInput=Nv;function Tv(r){var e=r.ignoreCase?"iy":"y";return new RegExp(""+r.source,e)}Ve.addStickyFlag=Tv;function OEe(r,e,t){var i=[];return(0,xe.has)(r,Ve.DEFAULT_MODE)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.DEFAULT_MODE+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),(0,xe.has)(r,Ve.MODES)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.MODES+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,xe.has)(r,Ve.MODES)&&(0,xe.has)(r,Ve.DEFAULT_MODE)&&!(0,xe.has)(r.modes,r.defaultMode)&&i.push({message:"A MultiMode Lexer cannot be initialized with a "+Ve.DEFAULT_MODE+": <"+r.defaultMode+`>which does not exist -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,xe.has)(r,Ve.MODES)&&(0,xe.forEach)(r.modes,function(n,s){(0,xe.forEach)(n,function(o,a){(0,xe.isUndefined)(o)&&i.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:"+("<"+s+"> at index: <"+a+`> -`),type:ir.LexerDefinitionErrorType.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})})}),i}Ve.performRuntimeChecks=OEe;function KEe(r,e,t){var i=[],n=!1,s=(0,xe.compact)((0,xe.flatten)((0,xe.mapValues)(r.modes,function(l){return l}))),o=(0,xe.reject)(s,function(l){return l[ko]===ir.Lexer.NA}),a=Aj(t);return e&&(0,xe.forEach)(o,function(l){var c=oj(l,a);if(c!==!1){var u=aj(l,c),g={message:u,type:c.issue,tokenType:l};i.push(g)}else(0,xe.has)(l,"LINE_BREAKS")?l.LINE_BREAKS===!0&&(n=!0):(0,Zg.canMatchCharCode)(a,l.PATTERN)&&(n=!0)}),e&&!n&&i.push({message:`Warning: No LINE_BREAKS Found. - This Lexer has been defined to track line and column information, - But none of the Token Types can be identified as matching a line terminator. - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS - for details.`,type:ir.LexerDefinitionErrorType.NO_LINE_BREAKS_FLAGS}),i}Ve.performWarningRuntimeChecks=KEe;function UEe(r){var e={},t=(0,xe.keys)(r);return(0,xe.forEach)(t,function(i){var n=r[i];if((0,xe.isArray)(n))e[i]=[];else throw Error("non exhaustive match")}),e}Ve.cloneEmptyGroups=UEe;function Mv(r){var e=r.PATTERN;if((0,xe.isRegExp)(e))return!1;if((0,xe.isFunction)(e))return!0;if((0,xe.has)(e,"exec"))return!0;if((0,xe.isString)(e))return!1;throw Error("non exhaustive match")}Ve.isCustomPattern=Mv;function sj(r){return(0,xe.isString)(r)&&r.length===1?r.charCodeAt(0):!1}Ve.isShortPattern=sj;Ve.LineTerminatorOptimizedTester={test:function(r){for(var e=r.length,t=this.lastIndex;t Token Type -`)+(" Root cause: "+e.errMsg+`. -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(e.issue===ir.LexerDefinitionErrorType.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. -`+(" The problem is in the <"+r.name+`> Token Type -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}Ve.buildLineBreakIssueMessage=aj;function Aj(r){var e=(0,xe.map)(r,function(t){return(0,xe.isString)(t)&&t.length>0?t.charCodeAt(0):t});return e}function Fv(r,e,t){r[e]===void 0?r[e]=[t]:r[e].push(t)}Ve.minOptimizationVal=256;var ny=[];function Lv(r){return r255?255+~~(r/255):r}}});var _g=w(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.isTokenType=Nt.hasExtendingTokensTypesMapProperty=Nt.hasExtendingTokensTypesProperty=Nt.hasCategoriesProperty=Nt.hasShortKeyProperty=Nt.singleAssignCategoriesToksMap=Nt.assignCategoriesMapProp=Nt.assignCategoriesTokensProp=Nt.assignTokenDefaultProps=Nt.expandCategories=Nt.augmentTokenTypes=Nt.tokenIdxToClass=Nt.tokenShortNameIdx=Nt.tokenStructuredMatcherNoCategories=Nt.tokenStructuredMatcher=void 0;var Zr=Gt();function GEe(r,e){var t=r.tokenTypeIdx;return t===e.tokenTypeIdx?!0:e.isParent===!0&&e.categoryMatchesMap[t]===!0}Nt.tokenStructuredMatcher=GEe;function YEe(r,e){return r.tokenTypeIdx===e.tokenTypeIdx}Nt.tokenStructuredMatcherNoCategories=YEe;Nt.tokenShortNameIdx=1;Nt.tokenIdxToClass={};function jEe(r){var e=lj(r);cj(e),gj(e),uj(e),(0,Zr.forEach)(e,function(t){t.isParent=t.categoryMatches.length>0})}Nt.augmentTokenTypes=jEe;function lj(r){for(var e=(0,Zr.cloneArr)(r),t=r,i=!0;i;){t=(0,Zr.compact)((0,Zr.flatten)((0,Zr.map)(t,function(s){return s.CATEGORIES})));var n=(0,Zr.difference)(t,e);e=e.concat(n),(0,Zr.isEmpty)(n)?i=!1:t=n}return e}Nt.expandCategories=lj;function cj(r){(0,Zr.forEach)(r,function(e){fj(e)||(Nt.tokenIdxToClass[Nt.tokenShortNameIdx]=e,e.tokenTypeIdx=Nt.tokenShortNameIdx++),Ov(e)&&!(0,Zr.isArray)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),Ov(e)||(e.CATEGORIES=[]),hj(e)||(e.categoryMatches=[]),pj(e)||(e.categoryMatchesMap={})})}Nt.assignTokenDefaultProps=cj;function uj(r){(0,Zr.forEach)(r,function(e){e.categoryMatches=[],(0,Zr.forEach)(e.categoryMatchesMap,function(t,i){e.categoryMatches.push(Nt.tokenIdxToClass[i].tokenTypeIdx)})})}Nt.assignCategoriesTokensProp=uj;function gj(r){(0,Zr.forEach)(r,function(e){Kv([],e)})}Nt.assignCategoriesMapProp=gj;function Kv(r,e){(0,Zr.forEach)(r,function(t){e.categoryMatchesMap[t.tokenTypeIdx]=!0}),(0,Zr.forEach)(e.CATEGORIES,function(t){var i=r.concat(e);(0,Zr.contains)(i,t)||Kv(i,t)})}Nt.singleAssignCategoriesToksMap=Kv;function fj(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.hasShortKeyProperty=fj;function Ov(r){return(0,Zr.has)(r,"CATEGORIES")}Nt.hasCategoriesProperty=Ov;function hj(r){return(0,Zr.has)(r,"categoryMatches")}Nt.hasExtendingTokensTypesProperty=hj;function pj(r){return(0,Zr.has)(r,"categoryMatchesMap")}Nt.hasExtendingTokensTypesMapProperty=pj;function qEe(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.isTokenType=qEe});var Uv=w(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.defaultLexerErrorProvider=void 0;sy.defaultLexerErrorProvider={buildUnableToPopLexerModeMessage:function(r){return"Unable to pop Lexer Mode after encountering Token ->"+r.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(r,e,t,i,n){return"unexpected character: ->"+r.charAt(e)+"<- at offset: "+e+","+(" skipped "+t+" characters.")}}});var Bd=w(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.Lexer=Cc.LexerDefinitionErrorType=void 0;var _s=Rv(),nr=Gt(),JEe=_g(),WEe=Uv(),zEe=ty(),VEe;(function(r){r[r.MISSING_PATTERN=0]="MISSING_PATTERN",r[r.INVALID_PATTERN=1]="INVALID_PATTERN",r[r.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",r[r.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",r[r.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",r[r.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",r[r.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",r[r.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",r[r.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",r[r.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",r[r.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",r[r.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",r[r.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",r[r.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",r[r.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",r[r.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",r[r.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK"})(VEe=Cc.LexerDefinitionErrorType||(Cc.LexerDefinitionErrorType={}));var bd={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` -`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:WEe.defaultLexerErrorProvider,traceInitPerf:!1,skipValidations:!1};Object.freeze(bd);var XEe=function(){function r(e,t){var i=this;if(t===void 0&&(t=bd),this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},typeof t=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. -a boolean 2nd argument is no longer supported`);this.config=(0,nr.merge)(bd,t);var n=this.config.traceInitPerf;n===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof n=="number"&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",function(){var s,o=!0;i.TRACE_INIT("Lexer Config handling",function(){if(i.config.lineTerminatorsPattern===bd.lineTerminatorsPattern)i.config.lineTerminatorsPattern=_s.LineTerminatorOptimizedTester;else if(i.config.lineTerminatorCharacters===bd.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');i.trackStartLines=/full|onlyStart/i.test(i.config.positionTracking),i.trackEndLines=/full/i.test(i.config.positionTracking),(0,nr.isArray)(e)?(s={modes:{}},s.modes[_s.DEFAULT_MODE]=(0,nr.cloneArr)(e),s[_s.DEFAULT_MODE]=_s.DEFAULT_MODE):(o=!1,s=(0,nr.cloneObj)(e))}),i.config.skipValidations===!1&&(i.TRACE_INIT("performRuntimeChecks",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.performRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))}),i.TRACE_INIT("performWarningRuntimeChecks",function(){i.lexerDefinitionWarning=i.lexerDefinitionWarning.concat((0,_s.performWarningRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))})),s.modes=s.modes?s.modes:{},(0,nr.forEach)(s.modes,function(u,g){s.modes[g]=(0,nr.reject)(u,function(f){return(0,nr.isUndefined)(f)})});var a=(0,nr.keys)(s.modes);if((0,nr.forEach)(s.modes,function(u,g){i.TRACE_INIT("Mode: <"+g+"> processing",function(){if(i.modes.push(g),i.config.skipValidations===!1&&i.TRACE_INIT("validatePatterns",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.validatePatterns)(u,a))}),(0,nr.isEmpty)(i.lexerDefinitionErrors)){(0,JEe.augmentTokenTypes)(u);var f;i.TRACE_INIT("analyzeTokenTypes",function(){f=(0,_s.analyzeTokenTypes)(u,{lineTerminatorCharacters:i.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:i.TRACE_INIT.bind(i)})}),i.patternIdxToConfig[g]=f.patternIdxToConfig,i.charCodeToPatternIdxToConfig[g]=f.charCodeToPatternIdxToConfig,i.emptyGroups=(0,nr.merge)(i.emptyGroups,f.emptyGroups),i.hasCustom=f.hasCustom||i.hasCustom,i.canModeBeOptimized[g]=f.canBeOptimized}})}),i.defaultMode=s.defaultMode,!(0,nr.isEmpty)(i.lexerDefinitionErrors)&&!i.config.deferDefinitionErrorsHandling){var l=(0,nr.map)(i.lexerDefinitionErrors,function(u){return u.message}),c=l.join(`----------------------- -`);throw new Error(`Errors detected in definition of Lexer: -`+c)}(0,nr.forEach)(i.lexerDefinitionWarning,function(u){(0,nr.PRINT_WARNING)(u.message)}),i.TRACE_INIT("Choosing sub-methods implementations",function(){if(_s.SUPPORT_STICKY?(i.chopInput=nr.IDENTITY,i.match=i.matchWithTest):(i.updateLastIndex=nr.NOOP,i.match=i.matchWithExec),o&&(i.handleModes=nr.NOOP),i.trackStartLines===!1&&(i.computeNewColumn=nr.IDENTITY),i.trackEndLines===!1&&(i.updateTokenEndLineColumnLocation=nr.NOOP),/full/i.test(i.config.positionTracking))i.createTokenInstance=i.createFullToken;else if(/onlyStart/i.test(i.config.positionTracking))i.createTokenInstance=i.createStartOnlyToken;else if(/onlyOffset/i.test(i.config.positionTracking))i.createTokenInstance=i.createOffsetOnlyToken;else throw Error('Invalid config option: "'+i.config.positionTracking+'"');i.hasCustom?(i.addToken=i.addTokenUsingPush,i.handlePayload=i.handlePayloadWithCustom):(i.addToken=i.addTokenUsingMemberAccess,i.handlePayload=i.handlePayloadNoCustom)}),i.TRACE_INIT("Failed Optimization Warnings",function(){var u=(0,nr.reduce)(i.canModeBeOptimized,function(g,f,h){return f===!1&&g.push(h),g},[]);if(t.ensureOptimizations&&!(0,nr.isEmpty)(u))throw Error("Lexer Modes: < "+u.join(", ")+` > cannot be optimized. - Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. - Or inspect the console log for details on how to resolve these issues.`)}),i.TRACE_INIT("clearRegExpParserCache",function(){(0,zEe.clearRegExpParserCache)()}),i.TRACE_INIT("toFastProperties",function(){(0,nr.toFastProperties)(i)})})}return r.prototype.tokenize=function(e,t){if(t===void 0&&(t=this.defaultMode),!(0,nr.isEmpty)(this.lexerDefinitionErrors)){var i=(0,nr.map)(this.lexerDefinitionErrors,function(o){return o.message}),n=i.join(`----------------------- -`);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: -`+n)}var s=this.tokenizeInternal(e,t);return s},r.prototype.tokenizeInternal=function(e,t){var i=this,n,s,o,a,l,c,u,g,f,h,p,C,y,B,v,D,T=e,H=T.length,j=0,$=0,V=this.hasCustom?0:Math.floor(e.length/10),W=new Array(V),_=[],A=this.trackStartLines?1:void 0,Ae=this.trackStartLines?1:void 0,ge=(0,_s.cloneEmptyGroups)(this.emptyGroups),re=this.trackStartLines,M=this.config.lineTerminatorsPattern,F=0,ue=[],pe=[],ke=[],Fe=[];Object.freeze(Fe);var Ne=void 0;function oe(){return ue}function le(pr){var Ii=(0,_s.charCodeToOptimizedIndex)(pr),rs=pe[Ii];return rs===void 0?Fe:rs}var Be=function(pr){if(ke.length===1&&pr.tokenType.PUSH_MODE===void 0){var Ii=i.config.errorMessageProvider.buildUnableToPopLexerModeMessage(pr);_.push({offset:pr.startOffset,line:pr.startLine!==void 0?pr.startLine:void 0,column:pr.startColumn!==void 0?pr.startColumn:void 0,length:pr.image.length,message:Ii})}else{ke.pop();var rs=(0,nr.last)(ke);ue=i.patternIdxToConfig[rs],pe=i.charCodeToPatternIdxToConfig[rs],F=ue.length;var fa=i.canModeBeOptimized[rs]&&i.config.safeMode===!1;pe&&fa?Ne=le:Ne=oe}};function fe(pr){ke.push(pr),pe=this.charCodeToPatternIdxToConfig[pr],ue=this.patternIdxToConfig[pr],F=ue.length,F=ue.length;var Ii=this.canModeBeOptimized[pr]&&this.config.safeMode===!1;pe&&Ii?Ne=le:Ne=oe}fe.call(this,t);for(var ae;jc.length){c=a,u=g,ae=_e;break}}}break}}if(c!==null){if(f=c.length,h=ae.group,h!==void 0&&(p=ae.tokenTypeIdx,C=this.createTokenInstance(c,j,p,ae.tokenType,A,Ae,f),this.handlePayload(C,u),h===!1?$=this.addToken(W,$,C):ge[h].push(C)),e=this.chopInput(e,f),j=j+f,Ae=this.computeNewColumn(Ae,f),re===!0&&ae.canLineTerminator===!0){var It=0,Mr=void 0,ii=void 0;M.lastIndex=0;do Mr=M.test(c),Mr===!0&&(ii=M.lastIndex-1,It++);while(Mr===!0);It!==0&&(A=A+It,Ae=f-ii,this.updateTokenEndLineColumnLocation(C,h,ii,It,A,Ae,f))}this.handleModes(ae,Be,fe,C)}else{for(var gi=j,hr=A,fi=Ae,ni=!1;!ni&&j <"+e+">");var n=(0,nr.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",r.NA=/NOT_APPLICABLE/,r}();Cc.Lexer=XEe});var TA=w(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.tokenMatcher=Qi.createTokenInstance=Qi.EOF=Qi.createToken=Qi.hasTokenLabel=Qi.tokenName=Qi.tokenLabel=void 0;var $s=Gt(),ZEe=Bd(),Hv=_g();function _Ee(r){return bj(r)?r.LABEL:r.name}Qi.tokenLabel=_Ee;function $Ee(r){return r.name}Qi.tokenName=$Ee;function bj(r){return(0,$s.isString)(r.LABEL)&&r.LABEL!==""}Qi.hasTokenLabel=bj;var eIe="parent",dj="categories",Cj="label",mj="group",Ej="push_mode",Ij="pop_mode",yj="longer_alt",wj="line_breaks",Bj="start_chars_hint";function Qj(r){return tIe(r)}Qi.createToken=Qj;function tIe(r){var e=r.pattern,t={};if(t.name=r.name,(0,$s.isUndefined)(e)||(t.PATTERN=e),(0,$s.has)(r,eIe))throw`The parent property is no longer supported. -See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return(0,$s.has)(r,dj)&&(t.CATEGORIES=r[dj]),(0,Hv.augmentTokenTypes)([t]),(0,$s.has)(r,Cj)&&(t.LABEL=r[Cj]),(0,$s.has)(r,mj)&&(t.GROUP=r[mj]),(0,$s.has)(r,Ij)&&(t.POP_MODE=r[Ij]),(0,$s.has)(r,Ej)&&(t.PUSH_MODE=r[Ej]),(0,$s.has)(r,yj)&&(t.LONGER_ALT=r[yj]),(0,$s.has)(r,wj)&&(t.LINE_BREAKS=r[wj]),(0,$s.has)(r,Bj)&&(t.START_CHARS_HINT=r[Bj]),t}Qi.EOF=Qj({name:"EOF",pattern:ZEe.Lexer.NA});(0,Hv.augmentTokenTypes)([Qi.EOF]);function rIe(r,e,t,i,n,s,o,a){return{image:e,startOffset:t,endOffset:i,startLine:n,endLine:s,startColumn:o,endColumn:a,tokenTypeIdx:r.tokenTypeIdx,tokenType:r}}Qi.createTokenInstance=rIe;function iIe(r,e){return(0,Hv.tokenStructuredMatcher)(r,e)}Qi.tokenMatcher=iIe});var mn=w(zt=>{"use strict";var Pa=zt&&zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(zt,"__esModule",{value:!0});zt.serializeProduction=zt.serializeGrammar=zt.Terminal=zt.Alternation=zt.RepetitionWithSeparator=zt.Repetition=zt.RepetitionMandatoryWithSeparator=zt.RepetitionMandatory=zt.Option=zt.Alternative=zt.Rule=zt.NonTerminal=zt.AbstractProduction=void 0;var Ar=Gt(),nIe=TA(),Ro=function(){function r(e){this._definition=e}return Object.defineProperty(r.prototype,"definition",{get:function(){return this._definition},set:function(e){this._definition=e},enumerable:!1,configurable:!0}),r.prototype.accept=function(e){e.visit(this),(0,Ar.forEach)(this.definition,function(t){t.accept(e)})},r}();zt.AbstractProduction=Ro;var Sj=function(r){Pa(e,r);function e(t){var i=r.call(this,[])||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this.referencedRule!==void 0?this.referencedRule.definition:[]},set:function(t){},enumerable:!1,configurable:!0}),e.prototype.accept=function(t){t.visit(this)},e}(Ro);zt.NonTerminal=Sj;var vj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.orgText="",(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Rule=vj;var xj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.ignoreAmbiguities=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Alternative=xj;var Pj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Option=Pj;var Dj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatory=Dj;var kj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatoryWithSeparator=kj;var Rj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Repetition=Rj;var Fj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionWithSeparator=Fj;var Nj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,i.ignoreAmbiguities=!1,i.hasPredicates=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this._definition},set:function(t){this._definition=t},enumerable:!1,configurable:!0}),e}(Ro);zt.Alternation=Nj;var oy=function(){function r(e){this.idx=1,(0,Ar.assign)(this,(0,Ar.pick)(e,function(t){return t!==void 0}))}return r.prototype.accept=function(e){e.visit(this)},r}();zt.Terminal=oy;function sIe(r){return(0,Ar.map)(r,Qd)}zt.serializeGrammar=sIe;function Qd(r){function e(s){return(0,Ar.map)(s,Qd)}if(r instanceof Sj){var t={type:"NonTerminal",name:r.nonTerminalName,idx:r.idx};return(0,Ar.isString)(r.label)&&(t.label=r.label),t}else{if(r instanceof xj)return{type:"Alternative",definition:e(r.definition)};if(r instanceof Pj)return{type:"Option",idx:r.idx,definition:e(r.definition)};if(r instanceof Dj)return{type:"RepetitionMandatory",idx:r.idx,definition:e(r.definition)};if(r instanceof kj)return{type:"RepetitionMandatoryWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Fj)return{type:"RepetitionWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Rj)return{type:"Repetition",idx:r.idx,definition:e(r.definition)};if(r instanceof Nj)return{type:"Alternation",idx:r.idx,definition:e(r.definition)};if(r instanceof oy){var i={type:"Terminal",name:r.terminalType.name,label:(0,nIe.tokenLabel)(r.terminalType),idx:r.idx};(0,Ar.isString)(r.label)&&(i.terminalLabel=r.label);var n=r.terminalType.PATTERN;return r.terminalType.PATTERN&&(i.pattern=(0,Ar.isRegExp)(n)?n.source:n),i}else{if(r instanceof vj)return{type:"Rule",name:r.name,orgText:r.orgText,definition:e(r.definition)};throw Error("non exhaustive match")}}}zt.serializeProduction=Qd});var Ay=w(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.RestWalker=void 0;var Gv=Gt(),En=mn(),oIe=function(){function r(){}return r.prototype.walk=function(e,t){var i=this;t===void 0&&(t=[]),(0,Gv.forEach)(e.definition,function(n,s){var o=(0,Gv.drop)(e.definition,s+1);if(n instanceof En.NonTerminal)i.walkProdRef(n,o,t);else if(n instanceof En.Terminal)i.walkTerminal(n,o,t);else if(n instanceof En.Alternative)i.walkFlat(n,o,t);else if(n instanceof En.Option)i.walkOption(n,o,t);else if(n instanceof En.RepetitionMandatory)i.walkAtLeastOne(n,o,t);else if(n instanceof En.RepetitionMandatoryWithSeparator)i.walkAtLeastOneSep(n,o,t);else if(n instanceof En.RepetitionWithSeparator)i.walkManySep(n,o,t);else if(n instanceof En.Repetition)i.walkMany(n,o,t);else if(n instanceof En.Alternation)i.walkOr(n,o,t);else throw Error("non exhaustive match")})},r.prototype.walkTerminal=function(e,t,i){},r.prototype.walkProdRef=function(e,t,i){},r.prototype.walkFlat=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkOption=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkAtLeastOne=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkAtLeastOneSep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkMany=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkManySep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkOr=function(e,t,i){var n=this,s=t.concat(i);(0,Gv.forEach)(e.definition,function(o){var a=new En.Alternative({definition:[o]});n.walk(a,s)})},r}();ay.RestWalker=oIe;function Tj(r,e,t){var i=[new En.Option({definition:[new En.Terminal({terminalType:r.separator})].concat(r.definition)})],n=i.concat(e,t);return n}});var $g=w(ly=>{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.GAstVisitor=void 0;var Fo=mn(),aIe=function(){function r(){}return r.prototype.visit=function(e){var t=e;switch(t.constructor){case Fo.NonTerminal:return this.visitNonTerminal(t);case Fo.Alternative:return this.visitAlternative(t);case Fo.Option:return this.visitOption(t);case Fo.RepetitionMandatory:return this.visitRepetitionMandatory(t);case Fo.RepetitionMandatoryWithSeparator:return this.visitRepetitionMandatoryWithSeparator(t);case Fo.RepetitionWithSeparator:return this.visitRepetitionWithSeparator(t);case Fo.Repetition:return this.visitRepetition(t);case Fo.Alternation:return this.visitAlternation(t);case Fo.Terminal:return this.visitTerminal(t);case Fo.Rule:return this.visitRule(t);default:throw Error("non exhaustive match")}},r.prototype.visitNonTerminal=function(e){},r.prototype.visitAlternative=function(e){},r.prototype.visitOption=function(e){},r.prototype.visitRepetition=function(e){},r.prototype.visitRepetitionMandatory=function(e){},r.prototype.visitRepetitionMandatoryWithSeparator=function(e){},r.prototype.visitRepetitionWithSeparator=function(e){},r.prototype.visitAlternation=function(e){},r.prototype.visitTerminal=function(e){},r.prototype.visitRule=function(e){},r}();ly.GAstVisitor=aIe});var vd=w(Oi=>{"use strict";var AIe=Oi&&Oi.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Oi,"__esModule",{value:!0});Oi.collectMethods=Oi.DslMethodsCollectorVisitor=Oi.getProductionDslName=Oi.isBranchingProd=Oi.isOptionalProd=Oi.isSequenceProd=void 0;var Sd=Gt(),br=mn(),lIe=$g();function cIe(r){return r instanceof br.Alternative||r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionMandatory||r instanceof br.RepetitionMandatoryWithSeparator||r instanceof br.RepetitionWithSeparator||r instanceof br.Terminal||r instanceof br.Rule}Oi.isSequenceProd=cIe;function Yv(r,e){e===void 0&&(e=[]);var t=r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionWithSeparator;return t?!0:r instanceof br.Alternation?(0,Sd.some)(r.definition,function(i){return Yv(i,e)}):r instanceof br.NonTerminal&&(0,Sd.contains)(e,r)?!1:r instanceof br.AbstractProduction?(r instanceof br.NonTerminal&&e.push(r),(0,Sd.every)(r.definition,function(i){return Yv(i,e)})):!1}Oi.isOptionalProd=Yv;function uIe(r){return r instanceof br.Alternation}Oi.isBranchingProd=uIe;function gIe(r){if(r instanceof br.NonTerminal)return"SUBRULE";if(r instanceof br.Option)return"OPTION";if(r instanceof br.Alternation)return"OR";if(r instanceof br.RepetitionMandatory)return"AT_LEAST_ONE";if(r instanceof br.RepetitionMandatoryWithSeparator)return"AT_LEAST_ONE_SEP";if(r instanceof br.RepetitionWithSeparator)return"MANY_SEP";if(r instanceof br.Repetition)return"MANY";if(r instanceof br.Terminal)return"CONSUME";throw Error("non exhaustive match")}Oi.getProductionDslName=gIe;var Lj=function(r){AIe(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.separator="-",t.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},t}return e.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},e.prototype.visitTerminal=function(t){var i=t.terminalType.name+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitNonTerminal=function(t){var i=t.nonTerminalName+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitOption=function(t){this.dslMethods.option.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.dslMethods.repetitionWithSeparator.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.dslMethods.repetitionMandatory.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.dslMethods.repetitionMandatoryWithSeparator.push(t)},e.prototype.visitRepetition=function(t){this.dslMethods.repetition.push(t)},e.prototype.visitAlternation=function(t){this.dslMethods.alternation.push(t)},e}(lIe.GAstVisitor);Oi.DslMethodsCollectorVisitor=Lj;var cy=new Lj;function fIe(r){cy.reset(),r.accept(cy);var e=cy.dslMethods;return cy.reset(),e}Oi.collectMethods=fIe});var qv=w(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.firstForTerminal=No.firstForBranching=No.firstForSequence=No.first=void 0;var uy=Gt(),Mj=mn(),jv=vd();function gy(r){if(r instanceof Mj.NonTerminal)return gy(r.referencedRule);if(r instanceof Mj.Terminal)return Uj(r);if((0,jv.isSequenceProd)(r))return Oj(r);if((0,jv.isBranchingProd)(r))return Kj(r);throw Error("non exhaustive match")}No.first=gy;function Oj(r){for(var e=[],t=r.definition,i=0,n=t.length>i,s,o=!0;n&&o;)s=t[i],o=(0,jv.isOptionalProd)(s),e=e.concat(gy(s)),i=i+1,n=t.length>i;return(0,uy.uniq)(e)}No.firstForSequence=Oj;function Kj(r){var e=(0,uy.map)(r.definition,function(t){return gy(t)});return(0,uy.uniq)((0,uy.flatten)(e))}No.firstForBranching=Kj;function Uj(r){return[r.terminalType]}No.firstForTerminal=Uj});var Jv=w(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.IN=void 0;fy.IN="_~IN~_"});var qj=w(fs=>{"use strict";var hIe=fs&&fs.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(fs,"__esModule",{value:!0});fs.buildInProdFollowPrefix=fs.buildBetweenProdsFollowPrefix=fs.computeAllProdsFollows=fs.ResyncFollowsWalker=void 0;var pIe=Ay(),dIe=qv(),Hj=Gt(),Gj=Jv(),CIe=mn(),Yj=function(r){hIe(e,r);function e(t){var i=r.call(this)||this;return i.topProd=t,i.follows={},i}return e.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},e.prototype.walkTerminal=function(t,i,n){},e.prototype.walkProdRef=function(t,i,n){var s=jj(t.referencedRule,t.idx)+this.topProd.name,o=i.concat(n),a=new CIe.Alternative({definition:o}),l=(0,dIe.first)(a);this.follows[s]=l},e}(pIe.RestWalker);fs.ResyncFollowsWalker=Yj;function mIe(r){var e={};return(0,Hj.forEach)(r,function(t){var i=new Yj(t).startWalking();(0,Hj.assign)(e,i)}),e}fs.computeAllProdsFollows=mIe;function jj(r,e){return r.name+e+Gj.IN}fs.buildBetweenProdsFollowPrefix=jj;function EIe(r){var e=r.terminalType.name;return e+r.idx+Gj.IN}fs.buildInProdFollowPrefix=EIe});var xd=w(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.defaultGrammarValidatorErrorProvider=Da.defaultGrammarResolverErrorProvider=Da.defaultParserErrorProvider=void 0;var ef=TA(),IIe=Gt(),eo=Gt(),Wv=mn(),Jj=vd();Da.defaultParserErrorProvider={buildMismatchTokenMessage:function(r){var e=r.expected,t=r.actual,i=r.previous,n=r.ruleName,s=(0,ef.hasTokenLabel)(e),o=s?"--> "+(0,ef.tokenLabel)(e)+" <--":"token of type --> "+e.name+" <--",a="Expecting "+o+" but found --> '"+t.image+"' <--";return a},buildNotAllInputParsedMessage:function(r){var e=r.firstRedundant,t=r.ruleName;return"Redundant input, expecting EOF but found: "+e.image},buildNoViableAltMessage:function(r){var e=r.expectedPathsPerAlt,t=r.actual,i=r.previous,n=r.customUserDescription,s=r.ruleName,o="Expecting: ",a=(0,eo.first)(t).image,l=` -but found: '`+a+"'";if(n)return o+n+l;var c=(0,eo.reduce)(e,function(h,p){return h.concat(p)},[]),u=(0,eo.map)(c,function(h){return"["+(0,eo.map)(h,function(p){return(0,ef.tokenLabel)(p)}).join(", ")+"]"}),g=(0,eo.map)(u,function(h,p){return" "+(p+1)+". "+h}),f=`one of these possible Token sequences: -`+g.join(` -`);return o+f+l},buildEarlyExitMessage:function(r){var e=r.expectedIterationPaths,t=r.actual,i=r.customUserDescription,n=r.ruleName,s="Expecting: ",o=(0,eo.first)(t).image,a=` -but found: '`+o+"'";if(i)return s+i+a;var l=(0,eo.map)(e,function(u){return"["+(0,eo.map)(u,function(g){return(0,ef.tokenLabel)(g)}).join(",")+"]"}),c=`expecting at least one iteration which starts with one of these possible Token sequences:: - `+("<"+l.join(" ,")+">");return s+c+a}};Object.freeze(Da.defaultParserErrorProvider);Da.defaultGrammarResolverErrorProvider={buildRuleNotFoundError:function(r,e){var t="Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<- -inside top level rule: ->`+r.name+"<-";return t}};Da.defaultGrammarValidatorErrorProvider={buildDuplicateFoundError:function(r,e){function t(u){return u instanceof Wv.Terminal?u.terminalType.name:u instanceof Wv.NonTerminal?u.nonTerminalName:""}var i=r.name,n=(0,eo.first)(e),s=n.idx,o=(0,Jj.getProductionDslName)(n),a=t(n),l=s>0,c="->"+o+(l?s:"")+"<- "+(a?"with argument: ->"+a+"<-":"")+` - appears more than once (`+e.length+" times) in the top level rule: ->"+i+`<-. - For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES - `;return c=c.replace(/[ \t]+/g," "),c=c.replace(/\s\s+/g,` -`),c},buildNamespaceConflictError:function(r){var e=`Namespace conflict found in grammar. -`+("The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+r.name+`>. -`)+`To resolve this make sure each Terminal and Non-Terminal names are unique -This is easy to accomplish by using the convention that Terminal names start with an uppercase letter -and Non-Terminal names start with a lower case letter.`;return e},buildAlternationPrefixAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous alternatives: <"+r.ambiguityIndices.join(" ,")+`> due to common lookahead prefix -`+("in inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`)+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX -For Further details.`;return i},buildAlternationAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous Alternatives Detected: <"+r.ambiguityIndices.join(" ,")+"> in "+(" inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`);return i=i+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES -For Further details.`,i},buildEmptyRepetitionError:function(r){var e=(0,Jj.getProductionDslName)(r.repetition);r.repetition.idx!==0&&(e+=r.repetition.idx);var t="The repetition <"+e+"> within Rule <"+r.topLevelRule.name+`> can never consume any tokens. -This could lead to an infinite loop.`;return t},buildTokenNameError:function(r){return"deprecated"},buildEmptyAlternationError:function(r){var e="Ambiguous empty alternative: <"+(r.emptyChoiceIdx+1)+">"+(" in inside <"+r.topLevelRule.name+`> Rule. -`)+"Only the last alternative may be an empty alternative.";return e},buildTooManyAlternativesError:function(r){var e=`An Alternation cannot have more than 256 alternatives: -`+(" inside <"+r.topLevelRule.name+`> Rule. - has `+(r.alternation.definition.length+1)+" alternatives.");return e},buildLeftRecursionError:function(r){var e=r.topLevelRule.name,t=IIe.map(r.leftRecursionPath,function(s){return s.name}),i=e+" --> "+t.concat([e]).join(" --> "),n=`Left Recursion found in grammar. -`+("rule: <"+e+`> can be invoked from itself (directly or indirectly) -`)+(`without consuming any Tokens. The grammar path that causes this is: - `+i+` -`)+` To fix this refactor your grammar to remove the left recursion. -see: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.`;return n},buildInvalidRuleNameError:function(r){return"deprecated"},buildDuplicateRuleNameError:function(r){var e;r.topLevelRule instanceof Wv.Rule?e=r.topLevelRule.name:e=r.topLevelRule;var t="Duplicate definition, rule: ->"+e+"<- is already defined in the grammar: ->"+r.grammarName+"<-";return t}}});var Vj=w(LA=>{"use strict";var yIe=LA&&LA.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(LA,"__esModule",{value:!0});LA.GastRefResolverVisitor=LA.resolveGrammar=void 0;var wIe=jn(),Wj=Gt(),BIe=$g();function bIe(r,e){var t=new zj(r,e);return t.resolveRefs(),t.errors}LA.resolveGrammar=bIe;var zj=function(r){yIe(e,r);function e(t,i){var n=r.call(this)||this;return n.nameToTopRule=t,n.errMsgProvider=i,n.errors=[],n}return e.prototype.resolveRefs=function(){var t=this;(0,Wj.forEach)((0,Wj.values)(this.nameToTopRule),function(i){t.currTopLevel=i,i.accept(t)})},e.prototype.visitNonTerminal=function(t){var i=this.nameToTopRule[t.nonTerminalName];if(i)t.referencedRule=i;else{var n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,t);this.errors.push({message:n,type:wIe.ParserDefinitionErrorType.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:t.nonTerminalName})}},e}(BIe.GAstVisitor);LA.GastRefResolverVisitor=zj});var Dd=w(Nr=>{"use strict";var mc=Nr&&Nr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Nr,"__esModule",{value:!0});Nr.nextPossibleTokensAfter=Nr.possiblePathsFrom=Nr.NextTerminalAfterAtLeastOneSepWalker=Nr.NextTerminalAfterAtLeastOneWalker=Nr.NextTerminalAfterManySepWalker=Nr.NextTerminalAfterManyWalker=Nr.AbstractNextTerminalAfterProductionWalker=Nr.NextAfterTokenWalker=Nr.AbstractNextPossibleTokensWalker=void 0;var Xj=Ay(),Kt=Gt(),QIe=qv(),kt=mn(),Zj=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topProd=t,n.path=i,n.possibleTokTypes=[],n.nextProductionName="",n.nextProductionOccurrence=0,n.found=!1,n.isAtEndOfPath=!1,n}return e.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=(0,Kt.cloneArr)(this.path.ruleStack).reverse(),this.occurrenceStack=(0,Kt.cloneArr)(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},e.prototype.walk=function(t,i){i===void 0&&(i=[]),this.found||r.prototype.walk.call(this,t,i)},e.prototype.walkProdRef=function(t,i,n){if(t.referencedRule.name===this.nextProductionName&&t.idx===this.nextProductionOccurrence){var s=i.concat(n);this.updateExpectedNext(),this.walk(t.referencedRule,s)}},e.prototype.updateExpectedNext=function(){(0,Kt.isEmpty)(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},e}(Xj.RestWalker);Nr.AbstractNextPossibleTokensWalker=Zj;var SIe=function(r){mc(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.path=i,n.nextTerminalName="",n.nextTerminalOccurrence=0,n.nextTerminalName=n.path.lastTok.name,n.nextTerminalOccurrence=n.path.lastTokOccurrence,n}return e.prototype.walkTerminal=function(t,i,n){if(this.isAtEndOfPath&&t.terminalType.name===this.nextTerminalName&&t.idx===this.nextTerminalOccurrence&&!this.found){var s=i.concat(n),o=new kt.Alternative({definition:s});this.possibleTokTypes=(0,QIe.first)(o),this.found=!0}},e}(Zj);Nr.NextAfterTokenWalker=SIe;var Pd=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topRule=t,n.occurrence=i,n.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},n}return e.prototype.startWalking=function(){return this.walk(this.topRule),this.result},e}(Xj.RestWalker);Nr.AbstractNextTerminalAfterProductionWalker=Pd;var vIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkMany=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkMany.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManyWalker=vIe;var xIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkManySep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkManySep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManySepWalker=xIe;var PIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOne=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOne.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneWalker=PIe;var DIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOneSep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOneSep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneSepWalker=DIe;function _j(r,e,t){t===void 0&&(t=[]),t=(0,Kt.cloneArr)(t);var i=[],n=0;function s(c){return c.concat((0,Kt.drop)(r,n+1))}function o(c){var u=_j(s(c),e,t);return i.concat(u)}for(;t.length=0;ge--){var re=B.definition[ge],M={idx:p,def:re.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y};g.push(M),g.push(o)}else if(B instanceof kt.Alternative)g.push({idx:p,def:B.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y});else if(B instanceof kt.Rule)g.push(RIe(B,p,C,y));else throw Error("non exhaustive match")}}return u}Nr.nextPossibleTokensAfter=kIe;function RIe(r,e,t,i){var n=(0,Kt.cloneArr)(t);n.push(r.name);var s=(0,Kt.cloneArr)(i);return s.push(1),{idx:e,def:r.definition,ruleStack:n,occurrenceStack:s}}});var kd=w(Zt=>{"use strict";var tq=Zt&&Zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Zt,"__esModule",{value:!0});Zt.areTokenCategoriesNotUsed=Zt.isStrictPrefixOfPath=Zt.containsPath=Zt.getLookaheadPathsForOptionalProd=Zt.getLookaheadPathsForOr=Zt.lookAheadSequenceFromAlternatives=Zt.buildSingleAlternativeLookaheadFunction=Zt.buildAlternativesLookAheadFunc=Zt.buildLookaheadFuncForOptionalProd=Zt.buildLookaheadFuncForOr=Zt.getProdType=Zt.PROD_TYPE=void 0;var sr=Gt(),$j=Dd(),FIe=Ay(),hy=_g(),MA=mn(),NIe=$g(),oi;(function(r){r[r.OPTION=0]="OPTION",r[r.REPETITION=1]="REPETITION",r[r.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",r[r.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",r[r.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",r[r.ALTERNATION=5]="ALTERNATION"})(oi=Zt.PROD_TYPE||(Zt.PROD_TYPE={}));function TIe(r){if(r instanceof MA.Option)return oi.OPTION;if(r instanceof MA.Repetition)return oi.REPETITION;if(r instanceof MA.RepetitionMandatory)return oi.REPETITION_MANDATORY;if(r instanceof MA.RepetitionMandatoryWithSeparator)return oi.REPETITION_MANDATORY_WITH_SEPARATOR;if(r instanceof MA.RepetitionWithSeparator)return oi.REPETITION_WITH_SEPARATOR;if(r instanceof MA.Alternation)return oi.ALTERNATION;throw Error("non exhaustive match")}Zt.getProdType=TIe;function LIe(r,e,t,i,n,s){var o=iq(r,e,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o,i,a,n)}Zt.buildLookaheadFuncForOr=LIe;function MIe(r,e,t,i,n,s){var o=nq(r,e,n,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o[0],a,i)}Zt.buildLookaheadFuncForOptionalProd=MIe;function OIe(r,e,t,i){var n=r.length,s=(0,sr.every)(r,function(l){return(0,sr.every)(l,function(c){return c.length===1})});if(e)return function(l){for(var c=(0,sr.map)(l,function(D){return D.GATE}),u=0;u{"use strict";var Zv=Vt&&Vt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Vt,"__esModule",{value:!0});Vt.checkPrefixAlternativesAmbiguities=Vt.validateSomeNonEmptyLookaheadPath=Vt.validateTooManyAlts=Vt.RepetionCollector=Vt.validateAmbiguousAlternationAlternatives=Vt.validateEmptyOrAlternative=Vt.getFirstNoneTerminal=Vt.validateNoLeftRecursion=Vt.validateRuleIsOverridden=Vt.validateRuleDoesNotAlreadyExist=Vt.OccurrenceValidationCollector=Vt.identifyProductionForDuplicates=Vt.validateGrammar=void 0;var er=Gt(),Qr=Gt(),To=jn(),_v=vd(),tf=kd(),YIe=Dd(),to=mn(),$v=$g();function jIe(r,e,t,i,n){var s=er.map(r,function(h){return qIe(h,i)}),o=er.map(r,function(h){return ex(h,h,i)}),a=[],l=[],c=[];(0,Qr.every)(o,Qr.isEmpty)&&(a=(0,Qr.map)(r,function(h){return cq(h,i)}),l=(0,Qr.map)(r,function(h){return uq(h,e,i)}),c=hq(r,e,i));var u=zIe(r,t,i),g=(0,Qr.map)(r,function(h){return fq(h,i)}),f=(0,Qr.map)(r,function(h){return lq(h,r,n,i)});return er.flatten(s.concat(c,o,a,l,u,g,f))}Vt.validateGrammar=jIe;function qIe(r,e){var t=new Aq;r.accept(t);var i=t.allProductions,n=er.groupBy(i,oq),s=er.pick(n,function(a){return a.length>1}),o=er.map(er.values(s),function(a){var l=er.first(a),c=e.buildDuplicateFoundError(r,a),u=(0,_v.getProductionDslName)(l),g={message:c,type:To.ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,ruleName:r.name,dslName:u,occurrence:l.idx},f=aq(l);return f&&(g.parameter=f),g});return o}function oq(r){return(0,_v.getProductionDslName)(r)+"_#_"+r.idx+"_#_"+aq(r)}Vt.identifyProductionForDuplicates=oq;function aq(r){return r instanceof to.Terminal?r.terminalType.name:r instanceof to.NonTerminal?r.nonTerminalName:""}var Aq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitNonTerminal=function(t){this.allProductions.push(t)},e.prototype.visitOption=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e.prototype.visitAlternation=function(t){this.allProductions.push(t)},e.prototype.visitTerminal=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.OccurrenceValidationCollector=Aq;function lq(r,e,t,i){var n=[],s=(0,Qr.reduce)(e,function(a,l){return l.name===r.name?a+1:a},0);if(s>1){var o=i.buildDuplicateRuleNameError({topLevelRule:r,grammarName:t});n.push({message:o,type:To.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:r.name})}return n}Vt.validateRuleDoesNotAlreadyExist=lq;function JIe(r,e,t){var i=[],n;return er.contains(e,r)||(n="Invalid rule override, rule: ->"+r+"<- cannot be overridden in the grammar: ->"+t+"<-as it is not defined in any of the super grammars ",i.push({message:n,type:To.ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,ruleName:r})),i}Vt.validateRuleIsOverridden=JIe;function ex(r,e,t,i){i===void 0&&(i=[]);var n=[],s=Rd(e.definition);if(er.isEmpty(s))return[];var o=r.name,a=er.contains(s,r);a&&n.push({message:t.buildLeftRecursionError({topLevelRule:r,leftRecursionPath:i}),type:To.ParserDefinitionErrorType.LEFT_RECURSION,ruleName:o});var l=er.difference(s,i.concat([r])),c=er.map(l,function(u){var g=er.cloneArr(i);return g.push(u),ex(r,u,t,g)});return n.concat(er.flatten(c))}Vt.validateNoLeftRecursion=ex;function Rd(r){var e=[];if(er.isEmpty(r))return e;var t=er.first(r);if(t instanceof to.NonTerminal)e.push(t.referencedRule);else if(t instanceof to.Alternative||t instanceof to.Option||t instanceof to.RepetitionMandatory||t instanceof to.RepetitionMandatoryWithSeparator||t instanceof to.RepetitionWithSeparator||t instanceof to.Repetition)e=e.concat(Rd(t.definition));else if(t instanceof to.Alternation)e=er.flatten(er.map(t.definition,function(o){return Rd(o.definition)}));else if(!(t instanceof to.Terminal))throw Error("non exhaustive match");var i=(0,_v.isOptionalProd)(t),n=r.length>1;if(i&&n){var s=er.drop(r);return e.concat(Rd(s))}else return e}Vt.getFirstNoneTerminal=Rd;var tx=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.alternations=[],t}return e.prototype.visitAlternation=function(t){this.alternations.push(t)},e}($v.GAstVisitor);function cq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){var a=er.dropRight(o.definition),l=er.map(a,function(c,u){var g=(0,YIe.nextPossibleTokensAfter)([c],[],null,1);return er.isEmpty(g)?{message:e.buildEmptyAlternationError({topLevelRule:r,alternation:o,emptyChoiceIdx:u}),type:To.ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,ruleName:r.name,occurrence:o.idx,alternative:u+1}:null});return s.concat(er.compact(l))},[]);return n}Vt.validateEmptyOrAlternative=cq;function uq(r,e,t){var i=new tx;r.accept(i);var n=i.alternations;n=(0,Qr.reject)(n,function(o){return o.ignoreAmbiguities===!0});var s=er.reduce(n,function(o,a){var l=a.idx,c=a.maxLookahead||e,u=(0,tf.getLookaheadPathsForOr)(l,r,c,a),g=WIe(u,a,r,t),f=pq(u,a,r,t);return o.concat(g,f)},[]);return s}Vt.validateAmbiguousAlternationAlternatives=uq;var gq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.RepetionCollector=gq;function fq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){return o.definition.length>255&&s.push({message:e.buildTooManyAlternativesError({topLevelRule:r,alternation:o}),type:To.ParserDefinitionErrorType.TOO_MANY_ALTS,ruleName:r.name,occurrence:o.idx}),s},[]);return n}Vt.validateTooManyAlts=fq;function hq(r,e,t){var i=[];return(0,Qr.forEach)(r,function(n){var s=new gq;n.accept(s);var o=s.allProductions;(0,Qr.forEach)(o,function(a){var l=(0,tf.getProdType)(a),c=a.maxLookahead||e,u=a.idx,g=(0,tf.getLookaheadPathsForOptionalProd)(u,n,l,c),f=g[0];if((0,Qr.isEmpty)((0,Qr.flatten)(f))){var h=t.buildEmptyRepetitionError({topLevelRule:n,repetition:a});i.push({message:h,type:To.ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,ruleName:n.name})}})}),i}Vt.validateSomeNonEmptyLookaheadPath=hq;function WIe(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(a,l,c){return e.definition[c].ignoreAmbiguities===!0||(0,Qr.forEach)(l,function(u){var g=[c];(0,Qr.forEach)(r,function(f,h){c!==h&&(0,tf.containsPath)(f,u)&&e.definition[h].ignoreAmbiguities!==!0&&g.push(h)}),g.length>1&&!(0,tf.containsPath)(n,u)&&(n.push(u),a.push({alts:g,path:u}))}),a},[]),o=er.map(s,function(a){var l=(0,Qr.map)(a.alts,function(u){return u+1}),c=i.buildAlternationAmbiguityError({topLevelRule:t,alternation:e,ambiguityIndices:l,prefixPath:a.path});return{message:c,type:To.ParserDefinitionErrorType.AMBIGUOUS_ALTS,ruleName:t.name,occurrence:e.idx,alternatives:[a.alts]}});return o}function pq(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(o,a,l){var c=(0,Qr.map)(a,function(u){return{idx:l,path:u}});return o.concat(c)},[]);return(0,Qr.forEach)(s,function(o){var a=e.definition[o.idx];if(a.ignoreAmbiguities!==!0){var l=o.idx,c=o.path,u=(0,Qr.findAll)(s,function(f){return e.definition[f.idx].ignoreAmbiguities!==!0&&f.idx{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.validateGrammar=rf.resolveGrammar=void 0;var ix=Gt(),VIe=Vj(),XIe=rx(),dq=xd();function ZIe(r){r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarResolverErrorProvider});var e={};return(0,ix.forEach)(r.rules,function(t){e[t.name]=t}),(0,VIe.resolveGrammar)(e,r.errMsgProvider)}rf.resolveGrammar=ZIe;function _Ie(r){return r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarValidatorErrorProvider}),(0,XIe.validateGrammar)(r.rules,r.maxLookahead,r.tokenTypes,r.errMsgProvider,r.grammarName)}rf.validateGrammar=_Ie});var nf=w(In=>{"use strict";var Fd=In&&In.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(In,"__esModule",{value:!0});In.EarlyExitException=In.NotAllInputParsedException=In.NoViableAltException=In.MismatchedTokenException=In.isRecognitionException=void 0;var $Ie=Gt(),mq="MismatchedTokenException",Eq="NoViableAltException",Iq="EarlyExitException",yq="NotAllInputParsedException",wq=[mq,Eq,Iq,yq];Object.freeze(wq);function eye(r){return(0,$Ie.contains)(wq,r.name)}In.isRecognitionException=eye;var py=function(r){Fd(e,r);function e(t,i){var n=this.constructor,s=r.call(this,t)||this;return s.token=i,s.resyncedTokens=[],Object.setPrototypeOf(s,n.prototype),Error.captureStackTrace&&Error.captureStackTrace(s,s.constructor),s}return e}(Error),tye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=mq,s}return e}(py);In.MismatchedTokenException=tye;var rye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Eq,s}return e}(py);In.NoViableAltException=rye;var iye=function(r){Fd(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.name=yq,n}return e}(py);In.NotAllInputParsedException=iye;var nye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Iq,s}return e}(py);In.EarlyExitException=nye});var sx=w(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.attemptInRepetitionRecovery=Ki.Recoverable=Ki.InRuleRecoveryException=Ki.IN_RULE_RECOVERY_EXCEPTION=Ki.EOF_FOLLOW_KEY=void 0;var dy=TA(),hs=Gt(),sye=nf(),oye=Jv(),aye=jn();Ki.EOF_FOLLOW_KEY={};Ki.IN_RULE_RECOVERY_EXCEPTION="InRuleRecoveryException";function nx(r){this.name=Ki.IN_RULE_RECOVERY_EXCEPTION,this.message=r}Ki.InRuleRecoveryException=nx;nx.prototype=Error.prototype;var Aye=function(){function r(){}return r.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,hs.has)(e,"recoveryEnabled")?e.recoveryEnabled:aye.DEFAULT_PARSER_CONFIG.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=Bq)},r.prototype.getTokenToInsert=function(e){var t=(0,dy.createTokenInstance)(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t},r.prototype.canTokenTypeBeInsertedInRecovery=function(e){return!0},r.prototype.tryInRepetitionRecovery=function(e,t,i,n){for(var s=this,o=this.findReSyncTokenType(),a=this.exportLexerState(),l=[],c=!1,u=this.LA(1),g=this.LA(1),f=function(){var h=s.LA(0),p=s.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:u,previous:h,ruleName:s.getCurrRuleFullName()}),C=new sye.MismatchedTokenException(p,u,s.LA(0));C.resyncedTokens=(0,hs.dropRight)(l),s.SAVE_ERROR(C)};!c;)if(this.tokenMatcher(g,n)){f();return}else if(i.call(this)){f(),e.apply(this,t);return}else this.tokenMatcher(g,o)?c=!0:(g=this.SKIP_TOKEN(),this.addToResyncTokens(g,l));this.importLexerState(a)},r.prototype.shouldInRepetitionRecoveryBeTried=function(e,t,i){return!(i===!1||e===void 0||t===void 0||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))},r.prototype.getFollowsForInRuleRecovery=function(e,t){var i=this.getCurrentGrammarPath(e,t),n=this.getNextPossibleTokenTypes(i);return n},r.prototype.tryInRuleRecovery=function(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t)){var i=this.getTokenToInsert(e);return i}if(this.canRecoverWithSingleTokenDeletion(e)){var n=this.SKIP_TOKEN();return this.consumeToken(),n}throw new nx("sad sad panda")},r.prototype.canPerformInRuleRecovery=function(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)},r.prototype.canRecoverWithSingleTokenInsertion=function(e,t){var i=this;if(!this.canTokenTypeBeInsertedInRecovery(e)||(0,hs.isEmpty)(t))return!1;var n=this.LA(1),s=(0,hs.find)(t,function(o){return i.tokenMatcher(n,o)})!==void 0;return s},r.prototype.canRecoverWithSingleTokenDeletion=function(e){var t=this.tokenMatcher(this.LA(2),e);return t},r.prototype.isInCurrentRuleReSyncSet=function(e){var t=this.getCurrFollowKey(),i=this.getFollowSetFromFollowKey(t);return(0,hs.contains)(i,e)},r.prototype.findReSyncTokenType=function(){for(var e=this.flattenFollowSet(),t=this.LA(1),i=2;;){var n=t.tokenType;if((0,hs.contains)(e,n))return n;t=this.LA(i),i++}},r.prototype.getCurrFollowKey=function(){if(this.RULE_STACK.length===1)return Ki.EOF_FOLLOW_KEY;var e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),i=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(i)}},r.prototype.buildFullFollowKeyStack=function(){var e=this,t=this.RULE_STACK,i=this.RULE_OCCURRENCE_STACK;return(0,hs.map)(t,function(n,s){return s===0?Ki.EOF_FOLLOW_KEY:{ruleName:e.shortRuleNameToFullName(n),idxInCallingRule:i[s],inRule:e.shortRuleNameToFullName(t[s-1])}})},r.prototype.flattenFollowSet=function(){var e=this,t=(0,hs.map)(this.buildFullFollowKeyStack(),function(i){return e.getFollowSetFromFollowKey(i)});return(0,hs.flatten)(t)},r.prototype.getFollowSetFromFollowKey=function(e){if(e===Ki.EOF_FOLLOW_KEY)return[dy.EOF];var t=e.ruleName+e.idxInCallingRule+oye.IN+e.inRule;return this.resyncFollows[t]},r.prototype.addToResyncTokens=function(e,t){return this.tokenMatcher(e,dy.EOF)||t.push(e),t},r.prototype.reSyncTo=function(e){for(var t=[],i=this.LA(1);this.tokenMatcher(i,e)===!1;)i=this.SKIP_TOKEN(),this.addToResyncTokens(i,t);return(0,hs.dropRight)(t)},r.prototype.attemptInRepetitionRecovery=function(e,t,i,n,s,o,a){},r.prototype.getCurrentGrammarPath=function(e,t){var i=this.getHumanReadableRuleStack(),n=(0,hs.cloneArr)(this.RULE_OCCURRENCE_STACK),s={ruleStack:i,occurrenceStack:n,lastTok:e,lastTokOccurrence:t};return s},r.prototype.getHumanReadableRuleStack=function(){var e=this;return(0,hs.map)(this.RULE_STACK,function(t){return e.shortRuleNameToFullName(t)})},r}();Ki.Recoverable=Aye;function Bq(r,e,t,i,n,s,o){var a=this.getKeyForAutomaticLookahead(i,n),l=this.firstAfterRepMap[a];if(l===void 0){var c=this.getCurrRuleFullName(),u=this.getGAstProductions()[c],g=new s(u,n);l=g.startWalking(),this.firstAfterRepMap[a]=l}var f=l.token,h=l.occurrence,p=l.isEndOfRule;this.RULE_STACK.length===1&&p&&f===void 0&&(f=dy.EOF,h=1),this.shouldInRepetitionRecoveryBeTried(f,h,o)&&this.tryInRepetitionRecovery(r,e,t,f)}Ki.attemptInRepetitionRecovery=Bq});var Cy=w(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.getKeyForAutomaticLookahead=Jt.AT_LEAST_ONE_SEP_IDX=Jt.MANY_SEP_IDX=Jt.AT_LEAST_ONE_IDX=Jt.MANY_IDX=Jt.OPTION_IDX=Jt.OR_IDX=Jt.BITS_FOR_ALT_IDX=Jt.BITS_FOR_RULE_IDX=Jt.BITS_FOR_OCCURRENCE_IDX=Jt.BITS_FOR_METHOD_TYPE=void 0;Jt.BITS_FOR_METHOD_TYPE=4;Jt.BITS_FOR_OCCURRENCE_IDX=8;Jt.BITS_FOR_RULE_IDX=12;Jt.BITS_FOR_ALT_IDX=8;Jt.OR_IDX=1<{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.LooksAhead=void 0;var ka=kd(),ro=Gt(),bq=jn(),Ra=Cy(),Ec=vd(),cye=function(){function r(){}return r.prototype.initLooksAhead=function(e){this.dynamicTokensEnabled=(0,ro.has)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:bq.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled,this.maxLookahead=(0,ro.has)(e,"maxLookahead")?e.maxLookahead:bq.DEFAULT_PARSER_CONFIG.maxLookahead,this.lookAheadFuncsCache=(0,ro.isES2015MapSupported)()?new Map:[],(0,ro.isES2015MapSupported)()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},r.prototype.preComputeLookaheadFunctions=function(e){var t=this;(0,ro.forEach)(e,function(i){t.TRACE_INIT(i.name+" Rule Lookahead",function(){var n=(0,Ec.collectMethods)(i),s=n.alternation,o=n.repetition,a=n.option,l=n.repetitionMandatory,c=n.repetitionMandatoryWithSeparator,u=n.repetitionWithSeparator;(0,ro.forEach)(s,function(g){var f=g.idx===0?"":g.idx;t.TRACE_INIT(""+(0,Ec.getProductionDslName)(g)+f,function(){var h=(0,ka.buildLookaheadFuncForOr)(g.idx,i,g.maxLookahead||t.maxLookahead,g.hasPredicates,t.dynamicTokensEnabled,t.lookAheadBuilderForAlternatives),p=(0,Ra.getKeyForAutomaticLookahead)(t.fullRuleNameToShort[i.name],Ra.OR_IDX,g.idx);t.setLaFuncCache(p,h)})}),(0,ro.forEach)(o,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_IDX,ka.PROD_TYPE.REPETITION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(a,function(g){t.computeLookaheadFunc(i,g.idx,Ra.OPTION_IDX,ka.PROD_TYPE.OPTION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(l,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_IDX,ka.PROD_TYPE.REPETITION_MANDATORY,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(c,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_SEP_IDX,ka.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(u,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_SEP_IDX,ka.PROD_TYPE.REPETITION_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))})})})},r.prototype.computeLookaheadFunc=function(e,t,i,n,s,o){var a=this;this.TRACE_INIT(""+o+(t===0?"":t),function(){var l=(0,ka.buildLookaheadFuncForOptionalProd)(t,e,s||a.maxLookahead,a.dynamicTokensEnabled,n,a.lookAheadBuilderForOptional),c=(0,Ra.getKeyForAutomaticLookahead)(a.fullRuleNameToShort[e.name],i,t);a.setLaFuncCache(c,l)})},r.prototype.lookAheadBuilderForOptional=function(e,t,i){return(0,ka.buildSingleAlternativeLookaheadFunction)(e,t,i)},r.prototype.lookAheadBuilderForAlternatives=function(e,t,i,n){return(0,ka.buildAlternativesLookAheadFunc)(e,t,i,n)},r.prototype.getKeyForAutomaticLookahead=function(e,t){var i=this.getLastExplicitRuleShortName();return(0,Ra.getKeyForAutomaticLookahead)(i,e,t)},r.prototype.getLaFuncFromCache=function(e){},r.prototype.getLaFuncFromMap=function(e){return this.lookAheadFuncsCache.get(e)},r.prototype.getLaFuncFromObj=function(e){return this.lookAheadFuncsCache[e]},r.prototype.setLaFuncCache=function(e,t){},r.prototype.setLaFuncCacheUsingMap=function(e,t){this.lookAheadFuncsCache.set(e,t)},r.prototype.setLaFuncUsingObj=function(e,t){this.lookAheadFuncsCache[e]=t},r}();my.LooksAhead=cye});var Sq=w(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.addNoneTerminalToCst=Lo.addTerminalToCst=Lo.setNodeLocationFull=Lo.setNodeLocationOnlyOffset=void 0;function uye(r,e){isNaN(r.startOffset)===!0?(r.startOffset=e.startOffset,r.endOffset=e.endOffset):r.endOffset{"use strict";Object.defineProperty(OA,"__esModule",{value:!0});OA.defineNameProp=OA.functionName=OA.classNameFromInstance=void 0;var pye=Gt();function dye(r){return xq(r.constructor)}OA.classNameFromInstance=dye;var vq="name";function xq(r){var e=r.name;return e||"anonymous"}OA.functionName=xq;function Cye(r,e){var t=Object.getOwnPropertyDescriptor(r,vq);return(0,pye.isUndefined)(t)||t.configurable?(Object.defineProperty(r,vq,{enumerable:!1,configurable:!0,writable:!1,value:e}),!0):!1}OA.defineNameProp=Cye});var Fq=w(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.validateRedundantMethods=Si.validateMissingCstMethods=Si.validateVisitor=Si.CstVisitorDefinitionError=Si.createBaseVisitorConstructorWithDefaults=Si.createBaseSemanticVisitorConstructor=Si.defaultVisit=void 0;var ps=Gt(),Nd=ox();function Pq(r,e){for(var t=(0,ps.keys)(r),i=t.length,n=0;n: - `+(""+s.join(` - -`).replace(/\n/g,` - `)))}}};return t.prototype=i,t.prototype.constructor=t,t._RULE_NAMES=e,t}Si.createBaseSemanticVisitorConstructor=mye;function Eye(r,e,t){var i=function(){};(0,Nd.defineNameProp)(i,r+"BaseSemanticsWithDefaults");var n=Object.create(t.prototype);return(0,ps.forEach)(e,function(s){n[s]=Pq}),i.prototype=n,i.prototype.constructor=i,i}Si.createBaseVisitorConstructorWithDefaults=Eye;var ax;(function(r){r[r.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",r[r.MISSING_METHOD=1]="MISSING_METHOD"})(ax=Si.CstVisitorDefinitionError||(Si.CstVisitorDefinitionError={}));function Dq(r,e){var t=kq(r,e),i=Rq(r,e);return t.concat(i)}Si.validateVisitor=Dq;function kq(r,e){var t=(0,ps.map)(e,function(i){if(!(0,ps.isFunction)(r[i]))return{msg:"Missing visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+" CST Visitor.",type:ax.MISSING_METHOD,methodName:i}});return(0,ps.compact)(t)}Si.validateMissingCstMethods=kq;var Iye=["constructor","visit","validateVisitor"];function Rq(r,e){var t=[];for(var i in r)(0,ps.isFunction)(r[i])&&!(0,ps.contains)(Iye,i)&&!(0,ps.contains)(e,i)&&t.push({msg:"Redundant visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+` CST Visitor -There is no Grammar Rule corresponding to this method's name. -`,type:ax.REDUNDANT_METHOD,methodName:i});return t}Si.validateRedundantMethods=Rq});var Tq=w(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.TreeBuilder=void 0;var sf=Sq(),_r=Gt(),Nq=Fq(),yye=jn(),wye=function(){function r(){}return r.prototype.initTreeBuilder=function(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,_r.has)(e,"nodeLocationTracking")?e.nodeLocationTracking:yye.DEFAULT_PARSER_CONFIG.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=_r.NOOP,this.cstFinallyStateUpdate=_r.NOOP,this.cstPostTerminal=_r.NOOP,this.cstPostNonTerminal=_r.NOOP,this.cstPostRule=_r.NOOP;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationFull,this.setNodeLocationFromNode=sf.setNodeLocationFull,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationOnlyOffset,this.setNodeLocationFromNode=sf.setNodeLocationOnlyOffset,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=_r.NOOP;else throw Error('Invalid config option: "'+e.nodeLocationTracking+'"')},r.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(e){e.location={startOffset:NaN,endOffset:NaN}},r.prototype.setInitialNodeLocationOnlyOffsetRegular=function(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},r.prototype.setInitialNodeLocationFullRecovery=function(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.setInitialNodeLocationFullRegular=function(e){var t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.cstInvocationStateUpdate=function(e,t){var i={name:e,children:{}};this.setInitialNodeLocation(i),this.CST_STACK.push(i)},r.prototype.cstFinallyStateUpdate=function(){this.CST_STACK.pop()},r.prototype.cstPostRuleFull=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?(i.endOffset=t.endOffset,i.endLine=t.endLine,i.endColumn=t.endColumn):(i.startOffset=NaN,i.startLine=NaN,i.startColumn=NaN)},r.prototype.cstPostRuleOnlyOffset=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?i.endOffset=t.endOffset:i.startOffset=NaN},r.prototype.cstPostTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addTerminalToCst)(i,t,e),this.setNodeLocationFromToken(i.location,t)},r.prototype.cstPostNonTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addNoneTerminalToCst)(i,t,e),this.setNodeLocationFromNode(i.location,e.location)},r.prototype.getBaseCstVisitorConstructor=function(){if((0,_r.isUndefined)(this.baseCstVisitorConstructor)){var e=(0,Nq.createBaseSemanticVisitorConstructor)(this.className,(0,_r.keys)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},r.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if((0,_r.isUndefined)(this.baseCstVisitorWithDefaultsConstructor)){var e=(0,Nq.createBaseVisitorConstructorWithDefaults)(this.className,(0,_r.keys)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor},r.prototype.getLastExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-1]},r.prototype.getPreviousExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-2]},r.prototype.getLastExplicitRuleOccurrenceIndex=function(){var e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]},r}();Ey.TreeBuilder=wye});var Mq=w(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.LexerAdapter=void 0;var Lq=jn(),Bye=function(){function r(){}return r.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(r.prototype,"input",{get:function(){return this.tokVector},set:function(e){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length},enumerable:!1,configurable:!0}),r.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Lq.END_OF_FILE},r.prototype.LA=function(e){var t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Lq.END_OF_FILE:this.tokVector[t]},r.prototype.consumeToken=function(){this.currIdx++},r.prototype.exportLexerState=function(){return this.currIdx},r.prototype.importLexerState=function(e){this.currIdx=e},r.prototype.resetLexerState=function(){this.currIdx=-1},r.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},r.prototype.getLexerPosition=function(){return this.exportLexerState()},r}();Iy.LexerAdapter=Bye});var Kq=w(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.RecognizerApi=void 0;var Oq=Gt(),bye=nf(),Ax=jn(),Qye=xd(),Sye=rx(),vye=mn(),xye=function(){function r(){}return r.prototype.ACTION=function(e){return e.call(this)},r.prototype.consume=function(e,t,i){return this.consumeInternal(t,e,i)},r.prototype.subrule=function(e,t,i){return this.subruleInternal(t,e,i)},r.prototype.option=function(e,t){return this.optionInternal(t,e)},r.prototype.or=function(e,t){return this.orInternal(t,e)},r.prototype.many=function(e,t){return this.manyInternal(e,t)},r.prototype.atLeastOne=function(e,t){return this.atLeastOneInternal(e,t)},r.prototype.CONSUME=function(e,t){return this.consumeInternal(e,0,t)},r.prototype.CONSUME1=function(e,t){return this.consumeInternal(e,1,t)},r.prototype.CONSUME2=function(e,t){return this.consumeInternal(e,2,t)},r.prototype.CONSUME3=function(e,t){return this.consumeInternal(e,3,t)},r.prototype.CONSUME4=function(e,t){return this.consumeInternal(e,4,t)},r.prototype.CONSUME5=function(e,t){return this.consumeInternal(e,5,t)},r.prototype.CONSUME6=function(e,t){return this.consumeInternal(e,6,t)},r.prototype.CONSUME7=function(e,t){return this.consumeInternal(e,7,t)},r.prototype.CONSUME8=function(e,t){return this.consumeInternal(e,8,t)},r.prototype.CONSUME9=function(e,t){return this.consumeInternal(e,9,t)},r.prototype.SUBRULE=function(e,t){return this.subruleInternal(e,0,t)},r.prototype.SUBRULE1=function(e,t){return this.subruleInternal(e,1,t)},r.prototype.SUBRULE2=function(e,t){return this.subruleInternal(e,2,t)},r.prototype.SUBRULE3=function(e,t){return this.subruleInternal(e,3,t)},r.prototype.SUBRULE4=function(e,t){return this.subruleInternal(e,4,t)},r.prototype.SUBRULE5=function(e,t){return this.subruleInternal(e,5,t)},r.prototype.SUBRULE6=function(e,t){return this.subruleInternal(e,6,t)},r.prototype.SUBRULE7=function(e,t){return this.subruleInternal(e,7,t)},r.prototype.SUBRULE8=function(e,t){return this.subruleInternal(e,8,t)},r.prototype.SUBRULE9=function(e,t){return this.subruleInternal(e,9,t)},r.prototype.OPTION=function(e){return this.optionInternal(e,0)},r.prototype.OPTION1=function(e){return this.optionInternal(e,1)},r.prototype.OPTION2=function(e){return this.optionInternal(e,2)},r.prototype.OPTION3=function(e){return this.optionInternal(e,3)},r.prototype.OPTION4=function(e){return this.optionInternal(e,4)},r.prototype.OPTION5=function(e){return this.optionInternal(e,5)},r.prototype.OPTION6=function(e){return this.optionInternal(e,6)},r.prototype.OPTION7=function(e){return this.optionInternal(e,7)},r.prototype.OPTION8=function(e){return this.optionInternal(e,8)},r.prototype.OPTION9=function(e){return this.optionInternal(e,9)},r.prototype.OR=function(e){return this.orInternal(e,0)},r.prototype.OR1=function(e){return this.orInternal(e,1)},r.prototype.OR2=function(e){return this.orInternal(e,2)},r.prototype.OR3=function(e){return this.orInternal(e,3)},r.prototype.OR4=function(e){return this.orInternal(e,4)},r.prototype.OR5=function(e){return this.orInternal(e,5)},r.prototype.OR6=function(e){return this.orInternal(e,6)},r.prototype.OR7=function(e){return this.orInternal(e,7)},r.prototype.OR8=function(e){return this.orInternal(e,8)},r.prototype.OR9=function(e){return this.orInternal(e,9)},r.prototype.MANY=function(e){this.manyInternal(0,e)},r.prototype.MANY1=function(e){this.manyInternal(1,e)},r.prototype.MANY2=function(e){this.manyInternal(2,e)},r.prototype.MANY3=function(e){this.manyInternal(3,e)},r.prototype.MANY4=function(e){this.manyInternal(4,e)},r.prototype.MANY5=function(e){this.manyInternal(5,e)},r.prototype.MANY6=function(e){this.manyInternal(6,e)},r.prototype.MANY7=function(e){this.manyInternal(7,e)},r.prototype.MANY8=function(e){this.manyInternal(8,e)},r.prototype.MANY9=function(e){this.manyInternal(9,e)},r.prototype.MANY_SEP=function(e){this.manySepFirstInternal(0,e)},r.prototype.MANY_SEP1=function(e){this.manySepFirstInternal(1,e)},r.prototype.MANY_SEP2=function(e){this.manySepFirstInternal(2,e)},r.prototype.MANY_SEP3=function(e){this.manySepFirstInternal(3,e)},r.prototype.MANY_SEP4=function(e){this.manySepFirstInternal(4,e)},r.prototype.MANY_SEP5=function(e){this.manySepFirstInternal(5,e)},r.prototype.MANY_SEP6=function(e){this.manySepFirstInternal(6,e)},r.prototype.MANY_SEP7=function(e){this.manySepFirstInternal(7,e)},r.prototype.MANY_SEP8=function(e){this.manySepFirstInternal(8,e)},r.prototype.MANY_SEP9=function(e){this.manySepFirstInternal(9,e)},r.prototype.AT_LEAST_ONE=function(e){this.atLeastOneInternal(0,e)},r.prototype.AT_LEAST_ONE1=function(e){return this.atLeastOneInternal(1,e)},r.prototype.AT_LEAST_ONE2=function(e){this.atLeastOneInternal(2,e)},r.prototype.AT_LEAST_ONE3=function(e){this.atLeastOneInternal(3,e)},r.prototype.AT_LEAST_ONE4=function(e){this.atLeastOneInternal(4,e)},r.prototype.AT_LEAST_ONE5=function(e){this.atLeastOneInternal(5,e)},r.prototype.AT_LEAST_ONE6=function(e){this.atLeastOneInternal(6,e)},r.prototype.AT_LEAST_ONE7=function(e){this.atLeastOneInternal(7,e)},r.prototype.AT_LEAST_ONE8=function(e){this.atLeastOneInternal(8,e)},r.prototype.AT_LEAST_ONE9=function(e){this.atLeastOneInternal(9,e)},r.prototype.AT_LEAST_ONE_SEP=function(e){this.atLeastOneSepFirstInternal(0,e)},r.prototype.AT_LEAST_ONE_SEP1=function(e){this.atLeastOneSepFirstInternal(1,e)},r.prototype.AT_LEAST_ONE_SEP2=function(e){this.atLeastOneSepFirstInternal(2,e)},r.prototype.AT_LEAST_ONE_SEP3=function(e){this.atLeastOneSepFirstInternal(3,e)},r.prototype.AT_LEAST_ONE_SEP4=function(e){this.atLeastOneSepFirstInternal(4,e)},r.prototype.AT_LEAST_ONE_SEP5=function(e){this.atLeastOneSepFirstInternal(5,e)},r.prototype.AT_LEAST_ONE_SEP6=function(e){this.atLeastOneSepFirstInternal(6,e)},r.prototype.AT_LEAST_ONE_SEP7=function(e){this.atLeastOneSepFirstInternal(7,e)},r.prototype.AT_LEAST_ONE_SEP8=function(e){this.atLeastOneSepFirstInternal(8,e)},r.prototype.AT_LEAST_ONE_SEP9=function(e){this.atLeastOneSepFirstInternal(9,e)},r.prototype.RULE=function(e,t,i){if(i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG),(0,Oq.contains)(this.definedRulesNames,e)){var n=Qye.defaultGrammarValidatorErrorProvider.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),s={message:n,type:Ax.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(s)}this.definedRulesNames.push(e);var o=this.defineRule(e,t,i);return this[e]=o,o},r.prototype.OVERRIDE_RULE=function(e,t,i){i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG);var n=[];n=n.concat((0,Sye.validateRuleIsOverridden)(e,this.definedRulesNames,this.className)),this.definitionErrors=this.definitionErrors.concat(n);var s=this.defineRule(e,t,i);return this[e]=s,s},r.prototype.BACKTRACK=function(e,t){return function(){this.isBackTrackingStack.push(1);var i=this.saveRecogState();try{return e.apply(this,t),!0}catch(n){if((0,bye.isRecognitionException)(n))return!1;throw n}finally{this.reloadRecogState(i),this.isBackTrackingStack.pop()}}},r.prototype.getGAstProductions=function(){return this.gastProductionsCache},r.prototype.getSerializedGastProductions=function(){return(0,vye.serializeGrammar)((0,Oq.values)(this.gastProductionsCache))},r}();yy.RecognizerApi=xye});var Yq=w(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.RecognizerEngine=void 0;var Pr=Gt(),qn=Cy(),wy=nf(),Uq=kd(),of=Dd(),Hq=jn(),Pye=sx(),Gq=TA(),Td=_g(),Dye=ox(),kye=function(){function r(){}return r.prototype.initRecognizerEngine=function(e,t){if(this.className=(0,Dye.classNameFromInstance)(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Td.tokenStructuredMatcherNoCategories,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,Pr.has)(t,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 - For Further details.`);if((0,Pr.isArray)(e)){if((0,Pr.isEmpty)(e))throw Error(`A Token Vocabulary cannot be empty. - Note that the first argument for the parser constructor - is no longer a Token vector (since v4.0).`);if(typeof e[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 - For Further details.`)}if((0,Pr.isArray)(e))this.tokensMap=(0,Pr.reduce)(e,function(o,a){return o[a.name]=a,o},{});else if((0,Pr.has)(e,"modes")&&(0,Pr.every)((0,Pr.flatten)((0,Pr.values)(e.modes)),Td.isTokenType)){var i=(0,Pr.flatten)((0,Pr.values)(e.modes)),n=(0,Pr.uniq)(i);this.tokensMap=(0,Pr.reduce)(n,function(o,a){return o[a.name]=a,o},{})}else if((0,Pr.isObject)(e))this.tokensMap=(0,Pr.cloneObj)(e);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=Gq.EOF;var s=(0,Pr.every)((0,Pr.values)(e),function(o){return(0,Pr.isEmpty)(o.categoryMatches)});this.tokenMatcher=s?Td.tokenStructuredMatcherNoCategories:Td.tokenStructuredMatcher,(0,Td.augmentTokenTypes)((0,Pr.values)(this.tokensMap))},r.prototype.defineRule=function(e,t,i){if(this.selfAnalysisDone)throw Error("Grammar rule <"+e+`> may not be defined after the 'performSelfAnalysis' method has been called' -Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);var n=(0,Pr.has)(i,"resyncEnabled")?i.resyncEnabled:Hq.DEFAULT_RULE_CONFIG.resyncEnabled,s=(0,Pr.has)(i,"recoveryValueFunc")?i.recoveryValueFunc:Hq.DEFAULT_RULE_CONFIG.recoveryValueFunc,o=this.ruleShortNameIdx<t},r.prototype.orInternal=function(e,t){var i=this.getKeyForAutomaticLookahead(qn.OR_IDX,t),n=(0,Pr.isArray)(e)?e:e.DEF,s=this.getLaFuncFromCache(i),o=s.call(this,n);if(o!==void 0){var a=n[o];return a.ALT.call(this)}this.raiseNoAltException(t,e.ERR_MSG)},r.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){var e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new wy.NotAllInputParsedException(t,e))}},r.prototype.subruleInternal=function(e,t,i){var n;try{var s=i!==void 0?i.ARGS:void 0;return n=e.call(this,t,s),this.cstPostNonTerminal(n,i!==void 0&&i.LABEL!==void 0?i.LABEL:e.ruleName),n}catch(o){this.subruleInternalError(o,i,e.ruleName)}},r.prototype.subruleInternalError=function(e,t,i){throw(0,wy.isRecognitionException)(e)&&e.partialCstResult!==void 0&&(this.cstPostNonTerminal(e.partialCstResult,t!==void 0&&t.LABEL!==void 0?t.LABEL:i),delete e.partialCstResult),e},r.prototype.consumeInternal=function(e,t,i){var n;try{var s=this.LA(1);this.tokenMatcher(s,e)===!0?(this.consumeToken(),n=s):this.consumeInternalError(e,s,i)}catch(o){n=this.consumeInternalRecovery(e,t,o)}return this.cstPostTerminal(i!==void 0&&i.LABEL!==void 0?i.LABEL:e.name,n),n},r.prototype.consumeInternalError=function(e,t,i){var n,s=this.LA(0);throw i!==void 0&&i.ERR_MSG?n=i.ERR_MSG:n=this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:s,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new wy.MismatchedTokenException(n,t,s))},r.prototype.consumeInternalRecovery=function(e,t,i){if(this.recoveryEnabled&&i.name==="MismatchedTokenException"&&!this.isBackTracking()){var n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(s){throw s.name===Pye.IN_RULE_RECOVERY_EXCEPTION?i:s}}else throw i},r.prototype.saveRecogState=function(){var e=this.errors,t=(0,Pr.cloneArr)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}},r.prototype.reloadRecogState=function(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK},r.prototype.ruleInvocationStateUpdate=function(e,t,i){this.RULE_OCCURRENCE_STACK.push(i),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t,e)},r.prototype.isBackTracking=function(){return this.isBackTrackingStack.length!==0},r.prototype.getCurrRuleFullName=function(){var e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]},r.prototype.shortRuleNameToFullName=function(e){return this.shortRuleNameToFull[e]},r.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),Gq.EOF)},r.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},r}();By.RecognizerEngine=kye});var qq=w(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.ErrorHandler=void 0;var lx=nf(),cx=Gt(),jq=kd(),Rye=jn(),Fye=function(){function r(){}return r.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=(0,cx.has)(e,"errorMessageProvider")?e.errorMessageProvider:Rye.DEFAULT_PARSER_CONFIG.errorMessageProvider},r.prototype.SAVE_ERROR=function(e){if((0,lx.isRecognitionException)(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,cx.cloneArr)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(r.prototype,"errors",{get:function(){return(0,cx.cloneArr)(this._errors)},set:function(e){this._errors=e},enumerable:!1,configurable:!0}),r.prototype.raiseEarlyExitException=function(e,t,i){for(var n=this.getCurrRuleFullName(),s=this.getGAstProductions()[n],o=(0,jq.getLookaheadPathsForOptionalProd)(e,s,t,this.maxLookahead),a=o[0],l=[],c=1;c<=this.maxLookahead;c++)l.push(this.LA(c));var u=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:a,actual:l,previous:this.LA(0),customUserDescription:i,ruleName:n});throw this.SAVE_ERROR(new lx.EarlyExitException(u,this.LA(1),this.LA(0)))},r.prototype.raiseNoAltException=function(e,t){for(var i=this.getCurrRuleFullName(),n=this.getGAstProductions()[i],s=(0,jq.getLookaheadPathsForOr)(e,n,this.maxLookahead),o=[],a=1;a<=this.maxLookahead;a++)o.push(this.LA(a));var l=this.LA(0),c=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:s,actual:o,previous:l,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new lx.NoViableAltException(c,this.LA(1),l))},r}();by.ErrorHandler=Fye});var zq=w(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.ContentAssist=void 0;var Jq=Dd(),Wq=Gt(),Nye=function(){function r(){}return r.prototype.initContentAssist=function(){},r.prototype.computeContentAssist=function(e,t){var i=this.gastProductionsCache[e];if((0,Wq.isUndefined)(i))throw Error("Rule ->"+e+"<- does not exist in this grammar.");return(0,Jq.nextPossibleTokensAfter)([i],t,this.tokenMatcher,this.maxLookahead)},r.prototype.getNextPossibleTokenTypes=function(e){var t=(0,Wq.first)(e.ruleStack),i=this.getGAstProductions(),n=i[t],s=new Jq.NextAfterTokenWalker(n,e).startWalking();return s},r}();Qy.ContentAssist=Nye});var rJ=w(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.GastRecorder=void 0;var yn=Gt(),Mo=mn(),Tye=Bd(),_q=_g(),$q=TA(),Lye=jn(),Mye=Cy(),vy={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(vy);var Vq=!0,Xq=Math.pow(2,Mye.BITS_FOR_OCCURRENCE_IDX)-1,eJ=(0,$q.createToken)({name:"RECORDING_PHASE_TOKEN",pattern:Tye.Lexer.NA});(0,_q.augmentTokenTypes)([eJ]);var tJ=(0,$q.createTokenInstance)(eJ,`This IToken indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(tJ);var Oye={name:`This CSTNode indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},Kye=function(){function r(){}return r.prototype.initGastRecorder=function(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1},r.prototype.enableRecording=function(){var e=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",function(){for(var t=function(n){var s=n>0?n:"";e["CONSUME"+s]=function(o,a){return this.consumeInternalRecord(o,n,a)},e["SUBRULE"+s]=function(o,a){return this.subruleInternalRecord(o,n,a)},e["OPTION"+s]=function(o){return this.optionInternalRecord(o,n)},e["OR"+s]=function(o){return this.orInternalRecord(o,n)},e["MANY"+s]=function(o){this.manyInternalRecord(n,o)},e["MANY_SEP"+s]=function(o){this.manySepFirstInternalRecord(n,o)},e["AT_LEAST_ONE"+s]=function(o){this.atLeastOneInternalRecord(n,o)},e["AT_LEAST_ONE_SEP"+s]=function(o){this.atLeastOneSepFirstInternalRecord(n,o)}},i=0;i<10;i++)t(i);e.consume=function(n,s,o){return this.consumeInternalRecord(s,n,o)},e.subrule=function(n,s,o){return this.subruleInternalRecord(s,n,o)},e.option=function(n,s){return this.optionInternalRecord(s,n)},e.or=function(n,s){return this.orInternalRecord(s,n)},e.many=function(n,s){this.manyInternalRecord(n,s)},e.atLeastOne=function(n,s){this.atLeastOneInternalRecord(n,s)},e.ACTION=e.ACTION_RECORD,e.BACKTRACK=e.BACKTRACK_RECORD,e.LA=e.LA_RECORD})},r.prototype.disableRecording=function(){var e=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",function(){for(var t=0;t<10;t++){var i=t>0?t:"";delete e["CONSUME"+i],delete e["SUBRULE"+i],delete e["OPTION"+i],delete e["OR"+i],delete e["MANY"+i],delete e["MANY_SEP"+i],delete e["AT_LEAST_ONE"+i],delete e["AT_LEAST_ONE_SEP"+i]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA})},r.prototype.ACTION_RECORD=function(e){},r.prototype.BACKTRACK_RECORD=function(e,t){return function(){return!0}},r.prototype.LA_RECORD=function(e){return Lye.END_OF_FILE},r.prototype.topLevelRuleRecord=function(e,t){try{var i=new Mo.Rule({definition:[],name:e});return i.name=e,this.recordingProdStack.push(i),t.call(this),this.recordingProdStack.pop(),i}catch(n){if(n.KNOWN_RECORDER_ERROR!==!0)try{n.message=n.message+` - This error was thrown during the "grammar recording phase" For more info see: - https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw n}throw n}},r.prototype.optionInternalRecord=function(e,t){return Ld.call(this,Mo.Option,e,t)},r.prototype.atLeastOneInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatory,t,e)},r.prototype.atLeastOneSepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatoryWithSeparator,t,e,Vq)},r.prototype.manyInternalRecord=function(e,t){Ld.call(this,Mo.Repetition,t,e)},r.prototype.manySepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionWithSeparator,t,e,Vq)},r.prototype.orInternalRecord=function(e,t){return Uye.call(this,e,t)},r.prototype.subruleInternalRecord=function(e,t,i){if(Sy(t),!e||(0,yn.has)(e,"ruleName")===!1){var n=new Error(" argument is invalid"+(" expecting a Parser method reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=e.ruleName,a=new Mo.NonTerminal({idx:t,nonTerminalName:o,label:i==null?void 0:i.LABEL,referencedRule:void 0});return s.definition.push(a),this.outputCst?Oye:vy},r.prototype.consumeInternalRecord=function(e,t,i){if(Sy(t),!(0,_q.hasShortKeyProperty)(e)){var n=new Error(" argument is invalid"+(" expecting a TokenType reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=new Mo.Terminal({idx:t,terminalType:e,label:i==null?void 0:i.LABEL});return s.definition.push(o),tJ},r}();xy.GastRecorder=Kye;function Ld(r,e,t,i){i===void 0&&(i=!1),Sy(t);var n=(0,yn.peek)(this.recordingProdStack),s=(0,yn.isFunction)(e)?e:e.DEF,o=new r({definition:[],idx:t});return i&&(o.separator=e.SEP),(0,yn.has)(e,"MAX_LOOKAHEAD")&&(o.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(o),s.call(this),n.definition.push(o),this.recordingProdStack.pop(),vy}function Uye(r,e){var t=this;Sy(e);var i=(0,yn.peek)(this.recordingProdStack),n=(0,yn.isArray)(r)===!1,s=n===!1?r:r.DEF,o=new Mo.Alternation({definition:[],idx:e,ignoreAmbiguities:n&&r.IGNORE_AMBIGUITIES===!0});(0,yn.has)(r,"MAX_LOOKAHEAD")&&(o.maxLookahead=r.MAX_LOOKAHEAD);var a=(0,yn.some)(s,function(l){return(0,yn.isFunction)(l.GATE)});return o.hasPredicates=a,i.definition.push(o),(0,yn.forEach)(s,function(l){var c=new Mo.Alternative({definition:[]});o.definition.push(c),(0,yn.has)(l,"IGNORE_AMBIGUITIES")?c.ignoreAmbiguities=l.IGNORE_AMBIGUITIES:(0,yn.has)(l,"GATE")&&(c.ignoreAmbiguities=!0),t.recordingProdStack.push(c),l.ALT.call(t),t.recordingProdStack.pop()}),vy}function Zq(r){return r===0?"":""+r}function Sy(r){if(r<0||r>Xq){var e=new Error("Invalid DSL Method idx value: <"+r+`> - `+("Idx value must be a none negative value smaller than "+(Xq+1)));throw e.KNOWN_RECORDER_ERROR=!0,e}}});var nJ=w(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.PerformanceTracer=void 0;var iJ=Gt(),Hye=jn(),Gye=function(){function r(){}return r.prototype.initPerformanceTracer=function(e){if((0,iJ.has)(e,"traceInitPerf")){var t=e.traceInitPerf,i=typeof t=="number";this.traceInitMaxIdent=i?t:1/0,this.traceInitPerf=i?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=Hye.DEFAULT_PARSER_CONFIG.traceInitPerf;this.traceInitIndent=-1},r.prototype.TRACE_INIT=function(e,t){if(this.traceInitPerf===!0){this.traceInitIndent++;var i=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <"+e+">");var n=(0,iJ.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r}();Py.PerformanceTracer=Gye});var sJ=w(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.applyMixins=void 0;function Yye(r,e){e.forEach(function(t){var i=t.prototype;Object.getOwnPropertyNames(i).forEach(function(n){if(n!=="constructor"){var s=Object.getOwnPropertyDescriptor(i,n);s&&(s.get||s.set)?Object.defineProperty(r.prototype,n,s):r.prototype[n]=t.prototype[n]}})})}Dy.applyMixins=Yye});var jn=w(dr=>{"use strict";var AJ=dr&&dr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(dr,"__esModule",{value:!0});dr.EmbeddedActionsParser=dr.CstParser=dr.Parser=dr.EMPTY_ALT=dr.ParserDefinitionErrorType=dr.DEFAULT_RULE_CONFIG=dr.DEFAULT_PARSER_CONFIG=dr.END_OF_FILE=void 0;var en=Gt(),jye=qj(),oJ=TA(),lJ=xd(),aJ=Cq(),qye=sx(),Jye=Qq(),Wye=Tq(),zye=Mq(),Vye=Kq(),Xye=Yq(),Zye=qq(),_ye=zq(),$ye=rJ(),ewe=nJ(),twe=sJ();dr.END_OF_FILE=(0,oJ.createTokenInstance)(oJ.EOF,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(dr.END_OF_FILE);dr.DEFAULT_PARSER_CONFIG=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:lJ.defaultParserErrorProvider,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1});dr.DEFAULT_RULE_CONFIG=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});var rwe;(function(r){r[r.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",r[r.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",r[r.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",r[r.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",r[r.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",r[r.LEFT_RECURSION=5]="LEFT_RECURSION",r[r.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",r[r.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",r[r.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",r[r.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",r[r.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",r[r.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",r[r.TOO_MANY_ALTS=12]="TOO_MANY_ALTS"})(rwe=dr.ParserDefinitionErrorType||(dr.ParserDefinitionErrorType={}));function iwe(r){return r===void 0&&(r=void 0),function(){return r}}dr.EMPTY_ALT=iwe;var ky=function(){function r(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;var i=this;if(i.initErrorHandler(t),i.initLexerAdapter(),i.initLooksAhead(t),i.initRecognizerEngine(e,t),i.initRecoverable(t),i.initTreeBuilder(t),i.initContentAssist(),i.initGastRecorder(t),i.initPerformanceTracer(t),(0,en.has)(t,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. - Please use the flag on the relevant DSL method instead. - See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES - For further details.`);this.skipValidations=(0,en.has)(t,"skipValidations")?t.skipValidations:dr.DEFAULT_PARSER_CONFIG.skipValidations}return r.performSelfAnalysis=function(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")},r.prototype.performSelfAnalysis=function(){var e=this;this.TRACE_INIT("performSelfAnalysis",function(){var t;e.selfAnalysisDone=!0;var i=e.className;e.TRACE_INIT("toFastProps",function(){(0,en.toFastProperties)(e)}),e.TRACE_INIT("Grammar Recording",function(){try{e.enableRecording(),(0,en.forEach)(e.definedRulesNames,function(s){var o=e[s],a=o.originalGrammarAction,l=void 0;e.TRACE_INIT(s+" Rule",function(){l=e.topLevelRuleRecord(s,a)}),e.gastProductionsCache[s]=l})}finally{e.disableRecording()}});var n=[];if(e.TRACE_INIT("Grammar Resolving",function(){n=(0,aJ.resolveGrammar)({rules:(0,en.values)(e.gastProductionsCache)}),e.definitionErrors=e.definitionErrors.concat(n)}),e.TRACE_INIT("Grammar Validations",function(){if((0,en.isEmpty)(n)&&e.skipValidations===!1){var s=(0,aJ.validateGrammar)({rules:(0,en.values)(e.gastProductionsCache),maxLookahead:e.maxLookahead,tokenTypes:(0,en.values)(e.tokensMap),errMsgProvider:lJ.defaultGrammarValidatorErrorProvider,grammarName:i});e.definitionErrors=e.definitionErrors.concat(s)}}),(0,en.isEmpty)(e.definitionErrors)&&(e.recoveryEnabled&&e.TRACE_INIT("computeAllProdsFollows",function(){var s=(0,jye.computeAllProdsFollows)((0,en.values)(e.gastProductionsCache));e.resyncFollows=s}),e.TRACE_INIT("ComputeLookaheadFunctions",function(){e.preComputeLookaheadFunctions((0,en.values)(e.gastProductionsCache))})),!r.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,en.isEmpty)(e.definitionErrors))throw t=(0,en.map)(e.definitionErrors,function(s){return s.message}),new Error(`Parser Definition Errors detected: - `+t.join(` -------------------------------- -`))})},r.DEFER_DEFINITION_ERRORS_HANDLING=!1,r}();dr.Parser=ky;(0,twe.applyMixins)(ky,[qye.Recoverable,Jye.LooksAhead,Wye.TreeBuilder,zye.LexerAdapter,Xye.RecognizerEngine,Vye.RecognizerApi,Zye.ErrorHandler,_ye.ContentAssist,$ye.GastRecorder,ewe.PerformanceTracer]);var nwe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!0,n=r.call(this,t,s)||this,n}return e}(ky);dr.CstParser=nwe;var swe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!1,n=r.call(this,t,s)||this,n}return e}(ky);dr.EmbeddedActionsParser=swe});var uJ=w(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0});Ry.createSyntaxDiagramsCode=void 0;var cJ=Dv();function owe(r,e){var t=e===void 0?{}:e,i=t.resourceBase,n=i===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/":i,s=t.css,o=s===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/diagrams.css":s,a=` - - - - - -`,l=` - -`,c=` - diff --git a/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.css b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.css new file mode 100644 index 000000000000..a3e7be665c31 --- /dev/null +++ b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.css @@ -0,0 +1,32 @@ +.navigation-layout { + & nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px; + background-color: color-mix(in srgb, yellow 50%, transparent); + border-bottom: 2px dashed color-mix(in srgb, yellow 90%, black); + } + + & ul { + list-style: none; + display: flex; + margin: 0; + padding: 0; + } + + & li { + margin-right: 10px; + } + + & a { + text-decoration: none; + color: #333; + padding: 5px; + border-bottom: 2px solid transparent; + } + + & a:hover { + border-bottom: 2px solid #333; + } +} diff --git a/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.stories.tsx b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.stories.tsx new file mode 100644 index 000000000000..4ec5ddf88eb3 --- /dev/null +++ b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.stories.tsx @@ -0,0 +1,13 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import NavigationLayout from './NavigationLayout' + +const meta: Meta = { + component: NavigationLayout, +} + +export default meta + +type Story = StoryObj + +export const Primary: Story = {} diff --git a/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.test.tsx b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.test.tsx new file mode 100644 index 000000000000..74fff5fc1509 --- /dev/null +++ b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.test.tsx @@ -0,0 +1,14 @@ +import { render } from '@redwoodjs/testing/web' + +import NavigationLayout from './NavigationLayout' + +// Improve this test with help from the Redwood Testing Doc: +// https://redwoodjs.com/docs/testing#testing-pages-layouts + +describe('NavigationLayout', () => { + it('renders successfully', () => { + expect(() => { + render() + }).not.toThrow() + }) +}) diff --git a/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.tsx b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.tsx new file mode 100644 index 000000000000..4f13e197309a --- /dev/null +++ b/__fixtures__/test-project-rsa/web/src/layouts/NavigationLayout/NavigationLayout.tsx @@ -0,0 +1,27 @@ +import { Link, routes } from '@redwoodjs/router' + +import './NavigationLayout.css' + +type NavigationLayoutProps = { + children?: React.ReactNode +} + +const NavigationLayout = ({ children }: NavigationLayoutProps) => { + return ( +
+ +
{children}
+
+ ) +} + +export default NavigationLayout diff --git a/__fixtures__/test-project-rsc-external-packages/.nvmrc b/__fixtures__/test-project-rsc-external-packages/.nvmrc index b009dfb9d9f9..3f430af82b3d 100644 --- a/__fixtures__/test-project-rsc-external-packages/.nvmrc +++ b/__fixtures__/test-project-rsc-external-packages/.nvmrc @@ -1 +1 @@ -lts/* +v18 diff --git a/__fixtures__/test-project-rsc-external-packages/.yarn/releases/yarn-3.6.3.cjs b/__fixtures__/test-project-rsc-external-packages/.yarn/releases/yarn-3.6.3.cjs deleted file mode 100755 index 9837c3028118..000000000000 --- a/__fixtures__/test-project-rsc-external-packages/.yarn/releases/yarn-3.6.3.cjs +++ /dev/null @@ -1,874 +0,0 @@ -#!/usr/bin/env node -/* eslint-disable */ -//prettier-ignore -(()=>{var Dge=Object.create;var lS=Object.defineProperty;var kge=Object.getOwnPropertyDescriptor;var Rge=Object.getOwnPropertyNames;var Fge=Object.getPrototypeOf,Nge=Object.prototype.hasOwnProperty;var J=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});var Tge=(r,e)=>()=>(r&&(e=r(r=0)),e);var w=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ut=(r,e)=>{for(var t in e)lS(r,t,{get:e[t],enumerable:!0})},Lge=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Rge(e))!Nge.call(r,n)&&n!==t&&lS(r,n,{get:()=>e[n],enumerable:!(i=kge(e,n))||i.enumerable});return r};var Pe=(r,e,t)=>(t=r!=null?Dge(Fge(r)):{},Lge(e||!r||!r.__esModule?lS(t,"default",{value:r,enumerable:!0}):t,r));var PK=w((z7e,xK)=>{xK.exports=vK;vK.sync=ife;var QK=J("fs");function rfe(r,e){var t=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!t||(t=t.split(";"),t.indexOf("")!==-1))return!0;for(var i=0;i{FK.exports=kK;kK.sync=nfe;var DK=J("fs");function kK(r,e,t){DK.stat(r,function(i,n){t(i,i?!1:RK(n,e))})}function nfe(r,e){return RK(DK.statSync(r),e)}function RK(r,e){return r.isFile()&&sfe(r,e)}function sfe(r,e){var t=r.mode,i=r.uid,n=r.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),l=parseInt("010",8),c=parseInt("001",8),u=a|l,g=t&c||t&l&&n===o||t&a&&i===s||t&u&&s===0;return g}});var LK=w((Z7e,TK)=>{var X7e=J("fs"),lI;process.platform==="win32"||global.TESTING_WINDOWS?lI=PK():lI=NK();TK.exports=SS;SS.sync=ofe;function SS(r,e,t){if(typeof e=="function"&&(t=e,e={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(i,n){SS(r,e||{},function(s,o){s?n(s):i(o)})})}lI(r,e||{},function(i,n){i&&(i.code==="EACCES"||e&&e.ignoreErrors)&&(i=null,n=!1),t(i,n)})}function ofe(r,e){try{return lI.sync(r,e||{})}catch(t){if(e&&e.ignoreErrors||t.code==="EACCES")return!1;throw t}}});var YK=w((_7e,GK)=>{var Dg=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",MK=J("path"),afe=Dg?";":":",OK=LK(),KK=r=>Object.assign(new Error(`not found: ${r}`),{code:"ENOENT"}),UK=(r,e)=>{let t=e.colon||afe,i=r.match(/\//)||Dg&&r.match(/\\/)?[""]:[...Dg?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(t)],n=Dg?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Dg?n.split(t):[""];return Dg&&r.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:i,pathExt:s,pathExtExe:n}},HK=(r,e,t)=>{typeof e=="function"&&(t=e,e={}),e||(e={});let{pathEnv:i,pathExt:n,pathExtExe:s}=UK(r,e),o=[],a=c=>new Promise((u,g)=>{if(c===i.length)return e.all&&o.length?u(o):g(KK(r));let f=i[c],h=/^".*"$/.test(f)?f.slice(1,-1):f,p=MK.join(h,r),C=!h&&/^\.[\\\/]/.test(r)?r.slice(0,2)+p:p;u(l(C,c,0))}),l=(c,u,g)=>new Promise((f,h)=>{if(g===n.length)return f(a(u+1));let p=n[g];OK(c+p,{pathExt:s},(C,y)=>{if(!C&&y)if(e.all)o.push(c+p);else return f(c+p);return f(l(c,u,g+1))})});return t?a(0).then(c=>t(null,c),t):a(0)},Afe=(r,e)=>{e=e||{};let{pathEnv:t,pathExt:i,pathExtExe:n}=UK(r,e),s=[];for(let o=0;o{"use strict";var jK=(r={})=>{let e=r.env||process.env;return(r.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"};vS.exports=jK;vS.exports.default=jK});var VK=w((eZe,zK)=>{"use strict";var JK=J("path"),lfe=YK(),cfe=qK();function WK(r,e){let t=r.options.env||process.env,i=process.cwd(),n=r.options.cwd!=null,s=n&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(r.options.cwd)}catch{}let o;try{o=lfe.sync(r.command,{path:t[cfe({env:t})],pathExt:e?JK.delimiter:void 0})}catch{}finally{s&&process.chdir(i)}return o&&(o=JK.resolve(n?r.options.cwd:"",o)),o}function ufe(r){return WK(r)||WK(r,!0)}zK.exports=ufe});var XK=w((tZe,PS)=>{"use strict";var xS=/([()\][%!^"`<>&|;, *?])/g;function gfe(r){return r=r.replace(xS,"^$1"),r}function ffe(r,e){return r=`${r}`,r=r.replace(/(\\*)"/g,'$1$1\\"'),r=r.replace(/(\\*)$/,"$1$1"),r=`"${r}"`,r=r.replace(xS,"^$1"),e&&(r=r.replace(xS,"^$1")),r}PS.exports.command=gfe;PS.exports.argument=ffe});var _K=w((rZe,ZK)=>{"use strict";ZK.exports=/^#!(.*)/});var eU=w((iZe,$K)=>{"use strict";var hfe=_K();$K.exports=(r="")=>{let e=r.match(hfe);if(!e)return null;let[t,i]=e[0].replace(/#! ?/,"").split(" "),n=t.split("/").pop();return n==="env"?i:i?`${n} ${i}`:n}});var rU=w((nZe,tU)=>{"use strict";var DS=J("fs"),pfe=eU();function dfe(r){let t=Buffer.alloc(150),i;try{i=DS.openSync(r,"r"),DS.readSync(i,t,0,150,0),DS.closeSync(i)}catch{}return pfe(t.toString())}tU.exports=dfe});var oU=w((sZe,sU)=>{"use strict";var Cfe=J("path"),iU=VK(),nU=XK(),mfe=rU(),Efe=process.platform==="win32",Ife=/\.(?:com|exe)$/i,yfe=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function wfe(r){r.file=iU(r);let e=r.file&&mfe(r.file);return e?(r.args.unshift(r.file),r.command=e,iU(r)):r.file}function Bfe(r){if(!Efe)return r;let e=wfe(r),t=!Ife.test(e);if(r.options.forceShell||t){let i=yfe.test(e);r.command=Cfe.normalize(r.command),r.command=nU.command(r.command),r.args=r.args.map(s=>nU.argument(s,i));let n=[r.command].concat(r.args).join(" ");r.args=["/d","/s","/c",`"${n}"`],r.command=process.env.comspec||"cmd.exe",r.options.windowsVerbatimArguments=!0}return r}function bfe(r,e,t){e&&!Array.isArray(e)&&(t=e,e=null),e=e?e.slice(0):[],t=Object.assign({},t);let i={command:r,args:e,options:t,file:void 0,original:{command:r,args:e}};return t.shell?i:Bfe(i)}sU.exports=bfe});var lU=w((oZe,AU)=>{"use strict";var kS=process.platform==="win32";function RS(r,e){return Object.assign(new Error(`${e} ${r.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${r.command}`,path:r.command,spawnargs:r.args})}function Qfe(r,e){if(!kS)return;let t=r.emit;r.emit=function(i,n){if(i==="exit"){let s=aU(n,e,"spawn");if(s)return t.call(r,"error",s)}return t.apply(r,arguments)}}function aU(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawn"):null}function Sfe(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawnSync"):null}AU.exports={hookChildProcess:Qfe,verifyENOENT:aU,verifyENOENTSync:Sfe,notFoundError:RS}});var TS=w((aZe,kg)=>{"use strict";var cU=J("child_process"),FS=oU(),NS=lU();function uU(r,e,t){let i=FS(r,e,t),n=cU.spawn(i.command,i.args,i.options);return NS.hookChildProcess(n,i),n}function vfe(r,e,t){let i=FS(r,e,t),n=cU.spawnSync(i.command,i.args,i.options);return n.error=n.error||NS.verifyENOENTSync(n.status,i),n}kg.exports=uU;kg.exports.spawn=uU;kg.exports.sync=vfe;kg.exports._parse=FS;kg.exports._enoent=NS});var fU=w((AZe,gU)=>{"use strict";function xfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function Zl(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Zl)}xfe(Zl,Error);Zl.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g>",ie=me(">>",!1),de=">&",_e=me(">&",!1),Pt=">",It=me(">",!1),Mr="<<<",ii=me("<<<",!1),gi="<&",hr=me("<&",!1),fi="<",ni=me("<",!1),Ks=function(m){return{type:"argument",segments:[].concat(...m)}},pr=function(m){return m},Ii="$'",rs=me("$'",!1),fa="'",dA=me("'",!1),cg=function(m){return[{type:"text",text:m}]},is='""',CA=me('""',!1),ha=function(){return{type:"text",text:""}},wp='"',mA=me('"',!1),EA=function(m){return m},wr=function(m){return{type:"arithmetic",arithmetic:m,quoted:!0}},Tl=function(m){return{type:"shell",shell:m,quoted:!0}},ug=function(m){return{type:"variable",...m,quoted:!0}},yo=function(m){return{type:"text",text:m}},gg=function(m){return{type:"arithmetic",arithmetic:m,quoted:!1}},Bp=function(m){return{type:"shell",shell:m,quoted:!1}},bp=function(m){return{type:"variable",...m,quoted:!1}},vr=function(m){return{type:"glob",pattern:m}},se=/^[^']/,wo=Je(["'"],!0,!1),Fn=function(m){return m.join("")},fg=/^[^$"]/,bt=Je(["$",'"'],!0,!1),Ll=`\\ -`,Nn=me(`\\ -`,!1),ns=function(){return""},ss="\\",gt=me("\\",!1),Bo=/^[\\$"`]/,At=Je(["\\","$",'"',"`"],!1,!1),ln=function(m){return m},S="\\a",Lt=me("\\a",!1),hg=function(){return"a"},Ml="\\b",Qp=me("\\b",!1),Sp=function(){return"\b"},vp=/^[Ee]/,xp=Je(["E","e"],!1,!1),Pp=function(){return"\x1B"},G="\\f",yt=me("\\f",!1),IA=function(){return"\f"},zi="\\n",Ol=me("\\n",!1),Xe=function(){return` -`},pa="\\r",pg=me("\\r",!1),ME=function(){return"\r"},Dp="\\t",OE=me("\\t",!1),ar=function(){return" "},Tn="\\v",Kl=me("\\v",!1),kp=function(){return"\v"},Us=/^[\\'"?]/,da=Je(["\\","'",'"',"?"],!1,!1),cn=function(m){return String.fromCharCode(parseInt(m,16))},Le="\\x",dg=me("\\x",!1),Ul="\\u",Hs=me("\\u",!1),Hl="\\U",yA=me("\\U",!1),Cg=function(m){return String.fromCodePoint(parseInt(m,16))},mg=/^[0-7]/,Ca=Je([["0","7"]],!1,!1),ma=/^[0-9a-fA-f]/,rt=Je([["0","9"],["a","f"],["A","f"]],!1,!1),bo=nt(),wA="-",Gl=me("-",!1),Gs="+",Yl=me("+",!1),KE=".",Rp=me(".",!1),Eg=function(m,Q,N){return{type:"number",value:(m==="-"?-1:1)*parseFloat(Q.join("")+"."+N.join(""))}},Fp=function(m,Q){return{type:"number",value:(m==="-"?-1:1)*parseInt(Q.join(""))}},UE=function(m){return{type:"variable",...m}},jl=function(m){return{type:"variable",name:m}},HE=function(m){return m},Ig="*",BA=me("*",!1),Rr="/",GE=me("/",!1),Ys=function(m,Q,N){return{type:Q==="*"?"multiplication":"division",right:N}},js=function(m,Q){return Q.reduce((N,U)=>({left:N,...U}),m)},yg=function(m,Q,N){return{type:Q==="+"?"addition":"subtraction",right:N}},bA="$((",R=me("$((",!1),q="))",Ce=me("))",!1),Ke=function(m){return m},Re="$(",ze=me("$(",!1),dt=function(m){return m},Ft="${",Ln=me("${",!1),JQ=":-",k1=me(":-",!1),R1=function(m,Q){return{name:m,defaultValue:Q}},WQ=":-}",F1=me(":-}",!1),N1=function(m){return{name:m,defaultValue:[]}},zQ=":+",T1=me(":+",!1),L1=function(m,Q){return{name:m,alternativeValue:Q}},VQ=":+}",M1=me(":+}",!1),O1=function(m){return{name:m,alternativeValue:[]}},XQ=function(m){return{name:m}},K1="$",U1=me("$",!1),H1=function(m){return e.isGlobPattern(m)},G1=function(m){return m},ZQ=/^[a-zA-Z0-9_]/,_Q=Je([["a","z"],["A","Z"],["0","9"],"_"],!1,!1),$Q=function(){return L()},eS=/^[$@*?#a-zA-Z0-9_\-]/,tS=Je(["$","@","*","?","#",["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Y1=/^[(){}<>$|&; \t"']/,wg=Je(["(",")","{","}","<",">","$","|","&",";"," "," ",'"',"'"],!1,!1),rS=/^[<>&; \t"']/,iS=Je(["<",">","&",";"," "," ",'"',"'"],!1,!1),YE=/^[ \t]/,jE=Je([" "," "],!1,!1),b=0,Oe=0,QA=[{line:1,column:1}],d=0,E=[],I=0,k;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function L(){return r.substring(Oe,b)}function Z(){return Et(Oe,b)}function te(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Ri([lt(m)],r.substring(Oe,b),Q)}function we(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Mn(m,Q)}function me(m,Q){return{type:"literal",text:m,ignoreCase:Q}}function Je(m,Q,N){return{type:"class",parts:m,inverted:Q,ignoreCase:N}}function nt(){return{type:"any"}}function wt(){return{type:"end"}}function lt(m){return{type:"other",description:m}}function it(m){var Q=QA[m],N;if(Q)return Q;for(N=m-1;!QA[N];)N--;for(Q=QA[N],Q={line:Q.line,column:Q.column};Nd&&(d=b,E=[]),E.push(m))}function Mn(m,Q){return new Zl(m,null,null,Q)}function Ri(m,Q,N){return new Zl(Zl.buildMessage(m,Q),m,Q,N)}function SA(){var m,Q;return m=b,Q=Or(),Q===t&&(Q=null),Q!==t&&(Oe=m,Q=s(Q)),m=Q,m}function Or(){var m,Q,N,U,ce;if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U!==t?(ce=os(),ce===t&&(ce=null),ce!==t?(Oe=m,Q=o(Q,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;if(m===t)if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U===t&&(U=null),U!==t?(Oe=m,Q=a(Q,U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function os(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=Or(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=l(N),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Ea(){var m;return r.charCodeAt(b)===59?(m=c,b++):(m=t,I===0&&be(u)),m===t&&(r.charCodeAt(b)===38?(m=g,b++):(m=t,I===0&&be(f))),m}function Kr(){var m,Q,N;return m=b,Q=j1(),Q!==t?(N=fge(),N===t&&(N=null),N!==t?(Oe=m,Q=h(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function fge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=hge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Kr(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=p(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function hge(){var m;return r.substr(b,2)===C?(m=C,b+=2):(m=t,I===0&&be(y)),m===t&&(r.substr(b,2)===B?(m=B,b+=2):(m=t,I===0&&be(v))),m}function j1(){var m,Q,N;return m=b,Q=Cge(),Q!==t?(N=pge(),N===t&&(N=null),N!==t?(Oe=m,Q=D(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function pge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=dge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=j1(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=T(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function dge(){var m;return r.substr(b,2)===H?(m=H,b+=2):(m=t,I===0&&be(j)),m===t&&(r.charCodeAt(b)===124?(m=$,b++):(m=t,I===0&&be(V))),m}function qE(){var m,Q,N,U,ce,Se;if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t)if(U=W1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(Oe=m,Q=A(Q,U),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;else b=m,m=t;if(m===t)if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Ae(Q),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Cge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===40?(N=ge,b++):(N=t,I===0&&be(re)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===41?(ht=M,b++):(ht=t,I===0&&be(F)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=ue(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===123?(N=pe,b++):(N=t,I===0&&be(ke)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===125?(ht=Fe,b++):(ht=t,I===0&&be(Ne)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=oe(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){for(N=[],U=qE();U!==t;)N.push(U),U=qE();if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t){if(ce=[],Se=J1(),Se!==t)for(;Se!==t;)ce.push(Se),Se=J1();else ce=t;if(ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=le(N,ce),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t}else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=qE(),U!==t)for(;U!==t;)N.push(U),U=qE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Be(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}}}return m}function q1(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=JE(),U!==t)for(;U!==t;)N.push(U),U=JE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=fe(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t;return m}function J1(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t?(N=Np(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();Q!==t?(N=JE(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t)}return m}function Np(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(qe.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(ne)),N===t&&(N=null),N!==t?(U=mge(),U!==t?(ce=JE(),ce!==t?(Oe=m,Q=Y(N,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function mge(){var m;return r.substr(b,2)===he?(m=he,b+=2):(m=t,I===0&&be(ie)),m===t&&(r.substr(b,2)===de?(m=de,b+=2):(m=t,I===0&&be(_e)),m===t&&(r.charCodeAt(b)===62?(m=Pt,b++):(m=t,I===0&&be(It)),m===t&&(r.substr(b,3)===Mr?(m=Mr,b+=3):(m=t,I===0&&be(ii)),m===t&&(r.substr(b,2)===gi?(m=gi,b+=2):(m=t,I===0&&be(hr)),m===t&&(r.charCodeAt(b)===60?(m=fi,b++):(m=t,I===0&&be(ni))))))),m}function JE(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(N=W1(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m}function W1(){var m,Q,N;if(m=b,Q=[],N=z1(),N!==t)for(;N!==t;)Q.push(N),N=z1();else Q=t;return Q!==t&&(Oe=m,Q=Ks(Q)),m=Q,m}function z1(){var m,Q;return m=b,Q=Ege(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=Ige(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=yge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=wge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q))),m}function Ege(){var m,Q,N,U;return m=b,r.substr(b,2)===Ii?(Q=Ii,b+=2):(Q=t,I===0&&be(rs)),Q!==t?(N=Qge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function Ige(){var m,Q,N,U;return m=b,r.charCodeAt(b)===39?(Q=fa,b++):(Q=t,I===0&&be(dA)),Q!==t?(N=Bge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function yge(){var m,Q,N,U;if(m=b,r.substr(b,2)===is?(Q=is,b+=2):(Q=t,I===0&&be(CA)),Q!==t&&(Oe=m,Q=ha()),m=Q,m===t)if(m=b,r.charCodeAt(b)===34?(Q=wp,b++):(Q=t,I===0&&be(mA)),Q!==t){for(N=[],U=V1();U!==t;)N.push(U),U=V1();N!==t?(r.charCodeAt(b)===34?(U=wp,b++):(U=t,I===0&&be(mA)),U!==t?(Oe=m,Q=EA(N),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function wge(){var m,Q,N;if(m=b,Q=[],N=X1(),N!==t)for(;N!==t;)Q.push(N),N=X1();else Q=t;return Q!==t&&(Oe=m,Q=EA(Q)),m=Q,m}function V1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=wr(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Tl(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=ug(Q)),m=Q,m===t&&(m=b,Q=bge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q))),m}function X1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=gg(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Bp(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=bp(Q)),m=Q,m===t&&(m=b,Q=xge(),Q!==t&&(Oe=m,Q=vr(Q)),m=Q,m===t&&(m=b,Q=vge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q)))),m}function Bge(){var m,Q,N;for(m=b,Q=[],se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));N!==t;)Q.push(N),se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function bge(){var m,Q,N;if(m=b,Q=[],N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt))),N!==t)for(;N!==t;)Q.push(N),N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt)));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function Z1(){var m,Q,N;return m=b,r.substr(b,2)===Ll?(Q=Ll,b+=2):(Q=t,I===0&&be(Nn)),Q!==t&&(Oe=m,Q=ns()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Bo.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(At)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t)),m}function Qge(){var m,Q,N;for(m=b,Q=[],N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));N!==t;)Q.push(N),N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function _1(){var m,Q,N;return m=b,r.substr(b,2)===S?(Q=S,b+=2):(Q=t,I===0&&be(Lt)),Q!==t&&(Oe=m,Q=hg()),m=Q,m===t&&(m=b,r.substr(b,2)===Ml?(Q=Ml,b+=2):(Q=t,I===0&&be(Qp)),Q!==t&&(Oe=m,Q=Sp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(vp.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(xp)),N!==t?(Oe=m,Q=Pp(),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===G?(Q=G,b+=2):(Q=t,I===0&&be(yt)),Q!==t&&(Oe=m,Q=IA()),m=Q,m===t&&(m=b,r.substr(b,2)===zi?(Q=zi,b+=2):(Q=t,I===0&&be(Ol)),Q!==t&&(Oe=m,Q=Xe()),m=Q,m===t&&(m=b,r.substr(b,2)===pa?(Q=pa,b+=2):(Q=t,I===0&&be(pg)),Q!==t&&(Oe=m,Q=ME()),m=Q,m===t&&(m=b,r.substr(b,2)===Dp?(Q=Dp,b+=2):(Q=t,I===0&&be(OE)),Q!==t&&(Oe=m,Q=ar()),m=Q,m===t&&(m=b,r.substr(b,2)===Tn?(Q=Tn,b+=2):(Q=t,I===0&&be(Kl)),Q!==t&&(Oe=m,Q=kp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Us.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(da)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=Sge()))))))))),m}function Sge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as,AS;return m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(N=nS(),N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Le?(Q=Le,b+=2):(Q=t,I===0&&be(dg)),Q!==t?(N=b,U=b,ce=nS(),ce!==t?(Se=On(),Se!==t?(ce=[ce,Se],U=ce):(b=U,U=t)):(b=U,U=t),U===t&&(U=nS()),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ul?(Q=Ul,b+=2):(Q=t,I===0&&be(Hs)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(ce=[ce,Se,ht,Bt],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Hl?(Q=Hl,b+=2):(Q=t,I===0&&be(yA)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(qr=On(),qr!==t?(hi=On(),hi!==t?(as=On(),as!==t?(AS=On(),AS!==t?(ce=[ce,Se,ht,Bt,qr,hi,as,AS],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=Cg(N),m=Q):(b=m,m=t)):(b=m,m=t)))),m}function nS(){var m;return mg.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(Ca)),m}function On(){var m;return ma.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(rt)),m}function vge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t)),N!==t)for(;N!==t;)Q.push(N),N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function sS(){var m,Q,N,U,ce,Se;if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;if(N!==t)if(r.charCodeAt(b)===46?(U=KE,b++):(U=t,I===0&&be(Rp)),U!==t){if(ce=[],qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne)),Se!==t)for(;Se!==t;)ce.push(Se),qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne));else ce=t;ce!==t?(Oe=m,Q=Eg(Q,N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;if(m===t){if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;N!==t?(Oe=m,Q=Fp(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;if(m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=UE(Q)),m=Q,m===t&&(m=b,Q=ql(),Q!==t&&(Oe=m,Q=jl(Q)),m=Q,m===t)))if(m=b,r.charCodeAt(b)===40?(Q=ge,b++):(Q=t,I===0&&be(re)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.charCodeAt(b)===41?(Se=M,b++):(Se=t,I===0&&be(F)),Se!==t?(Oe=m,Q=HE(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t}return m}function oS(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=sS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function $1(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=oS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function eK(){var m,Q,N,U,ce,Se;if(m=b,r.substr(b,3)===bA?(Q=bA,b+=3):(Q=t,I===0&&be(R)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.substr(b,2)===q?(Se=q,b+=2):(Se=t,I===0&&be(Ce)),Se!==t?(Oe=m,Q=Ke(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;return m}function tK(){var m,Q,N,U;return m=b,r.substr(b,2)===Re?(Q=Re,b+=2):(Q=t,I===0&&be(ze)),Q!==t?(N=Or(),N!==t?(r.charCodeAt(b)===41?(U=M,b++):(U=t,I===0&&be(F)),U!==t?(Oe=m,Q=dt(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function aS(){var m,Q,N,U,ce,Se;return m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===JQ?(U=JQ,b+=2):(U=t,I===0&&be(k1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=R1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===WQ?(U=WQ,b+=3):(U=t,I===0&&be(F1)),U!==t?(Oe=m,Q=N1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===zQ?(U=zQ,b+=2):(U=t,I===0&&be(T1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=L1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===VQ?(U=VQ,b+=3):(U=t,I===0&&be(M1)),U!==t?(Oe=m,Q=O1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.charCodeAt(b)===125?(U=Fe,b++):(U=t,I===0&&be(Ne)),U!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.charCodeAt(b)===36?(Q=K1,b++):(Q=t,I===0&&be(U1)),Q!==t?(N=ql(),N!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)))))),m}function xge(){var m,Q,N;return m=b,Q=Pge(),Q!==t?(Oe=b,N=H1(Q),N?N=void 0:N=t,N!==t?(Oe=m,Q=G1(Q),m=Q):(b=m,m=t)):(b=m,m=t),m}function Pge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N!==t)for(;N!==t;)Q.push(N),N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t);else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function rK(){var m,Q,N;if(m=b,Q=[],ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q)),N!==t)for(;N!==t;)Q.push(N),ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function ql(){var m,Q,N;if(m=b,Q=[],eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS)),N!==t)for(;N!==t;)Q.push(N),eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function iK(){var m;return Y1.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(wg)),m}function nK(){var m;return rS.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(iS)),m}function He(){var m,Q;if(m=[],YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE)),Q!==t)for(;Q!==t;)m.push(Q),YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE));else m=t;return m}if(k=n(),k!==t&&b===r.length)return k;throw k!==t&&b{"use strict";function Dfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function $l(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,$l)}Dfe($l,Error);$l.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;gH&&(H=v,j=[]),j.push(ne))}function Ne(ne,Y){return new $l(ne,null,null,Y)}function oe(ne,Y,he){return new $l($l.buildMessage(ne,Y),ne,Y,he)}function le(){var ne,Y,he,ie;return ne=v,Y=Be(),Y!==t?(r.charCodeAt(v)===47?(he=s,v++):(he=t,$===0&&Fe(o)),he!==t?(ie=Be(),ie!==t?(D=ne,Y=a(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=Be(),Y!==t&&(D=ne,Y=l(Y)),ne=Y),ne}function Be(){var ne,Y,he,ie;return ne=v,Y=fe(),Y!==t?(r.charCodeAt(v)===64?(he=c,v++):(he=t,$===0&&Fe(u)),he!==t?(ie=qe(),ie!==t?(D=ne,Y=g(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=fe(),Y!==t&&(D=ne,Y=f(Y)),ne=Y),ne}function fe(){var ne,Y,he,ie,de;return ne=v,r.charCodeAt(v)===64?(Y=c,v++):(Y=t,$===0&&Fe(u)),Y!==t?(he=ae(),he!==t?(r.charCodeAt(v)===47?(ie=s,v++):(ie=t,$===0&&Fe(o)),ie!==t?(de=ae(),de!==t?(D=ne,Y=h(),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=ae(),Y!==t&&(D=ne,Y=h()),ne=Y),ne}function ae(){var ne,Y,he;if(ne=v,Y=[],p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C)),he!==t)for(;he!==t;)Y.push(he),p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}function qe(){var ne,Y,he;if(ne=v,Y=[],y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B)),he!==t)for(;he!==t;)Y.push(he),y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}if(V=n(),V!==t&&v===r.length)return V;throw V!==t&&v{"use strict";function mU(r){return typeof r>"u"||r===null}function Rfe(r){return typeof r=="object"&&r!==null}function Ffe(r){return Array.isArray(r)?r:mU(r)?[]:[r]}function Nfe(r,e){var t,i,n,s;if(e)for(s=Object.keys(e),t=0,i=s.length;t{"use strict";function Vp(r,e){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Vp.prototype=Object.create(Error.prototype);Vp.prototype.constructor=Vp;Vp.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t};EU.exports=Vp});var wU=w((SZe,yU)=>{"use strict";var IU=tc();function HS(r,e,t,i,n){this.name=r,this.buffer=e,this.position=t,this.line=i,this.column=n}HS.prototype.getSnippet=function(e,t){var i,n,s,o,a;if(!this.buffer)return null;for(e=e||4,t=t||75,i="",n=this.position;n>0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(n-1))===-1;)if(n-=1,this.position-n>t/2-1){i=" ... ",n+=5;break}for(s="",o=this.position;ot/2-1){s=" ... ",o-=5;break}return a=this.buffer.slice(n,o),IU.repeat(" ",e)+i+a+s+` -`+IU.repeat(" ",e+this.position-n+i.length)+"^"};HS.prototype.toString=function(e){var t,i="";return this.name&&(i+='in "'+this.name+'" '),i+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet(),t&&(i+=`: -`+t)),i};yU.exports=HS});var si=w((vZe,bU)=>{"use strict";var BU=Ng(),Mfe=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],Ofe=["scalar","sequence","mapping"];function Kfe(r){var e={};return r!==null&&Object.keys(r).forEach(function(t){r[t].forEach(function(i){e[String(i)]=t})}),e}function Ufe(r,e){if(e=e||{},Object.keys(e).forEach(function(t){if(Mfe.indexOf(t)===-1)throw new BU('Unknown option "'+t+'" is met in definition of "'+r+'" YAML type.')}),this.tag=r,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=Kfe(e.styleAliases||null),Ofe.indexOf(this.kind)===-1)throw new BU('Unknown kind "'+this.kind+'" is specified for "'+r+'" YAML type.')}bU.exports=Ufe});var rc=w((xZe,SU)=>{"use strict";var QU=tc(),dI=Ng(),Hfe=si();function GS(r,e,t){var i=[];return r.include.forEach(function(n){t=GS(n,e,t)}),r[e].forEach(function(n){t.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&i.push(o)}),t.push(n)}),t.filter(function(n,s){return i.indexOf(s)===-1})}function Gfe(){var r={scalar:{},sequence:{},mapping:{},fallback:{}},e,t;function i(n){r[n.kind][n.tag]=r.fallback[n.tag]=n}for(e=0,t=arguments.length;e{"use strict";var Yfe=si();vU.exports=new Yfe("tag:yaml.org,2002:str",{kind:"scalar",construct:function(r){return r!==null?r:""}})});var DU=w((DZe,PU)=>{"use strict";var jfe=si();PU.exports=new jfe("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(r){return r!==null?r:[]}})});var RU=w((kZe,kU)=>{"use strict";var qfe=si();kU.exports=new qfe("tag:yaml.org,2002:map",{kind:"mapping",construct:function(r){return r!==null?r:{}}})});var CI=w((RZe,FU)=>{"use strict";var Jfe=rc();FU.exports=new Jfe({explicit:[xU(),DU(),RU()]})});var TU=w((FZe,NU)=>{"use strict";var Wfe=si();function zfe(r){if(r===null)return!0;var e=r.length;return e===1&&r==="~"||e===4&&(r==="null"||r==="Null"||r==="NULL")}function Vfe(){return null}function Xfe(r){return r===null}NU.exports=new Wfe("tag:yaml.org,2002:null",{kind:"scalar",resolve:zfe,construct:Vfe,predicate:Xfe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})});var MU=w((NZe,LU)=>{"use strict";var Zfe=si();function _fe(r){if(r===null)return!1;var e=r.length;return e===4&&(r==="true"||r==="True"||r==="TRUE")||e===5&&(r==="false"||r==="False"||r==="FALSE")}function $fe(r){return r==="true"||r==="True"||r==="TRUE"}function ehe(r){return Object.prototype.toString.call(r)==="[object Boolean]"}LU.exports=new Zfe("tag:yaml.org,2002:bool",{kind:"scalar",resolve:_fe,construct:$fe,predicate:ehe,represent:{lowercase:function(r){return r?"true":"false"},uppercase:function(r){return r?"TRUE":"FALSE"},camelcase:function(r){return r?"True":"False"}},defaultStyle:"lowercase"})});var KU=w((TZe,OU)=>{"use strict";var the=tc(),rhe=si();function ihe(r){return 48<=r&&r<=57||65<=r&&r<=70||97<=r&&r<=102}function nhe(r){return 48<=r&&r<=55}function she(r){return 48<=r&&r<=57}function ohe(r){if(r===null)return!1;var e=r.length,t=0,i=!1,n;if(!e)return!1;if(n=r[t],(n==="-"||n==="+")&&(n=r[++t]),n==="0"){if(t+1===e)return!0;if(n=r[++t],n==="b"){for(t++;t=0?"0b"+r.toString(2):"-0b"+r.toString(2).slice(1)},octal:function(r){return r>=0?"0"+r.toString(8):"-0"+r.toString(8).slice(1)},decimal:function(r){return r.toString(10)},hexadecimal:function(r){return r>=0?"0x"+r.toString(16).toUpperCase():"-0x"+r.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var GU=w((LZe,HU)=>{"use strict";var UU=tc(),lhe=si(),che=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function uhe(r){return!(r===null||!che.test(r)||r[r.length-1]==="_")}function ghe(r){var e,t,i,n;return e=r.replace(/_/g,"").toLowerCase(),t=e[0]==="-"?-1:1,n=[],"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:e.indexOf(":")>=0?(e.split(":").forEach(function(s){n.unshift(parseFloat(s,10))}),e=0,i=1,n.forEach(function(s){e+=s*i,i*=60}),t*e):t*parseFloat(e,10)}var fhe=/^[-+]?[0-9]+e/;function hhe(r,e){var t;if(isNaN(r))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===r)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===r)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(UU.isNegativeZero(r))return"-0.0";return t=r.toString(10),fhe.test(t)?t.replace("e",".e"):t}function phe(r){return Object.prototype.toString.call(r)==="[object Number]"&&(r%1!==0||UU.isNegativeZero(r))}HU.exports=new lhe("tag:yaml.org,2002:float",{kind:"scalar",resolve:uhe,construct:ghe,predicate:phe,represent:hhe,defaultStyle:"lowercase"})});var YS=w((MZe,YU)=>{"use strict";var dhe=rc();YU.exports=new dhe({include:[CI()],implicit:[TU(),MU(),KU(),GU()]})});var jS=w((OZe,jU)=>{"use strict";var Che=rc();jU.exports=new Che({include:[YS()]})});var zU=w((KZe,WU)=>{"use strict";var mhe=si(),qU=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),JU=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 Ehe(r){return r===null?!1:qU.exec(r)!==null||JU.exec(r)!==null}function Ihe(r){var e,t,i,n,s,o,a,l=0,c=null,u,g,f;if(e=qU.exec(r),e===null&&(e=JU.exec(r)),e===null)throw new Error("Date resolve error");if(t=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(t,i,n));if(s=+e[4],o=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],g=+(e[11]||0),c=(u*60+g)*6e4,e[9]==="-"&&(c=-c)),f=new Date(Date.UTC(t,i,n,s,o,a,l)),c&&f.setTime(f.getTime()-c),f}function yhe(r){return r.toISOString()}WU.exports=new mhe("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Ehe,construct:Ihe,instanceOf:Date,represent:yhe})});var XU=w((UZe,VU)=>{"use strict";var whe=si();function Bhe(r){return r==="<<"||r===null}VU.exports=new whe("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Bhe})});var $U=w((HZe,_U)=>{"use strict";var ic;try{ZU=J,ic=ZU("buffer").Buffer}catch{}var ZU,bhe=si(),qS=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Qhe(r){if(r===null)return!1;var e,t,i=0,n=r.length,s=qS;for(t=0;t64)){if(e<0)return!1;i+=6}return i%8===0}function She(r){var e,t,i=r.replace(/[\r\n=]/g,""),n=i.length,s=qS,o=0,a=[];for(e=0;e>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(i.charAt(e));return t=n%4*6,t===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):t===18?(a.push(o>>10&255),a.push(o>>2&255)):t===12&&a.push(o>>4&255),ic?ic.from?ic.from(a):new ic(a):a}function vhe(r){var e="",t=0,i,n,s=r.length,o=qS;for(i=0;i>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]),t=(t<<8)+r[i];return n=s%3,n===0?(e+=o[t>>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]):n===2?(e+=o[t>>10&63],e+=o[t>>4&63],e+=o[t<<2&63],e+=o[64]):n===1&&(e+=o[t>>2&63],e+=o[t<<4&63],e+=o[64],e+=o[64]),e}function xhe(r){return ic&&ic.isBuffer(r)}_U.exports=new bhe("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Qhe,construct:She,predicate:xhe,represent:vhe})});var t2=w((YZe,e2)=>{"use strict";var Phe=si(),Dhe=Object.prototype.hasOwnProperty,khe=Object.prototype.toString;function Rhe(r){if(r===null)return!0;var e=[],t,i,n,s,o,a=r;for(t=0,i=a.length;t{"use strict";var Nhe=si(),The=Object.prototype.toString;function Lhe(r){if(r===null)return!0;var e,t,i,n,s,o=r;for(s=new Array(o.length),e=0,t=o.length;e{"use strict";var Ohe=si(),Khe=Object.prototype.hasOwnProperty;function Uhe(r){if(r===null)return!0;var e,t=r;for(e in t)if(Khe.call(t,e)&&t[e]!==null)return!1;return!0}function Hhe(r){return r!==null?r:{}}n2.exports=new Ohe("tag:yaml.org,2002:set",{kind:"mapping",resolve:Uhe,construct:Hhe})});var Lg=w((JZe,o2)=>{"use strict";var Ghe=rc();o2.exports=new Ghe({include:[jS()],implicit:[zU(),XU()],explicit:[$U(),t2(),i2(),s2()]})});var A2=w((WZe,a2)=>{"use strict";var Yhe=si();function jhe(){return!0}function qhe(){}function Jhe(){return""}function Whe(r){return typeof r>"u"}a2.exports=new Yhe("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:jhe,construct:qhe,predicate:Whe,represent:Jhe})});var c2=w((zZe,l2)=>{"use strict";var zhe=si();function Vhe(r){if(r===null||r.length===0)return!1;var e=r,t=/\/([gim]*)$/.exec(r),i="";return!(e[0]==="/"&&(t&&(i=t[1]),i.length>3||e[e.length-i.length-1]!=="/"))}function Xhe(r){var e=r,t=/\/([gim]*)$/.exec(r),i="";return e[0]==="/"&&(t&&(i=t[1]),e=e.slice(1,e.length-i.length-1)),new RegExp(e,i)}function Zhe(r){var e="/"+r.source+"/";return r.global&&(e+="g"),r.multiline&&(e+="m"),r.ignoreCase&&(e+="i"),e}function _he(r){return Object.prototype.toString.call(r)==="[object RegExp]"}l2.exports=new zhe("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:Vhe,construct:Xhe,predicate:_he,represent:Zhe})});var f2=w((VZe,g2)=>{"use strict";var mI;try{u2=J,mI=u2("esprima")}catch{typeof window<"u"&&(mI=window.esprima)}var u2,$he=si();function epe(r){if(r===null)return!1;try{var e="("+r+")",t=mI.parse(e,{range:!0});return!(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function tpe(r){var e="("+r+")",t=mI.parse(e,{range:!0}),i=[],n;if(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return t.body[0].expression.params.forEach(function(s){i.push(s.name)}),n=t.body[0].expression.body.range,t.body[0].expression.body.type==="BlockStatement"?new Function(i,e.slice(n[0]+1,n[1]-1)):new Function(i,"return "+e.slice(n[0],n[1]))}function rpe(r){return r.toString()}function ipe(r){return Object.prototype.toString.call(r)==="[object Function]"}g2.exports=new $he("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:epe,construct:tpe,predicate:ipe,represent:rpe})});var Xp=w((ZZe,p2)=>{"use strict";var h2=rc();p2.exports=h2.DEFAULT=new h2({include:[Lg()],explicit:[A2(),c2(),f2()]})});var N2=w((_Ze,Zp)=>{"use strict";var Ba=tc(),w2=Ng(),npe=wU(),B2=Lg(),spe=Xp(),kA=Object.prototype.hasOwnProperty,EI=1,b2=2,Q2=3,II=4,JS=1,ope=2,d2=3,ape=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ape=/[\x85\u2028\u2029]/,lpe=/[,\[\]\{\}]/,S2=/^(?:!|!!|![a-z\-]+!)$/i,v2=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function C2(r){return Object.prototype.toString.call(r)}function xo(r){return r===10||r===13}function sc(r){return r===9||r===32}function fn(r){return r===9||r===32||r===10||r===13}function Mg(r){return r===44||r===91||r===93||r===123||r===125}function cpe(r){var e;return 48<=r&&r<=57?r-48:(e=r|32,97<=e&&e<=102?e-97+10:-1)}function upe(r){return r===120?2:r===117?4:r===85?8:0}function gpe(r){return 48<=r&&r<=57?r-48:-1}function m2(r){return r===48?"\0":r===97?"\x07":r===98?"\b":r===116||r===9?" ":r===110?` -`:r===118?"\v":r===102?"\f":r===114?"\r":r===101?"\x1B":r===32?" ":r===34?'"':r===47?"/":r===92?"\\":r===78?"\x85":r===95?"\xA0":r===76?"\u2028":r===80?"\u2029":""}function fpe(r){return r<=65535?String.fromCharCode(r):String.fromCharCode((r-65536>>10)+55296,(r-65536&1023)+56320)}var x2=new Array(256),P2=new Array(256);for(nc=0;nc<256;nc++)x2[nc]=m2(nc)?1:0,P2[nc]=m2(nc);var nc;function hpe(r,e){this.input=r,this.filename=e.filename||null,this.schema=e.schema||spe,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=r.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function D2(r,e){return new w2(e,new npe(r.filename,r.input,r.position,r.line,r.position-r.lineStart))}function ft(r,e){throw D2(r,e)}function yI(r,e){r.onWarning&&r.onWarning.call(null,D2(r,e))}var E2={YAML:function(e,t,i){var n,s,o;e.version!==null&&ft(e,"duplication of %YAML directive"),i.length!==1&&ft(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),n===null&&ft(e,"ill-formed argument of the YAML directive"),s=parseInt(n[1],10),o=parseInt(n[2],10),s!==1&&ft(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=o<2,o!==1&&o!==2&&yI(e,"unsupported YAML version of the document")},TAG:function(e,t,i){var n,s;i.length!==2&&ft(e,"TAG directive accepts exactly two arguments"),n=i[0],s=i[1],S2.test(n)||ft(e,"ill-formed tag handle (first argument) of the TAG directive"),kA.call(e.tagMap,n)&&ft(e,'there is a previously declared suffix for "'+n+'" tag handle'),v2.test(s)||ft(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=s}};function DA(r,e,t,i){var n,s,o,a;if(e1&&(r.result+=Ba.repeat(` -`,e-1))}function ppe(r,e,t){var i,n,s,o,a,l,c,u,g=r.kind,f=r.result,h;if(h=r.input.charCodeAt(r.position),fn(h)||Mg(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n)))return!1;for(r.kind="scalar",r.result="",s=o=r.position,a=!1;h!==0;){if(h===58){if(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n))break}else if(h===35){if(i=r.input.charCodeAt(r.position-1),fn(i))break}else{if(r.position===r.lineStart&&wI(r)||t&&Mg(h))break;if(xo(h))if(l=r.line,c=r.lineStart,u=r.lineIndent,zr(r,!1,-1),r.lineIndent>=e){a=!0,h=r.input.charCodeAt(r.position);continue}else{r.position=o,r.line=l,r.lineStart=c,r.lineIndent=u;break}}a&&(DA(r,s,o,!1),zS(r,r.line-l),s=o=r.position,a=!1),sc(h)||(o=r.position+1),h=r.input.charCodeAt(++r.position)}return DA(r,s,o,!1),r.result?!0:(r.kind=g,r.result=f,!1)}function dpe(r,e){var t,i,n;if(t=r.input.charCodeAt(r.position),t!==39)return!1;for(r.kind="scalar",r.result="",r.position++,i=n=r.position;(t=r.input.charCodeAt(r.position))!==0;)if(t===39)if(DA(r,i,r.position,!0),t=r.input.charCodeAt(++r.position),t===39)i=r.position,r.position++,n=r.position;else return!0;else xo(t)?(DA(r,i,n,!0),zS(r,zr(r,!1,e)),i=n=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a single quoted scalar"):(r.position++,n=r.position);ft(r,"unexpected end of the stream within a single quoted scalar")}function Cpe(r,e){var t,i,n,s,o,a;if(a=r.input.charCodeAt(r.position),a!==34)return!1;for(r.kind="scalar",r.result="",r.position++,t=i=r.position;(a=r.input.charCodeAt(r.position))!==0;){if(a===34)return DA(r,t,r.position,!0),r.position++,!0;if(a===92){if(DA(r,t,r.position,!0),a=r.input.charCodeAt(++r.position),xo(a))zr(r,!1,e);else if(a<256&&x2[a])r.result+=P2[a],r.position++;else if((o=upe(a))>0){for(n=o,s=0;n>0;n--)a=r.input.charCodeAt(++r.position),(o=cpe(a))>=0?s=(s<<4)+o:ft(r,"expected hexadecimal character");r.result+=fpe(s),r.position++}else ft(r,"unknown escape sequence");t=i=r.position}else xo(a)?(DA(r,t,i,!0),zS(r,zr(r,!1,e)),t=i=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a double quoted scalar"):(r.position++,i=r.position)}ft(r,"unexpected end of the stream within a double quoted scalar")}function mpe(r,e){var t=!0,i,n=r.tag,s,o=r.anchor,a,l,c,u,g,f={},h,p,C,y;if(y=r.input.charCodeAt(r.position),y===91)l=93,g=!1,s=[];else if(y===123)l=125,g=!0,s={};else return!1;for(r.anchor!==null&&(r.anchorMap[r.anchor]=s),y=r.input.charCodeAt(++r.position);y!==0;){if(zr(r,!0,e),y=r.input.charCodeAt(r.position),y===l)return r.position++,r.tag=n,r.anchor=o,r.kind=g?"mapping":"sequence",r.result=s,!0;t||ft(r,"missed comma between flow collection entries"),p=h=C=null,c=u=!1,y===63&&(a=r.input.charCodeAt(r.position+1),fn(a)&&(c=u=!0,r.position++,zr(r,!0,e))),i=r.line,Kg(r,e,EI,!1,!0),p=r.tag,h=r.result,zr(r,!0,e),y=r.input.charCodeAt(r.position),(u||r.line===i)&&y===58&&(c=!0,y=r.input.charCodeAt(++r.position),zr(r,!0,e),Kg(r,e,EI,!1,!0),C=r.result),g?Og(r,s,f,p,h,C):c?s.push(Og(r,null,f,p,h,C)):s.push(h),zr(r,!0,e),y=r.input.charCodeAt(r.position),y===44?(t=!0,y=r.input.charCodeAt(++r.position)):t=!1}ft(r,"unexpected end of the stream within a flow collection")}function Epe(r,e){var t,i,n=JS,s=!1,o=!1,a=e,l=0,c=!1,u,g;if(g=r.input.charCodeAt(r.position),g===124)i=!1;else if(g===62)i=!0;else return!1;for(r.kind="scalar",r.result="";g!==0;)if(g=r.input.charCodeAt(++r.position),g===43||g===45)JS===n?n=g===43?d2:ope:ft(r,"repeat of a chomping mode identifier");else if((u=gpe(g))>=0)u===0?ft(r,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?ft(r,"repeat of an indentation width identifier"):(a=e+u-1,o=!0);else break;if(sc(g)){do g=r.input.charCodeAt(++r.position);while(sc(g));if(g===35)do g=r.input.charCodeAt(++r.position);while(!xo(g)&&g!==0)}for(;g!==0;){for(WS(r),r.lineIndent=0,g=r.input.charCodeAt(r.position);(!o||r.lineIndenta&&(a=r.lineIndent),xo(g)){l++;continue}if(r.lineIndente)&&l!==0)ft(r,"bad indentation of a sequence entry");else if(r.lineIndente)&&(Kg(r,e,II,!0,n)&&(p?f=r.result:h=r.result),p||(Og(r,c,u,g,f,h,s,o),g=f=h=null),zr(r,!0,-1),y=r.input.charCodeAt(r.position)),r.lineIndent>e&&y!==0)ft(r,"bad indentation of a mapping entry");else if(r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndent tag; it should be "scalar", not "'+r.kind+'"'),g=0,f=r.implicitTypes.length;g tag; it should be "'+h.kind+'", not "'+r.kind+'"'),h.resolve(r.result)?(r.result=h.construct(r.result),r.anchor!==null&&(r.anchorMap[r.anchor]=r.result)):ft(r,"cannot resolve a node with !<"+r.tag+"> explicit tag")):ft(r,"unknown tag !<"+r.tag+">");return r.listener!==null&&r.listener("close",r),r.tag!==null||r.anchor!==null||u}function bpe(r){var e=r.position,t,i,n,s=!1,o;for(r.version=null,r.checkLineBreaks=r.legacy,r.tagMap={},r.anchorMap={};(o=r.input.charCodeAt(r.position))!==0&&(zr(r,!0,-1),o=r.input.charCodeAt(r.position),!(r.lineIndent>0||o!==37));){for(s=!0,o=r.input.charCodeAt(++r.position),t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);for(i=r.input.slice(t,r.position),n=[],i.length<1&&ft(r,"directive name must not be less than one character in length");o!==0;){for(;sc(o);)o=r.input.charCodeAt(++r.position);if(o===35){do o=r.input.charCodeAt(++r.position);while(o!==0&&!xo(o));break}if(xo(o))break;for(t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);n.push(r.input.slice(t,r.position))}o!==0&&WS(r),kA.call(E2,i)?E2[i](r,i,n):yI(r,'unknown document directive "'+i+'"')}if(zr(r,!0,-1),r.lineIndent===0&&r.input.charCodeAt(r.position)===45&&r.input.charCodeAt(r.position+1)===45&&r.input.charCodeAt(r.position+2)===45?(r.position+=3,zr(r,!0,-1)):s&&ft(r,"directives end mark is expected"),Kg(r,r.lineIndent-1,II,!1,!0),zr(r,!0,-1),r.checkLineBreaks&&Ape.test(r.input.slice(e,r.position))&&yI(r,"non-ASCII line breaks are interpreted as content"),r.documents.push(r.result),r.position===r.lineStart&&wI(r)){r.input.charCodeAt(r.position)===46&&(r.position+=3,zr(r,!0,-1));return}if(r.position"u"&&(t=e,e=null);var i=k2(r,t);if(typeof e!="function")return i;for(var n=0,s=i.length;n"u"&&(t=e,e=null),R2(r,e,Ba.extend({schema:B2},t))}function Spe(r,e){return F2(r,Ba.extend({schema:B2},e))}Zp.exports.loadAll=R2;Zp.exports.load=F2;Zp.exports.safeLoadAll=Qpe;Zp.exports.safeLoad=Spe});var iH=w(($Ze,_S)=>{"use strict";var $p=tc(),ed=Ng(),vpe=Xp(),xpe=Lg(),G2=Object.prototype.toString,Y2=Object.prototype.hasOwnProperty,Ppe=9,_p=10,Dpe=13,kpe=32,Rpe=33,Fpe=34,j2=35,Npe=37,Tpe=38,Lpe=39,Mpe=42,q2=44,Ope=45,J2=58,Kpe=61,Upe=62,Hpe=63,Gpe=64,W2=91,z2=93,Ype=96,V2=123,jpe=124,X2=125,Ni={};Ni[0]="\\0";Ni[7]="\\a";Ni[8]="\\b";Ni[9]="\\t";Ni[10]="\\n";Ni[11]="\\v";Ni[12]="\\f";Ni[13]="\\r";Ni[27]="\\e";Ni[34]='\\"';Ni[92]="\\\\";Ni[133]="\\N";Ni[160]="\\_";Ni[8232]="\\L";Ni[8233]="\\P";var qpe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function Jpe(r,e){var t,i,n,s,o,a,l;if(e===null)return{};for(t={},i=Object.keys(e),n=0,s=i.length;n0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}else{for(s=0;si&&r[g+1]!==" ",g=s);else if(!Ug(o))return BI;a=s>0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}c=c||u&&s-g-1>i&&r[g+1]!==" "}return!l&&!c?f&&!n(r)?_2:$2:t>9&&Z2(r)?BI:c?tH:eH}function _pe(r,e,t,i){r.dump=function(){if(e.length===0)return"''";if(!r.noCompatMode&&qpe.indexOf(e)!==-1)return"'"+e+"'";var n=r.indent*Math.max(1,t),s=r.lineWidth===-1?-1:Math.max(Math.min(r.lineWidth,40),r.lineWidth-n),o=i||r.flowLevel>-1&&t>=r.flowLevel;function a(l){return zpe(r,l)}switch(Zpe(e,o,r.indent,s,a)){case _2:return e;case $2:return"'"+e.replace(/'/g,"''")+"'";case eH:return"|"+O2(e,r.indent)+K2(L2(e,n));case tH:return">"+O2(e,r.indent)+K2(L2($pe(e,s),n));case BI:return'"'+ede(e,s)+'"';default:throw new ed("impossible error: invalid scalar style")}}()}function O2(r,e){var t=Z2(r)?String(e):"",i=r[r.length-1]===` -`,n=i&&(r[r.length-2]===` -`||r===` -`),s=n?"+":i?"":"-";return t+s+` -`}function K2(r){return r[r.length-1]===` -`?r.slice(0,-1):r}function $pe(r,e){for(var t=/(\n+)([^\n]*)/g,i=function(){var c=r.indexOf(` -`);return c=c!==-1?c:r.length,t.lastIndex=c,U2(r.slice(0,c),e)}(),n=r[0]===` -`||r[0]===" ",s,o;o=t.exec(r);){var a=o[1],l=o[2];s=l[0]===" ",i+=a+(!n&&!s&&l!==""?` -`:"")+U2(l,e),n=s}return i}function U2(r,e){if(r===""||r[0]===" ")return r;for(var t=/ [^ ]/g,i,n=0,s,o=0,a=0,l="";i=t.exec(r);)a=i.index,a-n>e&&(s=o>n?o:a,l+=` -`+r.slice(n,s),n=s+1),o=a;return l+=` -`,r.length-n>e&&o>n?l+=r.slice(n,o)+` -`+r.slice(o+1):l+=r.slice(n),l.slice(1)}function ede(r){for(var e="",t,i,n,s=0;s=55296&&t<=56319&&(i=r.charCodeAt(s+1),i>=56320&&i<=57343)){e+=T2((t-55296)*1024+i-56320+65536),s++;continue}n=Ni[t],e+=!n&&Ug(t)?r[s]:n||T2(t)}return e}function tde(r,e,t){var i="",n=r.tag,s,o;for(s=0,o=t.length;s1024&&(u+="? "),u+=r.dump+(r.condenseFlow?'"':"")+":"+(r.condenseFlow?"":" "),oc(r,e,c,!1,!1)&&(u+=r.dump,i+=u));r.tag=n,r.dump="{"+i+"}"}function nde(r,e,t,i){var n="",s=r.tag,o=Object.keys(t),a,l,c,u,g,f;if(r.sortKeys===!0)o.sort();else if(typeof r.sortKeys=="function")o.sort(r.sortKeys);else if(r.sortKeys)throw new ed("sortKeys must be a boolean or a function");for(a=0,l=o.length;a1024,g&&(r.dump&&_p===r.dump.charCodeAt(0)?f+="?":f+="? "),f+=r.dump,g&&(f+=VS(r,e)),oc(r,e+1,u,!0,g)&&(r.dump&&_p===r.dump.charCodeAt(0)?f+=":":f+=": ",f+=r.dump,n+=f));r.tag=s,r.dump=n||"{}"}function H2(r,e,t){var i,n,s,o,a,l;for(n=t?r.explicitTypes:r.implicitTypes,s=0,o=n.length;s tag resolver accepts not "'+l+'" style');r.dump=i}return!0}return!1}function oc(r,e,t,i,n,s){r.tag=null,r.dump=t,H2(r,t,!1)||H2(r,t,!0);var o=G2.call(r.dump);i&&(i=r.flowLevel<0||r.flowLevel>e);var a=o==="[object Object]"||o==="[object Array]",l,c;if(a&&(l=r.duplicates.indexOf(t),c=l!==-1),(r.tag!==null&&r.tag!=="?"||c||r.indent!==2&&e>0)&&(n=!1),c&&r.usedDuplicates[l])r.dump="*ref_"+l;else{if(a&&c&&!r.usedDuplicates[l]&&(r.usedDuplicates[l]=!0),o==="[object Object]")i&&Object.keys(r.dump).length!==0?(nde(r,e,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(ide(r,e,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump));else if(o==="[object Array]"){var u=r.noArrayIndent&&e>0?e-1:e;i&&r.dump.length!==0?(rde(r,u,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(tde(r,u,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump))}else if(o==="[object String]")r.tag!=="?"&&_pe(r,r.dump,e,s);else{if(r.skipInvalid)return!1;throw new ed("unacceptable kind of an object to dump "+o)}r.tag!==null&&r.tag!=="?"&&(r.dump="!<"+r.tag+"> "+r.dump)}return!0}function sde(r,e){var t=[],i=[],n,s;for(XS(r,t,i),n=0,s=i.length;n{"use strict";var bI=N2(),nH=iH();function QI(r){return function(){throw new Error("Function "+r+" is deprecated and cannot be used.")}}Fr.exports.Type=si();Fr.exports.Schema=rc();Fr.exports.FAILSAFE_SCHEMA=CI();Fr.exports.JSON_SCHEMA=YS();Fr.exports.CORE_SCHEMA=jS();Fr.exports.DEFAULT_SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_FULL_SCHEMA=Xp();Fr.exports.load=bI.load;Fr.exports.loadAll=bI.loadAll;Fr.exports.safeLoad=bI.safeLoad;Fr.exports.safeLoadAll=bI.safeLoadAll;Fr.exports.dump=nH.dump;Fr.exports.safeDump=nH.safeDump;Fr.exports.YAMLException=Ng();Fr.exports.MINIMAL_SCHEMA=CI();Fr.exports.SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_SCHEMA=Xp();Fr.exports.scan=QI("scan");Fr.exports.parse=QI("parse");Fr.exports.compose=QI("compose");Fr.exports.addConstructor=QI("addConstructor")});var aH=w((t_e,oH)=>{"use strict";var ade=sH();oH.exports=ade});var lH=w((r_e,AH)=>{"use strict";function Ade(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function ac(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,ac)}Ade(ac,Error);ac.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g({[Ke]:Ce})))},H=function(R){return R},j=function(R){return R},$=Us("correct indentation"),V=" ",W=ar(" ",!1),_=function(R){return R.length===bA*yg},A=function(R){return R.length===(bA+1)*yg},Ae=function(){return bA++,!0},ge=function(){return bA--,!0},re=function(){return pg()},M=Us("pseudostring"),F=/^[^\r\n\t ?:,\][{}#&*!|>'"%@`\-]/,ue=Tn(["\r",` -`," "," ","?",":",",","]","[","{","}","#","&","*","!","|",">","'",'"',"%","@","`","-"],!0,!1),pe=/^[^\r\n\t ,\][{}:#"']/,ke=Tn(["\r",` -`," "," ",",","]","[","{","}",":","#",'"',"'"],!0,!1),Fe=function(){return pg().replace(/^ *| *$/g,"")},Ne="--",oe=ar("--",!1),le=/^[a-zA-Z\/0-9]/,Be=Tn([["a","z"],["A","Z"],"/",["0","9"]],!1,!1),fe=/^[^\r\n\t :,]/,ae=Tn(["\r",` -`," "," ",":",","],!0,!1),qe="null",ne=ar("null",!1),Y=function(){return null},he="true",ie=ar("true",!1),de=function(){return!0},_e="false",Pt=ar("false",!1),It=function(){return!1},Mr=Us("string"),ii='"',gi=ar('"',!1),hr=function(){return""},fi=function(R){return R},ni=function(R){return R.join("")},Ks=/^[^"\\\0-\x1F\x7F]/,pr=Tn(['"',"\\",["\0",""],"\x7F"],!0,!1),Ii='\\"',rs=ar('\\"',!1),fa=function(){return'"'},dA="\\\\",cg=ar("\\\\",!1),is=function(){return"\\"},CA="\\/",ha=ar("\\/",!1),wp=function(){return"/"},mA="\\b",EA=ar("\\b",!1),wr=function(){return"\b"},Tl="\\f",ug=ar("\\f",!1),yo=function(){return"\f"},gg="\\n",Bp=ar("\\n",!1),bp=function(){return` -`},vr="\\r",se=ar("\\r",!1),wo=function(){return"\r"},Fn="\\t",fg=ar("\\t",!1),bt=function(){return" "},Ll="\\u",Nn=ar("\\u",!1),ns=function(R,q,Ce,Ke){return String.fromCharCode(parseInt(`0x${R}${q}${Ce}${Ke}`))},ss=/^[0-9a-fA-F]/,gt=Tn([["0","9"],["a","f"],["A","F"]],!1,!1),Bo=Us("blank space"),At=/^[ \t]/,ln=Tn([" "," "],!1,!1),S=Us("white space"),Lt=/^[ \t\n\r]/,hg=Tn([" "," ",` -`,"\r"],!1,!1),Ml=`\r -`,Qp=ar(`\r -`,!1),Sp=` -`,vp=ar(` -`,!1),xp="\r",Pp=ar("\r",!1),G=0,yt=0,IA=[{line:1,column:1}],zi=0,Ol=[],Xe=0,pa;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function pg(){return r.substring(yt,G)}function ME(){return cn(yt,G)}function Dp(R,q){throw q=q!==void 0?q:cn(yt,G),Ul([Us(R)],r.substring(yt,G),q)}function OE(R,q){throw q=q!==void 0?q:cn(yt,G),dg(R,q)}function ar(R,q){return{type:"literal",text:R,ignoreCase:q}}function Tn(R,q,Ce){return{type:"class",parts:R,inverted:q,ignoreCase:Ce}}function Kl(){return{type:"any"}}function kp(){return{type:"end"}}function Us(R){return{type:"other",description:R}}function da(R){var q=IA[R],Ce;if(q)return q;for(Ce=R-1;!IA[Ce];)Ce--;for(q=IA[Ce],q={line:q.line,column:q.column};Cezi&&(zi=G,Ol=[]),Ol.push(R))}function dg(R,q){return new ac(R,null,null,q)}function Ul(R,q,Ce){return new ac(ac.buildMessage(R,q),R,q,Ce)}function Hs(){var R;return R=Cg(),R}function Hl(){var R,q,Ce;for(R=G,q=[],Ce=yA();Ce!==t;)q.push(Ce),Ce=yA();return q!==t&&(yt=R,q=s(q)),R=q,R}function yA(){var R,q,Ce,Ke,Re;return R=G,q=ma(),q!==t?(r.charCodeAt(G)===45?(Ce=o,G++):(Ce=t,Xe===0&&Le(a)),Ce!==t?(Ke=Rr(),Ke!==t?(Re=Ca(),Re!==t?(yt=R,q=l(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R}function Cg(){var R,q,Ce;for(R=G,q=[],Ce=mg();Ce!==t;)q.push(Ce),Ce=mg();return q!==t&&(yt=R,q=c(q)),R=q,R}function mg(){var R,q,Ce,Ke,Re,ze,dt,Ft,Ln;if(R=G,q=Rr(),q===t&&(q=null),q!==t){if(Ce=G,r.charCodeAt(G)===35?(Ke=u,G++):(Ke=t,Xe===0&&Le(g)),Ke!==t){if(Re=[],ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t),ze!==t)for(;ze!==t;)Re.push(ze),ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t);else Re=t;Re!==t?(Ke=[Ke,Re],Ce=Ke):(G=Ce,Ce=t)}else G=Ce,Ce=t;if(Ce===t&&(Ce=null),Ce!==t){if(Ke=[],Re=Ys(),Re!==t)for(;Re!==t;)Ke.push(Re),Re=Ys();else Ke=t;Ke!==t?(yt=R,q=h(),R=q):(G=R,R=t)}else G=R,R=t}else G=R,R=t;if(R===t&&(R=G,q=ma(),q!==t?(Ce=Gl(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=ma(),q!==t?(Ce=Gs(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))){if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t)if(Ke=Rr(),Ke!==t)if(Re=KE(),Re!==t){if(ze=[],dt=Ys(),dt!==t)for(;dt!==t;)ze.push(dt),dt=Ys();else ze=t;ze!==t?(yt=R,q=y(Ce,Re),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;else G=R,R=t;else G=R,R=t;if(R===t)if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t){if(Ke=[],Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t),Re!==t)for(;Re!==t;)Ke.push(Re),Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t);else Ke=t;Ke!==t?(Re=Rr(),Re===t&&(Re=null),Re!==t?(r.charCodeAt(G)===58?(ze=p,G++):(ze=t,Xe===0&&Le(C)),ze!==t?(dt=Rr(),dt===t&&(dt=null),dt!==t?(Ft=Ca(),Ft!==t?(yt=R,q=T(Ce,Ke,Ft),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)}else G=R,R=t;else G=R,R=t}return R}function Ca(){var R,q,Ce,Ke,Re,ze,dt;if(R=G,q=G,Xe++,Ce=G,Ke=js(),Ke!==t?(Re=rt(),Re!==t?(r.charCodeAt(G)===45?(ze=o,G++):(ze=t,Xe===0&&Le(a)),ze!==t?(dt=Rr(),dt!==t?(Ke=[Ke,Re,ze,dt],Ce=Ke):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t),Xe--,Ce!==t?(G=q,q=void 0):q=t,q!==t?(Ce=Ys(),Ce!==t?(Ke=bo(),Ke!==t?(Re=Hl(),Re!==t?(ze=wA(),ze!==t?(yt=R,q=H(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=js(),q!==t?(Ce=bo(),Ce!==t?(Ke=Cg(),Ke!==t?(Re=wA(),Re!==t?(yt=R,q=H(Ke),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))if(R=G,q=Yl(),q!==t){if(Ce=[],Ke=Ys(),Ke!==t)for(;Ke!==t;)Ce.push(Ke),Ke=Ys();else Ce=t;Ce!==t?(yt=R,q=j(q),R=q):(G=R,R=t)}else G=R,R=t;return R}function ma(){var R,q,Ce;for(Xe++,R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=_(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),Xe--,R===t&&(q=t,Xe===0&&Le($)),R}function rt(){var R,q,Ce;for(R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=A(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),R}function bo(){var R;return yt=G,R=Ae(),R?R=void 0:R=t,R}function wA(){var R;return yt=G,R=ge(),R?R=void 0:R=t,R}function Gl(){var R;return R=jl(),R===t&&(R=Rp()),R}function Gs(){var R,q,Ce;if(R=jl(),R===t){if(R=G,q=[],Ce=Eg(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Eg();else q=t;q!==t&&(yt=R,q=re()),R=q}return R}function Yl(){var R;return R=Fp(),R===t&&(R=UE(),R===t&&(R=jl(),R===t&&(R=Rp()))),R}function KE(){var R;return R=Fp(),R===t&&(R=jl(),R===t&&(R=Eg())),R}function Rp(){var R,q,Ce,Ke,Re,ze;if(Xe++,R=G,F.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ue)),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(M)),R}function Eg(){var R,q,Ce,Ke,Re;if(R=G,r.substr(G,2)===Ne?(q=Ne,G+=2):(q=t,Xe===0&&Le(oe)),q===t&&(q=null),q!==t)if(le.test(r.charAt(G))?(Ce=r.charAt(G),G++):(Ce=t,Xe===0&&Le(Be)),Ce!==t){for(Ke=[],fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Re!==t;)Ke.push(Re),fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Ke!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;return R}function Fp(){var R,q;return R=G,r.substr(G,4)===qe?(q=qe,G+=4):(q=t,Xe===0&&Le(ne)),q!==t&&(yt=R,q=Y()),R=q,R}function UE(){var R,q;return R=G,r.substr(G,4)===he?(q=he,G+=4):(q=t,Xe===0&&Le(ie)),q!==t&&(yt=R,q=de()),R=q,R===t&&(R=G,r.substr(G,5)===_e?(q=_e,G+=5):(q=t,Xe===0&&Le(Pt)),q!==t&&(yt=R,q=It()),R=q),R}function jl(){var R,q,Ce,Ke;return Xe++,R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(r.charCodeAt(G)===34?(Ce=ii,G++):(Ce=t,Xe===0&&Le(gi)),Ce!==t?(yt=R,q=hr(),R=q):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(Ce=HE(),Ce!==t?(r.charCodeAt(G)===34?(Ke=ii,G++):(Ke=t,Xe===0&&Le(gi)),Ke!==t?(yt=R,q=fi(Ce),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)),Xe--,R===t&&(q=t,Xe===0&&Le(Mr)),R}function HE(){var R,q,Ce;if(R=G,q=[],Ce=Ig(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Ig();else q=t;return q!==t&&(yt=R,q=ni(q)),R=q,R}function Ig(){var R,q,Ce,Ke,Re,ze;return Ks.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(pr)),R===t&&(R=G,r.substr(G,2)===Ii?(q=Ii,G+=2):(q=t,Xe===0&&Le(rs)),q!==t&&(yt=R,q=fa()),R=q,R===t&&(R=G,r.substr(G,2)===dA?(q=dA,G+=2):(q=t,Xe===0&&Le(cg)),q!==t&&(yt=R,q=is()),R=q,R===t&&(R=G,r.substr(G,2)===CA?(q=CA,G+=2):(q=t,Xe===0&&Le(ha)),q!==t&&(yt=R,q=wp()),R=q,R===t&&(R=G,r.substr(G,2)===mA?(q=mA,G+=2):(q=t,Xe===0&&Le(EA)),q!==t&&(yt=R,q=wr()),R=q,R===t&&(R=G,r.substr(G,2)===Tl?(q=Tl,G+=2):(q=t,Xe===0&&Le(ug)),q!==t&&(yt=R,q=yo()),R=q,R===t&&(R=G,r.substr(G,2)===gg?(q=gg,G+=2):(q=t,Xe===0&&Le(Bp)),q!==t&&(yt=R,q=bp()),R=q,R===t&&(R=G,r.substr(G,2)===vr?(q=vr,G+=2):(q=t,Xe===0&&Le(se)),q!==t&&(yt=R,q=wo()),R=q,R===t&&(R=G,r.substr(G,2)===Fn?(q=Fn,G+=2):(q=t,Xe===0&&Le(fg)),q!==t&&(yt=R,q=bt()),R=q,R===t&&(R=G,r.substr(G,2)===Ll?(q=Ll,G+=2):(q=t,Xe===0&&Le(Nn)),q!==t?(Ce=BA(),Ce!==t?(Ke=BA(),Ke!==t?(Re=BA(),Re!==t?(ze=BA(),ze!==t?(yt=R,q=ns(Ce,Ke,Re,ze),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)))))))))),R}function BA(){var R;return ss.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(gt)),R}function Rr(){var R,q;if(Xe++,R=[],At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln)),q!==t)for(;q!==t;)R.push(q),At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(Bo)),R}function GE(){var R,q;if(Xe++,R=[],Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg)),q!==t)for(;q!==t;)R.push(q),Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(S)),R}function Ys(){var R,q,Ce,Ke,Re,ze;if(R=G,q=js(),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)}else G=R,R=t;return R}function js(){var R;return r.substr(G,2)===Ml?(R=Ml,G+=2):(R=t,Xe===0&&Le(Qp)),R===t&&(r.charCodeAt(G)===10?(R=Sp,G++):(R=t,Xe===0&&Le(vp)),R===t&&(r.charCodeAt(G)===13?(R=xp,G++):(R=t,Xe===0&&Le(Pp)))),R}let yg=2,bA=0;if(pa=n(),pa!==t&&G===r.length)return pa;throw pa!==t&&G{"use strict";var hde=r=>{let e=!1,t=!1,i=!1;for(let n=0;n{if(!(typeof r=="string"||Array.isArray(r)))throw new TypeError("Expected the input to be `string | string[]`");e=Object.assign({pascalCase:!1},e);let t=n=>e.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n;return Array.isArray(r)?r=r.map(n=>n.trim()).filter(n=>n.length).join("-"):r=r.trim(),r.length===0?"":r.length===1?e.pascalCase?r.toUpperCase():r.toLowerCase():(r!==r.toLowerCase()&&(r=hde(r)),r=r.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(n,s)=>s.toUpperCase()).replace(/\d+(\w|$)/g,n=>n.toUpperCase()),t(r))};ev.exports=hH;ev.exports.default=hH});var dH=w((A_e,pde)=>{pde.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vercel",constant:"VERCEL",env:"NOW_BUILDER"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"}]});var Ac=w(Un=>{"use strict";var mH=dH(),Po=process.env;Object.defineProperty(Un,"_vendors",{value:mH.map(function(r){return r.constant})});Un.name=null;Un.isPR=null;mH.forEach(function(r){let t=(Array.isArray(r.env)?r.env:[r.env]).every(function(i){return CH(i)});if(Un[r.constant]=t,t)switch(Un.name=r.name,typeof r.pr){case"string":Un.isPR=!!Po[r.pr];break;case"object":"env"in r.pr?Un.isPR=r.pr.env in Po&&Po[r.pr.env]!==r.pr.ne:"any"in r.pr?Un.isPR=r.pr.any.some(function(i){return!!Po[i]}):Un.isPR=CH(r.pr);break;default:Un.isPR=null}});Un.isCI=!!(Po.CI||Po.CONTINUOUS_INTEGRATION||Po.BUILD_NUMBER||Po.RUN_ID||Un.name);function CH(r){return typeof r=="string"?!!Po[r]:Object.keys(r).every(function(e){return Po[e]===r[e]})}});var hn={};ut(hn,{KeyRelationship:()=>lc,applyCascade:()=>od,base64RegExp:()=>BH,colorStringAlphaRegExp:()=>wH,colorStringRegExp:()=>yH,computeKey:()=>RA,getPrintable:()=>Vr,hasExactLength:()=>xH,hasForbiddenKeys:()=>Wde,hasKeyRelationship:()=>av,hasMaxLength:()=>Dde,hasMinLength:()=>Pde,hasMutuallyExclusiveKeys:()=>zde,hasRequiredKeys:()=>Jde,hasUniqueItems:()=>kde,isArray:()=>yde,isAtLeast:()=>Nde,isAtMost:()=>Tde,isBase64:()=>jde,isBoolean:()=>mde,isDate:()=>Ide,isDict:()=>Bde,isEnum:()=>Zi,isHexColor:()=>Yde,isISO8601:()=>Gde,isInExclusiveRange:()=>Mde,isInInclusiveRange:()=>Lde,isInstanceOf:()=>Qde,isInteger:()=>Ode,isJSON:()=>qde,isLiteral:()=>dde,isLowerCase:()=>Kde,isNegative:()=>Rde,isNullable:()=>xde,isNumber:()=>Ede,isObject:()=>bde,isOneOf:()=>Sde,isOptional:()=>vde,isPositive:()=>Fde,isString:()=>sd,isTuple:()=>wde,isUUID4:()=>Hde,isUnknown:()=>vH,isUpperCase:()=>Ude,iso8601RegExp:()=>ov,makeCoercionFn:()=>cc,makeSetter:()=>SH,makeTrait:()=>QH,makeValidator:()=>Qt,matchesRegExp:()=>ad,plural:()=>kI,pushError:()=>pt,simpleKeyRegExp:()=>IH,uuid4RegExp:()=>bH});function Qt({test:r}){return QH(r)()}function Vr(r){return r===null?"null":r===void 0?"undefined":r===""?"an empty string":JSON.stringify(r)}function RA(r,e){var t,i,n;return typeof e=="number"?`${(t=r==null?void 0:r.p)!==null&&t!==void 0?t:"."}[${e}]`:IH.test(e)?`${(i=r==null?void 0:r.p)!==null&&i!==void 0?i:""}.${e}`:`${(n=r==null?void 0:r.p)!==null&&n!==void 0?n:"."}[${JSON.stringify(e)}]`}function cc(r,e){return t=>{let i=r[e];return r[e]=t,cc(r,e).bind(null,i)}}function SH(r,e){return t=>{r[e]=t}}function kI(r,e,t){return r===1?e:t}function pt({errors:r,p:e}={},t){return r==null||r.push(`${e!=null?e:"."}: ${t}`),!1}function dde(r){return Qt({test:(e,t)=>e!==r?pt(t,`Expected a literal (got ${Vr(r)})`):!0})}function Zi(r){let e=Array.isArray(r)?r:Object.values(r),t=new Set(e);return Qt({test:(i,n)=>t.has(i)?!0:pt(n,`Expected a valid enumeration value (got ${Vr(i)})`)})}var IH,yH,wH,BH,bH,ov,QH,vH,sd,Cde,mde,Ede,Ide,yde,wde,Bde,bde,Qde,Sde,od,vde,xde,Pde,Dde,xH,kde,Rde,Fde,Nde,Tde,Lde,Mde,Ode,ad,Kde,Ude,Hde,Gde,Yde,jde,qde,Jde,Wde,zde,lc,Vde,av,ls=Tge(()=>{IH=/^[a-zA-Z_][a-zA-Z0-9_]*$/,yH=/^#[0-9a-f]{6}$/i,wH=/^#[0-9a-f]{6}([0-9a-f]{2})?$/i,BH=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,bH=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$/i,ov=/^(?:[1-9]\d{3}(-?)(?:(?:0[1-9]|1[0-2])\1(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])\1(?:29|30)|(?:0[13578]|1[02])(?:\1)31|00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[0-5]))|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)(?:(-?)02(?:\2)29|-?366))T(?:[01]\d|2[0-3])(:?)[0-5]\d(?:\3[0-5]\d)?(?:Z|[+-][01]\d(?:\3[0-5]\d)?)$/,QH=r=>()=>r;vH=()=>Qt({test:(r,e)=>!0});sd=()=>Qt({test:(r,e)=>typeof r!="string"?pt(e,`Expected a string (got ${Vr(r)})`):!0});Cde=new Map([["true",!0],["True",!0],["1",!0],[1,!0],["false",!1],["False",!1],["0",!1],[0,!1]]),mde=()=>Qt({test:(r,e)=>{var t;if(typeof r!="boolean"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i=Cde.get(r);if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a boolean (got ${Vr(r)})`)}return!0}}),Ede=()=>Qt({test:(r,e)=>{var t;if(typeof r!="number"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"){let n;try{n=JSON.parse(r)}catch{}if(typeof n=="number")if(JSON.stringify(n)===r)i=n;else return pt(e,`Received a number that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a number (got ${Vr(r)})`)}return!0}}),Ide=()=>Qt({test:(r,e)=>{var t;if(!(r instanceof Date)){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"&&ov.test(r))i=new Date(r);else{let n;if(typeof r=="string"){let s;try{s=JSON.parse(r)}catch{}typeof s=="number"&&(n=s)}else typeof r=="number"&&(n=r);if(typeof n<"u")if(Number.isSafeInteger(n)||!Number.isSafeInteger(n*1e3))i=new Date(n*1e3);else return pt(e,`Received a timestamp that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a date (got ${Vr(r)})`)}return!0}}),yde=(r,{delimiter:e}={})=>Qt({test:(t,i)=>{var n;if(typeof t=="string"&&typeof e<"u"&&typeof(i==null?void 0:i.coercions)<"u"){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");t=t.split(e),i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,t)])}if(!Array.isArray(t))return pt(i,`Expected an array (got ${Vr(t)})`);let s=!0;for(let o=0,a=t.length;o{let t=xH(r.length);return Qt({test:(i,n)=>{var s;if(typeof i=="string"&&typeof e<"u"&&typeof(n==null?void 0:n.coercions)<"u"){if(typeof(n==null?void 0:n.coercion)>"u")return pt(n,"Unbound coercion result");i=i.split(e),n.coercions.push([(s=n.p)!==null&&s!==void 0?s:".",n.coercion.bind(null,i)])}if(!Array.isArray(i))return pt(n,`Expected a tuple (got ${Vr(i)})`);let o=t(i,Object.assign({},n));for(let a=0,l=i.length;aQt({test:(t,i)=>{if(typeof t!="object"||t===null)return pt(i,`Expected an object (got ${Vr(t)})`);let n=Object.keys(t),s=!0;for(let o=0,a=n.length;o{let t=Object.keys(r);return Qt({test:(i,n)=>{if(typeof i!="object"||i===null)return pt(n,`Expected an object (got ${Vr(i)})`);let s=new Set([...t,...Object.keys(i)]),o={},a=!0;for(let l of s){if(l==="constructor"||l==="__proto__")a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),"Unsafe property name");else{let c=Object.prototype.hasOwnProperty.call(r,l)?r[l]:void 0,u=Object.prototype.hasOwnProperty.call(i,l)?i[l]:void 0;typeof c<"u"?a=c(u,Object.assign(Object.assign({},n),{p:RA(n,l),coercion:cc(i,l)}))&&a:e===null?a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),`Extraneous property (got ${Vr(u)})`):Object.defineProperty(o,l,{enumerable:!0,get:()=>u,set:SH(i,l)})}if(!a&&(n==null?void 0:n.errors)==null)break}return e!==null&&(a||(n==null?void 0:n.errors)!=null)&&(a=e(o,n)&&a),a}})},Qde=r=>Qt({test:(e,t)=>e instanceof r?!0:pt(t,`Expected an instance of ${r.name} (got ${Vr(e)})`)}),Sde=(r,{exclusive:e=!1}={})=>Qt({test:(t,i)=>{var n,s,o;let a=[],l=typeof(i==null?void 0:i.errors)<"u"?[]:void 0;for(let c=0,u=r.length;c1?pt(i,`Expected to match exactly a single predicate (matched ${a.join(", ")})`):(o=i==null?void 0:i.errors)===null||o===void 0||o.push(...l),!1}}),od=(r,e)=>Qt({test:(t,i)=>{var n,s;let o={value:t},a=typeof(i==null?void 0:i.coercions)<"u"?cc(o,"value"):void 0,l=typeof(i==null?void 0:i.coercions)<"u"?[]:void 0;if(!r(t,Object.assign(Object.assign({},i),{coercion:a,coercions:l})))return!1;let c=[];if(typeof l<"u")for(let[,u]of l)c.push(u());try{if(typeof(i==null?void 0:i.coercions)<"u"){if(o.value!==t){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,o.value)])}(s=i==null?void 0:i.coercions)===null||s===void 0||s.push(...l)}return e.every(u=>u(o.value,i))}finally{for(let u of c)u()}}}),vde=r=>Qt({test:(e,t)=>typeof e>"u"?!0:r(e,t)}),xde=r=>Qt({test:(e,t)=>e===null?!0:r(e,t)}),Pde=r=>Qt({test:(e,t)=>e.length>=r?!0:pt(t,`Expected to have a length of at least ${r} elements (got ${e.length})`)}),Dde=r=>Qt({test:(e,t)=>e.length<=r?!0:pt(t,`Expected to have a length of at most ${r} elements (got ${e.length})`)}),xH=r=>Qt({test:(e,t)=>e.length!==r?pt(t,`Expected to have a length of exactly ${r} elements (got ${e.length})`):!0}),kde=({map:r}={})=>Qt({test:(e,t)=>{let i=new Set,n=new Set;for(let s=0,o=e.length;sQt({test:(r,e)=>r<=0?!0:pt(e,`Expected to be negative (got ${r})`)}),Fde=()=>Qt({test:(r,e)=>r>=0?!0:pt(e,`Expected to be positive (got ${r})`)}),Nde=r=>Qt({test:(e,t)=>e>=r?!0:pt(t,`Expected to be at least ${r} (got ${e})`)}),Tde=r=>Qt({test:(e,t)=>e<=r?!0:pt(t,`Expected to be at most ${r} (got ${e})`)}),Lde=(r,e)=>Qt({test:(t,i)=>t>=r&&t<=e?!0:pt(i,`Expected to be in the [${r}; ${e}] range (got ${t})`)}),Mde=(r,e)=>Qt({test:(t,i)=>t>=r&&tQt({test:(e,t)=>e!==Math.round(e)?pt(t,`Expected to be an integer (got ${e})`):Number.isSafeInteger(e)?!0:pt(t,`Expected to be a safe integer (got ${e})`)}),ad=r=>Qt({test:(e,t)=>r.test(e)?!0:pt(t,`Expected to match the pattern ${r.toString()} (got ${Vr(e)})`)}),Kde=()=>Qt({test:(r,e)=>r!==r.toLowerCase()?pt(e,`Expected to be all-lowercase (got ${r})`):!0}),Ude=()=>Qt({test:(r,e)=>r!==r.toUpperCase()?pt(e,`Expected to be all-uppercase (got ${r})`):!0}),Hde=()=>Qt({test:(r,e)=>bH.test(r)?!0:pt(e,`Expected to be a valid UUID v4 (got ${Vr(r)})`)}),Gde=()=>Qt({test:(r,e)=>ov.test(r)?!1:pt(e,`Expected to be a valid ISO 8601 date string (got ${Vr(r)})`)}),Yde=({alpha:r=!1})=>Qt({test:(e,t)=>(r?yH.test(e):wH.test(e))?!0:pt(t,`Expected to be a valid hexadecimal color string (got ${Vr(e)})`)}),jde=()=>Qt({test:(r,e)=>BH.test(r)?!0:pt(e,`Expected to be a valid base 64 string (got ${Vr(r)})`)}),qde=(r=vH())=>Qt({test:(e,t)=>{let i;try{i=JSON.parse(e)}catch{return pt(t,`Expected to be a valid JSON string (got ${Vr(e)})`)}return r(i,t)}}),Jde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)||s.push(o);return s.length>0?pt(i,`Missing required ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},Wde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>0?pt(i,`Forbidden ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},zde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>1?pt(i,`Mutually exclusive properties ${s.map(o=>`"${o}"`).join(", ")}`):!0}})};(function(r){r.Forbids="Forbids",r.Requires="Requires"})(lc||(lc={}));Vde={[lc.Forbids]:{expect:!1,message:"forbids using"},[lc.Requires]:{expect:!0,message:"requires using"}},av=(r,e,t,{ignore:i=[]}={})=>{let n=new Set(i),s=new Set(t),o=Vde[e];return Qt({test:(a,l)=>{let c=new Set(Object.keys(a));if(!c.has(r)||n.has(a[r]))return!0;let u=[];for(let g of s)(c.has(g)&&!n.has(a[g]))!==o.expect&&u.push(g);return u.length>=1?pt(l,`Property "${r}" ${o.message} ${kI(u.length,"property","properties")} ${u.map(g=>`"${g}"`).join(", ")}`):!0}})}});var qH=w((A$e,jH)=>{"use strict";jH.exports=(r,...e)=>new Promise(t=>{t(r(...e))})});var Jg=w((l$e,pv)=>{"use strict";var gCe=qH(),JH=r=>{if(r<1)throw new TypeError("Expected `concurrency` to be a number from 1 and up");let e=[],t=0,i=()=>{t--,e.length>0&&e.shift()()},n=(a,l,...c)=>{t++;let u=gCe(a,...c);l(u),u.then(i,i)},s=(a,l,...c)=>{tnew Promise(c=>s(a,c,...l));return Object.defineProperties(o,{activeCount:{get:()=>t},pendingCount:{get:()=>e.length}}),o};pv.exports=JH;pv.exports.default=JH});var gd=w((u$e,WH)=>{var fCe="2.0.0",hCe=Number.MAX_SAFE_INTEGER||9007199254740991,pCe=16;WH.exports={SEMVER_SPEC_VERSION:fCe,MAX_LENGTH:256,MAX_SAFE_INTEGER:hCe,MAX_SAFE_COMPONENT_LENGTH:pCe}});var fd=w((g$e,zH)=>{var dCe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};zH.exports=dCe});var uc=w((NA,VH)=>{var{MAX_SAFE_COMPONENT_LENGTH:dv}=gd(),CCe=fd();NA=VH.exports={};var mCe=NA.re=[],et=NA.src=[],tt=NA.t={},ECe=0,St=(r,e,t)=>{let i=ECe++;CCe(i,e),tt[r]=i,et[i]=e,mCe[i]=new RegExp(e,t?"g":void 0)};St("NUMERICIDENTIFIER","0|[1-9]\\d*");St("NUMERICIDENTIFIERLOOSE","[0-9]+");St("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");St("MAINVERSION",`(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})`);St("MAINVERSIONLOOSE",`(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})`);St("PRERELEASEIDENTIFIER",`(?:${et[tt.NUMERICIDENTIFIER]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASEIDENTIFIERLOOSE",`(?:${et[tt.NUMERICIDENTIFIERLOOSE]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASE",`(?:-(${et[tt.PRERELEASEIDENTIFIER]}(?:\\.${et[tt.PRERELEASEIDENTIFIER]})*))`);St("PRERELEASELOOSE",`(?:-?(${et[tt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${et[tt.PRERELEASEIDENTIFIERLOOSE]})*))`);St("BUILDIDENTIFIER","[0-9A-Za-z-]+");St("BUILD",`(?:\\+(${et[tt.BUILDIDENTIFIER]}(?:\\.${et[tt.BUILDIDENTIFIER]})*))`);St("FULLPLAIN",`v?${et[tt.MAINVERSION]}${et[tt.PRERELEASE]}?${et[tt.BUILD]}?`);St("FULL",`^${et[tt.FULLPLAIN]}$`);St("LOOSEPLAIN",`[v=\\s]*${et[tt.MAINVERSIONLOOSE]}${et[tt.PRERELEASELOOSE]}?${et[tt.BUILD]}?`);St("LOOSE",`^${et[tt.LOOSEPLAIN]}$`);St("GTLT","((?:<|>)?=?)");St("XRANGEIDENTIFIERLOOSE",`${et[tt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);St("XRANGEIDENTIFIER",`${et[tt.NUMERICIDENTIFIER]}|x|X|\\*`);St("XRANGEPLAIN",`[v=\\s]*(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:${et[tt.PRERELEASE]})?${et[tt.BUILD]}?)?)?`);St("XRANGEPLAINLOOSE",`[v=\\s]*(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:${et[tt.PRERELEASELOOSE]})?${et[tt.BUILD]}?)?)?`);St("XRANGE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAIN]}$`);St("XRANGELOOSE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAINLOOSE]}$`);St("COERCE",`(^|[^\\d])(\\d{1,${dv}})(?:\\.(\\d{1,${dv}}))?(?:\\.(\\d{1,${dv}}))?(?:$|[^\\d])`);St("COERCERTL",et[tt.COERCE],!0);St("LONETILDE","(?:~>?)");St("TILDETRIM",`(\\s*)${et[tt.LONETILDE]}\\s+`,!0);NA.tildeTrimReplace="$1~";St("TILDE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAIN]}$`);St("TILDELOOSE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAINLOOSE]}$`);St("LONECARET","(?:\\^)");St("CARETTRIM",`(\\s*)${et[tt.LONECARET]}\\s+`,!0);NA.caretTrimReplace="$1^";St("CARET",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAIN]}$`);St("CARETLOOSE",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAINLOOSE]}$`);St("COMPARATORLOOSE",`^${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]})$|^$`);St("COMPARATOR",`^${et[tt.GTLT]}\\s*(${et[tt.FULLPLAIN]})$|^$`);St("COMPARATORTRIM",`(\\s*)${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]}|${et[tt.XRANGEPLAIN]})`,!0);NA.comparatorTrimReplace="$1$2$3";St("HYPHENRANGE",`^\\s*(${et[tt.XRANGEPLAIN]})\\s+-\\s+(${et[tt.XRANGEPLAIN]})\\s*$`);St("HYPHENRANGELOOSE",`^\\s*(${et[tt.XRANGEPLAINLOOSE]})\\s+-\\s+(${et[tt.XRANGEPLAINLOOSE]})\\s*$`);St("STAR","(<|>)?=?\\s*\\*");St("GTE0","^\\s*>=\\s*0.0.0\\s*$");St("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var hd=w((f$e,XH)=>{var ICe=["includePrerelease","loose","rtl"],yCe=r=>r?typeof r!="object"?{loose:!0}:ICe.filter(e=>r[e]).reduce((e,t)=>(e[t]=!0,e),{}):{};XH.exports=yCe});var MI=w((h$e,$H)=>{var ZH=/^[0-9]+$/,_H=(r,e)=>{let t=ZH.test(r),i=ZH.test(e);return t&&i&&(r=+r,e=+e),r===e?0:t&&!i?-1:i&&!t?1:r_H(e,r);$H.exports={compareIdentifiers:_H,rcompareIdentifiers:wCe}});var Li=w((p$e,iG)=>{var OI=fd(),{MAX_LENGTH:eG,MAX_SAFE_INTEGER:KI}=gd(),{re:tG,t:rG}=uc(),BCe=hd(),{compareIdentifiers:pd}=MI(),Yn=class{constructor(e,t){if(t=BCe(t),e instanceof Yn){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>eG)throw new TypeError(`version is longer than ${eG} characters`);OI("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let i=e.trim().match(t.loose?tG[rG.LOOSE]:tG[rG.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>KI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>KI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>KI||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);i===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};iG.exports=Yn});var gc=w((d$e,aG)=>{var{MAX_LENGTH:bCe}=gd(),{re:nG,t:sG}=uc(),oG=Li(),QCe=hd(),SCe=(r,e)=>{if(e=QCe(e),r instanceof oG)return r;if(typeof r!="string"||r.length>bCe||!(e.loose?nG[sG.LOOSE]:nG[sG.FULL]).test(r))return null;try{return new oG(r,e)}catch{return null}};aG.exports=SCe});var lG=w((C$e,AG)=>{var vCe=gc(),xCe=(r,e)=>{let t=vCe(r,e);return t?t.version:null};AG.exports=xCe});var uG=w((m$e,cG)=>{var PCe=gc(),DCe=(r,e)=>{let t=PCe(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null};cG.exports=DCe});var fG=w((E$e,gG)=>{var kCe=Li(),RCe=(r,e,t,i)=>{typeof t=="string"&&(i=t,t=void 0);try{return new kCe(r,t).inc(e,i).version}catch{return null}};gG.exports=RCe});var cs=w((I$e,pG)=>{var hG=Li(),FCe=(r,e,t)=>new hG(r,t).compare(new hG(e,t));pG.exports=FCe});var UI=w((y$e,dG)=>{var NCe=cs(),TCe=(r,e,t)=>NCe(r,e,t)===0;dG.exports=TCe});var EG=w((w$e,mG)=>{var CG=gc(),LCe=UI(),MCe=(r,e)=>{if(LCe(r,e))return null;{let t=CG(r),i=CG(e),n=t.prerelease.length||i.prerelease.length,s=n?"pre":"",o=n?"prerelease":"";for(let a in t)if((a==="major"||a==="minor"||a==="patch")&&t[a]!==i[a])return s+a;return o}};mG.exports=MCe});var yG=w((B$e,IG)=>{var OCe=Li(),KCe=(r,e)=>new OCe(r,e).major;IG.exports=KCe});var BG=w((b$e,wG)=>{var UCe=Li(),HCe=(r,e)=>new UCe(r,e).minor;wG.exports=HCe});var QG=w((Q$e,bG)=>{var GCe=Li(),YCe=(r,e)=>new GCe(r,e).patch;bG.exports=YCe});var vG=w((S$e,SG)=>{var jCe=gc(),qCe=(r,e)=>{let t=jCe(r,e);return t&&t.prerelease.length?t.prerelease:null};SG.exports=qCe});var PG=w((v$e,xG)=>{var JCe=cs(),WCe=(r,e,t)=>JCe(e,r,t);xG.exports=WCe});var kG=w((x$e,DG)=>{var zCe=cs(),VCe=(r,e)=>zCe(r,e,!0);DG.exports=VCe});var HI=w((P$e,FG)=>{var RG=Li(),XCe=(r,e,t)=>{let i=new RG(r,t),n=new RG(e,t);return i.compare(n)||i.compareBuild(n)};FG.exports=XCe});var TG=w((D$e,NG)=>{var ZCe=HI(),_Ce=(r,e)=>r.sort((t,i)=>ZCe(t,i,e));NG.exports=_Ce});var MG=w((k$e,LG)=>{var $Ce=HI(),eme=(r,e)=>r.sort((t,i)=>$Ce(i,t,e));LG.exports=eme});var dd=w((R$e,OG)=>{var tme=cs(),rme=(r,e,t)=>tme(r,e,t)>0;OG.exports=rme});var GI=w((F$e,KG)=>{var ime=cs(),nme=(r,e,t)=>ime(r,e,t)<0;KG.exports=nme});var Cv=w((N$e,UG)=>{var sme=cs(),ome=(r,e,t)=>sme(r,e,t)!==0;UG.exports=ome});var YI=w((T$e,HG)=>{var ame=cs(),Ame=(r,e,t)=>ame(r,e,t)>=0;HG.exports=Ame});var jI=w((L$e,GG)=>{var lme=cs(),cme=(r,e,t)=>lme(r,e,t)<=0;GG.exports=cme});var mv=w((M$e,YG)=>{var ume=UI(),gme=Cv(),fme=dd(),hme=YI(),pme=GI(),dme=jI(),Cme=(r,e,t,i)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return ume(r,t,i);case"!=":return gme(r,t,i);case">":return fme(r,t,i);case">=":return hme(r,t,i);case"<":return pme(r,t,i);case"<=":return dme(r,t,i);default:throw new TypeError(`Invalid operator: ${e}`)}};YG.exports=Cme});var qG=w((O$e,jG)=>{var mme=Li(),Eme=gc(),{re:qI,t:JI}=uc(),Ime=(r,e)=>{if(r instanceof mme)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};let t=null;if(!e.rtl)t=r.match(qI[JI.COERCE]);else{let i;for(;(i=qI[JI.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||i.index+i[0].length!==t.index+t[0].length)&&(t=i),qI[JI.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;qI[JI.COERCERTL].lastIndex=-1}return t===null?null:Eme(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,e)};jG.exports=Ime});var WG=w((K$e,JG)=>{"use strict";JG.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}});var WI=w((U$e,zG)=>{"use strict";zG.exports=Ht;Ht.Node=fc;Ht.create=Ht;function Ht(r){var e=this;if(e instanceof Ht||(e=new Ht),e.tail=null,e.head=null,e.length=0,r&&typeof r.forEach=="function")r.forEach(function(n){e.push(n)});else if(arguments.length>0)for(var t=0,i=arguments.length;t1)t=e;else if(this.head)i=this.head.next,t=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;i!==null;n++)t=r(t,i.value,n),i=i.next;return t};Ht.prototype.reduceReverse=function(r,e){var t,i=this.tail;if(arguments.length>1)t=e;else if(this.tail)i=this.tail.prev,t=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;i!==null;n--)t=r(t,i.value,n),i=i.prev;return t};Ht.prototype.toArray=function(){for(var r=new Array(this.length),e=0,t=this.head;t!==null;e++)r[e]=t.value,t=t.next;return r};Ht.prototype.toArrayReverse=function(){for(var r=new Array(this.length),e=0,t=this.tail;t!==null;e++)r[e]=t.value,t=t.prev;return r};Ht.prototype.slice=function(r,e){e=e||this.length,e<0&&(e+=this.length),r=r||0,r<0&&(r+=this.length);var t=new Ht;if(ethis.length&&(e=this.length);for(var i=0,n=this.head;n!==null&&ithis.length&&(e=this.length);for(var i=this.length,n=this.tail;n!==null&&i>e;i--)n=n.prev;for(;n!==null&&i>r;i--,n=n.prev)t.push(n.value);return t};Ht.prototype.splice=function(r,e,...t){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,n=this.head;n!==null&&i{"use strict";var bme=WI(),hc=Symbol("max"),va=Symbol("length"),Wg=Symbol("lengthCalculator"),md=Symbol("allowStale"),pc=Symbol("maxAge"),Sa=Symbol("dispose"),VG=Symbol("noDisposeOnSet"),di=Symbol("lruList"),Zs=Symbol("cache"),ZG=Symbol("updateAgeOnGet"),Ev=()=>1,yv=class{constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(typeof e.max!="number"||e.max<0))throw new TypeError("max must be a non-negative number");let t=this[hc]=e.max||1/0,i=e.length||Ev;if(this[Wg]=typeof i!="function"?Ev:i,this[md]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[pc]=e.maxAge||0,this[Sa]=e.dispose,this[VG]=e.noDisposeOnSet||!1,this[ZG]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a non-negative number");this[hc]=e||1/0,Cd(this)}get max(){return this[hc]}set allowStale(e){this[md]=!!e}get allowStale(){return this[md]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[pc]=e,Cd(this)}get maxAge(){return this[pc]}set lengthCalculator(e){typeof e!="function"&&(e=Ev),e!==this[Wg]&&(this[Wg]=e,this[va]=0,this[di].forEach(t=>{t.length=this[Wg](t.value,t.key),this[va]+=t.length})),Cd(this)}get lengthCalculator(){return this[Wg]}get length(){return this[va]}get itemCount(){return this[di].length}rforEach(e,t){t=t||this;for(let i=this[di].tail;i!==null;){let n=i.prev;XG(this,e,i,t),i=n}}forEach(e,t){t=t||this;for(let i=this[di].head;i!==null;){let n=i.next;XG(this,e,i,t),i=n}}keys(){return this[di].toArray().map(e=>e.key)}values(){return this[di].toArray().map(e=>e.value)}reset(){this[Sa]&&this[di]&&this[di].length&&this[di].forEach(e=>this[Sa](e.key,e.value)),this[Zs]=new Map,this[di]=new bme,this[va]=0}dump(){return this[di].map(e=>zI(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[di]}set(e,t,i){if(i=i||this[pc],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let n=i?Date.now():0,s=this[Wg](t,e);if(this[Zs].has(e)){if(s>this[hc])return zg(this,this[Zs].get(e)),!1;let l=this[Zs].get(e).value;return this[Sa]&&(this[VG]||this[Sa](e,l.value)),l.now=n,l.maxAge=i,l.value=t,this[va]+=s-l.length,l.length=s,this.get(e),Cd(this),!0}let o=new wv(e,t,s,n,i);return o.length>this[hc]?(this[Sa]&&this[Sa](e,t),!1):(this[va]+=o.length,this[di].unshift(o),this[Zs].set(e,this[di].head),Cd(this),!0)}has(e){if(!this[Zs].has(e))return!1;let t=this[Zs].get(e).value;return!zI(this,t)}get(e){return Iv(this,e,!0)}peek(e){return Iv(this,e,!1)}pop(){let e=this[di].tail;return e?(zg(this,e),e.value):null}del(e){zg(this,this[Zs].get(e))}load(e){this.reset();let t=Date.now();for(let i=e.length-1;i>=0;i--){let n=e[i],s=n.e||0;if(s===0)this.set(n.k,n.v);else{let o=s-t;o>0&&this.set(n.k,n.v,o)}}}prune(){this[Zs].forEach((e,t)=>Iv(this,t,!1))}},Iv=(r,e,t)=>{let i=r[Zs].get(e);if(i){let n=i.value;if(zI(r,n)){if(zg(r,i),!r[md])return}else t&&(r[ZG]&&(i.value.now=Date.now()),r[di].unshiftNode(i));return n.value}},zI=(r,e)=>{if(!e||!e.maxAge&&!r[pc])return!1;let t=Date.now()-e.now;return e.maxAge?t>e.maxAge:r[pc]&&t>r[pc]},Cd=r=>{if(r[va]>r[hc])for(let e=r[di].tail;r[va]>r[hc]&&e!==null;){let t=e.prev;zg(r,e),e=t}},zg=(r,e)=>{if(e){let t=e.value;r[Sa]&&r[Sa](t.key,t.value),r[va]-=t.length,r[Zs].delete(t.key),r[di].removeNode(e)}},wv=class{constructor(e,t,i,n,s){this.key=e,this.value=t,this.length=i,this.now=n,this.maxAge=s||0}},XG=(r,e,t,i)=>{let n=t.value;zI(r,n)&&(zg(r,t),r[md]||(n=void 0)),n&&e.call(i,n.value,n.key,r)};_G.exports=yv});var us=w((G$e,iY)=>{var dc=class{constructor(e,t){if(t=Sme(t),e instanceof dc)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new dc(e.raw,t);if(e instanceof Bv)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!tY(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&kme(n[0])){this.set=[n];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();let i=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=eY.get(i);if(n)return n;let s=this.options.loose,o=s?Mi[bi.HYPHENRANGELOOSE]:Mi[bi.HYPHENRANGE];e=e.replace(o,Hme(this.options.includePrerelease)),Hr("hyphen replace",e),e=e.replace(Mi[bi.COMPARATORTRIM],xme),Hr("comparator trim",e,Mi[bi.COMPARATORTRIM]),e=e.replace(Mi[bi.TILDETRIM],Pme),e=e.replace(Mi[bi.CARETTRIM],Dme),e=e.split(/\s+/).join(" ");let a=s?Mi[bi.COMPARATORLOOSE]:Mi[bi.COMPARATOR],l=e.split(" ").map(f=>Rme(f,this.options)).join(" ").split(/\s+/).map(f=>Ume(f,this.options)).filter(this.options.loose?f=>!!f.match(a):()=>!0).map(f=>new Bv(f,this.options)),c=l.length,u=new Map;for(let f of l){if(tY(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");let g=[...u.values()];return eY.set(i,g),g}intersects(e,t){if(!(e instanceof dc))throw new TypeError("a Range is required");return this.set.some(i=>rY(i,t)&&e.set.some(n=>rY(n,t)&&i.every(s=>n.every(o=>s.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new vme(e,this.options)}catch{return!1}for(let t=0;tr.value==="<0.0.0-0",kme=r=>r.value==="",rY=(r,e)=>{let t=!0,i=r.slice(),n=i.pop();for(;t&&i.length;)t=i.every(s=>n.intersects(s,e)),n=i.pop();return t},Rme=(r,e)=>(Hr("comp",r,e),r=Tme(r,e),Hr("caret",r),r=Fme(r,e),Hr("tildes",r),r=Mme(r,e),Hr("xrange",r),r=Kme(r,e),Hr("stars",r),r),$i=r=>!r||r.toLowerCase()==="x"||r==="*",Fme=(r,e)=>r.trim().split(/\s+/).map(t=>Nme(t,e)).join(" "),Nme=(r,e)=>{let t=e.loose?Mi[bi.TILDELOOSE]:Mi[bi.TILDE];return r.replace(t,(i,n,s,o,a)=>{Hr("tilde",r,i,n,s,o,a);let l;return $i(n)?l="":$i(s)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:$i(o)?l=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:a?(Hr("replaceTilde pr",a),l=`>=${n}.${s}.${o}-${a} <${n}.${+s+1}.0-0`):l=`>=${n}.${s}.${o} <${n}.${+s+1}.0-0`,Hr("tilde return",l),l})},Tme=(r,e)=>r.trim().split(/\s+/).map(t=>Lme(t,e)).join(" "),Lme=(r,e)=>{Hr("caret",r,e);let t=e.loose?Mi[bi.CARETLOOSE]:Mi[bi.CARET],i=e.includePrerelease?"-0":"";return r.replace(t,(n,s,o,a,l)=>{Hr("caret",r,n,s,o,a,l);let c;return $i(s)?c="":$i(o)?c=`>=${s}.0.0${i} <${+s+1}.0.0-0`:$i(a)?s==="0"?c=`>=${s}.${o}.0${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.0${i} <${+s+1}.0.0-0`:l?(Hr("replaceCaret pr",l),s==="0"?o==="0"?c=`>=${s}.${o}.${a}-${l} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}-${l} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a}-${l} <${+s+1}.0.0-0`):(Hr("no pr"),s==="0"?o==="0"?c=`>=${s}.${o}.${a}${i} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),Hr("caret return",c),c})},Mme=(r,e)=>(Hr("replaceXRanges",r,e),r.split(/\s+/).map(t=>Ome(t,e)).join(" ")),Ome=(r,e)=>{r=r.trim();let t=e.loose?Mi[bi.XRANGELOOSE]:Mi[bi.XRANGE];return r.replace(t,(i,n,s,o,a,l)=>{Hr("xRange",r,i,n,s,o,a,l);let c=$i(s),u=c||$i(o),g=u||$i(a),f=g;return n==="="&&f&&(n=""),l=e.includePrerelease?"-0":"",c?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&f?(u&&(o=0),a=0,n===">"?(n=">=",u?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?s=+s+1:o=+o+1),n==="<"&&(l="-0"),i=`${n+s}.${o}.${a}${l}`):u?i=`>=${s}.0.0${l} <${+s+1}.0.0-0`:g&&(i=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),Hr("xRange return",i),i})},Kme=(r,e)=>(Hr("replaceStars",r,e),r.trim().replace(Mi[bi.STAR],"")),Ume=(r,e)=>(Hr("replaceGTE0",r,e),r.trim().replace(Mi[e.includePrerelease?bi.GTE0PRE:bi.GTE0],"")),Hme=r=>(e,t,i,n,s,o,a,l,c,u,g,f,h)=>($i(i)?t="":$i(n)?t=`>=${i}.0.0${r?"-0":""}`:$i(s)?t=`>=${i}.${n}.0${r?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,$i(c)?l="":$i(u)?l=`<${+c+1}.0.0-0`:$i(g)?l=`<${c}.${+u+1}.0-0`:f?l=`<=${c}.${u}.${g}-${f}`:r?l=`<${c}.${u}.${+g+1}-0`:l=`<=${l}`,`${t} ${l}`.trim()),Gme=(r,e,t)=>{for(let i=0;i0){let n=r[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Ed=w((Y$e,AY)=>{var Id=Symbol("SemVer ANY"),Vg=class{static get ANY(){return Id}constructor(e,t){if(t=Yme(t),e instanceof Vg){if(e.loose===!!t.loose)return e;e=e.value}Qv("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Id?this.value="":this.value=this.operator+this.semver.version,Qv("comp",this)}parse(e){let t=this.options.loose?nY[sY.COMPARATORLOOSE]:nY[sY.COMPARATOR],i=e.match(t);if(!i)throw new TypeError(`Invalid comparator: ${e}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new oY(i[2],this.options.loose):this.semver=Id}toString(){return this.value}test(e){if(Qv("Comparator.test",e,this.options.loose),this.semver===Id||e===Id)return!0;if(typeof e=="string")try{e=new oY(e,this.options)}catch{return!1}return bv(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Vg))throw new TypeError("a Comparator is required");if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new aY(e.value,t).test(this.value);if(e.operator==="")return e.value===""?!0:new aY(this.value,t).test(e.semver);let i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),s=this.semver.version===e.semver.version,o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),a=bv(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=bv(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||n||s&&o||a||l}};AY.exports=Vg;var Yme=hd(),{re:nY,t:sY}=uc(),bv=mv(),Qv=fd(),oY=Li(),aY=us()});var yd=w((j$e,lY)=>{var jme=us(),qme=(r,e,t)=>{try{e=new jme(e,t)}catch{return!1}return e.test(r)};lY.exports=qme});var uY=w((q$e,cY)=>{var Jme=us(),Wme=(r,e)=>new Jme(r,e).set.map(t=>t.map(i=>i.value).join(" ").trim().split(" "));cY.exports=Wme});var fY=w((J$e,gY)=>{var zme=Li(),Vme=us(),Xme=(r,e,t)=>{let i=null,n=null,s=null;try{s=new Vme(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===-1)&&(i=o,n=new zme(i,t))}),i};gY.exports=Xme});var pY=w((W$e,hY)=>{var Zme=Li(),_me=us(),$me=(r,e,t)=>{let i=null,n=null,s=null;try{s=new _me(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===1)&&(i=o,n=new Zme(i,t))}),i};hY.exports=$me});var mY=w((z$e,CY)=>{var Sv=Li(),eEe=us(),dY=dd(),tEe=(r,e)=>{r=new eEe(r,e);let t=new Sv("0.0.0");if(r.test(t)||(t=new Sv("0.0.0-0"),r.test(t)))return t;t=null;for(let i=0;i{let a=new Sv(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||dY(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),s&&(!t||dY(t,s))&&(t=s)}return t&&r.test(t)?t:null};CY.exports=tEe});var IY=w((V$e,EY)=>{var rEe=us(),iEe=(r,e)=>{try{return new rEe(r,e).range||"*"}catch{return null}};EY.exports=iEe});var VI=w((X$e,bY)=>{var nEe=Li(),BY=Ed(),{ANY:sEe}=BY,oEe=us(),aEe=yd(),yY=dd(),wY=GI(),AEe=jI(),lEe=YI(),cEe=(r,e,t,i)=>{r=new nEe(r,i),e=new oEe(e,i);let n,s,o,a,l;switch(t){case">":n=yY,s=AEe,o=wY,a=">",l=">=";break;case"<":n=wY,s=lEe,o=yY,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(aEe(r,e,i))return!1;for(let c=0;c{h.semver===sEe&&(h=new BY(">=0.0.0")),g=g||h,f=f||h,n(h.semver,g.semver,i)?g=h:o(h.semver,f.semver,i)&&(f=h)}),g.operator===a||g.operator===l||(!f.operator||f.operator===a)&&s(r,f.semver))return!1;if(f.operator===l&&o(r,f.semver))return!1}return!0};bY.exports=cEe});var SY=w((Z$e,QY)=>{var uEe=VI(),gEe=(r,e,t)=>uEe(r,e,">",t);QY.exports=gEe});var xY=w((_$e,vY)=>{var fEe=VI(),hEe=(r,e,t)=>fEe(r,e,"<",t);vY.exports=hEe});var kY=w(($$e,DY)=>{var PY=us(),pEe=(r,e,t)=>(r=new PY(r,t),e=new PY(e,t),r.intersects(e));DY.exports=pEe});var FY=w((eet,RY)=>{var dEe=yd(),CEe=cs();RY.exports=(r,e,t)=>{let i=[],n=null,s=null,o=r.sort((u,g)=>CEe(u,g,t));for(let u of o)dEe(u,e,t)?(s=u,n||(n=u)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let a=[];for(let[u,g]of i)u===g?a.push(u):!g&&u===o[0]?a.push("*"):g?u===o[0]?a.push(`<=${g}`):a.push(`${u} - ${g}`):a.push(`>=${u}`);let l=a.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return l.length{var NY=us(),XI=Ed(),{ANY:vv}=XI,wd=yd(),xv=cs(),mEe=(r,e,t={})=>{if(r===e)return!0;r=new NY(r,t),e=new NY(e,t);let i=!1;e:for(let n of r.set){for(let s of e.set){let o=EEe(n,s,t);if(i=i||o!==null,o)continue e}if(i)return!1}return!0},EEe=(r,e,t)=>{if(r===e)return!0;if(r.length===1&&r[0].semver===vv){if(e.length===1&&e[0].semver===vv)return!0;t.includePrerelease?r=[new XI(">=0.0.0-0")]:r=[new XI(">=0.0.0")]}if(e.length===1&&e[0].semver===vv){if(t.includePrerelease)return!0;e=[new XI(">=0.0.0")]}let i=new Set,n,s;for(let h of r)h.operator===">"||h.operator===">="?n=TY(n,h,t):h.operator==="<"||h.operator==="<="?s=LY(s,h,t):i.add(h.semver);if(i.size>1)return null;let o;if(n&&s){if(o=xv(n.semver,s.semver,t),o>0)return null;if(o===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let h of i){if(n&&!wd(h,String(n),t)||s&&!wd(h,String(s),t))return null;for(let p of e)if(!wd(h,String(p),t))return!1;return!0}let a,l,c,u,g=s&&!t.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1;g&&g.prerelease.length===1&&s.operator==="<"&&g.prerelease[0]===0&&(g=!1);for(let h of e){if(u=u||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",n){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator===">"||h.operator===">="){if(a=TY(n,h,t),a===h&&a!==n)return!1}else if(n.operator===">="&&!wd(n.semver,String(h),t))return!1}if(s){if(g&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===g.major&&h.semver.minor===g.minor&&h.semver.patch===g.patch&&(g=!1),h.operator==="<"||h.operator==="<="){if(l=LY(s,h,t),l===h&&l!==s)return!1}else if(s.operator==="<="&&!wd(s.semver,String(h),t))return!1}if(!h.operator&&(s||n)&&o!==0)return!1}return!(n&&c&&!s&&o!==0||s&&u&&!n&&o!==0||f||g)},TY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i>0?r:i<0||e.operator===">"&&r.operator===">="?e:r},LY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i<0?r:i>0||e.operator==="<"&&r.operator==="<="?e:r};MY.exports=mEe});var Xr=w((ret,KY)=>{var Pv=uc();KY.exports={re:Pv.re,src:Pv.src,tokens:Pv.t,SEMVER_SPEC_VERSION:gd().SEMVER_SPEC_VERSION,SemVer:Li(),compareIdentifiers:MI().compareIdentifiers,rcompareIdentifiers:MI().rcompareIdentifiers,parse:gc(),valid:lG(),clean:uG(),inc:fG(),diff:EG(),major:yG(),minor:BG(),patch:QG(),prerelease:vG(),compare:cs(),rcompare:PG(),compareLoose:kG(),compareBuild:HI(),sort:TG(),rsort:MG(),gt:dd(),lt:GI(),eq:UI(),neq:Cv(),gte:YI(),lte:jI(),cmp:mv(),coerce:qG(),Comparator:Ed(),Range:us(),satisfies:yd(),toComparators:uY(),maxSatisfying:fY(),minSatisfying:pY(),minVersion:mY(),validRange:IY(),outside:VI(),gtr:SY(),ltr:xY(),intersects:kY(),simplifyRange:FY(),subset:OY()}});var Dv=w(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0});ZI.VERSION=void 0;ZI.VERSION="9.1.0"});var Gt=w((exports,module)=>{"use strict";var __spreadArray=exports&&exports.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var i=0,n=e.length,s;i{(function(r,e){typeof define=="function"&&define.amd?define([],e):typeof _I=="object"&&_I.exports?_I.exports=e():r.regexpToAst=e()})(typeof self<"u"?self:UY,function(){function r(){}r.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},r.prototype.restoreState=function(p){this.idx=p.idx,this.input=p.input,this.groupIdx=p.groupIdx},r.prototype.pattern=function(p){this.idx=0,this.input=p,this.groupIdx=0,this.consumeChar("/");var C=this.disjunction();this.consumeChar("/");for(var y={type:"Flags",loc:{begin:this.idx,end:p.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":o(y,"global");break;case"i":o(y,"ignoreCase");break;case"m":o(y,"multiLine");break;case"u":o(y,"unicode");break;case"y":o(y,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:y,value:C,loc:this.loc(0)}},r.prototype.disjunction=function(){var p=[],C=this.idx;for(p.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),p.push(this.alternative());return{type:"Disjunction",value:p,loc:this.loc(C)}},r.prototype.alternative=function(){for(var p=[],C=this.idx;this.isTerm();)p.push(this.term());return{type:"Alternative",value:p,loc:this.loc(C)}},r.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},r.prototype.assertion=function(){var p=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(p)};case"$":return{type:"EndAnchor",loc:this.loc(p)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(p)};case"B":return{type:"NonWordBoundary",loc:this.loc(p)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");var C;switch(this.popChar()){case"=":C="Lookahead";break;case"!":C="NegativeLookahead";break}a(C);var y=this.disjunction();return this.consumeChar(")"),{type:C,value:y,loc:this.loc(p)}}l()},r.prototype.quantifier=function(p){var C,y=this.idx;switch(this.popChar()){case"*":C={atLeast:0,atMost:1/0};break;case"+":C={atLeast:1,atMost:1/0};break;case"?":C={atLeast:0,atMost:1};break;case"{":var B=this.integerIncludingZero();switch(this.popChar()){case"}":C={atLeast:B,atMost:B};break;case",":var v;this.isDigit()?(v=this.integerIncludingZero(),C={atLeast:B,atMost:v}):C={atLeast:B,atMost:1/0},this.consumeChar("}");break}if(p===!0&&C===void 0)return;a(C);break}if(!(p===!0&&C===void 0))return a(C),this.peekChar(0)==="?"?(this.consumeChar("?"),C.greedy=!1):C.greedy=!0,C.type="Quantifier",C.loc=this.loc(y),C},r.prototype.atom=function(){var p,C=this.idx;switch(this.peekChar()){case".":p=this.dotAll();break;case"\\":p=this.atomEscape();break;case"[":p=this.characterClass();break;case"(":p=this.group();break}return p===void 0&&this.isPatternCharacter()&&(p=this.patternCharacter()),a(p),p.loc=this.loc(C),this.isQuantifier()&&(p.quantifier=this.quantifier()),p},r.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[n(` -`),n("\r"),n("\u2028"),n("\u2029")]}},r.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},r.prototype.decimalEscapeAtom=function(){var p=this.positiveInteger();return{type:"GroupBackReference",value:p}},r.prototype.characterClassEscape=function(){var p,C=!1;switch(this.popChar()){case"d":p=u;break;case"D":p=u,C=!0;break;case"s":p=f;break;case"S":p=f,C=!0;break;case"w":p=g;break;case"W":p=g,C=!0;break}return a(p),{type:"Set",value:p,complement:C}},r.prototype.controlEscapeAtom=function(){var p;switch(this.popChar()){case"f":p=n("\f");break;case"n":p=n(` -`);break;case"r":p=n("\r");break;case"t":p=n(" ");break;case"v":p=n("\v");break}return a(p),{type:"Character",value:p}},r.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var p=this.popChar();if(/[a-zA-Z]/.test(p)===!1)throw Error("Invalid ");var C=p.toUpperCase().charCodeAt(0)-64;return{type:"Character",value:C}},r.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:n("\0")}},r.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},r.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},r.prototype.identityEscapeAtom=function(){var p=this.popChar();return{type:"Character",value:n(p)}},r.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case` -`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:var p=this.popChar();return{type:"Character",value:n(p)}}},r.prototype.characterClass=function(){var p=[],C=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),C=!0);this.isClassAtom();){var y=this.classAtom(),B=y.type==="Character";if(B&&this.isRangeDash()){this.consumeChar("-");var v=this.classAtom(),D=v.type==="Character";if(D){if(v.value=this.input.length)throw Error("Unexpected end of input");this.idx++},r.prototype.loc=function(p){return{begin:p,end:this.idx}};var e=/[0-9a-fA-F]/,t=/[0-9]/,i=/[1-9]/;function n(p){return p.charCodeAt(0)}function s(p,C){p.length!==void 0?p.forEach(function(y){C.push(y)}):C.push(p)}function o(p,C){if(p[C]===!0)throw"duplicate flag "+C;p[C]=!0}function a(p){if(p===void 0)throw Error("Internal Error - Should never get here!")}function l(){throw Error("Internal Error - Should never get here!")}var c,u=[];for(c=n("0");c<=n("9");c++)u.push(c);var g=[n("_")].concat(u);for(c=n("a");c<=n("z");c++)g.push(c);for(c=n("A");c<=n("Z");c++)g.push(c);var f=[n(" "),n("\f"),n(` -`),n("\r"),n(" "),n("\v"),n(" "),n("\xA0"),n("\u1680"),n("\u2000"),n("\u2001"),n("\u2002"),n("\u2003"),n("\u2004"),n("\u2005"),n("\u2006"),n("\u2007"),n("\u2008"),n("\u2009"),n("\u200A"),n("\u2028"),n("\u2029"),n("\u202F"),n("\u205F"),n("\u3000"),n("\uFEFF")];function h(){}return h.prototype.visitChildren=function(p){for(var C in p){var y=p[C];p.hasOwnProperty(C)&&(y.type!==void 0?this.visit(y):Array.isArray(y)&&y.forEach(function(B){this.visit(B)},this))}},h.prototype.visit=function(p){switch(p.type){case"Pattern":this.visitPattern(p);break;case"Flags":this.visitFlags(p);break;case"Disjunction":this.visitDisjunction(p);break;case"Alternative":this.visitAlternative(p);break;case"StartAnchor":this.visitStartAnchor(p);break;case"EndAnchor":this.visitEndAnchor(p);break;case"WordBoundary":this.visitWordBoundary(p);break;case"NonWordBoundary":this.visitNonWordBoundary(p);break;case"Lookahead":this.visitLookahead(p);break;case"NegativeLookahead":this.visitNegativeLookahead(p);break;case"Character":this.visitCharacter(p);break;case"Set":this.visitSet(p);break;case"Group":this.visitGroup(p);break;case"GroupBackReference":this.visitGroupBackReference(p);break;case"Quantifier":this.visitQuantifier(p);break}this.visitChildren(p)},h.prototype.visitPattern=function(p){},h.prototype.visitFlags=function(p){},h.prototype.visitDisjunction=function(p){},h.prototype.visitAlternative=function(p){},h.prototype.visitStartAnchor=function(p){},h.prototype.visitEndAnchor=function(p){},h.prototype.visitWordBoundary=function(p){},h.prototype.visitNonWordBoundary=function(p){},h.prototype.visitLookahead=function(p){},h.prototype.visitNegativeLookahead=function(p){},h.prototype.visitCharacter=function(p){},h.prototype.visitSet=function(p){},h.prototype.visitGroup=function(p){},h.prototype.visitGroupBackReference=function(p){},h.prototype.visitQuantifier=function(p){},{RegExpParser:r,BaseRegExpVisitor:h,VERSION:"0.5.0"}})});var ty=w(Xg=>{"use strict";Object.defineProperty(Xg,"__esModule",{value:!0});Xg.clearRegExpParserCache=Xg.getRegExpAst=void 0;var IEe=$I(),ey={},yEe=new IEe.RegExpParser;function wEe(r){var e=r.toString();if(ey.hasOwnProperty(e))return ey[e];var t=yEe.pattern(e);return ey[e]=t,t}Xg.getRegExpAst=wEe;function BEe(){ey={}}Xg.clearRegExpParserCache=BEe});var qY=w(Cn=>{"use strict";var bEe=Cn&&Cn.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Cn,"__esModule",{value:!0});Cn.canMatchCharCode=Cn.firstCharOptimizedIndices=Cn.getOptimizedStartCodesIndices=Cn.failedOptimizationPrefixMsg=void 0;var GY=$I(),gs=Gt(),YY=ty(),xa=Rv(),jY="Complement Sets are not supported for first char optimization";Cn.failedOptimizationPrefixMsg=`Unable to use "first char" lexer optimizations: -`;function QEe(r,e){e===void 0&&(e=!1);try{var t=(0,YY.getRegExpAst)(r),i=iy(t.value,{},t.flags.ignoreCase);return i}catch(s){if(s.message===jY)e&&(0,gs.PRINT_WARNING)(""+Cn.failedOptimizationPrefixMsg+(" Unable to optimize: < "+r.toString()+` > -`)+` Complement Sets cannot be automatically optimized. - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{var n="";e&&(n=` - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),(0,gs.PRINT_ERROR)(Cn.failedOptimizationPrefixMsg+` -`+(" Failed parsing: < "+r.toString()+` > -`)+(" Using the regexp-to-ast library version: "+GY.VERSION+` -`)+" Please open an issue at: https://github.com/bd82/regexp-to-ast/issues"+n)}}return[]}Cn.getOptimizedStartCodesIndices=QEe;function iy(r,e,t){switch(r.type){case"Disjunction":for(var i=0;i=xa.minOptimizationVal)for(var f=u.from>=xa.minOptimizationVal?u.from:xa.minOptimizationVal,h=u.to,p=(0,xa.charCodeToOptimizedIndex)(f),C=(0,xa.charCodeToOptimizedIndex)(h),y=p;y<=C;y++)e[y]=y}}});break;case"Group":iy(o.value,e,t);break;default:throw Error("Non Exhaustive Match")}var a=o.quantifier!==void 0&&o.quantifier.atLeast===0;if(o.type==="Group"&&kv(o)===!1||o.type!=="Group"&&a===!1)break}break;default:throw Error("non exhaustive match!")}return(0,gs.values)(e)}Cn.firstCharOptimizedIndices=iy;function ry(r,e,t){var i=(0,xa.charCodeToOptimizedIndex)(r);e[i]=i,t===!0&&SEe(r,e)}function SEe(r,e){var t=String.fromCharCode(r),i=t.toUpperCase();if(i!==t){var n=(0,xa.charCodeToOptimizedIndex)(i.charCodeAt(0));e[n]=n}else{var s=t.toLowerCase();if(s!==t){var n=(0,xa.charCodeToOptimizedIndex)(s.charCodeAt(0));e[n]=n}}}function HY(r,e){return(0,gs.find)(r.value,function(t){if(typeof t=="number")return(0,gs.contains)(e,t);var i=t;return(0,gs.find)(e,function(n){return i.from<=n&&n<=i.to})!==void 0})}function kv(r){return r.quantifier&&r.quantifier.atLeast===0?!0:r.value?(0,gs.isArray)(r.value)?(0,gs.every)(r.value,kv):kv(r.value):!1}var vEe=function(r){bEe(e,r);function e(t){var i=r.call(this)||this;return i.targetCharCodes=t,i.found=!1,i}return e.prototype.visitChildren=function(t){if(this.found!==!0){switch(t.type){case"Lookahead":this.visitLookahead(t);return;case"NegativeLookahead":this.visitNegativeLookahead(t);return}r.prototype.visitChildren.call(this,t)}},e.prototype.visitCharacter=function(t){(0,gs.contains)(this.targetCharCodes,t.value)&&(this.found=!0)},e.prototype.visitSet=function(t){t.complement?HY(t,this.targetCharCodes)===void 0&&(this.found=!0):HY(t,this.targetCharCodes)!==void 0&&(this.found=!0)},e}(GY.BaseRegExpVisitor);function xEe(r,e){if(e instanceof RegExp){var t=(0,YY.getRegExpAst)(e),i=new vEe(r);return i.visit(t),i.found}else return(0,gs.find)(e,function(n){return(0,gs.contains)(r,n.charCodeAt(0))})!==void 0}Cn.canMatchCharCode=xEe});var Rv=w(Ve=>{"use strict";var JY=Ve&&Ve.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Ve,"__esModule",{value:!0});Ve.charCodeToOptimizedIndex=Ve.minOptimizationVal=Ve.buildLineBreakIssueMessage=Ve.LineTerminatorOptimizedTester=Ve.isShortPattern=Ve.isCustomPattern=Ve.cloneEmptyGroups=Ve.performWarningRuntimeChecks=Ve.performRuntimeChecks=Ve.addStickyFlag=Ve.addStartOfInput=Ve.findUnreachablePatterns=Ve.findModesThatDoNotExist=Ve.findInvalidGroupType=Ve.findDuplicatePatterns=Ve.findUnsupportedFlags=Ve.findStartOfInputAnchor=Ve.findEmptyMatchRegExps=Ve.findEndOfInputAnchor=Ve.findInvalidPatterns=Ve.findMissingPatterns=Ve.validatePatterns=Ve.analyzeTokenTypes=Ve.enableSticky=Ve.disableSticky=Ve.SUPPORT_STICKY=Ve.MODES=Ve.DEFAULT_MODE=void 0;var WY=$I(),ir=Bd(),xe=Gt(),Zg=qY(),zY=ty(),ko="PATTERN";Ve.DEFAULT_MODE="defaultMode";Ve.MODES="modes";Ve.SUPPORT_STICKY=typeof new RegExp("(?:)").sticky=="boolean";function PEe(){Ve.SUPPORT_STICKY=!1}Ve.disableSticky=PEe;function DEe(){Ve.SUPPORT_STICKY=!0}Ve.enableSticky=DEe;function kEe(r,e){e=(0,xe.defaults)(e,{useSticky:Ve.SUPPORT_STICKY,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` -`],tracer:function(v,D){return D()}});var t=e.tracer;t("initCharCodeToOptimizedIndexMap",function(){HEe()});var i;t("Reject Lexer.NA",function(){i=(0,xe.reject)(r,function(v){return v[ko]===ir.Lexer.NA})});var n=!1,s;t("Transform Patterns",function(){n=!1,s=(0,xe.map)(i,function(v){var D=v[ko];if((0,xe.isRegExp)(D)){var T=D.source;return T.length===1&&T!=="^"&&T!=="$"&&T!=="."&&!D.ignoreCase?T:T.length===2&&T[0]==="\\"&&!(0,xe.contains)(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],T[1])?T[1]:e.useSticky?Tv(D):Nv(D)}else{if((0,xe.isFunction)(D))return n=!0,{exec:D};if((0,xe.has)(D,"exec"))return n=!0,D;if(typeof D=="string"){if(D.length===1)return D;var H=D.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),j=new RegExp(H);return e.useSticky?Tv(j):Nv(j)}else throw Error("non exhaustive match")}})});var o,a,l,c,u;t("misc mapping",function(){o=(0,xe.map)(i,function(v){return v.tokenTypeIdx}),a=(0,xe.map)(i,function(v){var D=v.GROUP;if(D!==ir.Lexer.SKIPPED){if((0,xe.isString)(D))return D;if((0,xe.isUndefined)(D))return!1;throw Error("non exhaustive match")}}),l=(0,xe.map)(i,function(v){var D=v.LONGER_ALT;if(D){var T=(0,xe.isArray)(D)?(0,xe.map)(D,function(H){return(0,xe.indexOf)(i,H)}):[(0,xe.indexOf)(i,D)];return T}}),c=(0,xe.map)(i,function(v){return v.PUSH_MODE}),u=(0,xe.map)(i,function(v){return(0,xe.has)(v,"POP_MODE")})});var g;t("Line Terminator Handling",function(){var v=Aj(e.lineTerminatorCharacters);g=(0,xe.map)(i,function(D){return!1}),e.positionTracking!=="onlyOffset"&&(g=(0,xe.map)(i,function(D){if((0,xe.has)(D,"LINE_BREAKS"))return D.LINE_BREAKS;if(oj(D,v)===!1)return(0,Zg.canMatchCharCode)(v,D.PATTERN)}))});var f,h,p,C;t("Misc Mapping #2",function(){f=(0,xe.map)(i,Mv),h=(0,xe.map)(s,sj),p=(0,xe.reduce)(i,function(v,D){var T=D.GROUP;return(0,xe.isString)(T)&&T!==ir.Lexer.SKIPPED&&(v[T]=[]),v},{}),C=(0,xe.map)(s,function(v,D){return{pattern:s[D],longerAlt:l[D],canLineTerminator:g[D],isCustom:f[D],short:h[D],group:a[D],push:c[D],pop:u[D],tokenTypeIdx:o[D],tokenType:i[D]}})});var y=!0,B=[];return e.safeMode||t("First Char Optimization",function(){B=(0,xe.reduce)(i,function(v,D,T){if(typeof D.PATTERN=="string"){var H=D.PATTERN.charCodeAt(0),j=Lv(H);Fv(v,j,C[T])}else if((0,xe.isArray)(D.START_CHARS_HINT)){var $;(0,xe.forEach)(D.START_CHARS_HINT,function(W){var _=typeof W=="string"?W.charCodeAt(0):W,A=Lv(_);$!==A&&($=A,Fv(v,A,C[T]))})}else if((0,xe.isRegExp)(D.PATTERN))if(D.PATTERN.unicode)y=!1,e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" Unable to analyze < "+D.PATTERN.toString()+` > pattern. -`)+` The regexp unicode flag is not currently supported by the regexp-to-ast library. - This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{var V=(0,Zg.getOptimizedStartCodesIndices)(D.PATTERN,e.ensureOptimizations);(0,xe.isEmpty)(V)&&(y=!1),(0,xe.forEach)(V,function(W){Fv(v,W,C[T])})}else e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" TokenType: <"+D.name+`> is using a custom token pattern without providing parameter. -`)+` This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),y=!1;return v},[])}),t("ArrayPacking",function(){B=(0,xe.packArray)(B)}),{emptyGroups:p,patternIdxToConfig:C,charCodeToPatternIdxToConfig:B,hasCustom:n,canBeOptimized:y}}Ve.analyzeTokenTypes=kEe;function REe(r,e){var t=[],i=VY(r);t=t.concat(i.errors);var n=XY(i.valid),s=n.valid;return t=t.concat(n.errors),t=t.concat(FEe(s)),t=t.concat(rj(s)),t=t.concat(ij(s,e)),t=t.concat(nj(s)),t}Ve.validatePatterns=REe;function FEe(r){var e=[],t=(0,xe.filter)(r,function(i){return(0,xe.isRegExp)(i[ko])});return e=e.concat(ZY(t)),e=e.concat($Y(t)),e=e.concat(ej(t)),e=e.concat(tj(t)),e=e.concat(_Y(t)),e}function VY(r){var e=(0,xe.filter)(r,function(n){return!(0,xe.has)(n,ko)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- missing static 'PATTERN' property",type:ir.LexerDefinitionErrorType.MISSING_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findMissingPatterns=VY;function XY(r){var e=(0,xe.filter)(r,function(n){var s=n[ko];return!(0,xe.isRegExp)(s)&&!(0,xe.isFunction)(s)&&!(0,xe.has)(s,"exec")&&!(0,xe.isString)(s)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:ir.LexerDefinitionErrorType.INVALID_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findInvalidPatterns=XY;var NEe=/[^\\][\$]/;function ZY(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitEndAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return NEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain end of input anchor '$' - See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.EOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findEndOfInputAnchor=ZY;function _Y(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n.test("")}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' must not match an empty string",type:ir.LexerDefinitionErrorType.EMPTY_MATCH_PATTERN,tokenTypes:[i]}});return t}Ve.findEmptyMatchRegExps=_Y;var TEe=/[^\\[][\^]|^\^/;function $Y(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitStartAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return TEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain start of input anchor '^' - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.SOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findStartOfInputAnchor=$Y;function ej(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n instanceof RegExp&&(n.multiline||n.global)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:ir.LexerDefinitionErrorType.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[i]}});return t}Ve.findUnsupportedFlags=ej;function tj(r){var e=[],t=(0,xe.map)(r,function(s){return(0,xe.reduce)(r,function(o,a){return s.PATTERN.source===a.PATTERN.source&&!(0,xe.contains)(e,a)&&a.PATTERN!==ir.Lexer.NA&&(e.push(a),o.push(a)),o},[])});t=(0,xe.compact)(t);var i=(0,xe.filter)(t,function(s){return s.length>1}),n=(0,xe.map)(i,function(s){var o=(0,xe.map)(s,function(l){return l.name}),a=(0,xe.first)(s).PATTERN;return{message:"The same RegExp pattern ->"+a+"<-"+("has been used in all of the following Token Types: "+o.join(", ")+" <-"),type:ir.LexerDefinitionErrorType.DUPLICATE_PATTERNS_FOUND,tokenTypes:s}});return n}Ve.findDuplicatePatterns=tj;function rj(r){var e=(0,xe.filter)(r,function(i){if(!(0,xe.has)(i,"GROUP"))return!1;var n=i.GROUP;return n!==ir.Lexer.SKIPPED&&n!==ir.Lexer.NA&&!(0,xe.isString)(n)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:ir.LexerDefinitionErrorType.INVALID_GROUP_TYPE_FOUND,tokenTypes:[i]}});return t}Ve.findInvalidGroupType=rj;function ij(r,e){var t=(0,xe.filter)(r,function(n){return n.PUSH_MODE!==void 0&&!(0,xe.contains)(e,n.PUSH_MODE)}),i=(0,xe.map)(t,function(n){var s="Token Type: ->"+n.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+n.PUSH_MODE+"<-which does not exist";return{message:s,type:ir.LexerDefinitionErrorType.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[n]}});return i}Ve.findModesThatDoNotExist=ij;function nj(r){var e=[],t=(0,xe.reduce)(r,function(i,n,s){var o=n.PATTERN;return o===ir.Lexer.NA||((0,xe.isString)(o)?i.push({str:o,idx:s,tokenType:n}):(0,xe.isRegExp)(o)&&MEe(o)&&i.push({str:o.source,idx:s,tokenType:n})),i},[]);return(0,xe.forEach)(r,function(i,n){(0,xe.forEach)(t,function(s){var o=s.str,a=s.idx,l=s.tokenType;if(n"+i.name+"<-")+`in the lexer's definition. -See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:c,type:ir.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenTypes:[i,l]})}})}),e}Ve.findUnreachablePatterns=nj;function LEe(r,e){if((0,xe.isRegExp)(e)){var t=e.exec(r);return t!==null&&t.index===0}else{if((0,xe.isFunction)(e))return e(r,0,[],{});if((0,xe.has)(e,"exec"))return e.exec(r,0,[],{});if(typeof e=="string")return e===r;throw Error("non exhaustive match")}}function MEe(r){var e=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return(0,xe.find)(e,function(t){return r.source.indexOf(t)!==-1})===void 0}function Nv(r){var e=r.ignoreCase?"i":"";return new RegExp("^(?:"+r.source+")",e)}Ve.addStartOfInput=Nv;function Tv(r){var e=r.ignoreCase?"iy":"y";return new RegExp(""+r.source,e)}Ve.addStickyFlag=Tv;function OEe(r,e,t){var i=[];return(0,xe.has)(r,Ve.DEFAULT_MODE)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.DEFAULT_MODE+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),(0,xe.has)(r,Ve.MODES)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.MODES+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,xe.has)(r,Ve.MODES)&&(0,xe.has)(r,Ve.DEFAULT_MODE)&&!(0,xe.has)(r.modes,r.defaultMode)&&i.push({message:"A MultiMode Lexer cannot be initialized with a "+Ve.DEFAULT_MODE+": <"+r.defaultMode+`>which does not exist -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,xe.has)(r,Ve.MODES)&&(0,xe.forEach)(r.modes,function(n,s){(0,xe.forEach)(n,function(o,a){(0,xe.isUndefined)(o)&&i.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:"+("<"+s+"> at index: <"+a+`> -`),type:ir.LexerDefinitionErrorType.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})})}),i}Ve.performRuntimeChecks=OEe;function KEe(r,e,t){var i=[],n=!1,s=(0,xe.compact)((0,xe.flatten)((0,xe.mapValues)(r.modes,function(l){return l}))),o=(0,xe.reject)(s,function(l){return l[ko]===ir.Lexer.NA}),a=Aj(t);return e&&(0,xe.forEach)(o,function(l){var c=oj(l,a);if(c!==!1){var u=aj(l,c),g={message:u,type:c.issue,tokenType:l};i.push(g)}else(0,xe.has)(l,"LINE_BREAKS")?l.LINE_BREAKS===!0&&(n=!0):(0,Zg.canMatchCharCode)(a,l.PATTERN)&&(n=!0)}),e&&!n&&i.push({message:`Warning: No LINE_BREAKS Found. - This Lexer has been defined to track line and column information, - But none of the Token Types can be identified as matching a line terminator. - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS - for details.`,type:ir.LexerDefinitionErrorType.NO_LINE_BREAKS_FLAGS}),i}Ve.performWarningRuntimeChecks=KEe;function UEe(r){var e={},t=(0,xe.keys)(r);return(0,xe.forEach)(t,function(i){var n=r[i];if((0,xe.isArray)(n))e[i]=[];else throw Error("non exhaustive match")}),e}Ve.cloneEmptyGroups=UEe;function Mv(r){var e=r.PATTERN;if((0,xe.isRegExp)(e))return!1;if((0,xe.isFunction)(e))return!0;if((0,xe.has)(e,"exec"))return!0;if((0,xe.isString)(e))return!1;throw Error("non exhaustive match")}Ve.isCustomPattern=Mv;function sj(r){return(0,xe.isString)(r)&&r.length===1?r.charCodeAt(0):!1}Ve.isShortPattern=sj;Ve.LineTerminatorOptimizedTester={test:function(r){for(var e=r.length,t=this.lastIndex;t Token Type -`)+(" Root cause: "+e.errMsg+`. -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(e.issue===ir.LexerDefinitionErrorType.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. -`+(" The problem is in the <"+r.name+`> Token Type -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}Ve.buildLineBreakIssueMessage=aj;function Aj(r){var e=(0,xe.map)(r,function(t){return(0,xe.isString)(t)&&t.length>0?t.charCodeAt(0):t});return e}function Fv(r,e,t){r[e]===void 0?r[e]=[t]:r[e].push(t)}Ve.minOptimizationVal=256;var ny=[];function Lv(r){return r255?255+~~(r/255):r}}});var _g=w(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.isTokenType=Nt.hasExtendingTokensTypesMapProperty=Nt.hasExtendingTokensTypesProperty=Nt.hasCategoriesProperty=Nt.hasShortKeyProperty=Nt.singleAssignCategoriesToksMap=Nt.assignCategoriesMapProp=Nt.assignCategoriesTokensProp=Nt.assignTokenDefaultProps=Nt.expandCategories=Nt.augmentTokenTypes=Nt.tokenIdxToClass=Nt.tokenShortNameIdx=Nt.tokenStructuredMatcherNoCategories=Nt.tokenStructuredMatcher=void 0;var Zr=Gt();function GEe(r,e){var t=r.tokenTypeIdx;return t===e.tokenTypeIdx?!0:e.isParent===!0&&e.categoryMatchesMap[t]===!0}Nt.tokenStructuredMatcher=GEe;function YEe(r,e){return r.tokenTypeIdx===e.tokenTypeIdx}Nt.tokenStructuredMatcherNoCategories=YEe;Nt.tokenShortNameIdx=1;Nt.tokenIdxToClass={};function jEe(r){var e=lj(r);cj(e),gj(e),uj(e),(0,Zr.forEach)(e,function(t){t.isParent=t.categoryMatches.length>0})}Nt.augmentTokenTypes=jEe;function lj(r){for(var e=(0,Zr.cloneArr)(r),t=r,i=!0;i;){t=(0,Zr.compact)((0,Zr.flatten)((0,Zr.map)(t,function(s){return s.CATEGORIES})));var n=(0,Zr.difference)(t,e);e=e.concat(n),(0,Zr.isEmpty)(n)?i=!1:t=n}return e}Nt.expandCategories=lj;function cj(r){(0,Zr.forEach)(r,function(e){fj(e)||(Nt.tokenIdxToClass[Nt.tokenShortNameIdx]=e,e.tokenTypeIdx=Nt.tokenShortNameIdx++),Ov(e)&&!(0,Zr.isArray)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),Ov(e)||(e.CATEGORIES=[]),hj(e)||(e.categoryMatches=[]),pj(e)||(e.categoryMatchesMap={})})}Nt.assignTokenDefaultProps=cj;function uj(r){(0,Zr.forEach)(r,function(e){e.categoryMatches=[],(0,Zr.forEach)(e.categoryMatchesMap,function(t,i){e.categoryMatches.push(Nt.tokenIdxToClass[i].tokenTypeIdx)})})}Nt.assignCategoriesTokensProp=uj;function gj(r){(0,Zr.forEach)(r,function(e){Kv([],e)})}Nt.assignCategoriesMapProp=gj;function Kv(r,e){(0,Zr.forEach)(r,function(t){e.categoryMatchesMap[t.tokenTypeIdx]=!0}),(0,Zr.forEach)(e.CATEGORIES,function(t){var i=r.concat(e);(0,Zr.contains)(i,t)||Kv(i,t)})}Nt.singleAssignCategoriesToksMap=Kv;function fj(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.hasShortKeyProperty=fj;function Ov(r){return(0,Zr.has)(r,"CATEGORIES")}Nt.hasCategoriesProperty=Ov;function hj(r){return(0,Zr.has)(r,"categoryMatches")}Nt.hasExtendingTokensTypesProperty=hj;function pj(r){return(0,Zr.has)(r,"categoryMatchesMap")}Nt.hasExtendingTokensTypesMapProperty=pj;function qEe(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.isTokenType=qEe});var Uv=w(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.defaultLexerErrorProvider=void 0;sy.defaultLexerErrorProvider={buildUnableToPopLexerModeMessage:function(r){return"Unable to pop Lexer Mode after encountering Token ->"+r.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(r,e,t,i,n){return"unexpected character: ->"+r.charAt(e)+"<- at offset: "+e+","+(" skipped "+t+" characters.")}}});var Bd=w(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.Lexer=Cc.LexerDefinitionErrorType=void 0;var _s=Rv(),nr=Gt(),JEe=_g(),WEe=Uv(),zEe=ty(),VEe;(function(r){r[r.MISSING_PATTERN=0]="MISSING_PATTERN",r[r.INVALID_PATTERN=1]="INVALID_PATTERN",r[r.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",r[r.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",r[r.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",r[r.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",r[r.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",r[r.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",r[r.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",r[r.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",r[r.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",r[r.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",r[r.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",r[r.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",r[r.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",r[r.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",r[r.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK"})(VEe=Cc.LexerDefinitionErrorType||(Cc.LexerDefinitionErrorType={}));var bd={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` -`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:WEe.defaultLexerErrorProvider,traceInitPerf:!1,skipValidations:!1};Object.freeze(bd);var XEe=function(){function r(e,t){var i=this;if(t===void 0&&(t=bd),this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},typeof t=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. -a boolean 2nd argument is no longer supported`);this.config=(0,nr.merge)(bd,t);var n=this.config.traceInitPerf;n===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof n=="number"&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",function(){var s,o=!0;i.TRACE_INIT("Lexer Config handling",function(){if(i.config.lineTerminatorsPattern===bd.lineTerminatorsPattern)i.config.lineTerminatorsPattern=_s.LineTerminatorOptimizedTester;else if(i.config.lineTerminatorCharacters===bd.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');i.trackStartLines=/full|onlyStart/i.test(i.config.positionTracking),i.trackEndLines=/full/i.test(i.config.positionTracking),(0,nr.isArray)(e)?(s={modes:{}},s.modes[_s.DEFAULT_MODE]=(0,nr.cloneArr)(e),s[_s.DEFAULT_MODE]=_s.DEFAULT_MODE):(o=!1,s=(0,nr.cloneObj)(e))}),i.config.skipValidations===!1&&(i.TRACE_INIT("performRuntimeChecks",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.performRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))}),i.TRACE_INIT("performWarningRuntimeChecks",function(){i.lexerDefinitionWarning=i.lexerDefinitionWarning.concat((0,_s.performWarningRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))})),s.modes=s.modes?s.modes:{},(0,nr.forEach)(s.modes,function(u,g){s.modes[g]=(0,nr.reject)(u,function(f){return(0,nr.isUndefined)(f)})});var a=(0,nr.keys)(s.modes);if((0,nr.forEach)(s.modes,function(u,g){i.TRACE_INIT("Mode: <"+g+"> processing",function(){if(i.modes.push(g),i.config.skipValidations===!1&&i.TRACE_INIT("validatePatterns",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.validatePatterns)(u,a))}),(0,nr.isEmpty)(i.lexerDefinitionErrors)){(0,JEe.augmentTokenTypes)(u);var f;i.TRACE_INIT("analyzeTokenTypes",function(){f=(0,_s.analyzeTokenTypes)(u,{lineTerminatorCharacters:i.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:i.TRACE_INIT.bind(i)})}),i.patternIdxToConfig[g]=f.patternIdxToConfig,i.charCodeToPatternIdxToConfig[g]=f.charCodeToPatternIdxToConfig,i.emptyGroups=(0,nr.merge)(i.emptyGroups,f.emptyGroups),i.hasCustom=f.hasCustom||i.hasCustom,i.canModeBeOptimized[g]=f.canBeOptimized}})}),i.defaultMode=s.defaultMode,!(0,nr.isEmpty)(i.lexerDefinitionErrors)&&!i.config.deferDefinitionErrorsHandling){var l=(0,nr.map)(i.lexerDefinitionErrors,function(u){return u.message}),c=l.join(`----------------------- -`);throw new Error(`Errors detected in definition of Lexer: -`+c)}(0,nr.forEach)(i.lexerDefinitionWarning,function(u){(0,nr.PRINT_WARNING)(u.message)}),i.TRACE_INIT("Choosing sub-methods implementations",function(){if(_s.SUPPORT_STICKY?(i.chopInput=nr.IDENTITY,i.match=i.matchWithTest):(i.updateLastIndex=nr.NOOP,i.match=i.matchWithExec),o&&(i.handleModes=nr.NOOP),i.trackStartLines===!1&&(i.computeNewColumn=nr.IDENTITY),i.trackEndLines===!1&&(i.updateTokenEndLineColumnLocation=nr.NOOP),/full/i.test(i.config.positionTracking))i.createTokenInstance=i.createFullToken;else if(/onlyStart/i.test(i.config.positionTracking))i.createTokenInstance=i.createStartOnlyToken;else if(/onlyOffset/i.test(i.config.positionTracking))i.createTokenInstance=i.createOffsetOnlyToken;else throw Error('Invalid config option: "'+i.config.positionTracking+'"');i.hasCustom?(i.addToken=i.addTokenUsingPush,i.handlePayload=i.handlePayloadWithCustom):(i.addToken=i.addTokenUsingMemberAccess,i.handlePayload=i.handlePayloadNoCustom)}),i.TRACE_INIT("Failed Optimization Warnings",function(){var u=(0,nr.reduce)(i.canModeBeOptimized,function(g,f,h){return f===!1&&g.push(h),g},[]);if(t.ensureOptimizations&&!(0,nr.isEmpty)(u))throw Error("Lexer Modes: < "+u.join(", ")+` > cannot be optimized. - Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. - Or inspect the console log for details on how to resolve these issues.`)}),i.TRACE_INIT("clearRegExpParserCache",function(){(0,zEe.clearRegExpParserCache)()}),i.TRACE_INIT("toFastProperties",function(){(0,nr.toFastProperties)(i)})})}return r.prototype.tokenize=function(e,t){if(t===void 0&&(t=this.defaultMode),!(0,nr.isEmpty)(this.lexerDefinitionErrors)){var i=(0,nr.map)(this.lexerDefinitionErrors,function(o){return o.message}),n=i.join(`----------------------- -`);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: -`+n)}var s=this.tokenizeInternal(e,t);return s},r.prototype.tokenizeInternal=function(e,t){var i=this,n,s,o,a,l,c,u,g,f,h,p,C,y,B,v,D,T=e,H=T.length,j=0,$=0,V=this.hasCustom?0:Math.floor(e.length/10),W=new Array(V),_=[],A=this.trackStartLines?1:void 0,Ae=this.trackStartLines?1:void 0,ge=(0,_s.cloneEmptyGroups)(this.emptyGroups),re=this.trackStartLines,M=this.config.lineTerminatorsPattern,F=0,ue=[],pe=[],ke=[],Fe=[];Object.freeze(Fe);var Ne=void 0;function oe(){return ue}function le(pr){var Ii=(0,_s.charCodeToOptimizedIndex)(pr),rs=pe[Ii];return rs===void 0?Fe:rs}var Be=function(pr){if(ke.length===1&&pr.tokenType.PUSH_MODE===void 0){var Ii=i.config.errorMessageProvider.buildUnableToPopLexerModeMessage(pr);_.push({offset:pr.startOffset,line:pr.startLine!==void 0?pr.startLine:void 0,column:pr.startColumn!==void 0?pr.startColumn:void 0,length:pr.image.length,message:Ii})}else{ke.pop();var rs=(0,nr.last)(ke);ue=i.patternIdxToConfig[rs],pe=i.charCodeToPatternIdxToConfig[rs],F=ue.length;var fa=i.canModeBeOptimized[rs]&&i.config.safeMode===!1;pe&&fa?Ne=le:Ne=oe}};function fe(pr){ke.push(pr),pe=this.charCodeToPatternIdxToConfig[pr],ue=this.patternIdxToConfig[pr],F=ue.length,F=ue.length;var Ii=this.canModeBeOptimized[pr]&&this.config.safeMode===!1;pe&&Ii?Ne=le:Ne=oe}fe.call(this,t);for(var ae;jc.length){c=a,u=g,ae=_e;break}}}break}}if(c!==null){if(f=c.length,h=ae.group,h!==void 0&&(p=ae.tokenTypeIdx,C=this.createTokenInstance(c,j,p,ae.tokenType,A,Ae,f),this.handlePayload(C,u),h===!1?$=this.addToken(W,$,C):ge[h].push(C)),e=this.chopInput(e,f),j=j+f,Ae=this.computeNewColumn(Ae,f),re===!0&&ae.canLineTerminator===!0){var It=0,Mr=void 0,ii=void 0;M.lastIndex=0;do Mr=M.test(c),Mr===!0&&(ii=M.lastIndex-1,It++);while(Mr===!0);It!==0&&(A=A+It,Ae=f-ii,this.updateTokenEndLineColumnLocation(C,h,ii,It,A,Ae,f))}this.handleModes(ae,Be,fe,C)}else{for(var gi=j,hr=A,fi=Ae,ni=!1;!ni&&j <"+e+">");var n=(0,nr.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",r.NA=/NOT_APPLICABLE/,r}();Cc.Lexer=XEe});var TA=w(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.tokenMatcher=Qi.createTokenInstance=Qi.EOF=Qi.createToken=Qi.hasTokenLabel=Qi.tokenName=Qi.tokenLabel=void 0;var $s=Gt(),ZEe=Bd(),Hv=_g();function _Ee(r){return bj(r)?r.LABEL:r.name}Qi.tokenLabel=_Ee;function $Ee(r){return r.name}Qi.tokenName=$Ee;function bj(r){return(0,$s.isString)(r.LABEL)&&r.LABEL!==""}Qi.hasTokenLabel=bj;var eIe="parent",dj="categories",Cj="label",mj="group",Ej="push_mode",Ij="pop_mode",yj="longer_alt",wj="line_breaks",Bj="start_chars_hint";function Qj(r){return tIe(r)}Qi.createToken=Qj;function tIe(r){var e=r.pattern,t={};if(t.name=r.name,(0,$s.isUndefined)(e)||(t.PATTERN=e),(0,$s.has)(r,eIe))throw`The parent property is no longer supported. -See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return(0,$s.has)(r,dj)&&(t.CATEGORIES=r[dj]),(0,Hv.augmentTokenTypes)([t]),(0,$s.has)(r,Cj)&&(t.LABEL=r[Cj]),(0,$s.has)(r,mj)&&(t.GROUP=r[mj]),(0,$s.has)(r,Ij)&&(t.POP_MODE=r[Ij]),(0,$s.has)(r,Ej)&&(t.PUSH_MODE=r[Ej]),(0,$s.has)(r,yj)&&(t.LONGER_ALT=r[yj]),(0,$s.has)(r,wj)&&(t.LINE_BREAKS=r[wj]),(0,$s.has)(r,Bj)&&(t.START_CHARS_HINT=r[Bj]),t}Qi.EOF=Qj({name:"EOF",pattern:ZEe.Lexer.NA});(0,Hv.augmentTokenTypes)([Qi.EOF]);function rIe(r,e,t,i,n,s,o,a){return{image:e,startOffset:t,endOffset:i,startLine:n,endLine:s,startColumn:o,endColumn:a,tokenTypeIdx:r.tokenTypeIdx,tokenType:r}}Qi.createTokenInstance=rIe;function iIe(r,e){return(0,Hv.tokenStructuredMatcher)(r,e)}Qi.tokenMatcher=iIe});var mn=w(zt=>{"use strict";var Pa=zt&&zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(zt,"__esModule",{value:!0});zt.serializeProduction=zt.serializeGrammar=zt.Terminal=zt.Alternation=zt.RepetitionWithSeparator=zt.Repetition=zt.RepetitionMandatoryWithSeparator=zt.RepetitionMandatory=zt.Option=zt.Alternative=zt.Rule=zt.NonTerminal=zt.AbstractProduction=void 0;var Ar=Gt(),nIe=TA(),Ro=function(){function r(e){this._definition=e}return Object.defineProperty(r.prototype,"definition",{get:function(){return this._definition},set:function(e){this._definition=e},enumerable:!1,configurable:!0}),r.prototype.accept=function(e){e.visit(this),(0,Ar.forEach)(this.definition,function(t){t.accept(e)})},r}();zt.AbstractProduction=Ro;var Sj=function(r){Pa(e,r);function e(t){var i=r.call(this,[])||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this.referencedRule!==void 0?this.referencedRule.definition:[]},set:function(t){},enumerable:!1,configurable:!0}),e.prototype.accept=function(t){t.visit(this)},e}(Ro);zt.NonTerminal=Sj;var vj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.orgText="",(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Rule=vj;var xj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.ignoreAmbiguities=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Alternative=xj;var Pj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Option=Pj;var Dj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatory=Dj;var kj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatoryWithSeparator=kj;var Rj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Repetition=Rj;var Fj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionWithSeparator=Fj;var Nj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,i.ignoreAmbiguities=!1,i.hasPredicates=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this._definition},set:function(t){this._definition=t},enumerable:!1,configurable:!0}),e}(Ro);zt.Alternation=Nj;var oy=function(){function r(e){this.idx=1,(0,Ar.assign)(this,(0,Ar.pick)(e,function(t){return t!==void 0}))}return r.prototype.accept=function(e){e.visit(this)},r}();zt.Terminal=oy;function sIe(r){return(0,Ar.map)(r,Qd)}zt.serializeGrammar=sIe;function Qd(r){function e(s){return(0,Ar.map)(s,Qd)}if(r instanceof Sj){var t={type:"NonTerminal",name:r.nonTerminalName,idx:r.idx};return(0,Ar.isString)(r.label)&&(t.label=r.label),t}else{if(r instanceof xj)return{type:"Alternative",definition:e(r.definition)};if(r instanceof Pj)return{type:"Option",idx:r.idx,definition:e(r.definition)};if(r instanceof Dj)return{type:"RepetitionMandatory",idx:r.idx,definition:e(r.definition)};if(r instanceof kj)return{type:"RepetitionMandatoryWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Fj)return{type:"RepetitionWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Rj)return{type:"Repetition",idx:r.idx,definition:e(r.definition)};if(r instanceof Nj)return{type:"Alternation",idx:r.idx,definition:e(r.definition)};if(r instanceof oy){var i={type:"Terminal",name:r.terminalType.name,label:(0,nIe.tokenLabel)(r.terminalType),idx:r.idx};(0,Ar.isString)(r.label)&&(i.terminalLabel=r.label);var n=r.terminalType.PATTERN;return r.terminalType.PATTERN&&(i.pattern=(0,Ar.isRegExp)(n)?n.source:n),i}else{if(r instanceof vj)return{type:"Rule",name:r.name,orgText:r.orgText,definition:e(r.definition)};throw Error("non exhaustive match")}}}zt.serializeProduction=Qd});var Ay=w(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.RestWalker=void 0;var Gv=Gt(),En=mn(),oIe=function(){function r(){}return r.prototype.walk=function(e,t){var i=this;t===void 0&&(t=[]),(0,Gv.forEach)(e.definition,function(n,s){var o=(0,Gv.drop)(e.definition,s+1);if(n instanceof En.NonTerminal)i.walkProdRef(n,o,t);else if(n instanceof En.Terminal)i.walkTerminal(n,o,t);else if(n instanceof En.Alternative)i.walkFlat(n,o,t);else if(n instanceof En.Option)i.walkOption(n,o,t);else if(n instanceof En.RepetitionMandatory)i.walkAtLeastOne(n,o,t);else if(n instanceof En.RepetitionMandatoryWithSeparator)i.walkAtLeastOneSep(n,o,t);else if(n instanceof En.RepetitionWithSeparator)i.walkManySep(n,o,t);else if(n instanceof En.Repetition)i.walkMany(n,o,t);else if(n instanceof En.Alternation)i.walkOr(n,o,t);else throw Error("non exhaustive match")})},r.prototype.walkTerminal=function(e,t,i){},r.prototype.walkProdRef=function(e,t,i){},r.prototype.walkFlat=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkOption=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkAtLeastOne=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkAtLeastOneSep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkMany=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkManySep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkOr=function(e,t,i){var n=this,s=t.concat(i);(0,Gv.forEach)(e.definition,function(o){var a=new En.Alternative({definition:[o]});n.walk(a,s)})},r}();ay.RestWalker=oIe;function Tj(r,e,t){var i=[new En.Option({definition:[new En.Terminal({terminalType:r.separator})].concat(r.definition)})],n=i.concat(e,t);return n}});var $g=w(ly=>{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.GAstVisitor=void 0;var Fo=mn(),aIe=function(){function r(){}return r.prototype.visit=function(e){var t=e;switch(t.constructor){case Fo.NonTerminal:return this.visitNonTerminal(t);case Fo.Alternative:return this.visitAlternative(t);case Fo.Option:return this.visitOption(t);case Fo.RepetitionMandatory:return this.visitRepetitionMandatory(t);case Fo.RepetitionMandatoryWithSeparator:return this.visitRepetitionMandatoryWithSeparator(t);case Fo.RepetitionWithSeparator:return this.visitRepetitionWithSeparator(t);case Fo.Repetition:return this.visitRepetition(t);case Fo.Alternation:return this.visitAlternation(t);case Fo.Terminal:return this.visitTerminal(t);case Fo.Rule:return this.visitRule(t);default:throw Error("non exhaustive match")}},r.prototype.visitNonTerminal=function(e){},r.prototype.visitAlternative=function(e){},r.prototype.visitOption=function(e){},r.prototype.visitRepetition=function(e){},r.prototype.visitRepetitionMandatory=function(e){},r.prototype.visitRepetitionMandatoryWithSeparator=function(e){},r.prototype.visitRepetitionWithSeparator=function(e){},r.prototype.visitAlternation=function(e){},r.prototype.visitTerminal=function(e){},r.prototype.visitRule=function(e){},r}();ly.GAstVisitor=aIe});var vd=w(Oi=>{"use strict";var AIe=Oi&&Oi.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Oi,"__esModule",{value:!0});Oi.collectMethods=Oi.DslMethodsCollectorVisitor=Oi.getProductionDslName=Oi.isBranchingProd=Oi.isOptionalProd=Oi.isSequenceProd=void 0;var Sd=Gt(),br=mn(),lIe=$g();function cIe(r){return r instanceof br.Alternative||r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionMandatory||r instanceof br.RepetitionMandatoryWithSeparator||r instanceof br.RepetitionWithSeparator||r instanceof br.Terminal||r instanceof br.Rule}Oi.isSequenceProd=cIe;function Yv(r,e){e===void 0&&(e=[]);var t=r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionWithSeparator;return t?!0:r instanceof br.Alternation?(0,Sd.some)(r.definition,function(i){return Yv(i,e)}):r instanceof br.NonTerminal&&(0,Sd.contains)(e,r)?!1:r instanceof br.AbstractProduction?(r instanceof br.NonTerminal&&e.push(r),(0,Sd.every)(r.definition,function(i){return Yv(i,e)})):!1}Oi.isOptionalProd=Yv;function uIe(r){return r instanceof br.Alternation}Oi.isBranchingProd=uIe;function gIe(r){if(r instanceof br.NonTerminal)return"SUBRULE";if(r instanceof br.Option)return"OPTION";if(r instanceof br.Alternation)return"OR";if(r instanceof br.RepetitionMandatory)return"AT_LEAST_ONE";if(r instanceof br.RepetitionMandatoryWithSeparator)return"AT_LEAST_ONE_SEP";if(r instanceof br.RepetitionWithSeparator)return"MANY_SEP";if(r instanceof br.Repetition)return"MANY";if(r instanceof br.Terminal)return"CONSUME";throw Error("non exhaustive match")}Oi.getProductionDslName=gIe;var Lj=function(r){AIe(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.separator="-",t.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},t}return e.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},e.prototype.visitTerminal=function(t){var i=t.terminalType.name+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitNonTerminal=function(t){var i=t.nonTerminalName+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitOption=function(t){this.dslMethods.option.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.dslMethods.repetitionWithSeparator.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.dslMethods.repetitionMandatory.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.dslMethods.repetitionMandatoryWithSeparator.push(t)},e.prototype.visitRepetition=function(t){this.dslMethods.repetition.push(t)},e.prototype.visitAlternation=function(t){this.dslMethods.alternation.push(t)},e}(lIe.GAstVisitor);Oi.DslMethodsCollectorVisitor=Lj;var cy=new Lj;function fIe(r){cy.reset(),r.accept(cy);var e=cy.dslMethods;return cy.reset(),e}Oi.collectMethods=fIe});var qv=w(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.firstForTerminal=No.firstForBranching=No.firstForSequence=No.first=void 0;var uy=Gt(),Mj=mn(),jv=vd();function gy(r){if(r instanceof Mj.NonTerminal)return gy(r.referencedRule);if(r instanceof Mj.Terminal)return Uj(r);if((0,jv.isSequenceProd)(r))return Oj(r);if((0,jv.isBranchingProd)(r))return Kj(r);throw Error("non exhaustive match")}No.first=gy;function Oj(r){for(var e=[],t=r.definition,i=0,n=t.length>i,s,o=!0;n&&o;)s=t[i],o=(0,jv.isOptionalProd)(s),e=e.concat(gy(s)),i=i+1,n=t.length>i;return(0,uy.uniq)(e)}No.firstForSequence=Oj;function Kj(r){var e=(0,uy.map)(r.definition,function(t){return gy(t)});return(0,uy.uniq)((0,uy.flatten)(e))}No.firstForBranching=Kj;function Uj(r){return[r.terminalType]}No.firstForTerminal=Uj});var Jv=w(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.IN=void 0;fy.IN="_~IN~_"});var qj=w(fs=>{"use strict";var hIe=fs&&fs.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(fs,"__esModule",{value:!0});fs.buildInProdFollowPrefix=fs.buildBetweenProdsFollowPrefix=fs.computeAllProdsFollows=fs.ResyncFollowsWalker=void 0;var pIe=Ay(),dIe=qv(),Hj=Gt(),Gj=Jv(),CIe=mn(),Yj=function(r){hIe(e,r);function e(t){var i=r.call(this)||this;return i.topProd=t,i.follows={},i}return e.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},e.prototype.walkTerminal=function(t,i,n){},e.prototype.walkProdRef=function(t,i,n){var s=jj(t.referencedRule,t.idx)+this.topProd.name,o=i.concat(n),a=new CIe.Alternative({definition:o}),l=(0,dIe.first)(a);this.follows[s]=l},e}(pIe.RestWalker);fs.ResyncFollowsWalker=Yj;function mIe(r){var e={};return(0,Hj.forEach)(r,function(t){var i=new Yj(t).startWalking();(0,Hj.assign)(e,i)}),e}fs.computeAllProdsFollows=mIe;function jj(r,e){return r.name+e+Gj.IN}fs.buildBetweenProdsFollowPrefix=jj;function EIe(r){var e=r.terminalType.name;return e+r.idx+Gj.IN}fs.buildInProdFollowPrefix=EIe});var xd=w(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.defaultGrammarValidatorErrorProvider=Da.defaultGrammarResolverErrorProvider=Da.defaultParserErrorProvider=void 0;var ef=TA(),IIe=Gt(),eo=Gt(),Wv=mn(),Jj=vd();Da.defaultParserErrorProvider={buildMismatchTokenMessage:function(r){var e=r.expected,t=r.actual,i=r.previous,n=r.ruleName,s=(0,ef.hasTokenLabel)(e),o=s?"--> "+(0,ef.tokenLabel)(e)+" <--":"token of type --> "+e.name+" <--",a="Expecting "+o+" but found --> '"+t.image+"' <--";return a},buildNotAllInputParsedMessage:function(r){var e=r.firstRedundant,t=r.ruleName;return"Redundant input, expecting EOF but found: "+e.image},buildNoViableAltMessage:function(r){var e=r.expectedPathsPerAlt,t=r.actual,i=r.previous,n=r.customUserDescription,s=r.ruleName,o="Expecting: ",a=(0,eo.first)(t).image,l=` -but found: '`+a+"'";if(n)return o+n+l;var c=(0,eo.reduce)(e,function(h,p){return h.concat(p)},[]),u=(0,eo.map)(c,function(h){return"["+(0,eo.map)(h,function(p){return(0,ef.tokenLabel)(p)}).join(", ")+"]"}),g=(0,eo.map)(u,function(h,p){return" "+(p+1)+". "+h}),f=`one of these possible Token sequences: -`+g.join(` -`);return o+f+l},buildEarlyExitMessage:function(r){var e=r.expectedIterationPaths,t=r.actual,i=r.customUserDescription,n=r.ruleName,s="Expecting: ",o=(0,eo.first)(t).image,a=` -but found: '`+o+"'";if(i)return s+i+a;var l=(0,eo.map)(e,function(u){return"["+(0,eo.map)(u,function(g){return(0,ef.tokenLabel)(g)}).join(",")+"]"}),c=`expecting at least one iteration which starts with one of these possible Token sequences:: - `+("<"+l.join(" ,")+">");return s+c+a}};Object.freeze(Da.defaultParserErrorProvider);Da.defaultGrammarResolverErrorProvider={buildRuleNotFoundError:function(r,e){var t="Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<- -inside top level rule: ->`+r.name+"<-";return t}};Da.defaultGrammarValidatorErrorProvider={buildDuplicateFoundError:function(r,e){function t(u){return u instanceof Wv.Terminal?u.terminalType.name:u instanceof Wv.NonTerminal?u.nonTerminalName:""}var i=r.name,n=(0,eo.first)(e),s=n.idx,o=(0,Jj.getProductionDslName)(n),a=t(n),l=s>0,c="->"+o+(l?s:"")+"<- "+(a?"with argument: ->"+a+"<-":"")+` - appears more than once (`+e.length+" times) in the top level rule: ->"+i+`<-. - For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES - `;return c=c.replace(/[ \t]+/g," "),c=c.replace(/\s\s+/g,` -`),c},buildNamespaceConflictError:function(r){var e=`Namespace conflict found in grammar. -`+("The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+r.name+`>. -`)+`To resolve this make sure each Terminal and Non-Terminal names are unique -This is easy to accomplish by using the convention that Terminal names start with an uppercase letter -and Non-Terminal names start with a lower case letter.`;return e},buildAlternationPrefixAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous alternatives: <"+r.ambiguityIndices.join(" ,")+`> due to common lookahead prefix -`+("in inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`)+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX -For Further details.`;return i},buildAlternationAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous Alternatives Detected: <"+r.ambiguityIndices.join(" ,")+"> in "+(" inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`);return i=i+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES -For Further details.`,i},buildEmptyRepetitionError:function(r){var e=(0,Jj.getProductionDslName)(r.repetition);r.repetition.idx!==0&&(e+=r.repetition.idx);var t="The repetition <"+e+"> within Rule <"+r.topLevelRule.name+`> can never consume any tokens. -This could lead to an infinite loop.`;return t},buildTokenNameError:function(r){return"deprecated"},buildEmptyAlternationError:function(r){var e="Ambiguous empty alternative: <"+(r.emptyChoiceIdx+1)+">"+(" in inside <"+r.topLevelRule.name+`> Rule. -`)+"Only the last alternative may be an empty alternative.";return e},buildTooManyAlternativesError:function(r){var e=`An Alternation cannot have more than 256 alternatives: -`+(" inside <"+r.topLevelRule.name+`> Rule. - has `+(r.alternation.definition.length+1)+" alternatives.");return e},buildLeftRecursionError:function(r){var e=r.topLevelRule.name,t=IIe.map(r.leftRecursionPath,function(s){return s.name}),i=e+" --> "+t.concat([e]).join(" --> "),n=`Left Recursion found in grammar. -`+("rule: <"+e+`> can be invoked from itself (directly or indirectly) -`)+(`without consuming any Tokens. The grammar path that causes this is: - `+i+` -`)+` To fix this refactor your grammar to remove the left recursion. -see: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.`;return n},buildInvalidRuleNameError:function(r){return"deprecated"},buildDuplicateRuleNameError:function(r){var e;r.topLevelRule instanceof Wv.Rule?e=r.topLevelRule.name:e=r.topLevelRule;var t="Duplicate definition, rule: ->"+e+"<- is already defined in the grammar: ->"+r.grammarName+"<-";return t}}});var Vj=w(LA=>{"use strict";var yIe=LA&&LA.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(LA,"__esModule",{value:!0});LA.GastRefResolverVisitor=LA.resolveGrammar=void 0;var wIe=jn(),Wj=Gt(),BIe=$g();function bIe(r,e){var t=new zj(r,e);return t.resolveRefs(),t.errors}LA.resolveGrammar=bIe;var zj=function(r){yIe(e,r);function e(t,i){var n=r.call(this)||this;return n.nameToTopRule=t,n.errMsgProvider=i,n.errors=[],n}return e.prototype.resolveRefs=function(){var t=this;(0,Wj.forEach)((0,Wj.values)(this.nameToTopRule),function(i){t.currTopLevel=i,i.accept(t)})},e.prototype.visitNonTerminal=function(t){var i=this.nameToTopRule[t.nonTerminalName];if(i)t.referencedRule=i;else{var n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,t);this.errors.push({message:n,type:wIe.ParserDefinitionErrorType.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:t.nonTerminalName})}},e}(BIe.GAstVisitor);LA.GastRefResolverVisitor=zj});var Dd=w(Nr=>{"use strict";var mc=Nr&&Nr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Nr,"__esModule",{value:!0});Nr.nextPossibleTokensAfter=Nr.possiblePathsFrom=Nr.NextTerminalAfterAtLeastOneSepWalker=Nr.NextTerminalAfterAtLeastOneWalker=Nr.NextTerminalAfterManySepWalker=Nr.NextTerminalAfterManyWalker=Nr.AbstractNextTerminalAfterProductionWalker=Nr.NextAfterTokenWalker=Nr.AbstractNextPossibleTokensWalker=void 0;var Xj=Ay(),Kt=Gt(),QIe=qv(),kt=mn(),Zj=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topProd=t,n.path=i,n.possibleTokTypes=[],n.nextProductionName="",n.nextProductionOccurrence=0,n.found=!1,n.isAtEndOfPath=!1,n}return e.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=(0,Kt.cloneArr)(this.path.ruleStack).reverse(),this.occurrenceStack=(0,Kt.cloneArr)(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},e.prototype.walk=function(t,i){i===void 0&&(i=[]),this.found||r.prototype.walk.call(this,t,i)},e.prototype.walkProdRef=function(t,i,n){if(t.referencedRule.name===this.nextProductionName&&t.idx===this.nextProductionOccurrence){var s=i.concat(n);this.updateExpectedNext(),this.walk(t.referencedRule,s)}},e.prototype.updateExpectedNext=function(){(0,Kt.isEmpty)(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},e}(Xj.RestWalker);Nr.AbstractNextPossibleTokensWalker=Zj;var SIe=function(r){mc(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.path=i,n.nextTerminalName="",n.nextTerminalOccurrence=0,n.nextTerminalName=n.path.lastTok.name,n.nextTerminalOccurrence=n.path.lastTokOccurrence,n}return e.prototype.walkTerminal=function(t,i,n){if(this.isAtEndOfPath&&t.terminalType.name===this.nextTerminalName&&t.idx===this.nextTerminalOccurrence&&!this.found){var s=i.concat(n),o=new kt.Alternative({definition:s});this.possibleTokTypes=(0,QIe.first)(o),this.found=!0}},e}(Zj);Nr.NextAfterTokenWalker=SIe;var Pd=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topRule=t,n.occurrence=i,n.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},n}return e.prototype.startWalking=function(){return this.walk(this.topRule),this.result},e}(Xj.RestWalker);Nr.AbstractNextTerminalAfterProductionWalker=Pd;var vIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkMany=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkMany.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManyWalker=vIe;var xIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkManySep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkManySep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManySepWalker=xIe;var PIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOne=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOne.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneWalker=PIe;var DIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOneSep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOneSep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneSepWalker=DIe;function _j(r,e,t){t===void 0&&(t=[]),t=(0,Kt.cloneArr)(t);var i=[],n=0;function s(c){return c.concat((0,Kt.drop)(r,n+1))}function o(c){var u=_j(s(c),e,t);return i.concat(u)}for(;t.length=0;ge--){var re=B.definition[ge],M={idx:p,def:re.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y};g.push(M),g.push(o)}else if(B instanceof kt.Alternative)g.push({idx:p,def:B.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y});else if(B instanceof kt.Rule)g.push(RIe(B,p,C,y));else throw Error("non exhaustive match")}}return u}Nr.nextPossibleTokensAfter=kIe;function RIe(r,e,t,i){var n=(0,Kt.cloneArr)(t);n.push(r.name);var s=(0,Kt.cloneArr)(i);return s.push(1),{idx:e,def:r.definition,ruleStack:n,occurrenceStack:s}}});var kd=w(Zt=>{"use strict";var tq=Zt&&Zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Zt,"__esModule",{value:!0});Zt.areTokenCategoriesNotUsed=Zt.isStrictPrefixOfPath=Zt.containsPath=Zt.getLookaheadPathsForOptionalProd=Zt.getLookaheadPathsForOr=Zt.lookAheadSequenceFromAlternatives=Zt.buildSingleAlternativeLookaheadFunction=Zt.buildAlternativesLookAheadFunc=Zt.buildLookaheadFuncForOptionalProd=Zt.buildLookaheadFuncForOr=Zt.getProdType=Zt.PROD_TYPE=void 0;var sr=Gt(),$j=Dd(),FIe=Ay(),hy=_g(),MA=mn(),NIe=$g(),oi;(function(r){r[r.OPTION=0]="OPTION",r[r.REPETITION=1]="REPETITION",r[r.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",r[r.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",r[r.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",r[r.ALTERNATION=5]="ALTERNATION"})(oi=Zt.PROD_TYPE||(Zt.PROD_TYPE={}));function TIe(r){if(r instanceof MA.Option)return oi.OPTION;if(r instanceof MA.Repetition)return oi.REPETITION;if(r instanceof MA.RepetitionMandatory)return oi.REPETITION_MANDATORY;if(r instanceof MA.RepetitionMandatoryWithSeparator)return oi.REPETITION_MANDATORY_WITH_SEPARATOR;if(r instanceof MA.RepetitionWithSeparator)return oi.REPETITION_WITH_SEPARATOR;if(r instanceof MA.Alternation)return oi.ALTERNATION;throw Error("non exhaustive match")}Zt.getProdType=TIe;function LIe(r,e,t,i,n,s){var o=iq(r,e,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o,i,a,n)}Zt.buildLookaheadFuncForOr=LIe;function MIe(r,e,t,i,n,s){var o=nq(r,e,n,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o[0],a,i)}Zt.buildLookaheadFuncForOptionalProd=MIe;function OIe(r,e,t,i){var n=r.length,s=(0,sr.every)(r,function(l){return(0,sr.every)(l,function(c){return c.length===1})});if(e)return function(l){for(var c=(0,sr.map)(l,function(D){return D.GATE}),u=0;u{"use strict";var Zv=Vt&&Vt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Vt,"__esModule",{value:!0});Vt.checkPrefixAlternativesAmbiguities=Vt.validateSomeNonEmptyLookaheadPath=Vt.validateTooManyAlts=Vt.RepetionCollector=Vt.validateAmbiguousAlternationAlternatives=Vt.validateEmptyOrAlternative=Vt.getFirstNoneTerminal=Vt.validateNoLeftRecursion=Vt.validateRuleIsOverridden=Vt.validateRuleDoesNotAlreadyExist=Vt.OccurrenceValidationCollector=Vt.identifyProductionForDuplicates=Vt.validateGrammar=void 0;var er=Gt(),Qr=Gt(),To=jn(),_v=vd(),tf=kd(),YIe=Dd(),to=mn(),$v=$g();function jIe(r,e,t,i,n){var s=er.map(r,function(h){return qIe(h,i)}),o=er.map(r,function(h){return ex(h,h,i)}),a=[],l=[],c=[];(0,Qr.every)(o,Qr.isEmpty)&&(a=(0,Qr.map)(r,function(h){return cq(h,i)}),l=(0,Qr.map)(r,function(h){return uq(h,e,i)}),c=hq(r,e,i));var u=zIe(r,t,i),g=(0,Qr.map)(r,function(h){return fq(h,i)}),f=(0,Qr.map)(r,function(h){return lq(h,r,n,i)});return er.flatten(s.concat(c,o,a,l,u,g,f))}Vt.validateGrammar=jIe;function qIe(r,e){var t=new Aq;r.accept(t);var i=t.allProductions,n=er.groupBy(i,oq),s=er.pick(n,function(a){return a.length>1}),o=er.map(er.values(s),function(a){var l=er.first(a),c=e.buildDuplicateFoundError(r,a),u=(0,_v.getProductionDslName)(l),g={message:c,type:To.ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,ruleName:r.name,dslName:u,occurrence:l.idx},f=aq(l);return f&&(g.parameter=f),g});return o}function oq(r){return(0,_v.getProductionDslName)(r)+"_#_"+r.idx+"_#_"+aq(r)}Vt.identifyProductionForDuplicates=oq;function aq(r){return r instanceof to.Terminal?r.terminalType.name:r instanceof to.NonTerminal?r.nonTerminalName:""}var Aq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitNonTerminal=function(t){this.allProductions.push(t)},e.prototype.visitOption=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e.prototype.visitAlternation=function(t){this.allProductions.push(t)},e.prototype.visitTerminal=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.OccurrenceValidationCollector=Aq;function lq(r,e,t,i){var n=[],s=(0,Qr.reduce)(e,function(a,l){return l.name===r.name?a+1:a},0);if(s>1){var o=i.buildDuplicateRuleNameError({topLevelRule:r,grammarName:t});n.push({message:o,type:To.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:r.name})}return n}Vt.validateRuleDoesNotAlreadyExist=lq;function JIe(r,e,t){var i=[],n;return er.contains(e,r)||(n="Invalid rule override, rule: ->"+r+"<- cannot be overridden in the grammar: ->"+t+"<-as it is not defined in any of the super grammars ",i.push({message:n,type:To.ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,ruleName:r})),i}Vt.validateRuleIsOverridden=JIe;function ex(r,e,t,i){i===void 0&&(i=[]);var n=[],s=Rd(e.definition);if(er.isEmpty(s))return[];var o=r.name,a=er.contains(s,r);a&&n.push({message:t.buildLeftRecursionError({topLevelRule:r,leftRecursionPath:i}),type:To.ParserDefinitionErrorType.LEFT_RECURSION,ruleName:o});var l=er.difference(s,i.concat([r])),c=er.map(l,function(u){var g=er.cloneArr(i);return g.push(u),ex(r,u,t,g)});return n.concat(er.flatten(c))}Vt.validateNoLeftRecursion=ex;function Rd(r){var e=[];if(er.isEmpty(r))return e;var t=er.first(r);if(t instanceof to.NonTerminal)e.push(t.referencedRule);else if(t instanceof to.Alternative||t instanceof to.Option||t instanceof to.RepetitionMandatory||t instanceof to.RepetitionMandatoryWithSeparator||t instanceof to.RepetitionWithSeparator||t instanceof to.Repetition)e=e.concat(Rd(t.definition));else if(t instanceof to.Alternation)e=er.flatten(er.map(t.definition,function(o){return Rd(o.definition)}));else if(!(t instanceof to.Terminal))throw Error("non exhaustive match");var i=(0,_v.isOptionalProd)(t),n=r.length>1;if(i&&n){var s=er.drop(r);return e.concat(Rd(s))}else return e}Vt.getFirstNoneTerminal=Rd;var tx=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.alternations=[],t}return e.prototype.visitAlternation=function(t){this.alternations.push(t)},e}($v.GAstVisitor);function cq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){var a=er.dropRight(o.definition),l=er.map(a,function(c,u){var g=(0,YIe.nextPossibleTokensAfter)([c],[],null,1);return er.isEmpty(g)?{message:e.buildEmptyAlternationError({topLevelRule:r,alternation:o,emptyChoiceIdx:u}),type:To.ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,ruleName:r.name,occurrence:o.idx,alternative:u+1}:null});return s.concat(er.compact(l))},[]);return n}Vt.validateEmptyOrAlternative=cq;function uq(r,e,t){var i=new tx;r.accept(i);var n=i.alternations;n=(0,Qr.reject)(n,function(o){return o.ignoreAmbiguities===!0});var s=er.reduce(n,function(o,a){var l=a.idx,c=a.maxLookahead||e,u=(0,tf.getLookaheadPathsForOr)(l,r,c,a),g=WIe(u,a,r,t),f=pq(u,a,r,t);return o.concat(g,f)},[]);return s}Vt.validateAmbiguousAlternationAlternatives=uq;var gq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.RepetionCollector=gq;function fq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){return o.definition.length>255&&s.push({message:e.buildTooManyAlternativesError({topLevelRule:r,alternation:o}),type:To.ParserDefinitionErrorType.TOO_MANY_ALTS,ruleName:r.name,occurrence:o.idx}),s},[]);return n}Vt.validateTooManyAlts=fq;function hq(r,e,t){var i=[];return(0,Qr.forEach)(r,function(n){var s=new gq;n.accept(s);var o=s.allProductions;(0,Qr.forEach)(o,function(a){var l=(0,tf.getProdType)(a),c=a.maxLookahead||e,u=a.idx,g=(0,tf.getLookaheadPathsForOptionalProd)(u,n,l,c),f=g[0];if((0,Qr.isEmpty)((0,Qr.flatten)(f))){var h=t.buildEmptyRepetitionError({topLevelRule:n,repetition:a});i.push({message:h,type:To.ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,ruleName:n.name})}})}),i}Vt.validateSomeNonEmptyLookaheadPath=hq;function WIe(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(a,l,c){return e.definition[c].ignoreAmbiguities===!0||(0,Qr.forEach)(l,function(u){var g=[c];(0,Qr.forEach)(r,function(f,h){c!==h&&(0,tf.containsPath)(f,u)&&e.definition[h].ignoreAmbiguities!==!0&&g.push(h)}),g.length>1&&!(0,tf.containsPath)(n,u)&&(n.push(u),a.push({alts:g,path:u}))}),a},[]),o=er.map(s,function(a){var l=(0,Qr.map)(a.alts,function(u){return u+1}),c=i.buildAlternationAmbiguityError({topLevelRule:t,alternation:e,ambiguityIndices:l,prefixPath:a.path});return{message:c,type:To.ParserDefinitionErrorType.AMBIGUOUS_ALTS,ruleName:t.name,occurrence:e.idx,alternatives:[a.alts]}});return o}function pq(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(o,a,l){var c=(0,Qr.map)(a,function(u){return{idx:l,path:u}});return o.concat(c)},[]);return(0,Qr.forEach)(s,function(o){var a=e.definition[o.idx];if(a.ignoreAmbiguities!==!0){var l=o.idx,c=o.path,u=(0,Qr.findAll)(s,function(f){return e.definition[f.idx].ignoreAmbiguities!==!0&&f.idx{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.validateGrammar=rf.resolveGrammar=void 0;var ix=Gt(),VIe=Vj(),XIe=rx(),dq=xd();function ZIe(r){r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarResolverErrorProvider});var e={};return(0,ix.forEach)(r.rules,function(t){e[t.name]=t}),(0,VIe.resolveGrammar)(e,r.errMsgProvider)}rf.resolveGrammar=ZIe;function _Ie(r){return r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarValidatorErrorProvider}),(0,XIe.validateGrammar)(r.rules,r.maxLookahead,r.tokenTypes,r.errMsgProvider,r.grammarName)}rf.validateGrammar=_Ie});var nf=w(In=>{"use strict";var Fd=In&&In.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(In,"__esModule",{value:!0});In.EarlyExitException=In.NotAllInputParsedException=In.NoViableAltException=In.MismatchedTokenException=In.isRecognitionException=void 0;var $Ie=Gt(),mq="MismatchedTokenException",Eq="NoViableAltException",Iq="EarlyExitException",yq="NotAllInputParsedException",wq=[mq,Eq,Iq,yq];Object.freeze(wq);function eye(r){return(0,$Ie.contains)(wq,r.name)}In.isRecognitionException=eye;var py=function(r){Fd(e,r);function e(t,i){var n=this.constructor,s=r.call(this,t)||this;return s.token=i,s.resyncedTokens=[],Object.setPrototypeOf(s,n.prototype),Error.captureStackTrace&&Error.captureStackTrace(s,s.constructor),s}return e}(Error),tye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=mq,s}return e}(py);In.MismatchedTokenException=tye;var rye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Eq,s}return e}(py);In.NoViableAltException=rye;var iye=function(r){Fd(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.name=yq,n}return e}(py);In.NotAllInputParsedException=iye;var nye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Iq,s}return e}(py);In.EarlyExitException=nye});var sx=w(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.attemptInRepetitionRecovery=Ki.Recoverable=Ki.InRuleRecoveryException=Ki.IN_RULE_RECOVERY_EXCEPTION=Ki.EOF_FOLLOW_KEY=void 0;var dy=TA(),hs=Gt(),sye=nf(),oye=Jv(),aye=jn();Ki.EOF_FOLLOW_KEY={};Ki.IN_RULE_RECOVERY_EXCEPTION="InRuleRecoveryException";function nx(r){this.name=Ki.IN_RULE_RECOVERY_EXCEPTION,this.message=r}Ki.InRuleRecoveryException=nx;nx.prototype=Error.prototype;var Aye=function(){function r(){}return r.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,hs.has)(e,"recoveryEnabled")?e.recoveryEnabled:aye.DEFAULT_PARSER_CONFIG.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=Bq)},r.prototype.getTokenToInsert=function(e){var t=(0,dy.createTokenInstance)(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t},r.prototype.canTokenTypeBeInsertedInRecovery=function(e){return!0},r.prototype.tryInRepetitionRecovery=function(e,t,i,n){for(var s=this,o=this.findReSyncTokenType(),a=this.exportLexerState(),l=[],c=!1,u=this.LA(1),g=this.LA(1),f=function(){var h=s.LA(0),p=s.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:u,previous:h,ruleName:s.getCurrRuleFullName()}),C=new sye.MismatchedTokenException(p,u,s.LA(0));C.resyncedTokens=(0,hs.dropRight)(l),s.SAVE_ERROR(C)};!c;)if(this.tokenMatcher(g,n)){f();return}else if(i.call(this)){f(),e.apply(this,t);return}else this.tokenMatcher(g,o)?c=!0:(g=this.SKIP_TOKEN(),this.addToResyncTokens(g,l));this.importLexerState(a)},r.prototype.shouldInRepetitionRecoveryBeTried=function(e,t,i){return!(i===!1||e===void 0||t===void 0||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))},r.prototype.getFollowsForInRuleRecovery=function(e,t){var i=this.getCurrentGrammarPath(e,t),n=this.getNextPossibleTokenTypes(i);return n},r.prototype.tryInRuleRecovery=function(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t)){var i=this.getTokenToInsert(e);return i}if(this.canRecoverWithSingleTokenDeletion(e)){var n=this.SKIP_TOKEN();return this.consumeToken(),n}throw new nx("sad sad panda")},r.prototype.canPerformInRuleRecovery=function(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)},r.prototype.canRecoverWithSingleTokenInsertion=function(e,t){var i=this;if(!this.canTokenTypeBeInsertedInRecovery(e)||(0,hs.isEmpty)(t))return!1;var n=this.LA(1),s=(0,hs.find)(t,function(o){return i.tokenMatcher(n,o)})!==void 0;return s},r.prototype.canRecoverWithSingleTokenDeletion=function(e){var t=this.tokenMatcher(this.LA(2),e);return t},r.prototype.isInCurrentRuleReSyncSet=function(e){var t=this.getCurrFollowKey(),i=this.getFollowSetFromFollowKey(t);return(0,hs.contains)(i,e)},r.prototype.findReSyncTokenType=function(){for(var e=this.flattenFollowSet(),t=this.LA(1),i=2;;){var n=t.tokenType;if((0,hs.contains)(e,n))return n;t=this.LA(i),i++}},r.prototype.getCurrFollowKey=function(){if(this.RULE_STACK.length===1)return Ki.EOF_FOLLOW_KEY;var e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),i=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(i)}},r.prototype.buildFullFollowKeyStack=function(){var e=this,t=this.RULE_STACK,i=this.RULE_OCCURRENCE_STACK;return(0,hs.map)(t,function(n,s){return s===0?Ki.EOF_FOLLOW_KEY:{ruleName:e.shortRuleNameToFullName(n),idxInCallingRule:i[s],inRule:e.shortRuleNameToFullName(t[s-1])}})},r.prototype.flattenFollowSet=function(){var e=this,t=(0,hs.map)(this.buildFullFollowKeyStack(),function(i){return e.getFollowSetFromFollowKey(i)});return(0,hs.flatten)(t)},r.prototype.getFollowSetFromFollowKey=function(e){if(e===Ki.EOF_FOLLOW_KEY)return[dy.EOF];var t=e.ruleName+e.idxInCallingRule+oye.IN+e.inRule;return this.resyncFollows[t]},r.prototype.addToResyncTokens=function(e,t){return this.tokenMatcher(e,dy.EOF)||t.push(e),t},r.prototype.reSyncTo=function(e){for(var t=[],i=this.LA(1);this.tokenMatcher(i,e)===!1;)i=this.SKIP_TOKEN(),this.addToResyncTokens(i,t);return(0,hs.dropRight)(t)},r.prototype.attemptInRepetitionRecovery=function(e,t,i,n,s,o,a){},r.prototype.getCurrentGrammarPath=function(e,t){var i=this.getHumanReadableRuleStack(),n=(0,hs.cloneArr)(this.RULE_OCCURRENCE_STACK),s={ruleStack:i,occurrenceStack:n,lastTok:e,lastTokOccurrence:t};return s},r.prototype.getHumanReadableRuleStack=function(){var e=this;return(0,hs.map)(this.RULE_STACK,function(t){return e.shortRuleNameToFullName(t)})},r}();Ki.Recoverable=Aye;function Bq(r,e,t,i,n,s,o){var a=this.getKeyForAutomaticLookahead(i,n),l=this.firstAfterRepMap[a];if(l===void 0){var c=this.getCurrRuleFullName(),u=this.getGAstProductions()[c],g=new s(u,n);l=g.startWalking(),this.firstAfterRepMap[a]=l}var f=l.token,h=l.occurrence,p=l.isEndOfRule;this.RULE_STACK.length===1&&p&&f===void 0&&(f=dy.EOF,h=1),this.shouldInRepetitionRecoveryBeTried(f,h,o)&&this.tryInRepetitionRecovery(r,e,t,f)}Ki.attemptInRepetitionRecovery=Bq});var Cy=w(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.getKeyForAutomaticLookahead=Jt.AT_LEAST_ONE_SEP_IDX=Jt.MANY_SEP_IDX=Jt.AT_LEAST_ONE_IDX=Jt.MANY_IDX=Jt.OPTION_IDX=Jt.OR_IDX=Jt.BITS_FOR_ALT_IDX=Jt.BITS_FOR_RULE_IDX=Jt.BITS_FOR_OCCURRENCE_IDX=Jt.BITS_FOR_METHOD_TYPE=void 0;Jt.BITS_FOR_METHOD_TYPE=4;Jt.BITS_FOR_OCCURRENCE_IDX=8;Jt.BITS_FOR_RULE_IDX=12;Jt.BITS_FOR_ALT_IDX=8;Jt.OR_IDX=1<{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.LooksAhead=void 0;var ka=kd(),ro=Gt(),bq=jn(),Ra=Cy(),Ec=vd(),cye=function(){function r(){}return r.prototype.initLooksAhead=function(e){this.dynamicTokensEnabled=(0,ro.has)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:bq.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled,this.maxLookahead=(0,ro.has)(e,"maxLookahead")?e.maxLookahead:bq.DEFAULT_PARSER_CONFIG.maxLookahead,this.lookAheadFuncsCache=(0,ro.isES2015MapSupported)()?new Map:[],(0,ro.isES2015MapSupported)()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},r.prototype.preComputeLookaheadFunctions=function(e){var t=this;(0,ro.forEach)(e,function(i){t.TRACE_INIT(i.name+" Rule Lookahead",function(){var n=(0,Ec.collectMethods)(i),s=n.alternation,o=n.repetition,a=n.option,l=n.repetitionMandatory,c=n.repetitionMandatoryWithSeparator,u=n.repetitionWithSeparator;(0,ro.forEach)(s,function(g){var f=g.idx===0?"":g.idx;t.TRACE_INIT(""+(0,Ec.getProductionDslName)(g)+f,function(){var h=(0,ka.buildLookaheadFuncForOr)(g.idx,i,g.maxLookahead||t.maxLookahead,g.hasPredicates,t.dynamicTokensEnabled,t.lookAheadBuilderForAlternatives),p=(0,Ra.getKeyForAutomaticLookahead)(t.fullRuleNameToShort[i.name],Ra.OR_IDX,g.idx);t.setLaFuncCache(p,h)})}),(0,ro.forEach)(o,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_IDX,ka.PROD_TYPE.REPETITION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(a,function(g){t.computeLookaheadFunc(i,g.idx,Ra.OPTION_IDX,ka.PROD_TYPE.OPTION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(l,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_IDX,ka.PROD_TYPE.REPETITION_MANDATORY,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(c,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_SEP_IDX,ka.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(u,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_SEP_IDX,ka.PROD_TYPE.REPETITION_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))})})})},r.prototype.computeLookaheadFunc=function(e,t,i,n,s,o){var a=this;this.TRACE_INIT(""+o+(t===0?"":t),function(){var l=(0,ka.buildLookaheadFuncForOptionalProd)(t,e,s||a.maxLookahead,a.dynamicTokensEnabled,n,a.lookAheadBuilderForOptional),c=(0,Ra.getKeyForAutomaticLookahead)(a.fullRuleNameToShort[e.name],i,t);a.setLaFuncCache(c,l)})},r.prototype.lookAheadBuilderForOptional=function(e,t,i){return(0,ka.buildSingleAlternativeLookaheadFunction)(e,t,i)},r.prototype.lookAheadBuilderForAlternatives=function(e,t,i,n){return(0,ka.buildAlternativesLookAheadFunc)(e,t,i,n)},r.prototype.getKeyForAutomaticLookahead=function(e,t){var i=this.getLastExplicitRuleShortName();return(0,Ra.getKeyForAutomaticLookahead)(i,e,t)},r.prototype.getLaFuncFromCache=function(e){},r.prototype.getLaFuncFromMap=function(e){return this.lookAheadFuncsCache.get(e)},r.prototype.getLaFuncFromObj=function(e){return this.lookAheadFuncsCache[e]},r.prototype.setLaFuncCache=function(e,t){},r.prototype.setLaFuncCacheUsingMap=function(e,t){this.lookAheadFuncsCache.set(e,t)},r.prototype.setLaFuncUsingObj=function(e,t){this.lookAheadFuncsCache[e]=t},r}();my.LooksAhead=cye});var Sq=w(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.addNoneTerminalToCst=Lo.addTerminalToCst=Lo.setNodeLocationFull=Lo.setNodeLocationOnlyOffset=void 0;function uye(r,e){isNaN(r.startOffset)===!0?(r.startOffset=e.startOffset,r.endOffset=e.endOffset):r.endOffset{"use strict";Object.defineProperty(OA,"__esModule",{value:!0});OA.defineNameProp=OA.functionName=OA.classNameFromInstance=void 0;var pye=Gt();function dye(r){return xq(r.constructor)}OA.classNameFromInstance=dye;var vq="name";function xq(r){var e=r.name;return e||"anonymous"}OA.functionName=xq;function Cye(r,e){var t=Object.getOwnPropertyDescriptor(r,vq);return(0,pye.isUndefined)(t)||t.configurable?(Object.defineProperty(r,vq,{enumerable:!1,configurable:!0,writable:!1,value:e}),!0):!1}OA.defineNameProp=Cye});var Fq=w(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.validateRedundantMethods=Si.validateMissingCstMethods=Si.validateVisitor=Si.CstVisitorDefinitionError=Si.createBaseVisitorConstructorWithDefaults=Si.createBaseSemanticVisitorConstructor=Si.defaultVisit=void 0;var ps=Gt(),Nd=ox();function Pq(r,e){for(var t=(0,ps.keys)(r),i=t.length,n=0;n: - `+(""+s.join(` - -`).replace(/\n/g,` - `)))}}};return t.prototype=i,t.prototype.constructor=t,t._RULE_NAMES=e,t}Si.createBaseSemanticVisitorConstructor=mye;function Eye(r,e,t){var i=function(){};(0,Nd.defineNameProp)(i,r+"BaseSemanticsWithDefaults");var n=Object.create(t.prototype);return(0,ps.forEach)(e,function(s){n[s]=Pq}),i.prototype=n,i.prototype.constructor=i,i}Si.createBaseVisitorConstructorWithDefaults=Eye;var ax;(function(r){r[r.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",r[r.MISSING_METHOD=1]="MISSING_METHOD"})(ax=Si.CstVisitorDefinitionError||(Si.CstVisitorDefinitionError={}));function Dq(r,e){var t=kq(r,e),i=Rq(r,e);return t.concat(i)}Si.validateVisitor=Dq;function kq(r,e){var t=(0,ps.map)(e,function(i){if(!(0,ps.isFunction)(r[i]))return{msg:"Missing visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+" CST Visitor.",type:ax.MISSING_METHOD,methodName:i}});return(0,ps.compact)(t)}Si.validateMissingCstMethods=kq;var Iye=["constructor","visit","validateVisitor"];function Rq(r,e){var t=[];for(var i in r)(0,ps.isFunction)(r[i])&&!(0,ps.contains)(Iye,i)&&!(0,ps.contains)(e,i)&&t.push({msg:"Redundant visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+` CST Visitor -There is no Grammar Rule corresponding to this method's name. -`,type:ax.REDUNDANT_METHOD,methodName:i});return t}Si.validateRedundantMethods=Rq});var Tq=w(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.TreeBuilder=void 0;var sf=Sq(),_r=Gt(),Nq=Fq(),yye=jn(),wye=function(){function r(){}return r.prototype.initTreeBuilder=function(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,_r.has)(e,"nodeLocationTracking")?e.nodeLocationTracking:yye.DEFAULT_PARSER_CONFIG.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=_r.NOOP,this.cstFinallyStateUpdate=_r.NOOP,this.cstPostTerminal=_r.NOOP,this.cstPostNonTerminal=_r.NOOP,this.cstPostRule=_r.NOOP;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationFull,this.setNodeLocationFromNode=sf.setNodeLocationFull,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationOnlyOffset,this.setNodeLocationFromNode=sf.setNodeLocationOnlyOffset,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=_r.NOOP;else throw Error('Invalid config option: "'+e.nodeLocationTracking+'"')},r.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(e){e.location={startOffset:NaN,endOffset:NaN}},r.prototype.setInitialNodeLocationOnlyOffsetRegular=function(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},r.prototype.setInitialNodeLocationFullRecovery=function(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.setInitialNodeLocationFullRegular=function(e){var t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.cstInvocationStateUpdate=function(e,t){var i={name:e,children:{}};this.setInitialNodeLocation(i),this.CST_STACK.push(i)},r.prototype.cstFinallyStateUpdate=function(){this.CST_STACK.pop()},r.prototype.cstPostRuleFull=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?(i.endOffset=t.endOffset,i.endLine=t.endLine,i.endColumn=t.endColumn):(i.startOffset=NaN,i.startLine=NaN,i.startColumn=NaN)},r.prototype.cstPostRuleOnlyOffset=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?i.endOffset=t.endOffset:i.startOffset=NaN},r.prototype.cstPostTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addTerminalToCst)(i,t,e),this.setNodeLocationFromToken(i.location,t)},r.prototype.cstPostNonTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addNoneTerminalToCst)(i,t,e),this.setNodeLocationFromNode(i.location,e.location)},r.prototype.getBaseCstVisitorConstructor=function(){if((0,_r.isUndefined)(this.baseCstVisitorConstructor)){var e=(0,Nq.createBaseSemanticVisitorConstructor)(this.className,(0,_r.keys)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},r.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if((0,_r.isUndefined)(this.baseCstVisitorWithDefaultsConstructor)){var e=(0,Nq.createBaseVisitorConstructorWithDefaults)(this.className,(0,_r.keys)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor},r.prototype.getLastExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-1]},r.prototype.getPreviousExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-2]},r.prototype.getLastExplicitRuleOccurrenceIndex=function(){var e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]},r}();Ey.TreeBuilder=wye});var Mq=w(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.LexerAdapter=void 0;var Lq=jn(),Bye=function(){function r(){}return r.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(r.prototype,"input",{get:function(){return this.tokVector},set:function(e){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length},enumerable:!1,configurable:!0}),r.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Lq.END_OF_FILE},r.prototype.LA=function(e){var t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Lq.END_OF_FILE:this.tokVector[t]},r.prototype.consumeToken=function(){this.currIdx++},r.prototype.exportLexerState=function(){return this.currIdx},r.prototype.importLexerState=function(e){this.currIdx=e},r.prototype.resetLexerState=function(){this.currIdx=-1},r.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},r.prototype.getLexerPosition=function(){return this.exportLexerState()},r}();Iy.LexerAdapter=Bye});var Kq=w(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.RecognizerApi=void 0;var Oq=Gt(),bye=nf(),Ax=jn(),Qye=xd(),Sye=rx(),vye=mn(),xye=function(){function r(){}return r.prototype.ACTION=function(e){return e.call(this)},r.prototype.consume=function(e,t,i){return this.consumeInternal(t,e,i)},r.prototype.subrule=function(e,t,i){return this.subruleInternal(t,e,i)},r.prototype.option=function(e,t){return this.optionInternal(t,e)},r.prototype.or=function(e,t){return this.orInternal(t,e)},r.prototype.many=function(e,t){return this.manyInternal(e,t)},r.prototype.atLeastOne=function(e,t){return this.atLeastOneInternal(e,t)},r.prototype.CONSUME=function(e,t){return this.consumeInternal(e,0,t)},r.prototype.CONSUME1=function(e,t){return this.consumeInternal(e,1,t)},r.prototype.CONSUME2=function(e,t){return this.consumeInternal(e,2,t)},r.prototype.CONSUME3=function(e,t){return this.consumeInternal(e,3,t)},r.prototype.CONSUME4=function(e,t){return this.consumeInternal(e,4,t)},r.prototype.CONSUME5=function(e,t){return this.consumeInternal(e,5,t)},r.prototype.CONSUME6=function(e,t){return this.consumeInternal(e,6,t)},r.prototype.CONSUME7=function(e,t){return this.consumeInternal(e,7,t)},r.prototype.CONSUME8=function(e,t){return this.consumeInternal(e,8,t)},r.prototype.CONSUME9=function(e,t){return this.consumeInternal(e,9,t)},r.prototype.SUBRULE=function(e,t){return this.subruleInternal(e,0,t)},r.prototype.SUBRULE1=function(e,t){return this.subruleInternal(e,1,t)},r.prototype.SUBRULE2=function(e,t){return this.subruleInternal(e,2,t)},r.prototype.SUBRULE3=function(e,t){return this.subruleInternal(e,3,t)},r.prototype.SUBRULE4=function(e,t){return this.subruleInternal(e,4,t)},r.prototype.SUBRULE5=function(e,t){return this.subruleInternal(e,5,t)},r.prototype.SUBRULE6=function(e,t){return this.subruleInternal(e,6,t)},r.prototype.SUBRULE7=function(e,t){return this.subruleInternal(e,7,t)},r.prototype.SUBRULE8=function(e,t){return this.subruleInternal(e,8,t)},r.prototype.SUBRULE9=function(e,t){return this.subruleInternal(e,9,t)},r.prototype.OPTION=function(e){return this.optionInternal(e,0)},r.prototype.OPTION1=function(e){return this.optionInternal(e,1)},r.prototype.OPTION2=function(e){return this.optionInternal(e,2)},r.prototype.OPTION3=function(e){return this.optionInternal(e,3)},r.prototype.OPTION4=function(e){return this.optionInternal(e,4)},r.prototype.OPTION5=function(e){return this.optionInternal(e,5)},r.prototype.OPTION6=function(e){return this.optionInternal(e,6)},r.prototype.OPTION7=function(e){return this.optionInternal(e,7)},r.prototype.OPTION8=function(e){return this.optionInternal(e,8)},r.prototype.OPTION9=function(e){return this.optionInternal(e,9)},r.prototype.OR=function(e){return this.orInternal(e,0)},r.prototype.OR1=function(e){return this.orInternal(e,1)},r.prototype.OR2=function(e){return this.orInternal(e,2)},r.prototype.OR3=function(e){return this.orInternal(e,3)},r.prototype.OR4=function(e){return this.orInternal(e,4)},r.prototype.OR5=function(e){return this.orInternal(e,5)},r.prototype.OR6=function(e){return this.orInternal(e,6)},r.prototype.OR7=function(e){return this.orInternal(e,7)},r.prototype.OR8=function(e){return this.orInternal(e,8)},r.prototype.OR9=function(e){return this.orInternal(e,9)},r.prototype.MANY=function(e){this.manyInternal(0,e)},r.prototype.MANY1=function(e){this.manyInternal(1,e)},r.prototype.MANY2=function(e){this.manyInternal(2,e)},r.prototype.MANY3=function(e){this.manyInternal(3,e)},r.prototype.MANY4=function(e){this.manyInternal(4,e)},r.prototype.MANY5=function(e){this.manyInternal(5,e)},r.prototype.MANY6=function(e){this.manyInternal(6,e)},r.prototype.MANY7=function(e){this.manyInternal(7,e)},r.prototype.MANY8=function(e){this.manyInternal(8,e)},r.prototype.MANY9=function(e){this.manyInternal(9,e)},r.prototype.MANY_SEP=function(e){this.manySepFirstInternal(0,e)},r.prototype.MANY_SEP1=function(e){this.manySepFirstInternal(1,e)},r.prototype.MANY_SEP2=function(e){this.manySepFirstInternal(2,e)},r.prototype.MANY_SEP3=function(e){this.manySepFirstInternal(3,e)},r.prototype.MANY_SEP4=function(e){this.manySepFirstInternal(4,e)},r.prototype.MANY_SEP5=function(e){this.manySepFirstInternal(5,e)},r.prototype.MANY_SEP6=function(e){this.manySepFirstInternal(6,e)},r.prototype.MANY_SEP7=function(e){this.manySepFirstInternal(7,e)},r.prototype.MANY_SEP8=function(e){this.manySepFirstInternal(8,e)},r.prototype.MANY_SEP9=function(e){this.manySepFirstInternal(9,e)},r.prototype.AT_LEAST_ONE=function(e){this.atLeastOneInternal(0,e)},r.prototype.AT_LEAST_ONE1=function(e){return this.atLeastOneInternal(1,e)},r.prototype.AT_LEAST_ONE2=function(e){this.atLeastOneInternal(2,e)},r.prototype.AT_LEAST_ONE3=function(e){this.atLeastOneInternal(3,e)},r.prototype.AT_LEAST_ONE4=function(e){this.atLeastOneInternal(4,e)},r.prototype.AT_LEAST_ONE5=function(e){this.atLeastOneInternal(5,e)},r.prototype.AT_LEAST_ONE6=function(e){this.atLeastOneInternal(6,e)},r.prototype.AT_LEAST_ONE7=function(e){this.atLeastOneInternal(7,e)},r.prototype.AT_LEAST_ONE8=function(e){this.atLeastOneInternal(8,e)},r.prototype.AT_LEAST_ONE9=function(e){this.atLeastOneInternal(9,e)},r.prototype.AT_LEAST_ONE_SEP=function(e){this.atLeastOneSepFirstInternal(0,e)},r.prototype.AT_LEAST_ONE_SEP1=function(e){this.atLeastOneSepFirstInternal(1,e)},r.prototype.AT_LEAST_ONE_SEP2=function(e){this.atLeastOneSepFirstInternal(2,e)},r.prototype.AT_LEAST_ONE_SEP3=function(e){this.atLeastOneSepFirstInternal(3,e)},r.prototype.AT_LEAST_ONE_SEP4=function(e){this.atLeastOneSepFirstInternal(4,e)},r.prototype.AT_LEAST_ONE_SEP5=function(e){this.atLeastOneSepFirstInternal(5,e)},r.prototype.AT_LEAST_ONE_SEP6=function(e){this.atLeastOneSepFirstInternal(6,e)},r.prototype.AT_LEAST_ONE_SEP7=function(e){this.atLeastOneSepFirstInternal(7,e)},r.prototype.AT_LEAST_ONE_SEP8=function(e){this.atLeastOneSepFirstInternal(8,e)},r.prototype.AT_LEAST_ONE_SEP9=function(e){this.atLeastOneSepFirstInternal(9,e)},r.prototype.RULE=function(e,t,i){if(i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG),(0,Oq.contains)(this.definedRulesNames,e)){var n=Qye.defaultGrammarValidatorErrorProvider.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),s={message:n,type:Ax.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(s)}this.definedRulesNames.push(e);var o=this.defineRule(e,t,i);return this[e]=o,o},r.prototype.OVERRIDE_RULE=function(e,t,i){i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG);var n=[];n=n.concat((0,Sye.validateRuleIsOverridden)(e,this.definedRulesNames,this.className)),this.definitionErrors=this.definitionErrors.concat(n);var s=this.defineRule(e,t,i);return this[e]=s,s},r.prototype.BACKTRACK=function(e,t){return function(){this.isBackTrackingStack.push(1);var i=this.saveRecogState();try{return e.apply(this,t),!0}catch(n){if((0,bye.isRecognitionException)(n))return!1;throw n}finally{this.reloadRecogState(i),this.isBackTrackingStack.pop()}}},r.prototype.getGAstProductions=function(){return this.gastProductionsCache},r.prototype.getSerializedGastProductions=function(){return(0,vye.serializeGrammar)((0,Oq.values)(this.gastProductionsCache))},r}();yy.RecognizerApi=xye});var Yq=w(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.RecognizerEngine=void 0;var Pr=Gt(),qn=Cy(),wy=nf(),Uq=kd(),of=Dd(),Hq=jn(),Pye=sx(),Gq=TA(),Td=_g(),Dye=ox(),kye=function(){function r(){}return r.prototype.initRecognizerEngine=function(e,t){if(this.className=(0,Dye.classNameFromInstance)(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Td.tokenStructuredMatcherNoCategories,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,Pr.has)(t,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 - For Further details.`);if((0,Pr.isArray)(e)){if((0,Pr.isEmpty)(e))throw Error(`A Token Vocabulary cannot be empty. - Note that the first argument for the parser constructor - is no longer a Token vector (since v4.0).`);if(typeof e[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 - For Further details.`)}if((0,Pr.isArray)(e))this.tokensMap=(0,Pr.reduce)(e,function(o,a){return o[a.name]=a,o},{});else if((0,Pr.has)(e,"modes")&&(0,Pr.every)((0,Pr.flatten)((0,Pr.values)(e.modes)),Td.isTokenType)){var i=(0,Pr.flatten)((0,Pr.values)(e.modes)),n=(0,Pr.uniq)(i);this.tokensMap=(0,Pr.reduce)(n,function(o,a){return o[a.name]=a,o},{})}else if((0,Pr.isObject)(e))this.tokensMap=(0,Pr.cloneObj)(e);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=Gq.EOF;var s=(0,Pr.every)((0,Pr.values)(e),function(o){return(0,Pr.isEmpty)(o.categoryMatches)});this.tokenMatcher=s?Td.tokenStructuredMatcherNoCategories:Td.tokenStructuredMatcher,(0,Td.augmentTokenTypes)((0,Pr.values)(this.tokensMap))},r.prototype.defineRule=function(e,t,i){if(this.selfAnalysisDone)throw Error("Grammar rule <"+e+`> may not be defined after the 'performSelfAnalysis' method has been called' -Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);var n=(0,Pr.has)(i,"resyncEnabled")?i.resyncEnabled:Hq.DEFAULT_RULE_CONFIG.resyncEnabled,s=(0,Pr.has)(i,"recoveryValueFunc")?i.recoveryValueFunc:Hq.DEFAULT_RULE_CONFIG.recoveryValueFunc,o=this.ruleShortNameIdx<t},r.prototype.orInternal=function(e,t){var i=this.getKeyForAutomaticLookahead(qn.OR_IDX,t),n=(0,Pr.isArray)(e)?e:e.DEF,s=this.getLaFuncFromCache(i),o=s.call(this,n);if(o!==void 0){var a=n[o];return a.ALT.call(this)}this.raiseNoAltException(t,e.ERR_MSG)},r.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){var e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new wy.NotAllInputParsedException(t,e))}},r.prototype.subruleInternal=function(e,t,i){var n;try{var s=i!==void 0?i.ARGS:void 0;return n=e.call(this,t,s),this.cstPostNonTerminal(n,i!==void 0&&i.LABEL!==void 0?i.LABEL:e.ruleName),n}catch(o){this.subruleInternalError(o,i,e.ruleName)}},r.prototype.subruleInternalError=function(e,t,i){throw(0,wy.isRecognitionException)(e)&&e.partialCstResult!==void 0&&(this.cstPostNonTerminal(e.partialCstResult,t!==void 0&&t.LABEL!==void 0?t.LABEL:i),delete e.partialCstResult),e},r.prototype.consumeInternal=function(e,t,i){var n;try{var s=this.LA(1);this.tokenMatcher(s,e)===!0?(this.consumeToken(),n=s):this.consumeInternalError(e,s,i)}catch(o){n=this.consumeInternalRecovery(e,t,o)}return this.cstPostTerminal(i!==void 0&&i.LABEL!==void 0?i.LABEL:e.name,n),n},r.prototype.consumeInternalError=function(e,t,i){var n,s=this.LA(0);throw i!==void 0&&i.ERR_MSG?n=i.ERR_MSG:n=this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:s,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new wy.MismatchedTokenException(n,t,s))},r.prototype.consumeInternalRecovery=function(e,t,i){if(this.recoveryEnabled&&i.name==="MismatchedTokenException"&&!this.isBackTracking()){var n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(s){throw s.name===Pye.IN_RULE_RECOVERY_EXCEPTION?i:s}}else throw i},r.prototype.saveRecogState=function(){var e=this.errors,t=(0,Pr.cloneArr)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}},r.prototype.reloadRecogState=function(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK},r.prototype.ruleInvocationStateUpdate=function(e,t,i){this.RULE_OCCURRENCE_STACK.push(i),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t,e)},r.prototype.isBackTracking=function(){return this.isBackTrackingStack.length!==0},r.prototype.getCurrRuleFullName=function(){var e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]},r.prototype.shortRuleNameToFullName=function(e){return this.shortRuleNameToFull[e]},r.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),Gq.EOF)},r.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},r}();By.RecognizerEngine=kye});var qq=w(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.ErrorHandler=void 0;var lx=nf(),cx=Gt(),jq=kd(),Rye=jn(),Fye=function(){function r(){}return r.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=(0,cx.has)(e,"errorMessageProvider")?e.errorMessageProvider:Rye.DEFAULT_PARSER_CONFIG.errorMessageProvider},r.prototype.SAVE_ERROR=function(e){if((0,lx.isRecognitionException)(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,cx.cloneArr)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(r.prototype,"errors",{get:function(){return(0,cx.cloneArr)(this._errors)},set:function(e){this._errors=e},enumerable:!1,configurable:!0}),r.prototype.raiseEarlyExitException=function(e,t,i){for(var n=this.getCurrRuleFullName(),s=this.getGAstProductions()[n],o=(0,jq.getLookaheadPathsForOptionalProd)(e,s,t,this.maxLookahead),a=o[0],l=[],c=1;c<=this.maxLookahead;c++)l.push(this.LA(c));var u=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:a,actual:l,previous:this.LA(0),customUserDescription:i,ruleName:n});throw this.SAVE_ERROR(new lx.EarlyExitException(u,this.LA(1),this.LA(0)))},r.prototype.raiseNoAltException=function(e,t){for(var i=this.getCurrRuleFullName(),n=this.getGAstProductions()[i],s=(0,jq.getLookaheadPathsForOr)(e,n,this.maxLookahead),o=[],a=1;a<=this.maxLookahead;a++)o.push(this.LA(a));var l=this.LA(0),c=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:s,actual:o,previous:l,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new lx.NoViableAltException(c,this.LA(1),l))},r}();by.ErrorHandler=Fye});var zq=w(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.ContentAssist=void 0;var Jq=Dd(),Wq=Gt(),Nye=function(){function r(){}return r.prototype.initContentAssist=function(){},r.prototype.computeContentAssist=function(e,t){var i=this.gastProductionsCache[e];if((0,Wq.isUndefined)(i))throw Error("Rule ->"+e+"<- does not exist in this grammar.");return(0,Jq.nextPossibleTokensAfter)([i],t,this.tokenMatcher,this.maxLookahead)},r.prototype.getNextPossibleTokenTypes=function(e){var t=(0,Wq.first)(e.ruleStack),i=this.getGAstProductions(),n=i[t],s=new Jq.NextAfterTokenWalker(n,e).startWalking();return s},r}();Qy.ContentAssist=Nye});var rJ=w(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.GastRecorder=void 0;var yn=Gt(),Mo=mn(),Tye=Bd(),_q=_g(),$q=TA(),Lye=jn(),Mye=Cy(),vy={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(vy);var Vq=!0,Xq=Math.pow(2,Mye.BITS_FOR_OCCURRENCE_IDX)-1,eJ=(0,$q.createToken)({name:"RECORDING_PHASE_TOKEN",pattern:Tye.Lexer.NA});(0,_q.augmentTokenTypes)([eJ]);var tJ=(0,$q.createTokenInstance)(eJ,`This IToken indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(tJ);var Oye={name:`This CSTNode indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},Kye=function(){function r(){}return r.prototype.initGastRecorder=function(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1},r.prototype.enableRecording=function(){var e=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",function(){for(var t=function(n){var s=n>0?n:"";e["CONSUME"+s]=function(o,a){return this.consumeInternalRecord(o,n,a)},e["SUBRULE"+s]=function(o,a){return this.subruleInternalRecord(o,n,a)},e["OPTION"+s]=function(o){return this.optionInternalRecord(o,n)},e["OR"+s]=function(o){return this.orInternalRecord(o,n)},e["MANY"+s]=function(o){this.manyInternalRecord(n,o)},e["MANY_SEP"+s]=function(o){this.manySepFirstInternalRecord(n,o)},e["AT_LEAST_ONE"+s]=function(o){this.atLeastOneInternalRecord(n,o)},e["AT_LEAST_ONE_SEP"+s]=function(o){this.atLeastOneSepFirstInternalRecord(n,o)}},i=0;i<10;i++)t(i);e.consume=function(n,s,o){return this.consumeInternalRecord(s,n,o)},e.subrule=function(n,s,o){return this.subruleInternalRecord(s,n,o)},e.option=function(n,s){return this.optionInternalRecord(s,n)},e.or=function(n,s){return this.orInternalRecord(s,n)},e.many=function(n,s){this.manyInternalRecord(n,s)},e.atLeastOne=function(n,s){this.atLeastOneInternalRecord(n,s)},e.ACTION=e.ACTION_RECORD,e.BACKTRACK=e.BACKTRACK_RECORD,e.LA=e.LA_RECORD})},r.prototype.disableRecording=function(){var e=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",function(){for(var t=0;t<10;t++){var i=t>0?t:"";delete e["CONSUME"+i],delete e["SUBRULE"+i],delete e["OPTION"+i],delete e["OR"+i],delete e["MANY"+i],delete e["MANY_SEP"+i],delete e["AT_LEAST_ONE"+i],delete e["AT_LEAST_ONE_SEP"+i]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA})},r.prototype.ACTION_RECORD=function(e){},r.prototype.BACKTRACK_RECORD=function(e,t){return function(){return!0}},r.prototype.LA_RECORD=function(e){return Lye.END_OF_FILE},r.prototype.topLevelRuleRecord=function(e,t){try{var i=new Mo.Rule({definition:[],name:e});return i.name=e,this.recordingProdStack.push(i),t.call(this),this.recordingProdStack.pop(),i}catch(n){if(n.KNOWN_RECORDER_ERROR!==!0)try{n.message=n.message+` - This error was thrown during the "grammar recording phase" For more info see: - https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw n}throw n}},r.prototype.optionInternalRecord=function(e,t){return Ld.call(this,Mo.Option,e,t)},r.prototype.atLeastOneInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatory,t,e)},r.prototype.atLeastOneSepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatoryWithSeparator,t,e,Vq)},r.prototype.manyInternalRecord=function(e,t){Ld.call(this,Mo.Repetition,t,e)},r.prototype.manySepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionWithSeparator,t,e,Vq)},r.prototype.orInternalRecord=function(e,t){return Uye.call(this,e,t)},r.prototype.subruleInternalRecord=function(e,t,i){if(Sy(t),!e||(0,yn.has)(e,"ruleName")===!1){var n=new Error(" argument is invalid"+(" expecting a Parser method reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=e.ruleName,a=new Mo.NonTerminal({idx:t,nonTerminalName:o,label:i==null?void 0:i.LABEL,referencedRule:void 0});return s.definition.push(a),this.outputCst?Oye:vy},r.prototype.consumeInternalRecord=function(e,t,i){if(Sy(t),!(0,_q.hasShortKeyProperty)(e)){var n=new Error(" argument is invalid"+(" expecting a TokenType reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=new Mo.Terminal({idx:t,terminalType:e,label:i==null?void 0:i.LABEL});return s.definition.push(o),tJ},r}();xy.GastRecorder=Kye;function Ld(r,e,t,i){i===void 0&&(i=!1),Sy(t);var n=(0,yn.peek)(this.recordingProdStack),s=(0,yn.isFunction)(e)?e:e.DEF,o=new r({definition:[],idx:t});return i&&(o.separator=e.SEP),(0,yn.has)(e,"MAX_LOOKAHEAD")&&(o.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(o),s.call(this),n.definition.push(o),this.recordingProdStack.pop(),vy}function Uye(r,e){var t=this;Sy(e);var i=(0,yn.peek)(this.recordingProdStack),n=(0,yn.isArray)(r)===!1,s=n===!1?r:r.DEF,o=new Mo.Alternation({definition:[],idx:e,ignoreAmbiguities:n&&r.IGNORE_AMBIGUITIES===!0});(0,yn.has)(r,"MAX_LOOKAHEAD")&&(o.maxLookahead=r.MAX_LOOKAHEAD);var a=(0,yn.some)(s,function(l){return(0,yn.isFunction)(l.GATE)});return o.hasPredicates=a,i.definition.push(o),(0,yn.forEach)(s,function(l){var c=new Mo.Alternative({definition:[]});o.definition.push(c),(0,yn.has)(l,"IGNORE_AMBIGUITIES")?c.ignoreAmbiguities=l.IGNORE_AMBIGUITIES:(0,yn.has)(l,"GATE")&&(c.ignoreAmbiguities=!0),t.recordingProdStack.push(c),l.ALT.call(t),t.recordingProdStack.pop()}),vy}function Zq(r){return r===0?"":""+r}function Sy(r){if(r<0||r>Xq){var e=new Error("Invalid DSL Method idx value: <"+r+`> - `+("Idx value must be a none negative value smaller than "+(Xq+1)));throw e.KNOWN_RECORDER_ERROR=!0,e}}});var nJ=w(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.PerformanceTracer=void 0;var iJ=Gt(),Hye=jn(),Gye=function(){function r(){}return r.prototype.initPerformanceTracer=function(e){if((0,iJ.has)(e,"traceInitPerf")){var t=e.traceInitPerf,i=typeof t=="number";this.traceInitMaxIdent=i?t:1/0,this.traceInitPerf=i?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=Hye.DEFAULT_PARSER_CONFIG.traceInitPerf;this.traceInitIndent=-1},r.prototype.TRACE_INIT=function(e,t){if(this.traceInitPerf===!0){this.traceInitIndent++;var i=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <"+e+">");var n=(0,iJ.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r}();Py.PerformanceTracer=Gye});var sJ=w(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.applyMixins=void 0;function Yye(r,e){e.forEach(function(t){var i=t.prototype;Object.getOwnPropertyNames(i).forEach(function(n){if(n!=="constructor"){var s=Object.getOwnPropertyDescriptor(i,n);s&&(s.get||s.set)?Object.defineProperty(r.prototype,n,s):r.prototype[n]=t.prototype[n]}})})}Dy.applyMixins=Yye});var jn=w(dr=>{"use strict";var AJ=dr&&dr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(dr,"__esModule",{value:!0});dr.EmbeddedActionsParser=dr.CstParser=dr.Parser=dr.EMPTY_ALT=dr.ParserDefinitionErrorType=dr.DEFAULT_RULE_CONFIG=dr.DEFAULT_PARSER_CONFIG=dr.END_OF_FILE=void 0;var en=Gt(),jye=qj(),oJ=TA(),lJ=xd(),aJ=Cq(),qye=sx(),Jye=Qq(),Wye=Tq(),zye=Mq(),Vye=Kq(),Xye=Yq(),Zye=qq(),_ye=zq(),$ye=rJ(),ewe=nJ(),twe=sJ();dr.END_OF_FILE=(0,oJ.createTokenInstance)(oJ.EOF,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(dr.END_OF_FILE);dr.DEFAULT_PARSER_CONFIG=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:lJ.defaultParserErrorProvider,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1});dr.DEFAULT_RULE_CONFIG=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});var rwe;(function(r){r[r.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",r[r.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",r[r.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",r[r.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",r[r.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",r[r.LEFT_RECURSION=5]="LEFT_RECURSION",r[r.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",r[r.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",r[r.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",r[r.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",r[r.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",r[r.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",r[r.TOO_MANY_ALTS=12]="TOO_MANY_ALTS"})(rwe=dr.ParserDefinitionErrorType||(dr.ParserDefinitionErrorType={}));function iwe(r){return r===void 0&&(r=void 0),function(){return r}}dr.EMPTY_ALT=iwe;var ky=function(){function r(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;var i=this;if(i.initErrorHandler(t),i.initLexerAdapter(),i.initLooksAhead(t),i.initRecognizerEngine(e,t),i.initRecoverable(t),i.initTreeBuilder(t),i.initContentAssist(),i.initGastRecorder(t),i.initPerformanceTracer(t),(0,en.has)(t,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. - Please use the flag on the relevant DSL method instead. - See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES - For further details.`);this.skipValidations=(0,en.has)(t,"skipValidations")?t.skipValidations:dr.DEFAULT_PARSER_CONFIG.skipValidations}return r.performSelfAnalysis=function(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")},r.prototype.performSelfAnalysis=function(){var e=this;this.TRACE_INIT("performSelfAnalysis",function(){var t;e.selfAnalysisDone=!0;var i=e.className;e.TRACE_INIT("toFastProps",function(){(0,en.toFastProperties)(e)}),e.TRACE_INIT("Grammar Recording",function(){try{e.enableRecording(),(0,en.forEach)(e.definedRulesNames,function(s){var o=e[s],a=o.originalGrammarAction,l=void 0;e.TRACE_INIT(s+" Rule",function(){l=e.topLevelRuleRecord(s,a)}),e.gastProductionsCache[s]=l})}finally{e.disableRecording()}});var n=[];if(e.TRACE_INIT("Grammar Resolving",function(){n=(0,aJ.resolveGrammar)({rules:(0,en.values)(e.gastProductionsCache)}),e.definitionErrors=e.definitionErrors.concat(n)}),e.TRACE_INIT("Grammar Validations",function(){if((0,en.isEmpty)(n)&&e.skipValidations===!1){var s=(0,aJ.validateGrammar)({rules:(0,en.values)(e.gastProductionsCache),maxLookahead:e.maxLookahead,tokenTypes:(0,en.values)(e.tokensMap),errMsgProvider:lJ.defaultGrammarValidatorErrorProvider,grammarName:i});e.definitionErrors=e.definitionErrors.concat(s)}}),(0,en.isEmpty)(e.definitionErrors)&&(e.recoveryEnabled&&e.TRACE_INIT("computeAllProdsFollows",function(){var s=(0,jye.computeAllProdsFollows)((0,en.values)(e.gastProductionsCache));e.resyncFollows=s}),e.TRACE_INIT("ComputeLookaheadFunctions",function(){e.preComputeLookaheadFunctions((0,en.values)(e.gastProductionsCache))})),!r.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,en.isEmpty)(e.definitionErrors))throw t=(0,en.map)(e.definitionErrors,function(s){return s.message}),new Error(`Parser Definition Errors detected: - `+t.join(` -------------------------------- -`))})},r.DEFER_DEFINITION_ERRORS_HANDLING=!1,r}();dr.Parser=ky;(0,twe.applyMixins)(ky,[qye.Recoverable,Jye.LooksAhead,Wye.TreeBuilder,zye.LexerAdapter,Xye.RecognizerEngine,Vye.RecognizerApi,Zye.ErrorHandler,_ye.ContentAssist,$ye.GastRecorder,ewe.PerformanceTracer]);var nwe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!0,n=r.call(this,t,s)||this,n}return e}(ky);dr.CstParser=nwe;var swe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!1,n=r.call(this,t,s)||this,n}return e}(ky);dr.EmbeddedActionsParser=swe});var uJ=w(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0});Ry.createSyntaxDiagramsCode=void 0;var cJ=Dv();function owe(r,e){var t=e===void 0?{}:e,i=t.resourceBase,n=i===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/":i,s=t.css,o=s===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/diagrams.css":s,a=` - - - - - -`,l=` - -`,c=` - diff --git a/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.css b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.css new file mode 100644 index 000000000000..a3e7be665c31 --- /dev/null +++ b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.css @@ -0,0 +1,32 @@ +.navigation-layout { + & nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px; + background-color: color-mix(in srgb, yellow 50%, transparent); + border-bottom: 2px dashed color-mix(in srgb, yellow 90%, black); + } + + & ul { + list-style: none; + display: flex; + margin: 0; + padding: 0; + } + + & li { + margin-right: 10px; + } + + & a { + text-decoration: none; + color: #333; + padding: 5px; + border-bottom: 2px solid transparent; + } + + & a:hover { + border-bottom: 2px solid #333; + } +} diff --git a/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.stories.tsx b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.stories.tsx new file mode 100644 index 000000000000..4ec5ddf88eb3 --- /dev/null +++ b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.stories.tsx @@ -0,0 +1,13 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import NavigationLayout from './NavigationLayout' + +const meta: Meta = { + component: NavigationLayout, +} + +export default meta + +type Story = StoryObj + +export const Primary: Story = {} diff --git a/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.test.tsx b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.test.tsx new file mode 100644 index 000000000000..74fff5fc1509 --- /dev/null +++ b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.test.tsx @@ -0,0 +1,14 @@ +import { render } from '@redwoodjs/testing/web' + +import NavigationLayout from './NavigationLayout' + +// Improve this test with help from the Redwood Testing Doc: +// https://redwoodjs.com/docs/testing#testing-pages-layouts + +describe('NavigationLayout', () => { + it('renders successfully', () => { + expect(() => { + render() + }).not.toThrow() + }) +}) diff --git a/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.tsx b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.tsx new file mode 100644 index 000000000000..4f13e197309a --- /dev/null +++ b/__fixtures__/test-project-rsc-external-packages/web/src/layouts/NavigationLayout/NavigationLayout.tsx @@ -0,0 +1,27 @@ +import { Link, routes } from '@redwoodjs/router' + +import './NavigationLayout.css' + +type NavigationLayoutProps = { + children?: React.ReactNode +} + +const NavigationLayout = ({ children }: NavigationLayoutProps) => { + return ( +
+ +
{children}
+
+ ) +} + +export default NavigationLayout diff --git a/__fixtures__/test-project/.nvmrc b/__fixtures__/test-project/.nvmrc index b009dfb9d9f9..3f430af82b3d 100644 --- a/__fixtures__/test-project/.nvmrc +++ b/__fixtures__/test-project/.nvmrc @@ -1 +1 @@ -lts/* +v18 diff --git a/__fixtures__/test-project/.vscode/launch.json b/__fixtures__/test-project/.vscode/launch.json index ea5956966fff..340be43c34da 100644 --- a/__fixtures__/test-project/.vscode/launch.json +++ b/__fixtures__/test-project/.vscode/launch.json @@ -2,7 +2,7 @@ "version": "0.3.0", "configurations": [ { - "command": "yarn redwood dev --apiDebugPort 18911", + "command": "yarn redwood dev --apiDebugPort 18911", // you can add --fwd='--open=false' to prevent the browser from opening "name": "Run Dev Server", "request": "launch", "type": "node-terminal" @@ -18,7 +18,16 @@ "localRoot": "${workspaceFolder}/node_modules/@redwoodjs/api-server/dist", "remoteRoot": "${workspaceFolder}/node_modules/@redwoodjs/api-server/dist", "sourceMaps": true, - "restart": true + "restart": true, + "preLaunchTask": "WaitForDevServer", + }, + { + "name": "Launch Web debugger", + "type": "chrome", + "request": "launch", + "url": "http://localhost:8910", + "webRoot": "${workspaceRoot}/web/src", + "preLaunchTask": "WaitForDevServer", }, { "command": "yarn redwood test api", @@ -32,5 +41,16 @@ "request": "launch", "type": "node-terminal" }, + ], + "compounds": [ + { + "name": "Start Debug", + "configurations": [ + "Run Dev Server", + "Attach API debugger", + "Launch Web debugger" + ], + "stopAll": true + } ] } diff --git a/__fixtures__/test-project/.vscode/tasks.json b/__fixtures__/test-project/.vscode/tasks.json new file mode 100644 index 000000000000..8b486bdf6596 --- /dev/null +++ b/__fixtures__/test-project/.vscode/tasks.json @@ -0,0 +1,43 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "WaitForDevServer", + "group": "none", + "type": "shell", + "windows": { + "command": "powershell", + "args": [ + "-NoProfile", + "-ExecutionPolicy", "Bypass", + "$port = $env:PORT; while (-not (Test-NetConnection -ComputerName localhost -Port $port)) { Start-Sleep -Seconds 1 };" + ] + }, + "linux": { + "command": "bash", + "args": [ + "-c", + "port=$PORT; while ! nc -z localhost $port; do sleep 1; done;" + ] + }, + "osx": { + "command": "bash", + "args": [ + "-c", + "port=$PORT; while ! nc -z localhost $port; do sleep 1; done;" + ] + }, + "options": { + "env": { + "port": "18911" + } + }, + "presentation": { + "reveal": "silent", + "revealProblems": "onProblem", + "panel": "shared", + "close": true + } + }, + ] +} diff --git a/__fixtures__/test-project/.yarn/releases/yarn-3.6.3.cjs b/__fixtures__/test-project/.yarn/releases/yarn-3.6.3.cjs deleted file mode 100755 index 9837c3028118..000000000000 --- a/__fixtures__/test-project/.yarn/releases/yarn-3.6.3.cjs +++ /dev/null @@ -1,874 +0,0 @@ -#!/usr/bin/env node -/* eslint-disable */ -//prettier-ignore -(()=>{var Dge=Object.create;var lS=Object.defineProperty;var kge=Object.getOwnPropertyDescriptor;var Rge=Object.getOwnPropertyNames;var Fge=Object.getPrototypeOf,Nge=Object.prototype.hasOwnProperty;var J=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});var Tge=(r,e)=>()=>(r&&(e=r(r=0)),e);var w=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ut=(r,e)=>{for(var t in e)lS(r,t,{get:e[t],enumerable:!0})},Lge=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Rge(e))!Nge.call(r,n)&&n!==t&&lS(r,n,{get:()=>e[n],enumerable:!(i=kge(e,n))||i.enumerable});return r};var Pe=(r,e,t)=>(t=r!=null?Dge(Fge(r)):{},Lge(e||!r||!r.__esModule?lS(t,"default",{value:r,enumerable:!0}):t,r));var PK=w((z7e,xK)=>{xK.exports=vK;vK.sync=ife;var QK=J("fs");function rfe(r,e){var t=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!t||(t=t.split(";"),t.indexOf("")!==-1))return!0;for(var i=0;i{FK.exports=kK;kK.sync=nfe;var DK=J("fs");function kK(r,e,t){DK.stat(r,function(i,n){t(i,i?!1:RK(n,e))})}function nfe(r,e){return RK(DK.statSync(r),e)}function RK(r,e){return r.isFile()&&sfe(r,e)}function sfe(r,e){var t=r.mode,i=r.uid,n=r.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),l=parseInt("010",8),c=parseInt("001",8),u=a|l,g=t&c||t&l&&n===o||t&a&&i===s||t&u&&s===0;return g}});var LK=w((Z7e,TK)=>{var X7e=J("fs"),lI;process.platform==="win32"||global.TESTING_WINDOWS?lI=PK():lI=NK();TK.exports=SS;SS.sync=ofe;function SS(r,e,t){if(typeof e=="function"&&(t=e,e={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(i,n){SS(r,e||{},function(s,o){s?n(s):i(o)})})}lI(r,e||{},function(i,n){i&&(i.code==="EACCES"||e&&e.ignoreErrors)&&(i=null,n=!1),t(i,n)})}function ofe(r,e){try{return lI.sync(r,e||{})}catch(t){if(e&&e.ignoreErrors||t.code==="EACCES")return!1;throw t}}});var YK=w((_7e,GK)=>{var Dg=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",MK=J("path"),afe=Dg?";":":",OK=LK(),KK=r=>Object.assign(new Error(`not found: ${r}`),{code:"ENOENT"}),UK=(r,e)=>{let t=e.colon||afe,i=r.match(/\//)||Dg&&r.match(/\\/)?[""]:[...Dg?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(t)],n=Dg?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Dg?n.split(t):[""];return Dg&&r.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:i,pathExt:s,pathExtExe:n}},HK=(r,e,t)=>{typeof e=="function"&&(t=e,e={}),e||(e={});let{pathEnv:i,pathExt:n,pathExtExe:s}=UK(r,e),o=[],a=c=>new Promise((u,g)=>{if(c===i.length)return e.all&&o.length?u(o):g(KK(r));let f=i[c],h=/^".*"$/.test(f)?f.slice(1,-1):f,p=MK.join(h,r),C=!h&&/^\.[\\\/]/.test(r)?r.slice(0,2)+p:p;u(l(C,c,0))}),l=(c,u,g)=>new Promise((f,h)=>{if(g===n.length)return f(a(u+1));let p=n[g];OK(c+p,{pathExt:s},(C,y)=>{if(!C&&y)if(e.all)o.push(c+p);else return f(c+p);return f(l(c,u,g+1))})});return t?a(0).then(c=>t(null,c),t):a(0)},Afe=(r,e)=>{e=e||{};let{pathEnv:t,pathExt:i,pathExtExe:n}=UK(r,e),s=[];for(let o=0;o{"use strict";var jK=(r={})=>{let e=r.env||process.env;return(r.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"};vS.exports=jK;vS.exports.default=jK});var VK=w((eZe,zK)=>{"use strict";var JK=J("path"),lfe=YK(),cfe=qK();function WK(r,e){let t=r.options.env||process.env,i=process.cwd(),n=r.options.cwd!=null,s=n&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(r.options.cwd)}catch{}let o;try{o=lfe.sync(r.command,{path:t[cfe({env:t})],pathExt:e?JK.delimiter:void 0})}catch{}finally{s&&process.chdir(i)}return o&&(o=JK.resolve(n?r.options.cwd:"",o)),o}function ufe(r){return WK(r)||WK(r,!0)}zK.exports=ufe});var XK=w((tZe,PS)=>{"use strict";var xS=/([()\][%!^"`<>&|;, *?])/g;function gfe(r){return r=r.replace(xS,"^$1"),r}function ffe(r,e){return r=`${r}`,r=r.replace(/(\\*)"/g,'$1$1\\"'),r=r.replace(/(\\*)$/,"$1$1"),r=`"${r}"`,r=r.replace(xS,"^$1"),e&&(r=r.replace(xS,"^$1")),r}PS.exports.command=gfe;PS.exports.argument=ffe});var _K=w((rZe,ZK)=>{"use strict";ZK.exports=/^#!(.*)/});var eU=w((iZe,$K)=>{"use strict";var hfe=_K();$K.exports=(r="")=>{let e=r.match(hfe);if(!e)return null;let[t,i]=e[0].replace(/#! ?/,"").split(" "),n=t.split("/").pop();return n==="env"?i:i?`${n} ${i}`:n}});var rU=w((nZe,tU)=>{"use strict";var DS=J("fs"),pfe=eU();function dfe(r){let t=Buffer.alloc(150),i;try{i=DS.openSync(r,"r"),DS.readSync(i,t,0,150,0),DS.closeSync(i)}catch{}return pfe(t.toString())}tU.exports=dfe});var oU=w((sZe,sU)=>{"use strict";var Cfe=J("path"),iU=VK(),nU=XK(),mfe=rU(),Efe=process.platform==="win32",Ife=/\.(?:com|exe)$/i,yfe=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function wfe(r){r.file=iU(r);let e=r.file&&mfe(r.file);return e?(r.args.unshift(r.file),r.command=e,iU(r)):r.file}function Bfe(r){if(!Efe)return r;let e=wfe(r),t=!Ife.test(e);if(r.options.forceShell||t){let i=yfe.test(e);r.command=Cfe.normalize(r.command),r.command=nU.command(r.command),r.args=r.args.map(s=>nU.argument(s,i));let n=[r.command].concat(r.args).join(" ");r.args=["/d","/s","/c",`"${n}"`],r.command=process.env.comspec||"cmd.exe",r.options.windowsVerbatimArguments=!0}return r}function bfe(r,e,t){e&&!Array.isArray(e)&&(t=e,e=null),e=e?e.slice(0):[],t=Object.assign({},t);let i={command:r,args:e,options:t,file:void 0,original:{command:r,args:e}};return t.shell?i:Bfe(i)}sU.exports=bfe});var lU=w((oZe,AU)=>{"use strict";var kS=process.platform==="win32";function RS(r,e){return Object.assign(new Error(`${e} ${r.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${r.command}`,path:r.command,spawnargs:r.args})}function Qfe(r,e){if(!kS)return;let t=r.emit;r.emit=function(i,n){if(i==="exit"){let s=aU(n,e,"spawn");if(s)return t.call(r,"error",s)}return t.apply(r,arguments)}}function aU(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawn"):null}function Sfe(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawnSync"):null}AU.exports={hookChildProcess:Qfe,verifyENOENT:aU,verifyENOENTSync:Sfe,notFoundError:RS}});var TS=w((aZe,kg)=>{"use strict";var cU=J("child_process"),FS=oU(),NS=lU();function uU(r,e,t){let i=FS(r,e,t),n=cU.spawn(i.command,i.args,i.options);return NS.hookChildProcess(n,i),n}function vfe(r,e,t){let i=FS(r,e,t),n=cU.spawnSync(i.command,i.args,i.options);return n.error=n.error||NS.verifyENOENTSync(n.status,i),n}kg.exports=uU;kg.exports.spawn=uU;kg.exports.sync=vfe;kg.exports._parse=FS;kg.exports._enoent=NS});var fU=w((AZe,gU)=>{"use strict";function xfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function Zl(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Zl)}xfe(Zl,Error);Zl.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g>",ie=me(">>",!1),de=">&",_e=me(">&",!1),Pt=">",It=me(">",!1),Mr="<<<",ii=me("<<<",!1),gi="<&",hr=me("<&",!1),fi="<",ni=me("<",!1),Ks=function(m){return{type:"argument",segments:[].concat(...m)}},pr=function(m){return m},Ii="$'",rs=me("$'",!1),fa="'",dA=me("'",!1),cg=function(m){return[{type:"text",text:m}]},is='""',CA=me('""',!1),ha=function(){return{type:"text",text:""}},wp='"',mA=me('"',!1),EA=function(m){return m},wr=function(m){return{type:"arithmetic",arithmetic:m,quoted:!0}},Tl=function(m){return{type:"shell",shell:m,quoted:!0}},ug=function(m){return{type:"variable",...m,quoted:!0}},yo=function(m){return{type:"text",text:m}},gg=function(m){return{type:"arithmetic",arithmetic:m,quoted:!1}},Bp=function(m){return{type:"shell",shell:m,quoted:!1}},bp=function(m){return{type:"variable",...m,quoted:!1}},vr=function(m){return{type:"glob",pattern:m}},se=/^[^']/,wo=Je(["'"],!0,!1),Fn=function(m){return m.join("")},fg=/^[^$"]/,bt=Je(["$",'"'],!0,!1),Ll=`\\ -`,Nn=me(`\\ -`,!1),ns=function(){return""},ss="\\",gt=me("\\",!1),Bo=/^[\\$"`]/,At=Je(["\\","$",'"',"`"],!1,!1),ln=function(m){return m},S="\\a",Lt=me("\\a",!1),hg=function(){return"a"},Ml="\\b",Qp=me("\\b",!1),Sp=function(){return"\b"},vp=/^[Ee]/,xp=Je(["E","e"],!1,!1),Pp=function(){return"\x1B"},G="\\f",yt=me("\\f",!1),IA=function(){return"\f"},zi="\\n",Ol=me("\\n",!1),Xe=function(){return` -`},pa="\\r",pg=me("\\r",!1),ME=function(){return"\r"},Dp="\\t",OE=me("\\t",!1),ar=function(){return" "},Tn="\\v",Kl=me("\\v",!1),kp=function(){return"\v"},Us=/^[\\'"?]/,da=Je(["\\","'",'"',"?"],!1,!1),cn=function(m){return String.fromCharCode(parseInt(m,16))},Le="\\x",dg=me("\\x",!1),Ul="\\u",Hs=me("\\u",!1),Hl="\\U",yA=me("\\U",!1),Cg=function(m){return String.fromCodePoint(parseInt(m,16))},mg=/^[0-7]/,Ca=Je([["0","7"]],!1,!1),ma=/^[0-9a-fA-f]/,rt=Je([["0","9"],["a","f"],["A","f"]],!1,!1),bo=nt(),wA="-",Gl=me("-",!1),Gs="+",Yl=me("+",!1),KE=".",Rp=me(".",!1),Eg=function(m,Q,N){return{type:"number",value:(m==="-"?-1:1)*parseFloat(Q.join("")+"."+N.join(""))}},Fp=function(m,Q){return{type:"number",value:(m==="-"?-1:1)*parseInt(Q.join(""))}},UE=function(m){return{type:"variable",...m}},jl=function(m){return{type:"variable",name:m}},HE=function(m){return m},Ig="*",BA=me("*",!1),Rr="/",GE=me("/",!1),Ys=function(m,Q,N){return{type:Q==="*"?"multiplication":"division",right:N}},js=function(m,Q){return Q.reduce((N,U)=>({left:N,...U}),m)},yg=function(m,Q,N){return{type:Q==="+"?"addition":"subtraction",right:N}},bA="$((",R=me("$((",!1),q="))",Ce=me("))",!1),Ke=function(m){return m},Re="$(",ze=me("$(",!1),dt=function(m){return m},Ft="${",Ln=me("${",!1),JQ=":-",k1=me(":-",!1),R1=function(m,Q){return{name:m,defaultValue:Q}},WQ=":-}",F1=me(":-}",!1),N1=function(m){return{name:m,defaultValue:[]}},zQ=":+",T1=me(":+",!1),L1=function(m,Q){return{name:m,alternativeValue:Q}},VQ=":+}",M1=me(":+}",!1),O1=function(m){return{name:m,alternativeValue:[]}},XQ=function(m){return{name:m}},K1="$",U1=me("$",!1),H1=function(m){return e.isGlobPattern(m)},G1=function(m){return m},ZQ=/^[a-zA-Z0-9_]/,_Q=Je([["a","z"],["A","Z"],["0","9"],"_"],!1,!1),$Q=function(){return L()},eS=/^[$@*?#a-zA-Z0-9_\-]/,tS=Je(["$","@","*","?","#",["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Y1=/^[(){}<>$|&; \t"']/,wg=Je(["(",")","{","}","<",">","$","|","&",";"," "," ",'"',"'"],!1,!1),rS=/^[<>&; \t"']/,iS=Je(["<",">","&",";"," "," ",'"',"'"],!1,!1),YE=/^[ \t]/,jE=Je([" "," "],!1,!1),b=0,Oe=0,QA=[{line:1,column:1}],d=0,E=[],I=0,k;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function L(){return r.substring(Oe,b)}function Z(){return Et(Oe,b)}function te(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Ri([lt(m)],r.substring(Oe,b),Q)}function we(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Mn(m,Q)}function me(m,Q){return{type:"literal",text:m,ignoreCase:Q}}function Je(m,Q,N){return{type:"class",parts:m,inverted:Q,ignoreCase:N}}function nt(){return{type:"any"}}function wt(){return{type:"end"}}function lt(m){return{type:"other",description:m}}function it(m){var Q=QA[m],N;if(Q)return Q;for(N=m-1;!QA[N];)N--;for(Q=QA[N],Q={line:Q.line,column:Q.column};Nd&&(d=b,E=[]),E.push(m))}function Mn(m,Q){return new Zl(m,null,null,Q)}function Ri(m,Q,N){return new Zl(Zl.buildMessage(m,Q),m,Q,N)}function SA(){var m,Q;return m=b,Q=Or(),Q===t&&(Q=null),Q!==t&&(Oe=m,Q=s(Q)),m=Q,m}function Or(){var m,Q,N,U,ce;if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U!==t?(ce=os(),ce===t&&(ce=null),ce!==t?(Oe=m,Q=o(Q,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;if(m===t)if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U===t&&(U=null),U!==t?(Oe=m,Q=a(Q,U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function os(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=Or(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=l(N),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Ea(){var m;return r.charCodeAt(b)===59?(m=c,b++):(m=t,I===0&&be(u)),m===t&&(r.charCodeAt(b)===38?(m=g,b++):(m=t,I===0&&be(f))),m}function Kr(){var m,Q,N;return m=b,Q=j1(),Q!==t?(N=fge(),N===t&&(N=null),N!==t?(Oe=m,Q=h(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function fge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=hge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Kr(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=p(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function hge(){var m;return r.substr(b,2)===C?(m=C,b+=2):(m=t,I===0&&be(y)),m===t&&(r.substr(b,2)===B?(m=B,b+=2):(m=t,I===0&&be(v))),m}function j1(){var m,Q,N;return m=b,Q=Cge(),Q!==t?(N=pge(),N===t&&(N=null),N!==t?(Oe=m,Q=D(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function pge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=dge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=j1(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=T(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function dge(){var m;return r.substr(b,2)===H?(m=H,b+=2):(m=t,I===0&&be(j)),m===t&&(r.charCodeAt(b)===124?(m=$,b++):(m=t,I===0&&be(V))),m}function qE(){var m,Q,N,U,ce,Se;if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t)if(U=W1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(Oe=m,Q=A(Q,U),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;else b=m,m=t;if(m===t)if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Ae(Q),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Cge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===40?(N=ge,b++):(N=t,I===0&&be(re)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===41?(ht=M,b++):(ht=t,I===0&&be(F)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=ue(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===123?(N=pe,b++):(N=t,I===0&&be(ke)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===125?(ht=Fe,b++):(ht=t,I===0&&be(Ne)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=oe(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){for(N=[],U=qE();U!==t;)N.push(U),U=qE();if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t){if(ce=[],Se=J1(),Se!==t)for(;Se!==t;)ce.push(Se),Se=J1();else ce=t;if(ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=le(N,ce),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t}else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=qE(),U!==t)for(;U!==t;)N.push(U),U=qE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Be(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}}}return m}function q1(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=JE(),U!==t)for(;U!==t;)N.push(U),U=JE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=fe(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t;return m}function J1(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t?(N=Np(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();Q!==t?(N=JE(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t)}return m}function Np(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(qe.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(ne)),N===t&&(N=null),N!==t?(U=mge(),U!==t?(ce=JE(),ce!==t?(Oe=m,Q=Y(N,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function mge(){var m;return r.substr(b,2)===he?(m=he,b+=2):(m=t,I===0&&be(ie)),m===t&&(r.substr(b,2)===de?(m=de,b+=2):(m=t,I===0&&be(_e)),m===t&&(r.charCodeAt(b)===62?(m=Pt,b++):(m=t,I===0&&be(It)),m===t&&(r.substr(b,3)===Mr?(m=Mr,b+=3):(m=t,I===0&&be(ii)),m===t&&(r.substr(b,2)===gi?(m=gi,b+=2):(m=t,I===0&&be(hr)),m===t&&(r.charCodeAt(b)===60?(m=fi,b++):(m=t,I===0&&be(ni))))))),m}function JE(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(N=W1(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m}function W1(){var m,Q,N;if(m=b,Q=[],N=z1(),N!==t)for(;N!==t;)Q.push(N),N=z1();else Q=t;return Q!==t&&(Oe=m,Q=Ks(Q)),m=Q,m}function z1(){var m,Q;return m=b,Q=Ege(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=Ige(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=yge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=wge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q))),m}function Ege(){var m,Q,N,U;return m=b,r.substr(b,2)===Ii?(Q=Ii,b+=2):(Q=t,I===0&&be(rs)),Q!==t?(N=Qge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function Ige(){var m,Q,N,U;return m=b,r.charCodeAt(b)===39?(Q=fa,b++):(Q=t,I===0&&be(dA)),Q!==t?(N=Bge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function yge(){var m,Q,N,U;if(m=b,r.substr(b,2)===is?(Q=is,b+=2):(Q=t,I===0&&be(CA)),Q!==t&&(Oe=m,Q=ha()),m=Q,m===t)if(m=b,r.charCodeAt(b)===34?(Q=wp,b++):(Q=t,I===0&&be(mA)),Q!==t){for(N=[],U=V1();U!==t;)N.push(U),U=V1();N!==t?(r.charCodeAt(b)===34?(U=wp,b++):(U=t,I===0&&be(mA)),U!==t?(Oe=m,Q=EA(N),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function wge(){var m,Q,N;if(m=b,Q=[],N=X1(),N!==t)for(;N!==t;)Q.push(N),N=X1();else Q=t;return Q!==t&&(Oe=m,Q=EA(Q)),m=Q,m}function V1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=wr(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Tl(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=ug(Q)),m=Q,m===t&&(m=b,Q=bge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q))),m}function X1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=gg(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Bp(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=bp(Q)),m=Q,m===t&&(m=b,Q=xge(),Q!==t&&(Oe=m,Q=vr(Q)),m=Q,m===t&&(m=b,Q=vge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q)))),m}function Bge(){var m,Q,N;for(m=b,Q=[],se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));N!==t;)Q.push(N),se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function bge(){var m,Q,N;if(m=b,Q=[],N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt))),N!==t)for(;N!==t;)Q.push(N),N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt)));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function Z1(){var m,Q,N;return m=b,r.substr(b,2)===Ll?(Q=Ll,b+=2):(Q=t,I===0&&be(Nn)),Q!==t&&(Oe=m,Q=ns()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Bo.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(At)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t)),m}function Qge(){var m,Q,N;for(m=b,Q=[],N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));N!==t;)Q.push(N),N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function _1(){var m,Q,N;return m=b,r.substr(b,2)===S?(Q=S,b+=2):(Q=t,I===0&&be(Lt)),Q!==t&&(Oe=m,Q=hg()),m=Q,m===t&&(m=b,r.substr(b,2)===Ml?(Q=Ml,b+=2):(Q=t,I===0&&be(Qp)),Q!==t&&(Oe=m,Q=Sp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(vp.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(xp)),N!==t?(Oe=m,Q=Pp(),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===G?(Q=G,b+=2):(Q=t,I===0&&be(yt)),Q!==t&&(Oe=m,Q=IA()),m=Q,m===t&&(m=b,r.substr(b,2)===zi?(Q=zi,b+=2):(Q=t,I===0&&be(Ol)),Q!==t&&(Oe=m,Q=Xe()),m=Q,m===t&&(m=b,r.substr(b,2)===pa?(Q=pa,b+=2):(Q=t,I===0&&be(pg)),Q!==t&&(Oe=m,Q=ME()),m=Q,m===t&&(m=b,r.substr(b,2)===Dp?(Q=Dp,b+=2):(Q=t,I===0&&be(OE)),Q!==t&&(Oe=m,Q=ar()),m=Q,m===t&&(m=b,r.substr(b,2)===Tn?(Q=Tn,b+=2):(Q=t,I===0&&be(Kl)),Q!==t&&(Oe=m,Q=kp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Us.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(da)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=Sge()))))))))),m}function Sge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as,AS;return m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(N=nS(),N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Le?(Q=Le,b+=2):(Q=t,I===0&&be(dg)),Q!==t?(N=b,U=b,ce=nS(),ce!==t?(Se=On(),Se!==t?(ce=[ce,Se],U=ce):(b=U,U=t)):(b=U,U=t),U===t&&(U=nS()),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ul?(Q=Ul,b+=2):(Q=t,I===0&&be(Hs)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(ce=[ce,Se,ht,Bt],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Hl?(Q=Hl,b+=2):(Q=t,I===0&&be(yA)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(qr=On(),qr!==t?(hi=On(),hi!==t?(as=On(),as!==t?(AS=On(),AS!==t?(ce=[ce,Se,ht,Bt,qr,hi,as,AS],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=Cg(N),m=Q):(b=m,m=t)):(b=m,m=t)))),m}function nS(){var m;return mg.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(Ca)),m}function On(){var m;return ma.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(rt)),m}function vge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t)),N!==t)for(;N!==t;)Q.push(N),N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function sS(){var m,Q,N,U,ce,Se;if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;if(N!==t)if(r.charCodeAt(b)===46?(U=KE,b++):(U=t,I===0&&be(Rp)),U!==t){if(ce=[],qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne)),Se!==t)for(;Se!==t;)ce.push(Se),qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne));else ce=t;ce!==t?(Oe=m,Q=Eg(Q,N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;if(m===t){if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;N!==t?(Oe=m,Q=Fp(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;if(m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=UE(Q)),m=Q,m===t&&(m=b,Q=ql(),Q!==t&&(Oe=m,Q=jl(Q)),m=Q,m===t)))if(m=b,r.charCodeAt(b)===40?(Q=ge,b++):(Q=t,I===0&&be(re)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.charCodeAt(b)===41?(Se=M,b++):(Se=t,I===0&&be(F)),Se!==t?(Oe=m,Q=HE(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t}return m}function oS(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=sS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function $1(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=oS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function eK(){var m,Q,N,U,ce,Se;if(m=b,r.substr(b,3)===bA?(Q=bA,b+=3):(Q=t,I===0&&be(R)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.substr(b,2)===q?(Se=q,b+=2):(Se=t,I===0&&be(Ce)),Se!==t?(Oe=m,Q=Ke(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;return m}function tK(){var m,Q,N,U;return m=b,r.substr(b,2)===Re?(Q=Re,b+=2):(Q=t,I===0&&be(ze)),Q!==t?(N=Or(),N!==t?(r.charCodeAt(b)===41?(U=M,b++):(U=t,I===0&&be(F)),U!==t?(Oe=m,Q=dt(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function aS(){var m,Q,N,U,ce,Se;return m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===JQ?(U=JQ,b+=2):(U=t,I===0&&be(k1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=R1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===WQ?(U=WQ,b+=3):(U=t,I===0&&be(F1)),U!==t?(Oe=m,Q=N1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===zQ?(U=zQ,b+=2):(U=t,I===0&&be(T1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=L1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===VQ?(U=VQ,b+=3):(U=t,I===0&&be(M1)),U!==t?(Oe=m,Q=O1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.charCodeAt(b)===125?(U=Fe,b++):(U=t,I===0&&be(Ne)),U!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.charCodeAt(b)===36?(Q=K1,b++):(Q=t,I===0&&be(U1)),Q!==t?(N=ql(),N!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)))))),m}function xge(){var m,Q,N;return m=b,Q=Pge(),Q!==t?(Oe=b,N=H1(Q),N?N=void 0:N=t,N!==t?(Oe=m,Q=G1(Q),m=Q):(b=m,m=t)):(b=m,m=t),m}function Pge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N!==t)for(;N!==t;)Q.push(N),N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t);else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function rK(){var m,Q,N;if(m=b,Q=[],ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q)),N!==t)for(;N!==t;)Q.push(N),ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function ql(){var m,Q,N;if(m=b,Q=[],eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS)),N!==t)for(;N!==t;)Q.push(N),eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function iK(){var m;return Y1.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(wg)),m}function nK(){var m;return rS.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(iS)),m}function He(){var m,Q;if(m=[],YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE)),Q!==t)for(;Q!==t;)m.push(Q),YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE));else m=t;return m}if(k=n(),k!==t&&b===r.length)return k;throw k!==t&&b{"use strict";function Dfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function $l(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,$l)}Dfe($l,Error);$l.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;gH&&(H=v,j=[]),j.push(ne))}function Ne(ne,Y){return new $l(ne,null,null,Y)}function oe(ne,Y,he){return new $l($l.buildMessage(ne,Y),ne,Y,he)}function le(){var ne,Y,he,ie;return ne=v,Y=Be(),Y!==t?(r.charCodeAt(v)===47?(he=s,v++):(he=t,$===0&&Fe(o)),he!==t?(ie=Be(),ie!==t?(D=ne,Y=a(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=Be(),Y!==t&&(D=ne,Y=l(Y)),ne=Y),ne}function Be(){var ne,Y,he,ie;return ne=v,Y=fe(),Y!==t?(r.charCodeAt(v)===64?(he=c,v++):(he=t,$===0&&Fe(u)),he!==t?(ie=qe(),ie!==t?(D=ne,Y=g(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=fe(),Y!==t&&(D=ne,Y=f(Y)),ne=Y),ne}function fe(){var ne,Y,he,ie,de;return ne=v,r.charCodeAt(v)===64?(Y=c,v++):(Y=t,$===0&&Fe(u)),Y!==t?(he=ae(),he!==t?(r.charCodeAt(v)===47?(ie=s,v++):(ie=t,$===0&&Fe(o)),ie!==t?(de=ae(),de!==t?(D=ne,Y=h(),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=ae(),Y!==t&&(D=ne,Y=h()),ne=Y),ne}function ae(){var ne,Y,he;if(ne=v,Y=[],p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C)),he!==t)for(;he!==t;)Y.push(he),p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}function qe(){var ne,Y,he;if(ne=v,Y=[],y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B)),he!==t)for(;he!==t;)Y.push(he),y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}if(V=n(),V!==t&&v===r.length)return V;throw V!==t&&v{"use strict";function mU(r){return typeof r>"u"||r===null}function Rfe(r){return typeof r=="object"&&r!==null}function Ffe(r){return Array.isArray(r)?r:mU(r)?[]:[r]}function Nfe(r,e){var t,i,n,s;if(e)for(s=Object.keys(e),t=0,i=s.length;t{"use strict";function Vp(r,e){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Vp.prototype=Object.create(Error.prototype);Vp.prototype.constructor=Vp;Vp.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t};EU.exports=Vp});var wU=w((SZe,yU)=>{"use strict";var IU=tc();function HS(r,e,t,i,n){this.name=r,this.buffer=e,this.position=t,this.line=i,this.column=n}HS.prototype.getSnippet=function(e,t){var i,n,s,o,a;if(!this.buffer)return null;for(e=e||4,t=t||75,i="",n=this.position;n>0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(n-1))===-1;)if(n-=1,this.position-n>t/2-1){i=" ... ",n+=5;break}for(s="",o=this.position;ot/2-1){s=" ... ",o-=5;break}return a=this.buffer.slice(n,o),IU.repeat(" ",e)+i+a+s+` -`+IU.repeat(" ",e+this.position-n+i.length)+"^"};HS.prototype.toString=function(e){var t,i="";return this.name&&(i+='in "'+this.name+'" '),i+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet(),t&&(i+=`: -`+t)),i};yU.exports=HS});var si=w((vZe,bU)=>{"use strict";var BU=Ng(),Mfe=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],Ofe=["scalar","sequence","mapping"];function Kfe(r){var e={};return r!==null&&Object.keys(r).forEach(function(t){r[t].forEach(function(i){e[String(i)]=t})}),e}function Ufe(r,e){if(e=e||{},Object.keys(e).forEach(function(t){if(Mfe.indexOf(t)===-1)throw new BU('Unknown option "'+t+'" is met in definition of "'+r+'" YAML type.')}),this.tag=r,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=Kfe(e.styleAliases||null),Ofe.indexOf(this.kind)===-1)throw new BU('Unknown kind "'+this.kind+'" is specified for "'+r+'" YAML type.')}bU.exports=Ufe});var rc=w((xZe,SU)=>{"use strict";var QU=tc(),dI=Ng(),Hfe=si();function GS(r,e,t){var i=[];return r.include.forEach(function(n){t=GS(n,e,t)}),r[e].forEach(function(n){t.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&i.push(o)}),t.push(n)}),t.filter(function(n,s){return i.indexOf(s)===-1})}function Gfe(){var r={scalar:{},sequence:{},mapping:{},fallback:{}},e,t;function i(n){r[n.kind][n.tag]=r.fallback[n.tag]=n}for(e=0,t=arguments.length;e{"use strict";var Yfe=si();vU.exports=new Yfe("tag:yaml.org,2002:str",{kind:"scalar",construct:function(r){return r!==null?r:""}})});var DU=w((DZe,PU)=>{"use strict";var jfe=si();PU.exports=new jfe("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(r){return r!==null?r:[]}})});var RU=w((kZe,kU)=>{"use strict";var qfe=si();kU.exports=new qfe("tag:yaml.org,2002:map",{kind:"mapping",construct:function(r){return r!==null?r:{}}})});var CI=w((RZe,FU)=>{"use strict";var Jfe=rc();FU.exports=new Jfe({explicit:[xU(),DU(),RU()]})});var TU=w((FZe,NU)=>{"use strict";var Wfe=si();function zfe(r){if(r===null)return!0;var e=r.length;return e===1&&r==="~"||e===4&&(r==="null"||r==="Null"||r==="NULL")}function Vfe(){return null}function Xfe(r){return r===null}NU.exports=new Wfe("tag:yaml.org,2002:null",{kind:"scalar",resolve:zfe,construct:Vfe,predicate:Xfe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})});var MU=w((NZe,LU)=>{"use strict";var Zfe=si();function _fe(r){if(r===null)return!1;var e=r.length;return e===4&&(r==="true"||r==="True"||r==="TRUE")||e===5&&(r==="false"||r==="False"||r==="FALSE")}function $fe(r){return r==="true"||r==="True"||r==="TRUE"}function ehe(r){return Object.prototype.toString.call(r)==="[object Boolean]"}LU.exports=new Zfe("tag:yaml.org,2002:bool",{kind:"scalar",resolve:_fe,construct:$fe,predicate:ehe,represent:{lowercase:function(r){return r?"true":"false"},uppercase:function(r){return r?"TRUE":"FALSE"},camelcase:function(r){return r?"True":"False"}},defaultStyle:"lowercase"})});var KU=w((TZe,OU)=>{"use strict";var the=tc(),rhe=si();function ihe(r){return 48<=r&&r<=57||65<=r&&r<=70||97<=r&&r<=102}function nhe(r){return 48<=r&&r<=55}function she(r){return 48<=r&&r<=57}function ohe(r){if(r===null)return!1;var e=r.length,t=0,i=!1,n;if(!e)return!1;if(n=r[t],(n==="-"||n==="+")&&(n=r[++t]),n==="0"){if(t+1===e)return!0;if(n=r[++t],n==="b"){for(t++;t=0?"0b"+r.toString(2):"-0b"+r.toString(2).slice(1)},octal:function(r){return r>=0?"0"+r.toString(8):"-0"+r.toString(8).slice(1)},decimal:function(r){return r.toString(10)},hexadecimal:function(r){return r>=0?"0x"+r.toString(16).toUpperCase():"-0x"+r.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var GU=w((LZe,HU)=>{"use strict";var UU=tc(),lhe=si(),che=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function uhe(r){return!(r===null||!che.test(r)||r[r.length-1]==="_")}function ghe(r){var e,t,i,n;return e=r.replace(/_/g,"").toLowerCase(),t=e[0]==="-"?-1:1,n=[],"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:e.indexOf(":")>=0?(e.split(":").forEach(function(s){n.unshift(parseFloat(s,10))}),e=0,i=1,n.forEach(function(s){e+=s*i,i*=60}),t*e):t*parseFloat(e,10)}var fhe=/^[-+]?[0-9]+e/;function hhe(r,e){var t;if(isNaN(r))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===r)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===r)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(UU.isNegativeZero(r))return"-0.0";return t=r.toString(10),fhe.test(t)?t.replace("e",".e"):t}function phe(r){return Object.prototype.toString.call(r)==="[object Number]"&&(r%1!==0||UU.isNegativeZero(r))}HU.exports=new lhe("tag:yaml.org,2002:float",{kind:"scalar",resolve:uhe,construct:ghe,predicate:phe,represent:hhe,defaultStyle:"lowercase"})});var YS=w((MZe,YU)=>{"use strict";var dhe=rc();YU.exports=new dhe({include:[CI()],implicit:[TU(),MU(),KU(),GU()]})});var jS=w((OZe,jU)=>{"use strict";var Che=rc();jU.exports=new Che({include:[YS()]})});var zU=w((KZe,WU)=>{"use strict";var mhe=si(),qU=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),JU=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 Ehe(r){return r===null?!1:qU.exec(r)!==null||JU.exec(r)!==null}function Ihe(r){var e,t,i,n,s,o,a,l=0,c=null,u,g,f;if(e=qU.exec(r),e===null&&(e=JU.exec(r)),e===null)throw new Error("Date resolve error");if(t=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(t,i,n));if(s=+e[4],o=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],g=+(e[11]||0),c=(u*60+g)*6e4,e[9]==="-"&&(c=-c)),f=new Date(Date.UTC(t,i,n,s,o,a,l)),c&&f.setTime(f.getTime()-c),f}function yhe(r){return r.toISOString()}WU.exports=new mhe("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Ehe,construct:Ihe,instanceOf:Date,represent:yhe})});var XU=w((UZe,VU)=>{"use strict";var whe=si();function Bhe(r){return r==="<<"||r===null}VU.exports=new whe("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Bhe})});var $U=w((HZe,_U)=>{"use strict";var ic;try{ZU=J,ic=ZU("buffer").Buffer}catch{}var ZU,bhe=si(),qS=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Qhe(r){if(r===null)return!1;var e,t,i=0,n=r.length,s=qS;for(t=0;t64)){if(e<0)return!1;i+=6}return i%8===0}function She(r){var e,t,i=r.replace(/[\r\n=]/g,""),n=i.length,s=qS,o=0,a=[];for(e=0;e>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(i.charAt(e));return t=n%4*6,t===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):t===18?(a.push(o>>10&255),a.push(o>>2&255)):t===12&&a.push(o>>4&255),ic?ic.from?ic.from(a):new ic(a):a}function vhe(r){var e="",t=0,i,n,s=r.length,o=qS;for(i=0;i>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]),t=(t<<8)+r[i];return n=s%3,n===0?(e+=o[t>>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]):n===2?(e+=o[t>>10&63],e+=o[t>>4&63],e+=o[t<<2&63],e+=o[64]):n===1&&(e+=o[t>>2&63],e+=o[t<<4&63],e+=o[64],e+=o[64]),e}function xhe(r){return ic&&ic.isBuffer(r)}_U.exports=new bhe("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Qhe,construct:She,predicate:xhe,represent:vhe})});var t2=w((YZe,e2)=>{"use strict";var Phe=si(),Dhe=Object.prototype.hasOwnProperty,khe=Object.prototype.toString;function Rhe(r){if(r===null)return!0;var e=[],t,i,n,s,o,a=r;for(t=0,i=a.length;t{"use strict";var Nhe=si(),The=Object.prototype.toString;function Lhe(r){if(r===null)return!0;var e,t,i,n,s,o=r;for(s=new Array(o.length),e=0,t=o.length;e{"use strict";var Ohe=si(),Khe=Object.prototype.hasOwnProperty;function Uhe(r){if(r===null)return!0;var e,t=r;for(e in t)if(Khe.call(t,e)&&t[e]!==null)return!1;return!0}function Hhe(r){return r!==null?r:{}}n2.exports=new Ohe("tag:yaml.org,2002:set",{kind:"mapping",resolve:Uhe,construct:Hhe})});var Lg=w((JZe,o2)=>{"use strict";var Ghe=rc();o2.exports=new Ghe({include:[jS()],implicit:[zU(),XU()],explicit:[$U(),t2(),i2(),s2()]})});var A2=w((WZe,a2)=>{"use strict";var Yhe=si();function jhe(){return!0}function qhe(){}function Jhe(){return""}function Whe(r){return typeof r>"u"}a2.exports=new Yhe("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:jhe,construct:qhe,predicate:Whe,represent:Jhe})});var c2=w((zZe,l2)=>{"use strict";var zhe=si();function Vhe(r){if(r===null||r.length===0)return!1;var e=r,t=/\/([gim]*)$/.exec(r),i="";return!(e[0]==="/"&&(t&&(i=t[1]),i.length>3||e[e.length-i.length-1]!=="/"))}function Xhe(r){var e=r,t=/\/([gim]*)$/.exec(r),i="";return e[0]==="/"&&(t&&(i=t[1]),e=e.slice(1,e.length-i.length-1)),new RegExp(e,i)}function Zhe(r){var e="/"+r.source+"/";return r.global&&(e+="g"),r.multiline&&(e+="m"),r.ignoreCase&&(e+="i"),e}function _he(r){return Object.prototype.toString.call(r)==="[object RegExp]"}l2.exports=new zhe("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:Vhe,construct:Xhe,predicate:_he,represent:Zhe})});var f2=w((VZe,g2)=>{"use strict";var mI;try{u2=J,mI=u2("esprima")}catch{typeof window<"u"&&(mI=window.esprima)}var u2,$he=si();function epe(r){if(r===null)return!1;try{var e="("+r+")",t=mI.parse(e,{range:!0});return!(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function tpe(r){var e="("+r+")",t=mI.parse(e,{range:!0}),i=[],n;if(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return t.body[0].expression.params.forEach(function(s){i.push(s.name)}),n=t.body[0].expression.body.range,t.body[0].expression.body.type==="BlockStatement"?new Function(i,e.slice(n[0]+1,n[1]-1)):new Function(i,"return "+e.slice(n[0],n[1]))}function rpe(r){return r.toString()}function ipe(r){return Object.prototype.toString.call(r)==="[object Function]"}g2.exports=new $he("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:epe,construct:tpe,predicate:ipe,represent:rpe})});var Xp=w((ZZe,p2)=>{"use strict";var h2=rc();p2.exports=h2.DEFAULT=new h2({include:[Lg()],explicit:[A2(),c2(),f2()]})});var N2=w((_Ze,Zp)=>{"use strict";var Ba=tc(),w2=Ng(),npe=wU(),B2=Lg(),spe=Xp(),kA=Object.prototype.hasOwnProperty,EI=1,b2=2,Q2=3,II=4,JS=1,ope=2,d2=3,ape=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ape=/[\x85\u2028\u2029]/,lpe=/[,\[\]\{\}]/,S2=/^(?:!|!!|![a-z\-]+!)$/i,v2=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function C2(r){return Object.prototype.toString.call(r)}function xo(r){return r===10||r===13}function sc(r){return r===9||r===32}function fn(r){return r===9||r===32||r===10||r===13}function Mg(r){return r===44||r===91||r===93||r===123||r===125}function cpe(r){var e;return 48<=r&&r<=57?r-48:(e=r|32,97<=e&&e<=102?e-97+10:-1)}function upe(r){return r===120?2:r===117?4:r===85?8:0}function gpe(r){return 48<=r&&r<=57?r-48:-1}function m2(r){return r===48?"\0":r===97?"\x07":r===98?"\b":r===116||r===9?" ":r===110?` -`:r===118?"\v":r===102?"\f":r===114?"\r":r===101?"\x1B":r===32?" ":r===34?'"':r===47?"/":r===92?"\\":r===78?"\x85":r===95?"\xA0":r===76?"\u2028":r===80?"\u2029":""}function fpe(r){return r<=65535?String.fromCharCode(r):String.fromCharCode((r-65536>>10)+55296,(r-65536&1023)+56320)}var x2=new Array(256),P2=new Array(256);for(nc=0;nc<256;nc++)x2[nc]=m2(nc)?1:0,P2[nc]=m2(nc);var nc;function hpe(r,e){this.input=r,this.filename=e.filename||null,this.schema=e.schema||spe,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=r.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function D2(r,e){return new w2(e,new npe(r.filename,r.input,r.position,r.line,r.position-r.lineStart))}function ft(r,e){throw D2(r,e)}function yI(r,e){r.onWarning&&r.onWarning.call(null,D2(r,e))}var E2={YAML:function(e,t,i){var n,s,o;e.version!==null&&ft(e,"duplication of %YAML directive"),i.length!==1&&ft(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),n===null&&ft(e,"ill-formed argument of the YAML directive"),s=parseInt(n[1],10),o=parseInt(n[2],10),s!==1&&ft(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=o<2,o!==1&&o!==2&&yI(e,"unsupported YAML version of the document")},TAG:function(e,t,i){var n,s;i.length!==2&&ft(e,"TAG directive accepts exactly two arguments"),n=i[0],s=i[1],S2.test(n)||ft(e,"ill-formed tag handle (first argument) of the TAG directive"),kA.call(e.tagMap,n)&&ft(e,'there is a previously declared suffix for "'+n+'" tag handle'),v2.test(s)||ft(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=s}};function DA(r,e,t,i){var n,s,o,a;if(e1&&(r.result+=Ba.repeat(` -`,e-1))}function ppe(r,e,t){var i,n,s,o,a,l,c,u,g=r.kind,f=r.result,h;if(h=r.input.charCodeAt(r.position),fn(h)||Mg(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n)))return!1;for(r.kind="scalar",r.result="",s=o=r.position,a=!1;h!==0;){if(h===58){if(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n))break}else if(h===35){if(i=r.input.charCodeAt(r.position-1),fn(i))break}else{if(r.position===r.lineStart&&wI(r)||t&&Mg(h))break;if(xo(h))if(l=r.line,c=r.lineStart,u=r.lineIndent,zr(r,!1,-1),r.lineIndent>=e){a=!0,h=r.input.charCodeAt(r.position);continue}else{r.position=o,r.line=l,r.lineStart=c,r.lineIndent=u;break}}a&&(DA(r,s,o,!1),zS(r,r.line-l),s=o=r.position,a=!1),sc(h)||(o=r.position+1),h=r.input.charCodeAt(++r.position)}return DA(r,s,o,!1),r.result?!0:(r.kind=g,r.result=f,!1)}function dpe(r,e){var t,i,n;if(t=r.input.charCodeAt(r.position),t!==39)return!1;for(r.kind="scalar",r.result="",r.position++,i=n=r.position;(t=r.input.charCodeAt(r.position))!==0;)if(t===39)if(DA(r,i,r.position,!0),t=r.input.charCodeAt(++r.position),t===39)i=r.position,r.position++,n=r.position;else return!0;else xo(t)?(DA(r,i,n,!0),zS(r,zr(r,!1,e)),i=n=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a single quoted scalar"):(r.position++,n=r.position);ft(r,"unexpected end of the stream within a single quoted scalar")}function Cpe(r,e){var t,i,n,s,o,a;if(a=r.input.charCodeAt(r.position),a!==34)return!1;for(r.kind="scalar",r.result="",r.position++,t=i=r.position;(a=r.input.charCodeAt(r.position))!==0;){if(a===34)return DA(r,t,r.position,!0),r.position++,!0;if(a===92){if(DA(r,t,r.position,!0),a=r.input.charCodeAt(++r.position),xo(a))zr(r,!1,e);else if(a<256&&x2[a])r.result+=P2[a],r.position++;else if((o=upe(a))>0){for(n=o,s=0;n>0;n--)a=r.input.charCodeAt(++r.position),(o=cpe(a))>=0?s=(s<<4)+o:ft(r,"expected hexadecimal character");r.result+=fpe(s),r.position++}else ft(r,"unknown escape sequence");t=i=r.position}else xo(a)?(DA(r,t,i,!0),zS(r,zr(r,!1,e)),t=i=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a double quoted scalar"):(r.position++,i=r.position)}ft(r,"unexpected end of the stream within a double quoted scalar")}function mpe(r,e){var t=!0,i,n=r.tag,s,o=r.anchor,a,l,c,u,g,f={},h,p,C,y;if(y=r.input.charCodeAt(r.position),y===91)l=93,g=!1,s=[];else if(y===123)l=125,g=!0,s={};else return!1;for(r.anchor!==null&&(r.anchorMap[r.anchor]=s),y=r.input.charCodeAt(++r.position);y!==0;){if(zr(r,!0,e),y=r.input.charCodeAt(r.position),y===l)return r.position++,r.tag=n,r.anchor=o,r.kind=g?"mapping":"sequence",r.result=s,!0;t||ft(r,"missed comma between flow collection entries"),p=h=C=null,c=u=!1,y===63&&(a=r.input.charCodeAt(r.position+1),fn(a)&&(c=u=!0,r.position++,zr(r,!0,e))),i=r.line,Kg(r,e,EI,!1,!0),p=r.tag,h=r.result,zr(r,!0,e),y=r.input.charCodeAt(r.position),(u||r.line===i)&&y===58&&(c=!0,y=r.input.charCodeAt(++r.position),zr(r,!0,e),Kg(r,e,EI,!1,!0),C=r.result),g?Og(r,s,f,p,h,C):c?s.push(Og(r,null,f,p,h,C)):s.push(h),zr(r,!0,e),y=r.input.charCodeAt(r.position),y===44?(t=!0,y=r.input.charCodeAt(++r.position)):t=!1}ft(r,"unexpected end of the stream within a flow collection")}function Epe(r,e){var t,i,n=JS,s=!1,o=!1,a=e,l=0,c=!1,u,g;if(g=r.input.charCodeAt(r.position),g===124)i=!1;else if(g===62)i=!0;else return!1;for(r.kind="scalar",r.result="";g!==0;)if(g=r.input.charCodeAt(++r.position),g===43||g===45)JS===n?n=g===43?d2:ope:ft(r,"repeat of a chomping mode identifier");else if((u=gpe(g))>=0)u===0?ft(r,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?ft(r,"repeat of an indentation width identifier"):(a=e+u-1,o=!0);else break;if(sc(g)){do g=r.input.charCodeAt(++r.position);while(sc(g));if(g===35)do g=r.input.charCodeAt(++r.position);while(!xo(g)&&g!==0)}for(;g!==0;){for(WS(r),r.lineIndent=0,g=r.input.charCodeAt(r.position);(!o||r.lineIndenta&&(a=r.lineIndent),xo(g)){l++;continue}if(r.lineIndente)&&l!==0)ft(r,"bad indentation of a sequence entry");else if(r.lineIndente)&&(Kg(r,e,II,!0,n)&&(p?f=r.result:h=r.result),p||(Og(r,c,u,g,f,h,s,o),g=f=h=null),zr(r,!0,-1),y=r.input.charCodeAt(r.position)),r.lineIndent>e&&y!==0)ft(r,"bad indentation of a mapping entry");else if(r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndent tag; it should be "scalar", not "'+r.kind+'"'),g=0,f=r.implicitTypes.length;g tag; it should be "'+h.kind+'", not "'+r.kind+'"'),h.resolve(r.result)?(r.result=h.construct(r.result),r.anchor!==null&&(r.anchorMap[r.anchor]=r.result)):ft(r,"cannot resolve a node with !<"+r.tag+"> explicit tag")):ft(r,"unknown tag !<"+r.tag+">");return r.listener!==null&&r.listener("close",r),r.tag!==null||r.anchor!==null||u}function bpe(r){var e=r.position,t,i,n,s=!1,o;for(r.version=null,r.checkLineBreaks=r.legacy,r.tagMap={},r.anchorMap={};(o=r.input.charCodeAt(r.position))!==0&&(zr(r,!0,-1),o=r.input.charCodeAt(r.position),!(r.lineIndent>0||o!==37));){for(s=!0,o=r.input.charCodeAt(++r.position),t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);for(i=r.input.slice(t,r.position),n=[],i.length<1&&ft(r,"directive name must not be less than one character in length");o!==0;){for(;sc(o);)o=r.input.charCodeAt(++r.position);if(o===35){do o=r.input.charCodeAt(++r.position);while(o!==0&&!xo(o));break}if(xo(o))break;for(t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);n.push(r.input.slice(t,r.position))}o!==0&&WS(r),kA.call(E2,i)?E2[i](r,i,n):yI(r,'unknown document directive "'+i+'"')}if(zr(r,!0,-1),r.lineIndent===0&&r.input.charCodeAt(r.position)===45&&r.input.charCodeAt(r.position+1)===45&&r.input.charCodeAt(r.position+2)===45?(r.position+=3,zr(r,!0,-1)):s&&ft(r,"directives end mark is expected"),Kg(r,r.lineIndent-1,II,!1,!0),zr(r,!0,-1),r.checkLineBreaks&&Ape.test(r.input.slice(e,r.position))&&yI(r,"non-ASCII line breaks are interpreted as content"),r.documents.push(r.result),r.position===r.lineStart&&wI(r)){r.input.charCodeAt(r.position)===46&&(r.position+=3,zr(r,!0,-1));return}if(r.position"u"&&(t=e,e=null);var i=k2(r,t);if(typeof e!="function")return i;for(var n=0,s=i.length;n"u"&&(t=e,e=null),R2(r,e,Ba.extend({schema:B2},t))}function Spe(r,e){return F2(r,Ba.extend({schema:B2},e))}Zp.exports.loadAll=R2;Zp.exports.load=F2;Zp.exports.safeLoadAll=Qpe;Zp.exports.safeLoad=Spe});var iH=w(($Ze,_S)=>{"use strict";var $p=tc(),ed=Ng(),vpe=Xp(),xpe=Lg(),G2=Object.prototype.toString,Y2=Object.prototype.hasOwnProperty,Ppe=9,_p=10,Dpe=13,kpe=32,Rpe=33,Fpe=34,j2=35,Npe=37,Tpe=38,Lpe=39,Mpe=42,q2=44,Ope=45,J2=58,Kpe=61,Upe=62,Hpe=63,Gpe=64,W2=91,z2=93,Ype=96,V2=123,jpe=124,X2=125,Ni={};Ni[0]="\\0";Ni[7]="\\a";Ni[8]="\\b";Ni[9]="\\t";Ni[10]="\\n";Ni[11]="\\v";Ni[12]="\\f";Ni[13]="\\r";Ni[27]="\\e";Ni[34]='\\"';Ni[92]="\\\\";Ni[133]="\\N";Ni[160]="\\_";Ni[8232]="\\L";Ni[8233]="\\P";var qpe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function Jpe(r,e){var t,i,n,s,o,a,l;if(e===null)return{};for(t={},i=Object.keys(e),n=0,s=i.length;n0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}else{for(s=0;si&&r[g+1]!==" ",g=s);else if(!Ug(o))return BI;a=s>0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}c=c||u&&s-g-1>i&&r[g+1]!==" "}return!l&&!c?f&&!n(r)?_2:$2:t>9&&Z2(r)?BI:c?tH:eH}function _pe(r,e,t,i){r.dump=function(){if(e.length===0)return"''";if(!r.noCompatMode&&qpe.indexOf(e)!==-1)return"'"+e+"'";var n=r.indent*Math.max(1,t),s=r.lineWidth===-1?-1:Math.max(Math.min(r.lineWidth,40),r.lineWidth-n),o=i||r.flowLevel>-1&&t>=r.flowLevel;function a(l){return zpe(r,l)}switch(Zpe(e,o,r.indent,s,a)){case _2:return e;case $2:return"'"+e.replace(/'/g,"''")+"'";case eH:return"|"+O2(e,r.indent)+K2(L2(e,n));case tH:return">"+O2(e,r.indent)+K2(L2($pe(e,s),n));case BI:return'"'+ede(e,s)+'"';default:throw new ed("impossible error: invalid scalar style")}}()}function O2(r,e){var t=Z2(r)?String(e):"",i=r[r.length-1]===` -`,n=i&&(r[r.length-2]===` -`||r===` -`),s=n?"+":i?"":"-";return t+s+` -`}function K2(r){return r[r.length-1]===` -`?r.slice(0,-1):r}function $pe(r,e){for(var t=/(\n+)([^\n]*)/g,i=function(){var c=r.indexOf(` -`);return c=c!==-1?c:r.length,t.lastIndex=c,U2(r.slice(0,c),e)}(),n=r[0]===` -`||r[0]===" ",s,o;o=t.exec(r);){var a=o[1],l=o[2];s=l[0]===" ",i+=a+(!n&&!s&&l!==""?` -`:"")+U2(l,e),n=s}return i}function U2(r,e){if(r===""||r[0]===" ")return r;for(var t=/ [^ ]/g,i,n=0,s,o=0,a=0,l="";i=t.exec(r);)a=i.index,a-n>e&&(s=o>n?o:a,l+=` -`+r.slice(n,s),n=s+1),o=a;return l+=` -`,r.length-n>e&&o>n?l+=r.slice(n,o)+` -`+r.slice(o+1):l+=r.slice(n),l.slice(1)}function ede(r){for(var e="",t,i,n,s=0;s=55296&&t<=56319&&(i=r.charCodeAt(s+1),i>=56320&&i<=57343)){e+=T2((t-55296)*1024+i-56320+65536),s++;continue}n=Ni[t],e+=!n&&Ug(t)?r[s]:n||T2(t)}return e}function tde(r,e,t){var i="",n=r.tag,s,o;for(s=0,o=t.length;s1024&&(u+="? "),u+=r.dump+(r.condenseFlow?'"':"")+":"+(r.condenseFlow?"":" "),oc(r,e,c,!1,!1)&&(u+=r.dump,i+=u));r.tag=n,r.dump="{"+i+"}"}function nde(r,e,t,i){var n="",s=r.tag,o=Object.keys(t),a,l,c,u,g,f;if(r.sortKeys===!0)o.sort();else if(typeof r.sortKeys=="function")o.sort(r.sortKeys);else if(r.sortKeys)throw new ed("sortKeys must be a boolean or a function");for(a=0,l=o.length;a1024,g&&(r.dump&&_p===r.dump.charCodeAt(0)?f+="?":f+="? "),f+=r.dump,g&&(f+=VS(r,e)),oc(r,e+1,u,!0,g)&&(r.dump&&_p===r.dump.charCodeAt(0)?f+=":":f+=": ",f+=r.dump,n+=f));r.tag=s,r.dump=n||"{}"}function H2(r,e,t){var i,n,s,o,a,l;for(n=t?r.explicitTypes:r.implicitTypes,s=0,o=n.length;s tag resolver accepts not "'+l+'" style');r.dump=i}return!0}return!1}function oc(r,e,t,i,n,s){r.tag=null,r.dump=t,H2(r,t,!1)||H2(r,t,!0);var o=G2.call(r.dump);i&&(i=r.flowLevel<0||r.flowLevel>e);var a=o==="[object Object]"||o==="[object Array]",l,c;if(a&&(l=r.duplicates.indexOf(t),c=l!==-1),(r.tag!==null&&r.tag!=="?"||c||r.indent!==2&&e>0)&&(n=!1),c&&r.usedDuplicates[l])r.dump="*ref_"+l;else{if(a&&c&&!r.usedDuplicates[l]&&(r.usedDuplicates[l]=!0),o==="[object Object]")i&&Object.keys(r.dump).length!==0?(nde(r,e,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(ide(r,e,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump));else if(o==="[object Array]"){var u=r.noArrayIndent&&e>0?e-1:e;i&&r.dump.length!==0?(rde(r,u,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(tde(r,u,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump))}else if(o==="[object String]")r.tag!=="?"&&_pe(r,r.dump,e,s);else{if(r.skipInvalid)return!1;throw new ed("unacceptable kind of an object to dump "+o)}r.tag!==null&&r.tag!=="?"&&(r.dump="!<"+r.tag+"> "+r.dump)}return!0}function sde(r,e){var t=[],i=[],n,s;for(XS(r,t,i),n=0,s=i.length;n{"use strict";var bI=N2(),nH=iH();function QI(r){return function(){throw new Error("Function "+r+" is deprecated and cannot be used.")}}Fr.exports.Type=si();Fr.exports.Schema=rc();Fr.exports.FAILSAFE_SCHEMA=CI();Fr.exports.JSON_SCHEMA=YS();Fr.exports.CORE_SCHEMA=jS();Fr.exports.DEFAULT_SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_FULL_SCHEMA=Xp();Fr.exports.load=bI.load;Fr.exports.loadAll=bI.loadAll;Fr.exports.safeLoad=bI.safeLoad;Fr.exports.safeLoadAll=bI.safeLoadAll;Fr.exports.dump=nH.dump;Fr.exports.safeDump=nH.safeDump;Fr.exports.YAMLException=Ng();Fr.exports.MINIMAL_SCHEMA=CI();Fr.exports.SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_SCHEMA=Xp();Fr.exports.scan=QI("scan");Fr.exports.parse=QI("parse");Fr.exports.compose=QI("compose");Fr.exports.addConstructor=QI("addConstructor")});var aH=w((t_e,oH)=>{"use strict";var ade=sH();oH.exports=ade});var lH=w((r_e,AH)=>{"use strict";function Ade(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function ac(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,ac)}Ade(ac,Error);ac.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g({[Ke]:Ce})))},H=function(R){return R},j=function(R){return R},$=Us("correct indentation"),V=" ",W=ar(" ",!1),_=function(R){return R.length===bA*yg},A=function(R){return R.length===(bA+1)*yg},Ae=function(){return bA++,!0},ge=function(){return bA--,!0},re=function(){return pg()},M=Us("pseudostring"),F=/^[^\r\n\t ?:,\][{}#&*!|>'"%@`\-]/,ue=Tn(["\r",` -`," "," ","?",":",",","]","[","{","}","#","&","*","!","|",">","'",'"',"%","@","`","-"],!0,!1),pe=/^[^\r\n\t ,\][{}:#"']/,ke=Tn(["\r",` -`," "," ",",","]","[","{","}",":","#",'"',"'"],!0,!1),Fe=function(){return pg().replace(/^ *| *$/g,"")},Ne="--",oe=ar("--",!1),le=/^[a-zA-Z\/0-9]/,Be=Tn([["a","z"],["A","Z"],"/",["0","9"]],!1,!1),fe=/^[^\r\n\t :,]/,ae=Tn(["\r",` -`," "," ",":",","],!0,!1),qe="null",ne=ar("null",!1),Y=function(){return null},he="true",ie=ar("true",!1),de=function(){return!0},_e="false",Pt=ar("false",!1),It=function(){return!1},Mr=Us("string"),ii='"',gi=ar('"',!1),hr=function(){return""},fi=function(R){return R},ni=function(R){return R.join("")},Ks=/^[^"\\\0-\x1F\x7F]/,pr=Tn(['"',"\\",["\0",""],"\x7F"],!0,!1),Ii='\\"',rs=ar('\\"',!1),fa=function(){return'"'},dA="\\\\",cg=ar("\\\\",!1),is=function(){return"\\"},CA="\\/",ha=ar("\\/",!1),wp=function(){return"/"},mA="\\b",EA=ar("\\b",!1),wr=function(){return"\b"},Tl="\\f",ug=ar("\\f",!1),yo=function(){return"\f"},gg="\\n",Bp=ar("\\n",!1),bp=function(){return` -`},vr="\\r",se=ar("\\r",!1),wo=function(){return"\r"},Fn="\\t",fg=ar("\\t",!1),bt=function(){return" "},Ll="\\u",Nn=ar("\\u",!1),ns=function(R,q,Ce,Ke){return String.fromCharCode(parseInt(`0x${R}${q}${Ce}${Ke}`))},ss=/^[0-9a-fA-F]/,gt=Tn([["0","9"],["a","f"],["A","F"]],!1,!1),Bo=Us("blank space"),At=/^[ \t]/,ln=Tn([" "," "],!1,!1),S=Us("white space"),Lt=/^[ \t\n\r]/,hg=Tn([" "," ",` -`,"\r"],!1,!1),Ml=`\r -`,Qp=ar(`\r -`,!1),Sp=` -`,vp=ar(` -`,!1),xp="\r",Pp=ar("\r",!1),G=0,yt=0,IA=[{line:1,column:1}],zi=0,Ol=[],Xe=0,pa;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function pg(){return r.substring(yt,G)}function ME(){return cn(yt,G)}function Dp(R,q){throw q=q!==void 0?q:cn(yt,G),Ul([Us(R)],r.substring(yt,G),q)}function OE(R,q){throw q=q!==void 0?q:cn(yt,G),dg(R,q)}function ar(R,q){return{type:"literal",text:R,ignoreCase:q}}function Tn(R,q,Ce){return{type:"class",parts:R,inverted:q,ignoreCase:Ce}}function Kl(){return{type:"any"}}function kp(){return{type:"end"}}function Us(R){return{type:"other",description:R}}function da(R){var q=IA[R],Ce;if(q)return q;for(Ce=R-1;!IA[Ce];)Ce--;for(q=IA[Ce],q={line:q.line,column:q.column};Cezi&&(zi=G,Ol=[]),Ol.push(R))}function dg(R,q){return new ac(R,null,null,q)}function Ul(R,q,Ce){return new ac(ac.buildMessage(R,q),R,q,Ce)}function Hs(){var R;return R=Cg(),R}function Hl(){var R,q,Ce;for(R=G,q=[],Ce=yA();Ce!==t;)q.push(Ce),Ce=yA();return q!==t&&(yt=R,q=s(q)),R=q,R}function yA(){var R,q,Ce,Ke,Re;return R=G,q=ma(),q!==t?(r.charCodeAt(G)===45?(Ce=o,G++):(Ce=t,Xe===0&&Le(a)),Ce!==t?(Ke=Rr(),Ke!==t?(Re=Ca(),Re!==t?(yt=R,q=l(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R}function Cg(){var R,q,Ce;for(R=G,q=[],Ce=mg();Ce!==t;)q.push(Ce),Ce=mg();return q!==t&&(yt=R,q=c(q)),R=q,R}function mg(){var R,q,Ce,Ke,Re,ze,dt,Ft,Ln;if(R=G,q=Rr(),q===t&&(q=null),q!==t){if(Ce=G,r.charCodeAt(G)===35?(Ke=u,G++):(Ke=t,Xe===0&&Le(g)),Ke!==t){if(Re=[],ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t),ze!==t)for(;ze!==t;)Re.push(ze),ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t);else Re=t;Re!==t?(Ke=[Ke,Re],Ce=Ke):(G=Ce,Ce=t)}else G=Ce,Ce=t;if(Ce===t&&(Ce=null),Ce!==t){if(Ke=[],Re=Ys(),Re!==t)for(;Re!==t;)Ke.push(Re),Re=Ys();else Ke=t;Ke!==t?(yt=R,q=h(),R=q):(G=R,R=t)}else G=R,R=t}else G=R,R=t;if(R===t&&(R=G,q=ma(),q!==t?(Ce=Gl(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=ma(),q!==t?(Ce=Gs(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))){if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t)if(Ke=Rr(),Ke!==t)if(Re=KE(),Re!==t){if(ze=[],dt=Ys(),dt!==t)for(;dt!==t;)ze.push(dt),dt=Ys();else ze=t;ze!==t?(yt=R,q=y(Ce,Re),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;else G=R,R=t;else G=R,R=t;if(R===t)if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t){if(Ke=[],Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t),Re!==t)for(;Re!==t;)Ke.push(Re),Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t);else Ke=t;Ke!==t?(Re=Rr(),Re===t&&(Re=null),Re!==t?(r.charCodeAt(G)===58?(ze=p,G++):(ze=t,Xe===0&&Le(C)),ze!==t?(dt=Rr(),dt===t&&(dt=null),dt!==t?(Ft=Ca(),Ft!==t?(yt=R,q=T(Ce,Ke,Ft),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)}else G=R,R=t;else G=R,R=t}return R}function Ca(){var R,q,Ce,Ke,Re,ze,dt;if(R=G,q=G,Xe++,Ce=G,Ke=js(),Ke!==t?(Re=rt(),Re!==t?(r.charCodeAt(G)===45?(ze=o,G++):(ze=t,Xe===0&&Le(a)),ze!==t?(dt=Rr(),dt!==t?(Ke=[Ke,Re,ze,dt],Ce=Ke):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t),Xe--,Ce!==t?(G=q,q=void 0):q=t,q!==t?(Ce=Ys(),Ce!==t?(Ke=bo(),Ke!==t?(Re=Hl(),Re!==t?(ze=wA(),ze!==t?(yt=R,q=H(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=js(),q!==t?(Ce=bo(),Ce!==t?(Ke=Cg(),Ke!==t?(Re=wA(),Re!==t?(yt=R,q=H(Ke),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))if(R=G,q=Yl(),q!==t){if(Ce=[],Ke=Ys(),Ke!==t)for(;Ke!==t;)Ce.push(Ke),Ke=Ys();else Ce=t;Ce!==t?(yt=R,q=j(q),R=q):(G=R,R=t)}else G=R,R=t;return R}function ma(){var R,q,Ce;for(Xe++,R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=_(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),Xe--,R===t&&(q=t,Xe===0&&Le($)),R}function rt(){var R,q,Ce;for(R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=A(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),R}function bo(){var R;return yt=G,R=Ae(),R?R=void 0:R=t,R}function wA(){var R;return yt=G,R=ge(),R?R=void 0:R=t,R}function Gl(){var R;return R=jl(),R===t&&(R=Rp()),R}function Gs(){var R,q,Ce;if(R=jl(),R===t){if(R=G,q=[],Ce=Eg(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Eg();else q=t;q!==t&&(yt=R,q=re()),R=q}return R}function Yl(){var R;return R=Fp(),R===t&&(R=UE(),R===t&&(R=jl(),R===t&&(R=Rp()))),R}function KE(){var R;return R=Fp(),R===t&&(R=jl(),R===t&&(R=Eg())),R}function Rp(){var R,q,Ce,Ke,Re,ze;if(Xe++,R=G,F.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ue)),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(M)),R}function Eg(){var R,q,Ce,Ke,Re;if(R=G,r.substr(G,2)===Ne?(q=Ne,G+=2):(q=t,Xe===0&&Le(oe)),q===t&&(q=null),q!==t)if(le.test(r.charAt(G))?(Ce=r.charAt(G),G++):(Ce=t,Xe===0&&Le(Be)),Ce!==t){for(Ke=[],fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Re!==t;)Ke.push(Re),fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Ke!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;return R}function Fp(){var R,q;return R=G,r.substr(G,4)===qe?(q=qe,G+=4):(q=t,Xe===0&&Le(ne)),q!==t&&(yt=R,q=Y()),R=q,R}function UE(){var R,q;return R=G,r.substr(G,4)===he?(q=he,G+=4):(q=t,Xe===0&&Le(ie)),q!==t&&(yt=R,q=de()),R=q,R===t&&(R=G,r.substr(G,5)===_e?(q=_e,G+=5):(q=t,Xe===0&&Le(Pt)),q!==t&&(yt=R,q=It()),R=q),R}function jl(){var R,q,Ce,Ke;return Xe++,R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(r.charCodeAt(G)===34?(Ce=ii,G++):(Ce=t,Xe===0&&Le(gi)),Ce!==t?(yt=R,q=hr(),R=q):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(Ce=HE(),Ce!==t?(r.charCodeAt(G)===34?(Ke=ii,G++):(Ke=t,Xe===0&&Le(gi)),Ke!==t?(yt=R,q=fi(Ce),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)),Xe--,R===t&&(q=t,Xe===0&&Le(Mr)),R}function HE(){var R,q,Ce;if(R=G,q=[],Ce=Ig(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Ig();else q=t;return q!==t&&(yt=R,q=ni(q)),R=q,R}function Ig(){var R,q,Ce,Ke,Re,ze;return Ks.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(pr)),R===t&&(R=G,r.substr(G,2)===Ii?(q=Ii,G+=2):(q=t,Xe===0&&Le(rs)),q!==t&&(yt=R,q=fa()),R=q,R===t&&(R=G,r.substr(G,2)===dA?(q=dA,G+=2):(q=t,Xe===0&&Le(cg)),q!==t&&(yt=R,q=is()),R=q,R===t&&(R=G,r.substr(G,2)===CA?(q=CA,G+=2):(q=t,Xe===0&&Le(ha)),q!==t&&(yt=R,q=wp()),R=q,R===t&&(R=G,r.substr(G,2)===mA?(q=mA,G+=2):(q=t,Xe===0&&Le(EA)),q!==t&&(yt=R,q=wr()),R=q,R===t&&(R=G,r.substr(G,2)===Tl?(q=Tl,G+=2):(q=t,Xe===0&&Le(ug)),q!==t&&(yt=R,q=yo()),R=q,R===t&&(R=G,r.substr(G,2)===gg?(q=gg,G+=2):(q=t,Xe===0&&Le(Bp)),q!==t&&(yt=R,q=bp()),R=q,R===t&&(R=G,r.substr(G,2)===vr?(q=vr,G+=2):(q=t,Xe===0&&Le(se)),q!==t&&(yt=R,q=wo()),R=q,R===t&&(R=G,r.substr(G,2)===Fn?(q=Fn,G+=2):(q=t,Xe===0&&Le(fg)),q!==t&&(yt=R,q=bt()),R=q,R===t&&(R=G,r.substr(G,2)===Ll?(q=Ll,G+=2):(q=t,Xe===0&&Le(Nn)),q!==t?(Ce=BA(),Ce!==t?(Ke=BA(),Ke!==t?(Re=BA(),Re!==t?(ze=BA(),ze!==t?(yt=R,q=ns(Ce,Ke,Re,ze),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)))))))))),R}function BA(){var R;return ss.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(gt)),R}function Rr(){var R,q;if(Xe++,R=[],At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln)),q!==t)for(;q!==t;)R.push(q),At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(Bo)),R}function GE(){var R,q;if(Xe++,R=[],Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg)),q!==t)for(;q!==t;)R.push(q),Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(S)),R}function Ys(){var R,q,Ce,Ke,Re,ze;if(R=G,q=js(),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)}else G=R,R=t;return R}function js(){var R;return r.substr(G,2)===Ml?(R=Ml,G+=2):(R=t,Xe===0&&Le(Qp)),R===t&&(r.charCodeAt(G)===10?(R=Sp,G++):(R=t,Xe===0&&Le(vp)),R===t&&(r.charCodeAt(G)===13?(R=xp,G++):(R=t,Xe===0&&Le(Pp)))),R}let yg=2,bA=0;if(pa=n(),pa!==t&&G===r.length)return pa;throw pa!==t&&G{"use strict";var hde=r=>{let e=!1,t=!1,i=!1;for(let n=0;n{if(!(typeof r=="string"||Array.isArray(r)))throw new TypeError("Expected the input to be `string | string[]`");e=Object.assign({pascalCase:!1},e);let t=n=>e.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n;return Array.isArray(r)?r=r.map(n=>n.trim()).filter(n=>n.length).join("-"):r=r.trim(),r.length===0?"":r.length===1?e.pascalCase?r.toUpperCase():r.toLowerCase():(r!==r.toLowerCase()&&(r=hde(r)),r=r.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(n,s)=>s.toUpperCase()).replace(/\d+(\w|$)/g,n=>n.toUpperCase()),t(r))};ev.exports=hH;ev.exports.default=hH});var dH=w((A_e,pde)=>{pde.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vercel",constant:"VERCEL",env:"NOW_BUILDER"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"}]});var Ac=w(Un=>{"use strict";var mH=dH(),Po=process.env;Object.defineProperty(Un,"_vendors",{value:mH.map(function(r){return r.constant})});Un.name=null;Un.isPR=null;mH.forEach(function(r){let t=(Array.isArray(r.env)?r.env:[r.env]).every(function(i){return CH(i)});if(Un[r.constant]=t,t)switch(Un.name=r.name,typeof r.pr){case"string":Un.isPR=!!Po[r.pr];break;case"object":"env"in r.pr?Un.isPR=r.pr.env in Po&&Po[r.pr.env]!==r.pr.ne:"any"in r.pr?Un.isPR=r.pr.any.some(function(i){return!!Po[i]}):Un.isPR=CH(r.pr);break;default:Un.isPR=null}});Un.isCI=!!(Po.CI||Po.CONTINUOUS_INTEGRATION||Po.BUILD_NUMBER||Po.RUN_ID||Un.name);function CH(r){return typeof r=="string"?!!Po[r]:Object.keys(r).every(function(e){return Po[e]===r[e]})}});var hn={};ut(hn,{KeyRelationship:()=>lc,applyCascade:()=>od,base64RegExp:()=>BH,colorStringAlphaRegExp:()=>wH,colorStringRegExp:()=>yH,computeKey:()=>RA,getPrintable:()=>Vr,hasExactLength:()=>xH,hasForbiddenKeys:()=>Wde,hasKeyRelationship:()=>av,hasMaxLength:()=>Dde,hasMinLength:()=>Pde,hasMutuallyExclusiveKeys:()=>zde,hasRequiredKeys:()=>Jde,hasUniqueItems:()=>kde,isArray:()=>yde,isAtLeast:()=>Nde,isAtMost:()=>Tde,isBase64:()=>jde,isBoolean:()=>mde,isDate:()=>Ide,isDict:()=>Bde,isEnum:()=>Zi,isHexColor:()=>Yde,isISO8601:()=>Gde,isInExclusiveRange:()=>Mde,isInInclusiveRange:()=>Lde,isInstanceOf:()=>Qde,isInteger:()=>Ode,isJSON:()=>qde,isLiteral:()=>dde,isLowerCase:()=>Kde,isNegative:()=>Rde,isNullable:()=>xde,isNumber:()=>Ede,isObject:()=>bde,isOneOf:()=>Sde,isOptional:()=>vde,isPositive:()=>Fde,isString:()=>sd,isTuple:()=>wde,isUUID4:()=>Hde,isUnknown:()=>vH,isUpperCase:()=>Ude,iso8601RegExp:()=>ov,makeCoercionFn:()=>cc,makeSetter:()=>SH,makeTrait:()=>QH,makeValidator:()=>Qt,matchesRegExp:()=>ad,plural:()=>kI,pushError:()=>pt,simpleKeyRegExp:()=>IH,uuid4RegExp:()=>bH});function Qt({test:r}){return QH(r)()}function Vr(r){return r===null?"null":r===void 0?"undefined":r===""?"an empty string":JSON.stringify(r)}function RA(r,e){var t,i,n;return typeof e=="number"?`${(t=r==null?void 0:r.p)!==null&&t!==void 0?t:"."}[${e}]`:IH.test(e)?`${(i=r==null?void 0:r.p)!==null&&i!==void 0?i:""}.${e}`:`${(n=r==null?void 0:r.p)!==null&&n!==void 0?n:"."}[${JSON.stringify(e)}]`}function cc(r,e){return t=>{let i=r[e];return r[e]=t,cc(r,e).bind(null,i)}}function SH(r,e){return t=>{r[e]=t}}function kI(r,e,t){return r===1?e:t}function pt({errors:r,p:e}={},t){return r==null||r.push(`${e!=null?e:"."}: ${t}`),!1}function dde(r){return Qt({test:(e,t)=>e!==r?pt(t,`Expected a literal (got ${Vr(r)})`):!0})}function Zi(r){let e=Array.isArray(r)?r:Object.values(r),t=new Set(e);return Qt({test:(i,n)=>t.has(i)?!0:pt(n,`Expected a valid enumeration value (got ${Vr(i)})`)})}var IH,yH,wH,BH,bH,ov,QH,vH,sd,Cde,mde,Ede,Ide,yde,wde,Bde,bde,Qde,Sde,od,vde,xde,Pde,Dde,xH,kde,Rde,Fde,Nde,Tde,Lde,Mde,Ode,ad,Kde,Ude,Hde,Gde,Yde,jde,qde,Jde,Wde,zde,lc,Vde,av,ls=Tge(()=>{IH=/^[a-zA-Z_][a-zA-Z0-9_]*$/,yH=/^#[0-9a-f]{6}$/i,wH=/^#[0-9a-f]{6}([0-9a-f]{2})?$/i,BH=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,bH=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$/i,ov=/^(?:[1-9]\d{3}(-?)(?:(?:0[1-9]|1[0-2])\1(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])\1(?:29|30)|(?:0[13578]|1[02])(?:\1)31|00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[0-5]))|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)(?:(-?)02(?:\2)29|-?366))T(?:[01]\d|2[0-3])(:?)[0-5]\d(?:\3[0-5]\d)?(?:Z|[+-][01]\d(?:\3[0-5]\d)?)$/,QH=r=>()=>r;vH=()=>Qt({test:(r,e)=>!0});sd=()=>Qt({test:(r,e)=>typeof r!="string"?pt(e,`Expected a string (got ${Vr(r)})`):!0});Cde=new Map([["true",!0],["True",!0],["1",!0],[1,!0],["false",!1],["False",!1],["0",!1],[0,!1]]),mde=()=>Qt({test:(r,e)=>{var t;if(typeof r!="boolean"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i=Cde.get(r);if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a boolean (got ${Vr(r)})`)}return!0}}),Ede=()=>Qt({test:(r,e)=>{var t;if(typeof r!="number"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"){let n;try{n=JSON.parse(r)}catch{}if(typeof n=="number")if(JSON.stringify(n)===r)i=n;else return pt(e,`Received a number that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a number (got ${Vr(r)})`)}return!0}}),Ide=()=>Qt({test:(r,e)=>{var t;if(!(r instanceof Date)){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"&&ov.test(r))i=new Date(r);else{let n;if(typeof r=="string"){let s;try{s=JSON.parse(r)}catch{}typeof s=="number"&&(n=s)}else typeof r=="number"&&(n=r);if(typeof n<"u")if(Number.isSafeInteger(n)||!Number.isSafeInteger(n*1e3))i=new Date(n*1e3);else return pt(e,`Received a timestamp that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a date (got ${Vr(r)})`)}return!0}}),yde=(r,{delimiter:e}={})=>Qt({test:(t,i)=>{var n;if(typeof t=="string"&&typeof e<"u"&&typeof(i==null?void 0:i.coercions)<"u"){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");t=t.split(e),i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,t)])}if(!Array.isArray(t))return pt(i,`Expected an array (got ${Vr(t)})`);let s=!0;for(let o=0,a=t.length;o{let t=xH(r.length);return Qt({test:(i,n)=>{var s;if(typeof i=="string"&&typeof e<"u"&&typeof(n==null?void 0:n.coercions)<"u"){if(typeof(n==null?void 0:n.coercion)>"u")return pt(n,"Unbound coercion result");i=i.split(e),n.coercions.push([(s=n.p)!==null&&s!==void 0?s:".",n.coercion.bind(null,i)])}if(!Array.isArray(i))return pt(n,`Expected a tuple (got ${Vr(i)})`);let o=t(i,Object.assign({},n));for(let a=0,l=i.length;aQt({test:(t,i)=>{if(typeof t!="object"||t===null)return pt(i,`Expected an object (got ${Vr(t)})`);let n=Object.keys(t),s=!0;for(let o=0,a=n.length;o{let t=Object.keys(r);return Qt({test:(i,n)=>{if(typeof i!="object"||i===null)return pt(n,`Expected an object (got ${Vr(i)})`);let s=new Set([...t,...Object.keys(i)]),o={},a=!0;for(let l of s){if(l==="constructor"||l==="__proto__")a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),"Unsafe property name");else{let c=Object.prototype.hasOwnProperty.call(r,l)?r[l]:void 0,u=Object.prototype.hasOwnProperty.call(i,l)?i[l]:void 0;typeof c<"u"?a=c(u,Object.assign(Object.assign({},n),{p:RA(n,l),coercion:cc(i,l)}))&&a:e===null?a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),`Extraneous property (got ${Vr(u)})`):Object.defineProperty(o,l,{enumerable:!0,get:()=>u,set:SH(i,l)})}if(!a&&(n==null?void 0:n.errors)==null)break}return e!==null&&(a||(n==null?void 0:n.errors)!=null)&&(a=e(o,n)&&a),a}})},Qde=r=>Qt({test:(e,t)=>e instanceof r?!0:pt(t,`Expected an instance of ${r.name} (got ${Vr(e)})`)}),Sde=(r,{exclusive:e=!1}={})=>Qt({test:(t,i)=>{var n,s,o;let a=[],l=typeof(i==null?void 0:i.errors)<"u"?[]:void 0;for(let c=0,u=r.length;c1?pt(i,`Expected to match exactly a single predicate (matched ${a.join(", ")})`):(o=i==null?void 0:i.errors)===null||o===void 0||o.push(...l),!1}}),od=(r,e)=>Qt({test:(t,i)=>{var n,s;let o={value:t},a=typeof(i==null?void 0:i.coercions)<"u"?cc(o,"value"):void 0,l=typeof(i==null?void 0:i.coercions)<"u"?[]:void 0;if(!r(t,Object.assign(Object.assign({},i),{coercion:a,coercions:l})))return!1;let c=[];if(typeof l<"u")for(let[,u]of l)c.push(u());try{if(typeof(i==null?void 0:i.coercions)<"u"){if(o.value!==t){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,o.value)])}(s=i==null?void 0:i.coercions)===null||s===void 0||s.push(...l)}return e.every(u=>u(o.value,i))}finally{for(let u of c)u()}}}),vde=r=>Qt({test:(e,t)=>typeof e>"u"?!0:r(e,t)}),xde=r=>Qt({test:(e,t)=>e===null?!0:r(e,t)}),Pde=r=>Qt({test:(e,t)=>e.length>=r?!0:pt(t,`Expected to have a length of at least ${r} elements (got ${e.length})`)}),Dde=r=>Qt({test:(e,t)=>e.length<=r?!0:pt(t,`Expected to have a length of at most ${r} elements (got ${e.length})`)}),xH=r=>Qt({test:(e,t)=>e.length!==r?pt(t,`Expected to have a length of exactly ${r} elements (got ${e.length})`):!0}),kde=({map:r}={})=>Qt({test:(e,t)=>{let i=new Set,n=new Set;for(let s=0,o=e.length;sQt({test:(r,e)=>r<=0?!0:pt(e,`Expected to be negative (got ${r})`)}),Fde=()=>Qt({test:(r,e)=>r>=0?!0:pt(e,`Expected to be positive (got ${r})`)}),Nde=r=>Qt({test:(e,t)=>e>=r?!0:pt(t,`Expected to be at least ${r} (got ${e})`)}),Tde=r=>Qt({test:(e,t)=>e<=r?!0:pt(t,`Expected to be at most ${r} (got ${e})`)}),Lde=(r,e)=>Qt({test:(t,i)=>t>=r&&t<=e?!0:pt(i,`Expected to be in the [${r}; ${e}] range (got ${t})`)}),Mde=(r,e)=>Qt({test:(t,i)=>t>=r&&tQt({test:(e,t)=>e!==Math.round(e)?pt(t,`Expected to be an integer (got ${e})`):Number.isSafeInteger(e)?!0:pt(t,`Expected to be a safe integer (got ${e})`)}),ad=r=>Qt({test:(e,t)=>r.test(e)?!0:pt(t,`Expected to match the pattern ${r.toString()} (got ${Vr(e)})`)}),Kde=()=>Qt({test:(r,e)=>r!==r.toLowerCase()?pt(e,`Expected to be all-lowercase (got ${r})`):!0}),Ude=()=>Qt({test:(r,e)=>r!==r.toUpperCase()?pt(e,`Expected to be all-uppercase (got ${r})`):!0}),Hde=()=>Qt({test:(r,e)=>bH.test(r)?!0:pt(e,`Expected to be a valid UUID v4 (got ${Vr(r)})`)}),Gde=()=>Qt({test:(r,e)=>ov.test(r)?!1:pt(e,`Expected to be a valid ISO 8601 date string (got ${Vr(r)})`)}),Yde=({alpha:r=!1})=>Qt({test:(e,t)=>(r?yH.test(e):wH.test(e))?!0:pt(t,`Expected to be a valid hexadecimal color string (got ${Vr(e)})`)}),jde=()=>Qt({test:(r,e)=>BH.test(r)?!0:pt(e,`Expected to be a valid base 64 string (got ${Vr(r)})`)}),qde=(r=vH())=>Qt({test:(e,t)=>{let i;try{i=JSON.parse(e)}catch{return pt(t,`Expected to be a valid JSON string (got ${Vr(e)})`)}return r(i,t)}}),Jde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)||s.push(o);return s.length>0?pt(i,`Missing required ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},Wde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>0?pt(i,`Forbidden ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},zde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>1?pt(i,`Mutually exclusive properties ${s.map(o=>`"${o}"`).join(", ")}`):!0}})};(function(r){r.Forbids="Forbids",r.Requires="Requires"})(lc||(lc={}));Vde={[lc.Forbids]:{expect:!1,message:"forbids using"},[lc.Requires]:{expect:!0,message:"requires using"}},av=(r,e,t,{ignore:i=[]}={})=>{let n=new Set(i),s=new Set(t),o=Vde[e];return Qt({test:(a,l)=>{let c=new Set(Object.keys(a));if(!c.has(r)||n.has(a[r]))return!0;let u=[];for(let g of s)(c.has(g)&&!n.has(a[g]))!==o.expect&&u.push(g);return u.length>=1?pt(l,`Property "${r}" ${o.message} ${kI(u.length,"property","properties")} ${u.map(g=>`"${g}"`).join(", ")}`):!0}})}});var qH=w((A$e,jH)=>{"use strict";jH.exports=(r,...e)=>new Promise(t=>{t(r(...e))})});var Jg=w((l$e,pv)=>{"use strict";var gCe=qH(),JH=r=>{if(r<1)throw new TypeError("Expected `concurrency` to be a number from 1 and up");let e=[],t=0,i=()=>{t--,e.length>0&&e.shift()()},n=(a,l,...c)=>{t++;let u=gCe(a,...c);l(u),u.then(i,i)},s=(a,l,...c)=>{tnew Promise(c=>s(a,c,...l));return Object.defineProperties(o,{activeCount:{get:()=>t},pendingCount:{get:()=>e.length}}),o};pv.exports=JH;pv.exports.default=JH});var gd=w((u$e,WH)=>{var fCe="2.0.0",hCe=Number.MAX_SAFE_INTEGER||9007199254740991,pCe=16;WH.exports={SEMVER_SPEC_VERSION:fCe,MAX_LENGTH:256,MAX_SAFE_INTEGER:hCe,MAX_SAFE_COMPONENT_LENGTH:pCe}});var fd=w((g$e,zH)=>{var dCe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};zH.exports=dCe});var uc=w((NA,VH)=>{var{MAX_SAFE_COMPONENT_LENGTH:dv}=gd(),CCe=fd();NA=VH.exports={};var mCe=NA.re=[],et=NA.src=[],tt=NA.t={},ECe=0,St=(r,e,t)=>{let i=ECe++;CCe(i,e),tt[r]=i,et[i]=e,mCe[i]=new RegExp(e,t?"g":void 0)};St("NUMERICIDENTIFIER","0|[1-9]\\d*");St("NUMERICIDENTIFIERLOOSE","[0-9]+");St("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");St("MAINVERSION",`(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})`);St("MAINVERSIONLOOSE",`(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})`);St("PRERELEASEIDENTIFIER",`(?:${et[tt.NUMERICIDENTIFIER]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASEIDENTIFIERLOOSE",`(?:${et[tt.NUMERICIDENTIFIERLOOSE]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASE",`(?:-(${et[tt.PRERELEASEIDENTIFIER]}(?:\\.${et[tt.PRERELEASEIDENTIFIER]})*))`);St("PRERELEASELOOSE",`(?:-?(${et[tt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${et[tt.PRERELEASEIDENTIFIERLOOSE]})*))`);St("BUILDIDENTIFIER","[0-9A-Za-z-]+");St("BUILD",`(?:\\+(${et[tt.BUILDIDENTIFIER]}(?:\\.${et[tt.BUILDIDENTIFIER]})*))`);St("FULLPLAIN",`v?${et[tt.MAINVERSION]}${et[tt.PRERELEASE]}?${et[tt.BUILD]}?`);St("FULL",`^${et[tt.FULLPLAIN]}$`);St("LOOSEPLAIN",`[v=\\s]*${et[tt.MAINVERSIONLOOSE]}${et[tt.PRERELEASELOOSE]}?${et[tt.BUILD]}?`);St("LOOSE",`^${et[tt.LOOSEPLAIN]}$`);St("GTLT","((?:<|>)?=?)");St("XRANGEIDENTIFIERLOOSE",`${et[tt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);St("XRANGEIDENTIFIER",`${et[tt.NUMERICIDENTIFIER]}|x|X|\\*`);St("XRANGEPLAIN",`[v=\\s]*(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:${et[tt.PRERELEASE]})?${et[tt.BUILD]}?)?)?`);St("XRANGEPLAINLOOSE",`[v=\\s]*(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:${et[tt.PRERELEASELOOSE]})?${et[tt.BUILD]}?)?)?`);St("XRANGE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAIN]}$`);St("XRANGELOOSE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAINLOOSE]}$`);St("COERCE",`(^|[^\\d])(\\d{1,${dv}})(?:\\.(\\d{1,${dv}}))?(?:\\.(\\d{1,${dv}}))?(?:$|[^\\d])`);St("COERCERTL",et[tt.COERCE],!0);St("LONETILDE","(?:~>?)");St("TILDETRIM",`(\\s*)${et[tt.LONETILDE]}\\s+`,!0);NA.tildeTrimReplace="$1~";St("TILDE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAIN]}$`);St("TILDELOOSE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAINLOOSE]}$`);St("LONECARET","(?:\\^)");St("CARETTRIM",`(\\s*)${et[tt.LONECARET]}\\s+`,!0);NA.caretTrimReplace="$1^";St("CARET",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAIN]}$`);St("CARETLOOSE",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAINLOOSE]}$`);St("COMPARATORLOOSE",`^${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]})$|^$`);St("COMPARATOR",`^${et[tt.GTLT]}\\s*(${et[tt.FULLPLAIN]})$|^$`);St("COMPARATORTRIM",`(\\s*)${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]}|${et[tt.XRANGEPLAIN]})`,!0);NA.comparatorTrimReplace="$1$2$3";St("HYPHENRANGE",`^\\s*(${et[tt.XRANGEPLAIN]})\\s+-\\s+(${et[tt.XRANGEPLAIN]})\\s*$`);St("HYPHENRANGELOOSE",`^\\s*(${et[tt.XRANGEPLAINLOOSE]})\\s+-\\s+(${et[tt.XRANGEPLAINLOOSE]})\\s*$`);St("STAR","(<|>)?=?\\s*\\*");St("GTE0","^\\s*>=\\s*0.0.0\\s*$");St("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var hd=w((f$e,XH)=>{var ICe=["includePrerelease","loose","rtl"],yCe=r=>r?typeof r!="object"?{loose:!0}:ICe.filter(e=>r[e]).reduce((e,t)=>(e[t]=!0,e),{}):{};XH.exports=yCe});var MI=w((h$e,$H)=>{var ZH=/^[0-9]+$/,_H=(r,e)=>{let t=ZH.test(r),i=ZH.test(e);return t&&i&&(r=+r,e=+e),r===e?0:t&&!i?-1:i&&!t?1:r_H(e,r);$H.exports={compareIdentifiers:_H,rcompareIdentifiers:wCe}});var Li=w((p$e,iG)=>{var OI=fd(),{MAX_LENGTH:eG,MAX_SAFE_INTEGER:KI}=gd(),{re:tG,t:rG}=uc(),BCe=hd(),{compareIdentifiers:pd}=MI(),Yn=class{constructor(e,t){if(t=BCe(t),e instanceof Yn){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>eG)throw new TypeError(`version is longer than ${eG} characters`);OI("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let i=e.trim().match(t.loose?tG[rG.LOOSE]:tG[rG.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>KI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>KI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>KI||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);i===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};iG.exports=Yn});var gc=w((d$e,aG)=>{var{MAX_LENGTH:bCe}=gd(),{re:nG,t:sG}=uc(),oG=Li(),QCe=hd(),SCe=(r,e)=>{if(e=QCe(e),r instanceof oG)return r;if(typeof r!="string"||r.length>bCe||!(e.loose?nG[sG.LOOSE]:nG[sG.FULL]).test(r))return null;try{return new oG(r,e)}catch{return null}};aG.exports=SCe});var lG=w((C$e,AG)=>{var vCe=gc(),xCe=(r,e)=>{let t=vCe(r,e);return t?t.version:null};AG.exports=xCe});var uG=w((m$e,cG)=>{var PCe=gc(),DCe=(r,e)=>{let t=PCe(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null};cG.exports=DCe});var fG=w((E$e,gG)=>{var kCe=Li(),RCe=(r,e,t,i)=>{typeof t=="string"&&(i=t,t=void 0);try{return new kCe(r,t).inc(e,i).version}catch{return null}};gG.exports=RCe});var cs=w((I$e,pG)=>{var hG=Li(),FCe=(r,e,t)=>new hG(r,t).compare(new hG(e,t));pG.exports=FCe});var UI=w((y$e,dG)=>{var NCe=cs(),TCe=(r,e,t)=>NCe(r,e,t)===0;dG.exports=TCe});var EG=w((w$e,mG)=>{var CG=gc(),LCe=UI(),MCe=(r,e)=>{if(LCe(r,e))return null;{let t=CG(r),i=CG(e),n=t.prerelease.length||i.prerelease.length,s=n?"pre":"",o=n?"prerelease":"";for(let a in t)if((a==="major"||a==="minor"||a==="patch")&&t[a]!==i[a])return s+a;return o}};mG.exports=MCe});var yG=w((B$e,IG)=>{var OCe=Li(),KCe=(r,e)=>new OCe(r,e).major;IG.exports=KCe});var BG=w((b$e,wG)=>{var UCe=Li(),HCe=(r,e)=>new UCe(r,e).minor;wG.exports=HCe});var QG=w((Q$e,bG)=>{var GCe=Li(),YCe=(r,e)=>new GCe(r,e).patch;bG.exports=YCe});var vG=w((S$e,SG)=>{var jCe=gc(),qCe=(r,e)=>{let t=jCe(r,e);return t&&t.prerelease.length?t.prerelease:null};SG.exports=qCe});var PG=w((v$e,xG)=>{var JCe=cs(),WCe=(r,e,t)=>JCe(e,r,t);xG.exports=WCe});var kG=w((x$e,DG)=>{var zCe=cs(),VCe=(r,e)=>zCe(r,e,!0);DG.exports=VCe});var HI=w((P$e,FG)=>{var RG=Li(),XCe=(r,e,t)=>{let i=new RG(r,t),n=new RG(e,t);return i.compare(n)||i.compareBuild(n)};FG.exports=XCe});var TG=w((D$e,NG)=>{var ZCe=HI(),_Ce=(r,e)=>r.sort((t,i)=>ZCe(t,i,e));NG.exports=_Ce});var MG=w((k$e,LG)=>{var $Ce=HI(),eme=(r,e)=>r.sort((t,i)=>$Ce(i,t,e));LG.exports=eme});var dd=w((R$e,OG)=>{var tme=cs(),rme=(r,e,t)=>tme(r,e,t)>0;OG.exports=rme});var GI=w((F$e,KG)=>{var ime=cs(),nme=(r,e,t)=>ime(r,e,t)<0;KG.exports=nme});var Cv=w((N$e,UG)=>{var sme=cs(),ome=(r,e,t)=>sme(r,e,t)!==0;UG.exports=ome});var YI=w((T$e,HG)=>{var ame=cs(),Ame=(r,e,t)=>ame(r,e,t)>=0;HG.exports=Ame});var jI=w((L$e,GG)=>{var lme=cs(),cme=(r,e,t)=>lme(r,e,t)<=0;GG.exports=cme});var mv=w((M$e,YG)=>{var ume=UI(),gme=Cv(),fme=dd(),hme=YI(),pme=GI(),dme=jI(),Cme=(r,e,t,i)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return ume(r,t,i);case"!=":return gme(r,t,i);case">":return fme(r,t,i);case">=":return hme(r,t,i);case"<":return pme(r,t,i);case"<=":return dme(r,t,i);default:throw new TypeError(`Invalid operator: ${e}`)}};YG.exports=Cme});var qG=w((O$e,jG)=>{var mme=Li(),Eme=gc(),{re:qI,t:JI}=uc(),Ime=(r,e)=>{if(r instanceof mme)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};let t=null;if(!e.rtl)t=r.match(qI[JI.COERCE]);else{let i;for(;(i=qI[JI.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||i.index+i[0].length!==t.index+t[0].length)&&(t=i),qI[JI.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;qI[JI.COERCERTL].lastIndex=-1}return t===null?null:Eme(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,e)};jG.exports=Ime});var WG=w((K$e,JG)=>{"use strict";JG.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}});var WI=w((U$e,zG)=>{"use strict";zG.exports=Ht;Ht.Node=fc;Ht.create=Ht;function Ht(r){var e=this;if(e instanceof Ht||(e=new Ht),e.tail=null,e.head=null,e.length=0,r&&typeof r.forEach=="function")r.forEach(function(n){e.push(n)});else if(arguments.length>0)for(var t=0,i=arguments.length;t1)t=e;else if(this.head)i=this.head.next,t=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;i!==null;n++)t=r(t,i.value,n),i=i.next;return t};Ht.prototype.reduceReverse=function(r,e){var t,i=this.tail;if(arguments.length>1)t=e;else if(this.tail)i=this.tail.prev,t=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;i!==null;n--)t=r(t,i.value,n),i=i.prev;return t};Ht.prototype.toArray=function(){for(var r=new Array(this.length),e=0,t=this.head;t!==null;e++)r[e]=t.value,t=t.next;return r};Ht.prototype.toArrayReverse=function(){for(var r=new Array(this.length),e=0,t=this.tail;t!==null;e++)r[e]=t.value,t=t.prev;return r};Ht.prototype.slice=function(r,e){e=e||this.length,e<0&&(e+=this.length),r=r||0,r<0&&(r+=this.length);var t=new Ht;if(ethis.length&&(e=this.length);for(var i=0,n=this.head;n!==null&&ithis.length&&(e=this.length);for(var i=this.length,n=this.tail;n!==null&&i>e;i--)n=n.prev;for(;n!==null&&i>r;i--,n=n.prev)t.push(n.value);return t};Ht.prototype.splice=function(r,e,...t){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,n=this.head;n!==null&&i{"use strict";var bme=WI(),hc=Symbol("max"),va=Symbol("length"),Wg=Symbol("lengthCalculator"),md=Symbol("allowStale"),pc=Symbol("maxAge"),Sa=Symbol("dispose"),VG=Symbol("noDisposeOnSet"),di=Symbol("lruList"),Zs=Symbol("cache"),ZG=Symbol("updateAgeOnGet"),Ev=()=>1,yv=class{constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(typeof e.max!="number"||e.max<0))throw new TypeError("max must be a non-negative number");let t=this[hc]=e.max||1/0,i=e.length||Ev;if(this[Wg]=typeof i!="function"?Ev:i,this[md]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[pc]=e.maxAge||0,this[Sa]=e.dispose,this[VG]=e.noDisposeOnSet||!1,this[ZG]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a non-negative number");this[hc]=e||1/0,Cd(this)}get max(){return this[hc]}set allowStale(e){this[md]=!!e}get allowStale(){return this[md]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[pc]=e,Cd(this)}get maxAge(){return this[pc]}set lengthCalculator(e){typeof e!="function"&&(e=Ev),e!==this[Wg]&&(this[Wg]=e,this[va]=0,this[di].forEach(t=>{t.length=this[Wg](t.value,t.key),this[va]+=t.length})),Cd(this)}get lengthCalculator(){return this[Wg]}get length(){return this[va]}get itemCount(){return this[di].length}rforEach(e,t){t=t||this;for(let i=this[di].tail;i!==null;){let n=i.prev;XG(this,e,i,t),i=n}}forEach(e,t){t=t||this;for(let i=this[di].head;i!==null;){let n=i.next;XG(this,e,i,t),i=n}}keys(){return this[di].toArray().map(e=>e.key)}values(){return this[di].toArray().map(e=>e.value)}reset(){this[Sa]&&this[di]&&this[di].length&&this[di].forEach(e=>this[Sa](e.key,e.value)),this[Zs]=new Map,this[di]=new bme,this[va]=0}dump(){return this[di].map(e=>zI(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[di]}set(e,t,i){if(i=i||this[pc],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let n=i?Date.now():0,s=this[Wg](t,e);if(this[Zs].has(e)){if(s>this[hc])return zg(this,this[Zs].get(e)),!1;let l=this[Zs].get(e).value;return this[Sa]&&(this[VG]||this[Sa](e,l.value)),l.now=n,l.maxAge=i,l.value=t,this[va]+=s-l.length,l.length=s,this.get(e),Cd(this),!0}let o=new wv(e,t,s,n,i);return o.length>this[hc]?(this[Sa]&&this[Sa](e,t),!1):(this[va]+=o.length,this[di].unshift(o),this[Zs].set(e,this[di].head),Cd(this),!0)}has(e){if(!this[Zs].has(e))return!1;let t=this[Zs].get(e).value;return!zI(this,t)}get(e){return Iv(this,e,!0)}peek(e){return Iv(this,e,!1)}pop(){let e=this[di].tail;return e?(zg(this,e),e.value):null}del(e){zg(this,this[Zs].get(e))}load(e){this.reset();let t=Date.now();for(let i=e.length-1;i>=0;i--){let n=e[i],s=n.e||0;if(s===0)this.set(n.k,n.v);else{let o=s-t;o>0&&this.set(n.k,n.v,o)}}}prune(){this[Zs].forEach((e,t)=>Iv(this,t,!1))}},Iv=(r,e,t)=>{let i=r[Zs].get(e);if(i){let n=i.value;if(zI(r,n)){if(zg(r,i),!r[md])return}else t&&(r[ZG]&&(i.value.now=Date.now()),r[di].unshiftNode(i));return n.value}},zI=(r,e)=>{if(!e||!e.maxAge&&!r[pc])return!1;let t=Date.now()-e.now;return e.maxAge?t>e.maxAge:r[pc]&&t>r[pc]},Cd=r=>{if(r[va]>r[hc])for(let e=r[di].tail;r[va]>r[hc]&&e!==null;){let t=e.prev;zg(r,e),e=t}},zg=(r,e)=>{if(e){let t=e.value;r[Sa]&&r[Sa](t.key,t.value),r[va]-=t.length,r[Zs].delete(t.key),r[di].removeNode(e)}},wv=class{constructor(e,t,i,n,s){this.key=e,this.value=t,this.length=i,this.now=n,this.maxAge=s||0}},XG=(r,e,t,i)=>{let n=t.value;zI(r,n)&&(zg(r,t),r[md]||(n=void 0)),n&&e.call(i,n.value,n.key,r)};_G.exports=yv});var us=w((G$e,iY)=>{var dc=class{constructor(e,t){if(t=Sme(t),e instanceof dc)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new dc(e.raw,t);if(e instanceof Bv)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!tY(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&kme(n[0])){this.set=[n];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();let i=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=eY.get(i);if(n)return n;let s=this.options.loose,o=s?Mi[bi.HYPHENRANGELOOSE]:Mi[bi.HYPHENRANGE];e=e.replace(o,Hme(this.options.includePrerelease)),Hr("hyphen replace",e),e=e.replace(Mi[bi.COMPARATORTRIM],xme),Hr("comparator trim",e,Mi[bi.COMPARATORTRIM]),e=e.replace(Mi[bi.TILDETRIM],Pme),e=e.replace(Mi[bi.CARETTRIM],Dme),e=e.split(/\s+/).join(" ");let a=s?Mi[bi.COMPARATORLOOSE]:Mi[bi.COMPARATOR],l=e.split(" ").map(f=>Rme(f,this.options)).join(" ").split(/\s+/).map(f=>Ume(f,this.options)).filter(this.options.loose?f=>!!f.match(a):()=>!0).map(f=>new Bv(f,this.options)),c=l.length,u=new Map;for(let f of l){if(tY(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");let g=[...u.values()];return eY.set(i,g),g}intersects(e,t){if(!(e instanceof dc))throw new TypeError("a Range is required");return this.set.some(i=>rY(i,t)&&e.set.some(n=>rY(n,t)&&i.every(s=>n.every(o=>s.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new vme(e,this.options)}catch{return!1}for(let t=0;tr.value==="<0.0.0-0",kme=r=>r.value==="",rY=(r,e)=>{let t=!0,i=r.slice(),n=i.pop();for(;t&&i.length;)t=i.every(s=>n.intersects(s,e)),n=i.pop();return t},Rme=(r,e)=>(Hr("comp",r,e),r=Tme(r,e),Hr("caret",r),r=Fme(r,e),Hr("tildes",r),r=Mme(r,e),Hr("xrange",r),r=Kme(r,e),Hr("stars",r),r),$i=r=>!r||r.toLowerCase()==="x"||r==="*",Fme=(r,e)=>r.trim().split(/\s+/).map(t=>Nme(t,e)).join(" "),Nme=(r,e)=>{let t=e.loose?Mi[bi.TILDELOOSE]:Mi[bi.TILDE];return r.replace(t,(i,n,s,o,a)=>{Hr("tilde",r,i,n,s,o,a);let l;return $i(n)?l="":$i(s)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:$i(o)?l=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:a?(Hr("replaceTilde pr",a),l=`>=${n}.${s}.${o}-${a} <${n}.${+s+1}.0-0`):l=`>=${n}.${s}.${o} <${n}.${+s+1}.0-0`,Hr("tilde return",l),l})},Tme=(r,e)=>r.trim().split(/\s+/).map(t=>Lme(t,e)).join(" "),Lme=(r,e)=>{Hr("caret",r,e);let t=e.loose?Mi[bi.CARETLOOSE]:Mi[bi.CARET],i=e.includePrerelease?"-0":"";return r.replace(t,(n,s,o,a,l)=>{Hr("caret",r,n,s,o,a,l);let c;return $i(s)?c="":$i(o)?c=`>=${s}.0.0${i} <${+s+1}.0.0-0`:$i(a)?s==="0"?c=`>=${s}.${o}.0${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.0${i} <${+s+1}.0.0-0`:l?(Hr("replaceCaret pr",l),s==="0"?o==="0"?c=`>=${s}.${o}.${a}-${l} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}-${l} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a}-${l} <${+s+1}.0.0-0`):(Hr("no pr"),s==="0"?o==="0"?c=`>=${s}.${o}.${a}${i} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),Hr("caret return",c),c})},Mme=(r,e)=>(Hr("replaceXRanges",r,e),r.split(/\s+/).map(t=>Ome(t,e)).join(" ")),Ome=(r,e)=>{r=r.trim();let t=e.loose?Mi[bi.XRANGELOOSE]:Mi[bi.XRANGE];return r.replace(t,(i,n,s,o,a,l)=>{Hr("xRange",r,i,n,s,o,a,l);let c=$i(s),u=c||$i(o),g=u||$i(a),f=g;return n==="="&&f&&(n=""),l=e.includePrerelease?"-0":"",c?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&f?(u&&(o=0),a=0,n===">"?(n=">=",u?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?s=+s+1:o=+o+1),n==="<"&&(l="-0"),i=`${n+s}.${o}.${a}${l}`):u?i=`>=${s}.0.0${l} <${+s+1}.0.0-0`:g&&(i=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),Hr("xRange return",i),i})},Kme=(r,e)=>(Hr("replaceStars",r,e),r.trim().replace(Mi[bi.STAR],"")),Ume=(r,e)=>(Hr("replaceGTE0",r,e),r.trim().replace(Mi[e.includePrerelease?bi.GTE0PRE:bi.GTE0],"")),Hme=r=>(e,t,i,n,s,o,a,l,c,u,g,f,h)=>($i(i)?t="":$i(n)?t=`>=${i}.0.0${r?"-0":""}`:$i(s)?t=`>=${i}.${n}.0${r?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,$i(c)?l="":$i(u)?l=`<${+c+1}.0.0-0`:$i(g)?l=`<${c}.${+u+1}.0-0`:f?l=`<=${c}.${u}.${g}-${f}`:r?l=`<${c}.${u}.${+g+1}-0`:l=`<=${l}`,`${t} ${l}`.trim()),Gme=(r,e,t)=>{for(let i=0;i0){let n=r[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Ed=w((Y$e,AY)=>{var Id=Symbol("SemVer ANY"),Vg=class{static get ANY(){return Id}constructor(e,t){if(t=Yme(t),e instanceof Vg){if(e.loose===!!t.loose)return e;e=e.value}Qv("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Id?this.value="":this.value=this.operator+this.semver.version,Qv("comp",this)}parse(e){let t=this.options.loose?nY[sY.COMPARATORLOOSE]:nY[sY.COMPARATOR],i=e.match(t);if(!i)throw new TypeError(`Invalid comparator: ${e}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new oY(i[2],this.options.loose):this.semver=Id}toString(){return this.value}test(e){if(Qv("Comparator.test",e,this.options.loose),this.semver===Id||e===Id)return!0;if(typeof e=="string")try{e=new oY(e,this.options)}catch{return!1}return bv(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Vg))throw new TypeError("a Comparator is required");if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new aY(e.value,t).test(this.value);if(e.operator==="")return e.value===""?!0:new aY(this.value,t).test(e.semver);let i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),s=this.semver.version===e.semver.version,o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),a=bv(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=bv(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||n||s&&o||a||l}};AY.exports=Vg;var Yme=hd(),{re:nY,t:sY}=uc(),bv=mv(),Qv=fd(),oY=Li(),aY=us()});var yd=w((j$e,lY)=>{var jme=us(),qme=(r,e,t)=>{try{e=new jme(e,t)}catch{return!1}return e.test(r)};lY.exports=qme});var uY=w((q$e,cY)=>{var Jme=us(),Wme=(r,e)=>new Jme(r,e).set.map(t=>t.map(i=>i.value).join(" ").trim().split(" "));cY.exports=Wme});var fY=w((J$e,gY)=>{var zme=Li(),Vme=us(),Xme=(r,e,t)=>{let i=null,n=null,s=null;try{s=new Vme(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===-1)&&(i=o,n=new zme(i,t))}),i};gY.exports=Xme});var pY=w((W$e,hY)=>{var Zme=Li(),_me=us(),$me=(r,e,t)=>{let i=null,n=null,s=null;try{s=new _me(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===1)&&(i=o,n=new Zme(i,t))}),i};hY.exports=$me});var mY=w((z$e,CY)=>{var Sv=Li(),eEe=us(),dY=dd(),tEe=(r,e)=>{r=new eEe(r,e);let t=new Sv("0.0.0");if(r.test(t)||(t=new Sv("0.0.0-0"),r.test(t)))return t;t=null;for(let i=0;i{let a=new Sv(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||dY(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),s&&(!t||dY(t,s))&&(t=s)}return t&&r.test(t)?t:null};CY.exports=tEe});var IY=w((V$e,EY)=>{var rEe=us(),iEe=(r,e)=>{try{return new rEe(r,e).range||"*"}catch{return null}};EY.exports=iEe});var VI=w((X$e,bY)=>{var nEe=Li(),BY=Ed(),{ANY:sEe}=BY,oEe=us(),aEe=yd(),yY=dd(),wY=GI(),AEe=jI(),lEe=YI(),cEe=(r,e,t,i)=>{r=new nEe(r,i),e=new oEe(e,i);let n,s,o,a,l;switch(t){case">":n=yY,s=AEe,o=wY,a=">",l=">=";break;case"<":n=wY,s=lEe,o=yY,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(aEe(r,e,i))return!1;for(let c=0;c{h.semver===sEe&&(h=new BY(">=0.0.0")),g=g||h,f=f||h,n(h.semver,g.semver,i)?g=h:o(h.semver,f.semver,i)&&(f=h)}),g.operator===a||g.operator===l||(!f.operator||f.operator===a)&&s(r,f.semver))return!1;if(f.operator===l&&o(r,f.semver))return!1}return!0};bY.exports=cEe});var SY=w((Z$e,QY)=>{var uEe=VI(),gEe=(r,e,t)=>uEe(r,e,">",t);QY.exports=gEe});var xY=w((_$e,vY)=>{var fEe=VI(),hEe=(r,e,t)=>fEe(r,e,"<",t);vY.exports=hEe});var kY=w(($$e,DY)=>{var PY=us(),pEe=(r,e,t)=>(r=new PY(r,t),e=new PY(e,t),r.intersects(e));DY.exports=pEe});var FY=w((eet,RY)=>{var dEe=yd(),CEe=cs();RY.exports=(r,e,t)=>{let i=[],n=null,s=null,o=r.sort((u,g)=>CEe(u,g,t));for(let u of o)dEe(u,e,t)?(s=u,n||(n=u)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let a=[];for(let[u,g]of i)u===g?a.push(u):!g&&u===o[0]?a.push("*"):g?u===o[0]?a.push(`<=${g}`):a.push(`${u} - ${g}`):a.push(`>=${u}`);let l=a.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return l.length{var NY=us(),XI=Ed(),{ANY:vv}=XI,wd=yd(),xv=cs(),mEe=(r,e,t={})=>{if(r===e)return!0;r=new NY(r,t),e=new NY(e,t);let i=!1;e:for(let n of r.set){for(let s of e.set){let o=EEe(n,s,t);if(i=i||o!==null,o)continue e}if(i)return!1}return!0},EEe=(r,e,t)=>{if(r===e)return!0;if(r.length===1&&r[0].semver===vv){if(e.length===1&&e[0].semver===vv)return!0;t.includePrerelease?r=[new XI(">=0.0.0-0")]:r=[new XI(">=0.0.0")]}if(e.length===1&&e[0].semver===vv){if(t.includePrerelease)return!0;e=[new XI(">=0.0.0")]}let i=new Set,n,s;for(let h of r)h.operator===">"||h.operator===">="?n=TY(n,h,t):h.operator==="<"||h.operator==="<="?s=LY(s,h,t):i.add(h.semver);if(i.size>1)return null;let o;if(n&&s){if(o=xv(n.semver,s.semver,t),o>0)return null;if(o===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let h of i){if(n&&!wd(h,String(n),t)||s&&!wd(h,String(s),t))return null;for(let p of e)if(!wd(h,String(p),t))return!1;return!0}let a,l,c,u,g=s&&!t.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1;g&&g.prerelease.length===1&&s.operator==="<"&&g.prerelease[0]===0&&(g=!1);for(let h of e){if(u=u||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",n){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator===">"||h.operator===">="){if(a=TY(n,h,t),a===h&&a!==n)return!1}else if(n.operator===">="&&!wd(n.semver,String(h),t))return!1}if(s){if(g&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===g.major&&h.semver.minor===g.minor&&h.semver.patch===g.patch&&(g=!1),h.operator==="<"||h.operator==="<="){if(l=LY(s,h,t),l===h&&l!==s)return!1}else if(s.operator==="<="&&!wd(s.semver,String(h),t))return!1}if(!h.operator&&(s||n)&&o!==0)return!1}return!(n&&c&&!s&&o!==0||s&&u&&!n&&o!==0||f||g)},TY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i>0?r:i<0||e.operator===">"&&r.operator===">="?e:r},LY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i<0?r:i>0||e.operator==="<"&&r.operator==="<="?e:r};MY.exports=mEe});var Xr=w((ret,KY)=>{var Pv=uc();KY.exports={re:Pv.re,src:Pv.src,tokens:Pv.t,SEMVER_SPEC_VERSION:gd().SEMVER_SPEC_VERSION,SemVer:Li(),compareIdentifiers:MI().compareIdentifiers,rcompareIdentifiers:MI().rcompareIdentifiers,parse:gc(),valid:lG(),clean:uG(),inc:fG(),diff:EG(),major:yG(),minor:BG(),patch:QG(),prerelease:vG(),compare:cs(),rcompare:PG(),compareLoose:kG(),compareBuild:HI(),sort:TG(),rsort:MG(),gt:dd(),lt:GI(),eq:UI(),neq:Cv(),gte:YI(),lte:jI(),cmp:mv(),coerce:qG(),Comparator:Ed(),Range:us(),satisfies:yd(),toComparators:uY(),maxSatisfying:fY(),minSatisfying:pY(),minVersion:mY(),validRange:IY(),outside:VI(),gtr:SY(),ltr:xY(),intersects:kY(),simplifyRange:FY(),subset:OY()}});var Dv=w(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0});ZI.VERSION=void 0;ZI.VERSION="9.1.0"});var Gt=w((exports,module)=>{"use strict";var __spreadArray=exports&&exports.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var i=0,n=e.length,s;i{(function(r,e){typeof define=="function"&&define.amd?define([],e):typeof _I=="object"&&_I.exports?_I.exports=e():r.regexpToAst=e()})(typeof self<"u"?self:UY,function(){function r(){}r.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},r.prototype.restoreState=function(p){this.idx=p.idx,this.input=p.input,this.groupIdx=p.groupIdx},r.prototype.pattern=function(p){this.idx=0,this.input=p,this.groupIdx=0,this.consumeChar("/");var C=this.disjunction();this.consumeChar("/");for(var y={type:"Flags",loc:{begin:this.idx,end:p.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":o(y,"global");break;case"i":o(y,"ignoreCase");break;case"m":o(y,"multiLine");break;case"u":o(y,"unicode");break;case"y":o(y,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:y,value:C,loc:this.loc(0)}},r.prototype.disjunction=function(){var p=[],C=this.idx;for(p.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),p.push(this.alternative());return{type:"Disjunction",value:p,loc:this.loc(C)}},r.prototype.alternative=function(){for(var p=[],C=this.idx;this.isTerm();)p.push(this.term());return{type:"Alternative",value:p,loc:this.loc(C)}},r.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},r.prototype.assertion=function(){var p=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(p)};case"$":return{type:"EndAnchor",loc:this.loc(p)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(p)};case"B":return{type:"NonWordBoundary",loc:this.loc(p)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");var C;switch(this.popChar()){case"=":C="Lookahead";break;case"!":C="NegativeLookahead";break}a(C);var y=this.disjunction();return this.consumeChar(")"),{type:C,value:y,loc:this.loc(p)}}l()},r.prototype.quantifier=function(p){var C,y=this.idx;switch(this.popChar()){case"*":C={atLeast:0,atMost:1/0};break;case"+":C={atLeast:1,atMost:1/0};break;case"?":C={atLeast:0,atMost:1};break;case"{":var B=this.integerIncludingZero();switch(this.popChar()){case"}":C={atLeast:B,atMost:B};break;case",":var v;this.isDigit()?(v=this.integerIncludingZero(),C={atLeast:B,atMost:v}):C={atLeast:B,atMost:1/0},this.consumeChar("}");break}if(p===!0&&C===void 0)return;a(C);break}if(!(p===!0&&C===void 0))return a(C),this.peekChar(0)==="?"?(this.consumeChar("?"),C.greedy=!1):C.greedy=!0,C.type="Quantifier",C.loc=this.loc(y),C},r.prototype.atom=function(){var p,C=this.idx;switch(this.peekChar()){case".":p=this.dotAll();break;case"\\":p=this.atomEscape();break;case"[":p=this.characterClass();break;case"(":p=this.group();break}return p===void 0&&this.isPatternCharacter()&&(p=this.patternCharacter()),a(p),p.loc=this.loc(C),this.isQuantifier()&&(p.quantifier=this.quantifier()),p},r.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[n(` -`),n("\r"),n("\u2028"),n("\u2029")]}},r.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},r.prototype.decimalEscapeAtom=function(){var p=this.positiveInteger();return{type:"GroupBackReference",value:p}},r.prototype.characterClassEscape=function(){var p,C=!1;switch(this.popChar()){case"d":p=u;break;case"D":p=u,C=!0;break;case"s":p=f;break;case"S":p=f,C=!0;break;case"w":p=g;break;case"W":p=g,C=!0;break}return a(p),{type:"Set",value:p,complement:C}},r.prototype.controlEscapeAtom=function(){var p;switch(this.popChar()){case"f":p=n("\f");break;case"n":p=n(` -`);break;case"r":p=n("\r");break;case"t":p=n(" ");break;case"v":p=n("\v");break}return a(p),{type:"Character",value:p}},r.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var p=this.popChar();if(/[a-zA-Z]/.test(p)===!1)throw Error("Invalid ");var C=p.toUpperCase().charCodeAt(0)-64;return{type:"Character",value:C}},r.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:n("\0")}},r.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},r.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},r.prototype.identityEscapeAtom=function(){var p=this.popChar();return{type:"Character",value:n(p)}},r.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case` -`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:var p=this.popChar();return{type:"Character",value:n(p)}}},r.prototype.characterClass=function(){var p=[],C=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),C=!0);this.isClassAtom();){var y=this.classAtom(),B=y.type==="Character";if(B&&this.isRangeDash()){this.consumeChar("-");var v=this.classAtom(),D=v.type==="Character";if(D){if(v.value=this.input.length)throw Error("Unexpected end of input");this.idx++},r.prototype.loc=function(p){return{begin:p,end:this.idx}};var e=/[0-9a-fA-F]/,t=/[0-9]/,i=/[1-9]/;function n(p){return p.charCodeAt(0)}function s(p,C){p.length!==void 0?p.forEach(function(y){C.push(y)}):C.push(p)}function o(p,C){if(p[C]===!0)throw"duplicate flag "+C;p[C]=!0}function a(p){if(p===void 0)throw Error("Internal Error - Should never get here!")}function l(){throw Error("Internal Error - Should never get here!")}var c,u=[];for(c=n("0");c<=n("9");c++)u.push(c);var g=[n("_")].concat(u);for(c=n("a");c<=n("z");c++)g.push(c);for(c=n("A");c<=n("Z");c++)g.push(c);var f=[n(" "),n("\f"),n(` -`),n("\r"),n(" "),n("\v"),n(" "),n("\xA0"),n("\u1680"),n("\u2000"),n("\u2001"),n("\u2002"),n("\u2003"),n("\u2004"),n("\u2005"),n("\u2006"),n("\u2007"),n("\u2008"),n("\u2009"),n("\u200A"),n("\u2028"),n("\u2029"),n("\u202F"),n("\u205F"),n("\u3000"),n("\uFEFF")];function h(){}return h.prototype.visitChildren=function(p){for(var C in p){var y=p[C];p.hasOwnProperty(C)&&(y.type!==void 0?this.visit(y):Array.isArray(y)&&y.forEach(function(B){this.visit(B)},this))}},h.prototype.visit=function(p){switch(p.type){case"Pattern":this.visitPattern(p);break;case"Flags":this.visitFlags(p);break;case"Disjunction":this.visitDisjunction(p);break;case"Alternative":this.visitAlternative(p);break;case"StartAnchor":this.visitStartAnchor(p);break;case"EndAnchor":this.visitEndAnchor(p);break;case"WordBoundary":this.visitWordBoundary(p);break;case"NonWordBoundary":this.visitNonWordBoundary(p);break;case"Lookahead":this.visitLookahead(p);break;case"NegativeLookahead":this.visitNegativeLookahead(p);break;case"Character":this.visitCharacter(p);break;case"Set":this.visitSet(p);break;case"Group":this.visitGroup(p);break;case"GroupBackReference":this.visitGroupBackReference(p);break;case"Quantifier":this.visitQuantifier(p);break}this.visitChildren(p)},h.prototype.visitPattern=function(p){},h.prototype.visitFlags=function(p){},h.prototype.visitDisjunction=function(p){},h.prototype.visitAlternative=function(p){},h.prototype.visitStartAnchor=function(p){},h.prototype.visitEndAnchor=function(p){},h.prototype.visitWordBoundary=function(p){},h.prototype.visitNonWordBoundary=function(p){},h.prototype.visitLookahead=function(p){},h.prototype.visitNegativeLookahead=function(p){},h.prototype.visitCharacter=function(p){},h.prototype.visitSet=function(p){},h.prototype.visitGroup=function(p){},h.prototype.visitGroupBackReference=function(p){},h.prototype.visitQuantifier=function(p){},{RegExpParser:r,BaseRegExpVisitor:h,VERSION:"0.5.0"}})});var ty=w(Xg=>{"use strict";Object.defineProperty(Xg,"__esModule",{value:!0});Xg.clearRegExpParserCache=Xg.getRegExpAst=void 0;var IEe=$I(),ey={},yEe=new IEe.RegExpParser;function wEe(r){var e=r.toString();if(ey.hasOwnProperty(e))return ey[e];var t=yEe.pattern(e);return ey[e]=t,t}Xg.getRegExpAst=wEe;function BEe(){ey={}}Xg.clearRegExpParserCache=BEe});var qY=w(Cn=>{"use strict";var bEe=Cn&&Cn.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Cn,"__esModule",{value:!0});Cn.canMatchCharCode=Cn.firstCharOptimizedIndices=Cn.getOptimizedStartCodesIndices=Cn.failedOptimizationPrefixMsg=void 0;var GY=$I(),gs=Gt(),YY=ty(),xa=Rv(),jY="Complement Sets are not supported for first char optimization";Cn.failedOptimizationPrefixMsg=`Unable to use "first char" lexer optimizations: -`;function QEe(r,e){e===void 0&&(e=!1);try{var t=(0,YY.getRegExpAst)(r),i=iy(t.value,{},t.flags.ignoreCase);return i}catch(s){if(s.message===jY)e&&(0,gs.PRINT_WARNING)(""+Cn.failedOptimizationPrefixMsg+(" Unable to optimize: < "+r.toString()+` > -`)+` Complement Sets cannot be automatically optimized. - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{var n="";e&&(n=` - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),(0,gs.PRINT_ERROR)(Cn.failedOptimizationPrefixMsg+` -`+(" Failed parsing: < "+r.toString()+` > -`)+(" Using the regexp-to-ast library version: "+GY.VERSION+` -`)+" Please open an issue at: https://github.com/bd82/regexp-to-ast/issues"+n)}}return[]}Cn.getOptimizedStartCodesIndices=QEe;function iy(r,e,t){switch(r.type){case"Disjunction":for(var i=0;i=xa.minOptimizationVal)for(var f=u.from>=xa.minOptimizationVal?u.from:xa.minOptimizationVal,h=u.to,p=(0,xa.charCodeToOptimizedIndex)(f),C=(0,xa.charCodeToOptimizedIndex)(h),y=p;y<=C;y++)e[y]=y}}});break;case"Group":iy(o.value,e,t);break;default:throw Error("Non Exhaustive Match")}var a=o.quantifier!==void 0&&o.quantifier.atLeast===0;if(o.type==="Group"&&kv(o)===!1||o.type!=="Group"&&a===!1)break}break;default:throw Error("non exhaustive match!")}return(0,gs.values)(e)}Cn.firstCharOptimizedIndices=iy;function ry(r,e,t){var i=(0,xa.charCodeToOptimizedIndex)(r);e[i]=i,t===!0&&SEe(r,e)}function SEe(r,e){var t=String.fromCharCode(r),i=t.toUpperCase();if(i!==t){var n=(0,xa.charCodeToOptimizedIndex)(i.charCodeAt(0));e[n]=n}else{var s=t.toLowerCase();if(s!==t){var n=(0,xa.charCodeToOptimizedIndex)(s.charCodeAt(0));e[n]=n}}}function HY(r,e){return(0,gs.find)(r.value,function(t){if(typeof t=="number")return(0,gs.contains)(e,t);var i=t;return(0,gs.find)(e,function(n){return i.from<=n&&n<=i.to})!==void 0})}function kv(r){return r.quantifier&&r.quantifier.atLeast===0?!0:r.value?(0,gs.isArray)(r.value)?(0,gs.every)(r.value,kv):kv(r.value):!1}var vEe=function(r){bEe(e,r);function e(t){var i=r.call(this)||this;return i.targetCharCodes=t,i.found=!1,i}return e.prototype.visitChildren=function(t){if(this.found!==!0){switch(t.type){case"Lookahead":this.visitLookahead(t);return;case"NegativeLookahead":this.visitNegativeLookahead(t);return}r.prototype.visitChildren.call(this,t)}},e.prototype.visitCharacter=function(t){(0,gs.contains)(this.targetCharCodes,t.value)&&(this.found=!0)},e.prototype.visitSet=function(t){t.complement?HY(t,this.targetCharCodes)===void 0&&(this.found=!0):HY(t,this.targetCharCodes)!==void 0&&(this.found=!0)},e}(GY.BaseRegExpVisitor);function xEe(r,e){if(e instanceof RegExp){var t=(0,YY.getRegExpAst)(e),i=new vEe(r);return i.visit(t),i.found}else return(0,gs.find)(e,function(n){return(0,gs.contains)(r,n.charCodeAt(0))})!==void 0}Cn.canMatchCharCode=xEe});var Rv=w(Ve=>{"use strict";var JY=Ve&&Ve.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Ve,"__esModule",{value:!0});Ve.charCodeToOptimizedIndex=Ve.minOptimizationVal=Ve.buildLineBreakIssueMessage=Ve.LineTerminatorOptimizedTester=Ve.isShortPattern=Ve.isCustomPattern=Ve.cloneEmptyGroups=Ve.performWarningRuntimeChecks=Ve.performRuntimeChecks=Ve.addStickyFlag=Ve.addStartOfInput=Ve.findUnreachablePatterns=Ve.findModesThatDoNotExist=Ve.findInvalidGroupType=Ve.findDuplicatePatterns=Ve.findUnsupportedFlags=Ve.findStartOfInputAnchor=Ve.findEmptyMatchRegExps=Ve.findEndOfInputAnchor=Ve.findInvalidPatterns=Ve.findMissingPatterns=Ve.validatePatterns=Ve.analyzeTokenTypes=Ve.enableSticky=Ve.disableSticky=Ve.SUPPORT_STICKY=Ve.MODES=Ve.DEFAULT_MODE=void 0;var WY=$I(),ir=Bd(),xe=Gt(),Zg=qY(),zY=ty(),ko="PATTERN";Ve.DEFAULT_MODE="defaultMode";Ve.MODES="modes";Ve.SUPPORT_STICKY=typeof new RegExp("(?:)").sticky=="boolean";function PEe(){Ve.SUPPORT_STICKY=!1}Ve.disableSticky=PEe;function DEe(){Ve.SUPPORT_STICKY=!0}Ve.enableSticky=DEe;function kEe(r,e){e=(0,xe.defaults)(e,{useSticky:Ve.SUPPORT_STICKY,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` -`],tracer:function(v,D){return D()}});var t=e.tracer;t("initCharCodeToOptimizedIndexMap",function(){HEe()});var i;t("Reject Lexer.NA",function(){i=(0,xe.reject)(r,function(v){return v[ko]===ir.Lexer.NA})});var n=!1,s;t("Transform Patterns",function(){n=!1,s=(0,xe.map)(i,function(v){var D=v[ko];if((0,xe.isRegExp)(D)){var T=D.source;return T.length===1&&T!=="^"&&T!=="$"&&T!=="."&&!D.ignoreCase?T:T.length===2&&T[0]==="\\"&&!(0,xe.contains)(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],T[1])?T[1]:e.useSticky?Tv(D):Nv(D)}else{if((0,xe.isFunction)(D))return n=!0,{exec:D};if((0,xe.has)(D,"exec"))return n=!0,D;if(typeof D=="string"){if(D.length===1)return D;var H=D.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),j=new RegExp(H);return e.useSticky?Tv(j):Nv(j)}else throw Error("non exhaustive match")}})});var o,a,l,c,u;t("misc mapping",function(){o=(0,xe.map)(i,function(v){return v.tokenTypeIdx}),a=(0,xe.map)(i,function(v){var D=v.GROUP;if(D!==ir.Lexer.SKIPPED){if((0,xe.isString)(D))return D;if((0,xe.isUndefined)(D))return!1;throw Error("non exhaustive match")}}),l=(0,xe.map)(i,function(v){var D=v.LONGER_ALT;if(D){var T=(0,xe.isArray)(D)?(0,xe.map)(D,function(H){return(0,xe.indexOf)(i,H)}):[(0,xe.indexOf)(i,D)];return T}}),c=(0,xe.map)(i,function(v){return v.PUSH_MODE}),u=(0,xe.map)(i,function(v){return(0,xe.has)(v,"POP_MODE")})});var g;t("Line Terminator Handling",function(){var v=Aj(e.lineTerminatorCharacters);g=(0,xe.map)(i,function(D){return!1}),e.positionTracking!=="onlyOffset"&&(g=(0,xe.map)(i,function(D){if((0,xe.has)(D,"LINE_BREAKS"))return D.LINE_BREAKS;if(oj(D,v)===!1)return(0,Zg.canMatchCharCode)(v,D.PATTERN)}))});var f,h,p,C;t("Misc Mapping #2",function(){f=(0,xe.map)(i,Mv),h=(0,xe.map)(s,sj),p=(0,xe.reduce)(i,function(v,D){var T=D.GROUP;return(0,xe.isString)(T)&&T!==ir.Lexer.SKIPPED&&(v[T]=[]),v},{}),C=(0,xe.map)(s,function(v,D){return{pattern:s[D],longerAlt:l[D],canLineTerminator:g[D],isCustom:f[D],short:h[D],group:a[D],push:c[D],pop:u[D],tokenTypeIdx:o[D],tokenType:i[D]}})});var y=!0,B=[];return e.safeMode||t("First Char Optimization",function(){B=(0,xe.reduce)(i,function(v,D,T){if(typeof D.PATTERN=="string"){var H=D.PATTERN.charCodeAt(0),j=Lv(H);Fv(v,j,C[T])}else if((0,xe.isArray)(D.START_CHARS_HINT)){var $;(0,xe.forEach)(D.START_CHARS_HINT,function(W){var _=typeof W=="string"?W.charCodeAt(0):W,A=Lv(_);$!==A&&($=A,Fv(v,A,C[T]))})}else if((0,xe.isRegExp)(D.PATTERN))if(D.PATTERN.unicode)y=!1,e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" Unable to analyze < "+D.PATTERN.toString()+` > pattern. -`)+` The regexp unicode flag is not currently supported by the regexp-to-ast library. - This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{var V=(0,Zg.getOptimizedStartCodesIndices)(D.PATTERN,e.ensureOptimizations);(0,xe.isEmpty)(V)&&(y=!1),(0,xe.forEach)(V,function(W){Fv(v,W,C[T])})}else e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" TokenType: <"+D.name+`> is using a custom token pattern without providing parameter. -`)+` This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),y=!1;return v},[])}),t("ArrayPacking",function(){B=(0,xe.packArray)(B)}),{emptyGroups:p,patternIdxToConfig:C,charCodeToPatternIdxToConfig:B,hasCustom:n,canBeOptimized:y}}Ve.analyzeTokenTypes=kEe;function REe(r,e){var t=[],i=VY(r);t=t.concat(i.errors);var n=XY(i.valid),s=n.valid;return t=t.concat(n.errors),t=t.concat(FEe(s)),t=t.concat(rj(s)),t=t.concat(ij(s,e)),t=t.concat(nj(s)),t}Ve.validatePatterns=REe;function FEe(r){var e=[],t=(0,xe.filter)(r,function(i){return(0,xe.isRegExp)(i[ko])});return e=e.concat(ZY(t)),e=e.concat($Y(t)),e=e.concat(ej(t)),e=e.concat(tj(t)),e=e.concat(_Y(t)),e}function VY(r){var e=(0,xe.filter)(r,function(n){return!(0,xe.has)(n,ko)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- missing static 'PATTERN' property",type:ir.LexerDefinitionErrorType.MISSING_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findMissingPatterns=VY;function XY(r){var e=(0,xe.filter)(r,function(n){var s=n[ko];return!(0,xe.isRegExp)(s)&&!(0,xe.isFunction)(s)&&!(0,xe.has)(s,"exec")&&!(0,xe.isString)(s)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:ir.LexerDefinitionErrorType.INVALID_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findInvalidPatterns=XY;var NEe=/[^\\][\$]/;function ZY(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitEndAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return NEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain end of input anchor '$' - See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.EOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findEndOfInputAnchor=ZY;function _Y(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n.test("")}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' must not match an empty string",type:ir.LexerDefinitionErrorType.EMPTY_MATCH_PATTERN,tokenTypes:[i]}});return t}Ve.findEmptyMatchRegExps=_Y;var TEe=/[^\\[][\^]|^\^/;function $Y(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitStartAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return TEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain start of input anchor '^' - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.SOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findStartOfInputAnchor=$Y;function ej(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n instanceof RegExp&&(n.multiline||n.global)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:ir.LexerDefinitionErrorType.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[i]}});return t}Ve.findUnsupportedFlags=ej;function tj(r){var e=[],t=(0,xe.map)(r,function(s){return(0,xe.reduce)(r,function(o,a){return s.PATTERN.source===a.PATTERN.source&&!(0,xe.contains)(e,a)&&a.PATTERN!==ir.Lexer.NA&&(e.push(a),o.push(a)),o},[])});t=(0,xe.compact)(t);var i=(0,xe.filter)(t,function(s){return s.length>1}),n=(0,xe.map)(i,function(s){var o=(0,xe.map)(s,function(l){return l.name}),a=(0,xe.first)(s).PATTERN;return{message:"The same RegExp pattern ->"+a+"<-"+("has been used in all of the following Token Types: "+o.join(", ")+" <-"),type:ir.LexerDefinitionErrorType.DUPLICATE_PATTERNS_FOUND,tokenTypes:s}});return n}Ve.findDuplicatePatterns=tj;function rj(r){var e=(0,xe.filter)(r,function(i){if(!(0,xe.has)(i,"GROUP"))return!1;var n=i.GROUP;return n!==ir.Lexer.SKIPPED&&n!==ir.Lexer.NA&&!(0,xe.isString)(n)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:ir.LexerDefinitionErrorType.INVALID_GROUP_TYPE_FOUND,tokenTypes:[i]}});return t}Ve.findInvalidGroupType=rj;function ij(r,e){var t=(0,xe.filter)(r,function(n){return n.PUSH_MODE!==void 0&&!(0,xe.contains)(e,n.PUSH_MODE)}),i=(0,xe.map)(t,function(n){var s="Token Type: ->"+n.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+n.PUSH_MODE+"<-which does not exist";return{message:s,type:ir.LexerDefinitionErrorType.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[n]}});return i}Ve.findModesThatDoNotExist=ij;function nj(r){var e=[],t=(0,xe.reduce)(r,function(i,n,s){var o=n.PATTERN;return o===ir.Lexer.NA||((0,xe.isString)(o)?i.push({str:o,idx:s,tokenType:n}):(0,xe.isRegExp)(o)&&MEe(o)&&i.push({str:o.source,idx:s,tokenType:n})),i},[]);return(0,xe.forEach)(r,function(i,n){(0,xe.forEach)(t,function(s){var o=s.str,a=s.idx,l=s.tokenType;if(n"+i.name+"<-")+`in the lexer's definition. -See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:c,type:ir.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenTypes:[i,l]})}})}),e}Ve.findUnreachablePatterns=nj;function LEe(r,e){if((0,xe.isRegExp)(e)){var t=e.exec(r);return t!==null&&t.index===0}else{if((0,xe.isFunction)(e))return e(r,0,[],{});if((0,xe.has)(e,"exec"))return e.exec(r,0,[],{});if(typeof e=="string")return e===r;throw Error("non exhaustive match")}}function MEe(r){var e=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return(0,xe.find)(e,function(t){return r.source.indexOf(t)!==-1})===void 0}function Nv(r){var e=r.ignoreCase?"i":"";return new RegExp("^(?:"+r.source+")",e)}Ve.addStartOfInput=Nv;function Tv(r){var e=r.ignoreCase?"iy":"y";return new RegExp(""+r.source,e)}Ve.addStickyFlag=Tv;function OEe(r,e,t){var i=[];return(0,xe.has)(r,Ve.DEFAULT_MODE)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.DEFAULT_MODE+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),(0,xe.has)(r,Ve.MODES)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.MODES+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,xe.has)(r,Ve.MODES)&&(0,xe.has)(r,Ve.DEFAULT_MODE)&&!(0,xe.has)(r.modes,r.defaultMode)&&i.push({message:"A MultiMode Lexer cannot be initialized with a "+Ve.DEFAULT_MODE+": <"+r.defaultMode+`>which does not exist -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,xe.has)(r,Ve.MODES)&&(0,xe.forEach)(r.modes,function(n,s){(0,xe.forEach)(n,function(o,a){(0,xe.isUndefined)(o)&&i.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:"+("<"+s+"> at index: <"+a+`> -`),type:ir.LexerDefinitionErrorType.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})})}),i}Ve.performRuntimeChecks=OEe;function KEe(r,e,t){var i=[],n=!1,s=(0,xe.compact)((0,xe.flatten)((0,xe.mapValues)(r.modes,function(l){return l}))),o=(0,xe.reject)(s,function(l){return l[ko]===ir.Lexer.NA}),a=Aj(t);return e&&(0,xe.forEach)(o,function(l){var c=oj(l,a);if(c!==!1){var u=aj(l,c),g={message:u,type:c.issue,tokenType:l};i.push(g)}else(0,xe.has)(l,"LINE_BREAKS")?l.LINE_BREAKS===!0&&(n=!0):(0,Zg.canMatchCharCode)(a,l.PATTERN)&&(n=!0)}),e&&!n&&i.push({message:`Warning: No LINE_BREAKS Found. - This Lexer has been defined to track line and column information, - But none of the Token Types can be identified as matching a line terminator. - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS - for details.`,type:ir.LexerDefinitionErrorType.NO_LINE_BREAKS_FLAGS}),i}Ve.performWarningRuntimeChecks=KEe;function UEe(r){var e={},t=(0,xe.keys)(r);return(0,xe.forEach)(t,function(i){var n=r[i];if((0,xe.isArray)(n))e[i]=[];else throw Error("non exhaustive match")}),e}Ve.cloneEmptyGroups=UEe;function Mv(r){var e=r.PATTERN;if((0,xe.isRegExp)(e))return!1;if((0,xe.isFunction)(e))return!0;if((0,xe.has)(e,"exec"))return!0;if((0,xe.isString)(e))return!1;throw Error("non exhaustive match")}Ve.isCustomPattern=Mv;function sj(r){return(0,xe.isString)(r)&&r.length===1?r.charCodeAt(0):!1}Ve.isShortPattern=sj;Ve.LineTerminatorOptimizedTester={test:function(r){for(var e=r.length,t=this.lastIndex;t Token Type -`)+(" Root cause: "+e.errMsg+`. -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(e.issue===ir.LexerDefinitionErrorType.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. -`+(" The problem is in the <"+r.name+`> Token Type -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}Ve.buildLineBreakIssueMessage=aj;function Aj(r){var e=(0,xe.map)(r,function(t){return(0,xe.isString)(t)&&t.length>0?t.charCodeAt(0):t});return e}function Fv(r,e,t){r[e]===void 0?r[e]=[t]:r[e].push(t)}Ve.minOptimizationVal=256;var ny=[];function Lv(r){return r255?255+~~(r/255):r}}});var _g=w(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.isTokenType=Nt.hasExtendingTokensTypesMapProperty=Nt.hasExtendingTokensTypesProperty=Nt.hasCategoriesProperty=Nt.hasShortKeyProperty=Nt.singleAssignCategoriesToksMap=Nt.assignCategoriesMapProp=Nt.assignCategoriesTokensProp=Nt.assignTokenDefaultProps=Nt.expandCategories=Nt.augmentTokenTypes=Nt.tokenIdxToClass=Nt.tokenShortNameIdx=Nt.tokenStructuredMatcherNoCategories=Nt.tokenStructuredMatcher=void 0;var Zr=Gt();function GEe(r,e){var t=r.tokenTypeIdx;return t===e.tokenTypeIdx?!0:e.isParent===!0&&e.categoryMatchesMap[t]===!0}Nt.tokenStructuredMatcher=GEe;function YEe(r,e){return r.tokenTypeIdx===e.tokenTypeIdx}Nt.tokenStructuredMatcherNoCategories=YEe;Nt.tokenShortNameIdx=1;Nt.tokenIdxToClass={};function jEe(r){var e=lj(r);cj(e),gj(e),uj(e),(0,Zr.forEach)(e,function(t){t.isParent=t.categoryMatches.length>0})}Nt.augmentTokenTypes=jEe;function lj(r){for(var e=(0,Zr.cloneArr)(r),t=r,i=!0;i;){t=(0,Zr.compact)((0,Zr.flatten)((0,Zr.map)(t,function(s){return s.CATEGORIES})));var n=(0,Zr.difference)(t,e);e=e.concat(n),(0,Zr.isEmpty)(n)?i=!1:t=n}return e}Nt.expandCategories=lj;function cj(r){(0,Zr.forEach)(r,function(e){fj(e)||(Nt.tokenIdxToClass[Nt.tokenShortNameIdx]=e,e.tokenTypeIdx=Nt.tokenShortNameIdx++),Ov(e)&&!(0,Zr.isArray)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),Ov(e)||(e.CATEGORIES=[]),hj(e)||(e.categoryMatches=[]),pj(e)||(e.categoryMatchesMap={})})}Nt.assignTokenDefaultProps=cj;function uj(r){(0,Zr.forEach)(r,function(e){e.categoryMatches=[],(0,Zr.forEach)(e.categoryMatchesMap,function(t,i){e.categoryMatches.push(Nt.tokenIdxToClass[i].tokenTypeIdx)})})}Nt.assignCategoriesTokensProp=uj;function gj(r){(0,Zr.forEach)(r,function(e){Kv([],e)})}Nt.assignCategoriesMapProp=gj;function Kv(r,e){(0,Zr.forEach)(r,function(t){e.categoryMatchesMap[t.tokenTypeIdx]=!0}),(0,Zr.forEach)(e.CATEGORIES,function(t){var i=r.concat(e);(0,Zr.contains)(i,t)||Kv(i,t)})}Nt.singleAssignCategoriesToksMap=Kv;function fj(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.hasShortKeyProperty=fj;function Ov(r){return(0,Zr.has)(r,"CATEGORIES")}Nt.hasCategoriesProperty=Ov;function hj(r){return(0,Zr.has)(r,"categoryMatches")}Nt.hasExtendingTokensTypesProperty=hj;function pj(r){return(0,Zr.has)(r,"categoryMatchesMap")}Nt.hasExtendingTokensTypesMapProperty=pj;function qEe(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.isTokenType=qEe});var Uv=w(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.defaultLexerErrorProvider=void 0;sy.defaultLexerErrorProvider={buildUnableToPopLexerModeMessage:function(r){return"Unable to pop Lexer Mode after encountering Token ->"+r.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(r,e,t,i,n){return"unexpected character: ->"+r.charAt(e)+"<- at offset: "+e+","+(" skipped "+t+" characters.")}}});var Bd=w(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.Lexer=Cc.LexerDefinitionErrorType=void 0;var _s=Rv(),nr=Gt(),JEe=_g(),WEe=Uv(),zEe=ty(),VEe;(function(r){r[r.MISSING_PATTERN=0]="MISSING_PATTERN",r[r.INVALID_PATTERN=1]="INVALID_PATTERN",r[r.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",r[r.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",r[r.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",r[r.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",r[r.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",r[r.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",r[r.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",r[r.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",r[r.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",r[r.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",r[r.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",r[r.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",r[r.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",r[r.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",r[r.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK"})(VEe=Cc.LexerDefinitionErrorType||(Cc.LexerDefinitionErrorType={}));var bd={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` -`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:WEe.defaultLexerErrorProvider,traceInitPerf:!1,skipValidations:!1};Object.freeze(bd);var XEe=function(){function r(e,t){var i=this;if(t===void 0&&(t=bd),this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},typeof t=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. -a boolean 2nd argument is no longer supported`);this.config=(0,nr.merge)(bd,t);var n=this.config.traceInitPerf;n===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof n=="number"&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",function(){var s,o=!0;i.TRACE_INIT("Lexer Config handling",function(){if(i.config.lineTerminatorsPattern===bd.lineTerminatorsPattern)i.config.lineTerminatorsPattern=_s.LineTerminatorOptimizedTester;else if(i.config.lineTerminatorCharacters===bd.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');i.trackStartLines=/full|onlyStart/i.test(i.config.positionTracking),i.trackEndLines=/full/i.test(i.config.positionTracking),(0,nr.isArray)(e)?(s={modes:{}},s.modes[_s.DEFAULT_MODE]=(0,nr.cloneArr)(e),s[_s.DEFAULT_MODE]=_s.DEFAULT_MODE):(o=!1,s=(0,nr.cloneObj)(e))}),i.config.skipValidations===!1&&(i.TRACE_INIT("performRuntimeChecks",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.performRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))}),i.TRACE_INIT("performWarningRuntimeChecks",function(){i.lexerDefinitionWarning=i.lexerDefinitionWarning.concat((0,_s.performWarningRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))})),s.modes=s.modes?s.modes:{},(0,nr.forEach)(s.modes,function(u,g){s.modes[g]=(0,nr.reject)(u,function(f){return(0,nr.isUndefined)(f)})});var a=(0,nr.keys)(s.modes);if((0,nr.forEach)(s.modes,function(u,g){i.TRACE_INIT("Mode: <"+g+"> processing",function(){if(i.modes.push(g),i.config.skipValidations===!1&&i.TRACE_INIT("validatePatterns",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.validatePatterns)(u,a))}),(0,nr.isEmpty)(i.lexerDefinitionErrors)){(0,JEe.augmentTokenTypes)(u);var f;i.TRACE_INIT("analyzeTokenTypes",function(){f=(0,_s.analyzeTokenTypes)(u,{lineTerminatorCharacters:i.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:i.TRACE_INIT.bind(i)})}),i.patternIdxToConfig[g]=f.patternIdxToConfig,i.charCodeToPatternIdxToConfig[g]=f.charCodeToPatternIdxToConfig,i.emptyGroups=(0,nr.merge)(i.emptyGroups,f.emptyGroups),i.hasCustom=f.hasCustom||i.hasCustom,i.canModeBeOptimized[g]=f.canBeOptimized}})}),i.defaultMode=s.defaultMode,!(0,nr.isEmpty)(i.lexerDefinitionErrors)&&!i.config.deferDefinitionErrorsHandling){var l=(0,nr.map)(i.lexerDefinitionErrors,function(u){return u.message}),c=l.join(`----------------------- -`);throw new Error(`Errors detected in definition of Lexer: -`+c)}(0,nr.forEach)(i.lexerDefinitionWarning,function(u){(0,nr.PRINT_WARNING)(u.message)}),i.TRACE_INIT("Choosing sub-methods implementations",function(){if(_s.SUPPORT_STICKY?(i.chopInput=nr.IDENTITY,i.match=i.matchWithTest):(i.updateLastIndex=nr.NOOP,i.match=i.matchWithExec),o&&(i.handleModes=nr.NOOP),i.trackStartLines===!1&&(i.computeNewColumn=nr.IDENTITY),i.trackEndLines===!1&&(i.updateTokenEndLineColumnLocation=nr.NOOP),/full/i.test(i.config.positionTracking))i.createTokenInstance=i.createFullToken;else if(/onlyStart/i.test(i.config.positionTracking))i.createTokenInstance=i.createStartOnlyToken;else if(/onlyOffset/i.test(i.config.positionTracking))i.createTokenInstance=i.createOffsetOnlyToken;else throw Error('Invalid config option: "'+i.config.positionTracking+'"');i.hasCustom?(i.addToken=i.addTokenUsingPush,i.handlePayload=i.handlePayloadWithCustom):(i.addToken=i.addTokenUsingMemberAccess,i.handlePayload=i.handlePayloadNoCustom)}),i.TRACE_INIT("Failed Optimization Warnings",function(){var u=(0,nr.reduce)(i.canModeBeOptimized,function(g,f,h){return f===!1&&g.push(h),g},[]);if(t.ensureOptimizations&&!(0,nr.isEmpty)(u))throw Error("Lexer Modes: < "+u.join(", ")+` > cannot be optimized. - Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. - Or inspect the console log for details on how to resolve these issues.`)}),i.TRACE_INIT("clearRegExpParserCache",function(){(0,zEe.clearRegExpParserCache)()}),i.TRACE_INIT("toFastProperties",function(){(0,nr.toFastProperties)(i)})})}return r.prototype.tokenize=function(e,t){if(t===void 0&&(t=this.defaultMode),!(0,nr.isEmpty)(this.lexerDefinitionErrors)){var i=(0,nr.map)(this.lexerDefinitionErrors,function(o){return o.message}),n=i.join(`----------------------- -`);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: -`+n)}var s=this.tokenizeInternal(e,t);return s},r.prototype.tokenizeInternal=function(e,t){var i=this,n,s,o,a,l,c,u,g,f,h,p,C,y,B,v,D,T=e,H=T.length,j=0,$=0,V=this.hasCustom?0:Math.floor(e.length/10),W=new Array(V),_=[],A=this.trackStartLines?1:void 0,Ae=this.trackStartLines?1:void 0,ge=(0,_s.cloneEmptyGroups)(this.emptyGroups),re=this.trackStartLines,M=this.config.lineTerminatorsPattern,F=0,ue=[],pe=[],ke=[],Fe=[];Object.freeze(Fe);var Ne=void 0;function oe(){return ue}function le(pr){var Ii=(0,_s.charCodeToOptimizedIndex)(pr),rs=pe[Ii];return rs===void 0?Fe:rs}var Be=function(pr){if(ke.length===1&&pr.tokenType.PUSH_MODE===void 0){var Ii=i.config.errorMessageProvider.buildUnableToPopLexerModeMessage(pr);_.push({offset:pr.startOffset,line:pr.startLine!==void 0?pr.startLine:void 0,column:pr.startColumn!==void 0?pr.startColumn:void 0,length:pr.image.length,message:Ii})}else{ke.pop();var rs=(0,nr.last)(ke);ue=i.patternIdxToConfig[rs],pe=i.charCodeToPatternIdxToConfig[rs],F=ue.length;var fa=i.canModeBeOptimized[rs]&&i.config.safeMode===!1;pe&&fa?Ne=le:Ne=oe}};function fe(pr){ke.push(pr),pe=this.charCodeToPatternIdxToConfig[pr],ue=this.patternIdxToConfig[pr],F=ue.length,F=ue.length;var Ii=this.canModeBeOptimized[pr]&&this.config.safeMode===!1;pe&&Ii?Ne=le:Ne=oe}fe.call(this,t);for(var ae;jc.length){c=a,u=g,ae=_e;break}}}break}}if(c!==null){if(f=c.length,h=ae.group,h!==void 0&&(p=ae.tokenTypeIdx,C=this.createTokenInstance(c,j,p,ae.tokenType,A,Ae,f),this.handlePayload(C,u),h===!1?$=this.addToken(W,$,C):ge[h].push(C)),e=this.chopInput(e,f),j=j+f,Ae=this.computeNewColumn(Ae,f),re===!0&&ae.canLineTerminator===!0){var It=0,Mr=void 0,ii=void 0;M.lastIndex=0;do Mr=M.test(c),Mr===!0&&(ii=M.lastIndex-1,It++);while(Mr===!0);It!==0&&(A=A+It,Ae=f-ii,this.updateTokenEndLineColumnLocation(C,h,ii,It,A,Ae,f))}this.handleModes(ae,Be,fe,C)}else{for(var gi=j,hr=A,fi=Ae,ni=!1;!ni&&j <"+e+">");var n=(0,nr.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",r.NA=/NOT_APPLICABLE/,r}();Cc.Lexer=XEe});var TA=w(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.tokenMatcher=Qi.createTokenInstance=Qi.EOF=Qi.createToken=Qi.hasTokenLabel=Qi.tokenName=Qi.tokenLabel=void 0;var $s=Gt(),ZEe=Bd(),Hv=_g();function _Ee(r){return bj(r)?r.LABEL:r.name}Qi.tokenLabel=_Ee;function $Ee(r){return r.name}Qi.tokenName=$Ee;function bj(r){return(0,$s.isString)(r.LABEL)&&r.LABEL!==""}Qi.hasTokenLabel=bj;var eIe="parent",dj="categories",Cj="label",mj="group",Ej="push_mode",Ij="pop_mode",yj="longer_alt",wj="line_breaks",Bj="start_chars_hint";function Qj(r){return tIe(r)}Qi.createToken=Qj;function tIe(r){var e=r.pattern,t={};if(t.name=r.name,(0,$s.isUndefined)(e)||(t.PATTERN=e),(0,$s.has)(r,eIe))throw`The parent property is no longer supported. -See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return(0,$s.has)(r,dj)&&(t.CATEGORIES=r[dj]),(0,Hv.augmentTokenTypes)([t]),(0,$s.has)(r,Cj)&&(t.LABEL=r[Cj]),(0,$s.has)(r,mj)&&(t.GROUP=r[mj]),(0,$s.has)(r,Ij)&&(t.POP_MODE=r[Ij]),(0,$s.has)(r,Ej)&&(t.PUSH_MODE=r[Ej]),(0,$s.has)(r,yj)&&(t.LONGER_ALT=r[yj]),(0,$s.has)(r,wj)&&(t.LINE_BREAKS=r[wj]),(0,$s.has)(r,Bj)&&(t.START_CHARS_HINT=r[Bj]),t}Qi.EOF=Qj({name:"EOF",pattern:ZEe.Lexer.NA});(0,Hv.augmentTokenTypes)([Qi.EOF]);function rIe(r,e,t,i,n,s,o,a){return{image:e,startOffset:t,endOffset:i,startLine:n,endLine:s,startColumn:o,endColumn:a,tokenTypeIdx:r.tokenTypeIdx,tokenType:r}}Qi.createTokenInstance=rIe;function iIe(r,e){return(0,Hv.tokenStructuredMatcher)(r,e)}Qi.tokenMatcher=iIe});var mn=w(zt=>{"use strict";var Pa=zt&&zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(zt,"__esModule",{value:!0});zt.serializeProduction=zt.serializeGrammar=zt.Terminal=zt.Alternation=zt.RepetitionWithSeparator=zt.Repetition=zt.RepetitionMandatoryWithSeparator=zt.RepetitionMandatory=zt.Option=zt.Alternative=zt.Rule=zt.NonTerminal=zt.AbstractProduction=void 0;var Ar=Gt(),nIe=TA(),Ro=function(){function r(e){this._definition=e}return Object.defineProperty(r.prototype,"definition",{get:function(){return this._definition},set:function(e){this._definition=e},enumerable:!1,configurable:!0}),r.prototype.accept=function(e){e.visit(this),(0,Ar.forEach)(this.definition,function(t){t.accept(e)})},r}();zt.AbstractProduction=Ro;var Sj=function(r){Pa(e,r);function e(t){var i=r.call(this,[])||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this.referencedRule!==void 0?this.referencedRule.definition:[]},set:function(t){},enumerable:!1,configurable:!0}),e.prototype.accept=function(t){t.visit(this)},e}(Ro);zt.NonTerminal=Sj;var vj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.orgText="",(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Rule=vj;var xj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.ignoreAmbiguities=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Alternative=xj;var Pj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Option=Pj;var Dj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatory=Dj;var kj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatoryWithSeparator=kj;var Rj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Repetition=Rj;var Fj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionWithSeparator=Fj;var Nj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,i.ignoreAmbiguities=!1,i.hasPredicates=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this._definition},set:function(t){this._definition=t},enumerable:!1,configurable:!0}),e}(Ro);zt.Alternation=Nj;var oy=function(){function r(e){this.idx=1,(0,Ar.assign)(this,(0,Ar.pick)(e,function(t){return t!==void 0}))}return r.prototype.accept=function(e){e.visit(this)},r}();zt.Terminal=oy;function sIe(r){return(0,Ar.map)(r,Qd)}zt.serializeGrammar=sIe;function Qd(r){function e(s){return(0,Ar.map)(s,Qd)}if(r instanceof Sj){var t={type:"NonTerminal",name:r.nonTerminalName,idx:r.idx};return(0,Ar.isString)(r.label)&&(t.label=r.label),t}else{if(r instanceof xj)return{type:"Alternative",definition:e(r.definition)};if(r instanceof Pj)return{type:"Option",idx:r.idx,definition:e(r.definition)};if(r instanceof Dj)return{type:"RepetitionMandatory",idx:r.idx,definition:e(r.definition)};if(r instanceof kj)return{type:"RepetitionMandatoryWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Fj)return{type:"RepetitionWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Rj)return{type:"Repetition",idx:r.idx,definition:e(r.definition)};if(r instanceof Nj)return{type:"Alternation",idx:r.idx,definition:e(r.definition)};if(r instanceof oy){var i={type:"Terminal",name:r.terminalType.name,label:(0,nIe.tokenLabel)(r.terminalType),idx:r.idx};(0,Ar.isString)(r.label)&&(i.terminalLabel=r.label);var n=r.terminalType.PATTERN;return r.terminalType.PATTERN&&(i.pattern=(0,Ar.isRegExp)(n)?n.source:n),i}else{if(r instanceof vj)return{type:"Rule",name:r.name,orgText:r.orgText,definition:e(r.definition)};throw Error("non exhaustive match")}}}zt.serializeProduction=Qd});var Ay=w(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.RestWalker=void 0;var Gv=Gt(),En=mn(),oIe=function(){function r(){}return r.prototype.walk=function(e,t){var i=this;t===void 0&&(t=[]),(0,Gv.forEach)(e.definition,function(n,s){var o=(0,Gv.drop)(e.definition,s+1);if(n instanceof En.NonTerminal)i.walkProdRef(n,o,t);else if(n instanceof En.Terminal)i.walkTerminal(n,o,t);else if(n instanceof En.Alternative)i.walkFlat(n,o,t);else if(n instanceof En.Option)i.walkOption(n,o,t);else if(n instanceof En.RepetitionMandatory)i.walkAtLeastOne(n,o,t);else if(n instanceof En.RepetitionMandatoryWithSeparator)i.walkAtLeastOneSep(n,o,t);else if(n instanceof En.RepetitionWithSeparator)i.walkManySep(n,o,t);else if(n instanceof En.Repetition)i.walkMany(n,o,t);else if(n instanceof En.Alternation)i.walkOr(n,o,t);else throw Error("non exhaustive match")})},r.prototype.walkTerminal=function(e,t,i){},r.prototype.walkProdRef=function(e,t,i){},r.prototype.walkFlat=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkOption=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkAtLeastOne=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkAtLeastOneSep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkMany=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkManySep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkOr=function(e,t,i){var n=this,s=t.concat(i);(0,Gv.forEach)(e.definition,function(o){var a=new En.Alternative({definition:[o]});n.walk(a,s)})},r}();ay.RestWalker=oIe;function Tj(r,e,t){var i=[new En.Option({definition:[new En.Terminal({terminalType:r.separator})].concat(r.definition)})],n=i.concat(e,t);return n}});var $g=w(ly=>{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.GAstVisitor=void 0;var Fo=mn(),aIe=function(){function r(){}return r.prototype.visit=function(e){var t=e;switch(t.constructor){case Fo.NonTerminal:return this.visitNonTerminal(t);case Fo.Alternative:return this.visitAlternative(t);case Fo.Option:return this.visitOption(t);case Fo.RepetitionMandatory:return this.visitRepetitionMandatory(t);case Fo.RepetitionMandatoryWithSeparator:return this.visitRepetitionMandatoryWithSeparator(t);case Fo.RepetitionWithSeparator:return this.visitRepetitionWithSeparator(t);case Fo.Repetition:return this.visitRepetition(t);case Fo.Alternation:return this.visitAlternation(t);case Fo.Terminal:return this.visitTerminal(t);case Fo.Rule:return this.visitRule(t);default:throw Error("non exhaustive match")}},r.prototype.visitNonTerminal=function(e){},r.prototype.visitAlternative=function(e){},r.prototype.visitOption=function(e){},r.prototype.visitRepetition=function(e){},r.prototype.visitRepetitionMandatory=function(e){},r.prototype.visitRepetitionMandatoryWithSeparator=function(e){},r.prototype.visitRepetitionWithSeparator=function(e){},r.prototype.visitAlternation=function(e){},r.prototype.visitTerminal=function(e){},r.prototype.visitRule=function(e){},r}();ly.GAstVisitor=aIe});var vd=w(Oi=>{"use strict";var AIe=Oi&&Oi.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Oi,"__esModule",{value:!0});Oi.collectMethods=Oi.DslMethodsCollectorVisitor=Oi.getProductionDslName=Oi.isBranchingProd=Oi.isOptionalProd=Oi.isSequenceProd=void 0;var Sd=Gt(),br=mn(),lIe=$g();function cIe(r){return r instanceof br.Alternative||r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionMandatory||r instanceof br.RepetitionMandatoryWithSeparator||r instanceof br.RepetitionWithSeparator||r instanceof br.Terminal||r instanceof br.Rule}Oi.isSequenceProd=cIe;function Yv(r,e){e===void 0&&(e=[]);var t=r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionWithSeparator;return t?!0:r instanceof br.Alternation?(0,Sd.some)(r.definition,function(i){return Yv(i,e)}):r instanceof br.NonTerminal&&(0,Sd.contains)(e,r)?!1:r instanceof br.AbstractProduction?(r instanceof br.NonTerminal&&e.push(r),(0,Sd.every)(r.definition,function(i){return Yv(i,e)})):!1}Oi.isOptionalProd=Yv;function uIe(r){return r instanceof br.Alternation}Oi.isBranchingProd=uIe;function gIe(r){if(r instanceof br.NonTerminal)return"SUBRULE";if(r instanceof br.Option)return"OPTION";if(r instanceof br.Alternation)return"OR";if(r instanceof br.RepetitionMandatory)return"AT_LEAST_ONE";if(r instanceof br.RepetitionMandatoryWithSeparator)return"AT_LEAST_ONE_SEP";if(r instanceof br.RepetitionWithSeparator)return"MANY_SEP";if(r instanceof br.Repetition)return"MANY";if(r instanceof br.Terminal)return"CONSUME";throw Error("non exhaustive match")}Oi.getProductionDslName=gIe;var Lj=function(r){AIe(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.separator="-",t.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},t}return e.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},e.prototype.visitTerminal=function(t){var i=t.terminalType.name+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitNonTerminal=function(t){var i=t.nonTerminalName+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitOption=function(t){this.dslMethods.option.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.dslMethods.repetitionWithSeparator.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.dslMethods.repetitionMandatory.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.dslMethods.repetitionMandatoryWithSeparator.push(t)},e.prototype.visitRepetition=function(t){this.dslMethods.repetition.push(t)},e.prototype.visitAlternation=function(t){this.dslMethods.alternation.push(t)},e}(lIe.GAstVisitor);Oi.DslMethodsCollectorVisitor=Lj;var cy=new Lj;function fIe(r){cy.reset(),r.accept(cy);var e=cy.dslMethods;return cy.reset(),e}Oi.collectMethods=fIe});var qv=w(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.firstForTerminal=No.firstForBranching=No.firstForSequence=No.first=void 0;var uy=Gt(),Mj=mn(),jv=vd();function gy(r){if(r instanceof Mj.NonTerminal)return gy(r.referencedRule);if(r instanceof Mj.Terminal)return Uj(r);if((0,jv.isSequenceProd)(r))return Oj(r);if((0,jv.isBranchingProd)(r))return Kj(r);throw Error("non exhaustive match")}No.first=gy;function Oj(r){for(var e=[],t=r.definition,i=0,n=t.length>i,s,o=!0;n&&o;)s=t[i],o=(0,jv.isOptionalProd)(s),e=e.concat(gy(s)),i=i+1,n=t.length>i;return(0,uy.uniq)(e)}No.firstForSequence=Oj;function Kj(r){var e=(0,uy.map)(r.definition,function(t){return gy(t)});return(0,uy.uniq)((0,uy.flatten)(e))}No.firstForBranching=Kj;function Uj(r){return[r.terminalType]}No.firstForTerminal=Uj});var Jv=w(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.IN=void 0;fy.IN="_~IN~_"});var qj=w(fs=>{"use strict";var hIe=fs&&fs.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(fs,"__esModule",{value:!0});fs.buildInProdFollowPrefix=fs.buildBetweenProdsFollowPrefix=fs.computeAllProdsFollows=fs.ResyncFollowsWalker=void 0;var pIe=Ay(),dIe=qv(),Hj=Gt(),Gj=Jv(),CIe=mn(),Yj=function(r){hIe(e,r);function e(t){var i=r.call(this)||this;return i.topProd=t,i.follows={},i}return e.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},e.prototype.walkTerminal=function(t,i,n){},e.prototype.walkProdRef=function(t,i,n){var s=jj(t.referencedRule,t.idx)+this.topProd.name,o=i.concat(n),a=new CIe.Alternative({definition:o}),l=(0,dIe.first)(a);this.follows[s]=l},e}(pIe.RestWalker);fs.ResyncFollowsWalker=Yj;function mIe(r){var e={};return(0,Hj.forEach)(r,function(t){var i=new Yj(t).startWalking();(0,Hj.assign)(e,i)}),e}fs.computeAllProdsFollows=mIe;function jj(r,e){return r.name+e+Gj.IN}fs.buildBetweenProdsFollowPrefix=jj;function EIe(r){var e=r.terminalType.name;return e+r.idx+Gj.IN}fs.buildInProdFollowPrefix=EIe});var xd=w(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.defaultGrammarValidatorErrorProvider=Da.defaultGrammarResolverErrorProvider=Da.defaultParserErrorProvider=void 0;var ef=TA(),IIe=Gt(),eo=Gt(),Wv=mn(),Jj=vd();Da.defaultParserErrorProvider={buildMismatchTokenMessage:function(r){var e=r.expected,t=r.actual,i=r.previous,n=r.ruleName,s=(0,ef.hasTokenLabel)(e),o=s?"--> "+(0,ef.tokenLabel)(e)+" <--":"token of type --> "+e.name+" <--",a="Expecting "+o+" but found --> '"+t.image+"' <--";return a},buildNotAllInputParsedMessage:function(r){var e=r.firstRedundant,t=r.ruleName;return"Redundant input, expecting EOF but found: "+e.image},buildNoViableAltMessage:function(r){var e=r.expectedPathsPerAlt,t=r.actual,i=r.previous,n=r.customUserDescription,s=r.ruleName,o="Expecting: ",a=(0,eo.first)(t).image,l=` -but found: '`+a+"'";if(n)return o+n+l;var c=(0,eo.reduce)(e,function(h,p){return h.concat(p)},[]),u=(0,eo.map)(c,function(h){return"["+(0,eo.map)(h,function(p){return(0,ef.tokenLabel)(p)}).join(", ")+"]"}),g=(0,eo.map)(u,function(h,p){return" "+(p+1)+". "+h}),f=`one of these possible Token sequences: -`+g.join(` -`);return o+f+l},buildEarlyExitMessage:function(r){var e=r.expectedIterationPaths,t=r.actual,i=r.customUserDescription,n=r.ruleName,s="Expecting: ",o=(0,eo.first)(t).image,a=` -but found: '`+o+"'";if(i)return s+i+a;var l=(0,eo.map)(e,function(u){return"["+(0,eo.map)(u,function(g){return(0,ef.tokenLabel)(g)}).join(",")+"]"}),c=`expecting at least one iteration which starts with one of these possible Token sequences:: - `+("<"+l.join(" ,")+">");return s+c+a}};Object.freeze(Da.defaultParserErrorProvider);Da.defaultGrammarResolverErrorProvider={buildRuleNotFoundError:function(r,e){var t="Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<- -inside top level rule: ->`+r.name+"<-";return t}};Da.defaultGrammarValidatorErrorProvider={buildDuplicateFoundError:function(r,e){function t(u){return u instanceof Wv.Terminal?u.terminalType.name:u instanceof Wv.NonTerminal?u.nonTerminalName:""}var i=r.name,n=(0,eo.first)(e),s=n.idx,o=(0,Jj.getProductionDslName)(n),a=t(n),l=s>0,c="->"+o+(l?s:"")+"<- "+(a?"with argument: ->"+a+"<-":"")+` - appears more than once (`+e.length+" times) in the top level rule: ->"+i+`<-. - For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES - `;return c=c.replace(/[ \t]+/g," "),c=c.replace(/\s\s+/g,` -`),c},buildNamespaceConflictError:function(r){var e=`Namespace conflict found in grammar. -`+("The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+r.name+`>. -`)+`To resolve this make sure each Terminal and Non-Terminal names are unique -This is easy to accomplish by using the convention that Terminal names start with an uppercase letter -and Non-Terminal names start with a lower case letter.`;return e},buildAlternationPrefixAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous alternatives: <"+r.ambiguityIndices.join(" ,")+`> due to common lookahead prefix -`+("in inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`)+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX -For Further details.`;return i},buildAlternationAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous Alternatives Detected: <"+r.ambiguityIndices.join(" ,")+"> in "+(" inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`);return i=i+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES -For Further details.`,i},buildEmptyRepetitionError:function(r){var e=(0,Jj.getProductionDslName)(r.repetition);r.repetition.idx!==0&&(e+=r.repetition.idx);var t="The repetition <"+e+"> within Rule <"+r.topLevelRule.name+`> can never consume any tokens. -This could lead to an infinite loop.`;return t},buildTokenNameError:function(r){return"deprecated"},buildEmptyAlternationError:function(r){var e="Ambiguous empty alternative: <"+(r.emptyChoiceIdx+1)+">"+(" in inside <"+r.topLevelRule.name+`> Rule. -`)+"Only the last alternative may be an empty alternative.";return e},buildTooManyAlternativesError:function(r){var e=`An Alternation cannot have more than 256 alternatives: -`+(" inside <"+r.topLevelRule.name+`> Rule. - has `+(r.alternation.definition.length+1)+" alternatives.");return e},buildLeftRecursionError:function(r){var e=r.topLevelRule.name,t=IIe.map(r.leftRecursionPath,function(s){return s.name}),i=e+" --> "+t.concat([e]).join(" --> "),n=`Left Recursion found in grammar. -`+("rule: <"+e+`> can be invoked from itself (directly or indirectly) -`)+(`without consuming any Tokens. The grammar path that causes this is: - `+i+` -`)+` To fix this refactor your grammar to remove the left recursion. -see: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.`;return n},buildInvalidRuleNameError:function(r){return"deprecated"},buildDuplicateRuleNameError:function(r){var e;r.topLevelRule instanceof Wv.Rule?e=r.topLevelRule.name:e=r.topLevelRule;var t="Duplicate definition, rule: ->"+e+"<- is already defined in the grammar: ->"+r.grammarName+"<-";return t}}});var Vj=w(LA=>{"use strict";var yIe=LA&&LA.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(LA,"__esModule",{value:!0});LA.GastRefResolverVisitor=LA.resolveGrammar=void 0;var wIe=jn(),Wj=Gt(),BIe=$g();function bIe(r,e){var t=new zj(r,e);return t.resolveRefs(),t.errors}LA.resolveGrammar=bIe;var zj=function(r){yIe(e,r);function e(t,i){var n=r.call(this)||this;return n.nameToTopRule=t,n.errMsgProvider=i,n.errors=[],n}return e.prototype.resolveRefs=function(){var t=this;(0,Wj.forEach)((0,Wj.values)(this.nameToTopRule),function(i){t.currTopLevel=i,i.accept(t)})},e.prototype.visitNonTerminal=function(t){var i=this.nameToTopRule[t.nonTerminalName];if(i)t.referencedRule=i;else{var n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,t);this.errors.push({message:n,type:wIe.ParserDefinitionErrorType.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:t.nonTerminalName})}},e}(BIe.GAstVisitor);LA.GastRefResolverVisitor=zj});var Dd=w(Nr=>{"use strict";var mc=Nr&&Nr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Nr,"__esModule",{value:!0});Nr.nextPossibleTokensAfter=Nr.possiblePathsFrom=Nr.NextTerminalAfterAtLeastOneSepWalker=Nr.NextTerminalAfterAtLeastOneWalker=Nr.NextTerminalAfterManySepWalker=Nr.NextTerminalAfterManyWalker=Nr.AbstractNextTerminalAfterProductionWalker=Nr.NextAfterTokenWalker=Nr.AbstractNextPossibleTokensWalker=void 0;var Xj=Ay(),Kt=Gt(),QIe=qv(),kt=mn(),Zj=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topProd=t,n.path=i,n.possibleTokTypes=[],n.nextProductionName="",n.nextProductionOccurrence=0,n.found=!1,n.isAtEndOfPath=!1,n}return e.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=(0,Kt.cloneArr)(this.path.ruleStack).reverse(),this.occurrenceStack=(0,Kt.cloneArr)(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},e.prototype.walk=function(t,i){i===void 0&&(i=[]),this.found||r.prototype.walk.call(this,t,i)},e.prototype.walkProdRef=function(t,i,n){if(t.referencedRule.name===this.nextProductionName&&t.idx===this.nextProductionOccurrence){var s=i.concat(n);this.updateExpectedNext(),this.walk(t.referencedRule,s)}},e.prototype.updateExpectedNext=function(){(0,Kt.isEmpty)(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},e}(Xj.RestWalker);Nr.AbstractNextPossibleTokensWalker=Zj;var SIe=function(r){mc(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.path=i,n.nextTerminalName="",n.nextTerminalOccurrence=0,n.nextTerminalName=n.path.lastTok.name,n.nextTerminalOccurrence=n.path.lastTokOccurrence,n}return e.prototype.walkTerminal=function(t,i,n){if(this.isAtEndOfPath&&t.terminalType.name===this.nextTerminalName&&t.idx===this.nextTerminalOccurrence&&!this.found){var s=i.concat(n),o=new kt.Alternative({definition:s});this.possibleTokTypes=(0,QIe.first)(o),this.found=!0}},e}(Zj);Nr.NextAfterTokenWalker=SIe;var Pd=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topRule=t,n.occurrence=i,n.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},n}return e.prototype.startWalking=function(){return this.walk(this.topRule),this.result},e}(Xj.RestWalker);Nr.AbstractNextTerminalAfterProductionWalker=Pd;var vIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkMany=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkMany.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManyWalker=vIe;var xIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkManySep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkManySep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManySepWalker=xIe;var PIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOne=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOne.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneWalker=PIe;var DIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOneSep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOneSep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneSepWalker=DIe;function _j(r,e,t){t===void 0&&(t=[]),t=(0,Kt.cloneArr)(t);var i=[],n=0;function s(c){return c.concat((0,Kt.drop)(r,n+1))}function o(c){var u=_j(s(c),e,t);return i.concat(u)}for(;t.length=0;ge--){var re=B.definition[ge],M={idx:p,def:re.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y};g.push(M),g.push(o)}else if(B instanceof kt.Alternative)g.push({idx:p,def:B.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y});else if(B instanceof kt.Rule)g.push(RIe(B,p,C,y));else throw Error("non exhaustive match")}}return u}Nr.nextPossibleTokensAfter=kIe;function RIe(r,e,t,i){var n=(0,Kt.cloneArr)(t);n.push(r.name);var s=(0,Kt.cloneArr)(i);return s.push(1),{idx:e,def:r.definition,ruleStack:n,occurrenceStack:s}}});var kd=w(Zt=>{"use strict";var tq=Zt&&Zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Zt,"__esModule",{value:!0});Zt.areTokenCategoriesNotUsed=Zt.isStrictPrefixOfPath=Zt.containsPath=Zt.getLookaheadPathsForOptionalProd=Zt.getLookaheadPathsForOr=Zt.lookAheadSequenceFromAlternatives=Zt.buildSingleAlternativeLookaheadFunction=Zt.buildAlternativesLookAheadFunc=Zt.buildLookaheadFuncForOptionalProd=Zt.buildLookaheadFuncForOr=Zt.getProdType=Zt.PROD_TYPE=void 0;var sr=Gt(),$j=Dd(),FIe=Ay(),hy=_g(),MA=mn(),NIe=$g(),oi;(function(r){r[r.OPTION=0]="OPTION",r[r.REPETITION=1]="REPETITION",r[r.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",r[r.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",r[r.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",r[r.ALTERNATION=5]="ALTERNATION"})(oi=Zt.PROD_TYPE||(Zt.PROD_TYPE={}));function TIe(r){if(r instanceof MA.Option)return oi.OPTION;if(r instanceof MA.Repetition)return oi.REPETITION;if(r instanceof MA.RepetitionMandatory)return oi.REPETITION_MANDATORY;if(r instanceof MA.RepetitionMandatoryWithSeparator)return oi.REPETITION_MANDATORY_WITH_SEPARATOR;if(r instanceof MA.RepetitionWithSeparator)return oi.REPETITION_WITH_SEPARATOR;if(r instanceof MA.Alternation)return oi.ALTERNATION;throw Error("non exhaustive match")}Zt.getProdType=TIe;function LIe(r,e,t,i,n,s){var o=iq(r,e,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o,i,a,n)}Zt.buildLookaheadFuncForOr=LIe;function MIe(r,e,t,i,n,s){var o=nq(r,e,n,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o[0],a,i)}Zt.buildLookaheadFuncForOptionalProd=MIe;function OIe(r,e,t,i){var n=r.length,s=(0,sr.every)(r,function(l){return(0,sr.every)(l,function(c){return c.length===1})});if(e)return function(l){for(var c=(0,sr.map)(l,function(D){return D.GATE}),u=0;u{"use strict";var Zv=Vt&&Vt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Vt,"__esModule",{value:!0});Vt.checkPrefixAlternativesAmbiguities=Vt.validateSomeNonEmptyLookaheadPath=Vt.validateTooManyAlts=Vt.RepetionCollector=Vt.validateAmbiguousAlternationAlternatives=Vt.validateEmptyOrAlternative=Vt.getFirstNoneTerminal=Vt.validateNoLeftRecursion=Vt.validateRuleIsOverridden=Vt.validateRuleDoesNotAlreadyExist=Vt.OccurrenceValidationCollector=Vt.identifyProductionForDuplicates=Vt.validateGrammar=void 0;var er=Gt(),Qr=Gt(),To=jn(),_v=vd(),tf=kd(),YIe=Dd(),to=mn(),$v=$g();function jIe(r,e,t,i,n){var s=er.map(r,function(h){return qIe(h,i)}),o=er.map(r,function(h){return ex(h,h,i)}),a=[],l=[],c=[];(0,Qr.every)(o,Qr.isEmpty)&&(a=(0,Qr.map)(r,function(h){return cq(h,i)}),l=(0,Qr.map)(r,function(h){return uq(h,e,i)}),c=hq(r,e,i));var u=zIe(r,t,i),g=(0,Qr.map)(r,function(h){return fq(h,i)}),f=(0,Qr.map)(r,function(h){return lq(h,r,n,i)});return er.flatten(s.concat(c,o,a,l,u,g,f))}Vt.validateGrammar=jIe;function qIe(r,e){var t=new Aq;r.accept(t);var i=t.allProductions,n=er.groupBy(i,oq),s=er.pick(n,function(a){return a.length>1}),o=er.map(er.values(s),function(a){var l=er.first(a),c=e.buildDuplicateFoundError(r,a),u=(0,_v.getProductionDslName)(l),g={message:c,type:To.ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,ruleName:r.name,dslName:u,occurrence:l.idx},f=aq(l);return f&&(g.parameter=f),g});return o}function oq(r){return(0,_v.getProductionDslName)(r)+"_#_"+r.idx+"_#_"+aq(r)}Vt.identifyProductionForDuplicates=oq;function aq(r){return r instanceof to.Terminal?r.terminalType.name:r instanceof to.NonTerminal?r.nonTerminalName:""}var Aq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitNonTerminal=function(t){this.allProductions.push(t)},e.prototype.visitOption=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e.prototype.visitAlternation=function(t){this.allProductions.push(t)},e.prototype.visitTerminal=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.OccurrenceValidationCollector=Aq;function lq(r,e,t,i){var n=[],s=(0,Qr.reduce)(e,function(a,l){return l.name===r.name?a+1:a},0);if(s>1){var o=i.buildDuplicateRuleNameError({topLevelRule:r,grammarName:t});n.push({message:o,type:To.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:r.name})}return n}Vt.validateRuleDoesNotAlreadyExist=lq;function JIe(r,e,t){var i=[],n;return er.contains(e,r)||(n="Invalid rule override, rule: ->"+r+"<- cannot be overridden in the grammar: ->"+t+"<-as it is not defined in any of the super grammars ",i.push({message:n,type:To.ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,ruleName:r})),i}Vt.validateRuleIsOverridden=JIe;function ex(r,e,t,i){i===void 0&&(i=[]);var n=[],s=Rd(e.definition);if(er.isEmpty(s))return[];var o=r.name,a=er.contains(s,r);a&&n.push({message:t.buildLeftRecursionError({topLevelRule:r,leftRecursionPath:i}),type:To.ParserDefinitionErrorType.LEFT_RECURSION,ruleName:o});var l=er.difference(s,i.concat([r])),c=er.map(l,function(u){var g=er.cloneArr(i);return g.push(u),ex(r,u,t,g)});return n.concat(er.flatten(c))}Vt.validateNoLeftRecursion=ex;function Rd(r){var e=[];if(er.isEmpty(r))return e;var t=er.first(r);if(t instanceof to.NonTerminal)e.push(t.referencedRule);else if(t instanceof to.Alternative||t instanceof to.Option||t instanceof to.RepetitionMandatory||t instanceof to.RepetitionMandatoryWithSeparator||t instanceof to.RepetitionWithSeparator||t instanceof to.Repetition)e=e.concat(Rd(t.definition));else if(t instanceof to.Alternation)e=er.flatten(er.map(t.definition,function(o){return Rd(o.definition)}));else if(!(t instanceof to.Terminal))throw Error("non exhaustive match");var i=(0,_v.isOptionalProd)(t),n=r.length>1;if(i&&n){var s=er.drop(r);return e.concat(Rd(s))}else return e}Vt.getFirstNoneTerminal=Rd;var tx=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.alternations=[],t}return e.prototype.visitAlternation=function(t){this.alternations.push(t)},e}($v.GAstVisitor);function cq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){var a=er.dropRight(o.definition),l=er.map(a,function(c,u){var g=(0,YIe.nextPossibleTokensAfter)([c],[],null,1);return er.isEmpty(g)?{message:e.buildEmptyAlternationError({topLevelRule:r,alternation:o,emptyChoiceIdx:u}),type:To.ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,ruleName:r.name,occurrence:o.idx,alternative:u+1}:null});return s.concat(er.compact(l))},[]);return n}Vt.validateEmptyOrAlternative=cq;function uq(r,e,t){var i=new tx;r.accept(i);var n=i.alternations;n=(0,Qr.reject)(n,function(o){return o.ignoreAmbiguities===!0});var s=er.reduce(n,function(o,a){var l=a.idx,c=a.maxLookahead||e,u=(0,tf.getLookaheadPathsForOr)(l,r,c,a),g=WIe(u,a,r,t),f=pq(u,a,r,t);return o.concat(g,f)},[]);return s}Vt.validateAmbiguousAlternationAlternatives=uq;var gq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.RepetionCollector=gq;function fq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){return o.definition.length>255&&s.push({message:e.buildTooManyAlternativesError({topLevelRule:r,alternation:o}),type:To.ParserDefinitionErrorType.TOO_MANY_ALTS,ruleName:r.name,occurrence:o.idx}),s},[]);return n}Vt.validateTooManyAlts=fq;function hq(r,e,t){var i=[];return(0,Qr.forEach)(r,function(n){var s=new gq;n.accept(s);var o=s.allProductions;(0,Qr.forEach)(o,function(a){var l=(0,tf.getProdType)(a),c=a.maxLookahead||e,u=a.idx,g=(0,tf.getLookaheadPathsForOptionalProd)(u,n,l,c),f=g[0];if((0,Qr.isEmpty)((0,Qr.flatten)(f))){var h=t.buildEmptyRepetitionError({topLevelRule:n,repetition:a});i.push({message:h,type:To.ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,ruleName:n.name})}})}),i}Vt.validateSomeNonEmptyLookaheadPath=hq;function WIe(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(a,l,c){return e.definition[c].ignoreAmbiguities===!0||(0,Qr.forEach)(l,function(u){var g=[c];(0,Qr.forEach)(r,function(f,h){c!==h&&(0,tf.containsPath)(f,u)&&e.definition[h].ignoreAmbiguities!==!0&&g.push(h)}),g.length>1&&!(0,tf.containsPath)(n,u)&&(n.push(u),a.push({alts:g,path:u}))}),a},[]),o=er.map(s,function(a){var l=(0,Qr.map)(a.alts,function(u){return u+1}),c=i.buildAlternationAmbiguityError({topLevelRule:t,alternation:e,ambiguityIndices:l,prefixPath:a.path});return{message:c,type:To.ParserDefinitionErrorType.AMBIGUOUS_ALTS,ruleName:t.name,occurrence:e.idx,alternatives:[a.alts]}});return o}function pq(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(o,a,l){var c=(0,Qr.map)(a,function(u){return{idx:l,path:u}});return o.concat(c)},[]);return(0,Qr.forEach)(s,function(o){var a=e.definition[o.idx];if(a.ignoreAmbiguities!==!0){var l=o.idx,c=o.path,u=(0,Qr.findAll)(s,function(f){return e.definition[f.idx].ignoreAmbiguities!==!0&&f.idx{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.validateGrammar=rf.resolveGrammar=void 0;var ix=Gt(),VIe=Vj(),XIe=rx(),dq=xd();function ZIe(r){r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarResolverErrorProvider});var e={};return(0,ix.forEach)(r.rules,function(t){e[t.name]=t}),(0,VIe.resolveGrammar)(e,r.errMsgProvider)}rf.resolveGrammar=ZIe;function _Ie(r){return r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarValidatorErrorProvider}),(0,XIe.validateGrammar)(r.rules,r.maxLookahead,r.tokenTypes,r.errMsgProvider,r.grammarName)}rf.validateGrammar=_Ie});var nf=w(In=>{"use strict";var Fd=In&&In.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(In,"__esModule",{value:!0});In.EarlyExitException=In.NotAllInputParsedException=In.NoViableAltException=In.MismatchedTokenException=In.isRecognitionException=void 0;var $Ie=Gt(),mq="MismatchedTokenException",Eq="NoViableAltException",Iq="EarlyExitException",yq="NotAllInputParsedException",wq=[mq,Eq,Iq,yq];Object.freeze(wq);function eye(r){return(0,$Ie.contains)(wq,r.name)}In.isRecognitionException=eye;var py=function(r){Fd(e,r);function e(t,i){var n=this.constructor,s=r.call(this,t)||this;return s.token=i,s.resyncedTokens=[],Object.setPrototypeOf(s,n.prototype),Error.captureStackTrace&&Error.captureStackTrace(s,s.constructor),s}return e}(Error),tye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=mq,s}return e}(py);In.MismatchedTokenException=tye;var rye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Eq,s}return e}(py);In.NoViableAltException=rye;var iye=function(r){Fd(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.name=yq,n}return e}(py);In.NotAllInputParsedException=iye;var nye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Iq,s}return e}(py);In.EarlyExitException=nye});var sx=w(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.attemptInRepetitionRecovery=Ki.Recoverable=Ki.InRuleRecoveryException=Ki.IN_RULE_RECOVERY_EXCEPTION=Ki.EOF_FOLLOW_KEY=void 0;var dy=TA(),hs=Gt(),sye=nf(),oye=Jv(),aye=jn();Ki.EOF_FOLLOW_KEY={};Ki.IN_RULE_RECOVERY_EXCEPTION="InRuleRecoveryException";function nx(r){this.name=Ki.IN_RULE_RECOVERY_EXCEPTION,this.message=r}Ki.InRuleRecoveryException=nx;nx.prototype=Error.prototype;var Aye=function(){function r(){}return r.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,hs.has)(e,"recoveryEnabled")?e.recoveryEnabled:aye.DEFAULT_PARSER_CONFIG.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=Bq)},r.prototype.getTokenToInsert=function(e){var t=(0,dy.createTokenInstance)(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t},r.prototype.canTokenTypeBeInsertedInRecovery=function(e){return!0},r.prototype.tryInRepetitionRecovery=function(e,t,i,n){for(var s=this,o=this.findReSyncTokenType(),a=this.exportLexerState(),l=[],c=!1,u=this.LA(1),g=this.LA(1),f=function(){var h=s.LA(0),p=s.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:u,previous:h,ruleName:s.getCurrRuleFullName()}),C=new sye.MismatchedTokenException(p,u,s.LA(0));C.resyncedTokens=(0,hs.dropRight)(l),s.SAVE_ERROR(C)};!c;)if(this.tokenMatcher(g,n)){f();return}else if(i.call(this)){f(),e.apply(this,t);return}else this.tokenMatcher(g,o)?c=!0:(g=this.SKIP_TOKEN(),this.addToResyncTokens(g,l));this.importLexerState(a)},r.prototype.shouldInRepetitionRecoveryBeTried=function(e,t,i){return!(i===!1||e===void 0||t===void 0||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))},r.prototype.getFollowsForInRuleRecovery=function(e,t){var i=this.getCurrentGrammarPath(e,t),n=this.getNextPossibleTokenTypes(i);return n},r.prototype.tryInRuleRecovery=function(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t)){var i=this.getTokenToInsert(e);return i}if(this.canRecoverWithSingleTokenDeletion(e)){var n=this.SKIP_TOKEN();return this.consumeToken(),n}throw new nx("sad sad panda")},r.prototype.canPerformInRuleRecovery=function(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)},r.prototype.canRecoverWithSingleTokenInsertion=function(e,t){var i=this;if(!this.canTokenTypeBeInsertedInRecovery(e)||(0,hs.isEmpty)(t))return!1;var n=this.LA(1),s=(0,hs.find)(t,function(o){return i.tokenMatcher(n,o)})!==void 0;return s},r.prototype.canRecoverWithSingleTokenDeletion=function(e){var t=this.tokenMatcher(this.LA(2),e);return t},r.prototype.isInCurrentRuleReSyncSet=function(e){var t=this.getCurrFollowKey(),i=this.getFollowSetFromFollowKey(t);return(0,hs.contains)(i,e)},r.prototype.findReSyncTokenType=function(){for(var e=this.flattenFollowSet(),t=this.LA(1),i=2;;){var n=t.tokenType;if((0,hs.contains)(e,n))return n;t=this.LA(i),i++}},r.prototype.getCurrFollowKey=function(){if(this.RULE_STACK.length===1)return Ki.EOF_FOLLOW_KEY;var e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),i=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(i)}},r.prototype.buildFullFollowKeyStack=function(){var e=this,t=this.RULE_STACK,i=this.RULE_OCCURRENCE_STACK;return(0,hs.map)(t,function(n,s){return s===0?Ki.EOF_FOLLOW_KEY:{ruleName:e.shortRuleNameToFullName(n),idxInCallingRule:i[s],inRule:e.shortRuleNameToFullName(t[s-1])}})},r.prototype.flattenFollowSet=function(){var e=this,t=(0,hs.map)(this.buildFullFollowKeyStack(),function(i){return e.getFollowSetFromFollowKey(i)});return(0,hs.flatten)(t)},r.prototype.getFollowSetFromFollowKey=function(e){if(e===Ki.EOF_FOLLOW_KEY)return[dy.EOF];var t=e.ruleName+e.idxInCallingRule+oye.IN+e.inRule;return this.resyncFollows[t]},r.prototype.addToResyncTokens=function(e,t){return this.tokenMatcher(e,dy.EOF)||t.push(e),t},r.prototype.reSyncTo=function(e){for(var t=[],i=this.LA(1);this.tokenMatcher(i,e)===!1;)i=this.SKIP_TOKEN(),this.addToResyncTokens(i,t);return(0,hs.dropRight)(t)},r.prototype.attemptInRepetitionRecovery=function(e,t,i,n,s,o,a){},r.prototype.getCurrentGrammarPath=function(e,t){var i=this.getHumanReadableRuleStack(),n=(0,hs.cloneArr)(this.RULE_OCCURRENCE_STACK),s={ruleStack:i,occurrenceStack:n,lastTok:e,lastTokOccurrence:t};return s},r.prototype.getHumanReadableRuleStack=function(){var e=this;return(0,hs.map)(this.RULE_STACK,function(t){return e.shortRuleNameToFullName(t)})},r}();Ki.Recoverable=Aye;function Bq(r,e,t,i,n,s,o){var a=this.getKeyForAutomaticLookahead(i,n),l=this.firstAfterRepMap[a];if(l===void 0){var c=this.getCurrRuleFullName(),u=this.getGAstProductions()[c],g=new s(u,n);l=g.startWalking(),this.firstAfterRepMap[a]=l}var f=l.token,h=l.occurrence,p=l.isEndOfRule;this.RULE_STACK.length===1&&p&&f===void 0&&(f=dy.EOF,h=1),this.shouldInRepetitionRecoveryBeTried(f,h,o)&&this.tryInRepetitionRecovery(r,e,t,f)}Ki.attemptInRepetitionRecovery=Bq});var Cy=w(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.getKeyForAutomaticLookahead=Jt.AT_LEAST_ONE_SEP_IDX=Jt.MANY_SEP_IDX=Jt.AT_LEAST_ONE_IDX=Jt.MANY_IDX=Jt.OPTION_IDX=Jt.OR_IDX=Jt.BITS_FOR_ALT_IDX=Jt.BITS_FOR_RULE_IDX=Jt.BITS_FOR_OCCURRENCE_IDX=Jt.BITS_FOR_METHOD_TYPE=void 0;Jt.BITS_FOR_METHOD_TYPE=4;Jt.BITS_FOR_OCCURRENCE_IDX=8;Jt.BITS_FOR_RULE_IDX=12;Jt.BITS_FOR_ALT_IDX=8;Jt.OR_IDX=1<{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.LooksAhead=void 0;var ka=kd(),ro=Gt(),bq=jn(),Ra=Cy(),Ec=vd(),cye=function(){function r(){}return r.prototype.initLooksAhead=function(e){this.dynamicTokensEnabled=(0,ro.has)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:bq.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled,this.maxLookahead=(0,ro.has)(e,"maxLookahead")?e.maxLookahead:bq.DEFAULT_PARSER_CONFIG.maxLookahead,this.lookAheadFuncsCache=(0,ro.isES2015MapSupported)()?new Map:[],(0,ro.isES2015MapSupported)()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},r.prototype.preComputeLookaheadFunctions=function(e){var t=this;(0,ro.forEach)(e,function(i){t.TRACE_INIT(i.name+" Rule Lookahead",function(){var n=(0,Ec.collectMethods)(i),s=n.alternation,o=n.repetition,a=n.option,l=n.repetitionMandatory,c=n.repetitionMandatoryWithSeparator,u=n.repetitionWithSeparator;(0,ro.forEach)(s,function(g){var f=g.idx===0?"":g.idx;t.TRACE_INIT(""+(0,Ec.getProductionDslName)(g)+f,function(){var h=(0,ka.buildLookaheadFuncForOr)(g.idx,i,g.maxLookahead||t.maxLookahead,g.hasPredicates,t.dynamicTokensEnabled,t.lookAheadBuilderForAlternatives),p=(0,Ra.getKeyForAutomaticLookahead)(t.fullRuleNameToShort[i.name],Ra.OR_IDX,g.idx);t.setLaFuncCache(p,h)})}),(0,ro.forEach)(o,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_IDX,ka.PROD_TYPE.REPETITION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(a,function(g){t.computeLookaheadFunc(i,g.idx,Ra.OPTION_IDX,ka.PROD_TYPE.OPTION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(l,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_IDX,ka.PROD_TYPE.REPETITION_MANDATORY,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(c,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_SEP_IDX,ka.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(u,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_SEP_IDX,ka.PROD_TYPE.REPETITION_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))})})})},r.prototype.computeLookaheadFunc=function(e,t,i,n,s,o){var a=this;this.TRACE_INIT(""+o+(t===0?"":t),function(){var l=(0,ka.buildLookaheadFuncForOptionalProd)(t,e,s||a.maxLookahead,a.dynamicTokensEnabled,n,a.lookAheadBuilderForOptional),c=(0,Ra.getKeyForAutomaticLookahead)(a.fullRuleNameToShort[e.name],i,t);a.setLaFuncCache(c,l)})},r.prototype.lookAheadBuilderForOptional=function(e,t,i){return(0,ka.buildSingleAlternativeLookaheadFunction)(e,t,i)},r.prototype.lookAheadBuilderForAlternatives=function(e,t,i,n){return(0,ka.buildAlternativesLookAheadFunc)(e,t,i,n)},r.prototype.getKeyForAutomaticLookahead=function(e,t){var i=this.getLastExplicitRuleShortName();return(0,Ra.getKeyForAutomaticLookahead)(i,e,t)},r.prototype.getLaFuncFromCache=function(e){},r.prototype.getLaFuncFromMap=function(e){return this.lookAheadFuncsCache.get(e)},r.prototype.getLaFuncFromObj=function(e){return this.lookAheadFuncsCache[e]},r.prototype.setLaFuncCache=function(e,t){},r.prototype.setLaFuncCacheUsingMap=function(e,t){this.lookAheadFuncsCache.set(e,t)},r.prototype.setLaFuncUsingObj=function(e,t){this.lookAheadFuncsCache[e]=t},r}();my.LooksAhead=cye});var Sq=w(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.addNoneTerminalToCst=Lo.addTerminalToCst=Lo.setNodeLocationFull=Lo.setNodeLocationOnlyOffset=void 0;function uye(r,e){isNaN(r.startOffset)===!0?(r.startOffset=e.startOffset,r.endOffset=e.endOffset):r.endOffset{"use strict";Object.defineProperty(OA,"__esModule",{value:!0});OA.defineNameProp=OA.functionName=OA.classNameFromInstance=void 0;var pye=Gt();function dye(r){return xq(r.constructor)}OA.classNameFromInstance=dye;var vq="name";function xq(r){var e=r.name;return e||"anonymous"}OA.functionName=xq;function Cye(r,e){var t=Object.getOwnPropertyDescriptor(r,vq);return(0,pye.isUndefined)(t)||t.configurable?(Object.defineProperty(r,vq,{enumerable:!1,configurable:!0,writable:!1,value:e}),!0):!1}OA.defineNameProp=Cye});var Fq=w(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.validateRedundantMethods=Si.validateMissingCstMethods=Si.validateVisitor=Si.CstVisitorDefinitionError=Si.createBaseVisitorConstructorWithDefaults=Si.createBaseSemanticVisitorConstructor=Si.defaultVisit=void 0;var ps=Gt(),Nd=ox();function Pq(r,e){for(var t=(0,ps.keys)(r),i=t.length,n=0;n: - `+(""+s.join(` - -`).replace(/\n/g,` - `)))}}};return t.prototype=i,t.prototype.constructor=t,t._RULE_NAMES=e,t}Si.createBaseSemanticVisitorConstructor=mye;function Eye(r,e,t){var i=function(){};(0,Nd.defineNameProp)(i,r+"BaseSemanticsWithDefaults");var n=Object.create(t.prototype);return(0,ps.forEach)(e,function(s){n[s]=Pq}),i.prototype=n,i.prototype.constructor=i,i}Si.createBaseVisitorConstructorWithDefaults=Eye;var ax;(function(r){r[r.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",r[r.MISSING_METHOD=1]="MISSING_METHOD"})(ax=Si.CstVisitorDefinitionError||(Si.CstVisitorDefinitionError={}));function Dq(r,e){var t=kq(r,e),i=Rq(r,e);return t.concat(i)}Si.validateVisitor=Dq;function kq(r,e){var t=(0,ps.map)(e,function(i){if(!(0,ps.isFunction)(r[i]))return{msg:"Missing visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+" CST Visitor.",type:ax.MISSING_METHOD,methodName:i}});return(0,ps.compact)(t)}Si.validateMissingCstMethods=kq;var Iye=["constructor","visit","validateVisitor"];function Rq(r,e){var t=[];for(var i in r)(0,ps.isFunction)(r[i])&&!(0,ps.contains)(Iye,i)&&!(0,ps.contains)(e,i)&&t.push({msg:"Redundant visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+` CST Visitor -There is no Grammar Rule corresponding to this method's name. -`,type:ax.REDUNDANT_METHOD,methodName:i});return t}Si.validateRedundantMethods=Rq});var Tq=w(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.TreeBuilder=void 0;var sf=Sq(),_r=Gt(),Nq=Fq(),yye=jn(),wye=function(){function r(){}return r.prototype.initTreeBuilder=function(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,_r.has)(e,"nodeLocationTracking")?e.nodeLocationTracking:yye.DEFAULT_PARSER_CONFIG.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=_r.NOOP,this.cstFinallyStateUpdate=_r.NOOP,this.cstPostTerminal=_r.NOOP,this.cstPostNonTerminal=_r.NOOP,this.cstPostRule=_r.NOOP;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationFull,this.setNodeLocationFromNode=sf.setNodeLocationFull,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationOnlyOffset,this.setNodeLocationFromNode=sf.setNodeLocationOnlyOffset,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=_r.NOOP;else throw Error('Invalid config option: "'+e.nodeLocationTracking+'"')},r.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(e){e.location={startOffset:NaN,endOffset:NaN}},r.prototype.setInitialNodeLocationOnlyOffsetRegular=function(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},r.prototype.setInitialNodeLocationFullRecovery=function(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.setInitialNodeLocationFullRegular=function(e){var t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.cstInvocationStateUpdate=function(e,t){var i={name:e,children:{}};this.setInitialNodeLocation(i),this.CST_STACK.push(i)},r.prototype.cstFinallyStateUpdate=function(){this.CST_STACK.pop()},r.prototype.cstPostRuleFull=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?(i.endOffset=t.endOffset,i.endLine=t.endLine,i.endColumn=t.endColumn):(i.startOffset=NaN,i.startLine=NaN,i.startColumn=NaN)},r.prototype.cstPostRuleOnlyOffset=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?i.endOffset=t.endOffset:i.startOffset=NaN},r.prototype.cstPostTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addTerminalToCst)(i,t,e),this.setNodeLocationFromToken(i.location,t)},r.prototype.cstPostNonTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addNoneTerminalToCst)(i,t,e),this.setNodeLocationFromNode(i.location,e.location)},r.prototype.getBaseCstVisitorConstructor=function(){if((0,_r.isUndefined)(this.baseCstVisitorConstructor)){var e=(0,Nq.createBaseSemanticVisitorConstructor)(this.className,(0,_r.keys)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},r.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if((0,_r.isUndefined)(this.baseCstVisitorWithDefaultsConstructor)){var e=(0,Nq.createBaseVisitorConstructorWithDefaults)(this.className,(0,_r.keys)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor},r.prototype.getLastExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-1]},r.prototype.getPreviousExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-2]},r.prototype.getLastExplicitRuleOccurrenceIndex=function(){var e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]},r}();Ey.TreeBuilder=wye});var Mq=w(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.LexerAdapter=void 0;var Lq=jn(),Bye=function(){function r(){}return r.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(r.prototype,"input",{get:function(){return this.tokVector},set:function(e){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length},enumerable:!1,configurable:!0}),r.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Lq.END_OF_FILE},r.prototype.LA=function(e){var t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Lq.END_OF_FILE:this.tokVector[t]},r.prototype.consumeToken=function(){this.currIdx++},r.prototype.exportLexerState=function(){return this.currIdx},r.prototype.importLexerState=function(e){this.currIdx=e},r.prototype.resetLexerState=function(){this.currIdx=-1},r.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},r.prototype.getLexerPosition=function(){return this.exportLexerState()},r}();Iy.LexerAdapter=Bye});var Kq=w(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.RecognizerApi=void 0;var Oq=Gt(),bye=nf(),Ax=jn(),Qye=xd(),Sye=rx(),vye=mn(),xye=function(){function r(){}return r.prototype.ACTION=function(e){return e.call(this)},r.prototype.consume=function(e,t,i){return this.consumeInternal(t,e,i)},r.prototype.subrule=function(e,t,i){return this.subruleInternal(t,e,i)},r.prototype.option=function(e,t){return this.optionInternal(t,e)},r.prototype.or=function(e,t){return this.orInternal(t,e)},r.prototype.many=function(e,t){return this.manyInternal(e,t)},r.prototype.atLeastOne=function(e,t){return this.atLeastOneInternal(e,t)},r.prototype.CONSUME=function(e,t){return this.consumeInternal(e,0,t)},r.prototype.CONSUME1=function(e,t){return this.consumeInternal(e,1,t)},r.prototype.CONSUME2=function(e,t){return this.consumeInternal(e,2,t)},r.prototype.CONSUME3=function(e,t){return this.consumeInternal(e,3,t)},r.prototype.CONSUME4=function(e,t){return this.consumeInternal(e,4,t)},r.prototype.CONSUME5=function(e,t){return this.consumeInternal(e,5,t)},r.prototype.CONSUME6=function(e,t){return this.consumeInternal(e,6,t)},r.prototype.CONSUME7=function(e,t){return this.consumeInternal(e,7,t)},r.prototype.CONSUME8=function(e,t){return this.consumeInternal(e,8,t)},r.prototype.CONSUME9=function(e,t){return this.consumeInternal(e,9,t)},r.prototype.SUBRULE=function(e,t){return this.subruleInternal(e,0,t)},r.prototype.SUBRULE1=function(e,t){return this.subruleInternal(e,1,t)},r.prototype.SUBRULE2=function(e,t){return this.subruleInternal(e,2,t)},r.prototype.SUBRULE3=function(e,t){return this.subruleInternal(e,3,t)},r.prototype.SUBRULE4=function(e,t){return this.subruleInternal(e,4,t)},r.prototype.SUBRULE5=function(e,t){return this.subruleInternal(e,5,t)},r.prototype.SUBRULE6=function(e,t){return this.subruleInternal(e,6,t)},r.prototype.SUBRULE7=function(e,t){return this.subruleInternal(e,7,t)},r.prototype.SUBRULE8=function(e,t){return this.subruleInternal(e,8,t)},r.prototype.SUBRULE9=function(e,t){return this.subruleInternal(e,9,t)},r.prototype.OPTION=function(e){return this.optionInternal(e,0)},r.prototype.OPTION1=function(e){return this.optionInternal(e,1)},r.prototype.OPTION2=function(e){return this.optionInternal(e,2)},r.prototype.OPTION3=function(e){return this.optionInternal(e,3)},r.prototype.OPTION4=function(e){return this.optionInternal(e,4)},r.prototype.OPTION5=function(e){return this.optionInternal(e,5)},r.prototype.OPTION6=function(e){return this.optionInternal(e,6)},r.prototype.OPTION7=function(e){return this.optionInternal(e,7)},r.prototype.OPTION8=function(e){return this.optionInternal(e,8)},r.prototype.OPTION9=function(e){return this.optionInternal(e,9)},r.prototype.OR=function(e){return this.orInternal(e,0)},r.prototype.OR1=function(e){return this.orInternal(e,1)},r.prototype.OR2=function(e){return this.orInternal(e,2)},r.prototype.OR3=function(e){return this.orInternal(e,3)},r.prototype.OR4=function(e){return this.orInternal(e,4)},r.prototype.OR5=function(e){return this.orInternal(e,5)},r.prototype.OR6=function(e){return this.orInternal(e,6)},r.prototype.OR7=function(e){return this.orInternal(e,7)},r.prototype.OR8=function(e){return this.orInternal(e,8)},r.prototype.OR9=function(e){return this.orInternal(e,9)},r.prototype.MANY=function(e){this.manyInternal(0,e)},r.prototype.MANY1=function(e){this.manyInternal(1,e)},r.prototype.MANY2=function(e){this.manyInternal(2,e)},r.prototype.MANY3=function(e){this.manyInternal(3,e)},r.prototype.MANY4=function(e){this.manyInternal(4,e)},r.prototype.MANY5=function(e){this.manyInternal(5,e)},r.prototype.MANY6=function(e){this.manyInternal(6,e)},r.prototype.MANY7=function(e){this.manyInternal(7,e)},r.prototype.MANY8=function(e){this.manyInternal(8,e)},r.prototype.MANY9=function(e){this.manyInternal(9,e)},r.prototype.MANY_SEP=function(e){this.manySepFirstInternal(0,e)},r.prototype.MANY_SEP1=function(e){this.manySepFirstInternal(1,e)},r.prototype.MANY_SEP2=function(e){this.manySepFirstInternal(2,e)},r.prototype.MANY_SEP3=function(e){this.manySepFirstInternal(3,e)},r.prototype.MANY_SEP4=function(e){this.manySepFirstInternal(4,e)},r.prototype.MANY_SEP5=function(e){this.manySepFirstInternal(5,e)},r.prototype.MANY_SEP6=function(e){this.manySepFirstInternal(6,e)},r.prototype.MANY_SEP7=function(e){this.manySepFirstInternal(7,e)},r.prototype.MANY_SEP8=function(e){this.manySepFirstInternal(8,e)},r.prototype.MANY_SEP9=function(e){this.manySepFirstInternal(9,e)},r.prototype.AT_LEAST_ONE=function(e){this.atLeastOneInternal(0,e)},r.prototype.AT_LEAST_ONE1=function(e){return this.atLeastOneInternal(1,e)},r.prototype.AT_LEAST_ONE2=function(e){this.atLeastOneInternal(2,e)},r.prototype.AT_LEAST_ONE3=function(e){this.atLeastOneInternal(3,e)},r.prototype.AT_LEAST_ONE4=function(e){this.atLeastOneInternal(4,e)},r.prototype.AT_LEAST_ONE5=function(e){this.atLeastOneInternal(5,e)},r.prototype.AT_LEAST_ONE6=function(e){this.atLeastOneInternal(6,e)},r.prototype.AT_LEAST_ONE7=function(e){this.atLeastOneInternal(7,e)},r.prototype.AT_LEAST_ONE8=function(e){this.atLeastOneInternal(8,e)},r.prototype.AT_LEAST_ONE9=function(e){this.atLeastOneInternal(9,e)},r.prototype.AT_LEAST_ONE_SEP=function(e){this.atLeastOneSepFirstInternal(0,e)},r.prototype.AT_LEAST_ONE_SEP1=function(e){this.atLeastOneSepFirstInternal(1,e)},r.prototype.AT_LEAST_ONE_SEP2=function(e){this.atLeastOneSepFirstInternal(2,e)},r.prototype.AT_LEAST_ONE_SEP3=function(e){this.atLeastOneSepFirstInternal(3,e)},r.prototype.AT_LEAST_ONE_SEP4=function(e){this.atLeastOneSepFirstInternal(4,e)},r.prototype.AT_LEAST_ONE_SEP5=function(e){this.atLeastOneSepFirstInternal(5,e)},r.prototype.AT_LEAST_ONE_SEP6=function(e){this.atLeastOneSepFirstInternal(6,e)},r.prototype.AT_LEAST_ONE_SEP7=function(e){this.atLeastOneSepFirstInternal(7,e)},r.prototype.AT_LEAST_ONE_SEP8=function(e){this.atLeastOneSepFirstInternal(8,e)},r.prototype.AT_LEAST_ONE_SEP9=function(e){this.atLeastOneSepFirstInternal(9,e)},r.prototype.RULE=function(e,t,i){if(i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG),(0,Oq.contains)(this.definedRulesNames,e)){var n=Qye.defaultGrammarValidatorErrorProvider.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),s={message:n,type:Ax.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(s)}this.definedRulesNames.push(e);var o=this.defineRule(e,t,i);return this[e]=o,o},r.prototype.OVERRIDE_RULE=function(e,t,i){i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG);var n=[];n=n.concat((0,Sye.validateRuleIsOverridden)(e,this.definedRulesNames,this.className)),this.definitionErrors=this.definitionErrors.concat(n);var s=this.defineRule(e,t,i);return this[e]=s,s},r.prototype.BACKTRACK=function(e,t){return function(){this.isBackTrackingStack.push(1);var i=this.saveRecogState();try{return e.apply(this,t),!0}catch(n){if((0,bye.isRecognitionException)(n))return!1;throw n}finally{this.reloadRecogState(i),this.isBackTrackingStack.pop()}}},r.prototype.getGAstProductions=function(){return this.gastProductionsCache},r.prototype.getSerializedGastProductions=function(){return(0,vye.serializeGrammar)((0,Oq.values)(this.gastProductionsCache))},r}();yy.RecognizerApi=xye});var Yq=w(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.RecognizerEngine=void 0;var Pr=Gt(),qn=Cy(),wy=nf(),Uq=kd(),of=Dd(),Hq=jn(),Pye=sx(),Gq=TA(),Td=_g(),Dye=ox(),kye=function(){function r(){}return r.prototype.initRecognizerEngine=function(e,t){if(this.className=(0,Dye.classNameFromInstance)(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Td.tokenStructuredMatcherNoCategories,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,Pr.has)(t,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 - For Further details.`);if((0,Pr.isArray)(e)){if((0,Pr.isEmpty)(e))throw Error(`A Token Vocabulary cannot be empty. - Note that the first argument for the parser constructor - is no longer a Token vector (since v4.0).`);if(typeof e[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 - For Further details.`)}if((0,Pr.isArray)(e))this.tokensMap=(0,Pr.reduce)(e,function(o,a){return o[a.name]=a,o},{});else if((0,Pr.has)(e,"modes")&&(0,Pr.every)((0,Pr.flatten)((0,Pr.values)(e.modes)),Td.isTokenType)){var i=(0,Pr.flatten)((0,Pr.values)(e.modes)),n=(0,Pr.uniq)(i);this.tokensMap=(0,Pr.reduce)(n,function(o,a){return o[a.name]=a,o},{})}else if((0,Pr.isObject)(e))this.tokensMap=(0,Pr.cloneObj)(e);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=Gq.EOF;var s=(0,Pr.every)((0,Pr.values)(e),function(o){return(0,Pr.isEmpty)(o.categoryMatches)});this.tokenMatcher=s?Td.tokenStructuredMatcherNoCategories:Td.tokenStructuredMatcher,(0,Td.augmentTokenTypes)((0,Pr.values)(this.tokensMap))},r.prototype.defineRule=function(e,t,i){if(this.selfAnalysisDone)throw Error("Grammar rule <"+e+`> may not be defined after the 'performSelfAnalysis' method has been called' -Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);var n=(0,Pr.has)(i,"resyncEnabled")?i.resyncEnabled:Hq.DEFAULT_RULE_CONFIG.resyncEnabled,s=(0,Pr.has)(i,"recoveryValueFunc")?i.recoveryValueFunc:Hq.DEFAULT_RULE_CONFIG.recoveryValueFunc,o=this.ruleShortNameIdx<t},r.prototype.orInternal=function(e,t){var i=this.getKeyForAutomaticLookahead(qn.OR_IDX,t),n=(0,Pr.isArray)(e)?e:e.DEF,s=this.getLaFuncFromCache(i),o=s.call(this,n);if(o!==void 0){var a=n[o];return a.ALT.call(this)}this.raiseNoAltException(t,e.ERR_MSG)},r.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){var e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new wy.NotAllInputParsedException(t,e))}},r.prototype.subruleInternal=function(e,t,i){var n;try{var s=i!==void 0?i.ARGS:void 0;return n=e.call(this,t,s),this.cstPostNonTerminal(n,i!==void 0&&i.LABEL!==void 0?i.LABEL:e.ruleName),n}catch(o){this.subruleInternalError(o,i,e.ruleName)}},r.prototype.subruleInternalError=function(e,t,i){throw(0,wy.isRecognitionException)(e)&&e.partialCstResult!==void 0&&(this.cstPostNonTerminal(e.partialCstResult,t!==void 0&&t.LABEL!==void 0?t.LABEL:i),delete e.partialCstResult),e},r.prototype.consumeInternal=function(e,t,i){var n;try{var s=this.LA(1);this.tokenMatcher(s,e)===!0?(this.consumeToken(),n=s):this.consumeInternalError(e,s,i)}catch(o){n=this.consumeInternalRecovery(e,t,o)}return this.cstPostTerminal(i!==void 0&&i.LABEL!==void 0?i.LABEL:e.name,n),n},r.prototype.consumeInternalError=function(e,t,i){var n,s=this.LA(0);throw i!==void 0&&i.ERR_MSG?n=i.ERR_MSG:n=this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:s,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new wy.MismatchedTokenException(n,t,s))},r.prototype.consumeInternalRecovery=function(e,t,i){if(this.recoveryEnabled&&i.name==="MismatchedTokenException"&&!this.isBackTracking()){var n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(s){throw s.name===Pye.IN_RULE_RECOVERY_EXCEPTION?i:s}}else throw i},r.prototype.saveRecogState=function(){var e=this.errors,t=(0,Pr.cloneArr)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}},r.prototype.reloadRecogState=function(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK},r.prototype.ruleInvocationStateUpdate=function(e,t,i){this.RULE_OCCURRENCE_STACK.push(i),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t,e)},r.prototype.isBackTracking=function(){return this.isBackTrackingStack.length!==0},r.prototype.getCurrRuleFullName=function(){var e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]},r.prototype.shortRuleNameToFullName=function(e){return this.shortRuleNameToFull[e]},r.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),Gq.EOF)},r.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},r}();By.RecognizerEngine=kye});var qq=w(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.ErrorHandler=void 0;var lx=nf(),cx=Gt(),jq=kd(),Rye=jn(),Fye=function(){function r(){}return r.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=(0,cx.has)(e,"errorMessageProvider")?e.errorMessageProvider:Rye.DEFAULT_PARSER_CONFIG.errorMessageProvider},r.prototype.SAVE_ERROR=function(e){if((0,lx.isRecognitionException)(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,cx.cloneArr)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(r.prototype,"errors",{get:function(){return(0,cx.cloneArr)(this._errors)},set:function(e){this._errors=e},enumerable:!1,configurable:!0}),r.prototype.raiseEarlyExitException=function(e,t,i){for(var n=this.getCurrRuleFullName(),s=this.getGAstProductions()[n],o=(0,jq.getLookaheadPathsForOptionalProd)(e,s,t,this.maxLookahead),a=o[0],l=[],c=1;c<=this.maxLookahead;c++)l.push(this.LA(c));var u=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:a,actual:l,previous:this.LA(0),customUserDescription:i,ruleName:n});throw this.SAVE_ERROR(new lx.EarlyExitException(u,this.LA(1),this.LA(0)))},r.prototype.raiseNoAltException=function(e,t){for(var i=this.getCurrRuleFullName(),n=this.getGAstProductions()[i],s=(0,jq.getLookaheadPathsForOr)(e,n,this.maxLookahead),o=[],a=1;a<=this.maxLookahead;a++)o.push(this.LA(a));var l=this.LA(0),c=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:s,actual:o,previous:l,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new lx.NoViableAltException(c,this.LA(1),l))},r}();by.ErrorHandler=Fye});var zq=w(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.ContentAssist=void 0;var Jq=Dd(),Wq=Gt(),Nye=function(){function r(){}return r.prototype.initContentAssist=function(){},r.prototype.computeContentAssist=function(e,t){var i=this.gastProductionsCache[e];if((0,Wq.isUndefined)(i))throw Error("Rule ->"+e+"<- does not exist in this grammar.");return(0,Jq.nextPossibleTokensAfter)([i],t,this.tokenMatcher,this.maxLookahead)},r.prototype.getNextPossibleTokenTypes=function(e){var t=(0,Wq.first)(e.ruleStack),i=this.getGAstProductions(),n=i[t],s=new Jq.NextAfterTokenWalker(n,e).startWalking();return s},r}();Qy.ContentAssist=Nye});var rJ=w(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.GastRecorder=void 0;var yn=Gt(),Mo=mn(),Tye=Bd(),_q=_g(),$q=TA(),Lye=jn(),Mye=Cy(),vy={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(vy);var Vq=!0,Xq=Math.pow(2,Mye.BITS_FOR_OCCURRENCE_IDX)-1,eJ=(0,$q.createToken)({name:"RECORDING_PHASE_TOKEN",pattern:Tye.Lexer.NA});(0,_q.augmentTokenTypes)([eJ]);var tJ=(0,$q.createTokenInstance)(eJ,`This IToken indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(tJ);var Oye={name:`This CSTNode indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},Kye=function(){function r(){}return r.prototype.initGastRecorder=function(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1},r.prototype.enableRecording=function(){var e=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",function(){for(var t=function(n){var s=n>0?n:"";e["CONSUME"+s]=function(o,a){return this.consumeInternalRecord(o,n,a)},e["SUBRULE"+s]=function(o,a){return this.subruleInternalRecord(o,n,a)},e["OPTION"+s]=function(o){return this.optionInternalRecord(o,n)},e["OR"+s]=function(o){return this.orInternalRecord(o,n)},e["MANY"+s]=function(o){this.manyInternalRecord(n,o)},e["MANY_SEP"+s]=function(o){this.manySepFirstInternalRecord(n,o)},e["AT_LEAST_ONE"+s]=function(o){this.atLeastOneInternalRecord(n,o)},e["AT_LEAST_ONE_SEP"+s]=function(o){this.atLeastOneSepFirstInternalRecord(n,o)}},i=0;i<10;i++)t(i);e.consume=function(n,s,o){return this.consumeInternalRecord(s,n,o)},e.subrule=function(n,s,o){return this.subruleInternalRecord(s,n,o)},e.option=function(n,s){return this.optionInternalRecord(s,n)},e.or=function(n,s){return this.orInternalRecord(s,n)},e.many=function(n,s){this.manyInternalRecord(n,s)},e.atLeastOne=function(n,s){this.atLeastOneInternalRecord(n,s)},e.ACTION=e.ACTION_RECORD,e.BACKTRACK=e.BACKTRACK_RECORD,e.LA=e.LA_RECORD})},r.prototype.disableRecording=function(){var e=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",function(){for(var t=0;t<10;t++){var i=t>0?t:"";delete e["CONSUME"+i],delete e["SUBRULE"+i],delete e["OPTION"+i],delete e["OR"+i],delete e["MANY"+i],delete e["MANY_SEP"+i],delete e["AT_LEAST_ONE"+i],delete e["AT_LEAST_ONE_SEP"+i]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA})},r.prototype.ACTION_RECORD=function(e){},r.prototype.BACKTRACK_RECORD=function(e,t){return function(){return!0}},r.prototype.LA_RECORD=function(e){return Lye.END_OF_FILE},r.prototype.topLevelRuleRecord=function(e,t){try{var i=new Mo.Rule({definition:[],name:e});return i.name=e,this.recordingProdStack.push(i),t.call(this),this.recordingProdStack.pop(),i}catch(n){if(n.KNOWN_RECORDER_ERROR!==!0)try{n.message=n.message+` - This error was thrown during the "grammar recording phase" For more info see: - https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw n}throw n}},r.prototype.optionInternalRecord=function(e,t){return Ld.call(this,Mo.Option,e,t)},r.prototype.atLeastOneInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatory,t,e)},r.prototype.atLeastOneSepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatoryWithSeparator,t,e,Vq)},r.prototype.manyInternalRecord=function(e,t){Ld.call(this,Mo.Repetition,t,e)},r.prototype.manySepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionWithSeparator,t,e,Vq)},r.prototype.orInternalRecord=function(e,t){return Uye.call(this,e,t)},r.prototype.subruleInternalRecord=function(e,t,i){if(Sy(t),!e||(0,yn.has)(e,"ruleName")===!1){var n=new Error(" argument is invalid"+(" expecting a Parser method reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=e.ruleName,a=new Mo.NonTerminal({idx:t,nonTerminalName:o,label:i==null?void 0:i.LABEL,referencedRule:void 0});return s.definition.push(a),this.outputCst?Oye:vy},r.prototype.consumeInternalRecord=function(e,t,i){if(Sy(t),!(0,_q.hasShortKeyProperty)(e)){var n=new Error(" argument is invalid"+(" expecting a TokenType reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=new Mo.Terminal({idx:t,terminalType:e,label:i==null?void 0:i.LABEL});return s.definition.push(o),tJ},r}();xy.GastRecorder=Kye;function Ld(r,e,t,i){i===void 0&&(i=!1),Sy(t);var n=(0,yn.peek)(this.recordingProdStack),s=(0,yn.isFunction)(e)?e:e.DEF,o=new r({definition:[],idx:t});return i&&(o.separator=e.SEP),(0,yn.has)(e,"MAX_LOOKAHEAD")&&(o.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(o),s.call(this),n.definition.push(o),this.recordingProdStack.pop(),vy}function Uye(r,e){var t=this;Sy(e);var i=(0,yn.peek)(this.recordingProdStack),n=(0,yn.isArray)(r)===!1,s=n===!1?r:r.DEF,o=new Mo.Alternation({definition:[],idx:e,ignoreAmbiguities:n&&r.IGNORE_AMBIGUITIES===!0});(0,yn.has)(r,"MAX_LOOKAHEAD")&&(o.maxLookahead=r.MAX_LOOKAHEAD);var a=(0,yn.some)(s,function(l){return(0,yn.isFunction)(l.GATE)});return o.hasPredicates=a,i.definition.push(o),(0,yn.forEach)(s,function(l){var c=new Mo.Alternative({definition:[]});o.definition.push(c),(0,yn.has)(l,"IGNORE_AMBIGUITIES")?c.ignoreAmbiguities=l.IGNORE_AMBIGUITIES:(0,yn.has)(l,"GATE")&&(c.ignoreAmbiguities=!0),t.recordingProdStack.push(c),l.ALT.call(t),t.recordingProdStack.pop()}),vy}function Zq(r){return r===0?"":""+r}function Sy(r){if(r<0||r>Xq){var e=new Error("Invalid DSL Method idx value: <"+r+`> - `+("Idx value must be a none negative value smaller than "+(Xq+1)));throw e.KNOWN_RECORDER_ERROR=!0,e}}});var nJ=w(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.PerformanceTracer=void 0;var iJ=Gt(),Hye=jn(),Gye=function(){function r(){}return r.prototype.initPerformanceTracer=function(e){if((0,iJ.has)(e,"traceInitPerf")){var t=e.traceInitPerf,i=typeof t=="number";this.traceInitMaxIdent=i?t:1/0,this.traceInitPerf=i?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=Hye.DEFAULT_PARSER_CONFIG.traceInitPerf;this.traceInitIndent=-1},r.prototype.TRACE_INIT=function(e,t){if(this.traceInitPerf===!0){this.traceInitIndent++;var i=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <"+e+">");var n=(0,iJ.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r}();Py.PerformanceTracer=Gye});var sJ=w(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.applyMixins=void 0;function Yye(r,e){e.forEach(function(t){var i=t.prototype;Object.getOwnPropertyNames(i).forEach(function(n){if(n!=="constructor"){var s=Object.getOwnPropertyDescriptor(i,n);s&&(s.get||s.set)?Object.defineProperty(r.prototype,n,s):r.prototype[n]=t.prototype[n]}})})}Dy.applyMixins=Yye});var jn=w(dr=>{"use strict";var AJ=dr&&dr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(dr,"__esModule",{value:!0});dr.EmbeddedActionsParser=dr.CstParser=dr.Parser=dr.EMPTY_ALT=dr.ParserDefinitionErrorType=dr.DEFAULT_RULE_CONFIG=dr.DEFAULT_PARSER_CONFIG=dr.END_OF_FILE=void 0;var en=Gt(),jye=qj(),oJ=TA(),lJ=xd(),aJ=Cq(),qye=sx(),Jye=Qq(),Wye=Tq(),zye=Mq(),Vye=Kq(),Xye=Yq(),Zye=qq(),_ye=zq(),$ye=rJ(),ewe=nJ(),twe=sJ();dr.END_OF_FILE=(0,oJ.createTokenInstance)(oJ.EOF,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(dr.END_OF_FILE);dr.DEFAULT_PARSER_CONFIG=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:lJ.defaultParserErrorProvider,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1});dr.DEFAULT_RULE_CONFIG=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});var rwe;(function(r){r[r.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",r[r.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",r[r.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",r[r.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",r[r.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",r[r.LEFT_RECURSION=5]="LEFT_RECURSION",r[r.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",r[r.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",r[r.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",r[r.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",r[r.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",r[r.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",r[r.TOO_MANY_ALTS=12]="TOO_MANY_ALTS"})(rwe=dr.ParserDefinitionErrorType||(dr.ParserDefinitionErrorType={}));function iwe(r){return r===void 0&&(r=void 0),function(){return r}}dr.EMPTY_ALT=iwe;var ky=function(){function r(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;var i=this;if(i.initErrorHandler(t),i.initLexerAdapter(),i.initLooksAhead(t),i.initRecognizerEngine(e,t),i.initRecoverable(t),i.initTreeBuilder(t),i.initContentAssist(),i.initGastRecorder(t),i.initPerformanceTracer(t),(0,en.has)(t,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. - Please use the flag on the relevant DSL method instead. - See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES - For further details.`);this.skipValidations=(0,en.has)(t,"skipValidations")?t.skipValidations:dr.DEFAULT_PARSER_CONFIG.skipValidations}return r.performSelfAnalysis=function(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")},r.prototype.performSelfAnalysis=function(){var e=this;this.TRACE_INIT("performSelfAnalysis",function(){var t;e.selfAnalysisDone=!0;var i=e.className;e.TRACE_INIT("toFastProps",function(){(0,en.toFastProperties)(e)}),e.TRACE_INIT("Grammar Recording",function(){try{e.enableRecording(),(0,en.forEach)(e.definedRulesNames,function(s){var o=e[s],a=o.originalGrammarAction,l=void 0;e.TRACE_INIT(s+" Rule",function(){l=e.topLevelRuleRecord(s,a)}),e.gastProductionsCache[s]=l})}finally{e.disableRecording()}});var n=[];if(e.TRACE_INIT("Grammar Resolving",function(){n=(0,aJ.resolveGrammar)({rules:(0,en.values)(e.gastProductionsCache)}),e.definitionErrors=e.definitionErrors.concat(n)}),e.TRACE_INIT("Grammar Validations",function(){if((0,en.isEmpty)(n)&&e.skipValidations===!1){var s=(0,aJ.validateGrammar)({rules:(0,en.values)(e.gastProductionsCache),maxLookahead:e.maxLookahead,tokenTypes:(0,en.values)(e.tokensMap),errMsgProvider:lJ.defaultGrammarValidatorErrorProvider,grammarName:i});e.definitionErrors=e.definitionErrors.concat(s)}}),(0,en.isEmpty)(e.definitionErrors)&&(e.recoveryEnabled&&e.TRACE_INIT("computeAllProdsFollows",function(){var s=(0,jye.computeAllProdsFollows)((0,en.values)(e.gastProductionsCache));e.resyncFollows=s}),e.TRACE_INIT("ComputeLookaheadFunctions",function(){e.preComputeLookaheadFunctions((0,en.values)(e.gastProductionsCache))})),!r.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,en.isEmpty)(e.definitionErrors))throw t=(0,en.map)(e.definitionErrors,function(s){return s.message}),new Error(`Parser Definition Errors detected: - `+t.join(` -------------------------------- -`))})},r.DEFER_DEFINITION_ERRORS_HANDLING=!1,r}();dr.Parser=ky;(0,twe.applyMixins)(ky,[qye.Recoverable,Jye.LooksAhead,Wye.TreeBuilder,zye.LexerAdapter,Xye.RecognizerEngine,Vye.RecognizerApi,Zye.ErrorHandler,_ye.ContentAssist,$ye.GastRecorder,ewe.PerformanceTracer]);var nwe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!0,n=r.call(this,t,s)||this,n}return e}(ky);dr.CstParser=nwe;var swe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!1,n=r.call(this,t,s)||this,n}return e}(ky);dr.EmbeddedActionsParser=swe});var uJ=w(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0});Ry.createSyntaxDiagramsCode=void 0;var cJ=Dv();function owe(r,e){var t=e===void 0?{}:e,i=t.resourceBase,n=i===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/":i,s=t.css,o=s===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/diagrams.css":s,a=` - - - - - -`,l=` - -`,c=` -' + 'href="/favicon.png" />\n' + + ' \n' + + ' ' ) writeFile(rwPaths.web.html, indexHtml, { @@ -178,6 +269,20 @@ export const handler = async ({ force, verbose }) => { }) }, }, + { + title: 'Overwriting index.css...', + task: async () => { + const template = fs.readFileSync( + path.resolve(__dirname, 'templates', 'rsc', 'index.css.template'), + 'utf-8' + ) + const filePath = path.join(rwPaths.web.src, 'index.css') + + writeFile(filePath, template, { + overwriteExisting: true, + }) + }, + }, { title: 'Overwrite entry.client.tsx...', task: async () => { @@ -196,6 +301,18 @@ export const handler = async ({ force, verbose }) => { }) }, }, + { + title: 'Updating entry.server.tsx...', + task: async () => { + let entryServer = fs.readFileSync(rwPaths.web.entryServer, 'utf-8') + + entryServer = entryServer.replaceAll('App', 'HomePage') + + writeFile(rwPaths.web.entryServer, entryServer, { + overwriteExisting: true, + }) + }, + }, { title: 'Add React experimental types', task: async () => { @@ -217,44 +334,19 @@ export const handler = async ({ force, verbose }) => { ) }, }, + // TODO (RSC): Remove this once we have a better way to handle routes. + // This is a total hack right now { - title: 'Patch vite', + title: 'Overwriting routes...', task: async () => { - const vitePatchTemplate = fs.readFileSync( - path.resolve( - __dirname, - 'templates', - 'rsc', - 'vite-npm-4.4.9-e845c1bbf8.patch.template' - ), + const routesTemplate = fs.readFileSync( + path.resolve(__dirname, 'templates', 'rsc', 'Routes.tsx.template'), 'utf-8' ) - const yarnPatchDir = path.join(rwPaths.base, '.yarn', 'patches') - const vitePatchPath = path.join( - yarnPatchDir, - 'vite-npm-4.4.9-e845c1bbf8.patch' - ) - writeFile(vitePatchPath, vitePatchTemplate, { - overwriteExisting: force, - }) - - const packageJsonPath = path.join(rwPaths.base, 'package.json') - const packageJson = JSON.parse( - fs.readFileSync(packageJsonPath, 'utf-8') - ) - packageJson.resolutions = packageJson.resolutions || {} - packageJson.resolutions['vite@4.4.9'] = - 'patch:vite@npm%3A4.4.9#./.yarn/patches/vite-npm-4.4.9-e845c1bbf8.patch' - writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2), { + writeFile(rwPaths.web.routes, routesTemplate, { overwriteExisting: true, }) - - await execa('yarn install', { - stdio: 'ignore', - shell: true, - cwd: rwPaths.base, - }) }, }, { diff --git a/packages/cli/src/commands/experimental/setupServerFileHandler.js b/packages/cli/src/commands/experimental/setupServerFileHandler.js index 7db86fbe2ce9..33a406efed67 100644 --- a/packages/cli/src/commands/experimental/setupServerFileHandler.js +++ b/packages/cli/src/commands/experimental/setupServerFileHandler.js @@ -18,7 +18,7 @@ const { version } = JSON.parse( fs.readFileSync(path.resolve(__dirname, '../../../package.json'), 'utf-8') ) -export async function handler({ force, verbose }) { +export const setupServerFileTasks = (force = false) => { const redwoodPaths = getPaths() const ts = isTypeScriptProject() @@ -27,6 +27,60 @@ export async function handler({ force, verbose }) { `server.${isTypeScriptProject() ? 'ts' : 'js'}` ) + return [ + { + title: 'Adding the experimental server files...', + task: () => { + const serverFileTemplateContent = fs.readFileSync( + path.resolve(__dirname, 'templates', 'server.ts.template'), + 'utf-8' + ) + + const setupScriptContent = ts + ? serverFileTemplateContent + : transformTSToJS(serverFilePath, serverFileTemplateContent) + + return [ + writeFile(serverFilePath, setupScriptContent, { + overwriteExisting: force, + }), + ] + }, + }, + { + title: 'Adding config to redwood.toml...', + task: (_ctx, task) => { + // + const redwoodTomlPath = getConfigPath() + const configContent = fs.readFileSync(redwoodTomlPath, 'utf-8') + if (!configContent.includes('[experimental.serverFile]')) { + // Use string replace to preserve comments and formatting + writeFile( + redwoodTomlPath, + configContent.concat( + `\n[experimental.serverFile]\n\tenabled = true\n` + ), + { + overwriteExisting: true, // redwood.toml always exists + } + ) + } else { + task.skip( + `The [experimental.serverFile] config block already exists in your 'redwood.toml' file.` + ) + } + }, + }, + addApiPackages([ + 'fastify', + 'chalk@4.1.2', + `@redwoodjs/fastify@${version}`, + `@redwoodjs/project-config@${version}`, + ]), + ] +} + +export async function handler({ force, verbose }) { const tasks = new Listr( [ { @@ -42,54 +96,7 @@ export async function handler({ force, verbose }) { } }, }, - { - title: 'Adding the experimental server file...', - task: () => { - const serverFileTemplateContent = fs.readFileSync( - path.resolve(__dirname, 'templates', 'server.ts.template'), - 'utf-8' - ) - - const setupScriptContent = ts - ? serverFileTemplateContent - : transformTSToJS(serverFilePath, serverFileTemplateContent) - - return [ - writeFile(serverFilePath, setupScriptContent, { - overwriteExisting: force, - }), - ] - }, - }, - { - title: 'Adding config to redwood.toml...', - task: (_ctx, task) => { - const redwoodTomlPath = getConfigPath() - const configContent = fs.readFileSync(redwoodTomlPath, 'utf-8') - if (!configContent.includes('[experimental.serverFile]')) { - // Use string replace to preserve comments and formatting - writeFile( - redwoodTomlPath, - configContent.concat( - `\n[experimental.serverFile]\n\tenabled = true\n` - ), - { - overwriteExisting: true, // redwood.toml always exists - } - ) - } else { - task.skip( - `The [experimental.serverFile] config block already exists in your 'redwood.toml' file.` - ) - } - }, - }, - addApiPackages([ - 'fastify', - 'chalk@4.1.2', - `@redwoodjs/fastify@${version}`, - `@redwoodjs/project-config@${version}`, - ]), + ...setupServerFileTasks(force), { task: () => { printTaskEpilogue(command, description, EXPERIMENTAL_TOPIC_ID) diff --git a/packages/cli/src/commands/experimental/templates/docker/Dockerfile b/packages/cli/src/commands/experimental/templates/docker/Dockerfile index 4688b4cf7829..14ddba3caf4f 100644 --- a/packages/cli/src/commands/experimental/templates/docker/Dockerfile +++ b/packages/cli/src/commands/experimental/templates/docker/Dockerfile @@ -4,6 +4,7 @@ FROM node:18-bookworm-slim as base RUN apt-get update && apt-get install -y \ openssl \ + # python3 make gcc \ && rm -rf /var/lib/apt/lists/* USER node @@ -57,6 +58,7 @@ FROM node:18-bookworm-slim as api_serve RUN apt-get update && apt-get install -y \ openssl \ + # python3 make gcc \ && rm -rf /var/lib/apt/lists/* USER node diff --git a/packages/cli/src/commands/experimental/templates/rsc/AboutCounter.tsx.template b/packages/cli/src/commands/experimental/templates/rsc/AboutCounter.tsx.template new file mode 100644 index 000000000000..c86915e87f8b --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/AboutCounter.tsx.template @@ -0,0 +1,20 @@ +'use client' + +import React from 'react' + +// @ts-expect-error no types +import styles from './Counter.module.css' +import './Counter.css' + +export const AboutCounter = () => { + const [count, setCount] = React.useState(0) + + return ( +
+

Count: {count}

+ +

This is a client component.

+

RSC on client: {globalThis.RWJS_EXP_RSC ? 'enabled' : 'disabled'}

+
+ ) +} diff --git a/packages/cli/src/commands/experimental/templates/rsc/AboutPage.css.template b/packages/cli/src/commands/experimental/templates/rsc/AboutPage.css.template new file mode 100644 index 000000000000..995b3bbde1e0 --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/AboutPage.css.template @@ -0,0 +1,2 @@ +.about-page { +} diff --git a/packages/cli/src/commands/experimental/templates/rsc/AboutPage.tsx.template b/packages/cli/src/commands/experimental/templates/rsc/AboutPage.tsx.template new file mode 100644 index 000000000000..0caf6a955090 --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/AboutPage.tsx.template @@ -0,0 +1,27 @@ +import { Assets } from '@redwoodjs/vite/assets' +import { ProdRwRscServerGlobal } from '@redwoodjs/vite/rwRscGlobal' + +import { AboutCounter } from './AboutCounter' + +import './AboutPage.css' + +// TODO (RSC) Something like this will probably be needed +// const RwRscGlobal = import.meta.env.PROD ? ProdRwRscServerGlobal : DevRwRscServerGlobal; + +globalThis.rwRscGlobal = new ProdRwRscServerGlobal() + +const AboutPage = () => { + return ( +
+ {/* TODO (RSC) should be part of the router later */} + +
+

About Redwood

+ +

RSC on server: {globalThis.RWJS_EXP_RSC ? 'enabled' : 'disabled'}

+
+
+ ) +} + +export default AboutPage diff --git a/packages/cli/src/commands/experimental/templates/rsc/App.css.template b/packages/cli/src/commands/experimental/templates/rsc/App.css.template deleted file mode 100644 index b2d3dc07c3d1..000000000000 --- a/packages/cli/src/commands/experimental/templates/rsc/App.css.template +++ /dev/null @@ -1,3 +0,0 @@ -h1 { - text-decoration: underline; -} diff --git a/packages/cli/src/commands/experimental/templates/rsc/HomePage.css.template b/packages/cli/src/commands/experimental/templates/rsc/HomePage.css.template new file mode 100644 index 000000000000..9be6b50cd8f7 --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/HomePage.css.template @@ -0,0 +1,2 @@ +.home-page { +} diff --git a/packages/cli/src/commands/experimental/templates/rsc/App.module.css.template b/packages/cli/src/commands/experimental/templates/rsc/HomePage.module.css.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/rsc/App.module.css.template rename to packages/cli/src/commands/experimental/templates/rsc/HomePage.module.css.template diff --git a/packages/cli/src/commands/experimental/templates/rsc/App.tsx.template b/packages/cli/src/commands/experimental/templates/rsc/HomePage.tsx.template similarity index 79% rename from packages/cli/src/commands/experimental/templates/rsc/App.tsx.template rename to packages/cli/src/commands/experimental/templates/rsc/HomePage.tsx.template index eeef58d34680..9a41caf53190 100644 --- a/packages/cli/src/commands/experimental/templates/rsc/App.tsx.template +++ b/packages/cli/src/commands/experimental/templates/rsc/HomePage.tsx.template @@ -1,20 +1,20 @@ import { Assets } from '@redwoodjs/vite/assets' import { ProdRwRscServerGlobal } from '@redwoodjs/vite/rwRscGlobal' -// @ts-expect-error no types -import styles from './App.module.css' import { Counter } from './Counter' +// @ts-expect-error no types +import styles from './HomePage.module.css' -import './App.css' +import './HomePage.css' // TODO (RSC) Something like this will probably be needed // const RwRscGlobal = import.meta.env.PROD ? ProdRwRscServerGlobal : DevRwRscServerGlobal; globalThis.rwRscGlobal = new ProdRwRscServerGlobal() -const App = ({ name = 'Anonymous' }) => { +const HomePage = ({ name = 'Anonymous' }) => { return ( - <> +
{/* TODO (RSC) should be part of the router later */}
@@ -22,8 +22,8 @@ const App = ({ name = 'Anonymous' }) => {

This is a server component.

- +
) } -export default App +export default HomePage diff --git a/packages/cli/src/commands/experimental/templates/rsc/NavigationLayout.css.template b/packages/cli/src/commands/experimental/templates/rsc/NavigationLayout.css.template new file mode 100644 index 000000000000..a3e7be665c31 --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/NavigationLayout.css.template @@ -0,0 +1,32 @@ +.navigation-layout { + & nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px; + background-color: color-mix(in srgb, yellow 50%, transparent); + border-bottom: 2px dashed color-mix(in srgb, yellow 90%, black); + } + + & ul { + list-style: none; + display: flex; + margin: 0; + padding: 0; + } + + & li { + margin-right: 10px; + } + + & a { + text-decoration: none; + color: #333; + padding: 5px; + border-bottom: 2px solid transparent; + } + + & a:hover { + border-bottom: 2px solid #333; + } +} diff --git a/packages/cli/src/commands/experimental/templates/rsc/NavigationLayout.tsx.template b/packages/cli/src/commands/experimental/templates/rsc/NavigationLayout.tsx.template new file mode 100644 index 000000000000..4f13e197309a --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/NavigationLayout.tsx.template @@ -0,0 +1,27 @@ +import { Link, routes } from '@redwoodjs/router' + +import './NavigationLayout.css' + +type NavigationLayoutProps = { + children?: React.ReactNode +} + +const NavigationLayout = ({ children }: NavigationLayoutProps) => { + return ( +
+ +
{children}
+
+ ) +} + +export default NavigationLayout diff --git a/packages/cli/src/commands/experimental/templates/rsc/Routes.tsx.template b/packages/cli/src/commands/experimental/templates/rsc/Routes.tsx.template new file mode 100644 index 000000000000..89a1df33eef0 --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/Routes.tsx.template @@ -0,0 +1,31 @@ +// In this file, all Page components from 'src/pages` are auto-imported. Nested +// directories are supported, and should be uppercase. Each subdirectory will be +// prepended onto the component name. +// +// Examples: +// +// 'src/pages/HomePage/HomePage.js' -> HomePage +// 'src/pages/Admin/BooksPage/BooksPage.js' -> AdminBooksPage + +import { Router, Route, Set } from '@redwoodjs/router' +import { serve } from '@redwoodjs/vite/client' + +import NavigationLayout from './layouts/NavigationLayout/NavigationLayout' +import NotFoundPage from './pages/NotFoundPage/NotFoundPage' + +const AboutPage = serve('AboutPage') +const HomePage = serve('HomePage') + +const Routes = () => { + return ( + + + + + + + + ) +} + +export default Routes diff --git a/packages/cli/src/commands/experimental/templates/rsc/entries.ts.template b/packages/cli/src/commands/experimental/templates/rsc/entries.ts.template index f6fc2a9a6d58..c5b1f644a370 100644 --- a/packages/cli/src/commands/experimental/templates/rsc/entries.ts.template +++ b/packages/cli/src/commands/experimental/templates/rsc/entries.ts.template @@ -4,8 +4,10 @@ export default defineEntries( // getEntry async (id) => { switch (id) { - case 'App': - return import('./App') + case 'AboutPage': + return import('./AboutPage') + case 'HomePage': + return import('./HomePage') default: return null } diff --git a/packages/cli/src/commands/experimental/templates/rsc/entry.client.tsx.template b/packages/cli/src/commands/experimental/templates/rsc/entry.client.tsx.template index b6f912acb0cd..b7c0b5061610 100644 --- a/packages/cli/src/commands/experimental/templates/rsc/entry.client.tsx.template +++ b/packages/cli/src/commands/experimental/templates/rsc/entry.client.tsx.template @@ -1,10 +1,20 @@ import { createRoot } from 'react-dom/client' -import { serve } from '@redwoodjs/vite/client' +import { FatalErrorBoundary } from '@redwoodjs/web' -const redwoodAppElement = document.getElementById('redwood-app') +import FatalErrorPage from './pages/FatalErrorPage/FatalErrorPage' +import Routes from './Routes' -const App = serve('App') +const redwoodAppElement = document.getElementById('redwood-app') const root = createRoot(redwoodAppElement) -root.render() + +const App = () => { + return ( + + + + ) +} + +root.render() diff --git a/packages/cli/src/commands/experimental/templates/rsc/index.css.template b/packages/cli/src/commands/experimental/templates/rsc/index.css.template new file mode 100644 index 000000000000..57c14ee231a9 --- /dev/null +++ b/packages/cli/src/commands/experimental/templates/rsc/index.css.template @@ -0,0 +1,4 @@ +html, body { + margin: 0; + padding: 0; +} diff --git a/packages/cli/src/commands/experimental/templates/rsc/vite-npm-4.4.9-e845c1bbf8.patch.template b/packages/cli/src/commands/experimental/templates/rsc/vite-npm-4.4.9-e845c1bbf8.patch.template deleted file mode 100644 index eb67d7906284..000000000000 --- a/packages/cli/src/commands/experimental/templates/rsc/vite-npm-4.4.9-e845c1bbf8.patch.template +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/dist/node/chunks/dep-df561101.js b/dist/node/chunks/dep-df561101.js -index 1bc8674177fe73120171b22436e6104713c5d764..f0fee7b385868cb01c6d47b80d7f64a7368c0412 100644 ---- a/dist/node/chunks/dep-df561101.js -+++ b/dist/node/chunks/dep-df561101.js -@@ -55890,12 +55890,12 @@ async function instantiateModule(url, server, context = { global }, urlStack = [ - }; - urlStack = urlStack.concat(url); - const isCircular = (url) => urlStack.includes(url); -- const { isProduction, resolve: { dedupe, preserveSymlinks }, root, } = server.config; -+ const { isProduction, resolve: { dedupe, preserveSymlinks, conditions }, root, } = server.config; - const resolveOptions = { - mainFields: ['main'], - browserField: true, - conditions: [], -- overrideConditions: ['production', 'development'], -+ overrideConditions: [...conditions, 'production', 'development'], - extensions: ['.js', '.cjs', '.json'], - dedupe, - preserveSymlinks, diff --git a/packages/cli/src/commands/experimental/util.js b/packages/cli/src/commands/experimental/util.js index 0dd02bf300b8..ba84efad2118 100644 --- a/packages/cli/src/commands/experimental/util.js +++ b/packages/cli/src/commands/experimental/util.js @@ -44,13 +44,17 @@ export const printTaskEpilogue = (command, description, topicId) => { ) } -export const isServerFileSetup = () => { +export const serverFileExists = () => { const serverFilePath = path.join( getPaths().api.src, `server.${isTypeScriptProject() ? 'ts' : 'js'}` ) - if (!fs.existsSync(serverFilePath)) { + return fs.existsSync(serverFilePath) +} + +export const isServerFileSetup = () => { + if (!serverFileExists) { throw new Error( 'RedwoodJS Realtime requires a serverful environment. Please run `yarn rw exp setup-server-file` first.' ) @@ -59,15 +63,18 @@ export const isServerFileSetup = () => { return true } -export const isRealtimeSetup = () => { +export const realtimeExists = () => { const realtimePath = path.join( getPaths().api.lib, `realtime.${isTypeScriptProject() ? 'ts' : 'js'}` ) + return fs.existsSync(realtimePath) +} - if (!fs.existsSync(realtimePath)) { +export const isRealtimeSetup = () => { + if (!realtimeExists) { throw new Error( - 'Adding realtime events to requires that RedwoodJS Realtime be setup. Please run `yarn rw exp setup-realtime` first.' + 'Adding realtime events requires that RedwoodJS Realtime be setup. Please run `yarn setup realtime` first.' ) } diff --git a/packages/cli/src/commands/experimental/generateRealtime.js b/packages/cli/src/commands/generate/realtime/realtime.js similarity index 67% rename from packages/cli/src/commands/experimental/generateRealtime.js rename to packages/cli/src/commands/generate/realtime/realtime.js index f10c8e0c002f..ea574342db8a 100644 --- a/packages/cli/src/commands/experimental/generateRealtime.js +++ b/packages/cli/src/commands/generate/realtime/realtime.js @@ -1,17 +1,12 @@ import { recordTelemetryAttributes } from '@redwoodjs/cli-helpers' -import { getEpilogue } from './util' - -export const EXPERIMENTAL_TOPIC_ID = 5002 - -export const command = 'generate-realtime ' +export const command = 'realtime ' export const description = - 'Generate a subscription or live query used with the experimental RedwoodJS Realtime feature' + 'Generate a subscription or live query used with RedwoodJS Realtime' export function builder(yargs) { yargs - // .scriptName('rw exp generate-realtime') .positional('name', { type: 'string', description: @@ -36,16 +31,15 @@ export function builder(yargs) { description: 'Print more logs', type: 'boolean', }) - .epilogue(getEpilogue(command, description, EXPERIMENTAL_TOPIC_ID, true)) } export async function handler(options) { recordTelemetryAttributes({ - command: 'experimental generate-realtime', + command: 'generate realtime', type: options.type, force: options.force, verbose: options.verbose, }) - const { handler } = await import('./generateRealtimeHandler.js') + const { handler } = await import('./realtimeHandler.js') return handler(options) } diff --git a/packages/cli/src/commands/experimental/generateRealtimeHandler.js b/packages/cli/src/commands/generate/realtime/realtimeHandler.js similarity index 90% rename from packages/cli/src/commands/experimental/generateRealtimeHandler.js rename to packages/cli/src/commands/generate/realtime/realtimeHandler.js index 84c7a6fc4a75..1ce7f8a7ae56 100644 --- a/packages/cli/src/commands/experimental/generateRealtimeHandler.js +++ b/packages/cli/src/commands/generate/realtime/realtimeHandler.js @@ -9,17 +9,16 @@ import prompts from 'prompts' import { generate as generateTypes } from '@redwoodjs/internal/dist/generate/generate' import { errorTelemetry } from '@redwoodjs/telemetry' +// Move this check out of experimental when server file is moved as well import { generateTemplate, getPaths, transformTSToJS, writeFile, -} from '../../lib' -import c from '../../lib/colors' -import { isTypeScriptProject } from '../../lib/project' - -import { command, description, EXPERIMENTAL_TOPIC_ID } from './setupRealtime' -import { printTaskEpilogue, isServerFileSetup, isRealtimeSetup } from './util' +} from '../../../lib' +import c from '../../../lib/colors' +import { isTypeScriptProject } from '../../../lib/project' +import { isRealtimeSetup, isServerFileSetup } from '../../experimental/util.js' const templateVariables = (name) => { name = singular(name.toLowerCase()) @@ -74,20 +73,6 @@ export async function handler({ name, type, force, verbose }) { const tasks = new Listr( [ - { - title: 'Confirmation', - task: async (_ctx, task) => { - const confirmation = await task.prompt({ - type: 'Confirm', - message: - 'Realtime is currently an experimental RedwoodJS feature. Continue?', - }) - - if (!confirmation) { - throw new Error('User aborted') - } - }, - }, { title: 'Checking for realtime environment prerequisites ...', task: () => { @@ -248,11 +233,6 @@ export async function handler({ name, type, force, verbose }) { ) }, }, - { - task: () => { - printTaskEpilogue(command, description, EXPERIMENTAL_TOPIC_ID) - }, - }, ], { rendererOptions: { collapseSubtasks: false, persistentOutput: true }, diff --git a/packages/cli/src/commands/generate/realtime/templates/liveQueries/.keep b/packages/cli/src/commands/generate/realtime/templates/liveQueries/.keep new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/packages/cli/src/commands/experimental/templates/liveQueries/blank/blank.sdl.ts.template b/packages/cli/src/commands/generate/realtime/templates/liveQueries/blank/blank.sdl.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/liveQueries/blank/blank.sdl.ts.template rename to packages/cli/src/commands/generate/realtime/templates/liveQueries/blank/blank.sdl.ts.template diff --git a/packages/cli/src/commands/experimental/templates/liveQueries/blank/blank.service.ts.template b/packages/cli/src/commands/generate/realtime/templates/liveQueries/blank/blank.service.ts.template similarity index 96% rename from packages/cli/src/commands/experimental/templates/liveQueries/blank/blank.service.ts.template rename to packages/cli/src/commands/generate/realtime/templates/liveQueries/blank/blank.service.ts.template index 7c25504efdb5..a14fb0455103 100644 --- a/packages/cli/src/commands/experimental/templates/liveQueries/blank/blank.service.ts.template +++ b/packages/cli/src/commands/generate/realtime/templates/liveQueries/blank/blank.service.ts.template @@ -1,5 +1,5 @@ // api/src/services/${name}s/${name}s.ts -import type { LiveQueryStorageMechanism } from '@redwoodjs/graphql-server' +import type { LiveQueryStorageMechanism } from '@redwoodjs/realtime' import { logger } from 'src/lib/logger' diff --git a/packages/cli/src/commands/generate/realtime/templates/realtime.ts.template b/packages/cli/src/commands/generate/realtime/templates/realtime.ts.template new file mode 100644 index 000000000000..33028f34177a --- /dev/null +++ b/packages/cli/src/commands/generate/realtime/templates/realtime.ts.template @@ -0,0 +1,42 @@ +import { RedwoodRealtimeOptions } from '@redwoodjs/realtime' + +import subscriptions from 'src/subscriptions/**/*.{js,ts}' + +// if using a Redis store +// import { Redis } from 'ioredis' +// const publishClient = new Redis() +// const subscribeClient = new Redis() + +/** + * Configure RedwoodJS Realtime + * + * See https://redwoodjs.com/docs/realtime + * + * Realtime supports Live Queries and Subscriptions over GraphQL SSE. + * + * Live Queries are GraphQL queries that are automatically re-run when the data they depend on changes. + * + * Subscriptions are GraphQL queries that are run when a client subscribes to a channel. + * + * Redwood Realtime + * - uses a publish/subscribe model to broadcast data to clients. + * - uses a store to persist Live Query and Subscription data. + * + * Redwood Realtime supports in-memory and Redis stores: + * - In-memory stores are useful for development and testing. + * - Redis stores are useful for production. + * + */ +export const realtime: RedwoodRealtimeOptions = { + subscriptions: { + subscriptions, + store: 'in-memory', + // if using a Redis store + // store: { redis: { publishClient, subscribeClient } }, + }, + liveQueries: { + store: 'in-memory', + // if using a Redis store + // store: { redis: { publishClient, subscribeClient } }, + }, +} diff --git a/packages/cli/src/commands/generate/realtime/templates/subscriptions/.keep b/packages/cli/src/commands/generate/realtime/templates/subscriptions/.keep new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/packages/cli/src/commands/experimental/templates/subscriptions/blank/blank.sdl.ts.template b/packages/cli/src/commands/generate/realtime/templates/subscriptions/blank/blank.sdl.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/subscriptions/blank/blank.sdl.ts.template rename to packages/cli/src/commands/generate/realtime/templates/subscriptions/blank/blank.sdl.ts.template diff --git a/packages/cli/src/commands/experimental/templates/subscriptions/blank/blank.service.ts.template b/packages/cli/src/commands/generate/realtime/templates/subscriptions/blank/blank.service.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/subscriptions/blank/blank.service.ts.template rename to packages/cli/src/commands/generate/realtime/templates/subscriptions/blank/blank.service.ts.template diff --git a/packages/cli/src/commands/experimental/templates/subscriptions/blank/blank.ts.template b/packages/cli/src/commands/generate/realtime/templates/subscriptions/blank/blank.ts.template similarity index 95% rename from packages/cli/src/commands/experimental/templates/subscriptions/blank/blank.ts.template rename to packages/cli/src/commands/generate/realtime/templates/subscriptions/blank/blank.ts.template index 341f9752d2de..4118e11226cf 100644 --- a/packages/cli/src/commands/experimental/templates/subscriptions/blank/blank.ts.template +++ b/packages/cli/src/commands/generate/realtime/templates/subscriptions/blank/blank.ts.template @@ -1,6 +1,6 @@ import gql from 'graphql-tag' -import type { PubSub } from '@redwoodjs/graphql-server' +import type { PubSub } from '@redwoodjs/realtime' import { logger } from 'src/lib/logger' diff --git a/packages/cli/src/commands/serve.js b/packages/cli/src/commands/serve.js index 10475aa1a83f..105474462bc9 100644 --- a/packages/cli/src/commands/serve.js +++ b/packages/cli/src/commands/serve.js @@ -47,12 +47,14 @@ export const builder = async (yargs) => { './serveBothHandler.js' ) await bothExperimentalServerFileHandler() - } else if (getConfig().experimental?.rsc?.enabled) { - const { bothRscServerHandler } = await import('./serveBothHandler.js') - await bothRscServerHandler(argv) - } else if (getConfig().experimental?.streamingSsr?.enabled) { - const { bothSsrServerHandler } = await import('./serveBothHandler.js') - await bothSsrServerHandler(argv) + } else if ( + getConfig().experimental?.rsc?.enabled || + getConfig().experimental?.streamingSsr?.enabled + ) { + const { bothSsrRscServerHandler } = await import( + './serveBothHandler.js' + ) + await bothSsrRscServerHandler(argv) } else { // Wanted to use the new web-server package here, but can't because // of backwards compatibility reasons. With `bothServerHandler` both diff --git a/packages/cli/src/commands/serveBothHandler.js b/packages/cli/src/commands/serveBothHandler.js index 79b6921f6bd5..c7892917116a 100644 --- a/packages/cli/src/commands/serveBothHandler.js +++ b/packages/cli/src/commands/serveBothHandler.js @@ -14,19 +14,10 @@ import { getConfig, getPaths } from '@redwoodjs/project-config' export const bothExperimentalServerFileHandler = async () => { logExperimentalHeader() - if (getConfig().experimental?.rsc?.enabled) { - logSkippingFastifyWebServer() - - await execa( - 'node', - ['./node_modules/@redwoodjs/vite/dist/runRscFeServer.js'], - { - cwd: getPaths().base, - stdio: 'inherit', - shell: true, - } - ) - } else if (getConfig().experimental?.streamingSsr?.enabled) { + if ( + getConfig().experimental?.rsc?.enabled || + getConfig().experimental?.streamingSsr?.enabled + ) { logSkippingFastifyWebServer() await execa('yarn', ['rw-serve-fe'], { @@ -47,41 +38,17 @@ export const bothExperimentalServerFileHandler = async () => { } } -export const bothRscServerHandler = async (argv) => { - const { apiServerHandler } = await import('./serveApiHandler.js') - - // TODO (RSC) Allow specifying port, socket and apiRootPath - const apiPromise = apiServerHandler({ - ...argv, - port: 8911, - apiRootPath: '/', - }) - - // TODO (RSC) More gracefully handle Ctrl-C - const fePromise = execa( - 'node', - ['./node_modules/@redwoodjs/vite/dist/runRscFeServer.js'], - { - cwd: getPaths().base, - stdio: 'inherit', - shell: true, - } - ) - - await Promise.all([apiPromise, fePromise]) -} - -export const bothSsrServerHandler = async (argv) => { +export const bothSsrRscServerHandler = async (argv) => { const { apiServerHandler } = await import('./serveApiHandler.js') - // TODO (STREAMING) Allow specifying port, socket and apiRootPath + // TODO Allow specifying port, socket and apiRootPath const apiPromise = apiServerHandler({ ...argv, port: 8911, apiRootPath: '/', }) - // TODO (STREAMING) More gracefully handle Ctrl-C + // TODO More gracefully handle Ctrl-C // Right now you get a big red error box when you kill the process const fePromise = execa('yarn', ['rw-serve-fe'], { cwd: getPaths().web.base, diff --git a/packages/cli/src/commands/setup/graphiql/supportedProviders.js b/packages/cli/src/commands/setup/graphiql/supportedProviders.js index fdb50cafa9b5..f51fca9e8a3e 100644 --- a/packages/cli/src/commands/setup/graphiql/supportedProviders.js +++ b/packages/cli/src/commands/setup/graphiql/supportedProviders.js @@ -20,7 +20,9 @@ const getDBAuthHeader = async (userId) => { ) } - const { encryptSession } = await import('@redwoodjs/auth-dbauth-api') + const { + default: { encryptSession }, + } = await import('@redwoodjs/auth-dbauth-api') const id = isNumeric(userId) ? parseInt(userId) : userId const cookie = encryptSession(JSON.stringify({ id }) + ';' + uuidv4()) diff --git a/packages/cli/src/commands/experimental/setupRealtime.js b/packages/cli/src/commands/setup/realtime/realtime.js similarity index 61% rename from packages/cli/src/commands/experimental/setupRealtime.js rename to packages/cli/src/commands/setup/realtime/realtime.js index 3c684cf3b436..144e030d332e 100644 --- a/packages/cli/src/commands/experimental/setupRealtime.js +++ b/packages/cli/src/commands/setup/realtime/realtime.js @@ -1,12 +1,8 @@ import { recordTelemetryAttributes } from '@redwoodjs/cli-helpers' -import { getEpilogue } from './util' +export const command = 'realtime' -export const EXPERIMENTAL_TOPIC_ID = 5002 - -export const command = 'setup-realtime' - -export const description = 'Setup the experimental RedwoodJS Realtime feature' +export const description = 'Setup RedwoodJS Realtime' export function builder(yargs) { yargs @@ -14,7 +10,7 @@ export function builder(yargs) { alias: ['e', 'examples'], default: true, description: - 'Include examples how to implement liveQueries and subscriptions', + 'Include examples of how to implement liveQueries and subscriptions', type: 'boolean', }) .option('force', { @@ -29,16 +25,15 @@ export function builder(yargs) { description: 'Print more logs', type: 'boolean', }) - .epilogue(getEpilogue(command, description, EXPERIMENTAL_TOPIC_ID, true)) } export async function handler(options) { recordTelemetryAttributes({ - command: 'experimental setup-realtime', + command: 'setup realtime', includeExamples: options.includeExamples, force: options.force, verbose: options.verbose, }) - const { handler } = await import('./setupRealtimeHandler.js') + const { handler } = await import('./realtimeHandler.js') return handler(options) } diff --git a/packages/cli/src/commands/experimental/setupRealtimeHandler.js b/packages/cli/src/commands/setup/realtime/realtimeHandler.js similarity index 84% rename from packages/cli/src/commands/experimental/setupRealtimeHandler.js rename to packages/cli/src/commands/setup/realtime/realtimeHandler.js index 814929c15056..7764cc340efc 100644 --- a/packages/cli/src/commands/experimental/setupRealtimeHandler.js +++ b/packages/cli/src/commands/setup/realtime/realtimeHandler.js @@ -5,18 +5,17 @@ import { Listr } from 'listr2' import { addApiPackages } from '@redwoodjs/cli-helpers' import { generate as generateTypes } from '@redwoodjs/internal/dist/generate/generate' -import { getConfigPath } from '@redwoodjs/project-config' import { errorTelemetry } from '@redwoodjs/telemetry' -import { getPaths, transformTSToJS, writeFile } from '../../lib' -import c from '../../lib/colors' -import { isTypeScriptProject } from '../../lib/project' - -import { command, description, EXPERIMENTAL_TOPIC_ID } from './setupRealtime' -import { printTaskEpilogue, isServerFileSetup } from './util' +import { getPaths, transformTSToJS, writeFile } from '../../../lib' +import c from '../../../lib/colors' +import { isTypeScriptProject } from '../../../lib/project' +// Move this check out of experimental when server file is moved as well +import { setupServerFileTasks } from '../../experimental/setupServerFileHandler' +import { serverFileExists } from '../../experimental/util' const { version } = JSON.parse( - fs.readFileSync(path.resolve(__dirname, '../../../package.json'), 'utf-8') + fs.readFileSync(path.resolve(__dirname, '../../../../package.json'), 'utf-8') ) export async function handler({ force, includeExamples, verbose }) { @@ -30,26 +29,6 @@ export async function handler({ force, includeExamples, verbose }) { const tasks = new Listr( [ - { - title: 'Confirmation', - task: async (_ctx, task) => { - const confirmation = await task.prompt({ - type: 'Confirm', - message: - 'Realtime is currently an experimental RedwoodJS feature. Continue?', - }) - - if (!confirmation) { - throw new Error('User aborted') - } - }, - }, - { - title: 'Checking for realtime environment prerequisites ...', - task: () => { - isServerFileSetup() - }, - }, addApiPackages(['ioredis@^5', `@redwoodjs/realtime@${version}`]), { title: 'Adding the realtime api lib ...', @@ -366,29 +345,6 @@ export async function handler({ force, includeExamples, verbose }) { ] }, }, - { - title: 'Adding config to redwood.toml...', - task: (_ctx, task) => { - const redwoodTomlPath = getConfigPath() - const configContent = fs.readFileSync(redwoodTomlPath, 'utf-8') - if (!configContent.includes('[experimental.realtime]')) { - // Use string replace to preserve comments and formatting - writeFile( - redwoodTomlPath, - configContent.concat( - `\n[experimental.realtime]\n\tenabled = true\n` - ), - { - overwriteExisting: true, // redwood.toml always exists - } - ) - } else { - task.skip( - `The [experimental.realtime] config block already exists in your 'redwood.toml' file.` - ) - } - }, - }, { title: `Generating types ...`, task: async () => { @@ -398,11 +354,6 @@ export async function handler({ force, includeExamples, verbose }) { ) }, }, - { - task: () => { - printTaskEpilogue(command, description, EXPERIMENTAL_TOPIC_ID) - }, - }, ], { rendererOptions: { collapseSubtasks: false, persistentOutput: true }, @@ -411,6 +362,10 @@ export async function handler({ force, includeExamples, verbose }) { ) try { + if (!serverFileExists()) { + tasks.add(setupServerFileTasks(force)) + } + await tasks.run() } catch (e) { errorTelemetry(process.argv, e.message) diff --git a/packages/cli/src/commands/experimental/templates/defer/fastAndSlowFields/fastAndSlowFields.sdl.template b/packages/cli/src/commands/setup/realtime/templates/defer/fastAndSlowFields/fastAndSlowFields.sdl.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/defer/fastAndSlowFields/fastAndSlowFields.sdl.template rename to packages/cli/src/commands/setup/realtime/templates/defer/fastAndSlowFields/fastAndSlowFields.sdl.template diff --git a/packages/cli/src/commands/experimental/templates/defer/fastAndSlowFields/fastAndSlowFields.ts.template b/packages/cli/src/commands/setup/realtime/templates/defer/fastAndSlowFields/fastAndSlowFields.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/defer/fastAndSlowFields/fastAndSlowFields.ts.template rename to packages/cli/src/commands/setup/realtime/templates/defer/fastAndSlowFields/fastAndSlowFields.ts.template diff --git a/packages/cli/src/commands/setup/realtime/templates/liveQueries/.keep b/packages/cli/src/commands/setup/realtime/templates/liveQueries/.keep new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/packages/cli/src/commands/experimental/templates/liveQueries/auctions/auctions.sdl.ts.template b/packages/cli/src/commands/setup/realtime/templates/liveQueries/auctions/auctions.sdl.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/liveQueries/auctions/auctions.sdl.ts.template rename to packages/cli/src/commands/setup/realtime/templates/liveQueries/auctions/auctions.sdl.ts.template diff --git a/packages/cli/src/commands/experimental/templates/liveQueries/auctions/auctions.ts.template b/packages/cli/src/commands/setup/realtime/templates/liveQueries/auctions/auctions.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/liveQueries/auctions/auctions.ts.template rename to packages/cli/src/commands/setup/realtime/templates/liveQueries/auctions/auctions.ts.template diff --git a/packages/cli/src/commands/experimental/templates/realtime.ts.template b/packages/cli/src/commands/setup/realtime/templates/realtime.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/realtime.ts.template rename to packages/cli/src/commands/setup/realtime/templates/realtime.ts.template diff --git a/packages/cli/src/commands/experimental/templates/stream/alphabet/alphabet.sdl.template b/packages/cli/src/commands/setup/realtime/templates/stream/alphabet/alphabet.sdl.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/stream/alphabet/alphabet.sdl.template rename to packages/cli/src/commands/setup/realtime/templates/stream/alphabet/alphabet.sdl.template diff --git a/packages/cli/src/commands/experimental/templates/stream/alphabet/alphabet.ts.template b/packages/cli/src/commands/setup/realtime/templates/stream/alphabet/alphabet.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/stream/alphabet/alphabet.ts.template rename to packages/cli/src/commands/setup/realtime/templates/stream/alphabet/alphabet.ts.template diff --git a/packages/cli/src/commands/experimental/templates/subscriptions/countdown/countdown.ts.template b/packages/cli/src/commands/setup/realtime/templates/subscriptions/countdown/countdown.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/subscriptions/countdown/countdown.ts.template rename to packages/cli/src/commands/setup/realtime/templates/subscriptions/countdown/countdown.ts.template diff --git a/packages/cli/src/commands/experimental/templates/subscriptions/newMessage/newMessage.ts.template b/packages/cli/src/commands/setup/realtime/templates/subscriptions/newMessage/newMessage.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/subscriptions/newMessage/newMessage.ts.template rename to packages/cli/src/commands/setup/realtime/templates/subscriptions/newMessage/newMessage.ts.template diff --git a/packages/cli/src/commands/experimental/templates/subscriptions/newMessage/rooms.sdl.ts.template b/packages/cli/src/commands/setup/realtime/templates/subscriptions/newMessage/rooms.sdl.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/subscriptions/newMessage/rooms.sdl.ts.template rename to packages/cli/src/commands/setup/realtime/templates/subscriptions/newMessage/rooms.sdl.ts.template diff --git a/packages/cli/src/commands/experimental/templates/subscriptions/newMessage/rooms.ts.template b/packages/cli/src/commands/setup/realtime/templates/subscriptions/newMessage/rooms.ts.template similarity index 100% rename from packages/cli/src/commands/experimental/templates/subscriptions/newMessage/rooms.ts.template rename to packages/cli/src/commands/setup/realtime/templates/subscriptions/newMessage/rooms.ts.template diff --git a/packages/cli/src/commands/setup/ui/libraries/mantine.js b/packages/cli/src/commands/setup/ui/libraries/mantine.js index 8723df80c2c0..d63158285f0b 100644 --- a/packages/cli/src/commands/setup/ui/libraries/mantine.js +++ b/packages/cli/src/commands/setup/ui/libraries/mantine.js @@ -1,6 +1,7 @@ import path from 'path' import execa from 'execa' +import fse from 'fs-extra' import { Listr } from 'listr2' import { recordTelemetryAttributes } from '@redwoodjs/cli-helpers' @@ -28,10 +29,16 @@ const ALL_MANTINE_PACKAGES = [ ] const MANTINE_THEME_AND_COMMENTS = `\ -// This object will be used to override Mantine theme defaults. -// See https://mantine.dev/theming/mantine-provider/#theme-object for theming options +import { createTheme } from '@mantine/core' + +/** + * This object will be used to override Mantine theme defaults. + * See https://mantine.dev/theming/mantine-provider/#theme-object for theming options + * @type {import("@mantine/core").MantineThemeOverride} + */ const theme = {} -export default theme + +export default createTheme(theme) ` export function builder(yargs) { @@ -68,7 +75,9 @@ export async function handler({ force, install, packages }) { const installPackages = ( packages.includes(ALL_KEYWORD) ? ALL_MANTINE_PACKAGES : packages - ).map((pack) => `@mantine/${pack}`) + ) + .map((pack) => `@mantine/${pack}`) + .concat('postcss', 'postcss-preset-mantine', 'postcss-simple-vars') const tasks = new Listr( [ @@ -108,10 +117,37 @@ export async function handler({ force, install, packages }) { }, imports: [ "import { MantineProvider } from '@mantine/core'", - "import * as theme from 'config/mantine.config'", + "import theme from 'config/mantine.config'", + "import '@mantine/core/styles.css'", ], }), }, + { + title: 'Configuring PostCSS...', + task: () => { + /** + * Check if PostCSS config already exists. + * If it exists, throw an error. + */ + const postCSSConfigPath = rwPaths.web.postcss + + if (!force && fse.existsSync(postCSSConfigPath)) { + throw new Error( + 'PostCSS config already exists.\nUse --force to override existing config.' + ) + } else { + const postCSSConfig = fse.readFileSync( + path.join( + __dirname, + '../templates/mantine-postcss.config.js.template' + ), + 'utf-8' + ) + + return fse.outputFileSync(postCSSConfigPath, postCSSConfig) + } + }, + }, { title: `Creating Theme File...`, task: () => { diff --git a/packages/cli/src/commands/setup/ui/templates/mantine-postcss.config.js.template b/packages/cli/src/commands/setup/ui/templates/mantine-postcss.config.js.template new file mode 100644 index 000000000000..a49b840e2f6f --- /dev/null +++ b/packages/cli/src/commands/setup/ui/templates/mantine-postcss.config.js.template @@ -0,0 +1,35 @@ +/** + * `postcss-preset-mantine` includes the following PostCSS plugins: + * - postcss-nested + * - postcss-mixins with Mantine specific mixins + * - Custom plugin with em/rem functions + * Read more: https://mantine.dev/styles/postcss-preset/ + + * `postcss-simple-vars` enables use of SCSS-like variables inside CSS files: + * ```postcss + * $blue : #056ef0; + * $width-sm: rem(37.5); + * $selector: .my-component + * + * @media (min-width: $width-sm) { + * $selector { + * background: $blue; + * } + * } + * ``` + * Read more: https://github.com/postcss/postcss-simple-vars +*/ +module.exports = { + plugins: [ + require('postcss-preset-mantine'), + require('postcss-simple-vars')({ + variables: { + 'mantine-breakpoint-xs': '36em', + 'mantine-breakpoint-sm': '48em', + 'mantine-breakpoint-md': '62em', + 'mantine-breakpoint-lg': '75em', + 'mantine-breakpoint-xl': '88em', + }, + }), + ], +} diff --git a/packages/cli/src/commands/setup/ui/templates/mantine.storybook.preview.js.template b/packages/cli/src/commands/setup/ui/templates/mantine.storybook.preview.js.template index becfab191a9f..1e235f622ca0 100644 --- a/packages/cli/src/commands/setup/ui/templates/mantine.storybook.preview.js.template +++ b/packages/cli/src/commands/setup/ui/templates/mantine.storybook.preview.js.template @@ -1,7 +1,9 @@ import * as React from 'react' import { MantineProvider } from '@mantine/core' -import * as theme from 'config/mantine.config' +import theme from 'config/mantine.config' + +import '@mantine/core/styles.css' const withMantine = (StoryFn) => { return ( diff --git a/packages/cli/src/lib/__tests__/getDevNodeOptions.test.js b/packages/cli/src/lib/__tests__/getDevNodeOptions.test.js new file mode 100644 index 000000000000..cc34d471b9d7 --- /dev/null +++ b/packages/cli/src/lib/__tests__/getDevNodeOptions.test.js @@ -0,0 +1,27 @@ +import { getDevNodeOptions } from '../../commands/devHandler' + +describe('getNodeOptions', () => { + const enableSourceMapsOption = '--enable-source-maps' + + it('defaults to enable-source-maps', () => { + const nodeOptions = getDevNodeOptions() + expect(nodeOptions).toEqual(`NODE_OPTIONS=${enableSourceMapsOption}`) + }) + + it("doesn't specify `--enable-source-maps` twice", () => { + process.env.NODE_OPTIONS = `NODE_OPTIONS=${enableSourceMapsOption}` + + const nodeOptions = getDevNodeOptions() + expect(nodeOptions).toEqual(`NODE_OPTIONS=${enableSourceMapsOption}`) + }) + + it('merges existing options with `--enable-source-maps`', () => { + const existingOptions = '--inspect --no-experimental-fetch' + process.env.NODE_OPTIONS = `NODE_OPTIONS=${existingOptions}` + + const nodeOptions = getDevNodeOptions() + expect(nodeOptions).toEqual( + `NODE_OPTIONS=${existingOptions} ${enableSourceMapsOption}` + ) + }) +}) diff --git a/packages/cli/src/lib/exit.js b/packages/cli/src/lib/exit.js index 5af1e383e027..57c6b079c0a1 100644 --- a/packages/cli/src/lib/exit.js +++ b/packages/cli/src/lib/exit.js @@ -1,4 +1,4 @@ -import boxen from 'boxen' +import chalk from 'chalk' import terminalLink from 'terminal-link' import { v4 as uuidv4 } from 'uuid' @@ -36,26 +36,23 @@ export function exitWithError( // the error in telemetry if needed and if the user chooses to share it const errorReferenceCode = uuidv4() + const line = chalk.red('-'.repeat(process.stderr.columns)) + // Generate and print a nice message to the user const content = [ + line, message, - includeEpilogue && `\n${'-'.repeat(process.stderr.columns - 8)}\n`, + includeEpilogue && `\n${line}`, includeEpilogue && epilogue, includeReferenceCode && ` - Here's your unique error reference to quote: '${errorReferenceCode}'`, + line, ] .filter(Boolean) .join('\n') console.error() - console.error( - boxen(content, { - padding: 1, - borderColor: 'red', - title: `Error`, - titleAlignment: 'left', - }) - ) + console.error(content) // Record the error in telemetry recordTelemetryError(error ?? new Error(message)) diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 9fafa5fa0091..cf6e73e3e5b8 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -22,20 +22,20 @@ "test:watch": "yarn test --watch" }, "dependencies": { - "@babel/cli": "7.23.0", + "@babel/cli": "7.23.4", "@babel/core": "^7.22.20", "@babel/parser": "^7.22.16", "@babel/plugin-transform-typescript": "^7.22.15", - "@babel/runtime-corejs3": "7.23.2", + "@babel/runtime-corejs3": "7.23.5", "@babel/traverse": "^7.22.20", "@iarna/toml": "2.2.5", "@redwoodjs/project-config": "6.0.7", "@svgr/core": "8.0.0", "@svgr/plugin-jsx": "8.0.1", - "@vscode/ripgrep": "1.15.5", - "@whatwg-node/fetch": "0.9.9", + "@vscode/ripgrep": "1.15.6", + "@whatwg-node/fetch": "0.9.14", "cheerio": "1.0.0-rc.12", - "core-js": "3.33.2", + "core-js": "3.33.3", "deepmerge": "4.3.1", "execa": "5.1.1", "fast-glob": "3.3.2", @@ -45,17 +45,17 @@ "pascalcase": "1.0.0", "prettier": "2.8.8", "tasuku": "2.0.1", - "typescript": "5.2.2", + "typescript": "5.3.2", "yargs": "17.7.2" }, "devDependencies": { - "@types/babel__core": "7.20.2", - "@types/fs-extra": "11.0.1", - "@types/jest": "29.5.4", + "@types/babel__core": "7.20.4", + "@types/fs-extra": "11.0.4", + "@types/jest": "29.5.8", "@types/jscodeshift": "0.11.6", "@types/prettier": "2.7.3", - "@types/yargs": "17.0.24", - "fs-extra": "11.1.1", + "@types/yargs": "17.0.31", + "fs-extra": "11.2.0", "tempy": "1.0.1" }, "gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1" diff --git a/packages/codemods/src/codemods/v0.48.x/upgradeYarn/__testfixtures__/default/output/package.json b/packages/codemods/src/codemods/v0.48.x/upgradeYarn/__testfixtures__/default/output/package.json index 20be06ff9ad5..21636434dc0f 100644 --- a/packages/codemods/src/codemods/v0.48.x/upgradeYarn/__testfixtures__/default/output/package.json +++ b/packages/codemods/src/codemods/v0.48.x/upgradeYarn/__testfixtures__/default/output/package.json @@ -21,5 +21,5 @@ "prisma": { "seed": "yarn rw exec seed" }, - "packageManager": "yarn@3.6.3" + "packageManager": "yarn@3.7.0" } diff --git a/packages/core/config/webpack.common.js b/packages/core/config/webpack.common.js index 6a5073366cc8..0e224add37e0 100644 --- a/packages/core/config/webpack.common.js +++ b/packages/core/config/webpack.common.js @@ -281,7 +281,7 @@ module.exports = (webpackEnv) => { }), isEnvProduction && new WebpackManifestPlugin({ - fileName: 'build-manifest.json', + fileName: 'client-build-manifest.json', }), isEnvProduction && new ChunkReferencesPlugin(), ...getSharedPlugins(isEnvProduction), diff --git a/packages/core/package.json b/packages/core/package.json index db675e24c813..dc63a34c54d6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -37,8 +37,8 @@ "test:watch": "yarn test --watch" }, "dependencies": { - "@babel/cli": "7.23.0", - "@babel/runtime-corejs3": "7.23.2", + "@babel/cli": "7.23.4", + "@babel/runtime-corejs3": "7.23.5", "@pmmmwh/react-refresh-webpack-plugin": "0.5.11", "@redwoodjs/cli": "6.0.7", "@redwoodjs/eslint-config": "6.0.7", @@ -49,7 +49,7 @@ "babel-loader": "^9.1.3", "babel-timing": "0.9.1", "copy-webpack-plugin": "11.0.0", - "core-js": "3.33.2", + "core-js": "3.33.3", "css-loader": "6.8.1", "css-minimizer-webpack-plugin": "5.0.1", "dotenv-webpack": "8.0.1", @@ -57,24 +57,24 @@ "html-webpack-plugin": "5.5.3", "lodash": "4.17.21", "mini-css-extract-plugin": "2.7.6", - "nodemon": "2.0.22", + "nodemon": "3.0.2", "null-loader": "4.0.1", "react-refresh": "0.14.0", "resolve-url-loader": "5.0.0", "rimraf": "5.0.5", "style-loader": "3.3.3", - "typescript": "5.2.2", + "typescript": "5.3.2", "url-loader": "4.1.1", "webpack": "5.89.0", - "webpack-bundle-analyzer": "4.9.0", + "webpack-bundle-analyzer": "4.9.1", "webpack-cli": "5.1.4", "webpack-dev-server": "4.15.1", "webpack-manifest-plugin": "5.0.0", - "webpack-merge": "5.9.0", + "webpack-merge": "5.10.0", "webpack-retry-chunk-load-plugin": "3.1.1" }, "devDependencies": { - "@types/lodash": "4.14.195", + "@types/lodash": "4.14.201", "jest": "29.7.0" }, "gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1" diff --git a/packages/create-redwood-app/package.json b/packages/create-redwood-app/package.json index bf2655a75dd5..870baf546f9e 100644 --- a/packages/create-redwood-app/package.json +++ b/packages/create-redwood-app/package.json @@ -20,29 +20,29 @@ "ts-to-js": "yarn node ./tsToJS.mjs" }, "dependencies": { - "@opentelemetry/api": "1.4.1", - "@opentelemetry/exporter-trace-otlp-http": "0.41.2", - "@opentelemetry/resources": "1.15.2", - "@opentelemetry/sdk-trace-node": "1.15.2", - "@opentelemetry/semantic-conventions": "1.15.2", + "@opentelemetry/api": "1.7.0", + "@opentelemetry/exporter-trace-otlp-http": "0.45.1", + "@opentelemetry/resources": "1.18.1", + "@opentelemetry/sdk-trace-node": "1.18.1", + "@opentelemetry/semantic-conventions": "1.18.1", "@redwoodjs/tui": "6.0.7", "chalk": "4.1.2", "check-node-version": "4.2.1", - "ci-info": "3.8.0", - "envinfo": "7.9.0", + "ci-info": "3.9.0", + "envinfo": "7.11.0", "execa": "5.1.1", - "fs-extra": "11.1.1", + "fs-extra": "11.2.0", "semver": "7.5.4", - "systeminformation": "5.21.17", + "systeminformation": "5.21.20", "terminal-link": "2.1.1", "untildify": "4.0.0", - "uuid": "9.0.0", + "uuid": "9.0.1", "yargs": "17.7.2" }, "devDependencies": { "@babel/core": "^7.22.20", "@babel/plugin-transform-typescript": "^7.22.15", - "@types/babel__core": "7.20.2", + "@types/babel__core": "7.20.4", "esbuild": "0.19.5", "jest": "29.7.0", "klaw-sync": "6.0.0" diff --git a/packages/create-redwood-app/src/create-redwood-app.js b/packages/create-redwood-app/src/create-redwood-app.js index f40fb0fd3c65..266de299fdaa 100644 --- a/packages/create-redwood-app/src/create-redwood-app.js +++ b/packages/create-redwood-app/src/create-redwood-app.js @@ -45,6 +45,18 @@ function isYarnBerryOrNewer() { return false } +const USE_GITPOD_TEXT = [ + ` As an alternative solution, you can launch a Redwood project using GitPod instead. GitPod is a an online IDE.`, + ` See: ${terminalLink( + 'Launch Redwood using GitPod', + 'https://gitpod.io/#https://github.com/redwoodjs/starter', + { + fallback: () => + 'Launch Redwood using GitPod https://gitpod.io/#https://github.com/redwoodjs/starter', + } + )}`, +] + async function executeCompatibilityCheck(templateDir) { const tuiContent = new ReactiveTUIContent({ mode: 'text', @@ -105,6 +117,8 @@ async function executeCompatibilityCheck(templateDir) { 'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites', } )}`, + '', + ...USE_GITPOD_TEXT, ].join('\n') ) @@ -138,6 +152,8 @@ async function executeCompatibilityCheck(templateDir) { 'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites', } )}`, + '', + ...USE_GITPOD_TEXT, ].join('\n') ) @@ -172,6 +188,8 @@ async function executeCompatibilityCheck(templateDir) { 'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites', } )}`, + '', + ...USE_GITPOD_TEXT, ].join('\n') ) @@ -212,7 +230,9 @@ function checkNodeAndYarnVersion(templateDir) { }) } -async function createProjectFiles(newAppDir, { templateDir, overwrite }) { +async function createProjectFiles(appDir, { templateDir, overwrite }) { + let newAppDir = appDir + const tuiContent = new ReactiveTUIContent({ mode: 'text', content: 'Creating project files', @@ -222,26 +242,7 @@ async function createProjectFiles(newAppDir, { templateDir, overwrite }) { }) tui.startReactive(tuiContent) - // Check if the new app directory already exists - if (fs.existsSync(newAppDir) && !overwrite) { - // Check if the directory contains files and show an error if it does - if (fs.readdirSync(newAppDir).length > 0) { - tui.stopReactive(true) - tui.displayError( - 'Project directory already contains files', - [ - `'${RedwoodStyling.info(newAppDir)}' already exists and is not empty`, - ``, - `You can use the '${RedwoodStyling.info( - 'overwrite' - )}' flag to create the project even if target directory isn't empty`, - ].join('\n') - ) - recordErrorViaTelemetry(`Project directory already contains files`) - await shutdownTelemetry() - process.exit(1) - } - } + newAppDir = await doesDirectoryAlreadyExist(newAppDir, { overwrite }) // Ensure the new app directory exists fs.ensureDirSync(path.dirname(newAppDir)) @@ -266,6 +267,8 @@ async function createProjectFiles(newAppDir, { templateDir, overwrite }) { content: `${RedwoodStyling.green('✔')} Project files created`, }) tui.stopReactive() + + return newAppDir } async function installNodeModules(newAppDir) { @@ -501,6 +504,114 @@ async function handleGitPreference(gitInitFlag) { } } +async function doesDirectoryAlreadyExist( + appDir, + { overwrite, suppressWarning } +) { + let newAppDir = appDir + + // Check if the new app directory already exists + if (fs.existsSync(newAppDir) && !overwrite) { + // Check if the directory contains files and show an error if it does + if (fs.readdirSync(newAppDir).length > 0) { + const styledAppDir = RedwoodStyling.info(newAppDir) + + if (!suppressWarning) { + tui.stopReactive(true) + tui.displayWarning( + 'Project directory already contains files', + [`'${styledAppDir}' already exists and is not empty`].join('\n') + ) + } + + try { + const response = await tui.prompt({ + type: 'select', + name: 'projectDirectoryAlreadyExists', + message: 'How would you like to proceed?', + choices: [ + 'Quit install', + `Overwrite files in '${styledAppDir}' and continue install`, + 'Specify a different directory', + ], + initial: 0, + }) + + // overwrite the existing files + if ( + response.projectDirectoryAlreadyExists === + `Overwrite files in '${styledAppDir}' and continue install` + ) { + // blow away the existing directory and create a new one + await fs.remove(newAppDir) + } // specify a different directory + else if ( + response.projectDirectoryAlreadyExists === + 'Specify a different directory' + ) { + const newDirectoryName = await handleNewDirectoryNamePreference() + + if (/^~\w/.test(newDirectoryName)) { + tui.stopReactive(true) + tui.displayError( + 'The `~username` syntax is not supported here', + 'Please use the full path or specify the target directory on the command line.' + ) + + // Calling doesDirectoryAlreadyExist again with the same old + // appDir as a way to prompt the user for a new directory name + // after displaying the error above + newAppDir = await doesDirectoryAlreadyExist(appDir, { + overwrite, + suppressWarning: true, + }) + } else { + newAppDir = path.resolve(process.cwd(), untildify(newDirectoryName)) + } + + // check to see if the new directory exists + newAppDir = await doesDirectoryAlreadyExist(newAppDir, { overwrite }) + } // Quit Install and Throw and Error + else if (response.projectDirectoryAlreadyExists === 'Quit install') { + // quit and throw an error + recordErrorViaTelemetry( + 'User quit after directory already exists error' + ) + await shutdownTelemetry() + process.exit(1) + } + // overwrite the existing files + } catch (_error) { + recordErrorViaTelemetry( + `User cancelled install after directory already exists error` + ) + await shutdownTelemetry() + process.exit(1) + } + } + } + + return newAppDir +} + +async function handleNewDirectoryNamePreference() { + try { + const response = await tui.prompt({ + type: 'input', + name: 'targetDirectoryInput', + message: 'What directory would you like to create the app in?', + initial: 'my-redwood-app', + }) + return response.targetDirectoryInput + } catch (_error) { + recordErrorViaTelemetry( + 'User cancelled install at specify a different directory prompt' + ) + await shutdownTelemetry() + process.exit(1) + } +} + /** * @param {string?} commitMessageFlag */ @@ -674,10 +785,11 @@ async function createRedwoodApp() { yarnInstall = await handleYarnInstallPreference(yarnInstallFlag) } - const newAppDir = path.resolve(process.cwd(), targetDir) + let newAppDir = path.resolve(process.cwd(), targetDir) // Create project files - await createProjectFiles(newAppDir, { templateDir, overwrite }) + // if this directory already exists then createProjectFiles may set a new directory name + newAppDir = await createProjectFiles(newAppDir, { templateDir, overwrite }) // Install the node packages if (yarnInstall) { @@ -717,7 +829,7 @@ async function createRedwoodApp() { ...[ `${RedwoodStyling.redwood( ` > ${RedwoodStyling.green( - `cd ${path.relative(process.cwd(), targetDir)}` + `cd ${path.relative(process.cwd(), newAppDir)}` )}` )}`, !yarnInstall && diff --git a/packages/create-redwood-app/templates/js/.nvmrc b/packages/create-redwood-app/templates/js/.nvmrc index b009dfb9d9f9..3f430af82b3d 100644 --- a/packages/create-redwood-app/templates/js/.nvmrc +++ b/packages/create-redwood-app/templates/js/.nvmrc @@ -1 +1 @@ -lts/* +v18 diff --git a/packages/create-redwood-app/templates/js/.vscode/launch.json b/packages/create-redwood-app/templates/js/.vscode/launch.json index ea5956966fff..340be43c34da 100644 --- a/packages/create-redwood-app/templates/js/.vscode/launch.json +++ b/packages/create-redwood-app/templates/js/.vscode/launch.json @@ -2,7 +2,7 @@ "version": "0.3.0", "configurations": [ { - "command": "yarn redwood dev --apiDebugPort 18911", + "command": "yarn redwood dev --apiDebugPort 18911", // you can add --fwd='--open=false' to prevent the browser from opening "name": "Run Dev Server", "request": "launch", "type": "node-terminal" @@ -18,7 +18,16 @@ "localRoot": "${workspaceFolder}/node_modules/@redwoodjs/api-server/dist", "remoteRoot": "${workspaceFolder}/node_modules/@redwoodjs/api-server/dist", "sourceMaps": true, - "restart": true + "restart": true, + "preLaunchTask": "WaitForDevServer", + }, + { + "name": "Launch Web debugger", + "type": "chrome", + "request": "launch", + "url": "http://localhost:8910", + "webRoot": "${workspaceRoot}/web/src", + "preLaunchTask": "WaitForDevServer", }, { "command": "yarn redwood test api", @@ -32,5 +41,16 @@ "request": "launch", "type": "node-terminal" }, + ], + "compounds": [ + { + "name": "Start Debug", + "configurations": [ + "Run Dev Server", + "Attach API debugger", + "Launch Web debugger" + ], + "stopAll": true + } ] } diff --git a/packages/create-redwood-app/templates/js/.vscode/tasks.json b/packages/create-redwood-app/templates/js/.vscode/tasks.json new file mode 100644 index 000000000000..549249ec6324 --- /dev/null +++ b/packages/create-redwood-app/templates/js/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "WaitForDevServer", + "group": "none", + "type": "shell", + "command": "bash", + "args": [ + "-c", + "while ! echo -n > /dev/tcp/localhost/18911; do sleep 1; done;" + ], + "windows": { + "command": "powershell", + "args": [ + "-NoProfile", + "-ExecutionPolicy", "Bypass", + "while (-not (Test-NetConnection -ComputerName localhost -Port 18911)) { Start-Sleep -Seconds 1 };" + ] + }, + "presentation": { + "reveal": "silent", + "revealProblems": "onProblem", + "panel": "shared", + "close": true + } + }, + ] +} diff --git a/packages/create-redwood-app/templates/js/.yarn/releases/yarn-3.6.3.cjs b/packages/create-redwood-app/templates/js/.yarn/releases/yarn-3.6.3.cjs deleted file mode 100755 index 9837c3028118..000000000000 --- a/packages/create-redwood-app/templates/js/.yarn/releases/yarn-3.6.3.cjs +++ /dev/null @@ -1,874 +0,0 @@ -#!/usr/bin/env node -/* eslint-disable */ -//prettier-ignore -(()=>{var Dge=Object.create;var lS=Object.defineProperty;var kge=Object.getOwnPropertyDescriptor;var Rge=Object.getOwnPropertyNames;var Fge=Object.getPrototypeOf,Nge=Object.prototype.hasOwnProperty;var J=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+r+'" is not supported')});var Tge=(r,e)=>()=>(r&&(e=r(r=0)),e);var w=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),ut=(r,e)=>{for(var t in e)lS(r,t,{get:e[t],enumerable:!0})},Lge=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Rge(e))!Nge.call(r,n)&&n!==t&&lS(r,n,{get:()=>e[n],enumerable:!(i=kge(e,n))||i.enumerable});return r};var Pe=(r,e,t)=>(t=r!=null?Dge(Fge(r)):{},Lge(e||!r||!r.__esModule?lS(t,"default",{value:r,enumerable:!0}):t,r));var PK=w((z7e,xK)=>{xK.exports=vK;vK.sync=ife;var QK=J("fs");function rfe(r,e){var t=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!t||(t=t.split(";"),t.indexOf("")!==-1))return!0;for(var i=0;i{FK.exports=kK;kK.sync=nfe;var DK=J("fs");function kK(r,e,t){DK.stat(r,function(i,n){t(i,i?!1:RK(n,e))})}function nfe(r,e){return RK(DK.statSync(r),e)}function RK(r,e){return r.isFile()&&sfe(r,e)}function sfe(r,e){var t=r.mode,i=r.uid,n=r.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),l=parseInt("010",8),c=parseInt("001",8),u=a|l,g=t&c||t&l&&n===o||t&a&&i===s||t&u&&s===0;return g}});var LK=w((Z7e,TK)=>{var X7e=J("fs"),lI;process.platform==="win32"||global.TESTING_WINDOWS?lI=PK():lI=NK();TK.exports=SS;SS.sync=ofe;function SS(r,e,t){if(typeof e=="function"&&(t=e,e={}),!t){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(i,n){SS(r,e||{},function(s,o){s?n(s):i(o)})})}lI(r,e||{},function(i,n){i&&(i.code==="EACCES"||e&&e.ignoreErrors)&&(i=null,n=!1),t(i,n)})}function ofe(r,e){try{return lI.sync(r,e||{})}catch(t){if(e&&e.ignoreErrors||t.code==="EACCES")return!1;throw t}}});var YK=w((_7e,GK)=>{var Dg=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",MK=J("path"),afe=Dg?";":":",OK=LK(),KK=r=>Object.assign(new Error(`not found: ${r}`),{code:"ENOENT"}),UK=(r,e)=>{let t=e.colon||afe,i=r.match(/\//)||Dg&&r.match(/\\/)?[""]:[...Dg?[process.cwd()]:[],...(e.path||process.env.PATH||"").split(t)],n=Dg?e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Dg?n.split(t):[""];return Dg&&r.indexOf(".")!==-1&&s[0]!==""&&s.unshift(""),{pathEnv:i,pathExt:s,pathExtExe:n}},HK=(r,e,t)=>{typeof e=="function"&&(t=e,e={}),e||(e={});let{pathEnv:i,pathExt:n,pathExtExe:s}=UK(r,e),o=[],a=c=>new Promise((u,g)=>{if(c===i.length)return e.all&&o.length?u(o):g(KK(r));let f=i[c],h=/^".*"$/.test(f)?f.slice(1,-1):f,p=MK.join(h,r),C=!h&&/^\.[\\\/]/.test(r)?r.slice(0,2)+p:p;u(l(C,c,0))}),l=(c,u,g)=>new Promise((f,h)=>{if(g===n.length)return f(a(u+1));let p=n[g];OK(c+p,{pathExt:s},(C,y)=>{if(!C&&y)if(e.all)o.push(c+p);else return f(c+p);return f(l(c,u,g+1))})});return t?a(0).then(c=>t(null,c),t):a(0)},Afe=(r,e)=>{e=e||{};let{pathEnv:t,pathExt:i,pathExtExe:n}=UK(r,e),s=[];for(let o=0;o{"use strict";var jK=(r={})=>{let e=r.env||process.env;return(r.platform||process.platform)!=="win32"?"PATH":Object.keys(e).reverse().find(i=>i.toUpperCase()==="PATH")||"Path"};vS.exports=jK;vS.exports.default=jK});var VK=w((eZe,zK)=>{"use strict";var JK=J("path"),lfe=YK(),cfe=qK();function WK(r,e){let t=r.options.env||process.env,i=process.cwd(),n=r.options.cwd!=null,s=n&&process.chdir!==void 0&&!process.chdir.disabled;if(s)try{process.chdir(r.options.cwd)}catch{}let o;try{o=lfe.sync(r.command,{path:t[cfe({env:t})],pathExt:e?JK.delimiter:void 0})}catch{}finally{s&&process.chdir(i)}return o&&(o=JK.resolve(n?r.options.cwd:"",o)),o}function ufe(r){return WK(r)||WK(r,!0)}zK.exports=ufe});var XK=w((tZe,PS)=>{"use strict";var xS=/([()\][%!^"`<>&|;, *?])/g;function gfe(r){return r=r.replace(xS,"^$1"),r}function ffe(r,e){return r=`${r}`,r=r.replace(/(\\*)"/g,'$1$1\\"'),r=r.replace(/(\\*)$/,"$1$1"),r=`"${r}"`,r=r.replace(xS,"^$1"),e&&(r=r.replace(xS,"^$1")),r}PS.exports.command=gfe;PS.exports.argument=ffe});var _K=w((rZe,ZK)=>{"use strict";ZK.exports=/^#!(.*)/});var eU=w((iZe,$K)=>{"use strict";var hfe=_K();$K.exports=(r="")=>{let e=r.match(hfe);if(!e)return null;let[t,i]=e[0].replace(/#! ?/,"").split(" "),n=t.split("/").pop();return n==="env"?i:i?`${n} ${i}`:n}});var rU=w((nZe,tU)=>{"use strict";var DS=J("fs"),pfe=eU();function dfe(r){let t=Buffer.alloc(150),i;try{i=DS.openSync(r,"r"),DS.readSync(i,t,0,150,0),DS.closeSync(i)}catch{}return pfe(t.toString())}tU.exports=dfe});var oU=w((sZe,sU)=>{"use strict";var Cfe=J("path"),iU=VK(),nU=XK(),mfe=rU(),Efe=process.platform==="win32",Ife=/\.(?:com|exe)$/i,yfe=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function wfe(r){r.file=iU(r);let e=r.file&&mfe(r.file);return e?(r.args.unshift(r.file),r.command=e,iU(r)):r.file}function Bfe(r){if(!Efe)return r;let e=wfe(r),t=!Ife.test(e);if(r.options.forceShell||t){let i=yfe.test(e);r.command=Cfe.normalize(r.command),r.command=nU.command(r.command),r.args=r.args.map(s=>nU.argument(s,i));let n=[r.command].concat(r.args).join(" ");r.args=["/d","/s","/c",`"${n}"`],r.command=process.env.comspec||"cmd.exe",r.options.windowsVerbatimArguments=!0}return r}function bfe(r,e,t){e&&!Array.isArray(e)&&(t=e,e=null),e=e?e.slice(0):[],t=Object.assign({},t);let i={command:r,args:e,options:t,file:void 0,original:{command:r,args:e}};return t.shell?i:Bfe(i)}sU.exports=bfe});var lU=w((oZe,AU)=>{"use strict";var kS=process.platform==="win32";function RS(r,e){return Object.assign(new Error(`${e} ${r.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${e} ${r.command}`,path:r.command,spawnargs:r.args})}function Qfe(r,e){if(!kS)return;let t=r.emit;r.emit=function(i,n){if(i==="exit"){let s=aU(n,e,"spawn");if(s)return t.call(r,"error",s)}return t.apply(r,arguments)}}function aU(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawn"):null}function Sfe(r,e){return kS&&r===1&&!e.file?RS(e.original,"spawnSync"):null}AU.exports={hookChildProcess:Qfe,verifyENOENT:aU,verifyENOENTSync:Sfe,notFoundError:RS}});var TS=w((aZe,kg)=>{"use strict";var cU=J("child_process"),FS=oU(),NS=lU();function uU(r,e,t){let i=FS(r,e,t),n=cU.spawn(i.command,i.args,i.options);return NS.hookChildProcess(n,i),n}function vfe(r,e,t){let i=FS(r,e,t),n=cU.spawnSync(i.command,i.args,i.options);return n.error=n.error||NS.verifyENOENTSync(n.status,i),n}kg.exports=uU;kg.exports.spawn=uU;kg.exports.sync=vfe;kg.exports._parse=FS;kg.exports._enoent=NS});var fU=w((AZe,gU)=>{"use strict";function xfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function Zl(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Zl)}xfe(Zl,Error);Zl.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g>",ie=me(">>",!1),de=">&",_e=me(">&",!1),Pt=">",It=me(">",!1),Mr="<<<",ii=me("<<<",!1),gi="<&",hr=me("<&",!1),fi="<",ni=me("<",!1),Ks=function(m){return{type:"argument",segments:[].concat(...m)}},pr=function(m){return m},Ii="$'",rs=me("$'",!1),fa="'",dA=me("'",!1),cg=function(m){return[{type:"text",text:m}]},is='""',CA=me('""',!1),ha=function(){return{type:"text",text:""}},wp='"',mA=me('"',!1),EA=function(m){return m},wr=function(m){return{type:"arithmetic",arithmetic:m,quoted:!0}},Tl=function(m){return{type:"shell",shell:m,quoted:!0}},ug=function(m){return{type:"variable",...m,quoted:!0}},yo=function(m){return{type:"text",text:m}},gg=function(m){return{type:"arithmetic",arithmetic:m,quoted:!1}},Bp=function(m){return{type:"shell",shell:m,quoted:!1}},bp=function(m){return{type:"variable",...m,quoted:!1}},vr=function(m){return{type:"glob",pattern:m}},se=/^[^']/,wo=Je(["'"],!0,!1),Fn=function(m){return m.join("")},fg=/^[^$"]/,bt=Je(["$",'"'],!0,!1),Ll=`\\ -`,Nn=me(`\\ -`,!1),ns=function(){return""},ss="\\",gt=me("\\",!1),Bo=/^[\\$"`]/,At=Je(["\\","$",'"',"`"],!1,!1),ln=function(m){return m},S="\\a",Lt=me("\\a",!1),hg=function(){return"a"},Ml="\\b",Qp=me("\\b",!1),Sp=function(){return"\b"},vp=/^[Ee]/,xp=Je(["E","e"],!1,!1),Pp=function(){return"\x1B"},G="\\f",yt=me("\\f",!1),IA=function(){return"\f"},zi="\\n",Ol=me("\\n",!1),Xe=function(){return` -`},pa="\\r",pg=me("\\r",!1),ME=function(){return"\r"},Dp="\\t",OE=me("\\t",!1),ar=function(){return" "},Tn="\\v",Kl=me("\\v",!1),kp=function(){return"\v"},Us=/^[\\'"?]/,da=Je(["\\","'",'"',"?"],!1,!1),cn=function(m){return String.fromCharCode(parseInt(m,16))},Le="\\x",dg=me("\\x",!1),Ul="\\u",Hs=me("\\u",!1),Hl="\\U",yA=me("\\U",!1),Cg=function(m){return String.fromCodePoint(parseInt(m,16))},mg=/^[0-7]/,Ca=Je([["0","7"]],!1,!1),ma=/^[0-9a-fA-f]/,rt=Je([["0","9"],["a","f"],["A","f"]],!1,!1),bo=nt(),wA="-",Gl=me("-",!1),Gs="+",Yl=me("+",!1),KE=".",Rp=me(".",!1),Eg=function(m,Q,N){return{type:"number",value:(m==="-"?-1:1)*parseFloat(Q.join("")+"."+N.join(""))}},Fp=function(m,Q){return{type:"number",value:(m==="-"?-1:1)*parseInt(Q.join(""))}},UE=function(m){return{type:"variable",...m}},jl=function(m){return{type:"variable",name:m}},HE=function(m){return m},Ig="*",BA=me("*",!1),Rr="/",GE=me("/",!1),Ys=function(m,Q,N){return{type:Q==="*"?"multiplication":"division",right:N}},js=function(m,Q){return Q.reduce((N,U)=>({left:N,...U}),m)},yg=function(m,Q,N){return{type:Q==="+"?"addition":"subtraction",right:N}},bA="$((",R=me("$((",!1),q="))",Ce=me("))",!1),Ke=function(m){return m},Re="$(",ze=me("$(",!1),dt=function(m){return m},Ft="${",Ln=me("${",!1),JQ=":-",k1=me(":-",!1),R1=function(m,Q){return{name:m,defaultValue:Q}},WQ=":-}",F1=me(":-}",!1),N1=function(m){return{name:m,defaultValue:[]}},zQ=":+",T1=me(":+",!1),L1=function(m,Q){return{name:m,alternativeValue:Q}},VQ=":+}",M1=me(":+}",!1),O1=function(m){return{name:m,alternativeValue:[]}},XQ=function(m){return{name:m}},K1="$",U1=me("$",!1),H1=function(m){return e.isGlobPattern(m)},G1=function(m){return m},ZQ=/^[a-zA-Z0-9_]/,_Q=Je([["a","z"],["A","Z"],["0","9"],"_"],!1,!1),$Q=function(){return L()},eS=/^[$@*?#a-zA-Z0-9_\-]/,tS=Je(["$","@","*","?","#",["a","z"],["A","Z"],["0","9"],"_","-"],!1,!1),Y1=/^[(){}<>$|&; \t"']/,wg=Je(["(",")","{","}","<",">","$","|","&",";"," "," ",'"',"'"],!1,!1),rS=/^[<>&; \t"']/,iS=Je(["<",">","&",";"," "," ",'"',"'"],!1,!1),YE=/^[ \t]/,jE=Je([" "," "],!1,!1),b=0,Oe=0,QA=[{line:1,column:1}],d=0,E=[],I=0,k;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function L(){return r.substring(Oe,b)}function Z(){return Et(Oe,b)}function te(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Ri([lt(m)],r.substring(Oe,b),Q)}function we(m,Q){throw Q=Q!==void 0?Q:Et(Oe,b),Mn(m,Q)}function me(m,Q){return{type:"literal",text:m,ignoreCase:Q}}function Je(m,Q,N){return{type:"class",parts:m,inverted:Q,ignoreCase:N}}function nt(){return{type:"any"}}function wt(){return{type:"end"}}function lt(m){return{type:"other",description:m}}function it(m){var Q=QA[m],N;if(Q)return Q;for(N=m-1;!QA[N];)N--;for(Q=QA[N],Q={line:Q.line,column:Q.column};Nd&&(d=b,E=[]),E.push(m))}function Mn(m,Q){return new Zl(m,null,null,Q)}function Ri(m,Q,N){return new Zl(Zl.buildMessage(m,Q),m,Q,N)}function SA(){var m,Q;return m=b,Q=Or(),Q===t&&(Q=null),Q!==t&&(Oe=m,Q=s(Q)),m=Q,m}function Or(){var m,Q,N,U,ce;if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U!==t?(ce=os(),ce===t&&(ce=null),ce!==t?(Oe=m,Q=o(Q,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;if(m===t)if(m=b,Q=Kr(),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();N!==t?(U=Ea(),U===t&&(U=null),U!==t?(Oe=m,Q=a(Q,U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function os(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=Or(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=l(N),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Ea(){var m;return r.charCodeAt(b)===59?(m=c,b++):(m=t,I===0&&be(u)),m===t&&(r.charCodeAt(b)===38?(m=g,b++):(m=t,I===0&&be(f))),m}function Kr(){var m,Q,N;return m=b,Q=j1(),Q!==t?(N=fge(),N===t&&(N=null),N!==t?(Oe=m,Q=h(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function fge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=hge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Kr(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=p(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function hge(){var m;return r.substr(b,2)===C?(m=C,b+=2):(m=t,I===0&&be(y)),m===t&&(r.substr(b,2)===B?(m=B,b+=2):(m=t,I===0&&be(v))),m}function j1(){var m,Q,N;return m=b,Q=Cge(),Q!==t?(N=pge(),N===t&&(N=null),N!==t?(Oe=m,Q=D(Q,N),m=Q):(b=m,m=t)):(b=m,m=t),m}function pge(){var m,Q,N,U,ce,Se,ht;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(N=dge(),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=j1(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=T(N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;return m}function dge(){var m;return r.substr(b,2)===H?(m=H,b+=2):(m=t,I===0&&be(j)),m===t&&(r.charCodeAt(b)===124?(m=$,b++):(m=t,I===0&&be(V))),m}function qE(){var m,Q,N,U,ce,Se;if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t)if(U=W1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(Oe=m,Q=A(Q,U),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;else b=m,m=t;if(m===t)if(m=b,Q=rK(),Q!==t)if(r.charCodeAt(b)===61?(N=W,b++):(N=t,I===0&&be(_)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Ae(Q),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t;return m}function Cge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===40?(N=ge,b++):(N=t,I===0&&be(re)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===41?(ht=M,b++):(ht=t,I===0&&be(F)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=ue(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t)if(r.charCodeAt(b)===123?(N=pe,b++):(N=t,I===0&&be(ke)),N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t)if(ce=Or(),ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();if(Se!==t)if(r.charCodeAt(b)===125?(ht=Fe,b++):(ht=t,I===0&&be(Ne)),ht!==t){for(Bt=[],qr=He();qr!==t;)Bt.push(qr),qr=He();if(Bt!==t){for(qr=[],hi=Np();hi!==t;)qr.push(hi),hi=Np();if(qr!==t){for(hi=[],as=He();as!==t;)hi.push(as),as=He();hi!==t?(Oe=m,Q=oe(ce,qr),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t}else b=m,m=t;else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){for(N=[],U=qE();U!==t;)N.push(U),U=qE();if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();if(U!==t){if(ce=[],Se=J1(),Se!==t)for(;Se!==t;)ce.push(Se),Se=J1();else ce=t;if(ce!==t){for(Se=[],ht=He();ht!==t;)Se.push(ht),ht=He();Se!==t?(Oe=m,Q=le(N,ce),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}else b=m,m=t}else b=m,m=t;if(m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=qE(),U!==t)for(;U!==t;)N.push(U),U=qE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=Be(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t}}}return m}function q1(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t){if(N=[],U=JE(),U!==t)for(;U!==t;)N.push(U),U=JE();else N=t;if(N!==t){for(U=[],ce=He();ce!==t;)U.push(ce),ce=He();U!==t?(Oe=m,Q=fe(N),m=Q):(b=m,m=t)}else b=m,m=t}else b=m,m=t;return m}function J1(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();if(Q!==t?(N=Np(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t){for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();Q!==t?(N=JE(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t)}return m}function Np(){var m,Q,N,U,ce;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(qe.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(ne)),N===t&&(N=null),N!==t?(U=mge(),U!==t?(ce=JE(),ce!==t?(Oe=m,Q=Y(N,U,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function mge(){var m;return r.substr(b,2)===he?(m=he,b+=2):(m=t,I===0&&be(ie)),m===t&&(r.substr(b,2)===de?(m=de,b+=2):(m=t,I===0&&be(_e)),m===t&&(r.charCodeAt(b)===62?(m=Pt,b++):(m=t,I===0&&be(It)),m===t&&(r.substr(b,3)===Mr?(m=Mr,b+=3):(m=t,I===0&&be(ii)),m===t&&(r.substr(b,2)===gi?(m=gi,b+=2):(m=t,I===0&&be(hr)),m===t&&(r.charCodeAt(b)===60?(m=fi,b++):(m=t,I===0&&be(ni))))))),m}function JE(){var m,Q,N;for(m=b,Q=[],N=He();N!==t;)Q.push(N),N=He();return Q!==t?(N=W1(),N!==t?(Oe=m,Q=ae(N),m=Q):(b=m,m=t)):(b=m,m=t),m}function W1(){var m,Q,N;if(m=b,Q=[],N=z1(),N!==t)for(;N!==t;)Q.push(N),N=z1();else Q=t;return Q!==t&&(Oe=m,Q=Ks(Q)),m=Q,m}function z1(){var m,Q;return m=b,Q=Ege(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=Ige(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=yge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q,m===t&&(m=b,Q=wge(),Q!==t&&(Oe=m,Q=pr(Q)),m=Q))),m}function Ege(){var m,Q,N,U;return m=b,r.substr(b,2)===Ii?(Q=Ii,b+=2):(Q=t,I===0&&be(rs)),Q!==t?(N=Qge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function Ige(){var m,Q,N,U;return m=b,r.charCodeAt(b)===39?(Q=fa,b++):(Q=t,I===0&&be(dA)),Q!==t?(N=Bge(),N!==t?(r.charCodeAt(b)===39?(U=fa,b++):(U=t,I===0&&be(dA)),U!==t?(Oe=m,Q=cg(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function yge(){var m,Q,N,U;if(m=b,r.substr(b,2)===is?(Q=is,b+=2):(Q=t,I===0&&be(CA)),Q!==t&&(Oe=m,Q=ha()),m=Q,m===t)if(m=b,r.charCodeAt(b)===34?(Q=wp,b++):(Q=t,I===0&&be(mA)),Q!==t){for(N=[],U=V1();U!==t;)N.push(U),U=V1();N!==t?(r.charCodeAt(b)===34?(U=wp,b++):(U=t,I===0&&be(mA)),U!==t?(Oe=m,Q=EA(N),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;return m}function wge(){var m,Q,N;if(m=b,Q=[],N=X1(),N!==t)for(;N!==t;)Q.push(N),N=X1();else Q=t;return Q!==t&&(Oe=m,Q=EA(Q)),m=Q,m}function V1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=wr(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Tl(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=ug(Q)),m=Q,m===t&&(m=b,Q=bge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q))),m}function X1(){var m,Q;return m=b,Q=eK(),Q!==t&&(Oe=m,Q=gg(Q)),m=Q,m===t&&(m=b,Q=tK(),Q!==t&&(Oe=m,Q=Bp(Q)),m=Q,m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=bp(Q)),m=Q,m===t&&(m=b,Q=xge(),Q!==t&&(Oe=m,Q=vr(Q)),m=Q,m===t&&(m=b,Q=vge(),Q!==t&&(Oe=m,Q=yo(Q)),m=Q)))),m}function Bge(){var m,Q,N;for(m=b,Q=[],se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));N!==t;)Q.push(N),se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function bge(){var m,Q,N;if(m=b,Q=[],N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt))),N!==t)for(;N!==t;)Q.push(N),N=Z1(),N===t&&(fg.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(bt)));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function Z1(){var m,Q,N;return m=b,r.substr(b,2)===Ll?(Q=Ll,b+=2):(Q=t,I===0&&be(Nn)),Q!==t&&(Oe=m,Q=ns()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Bo.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(At)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t)),m}function Qge(){var m,Q,N;for(m=b,Q=[],N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));N!==t;)Q.push(N),N=_1(),N===t&&(se.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(wo)));return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function _1(){var m,Q,N;return m=b,r.substr(b,2)===S?(Q=S,b+=2):(Q=t,I===0&&be(Lt)),Q!==t&&(Oe=m,Q=hg()),m=Q,m===t&&(m=b,r.substr(b,2)===Ml?(Q=Ml,b+=2):(Q=t,I===0&&be(Qp)),Q!==t&&(Oe=m,Q=Sp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(vp.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(xp)),N!==t?(Oe=m,Q=Pp(),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===G?(Q=G,b+=2):(Q=t,I===0&&be(yt)),Q!==t&&(Oe=m,Q=IA()),m=Q,m===t&&(m=b,r.substr(b,2)===zi?(Q=zi,b+=2):(Q=t,I===0&&be(Ol)),Q!==t&&(Oe=m,Q=Xe()),m=Q,m===t&&(m=b,r.substr(b,2)===pa?(Q=pa,b+=2):(Q=t,I===0&&be(pg)),Q!==t&&(Oe=m,Q=ME()),m=Q,m===t&&(m=b,r.substr(b,2)===Dp?(Q=Dp,b+=2):(Q=t,I===0&&be(OE)),Q!==t&&(Oe=m,Q=ar()),m=Q,m===t&&(m=b,r.substr(b,2)===Tn?(Q=Tn,b+=2):(Q=t,I===0&&be(Kl)),Q!==t&&(Oe=m,Q=kp()),m=Q,m===t&&(m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(Us.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(da)),N!==t?(Oe=m,Q=ln(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=Sge()))))))))),m}function Sge(){var m,Q,N,U,ce,Se,ht,Bt,qr,hi,as,AS;return m=b,r.charCodeAt(b)===92?(Q=ss,b++):(Q=t,I===0&&be(gt)),Q!==t?(N=nS(),N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Le?(Q=Le,b+=2):(Q=t,I===0&&be(dg)),Q!==t?(N=b,U=b,ce=nS(),ce!==t?(Se=On(),Se!==t?(ce=[ce,Se],U=ce):(b=U,U=t)):(b=U,U=t),U===t&&(U=nS()),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ul?(Q=Ul,b+=2):(Q=t,I===0&&be(Hs)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(ce=[ce,Se,ht,Bt],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=cn(N),m=Q):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Hl?(Q=Hl,b+=2):(Q=t,I===0&&be(yA)),Q!==t?(N=b,U=b,ce=On(),ce!==t?(Se=On(),Se!==t?(ht=On(),ht!==t?(Bt=On(),Bt!==t?(qr=On(),qr!==t?(hi=On(),hi!==t?(as=On(),as!==t?(AS=On(),AS!==t?(ce=[ce,Se,ht,Bt,qr,hi,as,AS],U=ce):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t)):(b=U,U=t),U!==t?N=r.substring(N,b):N=U,N!==t?(Oe=m,Q=Cg(N),m=Q):(b=m,m=t)):(b=m,m=t)))),m}function nS(){var m;return mg.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(Ca)),m}function On(){var m;return ma.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(rt)),m}function vge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t)),N!==t)for(;N!==t;)Q.push(N),N=b,r.charCodeAt(b)===92?(U=ss,b++):(U=t,I===0&&be(gt)),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N===t&&(N=b,U=b,I++,ce=iK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t));else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function sS(){var m,Q,N,U,ce,Se;if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;if(N!==t)if(r.charCodeAt(b)===46?(U=KE,b++):(U=t,I===0&&be(Rp)),U!==t){if(ce=[],qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne)),Se!==t)for(;Se!==t;)ce.push(Se),qe.test(r.charAt(b))?(Se=r.charAt(b),b++):(Se=t,I===0&&be(ne));else ce=t;ce!==t?(Oe=m,Q=Eg(Q,N,ce),m=Q):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;if(m===t){if(m=b,r.charCodeAt(b)===45?(Q=wA,b++):(Q=t,I===0&&be(Gl)),Q===t&&(r.charCodeAt(b)===43?(Q=Gs,b++):(Q=t,I===0&&be(Yl))),Q===t&&(Q=null),Q!==t){if(N=[],qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne)),U!==t)for(;U!==t;)N.push(U),qe.test(r.charAt(b))?(U=r.charAt(b),b++):(U=t,I===0&&be(ne));else N=t;N!==t?(Oe=m,Q=Fp(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;if(m===t&&(m=b,Q=aS(),Q!==t&&(Oe=m,Q=UE(Q)),m=Q,m===t&&(m=b,Q=ql(),Q!==t&&(Oe=m,Q=jl(Q)),m=Q,m===t)))if(m=b,r.charCodeAt(b)===40?(Q=ge,b++):(Q=t,I===0&&be(re)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.charCodeAt(b)===41?(Se=M,b++):(Se=t,I===0&&be(F)),Se!==t?(Oe=m,Q=HE(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t}return m}function oS(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=sS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===42?(Se=Ig,b++):(Se=t,I===0&&be(BA)),Se===t&&(r.charCodeAt(b)===47?(Se=Rr,b++):(Se=t,I===0&&be(GE))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=sS(),Bt!==t?(Oe=U,ce=Ys(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function $1(){var m,Q,N,U,ce,Se,ht,Bt;if(m=b,Q=oS(),Q!==t){for(N=[],U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t;for(;U!==t;){for(N.push(U),U=b,ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();if(ce!==t)if(r.charCodeAt(b)===43?(Se=Gs,b++):(Se=t,I===0&&be(Yl)),Se===t&&(r.charCodeAt(b)===45?(Se=wA,b++):(Se=t,I===0&&be(Gl))),Se!==t){for(ht=[],Bt=He();Bt!==t;)ht.push(Bt),Bt=He();ht!==t?(Bt=oS(),Bt!==t?(Oe=U,ce=yg(Q,Se,Bt),U=ce):(b=U,U=t)):(b=U,U=t)}else b=U,U=t;else b=U,U=t}N!==t?(Oe=m,Q=js(Q,N),m=Q):(b=m,m=t)}else b=m,m=t;return m}function eK(){var m,Q,N,U,ce,Se;if(m=b,r.substr(b,3)===bA?(Q=bA,b+=3):(Q=t,I===0&&be(R)),Q!==t){for(N=[],U=He();U!==t;)N.push(U),U=He();if(N!==t)if(U=$1(),U!==t){for(ce=[],Se=He();Se!==t;)ce.push(Se),Se=He();ce!==t?(r.substr(b,2)===q?(Se=q,b+=2):(Se=t,I===0&&be(Ce)),Se!==t?(Oe=m,Q=Ke(U),m=Q):(b=m,m=t)):(b=m,m=t)}else b=m,m=t;else b=m,m=t}else b=m,m=t;return m}function tK(){var m,Q,N,U;return m=b,r.substr(b,2)===Re?(Q=Re,b+=2):(Q=t,I===0&&be(ze)),Q!==t?(N=Or(),N!==t?(r.charCodeAt(b)===41?(U=M,b++):(U=t,I===0&&be(F)),U!==t?(Oe=m,Q=dt(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m}function aS(){var m,Q,N,U,ce,Se;return m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===JQ?(U=JQ,b+=2):(U=t,I===0&&be(k1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=R1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===WQ?(U=WQ,b+=3):(U=t,I===0&&be(F1)),U!==t?(Oe=m,Q=N1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,2)===zQ?(U=zQ,b+=2):(U=t,I===0&&be(T1)),U!==t?(ce=q1(),ce!==t?(r.charCodeAt(b)===125?(Se=Fe,b++):(Se=t,I===0&&be(Ne)),Se!==t?(Oe=m,Q=L1(N,ce),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.substr(b,3)===VQ?(U=VQ,b+=3):(U=t,I===0&&be(M1)),U!==t?(Oe=m,Q=O1(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.substr(b,2)===Ft?(Q=Ft,b+=2):(Q=t,I===0&&be(Ln)),Q!==t?(N=ql(),N!==t?(r.charCodeAt(b)===125?(U=Fe,b++):(U=t,I===0&&be(Ne)),U!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)):(b=m,m=t),m===t&&(m=b,r.charCodeAt(b)===36?(Q=K1,b++):(Q=t,I===0&&be(U1)),Q!==t?(N=ql(),N!==t?(Oe=m,Q=XQ(N),m=Q):(b=m,m=t)):(b=m,m=t)))))),m}function xge(){var m,Q,N;return m=b,Q=Pge(),Q!==t?(Oe=b,N=H1(Q),N?N=void 0:N=t,N!==t?(Oe=m,Q=G1(Q),m=Q):(b=m,m=t)):(b=m,m=t),m}function Pge(){var m,Q,N,U,ce;if(m=b,Q=[],N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t),N!==t)for(;N!==t;)Q.push(N),N=b,U=b,I++,ce=nK(),I--,ce===t?U=void 0:(b=U,U=t),U!==t?(r.length>b?(ce=r.charAt(b),b++):(ce=t,I===0&&be(bo)),ce!==t?(Oe=N,U=ln(ce),N=U):(b=N,N=t)):(b=N,N=t);else Q=t;return Q!==t&&(Oe=m,Q=Fn(Q)),m=Q,m}function rK(){var m,Q,N;if(m=b,Q=[],ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q)),N!==t)for(;N!==t;)Q.push(N),ZQ.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(_Q));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function ql(){var m,Q,N;if(m=b,Q=[],eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS)),N!==t)for(;N!==t;)Q.push(N),eS.test(r.charAt(b))?(N=r.charAt(b),b++):(N=t,I===0&&be(tS));else Q=t;return Q!==t&&(Oe=m,Q=$Q()),m=Q,m}function iK(){var m;return Y1.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(wg)),m}function nK(){var m;return rS.test(r.charAt(b))?(m=r.charAt(b),b++):(m=t,I===0&&be(iS)),m}function He(){var m,Q;if(m=[],YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE)),Q!==t)for(;Q!==t;)m.push(Q),YE.test(r.charAt(b))?(Q=r.charAt(b),b++):(Q=t,I===0&&be(jE));else m=t;return m}if(k=n(),k!==t&&b===r.length)return k;throw k!==t&&b{"use strict";function Dfe(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function $l(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,$l)}Dfe($l,Error);$l.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;gH&&(H=v,j=[]),j.push(ne))}function Ne(ne,Y){return new $l(ne,null,null,Y)}function oe(ne,Y,he){return new $l($l.buildMessage(ne,Y),ne,Y,he)}function le(){var ne,Y,he,ie;return ne=v,Y=Be(),Y!==t?(r.charCodeAt(v)===47?(he=s,v++):(he=t,$===0&&Fe(o)),he!==t?(ie=Be(),ie!==t?(D=ne,Y=a(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=Be(),Y!==t&&(D=ne,Y=l(Y)),ne=Y),ne}function Be(){var ne,Y,he,ie;return ne=v,Y=fe(),Y!==t?(r.charCodeAt(v)===64?(he=c,v++):(he=t,$===0&&Fe(u)),he!==t?(ie=qe(),ie!==t?(D=ne,Y=g(Y,ie),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=fe(),Y!==t&&(D=ne,Y=f(Y)),ne=Y),ne}function fe(){var ne,Y,he,ie,de;return ne=v,r.charCodeAt(v)===64?(Y=c,v++):(Y=t,$===0&&Fe(u)),Y!==t?(he=ae(),he!==t?(r.charCodeAt(v)===47?(ie=s,v++):(ie=t,$===0&&Fe(o)),ie!==t?(de=ae(),de!==t?(D=ne,Y=h(),ne=Y):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t)):(v=ne,ne=t),ne===t&&(ne=v,Y=ae(),Y!==t&&(D=ne,Y=h()),ne=Y),ne}function ae(){var ne,Y,he;if(ne=v,Y=[],p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C)),he!==t)for(;he!==t;)Y.push(he),p.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(C));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}function qe(){var ne,Y,he;if(ne=v,Y=[],y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B)),he!==t)for(;he!==t;)Y.push(he),y.test(r.charAt(v))?(he=r.charAt(v),v++):(he=t,$===0&&Fe(B));else Y=t;return Y!==t&&(D=ne,Y=h()),ne=Y,ne}if(V=n(),V!==t&&v===r.length)return V;throw V!==t&&v{"use strict";function mU(r){return typeof r>"u"||r===null}function Rfe(r){return typeof r=="object"&&r!==null}function Ffe(r){return Array.isArray(r)?r:mU(r)?[]:[r]}function Nfe(r,e){var t,i,n,s;if(e)for(s=Object.keys(e),t=0,i=s.length;t{"use strict";function Vp(r,e){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=e,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Vp.prototype=Object.create(Error.prototype);Vp.prototype.constructor=Vp;Vp.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t};EU.exports=Vp});var wU=w((SZe,yU)=>{"use strict";var IU=tc();function HS(r,e,t,i,n){this.name=r,this.buffer=e,this.position=t,this.line=i,this.column=n}HS.prototype.getSnippet=function(e,t){var i,n,s,o,a;if(!this.buffer)return null;for(e=e||4,t=t||75,i="",n=this.position;n>0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(n-1))===-1;)if(n-=1,this.position-n>t/2-1){i=" ... ",n+=5;break}for(s="",o=this.position;ot/2-1){s=" ... ",o-=5;break}return a=this.buffer.slice(n,o),IU.repeat(" ",e)+i+a+s+` -`+IU.repeat(" ",e+this.position-n+i.length)+"^"};HS.prototype.toString=function(e){var t,i="";return this.name&&(i+='in "'+this.name+'" '),i+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet(),t&&(i+=`: -`+t)),i};yU.exports=HS});var si=w((vZe,bU)=>{"use strict";var BU=Ng(),Mfe=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],Ofe=["scalar","sequence","mapping"];function Kfe(r){var e={};return r!==null&&Object.keys(r).forEach(function(t){r[t].forEach(function(i){e[String(i)]=t})}),e}function Ufe(r,e){if(e=e||{},Object.keys(e).forEach(function(t){if(Mfe.indexOf(t)===-1)throw new BU('Unknown option "'+t+'" is met in definition of "'+r+'" YAML type.')}),this.tag=r,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=Kfe(e.styleAliases||null),Ofe.indexOf(this.kind)===-1)throw new BU('Unknown kind "'+this.kind+'" is specified for "'+r+'" YAML type.')}bU.exports=Ufe});var rc=w((xZe,SU)=>{"use strict";var QU=tc(),dI=Ng(),Hfe=si();function GS(r,e,t){var i=[];return r.include.forEach(function(n){t=GS(n,e,t)}),r[e].forEach(function(n){t.forEach(function(s,o){s.tag===n.tag&&s.kind===n.kind&&i.push(o)}),t.push(n)}),t.filter(function(n,s){return i.indexOf(s)===-1})}function Gfe(){var r={scalar:{},sequence:{},mapping:{},fallback:{}},e,t;function i(n){r[n.kind][n.tag]=r.fallback[n.tag]=n}for(e=0,t=arguments.length;e{"use strict";var Yfe=si();vU.exports=new Yfe("tag:yaml.org,2002:str",{kind:"scalar",construct:function(r){return r!==null?r:""}})});var DU=w((DZe,PU)=>{"use strict";var jfe=si();PU.exports=new jfe("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(r){return r!==null?r:[]}})});var RU=w((kZe,kU)=>{"use strict";var qfe=si();kU.exports=new qfe("tag:yaml.org,2002:map",{kind:"mapping",construct:function(r){return r!==null?r:{}}})});var CI=w((RZe,FU)=>{"use strict";var Jfe=rc();FU.exports=new Jfe({explicit:[xU(),DU(),RU()]})});var TU=w((FZe,NU)=>{"use strict";var Wfe=si();function zfe(r){if(r===null)return!0;var e=r.length;return e===1&&r==="~"||e===4&&(r==="null"||r==="Null"||r==="NULL")}function Vfe(){return null}function Xfe(r){return r===null}NU.exports=new Wfe("tag:yaml.org,2002:null",{kind:"scalar",resolve:zfe,construct:Vfe,predicate:Xfe,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})});var MU=w((NZe,LU)=>{"use strict";var Zfe=si();function _fe(r){if(r===null)return!1;var e=r.length;return e===4&&(r==="true"||r==="True"||r==="TRUE")||e===5&&(r==="false"||r==="False"||r==="FALSE")}function $fe(r){return r==="true"||r==="True"||r==="TRUE"}function ehe(r){return Object.prototype.toString.call(r)==="[object Boolean]"}LU.exports=new Zfe("tag:yaml.org,2002:bool",{kind:"scalar",resolve:_fe,construct:$fe,predicate:ehe,represent:{lowercase:function(r){return r?"true":"false"},uppercase:function(r){return r?"TRUE":"FALSE"},camelcase:function(r){return r?"True":"False"}},defaultStyle:"lowercase"})});var KU=w((TZe,OU)=>{"use strict";var the=tc(),rhe=si();function ihe(r){return 48<=r&&r<=57||65<=r&&r<=70||97<=r&&r<=102}function nhe(r){return 48<=r&&r<=55}function she(r){return 48<=r&&r<=57}function ohe(r){if(r===null)return!1;var e=r.length,t=0,i=!1,n;if(!e)return!1;if(n=r[t],(n==="-"||n==="+")&&(n=r[++t]),n==="0"){if(t+1===e)return!0;if(n=r[++t],n==="b"){for(t++;t=0?"0b"+r.toString(2):"-0b"+r.toString(2).slice(1)},octal:function(r){return r>=0?"0"+r.toString(8):"-0"+r.toString(8).slice(1)},decimal:function(r){return r.toString(10)},hexadecimal:function(r){return r>=0?"0x"+r.toString(16).toUpperCase():"-0x"+r.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})});var GU=w((LZe,HU)=>{"use strict";var UU=tc(),lhe=si(),che=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function uhe(r){return!(r===null||!che.test(r)||r[r.length-1]==="_")}function ghe(r){var e,t,i,n;return e=r.replace(/_/g,"").toLowerCase(),t=e[0]==="-"?-1:1,n=[],"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:e.indexOf(":")>=0?(e.split(":").forEach(function(s){n.unshift(parseFloat(s,10))}),e=0,i=1,n.forEach(function(s){e+=s*i,i*=60}),t*e):t*parseFloat(e,10)}var fhe=/^[-+]?[0-9]+e/;function hhe(r,e){var t;if(isNaN(r))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===r)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===r)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(UU.isNegativeZero(r))return"-0.0";return t=r.toString(10),fhe.test(t)?t.replace("e",".e"):t}function phe(r){return Object.prototype.toString.call(r)==="[object Number]"&&(r%1!==0||UU.isNegativeZero(r))}HU.exports=new lhe("tag:yaml.org,2002:float",{kind:"scalar",resolve:uhe,construct:ghe,predicate:phe,represent:hhe,defaultStyle:"lowercase"})});var YS=w((MZe,YU)=>{"use strict";var dhe=rc();YU.exports=new dhe({include:[CI()],implicit:[TU(),MU(),KU(),GU()]})});var jS=w((OZe,jU)=>{"use strict";var Che=rc();jU.exports=new Che({include:[YS()]})});var zU=w((KZe,WU)=>{"use strict";var mhe=si(),qU=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),JU=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 Ehe(r){return r===null?!1:qU.exec(r)!==null||JU.exec(r)!==null}function Ihe(r){var e,t,i,n,s,o,a,l=0,c=null,u,g,f;if(e=qU.exec(r),e===null&&(e=JU.exec(r)),e===null)throw new Error("Date resolve error");if(t=+e[1],i=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(t,i,n));if(s=+e[4],o=+e[5],a=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(u=+e[10],g=+(e[11]||0),c=(u*60+g)*6e4,e[9]==="-"&&(c=-c)),f=new Date(Date.UTC(t,i,n,s,o,a,l)),c&&f.setTime(f.getTime()-c),f}function yhe(r){return r.toISOString()}WU.exports=new mhe("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Ehe,construct:Ihe,instanceOf:Date,represent:yhe})});var XU=w((UZe,VU)=>{"use strict";var whe=si();function Bhe(r){return r==="<<"||r===null}VU.exports=new whe("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Bhe})});var $U=w((HZe,_U)=>{"use strict";var ic;try{ZU=J,ic=ZU("buffer").Buffer}catch{}var ZU,bhe=si(),qS=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Qhe(r){if(r===null)return!1;var e,t,i=0,n=r.length,s=qS;for(t=0;t64)){if(e<0)return!1;i+=6}return i%8===0}function She(r){var e,t,i=r.replace(/[\r\n=]/g,""),n=i.length,s=qS,o=0,a=[];for(e=0;e>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|s.indexOf(i.charAt(e));return t=n%4*6,t===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):t===18?(a.push(o>>10&255),a.push(o>>2&255)):t===12&&a.push(o>>4&255),ic?ic.from?ic.from(a):new ic(a):a}function vhe(r){var e="",t=0,i,n,s=r.length,o=qS;for(i=0;i>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]),t=(t<<8)+r[i];return n=s%3,n===0?(e+=o[t>>18&63],e+=o[t>>12&63],e+=o[t>>6&63],e+=o[t&63]):n===2?(e+=o[t>>10&63],e+=o[t>>4&63],e+=o[t<<2&63],e+=o[64]):n===1&&(e+=o[t>>2&63],e+=o[t<<4&63],e+=o[64],e+=o[64]),e}function xhe(r){return ic&&ic.isBuffer(r)}_U.exports=new bhe("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Qhe,construct:She,predicate:xhe,represent:vhe})});var t2=w((YZe,e2)=>{"use strict";var Phe=si(),Dhe=Object.prototype.hasOwnProperty,khe=Object.prototype.toString;function Rhe(r){if(r===null)return!0;var e=[],t,i,n,s,o,a=r;for(t=0,i=a.length;t{"use strict";var Nhe=si(),The=Object.prototype.toString;function Lhe(r){if(r===null)return!0;var e,t,i,n,s,o=r;for(s=new Array(o.length),e=0,t=o.length;e{"use strict";var Ohe=si(),Khe=Object.prototype.hasOwnProperty;function Uhe(r){if(r===null)return!0;var e,t=r;for(e in t)if(Khe.call(t,e)&&t[e]!==null)return!1;return!0}function Hhe(r){return r!==null?r:{}}n2.exports=new Ohe("tag:yaml.org,2002:set",{kind:"mapping",resolve:Uhe,construct:Hhe})});var Lg=w((JZe,o2)=>{"use strict";var Ghe=rc();o2.exports=new Ghe({include:[jS()],implicit:[zU(),XU()],explicit:[$U(),t2(),i2(),s2()]})});var A2=w((WZe,a2)=>{"use strict";var Yhe=si();function jhe(){return!0}function qhe(){}function Jhe(){return""}function Whe(r){return typeof r>"u"}a2.exports=new Yhe("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:jhe,construct:qhe,predicate:Whe,represent:Jhe})});var c2=w((zZe,l2)=>{"use strict";var zhe=si();function Vhe(r){if(r===null||r.length===0)return!1;var e=r,t=/\/([gim]*)$/.exec(r),i="";return!(e[0]==="/"&&(t&&(i=t[1]),i.length>3||e[e.length-i.length-1]!=="/"))}function Xhe(r){var e=r,t=/\/([gim]*)$/.exec(r),i="";return e[0]==="/"&&(t&&(i=t[1]),e=e.slice(1,e.length-i.length-1)),new RegExp(e,i)}function Zhe(r){var e="/"+r.source+"/";return r.global&&(e+="g"),r.multiline&&(e+="m"),r.ignoreCase&&(e+="i"),e}function _he(r){return Object.prototype.toString.call(r)==="[object RegExp]"}l2.exports=new zhe("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:Vhe,construct:Xhe,predicate:_he,represent:Zhe})});var f2=w((VZe,g2)=>{"use strict";var mI;try{u2=J,mI=u2("esprima")}catch{typeof window<"u"&&(mI=window.esprima)}var u2,$he=si();function epe(r){if(r===null)return!1;try{var e="("+r+")",t=mI.parse(e,{range:!0});return!(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")}catch{return!1}}function tpe(r){var e="("+r+")",t=mI.parse(e,{range:!0}),i=[],n;if(t.type!=="Program"||t.body.length!==1||t.body[0].type!=="ExpressionStatement"||t.body[0].expression.type!=="ArrowFunctionExpression"&&t.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return t.body[0].expression.params.forEach(function(s){i.push(s.name)}),n=t.body[0].expression.body.range,t.body[0].expression.body.type==="BlockStatement"?new Function(i,e.slice(n[0]+1,n[1]-1)):new Function(i,"return "+e.slice(n[0],n[1]))}function rpe(r){return r.toString()}function ipe(r){return Object.prototype.toString.call(r)==="[object Function]"}g2.exports=new $he("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:epe,construct:tpe,predicate:ipe,represent:rpe})});var Xp=w((ZZe,p2)=>{"use strict";var h2=rc();p2.exports=h2.DEFAULT=new h2({include:[Lg()],explicit:[A2(),c2(),f2()]})});var N2=w((_Ze,Zp)=>{"use strict";var Ba=tc(),w2=Ng(),npe=wU(),B2=Lg(),spe=Xp(),kA=Object.prototype.hasOwnProperty,EI=1,b2=2,Q2=3,II=4,JS=1,ope=2,d2=3,ape=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ape=/[\x85\u2028\u2029]/,lpe=/[,\[\]\{\}]/,S2=/^(?:!|!!|![a-z\-]+!)$/i,v2=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function C2(r){return Object.prototype.toString.call(r)}function xo(r){return r===10||r===13}function sc(r){return r===9||r===32}function fn(r){return r===9||r===32||r===10||r===13}function Mg(r){return r===44||r===91||r===93||r===123||r===125}function cpe(r){var e;return 48<=r&&r<=57?r-48:(e=r|32,97<=e&&e<=102?e-97+10:-1)}function upe(r){return r===120?2:r===117?4:r===85?8:0}function gpe(r){return 48<=r&&r<=57?r-48:-1}function m2(r){return r===48?"\0":r===97?"\x07":r===98?"\b":r===116||r===9?" ":r===110?` -`:r===118?"\v":r===102?"\f":r===114?"\r":r===101?"\x1B":r===32?" ":r===34?'"':r===47?"/":r===92?"\\":r===78?"\x85":r===95?"\xA0":r===76?"\u2028":r===80?"\u2029":""}function fpe(r){return r<=65535?String.fromCharCode(r):String.fromCharCode((r-65536>>10)+55296,(r-65536&1023)+56320)}var x2=new Array(256),P2=new Array(256);for(nc=0;nc<256;nc++)x2[nc]=m2(nc)?1:0,P2[nc]=m2(nc);var nc;function hpe(r,e){this.input=r,this.filename=e.filename||null,this.schema=e.schema||spe,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=r.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function D2(r,e){return new w2(e,new npe(r.filename,r.input,r.position,r.line,r.position-r.lineStart))}function ft(r,e){throw D2(r,e)}function yI(r,e){r.onWarning&&r.onWarning.call(null,D2(r,e))}var E2={YAML:function(e,t,i){var n,s,o;e.version!==null&&ft(e,"duplication of %YAML directive"),i.length!==1&&ft(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]),n===null&&ft(e,"ill-formed argument of the YAML directive"),s=parseInt(n[1],10),o=parseInt(n[2],10),s!==1&&ft(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=o<2,o!==1&&o!==2&&yI(e,"unsupported YAML version of the document")},TAG:function(e,t,i){var n,s;i.length!==2&&ft(e,"TAG directive accepts exactly two arguments"),n=i[0],s=i[1],S2.test(n)||ft(e,"ill-formed tag handle (first argument) of the TAG directive"),kA.call(e.tagMap,n)&&ft(e,'there is a previously declared suffix for "'+n+'" tag handle'),v2.test(s)||ft(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[n]=s}};function DA(r,e,t,i){var n,s,o,a;if(e1&&(r.result+=Ba.repeat(` -`,e-1))}function ppe(r,e,t){var i,n,s,o,a,l,c,u,g=r.kind,f=r.result,h;if(h=r.input.charCodeAt(r.position),fn(h)||Mg(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n)))return!1;for(r.kind="scalar",r.result="",s=o=r.position,a=!1;h!==0;){if(h===58){if(n=r.input.charCodeAt(r.position+1),fn(n)||t&&Mg(n))break}else if(h===35){if(i=r.input.charCodeAt(r.position-1),fn(i))break}else{if(r.position===r.lineStart&&wI(r)||t&&Mg(h))break;if(xo(h))if(l=r.line,c=r.lineStart,u=r.lineIndent,zr(r,!1,-1),r.lineIndent>=e){a=!0,h=r.input.charCodeAt(r.position);continue}else{r.position=o,r.line=l,r.lineStart=c,r.lineIndent=u;break}}a&&(DA(r,s,o,!1),zS(r,r.line-l),s=o=r.position,a=!1),sc(h)||(o=r.position+1),h=r.input.charCodeAt(++r.position)}return DA(r,s,o,!1),r.result?!0:(r.kind=g,r.result=f,!1)}function dpe(r,e){var t,i,n;if(t=r.input.charCodeAt(r.position),t!==39)return!1;for(r.kind="scalar",r.result="",r.position++,i=n=r.position;(t=r.input.charCodeAt(r.position))!==0;)if(t===39)if(DA(r,i,r.position,!0),t=r.input.charCodeAt(++r.position),t===39)i=r.position,r.position++,n=r.position;else return!0;else xo(t)?(DA(r,i,n,!0),zS(r,zr(r,!1,e)),i=n=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a single quoted scalar"):(r.position++,n=r.position);ft(r,"unexpected end of the stream within a single quoted scalar")}function Cpe(r,e){var t,i,n,s,o,a;if(a=r.input.charCodeAt(r.position),a!==34)return!1;for(r.kind="scalar",r.result="",r.position++,t=i=r.position;(a=r.input.charCodeAt(r.position))!==0;){if(a===34)return DA(r,t,r.position,!0),r.position++,!0;if(a===92){if(DA(r,t,r.position,!0),a=r.input.charCodeAt(++r.position),xo(a))zr(r,!1,e);else if(a<256&&x2[a])r.result+=P2[a],r.position++;else if((o=upe(a))>0){for(n=o,s=0;n>0;n--)a=r.input.charCodeAt(++r.position),(o=cpe(a))>=0?s=(s<<4)+o:ft(r,"expected hexadecimal character");r.result+=fpe(s),r.position++}else ft(r,"unknown escape sequence");t=i=r.position}else xo(a)?(DA(r,t,i,!0),zS(r,zr(r,!1,e)),t=i=r.position):r.position===r.lineStart&&wI(r)?ft(r,"unexpected end of the document within a double quoted scalar"):(r.position++,i=r.position)}ft(r,"unexpected end of the stream within a double quoted scalar")}function mpe(r,e){var t=!0,i,n=r.tag,s,o=r.anchor,a,l,c,u,g,f={},h,p,C,y;if(y=r.input.charCodeAt(r.position),y===91)l=93,g=!1,s=[];else if(y===123)l=125,g=!0,s={};else return!1;for(r.anchor!==null&&(r.anchorMap[r.anchor]=s),y=r.input.charCodeAt(++r.position);y!==0;){if(zr(r,!0,e),y=r.input.charCodeAt(r.position),y===l)return r.position++,r.tag=n,r.anchor=o,r.kind=g?"mapping":"sequence",r.result=s,!0;t||ft(r,"missed comma between flow collection entries"),p=h=C=null,c=u=!1,y===63&&(a=r.input.charCodeAt(r.position+1),fn(a)&&(c=u=!0,r.position++,zr(r,!0,e))),i=r.line,Kg(r,e,EI,!1,!0),p=r.tag,h=r.result,zr(r,!0,e),y=r.input.charCodeAt(r.position),(u||r.line===i)&&y===58&&(c=!0,y=r.input.charCodeAt(++r.position),zr(r,!0,e),Kg(r,e,EI,!1,!0),C=r.result),g?Og(r,s,f,p,h,C):c?s.push(Og(r,null,f,p,h,C)):s.push(h),zr(r,!0,e),y=r.input.charCodeAt(r.position),y===44?(t=!0,y=r.input.charCodeAt(++r.position)):t=!1}ft(r,"unexpected end of the stream within a flow collection")}function Epe(r,e){var t,i,n=JS,s=!1,o=!1,a=e,l=0,c=!1,u,g;if(g=r.input.charCodeAt(r.position),g===124)i=!1;else if(g===62)i=!0;else return!1;for(r.kind="scalar",r.result="";g!==0;)if(g=r.input.charCodeAt(++r.position),g===43||g===45)JS===n?n=g===43?d2:ope:ft(r,"repeat of a chomping mode identifier");else if((u=gpe(g))>=0)u===0?ft(r,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?ft(r,"repeat of an indentation width identifier"):(a=e+u-1,o=!0);else break;if(sc(g)){do g=r.input.charCodeAt(++r.position);while(sc(g));if(g===35)do g=r.input.charCodeAt(++r.position);while(!xo(g)&&g!==0)}for(;g!==0;){for(WS(r),r.lineIndent=0,g=r.input.charCodeAt(r.position);(!o||r.lineIndenta&&(a=r.lineIndent),xo(g)){l++;continue}if(r.lineIndente)&&l!==0)ft(r,"bad indentation of a sequence entry");else if(r.lineIndente)&&(Kg(r,e,II,!0,n)&&(p?f=r.result:h=r.result),p||(Og(r,c,u,g,f,h,s,o),g=f=h=null),zr(r,!0,-1),y=r.input.charCodeAt(r.position)),r.lineIndent>e&&y!==0)ft(r,"bad indentation of a mapping entry");else if(r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndente?l=1:r.lineIndent===e?l=0:r.lineIndent tag; it should be "scalar", not "'+r.kind+'"'),g=0,f=r.implicitTypes.length;g tag; it should be "'+h.kind+'", not "'+r.kind+'"'),h.resolve(r.result)?(r.result=h.construct(r.result),r.anchor!==null&&(r.anchorMap[r.anchor]=r.result)):ft(r,"cannot resolve a node with !<"+r.tag+"> explicit tag")):ft(r,"unknown tag !<"+r.tag+">");return r.listener!==null&&r.listener("close",r),r.tag!==null||r.anchor!==null||u}function bpe(r){var e=r.position,t,i,n,s=!1,o;for(r.version=null,r.checkLineBreaks=r.legacy,r.tagMap={},r.anchorMap={};(o=r.input.charCodeAt(r.position))!==0&&(zr(r,!0,-1),o=r.input.charCodeAt(r.position),!(r.lineIndent>0||o!==37));){for(s=!0,o=r.input.charCodeAt(++r.position),t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);for(i=r.input.slice(t,r.position),n=[],i.length<1&&ft(r,"directive name must not be less than one character in length");o!==0;){for(;sc(o);)o=r.input.charCodeAt(++r.position);if(o===35){do o=r.input.charCodeAt(++r.position);while(o!==0&&!xo(o));break}if(xo(o))break;for(t=r.position;o!==0&&!fn(o);)o=r.input.charCodeAt(++r.position);n.push(r.input.slice(t,r.position))}o!==0&&WS(r),kA.call(E2,i)?E2[i](r,i,n):yI(r,'unknown document directive "'+i+'"')}if(zr(r,!0,-1),r.lineIndent===0&&r.input.charCodeAt(r.position)===45&&r.input.charCodeAt(r.position+1)===45&&r.input.charCodeAt(r.position+2)===45?(r.position+=3,zr(r,!0,-1)):s&&ft(r,"directives end mark is expected"),Kg(r,r.lineIndent-1,II,!1,!0),zr(r,!0,-1),r.checkLineBreaks&&Ape.test(r.input.slice(e,r.position))&&yI(r,"non-ASCII line breaks are interpreted as content"),r.documents.push(r.result),r.position===r.lineStart&&wI(r)){r.input.charCodeAt(r.position)===46&&(r.position+=3,zr(r,!0,-1));return}if(r.position"u"&&(t=e,e=null);var i=k2(r,t);if(typeof e!="function")return i;for(var n=0,s=i.length;n"u"&&(t=e,e=null),R2(r,e,Ba.extend({schema:B2},t))}function Spe(r,e){return F2(r,Ba.extend({schema:B2},e))}Zp.exports.loadAll=R2;Zp.exports.load=F2;Zp.exports.safeLoadAll=Qpe;Zp.exports.safeLoad=Spe});var iH=w(($Ze,_S)=>{"use strict";var $p=tc(),ed=Ng(),vpe=Xp(),xpe=Lg(),G2=Object.prototype.toString,Y2=Object.prototype.hasOwnProperty,Ppe=9,_p=10,Dpe=13,kpe=32,Rpe=33,Fpe=34,j2=35,Npe=37,Tpe=38,Lpe=39,Mpe=42,q2=44,Ope=45,J2=58,Kpe=61,Upe=62,Hpe=63,Gpe=64,W2=91,z2=93,Ype=96,V2=123,jpe=124,X2=125,Ni={};Ni[0]="\\0";Ni[7]="\\a";Ni[8]="\\b";Ni[9]="\\t";Ni[10]="\\n";Ni[11]="\\v";Ni[12]="\\f";Ni[13]="\\r";Ni[27]="\\e";Ni[34]='\\"';Ni[92]="\\\\";Ni[133]="\\N";Ni[160]="\\_";Ni[8232]="\\L";Ni[8233]="\\P";var qpe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function Jpe(r,e){var t,i,n,s,o,a,l;if(e===null)return{};for(t={},i=Object.keys(e),n=0,s=i.length;n0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}else{for(s=0;si&&r[g+1]!==" ",g=s);else if(!Ug(o))return BI;a=s>0?r.charCodeAt(s-1):null,f=f&&M2(o,a)}c=c||u&&s-g-1>i&&r[g+1]!==" "}return!l&&!c?f&&!n(r)?_2:$2:t>9&&Z2(r)?BI:c?tH:eH}function _pe(r,e,t,i){r.dump=function(){if(e.length===0)return"''";if(!r.noCompatMode&&qpe.indexOf(e)!==-1)return"'"+e+"'";var n=r.indent*Math.max(1,t),s=r.lineWidth===-1?-1:Math.max(Math.min(r.lineWidth,40),r.lineWidth-n),o=i||r.flowLevel>-1&&t>=r.flowLevel;function a(l){return zpe(r,l)}switch(Zpe(e,o,r.indent,s,a)){case _2:return e;case $2:return"'"+e.replace(/'/g,"''")+"'";case eH:return"|"+O2(e,r.indent)+K2(L2(e,n));case tH:return">"+O2(e,r.indent)+K2(L2($pe(e,s),n));case BI:return'"'+ede(e,s)+'"';default:throw new ed("impossible error: invalid scalar style")}}()}function O2(r,e){var t=Z2(r)?String(e):"",i=r[r.length-1]===` -`,n=i&&(r[r.length-2]===` -`||r===` -`),s=n?"+":i?"":"-";return t+s+` -`}function K2(r){return r[r.length-1]===` -`?r.slice(0,-1):r}function $pe(r,e){for(var t=/(\n+)([^\n]*)/g,i=function(){var c=r.indexOf(` -`);return c=c!==-1?c:r.length,t.lastIndex=c,U2(r.slice(0,c),e)}(),n=r[0]===` -`||r[0]===" ",s,o;o=t.exec(r);){var a=o[1],l=o[2];s=l[0]===" ",i+=a+(!n&&!s&&l!==""?` -`:"")+U2(l,e),n=s}return i}function U2(r,e){if(r===""||r[0]===" ")return r;for(var t=/ [^ ]/g,i,n=0,s,o=0,a=0,l="";i=t.exec(r);)a=i.index,a-n>e&&(s=o>n?o:a,l+=` -`+r.slice(n,s),n=s+1),o=a;return l+=` -`,r.length-n>e&&o>n?l+=r.slice(n,o)+` -`+r.slice(o+1):l+=r.slice(n),l.slice(1)}function ede(r){for(var e="",t,i,n,s=0;s=55296&&t<=56319&&(i=r.charCodeAt(s+1),i>=56320&&i<=57343)){e+=T2((t-55296)*1024+i-56320+65536),s++;continue}n=Ni[t],e+=!n&&Ug(t)?r[s]:n||T2(t)}return e}function tde(r,e,t){var i="",n=r.tag,s,o;for(s=0,o=t.length;s1024&&(u+="? "),u+=r.dump+(r.condenseFlow?'"':"")+":"+(r.condenseFlow?"":" "),oc(r,e,c,!1,!1)&&(u+=r.dump,i+=u));r.tag=n,r.dump="{"+i+"}"}function nde(r,e,t,i){var n="",s=r.tag,o=Object.keys(t),a,l,c,u,g,f;if(r.sortKeys===!0)o.sort();else if(typeof r.sortKeys=="function")o.sort(r.sortKeys);else if(r.sortKeys)throw new ed("sortKeys must be a boolean or a function");for(a=0,l=o.length;a1024,g&&(r.dump&&_p===r.dump.charCodeAt(0)?f+="?":f+="? "),f+=r.dump,g&&(f+=VS(r,e)),oc(r,e+1,u,!0,g)&&(r.dump&&_p===r.dump.charCodeAt(0)?f+=":":f+=": ",f+=r.dump,n+=f));r.tag=s,r.dump=n||"{}"}function H2(r,e,t){var i,n,s,o,a,l;for(n=t?r.explicitTypes:r.implicitTypes,s=0,o=n.length;s tag resolver accepts not "'+l+'" style');r.dump=i}return!0}return!1}function oc(r,e,t,i,n,s){r.tag=null,r.dump=t,H2(r,t,!1)||H2(r,t,!0);var o=G2.call(r.dump);i&&(i=r.flowLevel<0||r.flowLevel>e);var a=o==="[object Object]"||o==="[object Array]",l,c;if(a&&(l=r.duplicates.indexOf(t),c=l!==-1),(r.tag!==null&&r.tag!=="?"||c||r.indent!==2&&e>0)&&(n=!1),c&&r.usedDuplicates[l])r.dump="*ref_"+l;else{if(a&&c&&!r.usedDuplicates[l]&&(r.usedDuplicates[l]=!0),o==="[object Object]")i&&Object.keys(r.dump).length!==0?(nde(r,e,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(ide(r,e,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump));else if(o==="[object Array]"){var u=r.noArrayIndent&&e>0?e-1:e;i&&r.dump.length!==0?(rde(r,u,r.dump,n),c&&(r.dump="&ref_"+l+r.dump)):(tde(r,u,r.dump),c&&(r.dump="&ref_"+l+" "+r.dump))}else if(o==="[object String]")r.tag!=="?"&&_pe(r,r.dump,e,s);else{if(r.skipInvalid)return!1;throw new ed("unacceptable kind of an object to dump "+o)}r.tag!==null&&r.tag!=="?"&&(r.dump="!<"+r.tag+"> "+r.dump)}return!0}function sde(r,e){var t=[],i=[],n,s;for(XS(r,t,i),n=0,s=i.length;n{"use strict";var bI=N2(),nH=iH();function QI(r){return function(){throw new Error("Function "+r+" is deprecated and cannot be used.")}}Fr.exports.Type=si();Fr.exports.Schema=rc();Fr.exports.FAILSAFE_SCHEMA=CI();Fr.exports.JSON_SCHEMA=YS();Fr.exports.CORE_SCHEMA=jS();Fr.exports.DEFAULT_SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_FULL_SCHEMA=Xp();Fr.exports.load=bI.load;Fr.exports.loadAll=bI.loadAll;Fr.exports.safeLoad=bI.safeLoad;Fr.exports.safeLoadAll=bI.safeLoadAll;Fr.exports.dump=nH.dump;Fr.exports.safeDump=nH.safeDump;Fr.exports.YAMLException=Ng();Fr.exports.MINIMAL_SCHEMA=CI();Fr.exports.SAFE_SCHEMA=Lg();Fr.exports.DEFAULT_SCHEMA=Xp();Fr.exports.scan=QI("scan");Fr.exports.parse=QI("parse");Fr.exports.compose=QI("compose");Fr.exports.addConstructor=QI("addConstructor")});var aH=w((t_e,oH)=>{"use strict";var ade=sH();oH.exports=ade});var lH=w((r_e,AH)=>{"use strict";function Ade(r,e){function t(){this.constructor=r}t.prototype=e.prototype,r.prototype=new t}function ac(r,e,t,i){this.message=r,this.expected=e,this.found=t,this.location=i,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,ac)}Ade(ac,Error);ac.buildMessage=function(r,e){var t={literal:function(c){return'"'+n(c.text)+'"'},class:function(c){var u="",g;for(g=0;g0){for(g=1,f=1;g({[Ke]:Ce})))},H=function(R){return R},j=function(R){return R},$=Us("correct indentation"),V=" ",W=ar(" ",!1),_=function(R){return R.length===bA*yg},A=function(R){return R.length===(bA+1)*yg},Ae=function(){return bA++,!0},ge=function(){return bA--,!0},re=function(){return pg()},M=Us("pseudostring"),F=/^[^\r\n\t ?:,\][{}#&*!|>'"%@`\-]/,ue=Tn(["\r",` -`," "," ","?",":",",","]","[","{","}","#","&","*","!","|",">","'",'"',"%","@","`","-"],!0,!1),pe=/^[^\r\n\t ,\][{}:#"']/,ke=Tn(["\r",` -`," "," ",",","]","[","{","}",":","#",'"',"'"],!0,!1),Fe=function(){return pg().replace(/^ *| *$/g,"")},Ne="--",oe=ar("--",!1),le=/^[a-zA-Z\/0-9]/,Be=Tn([["a","z"],["A","Z"],"/",["0","9"]],!1,!1),fe=/^[^\r\n\t :,]/,ae=Tn(["\r",` -`," "," ",":",","],!0,!1),qe="null",ne=ar("null",!1),Y=function(){return null},he="true",ie=ar("true",!1),de=function(){return!0},_e="false",Pt=ar("false",!1),It=function(){return!1},Mr=Us("string"),ii='"',gi=ar('"',!1),hr=function(){return""},fi=function(R){return R},ni=function(R){return R.join("")},Ks=/^[^"\\\0-\x1F\x7F]/,pr=Tn(['"',"\\",["\0",""],"\x7F"],!0,!1),Ii='\\"',rs=ar('\\"',!1),fa=function(){return'"'},dA="\\\\",cg=ar("\\\\",!1),is=function(){return"\\"},CA="\\/",ha=ar("\\/",!1),wp=function(){return"/"},mA="\\b",EA=ar("\\b",!1),wr=function(){return"\b"},Tl="\\f",ug=ar("\\f",!1),yo=function(){return"\f"},gg="\\n",Bp=ar("\\n",!1),bp=function(){return` -`},vr="\\r",se=ar("\\r",!1),wo=function(){return"\r"},Fn="\\t",fg=ar("\\t",!1),bt=function(){return" "},Ll="\\u",Nn=ar("\\u",!1),ns=function(R,q,Ce,Ke){return String.fromCharCode(parseInt(`0x${R}${q}${Ce}${Ke}`))},ss=/^[0-9a-fA-F]/,gt=Tn([["0","9"],["a","f"],["A","F"]],!1,!1),Bo=Us("blank space"),At=/^[ \t]/,ln=Tn([" "," "],!1,!1),S=Us("white space"),Lt=/^[ \t\n\r]/,hg=Tn([" "," ",` -`,"\r"],!1,!1),Ml=`\r -`,Qp=ar(`\r -`,!1),Sp=` -`,vp=ar(` -`,!1),xp="\r",Pp=ar("\r",!1),G=0,yt=0,IA=[{line:1,column:1}],zi=0,Ol=[],Xe=0,pa;if("startRule"in e){if(!(e.startRule in i))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');n=i[e.startRule]}function pg(){return r.substring(yt,G)}function ME(){return cn(yt,G)}function Dp(R,q){throw q=q!==void 0?q:cn(yt,G),Ul([Us(R)],r.substring(yt,G),q)}function OE(R,q){throw q=q!==void 0?q:cn(yt,G),dg(R,q)}function ar(R,q){return{type:"literal",text:R,ignoreCase:q}}function Tn(R,q,Ce){return{type:"class",parts:R,inverted:q,ignoreCase:Ce}}function Kl(){return{type:"any"}}function kp(){return{type:"end"}}function Us(R){return{type:"other",description:R}}function da(R){var q=IA[R],Ce;if(q)return q;for(Ce=R-1;!IA[Ce];)Ce--;for(q=IA[Ce],q={line:q.line,column:q.column};Cezi&&(zi=G,Ol=[]),Ol.push(R))}function dg(R,q){return new ac(R,null,null,q)}function Ul(R,q,Ce){return new ac(ac.buildMessage(R,q),R,q,Ce)}function Hs(){var R;return R=Cg(),R}function Hl(){var R,q,Ce;for(R=G,q=[],Ce=yA();Ce!==t;)q.push(Ce),Ce=yA();return q!==t&&(yt=R,q=s(q)),R=q,R}function yA(){var R,q,Ce,Ke,Re;return R=G,q=ma(),q!==t?(r.charCodeAt(G)===45?(Ce=o,G++):(Ce=t,Xe===0&&Le(a)),Ce!==t?(Ke=Rr(),Ke!==t?(Re=Ca(),Re!==t?(yt=R,q=l(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R}function Cg(){var R,q,Ce;for(R=G,q=[],Ce=mg();Ce!==t;)q.push(Ce),Ce=mg();return q!==t&&(yt=R,q=c(q)),R=q,R}function mg(){var R,q,Ce,Ke,Re,ze,dt,Ft,Ln;if(R=G,q=Rr(),q===t&&(q=null),q!==t){if(Ce=G,r.charCodeAt(G)===35?(Ke=u,G++):(Ke=t,Xe===0&&Le(g)),Ke!==t){if(Re=[],ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t),ze!==t)for(;ze!==t;)Re.push(ze),ze=G,dt=G,Xe++,Ft=js(),Xe--,Ft===t?dt=void 0:(G=dt,dt=t),dt!==t?(r.length>G?(Ft=r.charAt(G),G++):(Ft=t,Xe===0&&Le(f)),Ft!==t?(dt=[dt,Ft],ze=dt):(G=ze,ze=t)):(G=ze,ze=t);else Re=t;Re!==t?(Ke=[Ke,Re],Ce=Ke):(G=Ce,Ce=t)}else G=Ce,Ce=t;if(Ce===t&&(Ce=null),Ce!==t){if(Ke=[],Re=Ys(),Re!==t)for(;Re!==t;)Ke.push(Re),Re=Ys();else Ke=t;Ke!==t?(yt=R,q=h(),R=q):(G=R,R=t)}else G=R,R=t}else G=R,R=t;if(R===t&&(R=G,q=ma(),q!==t?(Ce=Gl(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=ma(),q!==t?(Ce=Gs(),Ce!==t?(Ke=Rr(),Ke===t&&(Ke=null),Ke!==t?(r.charCodeAt(G)===58?(Re=p,G++):(Re=t,Xe===0&&Le(C)),Re!==t?(ze=Rr(),ze===t&&(ze=null),ze!==t?(dt=Ca(),dt!==t?(yt=R,q=y(Ce,dt),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))){if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t)if(Ke=Rr(),Ke!==t)if(Re=KE(),Re!==t){if(ze=[],dt=Ys(),dt!==t)for(;dt!==t;)ze.push(dt),dt=Ys();else ze=t;ze!==t?(yt=R,q=y(Ce,Re),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;else G=R,R=t;else G=R,R=t;if(R===t)if(R=G,q=ma(),q!==t)if(Ce=Gs(),Ce!==t){if(Ke=[],Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t),Re!==t)for(;Re!==t;)Ke.push(Re),Re=G,ze=Rr(),ze===t&&(ze=null),ze!==t?(r.charCodeAt(G)===44?(dt=B,G++):(dt=t,Xe===0&&Le(v)),dt!==t?(Ft=Rr(),Ft===t&&(Ft=null),Ft!==t?(Ln=Gs(),Ln!==t?(yt=Re,ze=D(Ce,Ln),Re=ze):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t)):(G=Re,Re=t);else Ke=t;Ke!==t?(Re=Rr(),Re===t&&(Re=null),Re!==t?(r.charCodeAt(G)===58?(ze=p,G++):(ze=t,Xe===0&&Le(C)),ze!==t?(dt=Rr(),dt===t&&(dt=null),dt!==t?(Ft=Ca(),Ft!==t?(yt=R,q=T(Ce,Ke,Ft),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)}else G=R,R=t;else G=R,R=t}return R}function Ca(){var R,q,Ce,Ke,Re,ze,dt;if(R=G,q=G,Xe++,Ce=G,Ke=js(),Ke!==t?(Re=rt(),Re!==t?(r.charCodeAt(G)===45?(ze=o,G++):(ze=t,Xe===0&&Le(a)),ze!==t?(dt=Rr(),dt!==t?(Ke=[Ke,Re,ze,dt],Ce=Ke):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t)):(G=Ce,Ce=t),Xe--,Ce!==t?(G=q,q=void 0):q=t,q!==t?(Ce=Ys(),Ce!==t?(Ke=bo(),Ke!==t?(Re=Hl(),Re!==t?(ze=wA(),ze!==t?(yt=R,q=H(Re),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,q=js(),q!==t?(Ce=bo(),Ce!==t?(Ke=Cg(),Ke!==t?(Re=wA(),Re!==t?(yt=R,q=H(Ke),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t),R===t))if(R=G,q=Yl(),q!==t){if(Ce=[],Ke=Ys(),Ke!==t)for(;Ke!==t;)Ce.push(Ke),Ke=Ys();else Ce=t;Ce!==t?(yt=R,q=j(q),R=q):(G=R,R=t)}else G=R,R=t;return R}function ma(){var R,q,Ce;for(Xe++,R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=_(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),Xe--,R===t&&(q=t,Xe===0&&Le($)),R}function rt(){var R,q,Ce;for(R=G,q=[],r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));Ce!==t;)q.push(Ce),r.charCodeAt(G)===32?(Ce=V,G++):(Ce=t,Xe===0&&Le(W));return q!==t?(yt=G,Ce=A(q),Ce?Ce=void 0:Ce=t,Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)):(G=R,R=t),R}function bo(){var R;return yt=G,R=Ae(),R?R=void 0:R=t,R}function wA(){var R;return yt=G,R=ge(),R?R=void 0:R=t,R}function Gl(){var R;return R=jl(),R===t&&(R=Rp()),R}function Gs(){var R,q,Ce;if(R=jl(),R===t){if(R=G,q=[],Ce=Eg(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Eg();else q=t;q!==t&&(yt=R,q=re()),R=q}return R}function Yl(){var R;return R=Fp(),R===t&&(R=UE(),R===t&&(R=jl(),R===t&&(R=Rp()))),R}function KE(){var R;return R=Fp(),R===t&&(R=jl(),R===t&&(R=Eg())),R}function Rp(){var R,q,Ce,Ke,Re,ze;if(Xe++,R=G,F.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ue)),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(pe.test(r.charAt(G))?(ze=r.charAt(G),G++):(ze=t,Xe===0&&Le(ke)),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(M)),R}function Eg(){var R,q,Ce,Ke,Re;if(R=G,r.substr(G,2)===Ne?(q=Ne,G+=2):(q=t,Xe===0&&Le(oe)),q===t&&(q=null),q!==t)if(le.test(r.charAt(G))?(Ce=r.charAt(G),G++):(Ce=t,Xe===0&&Le(Be)),Ce!==t){for(Ke=[],fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Re!==t;)Ke.push(Re),fe.test(r.charAt(G))?(Re=r.charAt(G),G++):(Re=t,Xe===0&&Le(ae));Ke!==t?(yt=R,q=Fe(),R=q):(G=R,R=t)}else G=R,R=t;else G=R,R=t;return R}function Fp(){var R,q;return R=G,r.substr(G,4)===qe?(q=qe,G+=4):(q=t,Xe===0&&Le(ne)),q!==t&&(yt=R,q=Y()),R=q,R}function UE(){var R,q;return R=G,r.substr(G,4)===he?(q=he,G+=4):(q=t,Xe===0&&Le(ie)),q!==t&&(yt=R,q=de()),R=q,R===t&&(R=G,r.substr(G,5)===_e?(q=_e,G+=5):(q=t,Xe===0&&Le(Pt)),q!==t&&(yt=R,q=It()),R=q),R}function jl(){var R,q,Ce,Ke;return Xe++,R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(r.charCodeAt(G)===34?(Ce=ii,G++):(Ce=t,Xe===0&&Le(gi)),Ce!==t?(yt=R,q=hr(),R=q):(G=R,R=t)):(G=R,R=t),R===t&&(R=G,r.charCodeAt(G)===34?(q=ii,G++):(q=t,Xe===0&&Le(gi)),q!==t?(Ce=HE(),Ce!==t?(r.charCodeAt(G)===34?(Ke=ii,G++):(Ke=t,Xe===0&&Le(gi)),Ke!==t?(yt=R,q=fi(Ce),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)),Xe--,R===t&&(q=t,Xe===0&&Le(Mr)),R}function HE(){var R,q,Ce;if(R=G,q=[],Ce=Ig(),Ce!==t)for(;Ce!==t;)q.push(Ce),Ce=Ig();else q=t;return q!==t&&(yt=R,q=ni(q)),R=q,R}function Ig(){var R,q,Ce,Ke,Re,ze;return Ks.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(pr)),R===t&&(R=G,r.substr(G,2)===Ii?(q=Ii,G+=2):(q=t,Xe===0&&Le(rs)),q!==t&&(yt=R,q=fa()),R=q,R===t&&(R=G,r.substr(G,2)===dA?(q=dA,G+=2):(q=t,Xe===0&&Le(cg)),q!==t&&(yt=R,q=is()),R=q,R===t&&(R=G,r.substr(G,2)===CA?(q=CA,G+=2):(q=t,Xe===0&&Le(ha)),q!==t&&(yt=R,q=wp()),R=q,R===t&&(R=G,r.substr(G,2)===mA?(q=mA,G+=2):(q=t,Xe===0&&Le(EA)),q!==t&&(yt=R,q=wr()),R=q,R===t&&(R=G,r.substr(G,2)===Tl?(q=Tl,G+=2):(q=t,Xe===0&&Le(ug)),q!==t&&(yt=R,q=yo()),R=q,R===t&&(R=G,r.substr(G,2)===gg?(q=gg,G+=2):(q=t,Xe===0&&Le(Bp)),q!==t&&(yt=R,q=bp()),R=q,R===t&&(R=G,r.substr(G,2)===vr?(q=vr,G+=2):(q=t,Xe===0&&Le(se)),q!==t&&(yt=R,q=wo()),R=q,R===t&&(R=G,r.substr(G,2)===Fn?(q=Fn,G+=2):(q=t,Xe===0&&Le(fg)),q!==t&&(yt=R,q=bt()),R=q,R===t&&(R=G,r.substr(G,2)===Ll?(q=Ll,G+=2):(q=t,Xe===0&&Le(Nn)),q!==t?(Ce=BA(),Ce!==t?(Ke=BA(),Ke!==t?(Re=BA(),Re!==t?(ze=BA(),ze!==t?(yt=R,q=ns(Ce,Ke,Re,ze),R=q):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)):(G=R,R=t)))))))))),R}function BA(){var R;return ss.test(r.charAt(G))?(R=r.charAt(G),G++):(R=t,Xe===0&&Le(gt)),R}function Rr(){var R,q;if(Xe++,R=[],At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln)),q!==t)for(;q!==t;)R.push(q),At.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(ln));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(Bo)),R}function GE(){var R,q;if(Xe++,R=[],Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg)),q!==t)for(;q!==t;)R.push(q),Lt.test(r.charAt(G))?(q=r.charAt(G),G++):(q=t,Xe===0&&Le(hg));else R=t;return Xe--,R===t&&(q=t,Xe===0&&Le(S)),R}function Ys(){var R,q,Ce,Ke,Re,ze;if(R=G,q=js(),q!==t){for(Ce=[],Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ke!==t;)Ce.push(Ke),Ke=G,Re=Rr(),Re===t&&(Re=null),Re!==t?(ze=js(),ze!==t?(Re=[Re,ze],Ke=Re):(G=Ke,Ke=t)):(G=Ke,Ke=t);Ce!==t?(q=[q,Ce],R=q):(G=R,R=t)}else G=R,R=t;return R}function js(){var R;return r.substr(G,2)===Ml?(R=Ml,G+=2):(R=t,Xe===0&&Le(Qp)),R===t&&(r.charCodeAt(G)===10?(R=Sp,G++):(R=t,Xe===0&&Le(vp)),R===t&&(r.charCodeAt(G)===13?(R=xp,G++):(R=t,Xe===0&&Le(Pp)))),R}let yg=2,bA=0;if(pa=n(),pa!==t&&G===r.length)return pa;throw pa!==t&&G{"use strict";var hde=r=>{let e=!1,t=!1,i=!1;for(let n=0;n{if(!(typeof r=="string"||Array.isArray(r)))throw new TypeError("Expected the input to be `string | string[]`");e=Object.assign({pascalCase:!1},e);let t=n=>e.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n;return Array.isArray(r)?r=r.map(n=>n.trim()).filter(n=>n.length).join("-"):r=r.trim(),r.length===0?"":r.length===1?e.pascalCase?r.toUpperCase():r.toLowerCase():(r!==r.toLowerCase()&&(r=hde(r)),r=r.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(n,s)=>s.toUpperCase()).replace(/\d+(\w|$)/g,n=>n.toUpperCase()),t(r))};ev.exports=hH;ev.exports.default=hH});var dH=w((A_e,pde)=>{pde.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vercel",constant:"VERCEL",env:"NOW_BUILDER"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"}]});var Ac=w(Un=>{"use strict";var mH=dH(),Po=process.env;Object.defineProperty(Un,"_vendors",{value:mH.map(function(r){return r.constant})});Un.name=null;Un.isPR=null;mH.forEach(function(r){let t=(Array.isArray(r.env)?r.env:[r.env]).every(function(i){return CH(i)});if(Un[r.constant]=t,t)switch(Un.name=r.name,typeof r.pr){case"string":Un.isPR=!!Po[r.pr];break;case"object":"env"in r.pr?Un.isPR=r.pr.env in Po&&Po[r.pr.env]!==r.pr.ne:"any"in r.pr?Un.isPR=r.pr.any.some(function(i){return!!Po[i]}):Un.isPR=CH(r.pr);break;default:Un.isPR=null}});Un.isCI=!!(Po.CI||Po.CONTINUOUS_INTEGRATION||Po.BUILD_NUMBER||Po.RUN_ID||Un.name);function CH(r){return typeof r=="string"?!!Po[r]:Object.keys(r).every(function(e){return Po[e]===r[e]})}});var hn={};ut(hn,{KeyRelationship:()=>lc,applyCascade:()=>od,base64RegExp:()=>BH,colorStringAlphaRegExp:()=>wH,colorStringRegExp:()=>yH,computeKey:()=>RA,getPrintable:()=>Vr,hasExactLength:()=>xH,hasForbiddenKeys:()=>Wde,hasKeyRelationship:()=>av,hasMaxLength:()=>Dde,hasMinLength:()=>Pde,hasMutuallyExclusiveKeys:()=>zde,hasRequiredKeys:()=>Jde,hasUniqueItems:()=>kde,isArray:()=>yde,isAtLeast:()=>Nde,isAtMost:()=>Tde,isBase64:()=>jde,isBoolean:()=>mde,isDate:()=>Ide,isDict:()=>Bde,isEnum:()=>Zi,isHexColor:()=>Yde,isISO8601:()=>Gde,isInExclusiveRange:()=>Mde,isInInclusiveRange:()=>Lde,isInstanceOf:()=>Qde,isInteger:()=>Ode,isJSON:()=>qde,isLiteral:()=>dde,isLowerCase:()=>Kde,isNegative:()=>Rde,isNullable:()=>xde,isNumber:()=>Ede,isObject:()=>bde,isOneOf:()=>Sde,isOptional:()=>vde,isPositive:()=>Fde,isString:()=>sd,isTuple:()=>wde,isUUID4:()=>Hde,isUnknown:()=>vH,isUpperCase:()=>Ude,iso8601RegExp:()=>ov,makeCoercionFn:()=>cc,makeSetter:()=>SH,makeTrait:()=>QH,makeValidator:()=>Qt,matchesRegExp:()=>ad,plural:()=>kI,pushError:()=>pt,simpleKeyRegExp:()=>IH,uuid4RegExp:()=>bH});function Qt({test:r}){return QH(r)()}function Vr(r){return r===null?"null":r===void 0?"undefined":r===""?"an empty string":JSON.stringify(r)}function RA(r,e){var t,i,n;return typeof e=="number"?`${(t=r==null?void 0:r.p)!==null&&t!==void 0?t:"."}[${e}]`:IH.test(e)?`${(i=r==null?void 0:r.p)!==null&&i!==void 0?i:""}.${e}`:`${(n=r==null?void 0:r.p)!==null&&n!==void 0?n:"."}[${JSON.stringify(e)}]`}function cc(r,e){return t=>{let i=r[e];return r[e]=t,cc(r,e).bind(null,i)}}function SH(r,e){return t=>{r[e]=t}}function kI(r,e,t){return r===1?e:t}function pt({errors:r,p:e}={},t){return r==null||r.push(`${e!=null?e:"."}: ${t}`),!1}function dde(r){return Qt({test:(e,t)=>e!==r?pt(t,`Expected a literal (got ${Vr(r)})`):!0})}function Zi(r){let e=Array.isArray(r)?r:Object.values(r),t=new Set(e);return Qt({test:(i,n)=>t.has(i)?!0:pt(n,`Expected a valid enumeration value (got ${Vr(i)})`)})}var IH,yH,wH,BH,bH,ov,QH,vH,sd,Cde,mde,Ede,Ide,yde,wde,Bde,bde,Qde,Sde,od,vde,xde,Pde,Dde,xH,kde,Rde,Fde,Nde,Tde,Lde,Mde,Ode,ad,Kde,Ude,Hde,Gde,Yde,jde,qde,Jde,Wde,zde,lc,Vde,av,ls=Tge(()=>{IH=/^[a-zA-Z_][a-zA-Z0-9_]*$/,yH=/^#[0-9a-f]{6}$/i,wH=/^#[0-9a-f]{6}([0-9a-f]{2})?$/i,BH=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,bH=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$/i,ov=/^(?:[1-9]\d{3}(-?)(?:(?:0[1-9]|1[0-2])\1(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])\1(?:29|30)|(?:0[13578]|1[02])(?:\1)31|00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[0-5]))|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)(?:(-?)02(?:\2)29|-?366))T(?:[01]\d|2[0-3])(:?)[0-5]\d(?:\3[0-5]\d)?(?:Z|[+-][01]\d(?:\3[0-5]\d)?)$/,QH=r=>()=>r;vH=()=>Qt({test:(r,e)=>!0});sd=()=>Qt({test:(r,e)=>typeof r!="string"?pt(e,`Expected a string (got ${Vr(r)})`):!0});Cde=new Map([["true",!0],["True",!0],["1",!0],[1,!0],["false",!1],["False",!1],["0",!1],[0,!1]]),mde=()=>Qt({test:(r,e)=>{var t;if(typeof r!="boolean"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i=Cde.get(r);if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a boolean (got ${Vr(r)})`)}return!0}}),Ede=()=>Qt({test:(r,e)=>{var t;if(typeof r!="number"){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"){let n;try{n=JSON.parse(r)}catch{}if(typeof n=="number")if(JSON.stringify(n)===r)i=n;else return pt(e,`Received a number that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a number (got ${Vr(r)})`)}return!0}}),Ide=()=>Qt({test:(r,e)=>{var t;if(!(r instanceof Date)){if(typeof(e==null?void 0:e.coercions)<"u"){if(typeof(e==null?void 0:e.coercion)>"u")return pt(e,"Unbound coercion result");let i;if(typeof r=="string"&&ov.test(r))i=new Date(r);else{let n;if(typeof r=="string"){let s;try{s=JSON.parse(r)}catch{}typeof s=="number"&&(n=s)}else typeof r=="number"&&(n=r);if(typeof n<"u")if(Number.isSafeInteger(n)||!Number.isSafeInteger(n*1e3))i=new Date(n*1e3);else return pt(e,`Received a timestamp that can't be safely represented by the runtime (${r})`)}if(typeof i<"u")return e.coercions.push([(t=e.p)!==null&&t!==void 0?t:".",e.coercion.bind(null,i)]),!0}return pt(e,`Expected a date (got ${Vr(r)})`)}return!0}}),yde=(r,{delimiter:e}={})=>Qt({test:(t,i)=>{var n;if(typeof t=="string"&&typeof e<"u"&&typeof(i==null?void 0:i.coercions)<"u"){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");t=t.split(e),i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,t)])}if(!Array.isArray(t))return pt(i,`Expected an array (got ${Vr(t)})`);let s=!0;for(let o=0,a=t.length;o{let t=xH(r.length);return Qt({test:(i,n)=>{var s;if(typeof i=="string"&&typeof e<"u"&&typeof(n==null?void 0:n.coercions)<"u"){if(typeof(n==null?void 0:n.coercion)>"u")return pt(n,"Unbound coercion result");i=i.split(e),n.coercions.push([(s=n.p)!==null&&s!==void 0?s:".",n.coercion.bind(null,i)])}if(!Array.isArray(i))return pt(n,`Expected a tuple (got ${Vr(i)})`);let o=t(i,Object.assign({},n));for(let a=0,l=i.length;aQt({test:(t,i)=>{if(typeof t!="object"||t===null)return pt(i,`Expected an object (got ${Vr(t)})`);let n=Object.keys(t),s=!0;for(let o=0,a=n.length;o{let t=Object.keys(r);return Qt({test:(i,n)=>{if(typeof i!="object"||i===null)return pt(n,`Expected an object (got ${Vr(i)})`);let s=new Set([...t,...Object.keys(i)]),o={},a=!0;for(let l of s){if(l==="constructor"||l==="__proto__")a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),"Unsafe property name");else{let c=Object.prototype.hasOwnProperty.call(r,l)?r[l]:void 0,u=Object.prototype.hasOwnProperty.call(i,l)?i[l]:void 0;typeof c<"u"?a=c(u,Object.assign(Object.assign({},n),{p:RA(n,l),coercion:cc(i,l)}))&&a:e===null?a=pt(Object.assign(Object.assign({},n),{p:RA(n,l)}),`Extraneous property (got ${Vr(u)})`):Object.defineProperty(o,l,{enumerable:!0,get:()=>u,set:SH(i,l)})}if(!a&&(n==null?void 0:n.errors)==null)break}return e!==null&&(a||(n==null?void 0:n.errors)!=null)&&(a=e(o,n)&&a),a}})},Qde=r=>Qt({test:(e,t)=>e instanceof r?!0:pt(t,`Expected an instance of ${r.name} (got ${Vr(e)})`)}),Sde=(r,{exclusive:e=!1}={})=>Qt({test:(t,i)=>{var n,s,o;let a=[],l=typeof(i==null?void 0:i.errors)<"u"?[]:void 0;for(let c=0,u=r.length;c1?pt(i,`Expected to match exactly a single predicate (matched ${a.join(", ")})`):(o=i==null?void 0:i.errors)===null||o===void 0||o.push(...l),!1}}),od=(r,e)=>Qt({test:(t,i)=>{var n,s;let o={value:t},a=typeof(i==null?void 0:i.coercions)<"u"?cc(o,"value"):void 0,l=typeof(i==null?void 0:i.coercions)<"u"?[]:void 0;if(!r(t,Object.assign(Object.assign({},i),{coercion:a,coercions:l})))return!1;let c=[];if(typeof l<"u")for(let[,u]of l)c.push(u());try{if(typeof(i==null?void 0:i.coercions)<"u"){if(o.value!==t){if(typeof(i==null?void 0:i.coercion)>"u")return pt(i,"Unbound coercion result");i.coercions.push([(n=i.p)!==null&&n!==void 0?n:".",i.coercion.bind(null,o.value)])}(s=i==null?void 0:i.coercions)===null||s===void 0||s.push(...l)}return e.every(u=>u(o.value,i))}finally{for(let u of c)u()}}}),vde=r=>Qt({test:(e,t)=>typeof e>"u"?!0:r(e,t)}),xde=r=>Qt({test:(e,t)=>e===null?!0:r(e,t)}),Pde=r=>Qt({test:(e,t)=>e.length>=r?!0:pt(t,`Expected to have a length of at least ${r} elements (got ${e.length})`)}),Dde=r=>Qt({test:(e,t)=>e.length<=r?!0:pt(t,`Expected to have a length of at most ${r} elements (got ${e.length})`)}),xH=r=>Qt({test:(e,t)=>e.length!==r?pt(t,`Expected to have a length of exactly ${r} elements (got ${e.length})`):!0}),kde=({map:r}={})=>Qt({test:(e,t)=>{let i=new Set,n=new Set;for(let s=0,o=e.length;sQt({test:(r,e)=>r<=0?!0:pt(e,`Expected to be negative (got ${r})`)}),Fde=()=>Qt({test:(r,e)=>r>=0?!0:pt(e,`Expected to be positive (got ${r})`)}),Nde=r=>Qt({test:(e,t)=>e>=r?!0:pt(t,`Expected to be at least ${r} (got ${e})`)}),Tde=r=>Qt({test:(e,t)=>e<=r?!0:pt(t,`Expected to be at most ${r} (got ${e})`)}),Lde=(r,e)=>Qt({test:(t,i)=>t>=r&&t<=e?!0:pt(i,`Expected to be in the [${r}; ${e}] range (got ${t})`)}),Mde=(r,e)=>Qt({test:(t,i)=>t>=r&&tQt({test:(e,t)=>e!==Math.round(e)?pt(t,`Expected to be an integer (got ${e})`):Number.isSafeInteger(e)?!0:pt(t,`Expected to be a safe integer (got ${e})`)}),ad=r=>Qt({test:(e,t)=>r.test(e)?!0:pt(t,`Expected to match the pattern ${r.toString()} (got ${Vr(e)})`)}),Kde=()=>Qt({test:(r,e)=>r!==r.toLowerCase()?pt(e,`Expected to be all-lowercase (got ${r})`):!0}),Ude=()=>Qt({test:(r,e)=>r!==r.toUpperCase()?pt(e,`Expected to be all-uppercase (got ${r})`):!0}),Hde=()=>Qt({test:(r,e)=>bH.test(r)?!0:pt(e,`Expected to be a valid UUID v4 (got ${Vr(r)})`)}),Gde=()=>Qt({test:(r,e)=>ov.test(r)?!1:pt(e,`Expected to be a valid ISO 8601 date string (got ${Vr(r)})`)}),Yde=({alpha:r=!1})=>Qt({test:(e,t)=>(r?yH.test(e):wH.test(e))?!0:pt(t,`Expected to be a valid hexadecimal color string (got ${Vr(e)})`)}),jde=()=>Qt({test:(r,e)=>BH.test(r)?!0:pt(e,`Expected to be a valid base 64 string (got ${Vr(r)})`)}),qde=(r=vH())=>Qt({test:(e,t)=>{let i;try{i=JSON.parse(e)}catch{return pt(t,`Expected to be a valid JSON string (got ${Vr(e)})`)}return r(i,t)}}),Jde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)||s.push(o);return s.length>0?pt(i,`Missing required ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},Wde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>0?pt(i,`Forbidden ${kI(s.length,"property","properties")} ${s.map(o=>`"${o}"`).join(", ")}`):!0}})},zde=r=>{let e=new Set(r);return Qt({test:(t,i)=>{let n=new Set(Object.keys(t)),s=[];for(let o of e)n.has(o)&&s.push(o);return s.length>1?pt(i,`Mutually exclusive properties ${s.map(o=>`"${o}"`).join(", ")}`):!0}})};(function(r){r.Forbids="Forbids",r.Requires="Requires"})(lc||(lc={}));Vde={[lc.Forbids]:{expect:!1,message:"forbids using"},[lc.Requires]:{expect:!0,message:"requires using"}},av=(r,e,t,{ignore:i=[]}={})=>{let n=new Set(i),s=new Set(t),o=Vde[e];return Qt({test:(a,l)=>{let c=new Set(Object.keys(a));if(!c.has(r)||n.has(a[r]))return!0;let u=[];for(let g of s)(c.has(g)&&!n.has(a[g]))!==o.expect&&u.push(g);return u.length>=1?pt(l,`Property "${r}" ${o.message} ${kI(u.length,"property","properties")} ${u.map(g=>`"${g}"`).join(", ")}`):!0}})}});var qH=w((A$e,jH)=>{"use strict";jH.exports=(r,...e)=>new Promise(t=>{t(r(...e))})});var Jg=w((l$e,pv)=>{"use strict";var gCe=qH(),JH=r=>{if(r<1)throw new TypeError("Expected `concurrency` to be a number from 1 and up");let e=[],t=0,i=()=>{t--,e.length>0&&e.shift()()},n=(a,l,...c)=>{t++;let u=gCe(a,...c);l(u),u.then(i,i)},s=(a,l,...c)=>{tnew Promise(c=>s(a,c,...l));return Object.defineProperties(o,{activeCount:{get:()=>t},pendingCount:{get:()=>e.length}}),o};pv.exports=JH;pv.exports.default=JH});var gd=w((u$e,WH)=>{var fCe="2.0.0",hCe=Number.MAX_SAFE_INTEGER||9007199254740991,pCe=16;WH.exports={SEMVER_SPEC_VERSION:fCe,MAX_LENGTH:256,MAX_SAFE_INTEGER:hCe,MAX_SAFE_COMPONENT_LENGTH:pCe}});var fd=w((g$e,zH)=>{var dCe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};zH.exports=dCe});var uc=w((NA,VH)=>{var{MAX_SAFE_COMPONENT_LENGTH:dv}=gd(),CCe=fd();NA=VH.exports={};var mCe=NA.re=[],et=NA.src=[],tt=NA.t={},ECe=0,St=(r,e,t)=>{let i=ECe++;CCe(i,e),tt[r]=i,et[i]=e,mCe[i]=new RegExp(e,t?"g":void 0)};St("NUMERICIDENTIFIER","0|[1-9]\\d*");St("NUMERICIDENTIFIERLOOSE","[0-9]+");St("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");St("MAINVERSION",`(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})\\.(${et[tt.NUMERICIDENTIFIER]})`);St("MAINVERSIONLOOSE",`(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})\\.(${et[tt.NUMERICIDENTIFIERLOOSE]})`);St("PRERELEASEIDENTIFIER",`(?:${et[tt.NUMERICIDENTIFIER]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASEIDENTIFIERLOOSE",`(?:${et[tt.NUMERICIDENTIFIERLOOSE]}|${et[tt.NONNUMERICIDENTIFIER]})`);St("PRERELEASE",`(?:-(${et[tt.PRERELEASEIDENTIFIER]}(?:\\.${et[tt.PRERELEASEIDENTIFIER]})*))`);St("PRERELEASELOOSE",`(?:-?(${et[tt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${et[tt.PRERELEASEIDENTIFIERLOOSE]})*))`);St("BUILDIDENTIFIER","[0-9A-Za-z-]+");St("BUILD",`(?:\\+(${et[tt.BUILDIDENTIFIER]}(?:\\.${et[tt.BUILDIDENTIFIER]})*))`);St("FULLPLAIN",`v?${et[tt.MAINVERSION]}${et[tt.PRERELEASE]}?${et[tt.BUILD]}?`);St("FULL",`^${et[tt.FULLPLAIN]}$`);St("LOOSEPLAIN",`[v=\\s]*${et[tt.MAINVERSIONLOOSE]}${et[tt.PRERELEASELOOSE]}?${et[tt.BUILD]}?`);St("LOOSE",`^${et[tt.LOOSEPLAIN]}$`);St("GTLT","((?:<|>)?=?)");St("XRANGEIDENTIFIERLOOSE",`${et[tt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);St("XRANGEIDENTIFIER",`${et[tt.NUMERICIDENTIFIER]}|x|X|\\*`);St("XRANGEPLAIN",`[v=\\s]*(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:\\.(${et[tt.XRANGEIDENTIFIER]})(?:${et[tt.PRERELEASE]})?${et[tt.BUILD]}?)?)?`);St("XRANGEPLAINLOOSE",`[v=\\s]*(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[tt.XRANGEIDENTIFIERLOOSE]})(?:${et[tt.PRERELEASELOOSE]})?${et[tt.BUILD]}?)?)?`);St("XRANGE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAIN]}$`);St("XRANGELOOSE",`^${et[tt.GTLT]}\\s*${et[tt.XRANGEPLAINLOOSE]}$`);St("COERCE",`(^|[^\\d])(\\d{1,${dv}})(?:\\.(\\d{1,${dv}}))?(?:\\.(\\d{1,${dv}}))?(?:$|[^\\d])`);St("COERCERTL",et[tt.COERCE],!0);St("LONETILDE","(?:~>?)");St("TILDETRIM",`(\\s*)${et[tt.LONETILDE]}\\s+`,!0);NA.tildeTrimReplace="$1~";St("TILDE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAIN]}$`);St("TILDELOOSE",`^${et[tt.LONETILDE]}${et[tt.XRANGEPLAINLOOSE]}$`);St("LONECARET","(?:\\^)");St("CARETTRIM",`(\\s*)${et[tt.LONECARET]}\\s+`,!0);NA.caretTrimReplace="$1^";St("CARET",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAIN]}$`);St("CARETLOOSE",`^${et[tt.LONECARET]}${et[tt.XRANGEPLAINLOOSE]}$`);St("COMPARATORLOOSE",`^${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]})$|^$`);St("COMPARATOR",`^${et[tt.GTLT]}\\s*(${et[tt.FULLPLAIN]})$|^$`);St("COMPARATORTRIM",`(\\s*)${et[tt.GTLT]}\\s*(${et[tt.LOOSEPLAIN]}|${et[tt.XRANGEPLAIN]})`,!0);NA.comparatorTrimReplace="$1$2$3";St("HYPHENRANGE",`^\\s*(${et[tt.XRANGEPLAIN]})\\s+-\\s+(${et[tt.XRANGEPLAIN]})\\s*$`);St("HYPHENRANGELOOSE",`^\\s*(${et[tt.XRANGEPLAINLOOSE]})\\s+-\\s+(${et[tt.XRANGEPLAINLOOSE]})\\s*$`);St("STAR","(<|>)?=?\\s*\\*");St("GTE0","^\\s*>=\\s*0.0.0\\s*$");St("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});var hd=w((f$e,XH)=>{var ICe=["includePrerelease","loose","rtl"],yCe=r=>r?typeof r!="object"?{loose:!0}:ICe.filter(e=>r[e]).reduce((e,t)=>(e[t]=!0,e),{}):{};XH.exports=yCe});var MI=w((h$e,$H)=>{var ZH=/^[0-9]+$/,_H=(r,e)=>{let t=ZH.test(r),i=ZH.test(e);return t&&i&&(r=+r,e=+e),r===e?0:t&&!i?-1:i&&!t?1:r_H(e,r);$H.exports={compareIdentifiers:_H,rcompareIdentifiers:wCe}});var Li=w((p$e,iG)=>{var OI=fd(),{MAX_LENGTH:eG,MAX_SAFE_INTEGER:KI}=gd(),{re:tG,t:rG}=uc(),BCe=hd(),{compareIdentifiers:pd}=MI(),Yn=class{constructor(e,t){if(t=BCe(t),e instanceof Yn){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid Version: ${e}`);if(e.length>eG)throw new TypeError(`version is longer than ${eG} characters`);OI("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let i=e.trim().match(t.loose?tG[rG.LOOSE]:tG[rG.FULL]);if(!i)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>KI||this.major<0)throw new TypeError("Invalid major version");if(this.minor>KI||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>KI||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);i===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};iG.exports=Yn});var gc=w((d$e,aG)=>{var{MAX_LENGTH:bCe}=gd(),{re:nG,t:sG}=uc(),oG=Li(),QCe=hd(),SCe=(r,e)=>{if(e=QCe(e),r instanceof oG)return r;if(typeof r!="string"||r.length>bCe||!(e.loose?nG[sG.LOOSE]:nG[sG.FULL]).test(r))return null;try{return new oG(r,e)}catch{return null}};aG.exports=SCe});var lG=w((C$e,AG)=>{var vCe=gc(),xCe=(r,e)=>{let t=vCe(r,e);return t?t.version:null};AG.exports=xCe});var uG=w((m$e,cG)=>{var PCe=gc(),DCe=(r,e)=>{let t=PCe(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null};cG.exports=DCe});var fG=w((E$e,gG)=>{var kCe=Li(),RCe=(r,e,t,i)=>{typeof t=="string"&&(i=t,t=void 0);try{return new kCe(r,t).inc(e,i).version}catch{return null}};gG.exports=RCe});var cs=w((I$e,pG)=>{var hG=Li(),FCe=(r,e,t)=>new hG(r,t).compare(new hG(e,t));pG.exports=FCe});var UI=w((y$e,dG)=>{var NCe=cs(),TCe=(r,e,t)=>NCe(r,e,t)===0;dG.exports=TCe});var EG=w((w$e,mG)=>{var CG=gc(),LCe=UI(),MCe=(r,e)=>{if(LCe(r,e))return null;{let t=CG(r),i=CG(e),n=t.prerelease.length||i.prerelease.length,s=n?"pre":"",o=n?"prerelease":"";for(let a in t)if((a==="major"||a==="minor"||a==="patch")&&t[a]!==i[a])return s+a;return o}};mG.exports=MCe});var yG=w((B$e,IG)=>{var OCe=Li(),KCe=(r,e)=>new OCe(r,e).major;IG.exports=KCe});var BG=w((b$e,wG)=>{var UCe=Li(),HCe=(r,e)=>new UCe(r,e).minor;wG.exports=HCe});var QG=w((Q$e,bG)=>{var GCe=Li(),YCe=(r,e)=>new GCe(r,e).patch;bG.exports=YCe});var vG=w((S$e,SG)=>{var jCe=gc(),qCe=(r,e)=>{let t=jCe(r,e);return t&&t.prerelease.length?t.prerelease:null};SG.exports=qCe});var PG=w((v$e,xG)=>{var JCe=cs(),WCe=(r,e,t)=>JCe(e,r,t);xG.exports=WCe});var kG=w((x$e,DG)=>{var zCe=cs(),VCe=(r,e)=>zCe(r,e,!0);DG.exports=VCe});var HI=w((P$e,FG)=>{var RG=Li(),XCe=(r,e,t)=>{let i=new RG(r,t),n=new RG(e,t);return i.compare(n)||i.compareBuild(n)};FG.exports=XCe});var TG=w((D$e,NG)=>{var ZCe=HI(),_Ce=(r,e)=>r.sort((t,i)=>ZCe(t,i,e));NG.exports=_Ce});var MG=w((k$e,LG)=>{var $Ce=HI(),eme=(r,e)=>r.sort((t,i)=>$Ce(i,t,e));LG.exports=eme});var dd=w((R$e,OG)=>{var tme=cs(),rme=(r,e,t)=>tme(r,e,t)>0;OG.exports=rme});var GI=w((F$e,KG)=>{var ime=cs(),nme=(r,e,t)=>ime(r,e,t)<0;KG.exports=nme});var Cv=w((N$e,UG)=>{var sme=cs(),ome=(r,e,t)=>sme(r,e,t)!==0;UG.exports=ome});var YI=w((T$e,HG)=>{var ame=cs(),Ame=(r,e,t)=>ame(r,e,t)>=0;HG.exports=Ame});var jI=w((L$e,GG)=>{var lme=cs(),cme=(r,e,t)=>lme(r,e,t)<=0;GG.exports=cme});var mv=w((M$e,YG)=>{var ume=UI(),gme=Cv(),fme=dd(),hme=YI(),pme=GI(),dme=jI(),Cme=(r,e,t,i)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return ume(r,t,i);case"!=":return gme(r,t,i);case">":return fme(r,t,i);case">=":return hme(r,t,i);case"<":return pme(r,t,i);case"<=":return dme(r,t,i);default:throw new TypeError(`Invalid operator: ${e}`)}};YG.exports=Cme});var qG=w((O$e,jG)=>{var mme=Li(),Eme=gc(),{re:qI,t:JI}=uc(),Ime=(r,e)=>{if(r instanceof mme)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};let t=null;if(!e.rtl)t=r.match(qI[JI.COERCE]);else{let i;for(;(i=qI[JI.COERCERTL].exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||i.index+i[0].length!==t.index+t[0].length)&&(t=i),qI[JI.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;qI[JI.COERCERTL].lastIndex=-1}return t===null?null:Eme(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,e)};jG.exports=Ime});var WG=w((K$e,JG)=>{"use strict";JG.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}});var WI=w((U$e,zG)=>{"use strict";zG.exports=Ht;Ht.Node=fc;Ht.create=Ht;function Ht(r){var e=this;if(e instanceof Ht||(e=new Ht),e.tail=null,e.head=null,e.length=0,r&&typeof r.forEach=="function")r.forEach(function(n){e.push(n)});else if(arguments.length>0)for(var t=0,i=arguments.length;t1)t=e;else if(this.head)i=this.head.next,t=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;i!==null;n++)t=r(t,i.value,n),i=i.next;return t};Ht.prototype.reduceReverse=function(r,e){var t,i=this.tail;if(arguments.length>1)t=e;else if(this.tail)i=this.tail.prev,t=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;i!==null;n--)t=r(t,i.value,n),i=i.prev;return t};Ht.prototype.toArray=function(){for(var r=new Array(this.length),e=0,t=this.head;t!==null;e++)r[e]=t.value,t=t.next;return r};Ht.prototype.toArrayReverse=function(){for(var r=new Array(this.length),e=0,t=this.tail;t!==null;e++)r[e]=t.value,t=t.prev;return r};Ht.prototype.slice=function(r,e){e=e||this.length,e<0&&(e+=this.length),r=r||0,r<0&&(r+=this.length);var t=new Ht;if(ethis.length&&(e=this.length);for(var i=0,n=this.head;n!==null&&ithis.length&&(e=this.length);for(var i=this.length,n=this.tail;n!==null&&i>e;i--)n=n.prev;for(;n!==null&&i>r;i--,n=n.prev)t.push(n.value);return t};Ht.prototype.splice=function(r,e,...t){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,n=this.head;n!==null&&i{"use strict";var bme=WI(),hc=Symbol("max"),va=Symbol("length"),Wg=Symbol("lengthCalculator"),md=Symbol("allowStale"),pc=Symbol("maxAge"),Sa=Symbol("dispose"),VG=Symbol("noDisposeOnSet"),di=Symbol("lruList"),Zs=Symbol("cache"),ZG=Symbol("updateAgeOnGet"),Ev=()=>1,yv=class{constructor(e){if(typeof e=="number"&&(e={max:e}),e||(e={}),e.max&&(typeof e.max!="number"||e.max<0))throw new TypeError("max must be a non-negative number");let t=this[hc]=e.max||1/0,i=e.length||Ev;if(this[Wg]=typeof i!="function"?Ev:i,this[md]=e.stale||!1,e.maxAge&&typeof e.maxAge!="number")throw new TypeError("maxAge must be a number");this[pc]=e.maxAge||0,this[Sa]=e.dispose,this[VG]=e.noDisposeOnSet||!1,this[ZG]=e.updateAgeOnGet||!1,this.reset()}set max(e){if(typeof e!="number"||e<0)throw new TypeError("max must be a non-negative number");this[hc]=e||1/0,Cd(this)}get max(){return this[hc]}set allowStale(e){this[md]=!!e}get allowStale(){return this[md]}set maxAge(e){if(typeof e!="number")throw new TypeError("maxAge must be a non-negative number");this[pc]=e,Cd(this)}get maxAge(){return this[pc]}set lengthCalculator(e){typeof e!="function"&&(e=Ev),e!==this[Wg]&&(this[Wg]=e,this[va]=0,this[di].forEach(t=>{t.length=this[Wg](t.value,t.key),this[va]+=t.length})),Cd(this)}get lengthCalculator(){return this[Wg]}get length(){return this[va]}get itemCount(){return this[di].length}rforEach(e,t){t=t||this;for(let i=this[di].tail;i!==null;){let n=i.prev;XG(this,e,i,t),i=n}}forEach(e,t){t=t||this;for(let i=this[di].head;i!==null;){let n=i.next;XG(this,e,i,t),i=n}}keys(){return this[di].toArray().map(e=>e.key)}values(){return this[di].toArray().map(e=>e.value)}reset(){this[Sa]&&this[di]&&this[di].length&&this[di].forEach(e=>this[Sa](e.key,e.value)),this[Zs]=new Map,this[di]=new bme,this[va]=0}dump(){return this[di].map(e=>zI(this,e)?!1:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[di]}set(e,t,i){if(i=i||this[pc],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let n=i?Date.now():0,s=this[Wg](t,e);if(this[Zs].has(e)){if(s>this[hc])return zg(this,this[Zs].get(e)),!1;let l=this[Zs].get(e).value;return this[Sa]&&(this[VG]||this[Sa](e,l.value)),l.now=n,l.maxAge=i,l.value=t,this[va]+=s-l.length,l.length=s,this.get(e),Cd(this),!0}let o=new wv(e,t,s,n,i);return o.length>this[hc]?(this[Sa]&&this[Sa](e,t),!1):(this[va]+=o.length,this[di].unshift(o),this[Zs].set(e,this[di].head),Cd(this),!0)}has(e){if(!this[Zs].has(e))return!1;let t=this[Zs].get(e).value;return!zI(this,t)}get(e){return Iv(this,e,!0)}peek(e){return Iv(this,e,!1)}pop(){let e=this[di].tail;return e?(zg(this,e),e.value):null}del(e){zg(this,this[Zs].get(e))}load(e){this.reset();let t=Date.now();for(let i=e.length-1;i>=0;i--){let n=e[i],s=n.e||0;if(s===0)this.set(n.k,n.v);else{let o=s-t;o>0&&this.set(n.k,n.v,o)}}}prune(){this[Zs].forEach((e,t)=>Iv(this,t,!1))}},Iv=(r,e,t)=>{let i=r[Zs].get(e);if(i){let n=i.value;if(zI(r,n)){if(zg(r,i),!r[md])return}else t&&(r[ZG]&&(i.value.now=Date.now()),r[di].unshiftNode(i));return n.value}},zI=(r,e)=>{if(!e||!e.maxAge&&!r[pc])return!1;let t=Date.now()-e.now;return e.maxAge?t>e.maxAge:r[pc]&&t>r[pc]},Cd=r=>{if(r[va]>r[hc])for(let e=r[di].tail;r[va]>r[hc]&&e!==null;){let t=e.prev;zg(r,e),e=t}},zg=(r,e)=>{if(e){let t=e.value;r[Sa]&&r[Sa](t.key,t.value),r[va]-=t.length,r[Zs].delete(t.key),r[di].removeNode(e)}},wv=class{constructor(e,t,i,n,s){this.key=e,this.value=t,this.length=i,this.now=n,this.maxAge=s||0}},XG=(r,e,t,i)=>{let n=t.value;zI(r,n)&&(zg(r,t),r[md]||(n=void 0)),n&&e.call(i,n.value,n.key,r)};_G.exports=yv});var us=w((G$e,iY)=>{var dc=class{constructor(e,t){if(t=Sme(t),e instanceof dc)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new dc(e.raw,t);if(e instanceof Bv)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!tY(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&kme(n[0])){this.set=[n];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();let i=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=eY.get(i);if(n)return n;let s=this.options.loose,o=s?Mi[bi.HYPHENRANGELOOSE]:Mi[bi.HYPHENRANGE];e=e.replace(o,Hme(this.options.includePrerelease)),Hr("hyphen replace",e),e=e.replace(Mi[bi.COMPARATORTRIM],xme),Hr("comparator trim",e,Mi[bi.COMPARATORTRIM]),e=e.replace(Mi[bi.TILDETRIM],Pme),e=e.replace(Mi[bi.CARETTRIM],Dme),e=e.split(/\s+/).join(" ");let a=s?Mi[bi.COMPARATORLOOSE]:Mi[bi.COMPARATOR],l=e.split(" ").map(f=>Rme(f,this.options)).join(" ").split(/\s+/).map(f=>Ume(f,this.options)).filter(this.options.loose?f=>!!f.match(a):()=>!0).map(f=>new Bv(f,this.options)),c=l.length,u=new Map;for(let f of l){if(tY(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");let g=[...u.values()];return eY.set(i,g),g}intersects(e,t){if(!(e instanceof dc))throw new TypeError("a Range is required");return this.set.some(i=>rY(i,t)&&e.set.some(n=>rY(n,t)&&i.every(s=>n.every(o=>s.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new vme(e,this.options)}catch{return!1}for(let t=0;tr.value==="<0.0.0-0",kme=r=>r.value==="",rY=(r,e)=>{let t=!0,i=r.slice(),n=i.pop();for(;t&&i.length;)t=i.every(s=>n.intersects(s,e)),n=i.pop();return t},Rme=(r,e)=>(Hr("comp",r,e),r=Tme(r,e),Hr("caret",r),r=Fme(r,e),Hr("tildes",r),r=Mme(r,e),Hr("xrange",r),r=Kme(r,e),Hr("stars",r),r),$i=r=>!r||r.toLowerCase()==="x"||r==="*",Fme=(r,e)=>r.trim().split(/\s+/).map(t=>Nme(t,e)).join(" "),Nme=(r,e)=>{let t=e.loose?Mi[bi.TILDELOOSE]:Mi[bi.TILDE];return r.replace(t,(i,n,s,o,a)=>{Hr("tilde",r,i,n,s,o,a);let l;return $i(n)?l="":$i(s)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:$i(o)?l=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:a?(Hr("replaceTilde pr",a),l=`>=${n}.${s}.${o}-${a} <${n}.${+s+1}.0-0`):l=`>=${n}.${s}.${o} <${n}.${+s+1}.0-0`,Hr("tilde return",l),l})},Tme=(r,e)=>r.trim().split(/\s+/).map(t=>Lme(t,e)).join(" "),Lme=(r,e)=>{Hr("caret",r,e);let t=e.loose?Mi[bi.CARETLOOSE]:Mi[bi.CARET],i=e.includePrerelease?"-0":"";return r.replace(t,(n,s,o,a,l)=>{Hr("caret",r,n,s,o,a,l);let c;return $i(s)?c="":$i(o)?c=`>=${s}.0.0${i} <${+s+1}.0.0-0`:$i(a)?s==="0"?c=`>=${s}.${o}.0${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.0${i} <${+s+1}.0.0-0`:l?(Hr("replaceCaret pr",l),s==="0"?o==="0"?c=`>=${s}.${o}.${a}-${l} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}-${l} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a}-${l} <${+s+1}.0.0-0`):(Hr("no pr"),s==="0"?o==="0"?c=`>=${s}.${o}.${a}${i} <${s}.${o}.${+a+1}-0`:c=`>=${s}.${o}.${a}${i} <${s}.${+o+1}.0-0`:c=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),Hr("caret return",c),c})},Mme=(r,e)=>(Hr("replaceXRanges",r,e),r.split(/\s+/).map(t=>Ome(t,e)).join(" ")),Ome=(r,e)=>{r=r.trim();let t=e.loose?Mi[bi.XRANGELOOSE]:Mi[bi.XRANGE];return r.replace(t,(i,n,s,o,a,l)=>{Hr("xRange",r,i,n,s,o,a,l);let c=$i(s),u=c||$i(o),g=u||$i(a),f=g;return n==="="&&f&&(n=""),l=e.includePrerelease?"-0":"",c?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&f?(u&&(o=0),a=0,n===">"?(n=">=",u?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?s=+s+1:o=+o+1),n==="<"&&(l="-0"),i=`${n+s}.${o}.${a}${l}`):u?i=`>=${s}.0.0${l} <${+s+1}.0.0-0`:g&&(i=`>=${s}.${o}.0${l} <${s}.${+o+1}.0-0`),Hr("xRange return",i),i})},Kme=(r,e)=>(Hr("replaceStars",r,e),r.trim().replace(Mi[bi.STAR],"")),Ume=(r,e)=>(Hr("replaceGTE0",r,e),r.trim().replace(Mi[e.includePrerelease?bi.GTE0PRE:bi.GTE0],"")),Hme=r=>(e,t,i,n,s,o,a,l,c,u,g,f,h)=>($i(i)?t="":$i(n)?t=`>=${i}.0.0${r?"-0":""}`:$i(s)?t=`>=${i}.${n}.0${r?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,$i(c)?l="":$i(u)?l=`<${+c+1}.0.0-0`:$i(g)?l=`<${c}.${+u+1}.0-0`:f?l=`<=${c}.${u}.${g}-${f}`:r?l=`<${c}.${u}.${+g+1}-0`:l=`<=${l}`,`${t} ${l}`.trim()),Gme=(r,e,t)=>{for(let i=0;i0){let n=r[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}});var Ed=w((Y$e,AY)=>{var Id=Symbol("SemVer ANY"),Vg=class{static get ANY(){return Id}constructor(e,t){if(t=Yme(t),e instanceof Vg){if(e.loose===!!t.loose)return e;e=e.value}Qv("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===Id?this.value="":this.value=this.operator+this.semver.version,Qv("comp",this)}parse(e){let t=this.options.loose?nY[sY.COMPARATORLOOSE]:nY[sY.COMPARATOR],i=e.match(t);if(!i)throw new TypeError(`Invalid comparator: ${e}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new oY(i[2],this.options.loose):this.semver=Id}toString(){return this.value}test(e){if(Qv("Comparator.test",e,this.options.loose),this.semver===Id||e===Id)return!0;if(typeof e=="string")try{e=new oY(e,this.options)}catch{return!1}return bv(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Vg))throw new TypeError("a Comparator is required");if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new aY(e.value,t).test(this.value);if(e.operator==="")return e.value===""?!0:new aY(this.value,t).test(e.semver);let i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),s=this.semver.version===e.semver.version,o=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),a=bv(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),l=bv(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||n||s&&o||a||l}};AY.exports=Vg;var Yme=hd(),{re:nY,t:sY}=uc(),bv=mv(),Qv=fd(),oY=Li(),aY=us()});var yd=w((j$e,lY)=>{var jme=us(),qme=(r,e,t)=>{try{e=new jme(e,t)}catch{return!1}return e.test(r)};lY.exports=qme});var uY=w((q$e,cY)=>{var Jme=us(),Wme=(r,e)=>new Jme(r,e).set.map(t=>t.map(i=>i.value).join(" ").trim().split(" "));cY.exports=Wme});var fY=w((J$e,gY)=>{var zme=Li(),Vme=us(),Xme=(r,e,t)=>{let i=null,n=null,s=null;try{s=new Vme(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===-1)&&(i=o,n=new zme(i,t))}),i};gY.exports=Xme});var pY=w((W$e,hY)=>{var Zme=Li(),_me=us(),$me=(r,e,t)=>{let i=null,n=null,s=null;try{s=new _me(e,t)}catch{return null}return r.forEach(o=>{s.test(o)&&(!i||n.compare(o)===1)&&(i=o,n=new Zme(i,t))}),i};hY.exports=$me});var mY=w((z$e,CY)=>{var Sv=Li(),eEe=us(),dY=dd(),tEe=(r,e)=>{r=new eEe(r,e);let t=new Sv("0.0.0");if(r.test(t)||(t=new Sv("0.0.0-0"),r.test(t)))return t;t=null;for(let i=0;i{let a=new Sv(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||dY(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),s&&(!t||dY(t,s))&&(t=s)}return t&&r.test(t)?t:null};CY.exports=tEe});var IY=w((V$e,EY)=>{var rEe=us(),iEe=(r,e)=>{try{return new rEe(r,e).range||"*"}catch{return null}};EY.exports=iEe});var VI=w((X$e,bY)=>{var nEe=Li(),BY=Ed(),{ANY:sEe}=BY,oEe=us(),aEe=yd(),yY=dd(),wY=GI(),AEe=jI(),lEe=YI(),cEe=(r,e,t,i)=>{r=new nEe(r,i),e=new oEe(e,i);let n,s,o,a,l;switch(t){case">":n=yY,s=AEe,o=wY,a=">",l=">=";break;case"<":n=wY,s=lEe,o=yY,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(aEe(r,e,i))return!1;for(let c=0;c{h.semver===sEe&&(h=new BY(">=0.0.0")),g=g||h,f=f||h,n(h.semver,g.semver,i)?g=h:o(h.semver,f.semver,i)&&(f=h)}),g.operator===a||g.operator===l||(!f.operator||f.operator===a)&&s(r,f.semver))return!1;if(f.operator===l&&o(r,f.semver))return!1}return!0};bY.exports=cEe});var SY=w((Z$e,QY)=>{var uEe=VI(),gEe=(r,e,t)=>uEe(r,e,">",t);QY.exports=gEe});var xY=w((_$e,vY)=>{var fEe=VI(),hEe=(r,e,t)=>fEe(r,e,"<",t);vY.exports=hEe});var kY=w(($$e,DY)=>{var PY=us(),pEe=(r,e,t)=>(r=new PY(r,t),e=new PY(e,t),r.intersects(e));DY.exports=pEe});var FY=w((eet,RY)=>{var dEe=yd(),CEe=cs();RY.exports=(r,e,t)=>{let i=[],n=null,s=null,o=r.sort((u,g)=>CEe(u,g,t));for(let u of o)dEe(u,e,t)?(s=u,n||(n=u)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let a=[];for(let[u,g]of i)u===g?a.push(u):!g&&u===o[0]?a.push("*"):g?u===o[0]?a.push(`<=${g}`):a.push(`${u} - ${g}`):a.push(`>=${u}`);let l=a.join(" || "),c=typeof e.raw=="string"?e.raw:String(e);return l.length{var NY=us(),XI=Ed(),{ANY:vv}=XI,wd=yd(),xv=cs(),mEe=(r,e,t={})=>{if(r===e)return!0;r=new NY(r,t),e=new NY(e,t);let i=!1;e:for(let n of r.set){for(let s of e.set){let o=EEe(n,s,t);if(i=i||o!==null,o)continue e}if(i)return!1}return!0},EEe=(r,e,t)=>{if(r===e)return!0;if(r.length===1&&r[0].semver===vv){if(e.length===1&&e[0].semver===vv)return!0;t.includePrerelease?r=[new XI(">=0.0.0-0")]:r=[new XI(">=0.0.0")]}if(e.length===1&&e[0].semver===vv){if(t.includePrerelease)return!0;e=[new XI(">=0.0.0")]}let i=new Set,n,s;for(let h of r)h.operator===">"||h.operator===">="?n=TY(n,h,t):h.operator==="<"||h.operator==="<="?s=LY(s,h,t):i.add(h.semver);if(i.size>1)return null;let o;if(n&&s){if(o=xv(n.semver,s.semver,t),o>0)return null;if(o===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let h of i){if(n&&!wd(h,String(n),t)||s&&!wd(h,String(s),t))return null;for(let p of e)if(!wd(h,String(p),t))return!1;return!0}let a,l,c,u,g=s&&!t.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=n&&!t.includePrerelease&&n.semver.prerelease.length?n.semver:!1;g&&g.prerelease.length===1&&s.operator==="<"&&g.prerelease[0]===0&&(g=!1);for(let h of e){if(u=u||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",n){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator===">"||h.operator===">="){if(a=TY(n,h,t),a===h&&a!==n)return!1}else if(n.operator===">="&&!wd(n.semver,String(h),t))return!1}if(s){if(g&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===g.major&&h.semver.minor===g.minor&&h.semver.patch===g.patch&&(g=!1),h.operator==="<"||h.operator==="<="){if(l=LY(s,h,t),l===h&&l!==s)return!1}else if(s.operator==="<="&&!wd(s.semver,String(h),t))return!1}if(!h.operator&&(s||n)&&o!==0)return!1}return!(n&&c&&!s&&o!==0||s&&u&&!n&&o!==0||f||g)},TY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i>0?r:i<0||e.operator===">"&&r.operator===">="?e:r},LY=(r,e,t)=>{if(!r)return e;let i=xv(r.semver,e.semver,t);return i<0?r:i>0||e.operator==="<"&&r.operator==="<="?e:r};MY.exports=mEe});var Xr=w((ret,KY)=>{var Pv=uc();KY.exports={re:Pv.re,src:Pv.src,tokens:Pv.t,SEMVER_SPEC_VERSION:gd().SEMVER_SPEC_VERSION,SemVer:Li(),compareIdentifiers:MI().compareIdentifiers,rcompareIdentifiers:MI().rcompareIdentifiers,parse:gc(),valid:lG(),clean:uG(),inc:fG(),diff:EG(),major:yG(),minor:BG(),patch:QG(),prerelease:vG(),compare:cs(),rcompare:PG(),compareLoose:kG(),compareBuild:HI(),sort:TG(),rsort:MG(),gt:dd(),lt:GI(),eq:UI(),neq:Cv(),gte:YI(),lte:jI(),cmp:mv(),coerce:qG(),Comparator:Ed(),Range:us(),satisfies:yd(),toComparators:uY(),maxSatisfying:fY(),minSatisfying:pY(),minVersion:mY(),validRange:IY(),outside:VI(),gtr:SY(),ltr:xY(),intersects:kY(),simplifyRange:FY(),subset:OY()}});var Dv=w(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0});ZI.VERSION=void 0;ZI.VERSION="9.1.0"});var Gt=w((exports,module)=>{"use strict";var __spreadArray=exports&&exports.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var i=0,n=e.length,s;i{(function(r,e){typeof define=="function"&&define.amd?define([],e):typeof _I=="object"&&_I.exports?_I.exports=e():r.regexpToAst=e()})(typeof self<"u"?self:UY,function(){function r(){}r.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},r.prototype.restoreState=function(p){this.idx=p.idx,this.input=p.input,this.groupIdx=p.groupIdx},r.prototype.pattern=function(p){this.idx=0,this.input=p,this.groupIdx=0,this.consumeChar("/");var C=this.disjunction();this.consumeChar("/");for(var y={type:"Flags",loc:{begin:this.idx,end:p.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":o(y,"global");break;case"i":o(y,"ignoreCase");break;case"m":o(y,"multiLine");break;case"u":o(y,"unicode");break;case"y":o(y,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:y,value:C,loc:this.loc(0)}},r.prototype.disjunction=function(){var p=[],C=this.idx;for(p.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),p.push(this.alternative());return{type:"Disjunction",value:p,loc:this.loc(C)}},r.prototype.alternative=function(){for(var p=[],C=this.idx;this.isTerm();)p.push(this.term());return{type:"Alternative",value:p,loc:this.loc(C)}},r.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},r.prototype.assertion=function(){var p=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(p)};case"$":return{type:"EndAnchor",loc:this.loc(p)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(p)};case"B":return{type:"NonWordBoundary",loc:this.loc(p)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");var C;switch(this.popChar()){case"=":C="Lookahead";break;case"!":C="NegativeLookahead";break}a(C);var y=this.disjunction();return this.consumeChar(")"),{type:C,value:y,loc:this.loc(p)}}l()},r.prototype.quantifier=function(p){var C,y=this.idx;switch(this.popChar()){case"*":C={atLeast:0,atMost:1/0};break;case"+":C={atLeast:1,atMost:1/0};break;case"?":C={atLeast:0,atMost:1};break;case"{":var B=this.integerIncludingZero();switch(this.popChar()){case"}":C={atLeast:B,atMost:B};break;case",":var v;this.isDigit()?(v=this.integerIncludingZero(),C={atLeast:B,atMost:v}):C={atLeast:B,atMost:1/0},this.consumeChar("}");break}if(p===!0&&C===void 0)return;a(C);break}if(!(p===!0&&C===void 0))return a(C),this.peekChar(0)==="?"?(this.consumeChar("?"),C.greedy=!1):C.greedy=!0,C.type="Quantifier",C.loc=this.loc(y),C},r.prototype.atom=function(){var p,C=this.idx;switch(this.peekChar()){case".":p=this.dotAll();break;case"\\":p=this.atomEscape();break;case"[":p=this.characterClass();break;case"(":p=this.group();break}return p===void 0&&this.isPatternCharacter()&&(p=this.patternCharacter()),a(p),p.loc=this.loc(C),this.isQuantifier()&&(p.quantifier=this.quantifier()),p},r.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[n(` -`),n("\r"),n("\u2028"),n("\u2029")]}},r.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},r.prototype.decimalEscapeAtom=function(){var p=this.positiveInteger();return{type:"GroupBackReference",value:p}},r.prototype.characterClassEscape=function(){var p,C=!1;switch(this.popChar()){case"d":p=u;break;case"D":p=u,C=!0;break;case"s":p=f;break;case"S":p=f,C=!0;break;case"w":p=g;break;case"W":p=g,C=!0;break}return a(p),{type:"Set",value:p,complement:C}},r.prototype.controlEscapeAtom=function(){var p;switch(this.popChar()){case"f":p=n("\f");break;case"n":p=n(` -`);break;case"r":p=n("\r");break;case"t":p=n(" ");break;case"v":p=n("\v");break}return a(p),{type:"Character",value:p}},r.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var p=this.popChar();if(/[a-zA-Z]/.test(p)===!1)throw Error("Invalid ");var C=p.toUpperCase().charCodeAt(0)-64;return{type:"Character",value:C}},r.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:n("\0")}},r.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},r.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},r.prototype.identityEscapeAtom=function(){var p=this.popChar();return{type:"Character",value:n(p)}},r.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case` -`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:var p=this.popChar();return{type:"Character",value:n(p)}}},r.prototype.characterClass=function(){var p=[],C=!1;for(this.consumeChar("["),this.peekChar(0)==="^"&&(this.consumeChar("^"),C=!0);this.isClassAtom();){var y=this.classAtom(),B=y.type==="Character";if(B&&this.isRangeDash()){this.consumeChar("-");var v=this.classAtom(),D=v.type==="Character";if(D){if(v.value=this.input.length)throw Error("Unexpected end of input");this.idx++},r.prototype.loc=function(p){return{begin:p,end:this.idx}};var e=/[0-9a-fA-F]/,t=/[0-9]/,i=/[1-9]/;function n(p){return p.charCodeAt(0)}function s(p,C){p.length!==void 0?p.forEach(function(y){C.push(y)}):C.push(p)}function o(p,C){if(p[C]===!0)throw"duplicate flag "+C;p[C]=!0}function a(p){if(p===void 0)throw Error("Internal Error - Should never get here!")}function l(){throw Error("Internal Error - Should never get here!")}var c,u=[];for(c=n("0");c<=n("9");c++)u.push(c);var g=[n("_")].concat(u);for(c=n("a");c<=n("z");c++)g.push(c);for(c=n("A");c<=n("Z");c++)g.push(c);var f=[n(" "),n("\f"),n(` -`),n("\r"),n(" "),n("\v"),n(" "),n("\xA0"),n("\u1680"),n("\u2000"),n("\u2001"),n("\u2002"),n("\u2003"),n("\u2004"),n("\u2005"),n("\u2006"),n("\u2007"),n("\u2008"),n("\u2009"),n("\u200A"),n("\u2028"),n("\u2029"),n("\u202F"),n("\u205F"),n("\u3000"),n("\uFEFF")];function h(){}return h.prototype.visitChildren=function(p){for(var C in p){var y=p[C];p.hasOwnProperty(C)&&(y.type!==void 0?this.visit(y):Array.isArray(y)&&y.forEach(function(B){this.visit(B)},this))}},h.prototype.visit=function(p){switch(p.type){case"Pattern":this.visitPattern(p);break;case"Flags":this.visitFlags(p);break;case"Disjunction":this.visitDisjunction(p);break;case"Alternative":this.visitAlternative(p);break;case"StartAnchor":this.visitStartAnchor(p);break;case"EndAnchor":this.visitEndAnchor(p);break;case"WordBoundary":this.visitWordBoundary(p);break;case"NonWordBoundary":this.visitNonWordBoundary(p);break;case"Lookahead":this.visitLookahead(p);break;case"NegativeLookahead":this.visitNegativeLookahead(p);break;case"Character":this.visitCharacter(p);break;case"Set":this.visitSet(p);break;case"Group":this.visitGroup(p);break;case"GroupBackReference":this.visitGroupBackReference(p);break;case"Quantifier":this.visitQuantifier(p);break}this.visitChildren(p)},h.prototype.visitPattern=function(p){},h.prototype.visitFlags=function(p){},h.prototype.visitDisjunction=function(p){},h.prototype.visitAlternative=function(p){},h.prototype.visitStartAnchor=function(p){},h.prototype.visitEndAnchor=function(p){},h.prototype.visitWordBoundary=function(p){},h.prototype.visitNonWordBoundary=function(p){},h.prototype.visitLookahead=function(p){},h.prototype.visitNegativeLookahead=function(p){},h.prototype.visitCharacter=function(p){},h.prototype.visitSet=function(p){},h.prototype.visitGroup=function(p){},h.prototype.visitGroupBackReference=function(p){},h.prototype.visitQuantifier=function(p){},{RegExpParser:r,BaseRegExpVisitor:h,VERSION:"0.5.0"}})});var ty=w(Xg=>{"use strict";Object.defineProperty(Xg,"__esModule",{value:!0});Xg.clearRegExpParserCache=Xg.getRegExpAst=void 0;var IEe=$I(),ey={},yEe=new IEe.RegExpParser;function wEe(r){var e=r.toString();if(ey.hasOwnProperty(e))return ey[e];var t=yEe.pattern(e);return ey[e]=t,t}Xg.getRegExpAst=wEe;function BEe(){ey={}}Xg.clearRegExpParserCache=BEe});var qY=w(Cn=>{"use strict";var bEe=Cn&&Cn.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Cn,"__esModule",{value:!0});Cn.canMatchCharCode=Cn.firstCharOptimizedIndices=Cn.getOptimizedStartCodesIndices=Cn.failedOptimizationPrefixMsg=void 0;var GY=$I(),gs=Gt(),YY=ty(),xa=Rv(),jY="Complement Sets are not supported for first char optimization";Cn.failedOptimizationPrefixMsg=`Unable to use "first char" lexer optimizations: -`;function QEe(r,e){e===void 0&&(e=!1);try{var t=(0,YY.getRegExpAst)(r),i=iy(t.value,{},t.flags.ignoreCase);return i}catch(s){if(s.message===jY)e&&(0,gs.PRINT_WARNING)(""+Cn.failedOptimizationPrefixMsg+(" Unable to optimize: < "+r.toString()+` > -`)+` Complement Sets cannot be automatically optimized. - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.`);else{var n="";e&&(n=` - This will disable the lexer's first char optimizations. - See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details.`),(0,gs.PRINT_ERROR)(Cn.failedOptimizationPrefixMsg+` -`+(" Failed parsing: < "+r.toString()+` > -`)+(" Using the regexp-to-ast library version: "+GY.VERSION+` -`)+" Please open an issue at: https://github.com/bd82/regexp-to-ast/issues"+n)}}return[]}Cn.getOptimizedStartCodesIndices=QEe;function iy(r,e,t){switch(r.type){case"Disjunction":for(var i=0;i=xa.minOptimizationVal)for(var f=u.from>=xa.minOptimizationVal?u.from:xa.minOptimizationVal,h=u.to,p=(0,xa.charCodeToOptimizedIndex)(f),C=(0,xa.charCodeToOptimizedIndex)(h),y=p;y<=C;y++)e[y]=y}}});break;case"Group":iy(o.value,e,t);break;default:throw Error("Non Exhaustive Match")}var a=o.quantifier!==void 0&&o.quantifier.atLeast===0;if(o.type==="Group"&&kv(o)===!1||o.type!=="Group"&&a===!1)break}break;default:throw Error("non exhaustive match!")}return(0,gs.values)(e)}Cn.firstCharOptimizedIndices=iy;function ry(r,e,t){var i=(0,xa.charCodeToOptimizedIndex)(r);e[i]=i,t===!0&&SEe(r,e)}function SEe(r,e){var t=String.fromCharCode(r),i=t.toUpperCase();if(i!==t){var n=(0,xa.charCodeToOptimizedIndex)(i.charCodeAt(0));e[n]=n}else{var s=t.toLowerCase();if(s!==t){var n=(0,xa.charCodeToOptimizedIndex)(s.charCodeAt(0));e[n]=n}}}function HY(r,e){return(0,gs.find)(r.value,function(t){if(typeof t=="number")return(0,gs.contains)(e,t);var i=t;return(0,gs.find)(e,function(n){return i.from<=n&&n<=i.to})!==void 0})}function kv(r){return r.quantifier&&r.quantifier.atLeast===0?!0:r.value?(0,gs.isArray)(r.value)?(0,gs.every)(r.value,kv):kv(r.value):!1}var vEe=function(r){bEe(e,r);function e(t){var i=r.call(this)||this;return i.targetCharCodes=t,i.found=!1,i}return e.prototype.visitChildren=function(t){if(this.found!==!0){switch(t.type){case"Lookahead":this.visitLookahead(t);return;case"NegativeLookahead":this.visitNegativeLookahead(t);return}r.prototype.visitChildren.call(this,t)}},e.prototype.visitCharacter=function(t){(0,gs.contains)(this.targetCharCodes,t.value)&&(this.found=!0)},e.prototype.visitSet=function(t){t.complement?HY(t,this.targetCharCodes)===void 0&&(this.found=!0):HY(t,this.targetCharCodes)!==void 0&&(this.found=!0)},e}(GY.BaseRegExpVisitor);function xEe(r,e){if(e instanceof RegExp){var t=(0,YY.getRegExpAst)(e),i=new vEe(r);return i.visit(t),i.found}else return(0,gs.find)(e,function(n){return(0,gs.contains)(r,n.charCodeAt(0))})!==void 0}Cn.canMatchCharCode=xEe});var Rv=w(Ve=>{"use strict";var JY=Ve&&Ve.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Ve,"__esModule",{value:!0});Ve.charCodeToOptimizedIndex=Ve.minOptimizationVal=Ve.buildLineBreakIssueMessage=Ve.LineTerminatorOptimizedTester=Ve.isShortPattern=Ve.isCustomPattern=Ve.cloneEmptyGroups=Ve.performWarningRuntimeChecks=Ve.performRuntimeChecks=Ve.addStickyFlag=Ve.addStartOfInput=Ve.findUnreachablePatterns=Ve.findModesThatDoNotExist=Ve.findInvalidGroupType=Ve.findDuplicatePatterns=Ve.findUnsupportedFlags=Ve.findStartOfInputAnchor=Ve.findEmptyMatchRegExps=Ve.findEndOfInputAnchor=Ve.findInvalidPatterns=Ve.findMissingPatterns=Ve.validatePatterns=Ve.analyzeTokenTypes=Ve.enableSticky=Ve.disableSticky=Ve.SUPPORT_STICKY=Ve.MODES=Ve.DEFAULT_MODE=void 0;var WY=$I(),ir=Bd(),xe=Gt(),Zg=qY(),zY=ty(),ko="PATTERN";Ve.DEFAULT_MODE="defaultMode";Ve.MODES="modes";Ve.SUPPORT_STICKY=typeof new RegExp("(?:)").sticky=="boolean";function PEe(){Ve.SUPPORT_STICKY=!1}Ve.disableSticky=PEe;function DEe(){Ve.SUPPORT_STICKY=!0}Ve.enableSticky=DEe;function kEe(r,e){e=(0,xe.defaults)(e,{useSticky:Ve.SUPPORT_STICKY,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r",` -`],tracer:function(v,D){return D()}});var t=e.tracer;t("initCharCodeToOptimizedIndexMap",function(){HEe()});var i;t("Reject Lexer.NA",function(){i=(0,xe.reject)(r,function(v){return v[ko]===ir.Lexer.NA})});var n=!1,s;t("Transform Patterns",function(){n=!1,s=(0,xe.map)(i,function(v){var D=v[ko];if((0,xe.isRegExp)(D)){var T=D.source;return T.length===1&&T!=="^"&&T!=="$"&&T!=="."&&!D.ignoreCase?T:T.length===2&&T[0]==="\\"&&!(0,xe.contains)(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],T[1])?T[1]:e.useSticky?Tv(D):Nv(D)}else{if((0,xe.isFunction)(D))return n=!0,{exec:D};if((0,xe.has)(D,"exec"))return n=!0,D;if(typeof D=="string"){if(D.length===1)return D;var H=D.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),j=new RegExp(H);return e.useSticky?Tv(j):Nv(j)}else throw Error("non exhaustive match")}})});var o,a,l,c,u;t("misc mapping",function(){o=(0,xe.map)(i,function(v){return v.tokenTypeIdx}),a=(0,xe.map)(i,function(v){var D=v.GROUP;if(D!==ir.Lexer.SKIPPED){if((0,xe.isString)(D))return D;if((0,xe.isUndefined)(D))return!1;throw Error("non exhaustive match")}}),l=(0,xe.map)(i,function(v){var D=v.LONGER_ALT;if(D){var T=(0,xe.isArray)(D)?(0,xe.map)(D,function(H){return(0,xe.indexOf)(i,H)}):[(0,xe.indexOf)(i,D)];return T}}),c=(0,xe.map)(i,function(v){return v.PUSH_MODE}),u=(0,xe.map)(i,function(v){return(0,xe.has)(v,"POP_MODE")})});var g;t("Line Terminator Handling",function(){var v=Aj(e.lineTerminatorCharacters);g=(0,xe.map)(i,function(D){return!1}),e.positionTracking!=="onlyOffset"&&(g=(0,xe.map)(i,function(D){if((0,xe.has)(D,"LINE_BREAKS"))return D.LINE_BREAKS;if(oj(D,v)===!1)return(0,Zg.canMatchCharCode)(v,D.PATTERN)}))});var f,h,p,C;t("Misc Mapping #2",function(){f=(0,xe.map)(i,Mv),h=(0,xe.map)(s,sj),p=(0,xe.reduce)(i,function(v,D){var T=D.GROUP;return(0,xe.isString)(T)&&T!==ir.Lexer.SKIPPED&&(v[T]=[]),v},{}),C=(0,xe.map)(s,function(v,D){return{pattern:s[D],longerAlt:l[D],canLineTerminator:g[D],isCustom:f[D],short:h[D],group:a[D],push:c[D],pop:u[D],tokenTypeIdx:o[D],tokenType:i[D]}})});var y=!0,B=[];return e.safeMode||t("First Char Optimization",function(){B=(0,xe.reduce)(i,function(v,D,T){if(typeof D.PATTERN=="string"){var H=D.PATTERN.charCodeAt(0),j=Lv(H);Fv(v,j,C[T])}else if((0,xe.isArray)(D.START_CHARS_HINT)){var $;(0,xe.forEach)(D.START_CHARS_HINT,function(W){var _=typeof W=="string"?W.charCodeAt(0):W,A=Lv(_);$!==A&&($=A,Fv(v,A,C[T]))})}else if((0,xe.isRegExp)(D.PATTERN))if(D.PATTERN.unicode)y=!1,e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" Unable to analyze < "+D.PATTERN.toString()+` > pattern. -`)+` The regexp unicode flag is not currently supported by the regexp-to-ast library. - This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);else{var V=(0,Zg.getOptimizedStartCodesIndices)(D.PATTERN,e.ensureOptimizations);(0,xe.isEmpty)(V)&&(y=!1),(0,xe.forEach)(V,function(W){Fv(v,W,C[T])})}else e.ensureOptimizations&&(0,xe.PRINT_ERROR)(""+Zg.failedOptimizationPrefixMsg+(" TokenType: <"+D.name+`> is using a custom token pattern without providing parameter. -`)+` This will disable the lexer's first char optimizations. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),y=!1;return v},[])}),t("ArrayPacking",function(){B=(0,xe.packArray)(B)}),{emptyGroups:p,patternIdxToConfig:C,charCodeToPatternIdxToConfig:B,hasCustom:n,canBeOptimized:y}}Ve.analyzeTokenTypes=kEe;function REe(r,e){var t=[],i=VY(r);t=t.concat(i.errors);var n=XY(i.valid),s=n.valid;return t=t.concat(n.errors),t=t.concat(FEe(s)),t=t.concat(rj(s)),t=t.concat(ij(s,e)),t=t.concat(nj(s)),t}Ve.validatePatterns=REe;function FEe(r){var e=[],t=(0,xe.filter)(r,function(i){return(0,xe.isRegExp)(i[ko])});return e=e.concat(ZY(t)),e=e.concat($Y(t)),e=e.concat(ej(t)),e=e.concat(tj(t)),e=e.concat(_Y(t)),e}function VY(r){var e=(0,xe.filter)(r,function(n){return!(0,xe.has)(n,ko)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- missing static 'PATTERN' property",type:ir.LexerDefinitionErrorType.MISSING_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findMissingPatterns=VY;function XY(r){var e=(0,xe.filter)(r,function(n){var s=n[ko];return!(0,xe.isRegExp)(s)&&!(0,xe.isFunction)(s)&&!(0,xe.has)(s,"exec")&&!(0,xe.isString)(s)}),t=(0,xe.map)(e,function(n){return{message:"Token Type: ->"+n.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:ir.LexerDefinitionErrorType.INVALID_PATTERN,tokenTypes:[n]}}),i=(0,xe.difference)(r,e);return{errors:t,valid:i}}Ve.findInvalidPatterns=XY;var NEe=/[^\\][\$]/;function ZY(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitEndAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return NEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain end of input anchor '$' - See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.EOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findEndOfInputAnchor=ZY;function _Y(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n.test("")}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' must not match an empty string",type:ir.LexerDefinitionErrorType.EMPTY_MATCH_PATTERN,tokenTypes:[i]}});return t}Ve.findEmptyMatchRegExps=_Y;var TEe=/[^\\[][\^]|^\^/;function $Y(r){var e=function(n){JY(s,n);function s(){var o=n!==null&&n.apply(this,arguments)||this;return o.found=!1,o}return s.prototype.visitStartAnchor=function(o){this.found=!0},s}(WY.BaseRegExpVisitor),t=(0,xe.filter)(r,function(n){var s=n[ko];try{var o=(0,zY.getRegExpAst)(s),a=new e;return a.visit(o),a.found}catch{return TEe.test(s.source)}}),i=(0,xe.map)(t,function(n){return{message:`Unexpected RegExp Anchor Error: - Token Type: ->`+n.name+`<- static 'PATTERN' cannot contain start of input anchor '^' - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:ir.LexerDefinitionErrorType.SOI_ANCHOR_FOUND,tokenTypes:[n]}});return i}Ve.findStartOfInputAnchor=$Y;function ej(r){var e=(0,xe.filter)(r,function(i){var n=i[ko];return n instanceof RegExp&&(n.multiline||n.global)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:ir.LexerDefinitionErrorType.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[i]}});return t}Ve.findUnsupportedFlags=ej;function tj(r){var e=[],t=(0,xe.map)(r,function(s){return(0,xe.reduce)(r,function(o,a){return s.PATTERN.source===a.PATTERN.source&&!(0,xe.contains)(e,a)&&a.PATTERN!==ir.Lexer.NA&&(e.push(a),o.push(a)),o},[])});t=(0,xe.compact)(t);var i=(0,xe.filter)(t,function(s){return s.length>1}),n=(0,xe.map)(i,function(s){var o=(0,xe.map)(s,function(l){return l.name}),a=(0,xe.first)(s).PATTERN;return{message:"The same RegExp pattern ->"+a+"<-"+("has been used in all of the following Token Types: "+o.join(", ")+" <-"),type:ir.LexerDefinitionErrorType.DUPLICATE_PATTERNS_FOUND,tokenTypes:s}});return n}Ve.findDuplicatePatterns=tj;function rj(r){var e=(0,xe.filter)(r,function(i){if(!(0,xe.has)(i,"GROUP"))return!1;var n=i.GROUP;return n!==ir.Lexer.SKIPPED&&n!==ir.Lexer.NA&&!(0,xe.isString)(n)}),t=(0,xe.map)(e,function(i){return{message:"Token Type: ->"+i.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:ir.LexerDefinitionErrorType.INVALID_GROUP_TYPE_FOUND,tokenTypes:[i]}});return t}Ve.findInvalidGroupType=rj;function ij(r,e){var t=(0,xe.filter)(r,function(n){return n.PUSH_MODE!==void 0&&!(0,xe.contains)(e,n.PUSH_MODE)}),i=(0,xe.map)(t,function(n){var s="Token Type: ->"+n.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+n.PUSH_MODE+"<-which does not exist";return{message:s,type:ir.LexerDefinitionErrorType.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[n]}});return i}Ve.findModesThatDoNotExist=ij;function nj(r){var e=[],t=(0,xe.reduce)(r,function(i,n,s){var o=n.PATTERN;return o===ir.Lexer.NA||((0,xe.isString)(o)?i.push({str:o,idx:s,tokenType:n}):(0,xe.isRegExp)(o)&&MEe(o)&&i.push({str:o.source,idx:s,tokenType:n})),i},[]);return(0,xe.forEach)(r,function(i,n){(0,xe.forEach)(t,function(s){var o=s.str,a=s.idx,l=s.tokenType;if(n"+i.name+"<-")+`in the lexer's definition. -See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;e.push({message:c,type:ir.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenTypes:[i,l]})}})}),e}Ve.findUnreachablePatterns=nj;function LEe(r,e){if((0,xe.isRegExp)(e)){var t=e.exec(r);return t!==null&&t.index===0}else{if((0,xe.isFunction)(e))return e(r,0,[],{});if((0,xe.has)(e,"exec"))return e.exec(r,0,[],{});if(typeof e=="string")return e===r;throw Error("non exhaustive match")}}function MEe(r){var e=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return(0,xe.find)(e,function(t){return r.source.indexOf(t)!==-1})===void 0}function Nv(r){var e=r.ignoreCase?"i":"";return new RegExp("^(?:"+r.source+")",e)}Ve.addStartOfInput=Nv;function Tv(r){var e=r.ignoreCase?"iy":"y";return new RegExp(""+r.source,e)}Ve.addStickyFlag=Tv;function OEe(r,e,t){var i=[];return(0,xe.has)(r,Ve.DEFAULT_MODE)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.DEFAULT_MODE+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),(0,xe.has)(r,Ve.MODES)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Ve.MODES+`> property in its definition -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),(0,xe.has)(r,Ve.MODES)&&(0,xe.has)(r,Ve.DEFAULT_MODE)&&!(0,xe.has)(r.modes,r.defaultMode)&&i.push({message:"A MultiMode Lexer cannot be initialized with a "+Ve.DEFAULT_MODE+": <"+r.defaultMode+`>which does not exist -`,type:ir.LexerDefinitionErrorType.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),(0,xe.has)(r,Ve.MODES)&&(0,xe.forEach)(r.modes,function(n,s){(0,xe.forEach)(n,function(o,a){(0,xe.isUndefined)(o)&&i.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:"+("<"+s+"> at index: <"+a+`> -`),type:ir.LexerDefinitionErrorType.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})})}),i}Ve.performRuntimeChecks=OEe;function KEe(r,e,t){var i=[],n=!1,s=(0,xe.compact)((0,xe.flatten)((0,xe.mapValues)(r.modes,function(l){return l}))),o=(0,xe.reject)(s,function(l){return l[ko]===ir.Lexer.NA}),a=Aj(t);return e&&(0,xe.forEach)(o,function(l){var c=oj(l,a);if(c!==!1){var u=aj(l,c),g={message:u,type:c.issue,tokenType:l};i.push(g)}else(0,xe.has)(l,"LINE_BREAKS")?l.LINE_BREAKS===!0&&(n=!0):(0,Zg.canMatchCharCode)(a,l.PATTERN)&&(n=!0)}),e&&!n&&i.push({message:`Warning: No LINE_BREAKS Found. - This Lexer has been defined to track line and column information, - But none of the Token Types can be identified as matching a line terminator. - See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS - for details.`,type:ir.LexerDefinitionErrorType.NO_LINE_BREAKS_FLAGS}),i}Ve.performWarningRuntimeChecks=KEe;function UEe(r){var e={},t=(0,xe.keys)(r);return(0,xe.forEach)(t,function(i){var n=r[i];if((0,xe.isArray)(n))e[i]=[];else throw Error("non exhaustive match")}),e}Ve.cloneEmptyGroups=UEe;function Mv(r){var e=r.PATTERN;if((0,xe.isRegExp)(e))return!1;if((0,xe.isFunction)(e))return!0;if((0,xe.has)(e,"exec"))return!0;if((0,xe.isString)(e))return!1;throw Error("non exhaustive match")}Ve.isCustomPattern=Mv;function sj(r){return(0,xe.isString)(r)&&r.length===1?r.charCodeAt(0):!1}Ve.isShortPattern=sj;Ve.LineTerminatorOptimizedTester={test:function(r){for(var e=r.length,t=this.lastIndex;t Token Type -`)+(" Root cause: "+e.errMsg+`. -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(e.issue===ir.LexerDefinitionErrorType.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the option. -`+(" The problem is in the <"+r.name+`> Token Type -`)+" For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}Ve.buildLineBreakIssueMessage=aj;function Aj(r){var e=(0,xe.map)(r,function(t){return(0,xe.isString)(t)&&t.length>0?t.charCodeAt(0):t});return e}function Fv(r,e,t){r[e]===void 0?r[e]=[t]:r[e].push(t)}Ve.minOptimizationVal=256;var ny=[];function Lv(r){return r255?255+~~(r/255):r}}});var _g=w(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.isTokenType=Nt.hasExtendingTokensTypesMapProperty=Nt.hasExtendingTokensTypesProperty=Nt.hasCategoriesProperty=Nt.hasShortKeyProperty=Nt.singleAssignCategoriesToksMap=Nt.assignCategoriesMapProp=Nt.assignCategoriesTokensProp=Nt.assignTokenDefaultProps=Nt.expandCategories=Nt.augmentTokenTypes=Nt.tokenIdxToClass=Nt.tokenShortNameIdx=Nt.tokenStructuredMatcherNoCategories=Nt.tokenStructuredMatcher=void 0;var Zr=Gt();function GEe(r,e){var t=r.tokenTypeIdx;return t===e.tokenTypeIdx?!0:e.isParent===!0&&e.categoryMatchesMap[t]===!0}Nt.tokenStructuredMatcher=GEe;function YEe(r,e){return r.tokenTypeIdx===e.tokenTypeIdx}Nt.tokenStructuredMatcherNoCategories=YEe;Nt.tokenShortNameIdx=1;Nt.tokenIdxToClass={};function jEe(r){var e=lj(r);cj(e),gj(e),uj(e),(0,Zr.forEach)(e,function(t){t.isParent=t.categoryMatches.length>0})}Nt.augmentTokenTypes=jEe;function lj(r){for(var e=(0,Zr.cloneArr)(r),t=r,i=!0;i;){t=(0,Zr.compact)((0,Zr.flatten)((0,Zr.map)(t,function(s){return s.CATEGORIES})));var n=(0,Zr.difference)(t,e);e=e.concat(n),(0,Zr.isEmpty)(n)?i=!1:t=n}return e}Nt.expandCategories=lj;function cj(r){(0,Zr.forEach)(r,function(e){fj(e)||(Nt.tokenIdxToClass[Nt.tokenShortNameIdx]=e,e.tokenTypeIdx=Nt.tokenShortNameIdx++),Ov(e)&&!(0,Zr.isArray)(e.CATEGORIES)&&(e.CATEGORIES=[e.CATEGORIES]),Ov(e)||(e.CATEGORIES=[]),hj(e)||(e.categoryMatches=[]),pj(e)||(e.categoryMatchesMap={})})}Nt.assignTokenDefaultProps=cj;function uj(r){(0,Zr.forEach)(r,function(e){e.categoryMatches=[],(0,Zr.forEach)(e.categoryMatchesMap,function(t,i){e.categoryMatches.push(Nt.tokenIdxToClass[i].tokenTypeIdx)})})}Nt.assignCategoriesTokensProp=uj;function gj(r){(0,Zr.forEach)(r,function(e){Kv([],e)})}Nt.assignCategoriesMapProp=gj;function Kv(r,e){(0,Zr.forEach)(r,function(t){e.categoryMatchesMap[t.tokenTypeIdx]=!0}),(0,Zr.forEach)(e.CATEGORIES,function(t){var i=r.concat(e);(0,Zr.contains)(i,t)||Kv(i,t)})}Nt.singleAssignCategoriesToksMap=Kv;function fj(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.hasShortKeyProperty=fj;function Ov(r){return(0,Zr.has)(r,"CATEGORIES")}Nt.hasCategoriesProperty=Ov;function hj(r){return(0,Zr.has)(r,"categoryMatches")}Nt.hasExtendingTokensTypesProperty=hj;function pj(r){return(0,Zr.has)(r,"categoryMatchesMap")}Nt.hasExtendingTokensTypesMapProperty=pj;function qEe(r){return(0,Zr.has)(r,"tokenTypeIdx")}Nt.isTokenType=qEe});var Uv=w(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.defaultLexerErrorProvider=void 0;sy.defaultLexerErrorProvider={buildUnableToPopLexerModeMessage:function(r){return"Unable to pop Lexer Mode after encountering Token ->"+r.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(r,e,t,i,n){return"unexpected character: ->"+r.charAt(e)+"<- at offset: "+e+","+(" skipped "+t+" characters.")}}});var Bd=w(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.Lexer=Cc.LexerDefinitionErrorType=void 0;var _s=Rv(),nr=Gt(),JEe=_g(),WEe=Uv(),zEe=ty(),VEe;(function(r){r[r.MISSING_PATTERN=0]="MISSING_PATTERN",r[r.INVALID_PATTERN=1]="INVALID_PATTERN",r[r.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",r[r.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",r[r.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",r[r.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",r[r.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",r[r.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",r[r.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",r[r.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",r[r.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",r[r.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",r[r.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",r[r.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",r[r.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",r[r.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",r[r.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK"})(VEe=Cc.LexerDefinitionErrorType||(Cc.LexerDefinitionErrorType={}));var bd={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:[` -`,"\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:WEe.defaultLexerErrorProvider,traceInitPerf:!1,skipValidations:!1};Object.freeze(bd);var XEe=function(){function r(e,t){var i=this;if(t===void 0&&(t=bd),this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},typeof t=="boolean")throw Error(`The second argument to the Lexer constructor is now an ILexerConfig Object. -a boolean 2nd argument is no longer supported`);this.config=(0,nr.merge)(bd,t);var n=this.config.traceInitPerf;n===!0?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):typeof n=="number"&&(this.traceInitMaxIdent=n,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",function(){var s,o=!0;i.TRACE_INIT("Lexer Config handling",function(){if(i.config.lineTerminatorsPattern===bd.lineTerminatorsPattern)i.config.lineTerminatorsPattern=_s.LineTerminatorOptimizedTester;else if(i.config.lineTerminatorCharacters===bd.lineTerminatorCharacters)throw Error(`Error: Missing property on the Lexer config. - For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS`);if(t.safeMode&&t.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');i.trackStartLines=/full|onlyStart/i.test(i.config.positionTracking),i.trackEndLines=/full/i.test(i.config.positionTracking),(0,nr.isArray)(e)?(s={modes:{}},s.modes[_s.DEFAULT_MODE]=(0,nr.cloneArr)(e),s[_s.DEFAULT_MODE]=_s.DEFAULT_MODE):(o=!1,s=(0,nr.cloneObj)(e))}),i.config.skipValidations===!1&&(i.TRACE_INIT("performRuntimeChecks",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.performRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))}),i.TRACE_INIT("performWarningRuntimeChecks",function(){i.lexerDefinitionWarning=i.lexerDefinitionWarning.concat((0,_s.performWarningRuntimeChecks)(s,i.trackStartLines,i.config.lineTerminatorCharacters))})),s.modes=s.modes?s.modes:{},(0,nr.forEach)(s.modes,function(u,g){s.modes[g]=(0,nr.reject)(u,function(f){return(0,nr.isUndefined)(f)})});var a=(0,nr.keys)(s.modes);if((0,nr.forEach)(s.modes,function(u,g){i.TRACE_INIT("Mode: <"+g+"> processing",function(){if(i.modes.push(g),i.config.skipValidations===!1&&i.TRACE_INIT("validatePatterns",function(){i.lexerDefinitionErrors=i.lexerDefinitionErrors.concat((0,_s.validatePatterns)(u,a))}),(0,nr.isEmpty)(i.lexerDefinitionErrors)){(0,JEe.augmentTokenTypes)(u);var f;i.TRACE_INIT("analyzeTokenTypes",function(){f=(0,_s.analyzeTokenTypes)(u,{lineTerminatorCharacters:i.config.lineTerminatorCharacters,positionTracking:t.positionTracking,ensureOptimizations:t.ensureOptimizations,safeMode:t.safeMode,tracer:i.TRACE_INIT.bind(i)})}),i.patternIdxToConfig[g]=f.patternIdxToConfig,i.charCodeToPatternIdxToConfig[g]=f.charCodeToPatternIdxToConfig,i.emptyGroups=(0,nr.merge)(i.emptyGroups,f.emptyGroups),i.hasCustom=f.hasCustom||i.hasCustom,i.canModeBeOptimized[g]=f.canBeOptimized}})}),i.defaultMode=s.defaultMode,!(0,nr.isEmpty)(i.lexerDefinitionErrors)&&!i.config.deferDefinitionErrorsHandling){var l=(0,nr.map)(i.lexerDefinitionErrors,function(u){return u.message}),c=l.join(`----------------------- -`);throw new Error(`Errors detected in definition of Lexer: -`+c)}(0,nr.forEach)(i.lexerDefinitionWarning,function(u){(0,nr.PRINT_WARNING)(u.message)}),i.TRACE_INIT("Choosing sub-methods implementations",function(){if(_s.SUPPORT_STICKY?(i.chopInput=nr.IDENTITY,i.match=i.matchWithTest):(i.updateLastIndex=nr.NOOP,i.match=i.matchWithExec),o&&(i.handleModes=nr.NOOP),i.trackStartLines===!1&&(i.computeNewColumn=nr.IDENTITY),i.trackEndLines===!1&&(i.updateTokenEndLineColumnLocation=nr.NOOP),/full/i.test(i.config.positionTracking))i.createTokenInstance=i.createFullToken;else if(/onlyStart/i.test(i.config.positionTracking))i.createTokenInstance=i.createStartOnlyToken;else if(/onlyOffset/i.test(i.config.positionTracking))i.createTokenInstance=i.createOffsetOnlyToken;else throw Error('Invalid config option: "'+i.config.positionTracking+'"');i.hasCustom?(i.addToken=i.addTokenUsingPush,i.handlePayload=i.handlePayloadWithCustom):(i.addToken=i.addTokenUsingMemberAccess,i.handlePayload=i.handlePayloadNoCustom)}),i.TRACE_INIT("Failed Optimization Warnings",function(){var u=(0,nr.reduce)(i.canModeBeOptimized,function(g,f,h){return f===!1&&g.push(h),g},[]);if(t.ensureOptimizations&&!(0,nr.isEmpty)(u))throw Error("Lexer Modes: < "+u.join(", ")+` > cannot be optimized. - Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode. - Or inspect the console log for details on how to resolve these issues.`)}),i.TRACE_INIT("clearRegExpParserCache",function(){(0,zEe.clearRegExpParserCache)()}),i.TRACE_INIT("toFastProperties",function(){(0,nr.toFastProperties)(i)})})}return r.prototype.tokenize=function(e,t){if(t===void 0&&(t=this.defaultMode),!(0,nr.isEmpty)(this.lexerDefinitionErrors)){var i=(0,nr.map)(this.lexerDefinitionErrors,function(o){return o.message}),n=i.join(`----------------------- -`);throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer: -`+n)}var s=this.tokenizeInternal(e,t);return s},r.prototype.tokenizeInternal=function(e,t){var i=this,n,s,o,a,l,c,u,g,f,h,p,C,y,B,v,D,T=e,H=T.length,j=0,$=0,V=this.hasCustom?0:Math.floor(e.length/10),W=new Array(V),_=[],A=this.trackStartLines?1:void 0,Ae=this.trackStartLines?1:void 0,ge=(0,_s.cloneEmptyGroups)(this.emptyGroups),re=this.trackStartLines,M=this.config.lineTerminatorsPattern,F=0,ue=[],pe=[],ke=[],Fe=[];Object.freeze(Fe);var Ne=void 0;function oe(){return ue}function le(pr){var Ii=(0,_s.charCodeToOptimizedIndex)(pr),rs=pe[Ii];return rs===void 0?Fe:rs}var Be=function(pr){if(ke.length===1&&pr.tokenType.PUSH_MODE===void 0){var Ii=i.config.errorMessageProvider.buildUnableToPopLexerModeMessage(pr);_.push({offset:pr.startOffset,line:pr.startLine!==void 0?pr.startLine:void 0,column:pr.startColumn!==void 0?pr.startColumn:void 0,length:pr.image.length,message:Ii})}else{ke.pop();var rs=(0,nr.last)(ke);ue=i.patternIdxToConfig[rs],pe=i.charCodeToPatternIdxToConfig[rs],F=ue.length;var fa=i.canModeBeOptimized[rs]&&i.config.safeMode===!1;pe&&fa?Ne=le:Ne=oe}};function fe(pr){ke.push(pr),pe=this.charCodeToPatternIdxToConfig[pr],ue=this.patternIdxToConfig[pr],F=ue.length,F=ue.length;var Ii=this.canModeBeOptimized[pr]&&this.config.safeMode===!1;pe&&Ii?Ne=le:Ne=oe}fe.call(this,t);for(var ae;jc.length){c=a,u=g,ae=_e;break}}}break}}if(c!==null){if(f=c.length,h=ae.group,h!==void 0&&(p=ae.tokenTypeIdx,C=this.createTokenInstance(c,j,p,ae.tokenType,A,Ae,f),this.handlePayload(C,u),h===!1?$=this.addToken(W,$,C):ge[h].push(C)),e=this.chopInput(e,f),j=j+f,Ae=this.computeNewColumn(Ae,f),re===!0&&ae.canLineTerminator===!0){var It=0,Mr=void 0,ii=void 0;M.lastIndex=0;do Mr=M.test(c),Mr===!0&&(ii=M.lastIndex-1,It++);while(Mr===!0);It!==0&&(A=A+It,Ae=f-ii,this.updateTokenEndLineColumnLocation(C,h,ii,It,A,Ae,f))}this.handleModes(ae,Be,fe,C)}else{for(var gi=j,hr=A,fi=Ae,ni=!1;!ni&&j <"+e+">");var n=(0,nr.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",r.NA=/NOT_APPLICABLE/,r}();Cc.Lexer=XEe});var TA=w(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.tokenMatcher=Qi.createTokenInstance=Qi.EOF=Qi.createToken=Qi.hasTokenLabel=Qi.tokenName=Qi.tokenLabel=void 0;var $s=Gt(),ZEe=Bd(),Hv=_g();function _Ee(r){return bj(r)?r.LABEL:r.name}Qi.tokenLabel=_Ee;function $Ee(r){return r.name}Qi.tokenName=$Ee;function bj(r){return(0,$s.isString)(r.LABEL)&&r.LABEL!==""}Qi.hasTokenLabel=bj;var eIe="parent",dj="categories",Cj="label",mj="group",Ej="push_mode",Ij="pop_mode",yj="longer_alt",wj="line_breaks",Bj="start_chars_hint";function Qj(r){return tIe(r)}Qi.createToken=Qj;function tIe(r){var e=r.pattern,t={};if(t.name=r.name,(0,$s.isUndefined)(e)||(t.PATTERN=e),(0,$s.has)(r,eIe))throw`The parent property is no longer supported. -See: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return(0,$s.has)(r,dj)&&(t.CATEGORIES=r[dj]),(0,Hv.augmentTokenTypes)([t]),(0,$s.has)(r,Cj)&&(t.LABEL=r[Cj]),(0,$s.has)(r,mj)&&(t.GROUP=r[mj]),(0,$s.has)(r,Ij)&&(t.POP_MODE=r[Ij]),(0,$s.has)(r,Ej)&&(t.PUSH_MODE=r[Ej]),(0,$s.has)(r,yj)&&(t.LONGER_ALT=r[yj]),(0,$s.has)(r,wj)&&(t.LINE_BREAKS=r[wj]),(0,$s.has)(r,Bj)&&(t.START_CHARS_HINT=r[Bj]),t}Qi.EOF=Qj({name:"EOF",pattern:ZEe.Lexer.NA});(0,Hv.augmentTokenTypes)([Qi.EOF]);function rIe(r,e,t,i,n,s,o,a){return{image:e,startOffset:t,endOffset:i,startLine:n,endLine:s,startColumn:o,endColumn:a,tokenTypeIdx:r.tokenTypeIdx,tokenType:r}}Qi.createTokenInstance=rIe;function iIe(r,e){return(0,Hv.tokenStructuredMatcher)(r,e)}Qi.tokenMatcher=iIe});var mn=w(zt=>{"use strict";var Pa=zt&&zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(zt,"__esModule",{value:!0});zt.serializeProduction=zt.serializeGrammar=zt.Terminal=zt.Alternation=zt.RepetitionWithSeparator=zt.Repetition=zt.RepetitionMandatoryWithSeparator=zt.RepetitionMandatory=zt.Option=zt.Alternative=zt.Rule=zt.NonTerminal=zt.AbstractProduction=void 0;var Ar=Gt(),nIe=TA(),Ro=function(){function r(e){this._definition=e}return Object.defineProperty(r.prototype,"definition",{get:function(){return this._definition},set:function(e){this._definition=e},enumerable:!1,configurable:!0}),r.prototype.accept=function(e){e.visit(this),(0,Ar.forEach)(this.definition,function(t){t.accept(e)})},r}();zt.AbstractProduction=Ro;var Sj=function(r){Pa(e,r);function e(t){var i=r.call(this,[])||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this.referencedRule!==void 0?this.referencedRule.definition:[]},set:function(t){},enumerable:!1,configurable:!0}),e.prototype.accept=function(t){t.visit(this)},e}(Ro);zt.NonTerminal=Sj;var vj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.orgText="",(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Rule=vj;var xj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.ignoreAmbiguities=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Alternative=xj;var Pj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Option=Pj;var Dj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatory=Dj;var kj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionMandatoryWithSeparator=kj;var Rj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.Repetition=Rj;var Fj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return e}(Ro);zt.RepetitionWithSeparator=Fj;var Nj=function(r){Pa(e,r);function e(t){var i=r.call(this,t.definition)||this;return i.idx=1,i.ignoreAmbiguities=!1,i.hasPredicates=!1,(0,Ar.assign)(i,(0,Ar.pick)(t,function(n){return n!==void 0})),i}return Object.defineProperty(e.prototype,"definition",{get:function(){return this._definition},set:function(t){this._definition=t},enumerable:!1,configurable:!0}),e}(Ro);zt.Alternation=Nj;var oy=function(){function r(e){this.idx=1,(0,Ar.assign)(this,(0,Ar.pick)(e,function(t){return t!==void 0}))}return r.prototype.accept=function(e){e.visit(this)},r}();zt.Terminal=oy;function sIe(r){return(0,Ar.map)(r,Qd)}zt.serializeGrammar=sIe;function Qd(r){function e(s){return(0,Ar.map)(s,Qd)}if(r instanceof Sj){var t={type:"NonTerminal",name:r.nonTerminalName,idx:r.idx};return(0,Ar.isString)(r.label)&&(t.label=r.label),t}else{if(r instanceof xj)return{type:"Alternative",definition:e(r.definition)};if(r instanceof Pj)return{type:"Option",idx:r.idx,definition:e(r.definition)};if(r instanceof Dj)return{type:"RepetitionMandatory",idx:r.idx,definition:e(r.definition)};if(r instanceof kj)return{type:"RepetitionMandatoryWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Fj)return{type:"RepetitionWithSeparator",idx:r.idx,separator:Qd(new oy({terminalType:r.separator})),definition:e(r.definition)};if(r instanceof Rj)return{type:"Repetition",idx:r.idx,definition:e(r.definition)};if(r instanceof Nj)return{type:"Alternation",idx:r.idx,definition:e(r.definition)};if(r instanceof oy){var i={type:"Terminal",name:r.terminalType.name,label:(0,nIe.tokenLabel)(r.terminalType),idx:r.idx};(0,Ar.isString)(r.label)&&(i.terminalLabel=r.label);var n=r.terminalType.PATTERN;return r.terminalType.PATTERN&&(i.pattern=(0,Ar.isRegExp)(n)?n.source:n),i}else{if(r instanceof vj)return{type:"Rule",name:r.name,orgText:r.orgText,definition:e(r.definition)};throw Error("non exhaustive match")}}}zt.serializeProduction=Qd});var Ay=w(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.RestWalker=void 0;var Gv=Gt(),En=mn(),oIe=function(){function r(){}return r.prototype.walk=function(e,t){var i=this;t===void 0&&(t=[]),(0,Gv.forEach)(e.definition,function(n,s){var o=(0,Gv.drop)(e.definition,s+1);if(n instanceof En.NonTerminal)i.walkProdRef(n,o,t);else if(n instanceof En.Terminal)i.walkTerminal(n,o,t);else if(n instanceof En.Alternative)i.walkFlat(n,o,t);else if(n instanceof En.Option)i.walkOption(n,o,t);else if(n instanceof En.RepetitionMandatory)i.walkAtLeastOne(n,o,t);else if(n instanceof En.RepetitionMandatoryWithSeparator)i.walkAtLeastOneSep(n,o,t);else if(n instanceof En.RepetitionWithSeparator)i.walkManySep(n,o,t);else if(n instanceof En.Repetition)i.walkMany(n,o,t);else if(n instanceof En.Alternation)i.walkOr(n,o,t);else throw Error("non exhaustive match")})},r.prototype.walkTerminal=function(e,t,i){},r.prototype.walkProdRef=function(e,t,i){},r.prototype.walkFlat=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkOption=function(e,t,i){var n=t.concat(i);this.walk(e,n)},r.prototype.walkAtLeastOne=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkAtLeastOneSep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkMany=function(e,t,i){var n=[new En.Option({definition:e.definition})].concat(t,i);this.walk(e,n)},r.prototype.walkManySep=function(e,t,i){var n=Tj(e,t,i);this.walk(e,n)},r.prototype.walkOr=function(e,t,i){var n=this,s=t.concat(i);(0,Gv.forEach)(e.definition,function(o){var a=new En.Alternative({definition:[o]});n.walk(a,s)})},r}();ay.RestWalker=oIe;function Tj(r,e,t){var i=[new En.Option({definition:[new En.Terminal({terminalType:r.separator})].concat(r.definition)})],n=i.concat(e,t);return n}});var $g=w(ly=>{"use strict";Object.defineProperty(ly,"__esModule",{value:!0});ly.GAstVisitor=void 0;var Fo=mn(),aIe=function(){function r(){}return r.prototype.visit=function(e){var t=e;switch(t.constructor){case Fo.NonTerminal:return this.visitNonTerminal(t);case Fo.Alternative:return this.visitAlternative(t);case Fo.Option:return this.visitOption(t);case Fo.RepetitionMandatory:return this.visitRepetitionMandatory(t);case Fo.RepetitionMandatoryWithSeparator:return this.visitRepetitionMandatoryWithSeparator(t);case Fo.RepetitionWithSeparator:return this.visitRepetitionWithSeparator(t);case Fo.Repetition:return this.visitRepetition(t);case Fo.Alternation:return this.visitAlternation(t);case Fo.Terminal:return this.visitTerminal(t);case Fo.Rule:return this.visitRule(t);default:throw Error("non exhaustive match")}},r.prototype.visitNonTerminal=function(e){},r.prototype.visitAlternative=function(e){},r.prototype.visitOption=function(e){},r.prototype.visitRepetition=function(e){},r.prototype.visitRepetitionMandatory=function(e){},r.prototype.visitRepetitionMandatoryWithSeparator=function(e){},r.prototype.visitRepetitionWithSeparator=function(e){},r.prototype.visitAlternation=function(e){},r.prototype.visitTerminal=function(e){},r.prototype.visitRule=function(e){},r}();ly.GAstVisitor=aIe});var vd=w(Oi=>{"use strict";var AIe=Oi&&Oi.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Oi,"__esModule",{value:!0});Oi.collectMethods=Oi.DslMethodsCollectorVisitor=Oi.getProductionDslName=Oi.isBranchingProd=Oi.isOptionalProd=Oi.isSequenceProd=void 0;var Sd=Gt(),br=mn(),lIe=$g();function cIe(r){return r instanceof br.Alternative||r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionMandatory||r instanceof br.RepetitionMandatoryWithSeparator||r instanceof br.RepetitionWithSeparator||r instanceof br.Terminal||r instanceof br.Rule}Oi.isSequenceProd=cIe;function Yv(r,e){e===void 0&&(e=[]);var t=r instanceof br.Option||r instanceof br.Repetition||r instanceof br.RepetitionWithSeparator;return t?!0:r instanceof br.Alternation?(0,Sd.some)(r.definition,function(i){return Yv(i,e)}):r instanceof br.NonTerminal&&(0,Sd.contains)(e,r)?!1:r instanceof br.AbstractProduction?(r instanceof br.NonTerminal&&e.push(r),(0,Sd.every)(r.definition,function(i){return Yv(i,e)})):!1}Oi.isOptionalProd=Yv;function uIe(r){return r instanceof br.Alternation}Oi.isBranchingProd=uIe;function gIe(r){if(r instanceof br.NonTerminal)return"SUBRULE";if(r instanceof br.Option)return"OPTION";if(r instanceof br.Alternation)return"OR";if(r instanceof br.RepetitionMandatory)return"AT_LEAST_ONE";if(r instanceof br.RepetitionMandatoryWithSeparator)return"AT_LEAST_ONE_SEP";if(r instanceof br.RepetitionWithSeparator)return"MANY_SEP";if(r instanceof br.Repetition)return"MANY";if(r instanceof br.Terminal)return"CONSUME";throw Error("non exhaustive match")}Oi.getProductionDslName=gIe;var Lj=function(r){AIe(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.separator="-",t.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},t}return e.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},e.prototype.visitTerminal=function(t){var i=t.terminalType.name+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitNonTerminal=function(t){var i=t.nonTerminalName+this.separator+"Terminal";(0,Sd.has)(this.dslMethods,i)||(this.dslMethods[i]=[]),this.dslMethods[i].push(t)},e.prototype.visitOption=function(t){this.dslMethods.option.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.dslMethods.repetitionWithSeparator.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.dslMethods.repetitionMandatory.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.dslMethods.repetitionMandatoryWithSeparator.push(t)},e.prototype.visitRepetition=function(t){this.dslMethods.repetition.push(t)},e.prototype.visitAlternation=function(t){this.dslMethods.alternation.push(t)},e}(lIe.GAstVisitor);Oi.DslMethodsCollectorVisitor=Lj;var cy=new Lj;function fIe(r){cy.reset(),r.accept(cy);var e=cy.dslMethods;return cy.reset(),e}Oi.collectMethods=fIe});var qv=w(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.firstForTerminal=No.firstForBranching=No.firstForSequence=No.first=void 0;var uy=Gt(),Mj=mn(),jv=vd();function gy(r){if(r instanceof Mj.NonTerminal)return gy(r.referencedRule);if(r instanceof Mj.Terminal)return Uj(r);if((0,jv.isSequenceProd)(r))return Oj(r);if((0,jv.isBranchingProd)(r))return Kj(r);throw Error("non exhaustive match")}No.first=gy;function Oj(r){for(var e=[],t=r.definition,i=0,n=t.length>i,s,o=!0;n&&o;)s=t[i],o=(0,jv.isOptionalProd)(s),e=e.concat(gy(s)),i=i+1,n=t.length>i;return(0,uy.uniq)(e)}No.firstForSequence=Oj;function Kj(r){var e=(0,uy.map)(r.definition,function(t){return gy(t)});return(0,uy.uniq)((0,uy.flatten)(e))}No.firstForBranching=Kj;function Uj(r){return[r.terminalType]}No.firstForTerminal=Uj});var Jv=w(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.IN=void 0;fy.IN="_~IN~_"});var qj=w(fs=>{"use strict";var hIe=fs&&fs.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(fs,"__esModule",{value:!0});fs.buildInProdFollowPrefix=fs.buildBetweenProdsFollowPrefix=fs.computeAllProdsFollows=fs.ResyncFollowsWalker=void 0;var pIe=Ay(),dIe=qv(),Hj=Gt(),Gj=Jv(),CIe=mn(),Yj=function(r){hIe(e,r);function e(t){var i=r.call(this)||this;return i.topProd=t,i.follows={},i}return e.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},e.prototype.walkTerminal=function(t,i,n){},e.prototype.walkProdRef=function(t,i,n){var s=jj(t.referencedRule,t.idx)+this.topProd.name,o=i.concat(n),a=new CIe.Alternative({definition:o}),l=(0,dIe.first)(a);this.follows[s]=l},e}(pIe.RestWalker);fs.ResyncFollowsWalker=Yj;function mIe(r){var e={};return(0,Hj.forEach)(r,function(t){var i=new Yj(t).startWalking();(0,Hj.assign)(e,i)}),e}fs.computeAllProdsFollows=mIe;function jj(r,e){return r.name+e+Gj.IN}fs.buildBetweenProdsFollowPrefix=jj;function EIe(r){var e=r.terminalType.name;return e+r.idx+Gj.IN}fs.buildInProdFollowPrefix=EIe});var xd=w(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.defaultGrammarValidatorErrorProvider=Da.defaultGrammarResolverErrorProvider=Da.defaultParserErrorProvider=void 0;var ef=TA(),IIe=Gt(),eo=Gt(),Wv=mn(),Jj=vd();Da.defaultParserErrorProvider={buildMismatchTokenMessage:function(r){var e=r.expected,t=r.actual,i=r.previous,n=r.ruleName,s=(0,ef.hasTokenLabel)(e),o=s?"--> "+(0,ef.tokenLabel)(e)+" <--":"token of type --> "+e.name+" <--",a="Expecting "+o+" but found --> '"+t.image+"' <--";return a},buildNotAllInputParsedMessage:function(r){var e=r.firstRedundant,t=r.ruleName;return"Redundant input, expecting EOF but found: "+e.image},buildNoViableAltMessage:function(r){var e=r.expectedPathsPerAlt,t=r.actual,i=r.previous,n=r.customUserDescription,s=r.ruleName,o="Expecting: ",a=(0,eo.first)(t).image,l=` -but found: '`+a+"'";if(n)return o+n+l;var c=(0,eo.reduce)(e,function(h,p){return h.concat(p)},[]),u=(0,eo.map)(c,function(h){return"["+(0,eo.map)(h,function(p){return(0,ef.tokenLabel)(p)}).join(", ")+"]"}),g=(0,eo.map)(u,function(h,p){return" "+(p+1)+". "+h}),f=`one of these possible Token sequences: -`+g.join(` -`);return o+f+l},buildEarlyExitMessage:function(r){var e=r.expectedIterationPaths,t=r.actual,i=r.customUserDescription,n=r.ruleName,s="Expecting: ",o=(0,eo.first)(t).image,a=` -but found: '`+o+"'";if(i)return s+i+a;var l=(0,eo.map)(e,function(u){return"["+(0,eo.map)(u,function(g){return(0,ef.tokenLabel)(g)}).join(",")+"]"}),c=`expecting at least one iteration which starts with one of these possible Token sequences:: - `+("<"+l.join(" ,")+">");return s+c+a}};Object.freeze(Da.defaultParserErrorProvider);Da.defaultGrammarResolverErrorProvider={buildRuleNotFoundError:function(r,e){var t="Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<- -inside top level rule: ->`+r.name+"<-";return t}};Da.defaultGrammarValidatorErrorProvider={buildDuplicateFoundError:function(r,e){function t(u){return u instanceof Wv.Terminal?u.terminalType.name:u instanceof Wv.NonTerminal?u.nonTerminalName:""}var i=r.name,n=(0,eo.first)(e),s=n.idx,o=(0,Jj.getProductionDslName)(n),a=t(n),l=s>0,c="->"+o+(l?s:"")+"<- "+(a?"with argument: ->"+a+"<-":"")+` - appears more than once (`+e.length+" times) in the top level rule: ->"+i+`<-. - For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES - `;return c=c.replace(/[ \t]+/g," "),c=c.replace(/\s\s+/g,` -`),c},buildNamespaceConflictError:function(r){var e=`Namespace conflict found in grammar. -`+("The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+r.name+`>. -`)+`To resolve this make sure each Terminal and Non-Terminal names are unique -This is easy to accomplish by using the convention that Terminal names start with an uppercase letter -and Non-Terminal names start with a lower case letter.`;return e},buildAlternationPrefixAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous alternatives: <"+r.ambiguityIndices.join(" ,")+`> due to common lookahead prefix -`+("in inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`)+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX -For Further details.`;return i},buildAlternationAmbiguityError:function(r){var e=(0,eo.map)(r.prefixPath,function(n){return(0,ef.tokenLabel)(n)}).join(", "),t=r.alternation.idx===0?"":r.alternation.idx,i="Ambiguous Alternatives Detected: <"+r.ambiguityIndices.join(" ,")+"> in "+(" inside <"+r.topLevelRule.name+`> Rule, -`)+("<"+e+`> may appears as a prefix path in all these alternatives. -`);return i=i+`See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES -For Further details.`,i},buildEmptyRepetitionError:function(r){var e=(0,Jj.getProductionDslName)(r.repetition);r.repetition.idx!==0&&(e+=r.repetition.idx);var t="The repetition <"+e+"> within Rule <"+r.topLevelRule.name+`> can never consume any tokens. -This could lead to an infinite loop.`;return t},buildTokenNameError:function(r){return"deprecated"},buildEmptyAlternationError:function(r){var e="Ambiguous empty alternative: <"+(r.emptyChoiceIdx+1)+">"+(" in inside <"+r.topLevelRule.name+`> Rule. -`)+"Only the last alternative may be an empty alternative.";return e},buildTooManyAlternativesError:function(r){var e=`An Alternation cannot have more than 256 alternatives: -`+(" inside <"+r.topLevelRule.name+`> Rule. - has `+(r.alternation.definition.length+1)+" alternatives.");return e},buildLeftRecursionError:function(r){var e=r.topLevelRule.name,t=IIe.map(r.leftRecursionPath,function(s){return s.name}),i=e+" --> "+t.concat([e]).join(" --> "),n=`Left Recursion found in grammar. -`+("rule: <"+e+`> can be invoked from itself (directly or indirectly) -`)+(`without consuming any Tokens. The grammar path that causes this is: - `+i+` -`)+` To fix this refactor your grammar to remove the left recursion. -see: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring.`;return n},buildInvalidRuleNameError:function(r){return"deprecated"},buildDuplicateRuleNameError:function(r){var e;r.topLevelRule instanceof Wv.Rule?e=r.topLevelRule.name:e=r.topLevelRule;var t="Duplicate definition, rule: ->"+e+"<- is already defined in the grammar: ->"+r.grammarName+"<-";return t}}});var Vj=w(LA=>{"use strict";var yIe=LA&&LA.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(LA,"__esModule",{value:!0});LA.GastRefResolverVisitor=LA.resolveGrammar=void 0;var wIe=jn(),Wj=Gt(),BIe=$g();function bIe(r,e){var t=new zj(r,e);return t.resolveRefs(),t.errors}LA.resolveGrammar=bIe;var zj=function(r){yIe(e,r);function e(t,i){var n=r.call(this)||this;return n.nameToTopRule=t,n.errMsgProvider=i,n.errors=[],n}return e.prototype.resolveRefs=function(){var t=this;(0,Wj.forEach)((0,Wj.values)(this.nameToTopRule),function(i){t.currTopLevel=i,i.accept(t)})},e.prototype.visitNonTerminal=function(t){var i=this.nameToTopRule[t.nonTerminalName];if(i)t.referencedRule=i;else{var n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,t);this.errors.push({message:n,type:wIe.ParserDefinitionErrorType.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:t.nonTerminalName})}},e}(BIe.GAstVisitor);LA.GastRefResolverVisitor=zj});var Dd=w(Nr=>{"use strict";var mc=Nr&&Nr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Nr,"__esModule",{value:!0});Nr.nextPossibleTokensAfter=Nr.possiblePathsFrom=Nr.NextTerminalAfterAtLeastOneSepWalker=Nr.NextTerminalAfterAtLeastOneWalker=Nr.NextTerminalAfterManySepWalker=Nr.NextTerminalAfterManyWalker=Nr.AbstractNextTerminalAfterProductionWalker=Nr.NextAfterTokenWalker=Nr.AbstractNextPossibleTokensWalker=void 0;var Xj=Ay(),Kt=Gt(),QIe=qv(),kt=mn(),Zj=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topProd=t,n.path=i,n.possibleTokTypes=[],n.nextProductionName="",n.nextProductionOccurrence=0,n.found=!1,n.isAtEndOfPath=!1,n}return e.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=(0,Kt.cloneArr)(this.path.ruleStack).reverse(),this.occurrenceStack=(0,Kt.cloneArr)(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},e.prototype.walk=function(t,i){i===void 0&&(i=[]),this.found||r.prototype.walk.call(this,t,i)},e.prototype.walkProdRef=function(t,i,n){if(t.referencedRule.name===this.nextProductionName&&t.idx===this.nextProductionOccurrence){var s=i.concat(n);this.updateExpectedNext(),this.walk(t.referencedRule,s)}},e.prototype.updateExpectedNext=function(){(0,Kt.isEmpty)(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},e}(Xj.RestWalker);Nr.AbstractNextPossibleTokensWalker=Zj;var SIe=function(r){mc(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.path=i,n.nextTerminalName="",n.nextTerminalOccurrence=0,n.nextTerminalName=n.path.lastTok.name,n.nextTerminalOccurrence=n.path.lastTokOccurrence,n}return e.prototype.walkTerminal=function(t,i,n){if(this.isAtEndOfPath&&t.terminalType.name===this.nextTerminalName&&t.idx===this.nextTerminalOccurrence&&!this.found){var s=i.concat(n),o=new kt.Alternative({definition:s});this.possibleTokTypes=(0,QIe.first)(o),this.found=!0}},e}(Zj);Nr.NextAfterTokenWalker=SIe;var Pd=function(r){mc(e,r);function e(t,i){var n=r.call(this)||this;return n.topRule=t,n.occurrence=i,n.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},n}return e.prototype.startWalking=function(){return this.walk(this.topRule),this.result},e}(Xj.RestWalker);Nr.AbstractNextTerminalAfterProductionWalker=Pd;var vIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkMany=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkMany.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManyWalker=vIe;var xIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkManySep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkManySep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterManySepWalker=xIe;var PIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOne=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOne.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneWalker=PIe;var DIe=function(r){mc(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.walkAtLeastOneSep=function(t,i,n){if(t.idx===this.occurrence){var s=(0,Kt.first)(i.concat(n));this.result.isEndOfRule=s===void 0,s instanceof kt.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else r.prototype.walkAtLeastOneSep.call(this,t,i,n)},e}(Pd);Nr.NextTerminalAfterAtLeastOneSepWalker=DIe;function _j(r,e,t){t===void 0&&(t=[]),t=(0,Kt.cloneArr)(t);var i=[],n=0;function s(c){return c.concat((0,Kt.drop)(r,n+1))}function o(c){var u=_j(s(c),e,t);return i.concat(u)}for(;t.length=0;ge--){var re=B.definition[ge],M={idx:p,def:re.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y};g.push(M),g.push(o)}else if(B instanceof kt.Alternative)g.push({idx:p,def:B.definition.concat((0,Kt.drop)(h)),ruleStack:C,occurrenceStack:y});else if(B instanceof kt.Rule)g.push(RIe(B,p,C,y));else throw Error("non exhaustive match")}}return u}Nr.nextPossibleTokensAfter=kIe;function RIe(r,e,t,i){var n=(0,Kt.cloneArr)(t);n.push(r.name);var s=(0,Kt.cloneArr)(i);return s.push(1),{idx:e,def:r.definition,ruleStack:n,occurrenceStack:s}}});var kd=w(Zt=>{"use strict";var tq=Zt&&Zt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Zt,"__esModule",{value:!0});Zt.areTokenCategoriesNotUsed=Zt.isStrictPrefixOfPath=Zt.containsPath=Zt.getLookaheadPathsForOptionalProd=Zt.getLookaheadPathsForOr=Zt.lookAheadSequenceFromAlternatives=Zt.buildSingleAlternativeLookaheadFunction=Zt.buildAlternativesLookAheadFunc=Zt.buildLookaheadFuncForOptionalProd=Zt.buildLookaheadFuncForOr=Zt.getProdType=Zt.PROD_TYPE=void 0;var sr=Gt(),$j=Dd(),FIe=Ay(),hy=_g(),MA=mn(),NIe=$g(),oi;(function(r){r[r.OPTION=0]="OPTION",r[r.REPETITION=1]="REPETITION",r[r.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",r[r.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",r[r.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",r[r.ALTERNATION=5]="ALTERNATION"})(oi=Zt.PROD_TYPE||(Zt.PROD_TYPE={}));function TIe(r){if(r instanceof MA.Option)return oi.OPTION;if(r instanceof MA.Repetition)return oi.REPETITION;if(r instanceof MA.RepetitionMandatory)return oi.REPETITION_MANDATORY;if(r instanceof MA.RepetitionMandatoryWithSeparator)return oi.REPETITION_MANDATORY_WITH_SEPARATOR;if(r instanceof MA.RepetitionWithSeparator)return oi.REPETITION_WITH_SEPARATOR;if(r instanceof MA.Alternation)return oi.ALTERNATION;throw Error("non exhaustive match")}Zt.getProdType=TIe;function LIe(r,e,t,i,n,s){var o=iq(r,e,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o,i,a,n)}Zt.buildLookaheadFuncForOr=LIe;function MIe(r,e,t,i,n,s){var o=nq(r,e,n,t),a=Xv(o)?hy.tokenStructuredMatcherNoCategories:hy.tokenStructuredMatcher;return s(o[0],a,i)}Zt.buildLookaheadFuncForOptionalProd=MIe;function OIe(r,e,t,i){var n=r.length,s=(0,sr.every)(r,function(l){return(0,sr.every)(l,function(c){return c.length===1})});if(e)return function(l){for(var c=(0,sr.map)(l,function(D){return D.GATE}),u=0;u{"use strict";var Zv=Vt&&Vt.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(Vt,"__esModule",{value:!0});Vt.checkPrefixAlternativesAmbiguities=Vt.validateSomeNonEmptyLookaheadPath=Vt.validateTooManyAlts=Vt.RepetionCollector=Vt.validateAmbiguousAlternationAlternatives=Vt.validateEmptyOrAlternative=Vt.getFirstNoneTerminal=Vt.validateNoLeftRecursion=Vt.validateRuleIsOverridden=Vt.validateRuleDoesNotAlreadyExist=Vt.OccurrenceValidationCollector=Vt.identifyProductionForDuplicates=Vt.validateGrammar=void 0;var er=Gt(),Qr=Gt(),To=jn(),_v=vd(),tf=kd(),YIe=Dd(),to=mn(),$v=$g();function jIe(r,e,t,i,n){var s=er.map(r,function(h){return qIe(h,i)}),o=er.map(r,function(h){return ex(h,h,i)}),a=[],l=[],c=[];(0,Qr.every)(o,Qr.isEmpty)&&(a=(0,Qr.map)(r,function(h){return cq(h,i)}),l=(0,Qr.map)(r,function(h){return uq(h,e,i)}),c=hq(r,e,i));var u=zIe(r,t,i),g=(0,Qr.map)(r,function(h){return fq(h,i)}),f=(0,Qr.map)(r,function(h){return lq(h,r,n,i)});return er.flatten(s.concat(c,o,a,l,u,g,f))}Vt.validateGrammar=jIe;function qIe(r,e){var t=new Aq;r.accept(t);var i=t.allProductions,n=er.groupBy(i,oq),s=er.pick(n,function(a){return a.length>1}),o=er.map(er.values(s),function(a){var l=er.first(a),c=e.buildDuplicateFoundError(r,a),u=(0,_v.getProductionDslName)(l),g={message:c,type:To.ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,ruleName:r.name,dslName:u,occurrence:l.idx},f=aq(l);return f&&(g.parameter=f),g});return o}function oq(r){return(0,_v.getProductionDslName)(r)+"_#_"+r.idx+"_#_"+aq(r)}Vt.identifyProductionForDuplicates=oq;function aq(r){return r instanceof to.Terminal?r.terminalType.name:r instanceof to.NonTerminal?r.nonTerminalName:""}var Aq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitNonTerminal=function(t){this.allProductions.push(t)},e.prototype.visitOption=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e.prototype.visitAlternation=function(t){this.allProductions.push(t)},e.prototype.visitTerminal=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.OccurrenceValidationCollector=Aq;function lq(r,e,t,i){var n=[],s=(0,Qr.reduce)(e,function(a,l){return l.name===r.name?a+1:a},0);if(s>1){var o=i.buildDuplicateRuleNameError({topLevelRule:r,grammarName:t});n.push({message:o,type:To.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:r.name})}return n}Vt.validateRuleDoesNotAlreadyExist=lq;function JIe(r,e,t){var i=[],n;return er.contains(e,r)||(n="Invalid rule override, rule: ->"+r+"<- cannot be overridden in the grammar: ->"+t+"<-as it is not defined in any of the super grammars ",i.push({message:n,type:To.ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,ruleName:r})),i}Vt.validateRuleIsOverridden=JIe;function ex(r,e,t,i){i===void 0&&(i=[]);var n=[],s=Rd(e.definition);if(er.isEmpty(s))return[];var o=r.name,a=er.contains(s,r);a&&n.push({message:t.buildLeftRecursionError({topLevelRule:r,leftRecursionPath:i}),type:To.ParserDefinitionErrorType.LEFT_RECURSION,ruleName:o});var l=er.difference(s,i.concat([r])),c=er.map(l,function(u){var g=er.cloneArr(i);return g.push(u),ex(r,u,t,g)});return n.concat(er.flatten(c))}Vt.validateNoLeftRecursion=ex;function Rd(r){var e=[];if(er.isEmpty(r))return e;var t=er.first(r);if(t instanceof to.NonTerminal)e.push(t.referencedRule);else if(t instanceof to.Alternative||t instanceof to.Option||t instanceof to.RepetitionMandatory||t instanceof to.RepetitionMandatoryWithSeparator||t instanceof to.RepetitionWithSeparator||t instanceof to.Repetition)e=e.concat(Rd(t.definition));else if(t instanceof to.Alternation)e=er.flatten(er.map(t.definition,function(o){return Rd(o.definition)}));else if(!(t instanceof to.Terminal))throw Error("non exhaustive match");var i=(0,_v.isOptionalProd)(t),n=r.length>1;if(i&&n){var s=er.drop(r);return e.concat(Rd(s))}else return e}Vt.getFirstNoneTerminal=Rd;var tx=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.alternations=[],t}return e.prototype.visitAlternation=function(t){this.alternations.push(t)},e}($v.GAstVisitor);function cq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){var a=er.dropRight(o.definition),l=er.map(a,function(c,u){var g=(0,YIe.nextPossibleTokensAfter)([c],[],null,1);return er.isEmpty(g)?{message:e.buildEmptyAlternationError({topLevelRule:r,alternation:o,emptyChoiceIdx:u}),type:To.ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,ruleName:r.name,occurrence:o.idx,alternative:u+1}:null});return s.concat(er.compact(l))},[]);return n}Vt.validateEmptyOrAlternative=cq;function uq(r,e,t){var i=new tx;r.accept(i);var n=i.alternations;n=(0,Qr.reject)(n,function(o){return o.ignoreAmbiguities===!0});var s=er.reduce(n,function(o,a){var l=a.idx,c=a.maxLookahead||e,u=(0,tf.getLookaheadPathsForOr)(l,r,c,a),g=WIe(u,a,r,t),f=pq(u,a,r,t);return o.concat(g,f)},[]);return s}Vt.validateAmbiguousAlternationAlternatives=uq;var gq=function(r){Zv(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.allProductions=[],t}return e.prototype.visitRepetitionWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatory=function(t){this.allProductions.push(t)},e.prototype.visitRepetitionMandatoryWithSeparator=function(t){this.allProductions.push(t)},e.prototype.visitRepetition=function(t){this.allProductions.push(t)},e}($v.GAstVisitor);Vt.RepetionCollector=gq;function fq(r,e){var t=new tx;r.accept(t);var i=t.alternations,n=er.reduce(i,function(s,o){return o.definition.length>255&&s.push({message:e.buildTooManyAlternativesError({topLevelRule:r,alternation:o}),type:To.ParserDefinitionErrorType.TOO_MANY_ALTS,ruleName:r.name,occurrence:o.idx}),s},[]);return n}Vt.validateTooManyAlts=fq;function hq(r,e,t){var i=[];return(0,Qr.forEach)(r,function(n){var s=new gq;n.accept(s);var o=s.allProductions;(0,Qr.forEach)(o,function(a){var l=(0,tf.getProdType)(a),c=a.maxLookahead||e,u=a.idx,g=(0,tf.getLookaheadPathsForOptionalProd)(u,n,l,c),f=g[0];if((0,Qr.isEmpty)((0,Qr.flatten)(f))){var h=t.buildEmptyRepetitionError({topLevelRule:n,repetition:a});i.push({message:h,type:To.ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,ruleName:n.name})}})}),i}Vt.validateSomeNonEmptyLookaheadPath=hq;function WIe(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(a,l,c){return e.definition[c].ignoreAmbiguities===!0||(0,Qr.forEach)(l,function(u){var g=[c];(0,Qr.forEach)(r,function(f,h){c!==h&&(0,tf.containsPath)(f,u)&&e.definition[h].ignoreAmbiguities!==!0&&g.push(h)}),g.length>1&&!(0,tf.containsPath)(n,u)&&(n.push(u),a.push({alts:g,path:u}))}),a},[]),o=er.map(s,function(a){var l=(0,Qr.map)(a.alts,function(u){return u+1}),c=i.buildAlternationAmbiguityError({topLevelRule:t,alternation:e,ambiguityIndices:l,prefixPath:a.path});return{message:c,type:To.ParserDefinitionErrorType.AMBIGUOUS_ALTS,ruleName:t.name,occurrence:e.idx,alternatives:[a.alts]}});return o}function pq(r,e,t,i){var n=[],s=(0,Qr.reduce)(r,function(o,a,l){var c=(0,Qr.map)(a,function(u){return{idx:l,path:u}});return o.concat(c)},[]);return(0,Qr.forEach)(s,function(o){var a=e.definition[o.idx];if(a.ignoreAmbiguities!==!0){var l=o.idx,c=o.path,u=(0,Qr.findAll)(s,function(f){return e.definition[f.idx].ignoreAmbiguities!==!0&&f.idx{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.validateGrammar=rf.resolveGrammar=void 0;var ix=Gt(),VIe=Vj(),XIe=rx(),dq=xd();function ZIe(r){r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarResolverErrorProvider});var e={};return(0,ix.forEach)(r.rules,function(t){e[t.name]=t}),(0,VIe.resolveGrammar)(e,r.errMsgProvider)}rf.resolveGrammar=ZIe;function _Ie(r){return r=(0,ix.defaults)(r,{errMsgProvider:dq.defaultGrammarValidatorErrorProvider}),(0,XIe.validateGrammar)(r.rules,r.maxLookahead,r.tokenTypes,r.errMsgProvider,r.grammarName)}rf.validateGrammar=_Ie});var nf=w(In=>{"use strict";var Fd=In&&In.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(In,"__esModule",{value:!0});In.EarlyExitException=In.NotAllInputParsedException=In.NoViableAltException=In.MismatchedTokenException=In.isRecognitionException=void 0;var $Ie=Gt(),mq="MismatchedTokenException",Eq="NoViableAltException",Iq="EarlyExitException",yq="NotAllInputParsedException",wq=[mq,Eq,Iq,yq];Object.freeze(wq);function eye(r){return(0,$Ie.contains)(wq,r.name)}In.isRecognitionException=eye;var py=function(r){Fd(e,r);function e(t,i){var n=this.constructor,s=r.call(this,t)||this;return s.token=i,s.resyncedTokens=[],Object.setPrototypeOf(s,n.prototype),Error.captureStackTrace&&Error.captureStackTrace(s,s.constructor),s}return e}(Error),tye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=mq,s}return e}(py);In.MismatchedTokenException=tye;var rye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Eq,s}return e}(py);In.NoViableAltException=rye;var iye=function(r){Fd(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.name=yq,n}return e}(py);In.NotAllInputParsedException=iye;var nye=function(r){Fd(e,r);function e(t,i,n){var s=r.call(this,t,i)||this;return s.previousToken=n,s.name=Iq,s}return e}(py);In.EarlyExitException=nye});var sx=w(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.attemptInRepetitionRecovery=Ki.Recoverable=Ki.InRuleRecoveryException=Ki.IN_RULE_RECOVERY_EXCEPTION=Ki.EOF_FOLLOW_KEY=void 0;var dy=TA(),hs=Gt(),sye=nf(),oye=Jv(),aye=jn();Ki.EOF_FOLLOW_KEY={};Ki.IN_RULE_RECOVERY_EXCEPTION="InRuleRecoveryException";function nx(r){this.name=Ki.IN_RULE_RECOVERY_EXCEPTION,this.message=r}Ki.InRuleRecoveryException=nx;nx.prototype=Error.prototype;var Aye=function(){function r(){}return r.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=(0,hs.has)(e,"recoveryEnabled")?e.recoveryEnabled:aye.DEFAULT_PARSER_CONFIG.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=Bq)},r.prototype.getTokenToInsert=function(e){var t=(0,dy.createTokenInstance)(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return t.isInsertedInRecovery=!0,t},r.prototype.canTokenTypeBeInsertedInRecovery=function(e){return!0},r.prototype.tryInRepetitionRecovery=function(e,t,i,n){for(var s=this,o=this.findReSyncTokenType(),a=this.exportLexerState(),l=[],c=!1,u=this.LA(1),g=this.LA(1),f=function(){var h=s.LA(0),p=s.errorMessageProvider.buildMismatchTokenMessage({expected:n,actual:u,previous:h,ruleName:s.getCurrRuleFullName()}),C=new sye.MismatchedTokenException(p,u,s.LA(0));C.resyncedTokens=(0,hs.dropRight)(l),s.SAVE_ERROR(C)};!c;)if(this.tokenMatcher(g,n)){f();return}else if(i.call(this)){f(),e.apply(this,t);return}else this.tokenMatcher(g,o)?c=!0:(g=this.SKIP_TOKEN(),this.addToResyncTokens(g,l));this.importLexerState(a)},r.prototype.shouldInRepetitionRecoveryBeTried=function(e,t,i){return!(i===!1||e===void 0||t===void 0||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))},r.prototype.getFollowsForInRuleRecovery=function(e,t){var i=this.getCurrentGrammarPath(e,t),n=this.getNextPossibleTokenTypes(i);return n},r.prototype.tryInRuleRecovery=function(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t)){var i=this.getTokenToInsert(e);return i}if(this.canRecoverWithSingleTokenDeletion(e)){var n=this.SKIP_TOKEN();return this.consumeToken(),n}throw new nx("sad sad panda")},r.prototype.canPerformInRuleRecovery=function(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)},r.prototype.canRecoverWithSingleTokenInsertion=function(e,t){var i=this;if(!this.canTokenTypeBeInsertedInRecovery(e)||(0,hs.isEmpty)(t))return!1;var n=this.LA(1),s=(0,hs.find)(t,function(o){return i.tokenMatcher(n,o)})!==void 0;return s},r.prototype.canRecoverWithSingleTokenDeletion=function(e){var t=this.tokenMatcher(this.LA(2),e);return t},r.prototype.isInCurrentRuleReSyncSet=function(e){var t=this.getCurrFollowKey(),i=this.getFollowSetFromFollowKey(t);return(0,hs.contains)(i,e)},r.prototype.findReSyncTokenType=function(){for(var e=this.flattenFollowSet(),t=this.LA(1),i=2;;){var n=t.tokenType;if((0,hs.contains)(e,n))return n;t=this.LA(i),i++}},r.prototype.getCurrFollowKey=function(){if(this.RULE_STACK.length===1)return Ki.EOF_FOLLOW_KEY;var e=this.getLastExplicitRuleShortName(),t=this.getLastExplicitRuleOccurrenceIndex(),i=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(e),idxInCallingRule:t,inRule:this.shortRuleNameToFullName(i)}},r.prototype.buildFullFollowKeyStack=function(){var e=this,t=this.RULE_STACK,i=this.RULE_OCCURRENCE_STACK;return(0,hs.map)(t,function(n,s){return s===0?Ki.EOF_FOLLOW_KEY:{ruleName:e.shortRuleNameToFullName(n),idxInCallingRule:i[s],inRule:e.shortRuleNameToFullName(t[s-1])}})},r.prototype.flattenFollowSet=function(){var e=this,t=(0,hs.map)(this.buildFullFollowKeyStack(),function(i){return e.getFollowSetFromFollowKey(i)});return(0,hs.flatten)(t)},r.prototype.getFollowSetFromFollowKey=function(e){if(e===Ki.EOF_FOLLOW_KEY)return[dy.EOF];var t=e.ruleName+e.idxInCallingRule+oye.IN+e.inRule;return this.resyncFollows[t]},r.prototype.addToResyncTokens=function(e,t){return this.tokenMatcher(e,dy.EOF)||t.push(e),t},r.prototype.reSyncTo=function(e){for(var t=[],i=this.LA(1);this.tokenMatcher(i,e)===!1;)i=this.SKIP_TOKEN(),this.addToResyncTokens(i,t);return(0,hs.dropRight)(t)},r.prototype.attemptInRepetitionRecovery=function(e,t,i,n,s,o,a){},r.prototype.getCurrentGrammarPath=function(e,t){var i=this.getHumanReadableRuleStack(),n=(0,hs.cloneArr)(this.RULE_OCCURRENCE_STACK),s={ruleStack:i,occurrenceStack:n,lastTok:e,lastTokOccurrence:t};return s},r.prototype.getHumanReadableRuleStack=function(){var e=this;return(0,hs.map)(this.RULE_STACK,function(t){return e.shortRuleNameToFullName(t)})},r}();Ki.Recoverable=Aye;function Bq(r,e,t,i,n,s,o){var a=this.getKeyForAutomaticLookahead(i,n),l=this.firstAfterRepMap[a];if(l===void 0){var c=this.getCurrRuleFullName(),u=this.getGAstProductions()[c],g=new s(u,n);l=g.startWalking(),this.firstAfterRepMap[a]=l}var f=l.token,h=l.occurrence,p=l.isEndOfRule;this.RULE_STACK.length===1&&p&&f===void 0&&(f=dy.EOF,h=1),this.shouldInRepetitionRecoveryBeTried(f,h,o)&&this.tryInRepetitionRecovery(r,e,t,f)}Ki.attemptInRepetitionRecovery=Bq});var Cy=w(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.getKeyForAutomaticLookahead=Jt.AT_LEAST_ONE_SEP_IDX=Jt.MANY_SEP_IDX=Jt.AT_LEAST_ONE_IDX=Jt.MANY_IDX=Jt.OPTION_IDX=Jt.OR_IDX=Jt.BITS_FOR_ALT_IDX=Jt.BITS_FOR_RULE_IDX=Jt.BITS_FOR_OCCURRENCE_IDX=Jt.BITS_FOR_METHOD_TYPE=void 0;Jt.BITS_FOR_METHOD_TYPE=4;Jt.BITS_FOR_OCCURRENCE_IDX=8;Jt.BITS_FOR_RULE_IDX=12;Jt.BITS_FOR_ALT_IDX=8;Jt.OR_IDX=1<{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.LooksAhead=void 0;var ka=kd(),ro=Gt(),bq=jn(),Ra=Cy(),Ec=vd(),cye=function(){function r(){}return r.prototype.initLooksAhead=function(e){this.dynamicTokensEnabled=(0,ro.has)(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:bq.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled,this.maxLookahead=(0,ro.has)(e,"maxLookahead")?e.maxLookahead:bq.DEFAULT_PARSER_CONFIG.maxLookahead,this.lookAheadFuncsCache=(0,ro.isES2015MapSupported)()?new Map:[],(0,ro.isES2015MapSupported)()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},r.prototype.preComputeLookaheadFunctions=function(e){var t=this;(0,ro.forEach)(e,function(i){t.TRACE_INIT(i.name+" Rule Lookahead",function(){var n=(0,Ec.collectMethods)(i),s=n.alternation,o=n.repetition,a=n.option,l=n.repetitionMandatory,c=n.repetitionMandatoryWithSeparator,u=n.repetitionWithSeparator;(0,ro.forEach)(s,function(g){var f=g.idx===0?"":g.idx;t.TRACE_INIT(""+(0,Ec.getProductionDslName)(g)+f,function(){var h=(0,ka.buildLookaheadFuncForOr)(g.idx,i,g.maxLookahead||t.maxLookahead,g.hasPredicates,t.dynamicTokensEnabled,t.lookAheadBuilderForAlternatives),p=(0,Ra.getKeyForAutomaticLookahead)(t.fullRuleNameToShort[i.name],Ra.OR_IDX,g.idx);t.setLaFuncCache(p,h)})}),(0,ro.forEach)(o,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_IDX,ka.PROD_TYPE.REPETITION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(a,function(g){t.computeLookaheadFunc(i,g.idx,Ra.OPTION_IDX,ka.PROD_TYPE.OPTION,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(l,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_IDX,ka.PROD_TYPE.REPETITION_MANDATORY,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(c,function(g){t.computeLookaheadFunc(i,g.idx,Ra.AT_LEAST_ONE_SEP_IDX,ka.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))}),(0,ro.forEach)(u,function(g){t.computeLookaheadFunc(i,g.idx,Ra.MANY_SEP_IDX,ka.PROD_TYPE.REPETITION_WITH_SEPARATOR,g.maxLookahead,(0,Ec.getProductionDslName)(g))})})})},r.prototype.computeLookaheadFunc=function(e,t,i,n,s,o){var a=this;this.TRACE_INIT(""+o+(t===0?"":t),function(){var l=(0,ka.buildLookaheadFuncForOptionalProd)(t,e,s||a.maxLookahead,a.dynamicTokensEnabled,n,a.lookAheadBuilderForOptional),c=(0,Ra.getKeyForAutomaticLookahead)(a.fullRuleNameToShort[e.name],i,t);a.setLaFuncCache(c,l)})},r.prototype.lookAheadBuilderForOptional=function(e,t,i){return(0,ka.buildSingleAlternativeLookaheadFunction)(e,t,i)},r.prototype.lookAheadBuilderForAlternatives=function(e,t,i,n){return(0,ka.buildAlternativesLookAheadFunc)(e,t,i,n)},r.prototype.getKeyForAutomaticLookahead=function(e,t){var i=this.getLastExplicitRuleShortName();return(0,Ra.getKeyForAutomaticLookahead)(i,e,t)},r.prototype.getLaFuncFromCache=function(e){},r.prototype.getLaFuncFromMap=function(e){return this.lookAheadFuncsCache.get(e)},r.prototype.getLaFuncFromObj=function(e){return this.lookAheadFuncsCache[e]},r.prototype.setLaFuncCache=function(e,t){},r.prototype.setLaFuncCacheUsingMap=function(e,t){this.lookAheadFuncsCache.set(e,t)},r.prototype.setLaFuncUsingObj=function(e,t){this.lookAheadFuncsCache[e]=t},r}();my.LooksAhead=cye});var Sq=w(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.addNoneTerminalToCst=Lo.addTerminalToCst=Lo.setNodeLocationFull=Lo.setNodeLocationOnlyOffset=void 0;function uye(r,e){isNaN(r.startOffset)===!0?(r.startOffset=e.startOffset,r.endOffset=e.endOffset):r.endOffset{"use strict";Object.defineProperty(OA,"__esModule",{value:!0});OA.defineNameProp=OA.functionName=OA.classNameFromInstance=void 0;var pye=Gt();function dye(r){return xq(r.constructor)}OA.classNameFromInstance=dye;var vq="name";function xq(r){var e=r.name;return e||"anonymous"}OA.functionName=xq;function Cye(r,e){var t=Object.getOwnPropertyDescriptor(r,vq);return(0,pye.isUndefined)(t)||t.configurable?(Object.defineProperty(r,vq,{enumerable:!1,configurable:!0,writable:!1,value:e}),!0):!1}OA.defineNameProp=Cye});var Fq=w(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.validateRedundantMethods=Si.validateMissingCstMethods=Si.validateVisitor=Si.CstVisitorDefinitionError=Si.createBaseVisitorConstructorWithDefaults=Si.createBaseSemanticVisitorConstructor=Si.defaultVisit=void 0;var ps=Gt(),Nd=ox();function Pq(r,e){for(var t=(0,ps.keys)(r),i=t.length,n=0;n: - `+(""+s.join(` - -`).replace(/\n/g,` - `)))}}};return t.prototype=i,t.prototype.constructor=t,t._RULE_NAMES=e,t}Si.createBaseSemanticVisitorConstructor=mye;function Eye(r,e,t){var i=function(){};(0,Nd.defineNameProp)(i,r+"BaseSemanticsWithDefaults");var n=Object.create(t.prototype);return(0,ps.forEach)(e,function(s){n[s]=Pq}),i.prototype=n,i.prototype.constructor=i,i}Si.createBaseVisitorConstructorWithDefaults=Eye;var ax;(function(r){r[r.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",r[r.MISSING_METHOD=1]="MISSING_METHOD"})(ax=Si.CstVisitorDefinitionError||(Si.CstVisitorDefinitionError={}));function Dq(r,e){var t=kq(r,e),i=Rq(r,e);return t.concat(i)}Si.validateVisitor=Dq;function kq(r,e){var t=(0,ps.map)(e,function(i){if(!(0,ps.isFunction)(r[i]))return{msg:"Missing visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+" CST Visitor.",type:ax.MISSING_METHOD,methodName:i}});return(0,ps.compact)(t)}Si.validateMissingCstMethods=kq;var Iye=["constructor","visit","validateVisitor"];function Rq(r,e){var t=[];for(var i in r)(0,ps.isFunction)(r[i])&&!(0,ps.contains)(Iye,i)&&!(0,ps.contains)(e,i)&&t.push({msg:"Redundant visitor method: <"+i+"> on "+(0,Nd.functionName)(r.constructor)+` CST Visitor -There is no Grammar Rule corresponding to this method's name. -`,type:ax.REDUNDANT_METHOD,methodName:i});return t}Si.validateRedundantMethods=Rq});var Tq=w(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.TreeBuilder=void 0;var sf=Sq(),_r=Gt(),Nq=Fq(),yye=jn(),wye=function(){function r(){}return r.prototype.initTreeBuilder=function(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=(0,_r.has)(e,"nodeLocationTracking")?e.nodeLocationTracking:yye.DEFAULT_PARSER_CONFIG.nodeLocationTracking,!this.outputCst)this.cstInvocationStateUpdate=_r.NOOP,this.cstFinallyStateUpdate=_r.NOOP,this.cstPostTerminal=_r.NOOP,this.cstPostNonTerminal=_r.NOOP,this.cstPostRule=_r.NOOP;else if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationFull,this.setNodeLocationFromNode=sf.setNodeLocationFull,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=sf.setNodeLocationOnlyOffset,this.setNodeLocationFromNode=sf.setNodeLocationOnlyOffset,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else if(/none/i.test(this.nodeLocationTracking))this.setNodeLocationFromToken=_r.NOOP,this.setNodeLocationFromNode=_r.NOOP,this.cstPostRule=_r.NOOP,this.setInitialNodeLocation=_r.NOOP;else throw Error('Invalid config option: "'+e.nodeLocationTracking+'"')},r.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(e){e.location={startOffset:NaN,endOffset:NaN}},r.prototype.setInitialNodeLocationOnlyOffsetRegular=function(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},r.prototype.setInitialNodeLocationFullRecovery=function(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.setInitialNodeLocationFullRegular=function(e){var t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},r.prototype.cstInvocationStateUpdate=function(e,t){var i={name:e,children:{}};this.setInitialNodeLocation(i),this.CST_STACK.push(i)},r.prototype.cstFinallyStateUpdate=function(){this.CST_STACK.pop()},r.prototype.cstPostRuleFull=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?(i.endOffset=t.endOffset,i.endLine=t.endLine,i.endColumn=t.endColumn):(i.startOffset=NaN,i.startLine=NaN,i.startColumn=NaN)},r.prototype.cstPostRuleOnlyOffset=function(e){var t=this.LA(0),i=e.location;i.startOffset<=t.startOffset?i.endOffset=t.endOffset:i.startOffset=NaN},r.prototype.cstPostTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addTerminalToCst)(i,t,e),this.setNodeLocationFromToken(i.location,t)},r.prototype.cstPostNonTerminal=function(e,t){var i=this.CST_STACK[this.CST_STACK.length-1];(0,sf.addNoneTerminalToCst)(i,t,e),this.setNodeLocationFromNode(i.location,e.location)},r.prototype.getBaseCstVisitorConstructor=function(){if((0,_r.isUndefined)(this.baseCstVisitorConstructor)){var e=(0,Nq.createBaseSemanticVisitorConstructor)(this.className,(0,_r.keys)(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},r.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if((0,_r.isUndefined)(this.baseCstVisitorWithDefaultsConstructor)){var e=(0,Nq.createBaseVisitorConstructorWithDefaults)(this.className,(0,_r.keys)(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor},r.prototype.getLastExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-1]},r.prototype.getPreviousExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-2]},r.prototype.getLastExplicitRuleOccurrenceIndex=function(){var e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]},r}();Ey.TreeBuilder=wye});var Mq=w(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.LexerAdapter=void 0;var Lq=jn(),Bye=function(){function r(){}return r.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(r.prototype,"input",{get:function(){return this.tokVector},set:function(e){if(this.selfAnalysisDone!==!0)throw Error("Missing invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length},enumerable:!1,configurable:!0}),r.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):Lq.END_OF_FILE},r.prototype.LA=function(e){var t=this.currIdx+e;return t<0||this.tokVectorLength<=t?Lq.END_OF_FILE:this.tokVector[t]},r.prototype.consumeToken=function(){this.currIdx++},r.prototype.exportLexerState=function(){return this.currIdx},r.prototype.importLexerState=function(e){this.currIdx=e},r.prototype.resetLexerState=function(){this.currIdx=-1},r.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},r.prototype.getLexerPosition=function(){return this.exportLexerState()},r}();Iy.LexerAdapter=Bye});var Kq=w(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.RecognizerApi=void 0;var Oq=Gt(),bye=nf(),Ax=jn(),Qye=xd(),Sye=rx(),vye=mn(),xye=function(){function r(){}return r.prototype.ACTION=function(e){return e.call(this)},r.prototype.consume=function(e,t,i){return this.consumeInternal(t,e,i)},r.prototype.subrule=function(e,t,i){return this.subruleInternal(t,e,i)},r.prototype.option=function(e,t){return this.optionInternal(t,e)},r.prototype.or=function(e,t){return this.orInternal(t,e)},r.prototype.many=function(e,t){return this.manyInternal(e,t)},r.prototype.atLeastOne=function(e,t){return this.atLeastOneInternal(e,t)},r.prototype.CONSUME=function(e,t){return this.consumeInternal(e,0,t)},r.prototype.CONSUME1=function(e,t){return this.consumeInternal(e,1,t)},r.prototype.CONSUME2=function(e,t){return this.consumeInternal(e,2,t)},r.prototype.CONSUME3=function(e,t){return this.consumeInternal(e,3,t)},r.prototype.CONSUME4=function(e,t){return this.consumeInternal(e,4,t)},r.prototype.CONSUME5=function(e,t){return this.consumeInternal(e,5,t)},r.prototype.CONSUME6=function(e,t){return this.consumeInternal(e,6,t)},r.prototype.CONSUME7=function(e,t){return this.consumeInternal(e,7,t)},r.prototype.CONSUME8=function(e,t){return this.consumeInternal(e,8,t)},r.prototype.CONSUME9=function(e,t){return this.consumeInternal(e,9,t)},r.prototype.SUBRULE=function(e,t){return this.subruleInternal(e,0,t)},r.prototype.SUBRULE1=function(e,t){return this.subruleInternal(e,1,t)},r.prototype.SUBRULE2=function(e,t){return this.subruleInternal(e,2,t)},r.prototype.SUBRULE3=function(e,t){return this.subruleInternal(e,3,t)},r.prototype.SUBRULE4=function(e,t){return this.subruleInternal(e,4,t)},r.prototype.SUBRULE5=function(e,t){return this.subruleInternal(e,5,t)},r.prototype.SUBRULE6=function(e,t){return this.subruleInternal(e,6,t)},r.prototype.SUBRULE7=function(e,t){return this.subruleInternal(e,7,t)},r.prototype.SUBRULE8=function(e,t){return this.subruleInternal(e,8,t)},r.prototype.SUBRULE9=function(e,t){return this.subruleInternal(e,9,t)},r.prototype.OPTION=function(e){return this.optionInternal(e,0)},r.prototype.OPTION1=function(e){return this.optionInternal(e,1)},r.prototype.OPTION2=function(e){return this.optionInternal(e,2)},r.prototype.OPTION3=function(e){return this.optionInternal(e,3)},r.prototype.OPTION4=function(e){return this.optionInternal(e,4)},r.prototype.OPTION5=function(e){return this.optionInternal(e,5)},r.prototype.OPTION6=function(e){return this.optionInternal(e,6)},r.prototype.OPTION7=function(e){return this.optionInternal(e,7)},r.prototype.OPTION8=function(e){return this.optionInternal(e,8)},r.prototype.OPTION9=function(e){return this.optionInternal(e,9)},r.prototype.OR=function(e){return this.orInternal(e,0)},r.prototype.OR1=function(e){return this.orInternal(e,1)},r.prototype.OR2=function(e){return this.orInternal(e,2)},r.prototype.OR3=function(e){return this.orInternal(e,3)},r.prototype.OR4=function(e){return this.orInternal(e,4)},r.prototype.OR5=function(e){return this.orInternal(e,5)},r.prototype.OR6=function(e){return this.orInternal(e,6)},r.prototype.OR7=function(e){return this.orInternal(e,7)},r.prototype.OR8=function(e){return this.orInternal(e,8)},r.prototype.OR9=function(e){return this.orInternal(e,9)},r.prototype.MANY=function(e){this.manyInternal(0,e)},r.prototype.MANY1=function(e){this.manyInternal(1,e)},r.prototype.MANY2=function(e){this.manyInternal(2,e)},r.prototype.MANY3=function(e){this.manyInternal(3,e)},r.prototype.MANY4=function(e){this.manyInternal(4,e)},r.prototype.MANY5=function(e){this.manyInternal(5,e)},r.prototype.MANY6=function(e){this.manyInternal(6,e)},r.prototype.MANY7=function(e){this.manyInternal(7,e)},r.prototype.MANY8=function(e){this.manyInternal(8,e)},r.prototype.MANY9=function(e){this.manyInternal(9,e)},r.prototype.MANY_SEP=function(e){this.manySepFirstInternal(0,e)},r.prototype.MANY_SEP1=function(e){this.manySepFirstInternal(1,e)},r.prototype.MANY_SEP2=function(e){this.manySepFirstInternal(2,e)},r.prototype.MANY_SEP3=function(e){this.manySepFirstInternal(3,e)},r.prototype.MANY_SEP4=function(e){this.manySepFirstInternal(4,e)},r.prototype.MANY_SEP5=function(e){this.manySepFirstInternal(5,e)},r.prototype.MANY_SEP6=function(e){this.manySepFirstInternal(6,e)},r.prototype.MANY_SEP7=function(e){this.manySepFirstInternal(7,e)},r.prototype.MANY_SEP8=function(e){this.manySepFirstInternal(8,e)},r.prototype.MANY_SEP9=function(e){this.manySepFirstInternal(9,e)},r.prototype.AT_LEAST_ONE=function(e){this.atLeastOneInternal(0,e)},r.prototype.AT_LEAST_ONE1=function(e){return this.atLeastOneInternal(1,e)},r.prototype.AT_LEAST_ONE2=function(e){this.atLeastOneInternal(2,e)},r.prototype.AT_LEAST_ONE3=function(e){this.atLeastOneInternal(3,e)},r.prototype.AT_LEAST_ONE4=function(e){this.atLeastOneInternal(4,e)},r.prototype.AT_LEAST_ONE5=function(e){this.atLeastOneInternal(5,e)},r.prototype.AT_LEAST_ONE6=function(e){this.atLeastOneInternal(6,e)},r.prototype.AT_LEAST_ONE7=function(e){this.atLeastOneInternal(7,e)},r.prototype.AT_LEAST_ONE8=function(e){this.atLeastOneInternal(8,e)},r.prototype.AT_LEAST_ONE9=function(e){this.atLeastOneInternal(9,e)},r.prototype.AT_LEAST_ONE_SEP=function(e){this.atLeastOneSepFirstInternal(0,e)},r.prototype.AT_LEAST_ONE_SEP1=function(e){this.atLeastOneSepFirstInternal(1,e)},r.prototype.AT_LEAST_ONE_SEP2=function(e){this.atLeastOneSepFirstInternal(2,e)},r.prototype.AT_LEAST_ONE_SEP3=function(e){this.atLeastOneSepFirstInternal(3,e)},r.prototype.AT_LEAST_ONE_SEP4=function(e){this.atLeastOneSepFirstInternal(4,e)},r.prototype.AT_LEAST_ONE_SEP5=function(e){this.atLeastOneSepFirstInternal(5,e)},r.prototype.AT_LEAST_ONE_SEP6=function(e){this.atLeastOneSepFirstInternal(6,e)},r.prototype.AT_LEAST_ONE_SEP7=function(e){this.atLeastOneSepFirstInternal(7,e)},r.prototype.AT_LEAST_ONE_SEP8=function(e){this.atLeastOneSepFirstInternal(8,e)},r.prototype.AT_LEAST_ONE_SEP9=function(e){this.atLeastOneSepFirstInternal(9,e)},r.prototype.RULE=function(e,t,i){if(i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG),(0,Oq.contains)(this.definedRulesNames,e)){var n=Qye.defaultGrammarValidatorErrorProvider.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),s={message:n,type:Ax.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(s)}this.definedRulesNames.push(e);var o=this.defineRule(e,t,i);return this[e]=o,o},r.prototype.OVERRIDE_RULE=function(e,t,i){i===void 0&&(i=Ax.DEFAULT_RULE_CONFIG);var n=[];n=n.concat((0,Sye.validateRuleIsOverridden)(e,this.definedRulesNames,this.className)),this.definitionErrors=this.definitionErrors.concat(n);var s=this.defineRule(e,t,i);return this[e]=s,s},r.prototype.BACKTRACK=function(e,t){return function(){this.isBackTrackingStack.push(1);var i=this.saveRecogState();try{return e.apply(this,t),!0}catch(n){if((0,bye.isRecognitionException)(n))return!1;throw n}finally{this.reloadRecogState(i),this.isBackTrackingStack.pop()}}},r.prototype.getGAstProductions=function(){return this.gastProductionsCache},r.prototype.getSerializedGastProductions=function(){return(0,vye.serializeGrammar)((0,Oq.values)(this.gastProductionsCache))},r}();yy.RecognizerApi=xye});var Yq=w(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.RecognizerEngine=void 0;var Pr=Gt(),qn=Cy(),wy=nf(),Uq=kd(),of=Dd(),Hq=jn(),Pye=sx(),Gq=TA(),Td=_g(),Dye=ox(),kye=function(){function r(){}return r.prototype.initRecognizerEngine=function(e,t){if(this.className=(0,Dye.classNameFromInstance)(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=Td.tokenStructuredMatcherNoCategories,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},(0,Pr.has)(t,"serializedGrammar"))throw Error(`The Parser's configuration can no longer contain a property. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0 - For Further details.`);if((0,Pr.isArray)(e)){if((0,Pr.isEmpty)(e))throw Error(`A Token Vocabulary cannot be empty. - Note that the first argument for the parser constructor - is no longer a Token vector (since v4.0).`);if(typeof e[0].startOffset=="number")throw Error(`The Parser constructor no longer accepts a token vector as the first argument. - See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0 - For Further details.`)}if((0,Pr.isArray)(e))this.tokensMap=(0,Pr.reduce)(e,function(o,a){return o[a.name]=a,o},{});else if((0,Pr.has)(e,"modes")&&(0,Pr.every)((0,Pr.flatten)((0,Pr.values)(e.modes)),Td.isTokenType)){var i=(0,Pr.flatten)((0,Pr.values)(e.modes)),n=(0,Pr.uniq)(i);this.tokensMap=(0,Pr.reduce)(n,function(o,a){return o[a.name]=a,o},{})}else if((0,Pr.isObject)(e))this.tokensMap=(0,Pr.cloneObj)(e);else throw new Error(" argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap.EOF=Gq.EOF;var s=(0,Pr.every)((0,Pr.values)(e),function(o){return(0,Pr.isEmpty)(o.categoryMatches)});this.tokenMatcher=s?Td.tokenStructuredMatcherNoCategories:Td.tokenStructuredMatcher,(0,Td.augmentTokenTypes)((0,Pr.values)(this.tokensMap))},r.prototype.defineRule=function(e,t,i){if(this.selfAnalysisDone)throw Error("Grammar rule <"+e+`> may not be defined after the 'performSelfAnalysis' method has been called' -Make sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);var n=(0,Pr.has)(i,"resyncEnabled")?i.resyncEnabled:Hq.DEFAULT_RULE_CONFIG.resyncEnabled,s=(0,Pr.has)(i,"recoveryValueFunc")?i.recoveryValueFunc:Hq.DEFAULT_RULE_CONFIG.recoveryValueFunc,o=this.ruleShortNameIdx<t},r.prototype.orInternal=function(e,t){var i=this.getKeyForAutomaticLookahead(qn.OR_IDX,t),n=(0,Pr.isArray)(e)?e:e.DEF,s=this.getLaFuncFromCache(i),o=s.call(this,n);if(o!==void 0){var a=n[o];return a.ALT.call(this)}this.raiseNoAltException(t,e.ERR_MSG)},r.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),this.RULE_STACK.length===0&&this.isAtEndOfInput()===!1){var e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new wy.NotAllInputParsedException(t,e))}},r.prototype.subruleInternal=function(e,t,i){var n;try{var s=i!==void 0?i.ARGS:void 0;return n=e.call(this,t,s),this.cstPostNonTerminal(n,i!==void 0&&i.LABEL!==void 0?i.LABEL:e.ruleName),n}catch(o){this.subruleInternalError(o,i,e.ruleName)}},r.prototype.subruleInternalError=function(e,t,i){throw(0,wy.isRecognitionException)(e)&&e.partialCstResult!==void 0&&(this.cstPostNonTerminal(e.partialCstResult,t!==void 0&&t.LABEL!==void 0?t.LABEL:i),delete e.partialCstResult),e},r.prototype.consumeInternal=function(e,t,i){var n;try{var s=this.LA(1);this.tokenMatcher(s,e)===!0?(this.consumeToken(),n=s):this.consumeInternalError(e,s,i)}catch(o){n=this.consumeInternalRecovery(e,t,o)}return this.cstPostTerminal(i!==void 0&&i.LABEL!==void 0?i.LABEL:e.name,n),n},r.prototype.consumeInternalError=function(e,t,i){var n,s=this.LA(0);throw i!==void 0&&i.ERR_MSG?n=i.ERR_MSG:n=this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:s,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new wy.MismatchedTokenException(n,t,s))},r.prototype.consumeInternalRecovery=function(e,t,i){if(this.recoveryEnabled&&i.name==="MismatchedTokenException"&&!this.isBackTracking()){var n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(s){throw s.name===Pye.IN_RULE_RECOVERY_EXCEPTION?i:s}}else throw i},r.prototype.saveRecogState=function(){var e=this.errors,t=(0,Pr.cloneArr)(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:t,CST_STACK:this.CST_STACK}},r.prototype.reloadRecogState=function(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK},r.prototype.ruleInvocationStateUpdate=function(e,t,i){this.RULE_OCCURRENCE_STACK.push(i),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t,e)},r.prototype.isBackTracking=function(){return this.isBackTrackingStack.length!==0},r.prototype.getCurrRuleFullName=function(){var e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]},r.prototype.shortRuleNameToFullName=function(e){return this.shortRuleNameToFull[e]},r.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),Gq.EOF)},r.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},r}();By.RecognizerEngine=kye});var qq=w(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.ErrorHandler=void 0;var lx=nf(),cx=Gt(),jq=kd(),Rye=jn(),Fye=function(){function r(){}return r.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=(0,cx.has)(e,"errorMessageProvider")?e.errorMessageProvider:Rye.DEFAULT_PARSER_CONFIG.errorMessageProvider},r.prototype.SAVE_ERROR=function(e){if((0,lx.isRecognitionException)(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:(0,cx.cloneArr)(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(r.prototype,"errors",{get:function(){return(0,cx.cloneArr)(this._errors)},set:function(e){this._errors=e},enumerable:!1,configurable:!0}),r.prototype.raiseEarlyExitException=function(e,t,i){for(var n=this.getCurrRuleFullName(),s=this.getGAstProductions()[n],o=(0,jq.getLookaheadPathsForOptionalProd)(e,s,t,this.maxLookahead),a=o[0],l=[],c=1;c<=this.maxLookahead;c++)l.push(this.LA(c));var u=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:a,actual:l,previous:this.LA(0),customUserDescription:i,ruleName:n});throw this.SAVE_ERROR(new lx.EarlyExitException(u,this.LA(1),this.LA(0)))},r.prototype.raiseNoAltException=function(e,t){for(var i=this.getCurrRuleFullName(),n=this.getGAstProductions()[i],s=(0,jq.getLookaheadPathsForOr)(e,n,this.maxLookahead),o=[],a=1;a<=this.maxLookahead;a++)o.push(this.LA(a));var l=this.LA(0),c=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:s,actual:o,previous:l,customUserDescription:t,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new lx.NoViableAltException(c,this.LA(1),l))},r}();by.ErrorHandler=Fye});var zq=w(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.ContentAssist=void 0;var Jq=Dd(),Wq=Gt(),Nye=function(){function r(){}return r.prototype.initContentAssist=function(){},r.prototype.computeContentAssist=function(e,t){var i=this.gastProductionsCache[e];if((0,Wq.isUndefined)(i))throw Error("Rule ->"+e+"<- does not exist in this grammar.");return(0,Jq.nextPossibleTokensAfter)([i],t,this.tokenMatcher,this.maxLookahead)},r.prototype.getNextPossibleTokenTypes=function(e){var t=(0,Wq.first)(e.ruleStack),i=this.getGAstProductions(),n=i[t],s=new Jq.NextAfterTokenWalker(n,e).startWalking();return s},r}();Qy.ContentAssist=Nye});var rJ=w(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.GastRecorder=void 0;var yn=Gt(),Mo=mn(),Tye=Bd(),_q=_g(),$q=TA(),Lye=jn(),Mye=Cy(),vy={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(vy);var Vq=!0,Xq=Math.pow(2,Mye.BITS_FOR_OCCURRENCE_IDX)-1,eJ=(0,$q.createToken)({name:"RECORDING_PHASE_TOKEN",pattern:Tye.Lexer.NA});(0,_q.augmentTokenTypes)([eJ]);var tJ=(0,$q.createTokenInstance)(eJ,`This IToken indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1);Object.freeze(tJ);var Oye={name:`This CSTNode indicates the Parser is in Recording Phase - See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,children:{}},Kye=function(){function r(){}return r.prototype.initGastRecorder=function(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1},r.prototype.enableRecording=function(){var e=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",function(){for(var t=function(n){var s=n>0?n:"";e["CONSUME"+s]=function(o,a){return this.consumeInternalRecord(o,n,a)},e["SUBRULE"+s]=function(o,a){return this.subruleInternalRecord(o,n,a)},e["OPTION"+s]=function(o){return this.optionInternalRecord(o,n)},e["OR"+s]=function(o){return this.orInternalRecord(o,n)},e["MANY"+s]=function(o){this.manyInternalRecord(n,o)},e["MANY_SEP"+s]=function(o){this.manySepFirstInternalRecord(n,o)},e["AT_LEAST_ONE"+s]=function(o){this.atLeastOneInternalRecord(n,o)},e["AT_LEAST_ONE_SEP"+s]=function(o){this.atLeastOneSepFirstInternalRecord(n,o)}},i=0;i<10;i++)t(i);e.consume=function(n,s,o){return this.consumeInternalRecord(s,n,o)},e.subrule=function(n,s,o){return this.subruleInternalRecord(s,n,o)},e.option=function(n,s){return this.optionInternalRecord(s,n)},e.or=function(n,s){return this.orInternalRecord(s,n)},e.many=function(n,s){this.manyInternalRecord(n,s)},e.atLeastOne=function(n,s){this.atLeastOneInternalRecord(n,s)},e.ACTION=e.ACTION_RECORD,e.BACKTRACK=e.BACKTRACK_RECORD,e.LA=e.LA_RECORD})},r.prototype.disableRecording=function(){var e=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",function(){for(var t=0;t<10;t++){var i=t>0?t:"";delete e["CONSUME"+i],delete e["SUBRULE"+i],delete e["OPTION"+i],delete e["OR"+i],delete e["MANY"+i],delete e["MANY_SEP"+i],delete e["AT_LEAST_ONE"+i],delete e["AT_LEAST_ONE_SEP"+i]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA})},r.prototype.ACTION_RECORD=function(e){},r.prototype.BACKTRACK_RECORD=function(e,t){return function(){return!0}},r.prototype.LA_RECORD=function(e){return Lye.END_OF_FILE},r.prototype.topLevelRuleRecord=function(e,t){try{var i=new Mo.Rule({definition:[],name:e});return i.name=e,this.recordingProdStack.push(i),t.call(this),this.recordingProdStack.pop(),i}catch(n){if(n.KNOWN_RECORDER_ERROR!==!0)try{n.message=n.message+` - This error was thrown during the "grammar recording phase" For more info see: - https://chevrotain.io/docs/guide/internals.html#grammar-recording`}catch{throw n}throw n}},r.prototype.optionInternalRecord=function(e,t){return Ld.call(this,Mo.Option,e,t)},r.prototype.atLeastOneInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatory,t,e)},r.prototype.atLeastOneSepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionMandatoryWithSeparator,t,e,Vq)},r.prototype.manyInternalRecord=function(e,t){Ld.call(this,Mo.Repetition,t,e)},r.prototype.manySepFirstInternalRecord=function(e,t){Ld.call(this,Mo.RepetitionWithSeparator,t,e,Vq)},r.prototype.orInternalRecord=function(e,t){return Uye.call(this,e,t)},r.prototype.subruleInternalRecord=function(e,t,i){if(Sy(t),!e||(0,yn.has)(e,"ruleName")===!1){var n=new Error(" argument is invalid"+(" expecting a Parser method reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=e.ruleName,a=new Mo.NonTerminal({idx:t,nonTerminalName:o,label:i==null?void 0:i.LABEL,referencedRule:void 0});return s.definition.push(a),this.outputCst?Oye:vy},r.prototype.consumeInternalRecord=function(e,t,i){if(Sy(t),!(0,_q.hasShortKeyProperty)(e)){var n=new Error(" argument is invalid"+(" expecting a TokenType reference but got: <"+JSON.stringify(e)+">")+(` - inside top level rule: <`+this.recordingProdStack[0].name+">"));throw n.KNOWN_RECORDER_ERROR=!0,n}var s=(0,yn.peek)(this.recordingProdStack),o=new Mo.Terminal({idx:t,terminalType:e,label:i==null?void 0:i.LABEL});return s.definition.push(o),tJ},r}();xy.GastRecorder=Kye;function Ld(r,e,t,i){i===void 0&&(i=!1),Sy(t);var n=(0,yn.peek)(this.recordingProdStack),s=(0,yn.isFunction)(e)?e:e.DEF,o=new r({definition:[],idx:t});return i&&(o.separator=e.SEP),(0,yn.has)(e,"MAX_LOOKAHEAD")&&(o.maxLookahead=e.MAX_LOOKAHEAD),this.recordingProdStack.push(o),s.call(this),n.definition.push(o),this.recordingProdStack.pop(),vy}function Uye(r,e){var t=this;Sy(e);var i=(0,yn.peek)(this.recordingProdStack),n=(0,yn.isArray)(r)===!1,s=n===!1?r:r.DEF,o=new Mo.Alternation({definition:[],idx:e,ignoreAmbiguities:n&&r.IGNORE_AMBIGUITIES===!0});(0,yn.has)(r,"MAX_LOOKAHEAD")&&(o.maxLookahead=r.MAX_LOOKAHEAD);var a=(0,yn.some)(s,function(l){return(0,yn.isFunction)(l.GATE)});return o.hasPredicates=a,i.definition.push(o),(0,yn.forEach)(s,function(l){var c=new Mo.Alternative({definition:[]});o.definition.push(c),(0,yn.has)(l,"IGNORE_AMBIGUITIES")?c.ignoreAmbiguities=l.IGNORE_AMBIGUITIES:(0,yn.has)(l,"GATE")&&(c.ignoreAmbiguities=!0),t.recordingProdStack.push(c),l.ALT.call(t),t.recordingProdStack.pop()}),vy}function Zq(r){return r===0?"":""+r}function Sy(r){if(r<0||r>Xq){var e=new Error("Invalid DSL Method idx value: <"+r+`> - `+("Idx value must be a none negative value smaller than "+(Xq+1)));throw e.KNOWN_RECORDER_ERROR=!0,e}}});var nJ=w(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.PerformanceTracer=void 0;var iJ=Gt(),Hye=jn(),Gye=function(){function r(){}return r.prototype.initPerformanceTracer=function(e){if((0,iJ.has)(e,"traceInitPerf")){var t=e.traceInitPerf,i=typeof t=="number";this.traceInitMaxIdent=i?t:1/0,this.traceInitPerf=i?t>0:t}else this.traceInitMaxIdent=0,this.traceInitPerf=Hye.DEFAULT_PARSER_CONFIG.traceInitPerf;this.traceInitIndent=-1},r.prototype.TRACE_INIT=function(e,t){if(this.traceInitPerf===!0){this.traceInitIndent++;var i=new Array(this.traceInitIndent+1).join(" ");this.traceInitIndent <"+e+">");var n=(0,iJ.timer)(t),s=n.time,o=n.value,a=s>10?console.warn:console.log;return this.traceInitIndent time: "+s+"ms"),this.traceInitIndent--,o}else return t()},r}();Py.PerformanceTracer=Gye});var sJ=w(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.applyMixins=void 0;function Yye(r,e){e.forEach(function(t){var i=t.prototype;Object.getOwnPropertyNames(i).forEach(function(n){if(n!=="constructor"){var s=Object.getOwnPropertyDescriptor(i,n);s&&(s.get||s.set)?Object.defineProperty(r.prototype,n,s):r.prototype[n]=t.prototype[n]}})})}Dy.applyMixins=Yye});var jn=w(dr=>{"use strict";var AJ=dr&&dr.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}}();Object.defineProperty(dr,"__esModule",{value:!0});dr.EmbeddedActionsParser=dr.CstParser=dr.Parser=dr.EMPTY_ALT=dr.ParserDefinitionErrorType=dr.DEFAULT_RULE_CONFIG=dr.DEFAULT_PARSER_CONFIG=dr.END_OF_FILE=void 0;var en=Gt(),jye=qj(),oJ=TA(),lJ=xd(),aJ=Cq(),qye=sx(),Jye=Qq(),Wye=Tq(),zye=Mq(),Vye=Kq(),Xye=Yq(),Zye=qq(),_ye=zq(),$ye=rJ(),ewe=nJ(),twe=sJ();dr.END_OF_FILE=(0,oJ.createTokenInstance)(oJ.EOF,"",NaN,NaN,NaN,NaN,NaN,NaN);Object.freeze(dr.END_OF_FILE);dr.DEFAULT_PARSER_CONFIG=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:lJ.defaultParserErrorProvider,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1});dr.DEFAULT_RULE_CONFIG=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0});var rwe;(function(r){r[r.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",r[r.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",r[r.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",r[r.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",r[r.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",r[r.LEFT_RECURSION=5]="LEFT_RECURSION",r[r.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",r[r.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",r[r.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",r[r.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",r[r.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",r[r.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",r[r.TOO_MANY_ALTS=12]="TOO_MANY_ALTS"})(rwe=dr.ParserDefinitionErrorType||(dr.ParserDefinitionErrorType={}));function iwe(r){return r===void 0&&(r=void 0),function(){return r}}dr.EMPTY_ALT=iwe;var ky=function(){function r(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;var i=this;if(i.initErrorHandler(t),i.initLexerAdapter(),i.initLooksAhead(t),i.initRecognizerEngine(e,t),i.initRecoverable(t),i.initTreeBuilder(t),i.initContentAssist(),i.initGastRecorder(t),i.initPerformanceTracer(t),(0,en.has)(t,"ignoredIssues"))throw new Error(`The IParserConfig property has been deprecated. - Please use the flag on the relevant DSL method instead. - See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES - For further details.`);this.skipValidations=(0,en.has)(t,"skipValidations")?t.skipValidations:dr.DEFAULT_PARSER_CONFIG.skipValidations}return r.performSelfAnalysis=function(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated. \nUse the **instance** method with the same name instead.")},r.prototype.performSelfAnalysis=function(){var e=this;this.TRACE_INIT("performSelfAnalysis",function(){var t;e.selfAnalysisDone=!0;var i=e.className;e.TRACE_INIT("toFastProps",function(){(0,en.toFastProperties)(e)}),e.TRACE_INIT("Grammar Recording",function(){try{e.enableRecording(),(0,en.forEach)(e.definedRulesNames,function(s){var o=e[s],a=o.originalGrammarAction,l=void 0;e.TRACE_INIT(s+" Rule",function(){l=e.topLevelRuleRecord(s,a)}),e.gastProductionsCache[s]=l})}finally{e.disableRecording()}});var n=[];if(e.TRACE_INIT("Grammar Resolving",function(){n=(0,aJ.resolveGrammar)({rules:(0,en.values)(e.gastProductionsCache)}),e.definitionErrors=e.definitionErrors.concat(n)}),e.TRACE_INIT("Grammar Validations",function(){if((0,en.isEmpty)(n)&&e.skipValidations===!1){var s=(0,aJ.validateGrammar)({rules:(0,en.values)(e.gastProductionsCache),maxLookahead:e.maxLookahead,tokenTypes:(0,en.values)(e.tokensMap),errMsgProvider:lJ.defaultGrammarValidatorErrorProvider,grammarName:i});e.definitionErrors=e.definitionErrors.concat(s)}}),(0,en.isEmpty)(e.definitionErrors)&&(e.recoveryEnabled&&e.TRACE_INIT("computeAllProdsFollows",function(){var s=(0,jye.computeAllProdsFollows)((0,en.values)(e.gastProductionsCache));e.resyncFollows=s}),e.TRACE_INIT("ComputeLookaheadFunctions",function(){e.preComputeLookaheadFunctions((0,en.values)(e.gastProductionsCache))})),!r.DEFER_DEFINITION_ERRORS_HANDLING&&!(0,en.isEmpty)(e.definitionErrors))throw t=(0,en.map)(e.definitionErrors,function(s){return s.message}),new Error(`Parser Definition Errors detected: - `+t.join(` -------------------------------- -`))})},r.DEFER_DEFINITION_ERRORS_HANDLING=!1,r}();dr.Parser=ky;(0,twe.applyMixins)(ky,[qye.Recoverable,Jye.LooksAhead,Wye.TreeBuilder,zye.LexerAdapter,Xye.RecognizerEngine,Vye.RecognizerApi,Zye.ErrorHandler,_ye.ContentAssist,$ye.GastRecorder,ewe.PerformanceTracer]);var nwe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!0,n=r.call(this,t,s)||this,n}return e}(ky);dr.CstParser=nwe;var swe=function(r){AJ(e,r);function e(t,i){i===void 0&&(i=dr.DEFAULT_PARSER_CONFIG);var n=this,s=(0,en.cloneObj)(i);return s.outputCst=!1,n=r.call(this,t,s)||this,n}return e}(ky);dr.EmbeddedActionsParser=swe});var uJ=w(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0});Ry.createSyntaxDiagramsCode=void 0;var cJ=Dv();function owe(r,e){var t=e===void 0?{}:e,i=t.resourceBase,n=i===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/":i,s=t.css,o=s===void 0?"https://unpkg.com/chevrotain@"+cJ.VERSION+"/diagrams/diagrams.css":s,a=` - - - - - -`,l=` - -`,c=` -`) -// } -// fs.writeFileSync(destFile, data, { encoding: 'utf8' }) -// }) -// ) -// } +// HACK Patching stream is very fragile. +// TODO (RSC): Sanitize prefixToRemove to make sure it's safe to use in a +// RegExp (CodeQL is complaining on GitHub) +function transformRsfId(prefixToRemove: string) { + // Should be something like /home/runner/work/redwood/test-project-rsa + console.log('prefixToRemove', prefixToRemove) + + return new Transform({ + transform(chunk, encoding, callback) { + if (encoding !== ('buffer' as any)) { + throw new Error('Unknown encoding') + } + const data = chunk.toString() + const lines = data.split('\n') + console.log('lines', lines) + let changed = false + for (let i = 0; i < lines.length; ++i) { + const match = lines[i].match( + new RegExp(`^([0-9]+):{"id":"${prefixToRemove}(.*?)"(.*)$`) + ) + if (match) { + lines[i] = `${match[1]}:{"id":"${match[2]}"${match[3]}` + changed = true + } + } + callback(null, changed ? Buffer.from(lines.join('\n')) : chunk) + }, + }) +} diff --git a/packages/vite/src/runFeServer.ts b/packages/vite/src/runFeServer.ts index 76df352825bc..6e0168a63ec3 100644 --- a/packages/vite/src/runFeServer.ts +++ b/packages/vite/src/runFeServer.ts @@ -2,6 +2,8 @@ // well in naming with @redwoodjs/api-server) // Only things used during dev can be in @redwoodjs/vite. Everything else has // to go in fe-server +// UPDATE: We decided to name the package @redwoodjs/web-server instead of +// fe-server. And it's already created, but this hasn't been moved over yet. import fs from 'fs/promises' import path from 'path' @@ -15,6 +17,8 @@ import type { Manifest as ViteBuildManifest } from 'vite' import { getConfig, getPaths } from '@redwoodjs/project-config' +import { createRscRequestHandler } from './rsc/rscRequestHandler' +import { setClientEntries } from './rsc/rscWorkerCommunication' import { createReactStreamingHandler } from './streaming/createReactStreamingHandler' import { registerFwGlobals } from './streaming/registerGlobals' import type { RWRouteManifest } from './types' @@ -35,7 +39,7 @@ loadDotEnv({ defaults: path.join(getPaths().base, '.env.defaults'), multiline: true, }) -//------------------------------------------------ +// ------------------------------------------------ export async function runFeServer() { const app = express() @@ -44,6 +48,19 @@ export async function runFeServer() { registerFwGlobals() + try { + // This will fail if we're not running in RSC mode (i.e. for Streaming SSR) + // TODO (RSC) Remove the try/catch, or at least the if-statement in there + // once RSC is always enabled + await setClientEntries('load') + } catch (e) { + if (rwConfig.experimental?.rsc?.enabled) { + console.error('Failed to load client entries') + console.error(e) + process.exit(1) + } + } + // TODO When https://github.com/tc39/proposal-import-attributes and // https://github.com/microsoft/TypeScript/issues/53656 have both landed we // should try to do this instead: @@ -63,10 +80,16 @@ export async function runFeServer() { const routeManifest: RWRouteManifest = JSON.parse(routeManifestStr) // TODO See above about using `import { with: { type: 'json' } }` instead - const manifestPath = path.join(getPaths().web.dist, 'build-manifest.json') + const manifestPath = path.join(rwPaths.web.dist, 'client-build-manifest.json') const buildManifestStr = await fs.readFile(manifestPath, 'utf-8') const buildManifest: ViteBuildManifest = JSON.parse(buildManifestStr) + if (rwConfig.experimental?.rsc?.enabled) { + console.log('='.repeat(80)) + console.log('buildManifest', buildManifest) + console.log('='.repeat(80)) + } + const indexEntry = Object.values(buildManifest).find((manifestItem) => { return manifestItem.isEntry }) @@ -75,11 +98,14 @@ export async function runFeServer() { throw new Error('Could not find index.html in build manifest') } - // 👉 1. Use static handler for assets + // 1. Use static handler for assets // For CF workers, we'd need an equivalent of this - app.use('/', express.static(rwPaths.web.dist, { index: false })) + app.use( + '/assets', + express.static(rwPaths.web.dist + '/assets', { index: false }) + ) - // 👉 2. Proxy the api server + // 2. Proxy the api server // TODO (STREAMING) we need to be able to specify whether proxying is required or not // e.g. deploying to Netlify, we don't need to proxy but configure it in Netlify // Also be careful of differences between v2 and v3 of the server @@ -102,12 +128,6 @@ export async function runFeServer() { const clientEntry = '/' + indexEntry.file for (const route of Object.values(routeManifest)) { - const routeHandler = await createReactStreamingHandler({ - route, - clientEntryPath: clientEntry, - getStylesheetLinks, - }) - // if it is a 404, register it at the end somehow. if (!route.matchRegexString) { continue @@ -119,29 +139,42 @@ export async function runFeServer() { ? route.matchRegexString : route.pathDefinition - // Wrap with whatg/server adapter. Express handler -> Fetch API handler - app.get(expressPathDef, createServerAdapter(routeHandler)) + if (!getConfig().experimental?.rsc?.enabled) { + const routeHandler = await createReactStreamingHandler({ + route, + clientEntryPath: clientEntry, + getStylesheetLinks, + }) + + // Wrap with whatg/server adapter. Express handler -> Fetch API handler + app.get(expressPathDef, createServerAdapter(routeHandler)) + } else { + console.log('expressPathDef', expressPathDef) + + // This is for RSC only. And only for now, until we have SSR working we + // with RSC. This maps /, /about, etc to index.html + app.get(expressPathDef, (req, res, next) => { + // Serve index.html for all routes, to let client side routing take + // over + req.url = '/' + // Without this, we get a flash of a url with a trailing slash. Still + // works, but doesn't look nice + // For example, if we navigate to /about we'll see a flash of /about/ + // before returning to /about + req.originalUrl = '/' + + return express.static(rwPaths.web.dist)(req, res, next) + }) + } } - const server = app.listen( - rwConfig.web.port, - process.env.NODE_ENV === 'production' ? '0.0.0.0' : '::' - ) - - server.on('listening', () => { - let addressDetails = '' - const address = server.address() + // Mounting middleware at /rw-rsc will strip /rw-rsc from req.url + app.use('/rw-rsc', createRscRequestHandler()) - if (typeof address === 'string') { - addressDetails = `(${address})` - } else if (address && typeof address === 'object') { - addressDetails = `(${address.address}:${address.port})` - } - - console.log( - `Started production FE server on http://localhost:${rwConfig.web.port} ${addressDetails}` - ) - }) + app.listen(rwConfig.web.port) + console.log( + `Started production FE server on http://localhost:${rwConfig.web.port}` + ) } runFeServer() diff --git a/packages/vite/src/runRscFeServer.ts b/packages/vite/src/runRscFeServer.ts deleted file mode 100644 index 2be7c4960360..000000000000 --- a/packages/vite/src/runRscFeServer.ts +++ /dev/null @@ -1,117 +0,0 @@ -// TODO (STREAMING) Move this to a new package called @redwoodjs/fe-server (goes -// well in naming with @redwoodjs/api-server) -// Only things used during dev can be in @redwoodjs/vite. Everything else has -// to go in fe-server - -import fs from 'fs/promises' -import path from 'path' - -// @ts-expect-error We will remove dotenv-defaults from this package anyway -import { config as loadDotEnv } from 'dotenv-defaults' -import express from 'express' -import { createProxyMiddleware } from 'http-proxy-middleware' -import type { Manifest as ViteBuildManifest } from 'vite' - -import { getConfig, getPaths } from '@redwoodjs/project-config' - -import { createRscRequestHandler } from './rsc/rscRequestHandler' -import { setClientEntries } from './rsc/rscWorkerCommunication' -import { registerFwGlobals } from './streaming/registerGlobals' - -/** - * TODO (STREAMING) - * We have this server in the vite package only temporarily. - * We will need to decide where to put it, so that rwjs/internal and other heavy dependencies - * can be removed from the final docker image - */ - -// --- @MARK This should be removed once we have re-architected the rw serve command --- -// We need the dotenv, so that prisma knows the DATABASE env var -// Normally the RW cli loads this for us, but we expect this file to be run directly -// without using the CLI. Remember to remove dotenv-defaults dependency from this package -loadDotEnv({ - path: path.join(getPaths().base, '.env'), - defaults: path.join(getPaths().base, '.env.defaults'), - multiline: true, -}) -// ------------------------------------------------ - -export async function runFeServer() { - const app = express() - const rwPaths = getPaths() - const rwConfig = getConfig() - - registerFwGlobals() - - await setClientEntries('load') - - // TODO When https://github.com/tc39/proposal-import-attributes and - // https://github.com/microsoft/TypeScript/issues/53656 have both landed we - // should try to do this instead: - // const routeManifest: RWRouteManifest = await import( - // rwPaths.web.routeManifest, { with: { type: 'json' } } - // ) - // NOTES: - // * There's a related babel plugin here - // https://babeljs.io/docs/babel-plugin-syntax-import-attributes - // * Included in `preset-env` if you set `shippedProposals: true` - // * We had this before, but with `assert` instead of `with`. We really - // should be using `with`. See motivation in issues linked above. - // * With `assert` and `@babel/plugin-syntax-import-assertions` the - // code compiled and ran properly, but Jest tests failed, complaining - // about the syntax. - // const routeManifestStr = await fs.readFile(rwPaths.web.routeManifest, 'utf-8') - // const routeManifest: RWRouteManifest = JSON.parse(routeManifestStr) - - // TODO See above about using `import { with: { type: 'json' } }` instead - const manifestPath = path.join(rwPaths.web.dist, 'client-build-manifest.json') - const buildManifestStr = await fs.readFile(manifestPath, 'utf-8') - const buildManifest: ViteBuildManifest = JSON.parse(buildManifestStr) - - console.log('='.repeat(80)) - console.log('buildManifest', buildManifest) - console.log('='.repeat(80)) - - const indexEntry = Object.values(buildManifest).find((manifestItem) => { - return manifestItem.isEntry - }) - - if (!indexEntry) { - throw new Error('Could not find index.html in build manifest') - } - - // 1. Use static handler for assets - // For CF workers, we'd need an equivalent of this - app.use('/assets', express.static(rwPaths.web.dist + '/assets')) - - // 2. Proxy the api server - // TODO (STREAMING) we need to be able to specify whether proxying is required or not - // e.g. deploying to Netlify, we don't need to proxy but configure it in Netlify - // Also be careful of differences between v2 and v3 of the server - app.use( - rwConfig.web.apiUrl, - // @WARN! Be careful, between v2 and v3 of http-proxy-middleware - // the syntax has changed https://github.com/chimurai/http-proxy-middleware - createProxyMiddleware({ - changeOrigin: true, - pathRewrite: { - [`^${rwConfig.web.apiUrl}`]: '', // remove base path - }, - // Using 127.0.0.1 to force ipv4. With `localhost` you don't really know - // if it's going to be ipv4 or ipv6 - target: `http://127.0.0.1:${rwConfig.api.port}`, - }) - ) - - // Mounting middleware at /rw-rsc will strip /rw-rsc from req.url - app.use('/rw-rsc', createRscRequestHandler()) - - app.use(express.static(rwPaths.web.dist)) - - app.listen(rwConfig.web.port) - console.log( - `Started production FE server on http://localhost:${rwConfig.web.port}` - ) -} - -runFeServer() diff --git a/packages/vite/src/streaming/collectCss.ts b/packages/vite/src/streaming/collectCss.ts index 67fe1454364f..cbaa7bff2f6d 100644 --- a/packages/vite/src/streaming/collectCss.ts +++ b/packages/vite/src/streaming/collectCss.ts @@ -1,4 +1,5 @@ import type { ViteDevServer, ModuleNode } from 'vite' +import { normalizePath } from 'vite' /** * Collect SSR CSS for Vite @@ -9,7 +10,7 @@ export const componentsModules = ( ) => { const matchedModules: Set = new Set() components.forEach((component) => { - const modules = vite.moduleGraph.getModulesByFile(component) + const modules = vite.moduleGraph.getModulesByFile(normalizePath(component)) modules?.forEach((mod) => { matchedModules.add(mod) }) diff --git a/packages/vite/src/streaming/createReactStreamingHandler.ts b/packages/vite/src/streaming/createReactStreamingHandler.ts index a479c8c668e8..fbeeeb50a691 100644 --- a/packages/vite/src/streaming/createReactStreamingHandler.ts +++ b/packages/vite/src/streaming/createReactStreamingHandler.ts @@ -4,7 +4,7 @@ import isbot from 'isbot' import type { ViteDevServer } from 'vite' import type { RWRouteManifestItem } from '@redwoodjs/internal' -import { getAppRouteHook, getPaths } from '@redwoodjs/project-config' +import { getAppRouteHook, getConfig, getPaths } from '@redwoodjs/project-config' import { matchPath } from '@redwoodjs/router' import type { TagDescriptor } from '@redwoodjs/web' @@ -37,8 +37,24 @@ export const createReactStreamingHandler = async ( let fallbackDocumentImport: any if (isProd) { - entryServerImport = await import(rwPaths.web.distEntryServer) - fallbackDocumentImport = await import(rwPaths.web.distDocumentServer) + // TODO (RSC) Consolidate paths, so we can have the same code for SSR and RSC + if (getConfig().experimental?.rsc?.enabled) { + entryServerImport = await import( + makeFilePath( + path.join(rwPaths.web.distServer, 'assets', 'entry.server.js') + ) + ) + fallbackDocumentImport = await import( + makeFilePath(path.join(rwPaths.web.distServer, 'assets', 'Document.js')) + ) + } else { + entryServerImport = await import( + makeFilePath(rwPaths.web.distEntryServer) + ) + fallbackDocumentImport = await import( + makeFilePath(rwPaths.web.distDocumentServer) + ) + } } // @NOTE: we are returning a FetchAPI handler @@ -147,3 +163,8 @@ export const createReactStreamingHandler = async ( return reactResponse } } + +function makeFilePath(path: string): string { + // Without this, absolute paths can't be imported on Windows + return 'file:///' + path +} diff --git a/packages/vite/src/waku-lib/builder.ts b/packages/vite/src/waku-lib/builder.ts deleted file mode 100644 index 1ab154b604ae..000000000000 --- a/packages/vite/src/waku-lib/builder.ts +++ /dev/null @@ -1,191 +0,0 @@ -// TODO (RSC) Take ownership of this file and move it out ouf the waku-lib folder -import fs from 'node:fs' -import { createRequire } from 'node:module' -import path from 'node:path' - -import react from '@vitejs/plugin-react' -import { build as viteBuild } from 'vite' - -import { onWarn } from '../lib/onWarn' -import { - shutdown, - setClientEntries, - getCustomModulesRSC, - buildRSC, -} from '../rsc/rscWorkerCommunication' - -import { configFileConfig, resolveConfig } from './config' -import { rscIndexPlugin, rscAnalyzePlugin } from './vite-plugin-rsc' - -export async function build() { - const config = await resolveConfig('build') - const indexHtmlFile = path.join(config.root, config.framework.indexHtml) - const distEntriesFile = path.join( - config.root, - config.build.outDir, - config.framework.entriesJs - ) - let entriesFile = path.join(config.root, config.framework.entriesJs) - if (entriesFile.endsWith('.js')) { - for (const ext of ['.js', '.ts', '.tsx', '.jsx']) { - const tmp = entriesFile.slice(0, -3) + ext - if (fs.existsSync(tmp)) { - entriesFile = tmp - break - } - } - } - const require = createRequire(import.meta.url) - - const customModules = await getCustomModulesRSC() - const clientEntryFileSet = new Set() - const serverEntryFileSet = new Set() - await viteBuild({ - ...configFileConfig, - plugins: [ - rscAnalyzePlugin( - (id) => clientEntryFileSet.add(id), - (id) => serverEntryFileSet.add(id) - ), - ], - ssr: { - // TODO (RSC): Is this still relevant? - // FIXME Without this, waku/router isn't considered to have client - // entries, and "No client entry" error occurs. - // Unless we fix this, RSC-capable packages aren't supported. - // This also seems to cause problems with pnpm. - noExternal: ['waku'], - }, - build: { - write: false, - ssr: true, - rollupOptions: { - onwarn: onWarn, - input: { - entries: entriesFile, - ...customModules, - }, - }, - }, - }) - const clientEntryFiles = Object.fromEntries( - Array.from(clientEntryFileSet).map((fname, i) => [`rsc${i}`, fname]) - ) - const serverEntryFiles = Object.fromEntries( - Array.from(serverEntryFileSet).map((fname, i) => [`rsf${i}`, fname]) - ) - - const serverBuildOutput = await viteBuild({ - ...configFileConfig, - ssr: { - noExternal: Array.from(clientEntryFileSet).map( - // FIXME this might not work with pnpm - (fname) => - path - .relative(path.join(config.root, 'node_modules'), fname) - .split('/')[0] - ), - }, - build: { - ssr: true, - rollupOptions: { - onwarn: onWarn, - input: { - entries: entriesFile, - ...clientEntryFiles, - ...serverEntryFiles, - ...customModules, - }, - output: { - banner: (chunk) => { - // HACK to bring directives to the front - let code = '' - if (chunk.moduleIds.some((id) => clientEntryFileSet.has(id))) { - code += '"use client";' - } - if (chunk.moduleIds.some((id) => serverEntryFileSet.has(id))) { - code += '"use server";' - } - return code - }, - entryFileNames: (chunkInfo) => { - if (chunkInfo.name === 'entries' || customModules[chunkInfo.name]) { - return '[name].js' - } - return 'assets/[name].js' - }, - }, - }, - }, - }) - if (!('output' in serverBuildOutput)) { - throw new Error('Unexpected vite server build output') - } - - const clientBuildOutput = await viteBuild({ - ...configFileConfig, - plugins: [react(), rscIndexPlugin()], - build: { - outDir: path.join(config.build.outDir, config.framework.outPublic), - rollupOptions: { - onwarn: onWarn, - input: { - main: indexHtmlFile, - ...clientEntryFiles, - }, - preserveEntrySignatures: 'exports-only', - }, - }, - }) - if (!('output' in clientBuildOutput)) { - throw new Error('Unexpected vite client build output') - } - - const clientEntries: Record = {} - for (const item of clientBuildOutput.output) { - const { name, fileName } = item - const entryFile = - name && - serverBuildOutput.output.find( - (item) => - 'moduleIds' in item && - item.moduleIds.includes(clientEntryFiles[name] as string) - )?.fileName - if (entryFile) { - clientEntries[entryFile] = fileName - } - } - console.log('clientEntries', clientEntries) - fs.appendFileSync( - distEntriesFile, - `export const clientEntries=${JSON.stringify(clientEntries)};` - ) - - const absoluteClientEntries = Object.fromEntries( - Object.entries(clientEntries).map(([key, val]) => [ - path.join(path.dirname(entriesFile), config.build.outDir, key), - config.base + val, - ]) - ) - await setClientEntries(absoluteClientEntries) - - await buildRSC() - - const origPackageJson = require(path.join(config.root, 'package.json')) - const packageJson = { - name: origPackageJson.name, - version: origPackageJson.version, - private: true, - type: 'module', - scripts: { - start: 'waku start', - }, - dependencies: origPackageJson.dependencies, - } - fs.writeFileSync( - path.join(config.root, config.build.outDir, 'package.json'), - JSON.stringify(packageJson, null, 2) - ) - - await shutdown() -} diff --git a/packages/vite/src/waku-lib/config.ts b/packages/vite/src/waku-lib/config.ts deleted file mode 100644 index 386ee6b1e91d..000000000000 --- a/packages/vite/src/waku-lib/config.ts +++ /dev/null @@ -1,41 +0,0 @@ -// TODO (RSC) Take ownership of this file and move it out ouf the waku-lib folder -import type { ConfigEnv, UserConfig } from 'vite' -import { resolveConfig as viteResolveConfig } from 'vite' - -export interface FrameworkConfig { - indexHtml?: string // relative to root - entriesJs?: string // relative to root - outPublic?: string // relative to build.outDir - rscPrefix?: string // defaults to "RSC/" -} - -export interface ExtendedUserConfig extends UserConfig { - framework?: FrameworkConfig -} - -export function defineConfig( - config: - | ExtendedUserConfig - | Promise - | ((env: ConfigEnv) => ExtendedUserConfig) - | ((env: ConfigEnv) => Promise) -) { - return config -} - -export const configFileConfig = process.env.CONFIG_FILE - ? { configFile: process.env.CONFIG_FILE } - : {} - -export async function resolveConfig(command: 'build' | 'serve') { - const origConfig = await viteResolveConfig(configFileConfig, command) - const framework: Required = { - indexHtml: 'index.html', - entriesJs: 'entries.js', - outPublic: 'public', - rscPrefix: 'RSC/', - ...(origConfig as { framework?: FrameworkConfig }).framework, - } - const config = { ...origConfig, framework } - return config -} diff --git a/packages/vite/src/waku-lib/rsc-utils.ts b/packages/vite/src/waku-lib/rsc-utils.ts deleted file mode 100644 index 6ff2354938e0..000000000000 --- a/packages/vite/src/waku-lib/rsc-utils.ts +++ /dev/null @@ -1,83 +0,0 @@ -// TODO (RSC) Take ownership of this file and move it out ouf the waku-lib folder -import { Buffer } from 'node:buffer' -import { Transform } from 'node:stream' - -export const codeToInject = ` - globalThis.__rw_module_cache__ = new Map(); - - globalThis.__webpack_chunk_load__ = (id) => { - return import(id).then((m) => globalThis.__rw_module_cache__.set(id, m)) - }; - - globalThis.__webpack_require__ = (id) => { - return globalThis.__rw_module_cache__.get(id) - };\n ` - -export const generatePrefetchCode = ( - basePath: string, - entryItemsIterable: Iterable, - moduleIds: Iterable -) => { - const entryItems = Array.from(entryItemsIterable) - let code = '' - if (entryItems.length) { - const rscIds = Array.from(new Set(entryItems.map(([rscId]) => rscId))) - code += ` -globalThis.__WAKU_PREFETCHED__ = { -${rscIds - .map((rscId) => { - const value = - '{' + - entryItems - .flatMap(([id, props]) => { - if (id !== rscId) { - return [] - } - // FIXME we blindly expect JSON.stringify usage is deterministic - const serializedProps = JSON.stringify(props) - const searchParams = new URLSearchParams() - searchParams.set('props', serializedProps) - return [ - `'${serializedProps}': fetch('${basePath}${rscId}/${searchParams}')`, - ] - }) - .join(',') + - '}' - return ` '${rscId}': ${value}` - }) - .join(',\n')} -};` - } - for (const moduleId of moduleIds) { - code += ` -import('${moduleId}');` - } - return code -} - -// HACK Patching stream is very fragile. -export const transformRsfId = (prefixToRemove: string) => { - console.log('prefixToRemove', prefixToRemove) - - return new Transform({ - transform(chunk, encoding, callback) { - if (encoding !== ('buffer' as any)) { - throw new Error('Unknown encoding') - } - const data = chunk.toString() - const lines = data.split('\n') - console.log('lines', lines) - let changed = false - for (let i = 0; i < lines.length; ++i) { - const match = lines[i].match( - new RegExp(`^([0-9]+):{"id":"${prefixToRemove}(.*?)"(.*)$`) - ) - if (match) { - lines[i] = `${match[1]}:{"id":"${match[2]}"${match[3]}` - changed = true - } - } - callback(null, changed ? Buffer.from(lines.join('\n')) : chunk) - }, - }) -} diff --git a/packages/web-server/package.json b/packages/web-server/package.json index 2a228fb84ad3..eb6c5a6bc878 100644 --- a/packages/web-server/package.json +++ b/packages/web-server/package.json @@ -31,13 +31,13 @@ "chalk": "4.1.2", "dotenv-defaults": "5.0.2", "fast-glob": "3.3.2", - "fastify": "4.23.2", + "fastify": "4.24.3", "yargs-parser": "21.1.1" }, "devDependencies": { - "@types/yargs-parser": "21.0.0", + "@types/yargs-parser": "21.0.3", "esbuild": "0.19.5", - "typescript": "5.2.2" + "typescript": "5.3.2" }, "gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1" } diff --git a/packages/web/package.json b/packages/web/package.json index ca6feb957d77..00daa1962af9 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -36,12 +36,12 @@ "test:watch": "yarn test --watch" }, "dependencies": { - "@apollo/client": "3.8.7", - "@babel/runtime-corejs3": "7.23.2", + "@apollo/client": "3.8.8", + "@babel/runtime-corejs3": "7.23.5", "@redwoodjs/auth": "6.0.7", - "core-js": "3.33.2", + "core-js": "3.33.3", "graphql": "16.8.1", - "graphql-sse": "2.3.0", + "graphql-sse": "2.4.0", "graphql-tag": "2.12.6", "react-helmet-async": "1.3.0", "react-hot-toast": "2.4.1", @@ -50,19 +50,19 @@ }, "devDependencies": { "@apollo/experimental-nextjs-app-support": "0.5.1", - "@babel/cli": "7.23.0", + "@babel/cli": "7.23.4", "@babel/core": "^7.22.20", - "@testing-library/jest-dom": "5.16.5", - "@testing-library/react": "14.0.0", - "@types/react": "18.2.14", - "@types/react-dom": "18.2.6", - "@types/testing-library__jest-dom": "5.14.8", + "@testing-library/jest-dom": "5.17.0", + "@testing-library/react": "14.1.2", + "@types/react": "18.2.37", + "@types/react-dom": "18.2.15", + "@types/testing-library__jest-dom": "5.14.9", "jest": "29.7.0", - "nodemon": "2.0.22", + "nodemon": "3.0.2", "react": "0.0.0-experimental-e5205658f-20230913", "react-dom": "0.0.0-experimental-e5205658f-20230913", "tstyche": "1.0.0-beta.3", - "typescript": "5.2.2" + "typescript": "5.3.2" }, "peerDependencies": { "react": "0.0.0-experimental-e5205658f-20230913", diff --git a/packages/web/src/apollo/index.tsx b/packages/web/src/apollo/index.tsx index 00a229b8ff36..c5e3c9f17c32 100644 --- a/packages/web/src/apollo/index.tsx +++ b/packages/web/src/apollo/index.tsx @@ -5,6 +5,7 @@ import type { } from '@apollo/client' import * as apolloClient from '@apollo/client' import { setContext } from '@apollo/client/link/context' +import { createPersistedQueryLink } from '@apollo/client/link/persisted-queries' import { getMainDefinition } from '@apollo/client/utilities' import { fetch as crossFetch } from '@whatwg-node/fetch' import { print } from 'graphql/language/printer' @@ -149,10 +150,20 @@ const ApolloProviderWithFetchConfig: React.FunctionComponent<{ // `updateDataApolloLink` keeps track of the most recent req/res data so they can be passed to // any errors passed up to an error boundary. + type ApolloRequestData = { + mostRecentRequest?: { + operationName?: string + operationKind?: string + variables?: Record + query?: string + } + mostRecentResponse?: any + } + const data = { mostRecentRequest: undefined, mostRecentResponse: undefined, - } as any + } as ApolloRequestData const updateDataApolloLink = new ApolloLink((operation, forward) => { const { operationName, query, variables } = operation @@ -233,12 +244,39 @@ const ApolloProviderWithFetchConfig: React.FunctionComponent<{ ) : httpLink - // The order here is important. The last link *must* be a terminating link like HttpLink or SSELink. + /** + * Use Trusted Documents aka Persisted Operations aka Queries + * + * When detecting a meta hash, Apollo Client will send the hash from the document and not the query itself. + * + * You must configure your GraphQL server to support this feature with the useTrustedDocuments option. + * + * See https://www.apollographql.com/docs/react/api/link/persisted-queries/ + */ + interface DocumentNodeWithMeta extends apolloClient.DocumentNode { + __meta__?: { + hash: string + } + } + + // Check if the query made includes the hash, and if so then make the request with the persisted query link + const terminatingLink = apolloClient.split( + ({ query }) => { + const documentQuery = query as DocumentNodeWithMeta + return documentQuery?.['__meta__']?.['hash'] !== undefined + }, + createPersistedQueryLink({ + generateHash: (document: any) => document['__meta__']['hash'], + }).concat(httpOrSSELink), + httpOrSSELink + ) + + // The order here is important. The last link *must* be a terminating link like HttpLink, SSELink, or the PersistedQueryLink. const redwoodApolloLinks: RedwoodApolloLinks = [ { name: 'withToken', link: withToken }, { name: 'authMiddleware', link: authMiddleware }, { name: 'updateDataApolloLink', link: updateDataApolloLink }, - { name: 'httpLink', link: httpOrSSELink }, + { name: 'httpLink', link: terminatingLink }, ] let link = redwoodApolloLink diff --git a/packages/web/src/config.ts b/packages/web/src/config.ts index 9dded9c11a06..59f3fb10493f 100644 --- a/packages/web/src/config.ts +++ b/packages/web/src/config.ts @@ -1,6 +1,11 @@ // RWJS_ENV and RWJS_DEBUG_ENV // are defined in Webpack.common.js and Vite.config.js +// Note: These lines are useful during RSC/SSR development but will execute for all projects, even those without RSC/SSR +// console.log('config.ts') +// console.log('config.ts', RWJS_ENV) +// console.log('config.ts') + // @NOTE: do not use globalThis on the right side, because webpack cannot access these vars then globalThis.RWJS_API_GRAPHQL_URL = RWJS_ENV.RWJS_API_GRAPHQL_URL as string globalThis.RWJS_API_URL = RWJS_ENV.RWJS_API_URL as string diff --git a/packages/web/src/global.web-auto-imports.ts b/packages/web/src/global.web-auto-imports.ts index 513f091db27f..87e28691d1e7 100644 --- a/packages/web/src/global.web-auto-imports.ts +++ b/packages/web/src/global.web-auto-imports.ts @@ -6,7 +6,7 @@ import type _gql from 'graphql-tag' // For "internal" global types see ambient.d.ts declare global { - const gql: typeof _gql + // const gql: typeof _gql // Having this as a type instead of a const allows us to augment/override it // in other packages diff --git a/tasks/check/package.json b/tasks/check/package.json index 06d211582383..395193168cce 100644 --- a/tasks/check/package.json +++ b/tasks/check/package.json @@ -4,6 +4,6 @@ "dependencies": { "@actions/core": "1.10.1", "@actions/exec": "1.1.1", - "sort-package-json": "2.5.0" + "sort-package-json": "2.6.0" } } diff --git a/tasks/check/yarn.lock b/tasks/check/yarn.lock index eacb58b90b9e..ed74965ef8f6 100644 --- a/tasks/check/yarn.lock +++ b/tasks/check/yarn.lock @@ -82,7 +82,7 @@ __metadata: dependencies: "@actions/core": 1.10.1 "@actions/exec": 1.1.1 - sort-package-json: 2.5.0 + sort-package-json: 2.6.0 languageName: unknown linkType: soft @@ -281,9 +281,9 @@ __metadata: languageName: node linkType: hard -"sort-package-json@npm:2.5.0": - version: 2.5.0 - resolution: "sort-package-json@npm:2.5.0" +"sort-package-json@npm:2.6.0": + version: 2.6.0 + resolution: "sort-package-json@npm:2.6.0" dependencies: detect-indent: ^7.0.1 detect-newline: ^4.0.0 @@ -294,7 +294,7 @@ __metadata: sort-object-keys: ^1.1.3 bin: sort-package-json: cli.js - checksum: e132fa36a715b2ec886b704fd24ef68552b8a5e0bd74205a37a9628e311dbc0039d8365d357c11b9dfc9f53058895f625bdaeda5c656efbef88d4bf4810b54f9 + checksum: c2beffd46bc8db49164458175b1f1bc7e0081711e854cbe211653748707211184d745bfee377241f3ceeb2d0d63d5e8dd0dfe7f41be99a044e0a2095bcf2c053 languageName: node linkType: hard diff --git a/tasks/release/.gitignore b/tasks/release/.gitignore new file mode 100644 index 000000000000..4cc466696cac --- /dev/null +++ b/tasks/release/.gitignore @@ -0,0 +1,5 @@ +# Release notes +*_release_notes.md + +# Data files for QA. +*.symmetricDifference.json diff --git a/tasks/release/compare/compare.mjs b/tasks/release/compare/compare.mjs new file mode 100644 index 000000000000..0b4620df64ba --- /dev/null +++ b/tasks/release/compare/compare.mjs @@ -0,0 +1,151 @@ +/* eslint-env node */ + +// Sometimes it's hard to tell where commits land. (The minor? The patch? The previous minor...?) +// This script gives you fine-grained information to work with to figure that out. +// +// Why's it hard to tell? Because... +// +// - sometimes you have to revert a commit; since most of the tooling here operates on git commit messages, +// the commit message will still be in git's history, even though the commit isn't in the release +// - when you release a patch, you cherry pick commits from the `next` branch into the release branch, +// but they'll be in the `next` branch's history (because it constitutes the next minor) + +import { parseArgs as _parseArgs } from 'node:util' + +import { within, $ } from 'zx' + +import { + consoleBoxen, + compareRange, + getLatestRelease, + getReleaseBranches, + prompts, + setVerbosity, + unwrap, +} from '../releaseLib.mjs' + +export async function main() { + let options + + try { + options = await parseArgs() + } catch (e) { + consoleBoxen('👷 Heads up', e.message) + process.exitCode = 1 + return + } + + const { verbose, range, colorSeed } = options + + setVerbosity(verbose) + + // The colors are randomly chosen, and sometimes they're not great. In those cases, use `--color-seed` to tweak things. + await compareRange(range, { colorSeed }) +} + +main() + +// ─── Helpers ───────────────────────────────────────────────────────────────── + +async function parseArgs() { + const { values } = _parseArgs({ + options: { + 'color-seed': { + type: 'string', + short: 'o', + default: '0', + }, + + verbose: { + type: 'boolean', + short: 'v', + default: false, + }, + }, + }) + + const colorSeed = parseInt(values['color-seed']) + + if (Number.isNaN(colorSeed)) { + throw new Error( + `\`--color-seed\` should be a number (you passed in \`${values['color-seed']}\`)` + ) + } + + const range = await getRange() + + // Spreading `values` here adds `color-seed`. + return { + range, + colorSeed, + verbose: values.verbose, + } +} + +async function getRange() { + const releaseBranches = await getReleaseBranches() + + let vMajorReleases = ['main', 'next', ...releaseBranches] + + // Get all the releases since the last major. + await within(async () => { + $.verbose = false + + const [vMajor] = (await getLatestRelease()).split('.') + + vMajorReleases = [ + ...vMajorReleases, + ...unwrap(await $`git tag -l ${vMajor}.?.?`) + .split('\n') + .reverse(), + ] + }) + + // Get rid of `v?.0.0`. + const choices = vMajorReleases.slice(0, -1).map((ref) => { + return { + title: ref, + value: ref, + } + }) + + let rangeFromRes = await prompts({ + type: 'select', + name: 'from', + message: 'Compare from?', + choices, + }) + + const range = { + from: rangeFromRes.from, + } + + const rangeToRes = await prompts({ + type: 'multiselect', + name: 'to', + message: 'Compare to?', + + // Get rid of `main` and what the user chose above. + // TODO: technically, we should get rid of any vMajorReleases that are "greater" than the user's choice. + choices: choices.slice(1).filter((choice) => choice.value !== range.from), + min: 1, + + // These are the default instructions with a space added to the end. + // With the defaults, if the user doesn't select an option, the error renders right next to the last line: + // + // ``` + // enter/return: Complete answerYou must select a minimum of 1 choices. + // ``` + instructions: [ + 'Instructions:', + ' ↑/↓: Highlight option', + ' ←/→/[space]: Toggle selection', + ' a: Toggle all', + ' enter/return: Complete answer ', + ].join('\n'), + }) + + range.to = rangeToRes.to + + return range +} diff --git a/tasks/release/compare/compareQA.mjs b/tasks/release/compare/compareQA.mjs new file mode 100644 index 000000000000..b12198b2a0e7 --- /dev/null +++ b/tasks/release/compare/compareQA.mjs @@ -0,0 +1,160 @@ +/* eslint-env node */ +import { parseArgs as _parseArgs } from 'node:util' + +import { faker } from '@faker-js/faker' +import { chalk, fs, question, within, $ } from 'zx' + +import { + getLatestRelease, + getReleaseBranches, + prompts, + resolveLine, + unwrap, +} from '../releaseLib.mjs' + +async function main() { + const { lines, range } = await parseArgs() + + for (const line of lines) { + console.log(chalk.dim('='.repeat(process.stdout.columns))) + console.log(line) + console.log() + + await resolveLine(line, { + range, + refsToColorFunctions: range.to.reduce((refsToColorFunctions, ref) => { + refsToColorFunctions[ref] = chalk.bgHex(faker.color.rgb()) + return refsToColorFunctions + }, {}), + logger: console.log, + }) + + console.log() + await question('Press anything to continue > ') + } +} + +main() + +async function parseArgs() { + // Get the file path. + const dirents = await fs.readdir(new URL('.', import.meta.url), { + withFileTypes: true, + }) + + const filePathChoices = dirents + .filter( + (dirent) => + dirent.isFile() && dirent.name.endsWith('symmetricDifference.json') + ) + .map((dirent) => { + return { + title: dirent.name, + value: dirent.name, + } + }) + + const filePathPrompt = await prompts({ + name: 'filePath', + message: 'Choose a file', + type: 'select', + choices: filePathChoices, + }) + + // Get the lines. + let lines = await fs.readJSON( + new URL(filePathPrompt.filePath, import.meta.url) + ) + + const linesChoices = lines.map((line) => { + return { + title: line, + value: line, + } + }) + + const linesPrompt = await prompts({ + name: 'lines', + message: 'Which lines do you want to QA?', + type: 'autocompleteMultiselect', + choices: linesChoices, + async suggest(input, choices) { + return Promise.resolve( + choices.filter(({ title }) => title.includes(input)) + ) + }, + min: 1, + }) + + // Get the refs. + // TODO: a lot of the code here could be deduplicated. + let [from, to] = filePathPrompt.filePath + .replace('.symmetricDifference.json', '') + .split('_') + + from = from.replaceAll('-', '/') + to = to.replaceAll('-', '/') + + const releaseBranches = await getReleaseBranches() + + let vMajorReleases = ['main', 'next', ...releaseBranches] + + // Get all the releases since the last major. + await within(async () => { + $.verbose = false + + const [vMajor] = (await getLatestRelease()).split('.') + + vMajorReleases = [ + ...vMajorReleases, + ...unwrap(await $`git tag -l ${vMajor}.?.?`) + .split('\n') + .reverse(), + ] + }) + + // Get rid of `v?.0.0`. + const choices = vMajorReleases.slice(0, -1).map((ref) => { + return { + title: ref, + value: ref, + } + }) + + const refsPrompt = await prompts({ + type: 'multiselect', + name: 'to', + message: 'Compare to?', + + choices: choices.filter( + (choice) => choice.value !== from && choice.value !== to + ), + min: 1, + + // These are the default instructions with a space added to the end. + // With the defaults, if the user doesn't select an option, the error renders right next to the last line: + // + // ``` + // enter/return: Complete answerYou must select a minimum of 1 choices. + // ``` + instructions: [ + 'Instructions:', + ' ↑/↓: Highlight option', + ' ←/→/[space]: Toggle selection', + ' a: Toggle all', + ' enter/return: Complete answer ', + ].join('\n'), + }) + + // The logic for transforming `refs` into ascending order is here in this file + // beacuse we call `resolveLine` directly. + const refs = [to, ...refsPrompt.to].reverse() + + return { + lines: linesPrompt.lines, + range: { + from, + to: refs, + }, + } +} diff --git a/tasks/release/data/releaseCommits.json b/tasks/release/data/releaseCommits.json deleted file mode 100644 index 1a625acb7146..000000000000 --- a/tasks/release/data/releaseCommits.json +++ /dev/null @@ -1,2615 +0,0 @@ -{ - "commits": [ - { - "line": "< 48a3d755412a81ab53f6f1a09635910b294be25a chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#8933)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 48a3d755412a81ab53f6f1a09635910b294be25a chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#8933)", - "hash": "48a3d755412a81ab53f6f1a09635910b294be25a", - "message": "chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#8933)", - "pr": "8933" - }, - { - "line": "< 64a5d5746a837a95f8cb9a89437421935e455784 chore(deps): update babel monorepo to v7.22.10 (#9016)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 64a5d5746a837a95f8cb9a89437421935e455784 chore(deps): update babel monorepo to v7.22.10 (#9016)", - "hash": "64a5d5746a837a95f8cb9a89437421935e455784", - "message": "chore(deps): update babel monorepo to v7.22.10 (#9016)", - "pr": "9016" - }, - { - "line": "< 15da49c12986900e2bc1cfe1bab2bd334f242936 manually bump web-server version", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 15da49c12986900e2bc1cfe1bab2bd334f242936 manually bump web-server version", - "hash": "15da49c12986900e2bc1cfe1bab2bd334f242936", - "message": "manually bump web-server version" - }, - { - "line": "< bf90f5028e43afc973e6672f2626949677d77425 Merge branch 'recovered-release-6.0.7' into release/minor/v6.1.0", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< bf90f5028e43afc973e6672f2626949677d77425 Merge branch 'recovered-release-6.0.7' into release/minor/v6.1.0\u001b[22m", - "hash": "bf90f5028e43afc973e6672f2626949677d77425", - "message": "Merge branch 'recovered-release-6.0.7' into release/minor/v6.1.0" - }, - { - "line": "< dba68414031de10ed120b288d950bbc694de1b47 fix(deps): update prisma monorepo to v5.1.1 (#9019)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< dba68414031de10ed120b288d950bbc694de1b47 fix(deps): update prisma monorepo to v5.1.1 (#9019)", - "hash": "dba68414031de10ed120b288d950bbc694de1b47", - "message": "fix(deps): update prisma monorepo to v5.1.1 (#9019)", - "pr": "9019" - }, - { - "line": "< c81bcfa65f57a3fe9c65fe3eb73e07dd6bea3188 fix(deps): update dependency core-js to v3.32.0 (#9030)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c81bcfa65f57a3fe9c65fe3eb73e07dd6bea3188 fix(deps): update dependency core-js to v3.32.0 (#9030)", - "hash": "c81bcfa65f57a3fe9c65fe3eb73e07dd6bea3188", - "message": "fix(deps): update dependency core-js to v3.32.0 (#9030)", - "pr": "9030" - }, - { - "line": "< 3d4ee7751a638d5ca8fbd8f9197ea6c878ab3c67 Revert v7.0.0 and RSC changes", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 3d4ee7751a638d5ca8fbd8f9197ea6c878ab3c67 Revert v7.0.0 and RSC changes", - "hash": "3d4ee7751a638d5ca8fbd8f9197ea6c878ab3c67", - "message": "Revert v7.0.0 and RSC changes" - }, - { - "line": "< a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", - "hash": "a2fcc1618a70a77570943e4bc85d29ea055ab507", - "message": "chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", - "pr": "9028" - }, - { - "line": "< a1e6e0883d467360461b73ec54baea3ed68ce9ad Merge branch 'release/patch/v6.0.6'", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< a1e6e0883d467360461b73ec54baea3ed68ce9ad Merge branch 'release/patch/v6.0.6'\u001b[22m", - "hash": "a1e6e0883d467360461b73ec54baea3ed68ce9ad", - "message": "Merge branch 'release/patch/v6.0.6'" - }, - { - "line": "< 3f71162946c30685ce1d2d7d469138d28d3ea6ca Remove `.only` from `createCell` test (#9031)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 3f71162946c30685ce1d2d7d469138d28d3ea6ca Remove `.only` from `createCell` test (#9031)", - "hash": "3f71162946c30685ce1d2d7d469138d28d3ea6ca", - "message": "Remove `.only` from `createCell` test (#9031)", - "pr": "9031" - }, - { - "line": "< 01346f9955725b6d14362f6bb6aee43a366179c9 fix(graphql-server): Improve GraphQL API performance by not accessing project config in makeMergedSchema (#9032)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 01346f9955725b6d14362f6bb6aee43a366179c9 fix(graphql-server): Improve GraphQL API performance by not accessing project config in makeMergedSchema (#9032)\u001b[39m\u001b[22m", - "hash": "01346f9955725b6d14362f6bb6aee43a366179c9", - "message": "fix(graphql-server): Improve GraphQL API performance by not accessing project config in makeMergedSchema (#9032)", - "pr": "9032" - }, - { - "line": "< 0effb2dff30f2aa55a8d6ee5f51d4fbf9b2c9b05 Update package.json", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 0effb2dff30f2aa55a8d6ee5f51d4fbf9b2c9b05 Update package.json\u001b[39m\u001b[22m", - "hash": "0effb2dff30f2aa55a8d6ee5f51d4fbf9b2c9b05", - "message": "Update package.json" - }, - { - "line": "< 4fdb9bc3f9a9610b587ac4552425a45b9105ead6 Merge branch 'release/patch/v6.0.5'", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< 4fdb9bc3f9a9610b587ac4552425a45b9105ead6 Merge branch 'release/patch/v6.0.5'\u001b[22m", - "hash": "4fdb9bc3f9a9610b587ac4552425a45b9105ead6", - "message": "Merge branch 'release/patch/v6.0.5'" - }, - { - "line": "< 2ce3189ae4f43473455d4802e0f23b14d1ce8546 Fix context in directive tests (#9025)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 2ce3189ae4f43473455d4802e0f23b14d1ce8546 Fix context in directive tests (#9025)\u001b[39m\u001b[22m", - "hash": "2ce3189ae4f43473455d4802e0f23b14d1ce8546", - "message": "Fix context in directive tests (#9025)", - "pr": "9025" - }, - { - "line": "< 58a242192174e6bd2e72ccd2269f66d02ad7a401 feat(streaming-ssr): Fix build and server html injection (#8978)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 58a242192174e6bd2e72ccd2269f66d02ad7a401 feat(streaming-ssr): Fix build and server html injection (#8978)", - "hash": "58a242192174e6bd2e72ccd2269f66d02ad7a401", - "message": "feat(streaming-ssr): Fix build and server html injection (#8978)", - "pr": "8978" - }, - { - "line": "< 8dc8e80f23cd71620b6bd2ae382382972ed92a7c fix(router): Do not reset scroll on query & hash changes (#9004)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 8dc8e80f23cd71620b6bd2ae382382972ed92a7c fix(router): Do not reset scroll on query & hash changes (#9004)\u001b[39m\u001b[22m", - "hash": "8dc8e80f23cd71620b6bd2ae382382972ed92a7c", - "message": "fix(router): Do not reset scroll on query & hash changes (#9004)", - "pr": "9004" - }, - { - "line": "< 0e252242e485f1e25f5cd3e901f5bca8645ff760 fix(deps): update dependency pino to v8.15.0 (#9023)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 0e252242e485f1e25f5cd3e901f5bca8645ff760 fix(deps): update dependency pino to v8.15.0 (#9023)", - "hash": "0e252242e485f1e25f5cd3e901f5bca8645ff760", - "message": "fix(deps): update dependency pino to v8.15.0 (#9023)", - "pr": "9023" - }, - { - "line": "< c630f3a5176735f7b3c99486f5d776dd5d160d59 fix(deps): update dependency eslint to v8.46.0 (#9022)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c630f3a5176735f7b3c99486f5d776dd5d160d59 fix(deps): update dependency eslint to v8.46.0 (#9022)", - "hash": "c630f3a5176735f7b3c99486f5d776dd5d160d59", - "message": "fix(deps): update dependency eslint to v8.46.0 (#9022)", - "pr": "9022" - }, - { - "line": "< c4e37af2ebd85999b6103d5a1ed969f76f760ce0 fix(deps): update dependency react-hook-form to v7.45.4 (#9017)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c4e37af2ebd85999b6103d5a1ed969f76f760ce0 fix(deps): update dependency react-hook-form to v7.45.4 (#9017)", - "hash": "c4e37af2ebd85999b6103d5a1ed969f76f760ce0", - "message": "fix(deps): update dependency react-hook-form to v7.45.4 (#9017)", - "pr": "9017" - }, - { - "line": "< 260d42a98f79ca39d9a4e0f69cee19b93a11d544 chore(docs): reversion docs to include recent changes", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 260d42a98f79ca39d9a4e0f69cee19b93a11d544 chore(docs): reversion docs to include recent changes", - "hash": "260d42a98f79ca39d9a4e0f69cee19b93a11d544", - "message": "chore(docs): reversion docs to include recent changes" - }, - { - "line": "< b1151ac63802e68ac16526e8bfd6217bedea0980 fix(deps): update dependency vite to v4.4.9 (#9018)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b1151ac63802e68ac16526e8bfd6217bedea0980 fix(deps): update dependency vite to v4.4.9 (#9018)", - "hash": "b1151ac63802e68ac16526e8bfd6217bedea0980", - "message": "fix(deps): update dependency vite to v4.4.9 (#9018)", - "pr": "9018" - }, - { - "line": "< cdce32c4e41731e2a8bf3e102366ea530c1cc947 Merge branch 'release/patch/v6.0.4'", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< cdce32c4e41731e2a8bf3e102366ea530c1cc947 Merge branch 'release/patch/v6.0.4'\u001b[22m", - "hash": "cdce32c4e41731e2a8bf3e102366ea530c1cc947", - "message": "Merge branch 'release/patch/v6.0.4'" - }, - { - "line": "< bd2bd971984fdd6a0a0204e5c82ca895f8d0b788 fix(docs): update quick start to fix Storybook start up (#9014)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< bd2bd971984fdd6a0a0204e5c82ca895f8d0b788 fix(docs): update quick start to fix Storybook start up (#9014)\u001b[39m\u001b[22m", - "hash": "bd2bd971984fdd6a0a0204e5c82ca895f8d0b788", - "message": "fix(docs): update quick start to fix Storybook start up (#9014)", - "pr": "9014" - }, - { - "line": "< 0167be7754ab49024f7be2a18ad02807f21221dc fix: Improve GraphQL Schema Validation to allow Subscription types when not using Realtime and ensure schema does not use reserved names (#9005)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 0167be7754ab49024f7be2a18ad02807f21221dc fix: Improve GraphQL Schema Validation to allow Subscription types when not using Realtime and ensure schema does not use reserved names (#9005)\u001b[39m\u001b[22m", - "hash": "0167be7754ab49024f7be2a18ad02807f21221dc", - "message": "fix: Improve GraphQL Schema Validation to allow Subscription types when not using Realtime and ensure schema does not use reserved names (#9005)", - "pr": "9005" - }, - { - "line": "< 2631a069f470f94ea5a6ce199ace27cda24b4db4 Docs: Explain the entry.client.{jsx,tsx} file (#8987)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 2631a069f470f94ea5a6ce199ace27cda24b4db4 Docs: Explain the entry.client.{jsx,tsx} file (#8987)", - "hash": "2631a069f470f94ea5a6ce199ace27cda24b4db4", - "message": "Docs: Explain the entry.client.{jsx,tsx} file (#8987)", - "pr": "8987" - }, - { - "line": "< 8e21a282e7d0c96ce11419220107f9185a2a7703 chore(deps): update dependency esbuild to v0.18.19 (#8983)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8e21a282e7d0c96ce11419220107f9185a2a7703 chore(deps): update dependency esbuild to v0.18.19 (#8983)", - "hash": "8e21a282e7d0c96ce11419220107f9185a2a7703", - "message": "chore(deps): update dependency esbuild to v0.18.19 (#8983)", - "pr": "8983" - }, - { - "line": "< 5a07e63fd6b2d6ba72b24fa455d1d71b1c88eaaf chore(deps): update dependency nx-cloud to v16.2.0 (#8985)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 5a07e63fd6b2d6ba72b24fa455d1d71b1c88eaaf chore(deps): update dependency nx-cloud to v16.2.0 (#8985)", - "hash": "5a07e63fd6b2d6ba72b24fa455d1d71b1c88eaaf", - "message": "chore(deps): update dependency nx-cloud to v16.2.0 (#8985)", - "pr": "8985" - }, - { - "line": "< ac8f2d952fe5a159bae152406defbcec566eb91e Merge branch 'release/patch/v6.0.3'", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< ac8f2d952fe5a159bae152406defbcec566eb91e Merge branch 'release/patch/v6.0.3'\u001b[22m", - "hash": "ac8f2d952fe5a159bae152406defbcec566eb91e", - "message": "Merge branch 'release/patch/v6.0.3'" - }, - { - "line": "< cb860440786c2e283d2932980e33fbeb5289388b docs(fonts): Update @font-face recommendation (#8986)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< cb860440786c2e283d2932980e33fbeb5289388b docs(fonts): Update @font-face recommendation (#8986)", - "hash": "cb860440786c2e283d2932980e33fbeb5289388b", - "message": "docs(fonts): Update @font-face recommendation (#8986)", - "pr": "8986" - }, - { - "line": "< f3cde6464d3844f64bc4a7ff6ea2dc4e7e5802bf Docs: remove useless code in code snippet (#8990)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f3cde6464d3844f64bc4a7ff6ea2dc4e7e5802bf Docs: remove useless code in code snippet (#8990)", - "hash": "f3cde6464d3844f64bc4a7ff6ea2dc4e7e5802bf", - "message": "Docs: remove useless code in code snippet (#8990)", - "pr": "8990" - }, - { - "line": "< 0ca221cb0312d07388c798fe75bc1a1d101bb786 fix(router): Prevent rerendering authenticated routes on hash change (#9007)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 0ca221cb0312d07388c798fe75bc1a1d101bb786 fix(router): Prevent rerendering authenticated routes on hash change (#9007)\u001b[39m\u001b[22m", - "hash": "0ca221cb0312d07388c798fe75bc1a1d101bb786", - "message": "fix(router): Prevent rerendering authenticated routes on hash change (#9007)", - "pr": "9007" - }, - { - "line": "< f1011c990ea452ea04443800bd31c3071b6a1b13 fix(deps): update dependency vite to v4.4.8 (#9003)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f1011c990ea452ea04443800bd31c3071b6a1b13 fix(deps): update dependency vite to v4.4.8 (#9003)", - "hash": "f1011c990ea452ea04443800bd31c3071b6a1b13", - "message": "fix(deps): update dependency vite to v4.4.8 (#9003)", - "pr": "9003" - }, - { - "line": "< 72aba822fa4c1cc9b70c4553a7d0ceddabddd805 fix(deps): update dependency fast-glob to v3.3.1 (#8997)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 72aba822fa4c1cc9b70c4553a7d0ceddabddd805 fix(deps): update dependency fast-glob to v3.3.1 (#8997)", - "hash": "72aba822fa4c1cc9b70c4553a7d0ceddabddd805", - "message": "fix(deps): update dependency fast-glob to v3.3.1 (#8997)", - "pr": "8997" - }, - { - "line": "< 10e0383238c9128574be8314df82325659ecd53e fix(deps): update storybook monorepo to v7.2.0 (#9002)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 10e0383238c9128574be8314df82325659ecd53e fix(deps): update storybook monorepo to v7.2.0 (#9002)", - "hash": "10e0383238c9128574be8314df82325659ecd53e", - "message": "fix(deps): update storybook monorepo to v7.2.0 (#9002)", - "pr": "9002" - }, - { - "line": "< a90e9e5f296f76b034c2ce358f869cd8f433560c fix(deps): update prisma monorepo to v5.1.0 (#9001)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< a90e9e5f296f76b034c2ce358f869cd8f433560c fix(deps): update prisma monorepo to v5.1.0 (#9001)", - "hash": "a90e9e5f296f76b034c2ce358f869cd8f433560c", - "message": "fix(deps): update prisma monorepo to v5.1.0 (#9001)", - "pr": "9001" - }, - { - "line": "< fadf121288cab7f1d35a09462a5fadeb8758212b fix(deps): update dependency fastify to v4.21.0 (#8998)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fadf121288cab7f1d35a09462a5fadeb8758212b fix(deps): update dependency fastify to v4.21.0 (#8998)", - "hash": "fadf121288cab7f1d35a09462a5fadeb8758212b", - "message": "fix(deps): update dependency fastify to v4.21.0 (#8998)", - "pr": "8998" - }, - { - "line": "< fd98e4076380575ab5fa40df0323b33cf5ecc9cd fix(deps): update dependency @vitejs/plugin-react to v4.0.4 (#8999)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fd98e4076380575ab5fa40df0323b33cf5ecc9cd fix(deps): update dependency @vitejs/plugin-react to v4.0.4 (#8999)", - "hash": "fd98e4076380575ab5fa40df0323b33cf5ecc9cd", - "message": "fix(deps): update dependency @vitejs/plugin-react to v4.0.4 (#8999)", - "pr": "8999" - }, - { - "line": "< b08bc724ee75708efa823de0e03631e6830239e3 fix(deps): update dependency @whatwg-node/fetch to v0.9.9 (#8942)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b08bc724ee75708efa823de0e03631e6830239e3 fix(deps): update dependency @whatwg-node/fetch to v0.9.9 (#8942)", - "hash": "b08bc724ee75708efa823de0e03631e6830239e3", - "message": "fix(deps): update dependency @whatwg-node/fetch to v0.9.9 (#8942)", - "pr": "8942" - }, - { - "line": "< 3b824f64434c23861027609e18cf5c4063c66d66 Merge branch 'release/patch/v6.0.2'", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< 3b824f64434c23861027609e18cf5c4063c66d66 Merge branch 'release/patch/v6.0.2'\u001b[22m", - "hash": "3b824f64434c23861027609e18cf5c4063c66d66", - "message": "Merge branch 'release/patch/v6.0.2'" - }, - { - "line": "< 10f7f43740169a4f05aa9b9f4317aed799e7743a Make sure env var name starts with REDWOOD_ENV_ (#8993)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 10f7f43740169a4f05aa9b9f4317aed799e7743a Make sure env var name starts with REDWOOD_ENV_ (#8993)\u001b[39m\u001b[22m", - "hash": "10f7f43740169a4f05aa9b9f4317aed799e7743a", - "message": "Make sure env var name starts with REDWOOD_ENV_ (#8993)", - "pr": "8993" - }, - { - "line": "< 0b72f4f56f640b184242da3a74d5e4ff678d0230 fix(realtime): add misisng `@` in setup command", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 0b72f4f56f640b184242da3a74d5e4ff678d0230 fix(realtime): add misisng `@` in setup command\u001b[39m\u001b[22m", - "hash": "0b72f4f56f640b184242da3a74d5e4ff678d0230", - "message": "fix(realtime): add misisng `@` in setup command" - }, - { - "line": "< 18e131e62b9749083ef4a6509004a078283139f4 Remove the indexed type reference on AvailableRoutes (#8918)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< 18e131e62b9749083ef4a6509004a078283139f4 Remove the indexed type reference on AvailableRoutes (#8918)\u001b[39m\u001b[22m", - "hash": "18e131e62b9749083ef4a6509004a078283139f4", - "message": "Remove the indexed type reference on AvailableRoutes (#8918)", - "pr": "8918" - }, - { - "line": "< cb31df936b88858eae6c4c4b7d0e7e5ef68f0212 feat(vite): add plugin to remove modules from the bundle (#8973)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< cb31df936b88858eae6c4c4b7d0e7e5ef68f0212 feat(vite): add plugin to remove modules from the bundle (#8973)", - "hash": "cb31df936b88858eae6c4c4b7d0e7e5ef68f0212", - "message": "feat(vite): add plugin to remove modules from the bundle (#8973)", - "pr": "8973" - }, - { - "line": "< 98dbfaa611038495461a69d3668c14bb98f6cdea fix(deps): update dependency whatwg-fetch to v3.6.17 (#8943)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 98dbfaa611038495461a69d3668c14bb98f6cdea fix(deps): update dependency whatwg-fetch to v3.6.17 (#8943)", - "hash": "98dbfaa611038495461a69d3668c14bb98f6cdea", - "message": "fix(deps): update dependency whatwg-fetch to v3.6.17 (#8943)", - "pr": "8943" - }, - { - "line": "< 35c85c6fcfc3a6fa47e5a9b74c083142f0e0fdb1 Merge branch 'release/patch/v6.0.1'", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< 35c85c6fcfc3a6fa47e5a9b74c083142f0e0fdb1 Merge branch 'release/patch/v6.0.1'\u001b[22m", - "hash": "35c85c6fcfc3a6fa47e5a9b74c083142f0e0fdb1", - "message": "Merge branch 'release/patch/v6.0.1'" - }, - { - "line": "< ca7ca311ef300ed77beda62b24d0bcac50e153ae fix(crwa): use JSDoc in JS template for vite config (#8982)", - "ref": "v6.0.7", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;159;254;2m< ca7ca311ef300ed77beda62b24d0bcac50e153ae fix(crwa): use JSDoc in JS template for vite config (#8982)\u001b[39m\u001b[22m", - "hash": "ca7ca311ef300ed77beda62b24d0bcac50e153ae", - "message": "fix(crwa): use JSDoc in JS template for vite config (#8982)", - "pr": "8982" - }, - { - "line": "< 43bbc2737d081742084dca94a89bdbe7958960ca chore(docs): compress v5 docs into v5.x", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 43bbc2737d081742084dca94a89bdbe7958960ca chore(docs): compress v5 docs into v5.x", - "hash": "43bbc2737d081742084dca94a89bdbe7958960ca", - "message": "chore(docs): compress v5 docs into v5.x" - }, - { - "line": "< 360108e5e9aa549bbc2034bbe39cdada07256041 Merge branch 'release/major/v6.0.0'", - "ref": "release/minor/v6.1.0", - "type": "chore", - "pretty": "\u001b[2m< 360108e5e9aa549bbc2034bbe39cdada07256041 Merge branch 'release/major/v6.0.0'\u001b[22m", - "hash": "360108e5e9aa549bbc2034bbe39cdada07256041", - "message": "Merge branch 'release/major/v6.0.0'" - }, - { - "line": "< 76c523751bc77cf730efba73566a468cb83cfa07 docs: Update file structure (#8959)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 76c523751bc77cf730efba73566a468cb83cfa07 docs: Update file structure (#8959)\u001b[39m\u001b[22m", - "hash": "76c523751bc77cf730efba73566a468cb83cfa07", - "message": "docs: Update file structure (#8959)", - "pr": "8959" - }, - { - "line": "< 2142ca5431458e30cfe138072bbc6460554ea3be fix(cli): Prevent unwanted SIGINT error message from storybook (#8977)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 2142ca5431458e30cfe138072bbc6460554ea3be fix(cli): Prevent unwanted SIGINT error message from storybook (#8977)\u001b[39m\u001b[22m", - "hash": "2142ca5431458e30cfe138072bbc6460554ea3be", - "message": "fix(cli): Prevent unwanted SIGINT error message from storybook (#8977)", - "pr": "8977" - }, - { - "line": "< 627c5bc48006834d69db3a228283b979350a418d Webpack: Use resolve-url-loader to handle absolute paths in css url() (#8980)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 627c5bc48006834d69db3a228283b979350a418d Webpack: Use resolve-url-loader to handle absolute paths in css url() (#8980)\u001b[39m\u001b[22m", - "hash": "627c5bc48006834d69db3a228283b979350a418d", - "message": "Webpack: Use resolve-url-loader to handle absolute paths in css url() (#8980)", - "pr": "8980" - }, - { - "line": "< 2add568286e6cad3ead50c9edc4d7e4a03771825 RSC: Use experimental node loader (#8979)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 2add568286e6cad3ead50c9edc4d7e4a03771825 RSC: Use experimental node loader (#8979)", - "hash": "2add568286e6cad3ead50c9edc4d7e4a03771825", - "message": "RSC: Use experimental node loader (#8979)", - "pr": "8979" - }, - { - "line": "< 257919ec3bcd1e1ce3ff8c3a5c334dcac8d6cec5 fix(firebase): improve error handling (#8976)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 257919ec3bcd1e1ce3ff8c3a5c334dcac8d6cec5 fix(firebase): improve error handling (#8976)\u001b[39m\u001b[22m", - "hash": "257919ec3bcd1e1ce3ff8c3a5c334dcac8d6cec5", - "message": "fix(firebase): improve error handling (#8976)", - "pr": "8976" - }, - { - "line": "< 63dd9f8ba26f5e74840355372b53c5c95cdd9dbc chore(deps): update dependency firebase to v10 (#8972)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 63dd9f8ba26f5e74840355372b53c5c95cdd9dbc chore(deps): update dependency firebase to v10 (#8972)\u001b[39m\u001b[22m", - "hash": "63dd9f8ba26f5e74840355372b53c5c95cdd9dbc", - "message": "chore(deps): update dependency firebase to v10 (#8972)", - "pr": "8972" - }, - { - "line": "< caf27850e5b3818444f87d2f2bda45fea0e731ea Update flightcontrol.md (#8970)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< caf27850e5b3818444f87d2f2bda45fea0e731ea Update flightcontrol.md (#8970)\u001b[39m\u001b[22m", - "hash": "caf27850e5b3818444f87d2f2bda45fea0e731ea", - "message": "Update flightcontrol.md (#8970)", - "pr": "8970" - }, - { - "line": "< 7c0ba844f095229b90b97815e3a17dbbe6ffabba fix(deps): update dependency firebase-admin to v11.10.1 (#8969)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 7c0ba844f095229b90b97815e3a17dbbe6ffabba fix(deps): update dependency firebase-admin to v11.10.1 (#8969)\u001b[39m\u001b[22m", - "hash": "7c0ba844f095229b90b97815e3a17dbbe6ffabba", - "message": "fix(deps): update dependency firebase-admin to v11.10.1 (#8969)", - "pr": "8969" - }, - { - "line": "< 3a7233aaab7a38080970009750cab7ec1f85bd21 fix(supertokens): improve setup and fix lint errors (#8971)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 3a7233aaab7a38080970009750cab7ec1f85bd21 fix(supertokens): improve setup and fix lint errors (#8971)\u001b[39m\u001b[22m", - "hash": "3a7233aaab7a38080970009750cab7ec1f85bd21", - "message": "fix(supertokens): improve setup and fix lint errors (#8971)", - "pr": "8971" - }, - { - "line": "< e8ab555d4e66d8e6802b998f238d7060bcff2a8b Update SuperTokens dependencies (#8957)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< e8ab555d4e66d8e6802b998f238d7060bcff2a8b Update SuperTokens dependencies (#8957)\u001b[39m\u001b[22m", - "hash": "e8ab555d4e66d8e6802b998f238d7060bcff2a8b", - "message": "Update SuperTokens dependencies (#8957)", - "pr": "8957" - }, - { - "line": "< 93f213d40f508f6288b20ce88818847e8925e364 CRWA: Prompt for installation dir (#8955)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 93f213d40f508f6288b20ce88818847e8925e364 CRWA: Prompt for installation dir (#8955)\u001b[39m\u001b[22m", - "hash": "93f213d40f508f6288b20ce88818847e8925e364", - "message": "CRWA: Prompt for installation dir (#8955)", - "pr": "8955" - }, - { - "line": "< fc29c9c503894261d550afa814043992810414f0 fix(deps): update dependency vite to v4.4.7 (#8967)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< fc29c9c503894261d550afa814043992810414f0 fix(deps): update dependency vite to v4.4.7 (#8967)\u001b[39m\u001b[22m", - "hash": "fc29c9c503894261d550afa814043992810414f0", - "message": "fix(deps): update dependency vite to v4.4.7 (#8967)", - "pr": "8967" - }, - { - "line": "< 8eaa2fc5abde34ce17093d3d6b02eceea7c33d2a fix(deps): update dependency msw to v1.2.3 (#8966)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 8eaa2fc5abde34ce17093d3d6b02eceea7c33d2a fix(deps): update dependency msw to v1.2.3 (#8966)\u001b[39m\u001b[22m", - "hash": "8eaa2fc5abde34ce17093d3d6b02eceea7c33d2a", - "message": "fix(deps): update dependency msw to v1.2.3 (#8966)", - "pr": "8966" - }, - { - "line": "< 535a39a7438961676d4de935f759d283576306ae fix(deps): update storybook monorepo to v7.1.1 (#8968)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 535a39a7438961676d4de935f759d283576306ae fix(deps): update storybook monorepo to v7.1.1 (#8968)\u001b[39m\u001b[22m", - "hash": "535a39a7438961676d4de935f759d283576306ae", - "message": "fix(deps): update storybook monorepo to v7.1.1 (#8968)", - "pr": "8968" - }, - { - "line": "< 9ac5ab271776b42c9e4ceed403345fa00d2feb1b RSC: Fix noExternal rule for server build (#8961)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 9ac5ab271776b42c9e4ceed403345fa00d2feb1b RSC: Fix noExternal rule for server build (#8961)", - "hash": "9ac5ab271776b42c9e4ceed403345fa00d2feb1b", - "message": "RSC: Fix noExternal rule for server build (#8961)", - "pr": "8961" - }, - { - "line": "< 9a552c6472afe934b67ac08151397b07833be04c chore(deps): update dependency lerna to v7.1.4 (#8964)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 9a552c6472afe934b67ac08151397b07833be04c chore(deps): update dependency lerna to v7.1.4 (#8964)\u001b[39m\u001b[22m", - "hash": "9a552c6472afe934b67ac08151397b07833be04c", - "message": "chore(deps): update dependency lerna to v7.1.4 (#8964)", - "pr": "8964" - }, - { - "line": "< 513404e3a74b2e6129e3f86ad09b469fecee74be chore(deps): update dependency postcss to v8.4.27 (#8965)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 513404e3a74b2e6129e3f86ad09b469fecee74be chore(deps): update dependency postcss to v8.4.27 (#8965)\u001b[39m\u001b[22m", - "hash": "513404e3a74b2e6129e3f86ad09b469fecee74be", - "message": "chore(deps): update dependency postcss to v8.4.27 (#8965)", - "pr": "8965" - }, - { - "line": "< a8463a4a62940ef61a64ffd4393fca9f8a92a03f chore(deps): update dependency esbuild to v0.18.16 (#8963)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a8463a4a62940ef61a64ffd4393fca9f8a92a03f chore(deps): update dependency esbuild to v0.18.16 (#8963)\u001b[39m\u001b[22m", - "hash": "a8463a4a62940ef61a64ffd4393fca9f8a92a03f", - "message": "chore(deps): update dependency esbuild to v0.18.16 (#8963)", - "pr": "8963" - }, - { - "line": "< 2e4880660af7f3fb4c65dc95679c3473101ba750 CRWA: Move git init to include yarn.lock (#8956)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 2e4880660af7f3fb4c65dc95679c3473101ba750 CRWA: Move git init to include yarn.lock (#8956)\u001b[39m\u001b[22m", - "hash": "2e4880660af7f3fb4c65dc95679c3473101ba750", - "message": "CRWA: Move git init to include yarn.lock (#8956)", - "pr": "8956" - }, - { - "line": "< fa5baa64eb4bedfa090c0019cd095aec6098aef3 docs: Change ref to webpack -> vite. Update url (#8960)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< fa5baa64eb4bedfa090c0019cd095aec6098aef3 docs: Change ref to webpack -> vite. Update url (#8960)\u001b[39m\u001b[22m", - "hash": "fa5baa64eb4bedfa090c0019cd095aec6098aef3", - "message": "docs: Change ref to webpack -> vite. Update url (#8960)", - "pr": "8960" - }, - { - "line": "< 4db450b9af5026300d8ca08a73faa106e615efb0 Update Tailwind setup. Show extensions to install (#8954)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 4db450b9af5026300d8ca08a73faa106e615efb0 Update Tailwind setup. Show extensions to install (#8954)\u001b[39m\u001b[22m", - "hash": "4db450b9af5026300d8ca08a73faa106e615efb0", - "message": "Update Tailwind setup. Show extensions to install (#8954)", - "pr": "8954" - }, - { - "line": "< f24016a8411d025f6918544ea3683e1a84a13f52 Refactor cli serve command (#8958)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f24016a8411d025f6918544ea3683e1a84a13f52 Refactor cli serve command (#8958)", - "hash": "f24016a8411d025f6918544ea3683e1a84a13f52", - "message": "Refactor cli serve command (#8958)", - "pr": "8958" - }, - { - "line": "< fc079454d282609e14edaccc7b7bc64d59a63ec8 web-server: Print localhost instead of 0.0.0.0 (#8952)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fc079454d282609e14edaccc7b7bc64d59a63ec8 web-server: Print localhost instead of 0.0.0.0 (#8952)", - "hash": "fc079454d282609e14edaccc7b7bc64d59a63ec8", - "message": "web-server: Print localhost instead of 0.0.0.0 (#8952)", - "pr": "8952" - }, - { - "line": "< a2775f50f5e2ca4e0c81a4638ad0d0d6b39ece2a fix(deps): update dependency babel-plugin-polyfill-corejs3 to v0.8.3 (#8951)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a2775f50f5e2ca4e0c81a4638ad0d0d6b39ece2a fix(deps): update dependency babel-plugin-polyfill-corejs3 to v0.8.3 (#8951)\u001b[39m\u001b[22m", - "hash": "a2775f50f5e2ca4e0c81a4638ad0d0d6b39ece2a", - "message": "fix(deps): update dependency babel-plugin-polyfill-corejs3 to v0.8.3 (#8951)", - "pr": "8951" - }, - { - "line": "< b0aea3200b5e66a53e33272d48abe6d2d9496310 fix(rw serve): conditionally import `@redwoodjs/realtime` (#8950)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< b0aea3200b5e66a53e33272d48abe6d2d9496310 fix(rw serve): conditionally import `@redwoodjs/realtime` (#8950)\u001b[39m\u001b[22m", - "hash": "b0aea3200b5e66a53e33272d48abe6d2d9496310", - "message": "fix(rw serve): conditionally import `@redwoodjs/realtime` (#8950)", - "pr": "8950" - }, - { - "line": "< 6007b82b2b9fa7b8da9e0c6265a5b34bdb7e8bd8 fix(deps): update dependency vite to v4.4.6 (#8946)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 6007b82b2b9fa7b8da9e0c6265a5b34bdb7e8bd8 fix(deps): update dependency vite to v4.4.6 (#8946)\u001b[39m\u001b[22m", - "hash": "6007b82b2b9fa7b8da9e0c6265a5b34bdb7e8bd8", - "message": "fix(deps): update dependency vite to v4.4.6 (#8946)", - "pr": "8946" - }, - { - "line": "< c5b051d5a6832e2426b5ef284d85b3d346e379e2 fix(realtime): add realtime as devDep to graphql-server", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< c5b051d5a6832e2426b5ef284d85b3d346e379e2 fix(realtime): add realtime as devDep to graphql-server\u001b[39m\u001b[22m", - "hash": "c5b051d5a6832e2426b5ef284d85b3d346e379e2", - "message": "fix(realtime): add realtime as devDep to graphql-server" - }, - { - "line": "< b18e1aa3f2cd0c2b8e3e01d08c2aa2b67fe2d228 chore: fix yarn constraints and update yarn.lock", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b18e1aa3f2cd0c2b8e3e01d08c2aa2b67fe2d228 chore: fix yarn constraints and update yarn.lock", - "hash": "b18e1aa3f2cd0c2b8e3e01d08c2aa2b67fe2d228", - "message": "chore: fix yarn constraints and update yarn.lock" - }, - { - "line": "< 7d1a3f59923ef539402af6f68357ec36f8555d2f @redwoodjs/web-server (#8916)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 7d1a3f59923ef539402af6f68357ec36f8555d2f @redwoodjs/web-server (#8916)", - "hash": "7d1a3f59923ef539402af6f68357ec36f8555d2f", - "message": "@redwoodjs/web-server (#8916)", - "pr": "8916" - }, - { - "line": "< c96e1fdfd369392378bc09d1a7f6d5b27689db86 fix(v6): Refactor Redwood Realtime as a new redwoodjs/realtime package to better handle dependencies (#8878)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< c96e1fdfd369392378bc09d1a7f6d5b27689db86 fix(v6): Refactor Redwood Realtime as a new redwoodjs/realtime package to better handle dependencies (#8878)\u001b[39m\u001b[22m", - "hash": "c96e1fdfd369392378bc09d1a7f6d5b27689db86", - "message": "fix(v6): Refactor Redwood Realtime as a new redwoodjs/realtime package to better handle dependencies (#8878)", - "pr": "8878" - }, - { - "line": "< 6f33914e06f7fb6d0866495bdbadb09fd3d367cb @rwjs/vite: Pin acorn-loose version (#8944)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 6f33914e06f7fb6d0866495bdbadb09fd3d367cb @rwjs/vite: Pin acorn-loose version (#8944)", - "hash": "6f33914e06f7fb6d0866495bdbadb09fd3d367cb", - "message": "@rwjs/vite: Pin acorn-loose version (#8944)", - "pr": "8944" - }, - { - "line": "< bdacb10c13aad19d5981cc0ba11ca412059792b0 fix(cli): Escape telemetry in exec command (#8947)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< bdacb10c13aad19d5981cc0ba11ca412059792b0 fix(cli): Escape telemetry in exec command (#8947)\u001b[39m\u001b[22m", - "hash": "bdacb10c13aad19d5981cc0ba11ca412059792b0", - "message": "fix(cli): Escape telemetry in exec command (#8947)", - "pr": "8947" - }, - { - "line": "< e9413654f60f3b40c65bf7c759cd0b8be99978ca RSC: react-server condition. Poisoned imports (#8948)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e9413654f60f3b40c65bf7c759cd0b8be99978ca RSC: react-server condition. Poisoned imports (#8948)", - "hash": "e9413654f60f3b40c65bf7c759cd0b8be99978ca", - "message": "RSC: react-server condition. Poisoned imports (#8948)", - "pr": "8948" - }, - { - "line": "< 3588ec06a9009cf2ffc864370eec7f3130fff9e1 RSC fix typo in example code (#8949)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 3588ec06a9009cf2ffc864370eec7f3130fff9e1 RSC fix typo in example code (#8949)", - "hash": "3588ec06a9009cf2ffc864370eec7f3130fff9e1", - "message": "RSC fix typo in example code (#8949)", - "pr": "8949" - }, - { - "line": "< 9db9666ef8f135beab54c96c56d103237351215e chore(deps): update dependency esbuild to v0.18.15 (#8945)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 9db9666ef8f135beab54c96c56d103237351215e chore(deps): update dependency esbuild to v0.18.15 (#8945)\u001b[39m\u001b[22m", - "hash": "9db9666ef8f135beab54c96c56d103237351215e", - "message": "chore(deps): update dependency esbuild to v0.18.15 (#8945)", - "pr": "8945" - }, - { - "line": "< d14432b0f35806547f0ecb7f11cfbd966da929ba chore(cli-storybook): Add telemetry (#8803)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< d14432b0f35806547f0ecb7f11cfbd966da929ba chore(cli-storybook): Add telemetry (#8803)\u001b[39m\u001b[22m", - "hash": "d14432b0f35806547f0ecb7f11cfbd966da929ba", - "message": "chore(cli-storybook): Add telemetry (#8803)", - "pr": "8803" - }, - { - "line": "< f5f15e61b9c53c22acb976d4084d47b6b4da59b5 serve web: Fix socket support (#8936)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f5f15e61b9c53c22acb976d4084d47b6b4da59b5 serve web: Fix socket support (#8936)\u001b[39m\u001b[22m", - "hash": "f5f15e61b9c53c22acb976d4084d47b6b4da59b5", - "message": "serve web: Fix socket support (#8936)", - "pr": "8936" - }, - { - "line": "< 4d47e793cfe6e5868e5bf6e03633f3c78b90d83a chore(deps): update dependency esbuild to v0.18.14 (#8939)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 4d47e793cfe6e5868e5bf6e03633f3c78b90d83a chore(deps): update dependency esbuild to v0.18.14 (#8939)\u001b[39m\u001b[22m", - "hash": "4d47e793cfe6e5868e5bf6e03633f3c78b90d83a", - "message": "chore(deps): update dependency esbuild to v0.18.14 (#8939)", - "pr": "8939" - }, - { - "line": "< 495d698ce47945f14c4e36ac22e0219cdff01178 fix(deps): update dependency webpack to v5.88.2 (#8940)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 495d698ce47945f14c4e36ac22e0219cdff01178 fix(deps): update dependency webpack to v5.88.2 (#8940)\u001b[39m\u001b[22m", - "hash": "495d698ce47945f14c4e36ac22e0219cdff01178", - "message": "fix(deps): update dependency webpack to v5.88.2 (#8940)", - "pr": "8940" - }, - { - "line": "< bb35f9c5fb1bbd43100eb0eb584ca640dcde438b fix(deps): update dependency fastify-raw-body to v4.2.1 (#8937)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< bb35f9c5fb1bbd43100eb0eb584ca640dcde438b fix(deps): update dependency fastify-raw-body to v4.2.1 (#8937)\u001b[39m\u001b[22m", - "hash": "bb35f9c5fb1bbd43100eb0eb584ca640dcde438b", - "message": "fix(deps): update dependency fastify-raw-body to v4.2.1 (#8937)", - "pr": "8937" - }, - { - "line": "< f2a000e07a8e7cc8dccdd7c316c9ab4a1d589986 fix(deps): update storybook monorepo to v7.1.0 (#8941)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f2a000e07a8e7cc8dccdd7c316c9ab4a1d589986 fix(deps): update storybook monorepo to v7.1.0 (#8941)\u001b[39m\u001b[22m", - "hash": "f2a000e07a8e7cc8dccdd7c316c9ab4a1d589986", - "message": "fix(deps): update storybook monorepo to v7.1.0 (#8941)", - "pr": "8941" - }, - { - "line": "< f6acf929e2c147749ac79b135c7455c1c6882d10 chore(v6): change to React automatic runtime (#8926)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f6acf929e2c147749ac79b135c7455c1c6882d10 chore(v6): change to React automatic runtime (#8926)\u001b[39m\u001b[22m", - "hash": "f6acf929e2c147749ac79b135c7455c1c6882d10", - "message": "chore(v6): change to React automatic runtime (#8926)", - "pr": "8926" - }, - { - "line": "< d472e28fd151aeaef097f38944ffee0cdde9723a fix(graphql-server): Allow correct context behaviour in testing (#8925)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< d472e28fd151aeaef097f38944ffee0cdde9723a fix(graphql-server): Allow correct context behaviour in testing (#8925)\u001b[39m\u001b[22m", - "hash": "d472e28fd151aeaef097f38944ffee0cdde9723a", - "message": "fix(graphql-server): Allow correct context behaviour in testing (#8925)", - "pr": "8925" - }, - { - "line": "< 04fc76cd03a50d3e491bb50ef312aa276f56f97b Expose environment variables also on import.meta.env (#8928)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 04fc76cd03a50d3e491bb50ef312aa276f56f97b Expose environment variables also on import.meta.env (#8928)\u001b[39m\u001b[22m", - "hash": "04fc76cd03a50d3e491bb50ef312aa276f56f97b", - "message": "Expose environment variables also on import.meta.env (#8928)", - "pr": "8928" - }, - { - "line": "< 7f4dbca54513e851d52467af778232c7a31b4d76 Update svgr codemod to output TS for tsx inputs (#8935)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 7f4dbca54513e851d52467af778232c7a31b4d76 Update svgr codemod to output TS for tsx inputs (#8935)\u001b[39m\u001b[22m", - "hash": "7f4dbca54513e851d52467af778232c7a31b4d76", - "message": "Update svgr codemod to output TS for tsx inputs (#8935)", - "pr": "8935" - }, - { - "line": "< 29a38f68572bb32644d9eaa1c581c7038594b17d Remove warning message about jsx in js files (#8930)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 29a38f68572bb32644d9eaa1c581c7038594b17d Remove warning message about jsx in js files (#8930)\u001b[39m\u001b[22m", - "hash": "29a38f68572bb32644d9eaa1c581c7038594b17d", - "message": "Remove warning message about jsx in js files (#8930)", - "pr": "8930" - }, - { - "line": "< 19082e35a2e8056b8aae491117125757df893395 fix(deps): update dependency fastify to v4.20.0 (#8927)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 19082e35a2e8056b8aae491117125757df893395 fix(deps): update dependency fastify to v4.20.0 (#8927)\u001b[39m\u001b[22m", - "hash": "19082e35a2e8056b8aae491117125757df893395", - "message": "fix(deps): update dependency fastify to v4.20.0 (#8927)", - "pr": "8927" - }, - { - "line": "< ec7241877f907a5a24421b0b4a0910682c019db7 Vite plugin to replace env vars in index.html (#8929)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< ec7241877f907a5a24421b0b4a0910682c019db7 Vite plugin to replace env vars in index.html (#8929)\u001b[39m\u001b[22m", - "hash": "ec7241877f907a5a24421b0b4a0910682c019db7", - "message": "Vite plugin to replace env vars in index.html (#8929)", - "pr": "8929" - }, - { - "line": "< 068387b667796f55a68568b741e89d1a3547fcd3 chore(v6): add codemod changing `global` to `globalThis` (#8924)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 068387b667796f55a68568b741e89d1a3547fcd3 chore(v6): add codemod changing `global` to `globalThis` (#8924)\u001b[39m\u001b[22m", - "hash": "068387b667796f55a68568b741e89d1a3547fcd3", - "message": "chore(v6): add codemod changing `global` to `globalThis` (#8924)", - "pr": "8924" - }, - { - "line": "< abf229bc166ea05c0f3e6dca1836fa477192e55d fix(ssr): Get experimental ssr setup working properly (#8922)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< abf229bc166ea05c0f3e6dca1836fa477192e55d fix(ssr): Get experimental ssr setup working properly (#8922)", - "hash": "abf229bc166ea05c0f3e6dca1836fa477192e55d", - "message": "fix(ssr): Get experimental ssr setup working properly (#8922)", - "pr": "8922" - }, - { - "line": "< b13caec19946cfd2eb24aa9df8a83f847565f9ee fix(deps): update dependency babel-loader to v9.1.3 (#8910)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< b13caec19946cfd2eb24aa9df8a83f847565f9ee fix(deps): update dependency babel-loader to v9.1.3 (#8910)\u001b[39m\u001b[22m", - "hash": "b13caec19946cfd2eb24aa9df8a83f847565f9ee", - "message": "fix(deps): update dependency babel-loader to v9.1.3 (#8910)", - "pr": "8910" - }, - { - "line": "< 39f2dda24735313638fada217db0a9dc7cadab4b fix(deps): update dependency vite to v4.4.4 (#8911)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 39f2dda24735313638fada217db0a9dc7cadab4b fix(deps): update dependency vite to v4.4.4 (#8911)\u001b[39m\u001b[22m", - "hash": "39f2dda24735313638fada217db0a9dc7cadab4b", - "message": "fix(deps): update dependency vite to v4.4.4 (#8911)", - "pr": "8911" - }, - { - "line": "< 08e6c9d8332fcff8f20506a68ca8c7e3b83e4cfd fix(deps): update dependency eslint to v8.45.0 (#8914)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 08e6c9d8332fcff8f20506a68ca8c7e3b83e4cfd fix(deps): update dependency eslint to v8.45.0 (#8914)\u001b[39m\u001b[22m", - "hash": "08e6c9d8332fcff8f20506a68ca8c7e3b83e4cfd", - "message": "fix(deps): update dependency eslint to v8.45.0 (#8914)", - "pr": "8914" - }, - { - "line": "< 262eb6713fdcbdb38bf6d92db33e224fb1762b1b fix(deps): update dependency react-hook-form to v7.45.2 (#8923)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 262eb6713fdcbdb38bf6d92db33e224fb1762b1b fix(deps): update dependency react-hook-form to v7.45.2 (#8923)\u001b[39m\u001b[22m", - "hash": "262eb6713fdcbdb38bf6d92db33e224fb1762b1b", - "message": "fix(deps): update dependency react-hook-form to v7.45.2 (#8923)", - "pr": "8923" - }, - { - "line": "< 98ee545f24718bef4c3b25b65b1025cdc155907d fix(deps): update opentelemetry-js monorepo (#8903)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 98ee545f24718bef4c3b25b65b1025cdc155907d fix(deps): update opentelemetry-js monorepo (#8903)\u001b[39m\u001b[22m", - "hash": "98ee545f24718bef4c3b25b65b1025cdc155907d", - "message": "fix(deps): update opentelemetry-js monorepo (#8903)", - "pr": "8903" - }, - { - "line": "< 7257e3e758b0bfe5779e63ec2a5d9e4444851dfb fix(deps): update dependency @vitejs/plugin-react to v4.0.3 (#8881)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 7257e3e758b0bfe5779e63ec2a5d9e4444851dfb fix(deps): update dependency @vitejs/plugin-react to v4.0.3 (#8881)\u001b[39m\u001b[22m", - "hash": "7257e3e758b0bfe5779e63ec2a5d9e4444851dfb", - "message": "fix(deps): update dependency @vitejs/plugin-react to v4.0.3 (#8881)", - "pr": "8881" - }, - { - "line": "< f2c99479a7cd8d53ab40ad04483d675a4a38b15a Update name reference in Redwood Docs (#8904)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f2c99479a7cd8d53ab40ad04483d675a4a38b15a Update name reference in Redwood Docs (#8904)\u001b[39m\u001b[22m", - "hash": "f2c99479a7cd8d53ab40ad04483d675a4a38b15a", - "message": "Update name reference in Redwood Docs (#8904)", - "pr": "8904" - }, - { - "line": "< b11bd72adf2b946a2652525a20e83b1a4a965d46 RSC fix: setup description (#8906)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b11bd72adf2b946a2652525a20e83b1a4a965d46 RSC fix: setup description (#8906)", - "hash": "b11bd72adf2b946a2652525a20e83b1a4a965d46", - "message": "RSC fix: setup description (#8906)", - "pr": "8906" - }, - { - "line": "< fcd7c39304b5d587ac1eb7a68c322e977115b030 RSC: Add css files to the example (#8905)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fcd7c39304b5d587ac1eb7a68c322e977115b030 RSC: Add css files to the example (#8905)", - "hash": "fcd7c39304b5d587ac1eb7a68c322e977115b030", - "message": "RSC: Add css files to the example (#8905)", - "pr": "8905" - }, - { - "line": "< 2a92ac3f64fd10e0ea87b8d0dbeda0b11263a274 CRWA: --yes (#8870)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 2a92ac3f64fd10e0ea87b8d0dbeda0b11263a274 CRWA: --yes (#8870)\u001b[39m\u001b[22m", - "hash": "2a92ac3f64fd10e0ea87b8d0dbeda0b11263a274", - "message": "CRWA: --yes (#8870)", - "pr": "8870" - }, - { - "line": "< 9c967cc3b06d0e05298e3d19716b2fca2f143151 chore(deps): update dependency esbuild to v0.18.12 (#8899)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 9c967cc3b06d0e05298e3d19716b2fca2f143151 chore(deps): update dependency esbuild to v0.18.12 (#8899)\u001b[39m\u001b[22m", - "hash": "9c967cc3b06d0e05298e3d19716b2fca2f143151", - "message": "chore(deps): update dependency esbuild to v0.18.12 (#8899)", - "pr": "8899" - }, - { - "line": "< 57fc61a6c71ed7bcbb78bbc599b82a9e671fdfd6 fix(deps): update storybook monorepo to v7.0.27 (#8901)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 57fc61a6c71ed7bcbb78bbc599b82a9e671fdfd6 fix(deps): update storybook monorepo to v7.0.27 (#8901)\u001b[39m\u001b[22m", - "hash": "57fc61a6c71ed7bcbb78bbc599b82a9e671fdfd6", - "message": "fix(deps): update storybook monorepo to v7.0.27 (#8901)", - "pr": "8901" - }, - { - "line": "< d00fe2e24d09d43c75c1fcfcd1fe30e4ce503a44 chore(deps): update dependency @clerk/clerk-react to v4.22.0 (#8902)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< d00fe2e24d09d43c75c1fcfcd1fe30e4ce503a44 chore(deps): update dependency @clerk/clerk-react to v4.22.0 (#8902)\u001b[39m\u001b[22m", - "hash": "d00fe2e24d09d43c75c1fcfcd1fe30e4ce503a44", - "message": "chore(deps): update dependency @clerk/clerk-react to v4.22.0 (#8902)", - "pr": "8902" - }, - { - "line": "< e486cf748d541054850fa129cdd309013e53ff86 docs(services): fix numericality validation example (#8892)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< e486cf748d541054850fa129cdd309013e53ff86 docs(services): fix numericality validation example (#8892)\u001b[39m\u001b[22m", - "hash": "e486cf748d541054850fa129cdd309013e53ff86", - "message": "docs(services): fix numericality validation example (#8892)", - "pr": "8892" - }, - { - "line": "< edd83db42dee96bad90826c4f32dd83f878a33b3 docs: update ArticleQuery type in routing-params.md (#8895)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< edd83db42dee96bad90826c4f32dd83f878a33b3 docs: update ArticleQuery type in routing-params.md (#8895)\u001b[39m\u001b[22m", - "hash": "edd83db42dee96bad90826c4f32dd83f878a33b3", - "message": "docs: update ArticleQuery type in routing-params.md (#8895)", - "pr": "8895" - }, - { - "line": "< 97f1f10cef9df3c1c83c43a458df686a230a3a2a Update intermission.md including a caution block to let the reader know not to look for a Typescript version (#8885)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 97f1f10cef9df3c1c83c43a458df686a230a3a2a Update intermission.md including a caution block to let the reader know not to look for a Typescript version (#8885)\u001b[39m\u001b[22m", - "hash": "97f1f10cef9df3c1c83c43a458df686a230a3a2a", - "message": "Update intermission.md including a caution block to let the reader know not to look for a Typescript version (#8885)", - "pr": "8885" - }, - { - "line": "< 1c2e936b57e56a41d1031f6d6ed99ec72950acfa Proofreading updates to the CRWA docs (#8898)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 1c2e936b57e56a41d1031f6d6ed99ec72950acfa Proofreading updates to the CRWA docs (#8898)\u001b[39m\u001b[22m", - "hash": "1c2e936b57e56a41d1031f6d6ed99ec72950acfa", - "message": "Proofreading updates to the CRWA docs (#8898)", - "pr": "8898" - }, - { - "line": "< 37692a4d85eb231c3be4b5459408f0d4480d363d RSC build without user config (#8896)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 37692a4d85eb231c3be4b5459408f0d4480d363d RSC build without user config (#8896)", - "hash": "37692a4d85eb231c3be4b5459408f0d4480d363d", - "message": "RSC build without user config (#8896)", - "pr": "8896" - }, - { - "line": "< 921c9cb3127b10cb050b3b9ae144d326f4a7f20c RSC: Use rw serve (#8897)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 921c9cb3127b10cb050b3b9ae144d326f4a7f20c RSC: Use rw serve (#8897)", - "hash": "921c9cb3127b10cb050b3b9ae144d326f4a7f20c", - "message": "RSC: Use rw serve (#8897)", - "pr": "8897" - }, - { - "line": "< f1d0dcb81c6149fa0dbd74ed64e5d2c569b4b205 RSC: Build using rw build (#8893)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f1d0dcb81c6149fa0dbd74ed64e5d2c569b4b205 RSC: Build using rw build (#8893)", - "hash": "f1d0dcb81c6149fa0dbd74ed64e5d2c569b4b205", - "message": "RSC: Build using rw build (#8893)", - "pr": "8893" - }, - { - "line": "< c44a260751e344e6c1735aa9704b8903f9d7fa81 RSC: Fix experimental setup (#8894)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c44a260751e344e6c1735aa9704b8903f9d7fa81 RSC: Fix experimental setup (#8894)", - "hash": "c44a260751e344e6c1735aa9704b8903f9d7fa81", - "message": "RSC: Fix experimental setup (#8894)", - "pr": "8894" - }, - { - "line": "< fb0d689068857743cb3ca312cad35c1848b82182 fix(deps): update dependency vite to v4.4.3 (#8842)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< fb0d689068857743cb3ca312cad35c1848b82182 fix(deps): update dependency vite to v4.4.3 (#8842)\u001b[39m\u001b[22m", - "hash": "fb0d689068857743cb3ca312cad35c1848b82182", - "message": "fix(deps): update dependency vite to v4.4.3 (#8842)", - "pr": "8842" - }, - { - "line": "< 6f58a34e84c773d0b7acf3534600b85a677f79f1 fix(deps): update jest monorepo (#8843)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 6f58a34e84c773d0b7acf3534600b85a677f79f1 fix(deps): update jest monorepo (#8843)\u001b[39m\u001b[22m", - "hash": "6f58a34e84c773d0b7acf3534600b85a677f79f1", - "message": "fix(deps): update jest monorepo (#8843)", - "pr": "8843" - }, - { - "line": "< 6512ca9e498ee103d951312b23c2280ec817606d fix(deps): update prisma monorepo to v5 (major) (#8891)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 6512ca9e498ee103d951312b23c2280ec817606d fix(deps): update prisma monorepo to v5 (major) (#8891)\u001b[39m\u001b[22m", - "hash": "6512ca9e498ee103d951312b23c2280ec817606d", - "message": "fix(deps): update prisma monorepo to v5 (major) (#8891)", - "pr": "8891" - }, - { - "line": "< de8ac90eb6e956a7b32453b66d3334884fb5bb3c chore(deps): update dependency typescript to v5.1.6 (#8759)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< de8ac90eb6e956a7b32453b66d3334884fb5bb3c chore(deps): update dependency typescript to v5.1.6 (#8759)\u001b[39m\u001b[22m", - "hash": "de8ac90eb6e956a7b32453b66d3334884fb5bb3c", - "message": "chore(deps): update dependency typescript to v5.1.6 (#8759)", - "pr": "8759" - }, - { - "line": "< b0ae4b2a7dc45134314461bc4d397da20ce4e711 fix(deps): update dependency @apollo/client to v3.7.17 (#8880)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< b0ae4b2a7dc45134314461bc4d397da20ce4e711 fix(deps): update dependency @apollo/client to v3.7.17 (#8880)\u001b[39m\u001b[22m", - "hash": "b0ae4b2a7dc45134314461bc4d397da20ce4e711", - "message": "fix(deps): update dependency @apollo/client to v3.7.17 (#8880)", - "pr": "8880" - }, - { - "line": "< 1507a18488636a8e1db64593659cad93432185b6 chore(deps): update dependency postcss to v8.4.25 (#8850)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 1507a18488636a8e1db64593659cad93432185b6 chore(deps): update dependency postcss to v8.4.25 (#8850)\u001b[39m\u001b[22m", - "hash": "1507a18488636a8e1db64593659cad93432185b6", - "message": "chore(deps): update dependency postcss to v8.4.25 (#8850)", - "pr": "8850" - }, - { - "line": "< 9a76e97392e63ef3e607698fcaec0ea3407e4da5 chore(deps): update dependency @types/testing-library__jest-dom to v5.14.8 (#8848)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 9a76e97392e63ef3e607698fcaec0ea3407e4da5 chore(deps): update dependency @types/testing-library__jest-dom to v5.14.8 (#8848)\u001b[39m\u001b[22m", - "hash": "9a76e97392e63ef3e607698fcaec0ea3407e4da5", - "message": "chore(deps): update dependency @types/testing-library__jest-dom to v5.14.8 (#8848)", - "pr": "8848" - }, - { - "line": "< a3a479668ad2d68261dc5218fa4626675192b5b7 chore(deps): update babel monorepo to v7.22.9 (#8890)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a3a479668ad2d68261dc5218fa4626675192b5b7 chore(deps): update babel monorepo to v7.22.9 (#8890)\u001b[39m\u001b[22m", - "hash": "a3a479668ad2d68261dc5218fa4626675192b5b7", - "message": "chore(deps): update babel monorepo to v7.22.9 (#8890)", - "pr": "8890" - }, - { - "line": "< 5310c208177b4bb87baf5234834130a32a28113a chore(deps): bump semver from 6.3.0 to 6.3.1 in /packages/studio/frontend (#8883)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 5310c208177b4bb87baf5234834130a32a28113a chore(deps): bump semver from 6.3.0 to 6.3.1 in /packages/studio/frontend (#8883)\u001b[39m\u001b[22m", - "hash": "5310c208177b4bb87baf5234834130a32a28113a", - "message": "chore(deps): bump semver from 6.3.0 to 6.3.1 in /packages/studio/frontend (#8883)", - "pr": "8883" - }, - { - "line": "< db271db22e5bd423c3a88d98938c05aeb373b992 RSC: Include entries.ts in paths (#8888)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< db271db22e5bd423c3a88d98938c05aeb373b992 RSC: Include entries.ts in paths (#8888)", - "hash": "db271db22e5bd423c3a88d98938c05aeb373b992", - "message": "RSC: Include entries.ts in paths (#8888)", - "pr": "8888" - }, - { - "line": "< 8610d58e1207779dfe561b96f7625b20d2a8f400 RSC: Initial css support (#8887)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8610d58e1207779dfe561b96f7625b20d2a8f400 RSC: Initial css support (#8887)", - "hash": "8610d58e1207779dfe561b96f7625b20d2a8f400", - "message": "RSC: Initial css support (#8887)", - "pr": "8887" - }, - { - "line": "< f5fc2e2e696d791536bd14d386efff99fe121ecd RSC: Use exported defineEntries() (#8886)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f5fc2e2e696d791536bd14d386efff99fe121ecd RSC: Use exported defineEntries() (#8886)", - "hash": "f5fc2e2e696d791536bd14d386efff99fe121ecd", - "message": "RSC: Use exported defineEntries() (#8886)", - "pr": "8886" - }, - { - "line": "< c1e62c29d1f706edbabee2abbcf96f8dad744373 Include standard vite config in RSC build (#8882)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c1e62c29d1f706edbabee2abbcf96f8dad744373 Include standard vite config in RSC build (#8882)", - "hash": "c1e62c29d1f706edbabee2abbcf96f8dad744373", - "message": "Include standard vite config in RSC build (#8882)", - "pr": "8882" - }, - { - "line": "< d706d6bb8cee93bf39a3ca6f01d3bd9a1832ce74 chore(ci): move canary publishing script to file (#8877)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< d706d6bb8cee93bf39a3ca6f01d3bd9a1832ce74 chore(ci): move canary publishing script to file (#8877)", - "hash": "d706d6bb8cee93bf39a3ca6f01d3bd9a1832ce74", - "message": "chore(ci): move canary publishing script to file (#8877)", - "pr": "8877" - }, - { - "line": "< b99e5234a067166bda05a8c6d7d0592cc09aba58 CRWA use RW v5.4.3 (#8869)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b99e5234a067166bda05a8c6d7d0592cc09aba58 CRWA use RW v5.4.3 (#8869)", - "hash": "b99e5234a067166bda05a8c6d7d0592cc09aba58", - "message": "CRWA use RW v5.4.3 (#8869)", - "pr": "8869" - }, - { - "line": "< 433281514de2574d83ed2a945c01a154857627df GH Action: Increase commit count based version by one (#8868)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 433281514de2574d83ed2a945c01a154857627df GH Action: Increase commit count based version by one (#8868)", - "hash": "433281514de2574d83ed2a945c01a154857627df", - "message": "GH Action: Increase commit count based version by one (#8868)", - "pr": "8868" - }, - { - "line": "< 203dff985a1b245c2df4f75e9bec5399a448aa56 Don't git push. Remove debug logs (#8867)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 203dff985a1b245c2df4f75e9bec5399a448aa56 Don't git push. Remove debug logs (#8867)", - "hash": "203dff985a1b245c2df4f75e9bec5399a448aa56", - "message": "Don't git push. Remove debug logs (#8867)", - "pr": "8867" - }, - { - "line": "< 1f0c97743a05dc4a96d1bc8b91c98ee5c2896063 GH Action: Set git config (#8866)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 1f0c97743a05dc4a96d1bc8b91c98ee5c2896063 GH Action: Set git config (#8866)", - "hash": "1f0c97743a05dc4a96d1bc8b91c98ee5c2896063", - "message": "GH Action: Set git config (#8866)", - "pr": "8866" - }, - { - "line": "< e2fa04aa82c612c0a796d2a4daec05c9eddb6270 push CRWA package version changes (#8865)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e2fa04aa82c612c0a796d2a4daec05c9eddb6270 push CRWA package version changes (#8865)", - "hash": "e2fa04aa82c612c0a796d2a4daec05c9eddb6270", - "message": "push CRWA package version changes (#8865)", - "pr": "8865" - }, - { - "line": "< ad438a3deef2b8cbee99862e794f36476074b050 gh actions: Explain the publish dryrun command (#8864)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< ad438a3deef2b8cbee99862e794f36476074b050 gh actions: Explain the publish dryrun command (#8864)", - "hash": "ad438a3deef2b8cbee99862e794f36476074b050", - "message": "gh actions: Explain the publish dryrun command (#8864)", - "pr": "8864" - }, - { - "line": "< b02db272bce63ab383765482ff08f0954dd3dffd CRWA: Manually update rw package versions to v6 canary (#8863)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b02db272bce63ab383765482ff08f0954dd3dffd CRWA: Manually update rw package versions to v6 canary (#8863)", - "hash": "b02db272bce63ab383765482ff08f0954dd3dffd", - "message": "CRWA: Manually update rw package versions to v6 canary (#8863)", - "pr": "8863" - }, - { - "line": "< 96c012016599535b0b676ead59b9ee504ea52e9e chore(gh-actions) Dry-run publish to get next canary version (#8862)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 96c012016599535b0b676ead59b9ee504ea52e9e chore(gh-actions) Dry-run publish to get next canary version (#8862)", - "hash": "96c012016599535b0b676ead59b9ee504ea52e9e", - "message": "chore(gh-actions) Dry-run publish to get next canary version (#8862)", - "pr": "8862" - }, - { - "line": "< 486226dc97bad1970ab453bf0793990ed23672bd chore(renovate): improve config to reduce noise (#8859)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 486226dc97bad1970ab453bf0793990ed23672bd chore(renovate): improve config to reduce noise (#8859)", - "hash": "486226dc97bad1970ab453bf0793990ed23672bd", - "message": "chore(renovate): improve config to reduce noise (#8859)", - "pr": "8859" - }, - { - "line": "< ae60d6b3326365e3c00d0d34c23a93e0b6a83583 fix(docs): use correct relative links", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< ae60d6b3326365e3c00d0d34c23a93e0b6a83583 fix(docs): use correct relative links\u001b[39m\u001b[22m", - "hash": "ae60d6b3326365e3c00d0d34c23a93e0b6a83583", - "message": "fix(docs): use correct relative links" - }, - { - "line": "< 2d1a9828e09225c74242ee758eff65e805b3fe1f chore(renovate): audit `renovate.json` (#8856)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 2d1a9828e09225c74242ee758eff65e805b3fe1f chore(renovate): audit `renovate.json` (#8856)\u001b[39m\u001b[22m", - "hash": "2d1a9828e09225c74242ee758eff65e805b3fe1f", - "message": "chore(renovate): audit `renovate.json` (#8856)", - "pr": "8856" - }, - { - "line": "< 46420463a3f54f24d542d763d6b6ecc54d90063b fix(v6, serverless): use named exports instead of default (#8857)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 46420463a3f54f24d542d763d6b6ecc54d90063b fix(v6, serverless): use named exports instead of default (#8857)\u001b[39m\u001b[22m", - "hash": "46420463a3f54f24d542d763d6b6ecc54d90063b", - "message": "fix(v6, serverless): use named exports instead of default (#8857)", - "pr": "8857" - }, - { - "line": "< ed9c85cec19dd5c8a250305a430908f300c61447 rw upgrade: Update package versions from template package.json (#8855)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< ed9c85cec19dd5c8a250305a430908f300c61447 rw upgrade: Update package versions from template package.json (#8855)\u001b[39m\u001b[22m", - "hash": "ed9c85cec19dd5c8a250305a430908f300c61447", - "message": "rw upgrade: Update package versions from template package.json (#8855)", - "pr": "8855" - }, - { - "line": "< 8831c0f666f66055544d4495fcdc106041bf4e9e yarn rw upgrade: Not < v1 anymore (#8853)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 8831c0f666f66055544d4495fcdc106041bf4e9e yarn rw upgrade: Not < v1 anymore (#8853)\u001b[39m\u001b[22m", - "hash": "8831c0f666f66055544d4495fcdc106041bf4e9e", - "message": "yarn rw upgrade: Not < v1 anymore (#8853)", - "pr": "8853" - }, - { - "line": "< 8917ad6ab5eaea40f6a79b478e28df4b9c43182f Update entry.client and disable vite legacy mode (#8851)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8917ad6ab5eaea40f6a79b478e28df4b9c43182f Update entry.client and disable vite legacy mode (#8851)", - "hash": "8917ad6ab5eaea40f6a79b478e28df4b9c43182f", - "message": "Update entry.client and disable vite legacy mode (#8851)", - "pr": "8851" - }, - { - "line": "< 0b150ebf719bbc2572ac048b1e7973e7643c208e fix(deps): update dependency @vitejs/plugin-react to v4.0.2 (#8840)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 0b150ebf719bbc2572ac048b1e7973e7643c208e fix(deps): update dependency @vitejs/plugin-react to v4.0.2 (#8840)\u001b[39m\u001b[22m", - "hash": "0b150ebf719bbc2572ac048b1e7973e7643c208e", - "message": "fix(deps): update dependency @vitejs/plugin-react to v4.0.2 (#8840)", - "pr": "8840" - }, - { - "line": "< c7a5b138c43e888b49a20ddddfbf3bbc2ab2c00d experimental feature flag for rsc (#8837)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c7a5b138c43e888b49a20ddddfbf3bbc2ab2c00d experimental feature flag for rsc (#8837)", - "hash": "c7a5b138c43e888b49a20ddddfbf3bbc2ab2c00d", - "message": "experimental feature flag for rsc (#8837)", - "pr": "8837" - }, - { - "line": "< d4888a993e68632bdb32dbf5876a2cf8b89644d1 fix(deps): update dependency core-js to v3.31.1 (#8841)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< d4888a993e68632bdb32dbf5876a2cf8b89644d1 fix(deps): update dependency core-js to v3.31.1 (#8841)\u001b[39m\u001b[22m", - "hash": "d4888a993e68632bdb32dbf5876a2cf8b89644d1", - "message": "fix(deps): update dependency core-js to v3.31.1 (#8841)", - "pr": "8841" - }, - { - "line": "< f50940ce65ede8b3267eb0e087f9d7c23124050b fix(deps): update storybook monorepo to v7.0.26 (#8846)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f50940ce65ede8b3267eb0e087f9d7c23124050b fix(deps): update storybook monorepo to v7.0.26 (#8846)\u001b[39m\u001b[22m", - "hash": "f50940ce65ede8b3267eb0e087f9d7c23124050b", - "message": "fix(deps): update storybook monorepo to v7.0.26 (#8846)", - "pr": "8846" - }, - { - "line": "< b874ef310accb25c2ed894accf9d5146a4891e92 chore(deps): update babel monorepo (#8833)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< b874ef310accb25c2ed894accf9d5146a4891e92 chore(deps): update babel monorepo (#8833)\u001b[39m\u001b[22m", - "hash": "b874ef310accb25c2ed894accf9d5146a4891e92", - "message": "chore(deps): update babel monorepo (#8833)", - "pr": "8833" - }, - { - "line": "< 0b7c659a4d82e2e22f1b2a0d5339665ba7af891a chore: update docs action to handle push event", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 0b7c659a4d82e2e22f1b2a0d5339665ba7af891a chore: update docs action to handle push event\u001b[39m\u001b[22m", - "hash": "0b7c659a4d82e2e22f1b2a0d5339665ba7af891a", - "message": "chore: update docs action to handle push event" - }, - { - "line": "< 1a78c0aa71582e6663cc634f18759fdf1da341d0 Additional Messaging for Compatibility Checking for Create Redwood App (#8673)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 1a78c0aa71582e6663cc634f18759fdf1da341d0 Additional Messaging for Compatibility Checking for Create Redwood App (#8673)\u001b[39m\u001b[22m", - "hash": "1a78c0aa71582e6663cc634f18759fdf1da341d0", - "message": "Additional Messaging for Compatibility Checking for Create Redwood App (#8673)", - "pr": "8673" - }, - { - "line": "< 059176f5acdabad7539330b95e09e4e101573378 chore: fix invalid key in ci.yml file", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 059176f5acdabad7539330b95e09e4e101573378 chore: fix invalid key in ci.yml file\u001b[39m\u001b[22m", - "hash": "059176f5acdabad7539330b95e09e4e101573378", - "message": "chore: fix invalid key in ci.yml file" - }, - { - "line": "< f898724dbb2a1ef0a8bd4c0913896fd74a3336e9 chore: try running CI on pushes to next and release branches (#8844)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f898724dbb2a1ef0a8bd4c0913896fd74a3336e9 chore: try running CI on pushes to next and release branches (#8844)\u001b[39m\u001b[22m", - "hash": "f898724dbb2a1ef0a8bd4c0913896fd74a3336e9", - "message": "chore: try running CI on pushes to next and release branches (#8844)", - "pr": "8844" - }, - { - "line": "< 387f27eceaf6c94b45de1ef44f49d54e119d6e1e chore(deps): update yarn to v3.6.1 (#8799)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 387f27eceaf6c94b45de1ef44f49d54e119d6e1e chore(deps): update yarn to v3.6.1 (#8799)\u001b[39m\u001b[22m", - "hash": "387f27eceaf6c94b45de1ef44f49d54e119d6e1e", - "message": "chore(deps): update yarn to v3.6.1 (#8799)", - "pr": "8799" - }, - { - "line": "< c37023a1af35f4b68b38d0df28fdd8922fdb7afb Added documentation for the Create Redwood App (#8777)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< c37023a1af35f4b68b38d0df28fdd8922fdb7afb Added documentation for the Create Redwood App (#8777)\u001b[39m\u001b[22m", - "hash": "c37023a1af35f4b68b38d0df28fdd8922fdb7afb", - "message": "Added documentation for the Create Redwood App (#8777)", - "pr": "8777" - }, - { - "line": "< 9b55d0e9face34567b30ad91d989ef7222923cba Modified contributing docs for the Create Redwood App (#8778)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 9b55d0e9face34567b30ad91d989ef7222923cba Modified contributing docs for the Create Redwood App (#8778)\u001b[39m\u001b[22m", - "hash": "9b55d0e9face34567b30ad91d989ef7222923cba", - "message": "Modified contributing docs for the Create Redwood App (#8778)", - "pr": "8778" - }, - { - "line": "< 056f3b6533dd030504c2c78dfe45e2653cbb8244 chore(deps): update dependency nx to v16.4.1 (#8784)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 056f3b6533dd030504c2c78dfe45e2653cbb8244 chore(deps): update dependency nx to v16.4.1 (#8784)", - "hash": "056f3b6533dd030504c2c78dfe45e2653cbb8244", - "message": "chore(deps): update dependency nx to v16.4.1 (#8784)", - "pr": "8784" - }, - { - "line": "< 63d22e1e442ceac5e91f8f8a4647076ce3c9f78f fix(deps): update typescript-eslint monorepo to v5.61.0 (#8822)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 63d22e1e442ceac5e91f8f8a4647076ce3c9f78f fix(deps): update typescript-eslint monorepo to v5.61.0 (#8822)\u001b[39m\u001b[22m", - "hash": "63d22e1e442ceac5e91f8f8a4647076ce3c9f78f", - "message": "fix(deps): update typescript-eslint monorepo to v5.61.0 (#8822)", - "pr": "8822" - }, - { - "line": "< ea364a32abd2fda0985e932ae75c0f59a0e08c4f fix(deps): update dependency @clerk/clerk-sdk-node to v4.10.15 (#8785)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< ea364a32abd2fda0985e932ae75c0f59a0e08c4f fix(deps): update dependency @clerk/clerk-sdk-node to v4.10.15 (#8785)\u001b[39m\u001b[22m", - "hash": "ea364a32abd2fda0985e932ae75c0f59a0e08c4f", - "message": "fix(deps): update dependency @clerk/clerk-sdk-node to v4.10.15 (#8785)", - "pr": "8785" - }, - { - "line": "< f5d1a1a1f77afafb252031c07f5405b998004f20 feature(#8676): added usernameMatch criteria to login methods to match signup (#8686)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f5d1a1a1f77afafb252031c07f5405b998004f20 feature(#8676): added usernameMatch criteria to login methods to match signup (#8686)\u001b[39m\u001b[22m", - "hash": "f5d1a1a1f77afafb252031c07f5405b998004f20", - "message": "feature(#8676): added usernameMatch criteria to login methods to match signup (#8686)", - "pr": "8676" - }, - { - "line": "< a9ef9b6785fb11262e17d0acdf611b9ba4626437 chore(deps): update dependency @tsd/typescript to v5.1.6 (#8781)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a9ef9b6785fb11262e17d0acdf611b9ba4626437 chore(deps): update dependency @tsd/typescript to v5.1.6 (#8781)\u001b[39m\u001b[22m", - "hash": "a9ef9b6785fb11262e17d0acdf611b9ba4626437", - "message": "chore(deps): update dependency @tsd/typescript to v5.1.6 (#8781)", - "pr": "8781" - }, - { - "line": "< ddc3f3d333fb250d911b6e24d18cb750a8671009 Updated Storybook Template files to for CSF 3 (#8788)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< ddc3f3d333fb250d911b6e24d18cb750a8671009 Updated Storybook Template files to for CSF 3 (#8788)\u001b[39m\u001b[22m", - "hash": "ddc3f3d333fb250d911b6e24d18cb750a8671009", - "message": "Updated Storybook Template files to for CSF 3 (#8788)", - "pr": "8788" - }, - { - "line": "< 0850c1965b06e0a95832528ba76571a209aae71a Oauth How-to: Adds note about not exposing accessToken via SDL (#8839)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 0850c1965b06e0a95832528ba76571a209aae71a Oauth How-to: Adds note about not exposing accessToken via SDL (#8839)\u001b[39m\u001b[22m", - "hash": "0850c1965b06e0a95832528ba76571a209aae71a", - "message": "Oauth How-to: Adds note about not exposing accessToken via SDL (#8839)", - "pr": "8839" - }, - { - "line": "< f22dfbeda624dfb80ce54fde59329f155f29f2e9 React Server Components (RSC) (#8451)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f22dfbeda624dfb80ce54fde59329f155f29f2e9 React Server Components (RSC) (#8451)", - "hash": "f22dfbeda624dfb80ce54fde59329f155f29f2e9", - "message": "React Server Components (RSC) (#8451)", - "pr": "8451" - }, - { - "line": "< bca98c615c962dc63891e6aab687099f475dce92 cli(fix): Stop storybook command installing early (#8828)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< bca98c615c962dc63891e6aab687099f475dce92 cli(fix): Stop storybook command installing early (#8828)\u001b[39m\u001b[22m", - "hash": "bca98c615c962dc63891e6aab687099f475dce92", - "message": "cli(fix): Stop storybook command installing early (#8828)", - "pr": "8828" - }, - { - "line": "< 1368550bcfe74e1466b52218cdbb6cb8d11bb911 fix: Fixes and simplifies the Countdown subscription example for Realtime (#8838)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 1368550bcfe74e1466b52218cdbb6cb8d11bb911 fix: Fixes and simplifies the Countdown subscription example for Realtime (#8838)\u001b[39m\u001b[22m", - "hash": "1368550bcfe74e1466b52218cdbb6cb8d11bb911", - "message": "fix: Fixes and simplifies the Countdown subscription example for Realtime (#8838)", - "pr": "8838" - }, - { - "line": "< 42f5c044395521afc3bd7a3fb1831f726ef0713e chore: use renamed babel plugin packages (#8832)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 42f5c044395521afc3bd7a3fb1831f726ef0713e chore: use renamed babel plugin packages (#8832)\u001b[39m\u001b[22m", - "hash": "42f5c044395521afc3bd7a3fb1831f726ef0713e", - "message": "chore: use renamed babel plugin packages (#8832)", - "pr": "8832" - }, - { - "line": "< d68a3efcbcc2572273223d579854cf21435994b9 Fix babel devDeps in internal (#8831)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< d68a3efcbcc2572273223d579854cf21435994b9 Fix babel devDeps in internal (#8831)\u001b[39m\u001b[22m", - "hash": "d68a3efcbcc2572273223d579854cf21435994b9", - "message": "Fix babel devDeps in internal (#8831)", - "pr": "8831" - }, - { - "line": "< dc3064e4fc9742e5358caa90c2c42a23e3678b29 Add babel plugin to internal deps (#8830)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< dc3064e4fc9742e5358caa90c2c42a23e3678b29 Add babel plugin to internal deps (#8830)\u001b[39m\u001b[22m", - "hash": "dc3064e4fc9742e5358caa90c2c42a23e3678b29", - "message": "Add babel plugin to internal deps (#8830)", - "pr": "8830" - }, - { - "line": "< 06541ccb1a5ee8bfb698496f97a4714e14b22593 fix(deploy): add hack for netlify deploy with realtime changes (#8829)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 06541ccb1a5ee8bfb698496f97a4714e14b22593 fix(deploy): add hack for netlify deploy with realtime changes (#8829)\u001b[39m\u001b[22m", - "hash": "06541ccb1a5ee8bfb698496f97a4714e14b22593", - "message": "fix(deploy): add hack for netlify deploy with realtime changes (#8829)", - "pr": "8829" - }, - { - "line": "< 7a6aea7fed966bcb5deab8b473cf0dfcc36a6547 Use \"import type\" for all types (#8827)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 7a6aea7fed966bcb5deab8b473cf0dfcc36a6547 Use \"import type\" for all types (#8827)", - "hash": "7a6aea7fed966bcb5deab8b473cf0dfcc36a6547", - "message": "Use \"import type\" for all types (#8827)", - "pr": "8827" - }, - { - "line": "< d261819262158179a22d57c7a3c78695c9ef7d0a React 18.3.0-canary-035a41c4e-20230704 (#8826)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< d261819262158179a22d57c7a3c78695c9ef7d0a React 18.3.0-canary-035a41c4e-20230704 (#8826)", - "hash": "d261819262158179a22d57c7a3c78695c9ef7d0a", - "message": "React 18.3.0-canary-035a41c4e-20230704 (#8826)", - "pr": "8826" - }, - { - "line": "< 84639d254b968fcf7674e4e851b3ba423be7e2e8 fix(deps): update dependency fastify to v4.19.2 (#8820)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 84639d254b968fcf7674e4e851b3ba423be7e2e8 fix(deps): update dependency fastify to v4.19.2 (#8820)\u001b[39m\u001b[22m", - "hash": "84639d254b968fcf7674e4e851b3ba423be7e2e8", - "message": "fix(deps): update dependency fastify to v4.19.2 (#8820)", - "pr": "8820" - }, - { - "line": "< 54194d6bd3da985c9fcc383c17db4628085e306b chore(deps): update dependency esbuild to v0.18.11 (#8819)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 54194d6bd3da985c9fcc383c17db4628085e306b chore(deps): update dependency esbuild to v0.18.11 (#8819)\u001b[39m\u001b[22m", - "hash": "54194d6bd3da985c9fcc383c17db4628085e306b", - "message": "chore(deps): update dependency esbuild to v0.18.11 (#8819)", - "pr": "8819" - }, - { - "line": "< 875ad731452ec3e2b5e5ae61f604ace3006f24eb fix(cli): Revert change to prisma error message (#8825)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 875ad731452ec3e2b5e5ae61f604ace3006f24eb fix(cli): Revert change to prisma error message (#8825)\u001b[39m\u001b[22m", - "hash": "875ad731452ec3e2b5e5ae61f604ace3006f24eb", - "message": "fix(cli): Revert change to prisma error message (#8825)", - "pr": "8825" - }, - { - "line": "< a4e21e9b0499d10f7955915ec8807c0e7214d874 fix(cli): Telemetry improvements (#8798)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a4e21e9b0499d10f7955915ec8807c0e7214d874 fix(cli): Telemetry improvements (#8798)\u001b[39m\u001b[22m", - "hash": "a4e21e9b0499d10f7955915ec8807c0e7214d874", - "message": "fix(cli): Telemetry improvements (#8798)", - "pr": "8798" - }, - { - "line": "< 5ebb76cb46e9e02f7e8713c41e5630acf49e632c feat(cli): Add README to .redwood (#8790)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 5ebb76cb46e9e02f7e8713c41e5630acf49e632c feat(cli): Add README to .redwood (#8790)\u001b[39m\u001b[22m", - "hash": "5ebb76cb46e9e02f7e8713c41e5630acf49e632c", - "message": "feat(cli): Add README to .redwood (#8790)", - "pr": "8790" - }, - { - "line": "< 5acc2eb0f62058782fd2fc3d6bf6a0b6bbdcf35d fix(deps): update dependency @vscode/ripgrep to v1.15.5 (#8787)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 5acc2eb0f62058782fd2fc3d6bf6a0b6bbdcf35d fix(deps): update dependency @vscode/ripgrep to v1.15.5 (#8787)\u001b[39m\u001b[22m", - "hash": "5acc2eb0f62058782fd2fc3d6bf6a0b6bbdcf35d", - "message": "fix(deps): update dependency @vscode/ripgrep to v1.15.5 (#8787)", - "pr": "8787" - }, - { - "line": "< 7e94c3fdf0ec4d1f61757b532146a1b3662a13a1 fix(deps): update dependency @tremor/react to v3.4.1 (#8786)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 7e94c3fdf0ec4d1f61757b532146a1b3662a13a1 fix(deps): update dependency @tremor/react to v3.4.1 (#8786)\u001b[39m\u001b[22m", - "hash": "7e94c3fdf0ec4d1f61757b532146a1b3662a13a1", - "message": "fix(deps): update dependency @tremor/react to v3.4.1 (#8786)", - "pr": "8786" - }, - { - "line": "< 8b85ad6b3f58855a5b5081cdeef679d7d29f9106 ViteBuildManifest and note about import-attributes (#8818)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8b85ad6b3f58855a5b5081cdeef679d7d29f9106 ViteBuildManifest and note about import-attributes (#8818)", - "hash": "8b85ad6b3f58855a5b5081cdeef679d7d29f9106", - "message": "ViteBuildManifest and note about import-attributes (#8818)", - "pr": "8818" - }, - { - "line": "< a471d26723d5a02b2c681e890dad54438f56c499 feat: Support Authentication in Realtime Subscriptions (#8815)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a471d26723d5a02b2c681e890dad54438f56c499 feat: Support Authentication in Realtime Subscriptions (#8815)\u001b[39m\u001b[22m", - "hash": "a471d26723d5a02b2c681e890dad54438f56c499", - "message": "feat: Support Authentication in Realtime Subscriptions (#8815)", - "pr": "8815" - }, - { - "line": "< 589e87ac61bcc1debd7eeb14a0a94de793e0e893 chore(fw): Adds super:clean command (#8749)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 589e87ac61bcc1debd7eeb14a0a94de793e0e893 chore(fw): Adds super:clean command (#8749)", - "hash": "589e87ac61bcc1debd7eeb14a0a94de793e0e893", - "message": "chore(fw): Adds super:clean command (#8749)", - "pr": "8749" - }, - { - "line": "< be08e835e285d258710f357884205b84fb8c088b feat: Configure In-Memory or Redis-backed GraphQL Live Query and Subscriptions (#8791)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< be08e835e285d258710f357884205b84fb8c088b feat: Configure In-Memory or Redis-backed GraphQL Live Query and Subscriptions (#8791)\u001b[39m\u001b[22m", - "hash": "be08e835e285d258710f357884205b84fb8c088b", - "message": "feat: Configure In-Memory or Redis-backed GraphQL Live Query and Subscriptions (#8791)", - "pr": "8791" - }, - { - "line": "< 089f80508ddf5fe3d03ac250008becb319416472 Rudimentary CSS check in our smoke tests (#8812)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 089f80508ddf5fe3d03ac250008becb319416472 Rudimentary CSS check in our smoke tests (#8812)", - "hash": "089f80508ddf5fe3d03ac250008becb319416472", - "message": "Rudimentary CSS check in our smoke tests (#8812)", - "pr": "8812" - }, - { - "line": "< 4c51caec60fb84c54d5580944ff8fcfb30d9229a Streaming SSR: Fix build, serve and dev (#8811)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 4c51caec60fb84c54d5580944ff8fcfb30d9229a Streaming SSR: Fix build, serve and dev (#8811)", - "hash": "4c51caec60fb84c54d5580944ff8fcfb30d9229a", - "message": "Streaming SSR: Fix build, serve and dev (#8811)", - "pr": "8811" - }, - { - "line": "< 6da5aaebc614f39374f528daaa27d078ec4c02a2 Add files needed for React Streaming SSR (#8810)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 6da5aaebc614f39374f528daaa27d078ec4c02a2 Add files needed for React Streaming SSR (#8810)", - "hash": "6da5aaebc614f39374f528daaa27d078ec4c02a2", - "message": "Add files needed for React Streaming SSR (#8810)", - "pr": "8810" - }, - { - "line": "< fd14fd5a31610c73bbeb2e6e2cd789b81a0bfa38 fix(cli): Prevent multiple update available messages (#8809)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< fd14fd5a31610c73bbeb2e6e2cd789b81a0bfa38 fix(cli): Prevent multiple update available messages (#8809)\u001b[39m\u001b[22m", - "hash": "fd14fd5a31610c73bbeb2e6e2cd789b81a0bfa38", - "message": "fix(cli): Prevent multiple update available messages (#8809)", - "pr": "8809" - }, - { - "line": "< 7cc5564e3b08715f3ea08a478265ac478ccec49f entry.server and entry.client (#8808)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 7cc5564e3b08715f3ea08a478265ac478ccec49f entry.server and entry.client (#8808)", - "hash": "7cc5564e3b08715f3ea08a478265ac478ccec49f", - "message": "entry.server and entry.client (#8808)", - "pr": "8808" - }, - { - "line": "< 8b2a56601e92eab104505ced96f7c30fd442f7e7 Use existing rw-vite-build bin for SSR as well (#8806)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8b2a56601e92eab104505ced96f7c30fd442f7e7 Use existing rw-vite-build bin for SSR as well (#8806)", - "hash": "8b2a56601e92eab104505ced96f7c30fd442f7e7", - "message": "Use existing rw-vite-build bin for SSR as well (#8806)", - "pr": "8806" - }, - { - "line": "< 7c1029d95dce9be8270de1e5f202505d98a4be58 \"Cleaning web\" is only needed for Webpack (#8807)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 7c1029d95dce9be8270de1e5f202505d98a4be58 \"Cleaning web\" is only needed for Webpack (#8807)\u001b[39m\u001b[22m", - "hash": "7c1029d95dce9be8270de1e5f202505d98a4be58", - "message": "\"Cleaning web\" is only needed for Webpack (#8807)", - "pr": "8807" - }, - { - "line": "< e7d53610bcd0b7e207e4e5ae55e211f57270cf2a Disable prerender when streamingSsr is enabled (#8775)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e7d53610bcd0b7e207e4e5ae55e211f57270cf2a Disable prerender when streamingSsr is enabled (#8775)", - "hash": "e7d53610bcd0b7e207e4e5ae55e211f57270cf2a", - "message": "Disable prerender when streamingSsr is enabled (#8775)", - "pr": "8775" - }, - { - "line": "< f9912af72e0b6625826cb626bb7c3d6c29ba6d53 structure: Update lru-cache to v7 to minimize project:copy issues (#8805)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f9912af72e0b6625826cb626bb7c3d6c29ba6d53 structure: Update lru-cache to v7 to minimize project:copy issues (#8805)\u001b[39m\u001b[22m", - "hash": "f9912af72e0b6625826cb626bb7c3d6c29ba6d53", - "message": "structure: Update lru-cache to v7 to minimize project:copy issues (#8805)", - "pr": "8805" - }, - { - "line": "< 75bcabd8ee9c859c8a1a07ee506941787a05bf3c fix(deps): update dependency fastify to v4.19.0 (#8802)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 75bcabd8ee9c859c8a1a07ee506941787a05bf3c fix(deps): update dependency fastify to v4.19.0 (#8802)\u001b[39m\u001b[22m", - "hash": "75bcabd8ee9c859c8a1a07ee506941787a05bf3c", - "message": "fix(deps): update dependency fastify to v4.19.0 (#8802)", - "pr": "8802" - }, - { - "line": "< 15704f6730f94e8cf5740297ba2ed2fee332c1e1 fix(deps): update prisma monorepo to v4.16.2 (#8800)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 15704f6730f94e8cf5740297ba2ed2fee332c1e1 fix(deps): update prisma monorepo to v4.16.2 (#8800)\u001b[39m\u001b[22m", - "hash": "15704f6730f94e8cf5740297ba2ed2fee332c1e1", - "message": "fix(deps): update prisma monorepo to v4.16.2 (#8800)", - "pr": "8800" - }, - { - "line": "< 482c57223141f1a81c24b4dc66721cbf75d05038 fix(docs): remove the section on configuring Storybook's manager (#8801)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 482c57223141f1a81c24b4dc66721cbf75d05038 fix(docs): remove the section on configuring Storybook's manager (#8801)\u001b[39m\u001b[22m", - "hash": "482c57223141f1a81c24b4dc66721cbf75d05038", - "message": "fix(docs): remove the section on configuring Storybook's manager (#8801)", - "pr": "8801" - }, - { - "line": "< 9fb4c210404b23380a2215353777f7e11e3ac727 set cwd when calling rw-vite-build (#8795)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 9fb4c210404b23380a2215353777f7e11e3ac727 set cwd when calling rw-vite-build (#8795)\u001b[39m\u001b[22m", - "hash": "9fb4c210404b23380a2215353777f7e11e3ac727", - "message": "set cwd when calling rw-vite-build (#8795)", - "pr": "8795" - }, - { - "line": "< fb745f0dc2f8b1c2d5854bc3a9c1bf8db2d43fff eslint unsupported-route-components: Minor tweaks (#8797)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< fb745f0dc2f8b1c2d5854bc3a9c1bf8db2d43fff eslint unsupported-route-components: Minor tweaks (#8797)\u001b[39m\u001b[22m", - "hash": "fb745f0dc2f8b1c2d5854bc3a9c1bf8db2d43fff", - "message": "eslint unsupported-route-components: Minor tweaks (#8797)", - "pr": "8797" - }, - { - "line": "< d61db65680e9ef7d333aa7b8cd4679b5faeabcc0 Updates oauth how-to for typos, adds versioned docs for 5.x, 4.x, 3.x (#8793)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< d61db65680e9ef7d333aa7b8cd4679b5faeabcc0 Updates oauth how-to for typos, adds versioned docs for 5.x, 4.x, 3.x (#8793)\u001b[39m\u001b[22m", - "hash": "d61db65680e9ef7d333aa7b8cd4679b5faeabcc0", - "message": "Updates oauth how-to for typos, adds versioned docs for 5.x, 4.x, 3.x (#8793)", - "pr": "8793" - }, - { - "line": "< cf41df38645a0f38eed9f29dbdaed01b3a1e1832 fix(graphql-server): Conditionally enable OTel plugin and OTel plugin updates (#8782)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< cf41df38645a0f38eed9f29dbdaed01b3a1e1832 fix(graphql-server): Conditionally enable OTel plugin and OTel plugin updates (#8782)\u001b[39m\u001b[22m", - "hash": "cf41df38645a0f38eed9f29dbdaed01b3a1e1832", - "message": "fix(graphql-server): Conditionally enable OTel plugin and OTel plugin updates (#8782)", - "pr": "8782" - }, - { - "line": "< e19107126d5c9a6ad8995aa0235c161b93b10384 vite utils.ts: fix source format (#8796)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e19107126d5c9a6ad8995aa0235c161b93b10384 vite utils.ts: fix source format (#8796)", - "hash": "e19107126d5c9a6ad8995aa0235c161b93b10384", - "message": "vite utils.ts: fix source format (#8796)", - "pr": "8796" - }, - { - "line": "< dff92106b9063bba2a8d1fc505573e986df5318f Only enable new eslint rule for the Routes file (#8794)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< dff92106b9063bba2a8d1fc505573e986df5318f Only enable new eslint rule for the Routes file (#8794)\u001b[39m\u001b[22m", - "hash": "dff92106b9063bba2a8d1fc505573e986df5318f", - "message": "Only enable new eslint rule for the Routes file (#8794)", - "pr": "8794" - }, - { - "line": "< 2557bf8d8d338fb752e145c7c5452a1849c7fcc3 Server Rendering & Streaming (#8561)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 2557bf8d8d338fb752e145c7c5452a1849c7fcc3 Server Rendering & Streaming (#8561)", - "hash": "2557bf8d8d338fb752e145c7c5452a1849c7fcc3", - "message": "Server Rendering & Streaming (#8561)", - "pr": "8561" - }, - { - "line": "< 8a7e81b012129844ff2f7506e9317777b12e2043 chore(deps): update dependency @clerk/types to v3.46.1 (#8780)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 8a7e81b012129844ff2f7506e9317777b12e2043 chore(deps): update dependency @clerk/types to v3.46.1 (#8780)\u001b[39m\u001b[22m", - "hash": "8a7e81b012129844ff2f7506e9317777b12e2043", - "message": "chore(deps): update dependency @clerk/types to v3.46.1 (#8780)", - "pr": "8780" - }, - { - "line": "< 739a958beec8b6d70b7ff02b8a2088b33acaccda chore(deps): update dependency glob to v10.3.1 (#8783)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 739a958beec8b6d70b7ff02b8a2088b33acaccda chore(deps): update dependency glob to v10.3.1 (#8783)\u001b[39m\u001b[22m", - "hash": "739a958beec8b6d70b7ff02b8a2088b33acaccda", - "message": "chore(deps): update dependency glob to v10.3.1 (#8783)", - "pr": "8783" - }, - { - "line": "< a5f51185698fb5c129f676574ff395ae3afef886 chore: RedwoodJS GraphQL subscription templates now use Dynamic Topic IDs (#8766)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a5f51185698fb5c129f676574ff395ae3afef886 chore: RedwoodJS GraphQL subscription templates now use Dynamic Topic IDs (#8766)\u001b[39m\u001b[22m", - "hash": "a5f51185698fb5c129f676574ff395ae3afef886", - "message": "chore: RedwoodJS GraphQL subscription templates now use Dynamic Topic IDs (#8766)", - "pr": "8766" - }, - { - "line": "< af342124a0c1ac720951c8c8c86f62a6ab00b452 change router rule to error in eslint config (#8779)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< af342124a0c1ac720951c8c8c86f62a6ab00b452 change router rule to error in eslint config (#8779)\u001b[39m\u001b[22m", - "hash": "af342124a0c1ac720951c8c8c86f62a6ab00b452", - "message": "change router rule to error in eslint config (#8779)", - "pr": "8779" - }, - { - "line": "< 89cdba8278493ebfd4652f630090143e1a6c56c6 chore: Update graphql-server to Yoga v4 and latest subscriptions (#8753)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 89cdba8278493ebfd4652f630090143e1a6c56c6 chore: Update graphql-server to Yoga v4 and latest subscriptions (#8753)\u001b[39m\u001b[22m", - "hash": "89cdba8278493ebfd4652f630090143e1a6c56c6", - "message": "chore: Update graphql-server to Yoga v4 and latest subscriptions (#8753)", - "pr": "8753" - }, - { - "line": "< 403141481971cebbf3a7576d43b232f54eba9a4a make unsupported route components rule error for v6 (#8776)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 403141481971cebbf3a7576d43b232f54eba9a4a make unsupported route components rule error for v6 (#8776)\u001b[39m\u001b[22m", - "hash": "403141481971cebbf3a7576d43b232f54eba9a4a", - "message": "make unsupported route components rule error for v6 (#8776)", - "pr": "8776" - }, - { - "line": "< f00ddf94684e7162c4cbcff25218a46376af596f eslint rule to add types to service functions (#8599)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< f00ddf94684e7162c4cbcff25218a46376af596f eslint rule to add types to service functions (#8599)\u001b[39m\u001b[22m", - "hash": "f00ddf94684e7162c4cbcff25218a46376af596f", - "message": "eslint rule to add types to service functions (#8599)", - "pr": "8599" - }, - { - "line": "< a683321af2ceaa3a1eec789a09c26283c2be7c2c fix(type defs): log type-def generation errors at the end (#8448)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< a683321af2ceaa3a1eec789a09c26283c2be7c2c fix(type defs): log type-def generation errors at the end (#8448)\u001b[39m\u001b[22m", - "hash": "a683321af2ceaa3a1eec789a09c26283c2be7c2c", - "message": "fix(type defs): log type-def generation errors at the end (#8448)", - "pr": "8448" - }, - { - "line": "< 3aa3cfc4daea4253b1b61c578e623bd1d28c5c3d eslint rule: unsupported-route-components (#8774)", - "ref": "v6.0.0", - "type": "commit", - "pretty": "\u001b[2m\u001b[38;2;111;53;40m< 3aa3cfc4daea4253b1b61c578e623bd1d28c5c3d eslint rule: unsupported-route-components (#8774)\u001b[39m\u001b[22m", - "hash": "3aa3cfc4daea4253b1b61c578e623bd1d28c5c3d", - "message": "eslint rule: unsupported-route-components (#8774)", - "pr": "8774" - }, - { - "line": "< 565f62000b327df732b7b7040a1419852225a7d9 React Streaming and SSR feature flag (#8764)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 565f62000b327df732b7b7040a1419852225a7d9 React Streaming and SSR feature flag (#8764)", - "hash": "565f62000b327df732b7b7040a1419852225a7d9", - "message": "React Streaming and SSR feature flag (#8764)", - "pr": "8764" - } - ], - "tagsToColors": { - "v6.0.7": "#9ffe02", - "v6.0.0": "#6f3528" - }, - "releaseCommits": [ - { - "line": "< 48a3d755412a81ab53f6f1a09635910b294be25a chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#8933)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 48a3d755412a81ab53f6f1a09635910b294be25a chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#8933)", - "hash": "48a3d755412a81ab53f6f1a09635910b294be25a", - "message": "chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#8933)", - "pr": "8933" - }, - { - "line": "< 64a5d5746a837a95f8cb9a89437421935e455784 chore(deps): update babel monorepo to v7.22.10 (#9016)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 64a5d5746a837a95f8cb9a89437421935e455784 chore(deps): update babel monorepo to v7.22.10 (#9016)", - "hash": "64a5d5746a837a95f8cb9a89437421935e455784", - "message": "chore(deps): update babel monorepo to v7.22.10 (#9016)", - "pr": "9016" - }, - { - "line": "< 15da49c12986900e2bc1cfe1bab2bd334f242936 manually bump web-server version", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 15da49c12986900e2bc1cfe1bab2bd334f242936 manually bump web-server version", - "hash": "15da49c12986900e2bc1cfe1bab2bd334f242936", - "message": "manually bump web-server version" - }, - { - "line": "< dba68414031de10ed120b288d950bbc694de1b47 fix(deps): update prisma monorepo to v5.1.1 (#9019)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< dba68414031de10ed120b288d950bbc694de1b47 fix(deps): update prisma monorepo to v5.1.1 (#9019)", - "hash": "dba68414031de10ed120b288d950bbc694de1b47", - "message": "fix(deps): update prisma monorepo to v5.1.1 (#9019)", - "pr": "9019" - }, - { - "line": "< c81bcfa65f57a3fe9c65fe3eb73e07dd6bea3188 fix(deps): update dependency core-js to v3.32.0 (#9030)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c81bcfa65f57a3fe9c65fe3eb73e07dd6bea3188 fix(deps): update dependency core-js to v3.32.0 (#9030)", - "hash": "c81bcfa65f57a3fe9c65fe3eb73e07dd6bea3188", - "message": "fix(deps): update dependency core-js to v3.32.0 (#9030)", - "pr": "9030" - }, - { - "line": "< 3d4ee7751a638d5ca8fbd8f9197ea6c878ab3c67 Revert v7.0.0 and RSC changes", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 3d4ee7751a638d5ca8fbd8f9197ea6c878ab3c67 Revert v7.0.0 and RSC changes", - "hash": "3d4ee7751a638d5ca8fbd8f9197ea6c878ab3c67", - "message": "Revert v7.0.0 and RSC changes" - }, - { - "line": "< a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", - "hash": "a2fcc1618a70a77570943e4bc85d29ea055ab507", - "message": "chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", - "pr": "9028" - }, - { - "line": "< 3f71162946c30685ce1d2d7d469138d28d3ea6ca Remove `.only` from `createCell` test (#9031)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 3f71162946c30685ce1d2d7d469138d28d3ea6ca Remove `.only` from `createCell` test (#9031)", - "hash": "3f71162946c30685ce1d2d7d469138d28d3ea6ca", - "message": "Remove `.only` from `createCell` test (#9031)", - "pr": "9031" - }, - { - "line": "< 58a242192174e6bd2e72ccd2269f66d02ad7a401 feat(streaming-ssr): Fix build and server html injection (#8978)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 58a242192174e6bd2e72ccd2269f66d02ad7a401 feat(streaming-ssr): Fix build and server html injection (#8978)", - "hash": "58a242192174e6bd2e72ccd2269f66d02ad7a401", - "message": "feat(streaming-ssr): Fix build and server html injection (#8978)", - "pr": "8978" - }, - { - "line": "< 0e252242e485f1e25f5cd3e901f5bca8645ff760 fix(deps): update dependency pino to v8.15.0 (#9023)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 0e252242e485f1e25f5cd3e901f5bca8645ff760 fix(deps): update dependency pino to v8.15.0 (#9023)", - "hash": "0e252242e485f1e25f5cd3e901f5bca8645ff760", - "message": "fix(deps): update dependency pino to v8.15.0 (#9023)", - "pr": "9023" - }, - { - "line": "< c630f3a5176735f7b3c99486f5d776dd5d160d59 fix(deps): update dependency eslint to v8.46.0 (#9022)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c630f3a5176735f7b3c99486f5d776dd5d160d59 fix(deps): update dependency eslint to v8.46.0 (#9022)", - "hash": "c630f3a5176735f7b3c99486f5d776dd5d160d59", - "message": "fix(deps): update dependency eslint to v8.46.0 (#9022)", - "pr": "9022" - }, - { - "line": "< c4e37af2ebd85999b6103d5a1ed969f76f760ce0 fix(deps): update dependency react-hook-form to v7.45.4 (#9017)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c4e37af2ebd85999b6103d5a1ed969f76f760ce0 fix(deps): update dependency react-hook-form to v7.45.4 (#9017)", - "hash": "c4e37af2ebd85999b6103d5a1ed969f76f760ce0", - "message": "fix(deps): update dependency react-hook-form to v7.45.4 (#9017)", - "pr": "9017" - }, - { - "line": "< 260d42a98f79ca39d9a4e0f69cee19b93a11d544 chore(docs): reversion docs to include recent changes", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 260d42a98f79ca39d9a4e0f69cee19b93a11d544 chore(docs): reversion docs to include recent changes", - "hash": "260d42a98f79ca39d9a4e0f69cee19b93a11d544", - "message": "chore(docs): reversion docs to include recent changes" - }, - { - "line": "< b1151ac63802e68ac16526e8bfd6217bedea0980 fix(deps): update dependency vite to v4.4.9 (#9018)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b1151ac63802e68ac16526e8bfd6217bedea0980 fix(deps): update dependency vite to v4.4.9 (#9018)", - "hash": "b1151ac63802e68ac16526e8bfd6217bedea0980", - "message": "fix(deps): update dependency vite to v4.4.9 (#9018)", - "pr": "9018" - }, - { - "line": "< 2631a069f470f94ea5a6ce199ace27cda24b4db4 Docs: Explain the entry.client.{jsx,tsx} file (#8987)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 2631a069f470f94ea5a6ce199ace27cda24b4db4 Docs: Explain the entry.client.{jsx,tsx} file (#8987)", - "hash": "2631a069f470f94ea5a6ce199ace27cda24b4db4", - "message": "Docs: Explain the entry.client.{jsx,tsx} file (#8987)", - "pr": "8987" - }, - { - "line": "< 8e21a282e7d0c96ce11419220107f9185a2a7703 chore(deps): update dependency esbuild to v0.18.19 (#8983)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8e21a282e7d0c96ce11419220107f9185a2a7703 chore(deps): update dependency esbuild to v0.18.19 (#8983)", - "hash": "8e21a282e7d0c96ce11419220107f9185a2a7703", - "message": "chore(deps): update dependency esbuild to v0.18.19 (#8983)", - "pr": "8983" - }, - { - "line": "< 5a07e63fd6b2d6ba72b24fa455d1d71b1c88eaaf chore(deps): update dependency nx-cloud to v16.2.0 (#8985)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 5a07e63fd6b2d6ba72b24fa455d1d71b1c88eaaf chore(deps): update dependency nx-cloud to v16.2.0 (#8985)", - "hash": "5a07e63fd6b2d6ba72b24fa455d1d71b1c88eaaf", - "message": "chore(deps): update dependency nx-cloud to v16.2.0 (#8985)", - "pr": "8985" - }, - { - "line": "< cb860440786c2e283d2932980e33fbeb5289388b docs(fonts): Update @font-face recommendation (#8986)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< cb860440786c2e283d2932980e33fbeb5289388b docs(fonts): Update @font-face recommendation (#8986)", - "hash": "cb860440786c2e283d2932980e33fbeb5289388b", - "message": "docs(fonts): Update @font-face recommendation (#8986)", - "pr": "8986" - }, - { - "line": "< f3cde6464d3844f64bc4a7ff6ea2dc4e7e5802bf Docs: remove useless code in code snippet (#8990)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f3cde6464d3844f64bc4a7ff6ea2dc4e7e5802bf Docs: remove useless code in code snippet (#8990)", - "hash": "f3cde6464d3844f64bc4a7ff6ea2dc4e7e5802bf", - "message": "Docs: remove useless code in code snippet (#8990)", - "pr": "8990" - }, - { - "line": "< f1011c990ea452ea04443800bd31c3071b6a1b13 fix(deps): update dependency vite to v4.4.8 (#9003)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f1011c990ea452ea04443800bd31c3071b6a1b13 fix(deps): update dependency vite to v4.4.8 (#9003)", - "hash": "f1011c990ea452ea04443800bd31c3071b6a1b13", - "message": "fix(deps): update dependency vite to v4.4.8 (#9003)", - "pr": "9003" - }, - { - "line": "< 72aba822fa4c1cc9b70c4553a7d0ceddabddd805 fix(deps): update dependency fast-glob to v3.3.1 (#8997)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 72aba822fa4c1cc9b70c4553a7d0ceddabddd805 fix(deps): update dependency fast-glob to v3.3.1 (#8997)", - "hash": "72aba822fa4c1cc9b70c4553a7d0ceddabddd805", - "message": "fix(deps): update dependency fast-glob to v3.3.1 (#8997)", - "pr": "8997" - }, - { - "line": "< 10e0383238c9128574be8314df82325659ecd53e fix(deps): update storybook monorepo to v7.2.0 (#9002)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 10e0383238c9128574be8314df82325659ecd53e fix(deps): update storybook monorepo to v7.2.0 (#9002)", - "hash": "10e0383238c9128574be8314df82325659ecd53e", - "message": "fix(deps): update storybook monorepo to v7.2.0 (#9002)", - "pr": "9002" - }, - { - "line": "< a90e9e5f296f76b034c2ce358f869cd8f433560c fix(deps): update prisma monorepo to v5.1.0 (#9001)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< a90e9e5f296f76b034c2ce358f869cd8f433560c fix(deps): update prisma monorepo to v5.1.0 (#9001)", - "hash": "a90e9e5f296f76b034c2ce358f869cd8f433560c", - "message": "fix(deps): update prisma monorepo to v5.1.0 (#9001)", - "pr": "9001" - }, - { - "line": "< fadf121288cab7f1d35a09462a5fadeb8758212b fix(deps): update dependency fastify to v4.21.0 (#8998)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fadf121288cab7f1d35a09462a5fadeb8758212b fix(deps): update dependency fastify to v4.21.0 (#8998)", - "hash": "fadf121288cab7f1d35a09462a5fadeb8758212b", - "message": "fix(deps): update dependency fastify to v4.21.0 (#8998)", - "pr": "8998" - }, - { - "line": "< fd98e4076380575ab5fa40df0323b33cf5ecc9cd fix(deps): update dependency @vitejs/plugin-react to v4.0.4 (#8999)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fd98e4076380575ab5fa40df0323b33cf5ecc9cd fix(deps): update dependency @vitejs/plugin-react to v4.0.4 (#8999)", - "hash": "fd98e4076380575ab5fa40df0323b33cf5ecc9cd", - "message": "fix(deps): update dependency @vitejs/plugin-react to v4.0.4 (#8999)", - "pr": "8999" - }, - { - "line": "< b08bc724ee75708efa823de0e03631e6830239e3 fix(deps): update dependency @whatwg-node/fetch to v0.9.9 (#8942)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b08bc724ee75708efa823de0e03631e6830239e3 fix(deps): update dependency @whatwg-node/fetch to v0.9.9 (#8942)", - "hash": "b08bc724ee75708efa823de0e03631e6830239e3", - "message": "fix(deps): update dependency @whatwg-node/fetch to v0.9.9 (#8942)", - "pr": "8942" - }, - { - "line": "< cb31df936b88858eae6c4c4b7d0e7e5ef68f0212 feat(vite): add plugin to remove modules from the bundle (#8973)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< cb31df936b88858eae6c4c4b7d0e7e5ef68f0212 feat(vite): add plugin to remove modules from the bundle (#8973)", - "hash": "cb31df936b88858eae6c4c4b7d0e7e5ef68f0212", - "message": "feat(vite): add plugin to remove modules from the bundle (#8973)", - "pr": "8973" - }, - { - "line": "< 98dbfaa611038495461a69d3668c14bb98f6cdea fix(deps): update dependency whatwg-fetch to v3.6.17 (#8943)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 98dbfaa611038495461a69d3668c14bb98f6cdea fix(deps): update dependency whatwg-fetch to v3.6.17 (#8943)", - "hash": "98dbfaa611038495461a69d3668c14bb98f6cdea", - "message": "fix(deps): update dependency whatwg-fetch to v3.6.17 (#8943)", - "pr": "8943" - }, - { - "line": "< 43bbc2737d081742084dca94a89bdbe7958960ca chore(docs): compress v5 docs into v5.x", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 43bbc2737d081742084dca94a89bdbe7958960ca chore(docs): compress v5 docs into v5.x", - "hash": "43bbc2737d081742084dca94a89bdbe7958960ca", - "message": "chore(docs): compress v5 docs into v5.x" - }, - { - "line": "< 2add568286e6cad3ead50c9edc4d7e4a03771825 RSC: Use experimental node loader (#8979)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 2add568286e6cad3ead50c9edc4d7e4a03771825 RSC: Use experimental node loader (#8979)", - "hash": "2add568286e6cad3ead50c9edc4d7e4a03771825", - "message": "RSC: Use experimental node loader (#8979)", - "pr": "8979" - }, - { - "line": "< 9ac5ab271776b42c9e4ceed403345fa00d2feb1b RSC: Fix noExternal rule for server build (#8961)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 9ac5ab271776b42c9e4ceed403345fa00d2feb1b RSC: Fix noExternal rule for server build (#8961)", - "hash": "9ac5ab271776b42c9e4ceed403345fa00d2feb1b", - "message": "RSC: Fix noExternal rule for server build (#8961)", - "pr": "8961" - }, - { - "line": "< f24016a8411d025f6918544ea3683e1a84a13f52 Refactor cli serve command (#8958)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f24016a8411d025f6918544ea3683e1a84a13f52 Refactor cli serve command (#8958)", - "hash": "f24016a8411d025f6918544ea3683e1a84a13f52", - "message": "Refactor cli serve command (#8958)", - "pr": "8958" - }, - { - "line": "< fc079454d282609e14edaccc7b7bc64d59a63ec8 web-server: Print localhost instead of 0.0.0.0 (#8952)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fc079454d282609e14edaccc7b7bc64d59a63ec8 web-server: Print localhost instead of 0.0.0.0 (#8952)", - "hash": "fc079454d282609e14edaccc7b7bc64d59a63ec8", - "message": "web-server: Print localhost instead of 0.0.0.0 (#8952)", - "pr": "8952" - }, - { - "line": "< b18e1aa3f2cd0c2b8e3e01d08c2aa2b67fe2d228 chore: fix yarn constraints and update yarn.lock", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b18e1aa3f2cd0c2b8e3e01d08c2aa2b67fe2d228 chore: fix yarn constraints and update yarn.lock", - "hash": "b18e1aa3f2cd0c2b8e3e01d08c2aa2b67fe2d228", - "message": "chore: fix yarn constraints and update yarn.lock" - }, - { - "line": "< 7d1a3f59923ef539402af6f68357ec36f8555d2f @redwoodjs/web-server (#8916)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 7d1a3f59923ef539402af6f68357ec36f8555d2f @redwoodjs/web-server (#8916)", - "hash": "7d1a3f59923ef539402af6f68357ec36f8555d2f", - "message": "@redwoodjs/web-server (#8916)", - "pr": "8916" - }, - { - "line": "< 6f33914e06f7fb6d0866495bdbadb09fd3d367cb @rwjs/vite: Pin acorn-loose version (#8944)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 6f33914e06f7fb6d0866495bdbadb09fd3d367cb @rwjs/vite: Pin acorn-loose version (#8944)", - "hash": "6f33914e06f7fb6d0866495bdbadb09fd3d367cb", - "message": "@rwjs/vite: Pin acorn-loose version (#8944)", - "pr": "8944" - }, - { - "line": "< e9413654f60f3b40c65bf7c759cd0b8be99978ca RSC: react-server condition. Poisoned imports (#8948)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e9413654f60f3b40c65bf7c759cd0b8be99978ca RSC: react-server condition. Poisoned imports (#8948)", - "hash": "e9413654f60f3b40c65bf7c759cd0b8be99978ca", - "message": "RSC: react-server condition. Poisoned imports (#8948)", - "pr": "8948" - }, - { - "line": "< 3588ec06a9009cf2ffc864370eec7f3130fff9e1 RSC fix typo in example code (#8949)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 3588ec06a9009cf2ffc864370eec7f3130fff9e1 RSC fix typo in example code (#8949)", - "hash": "3588ec06a9009cf2ffc864370eec7f3130fff9e1", - "message": "RSC fix typo in example code (#8949)", - "pr": "8949" - }, - { - "line": "< abf229bc166ea05c0f3e6dca1836fa477192e55d fix(ssr): Get experimental ssr setup working properly (#8922)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< abf229bc166ea05c0f3e6dca1836fa477192e55d fix(ssr): Get experimental ssr setup working properly (#8922)", - "hash": "abf229bc166ea05c0f3e6dca1836fa477192e55d", - "message": "fix(ssr): Get experimental ssr setup working properly (#8922)", - "pr": "8922" - }, - { - "line": "< b11bd72adf2b946a2652525a20e83b1a4a965d46 RSC fix: setup description (#8906)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b11bd72adf2b946a2652525a20e83b1a4a965d46 RSC fix: setup description (#8906)", - "hash": "b11bd72adf2b946a2652525a20e83b1a4a965d46", - "message": "RSC fix: setup description (#8906)", - "pr": "8906" - }, - { - "line": "< fcd7c39304b5d587ac1eb7a68c322e977115b030 RSC: Add css files to the example (#8905)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< fcd7c39304b5d587ac1eb7a68c322e977115b030 RSC: Add css files to the example (#8905)", - "hash": "fcd7c39304b5d587ac1eb7a68c322e977115b030", - "message": "RSC: Add css files to the example (#8905)", - "pr": "8905" - }, - { - "line": "< 37692a4d85eb231c3be4b5459408f0d4480d363d RSC build without user config (#8896)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 37692a4d85eb231c3be4b5459408f0d4480d363d RSC build without user config (#8896)", - "hash": "37692a4d85eb231c3be4b5459408f0d4480d363d", - "message": "RSC build without user config (#8896)", - "pr": "8896" - }, - { - "line": "< 921c9cb3127b10cb050b3b9ae144d326f4a7f20c RSC: Use rw serve (#8897)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 921c9cb3127b10cb050b3b9ae144d326f4a7f20c RSC: Use rw serve (#8897)", - "hash": "921c9cb3127b10cb050b3b9ae144d326f4a7f20c", - "message": "RSC: Use rw serve (#8897)", - "pr": "8897" - }, - { - "line": "< f1d0dcb81c6149fa0dbd74ed64e5d2c569b4b205 RSC: Build using rw build (#8893)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f1d0dcb81c6149fa0dbd74ed64e5d2c569b4b205 RSC: Build using rw build (#8893)", - "hash": "f1d0dcb81c6149fa0dbd74ed64e5d2c569b4b205", - "message": "RSC: Build using rw build (#8893)", - "pr": "8893" - }, - { - "line": "< c44a260751e344e6c1735aa9704b8903f9d7fa81 RSC: Fix experimental setup (#8894)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c44a260751e344e6c1735aa9704b8903f9d7fa81 RSC: Fix experimental setup (#8894)", - "hash": "c44a260751e344e6c1735aa9704b8903f9d7fa81", - "message": "RSC: Fix experimental setup (#8894)", - "pr": "8894" - }, - { - "line": "< db271db22e5bd423c3a88d98938c05aeb373b992 RSC: Include entries.ts in paths (#8888)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< db271db22e5bd423c3a88d98938c05aeb373b992 RSC: Include entries.ts in paths (#8888)", - "hash": "db271db22e5bd423c3a88d98938c05aeb373b992", - "message": "RSC: Include entries.ts in paths (#8888)", - "pr": "8888" - }, - { - "line": "< 8610d58e1207779dfe561b96f7625b20d2a8f400 RSC: Initial css support (#8887)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8610d58e1207779dfe561b96f7625b20d2a8f400 RSC: Initial css support (#8887)", - "hash": "8610d58e1207779dfe561b96f7625b20d2a8f400", - "message": "RSC: Initial css support (#8887)", - "pr": "8887" - }, - { - "line": "< f5fc2e2e696d791536bd14d386efff99fe121ecd RSC: Use exported defineEntries() (#8886)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f5fc2e2e696d791536bd14d386efff99fe121ecd RSC: Use exported defineEntries() (#8886)", - "hash": "f5fc2e2e696d791536bd14d386efff99fe121ecd", - "message": "RSC: Use exported defineEntries() (#8886)", - "pr": "8886" - }, - { - "line": "< c1e62c29d1f706edbabee2abbcf96f8dad744373 Include standard vite config in RSC build (#8882)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c1e62c29d1f706edbabee2abbcf96f8dad744373 Include standard vite config in RSC build (#8882)", - "hash": "c1e62c29d1f706edbabee2abbcf96f8dad744373", - "message": "Include standard vite config in RSC build (#8882)", - "pr": "8882" - }, - { - "line": "< d706d6bb8cee93bf39a3ca6f01d3bd9a1832ce74 chore(ci): move canary publishing script to file (#8877)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< d706d6bb8cee93bf39a3ca6f01d3bd9a1832ce74 chore(ci): move canary publishing script to file (#8877)", - "hash": "d706d6bb8cee93bf39a3ca6f01d3bd9a1832ce74", - "message": "chore(ci): move canary publishing script to file (#8877)", - "pr": "8877" - }, - { - "line": "< b99e5234a067166bda05a8c6d7d0592cc09aba58 CRWA use RW v5.4.3 (#8869)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b99e5234a067166bda05a8c6d7d0592cc09aba58 CRWA use RW v5.4.3 (#8869)", - "hash": "b99e5234a067166bda05a8c6d7d0592cc09aba58", - "message": "CRWA use RW v5.4.3 (#8869)", - "pr": "8869" - }, - { - "line": "< 433281514de2574d83ed2a945c01a154857627df GH Action: Increase commit count based version by one (#8868)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 433281514de2574d83ed2a945c01a154857627df GH Action: Increase commit count based version by one (#8868)", - "hash": "433281514de2574d83ed2a945c01a154857627df", - "message": "GH Action: Increase commit count based version by one (#8868)", - "pr": "8868" - }, - { - "line": "< 203dff985a1b245c2df4f75e9bec5399a448aa56 Don't git push. Remove debug logs (#8867)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 203dff985a1b245c2df4f75e9bec5399a448aa56 Don't git push. Remove debug logs (#8867)", - "hash": "203dff985a1b245c2df4f75e9bec5399a448aa56", - "message": "Don't git push. Remove debug logs (#8867)", - "pr": "8867" - }, - { - "line": "< 1f0c97743a05dc4a96d1bc8b91c98ee5c2896063 GH Action: Set git config (#8866)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 1f0c97743a05dc4a96d1bc8b91c98ee5c2896063 GH Action: Set git config (#8866)", - "hash": "1f0c97743a05dc4a96d1bc8b91c98ee5c2896063", - "message": "GH Action: Set git config (#8866)", - "pr": "8866" - }, - { - "line": "< e2fa04aa82c612c0a796d2a4daec05c9eddb6270 push CRWA package version changes (#8865)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e2fa04aa82c612c0a796d2a4daec05c9eddb6270 push CRWA package version changes (#8865)", - "hash": "e2fa04aa82c612c0a796d2a4daec05c9eddb6270", - "message": "push CRWA package version changes (#8865)", - "pr": "8865" - }, - { - "line": "< ad438a3deef2b8cbee99862e794f36476074b050 gh actions: Explain the publish dryrun command (#8864)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< ad438a3deef2b8cbee99862e794f36476074b050 gh actions: Explain the publish dryrun command (#8864)", - "hash": "ad438a3deef2b8cbee99862e794f36476074b050", - "message": "gh actions: Explain the publish dryrun command (#8864)", - "pr": "8864" - }, - { - "line": "< b02db272bce63ab383765482ff08f0954dd3dffd CRWA: Manually update rw package versions to v6 canary (#8863)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< b02db272bce63ab383765482ff08f0954dd3dffd CRWA: Manually update rw package versions to v6 canary (#8863)", - "hash": "b02db272bce63ab383765482ff08f0954dd3dffd", - "message": "CRWA: Manually update rw package versions to v6 canary (#8863)", - "pr": "8863" - }, - { - "line": "< 96c012016599535b0b676ead59b9ee504ea52e9e chore(gh-actions) Dry-run publish to get next canary version (#8862)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 96c012016599535b0b676ead59b9ee504ea52e9e chore(gh-actions) Dry-run publish to get next canary version (#8862)", - "hash": "96c012016599535b0b676ead59b9ee504ea52e9e", - "message": "chore(gh-actions) Dry-run publish to get next canary version (#8862)", - "pr": "8862" - }, - { - "line": "< 486226dc97bad1970ab453bf0793990ed23672bd chore(renovate): improve config to reduce noise (#8859)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 486226dc97bad1970ab453bf0793990ed23672bd chore(renovate): improve config to reduce noise (#8859)", - "hash": "486226dc97bad1970ab453bf0793990ed23672bd", - "message": "chore(renovate): improve config to reduce noise (#8859)", - "pr": "8859" - }, - { - "line": "< 8917ad6ab5eaea40f6a79b478e28df4b9c43182f Update entry.client and disable vite legacy mode (#8851)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8917ad6ab5eaea40f6a79b478e28df4b9c43182f Update entry.client and disable vite legacy mode (#8851)", - "hash": "8917ad6ab5eaea40f6a79b478e28df4b9c43182f", - "message": "Update entry.client and disable vite legacy mode (#8851)", - "pr": "8851" - }, - { - "line": "< c7a5b138c43e888b49a20ddddfbf3bbc2ab2c00d experimental feature flag for rsc (#8837)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< c7a5b138c43e888b49a20ddddfbf3bbc2ab2c00d experimental feature flag for rsc (#8837)", - "hash": "c7a5b138c43e888b49a20ddddfbf3bbc2ab2c00d", - "message": "experimental feature flag for rsc (#8837)", - "pr": "8837" - }, - { - "line": "< 056f3b6533dd030504c2c78dfe45e2653cbb8244 chore(deps): update dependency nx to v16.4.1 (#8784)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 056f3b6533dd030504c2c78dfe45e2653cbb8244 chore(deps): update dependency nx to v16.4.1 (#8784)", - "hash": "056f3b6533dd030504c2c78dfe45e2653cbb8244", - "message": "chore(deps): update dependency nx to v16.4.1 (#8784)", - "pr": "8784" - }, - { - "line": "< f22dfbeda624dfb80ce54fde59329f155f29f2e9 React Server Components (RSC) (#8451)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< f22dfbeda624dfb80ce54fde59329f155f29f2e9 React Server Components (RSC) (#8451)", - "hash": "f22dfbeda624dfb80ce54fde59329f155f29f2e9", - "message": "React Server Components (RSC) (#8451)", - "pr": "8451" - }, - { - "line": "< 7a6aea7fed966bcb5deab8b473cf0dfcc36a6547 Use \"import type\" for all types (#8827)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 7a6aea7fed966bcb5deab8b473cf0dfcc36a6547 Use \"import type\" for all types (#8827)", - "hash": "7a6aea7fed966bcb5deab8b473cf0dfcc36a6547", - "message": "Use \"import type\" for all types (#8827)", - "pr": "8827" - }, - { - "line": "< d261819262158179a22d57c7a3c78695c9ef7d0a React 18.3.0-canary-035a41c4e-20230704 (#8826)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< d261819262158179a22d57c7a3c78695c9ef7d0a React 18.3.0-canary-035a41c4e-20230704 (#8826)", - "hash": "d261819262158179a22d57c7a3c78695c9ef7d0a", - "message": "React 18.3.0-canary-035a41c4e-20230704 (#8826)", - "pr": "8826" - }, - { - "line": "< 8b85ad6b3f58855a5b5081cdeef679d7d29f9106 ViteBuildManifest and note about import-attributes (#8818)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8b85ad6b3f58855a5b5081cdeef679d7d29f9106 ViteBuildManifest and note about import-attributes (#8818)", - "hash": "8b85ad6b3f58855a5b5081cdeef679d7d29f9106", - "message": "ViteBuildManifest and note about import-attributes (#8818)", - "pr": "8818" - }, - { - "line": "< 589e87ac61bcc1debd7eeb14a0a94de793e0e893 chore(fw): Adds super:clean command (#8749)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 589e87ac61bcc1debd7eeb14a0a94de793e0e893 chore(fw): Adds super:clean command (#8749)", - "hash": "589e87ac61bcc1debd7eeb14a0a94de793e0e893", - "message": "chore(fw): Adds super:clean command (#8749)", - "pr": "8749" - }, - { - "line": "< 089f80508ddf5fe3d03ac250008becb319416472 Rudimentary CSS check in our smoke tests (#8812)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 089f80508ddf5fe3d03ac250008becb319416472 Rudimentary CSS check in our smoke tests (#8812)", - "hash": "089f80508ddf5fe3d03ac250008becb319416472", - "message": "Rudimentary CSS check in our smoke tests (#8812)", - "pr": "8812" - }, - { - "line": "< 4c51caec60fb84c54d5580944ff8fcfb30d9229a Streaming SSR: Fix build, serve and dev (#8811)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 4c51caec60fb84c54d5580944ff8fcfb30d9229a Streaming SSR: Fix build, serve and dev (#8811)", - "hash": "4c51caec60fb84c54d5580944ff8fcfb30d9229a", - "message": "Streaming SSR: Fix build, serve and dev (#8811)", - "pr": "8811" - }, - { - "line": "< 6da5aaebc614f39374f528daaa27d078ec4c02a2 Add files needed for React Streaming SSR (#8810)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 6da5aaebc614f39374f528daaa27d078ec4c02a2 Add files needed for React Streaming SSR (#8810)", - "hash": "6da5aaebc614f39374f528daaa27d078ec4c02a2", - "message": "Add files needed for React Streaming SSR (#8810)", - "pr": "8810" - }, - { - "line": "< 7cc5564e3b08715f3ea08a478265ac478ccec49f entry.server and entry.client (#8808)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 7cc5564e3b08715f3ea08a478265ac478ccec49f entry.server and entry.client (#8808)", - "hash": "7cc5564e3b08715f3ea08a478265ac478ccec49f", - "message": "entry.server and entry.client (#8808)", - "pr": "8808" - }, - { - "line": "< 8b2a56601e92eab104505ced96f7c30fd442f7e7 Use existing rw-vite-build bin for SSR as well (#8806)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 8b2a56601e92eab104505ced96f7c30fd442f7e7 Use existing rw-vite-build bin for SSR as well (#8806)", - "hash": "8b2a56601e92eab104505ced96f7c30fd442f7e7", - "message": "Use existing rw-vite-build bin for SSR as well (#8806)", - "pr": "8806" - }, - { - "line": "< e7d53610bcd0b7e207e4e5ae55e211f57270cf2a Disable prerender when streamingSsr is enabled (#8775)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e7d53610bcd0b7e207e4e5ae55e211f57270cf2a Disable prerender when streamingSsr is enabled (#8775)", - "hash": "e7d53610bcd0b7e207e4e5ae55e211f57270cf2a", - "message": "Disable prerender when streamingSsr is enabled (#8775)", - "pr": "8775" - }, - { - "line": "< e19107126d5c9a6ad8995aa0235c161b93b10384 vite utils.ts: fix source format (#8796)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< e19107126d5c9a6ad8995aa0235c161b93b10384 vite utils.ts: fix source format (#8796)", - "hash": "e19107126d5c9a6ad8995aa0235c161b93b10384", - "message": "vite utils.ts: fix source format (#8796)", - "pr": "8796" - }, - { - "line": "< 2557bf8d8d338fb752e145c7c5452a1849c7fcc3 Server Rendering & Streaming (#8561)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 2557bf8d8d338fb752e145c7c5452a1849c7fcc3 Server Rendering & Streaming (#8561)", - "hash": "2557bf8d8d338fb752e145c7c5452a1849c7fcc3", - "message": "Server Rendering & Streaming (#8561)", - "pr": "8561" - }, - { - "line": "< 565f62000b327df732b7b7040a1419852225a7d9 React Streaming and SSR feature flag (#8764)", - "ref": "release/minor/v6.1.0", - "type": "commit", - "pretty": "< 565f62000b327df732b7b7040a1419852225a7d9 React Streaming and SSR feature flag (#8764)", - "hash": "565f62000b327df732b7b7040a1419852225a7d9", - "message": "React Streaming and SSR feature flag (#8764)", - "pr": "8764" - } - ], - "noReleaseCommits": 76 -} diff --git a/tasks/release/generateReleaseNotes.mjs b/tasks/release/generateReleaseNotes.mjs new file mode 100644 index 000000000000..0ba4d3e0895e --- /dev/null +++ b/tasks/release/generateReleaseNotes.mjs @@ -0,0 +1,196 @@ +/* eslint-env node */ + +import { parseArgs as _parseArgs } from 'node:util' + +import { fs } from 'zx' + +import { + consoleBoxen, + getMilestones, + getPRsWithMilestone, + prompts, +} from './releaseLib.mjs' + +const coreDependenciesRegex = new RegExp( + [ + '@apollo/client', + 'babel', + 'fastify', + 'prisma', + 'react-hook-form', + 'storybook ', + 'vite', + 'webpack', + 'yarn', + ].join('|') +) + +export async function main() { + let options + + try { + options = await parseArgs() + } catch (e) { + consoleBoxen('👷 Heads up', e.message) + process.exitCode = 1 + return + } + + const { milestone } = options + + let prs = await getPRsWithMilestone(milestone) + + prs = prs + // Sort by when a PR was merged from least recently to most. + .sort( + (a, b) => new Date(a.mergedAt).getTime() - new Date(b.mergedAt).getTime() + ) + .map((pr) => { + // Get the PR's type from its release label. + const releaseLabel = pr.labels.nodes.find((label) => + label.name.startsWith('release:') + ) + + const releaseNotesEntry = [ + `- ${pr.title} #${pr.number} by @${pr.author.login}`, + '', + // Indent the body for proper markdown rendering. + pr.body + .split('\n') + .map((line) => ` ${line}`) + .join('\n'), + ] + .join('\n') + .trim() + + return { + ...pr, + type: releaseLabel.name.replace('release:', ''), + releaseNotesEntry, + } + }) + // Handle docs. + .map((pr) => { + if (pr.type !== 'docs') { + return pr + } + + return { + ...pr, + releaseNotesEntry: `- ${pr.title} #${pr.number} by @${pr.author.login}`, + } + }) + // Handle renovate. + .map((pr) => { + if (pr.author.login !== 'renovate') { + return pr + } + + return { + ...pr, + type: 'dependency', + releaseNotesEntry: `
  • ${pr.title} #${pr.number}
  • `, + } + }) + // Handle core dependencies. + .map((pr) => { + if (!coreDependenciesRegex.test(pr.title)) { + return pr + } + + return { + ...pr, + type: 'core-dependency', + releaseNotesEntry: `- ${pr.title} #${pr.number}`, + } + }) + + // Make an object of release types to PRs: + // + // ```js + // { + // feature: [{ ... }], + // docs: [{ ... }], + // chore: [{ ... }], + // } + // ``` + const releaseTypesToPRs = prs.reduce((releaseTypesToPRs, pr) => { + releaseTypesToPRs[pr.type] ??= [] + releaseTypesToPRs[pr.type].push(pr) + return releaseTypesToPRs + }, {}) + + // Write the release notes. + const releaseNotes = Object.entries(releaseTypesToPRs) + .flatMap(([type, prs]) => { + if (type === 'core-dependency') { + return [ + '## Core Dependencies', + '', + ...prs.map((pr) => pr.releaseNotesEntry), + '', + ] + } + + if (type === 'dependency') { + return [ + '## Dependencies', + '', + '
    ', + 'Click to see all upgraded dependencies', + '
      ', + ...prs.map((pr) => pr.releaseNotesEntry), + '
    ', + '
    ', + '', + ] + } + + return [ + `## ${type}`, + '', + ...prs.flatMap((pr) => [pr.releaseNotesEntry, '']), + ] + }) + .join('\n') + + const filePath = new URL(`./${milestone}_release_notes.md`, import.meta.url) + await fs.writeFile(filePath, releaseNotes) + console.log(`📝 Wrote ${milestone} release notes to ${filePath}`) +} + +main() + +// ─── Helpers ───────────────────────────────────────────────────────────────── + +async function parseArgs() { + const { positionals } = _parseArgs({ + allowPositionals: true, + }) + + let milestone + + if (positionals.length) { + milestone = positionals[0] + } else { + const milestones = await getMilestones() + + const milestoneRes = await prompts({ + name: 'milestone', + message: 'Select a milestone', + type: 'select', + choices: milestones.map((milestone) => { + return { + title: milestone.title, + value: milestone.title, + } + }), + }) + + milestone = milestoneRes.milestone + } + + return { + milestone, + } +} diff --git a/tasks/release/generateReleaseNotesCommand.mjs b/tasks/release/generateReleaseNotesCommand.mjs deleted file mode 100644 index f039ccaef6b4..000000000000 --- a/tasks/release/generateReleaseNotesCommand.mjs +++ /dev/null @@ -1,205 +0,0 @@ -/* eslint-env node */ - -import fs from 'node:fs' -import path from 'node:path' -import { fileURLToPath } from 'node:url' - -import { Octokit } from 'octokit' -import { chalk } from 'zx' - -import { getMilestone } from './releaseLib.mjs' - -export const command = 'generate-release-notes ' -export const description = 'Generate release notes for a milestone' - -export function builder(yargs) { - yargs.positional('milestone', { - describe: 'The milestone to generate release notes for', - type: 'string', - }) -} - -export async function handler({ milestone }) { - if (!process.env.GITHUB_TOKEN) { - console.log('You have to set the GITHUB_TOKEN env var') - process.exit(1) - } - - const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }) - - const { title, id } = await getMilestone.call({ octokit }, milestone) - - const prs = await getPRsWithMilestone.call({ octokit }, { milestoneId: id }) - - prs.sort( - (a, b) => new Date(a.mergedAt).getTime() - new Date(b.mergedAt).getTime() - ) - - const coreDependenciesRegex = new RegExp( - [ - '@apollo/client', - 'fastify', - 'prisma', - 'react-hook-form', - 'storybook ', - 'yarn', - ].join('|') - ) - - const { - breaking, - features, - fixed, - docs, - coreDependencies, - chore, - dependencies, - rest, - } = prs.reduce( - (obj, pr) => { - if (pr.author.login === 'renovate') { - if (coreDependenciesRegex.test(pr.title)) { - obj.coreDependencies.push(`- ${pr.title} #${pr.number}`) - } - - obj.dependencies.push(`
  • ${pr.title} #${pr.number}
  • `) - return obj - } - - const labels = pr.labels.nodes.map((label) => label.name) - - if (labels.includes('release:feature-breaking')) { - obj.breaking.push(`- ${formatPR(pr)}`) - return obj - } - - if (labels.includes('release:feature')) { - obj.features.push(`- ${formatPR(pr)}`) - return obj - } - - if (labels.includes('release:fix')) { - obj.fixed.push(`- ${formatPR(pr)}`) - return obj - } - - if (labels.includes('release:chore')) { - obj.chore.push(`- ${formatPR(pr)}`) - return obj - } - - if (labels.includes('release:docs')) { - obj.docs.push(`- ${formatPR(pr)}`) - return obj - } - - obj.rest.push(`- ${formatPR(pr)}`) - - return obj - }, - { - breaking: [], - features: [], - fixed: [], - docs: [], - coreDependencies: [], - chore: [], - dependencies: [], - rest: [], - } - ) - - const file = path.join( - path.dirname(fileURLToPath(import.meta.url)), - `${title}-release-notes.md` - ) - - const releaseNotes = [ - '# Changelog', - '', - ...(breaking.length ? ['## Breaking', '', ...breaking, ''] : []), - ...(features.length ? ['## Features', '', ...features, ''] : []), - ...(fixed.length ? ['## Fixed', '', ...fixed, ''] : []), - ...(docs.length ? ['## Docs', '', ...docs, ''] : []), - ...(chore.length ? ['## Chore', '', ...chore, ''] : []), - ...(coreDependencies.length - ? ['## Core dependencies', '', ...coreDependencies, ''] - : []), - ...(dependencies.length - ? [ - '## Dependencies', - '', - '
    ', - 'Click to see all upgraded dependencies', - '
      ', - ...dependencies, - '
    ', - '
    ', - '', - ] - : []), - ...(rest.length ? ['## Rest', '', ...rest, ''] : []), - ].join('\n') - - fs.writeFileSync(file, releaseNotes) - - console.log( - `Wrote ${chalk.magenta(milestone)} release notes to ${chalk.magenta(file)}` - ) -} - -async function getPRsWithMilestone({ milestoneId, after }) { - const { - node: { pullRequests }, - } = await this.octokit.graphql(getPRsWithMilestoneQuery, { - milestoneId, - after, - }) - - if (!pullRequests.pageInfo.hasNextPage) { - return pullRequests.nodes - } - - const nodes = await getPRsWithMilestone.call( - { octokit: this.octokit }, - { - milestoneId, - after: pullRequests.pageInfo.endCursor, - } - ) - - return [...pullRequests.nodes, ...nodes] -} - -export const getPRsWithMilestoneQuery = ` - query GetPRsWithMilestoneQuery($milestoneId: ID!, $after: String) { - node(id: $milestoneId) { - ... on Milestone { - pullRequests(first: 100, after: $after) { - pageInfo { - hasNextPage - endCursor - } - nodes { - number - title - author { - login - } - mergedAt - labels(first: 10) { - nodes { - name - } - } - } - totalCount - } - } - } - } -` - -function formatPR(pr) { - return `${pr.title} #${pr.number} by @${pr.author.login}` -} diff --git a/tasks/release/getReleaseCommitsCommand.mjs b/tasks/release/getReleaseCommitsCommand.mjs deleted file mode 100644 index 74d48507a336..000000000000 --- a/tasks/release/getReleaseCommitsCommand.mjs +++ /dev/null @@ -1,49 +0,0 @@ -/* eslint-env node */ - -import { chalk } from 'zx' - -import { getReleaseCommits, logSection, consoleBoxen } from './releaseLib.mjs' - -export const command = 'get-release-commits' -export const description = 'Get release commits' - -export function builder(yargs) { - return yargs.option('cache', { - description: 'Use the cache if it exists', - type: 'boolean', - default: true, - }) -} - -export async function handler({ cache }) { - const { commits, tagsToColors, noReleaseCommits } = await getReleaseCommits({ - useCache: cache, - }) - - !cache && logSection(`Print\n`) - - const tagsToColorsKey = Object.entries(tagsToColors) - .filter(([tag]) => - commits - .filter(({ type }) => type === 'commit') - .some(({ ref }) => ref === tag) - ) - .map(([tag, color]) => { - color = chalk.hex(color).dim - return `${color('■')} Cherry picked into ${color(tag)}` - }) - - consoleBoxen( - '🚢 Release commits', - `${chalk.magenta(noReleaseCommits)} commits in this release` - ) - console.log() - consoleBoxen( - '🔑 Key', - [...tagsToColorsKey, `${chalk.dim('■')} UI, chore, or tag (ignore)`].join( - '\n' - ) - ) - console.log() - console.log([...commits.map((commit) => commit.pretty)].join('\n')) -} diff --git a/tasks/release/jest.config.js b/tasks/release/jest.config.js new file mode 100644 index 000000000000..4359cf4c3d2c --- /dev/null +++ b/tasks/release/jest.config.js @@ -0,0 +1,16 @@ +// Don't forget to pass the `--experimental-vm-modules` flag: +// +// ``` +// yarn node --experimental-vm-modules $(yarn bin jest) +// ``` + +/** @type {import('jest').Config} */ +const config = { + rootDir: '.', + + // For ESM. + transform: {}, + testMatch: ['/tests/*.test.mjs'], +} + +module.exports = config diff --git a/tasks/release/prMilestoneCache.json b/tasks/release/prMilestoneCache.json new file mode 100644 index 000000000000..664555d6dad4 --- /dev/null +++ b/tasks/release/prMilestoneCache.json @@ -0,0 +1,273 @@ +{ + "https://github.com/redwoodjs/redwood/pull/9154": "RSC", + "https://github.com/redwoodjs/redwood/pull/9162": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9194": "RSC", + "https://github.com/redwoodjs/redwood/pull/9203": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9294": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9295": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9327": "chore", + "https://github.com/redwoodjs/redwood/pull/9293": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9421": "next-release", + "https://github.com/redwoodjs/redwood/pull/9442": "next-release", + "https://github.com/redwoodjs/redwood/pull/9445": "next-release", + "https://github.com/redwoodjs/redwood/pull/9461": "chore", + "https://github.com/redwoodjs/redwood/pull/9459": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9452": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9450": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9469": "next-release", + "https://github.com/redwoodjs/redwood/pull/9479": "chore", + "https://github.com/redwoodjs/redwood/pull/9481": "chore", + "https://github.com/redwoodjs/redwood/pull/9491": "next-release", + "https://github.com/redwoodjs/redwood/pull/9497": "next-release", + "https://github.com/redwoodjs/redwood/pull/9503": "next-release", + "https://github.com/redwoodjs/redwood/pull/9489": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9505": "next-release", + "https://github.com/redwoodjs/redwood/pull/9515": "chore", + "https://github.com/redwoodjs/redwood/pull/9512": "chore", + "https://github.com/redwoodjs/redwood/pull/9509": "chore", + "https://github.com/redwoodjs/redwood/pull/9518": "chore", + "https://github.com/redwoodjs/redwood/pull/9506": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9524": "chore", + "https://github.com/redwoodjs/redwood/pull/9526": "chore", + "https://github.com/redwoodjs/redwood/pull/9534": "chore", + "https://github.com/redwoodjs/redwood/pull/9531": "chore", + "https://github.com/redwoodjs/redwood/pull/9538": "next-release", + "https://github.com/redwoodjs/redwood/pull/9543": "next-release", + "https://github.com/redwoodjs/redwood/pull/9342": "next-release", + "https://github.com/redwoodjs/redwood/pull/9416": "next-release", + "https://github.com/redwoodjs/redwood/pull/9546": "chore", + "https://github.com/redwoodjs/redwood/pull/9553": "RSC", + "https://github.com/redwoodjs/redwood/pull/9559": "chore", + "https://github.com/redwoodjs/redwood/pull/9391": "v6.4.1", + "https://github.com/redwoodjs/redwood/pull/9566": "next-release", + "https://github.com/redwoodjs/redwood/pull/9563": "next-release", + "https://github.com/redwoodjs/redwood/pull/9557": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9564": "next-release", + "https://github.com/redwoodjs/redwood/pull/9562": "next-release", + "https://github.com/redwoodjs/redwood/pull/9569": "next-release", + "https://github.com/redwoodjs/redwood/pull/9571": "next-release", + "https://github.com/redwoodjs/redwood/pull/9558": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9588": "RSC", + "https://github.com/redwoodjs/redwood/pull/9589": "next-release", + "https://github.com/redwoodjs/redwood/pull/9592": "RSC", + "https://github.com/redwoodjs/redwood/pull/9597": "next-release", + "https://github.com/redwoodjs/redwood/pull/9598": "next-release", + "https://github.com/redwoodjs/redwood/pull/9601": "next-release", + "https://github.com/redwoodjs/redwood/pull/9603": "next-release", + "https://github.com/redwoodjs/redwood/pull/9600": "next-release", + "https://github.com/redwoodjs/redwood/pull/9602": "next-release", + "https://github.com/redwoodjs/redwood/pull/9596": "next-release", + "https://github.com/redwoodjs/redwood/pull/9608": "next-release", + "https://github.com/redwoodjs/redwood/pull/9607": "next-release", + "https://github.com/redwoodjs/redwood/pull/9606": "next-release", + "https://github.com/redwoodjs/redwood/pull/9609": "next-release", + "https://github.com/redwoodjs/redwood/pull/9595": "next-release-patch", + "https://github.com/redwoodjs/redwood/pull/9611": "RSC", + "https://github.com/redwoodjs/redwood/pull/9593": "RSC", + "https://github.com/redwoodjs/redwood/pull/9140": "next-release", + "https://github.com/redwoodjs/redwood/pull/9380": "chore", + "https://github.com/redwoodjs/redwood/pull/9395": "chore", + "https://github.com/redwoodjs/redwood/pull/9468": "next-release", + "https://github.com/redwoodjs/redwood/pull/9350": "v6.3.3", + "https://github.com/redwoodjs/redwood/pull/8984": "v6.1.0", + "https://github.com/redwoodjs/redwood/pull/9124": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9132": "RSC", + "https://github.com/redwoodjs/redwood/pull/9413": "RSC", + "https://github.com/redwoodjs/redwood/pull/9142": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9155": "RSC", + "https://github.com/redwoodjs/redwood/pull/9394": "chore", + "https://github.com/redwoodjs/redwood/pull/9292": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9390": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9403": "next-release", + "https://github.com/redwoodjs/redwood/pull/9248": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9389": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9325": "chore", + "https://github.com/redwoodjs/redwood/pull/9449": "next-release", + "https://github.com/redwoodjs/redwood/pull/9331": "RSC", + "https://github.com/redwoodjs/redwood/pull/9064": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9490": "next-release", + "https://github.com/redwoodjs/redwood/pull/9430": "next-release", + "https://github.com/redwoodjs/redwood/pull/9114": "v6.1.1", + "https://github.com/redwoodjs/redwood/pull/9477": "next-release", + "https://github.com/redwoodjs/redwood/pull/9410": "RSC", + "https://github.com/redwoodjs/redwood/pull/9387": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9443": "next-release", + "https://github.com/redwoodjs/redwood/pull/9163": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9256": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9426": "next-release", + "https://github.com/redwoodjs/redwood/pull/9192": "RSC", + "https://github.com/redwoodjs/redwood/pull/9009": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9367": "RSC", + "https://github.com/redwoodjs/redwood/pull/9317": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9348": "chore", + "https://github.com/redwoodjs/redwood/pull/9470": "next-release", + "https://github.com/redwoodjs/redwood/pull/9095": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9473": "next-release", + "https://github.com/redwoodjs/redwood/pull/9424": "next-release", + "https://github.com/redwoodjs/redwood/pull/9511": "chore", + "https://github.com/redwoodjs/redwood/pull/9307": "chore", + "https://github.com/redwoodjs/redwood/pull/9250": "v6.3.2", + "https://github.com/redwoodjs/redwood/pull/9280": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9451": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/8578": "chore", + "https://github.com/redwoodjs/redwood/pull/9454": "next-release", + "https://github.com/redwoodjs/redwood/pull/9206": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9088": "chore", + "https://github.com/redwoodjs/redwood/pull/9042": "chore", + "https://github.com/redwoodjs/redwood/pull/9159": "v6.2.1", + "https://github.com/redwoodjs/redwood/pull/9133": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9475": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9167": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9103": "chore", + "https://github.com/redwoodjs/redwood/pull/9182": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9382": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9332": "RSC", + "https://github.com/redwoodjs/redwood/pull/9164": "RSC", + "https://github.com/redwoodjs/redwood/pull/9102": "chore", + "https://github.com/redwoodjs/redwood/pull/9476": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9444": "next-release", + "https://github.com/redwoodjs/redwood/pull/9086": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9228": "v6.3.1", + "https://github.com/redwoodjs/redwood/pull/9109": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9047": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9196": "RSC", + "https://github.com/redwoodjs/redwood/pull/9379": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9093": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9233": "RSC", + "https://github.com/redwoodjs/redwood/pull/9037": "v6.3.3", + "https://github.com/redwoodjs/redwood/pull/9412": "RSC", + "https://github.com/redwoodjs/redwood/pull/9423": "chore", + "https://github.com/redwoodjs/redwood/pull/9401": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9488": "next-release", + "https://github.com/redwoodjs/redwood/pull/9480": "next-release", + "https://github.com/redwoodjs/redwood/pull/9474": "next-release", + "https://github.com/redwoodjs/redwood/pull/9453": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9411": "RSC", + "https://github.com/redwoodjs/redwood/pull/9447": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9521": "chore", + "https://github.com/redwoodjs/redwood/pull/9529": "chore", + "https://github.com/redwoodjs/redwood/pull/9381": "chore", + "https://github.com/redwoodjs/redwood/pull/9536": "chore", + "https://github.com/redwoodjs/redwood/pull/9539": "chore", + "https://github.com/redwoodjs/redwood/pull/9359": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/8572": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9460": "chore", + "https://github.com/redwoodjs/redwood/pull/9428": "chore", + "https://github.com/redwoodjs/redwood/pull/9115": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9020": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9431": "next-release", + "https://github.com/redwoodjs/redwood/pull/9527": "chore", + "https://github.com/redwoodjs/redwood/pull/9456": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9254": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9493": "next-release", + "https://github.com/redwoodjs/redwood/pull/9128": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9193": "chore", + "https://github.com/redwoodjs/redwood/pull/9487": "next-release", + "https://github.com/redwoodjs/redwood/pull/8912": "v6.1.0", + "https://github.com/redwoodjs/redwood/pull/9457": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9094": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9441": "next-release", + "https://github.com/redwoodjs/redwood/pull/9087": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9074": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9113": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9202": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9406": "next-release", + "https://github.com/redwoodjs/redwood/pull/9029": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9213": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9383": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9186": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9330": "RSC", + "https://github.com/redwoodjs/redwood/pull/9100": "chore", + "https://github.com/redwoodjs/redwood/pull/9336": "chore", + "https://github.com/redwoodjs/redwood/pull/9147": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9125": "v6.2.1", + "https://github.com/redwoodjs/redwood/pull/8913": "v6.1.0", + "https://github.com/redwoodjs/redwood/pull/9333": "RSC", + "https://github.com/redwoodjs/redwood/pull/9160": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9298": "v6.3.3", + "https://github.com/redwoodjs/redwood/pull/9407": "next-release", + "https://github.com/redwoodjs/redwood/pull/9184": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9310": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9092": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9397": "chore", + "https://github.com/redwoodjs/redwood/pull/9145": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9038": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9420": "next-release", + "https://github.com/redwoodjs/redwood/pull/9098": "chore", + "https://github.com/redwoodjs/redwood/pull/9185": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9214": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9212": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9173": "chore", + "https://github.com/redwoodjs/redwood/pull/9174": "v6.2.2", + "https://github.com/redwoodjs/redwood/pull/9157": "RSC", + "https://github.com/redwoodjs/redwood/pull/9129": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9153": "RSC", + "https://github.com/redwoodjs/redwood/pull/9166": "chore", + "https://github.com/redwoodjs/redwood/pull/9482": "next-release", + "https://github.com/redwoodjs/redwood/pull/9281": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9455": "next-release", + "https://github.com/redwoodjs/redwood/pull/9324": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9438": "next-release", + "https://github.com/redwoodjs/redwood/pull/9334": "chore", + "https://github.com/redwoodjs/redwood/pull/9360": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9260": "v6.3.2", + "https://github.com/redwoodjs/redwood/pull/9181": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9393": "chore", + "https://github.com/redwoodjs/redwood/pull/9417": "chore", + "https://github.com/redwoodjs/redwood/pull/9187": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9024": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9404": "next-release", + "https://github.com/redwoodjs/redwood/pull/9326": "chore", + "https://github.com/redwoodjs/redwood/pull/9458": "next-release", + "https://github.com/redwoodjs/redwood/pull/9349": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9091": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9030": "v6.1.0", + "https://github.com/redwoodjs/redwood/pull/9101": "chore", + "https://github.com/redwoodjs/redwood/pull/9523": "chore", + "https://github.com/redwoodjs/redwood/pull/9191": "RSC", + "https://github.com/redwoodjs/redwood/pull/9400": "chore", + "https://github.com/redwoodjs/redwood/pull/9180": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9161": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9099": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9089": "chore", + "https://github.com/redwoodjs/redwood/pull/9016": "v6.1.0", + "https://github.com/redwoodjs/redwood/pull/9344": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9134": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9144": "v6.2.1", + "https://github.com/redwoodjs/redwood/pull/9106": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9082": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9175": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9328": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9085": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9021": "v7.0.0", + "https://github.com/redwoodjs/redwood/pull/9058": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9090": "v6.2.0", + "https://github.com/redwoodjs/redwood/pull/9200": "v6.2.3", + "https://github.com/redwoodjs/redwood/pull/9065": "v6.1.1", + "https://github.com/redwoodjs/redwood/pull/9123": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9239": "next-release", + "https://github.com/redwoodjs/redwood/pull/9255": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9208": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9126": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9418": "v6.4.0", + "https://github.com/redwoodjs/redwood/pull/9211": "v6.3.0", + "https://github.com/redwoodjs/redwood/pull/9464": "chore", + "https://github.com/redwoodjs/redwood/pull/9392": "chore", + "https://github.com/redwoodjs/redwood/pull/9197": "RSC", + "https://github.com/redwoodjs/redwood/pull/9612": "chore", + "https://github.com/redwoodjs/redwood/pull/9615": "next-release", + "https://github.com/redwoodjs/redwood/pull/9616": "next-release", + "https://github.com/redwoodjs/redwood/pull/9617": "next-release", + "https://github.com/redwoodjs/redwood/pull/9618": "RSC", + "https://github.com/redwoodjs/redwood/pull/9614": "v6.4.2", + "https://github.com/redwoodjs/redwood/pull/9629": "v6.5.0", + "https://github.com/redwoodjs/redwood/pull/9628": "v6.5.0", + "https://github.com/redwoodjs/redwood/pull/9627": "v6.5.0", + "https://github.com/redwoodjs/redwood/pull/9626": "v6.5.0", + "https://github.com/redwoodjs/redwood/pull/9625": "v6.5.0", + "https://github.com/redwoodjs/redwood/pull/9622": "RSC", + "https://github.com/redwoodjs/redwood/pull/9630": "RSC", + "https://github.com/redwoodjs/redwood/pull/9567": "next-release", + "https://github.com/redwoodjs/redwood/pull/9624": "next-release-patch", + "https://github.com/redwoodjs/redwood/pull/9635": "chore" +} diff --git a/tasks/release/release.mjs b/tasks/release/release.mjs new file mode 100644 index 000000000000..3be51a42d06a --- /dev/null +++ b/tasks/release/release.mjs @@ -0,0 +1,764 @@ +/* eslint-env node */ + +import { fileURLToPath } from 'node:url' +import { parseArgs as _parseArgs } from 'node:util' + +import execa from 'execa' +import semverPackage from 'semver' +import { cd, chalk, fs, path, question, $ } from 'zx' + +import { + branchExists, + branchExistsOnRedwoodRemote, + consoleBoxen, + getOctokit, + getLatestRelease, + getMilestones, + getPRsWithMilestone, + getRedwoodRemote, + getSpinner, + isYes, + prompts, + unwrap, + setVerbosity, + findUp, +} from './releaseLib.mjs' + +let octokit +let semver +let latestRelease +let nextRelease +let milestone +let releaseBranch +let redwoodRemote + +const compareURL = 'https://github.com/redwoodjs/redwood/compare' + +export async function main() { + const options = parseArgs() + + const { verbose } = options + setVerbosity(verbose) + + try { + await doChecks() + } catch (e) { + consoleBoxen('👷 Heads up', e.message) + process.exitCode = 1 + return + } + + try { + // We'll be making requests to GitHub for PRs. While this data isn't private, we could get rate-limited without a token. + octokit = await getOctokit() + + const result = await getRedwoodRemote() + $.verbose && console.log() + + if (result.error) { + throw new Error(result.error) + } + + redwoodRemote = result.redwoodRemote + } catch (e) { + consoleBoxen('👷 Heads up', e.message) + process.exitCode = 1 + return + } + + const semverPromptRes = await prompts({ + name: 'semver', + message: 'Which semver do you want to release?', + type: 'select', + + choices: [{ value: 'major' }, { value: 'minor' }, { value: 'patch' }], + // `initial` is set to `patch` because that's the most common. + initial: 2, + }) + + semver = semverPromptRes.semver + + latestRelease = await getLatestRelease() + + exitIfNo( + await question( + `The latest release is ${chalk.magenta(latestRelease)}? [Y/n] > ` + ) + ) + + nextRelease = `v${semverPackage.inc(latestRelease, semver)}` + + exitIfNo( + await question( + `The next release is ${chalk.magenta(nextRelease)}? [Y/n] > ` + ) + ) + + // If the git tag for the desired semver already exists, this script was run before, but not to completion. + // The git tag is one of the last steps, so we need it to be deleted first. + const gitTagAlreadyExists = unwrap(await $`git tag -l ${nextRelease}`) + + if (gitTagAlreadyExists) { + consoleBoxen( + '🐙 The git tag already exists', + [ + `The git tag ${chalk.magenta( + nextRelease + )} already exists locally. You have to fix this before continuing.`, + "here's how you fix it...", + ].join('\n') + ) + + process.exitCode = 1 + return + } + + // We use milestones to keep track of where commits are supposed to land in a release. Let's double check that everything lines up. + await resolveMilestones() + console.log() + + switch (semver) { + case 'major': + case 'minor': + await releaseMajorOrMinor() + break + case 'patch': + await releasePatch() + break + } +} + +main() + +// ─── Helpers ───────────────────────────────────────────────────────────────── + +async function doChecks() { + // Check Node.js version. Right now, v18.19 breaks one of our tests. + const nodeVersion = unwrap(await $`node -v`) + + if (nodeVersion.startsWith('v20')) { + throw new Error( + [ + 'The framework is currently built for v18; running QA with v20 may cause issues.', + 'Switch to v18.18.2.', + ].join('\n') + ) + } + + if (nodeVersion.startsWith('v18.19')) { + throw new Error( + [ + 'Node.js v18.19 currently has a breaking change that makes one of our tests fail.', + 'Switch to v18.18.2.', + ].join('\n') + ) + } +} + +function parseArgs() { + const { values } = _parseArgs({ + options: { + verbose: { + type: 'boolean', + short: 'v', + default: false, + }, + }, + }) + + return values +} + +// ─── Milestone Helpers ─────────────────────────────────────────────────────── + +async function resolveMilestones() { + // Handle PRs that have been merged without a milestone. We have a check in CI for this, so it really shouldn't happen. + // But if it does, we handle it here. + const { + search: { nodes: mergedPRsNoMilestone }, + } = await octokit.graphql(` + { + search( + query: "repo:redwoodjs/redwood is:pr is:merged no:milestone" + first: 5 + type: ISSUE + ) { + nodes { + ... on PullRequest { + id + } + } + } + } + `) + + if (mergedPRsNoMilestone.length) { + console.log( + [ + '', + '🤔 It looks like there are some PRs that were merged without a milestone.', + 'Since we use milestones to indicate which release a PR is supposed to land in, this could be a problem. 😬', + '', + ].join('\n') + ) + + await question( + 'Press anything to open PRs that were merged without a milestone > ' + ) + await $`open https://github.com/redwoodjs/redwood/pulls?q=is%3Apr+is%3Amerged+no%3Amilestone` + await question( + 'Take some time to fix this, then press anything to continue > ' + ) + } + + // Depending on if we're releasing a patch or not, there's a few things we need to check. + const { + search: { nodes: prs }, + } = await octokit.graphql(` + { + search( + query: "repo:redwoodjs/redwood is:pr is:merged milestone:next-release-patch" + first: 5 + type: ISSUE + ) { + nodes { + ... on PullRequest { + id + } + } + } + } + `) + + if (semver === 'patch') { + console.log() + console.log( + `There's ${prs.length} PR(s) that have the ${chalk.magenta( + 'next-release-patch' + )} milestone.` + ) + + if ( + !isYes( + await question( + `Did you update the milestone of the PRs you plan to include in the patch to ${chalk.magenta( + 'next-release-patch' + )}? [Y/n] > ` + ) + ) + ) { + await question('Press anything to open a view of all the milestones > ') + await $`open https://github.com/redwoodjs/redwood/milestones` + await question( + `Take some time to fix this, then press anything to continue > ` + ) + } + } else { + if (prs.length) { + console.log() + console.log( + `If you're not releasing a patch, there probably shouldn't be any merged PRs with the ${chalk.magenta( + 'next-release-patch' + )} milestone.` + ) + + await question( + `Press anything to open merged PRs with the ${chalk.magenta( + 'next-release-patch' + )} milestone > ` + ) + await $`open https://github.com/redwoodjs/redwood/pulls?q=is%3Apr+is%3Amerged+milestone%3Anext-release-patch` + await question( + `Take some time to fix this, then press anything to continue > ` + ) + } + } + + // Now that all our ducks are in a row, we can change the milestone of the PRs we're releasing to the release milestone. + // If we're releasing a patch, the "from" milestone is `next-release-patch`. Otherwise, it's `next-release`. + const fromTitle = ['next-release', semver === 'patch' && 'patch'] + .filter(Boolean) + .join('-') + + const fromTitlePRs = await getPRsWithMilestone(fromTitle) + + if (fromTitlePRs.length) { + if ( + isYes( + await question( + `Ok to update ${ + fromTitlePRs.length + } PRs' milestone from ${chalk.magenta(fromTitle)} to ${chalk.magenta( + nextRelease + )}? [Y/n] > ` + ) + ) + ) { + const milestones = await getMilestones() + milestone = milestones.find(({ title }) => title === nextRelease) + + if (!milestone) { + milestone = await createMilestone(nextRelease) + } + + console.log() + + await Promise.all( + fromTitlePRs.map((milestonePR) => { + process.stdout.write( + `Updating #${milestonePR.number} ${milestonePR.title}\n` + ) + return updatePRMilestone(milestonePR.id, milestone.id) + }) + ) + } + } +} + +/** + * @param {string} title + */ +async function createMilestone(title) { + // There's no GraphQL mutation for this. + const { + data: { node_id: id, number }, + } = await octokit.request('POST /repos/{owner}/{repo}/milestones', { + owner: 'redwoodjs', + repo: 'redwood', + title, + }) + + return { title, id, number } +} + +function updatePRMilestone(prId, milestoneId) { + return octokit.graphql( + ` + mutation UpdatePRMilestone($pullRequestId: ID!, $milestoneId: ID!) { + updatePullRequest( + input: { pullRequestId: $pullRequestId, milestoneId: $milestoneId } + ) { + clientMutationId + } + } + `, + { + pullRequestId: prId, + milestoneId, + } + ) +} + +// ─── Release Helpers ───────────────────────────────────────────────────────── + +async function releaseMajorOrMinor() { + releaseBranch = ['release', semver, nextRelease].join('/') + const releaseBranchExists = await branchExists(releaseBranch) + const checkoutFromBranch = semver === 'major' ? 'main' : 'next' + + if (releaseBranchExists) { + console.log( + `Checking out the existing ${chalk.magenta(releaseBranch)} release branch` + ) + await $`git checkout ${releaseBranch}` + } else { + exitIfNo( + await question( + `Ok to checkout a new release branch, ${chalk.magenta( + releaseBranch + )}, from the ${chalk.magenta(checkoutFromBranch)}? [Y/n] > ` + ) + ) + await $`git checkout -b ${releaseBranch} ${checkoutFromBranch}` + } + + $.verbose && console.log() + await versionDocs() + $.verbose && console.log() + await cleanInstallUpdate() + $.verbose && console.log() + await runQA() + $.verbose && console.log() + + exitIfNo( + await question(`Everything passed local QA. Ok to publish to NPM? [Y/n] > `) + ) + + // Temporarily remove `packages/create-redwood-app` from the workspaces field + // so that we can publish it separately later. + await removeCreateRedwoodAppFromWorkspaces() + console.log() + + // Publish. + try { + await execa.command('yarn lerna publish from-package', { stdio: 'inherit' }) + } catch { + exitIfNo( + await question( + 'Publishing failed. You can usually recover from this by running `yarn lerna publish from-package` again. Continue? [Y/n] > ' + ) + ) + } + console.log() + + // Undo the temporary commit and publish CRWA. + await $`git reset --hard HEAD~1` + await updateCreateRedwoodAppTemplates() + console.log() + try { + await execa.command('yarn lerna publish from-package', { stdio: 'inherit' }) + } catch { + exitIfNo( + await question( + 'Publishing failed. You can usually recover from this by running `yarn lerna publish from-package` again. Continue? [Y/n] > ' + ) + ) + } + console.log() + + // Clean up commits and push. This combines the update package versions commit and update CRWA commit into one. + await $`git reset --soft HEAD~2` + await $`git commit -m "${nextRelease}"` + await $`git tag -am ${nextRelease} "${nextRelease}"` + await $`git push -u ${redwoodRemote} ${releaseBranch} --follow-tags` + + console.log() + console.log(`🚀 Released ${chalk.green(nextRelease)}`) + console.log() + + if (milestone) { + await closeMilestone(milestone.number) + } + + console.log( + [ + 'Only a few more things to do:', + ' - publish the release notes', + ' - merge the release branch into next and push the merge commit', + ' - Delete the release branch locally and on GitHub (https://github.com/redwoodjs/redwood/branches)', + ' - post on Slack, Discord, and Buffer', + ].join('\n') + ) +} + +async function versionDocs() { + if ( + !isYes( + await question( + `Ok to version docs to ${chalk.magenta(nextRelease)}? [Y/n] > ` + ) + ) + ) { + return + } + + const nextDocsVersion = nextRelease.slice(1, -2) + + const spinner = getSpinner('Versioning docs') + await cd('./docs') + + if (fs.existsSync(`./versioned_docs/version-${nextDocsVersion}`)) { + await $`rm -rf ./versioned_docs/version-${nextDocsVersion}` + + const versions = await fs.readJSON('./versions.json') + await fs.writeJSON('./versions.json', versions.slice(1)) + } + + await $`yarn` + await $`yarn clear` + await $`yarn docusaurus docs:version ${nextDocsVersion}` + await $`git add .` + await $`git commit -m "Version docs to ${nextDocsVersion}"` + await cd('../') + spinner.stop() +} + +async function cleanInstallUpdate() { + exitIfNo( + await question( + `Ok to clean, install, and update package versions? [Y/n] > ` + ) + ) + + const spinner = getSpinner('Cleaning') + await $`git clean -fxd` + + spinner.text = 'Installing' + await $`yarn install` + + spinner.text = 'Updating package versions' + + const lernaVersion = nextRelease.replace('v', '') + await $`yarn lerna version ${lernaVersion} --force-publish --no-push --no-git-tag-version --exact --yes` + + const cwd = path.dirname(findUp('lerna.json')) + + spinner.text = 'Updating CRWA templates...' + + const tsTemplatePath = path.join( + cwd, + 'packages/create-redwood-app/templates/ts' + ) + updateRWJSPkgsVersion(tsTemplatePath, lernaVersion) + updateRWJSPkgsVersion(path.join(tsTemplatePath, 'api'), lernaVersion) + updateRWJSPkgsVersion(path.join(tsTemplatePath, 'web'), lernaVersion) + $.verbose && console.log() + + const jsTemplatePath = path.join( + cwd, + 'packages/create-redwood-app/templates/js' + ) + updateRWJSPkgsVersion(jsTemplatePath, lernaVersion) + updateRWJSPkgsVersion(path.join(jsTemplatePath, 'api'), lernaVersion) + updateRWJSPkgsVersion(path.join(jsTemplatePath, 'web'), lernaVersion) + $.verbose && console.log() + + spinner.text = 'Updating test-project fixture...' + + const fixturePath = path.join(cwd, '__fixtures__/test-project') + updateRWJSPkgsVersion(fixturePath, lernaVersion) + updateRWJSPkgsVersion(path.join(fixturePath, 'api'), lernaVersion) + updateRWJSPkgsVersion(path.join(fixturePath, 'web'), lernaVersion) + $.verbose && console.log() + + spinner.text = 'Installing' + await $`yarn install` + spinner.stop() + + $.verbose && console.log() + + await $`git commit -am "chore: update package versions to ${nextRelease}"` +} + +async function runQA() { + exitIfNo(await question(`Ok to run local QA? [Y/n] > `)) + + const spinner = getSpinner('Building') + await $`yarn build` + + spinner.text = 'Linting' + await $`yarn lint` + + spinner.text = 'Testing' + await $`yarn test` + spinner.stop() +} + +async function removeCreateRedwoodAppFromWorkspaces() { + const frameworkPackageConfigPath = fileURLToPath( + new URL('../../package.json', import.meta.url) + ) + + const frameworkPackageConfig = fs.readJSONSync(frameworkPackageConfigPath) + + const packagePaths = (await $`yarn workspaces list --json`).stdout + .trim() + .split('\n') + .map(JSON.parse) + .filter(({ name }) => name) + .map(({ location }) => location) + + frameworkPackageConfig.workspaces = packagePaths.filter( + (packagePath) => packagePath !== 'packages/create-redwood-app' + ) + + fs.writeJSONSync(frameworkPackageConfigPath, frameworkPackageConfig, { + spaces: 2, + }) + + await $`git commit -am "chore: temporary update to workspaces"` +} + +async function updateCreateRedwoodAppTemplates() { + if ( + !isYes( + await question('Ok to update create-redwood-app templates? [Y/n] > ') + ) + ) { + return + } + + const spinner = getSpinner('Updating create-redwood-app templates') + cd('./packages/create-redwood-app/templates/ts') + await $`rm -f yarn.lock` + await $`touch yarn.lock` + await $`yarn install` + + cd('../..') + await $`yarn ts-to-js` + await $`git add .` + await $`git commit -m "chore: update create-redwood-app templates"` + cd('../..') + spinner.stop() +} + +function closeMilestone(number) { + return octokit.request( + 'POST /repos/{owner}/{repo}/milestones/{milestone_number}', + { + owner: 'redwoodjs', + repo: 'redwood', + milestone_number: number, + state: 'closed', + due_on: new Date().toISOString(), + } + ) +} + +async function releasePatch() { + releaseBranch = ['release', 'patch', nextRelease].join('/') + const releaseBranchExists = await branchExists(releaseBranch) + + if (releaseBranchExists) { + console.log( + `Checking out the existing ${chalk.magenta(releaseBranch)} release branch` + ) + await $`git checkout ${releaseBranch}` + } else { + exitIfNo( + await question( + `Ok to checkout a new release branch, ${chalk.magenta( + releaseBranch + )}, from the ${chalk.magenta(latestRelease)} tag? [Y/n] > ` + ) + ) + await $`git checkout -b ${releaseBranch} ${latestRelease}` + } + + if (!(await branchExistsOnRedwoodRemote(releaseBranch, redwoodRemote))) { + await pushAndDiff() + + console.log( + [ + "Time to cherry pick PRs. Here's a few things to keep in mind:", + ' - cherry pick PRs in the same order they were merged', + ' - after cherry picking PRs that change dependencies, run `yarn && yarn check`', + ].join('\n') + ) + + exitIfNo(await question(`Done cherry picking? [Y/n] > `)) + await pushAndDiff() + + exitIfNo(await question(`Does the diff look ok? [Y/n] > `)) + console.log() + } + + await cleanInstallUpdate() + $.verbose && console.log() + await runQA() + $.verbose && console.log() + await versionDocs() + $.verbose && console.log() + + exitIfNo( + await question(`Everything passed local QA. Ok to publish to NPM? [Y/n] > `) + ) + + // Temporarily remove `packages/create-redwood-app` from the workspaces field + // so that we can publish it separately later. + await removeCreateRedwoodAppFromWorkspaces() + console.log() + + // Publish. + try { + await execa.command('yarn lerna publish from-package', { + stdio: 'inherit', + }) + } catch { + exitIfNo( + await question( + 'Publishing failed. You can usually recover from this by running `yarn lerna publish from-package` again. Continue? [Y/n] > ' + ) + ) + } + console.log() + + // Undo the temporary commit and publish CRWA. + await $`git reset --hard HEAD~1` + await updateCreateRedwoodAppTemplates() + console.log() + try { + await execa.command('yarn lerna publish from-package', { stdio: 'inherit' }) + } catch { + exitIfNo( + await question( + 'Publishing failed. You can usually recover from this by running `yarn lerna publish from-package` again. Continue? [Y/n] > ' + ) + ) + } + console.log() + + // Clean up commits and push. This combines the update package versions commit and update CRWA commit into one. + await $`git reset --soft HEAD~2` + await $`git commit -m "${nextRelease}"` + await $`git tag -am ${nextRelease} "${nextRelease}"` + await $`git push -u ${redwoodRemote} ${releaseBranch} --follow-tags` + + console.log() + console.log(`🚀 Released ${chalk.green(nextRelease)}`) + console.log() + + if (milestone) { + await closeMilestone(milestone.number) + } + + console.log( + [ + 'Only a few more things to do:', + ' - publish the release notes', + ' - merge the release branch into next and push the merge commit', + ' - delete the release branch locally and on GitHub (https://github.com/redwoodjs/redwood/branches)', + ' - post on Slack, Discord, and Buffer', + ].join('\n') + ) +} + +async function pushAndDiff() { + exitIfNo( + await question( + `Ok to push ${chalk.magenta( + releaseBranch + )} to GitHub and open the diff? [Y/n] > ` + ) + ) + + await $`git push -u ${redwoodRemote} ${releaseBranch}` + await $`open ${compareURL}/${latestRelease}...${releaseBranch}` +} + +async function exitIfNo(answer, { code } = { code: 1 }) { + if (isYes(answer)) { + return + } + + process.exit(code) +} + +/** + * Iterates over `@redwoodjs/*` dependencies in a package.json and updates their version. + * + * @param {string} pkgPath + * @param {string} version + */ +function updateRWJSPkgsVersion(pkgPath, version) { + const pkg = fs.readJSONSync(path.join(pkgPath, 'package.json'), 'utf-8') + + for (const dep of Object.keys(pkg.dependencies ?? {}).filter(isRWJSPkg)) { + console.log(` - ${dep}: ${pkg.dependencies[dep]} => ${version}`) + pkg.dependencies[dep] = `${version}` + } + + for (const dep of Object.keys(pkg.devDependencies ?? {}).filter(isRWJSPkg)) { + console.log(` - ${dep}: ${pkg.devDependencies[dep]} => ${version}`) + pkg.devDependencies[dep] = `${version}` + } + + for (const dep of Object.keys(pkg.peerDependencies ?? {}).filter(isRWJSPkg)) { + console.log(` - ${dep}: ${pkg.devDependencies[dep]} => ${version}`) + pkg.devDependencies[dep] = `${version}` + } + + fs.writeJSONSync(path.join(pkgPath, 'package.json'), pkg, { spaces: 2 }) +} + +const isRWJSPkg = (pkg) => pkg.startsWith('@redwoodjs/') diff --git a/tasks/release/releaseCLI.mjs b/tasks/release/releaseCLI.mjs deleted file mode 100644 index b7f6c687f971..000000000000 --- a/tasks/release/releaseCLI.mjs +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env node -/* eslint-env node */ - -import yargs from 'yargs' -import { hideBin } from 'yargs/helpers' - -import * as generateReleaseNotesCommand from './generateReleaseNotesCommand.mjs' -import * as getReleaseCommitsCommand from './getReleaseCommitsCommand.mjs' -import * as releaseCommand from './releaseCommand.mjs' -import * as triageMainCommand from './triageMainCommand.mjs' -import * as triageNextCommand from './triageNextCommand.mjs' -import * as validateMilestonesCommand from './validateMilestonesCommand.mjs' - -yargs(hideBin(process.argv)) - .demandCommand() - .strict() - .command(generateReleaseNotesCommand) - .command(getReleaseCommitsCommand) - .command(releaseCommand) - .command(triageMainCommand) - .command(triageNextCommand) - .command(validateMilestonesCommand) - .parse() diff --git a/tasks/release/releaseCommand.mjs b/tasks/release/releaseCommand.mjs deleted file mode 100644 index 07256cfbbfb8..000000000000 --- a/tasks/release/releaseCommand.mjs +++ /dev/null @@ -1,791 +0,0 @@ -/* eslint-env node */ - -import { fileURLToPath } from 'node:url' - -import boxen from 'boxen' -import { Octokit } from 'octokit' -import { rimraf } from 'rimraf' -import { cd, chalk, question, $, fs } from 'zx' - -import { handler as generateReleaseNotes } from './generateReleaseNotesCommand.mjs' -import { - getLatestRelease, - getMilestone, - logSection, - prompts, - isYes, -} from './releaseLib.mjs' - -let octokit -let semver -let currentVersion -let nextVersion -let milestone -let releaseBranch - -const compareURL = 'https://github.com/redwoodjs/redwood/compare' - -export const command = 'release' -export const description = 'Release a major, minor, or patch' - -export async function handler() { - if (process.env.GITHUB_TOKEN === undefined) { - console.log('You have to set the GITHUB_TOKEN env var') - - process.exitCode = 1 - return - } - - octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }) - - // ------------------------ - logSection('Asking for the semver\n') - - const semverPromptResponse = await prompts({ - name: 'semver', - type: 'select', - message: 'Which semver are you releasing?', - choices: [{ value: 'major' }, { value: 'minor' }, { value: 'patch' }], - initial: 2, - }) - - semver = semverPromptResponse.semver - - // ------------------------ - logSection('Getting the latest release\n') - - currentVersion = await getLatestRelease() - console.log() - - exitIfNo( - await question( - `The latest release is ${chalk.magenta(currentVersion)}? [Y/n] > ` - ) - ) - - // ------------------------ - logSection('Confirming the next release\n') - - switch (semver) { - case 'major': { - const [major] = parseGitTag(currentVersion) - nextVersion = `v${[major + 1, 0, 0].join('.')}` - break - } - case 'minor': { - const [major, minor] = parseGitTag(currentVersion) - nextVersion = `v${[major, minor + 1, 0].join('.')}` - break - } - case 'patch': { - const [major, minor, patch] = parseGitTag(currentVersion) - nextVersion = `v${[major, minor, patch + 1].join('.')}` - break - } - } - - exitIfNo( - await question( - `The next release is ${chalk.magenta(nextVersion)}? [Y/n] > ` - ) - ) - - milestone = await getMilestone.call({ octokit }, nextVersion) - - // ------------------------ - logSection("Checking that the git tag doesn't already exist\n") - - if (await doesGitTagExist(nextVersion)) { - console.log( - `\nGit tag ${chalk.magenta( - nextVersion - )} already exists locally. You have to fix this before continuing` - ) - - process.exitCode = 1 - return - } - - // ------------------------ - logSection('Checking milestones\n') - - const { - search: { nodes: prs }, - } = await octokit.graphql(getPRsisMergedNoMilestoneQuery) - - if (prs.length) { - console.log( - "There shouldn't be any merged PRs without a milestone. You have to fix this before continuing" - ) - - if ( - isYes(await question('Open merged PRs without a milestone? [Y/n] > ')) - ) { - await $`open https://github.com/redwoodjs/redwood/pulls?q=is%3Apr+no%3Amilestone` - } - - process.exit(1) - } - - if (semver === 'patch') { - exitIfNo( - await question( - `Did you update the milestones of the PRs you plan to include in the patch to ${chalk.magenta( - 'next-release-patch' - )}? [Y/n] > ` - ) - ) - } else { - const { - search: { nodes: prs }, - } = await octokit.graphql(getPRsisMergedMilestoneNextReleasePatchQuery) - - if (prs.length) { - console.log( - `If you're not releasing a patch, there shouldn't be any merged PRs with the ${chalk.magenta( - 'next-release-patch' - )} milestone. You have to fix this before continuing` - ) - console.log() - - if ( - isYes( - await question( - `Open merged PRs with ${chalk.magenta( - 'next-release-patch' - )} milestone? [Y/n] > ` - ) - ) - ) { - await $`open https://github.com/redwoodjs/redwood/pulls?q=is%3Apr+is%3Amerged+milestone%3Anext-release-patch` - } - - process.exit(1) - } - } - - const fromTitle = 'next-release' + (semver === 'patch' ? '-patch' : '') - const { id: fromMilestoneId } = await getMilestone.call( - { octokit }, - fromTitle - ) - const milestonePRs = await getMilestonePRs.call({ octokit }, fromMilestoneId) - - if (milestonePRs.length) { - logSection('Updating milestones\n') - - if ( - isYes( - await question( - `Ok to update ${ - milestonePRs.length - } PRs' milestone from ${chalk.magenta(fromTitle)} to ${chalk.magenta( - nextVersion - )}? [Y/n] > ` - ) - ) - ) { - if (!milestone) { - milestone = await createMilestone.call({ octokit }, nextVersion) - } - - console.log() - - await Promise.all( - milestonePRs.map((milestonePR) => { - process.stdout.write( - `Updating #${milestonePR.number} ${milestonePR.title}\n` - ) - return updatePRMilestone.call( - { octokit }, - milestonePR.id, - milestone.id - ) - }) - ) - } - } - - // ------------------------ - switch (semver) { - case 'major': - case 'minor': - await releaseMajorOrMinor() - break - case 'patch': - await releasePatch() - break - } -} - -// ------------------------ -// Helpers -// ------------------------ - -/** - * Take the output from `git describe --abbrev=0` (which is something like `'v0.42.1'`), - * and return an array of numbers ([0, 42, 1]). - * - * @param {string} version - * @returns [string, string, string] - */ -function parseGitTag(version) { - if (version.startsWith('v')) { - version = version.substring(1) - } - - return version.split('.').map(Number) -} - -/** @param {string} tag */ -async function doesGitTagExist(tag) { - return (await $`git tag -l ${tag}`).stdout.trim() -} - -const getPRsisMergedNoMilestoneQuery = ` - query GetPRsisMergedNoMilestoneQuery { - search( - query: "repo:redwoodjs/redwood is:pr is:merged no:milestone" - first: 5 - type: ISSUE - ) { - nodes { - ... on PullRequest { - id - } - } - } - } -` - -const getPRsisMergedMilestoneNextReleasePatchQuery = ` - query GetPRsisMergedMilestoneNextReleasePatchQuery { - search( - query: "repo:redwoodjs/redwood is:pr is:merged milestone:next-release-patch" - first: 5 - type: ISSUE - ) { - nodes { - ... on PullRequest { - id - } - } - } - } -` - -async function createMilestone(title) { - const { - data: { node_id: id, number }, - } = await this.octokit.request('POST /repos/{owner}/{repo}/milestones', { - owner: 'redwoodjs', - repo: 'redwood', - title, - }) - - return { title, id, number } -} - -async function getMilestonePRs(milestoneId) { - const { - node: { - pullRequests: { nodes }, - }, - } = /** @type {GetPullRequestIdsRes} */ ( - await this.octokit.graphql(getPRIdsQuery, { - milestoneId, - }) - ) - - return nodes -} - -const getPRIdsQuery = ` - query GetPRIdsQuery($milestoneId: ID!) { - node(id: $milestoneId) { - ... on Milestone { - pullRequests(first: 100) { - nodes { - number - title - id - } - } - } - } - } -` - -function updatePRMilestone(prId, milestoneId) { - return this.octokit.graphql(updatePRMilestoneMutation, { - pullRequestId: prId, - milestoneId, - }) -} - -const updatePRMilestoneMutation = ` - mutation UpdatePRMilestone($pullRequestId: ID!, $milestoneId: ID!) { - updatePullRequest( - input: { pullRequestId: $pullRequestId, milestoneId: $milestoneId } - ) { - clientMutationId - } - } -` - -async function releaseMajorOrMinor() { - logSection('Checking if the release branch exists\n') - - releaseBranch = ['release', semver, nextVersion].join('/') - - const releaseBranchExists = await branchExists(releaseBranch) - console.log() - - const checkoutFromBranch = semver === 'major' ? 'main' : 'next' - - if (releaseBranchExists) { - console.log( - `Checking out existing release branch ${chalk.magenta(releaseBranch)}\n` - ) - - await $`git checkout ${releaseBranch}` - console.log() - } else { - exitIfNo( - await question( - `Ok to checkout new branch ${chalk.magenta( - releaseBranch - )} from ${chalk.magenta(checkoutFromBranch)}? [Y/n] > ` - ) - ) - console.log() - - await $`git checkout -b ${releaseBranch} ${checkoutFromBranch}` - console.log() - } - - exitIfNo( - await question( - `Ok to continue to publish? (Say no here if you want to push this branch to GitHub to create an RC) [Y/n] > ` - ), - { code: 0 } - ) - console.log() - - await versionDocs() - console.log() - await cleanInstallUpdate() - console.log() - await runQA(nextVersion) - console.log() - - exitIfNo( - await question( - `Everything passed local QA. Ok to push to GitHub and publish to NPM? [Y/n] > ` - ) - ) - console.log() - - // Temporarily remove `"packages/create-redwood-app"` from the workspaces field - // so that we can publish it separately later. - // ------------------------ - const frameworkPackageConfigPath = fileURLToPath( - new URL('../../package.json', import.meta.url) - ) - - const frameworkPackageConfig = fs.readJSONSync(frameworkPackageConfigPath) - - const packagePaths = (await $`yarn workspaces list --json`).stdout - .trim() - .split('\n') - .map(JSON.parse) - .filter(({ name }) => name) - .map(({ location }) => location) - - frameworkPackageConfig.workspaces = packagePaths.filter( - (packagePath) => packagePath !== 'packages/create-redwood-app' - ) - - fs.writeJSONSync(frameworkPackageConfigPath, frameworkPackageConfig, { - spaces: 2, - }) - - await $`git commit -am "chore: temporary update to workspaces"` - console.log() - - // ------------------------ - try { - await $`yarn lerna publish from-package` - } catch (_error) { - exitIfNo( - await question( - 'Publishing failed. You can usually recover from this by running `yarn lerna publish from-package` again. Continue? [Y/n] > ' - ) - ) - } - console.log() - - await $`git reset --hard HEAD~1` - console.log() - - // ------------------------ - await updateCreateRedwoodAppTemplates() - console.log() - - await $`yarn lerna publish from-package` - console.log() - - await $`git reset --soft HEAD~2` - await $`git commit -m "${nextVersion}"` - await $`git tag -am ${nextVersion} "${nextVersion}"` - await $`git push --tags` - - console.log(rocketBoxen(`Released ${chalk.green(nextVersion)}`)) - - // ------------------------ - logSection('Generating release notes\n') - - await generateReleaseNotes({ milestone: milestone?.title ?? nextVersion }) - - if (milestone) { - await closeMilestone.call({ octokit }, milestone.number) - } - - // ------------------------ - logSection('Showing remaining steps\n') - - console.log( - [ - 'Only a few more things to do:', - '', - ' - Remove the yarn.lock files in the create-redwood-app templates', - ' - Merge the release branch into next (updating yarn.lock if necessary) and push', - ' - Once the docs are done deploying (check here https://app.netlify.com/sites/redwoodjs-docs/overview), start the algolia crawler at https://crawler.algolia.com/admin', - ' - Delete the release branch locally and on https://github.com/redwoodjs/redwood/branches', - ' - Post on Discord and Twitter', - ].join('\n') - ) -} - -/** - * @param {string} nextVersion - */ -async function releasePatch() { - logSection('Checking if the release branch exists\n') - - releaseBranch = ['release', 'patch', nextVersion].join('/') - - const releaseBranchExists = await branchExists(releaseBranch) - console.log() - - if (releaseBranchExists) { - console.log( - `Checking out existing release branch ${chalk.magenta(releaseBranch)}\n` - ) - - await $`git checkout ${releaseBranch}` - console.log() - } else { - exitIfNo( - await question( - `Ok to checkout new branch ${chalk.magenta( - releaseBranch - )} from ${chalk.magenta(currentVersion)} tag? [Y/n] > ` - ) - ) - console.log() - - await $`git checkout -b ${releaseBranch} ${currentVersion}` - console.log() - } - - if (!(await branchExistsOnOrigin(releaseBranch))) { - logSection('Pushing to redwoodjs/redwood\n') - - exitIfNo( - await question( - `Ok to push new branch ${chalk.magenta( - releaseBranch - )} to GitHub and open diff? [Y/n] > ` - ) - ) - console.log() - - await $`git push -u origin ${releaseBranch}` - console.log() - - await $`open ${compareURL}/${currentVersion}...${releaseBranch}` - console.log() - - exitIfNo(await question('Diff look ok? [Y/n] > ')) - - // ------------------------ - logSection('Cherry picking PRs\n') - console.log( - [ - "Remember to cherry pick PRs _in the same order as they were merged_. And after you're done, run:", - ' 1. yarn (to update the lock file), and', - ' 2. yarn check', - '', - ].join('\n') - ) - - exitIfNo(await question(`Done cherry picking? [Y/n] > `)) - console.log() - - await pushAndDiff() - } - - await cleanInstallUpdate() - console.log() - - await runQA() - console.log() - - exitIfNo( - await question(`Everything passed local QA. Ok to publish to NPM? [Y/n] > `) - ) - console.log() - - // Temporarily remove `"packages/create-redwood-app"` from the workspaces field - // so that we can publish it separately later. - // ------------------------ - const frameworkPackageConfigPath = fileURLToPath( - new URL('../../package.json', import.meta.url) - ) - - const frameworkPackageConfig = fs.readJSONSync(frameworkPackageConfigPath) - - const packagePaths = (await $`yarn workspaces list --json`).stdout - .trim() - .split('\n') - .map(JSON.parse) - .filter(({ name }) => name) - .map(({ location }) => location) - - frameworkPackageConfig.workspaces = packagePaths.filter( - (packagePath) => packagePath !== 'packages/create-redwood-app' - ) - - fs.writeJSONSync(frameworkPackageConfigPath, frameworkPackageConfig, { - spaces: 2, - }) - - await $`git commit -am "chore: temporary update to workspaces"` - console.log() - - // ------------------------ - try { - await $`yarn lerna publish from-package` - } catch (_error) { - exitIfNo( - await question( - 'Publishing failed. You can usually recover from this by running `yarn lerna publish from-package` again. Continue? [Y/n] > ' - ) - ) - } - console.log() - - await $`git reset --hard HEAD~1` - console.log() - - // ------------------------ - await updateCreateRedwoodAppTemplates() - console.log() - - await $`yarn lerna publish from-package` - console.log() - - await $`git reset --soft HEAD~2` - await $`git commit -m "${nextVersion}"` - await $`git tag -am ${nextVersion} "${nextVersion}"` - await $`git push` - await $`git push --tags` - - console.log(rocketBoxen(`Released ${chalk.green(nextVersion)}`)) - - // ------------------------ - logSection('Generating release notes\n') - - await generateReleaseNotes({ milestone: milestone?.title ?? nextVersion }) - - if (milestone) { - await closeMilestone.call({ octokit }, milestone.number) - } - - // ------------------------ - logSection('Showing remaining steps\n') - - console.log( - [ - 'Only a few more things to do:', - '', - ' - Remove the yarn.lock files in the create-redwood-app templates', - ' - Merge the release branch into next (updating yarn.lock if necessary)', - ' - Push', - ' - Delete the release branch locally and on https://github.com/redwoodjs/redwood/branches', - ' - Post on discord and twitter', - ].join('\n') - ) -} - -/** - * @param {string} branch - */ -async function branchExists(branch) { - return !!(await $`git branch -l ${branch}`).stdout.trim() -} - -async function cleanInstallUpdate() { - logSection('Cleaning, installing, and updating package versions\n') - - exitIfNo( - await question( - `Ok to clean, install, and update package versions? [Y/n] > ` - ) - ) - console.log() - - await $`git clean -fxd` - await $`yarn install` - await $`./tasks/update-package-versions ${nextVersion}` - await $`yarn install` - - logSection('Confirming package versions\n') - - exitIfNo( - await question( - `The package versions have been updated. Everything look ok? [Y/n] > ` - ) - ) - console.log() - - await $`git commit -am "chore: update package versions to ${nextVersion}"` -} - -async function runQA() { - logSection('Running QA\n') - - exitIfNo(await question(`Ok to run local QA? [Y/n] > `)) - console.log() - - await $`yarn build` - await $`yarn lint` - await $`yarn test` -} - -/** - * @param {string} branch - */ -async function branchExistsOnOrigin(branch) { - return !!( - await $`git ls-remote --heads git@github.com:redwoodjs/redwood ${branch}` - ).stdout.length -} - -/** - * @param {string} message - */ -function rocketBoxen(message) { - return boxen(message, { - padding: 1, - margin: 1, - borderStyle: { - bottomLeft: '🚀', - bottomRight: '🚀', - horizontal: '—', - topLeft: '🚀', - topRight: '🚀', - vertical: '🚀', - }, - }) -} - -function closeMilestone(number) { - return this.octokit.request( - 'POST /repos/{owner}/{repo}/milestones/{milestone_number}', - { - owner: 'redwoodjs', - repo: 'redwood', - milestone_number: number, - state: 'closed', - due_on: new Date().toISOString(), - } - ) -} - -async function updateCreateRedwoodAppTemplates() { - logSection('Updating create-redwood-app templates\n') - - if ( - !isYes( - await question('Ok to update create-redwood-app templates? [Y/n] > ') - ) - ) { - return - } - console.log() - - cd('./packages/create-redwood-app/templates/ts') - await $`rm -f yarn.lock` - await $`touch yarn.lock` - await $`yarn install` - - cd('../..') - await $`yarn ts-to-js` - await $`git add .` - await $`git commit -m "chore: update create-redwood-app templates"` - cd('../..') -} - -async function exitIfNo(question, { code } = { code: 1 }) { - if (isYes(question)) { - return - } - - process.exit(code) -} - -async function pushAndDiff() { - exitIfNo( - await question( - `Ok to push branch ${chalk.magenta( - releaseBranch - )} to GitHub and open diff? [Y/n] > ` - ) - ) - console.log() - - await $`git push` - console.log() - - await $`open ${compareURL}/${currentVersion}...${releaseBranch}` - console.log() - - exitIfNo(await question(`Diff look ok? [Y/n] > `)) -} - -async function versionDocs() { - logSection('Versioning docs\n') - - if ( - !isYes( - await question( - `Ok to version docs to ${chalk.magenta(nextVersion)}? [Y/n] > ` - ) - ) - ) { - return - } - console.log() - - const nextDocsVersion = nextVersion.slice(1, -2) - - await cd('./docs') - await $`yarn` - await $`yarn clear` - await $`yarn docusaurus docs:version ${nextDocsVersion}` - await $`git add .` - await $`git commit -m "Version docs to ${nextDocsVersion}"` - await cd('../') -} diff --git a/tasks/release/releaseLib.mjs b/tasks/release/releaseLib.mjs index 076f1732794e..cc6e9fe8b11c 100644 --- a/tasks/release/releaseLib.mjs +++ b/tasks/release/releaseLib.mjs @@ -1,378 +1,439 @@ /* eslint-env node */ -import { fileURLToPath } from 'node:url' - import { faker } from '@faker-js/faker' import boxen from 'boxen' -import prompts_ from 'prompts' -import { $, fs, question, chalk } from 'zx' +import { Octokit } from 'octokit' +import ora from 'ora' +import _prompts from 'prompts' +import semver from 'semver' +import { chalk, fs, path, question, $ } from 'zx' +import 'dotenv/config' + +// ─── Types ─────────────────────────────────────────────────────────────────── /** - * Helper for getting the trimmed stdout from `$`'s awaited return. - * - * @example - * - * The awaited part is important: you have to await `$`'s return: + * @typedef {{ + * line: string, + * ref: string, + * type: 'commit' | 'ui' | 'release-chore' | 'tag' + * pretty: string, + * needsCherryPick?: boolean, + * }} Commit * - * ```js - * unwrap(await $`git branch --list release/*`) - * ``` + * @typedef {Map} CommitTriageData * - * @param {import('zx').ProcessOutput} processOutput + * @typedef {{ from: string, to: string }} Range */ -function unwrap(processOutput) { - return processOutput.stdout.trim() + +// ─── IO ────────────────────────────────────────────────────────────────────── + +// A string of dashes that spans the width of the user's terminal terminal. +export const separator = chalk.dim('-'.repeat(process.stdout.columns)) + +// Set the verbosity of all the functions in this file. +export function setVerbosity(verbose) { + $.verbose = verbose +} + +export function getLogger() { + return $.verbose ? console.log : () => {} } /** - * Wrapper around `prompts` to exit on crtl c. * - * @template Name - * @param {import('prompts').PromptObject} promptsObject - * @param {import('prompts').Options} promptsOptions + * @param {string} message */ -export function prompts(promptsObject, promptsOptions) { - return prompts_(promptsObject, { - ...promptsOptions, - onCancel: () => process.exit(1), - }) +export function getSpinner(message) { + return $.verbose + ? { + stop: () => {}, + } + : ora(message).start() } /** - * The triage-main and -next commands read from and write to a data file. - * This sets it up so that we don't have to remember to write the file. + * Helper for getting the trimmed stdout from `zx`'s `ProcessOutput`: + * + * ```js + * unwrap(await $`git branch --list release/*`) + * ``` * - * @param {string} path + * @param {import('zx').ProcessOutput} processOutput */ -export function setupData(path) { - let data - - try { - data = new Map(Object.entries(fs.readJSONSync(path, 'utf-8'))) - } catch (e) { - if (e.code === 'ENOENT') { - fs.ensureFileSync(path) - data = new Map() - } else { - throw e - } - } - - process.on('exit', () => { - fs.writeJSONSync(path, Object.fromEntries(data), { spaces: 2 }) - }) - - return data +export function unwrap(processOutput) { + return processOutput.stdout.trim() } /** - * Parse a commit "line" from `git log` into a commit object - * (it's hash, message, and pr number if it has one). - * - * @param {string} commit - * @returns {{ hash: string, message: string, pr: string }} + * @param {string} title + * @param {string} message */ -export function parseCommit(commit) { - const match = commit.match(/\w{9}/) - const [hash] = match +export function consoleBoxen(title, message) { + console.log( + boxen(message, { + title, - const message = commit.slice(match.index + 10) + backgroundColor: '#333', + borderStyle: 'round', - const prMatch = message.match(PR) - const pr = prMatch?.groups.pr + float: 'left', - return { - hash, - message, - pr, - } + margin: { top: 0, right: 0, bottom: 0, left: 0 }, + padding: { top: 0, right: 1, bottom: 0, left: 1 }, + }) + ) } /** - * Uses a commit's message to determine if a commit is in a given ref. - * - * ```js - * await isCommitInRef('main', 'fix(setup-auth): notes formatting') - * true + * See if the user answered yes to `zx`'s `question`, which is just `readline`. * - * await isCommitInRef('next', 'fix(setup-auth): notes formatting') - * true - * - * await isCommitInRef('v3.5.0', 'fix(setup-auth): notes formatting') - * false * ``` + * const okToRelease = isYes(await question('Ok to release?')) * - * This depends on the commit's message being left alone when cherry picking. + * if (okToRelease) { + * // ... + * } + * ``` * - * @param {string} ref - * @param {string} message + * @param {string} res */ -export async function isCommitInRef(ref, message) { - return !!unwrap(await $`git log ${ref} --oneline --grep ${message}`) +export function isYes(res) { + return ['', 'Y', 'y'].includes(res) } /** - * @param {Array} commits - * @param {{ from: string, to: string }} branchData + * Wrapper around `prompts` to exit on crtl c. + * + * @template Name + * @param {import('prompts').PromptObject} promptsObject + * @param {import('prompts').Options} promptsOptions */ -export function reportNewCommits(commits, { from, to }) { - consoleBoxen( - `🐙 New commits`, - [ - `There's ${chalk.magenta(commits.length)} commits in the ${chalk.magenta( - from - )} branch that aren't in the ${chalk.magenta(to)} branch:`, - ...commits.map(({ hash, message }) => `• ${chalk.dim(hash)} ${message}`), - ].join('\n') - ) +export function prompts(promptsObject, promptsOptions) { + return _prompts(promptsObject, { + ...promptsOptions, + onCancel: () => process.exit(1), + }) } +// ─── Branch Statuses ───────────────────────────────────────────────────────── + /** - * Given an array of commits, ask if they need to be cherry picked, etc. + * Basically runs `git fetch origin` on branches with safety checks and logging. * - * @param {Array<{ hash: string, message: string, pr: string }>} commits + * @param {string[]} branches */ -export async function triageCommits(commits, { data, branch }) { - for (let commit of commits) { - const { hash, message, pr } = commit +export async function resolveBranchStatuses(branches) { + const spinner = getSpinner( + `Resolving branch statuses for: ${branches + .map((branch) => chalk.magenta(branch)) + .join(', ')}` + ) - // eslint-disable-next-line no-constant-condition - while (true) { - const answer = await question( - `Does ${chalk.dim(hash)} ${chalk.cyan( - message - )} need to be cherry picked into ${chalk.magenta( - branch - )}? [Y/n/o(pen)] > ` - ) + const logger = getLogger() - if (['open', 'o'].includes(answer)) { - if (pr) { - await $`open https://github.com/redwoodjs/redwood/pull/${pr}` - } else { - console.log("There's no PR for this commit") - } + logger(separator) + logger( + `Resolving statuses for: ${branches + .map((branch) => chalk.magenta(branch)) + .join(', ')}` + ) - continue - } + let result - data.set(hash, { - message: message, - needsCherryPick: isYes(answer), - }) + // We need to run `git remote update ${redwoodRemote}` to `git fetch ${branch}`. + // Nine out of ten times, the redwood remote is `origin`. But let's just be sure. + result = await getRedwoodRemote() - break - } + if (result.error) { + return result } + + logger(`Found Redwood remote ${chalk.magenta(result.redwoodRemote)}`) + + await $`git remote update ${result.redwoodRemote}` + + // Get an object of branches to their commit statuses. I.e., if they're ahead, behind, or diverged. + const branchesToCommits = await getBranchesToCommits(branches, { + redwoodRemote: result.redwoodRemote, + }) + + spinner.stop() + + result = await handleBranchesToCommits(branchesToCommits, { + redwoodRemote: result.redwoodRemote, + }) + + return result } /** - * Gets the release branch, if it exists. - * - * @example - * - * ```js - * await getReleaseBranch() - * // 'release/minor/v3.6.0' - * ``` + * Find the remote that points to `redwoodjs/redwood.git`. */ -export async function getReleaseBranch() { - return unwrap(await $`git branch --list release/*`) -} - -export async function purgeCommitData(data, { commits, branch }) { - const logs = [] +export async function getRedwoodRemote() { + const result = { + redwoodRemote: undefined, + error: undefined, + } - const commitHashes = commits.map((commit) => commit.hash) + const gitRemotes = unwrap(await $`git remote -v`).split('\n') - for (const dataHash of data.keys()) { - if (!commitHashes.includes(dataHash)) { - logs.push( - `• "${data.get(dataHash).message}" isn't in the symmetric difference` - ) - data.delete(dataHash) + result.redwoodRemote = gitRemotes.reduce((redwoodRemote, remote) => { + if (redwoodRemote) { + return redwoodRemote } - } - - const needsCherryPick = [...data.entries()].filter( - ([, { needsCherryPick }]) => needsCherryPick - ) - for (const [hash] of needsCherryPick) { - const { ref } = commits.find((commit) => commit.hash === hash) + const found = remote.match( + /(?\w+)\s+(git@|https:\/\/)github\.com(:|\/)redwoodjs\/redwood\.git/ + ) - if (ref === branch) { - logs.push( - `• "${data.get(hash).message}" was cherry picked into ${branch}` - ) - data.delete(hash) + if (found?.groups.name) { + return found.groups.name } - } + }, result.redwoodRemote) - if (logs.length) { - consoleBoxen( - '🧹 Purging commit data', - [`Removed ${logs.length} commits:`, ...logs].join('\n') - ) - } else { - consoleBoxen('✅', 'No commit data to purge') + if (!result.redwoodRemote) { + result.error = + "Couldn't find a git remote that points to redwoodjs/redwood.git" } + + return result } /** - * Usually used with `isCommitInRef`: + * Build an object like... * * ```js - * await isCommitInRef('main', sanitizeMessage('fix(setup-auth): notes formatting [skip ci]')) + * { + * main: { + * existsOnRedwoodRemote: true, + * upToDate: false, + * diverged: false, + * commitsExclusiveToLocalBranch: 0, + * commitsExclusiveToRemoteBranch: 4 + * }, + * next: ... + * } * ``` * - * @param {string} message - */ -export function sanitizeMessage(message) { - message = message.replace('[', '\\[') - message = message.replace(']', '\\]') - return message -} - -/** - * Updates remotes + * @param {string[]} branches */ -export async function updateRemotes() { - await $`git remote update` - - const refsToCommits = await ['main', 'next'].reduce(async (P, ref) => { - const refsToCommits = await P +export async function getBranchesToCommits(branches, { redwoodRemote }) { + return branches.reduce(async (branchesToCommitsPromise, branch) => { + const branchesToCommits = await branchesToCommitsPromise - const noOfOriginCommits = await getNoOfOriginCommits(ref) - - refsToCommits[ref] = noOfOriginCommits + if (!(await branchExistsOnRedwoodRemote(branch, redwoodRemote))) { + branchesToCommits[branch] = { existsOnRedwoodRemote: false } + } else { + const commitsExclusiveToLocalBranch = +unwrap( + await $`git rev-list ${redwoodRemote}/${branch}..${branch} --count` + ) + const commitsExclusiveToRemoteBranch = +unwrap( + await $`git rev-list ${branch}..${redwoodRemote}/${branch} --count` + ) - if (noOfOriginCommits) { - await $`git fetch origin ${ref}:${ref}` + branchesToCommits[branch] = { + existsOnRedwoodRemote: true, + upToDate: + commitsExclusiveToLocalBranch === 0 && + commitsExclusiveToRemoteBranch === 0, + diverged: + commitsExclusiveToLocalBranch > 0 && + commitsExclusiveToRemoteBranch > 0, + commitsExclusiveToLocalBranch, + commitsExclusiveToRemoteBranch, + } } - return refsToCommits + return branchesToCommits }, Promise.resolve({})) - - const messages = Object.entries(refsToCommits).map(([ref, commits]) => { - return `• ${chalk.yellow(commits)} commit(s) from ${chalk.magenta(ref)}` - }) - - const hasCommits = Object.entries(refsToCommits).some( - ([, commits]) => commits - ) - - console.log() - consoleBoxen( - hasCommits ? '🐙 Updated local refs' : "✅ You're up to date", - ['Fetched...', ...messages].join('\n') - ) } /** - * Find out if the a local branch has commits on the remote. - * - * ```js - * await originHasCommits('main') - * true - * ``` - * - * @param {string} ref + * @param {string} branch */ -async function getNoOfOriginCommits(ref) { - return +unwrap(await $`git rev-list ${ref}...origin/${ref} --count`) +export async function branchExistsOnRedwoodRemote(branch, redwoodRemote) { + return !!unwrap(await $`git ls-remote --heads ${redwoodRemote} ${branch}`) } /** - * @param {string} title - * @param {string} message + * Logs results. Returns an error if a branch diverged. Otherwise, prompts the user to update their local branches if they need to. */ -export function consoleBoxen(title, message) { - console.log(boxen(message, { title, ...boxenStyles })) -} - -const boxenStyles = { - backgroundColor: '#333', - borderStyle: 'round', - float: 'left', - margin: { top: 0, right: 0, bottom: 0, left: 0 }, - padding: { top: 0, right: 1, bottom: 0, left: 1 }, -} - -export async function getReleaseCommits({ useCache } = { useCache: true }) { - const cachePath = fileURLToPath( - new URL('data/releaseCommits.json', import.meta.url) - ) - - const cacheExists = fs.existsSync(cachePath) - - if (useCache && cacheExists) { - return fs.readJSONSync(cachePath) +export async function handleBranchesToCommits( + branchesToCommits, + { redwoodRemote } +) { + const result = { + error: undefined, } - // ------------------------ - logSection('Getting the release branch and the last release\n') - const releaseBranch = await getReleaseBranch() - const latestRelease = await getLatestRelease() + const message = Object.entries(branchesToCommits).map(([branch, status]) => { + if (!status.existsOnRedwoodRemote) { + return `❓ ${chalk.magenta( + branch + )} doesn't exist on the Redwood remote (${redwoodRemote})` + } - logSection( - `Getting the symmetric difference between ${releaseBranch} and ${latestRelease}\n` - ) + if (status.upToDate) { + return `✅ ${chalk.magenta(branch)} is up to date` + } - const stdout = await getSymmetricDifference(releaseBranch, latestRelease, { - options: [ - ...defaultGitLogOptions, - // See https://stackoverflow.com/questions/11459040/is-there-a-way-to-check-if-two-different-git-commits-are-equal-in-content - '--cherry-mark', - ], + return [ + `🧮 ${chalk.magenta(branch)} has...`, + ` 🏠 ${status.commitsExclusiveToLocalBranch} commit(s) locally that the remote branch doesn't`, + ` 📡 ${status.commitsExclusiveToRemoteBranch} commit(s) remotely that the local branch doesn't`, + ].join('\n') }) - // ------------------------ - logSection( - `Checking if any of the commits in ${releaseBranch} were in a minor or patch release\n` - ) + consoleBoxen('🐙 Branch status(es)', message.join('\n')) - const [vMajor, minor] = releaseBranch.split('/').pop().split('.') + const divergedGetter = ([, { diverged }]) => diverged - faker.seed(+minor) + const diverged = Object.entries(branchesToCommits).some(divergedGetter) - let patches = (await $`git tag -l ${vMajor}.${minor - 2}.[!0]`).stdout.trim() - console.log() + if (diverged) { + const branches = Object.entries(branchesToCommits) + .filter(divergedGetter) + .map(([branch]) => chalk.magenta(branch)) + .join(', ') - patches &&= patches.split('\n') + result.error = [ + `The following branch(es) have diverged—they have commits that are exclusive to both the local and remote: ${branches}.`, + "Trying to triage commits right now probably isn't going to be a good time.", + ].join('\n') + } else { + for (const [branch, status] of Object.entries(branchesToCommits)) { + if ( + status.commitsExclusiveToRemoteBranch && + isYes( + await question(`Ok to \`git fetch\` ${chalk.magenta(branch)}? [Y/n] `) + ) + ) { + await $`git fetch ${redwoodRemote} ${branch}:${branch}` + } + } + } - // If minor - 2 is less than 0, that means we just released a major. - const tags = [minor - 2 < 0 && `${vMajor}.0.0`, ...patches, latestRelease] - .reverse() - .filter(Boolean) + return result +} - const tagsToColors = tags.reduce((colors, tag) => { - colors[tag] = faker.color.rgb() - return colors - }, {}) +// ─── Git ───────────────────────────────────────────────────────────────────── - const commits = await annotateSymmetricDifference( - stdout, - { - from: releaseBranch, - to: tags, - }, +/** + * @param {string} range + */ +export async function triageRange(range) { + const spinner = getSpinner( + `Getting the symmetric difference between ${chalk.magenta( + range.from + )} and ${chalk.magenta(range.to)}` + ) + + // Sometimes one of the `range` branches is a release branch with slashes like `release/branch/v6.3.3`. + // Here we're just replacing the slashes with dashes so that it's a valid file name. + const fileNamePrefix = [ + range.from.replaceAll('/', '-'), + range.to.replaceAll('/', '-'), + ].join('_') + + // Set up the commit triage data. This reads a file like `./main_next.commitTriageData.json` into a map + // and sets up a hook on `process.exit` so that we don't have to remember to write it. + // + // The commit triage data is a map of commit hashes to triage data: + // + // ```js + // 'adddd23987b8a1003053280fafe772275e932217' => { + // message: 'chore(deps): update dependency lerna to v7.3.0 (#9186)', + // needsCherryPick: false + // } + // ``` + const commitTriageData = setUpDataFile( + new URL(`./triage/${fileNamePrefix}.commitTriageData.json`, import.meta.url) + ) + + // In git, the "symmetric difference" (syntactically, three dots: `...`) is what's different between two branches. + // It's the commits one branch has that the other doesn't, and vice versa: + // + // ``` + // git log main...next + // ``` + // + // Here we're only interested in the commits `range.from` (e.g., `main`) has that `range.to` (e.g. `next`) doesn't + // because we're cherry picking from the former to the latter. + // + // `git log` by itself isn't quite enough, but there are a couple flags that get us closer to what we want: + // + // - `--left-only` shows us the commits unique to the ref on the left side of the three dots + // - `--cherry-pick` omits commits that are _exactly_ the same between the branches + // + // It's very likely that some of the commits that are unique to the left ref have already been cherry picked into the right one. + // The reason that the `--cherry-pick` flag doesn't omit them is that they were changed while cherry picking + // (think updating `yarn.lock`, etc.) so the diffs aren't one-to-one. The commit triage data and `git log --grep` get us the rest of the way there. + const lines = await getSymmetricDifference(range) + + // Save the result for QA. (See `./triage/triageQA.mjs`.) + await fs.writeJSON( + new URL( + `./triage/${fileNamePrefix}.symmetricDifference.json`, + import.meta.url + ), + lines, { - refsToColors: tagsToColors, + spaces: 2, } ) - const releaseCommits = commits.filter((commit) => { - return commit.ref === releaseBranch && commit.type === 'commit' + spinner.text = 'Resolving the symmetric difference' + const commits = await resolveSymmetricDifference(lines, { + range, }) + spinner.stop() - const data = { + const commitsToTriage = await resolveCommitsToTriage({ commits, - tagsToColors, - releaseCommits, - noReleaseCommits: releaseCommits.length, + commitTriageData, + range, + }) + + if (commitsToTriage.length) { + // Reversing here so that we triage commits from oldest newest. It's more natural to triage this way + // because otherwise you'll be missing context for the newer commits. + await triageCommits({ + commits: commitsToTriage.reverse(), + commitTriageData, + range, + }) + console.log() + } + + reportCommitStatuses({ commits, commitTriageData, range }) +} + +/** + * @param {URL} path + */ +export function setUpDataFile(path) { + let data + + // Return an empty map if the file doesn't exist. + try { + data = new Map(Object.entries(fs.readJSONSync(path, 'utf-8'))) + } catch (e) { + if (e.code === 'ENOENT') { + data = new Map() + } else { + throw e + } } - fs.writeJSONSync(cachePath, data, { spaces: 2 }) + + // Write the file on the process's exit event so we don't have to remember to. + // Note that this is different from `process.exit`, and calling `process.exit` actually doesn't trigger this event. (So avoid doing it.) + // The conditional is just to avoid writing an empty map to a file (which JSON stringifies as `{}`), which is just noise. + process.on('exit', () => { + if (data.size) { + fs.writeJSONSync(path, Object.fromEntries(data), { spaces: 2 }) + } + }) + return data } @@ -381,275 +442,850 @@ export const defaultGitLogOptions = [ '--no-abbrev-commit', '--left-right', '--graph', + '--left-only', + '--cherry-pick', + '--boundary', ] -/** - * Logs a section to the terminal. This's purely ornamental, - * it's just to facilitate parsing visual output. - * - * @example - * - * If you want to add a new line, add it at the end of the string: - * - * logSection('Getting the release branch and the last release\n') - * ```bash - * # -------------------- - * # Get the release branch and the last release - * - * $ git remote update - * Fetching origin - * ``` - * - * @param {string} title - */ -export function logSection(title) { - console.log([separator, chalk.dim(`# ${title}`)].join('\n')) -} - -export const separator = chalk.dim('-'.repeat(process.stdout.columns)) - -/** - * Gets the latest release. - * - * Uses the "-" prefix of `git tag`'s `--sort` option. - * See https://git-scm.com/docs/git-tag#Documentation/git-tag.txt---sortltkeygt - * - * @example - * - * ```js - * await getLatestRelease() - * /'v3.5.0' - * ``` - * - */ -export async function getLatestRelease() { - return unwrap( - await $`git tag --sort="-version:refname" --list "v?.?.?" | head -n 1` - ) -} - /** * Get the symmetric difference between two refs. (Basically, what's different about them.) - * - * Here this's used to compare: + * This is used to compare: * - main to next * - next to the release branch * * It doesn't really matter which ref is left and which is right. - * The commits in the left ref will be prefixed with "<", - * while the commits in the right ref will be prefixed with ">". + * The commits in the left ref will be prefixed with "<", while the commits in the right ref will be prefixed with ">". * * For a quick reference on the `...` syntax, * see https://stackoverflow.com/questions/462974/what-are-the-differences-between-double-dot-and-triple-dot-in-git-com. * - * @example - * - * ```js - * const commits = await getSymmetricDifference('main', 'next', { options }) - * ``` - * * @param {string} leftRef * @param {string} rightRef */ -export async function getSymmetricDifference(leftRef, rightRef, { options }) { - return unwrap(await $`git log ${options} ${leftRef}...${rightRef}`).split( - '\n' - ) +export async function getSymmetricDifference( + range, + { gitLogOptions = undefined } = {} +) { + return unwrap( + await $`git log ${gitLogOptions ?? defaultGitLogOptions} ${range.from}...${ + range.to + }` + ).split('\n') } /** - * Find out if a line from `git log --graph` is just UI: + * Resolves the return of `getSymmetricDifference`. `getSymmetricDifference` gets us the commits that are different between two refs, + * but some of those commits are... * - * ```bash - * * 1b0b9a9 | chore: update dependencies - * |\ # This is just UI - * | * 3a4b5c6 (HEAD -> release/3.6, origin/release/3.6) chore: update dependencies - * ``` + * - decorative (some lines are just UI when `--graph` is passed) + * - virtually the same (only the `yarn.lock` has changed) + * - aren't meant to be cherry picked + * - etc. * - * @param {string} line - * @returns + * @param {string[]} lines + * @param {{ + * range: { from: string, to: string }, + * refsToColors?: Record string> + * }} options + * + * @return {Commit[]} */ -export function isLineUI(line) { - return MARKS.some((mark) => line.startsWith(mark)) -} +export async function resolveSymmetricDifference( + lines, + { range, refsToColorFunctions = {} } +) { + const logger = getLogger() -/** - * Marks used in `git log --graph` that are just UI. - */ -export const MARKS = ['o', ' /', '|\\', '| o', '|\\|'] + // We make a copy and reverse so that the refs are in ascending order (v6.3.0, v6.3.1, v6.3.2, etc) + // so that we can break out of a loop later on earlier than otherwise. + const refs = Array.isArray(range.to) ? [...range.to] : [range.to] + refs.reverse() -export const HASH = /\s(?\w{40})\s/ -export const PR = /#(?\d+)/ + // Set defaults. + for (const ref of refs) { + refsToColorFunctions[ref] ??= chalk.dim.bgBlue + } -/** - * See if a commit is a chore via it's message. - * - * @example - * - * ```js - * isCommitChore('chore: update yarn.lock') - * // true + const commits = await Promise.all( + lines.map((line) => + resolveLine(line, { + range: { ...range, to: refs }, + refsToColorFunctions, + logger, + }) + ) + ) + + return commits +} + +export async function resolveLine( + line, + { range, refsToColorFunctions, logger } +) { + const logs = [] + + const commit = { + line, + type: 'commit', + ref: range.from, + pretty: line, + } + + // This functions modifies the commit object above. + await resolveCommitType(commit, { logs }) + + if (['ui', 'tag', 'release-chore'].includes(commit.type)) { + return commit + } + + // We check refs in order from least recent to most and break once we find one. + for (const ref of range.to) { + logs.push( + ['', `🔎 checking if commit is in ${chalk.magenta(ref)}`].join('\n') + ) + + const isInRef = unwrap( + await $`git log ${ref} --oneline --grep ${sanitizeMessage( + commit.message + )}` + ) + + if (isInRef) { + logs.push(`✅ commit is in ${chalk.magenta(ref)}`) + + commit.ref = ref + commit.pretty = refsToColorFunctions[ref](commit.pretty) + + break + } + + logs.push(`❌ commit isn't in ${chalk.magenta(ref)}`) + } + + logger( + [...logs, '', commit.pretty, JSON.stringify({ commit }, null, 2)].join('\n') + ) + + return commit +} + +async function resolveCommitType(commit, { logs }) { + logs.push(separator) + + if (isLineGitLogUI(commit.line)) { + commit.type = 'ui' + commit.pretty = chalk.dim(commit.line) + + logs.push('🎄 this line is just `git log` ui') + + return + } + + // Every commit has a hash so we're not bothering with optional chaining here. + commit.hash = commit.line.match(commitRegExps.hash).groups.hash + + // TODO: explain this. + commit.message = unwrap(await $`git log --format=%s -n 1 ${commit.hash}`) + + if (commitRegExps.annotatedTag.test(commit.message)) { + commit.type = 'tag' + commit.ref = commit.message + commit.pretty = chalk.dim(commit.line) + + logs.push('🔖 this commit is an annotated tag') + + return + } + + if (isCommitReleaseChore(commit.line)) { + commit.type = 'release-chore' + commit.pretty = chalk.dim(commit.line) + + logs.push('🧹 this commit is a release chore') + + return + } + + if (commit.message.startsWith('Revert')) { + commit.type = 'revert' + commit.pretty = chalk.underline(commit.line) + + logs.push('↩️ this commit reverts a previous commit') + + return + } + + // Not all commits are associated with a PR. + commit.pr = commit.message.match(commitRegExps.pr)?.groups.pr + + if (!commit.pr) { + return + } + + commit.url = `https://github.com/redwoodjs/redwood/pull/${commit.pr}` + + // If we can't get a commit that has a PR's milestone, it's a bug. + try { + commit.milestone = await getPRMilestoneFromURL(commit.url) + } catch (e) { + throw new Error( + [ + `Error: Couldn't get milestone for ${commit.line} using ${commit.url}`, + '', + e, + ].join('\n') + ) + } + + commit.line = `${commit.line} (${commit.milestone})` + commit.pretty = commit.line + + logs.push('🔖 this commit is a pr with a milestone') +} + +/** + * Find out if a line from `git log --graph` is just UI: + * + * ``` + * * 1b0b9a9 | chore: update dependencies + * |\ # This is just UI + * | * 3a4b5c6 (HEAD -> release/3.6, origin/release/3.6) chore: update dependencies * ``` * * @param {string} line */ -export function isCommitChore(line) { +function isLineGitLogUI(line) { + // TODO: test this fn for sure. can't i cross check against the git docs? + const marks = ['o', ' /', '|\\', '| o', '|\\|', '|/'] + return marks.some((mark) => line.startsWith(mark)) +} + +const commitRegExps = { + hash: /\s(?\w{40})\s/, + pr: /\(#(?\d+)\)$/, + annotatedTag: /^v\d.\d.\d$/, +} + +/** + * See if a commit is a release chore via it's message. Note that these are different than PRs with the chore milestone. + * + * @param {string} line + */ +function isCommitReleaseChore(line) { + const choreMessages = [ + 'chore: update yarn.lock', + 'Version docs', + 'chore: update all contributors', + ] + return ( /Merge branch (?.*)/.test(line) || - CHORE_MESSAGES.some((message) => line.includes(message)) + choreMessages.some((message) => line.includes(message)) ) } -const CHORE_MESSAGES = [ - 'chore: update yarn.lock', - 'Version docs', - 'chore: update all contributors', -] +/** + * Square brackets (`[` or `]`) in commit messages need to be escaped. + * + * @param {string} message + */ +function sanitizeMessage(message) { + return message.replace('[', '\\[').replace(']', '\\]') +} -export const ANNOTATED_TAG_MESSAGE = /^v\d.\d.\d$/ +/** + * @param {{ + * commits: Commit[] + * commitTriageData: CommitTriageData, + * targetBranch: string, + * }} options + */ +export async function resolveCommitsToTriage({ + commits, + commitTriageData, + range, +}) { + const logs = [] + + const commitHashes = commits.map((commit) => commit.hash) + + // `commits` are commits from main (or another branch) that are candidates for cherry picking. + // If the hash of one of them isn't in the commit triage data, it was cherry picked cleanly, + // so we don't need to keep track of it anymore. + for (const [hash] of commitTriageData) { + if (!commitHashes.includes(hash)) { + logs.push( + `✨ ${chalk.cyan( + commitTriageData.get(hash).message + )} was cherry picked cleanly` + ) + commitTriageData.delete(hash) + } + } + + // Delete those that needed to be cherry picked and have been. These ones weren't clean cherry picks. + const needsCherryPick = new Map( + [...commitTriageData.entries()].filter( + ([_hash, triageData]) => triageData.needsCherryPick + ) + ) + + for (const [hash, triageData] of needsCherryPick) { + const { ref } = commits.find((commit) => commit.hash === hash) + + if (ref === range.to) { + logs.push( + `🐙 ${chalk.cyan(triageData.message)} was cherry picked with changes` + ) + commitTriageData.delete(hash) + } + } + + if (logs.length) { + consoleBoxen( + '🧹 Purging commit triage data', + [`Removed ${logs.length} commits:`, ...logs].join('\n') + ) + } else { + consoleBoxen('✅', 'The commit triage data is up to date') + } + + // Get the commits that need triage. The logic for the filters is: + // + // - not every annotated commit is a commit; some are just `git log --graph` ui, so filter those out + // - at this point, annotated commits that have a `ref` that's the same as the target branch have already been cherry picked + // - now that the commit triage data is up to date, any annotated commits that aren't in it haven't been triaged + return commits + .filter((commit) => commit.type === 'commit') + .filter((commit) => commit.ref !== range.to) + .filter((commit) => !commitTriageData.has(commit.hash)) +} /** - * Given a commit's hash, get it's message. - * - * ```js - * await getCommitMessage('0bb0f8ce075ea1e0f6a7851d80df2bc7d303e756') - * 'chore(deps): update babel monorepo (#6779)' - * ``` + * Given an array of commit objects, ask if they need to be cherry picked and update the commit triage data in response. * - * @param {string} hash + * @param {{ + * commitsToTriage: AnnotatedCommit[], + * commitTriageData: CommitTriageData, + * range: Range, + * }} options */ -export async function getCommitMessage(hash) { - return unwrap(await $`git log --format=%s -n 1 ${hash}`) +export async function triageCommits({ commits, commitTriageData, range }) { + consoleBoxen( + `🐙 New commit(s)`, + [ + [ + `There is/are ${chalk.magenta(commits.length)} commit(s)`, + `in the ${chalk.magenta(range.from)} branch`, + `that isn't/aren't in the ${chalk.magenta(range.to)} branch:`, + ].join(' '), + ...commits.map(({ hash, message }) => `• ${chalk.dim(hash)} ${message}`), + ].join('\n') + ) + + for (const commit of commits) { + // eslint-disable-next-line no-constant-condition + while (true) { + const message = [ + 'Does...', + [ + ' •', + chalk.dim(commit.hash), + chalk.cyan(commit.message), + commit.milestone && chalk.yellow(`(${commit.milestone})`), + ] + .filter(Boolean) + .join(' '), + `need to be cherry picked into ${chalk.magenta( + range.to + )}? [Y/n/s(kip)/o(pen)] > `, + ] + .filter(Boolean) + .join('\n') + + let answer = 'no' + if (!['RSC', 'v7.0.0'].includes(commit.milestone)) { + answer = await question(message) + } + + answer = getLongAnswer(answer) + + let comment = '' + if (answer === 'skip') { + const commentRes = await prompts({ + type: 'text', + name: 'comment', + message: 'Why are you skipping it?', + + validate: (comment) => comment.length > 0 || 'Please enter a comment', + }) + + comment = commentRes.comment + } + + if (answer === 'open') { + if (commit.url) { + await $`open ${commit.url}` + } else { + console.log("There's no PR for this commit") + } + + continue + } + + commitTriageData.set(commit.hash, { + message: commit.message, + needsCherryPick: answer, + ...(comment && { comment }), + }) + + break + } + } } /** - * Takes the return of getSymmetricDifference. - * - * @param {string[]} stdout - * @param {{ from: string, to: string }} fromTo - * @param {{ refsToColors?: Record string> }} options - * - * @typedef {'commit' | 'ui' | 'chore' | 'tag'} CommitTypes - * - * @typedef {{ - * line: string, - * ref: string, - * type: CommitTypes, - * pretty: string, - * }} AnnotatedCommit * - * @return {AnnotatedCommit[]} annotatedCommits + * @param {string} answer + * @returns {'yes'|'no'|'skip'|'open'} */ -export async function annotateSymmetricDifference( - lines, - { from, to }, - { refsToColors } = {} -) { - const commits = [] - - for (const line of lines) { - const commit = { - line, - ref: from, - type: 'commit', - pretty: line, - } +function getLongAnswer(answer) { + answer = answer.toLowerCase() + + if (['', 'y', 'yes'].includes(answer)) { + return 'yes' + } - commits.push(commit) + if (['n', 'no'].includes(answer)) { + return 'no' + } + + if (['s', 'skip'].includes(answer)) { + return 'skip' + } + + if (['o', 'open'].includes(answer)) { + return 'open' + } +} + +export let prMilestoneCache + +/** + * @param {string} prURL + */ +export async function getPRMilestoneFromURL(prURL) { + if (!prMilestoneCache) { + prMilestoneCache = setUpDataFile( + new URL('./prMilestoneCache.json', import.meta.url) + ) + } + + if (prMilestoneCache.has(prURL)) { + return prMilestoneCache.get(prURL) + } - if (isLineUI(line)) { - commit.type = 'ui' - commit.pretty = chalk.dim(line) - continue + const octokit = await getOctokit() + + const { + resource: { + milestone: { title }, + }, + } = await octokit.graphql(getPRMilestoneFromURLQuery, { prURL }) + + prMilestoneCache.set(prURL, title) + + return title +} + +const getPRMilestoneFromURLQuery = ` + query GetMilestoneForCommitQuery($prURL: URI!) { + resource(url: $prURL) { + ...on PullRequest { + milestone { + title + } + } } + } +` + +/** + * @param {{ + * commit: Commit[], + * commitTriageData: CommitTriageData + * range: { from: string, to: string }, + * }} param0 + */ +export function reportCommitStatuses({ commits, commitTriageData, range }) { + // We still have to color commits based on their cherry pick status. + // First, get the ones to color: + const commitsToColor = commits + .filter((commit) => commit.type === 'commit') + .filter((commit) => commit.ref !== range.to) + + // If everything was called in order, this shouldn't happen. + const needsTriage = commitsToColor.filter( + (commit) => !commitTriageData.has(commit.hash) + ) + + if (needsTriage.length) { + consoleBoxen( + '👷 Heads up', + [ + "At this point, there shouldn't been any commits that haven't been triaged", + "but it looks like there's a few:", + '', + ...needsTriage.map((commit) => chalk.bgYellowBright(commit.line)), + ].join('\n') + ) + } - commit.hash = line.match(HASH).groups.hash - commit.message = await getCommitMessage(commit.hash) - commit.pr = commit.message.match(PR)?.groups.pr + for (const commit of commitsToColor) { + const { needsCherryPick, comment } = commitTriageData.get(commit.hash) - if (isCommitChore(line)) { - commit.type = 'chore' - commit.pretty = chalk.dim(line) - continue + if (needsCherryPick === 'yes') { + commit.pretty = chalk.green(commit.line) + } else if (needsCherryPick === 'no') { + commit.pretty = chalk.red(commit.line) + } else { + commit.pretty = [chalk.yellow(commit.line), ` ${comment}`].join('\n') } - if (ANNOTATED_TAG_MESSAGE.test(commit.message)) { - commit.ref = commit.message - commit.type = 'tag' - commit.pretty = chalk.dim(commit.line) - continue + commit.needsCherryPick = needsCherryPick + } + + consoleBoxen( + '🔑 Key', + [ + `${chalk.green('■')} Needs to be cherry picked into ${chalk.magenta( + range.to + )}`, + `${chalk.yellow('■')} Skipped (see comments for details)`, + $.verbose && + `${chalk.blue('■')} Was cherry picked into ${chalk.magenta( + range.to + )} with changes`, + $.verbose && + `${chalk.dim.red('■')} Shouldn't be cherry picked into ${chalk.magenta( + range.to + )}`, + $.verbose && `${chalk.dim('■')} Chore commit or purely-decorative line`, + ] + .filter(Boolean) + .join('\n') + ) + console.log() + console.log( + commits + .filter( + (commit) => + $.verbose || ['yes', 'skip'].includes(commit.needsCherryPick) + ) + .map(({ pretty }) => pretty) + .join('\n') + ) +} + +/** + * + * @param {{ from: string, to: string[] }} range + * @param {{ colorSeed: number }} options + */ +export async function compareRange(range, { colorSeed = 0 } = {}) { + const spinner = getSpinner( + `Getting the symmetric difference between ${chalk.magenta( + range.from + )} and ${chalk.magenta(range.to[0])}` + ) + + const lines = await getSymmetricDifference({ + ...range, + to: range.to[0], + }) + + // Save the result for QA. (See `./compare/compareQA.mjs`.) + // Sometimes one of the `range` branches is a release branch with slashes like `release/branch/v6.3.3`. + // Here we're just replacing the slashes with dashes so that it's a valid file name. + const fileNamePrefix = [ + range.from.replaceAll('/', '-'), + range.to[0].replaceAll('/', '-'), + ].join('_') + + await fs.writeJSON( + new URL( + `./compare/${fileNamePrefix}.symmetricDifference.json`, + import.meta.url + ), + lines, + { + spaces: 2, } + ) - to = Array.isArray(to) ? to : [to] + faker.seed(colorSeed) - for (const ref of to) { - const prettyFn = refsToColors?.[ref] - ? chalk.dim.hex(refsToColors[ref]) - : chalk.bgBlue.gray + const refsToColors = range.to.reduce((colors, ref) => { + colors[ref] = faker.color.rgb() + return colors + }, {}) - if (await isCommitInRef(ref, sanitizeMessage(commit.message))) { - commit.ref = ref - commit.pretty = prettyFn(commit.line) - } + spinner.text = 'Resolving the symmetric difference (this could take a while)' + const commits = await resolveSymmetricDifference(lines, { + range, + refsToColorFunctions: Object.entries(refsToColors).reduce( + (refsToColorFunctions, [ref, color]) => { + refsToColorFunctions[ref] = chalk.bgHex(color) + return refsToColorFunctions + }, + {} + ), + }) + spinner.stop() + + const milestonesToCommits = commits.reduce((milestonesToCommits, commit) => { + if (!commit.milestone) { + return milestonesToCommits } - console.log() - } + milestonesToCommits[commit.milestone] = + (milestonesToCommits[commit.milestone] ?? 0) + 1 + return milestonesToCommits + }, {}) - return commits + consoleBoxen( + '🔖 Milestones to commits', + Object.entries(milestonesToCommits) + .map(([milestone, commits]) => `${milestone} (${commits})`) + .sort() + .join('\n') + ) + + // Make an object of refs to the number of commits with that ref to show in the key: + // + // ```js + // { + // next: 23, + // 'v6.3.2': 4, + // ... + // } + // ``` + const refsToCommits = commits.reduce((refsToCommits, commit) => { + refsToCommits[commit.ref] = (refsToCommits[commit.ref] ?? 0) + 1 + return refsToCommits + }, {}) + + // Sometimes we check quite a few versions to figure out where a commit was released for the first time. + const refsToColorsKey = Object.entries(refsToColors) + .filter(([ref]) => + commits + // TODO: it may be worth making this filter a little smarter. + .filter((commit) => commit.type === 'commit') + .some((commit) => commit.ref === ref) + ) + .map(([ref, color]) => { + return `${chalk.hex(color)('■')} ${ref} (${refsToCommits[ref]})` + }) + + consoleBoxen( + '🔑 Key', + [ + `${chalk.white('■')} ${range.from} ${`(${refsToCommits[range.from]})`}`, + ...refsToColorsKey, + `${chalk.dim('■')} Chore commit or purely-decorative line`, + ].join('\n') + ) + console.log([...commits.map((commit) => commit.pretty)].join('\n')) } -export async function getCurrentBranch() { - return (await $`git branch --show-current`).stdout.trim() +/** + * Gets the latest release. Uses the "-" prefix of `git tag`'s `--sort` option. See https://git-scm.com/docs/git-tag#Documentation/git-tag.txt---sortltkeygt + */ +export async function getLatestRelease() { + return unwrap( + await $`git tag --sort="-version:refname" --list "v?.?.?" | head -n 1` + ) } -export function isYes(res) { - return ['', 'Y', 'y'].includes(res) +/** + * Gets releases branches (e.g. `release/major/v7.0.0`, `release/minor/v6.4.0`, `release/patch/v6.3.2`, etc.) + */ +export async function getReleaseBranches() { + let releaseBranches = unwrap(await $`git branch --list release/*`) + + if (releaseBranches === '') { + return [] + } + + releaseBranches = releaseBranches + .split('\n') + .map((branch) => branch.trim()) + .sort((releaseBranchA, releaseBranchB) => { + const [, , versionA] = releaseBranchA.split('/') + const [, , versionB] = releaseBranchB.split('/') + + return semver.compare(versionA, versionB) + }) + + return releaseBranches.reverse() } -export async function openCherryPickPRs() { - await $`open https://github.com/redwoodjs/redwood/pulls?q=is%3Apr+is%3Aopen+label%3Acherry-pick` +/** + * @param {string} branch + */ +export async function branchExists(branch) { + return !!unwrap(await $`git branch --list ${branch}`) +} + +// ─── Github ────────────────────────────────────────────────────────────────── + +let octokit + +export async function getOctokit() { + if (octokit) { + return octokit + } + + if (process.env.GITHUB_TOKEN === undefined) { + throw new Error( + [ + `You have to set the ${chalk.magenta( + 'GITHUB_TOKEN' + )} env var to a personal access token.`, + `Create a personal access token with the ${chalk.magenta( + 'repo' + )} scope here: https://github.com/settings/tokens.`, + ].join('\n') + ) + } + + octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }) + + try { + await octokit.graphql(`{ viewer { login } }`) + } catch (e) { + if (e.status === 401) { + throw new Error( + `The ${chalk.magenta( + 'GITHUB_TOKEN' + )} env var is set, but using it in a test query returned a 401. It may have expired` + ) + } + + throw e + } + + return octokit } /** * @param {string} title - * @returns {Promise<{ title: string, id: string, number: number }>} */ -export async function getMilestone(title) { +export async function getMilestones() { + const octokit = await getOctokit() + const { repository: { milestones: { nodes }, }, - } = await this.octokit.graphql(getMilestoneQuery, { title }) + } = await octokit.graphql(` + { + repository(owner: "redwoodjs", name: "redwood") { + milestones(first: 100, states: OPEN) { + nodes { + title + id + number + } + } + } + } + `) - return nodes[0] + return nodes } -const getMilestoneQuery = ` - query GetMilestoneQuery($title: String) { - repository(owner: "redwoodjs", name: "redwood") { - milestones( - query: $title - first: 1 - orderBy: { field: NUMBER, direction: DESC } - ) { - nodes { - title - id - number +// TODO: this needs to be recursive. +/** + * @param {string} milestoneTitle + */ +export async function getPRsWithMilestone(milestoneTitle) { + const milestone = (await getMilestones()).find( + (milestone) => milestone.title === milestoneTitle + ) + + const octokit = await getOctokit() + + const { + node: { + pullRequests: { nodes }, + }, + } = /** @type {GetPullRequestIdsRes} */ ( + await octokit.graphql( + ` + query ($milestoneId: ID!) { + node(id: $milestoneId) { + ... on Milestone { + pullRequests(first: 100, states: MERGED) { + nodes { + id + mergedAt + + labels(first: 10) { + nodes { + name + } + } + + title + number + author { + login + } + + body + } + } + } + } } + `, + { + milestoneId: milestone.id, } - } - } -` + ) + ) + + return nodes +} + +export async function openCherryPickPRs() { + await $`open https://github.com/redwoodjs/redwood/pulls?q=is%3Apr+is%3Aopen+label%3Acherry-pick` +} + +// ─── Misc ──────────────────────────────────────────────────────────────────── /** + * Find a file by walking up parent directories. * - * @param {string} question - * @param {boolean} defaultValue + * @param {string} file + * @param {string} [startingDirectory=process.cwd()] + * @returns {string | null} */ -export async function confirm(question, defaultValue = true) { - await question( - [`${question}?`, defaultValue ? '[Y/n]' : '[y/N]', '> '].join(' ') - ) +export function findUp(file, startingDirectory = process.cwd()) { + const possibleFilepath = path.join(startingDirectory, file) + + if (fs.existsSync(possibleFilepath)) { + return possibleFilepath + } + + const parentDirectory = path.dirname(startingDirectory) + + // If we've reached the root directory, there's no file to be found. + if (parentDirectory === startingDirectory) { + return null + } + + return findUp(file, parentDirectory) } diff --git a/tasks/release/tests/__snapshots__/release.test.mjs.snap b/tasks/release/tests/__snapshots__/release.test.mjs.snap new file mode 100644 index 000000000000..0dac2fcc2f4f --- /dev/null +++ b/tasks/release/tests/__snapshots__/release.test.mjs.snap @@ -0,0 +1,153 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`releaseLib symmetric difference \`getSymmetricDifference\` gets the symmetric difference between fixture branches 1`] = ` +[ + "< a070dac21fce536a2ea49a10de010d3690a4e6f6 chore(deps): bump undici from 5.22.1 to 5.26.3 (#9307)", + "< 01f6565ce058273fc2c0389f04c3f93b9a9749bb fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (#9298)", + "< 97b235fd343efdc8fa267e7d6ca07b5b4cb06465 chore(api-server): remove server survey tests in CI (#9348)", + "< be2cb77b228d01394e13e216aa2b37190fbe2518 chore(deps): update babel monorepo to v7.23.2 (#9344)", + "< 602aba999faf47c7ebfa886fa3433b60b86e417e chore(deps): bump @babel/traverse from 7.18.9 to 7.23.2 in /docs (#9311)", + "< e57d214aeb4b0407a13882831cbb24ebaa68f51d chore(deps): update dependency @tsconfig/docusaurus to v2 (#9347)", + "< 4505b60136e6479dbf8ee40c56b7756a9566a787 fix(deps): update dependency react-player to v2.13.0 (#9346)", + "< ee1ad2745a0ec151af2e002ee220ca3b4caf412b fix(deps): update docusaurus monorepo to v2.4.3 (#9345)", + "< 3d18bce20c9a565d99a4cc7e78aab2c8a72fbd64 fix(deps): update dependency @babel/traverse to v7.23.2 [security] (#9322)", + "< 73579f84378d8dfd64437406eb9add63b010ef09 chore: increase server test timeout, fix \`yarn build:clean\` (#9336)", + "< a12d411c37f780a9b1cd2f7ee0429808f72387e0 feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (#9324)", + "< 8e59d9198e7c253c6ef3d002fa646144b4a0a297 fix(cli): Tailwind setup updates \`scaffold.css\` when needed (#9290)", + "< 045531957188895e3ee42c3815030445bb59b87f fix(cli): Exit with non-zero exit code when \`yarn rw g types\` has errors (#9280)", + "< 8e676c83f6f0838982826afbf2a241219a26f62c Update all GitHub actions to run on Node 20 (#9334)", + "< c8c8a3b1e3c599a610b3856b71078357e70e44be RSC: vite externalConditions (#9333)", + "< 45065da262c1a57d67b0013ea7168c0fca687dc6 RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "< 4c5a3ebd1e254b4558c6d2d5c7800514e6b04b2d Don't remount wrap components when navigating within Set (#9312)", + "< 35c0eeba90187d60b92c975ee202362035fcb6c2 chore(api-server): improve tests (#9325)", + "< 18c5d961f203820facc8a42eebe2d382ed7ff7dd RSC: Implement RSC worker (#9331)", + "< 9d4a1e7b031138527f9e654275b443535070ae36 fix(babel): Improved message for error relating to multiple files ending in \`Page.{js,jsx,ts,tsx}\` in page directories (#9329)", + "< 433d8ef99b0025cf2a5d6faceef303be6089f155 RSC: createRscRequestHandler (#9330)", + "< 104c8e289340310dd4cba7d8cc20666a9abb85e6 RSA smoke-test (#9327)", + "< 6d4fd3eed2006db5b63e7dd21fae6820f3d7e954 Upgrade to vite v4.5.0 (#9328)", + "< f157c3ec9c76848716311c928a047138775279a3 RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "< daaa1998837bdb6eaa42d9160292e781fadb3dc8 fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "< c44a5244ae5d7b07f215777bab387ef3dc883a55 Fix Set wrapper type so you can have an array of wrappers (#9314)", + "< fca02b61b747751aa88dd71c4280779a91452d07 \`\` (#9303)", + "< e2cf25db2518833ad0b833c5e6b5308557ecc7fd fix(ssr-build): Generate document in ssr build too! (#9310)", + "< 984c9e067fc26c5c1487ae3ee1255504f98e257c fix(fastify): Dont fallback to index html if requesting static assets (#9272)", + "< 43efb0f4b1f7f7d0c00878463a70c23db19a7071 chore: Restore name of terminating Apollo link to httpLink (#9205)", + "< 1ed2b5b477a6b08a0d4731160591bebfaaeac34b feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "< 14f5b0d9c2576087024fd69e5a2fe409019b13da Router utils: Fix some spelling misstakes and other minor changes (#9302)", + "< d6436e46ec3564441d9765877c2a50e6cb8fb030 feat(cli-helpers): Root package install and RWJS env var (#9296)", + "< 79a7e0163b53318af7ae0eb20b63ce8b118d64c7 Conditionally guarantee cell success data (#9037)", + "< 10a856d8377f4ef96f24ed0db0720c7128d019f5 Cell generator: Fix formatting in template (#9301)", + "< 3ed46eceb6b39de1b55a4be20cb1cee0b9f49615 chore(router): Add missing tests in analyze routes (#9274)", + "< 43b68459c0057c20a91163ce39e25a35fc7e48cf fix(deps): update prisma monorepo to v5.4.2 (#9294)", + "< ba296b40d90292100bb765d58f664d2e27949a63 fix(deps): update apollo graphql packages (#9292)", + "< 282b8343ff5884b1373164097d2f1ed96024b646 fix(deps): update dependency @fastify/static to v6.11.2 (#9202)", + "< 4bc0925af2529ef831fd650e951c45a5cebe4421 chore(deps): update dependency firebase to v10.4.0 (#9203)", + "< 229bd4b241aea267aefae4d2f2983e6ebe063cef fix(serverless): move project-config to auth-dbauth-api dependencies (#9281)", + "< 58a7a8fe7399f721408d4d1a7050a25f3ef81cef chore(deps): update babel monorepo (#9254)", + "< 8ddafad958463fdd9b8585c290c86bb843c64861 fix(deps): update dependency vite to v4.4.11 (#9255)", + "< 6f3ee2541a523e707610bc01ff1b107b1122c566 chore(deps): update dependency postcss to v8.4.31 [security] (#9260)", + "< 8dc7bdb556305a584181517a726d788f9868a99b fix(deps): update storybook monorepo to v7.4.6 (#9256)", + "< cd37907d3d6bda782cb73fa38dfe3f810ed39e75 dbAuth: Unique session cookie name per port (#9248)", + "< 08a67208947c2c48365ecddeee32d0ce43c368fb feat: add experimental docker setup command (#9024)", + "< 53d86c95a4d58fb58ae4a2edd4c43a6b9d25e5de Include @types/react as devDep in projects (#9250)", + "< 8c22d4deac32d29b72844f8de3ca72f9bac10a03 graphql possibleTypes: Fix formatting (#9239)", + "< 18555d0e196cfc69ed322e24cafeb2d228773ae1 RSC: Smoke test (#9194)", + "< 27d33d3e29276d0d5c61d604034d65b4c6ae5f65 RSC: Handle Windows paths in clientEntries (#9233)", + "< 61f0f51d8557c591e0432ffe9b75520c0df86ed1 chore(deps): update dependency @clerk/clerk-react to v4.25.1 (#9212)", + "< 12aa24adc31f1719152ab1d8dc445959a2a43a6e fix(deps): update dependency @clerk/clerk-sdk-node to v4.12.6 (#9214)", + "< 817eba4501b985424dcdce11068509452d0d3449 fix(deps): update dependency graphql to v16.8.1 [security] (#9228)", + "< a886bf5703e3d92e70e478272757fd5951f38fe7 chore(deps): update dependency @clerk/types to v3.52.0 (#9213)", + "< 2cbdf11a07d1b142065c9e1464574287f9625253 feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)", + "< a8336bf0b9c533f45b867b6af401b8ba68e27a5e fix(deps): update storybook monorepo to v7.4.3 (#9211)", + "< 9f69fe6357ced942c23a02e066a604679750b9e9 fix(deps): update dependency @apollo/client to v3.8.4 (#9208)", + "< 5921359bf6482873df1bf9d9df51f3eaaba9c566 chore(crwa): remove React \`prop-types\` package (#9206)", + "< ed4ef0894139af0a4305c77bf1fdf92f9dc5511f chore(deps): update dependency react-error-boundary to v4.0.11 (#9181)", + "< 74d36b75091551bfec46933fbe7746d772ecce19 feat(mailer): Resend handler (#9175)", + "< 30c4e00e7da21c2b0bc3f710dfa3c48fa93659d9 chore: bump babel packages' versions (#9200)", + "< 4d06556988b8f1da0a9ecd7d6b0e133707e22921 smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "< 83d180fc477b17bf33c7673f010b68e9f7d5e0a2 RSC: Check if index.html has already been updated during setup (#9197)", + "< e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4 RSC: Use react/experimental types (#9196)", + "< a7bab85513ded97c500399daacf3a39de1fc1378 RSC: Patch vite when running setup command (#9192)", + "< a436b1cfe82b0ce53baadc0149a5d2831928135b RSC: Support 'use client' in 3pp packages (#9191)", + "< 1b52e3dda6b6e8fe5ea2522aaee8c687566912b7 chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "< 1e23e0ab344ff5e70b69000babc9adf006a61d72 fix(deps): update storybook monorepo to v7.4.2 (#9185)", + "< aa15dad514bec009f275921e048901bd4fd4c2f2 fix(deps): update prisma monorepo to v5.3.1 (#9187)", + "< adddd23987b8a1003053280fafe772275e932217 chore(deps): update dependency lerna to v7.3.0 (#9186)", + "< 842d24566fc83623278bf00fe8e2a57f04f31573 fix(deps): update dependency fastify to v4.23.2 (#9184)", + "< 552eec353a72f426b384263c530eb052601c12ac fix(deps): update dependency @fastify/static to v6.11.1 (#9182)", + "< dc86db59dcc18e8e711f9f1a0d5196060de7dbbb fix(babel): use caret to specify some package versions (#9174)", + "< 91fb06b378ea2b156f0cb619033021f4b116a6a7 Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "< 9d63d080a69f1428bb2b961690ecb09eaee64edd RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "< b8ce4efbd2dea27a01133741994ec3c4f1db9c38 fix(deps): update dependency fastify to v4.23.1 (#9167)", + "< 08870babd04bdfaa735f645603de0d5c515d66c2 chore(ci): undo changes to test project stories (#9166)", + "< 49e6221dc8789b87af05ae75002506368a8e9391 fix(deps): update jest monorepo to v29.7.0 (#9163)", + "< 208bce31a64fdf7d1991f0b98f3e90017ae14f21 chore(deps): update babel monorepo (#9144)", + "< f40d11b379ac53967e2e35d8480c54ba0ba2a8e2 fix(deps): update dependency fastify to v4.23.0 (#9160)", + "< a089495bbe3a2e11875ff5071d1745dc104c6918 fix(deps): update dependency react-hook-form to v7.46.1 (#9162)", + "< 2b056c6da66e115d61929cb8b3f91932ebcc1d72 fix(deps): update dependency msw to v1.3.0 (#9161)", + "< 15bb687eb63c22d6592a10d075d6786761643533 fix(deps): update storybook monorepo to v7.4.1 (#9159)", + "< 9257e3944fe1f49a3e9bd39a1f076c02134de28c RSC: Decode RSF args from request (#9157)", + "< c46bb67a75c4f78b4cbd5d744f52937a567f0e43 RSC: RSF aka Server Actions (#9155)", + "< d3475cd7041b20106bf73968a1d59dcae611afcd RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "< ee334bcf08f760cdfe26c03e7d65dc7da2f76281 RSC: Work around an issue in Rollup (#9153)", + "< 6af5356c4a964e0b46935edf6c66c8a6593ab7b9 fix(deps): update dependency nodemailer to v6.9.5 (#9145)", + "< d9404187472ba951c6f1b4b3fd78af4c87683e7f fix(deps): update opentelemetry-js monorepo (#9147)", + "< 33db0478dcab02ae05ea8d926d1a1e0d89076309 chore(deps): update dependency typescript to v5.2.2 (#9128)", + "< 7be03fc33f2994f1e712dfdd6ab0dfe8082c2dec fix(deps): update dependency fastify-raw-body to v4.2.2 (#9126)", + "< 0cc790a6b48a448119b85d4dd7c5453ec792d890 fix(deps): update dependency @fastify/static to v6.11.0 (#9129)", + "< 9e932fba52d43aa4c1d981b52e64678e8172db6c fix(deps): update dependency core-js to v3.32.2 (#9125)", + "< c01ae41211aed94c51cfd9754532e402487f9734 fix(deps): update dependency fastify to v4.22.2 (#9124)", + "< 7dcdf19b25ad0e4dd97e884c01ce956ad6497de7 fix(deps): update dependency @apollo/client to v3.8.3 (#9123)", + "< 050a16925ab9768374e56f20792bbb2a026488bb Streaming: meta charSet=utf-8 (#9142)", + "< 634099091ade40b5bba9f86cd6fc573ae5be480c chore(tasks): Benchmark tests (#8578)", + "< 2897cd718e9a0eceaece63f58fa090e882c49c10 style(eslint): enable \`@typescript-eslint/consistent-type-imports\` (#9082)", + "< ae11f69df494be05d33e558bfea328b751223f43 Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "< 0ff463f05dc1bba7797e3b178dcf788be2bcd028 Support jsx/tsx on the api side (for mail templates, ai-jsx, etc) (#9133)", + "< 7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2 RSC: Don't set the react-server condition for client builds (#9132)", + "< e90ae0cb2b06165f8886602b3644c5dfd32d98b1 fix(jest): Include RWJS_DEBUG_ENV in jest web env (#9065)", + "< 93f28064032842d909de971d42f3d1259eb52413 fix(deps): update dependency @escape.tech/graphql-armor to v2.3.1 (#9114)", + "< ed8a87d98d8c3e5dad23ac3e2143b46a201194dc chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "< 80de2bcb4d24ef3ea508f75b2c5ad2a8e3c4c153 chore(deps): update dependency postcss to v8.4.29 (#9109)", + "< 0c23f67708b286d1e923e4d93aaba238edf66bb3 Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "< 8d0ab16aa1c39f1526e4213211608805735f6974 fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "< 89f0303f2d3ebf8c3fb8a09611066230fd560a4c feat: Mailer packages and studio tooling updates (#9058)", + "< d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8 chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "< 2b8a5558c6d88f37346346c5f9db2cdd0073f83f feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "< 2f49ac90349e2ddd793e0adeaf00967abfd54912 chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "< 2cc76e697d7976ccdd61803ab6503663f25c9250 chore(cli): make \`@redwoodjs/cli-data-migrate\` package size smaller (#9085)", + "< c55f1c56b3b3279089784f3c388829ca3438e1e1 chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "< 65acc365f05e2862d50aa86aaf2cd1377137b105 chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "< 029fa48c4186ec820704c666a9c31da448a2f7c4 chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "< 8afc6c0d10c4016cf3d1d7fcbb27eb0e42754be7 Fix yarn lint warnings regarding {} (#9099)", + "< 52fc187a3c609db9e05dc3d68dd2857f68209d0b chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "< 069101b7ca1115d021a20f4d9b80e9b10107df24 feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "< 4f2791acdcce6058dd7421eb575f09d5c929459b chore(deps): update babel monorepo (#9090)", + "< 5ae083d9e0bd59b93c9af52ba5eb51f38407cdb2 fix(deps): update jest monorepo (#9092)", + "< b5fdb47bef8396550f2c53f81f614a7d311b7a9b fix(deps): update storybook monorepo to v7.4.0 (#9095)", + "< 9958845199de1d58166da7b8f7ad745421851565 fix(deps): update dependency msw to v1.2.5 (#9091)", + "< bf999c67fc7cdc15dd8eb2d64faba0b6d59a8805 fix(deps): update dependency fastify to v4.22.0 (#9093)", + "< f3ce9b1efee76c795d8aa076eaa123b2480ae800 fix(deps): update dependency graphql to v16.8.0 (#9094)", + "< ae4f5cab8fac1394baeea237c1e62dc3fc09e118 chore(deps): update dependency firebase to v10.3.0 (#9086)", + "< 3c6b845948e334c9afc686512aab4a89d254e8c8 fix(deps): update prisma monorepo to v5.2.0 (#9064)", + "< fbd39919afc75bd7fc7082e22fcb4f650c916771 chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "< 944a93b1df26afa6749fe34c12f1e334385aef6a chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "< a0834d4d94507deae107893c603f25ad8fa11f97 fix(data-migrate): add \`dotenv-defaults\`, properly plug into CLI (#9087)", + "< 2d6b93d2f7661025eb49ffe5321f9fef2d65d4eb fix(data-migrate): add missing dependency \`@redwoodjs/cli-helpers\`", + "< f4ea5138b51f44c02b0085d4a335508aa502ab34 feat(cli): lazy install data migrate and make it runnable on its own (#8572)", + "< 8ca4b0201a6129efb50414c014bc910b3572625e chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "< a13174a5b1b1fd84b0cee0a1d09851ffe86d7cf3 feat: Support GraphQL Subscriptions in Apollo Client using SSE links (#9009)", + "< c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "< 8aa76885fdbdd603e2afdeef4d0abba1d0e75477 fix(deps): update storybook monorepo to v7.3.2 (#9020)", + "< bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7 Create releaseCommits.json", + "< 33995028445e817a35b669dd1889c20f91a3f8d4 chore(deps): update dependency @auth0/auth0-spa-js to v2.1.1 (#8912)", + "< fc26cd76c67bd2ef329b7369ca400c8b8063b5da chore(deps): update dependency @azure/msal-browser to v2.38.1 (#8913)", + "< 8ff7e3cca7bb7d581862c7b00dfe5cda9b25bf18 fix(deps): update jest monorepo to v29.6.2 (#8984)", + "< 0ec4c5e15488d73e95d08d3965968797ecd23315 chore(deps): update babel monorepo to v7.22.10 (#9016)", + "< c89e1364c7e9af541438f3274ddf1f92401dc2c8 exp(streaming): Allow SSR with experimental apollo client (#9038)", + "< 865c9085bf1519c6b2f153b7497ef005d42f3bad manually bump web-server package version", + "< 7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39 Merge branch 'release/patch/v6.0.7'", + "| < a38d6f08df99db83239008b75d2bf6f569ea0609 fix(deps): update dependency core-js to v3.32.0 (#9030)", + "| o a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", + "o 79faf45ead7bdaa351afb7d5f99ca7ee828939bf v6.0.7", +] +`; diff --git a/tasks/release/tests/annotatedSymmetricDifference.json b/tasks/release/tests/annotatedSymmetricDifference.json new file mode 100644 index 000000000000..1a54bd6b355f --- /dev/null +++ b/tasks/release/tests/annotatedSymmetricDifference.json @@ -0,0 +1,2350 @@ +{ + "commit": [ + { + "line": "< a070dac21fce536a2ea49a10de010d3690a4e6f6 chore(deps): bump undici from 5.22.1 to 5.26.3 (#9307)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a070dac21fce536a2ea49a10de010d3690a4e6f6 chore(deps): bump undici from 5.22.1 to 5.26.3 (#9307)\u001b[39m\u001b[49m", + "hash": "a070dac21fce536a2ea49a10de010d3690a4e6f6", + "message": "chore(deps): bump undici from 5.22.1 to 5.26.3 (#9307)", + "pr": "9307" + }, + { + "line": "< 01f6565ce058273fc2c0389f04c3f93b9a9749bb fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (#9298)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 01f6565ce058273fc2c0389f04c3f93b9a9749bb fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (#9298)\u001b[39m\u001b[49m", + "hash": "01f6565ce058273fc2c0389f04c3f93b9a9749bb", + "message": "fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (#9298)", + "pr": "9298" + }, + { + "line": "< 97b235fd343efdc8fa267e7d6ca07b5b4cb06465 chore(api-server): remove server survey tests in CI (#9348)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 97b235fd343efdc8fa267e7d6ca07b5b4cb06465 chore(api-server): remove server survey tests in CI (#9348)\u001b[39m\u001b[49m", + "hash": "97b235fd343efdc8fa267e7d6ca07b5b4cb06465", + "message": "chore(api-server): remove server survey tests in CI (#9348)", + "pr": "9348" + }, + { + "line": "< be2cb77b228d01394e13e216aa2b37190fbe2518 chore(deps): update babel monorepo to v7.23.2 (#9344)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< be2cb77b228d01394e13e216aa2b37190fbe2518 chore(deps): update babel monorepo to v7.23.2 (#9344)\u001b[39m\u001b[49m", + "hash": "be2cb77b228d01394e13e216aa2b37190fbe2518", + "message": "chore(deps): update babel monorepo to v7.23.2 (#9344)", + "pr": "9344" + }, + { + "line": "< 73579f84378d8dfd64437406eb9add63b010ef09 chore: increase server test timeout, fix `yarn build:clean` (#9336)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 73579f84378d8dfd64437406eb9add63b010ef09 chore: increase server test timeout, fix `yarn build:clean` (#9336)\u001b[39m\u001b[49m", + "hash": "73579f84378d8dfd64437406eb9add63b010ef09", + "message": "chore: increase server test timeout, fix `yarn build:clean` (#9336)", + "pr": "9336" + }, + { + "line": "< a12d411c37f780a9b1cd2f7ee0429808f72387e0 feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (#9324)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a12d411c37f780a9b1cd2f7ee0429808f72387e0 feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (#9324)\u001b[39m\u001b[49m", + "hash": "a12d411c37f780a9b1cd2f7ee0429808f72387e0", + "message": "feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (#9324)", + "pr": "9324" + }, + { + "line": "< 045531957188895e3ee42c3815030445bb59b87f fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (#9280)", + "ref": "main", + "type": "commit", + "pretty": "< 045531957188895e3ee42c3815030445bb59b87f fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (#9280)", + "hash": "045531957188895e3ee42c3815030445bb59b87f", + "message": "fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (#9280)", + "pr": "9280" + }, + { + "line": "< 8e676c83f6f0838982826afbf2a241219a26f62c Update all GitHub actions to run on Node 20 (#9334)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8e676c83f6f0838982826afbf2a241219a26f62c Update all GitHub actions to run on Node 20 (#9334)\u001b[39m\u001b[49m", + "hash": "8e676c83f6f0838982826afbf2a241219a26f62c", + "message": "Update all GitHub actions to run on Node 20 (#9334)", + "pr": "9334" + }, + { + "line": "< c8c8a3b1e3c599a610b3856b71078357e70e44be RSC: vite externalConditions (#9333)", + "ref": "main", + "type": "commit", + "pretty": "< c8c8a3b1e3c599a610b3856b71078357e70e44be RSC: vite externalConditions (#9333)", + "hash": "c8c8a3b1e3c599a610b3856b71078357e70e44be", + "message": "RSC: vite externalConditions (#9333)", + "pr": "9333" + }, + { + "line": "< 45065da262c1a57d67b0013ea7168c0fca687dc6 RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "ref": "main", + "type": "commit", + "pretty": "< 45065da262c1a57d67b0013ea7168c0fca687dc6 RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "hash": "45065da262c1a57d67b0013ea7168c0fca687dc6", + "message": "RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "pr": "9332" + }, + { + "line": "< 35c0eeba90187d60b92c975ee202362035fcb6c2 chore(api-server): improve tests (#9325)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 35c0eeba90187d60b92c975ee202362035fcb6c2 chore(api-server): improve tests (#9325)\u001b[39m\u001b[49m", + "hash": "35c0eeba90187d60b92c975ee202362035fcb6c2", + "message": "chore(api-server): improve tests (#9325)", + "pr": "9325" + }, + { + "line": "< 18c5d961f203820facc8a42eebe2d382ed7ff7dd RSC: Implement RSC worker (#9331)", + "ref": "main", + "type": "commit", + "pretty": "< 18c5d961f203820facc8a42eebe2d382ed7ff7dd RSC: Implement RSC worker (#9331)", + "hash": "18c5d961f203820facc8a42eebe2d382ed7ff7dd", + "message": "RSC: Implement RSC worker (#9331)", + "pr": "9331" + }, + { + "line": "< 433d8ef99b0025cf2a5d6faceef303be6089f155 RSC: createRscRequestHandler (#9330)", + "ref": "main", + "type": "commit", + "pretty": "< 433d8ef99b0025cf2a5d6faceef303be6089f155 RSC: createRscRequestHandler (#9330)", + "hash": "433d8ef99b0025cf2a5d6faceef303be6089f155", + "message": "RSC: createRscRequestHandler (#9330)", + "pr": "9330" + }, + { + "line": "< 104c8e289340310dd4cba7d8cc20666a9abb85e6 RSA smoke-test (#9327)", + "ref": "main", + "type": "commit", + "pretty": "< 104c8e289340310dd4cba7d8cc20666a9abb85e6 RSA smoke-test (#9327)", + "hash": "104c8e289340310dd4cba7d8cc20666a9abb85e6", + "message": "RSA smoke-test (#9327)", + "pr": "9327" + }, + { + "line": "< 6d4fd3eed2006db5b63e7dd21fae6820f3d7e954 Upgrade to vite v4.5.0 (#9328)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 6d4fd3eed2006db5b63e7dd21fae6820f3d7e954 Upgrade to vite v4.5.0 (#9328)\u001b[39m\u001b[49m", + "hash": "6d4fd3eed2006db5b63e7dd21fae6820f3d7e954", + "message": "Upgrade to vite v4.5.0 (#9328)", + "pr": "9328" + }, + { + "line": "< f157c3ec9c76848716311c928a047138775279a3 RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "ref": "main", + "type": "commit", + "pretty": "< f157c3ec9c76848716311c928a047138775279a3 RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "hash": "f157c3ec9c76848716311c928a047138775279a3", + "message": "RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "pr": "9326" + }, + { + "line": "< daaa1998837bdb6eaa42d9160292e781fadb3dc8 fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "ref": "main", + "type": "commit", + "pretty": "< daaa1998837bdb6eaa42d9160292e781fadb3dc8 fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "hash": "daaa1998837bdb6eaa42d9160292e781fadb3dc8", + "message": "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "pr": "9317" + }, + { + "line": "< e2cf25db2518833ad0b833c5e6b5308557ecc7fd fix(ssr-build): Generate document in ssr build too! (#9310)", + "ref": "main", + "type": "commit", + "pretty": "< e2cf25db2518833ad0b833c5e6b5308557ecc7fd fix(ssr-build): Generate document in ssr build too! (#9310)", + "hash": "e2cf25db2518833ad0b833c5e6b5308557ecc7fd", + "message": "fix(ssr-build): Generate document in ssr build too! (#9310)", + "pr": "9310" + }, + { + "line": "< 1ed2b5b477a6b08a0d4731160591bebfaaeac34b feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "ref": "main", + "type": "commit", + "pretty": "< 1ed2b5b477a6b08a0d4731160591bebfaaeac34b feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "hash": "1ed2b5b477a6b08a0d4731160591bebfaaeac34b", + "message": "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "pr": "9295" + }, + { + "line": "< 79a7e0163b53318af7ae0eb20b63ce8b118d64c7 Conditionally guarantee cell success data (#9037)", + "ref": "main", + "type": "commit", + "pretty": "< 79a7e0163b53318af7ae0eb20b63ce8b118d64c7 Conditionally guarantee cell success data (#9037)", + "hash": "79a7e0163b53318af7ae0eb20b63ce8b118d64c7", + "message": "Conditionally guarantee cell success data (#9037)", + "pr": "9037" + }, + { + "line": "< 43b68459c0057c20a91163ce39e25a35fc7e48cf fix(deps): update prisma monorepo to v5.4.2 (#9294)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 43b68459c0057c20a91163ce39e25a35fc7e48cf fix(deps): update prisma monorepo to v5.4.2 (#9294)\u001b[39m\u001b[49m", + "hash": "43b68459c0057c20a91163ce39e25a35fc7e48cf", + "message": "fix(deps): update prisma monorepo to v5.4.2 (#9294)", + "pr": "9294" + }, + { + "line": "< ba296b40d90292100bb765d58f664d2e27949a63 fix(deps): update apollo graphql packages (#9292)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< ba296b40d90292100bb765d58f664d2e27949a63 fix(deps): update apollo graphql packages (#9292)\u001b[39m\u001b[49m", + "hash": "ba296b40d90292100bb765d58f664d2e27949a63", + "message": "fix(deps): update apollo graphql packages (#9292)", + "pr": "9292" + }, + { + "line": "< 282b8343ff5884b1373164097d2f1ed96024b646 fix(deps): update dependency @fastify/static to v6.11.2 (#9202)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 282b8343ff5884b1373164097d2f1ed96024b646 fix(deps): update dependency @fastify/static to v6.11.2 (#9202)\u001b[39m\u001b[49m", + "hash": "282b8343ff5884b1373164097d2f1ed96024b646", + "message": "fix(deps): update dependency @fastify/static to v6.11.2 (#9202)", + "pr": "9202" + }, + { + "line": "< 4bc0925af2529ef831fd650e951c45a5cebe4421 chore(deps): update dependency firebase to v10.4.0 (#9203)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 4bc0925af2529ef831fd650e951c45a5cebe4421 chore(deps): update dependency firebase to v10.4.0 (#9203)\u001b[39m\u001b[49m", + "hash": "4bc0925af2529ef831fd650e951c45a5cebe4421", + "message": "chore(deps): update dependency firebase to v10.4.0 (#9203)", + "pr": "9203" + }, + { + "line": "< 229bd4b241aea267aefae4d2f2983e6ebe063cef fix(serverless): move project-config to auth-dbauth-api dependencies (#9281)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 229bd4b241aea267aefae4d2f2983e6ebe063cef fix(serverless): move project-config to auth-dbauth-api dependencies (#9281)\u001b[39m\u001b[49m", + "hash": "229bd4b241aea267aefae4d2f2983e6ebe063cef", + "message": "fix(serverless): move project-config to auth-dbauth-api dependencies (#9281)", + "pr": "9281" + }, + { + "line": "< 58a7a8fe7399f721408d4d1a7050a25f3ef81cef chore(deps): update babel monorepo (#9254)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 58a7a8fe7399f721408d4d1a7050a25f3ef81cef chore(deps): update babel monorepo (#9254)\u001b[39m\u001b[49m", + "hash": "58a7a8fe7399f721408d4d1a7050a25f3ef81cef", + "message": "chore(deps): update babel monorepo (#9254)", + "pr": "9254" + }, + { + "line": "< 8ddafad958463fdd9b8585c290c86bb843c64861 fix(deps): update dependency vite to v4.4.11 (#9255)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8ddafad958463fdd9b8585c290c86bb843c64861 fix(deps): update dependency vite to v4.4.11 (#9255)\u001b[39m\u001b[49m", + "hash": "8ddafad958463fdd9b8585c290c86bb843c64861", + "message": "fix(deps): update dependency vite to v4.4.11 (#9255)", + "pr": "9255" + }, + { + "line": "< 6f3ee2541a523e707610bc01ff1b107b1122c566 chore(deps): update dependency postcss to v8.4.31 [security] (#9260)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 6f3ee2541a523e707610bc01ff1b107b1122c566 chore(deps): update dependency postcss to v8.4.31 [security] (#9260)\u001b[39m\u001b[49m", + "hash": "6f3ee2541a523e707610bc01ff1b107b1122c566", + "message": "chore(deps): update dependency postcss to v8.4.31 [security] (#9260)", + "pr": "9260" + }, + { + "line": "< 8dc7bdb556305a584181517a726d788f9868a99b fix(deps): update storybook monorepo to v7.4.6 (#9256)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8dc7bdb556305a584181517a726d788f9868a99b fix(deps): update storybook monorepo to v7.4.6 (#9256)\u001b[39m\u001b[49m", + "hash": "8dc7bdb556305a584181517a726d788f9868a99b", + "message": "fix(deps): update storybook monorepo to v7.4.6 (#9256)", + "pr": "9256" + }, + { + "line": "< cd37907d3d6bda782cb73fa38dfe3f810ed39e75 dbAuth: Unique session cookie name per port (#9248)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< cd37907d3d6bda782cb73fa38dfe3f810ed39e75 dbAuth: Unique session cookie name per port (#9248)\u001b[39m\u001b[49m", + "hash": "cd37907d3d6bda782cb73fa38dfe3f810ed39e75", + "message": "dbAuth: Unique session cookie name per port (#9248)", + "pr": "9248" + }, + { + "line": "< 08a67208947c2c48365ecddeee32d0ce43c368fb feat: add experimental docker setup command (#9024)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 08a67208947c2c48365ecddeee32d0ce43c368fb feat: add experimental docker setup command (#9024)\u001b[39m\u001b[49m", + "hash": "08a67208947c2c48365ecddeee32d0ce43c368fb", + "message": "feat: add experimental docker setup command (#9024)", + "pr": "9024" + }, + { + "line": "< 53d86c95a4d58fb58ae4a2edd4c43a6b9d25e5de Include @types/react as devDep in projects (#9250)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 53d86c95a4d58fb58ae4a2edd4c43a6b9d25e5de Include @types/react as devDep in projects (#9250)\u001b[39m\u001b[49m", + "hash": "53d86c95a4d58fb58ae4a2edd4c43a6b9d25e5de", + "message": "Include @types/react as devDep in projects (#9250)", + "pr": "9250" + }, + { + "line": "< 8c22d4deac32d29b72844f8de3ca72f9bac10a03 graphql possibleTypes: Fix formatting (#9239)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8c22d4deac32d29b72844f8de3ca72f9bac10a03 graphql possibleTypes: Fix formatting (#9239)\u001b[39m\u001b[49m", + "hash": "8c22d4deac32d29b72844f8de3ca72f9bac10a03", + "message": "graphql possibleTypes: Fix formatting (#9239)", + "pr": "9239" + }, + { + "line": "< 18555d0e196cfc69ed322e24cafeb2d228773ae1 RSC: Smoke test (#9194)", + "ref": "main", + "type": "commit", + "pretty": "< 18555d0e196cfc69ed322e24cafeb2d228773ae1 RSC: Smoke test (#9194)", + "hash": "18555d0e196cfc69ed322e24cafeb2d228773ae1", + "message": "RSC: Smoke test (#9194)", + "pr": "9194" + }, + { + "line": "< 27d33d3e29276d0d5c61d604034d65b4c6ae5f65 RSC: Handle Windows paths in clientEntries (#9233)", + "ref": "main", + "type": "commit", + "pretty": "< 27d33d3e29276d0d5c61d604034d65b4c6ae5f65 RSC: Handle Windows paths in clientEntries (#9233)", + "hash": "27d33d3e29276d0d5c61d604034d65b4c6ae5f65", + "message": "RSC: Handle Windows paths in clientEntries (#9233)", + "pr": "9233" + }, + { + "line": "< 61f0f51d8557c591e0432ffe9b75520c0df86ed1 chore(deps): update dependency @clerk/clerk-react to v4.25.1 (#9212)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 61f0f51d8557c591e0432ffe9b75520c0df86ed1 chore(deps): update dependency @clerk/clerk-react to v4.25.1 (#9212)\u001b[39m\u001b[49m", + "hash": "61f0f51d8557c591e0432ffe9b75520c0df86ed1", + "message": "chore(deps): update dependency @clerk/clerk-react to v4.25.1 (#9212)", + "pr": "9212" + }, + { + "line": "< 12aa24adc31f1719152ab1d8dc445959a2a43a6e fix(deps): update dependency @clerk/clerk-sdk-node to v4.12.6 (#9214)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 12aa24adc31f1719152ab1d8dc445959a2a43a6e fix(deps): update dependency @clerk/clerk-sdk-node to v4.12.6 (#9214)\u001b[39m\u001b[49m", + "hash": "12aa24adc31f1719152ab1d8dc445959a2a43a6e", + "message": "fix(deps): update dependency @clerk/clerk-sdk-node to v4.12.6 (#9214)", + "pr": "9214" + }, + { + "line": "< 817eba4501b985424dcdce11068509452d0d3449 fix(deps): update dependency graphql to v16.8.1 [security] (#9228)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 817eba4501b985424dcdce11068509452d0d3449 fix(deps): update dependency graphql to v16.8.1 [security] (#9228)\u001b[39m\u001b[49m", + "hash": "817eba4501b985424dcdce11068509452d0d3449", + "message": "fix(deps): update dependency graphql to v16.8.1 [security] (#9228)", + "pr": "9228" + }, + { + "line": "< a886bf5703e3d92e70e478272757fd5951f38fe7 chore(deps): update dependency @clerk/types to v3.52.0 (#9213)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a886bf5703e3d92e70e478272757fd5951f38fe7 chore(deps): update dependency @clerk/types to v3.52.0 (#9213)\u001b[39m\u001b[49m", + "hash": "a886bf5703e3d92e70e478272757fd5951f38fe7", + "message": "chore(deps): update dependency @clerk/types to v3.52.0 (#9213)", + "pr": "9213" + }, + { + "line": "< 2cbdf11a07d1b142065c9e1464574287f9625253 feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2cbdf11a07d1b142065c9e1464574287f9625253 feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)\u001b[39m\u001b[49m", + "hash": "2cbdf11a07d1b142065c9e1464574287f9625253", + "message": "feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)", + "pr": "9140" + }, + { + "line": "< a8336bf0b9c533f45b867b6af401b8ba68e27a5e fix(deps): update storybook monorepo to v7.4.3 (#9211)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a8336bf0b9c533f45b867b6af401b8ba68e27a5e fix(deps): update storybook monorepo to v7.4.3 (#9211)\u001b[39m\u001b[49m", + "hash": "a8336bf0b9c533f45b867b6af401b8ba68e27a5e", + "message": "fix(deps): update storybook monorepo to v7.4.3 (#9211)", + "pr": "9211" + }, + { + "line": "< 9f69fe6357ced942c23a02e066a604679750b9e9 fix(deps): update dependency @apollo/client to v3.8.4 (#9208)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 9f69fe6357ced942c23a02e066a604679750b9e9 fix(deps): update dependency @apollo/client to v3.8.4 (#9208)\u001b[39m\u001b[49m", + "hash": "9f69fe6357ced942c23a02e066a604679750b9e9", + "message": "fix(deps): update dependency @apollo/client to v3.8.4 (#9208)", + "pr": "9208" + }, + { + "line": "< 5921359bf6482873df1bf9d9df51f3eaaba9c566 chore(crwa): remove React `prop-types` package (#9206)", + "ref": "main", + "type": "commit", + "pretty": "< 5921359bf6482873df1bf9d9df51f3eaaba9c566 chore(crwa): remove React `prop-types` package (#9206)", + "hash": "5921359bf6482873df1bf9d9df51f3eaaba9c566", + "message": "chore(crwa): remove React `prop-types` package (#9206)", + "pr": "9206" + }, + { + "line": "< ed4ef0894139af0a4305c77bf1fdf92f9dc5511f chore(deps): update dependency react-error-boundary to v4.0.11 (#9181)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< ed4ef0894139af0a4305c77bf1fdf92f9dc5511f chore(deps): update dependency react-error-boundary to v4.0.11 (#9181)\u001b[39m\u001b[49m", + "hash": "ed4ef0894139af0a4305c77bf1fdf92f9dc5511f", + "message": "chore(deps): update dependency react-error-boundary to v4.0.11 (#9181)", + "pr": "9181" + }, + { + "line": "< 74d36b75091551bfec46933fbe7746d772ecce19 feat(mailer): Resend handler (#9175)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 74d36b75091551bfec46933fbe7746d772ecce19 feat(mailer): Resend handler (#9175)\u001b[39m\u001b[49m", + "hash": "74d36b75091551bfec46933fbe7746d772ecce19", + "message": "feat(mailer): Resend handler (#9175)", + "pr": "9175" + }, + { + "line": "< 30c4e00e7da21c2b0bc3f710dfa3c48fa93659d9 chore: bump babel packages' versions (#9200)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 30c4e00e7da21c2b0bc3f710dfa3c48fa93659d9 chore: bump babel packages' versions (#9200)\u001b[39m\u001b[49m", + "hash": "30c4e00e7da21c2b0bc3f710dfa3c48fa93659d9", + "message": "chore: bump babel packages' versions (#9200)", + "pr": "9200" + }, + { + "line": "< 4d06556988b8f1da0a9ecd7d6b0e133707e22921 smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "ref": "main", + "type": "commit", + "pretty": "< 4d06556988b8f1da0a9ecd7d6b0e133707e22921 smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "hash": "4d06556988b8f1da0a9ecd7d6b0e133707e22921", + "message": "smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "pr": "9193" + }, + { + "line": "< 83d180fc477b17bf33c7673f010b68e9f7d5e0a2 RSC: Check if index.html has already been updated during setup (#9197)", + "ref": "main", + "type": "commit", + "pretty": "< 83d180fc477b17bf33c7673f010b68e9f7d5e0a2 RSC: Check if index.html has already been updated during setup (#9197)", + "hash": "83d180fc477b17bf33c7673f010b68e9f7d5e0a2", + "message": "RSC: Check if index.html has already been updated during setup (#9197)", + "pr": "9197" + }, + { + "line": "< e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4 RSC: Use react/experimental types (#9196)", + "ref": "main", + "type": "commit", + "pretty": "< e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4 RSC: Use react/experimental types (#9196)", + "hash": "e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4", + "message": "RSC: Use react/experimental types (#9196)", + "pr": "9196" + }, + { + "line": "< a7bab85513ded97c500399daacf3a39de1fc1378 RSC: Patch vite when running setup command (#9192)", + "ref": "main", + "type": "commit", + "pretty": "< a7bab85513ded97c500399daacf3a39de1fc1378 RSC: Patch vite when running setup command (#9192)", + "hash": "a7bab85513ded97c500399daacf3a39de1fc1378", + "message": "RSC: Patch vite when running setup command (#9192)", + "pr": "9192" + }, + { + "line": "< a436b1cfe82b0ce53baadc0149a5d2831928135b RSC: Support 'use client' in 3pp packages (#9191)", + "ref": "main", + "type": "commit", + "pretty": "< a436b1cfe82b0ce53baadc0149a5d2831928135b RSC: Support 'use client' in 3pp packages (#9191)", + "hash": "a436b1cfe82b0ce53baadc0149a5d2831928135b", + "message": "RSC: Support 'use client' in 3pp packages (#9191)", + "pr": "9191" + }, + { + "line": "< 1b52e3dda6b6e8fe5ea2522aaee8c687566912b7 chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "ref": "main", + "type": "commit", + "pretty": "< 1b52e3dda6b6e8fe5ea2522aaee8c687566912b7 chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "hash": "1b52e3dda6b6e8fe5ea2522aaee8c687566912b7", + "message": "chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "pr": "9180" + }, + { + "line": "< 1e23e0ab344ff5e70b69000babc9adf006a61d72 fix(deps): update storybook monorepo to v7.4.2 (#9185)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 1e23e0ab344ff5e70b69000babc9adf006a61d72 fix(deps): update storybook monorepo to v7.4.2 (#9185)\u001b[39m\u001b[49m", + "hash": "1e23e0ab344ff5e70b69000babc9adf006a61d72", + "message": "fix(deps): update storybook monorepo to v7.4.2 (#9185)", + "pr": "9185" + }, + { + "line": "< aa15dad514bec009f275921e048901bd4fd4c2f2 fix(deps): update prisma monorepo to v5.3.1 (#9187)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< aa15dad514bec009f275921e048901bd4fd4c2f2 fix(deps): update prisma monorepo to v5.3.1 (#9187)\u001b[39m\u001b[49m", + "hash": "aa15dad514bec009f275921e048901bd4fd4c2f2", + "message": "fix(deps): update prisma monorepo to v5.3.1 (#9187)", + "pr": "9187" + }, + { + "line": "< adddd23987b8a1003053280fafe772275e932217 chore(deps): update dependency lerna to v7.3.0 (#9186)", + "ref": "main", + "type": "commit", + "pretty": "< adddd23987b8a1003053280fafe772275e932217 chore(deps): update dependency lerna to v7.3.0 (#9186)", + "hash": "adddd23987b8a1003053280fafe772275e932217", + "message": "chore(deps): update dependency lerna to v7.3.0 (#9186)", + "pr": "9186" + }, + { + "line": "< 842d24566fc83623278bf00fe8e2a57f04f31573 fix(deps): update dependency fastify to v4.23.2 (#9184)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 842d24566fc83623278bf00fe8e2a57f04f31573 fix(deps): update dependency fastify to v4.23.2 (#9184)\u001b[39m\u001b[49m", + "hash": "842d24566fc83623278bf00fe8e2a57f04f31573", + "message": "fix(deps): update dependency fastify to v4.23.2 (#9184)", + "pr": "9184" + }, + { + "line": "< 552eec353a72f426b384263c530eb052601c12ac fix(deps): update dependency @fastify/static to v6.11.1 (#9182)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 552eec353a72f426b384263c530eb052601c12ac fix(deps): update dependency @fastify/static to v6.11.1 (#9182)\u001b[39m\u001b[49m", + "hash": "552eec353a72f426b384263c530eb052601c12ac", + "message": "fix(deps): update dependency @fastify/static to v6.11.1 (#9182)", + "pr": "9182" + }, + { + "line": "< dc86db59dcc18e8e711f9f1a0d5196060de7dbbb fix(babel): use caret to specify some package versions (#9174)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< dc86db59dcc18e8e711f9f1a0d5196060de7dbbb fix(babel): use caret to specify some package versions (#9174)\u001b[39m\u001b[49m", + "hash": "dc86db59dcc18e8e711f9f1a0d5196060de7dbbb", + "message": "fix(babel): use caret to specify some package versions (#9174)", + "pr": "9174" + }, + { + "line": "< 91fb06b378ea2b156f0cb619033021f4b116a6a7 Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "ref": "main", + "type": "commit", + "pretty": "< 91fb06b378ea2b156f0cb619033021f4b116a6a7 Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "hash": "91fb06b378ea2b156f0cb619033021f4b116a6a7", + "message": "Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "pr": "9173" + }, + { + "line": "< 9d63d080a69f1428bb2b961690ecb09eaee64edd RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "ref": "main", + "type": "commit", + "pretty": "< 9d63d080a69f1428bb2b961690ecb09eaee64edd RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "hash": "9d63d080a69f1428bb2b961690ecb09eaee64edd", + "message": "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "pr": "9164" + }, + { + "line": "< b8ce4efbd2dea27a01133741994ec3c4f1db9c38 fix(deps): update dependency fastify to v4.23.1 (#9167)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< b8ce4efbd2dea27a01133741994ec3c4f1db9c38 fix(deps): update dependency fastify to v4.23.1 (#9167)\u001b[39m\u001b[49m", + "hash": "b8ce4efbd2dea27a01133741994ec3c4f1db9c38", + "message": "fix(deps): update dependency fastify to v4.23.1 (#9167)", + "pr": "9167" + }, + { + "line": "< 08870babd04bdfaa735f645603de0d5c515d66c2 chore(ci): undo changes to test project stories (#9166)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 08870babd04bdfaa735f645603de0d5c515d66c2 chore(ci): undo changes to test project stories (#9166)\u001b[39m\u001b[49m", + "hash": "08870babd04bdfaa735f645603de0d5c515d66c2", + "message": "chore(ci): undo changes to test project stories (#9166)", + "pr": "9166" + }, + { + "line": "< 49e6221dc8789b87af05ae75002506368a8e9391 fix(deps): update jest monorepo to v29.7.0 (#9163)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 49e6221dc8789b87af05ae75002506368a8e9391 fix(deps): update jest monorepo to v29.7.0 (#9163)\u001b[39m\u001b[49m", + "hash": "49e6221dc8789b87af05ae75002506368a8e9391", + "message": "fix(deps): update jest monorepo to v29.7.0 (#9163)", + "pr": "9163" + }, + { + "line": "< 208bce31a64fdf7d1991f0b98f3e90017ae14f21 chore(deps): update babel monorepo (#9144)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 208bce31a64fdf7d1991f0b98f3e90017ae14f21 chore(deps): update babel monorepo (#9144)\u001b[39m\u001b[49m", + "hash": "208bce31a64fdf7d1991f0b98f3e90017ae14f21", + "message": "chore(deps): update babel monorepo (#9144)", + "pr": "9144" + }, + { + "line": "< f40d11b379ac53967e2e35d8480c54ba0ba2a8e2 fix(deps): update dependency fastify to v4.23.0 (#9160)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< f40d11b379ac53967e2e35d8480c54ba0ba2a8e2 fix(deps): update dependency fastify to v4.23.0 (#9160)\u001b[39m\u001b[49m", + "hash": "f40d11b379ac53967e2e35d8480c54ba0ba2a8e2", + "message": "fix(deps): update dependency fastify to v4.23.0 (#9160)", + "pr": "9160" + }, + { + "line": "< a089495bbe3a2e11875ff5071d1745dc104c6918 fix(deps): update dependency react-hook-form to v7.46.1 (#9162)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a089495bbe3a2e11875ff5071d1745dc104c6918 fix(deps): update dependency react-hook-form to v7.46.1 (#9162)\u001b[39m\u001b[49m", + "hash": "a089495bbe3a2e11875ff5071d1745dc104c6918", + "message": "fix(deps): update dependency react-hook-form to v7.46.1 (#9162)", + "pr": "9162" + }, + { + "line": "< 2b056c6da66e115d61929cb8b3f91932ebcc1d72 fix(deps): update dependency msw to v1.3.0 (#9161)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2b056c6da66e115d61929cb8b3f91932ebcc1d72 fix(deps): update dependency msw to v1.3.0 (#9161)\u001b[39m\u001b[49m", + "hash": "2b056c6da66e115d61929cb8b3f91932ebcc1d72", + "message": "fix(deps): update dependency msw to v1.3.0 (#9161)", + "pr": "9161" + }, + { + "line": "< 15bb687eb63c22d6592a10d075d6786761643533 fix(deps): update storybook monorepo to v7.4.1 (#9159)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 15bb687eb63c22d6592a10d075d6786761643533 fix(deps): update storybook monorepo to v7.4.1 (#9159)\u001b[39m\u001b[49m", + "hash": "15bb687eb63c22d6592a10d075d6786761643533", + "message": "fix(deps): update storybook monorepo to v7.4.1 (#9159)", + "pr": "9159" + }, + { + "line": "< 9257e3944fe1f49a3e9bd39a1f076c02134de28c RSC: Decode RSF args from request (#9157)", + "ref": "main", + "type": "commit", + "pretty": "< 9257e3944fe1f49a3e9bd39a1f076c02134de28c RSC: Decode RSF args from request (#9157)", + "hash": "9257e3944fe1f49a3e9bd39a1f076c02134de28c", + "message": "RSC: Decode RSF args from request (#9157)", + "pr": "9157" + }, + { + "line": "< c46bb67a75c4f78b4cbd5d744f52937a567f0e43 RSC: RSF aka Server Actions (#9155)", + "ref": "main", + "type": "commit", + "pretty": "< c46bb67a75c4f78b4cbd5d744f52937a567f0e43 RSC: RSF aka Server Actions (#9155)", + "hash": "c46bb67a75c4f78b4cbd5d744f52937a567f0e43", + "message": "RSC: RSF aka Server Actions (#9155)", + "pr": "9155" + }, + { + "line": "< d3475cd7041b20106bf73968a1d59dcae611afcd RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "ref": "main", + "type": "commit", + "pretty": "< d3475cd7041b20106bf73968a1d59dcae611afcd RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "hash": "d3475cd7041b20106bf73968a1d59dcae611afcd", + "message": "RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "pr": "9154" + }, + { + "line": "< ee334bcf08f760cdfe26c03e7d65dc7da2f76281 RSC: Work around an issue in Rollup (#9153)", + "ref": "main", + "type": "commit", + "pretty": "< ee334bcf08f760cdfe26c03e7d65dc7da2f76281 RSC: Work around an issue in Rollup (#9153)", + "hash": "ee334bcf08f760cdfe26c03e7d65dc7da2f76281", + "message": "RSC: Work around an issue in Rollup (#9153)", + "pr": "9153" + }, + { + "line": "< 6af5356c4a964e0b46935edf6c66c8a6593ab7b9 fix(deps): update dependency nodemailer to v6.9.5 (#9145)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 6af5356c4a964e0b46935edf6c66c8a6593ab7b9 fix(deps): update dependency nodemailer to v6.9.5 (#9145)\u001b[39m\u001b[49m", + "hash": "6af5356c4a964e0b46935edf6c66c8a6593ab7b9", + "message": "fix(deps): update dependency nodemailer to v6.9.5 (#9145)", + "pr": "9145" + }, + { + "line": "< d9404187472ba951c6f1b4b3fd78af4c87683e7f fix(deps): update opentelemetry-js monorepo (#9147)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< d9404187472ba951c6f1b4b3fd78af4c87683e7f fix(deps): update opentelemetry-js monorepo (#9147)\u001b[39m\u001b[49m", + "hash": "d9404187472ba951c6f1b4b3fd78af4c87683e7f", + "message": "fix(deps): update opentelemetry-js monorepo (#9147)", + "pr": "9147" + }, + { + "line": "< 33db0478dcab02ae05ea8d926d1a1e0d89076309 chore(deps): update dependency typescript to v5.2.2 (#9128)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 33db0478dcab02ae05ea8d926d1a1e0d89076309 chore(deps): update dependency typescript to v5.2.2 (#9128)\u001b[39m\u001b[49m", + "hash": "33db0478dcab02ae05ea8d926d1a1e0d89076309", + "message": "chore(deps): update dependency typescript to v5.2.2 (#9128)", + "pr": "9128" + }, + { + "line": "< 7be03fc33f2994f1e712dfdd6ab0dfe8082c2dec fix(deps): update dependency fastify-raw-body to v4.2.2 (#9126)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 7be03fc33f2994f1e712dfdd6ab0dfe8082c2dec fix(deps): update dependency fastify-raw-body to v4.2.2 (#9126)\u001b[39m\u001b[49m", + "hash": "7be03fc33f2994f1e712dfdd6ab0dfe8082c2dec", + "message": "fix(deps): update dependency fastify-raw-body to v4.2.2 (#9126)", + "pr": "9126" + }, + { + "line": "< 0cc790a6b48a448119b85d4dd7c5453ec792d890 fix(deps): update dependency @fastify/static to v6.11.0 (#9129)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 0cc790a6b48a448119b85d4dd7c5453ec792d890 fix(deps): update dependency @fastify/static to v6.11.0 (#9129)\u001b[39m\u001b[49m", + "hash": "0cc790a6b48a448119b85d4dd7c5453ec792d890", + "message": "fix(deps): update dependency @fastify/static to v6.11.0 (#9129)", + "pr": "9129" + }, + { + "line": "< 9e932fba52d43aa4c1d981b52e64678e8172db6c fix(deps): update dependency core-js to v3.32.2 (#9125)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 9e932fba52d43aa4c1d981b52e64678e8172db6c fix(deps): update dependency core-js to v3.32.2 (#9125)\u001b[39m\u001b[49m", + "hash": "9e932fba52d43aa4c1d981b52e64678e8172db6c", + "message": "fix(deps): update dependency core-js to v3.32.2 (#9125)", + "pr": "9125" + }, + { + "line": "< c01ae41211aed94c51cfd9754532e402487f9734 fix(deps): update dependency fastify to v4.22.2 (#9124)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< c01ae41211aed94c51cfd9754532e402487f9734 fix(deps): update dependency fastify to v4.22.2 (#9124)\u001b[39m\u001b[49m", + "hash": "c01ae41211aed94c51cfd9754532e402487f9734", + "message": "fix(deps): update dependency fastify to v4.22.2 (#9124)", + "pr": "9124" + }, + { + "line": "< 7dcdf19b25ad0e4dd97e884c01ce956ad6497de7 fix(deps): update dependency @apollo/client to v3.8.3 (#9123)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 7dcdf19b25ad0e4dd97e884c01ce956ad6497de7 fix(deps): update dependency @apollo/client to v3.8.3 (#9123)\u001b[39m\u001b[49m", + "hash": "7dcdf19b25ad0e4dd97e884c01ce956ad6497de7", + "message": "fix(deps): update dependency @apollo/client to v3.8.3 (#9123)", + "pr": "9123" + }, + { + "line": "< 050a16925ab9768374e56f20792bbb2a026488bb Streaming: meta charSet=utf-8 (#9142)", + "ref": "main", + "type": "commit", + "pretty": "< 050a16925ab9768374e56f20792bbb2a026488bb Streaming: meta charSet=utf-8 (#9142)", + "hash": "050a16925ab9768374e56f20792bbb2a026488bb", + "message": "Streaming: meta charSet=utf-8 (#9142)", + "pr": "9142" + }, + { + "line": "< 634099091ade40b5bba9f86cd6fc573ae5be480c chore(tasks): Benchmark tests (#8578)", + "ref": "main", + "type": "commit", + "pretty": "< 634099091ade40b5bba9f86cd6fc573ae5be480c chore(tasks): Benchmark tests (#8578)", + "hash": "634099091ade40b5bba9f86cd6fc573ae5be480c", + "message": "chore(tasks): Benchmark tests (#8578)", + "pr": "8578" + }, + { + "line": "< 2897cd718e9a0eceaece63f58fa090e882c49c10 style(eslint): enable `@typescript-eslint/consistent-type-imports` (#9082)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2897cd718e9a0eceaece63f58fa090e882c49c10 style(eslint): enable `@typescript-eslint/consistent-type-imports` (#9082)\u001b[39m\u001b[49m", + "hash": "2897cd718e9a0eceaece63f58fa090e882c49c10", + "message": "style(eslint): enable `@typescript-eslint/consistent-type-imports` (#9082)", + "pr": "9082" + }, + { + "line": "< ae11f69df494be05d33e558bfea328b751223f43 Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "ref": "main", + "type": "commit", + "pretty": "< ae11f69df494be05d33e558bfea328b751223f43 Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "hash": "ae11f69df494be05d33e558bfea328b751223f43", + "message": "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "pr": "9134" + }, + { + "line": "< 0ff463f05dc1bba7797e3b178dcf788be2bcd028 Support jsx/tsx on the api side (for mail templates, ai-jsx, etc) (#9133)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 0ff463f05dc1bba7797e3b178dcf788be2bcd028 Support jsx/tsx on the api side (for mail templates, ai-jsx, etc) (#9133)\u001b[39m\u001b[49m", + "hash": "0ff463f05dc1bba7797e3b178dcf788be2bcd028", + "message": "Support jsx/tsx on the api side (for mail templates, ai-jsx, etc) (#9133)", + "pr": "9133" + }, + { + "line": "< 7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2 RSC: Don't set the react-server condition for client builds (#9132)", + "ref": "main", + "type": "commit", + "pretty": "< 7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2 RSC: Don't set the react-server condition for client builds (#9132)", + "hash": "7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2", + "message": "RSC: Don't set the react-server condition for client builds (#9132)", + "pr": "9132" + }, + { + "line": "< e90ae0cb2b06165f8886602b3644c5dfd32d98b1 fix(jest): Include RWJS_DEBUG_ENV in jest web env (#9065)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< e90ae0cb2b06165f8886602b3644c5dfd32d98b1 fix(jest): Include RWJS_DEBUG_ENV in jest web env (#9065)\u001b[39m\u001b[49m", + "hash": "e90ae0cb2b06165f8886602b3644c5dfd32d98b1", + "message": "fix(jest): Include RWJS_DEBUG_ENV in jest web env (#9065)", + "pr": "9065" + }, + { + "line": "< 93f28064032842d909de971d42f3d1259eb52413 fix(deps): update dependency @escape.tech/graphql-armor to v2.3.1 (#9114)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 93f28064032842d909de971d42f3d1259eb52413 fix(deps): update dependency @escape.tech/graphql-armor to v2.3.1 (#9114)\u001b[39m\u001b[49m", + "hash": "93f28064032842d909de971d42f3d1259eb52413", + "message": "fix(deps): update dependency @escape.tech/graphql-armor to v2.3.1 (#9114)", + "pr": "9114" + }, + { + "line": "< ed8a87d98d8c3e5dad23ac3e2143b46a201194dc chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "ref": "main", + "type": "commit", + "pretty": "< ed8a87d98d8c3e5dad23ac3e2143b46a201194dc chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "hash": "ed8a87d98d8c3e5dad23ac3e2143b46a201194dc", + "message": "chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "pr": "9029" + }, + { + "line": "< 80de2bcb4d24ef3ea508f75b2c5ad2a8e3c4c153 chore(deps): update dependency postcss to v8.4.29 (#9109)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 80de2bcb4d24ef3ea508f75b2c5ad2a8e3c4c153 chore(deps): update dependency postcss to v8.4.29 (#9109)\u001b[39m\u001b[49m", + "hash": "80de2bcb4d24ef3ea508f75b2c5ad2a8e3c4c153", + "message": "chore(deps): update dependency postcss to v8.4.29 (#9109)", + "pr": "9109" + }, + { + "line": "< 0c23f67708b286d1e923e4d93aaba238edf66bb3 Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "ref": "main", + "type": "commit", + "pretty": "< 0c23f67708b286d1e923e4d93aaba238edf66bb3 Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "hash": "0c23f67708b286d1e923e4d93aaba238edf66bb3", + "message": "Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "pr": "9115" + }, + { + "line": "< 8d0ab16aa1c39f1526e4213211608805735f6974 fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "ref": "main", + "type": "commit", + "pretty": "< 8d0ab16aa1c39f1526e4213211608805735f6974 fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "hash": "8d0ab16aa1c39f1526e4213211608805735f6974", + "message": "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "pr": "9113" + }, + { + "line": "< 89f0303f2d3ebf8c3fb8a09611066230fd560a4c feat: Mailer packages and studio tooling updates (#9058)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 89f0303f2d3ebf8c3fb8a09611066230fd560a4c feat: Mailer packages and studio tooling updates (#9058)\u001b[39m\u001b[49m", + "hash": "89f0303f2d3ebf8c3fb8a09611066230fd560a4c", + "message": "feat: Mailer packages and studio tooling updates (#9058)", + "pr": "9058" + }, + { + "line": "< d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8 chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "ref": "main", + "type": "commit", + "pretty": "< d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8 chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "hash": "d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8", + "message": "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "pr": "9021" + }, + { + "line": "< 2b8a5558c6d88f37346346c5f9db2cdd0073f83f feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "ref": "main", + "type": "commit", + "pretty": "< 2b8a5558c6d88f37346346c5f9db2cdd0073f83f feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "hash": "2b8a5558c6d88f37346346c5f9db2cdd0073f83f", + "message": "feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "pr": "9106" + }, + { + "line": "< 2f49ac90349e2ddd793e0adeaf00967abfd54912 chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "ref": "main", + "type": "commit", + "pretty": "< 2f49ac90349e2ddd793e0adeaf00967abfd54912 chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "hash": "2f49ac90349e2ddd793e0adeaf00967abfd54912", + "message": "chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "pr": "9100" + }, + { + "line": "< 2cc76e697d7976ccdd61803ab6503663f25c9250 chore(cli): make `@redwoodjs/cli-data-migrate` package size smaller (#9085)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2cc76e697d7976ccdd61803ab6503663f25c9250 chore(cli): make `@redwoodjs/cli-data-migrate` package size smaller (#9085)\u001b[39m\u001b[49m", + "hash": "2cc76e697d7976ccdd61803ab6503663f25c9250", + "message": "chore(cli): make `@redwoodjs/cli-data-migrate` package size smaller (#9085)", + "pr": "9085" + }, + { + "line": "< c55f1c56b3b3279089784f3c388829ca3438e1e1 chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "ref": "main", + "type": "commit", + "pretty": "< c55f1c56b3b3279089784f3c388829ca3438e1e1 chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "hash": "c55f1c56b3b3279089784f3c388829ca3438e1e1", + "message": "chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "pr": "9103" + }, + { + "line": "< 65acc365f05e2862d50aa86aaf2cd1377137b105 chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "ref": "main", + "type": "commit", + "pretty": "< 65acc365f05e2862d50aa86aaf2cd1377137b105 chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "hash": "65acc365f05e2862d50aa86aaf2cd1377137b105", + "message": "chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "pr": "9102" + }, + { + "line": "< 029fa48c4186ec820704c666a9c31da448a2f7c4 chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "ref": "main", + "type": "commit", + "pretty": "< 029fa48c4186ec820704c666a9c31da448a2f7c4 chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "hash": "029fa48c4186ec820704c666a9c31da448a2f7c4", + "message": "chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "pr": "9101" + }, + { + "line": "< 8afc6c0d10c4016cf3d1d7fcbb27eb0e42754be7 Fix yarn lint warnings regarding {} (#9099)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8afc6c0d10c4016cf3d1d7fcbb27eb0e42754be7 Fix yarn lint warnings regarding {} (#9099)\u001b[39m\u001b[49m", + "hash": "8afc6c0d10c4016cf3d1d7fcbb27eb0e42754be7", + "message": "Fix yarn lint warnings regarding {} (#9099)", + "pr": "9099" + }, + { + "line": "< 52fc187a3c609db9e05dc3d68dd2857f68209d0b chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "ref": "main", + "type": "commit", + "pretty": "< 52fc187a3c609db9e05dc3d68dd2857f68209d0b chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "hash": "52fc187a3c609db9e05dc3d68dd2857f68209d0b", + "message": "chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "pr": "9098" + }, + { + "line": "< 069101b7ca1115d021a20f4d9b80e9b10107df24 feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "ref": "main", + "type": "commit", + "pretty": "< 069101b7ca1115d021a20f4d9b80e9b10107df24 feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "hash": "069101b7ca1115d021a20f4d9b80e9b10107df24", + "message": "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "pr": "9074" + }, + { + "line": "< 4f2791acdcce6058dd7421eb575f09d5c929459b chore(deps): update babel monorepo (#9090)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 4f2791acdcce6058dd7421eb575f09d5c929459b chore(deps): update babel monorepo (#9090)\u001b[39m\u001b[49m", + "hash": "4f2791acdcce6058dd7421eb575f09d5c929459b", + "message": "chore(deps): update babel monorepo (#9090)", + "pr": "9090" + }, + { + "line": "< 5ae083d9e0bd59b93c9af52ba5eb51f38407cdb2 fix(deps): update jest monorepo (#9092)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 5ae083d9e0bd59b93c9af52ba5eb51f38407cdb2 fix(deps): update jest monorepo (#9092)\u001b[39m\u001b[49m", + "hash": "5ae083d9e0bd59b93c9af52ba5eb51f38407cdb2", + "message": "fix(deps): update jest monorepo (#9092)", + "pr": "9092" + }, + { + "line": "< b5fdb47bef8396550f2c53f81f614a7d311b7a9b fix(deps): update storybook monorepo to v7.4.0 (#9095)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< b5fdb47bef8396550f2c53f81f614a7d311b7a9b fix(deps): update storybook monorepo to v7.4.0 (#9095)\u001b[39m\u001b[49m", + "hash": "b5fdb47bef8396550f2c53f81f614a7d311b7a9b", + "message": "fix(deps): update storybook monorepo to v7.4.0 (#9095)", + "pr": "9095" + }, + { + "line": "< 9958845199de1d58166da7b8f7ad745421851565 fix(deps): update dependency msw to v1.2.5 (#9091)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 9958845199de1d58166da7b8f7ad745421851565 fix(deps): update dependency msw to v1.2.5 (#9091)\u001b[39m\u001b[49m", + "hash": "9958845199de1d58166da7b8f7ad745421851565", + "message": "fix(deps): update dependency msw to v1.2.5 (#9091)", + "pr": "9091" + }, + { + "line": "< bf999c67fc7cdc15dd8eb2d64faba0b6d59a8805 fix(deps): update dependency fastify to v4.22.0 (#9093)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< bf999c67fc7cdc15dd8eb2d64faba0b6d59a8805 fix(deps): update dependency fastify to v4.22.0 (#9093)\u001b[39m\u001b[49m", + "hash": "bf999c67fc7cdc15dd8eb2d64faba0b6d59a8805", + "message": "fix(deps): update dependency fastify to v4.22.0 (#9093)", + "pr": "9093" + }, + { + "line": "< f3ce9b1efee76c795d8aa076eaa123b2480ae800 fix(deps): update dependency graphql to v16.8.0 (#9094)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< f3ce9b1efee76c795d8aa076eaa123b2480ae800 fix(deps): update dependency graphql to v16.8.0 (#9094)\u001b[39m\u001b[49m", + "hash": "f3ce9b1efee76c795d8aa076eaa123b2480ae800", + "message": "fix(deps): update dependency graphql to v16.8.0 (#9094)", + "pr": "9094" + }, + { + "line": "< ae4f5cab8fac1394baeea237c1e62dc3fc09e118 chore(deps): update dependency firebase to v10.3.0 (#9086)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< ae4f5cab8fac1394baeea237c1e62dc3fc09e118 chore(deps): update dependency firebase to v10.3.0 (#9086)\u001b[39m\u001b[49m", + "hash": "ae4f5cab8fac1394baeea237c1e62dc3fc09e118", + "message": "chore(deps): update dependency firebase to v10.3.0 (#9086)", + "pr": "9086" + }, + { + "line": "< 3c6b845948e334c9afc686512aab4a89d254e8c8 fix(deps): update prisma monorepo to v5.2.0 (#9064)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 3c6b845948e334c9afc686512aab4a89d254e8c8 fix(deps): update prisma monorepo to v5.2.0 (#9064)\u001b[39m\u001b[49m", + "hash": "3c6b845948e334c9afc686512aab4a89d254e8c8", + "message": "fix(deps): update prisma monorepo to v5.2.0 (#9064)", + "pr": "9064" + }, + { + "line": "< fbd39919afc75bd7fc7082e22fcb4f650c916771 chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "ref": "main", + "type": "commit", + "pretty": "< fbd39919afc75bd7fc7082e22fcb4f650c916771 chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "hash": "fbd39919afc75bd7fc7082e22fcb4f650c916771", + "message": "chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "pr": "9089" + }, + { + "line": "< 944a93b1df26afa6749fe34c12f1e334385aef6a chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "ref": "main", + "type": "commit", + "pretty": "< 944a93b1df26afa6749fe34c12f1e334385aef6a chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "hash": "944a93b1df26afa6749fe34c12f1e334385aef6a", + "message": "chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "pr": "9088" + }, + { + "line": "< a0834d4d94507deae107893c603f25ad8fa11f97 fix(data-migrate): add `dotenv-defaults`, properly plug into CLI (#9087)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a0834d4d94507deae107893c603f25ad8fa11f97 fix(data-migrate): add `dotenv-defaults`, properly plug into CLI (#9087)\u001b[39m\u001b[49m", + "hash": "a0834d4d94507deae107893c603f25ad8fa11f97", + "message": "fix(data-migrate): add `dotenv-defaults`, properly plug into CLI (#9087)", + "pr": "9087" + }, + { + "line": "< 2d6b93d2f7661025eb49ffe5321f9fef2d65d4eb fix(data-migrate): add missing dependency `@redwoodjs/cli-helpers`", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2d6b93d2f7661025eb49ffe5321f9fef2d65d4eb fix(data-migrate): add missing dependency `@redwoodjs/cli-helpers`\u001b[39m\u001b[49m", + "hash": "2d6b93d2f7661025eb49ffe5321f9fef2d65d4eb", + "message": "fix(data-migrate): add missing dependency `@redwoodjs/cli-helpers`" + }, + { + "line": "< f4ea5138b51f44c02b0085d4a335508aa502ab34 feat(cli): lazy install data migrate and make it runnable on its own (#8572)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< f4ea5138b51f44c02b0085d4a335508aa502ab34 feat(cli): lazy install data migrate and make it runnable on its own (#8572)\u001b[39m\u001b[49m", + "hash": "f4ea5138b51f44c02b0085d4a335508aa502ab34", + "message": "feat(cli): lazy install data migrate and make it runnable on its own (#8572)", + "pr": "8572" + }, + { + "line": "< 8ca4b0201a6129efb50414c014bc910b3572625e chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "ref": "main", + "type": "commit", + "pretty": "< 8ca4b0201a6129efb50414c014bc910b3572625e chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "hash": "8ca4b0201a6129efb50414c014bc910b3572625e", + "message": "chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "pr": "9042" + }, + { + "line": "< a13174a5b1b1fd84b0cee0a1d09851ffe86d7cf3 feat: Support GraphQL Subscriptions in Apollo Client using SSE links (#9009)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a13174a5b1b1fd84b0cee0a1d09851ffe86d7cf3 feat: Support GraphQL Subscriptions in Apollo Client using SSE links (#9009)\u001b[39m\u001b[49m", + "hash": "a13174a5b1b1fd84b0cee0a1d09851ffe86d7cf3", + "message": "feat: Support GraphQL Subscriptions in Apollo Client using SSE links (#9009)", + "pr": "9009" + }, + { + "line": "< c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "ref": "main", + "type": "commit", + "pretty": "< c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "hash": "c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb", + "message": "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "pr": "9047" + }, + { + "line": "< 8aa76885fdbdd603e2afdeef4d0abba1d0e75477 fix(deps): update storybook monorepo to v7.3.2 (#9020)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8aa76885fdbdd603e2afdeef4d0abba1d0e75477 fix(deps): update storybook monorepo to v7.3.2 (#9020)\u001b[39m\u001b[49m", + "hash": "8aa76885fdbdd603e2afdeef4d0abba1d0e75477", + "message": "fix(deps): update storybook monorepo to v7.3.2 (#9020)", + "pr": "9020" + }, + { + "line": "< bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7 Create releaseCommits.json", + "ref": "main", + "type": "commit", + "pretty": "< bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7 Create releaseCommits.json", + "hash": "bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7", + "message": "Create releaseCommits.json" + }, + { + "line": "< 33995028445e817a35b669dd1889c20f91a3f8d4 chore(deps): update dependency @auth0/auth0-spa-js to v2.1.1 (#8912)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 33995028445e817a35b669dd1889c20f91a3f8d4 chore(deps): update dependency @auth0/auth0-spa-js to v2.1.1 (#8912)\u001b[39m\u001b[49m", + "hash": "33995028445e817a35b669dd1889c20f91a3f8d4", + "message": "chore(deps): update dependency @auth0/auth0-spa-js to v2.1.1 (#8912)", + "pr": "8912" + }, + { + "line": "< fc26cd76c67bd2ef329b7369ca400c8b8063b5da chore(deps): update dependency @azure/msal-browser to v2.38.1 (#8913)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< fc26cd76c67bd2ef329b7369ca400c8b8063b5da chore(deps): update dependency @azure/msal-browser to v2.38.1 (#8913)\u001b[39m\u001b[49m", + "hash": "fc26cd76c67bd2ef329b7369ca400c8b8063b5da", + "message": "chore(deps): update dependency @azure/msal-browser to v2.38.1 (#8913)", + "pr": "8913" + }, + { + "line": "< 8ff7e3cca7bb7d581862c7b00dfe5cda9b25bf18 fix(deps): update jest monorepo to v29.6.2 (#8984)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8ff7e3cca7bb7d581862c7b00dfe5cda9b25bf18 fix(deps): update jest monorepo to v29.6.2 (#8984)\u001b[39m\u001b[49m", + "hash": "8ff7e3cca7bb7d581862c7b00dfe5cda9b25bf18", + "message": "fix(deps): update jest monorepo to v29.6.2 (#8984)", + "pr": "8984" + }, + { + "line": "< 0ec4c5e15488d73e95d08d3965968797ecd23315 chore(deps): update babel monorepo to v7.22.10 (#9016)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 0ec4c5e15488d73e95d08d3965968797ecd23315 chore(deps): update babel monorepo to v7.22.10 (#9016)\u001b[39m\u001b[49m", + "hash": "0ec4c5e15488d73e95d08d3965968797ecd23315", + "message": "chore(deps): update babel monorepo to v7.22.10 (#9016)", + "pr": "9016" + }, + { + "line": "< c89e1364c7e9af541438f3274ddf1f92401dc2c8 exp(streaming): Allow SSR with experimental apollo client (#9038)", + "ref": "main", + "type": "commit", + "pretty": "< c89e1364c7e9af541438f3274ddf1f92401dc2c8 exp(streaming): Allow SSR with experimental apollo client (#9038)", + "hash": "c89e1364c7e9af541438f3274ddf1f92401dc2c8", + "message": "exp(streaming): Allow SSR with experimental apollo client (#9038)", + "pr": "9038" + }, + { + "line": "< 865c9085bf1519c6b2f153b7497ef005d42f3bad manually bump web-server package version", + "ref": "main", + "type": "commit", + "pretty": "< 865c9085bf1519c6b2f153b7497ef005d42f3bad manually bump web-server package version", + "hash": "865c9085bf1519c6b2f153b7497ef005d42f3bad", + "message": "manually bump web-server package version" + }, + { + "line": "| < a38d6f08df99db83239008b75d2bf6f569ea0609 fix(deps): update dependency core-js to v3.32.0 (#9030)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m| < a38d6f08df99db83239008b75d2bf6f569ea0609 fix(deps): update dependency core-js to v3.32.0 (#9030)\u001b[39m\u001b[49m", + "hash": "a38d6f08df99db83239008b75d2bf6f569ea0609", + "message": "fix(deps): update dependency core-js to v3.32.0 (#9030)", + "pr": "9030" + } + ], + "chore": [ + { + "line": "< 7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39 Merge branch 'release/patch/v6.0.7'", + "ref": "main", + "type": "chore", + "pretty": "\u001b[2m< 7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39 Merge branch 'release/patch/v6.0.7'\u001b[22m", + "hash": "7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39", + "message": "Merge branch 'release/patch/v6.0.7'" + } + ], + "ui": [ + { + "line": "| o a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", + "ref": "main", + "type": "ui", + "pretty": "\u001b[2m| o a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)\u001b[22m" + }, + { + "line": "o 79faf45ead7bdaa351afb7d5f99ca7ee828939bf v6.0.7", + "ref": "main", + "type": "ui", + "pretty": "\u001b[2mo 79faf45ead7bdaa351afb7d5f99ca7ee828939bf v6.0.7\u001b[22m" + } + ], + "main": [ + { + "line": "< 045531957188895e3ee42c3815030445bb59b87f fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (#9280)", + "ref": "main", + "type": "commit", + "pretty": "< 045531957188895e3ee42c3815030445bb59b87f fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (#9280)", + "hash": "045531957188895e3ee42c3815030445bb59b87f", + "message": "fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (#9280)", + "pr": "9280" + }, + { + "line": "< c8c8a3b1e3c599a610b3856b71078357e70e44be RSC: vite externalConditions (#9333)", + "ref": "main", + "type": "commit", + "pretty": "< c8c8a3b1e3c599a610b3856b71078357e70e44be RSC: vite externalConditions (#9333)", + "hash": "c8c8a3b1e3c599a610b3856b71078357e70e44be", + "message": "RSC: vite externalConditions (#9333)", + "pr": "9333" + }, + { + "line": "< 45065da262c1a57d67b0013ea7168c0fca687dc6 RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "ref": "main", + "type": "commit", + "pretty": "< 45065da262c1a57d67b0013ea7168c0fca687dc6 RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "hash": "45065da262c1a57d67b0013ea7168c0fca687dc6", + "message": "RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "pr": "9332" + }, + { + "line": "< 18c5d961f203820facc8a42eebe2d382ed7ff7dd RSC: Implement RSC worker (#9331)", + "ref": "main", + "type": "commit", + "pretty": "< 18c5d961f203820facc8a42eebe2d382ed7ff7dd RSC: Implement RSC worker (#9331)", + "hash": "18c5d961f203820facc8a42eebe2d382ed7ff7dd", + "message": "RSC: Implement RSC worker (#9331)", + "pr": "9331" + }, + { + "line": "< 433d8ef99b0025cf2a5d6faceef303be6089f155 RSC: createRscRequestHandler (#9330)", + "ref": "main", + "type": "commit", + "pretty": "< 433d8ef99b0025cf2a5d6faceef303be6089f155 RSC: createRscRequestHandler (#9330)", + "hash": "433d8ef99b0025cf2a5d6faceef303be6089f155", + "message": "RSC: createRscRequestHandler (#9330)", + "pr": "9330" + }, + { + "line": "< 104c8e289340310dd4cba7d8cc20666a9abb85e6 RSA smoke-test (#9327)", + "ref": "main", + "type": "commit", + "pretty": "< 104c8e289340310dd4cba7d8cc20666a9abb85e6 RSA smoke-test (#9327)", + "hash": "104c8e289340310dd4cba7d8cc20666a9abb85e6", + "message": "RSA smoke-test (#9327)", + "pr": "9327" + }, + { + "line": "< f157c3ec9c76848716311c928a047138775279a3 RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "ref": "main", + "type": "commit", + "pretty": "< f157c3ec9c76848716311c928a047138775279a3 RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "hash": "f157c3ec9c76848716311c928a047138775279a3", + "message": "RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "pr": "9326" + }, + { + "line": "< daaa1998837bdb6eaa42d9160292e781fadb3dc8 fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "ref": "main", + "type": "commit", + "pretty": "< daaa1998837bdb6eaa42d9160292e781fadb3dc8 fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "hash": "daaa1998837bdb6eaa42d9160292e781fadb3dc8", + "message": "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "pr": "9317" + }, + { + "line": "< e2cf25db2518833ad0b833c5e6b5308557ecc7fd fix(ssr-build): Generate document in ssr build too! (#9310)", + "ref": "main", + "type": "commit", + "pretty": "< e2cf25db2518833ad0b833c5e6b5308557ecc7fd fix(ssr-build): Generate document in ssr build too! (#9310)", + "hash": "e2cf25db2518833ad0b833c5e6b5308557ecc7fd", + "message": "fix(ssr-build): Generate document in ssr build too! (#9310)", + "pr": "9310" + }, + { + "line": "< 1ed2b5b477a6b08a0d4731160591bebfaaeac34b feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "ref": "main", + "type": "commit", + "pretty": "< 1ed2b5b477a6b08a0d4731160591bebfaaeac34b feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "hash": "1ed2b5b477a6b08a0d4731160591bebfaaeac34b", + "message": "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "pr": "9295" + }, + { + "line": "< 79a7e0163b53318af7ae0eb20b63ce8b118d64c7 Conditionally guarantee cell success data (#9037)", + "ref": "main", + "type": "commit", + "pretty": "< 79a7e0163b53318af7ae0eb20b63ce8b118d64c7 Conditionally guarantee cell success data (#9037)", + "hash": "79a7e0163b53318af7ae0eb20b63ce8b118d64c7", + "message": "Conditionally guarantee cell success data (#9037)", + "pr": "9037" + }, + { + "line": "< 18555d0e196cfc69ed322e24cafeb2d228773ae1 RSC: Smoke test (#9194)", + "ref": "main", + "type": "commit", + "pretty": "< 18555d0e196cfc69ed322e24cafeb2d228773ae1 RSC: Smoke test (#9194)", + "hash": "18555d0e196cfc69ed322e24cafeb2d228773ae1", + "message": "RSC: Smoke test (#9194)", + "pr": "9194" + }, + { + "line": "< 27d33d3e29276d0d5c61d604034d65b4c6ae5f65 RSC: Handle Windows paths in clientEntries (#9233)", + "ref": "main", + "type": "commit", + "pretty": "< 27d33d3e29276d0d5c61d604034d65b4c6ae5f65 RSC: Handle Windows paths in clientEntries (#9233)", + "hash": "27d33d3e29276d0d5c61d604034d65b4c6ae5f65", + "message": "RSC: Handle Windows paths in clientEntries (#9233)", + "pr": "9233" + }, + { + "line": "< 5921359bf6482873df1bf9d9df51f3eaaba9c566 chore(crwa): remove React `prop-types` package (#9206)", + "ref": "main", + "type": "commit", + "pretty": "< 5921359bf6482873df1bf9d9df51f3eaaba9c566 chore(crwa): remove React `prop-types` package (#9206)", + "hash": "5921359bf6482873df1bf9d9df51f3eaaba9c566", + "message": "chore(crwa): remove React `prop-types` package (#9206)", + "pr": "9206" + }, + { + "line": "< 4d06556988b8f1da0a9ecd7d6b0e133707e22921 smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "ref": "main", + "type": "commit", + "pretty": "< 4d06556988b8f1da0a9ecd7d6b0e133707e22921 smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "hash": "4d06556988b8f1da0a9ecd7d6b0e133707e22921", + "message": "smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "pr": "9193" + }, + { + "line": "< 83d180fc477b17bf33c7673f010b68e9f7d5e0a2 RSC: Check if index.html has already been updated during setup (#9197)", + "ref": "main", + "type": "commit", + "pretty": "< 83d180fc477b17bf33c7673f010b68e9f7d5e0a2 RSC: Check if index.html has already been updated during setup (#9197)", + "hash": "83d180fc477b17bf33c7673f010b68e9f7d5e0a2", + "message": "RSC: Check if index.html has already been updated during setup (#9197)", + "pr": "9197" + }, + { + "line": "< e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4 RSC: Use react/experimental types (#9196)", + "ref": "main", + "type": "commit", + "pretty": "< e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4 RSC: Use react/experimental types (#9196)", + "hash": "e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4", + "message": "RSC: Use react/experimental types (#9196)", + "pr": "9196" + }, + { + "line": "< a7bab85513ded97c500399daacf3a39de1fc1378 RSC: Patch vite when running setup command (#9192)", + "ref": "main", + "type": "commit", + "pretty": "< a7bab85513ded97c500399daacf3a39de1fc1378 RSC: Patch vite when running setup command (#9192)", + "hash": "a7bab85513ded97c500399daacf3a39de1fc1378", + "message": "RSC: Patch vite when running setup command (#9192)", + "pr": "9192" + }, + { + "line": "< a436b1cfe82b0ce53baadc0149a5d2831928135b RSC: Support 'use client' in 3pp packages (#9191)", + "ref": "main", + "type": "commit", + "pretty": "< a436b1cfe82b0ce53baadc0149a5d2831928135b RSC: Support 'use client' in 3pp packages (#9191)", + "hash": "a436b1cfe82b0ce53baadc0149a5d2831928135b", + "message": "RSC: Support 'use client' in 3pp packages (#9191)", + "pr": "9191" + }, + { + "line": "< 1b52e3dda6b6e8fe5ea2522aaee8c687566912b7 chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "ref": "main", + "type": "commit", + "pretty": "< 1b52e3dda6b6e8fe5ea2522aaee8c687566912b7 chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "hash": "1b52e3dda6b6e8fe5ea2522aaee8c687566912b7", + "message": "chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "pr": "9180" + }, + { + "line": "< adddd23987b8a1003053280fafe772275e932217 chore(deps): update dependency lerna to v7.3.0 (#9186)", + "ref": "main", + "type": "commit", + "pretty": "< adddd23987b8a1003053280fafe772275e932217 chore(deps): update dependency lerna to v7.3.0 (#9186)", + "hash": "adddd23987b8a1003053280fafe772275e932217", + "message": "chore(deps): update dependency lerna to v7.3.0 (#9186)", + "pr": "9186" + }, + { + "line": "< 91fb06b378ea2b156f0cb619033021f4b116a6a7 Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "ref": "main", + "type": "commit", + "pretty": "< 91fb06b378ea2b156f0cb619033021f4b116a6a7 Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "hash": "91fb06b378ea2b156f0cb619033021f4b116a6a7", + "message": "Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "pr": "9173" + }, + { + "line": "< 9d63d080a69f1428bb2b961690ecb09eaee64edd RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "ref": "main", + "type": "commit", + "pretty": "< 9d63d080a69f1428bb2b961690ecb09eaee64edd RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "hash": "9d63d080a69f1428bb2b961690ecb09eaee64edd", + "message": "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "pr": "9164" + }, + { + "line": "< 9257e3944fe1f49a3e9bd39a1f076c02134de28c RSC: Decode RSF args from request (#9157)", + "ref": "main", + "type": "commit", + "pretty": "< 9257e3944fe1f49a3e9bd39a1f076c02134de28c RSC: Decode RSF args from request (#9157)", + "hash": "9257e3944fe1f49a3e9bd39a1f076c02134de28c", + "message": "RSC: Decode RSF args from request (#9157)", + "pr": "9157" + }, + { + "line": "< c46bb67a75c4f78b4cbd5d744f52937a567f0e43 RSC: RSF aka Server Actions (#9155)", + "ref": "main", + "type": "commit", + "pretty": "< c46bb67a75c4f78b4cbd5d744f52937a567f0e43 RSC: RSF aka Server Actions (#9155)", + "hash": "c46bb67a75c4f78b4cbd5d744f52937a567f0e43", + "message": "RSC: RSF aka Server Actions (#9155)", + "pr": "9155" + }, + { + "line": "< d3475cd7041b20106bf73968a1d59dcae611afcd RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "ref": "main", + "type": "commit", + "pretty": "< d3475cd7041b20106bf73968a1d59dcae611afcd RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "hash": "d3475cd7041b20106bf73968a1d59dcae611afcd", + "message": "RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "pr": "9154" + }, + { + "line": "< ee334bcf08f760cdfe26c03e7d65dc7da2f76281 RSC: Work around an issue in Rollup (#9153)", + "ref": "main", + "type": "commit", + "pretty": "< ee334bcf08f760cdfe26c03e7d65dc7da2f76281 RSC: Work around an issue in Rollup (#9153)", + "hash": "ee334bcf08f760cdfe26c03e7d65dc7da2f76281", + "message": "RSC: Work around an issue in Rollup (#9153)", + "pr": "9153" + }, + { + "line": "< 050a16925ab9768374e56f20792bbb2a026488bb Streaming: meta charSet=utf-8 (#9142)", + "ref": "main", + "type": "commit", + "pretty": "< 050a16925ab9768374e56f20792bbb2a026488bb Streaming: meta charSet=utf-8 (#9142)", + "hash": "050a16925ab9768374e56f20792bbb2a026488bb", + "message": "Streaming: meta charSet=utf-8 (#9142)", + "pr": "9142" + }, + { + "line": "< 634099091ade40b5bba9f86cd6fc573ae5be480c chore(tasks): Benchmark tests (#8578)", + "ref": "main", + "type": "commit", + "pretty": "< 634099091ade40b5bba9f86cd6fc573ae5be480c chore(tasks): Benchmark tests (#8578)", + "hash": "634099091ade40b5bba9f86cd6fc573ae5be480c", + "message": "chore(tasks): Benchmark tests (#8578)", + "pr": "8578" + }, + { + "line": "< ae11f69df494be05d33e558bfea328b751223f43 Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "ref": "main", + "type": "commit", + "pretty": "< ae11f69df494be05d33e558bfea328b751223f43 Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "hash": "ae11f69df494be05d33e558bfea328b751223f43", + "message": "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "pr": "9134" + }, + { + "line": "< 7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2 RSC: Don't set the react-server condition for client builds (#9132)", + "ref": "main", + "type": "commit", + "pretty": "< 7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2 RSC: Don't set the react-server condition for client builds (#9132)", + "hash": "7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2", + "message": "RSC: Don't set the react-server condition for client builds (#9132)", + "pr": "9132" + }, + { + "line": "< ed8a87d98d8c3e5dad23ac3e2143b46a201194dc chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "ref": "main", + "type": "commit", + "pretty": "< ed8a87d98d8c3e5dad23ac3e2143b46a201194dc chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "hash": "ed8a87d98d8c3e5dad23ac3e2143b46a201194dc", + "message": "chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "pr": "9029" + }, + { + "line": "< 0c23f67708b286d1e923e4d93aaba238edf66bb3 Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "ref": "main", + "type": "commit", + "pretty": "< 0c23f67708b286d1e923e4d93aaba238edf66bb3 Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "hash": "0c23f67708b286d1e923e4d93aaba238edf66bb3", + "message": "Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "pr": "9115" + }, + { + "line": "< 8d0ab16aa1c39f1526e4213211608805735f6974 fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "ref": "main", + "type": "commit", + "pretty": "< 8d0ab16aa1c39f1526e4213211608805735f6974 fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "hash": "8d0ab16aa1c39f1526e4213211608805735f6974", + "message": "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "pr": "9113" + }, + { + "line": "< d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8 chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "ref": "main", + "type": "commit", + "pretty": "< d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8 chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "hash": "d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8", + "message": "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "pr": "9021" + }, + { + "line": "< 2b8a5558c6d88f37346346c5f9db2cdd0073f83f feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "ref": "main", + "type": "commit", + "pretty": "< 2b8a5558c6d88f37346346c5f9db2cdd0073f83f feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "hash": "2b8a5558c6d88f37346346c5f9db2cdd0073f83f", + "message": "feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "pr": "9106" + }, + { + "line": "< 2f49ac90349e2ddd793e0adeaf00967abfd54912 chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "ref": "main", + "type": "commit", + "pretty": "< 2f49ac90349e2ddd793e0adeaf00967abfd54912 chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "hash": "2f49ac90349e2ddd793e0adeaf00967abfd54912", + "message": "chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "pr": "9100" + }, + { + "line": "< c55f1c56b3b3279089784f3c388829ca3438e1e1 chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "ref": "main", + "type": "commit", + "pretty": "< c55f1c56b3b3279089784f3c388829ca3438e1e1 chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "hash": "c55f1c56b3b3279089784f3c388829ca3438e1e1", + "message": "chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "pr": "9103" + }, + { + "line": "< 65acc365f05e2862d50aa86aaf2cd1377137b105 chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "ref": "main", + "type": "commit", + "pretty": "< 65acc365f05e2862d50aa86aaf2cd1377137b105 chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "hash": "65acc365f05e2862d50aa86aaf2cd1377137b105", + "message": "chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "pr": "9102" + }, + { + "line": "< 029fa48c4186ec820704c666a9c31da448a2f7c4 chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "ref": "main", + "type": "commit", + "pretty": "< 029fa48c4186ec820704c666a9c31da448a2f7c4 chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "hash": "029fa48c4186ec820704c666a9c31da448a2f7c4", + "message": "chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "pr": "9101" + }, + { + "line": "< 52fc187a3c609db9e05dc3d68dd2857f68209d0b chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "ref": "main", + "type": "commit", + "pretty": "< 52fc187a3c609db9e05dc3d68dd2857f68209d0b chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "hash": "52fc187a3c609db9e05dc3d68dd2857f68209d0b", + "message": "chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "pr": "9098" + }, + { + "line": "< 069101b7ca1115d021a20f4d9b80e9b10107df24 feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "ref": "main", + "type": "commit", + "pretty": "< 069101b7ca1115d021a20f4d9b80e9b10107df24 feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "hash": "069101b7ca1115d021a20f4d9b80e9b10107df24", + "message": "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "pr": "9074" + }, + { + "line": "< fbd39919afc75bd7fc7082e22fcb4f650c916771 chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "ref": "main", + "type": "commit", + "pretty": "< fbd39919afc75bd7fc7082e22fcb4f650c916771 chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "hash": "fbd39919afc75bd7fc7082e22fcb4f650c916771", + "message": "chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "pr": "9089" + }, + { + "line": "< 944a93b1df26afa6749fe34c12f1e334385aef6a chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "ref": "main", + "type": "commit", + "pretty": "< 944a93b1df26afa6749fe34c12f1e334385aef6a chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "hash": "944a93b1df26afa6749fe34c12f1e334385aef6a", + "message": "chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "pr": "9088" + }, + { + "line": "< 8ca4b0201a6129efb50414c014bc910b3572625e chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "ref": "main", + "type": "commit", + "pretty": "< 8ca4b0201a6129efb50414c014bc910b3572625e chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "hash": "8ca4b0201a6129efb50414c014bc910b3572625e", + "message": "chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "pr": "9042" + }, + { + "line": "< c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "ref": "main", + "type": "commit", + "pretty": "< c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "hash": "c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb", + "message": "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "pr": "9047" + }, + { + "line": "< bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7 Create releaseCommits.json", + "ref": "main", + "type": "commit", + "pretty": "< bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7 Create releaseCommits.json", + "hash": "bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7", + "message": "Create releaseCommits.json" + }, + { + "line": "< c89e1364c7e9af541438f3274ddf1f92401dc2c8 exp(streaming): Allow SSR with experimental apollo client (#9038)", + "ref": "main", + "type": "commit", + "pretty": "< c89e1364c7e9af541438f3274ddf1f92401dc2c8 exp(streaming): Allow SSR with experimental apollo client (#9038)", + "hash": "c89e1364c7e9af541438f3274ddf1f92401dc2c8", + "message": "exp(streaming): Allow SSR with experimental apollo client (#9038)", + "pr": "9038" + }, + { + "line": "< 865c9085bf1519c6b2f153b7497ef005d42f3bad manually bump web-server package version", + "ref": "main", + "type": "commit", + "pretty": "< 865c9085bf1519c6b2f153b7497ef005d42f3bad manually bump web-server package version", + "hash": "865c9085bf1519c6b2f153b7497ef005d42f3bad", + "message": "manually bump web-server package version" + }, + { + "line": "< 7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39 Merge branch 'release/patch/v6.0.7'", + "ref": "main", + "type": "chore", + "pretty": "\u001b[2m< 7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39 Merge branch 'release/patch/v6.0.7'\u001b[22m", + "hash": "7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39", + "message": "Merge branch 'release/patch/v6.0.7'" + }, + { + "line": "| o a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)", + "ref": "main", + "type": "ui", + "pretty": "\u001b[2m| o a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)\u001b[22m" + }, + { + "line": "o 79faf45ead7bdaa351afb7d5f99ca7ee828939bf v6.0.7", + "ref": "main", + "type": "ui", + "pretty": "\u001b[2mo 79faf45ead7bdaa351afb7d5f99ca7ee828939bf v6.0.7\u001b[22m" + } + ], + "next": [ + { + "line": "< a070dac21fce536a2ea49a10de010d3690a4e6f6 chore(deps): bump undici from 5.22.1 to 5.26.3 (#9307)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a070dac21fce536a2ea49a10de010d3690a4e6f6 chore(deps): bump undici from 5.22.1 to 5.26.3 (#9307)\u001b[39m\u001b[49m", + "hash": "a070dac21fce536a2ea49a10de010d3690a4e6f6", + "message": "chore(deps): bump undici from 5.22.1 to 5.26.3 (#9307)", + "pr": "9307" + }, + { + "line": "< 01f6565ce058273fc2c0389f04c3f93b9a9749bb fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (#9298)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 01f6565ce058273fc2c0389f04c3f93b9a9749bb fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (#9298)\u001b[39m\u001b[49m", + "hash": "01f6565ce058273fc2c0389f04c3f93b9a9749bb", + "message": "fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (#9298)", + "pr": "9298" + }, + { + "line": "< 97b235fd343efdc8fa267e7d6ca07b5b4cb06465 chore(api-server): remove server survey tests in CI (#9348)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 97b235fd343efdc8fa267e7d6ca07b5b4cb06465 chore(api-server): remove server survey tests in CI (#9348)\u001b[39m\u001b[49m", + "hash": "97b235fd343efdc8fa267e7d6ca07b5b4cb06465", + "message": "chore(api-server): remove server survey tests in CI (#9348)", + "pr": "9348" + }, + { + "line": "< be2cb77b228d01394e13e216aa2b37190fbe2518 chore(deps): update babel monorepo to v7.23.2 (#9344)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< be2cb77b228d01394e13e216aa2b37190fbe2518 chore(deps): update babel monorepo to v7.23.2 (#9344)\u001b[39m\u001b[49m", + "hash": "be2cb77b228d01394e13e216aa2b37190fbe2518", + "message": "chore(deps): update babel monorepo to v7.23.2 (#9344)", + "pr": "9344" + }, + { + "line": "< 73579f84378d8dfd64437406eb9add63b010ef09 chore: increase server test timeout, fix `yarn build:clean` (#9336)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 73579f84378d8dfd64437406eb9add63b010ef09 chore: increase server test timeout, fix `yarn build:clean` (#9336)\u001b[39m\u001b[49m", + "hash": "73579f84378d8dfd64437406eb9add63b010ef09", + "message": "chore: increase server test timeout, fix `yarn build:clean` (#9336)", + "pr": "9336" + }, + { + "line": "< a12d411c37f780a9b1cd2f7ee0429808f72387e0 feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (#9324)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a12d411c37f780a9b1cd2f7ee0429808f72387e0 feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (#9324)\u001b[39m\u001b[49m", + "hash": "a12d411c37f780a9b1cd2f7ee0429808f72387e0", + "message": "feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (#9324)", + "pr": "9324" + }, + { + "line": "< 8e676c83f6f0838982826afbf2a241219a26f62c Update all GitHub actions to run on Node 20 (#9334)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8e676c83f6f0838982826afbf2a241219a26f62c Update all GitHub actions to run on Node 20 (#9334)\u001b[39m\u001b[49m", + "hash": "8e676c83f6f0838982826afbf2a241219a26f62c", + "message": "Update all GitHub actions to run on Node 20 (#9334)", + "pr": "9334" + }, + { + "line": "< 35c0eeba90187d60b92c975ee202362035fcb6c2 chore(api-server): improve tests (#9325)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 35c0eeba90187d60b92c975ee202362035fcb6c2 chore(api-server): improve tests (#9325)\u001b[39m\u001b[49m", + "hash": "35c0eeba90187d60b92c975ee202362035fcb6c2", + "message": "chore(api-server): improve tests (#9325)", + "pr": "9325" + }, + { + "line": "< 6d4fd3eed2006db5b63e7dd21fae6820f3d7e954 Upgrade to vite v4.5.0 (#9328)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 6d4fd3eed2006db5b63e7dd21fae6820f3d7e954 Upgrade to vite v4.5.0 (#9328)\u001b[39m\u001b[49m", + "hash": "6d4fd3eed2006db5b63e7dd21fae6820f3d7e954", + "message": "Upgrade to vite v4.5.0 (#9328)", + "pr": "9328" + }, + { + "line": "< 43b68459c0057c20a91163ce39e25a35fc7e48cf fix(deps): update prisma monorepo to v5.4.2 (#9294)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 43b68459c0057c20a91163ce39e25a35fc7e48cf fix(deps): update prisma monorepo to v5.4.2 (#9294)\u001b[39m\u001b[49m", + "hash": "43b68459c0057c20a91163ce39e25a35fc7e48cf", + "message": "fix(deps): update prisma monorepo to v5.4.2 (#9294)", + "pr": "9294" + }, + { + "line": "< ba296b40d90292100bb765d58f664d2e27949a63 fix(deps): update apollo graphql packages (#9292)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< ba296b40d90292100bb765d58f664d2e27949a63 fix(deps): update apollo graphql packages (#9292)\u001b[39m\u001b[49m", + "hash": "ba296b40d90292100bb765d58f664d2e27949a63", + "message": "fix(deps): update apollo graphql packages (#9292)", + "pr": "9292" + }, + { + "line": "< 282b8343ff5884b1373164097d2f1ed96024b646 fix(deps): update dependency @fastify/static to v6.11.2 (#9202)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 282b8343ff5884b1373164097d2f1ed96024b646 fix(deps): update dependency @fastify/static to v6.11.2 (#9202)\u001b[39m\u001b[49m", + "hash": "282b8343ff5884b1373164097d2f1ed96024b646", + "message": "fix(deps): update dependency @fastify/static to v6.11.2 (#9202)", + "pr": "9202" + }, + { + "line": "< 4bc0925af2529ef831fd650e951c45a5cebe4421 chore(deps): update dependency firebase to v10.4.0 (#9203)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 4bc0925af2529ef831fd650e951c45a5cebe4421 chore(deps): update dependency firebase to v10.4.0 (#9203)\u001b[39m\u001b[49m", + "hash": "4bc0925af2529ef831fd650e951c45a5cebe4421", + "message": "chore(deps): update dependency firebase to v10.4.0 (#9203)", + "pr": "9203" + }, + { + "line": "< 229bd4b241aea267aefae4d2f2983e6ebe063cef fix(serverless): move project-config to auth-dbauth-api dependencies (#9281)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 229bd4b241aea267aefae4d2f2983e6ebe063cef fix(serverless): move project-config to auth-dbauth-api dependencies (#9281)\u001b[39m\u001b[49m", + "hash": "229bd4b241aea267aefae4d2f2983e6ebe063cef", + "message": "fix(serverless): move project-config to auth-dbauth-api dependencies (#9281)", + "pr": "9281" + }, + { + "line": "< 58a7a8fe7399f721408d4d1a7050a25f3ef81cef chore(deps): update babel monorepo (#9254)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 58a7a8fe7399f721408d4d1a7050a25f3ef81cef chore(deps): update babel monorepo (#9254)\u001b[39m\u001b[49m", + "hash": "58a7a8fe7399f721408d4d1a7050a25f3ef81cef", + "message": "chore(deps): update babel monorepo (#9254)", + "pr": "9254" + }, + { + "line": "< 8ddafad958463fdd9b8585c290c86bb843c64861 fix(deps): update dependency vite to v4.4.11 (#9255)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8ddafad958463fdd9b8585c290c86bb843c64861 fix(deps): update dependency vite to v4.4.11 (#9255)\u001b[39m\u001b[49m", + "hash": "8ddafad958463fdd9b8585c290c86bb843c64861", + "message": "fix(deps): update dependency vite to v4.4.11 (#9255)", + "pr": "9255" + }, + { + "line": "< 6f3ee2541a523e707610bc01ff1b107b1122c566 chore(deps): update dependency postcss to v8.4.31 [security] (#9260)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 6f3ee2541a523e707610bc01ff1b107b1122c566 chore(deps): update dependency postcss to v8.4.31 [security] (#9260)\u001b[39m\u001b[49m", + "hash": "6f3ee2541a523e707610bc01ff1b107b1122c566", + "message": "chore(deps): update dependency postcss to v8.4.31 [security] (#9260)", + "pr": "9260" + }, + { + "line": "< 8dc7bdb556305a584181517a726d788f9868a99b fix(deps): update storybook monorepo to v7.4.6 (#9256)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8dc7bdb556305a584181517a726d788f9868a99b fix(deps): update storybook monorepo to v7.4.6 (#9256)\u001b[39m\u001b[49m", + "hash": "8dc7bdb556305a584181517a726d788f9868a99b", + "message": "fix(deps): update storybook monorepo to v7.4.6 (#9256)", + "pr": "9256" + }, + { + "line": "< cd37907d3d6bda782cb73fa38dfe3f810ed39e75 dbAuth: Unique session cookie name per port (#9248)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< cd37907d3d6bda782cb73fa38dfe3f810ed39e75 dbAuth: Unique session cookie name per port (#9248)\u001b[39m\u001b[49m", + "hash": "cd37907d3d6bda782cb73fa38dfe3f810ed39e75", + "message": "dbAuth: Unique session cookie name per port (#9248)", + "pr": "9248" + }, + { + "line": "< 08a67208947c2c48365ecddeee32d0ce43c368fb feat: add experimental docker setup command (#9024)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 08a67208947c2c48365ecddeee32d0ce43c368fb feat: add experimental docker setup command (#9024)\u001b[39m\u001b[49m", + "hash": "08a67208947c2c48365ecddeee32d0ce43c368fb", + "message": "feat: add experimental docker setup command (#9024)", + "pr": "9024" + }, + { + "line": "< 53d86c95a4d58fb58ae4a2edd4c43a6b9d25e5de Include @types/react as devDep in projects (#9250)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 53d86c95a4d58fb58ae4a2edd4c43a6b9d25e5de Include @types/react as devDep in projects (#9250)\u001b[39m\u001b[49m", + "hash": "53d86c95a4d58fb58ae4a2edd4c43a6b9d25e5de", + "message": "Include @types/react as devDep in projects (#9250)", + "pr": "9250" + }, + { + "line": "< 8c22d4deac32d29b72844f8de3ca72f9bac10a03 graphql possibleTypes: Fix formatting (#9239)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8c22d4deac32d29b72844f8de3ca72f9bac10a03 graphql possibleTypes: Fix formatting (#9239)\u001b[39m\u001b[49m", + "hash": "8c22d4deac32d29b72844f8de3ca72f9bac10a03", + "message": "graphql possibleTypes: Fix formatting (#9239)", + "pr": "9239" + }, + { + "line": "< 61f0f51d8557c591e0432ffe9b75520c0df86ed1 chore(deps): update dependency @clerk/clerk-react to v4.25.1 (#9212)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 61f0f51d8557c591e0432ffe9b75520c0df86ed1 chore(deps): update dependency @clerk/clerk-react to v4.25.1 (#9212)\u001b[39m\u001b[49m", + "hash": "61f0f51d8557c591e0432ffe9b75520c0df86ed1", + "message": "chore(deps): update dependency @clerk/clerk-react to v4.25.1 (#9212)", + "pr": "9212" + }, + { + "line": "< 12aa24adc31f1719152ab1d8dc445959a2a43a6e fix(deps): update dependency @clerk/clerk-sdk-node to v4.12.6 (#9214)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 12aa24adc31f1719152ab1d8dc445959a2a43a6e fix(deps): update dependency @clerk/clerk-sdk-node to v4.12.6 (#9214)\u001b[39m\u001b[49m", + "hash": "12aa24adc31f1719152ab1d8dc445959a2a43a6e", + "message": "fix(deps): update dependency @clerk/clerk-sdk-node to v4.12.6 (#9214)", + "pr": "9214" + }, + { + "line": "< 817eba4501b985424dcdce11068509452d0d3449 fix(deps): update dependency graphql to v16.8.1 [security] (#9228)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 817eba4501b985424dcdce11068509452d0d3449 fix(deps): update dependency graphql to v16.8.1 [security] (#9228)\u001b[39m\u001b[49m", + "hash": "817eba4501b985424dcdce11068509452d0d3449", + "message": "fix(deps): update dependency graphql to v16.8.1 [security] (#9228)", + "pr": "9228" + }, + { + "line": "< a886bf5703e3d92e70e478272757fd5951f38fe7 chore(deps): update dependency @clerk/types to v3.52.0 (#9213)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a886bf5703e3d92e70e478272757fd5951f38fe7 chore(deps): update dependency @clerk/types to v3.52.0 (#9213)\u001b[39m\u001b[49m", + "hash": "a886bf5703e3d92e70e478272757fd5951f38fe7", + "message": "chore(deps): update dependency @clerk/types to v3.52.0 (#9213)", + "pr": "9213" + }, + { + "line": "< 2cbdf11a07d1b142065c9e1464574287f9625253 feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2cbdf11a07d1b142065c9e1464574287f9625253 feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)\u001b[39m\u001b[49m", + "hash": "2cbdf11a07d1b142065c9e1464574287f9625253", + "message": "feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)", + "pr": "9140" + }, + { + "line": "< a8336bf0b9c533f45b867b6af401b8ba68e27a5e fix(deps): update storybook monorepo to v7.4.3 (#9211)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a8336bf0b9c533f45b867b6af401b8ba68e27a5e fix(deps): update storybook monorepo to v7.4.3 (#9211)\u001b[39m\u001b[49m", + "hash": "a8336bf0b9c533f45b867b6af401b8ba68e27a5e", + "message": "fix(deps): update storybook monorepo to v7.4.3 (#9211)", + "pr": "9211" + }, + { + "line": "< 9f69fe6357ced942c23a02e066a604679750b9e9 fix(deps): update dependency @apollo/client to v3.8.4 (#9208)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 9f69fe6357ced942c23a02e066a604679750b9e9 fix(deps): update dependency @apollo/client to v3.8.4 (#9208)\u001b[39m\u001b[49m", + "hash": "9f69fe6357ced942c23a02e066a604679750b9e9", + "message": "fix(deps): update dependency @apollo/client to v3.8.4 (#9208)", + "pr": "9208" + }, + { + "line": "< ed4ef0894139af0a4305c77bf1fdf92f9dc5511f chore(deps): update dependency react-error-boundary to v4.0.11 (#9181)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< ed4ef0894139af0a4305c77bf1fdf92f9dc5511f chore(deps): update dependency react-error-boundary to v4.0.11 (#9181)\u001b[39m\u001b[49m", + "hash": "ed4ef0894139af0a4305c77bf1fdf92f9dc5511f", + "message": "chore(deps): update dependency react-error-boundary to v4.0.11 (#9181)", + "pr": "9181" + }, + { + "line": "< 74d36b75091551bfec46933fbe7746d772ecce19 feat(mailer): Resend handler (#9175)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 74d36b75091551bfec46933fbe7746d772ecce19 feat(mailer): Resend handler (#9175)\u001b[39m\u001b[49m", + "hash": "74d36b75091551bfec46933fbe7746d772ecce19", + "message": "feat(mailer): Resend handler (#9175)", + "pr": "9175" + }, + { + "line": "< 30c4e00e7da21c2b0bc3f710dfa3c48fa93659d9 chore: bump babel packages' versions (#9200)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 30c4e00e7da21c2b0bc3f710dfa3c48fa93659d9 chore: bump babel packages' versions (#9200)\u001b[39m\u001b[49m", + "hash": "30c4e00e7da21c2b0bc3f710dfa3c48fa93659d9", + "message": "chore: bump babel packages' versions (#9200)", + "pr": "9200" + }, + { + "line": "< 1e23e0ab344ff5e70b69000babc9adf006a61d72 fix(deps): update storybook monorepo to v7.4.2 (#9185)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 1e23e0ab344ff5e70b69000babc9adf006a61d72 fix(deps): update storybook monorepo to v7.4.2 (#9185)\u001b[39m\u001b[49m", + "hash": "1e23e0ab344ff5e70b69000babc9adf006a61d72", + "message": "fix(deps): update storybook monorepo to v7.4.2 (#9185)", + "pr": "9185" + }, + { + "line": "< aa15dad514bec009f275921e048901bd4fd4c2f2 fix(deps): update prisma monorepo to v5.3.1 (#9187)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< aa15dad514bec009f275921e048901bd4fd4c2f2 fix(deps): update prisma monorepo to v5.3.1 (#9187)\u001b[39m\u001b[49m", + "hash": "aa15dad514bec009f275921e048901bd4fd4c2f2", + "message": "fix(deps): update prisma monorepo to v5.3.1 (#9187)", + "pr": "9187" + }, + { + "line": "< 842d24566fc83623278bf00fe8e2a57f04f31573 fix(deps): update dependency fastify to v4.23.2 (#9184)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 842d24566fc83623278bf00fe8e2a57f04f31573 fix(deps): update dependency fastify to v4.23.2 (#9184)\u001b[39m\u001b[49m", + "hash": "842d24566fc83623278bf00fe8e2a57f04f31573", + "message": "fix(deps): update dependency fastify to v4.23.2 (#9184)", + "pr": "9184" + }, + { + "line": "< 552eec353a72f426b384263c530eb052601c12ac fix(deps): update dependency @fastify/static to v6.11.1 (#9182)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 552eec353a72f426b384263c530eb052601c12ac fix(deps): update dependency @fastify/static to v6.11.1 (#9182)\u001b[39m\u001b[49m", + "hash": "552eec353a72f426b384263c530eb052601c12ac", + "message": "fix(deps): update dependency @fastify/static to v6.11.1 (#9182)", + "pr": "9182" + }, + { + "line": "< dc86db59dcc18e8e711f9f1a0d5196060de7dbbb fix(babel): use caret to specify some package versions (#9174)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< dc86db59dcc18e8e711f9f1a0d5196060de7dbbb fix(babel): use caret to specify some package versions (#9174)\u001b[39m\u001b[49m", + "hash": "dc86db59dcc18e8e711f9f1a0d5196060de7dbbb", + "message": "fix(babel): use caret to specify some package versions (#9174)", + "pr": "9174" + }, + { + "line": "< b8ce4efbd2dea27a01133741994ec3c4f1db9c38 fix(deps): update dependency fastify to v4.23.1 (#9167)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< b8ce4efbd2dea27a01133741994ec3c4f1db9c38 fix(deps): update dependency fastify to v4.23.1 (#9167)\u001b[39m\u001b[49m", + "hash": "b8ce4efbd2dea27a01133741994ec3c4f1db9c38", + "message": "fix(deps): update dependency fastify to v4.23.1 (#9167)", + "pr": "9167" + }, + { + "line": "< 08870babd04bdfaa735f645603de0d5c515d66c2 chore(ci): undo changes to test project stories (#9166)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 08870babd04bdfaa735f645603de0d5c515d66c2 chore(ci): undo changes to test project stories (#9166)\u001b[39m\u001b[49m", + "hash": "08870babd04bdfaa735f645603de0d5c515d66c2", + "message": "chore(ci): undo changes to test project stories (#9166)", + "pr": "9166" + }, + { + "line": "< 49e6221dc8789b87af05ae75002506368a8e9391 fix(deps): update jest monorepo to v29.7.0 (#9163)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 49e6221dc8789b87af05ae75002506368a8e9391 fix(deps): update jest monorepo to v29.7.0 (#9163)\u001b[39m\u001b[49m", + "hash": "49e6221dc8789b87af05ae75002506368a8e9391", + "message": "fix(deps): update jest monorepo to v29.7.0 (#9163)", + "pr": "9163" + }, + { + "line": "< 208bce31a64fdf7d1991f0b98f3e90017ae14f21 chore(deps): update babel monorepo (#9144)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 208bce31a64fdf7d1991f0b98f3e90017ae14f21 chore(deps): update babel monorepo (#9144)\u001b[39m\u001b[49m", + "hash": "208bce31a64fdf7d1991f0b98f3e90017ae14f21", + "message": "chore(deps): update babel monorepo (#9144)", + "pr": "9144" + }, + { + "line": "< f40d11b379ac53967e2e35d8480c54ba0ba2a8e2 fix(deps): update dependency fastify to v4.23.0 (#9160)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< f40d11b379ac53967e2e35d8480c54ba0ba2a8e2 fix(deps): update dependency fastify to v4.23.0 (#9160)\u001b[39m\u001b[49m", + "hash": "f40d11b379ac53967e2e35d8480c54ba0ba2a8e2", + "message": "fix(deps): update dependency fastify to v4.23.0 (#9160)", + "pr": "9160" + }, + { + "line": "< a089495bbe3a2e11875ff5071d1745dc104c6918 fix(deps): update dependency react-hook-form to v7.46.1 (#9162)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a089495bbe3a2e11875ff5071d1745dc104c6918 fix(deps): update dependency react-hook-form to v7.46.1 (#9162)\u001b[39m\u001b[49m", + "hash": "a089495bbe3a2e11875ff5071d1745dc104c6918", + "message": "fix(deps): update dependency react-hook-form to v7.46.1 (#9162)", + "pr": "9162" + }, + { + "line": "< 2b056c6da66e115d61929cb8b3f91932ebcc1d72 fix(deps): update dependency msw to v1.3.0 (#9161)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2b056c6da66e115d61929cb8b3f91932ebcc1d72 fix(deps): update dependency msw to v1.3.0 (#9161)\u001b[39m\u001b[49m", + "hash": "2b056c6da66e115d61929cb8b3f91932ebcc1d72", + "message": "fix(deps): update dependency msw to v1.3.0 (#9161)", + "pr": "9161" + }, + { + "line": "< 15bb687eb63c22d6592a10d075d6786761643533 fix(deps): update storybook monorepo to v7.4.1 (#9159)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 15bb687eb63c22d6592a10d075d6786761643533 fix(deps): update storybook monorepo to v7.4.1 (#9159)\u001b[39m\u001b[49m", + "hash": "15bb687eb63c22d6592a10d075d6786761643533", + "message": "fix(deps): update storybook monorepo to v7.4.1 (#9159)", + "pr": "9159" + }, + { + "line": "< 6af5356c4a964e0b46935edf6c66c8a6593ab7b9 fix(deps): update dependency nodemailer to v6.9.5 (#9145)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 6af5356c4a964e0b46935edf6c66c8a6593ab7b9 fix(deps): update dependency nodemailer to v6.9.5 (#9145)\u001b[39m\u001b[49m", + "hash": "6af5356c4a964e0b46935edf6c66c8a6593ab7b9", + "message": "fix(deps): update dependency nodemailer to v6.9.5 (#9145)", + "pr": "9145" + }, + { + "line": "< d9404187472ba951c6f1b4b3fd78af4c87683e7f fix(deps): update opentelemetry-js monorepo (#9147)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< d9404187472ba951c6f1b4b3fd78af4c87683e7f fix(deps): update opentelemetry-js monorepo (#9147)\u001b[39m\u001b[49m", + "hash": "d9404187472ba951c6f1b4b3fd78af4c87683e7f", + "message": "fix(deps): update opentelemetry-js monorepo (#9147)", + "pr": "9147" + }, + { + "line": "< 33db0478dcab02ae05ea8d926d1a1e0d89076309 chore(deps): update dependency typescript to v5.2.2 (#9128)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 33db0478dcab02ae05ea8d926d1a1e0d89076309 chore(deps): update dependency typescript to v5.2.2 (#9128)\u001b[39m\u001b[49m", + "hash": "33db0478dcab02ae05ea8d926d1a1e0d89076309", + "message": "chore(deps): update dependency typescript to v5.2.2 (#9128)", + "pr": "9128" + }, + { + "line": "< 7be03fc33f2994f1e712dfdd6ab0dfe8082c2dec fix(deps): update dependency fastify-raw-body to v4.2.2 (#9126)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 7be03fc33f2994f1e712dfdd6ab0dfe8082c2dec fix(deps): update dependency fastify-raw-body to v4.2.2 (#9126)\u001b[39m\u001b[49m", + "hash": "7be03fc33f2994f1e712dfdd6ab0dfe8082c2dec", + "message": "fix(deps): update dependency fastify-raw-body to v4.2.2 (#9126)", + "pr": "9126" + }, + { + "line": "< 0cc790a6b48a448119b85d4dd7c5453ec792d890 fix(deps): update dependency @fastify/static to v6.11.0 (#9129)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 0cc790a6b48a448119b85d4dd7c5453ec792d890 fix(deps): update dependency @fastify/static to v6.11.0 (#9129)\u001b[39m\u001b[49m", + "hash": "0cc790a6b48a448119b85d4dd7c5453ec792d890", + "message": "fix(deps): update dependency @fastify/static to v6.11.0 (#9129)", + "pr": "9129" + }, + { + "line": "< 9e932fba52d43aa4c1d981b52e64678e8172db6c fix(deps): update dependency core-js to v3.32.2 (#9125)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 9e932fba52d43aa4c1d981b52e64678e8172db6c fix(deps): update dependency core-js to v3.32.2 (#9125)\u001b[39m\u001b[49m", + "hash": "9e932fba52d43aa4c1d981b52e64678e8172db6c", + "message": "fix(deps): update dependency core-js to v3.32.2 (#9125)", + "pr": "9125" + }, + { + "line": "< c01ae41211aed94c51cfd9754532e402487f9734 fix(deps): update dependency fastify to v4.22.2 (#9124)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< c01ae41211aed94c51cfd9754532e402487f9734 fix(deps): update dependency fastify to v4.22.2 (#9124)\u001b[39m\u001b[49m", + "hash": "c01ae41211aed94c51cfd9754532e402487f9734", + "message": "fix(deps): update dependency fastify to v4.22.2 (#9124)", + "pr": "9124" + }, + { + "line": "< 7dcdf19b25ad0e4dd97e884c01ce956ad6497de7 fix(deps): update dependency @apollo/client to v3.8.3 (#9123)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 7dcdf19b25ad0e4dd97e884c01ce956ad6497de7 fix(deps): update dependency @apollo/client to v3.8.3 (#9123)\u001b[39m\u001b[49m", + "hash": "7dcdf19b25ad0e4dd97e884c01ce956ad6497de7", + "message": "fix(deps): update dependency @apollo/client to v3.8.3 (#9123)", + "pr": "9123" + }, + { + "line": "< 2897cd718e9a0eceaece63f58fa090e882c49c10 style(eslint): enable `@typescript-eslint/consistent-type-imports` (#9082)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2897cd718e9a0eceaece63f58fa090e882c49c10 style(eslint): enable `@typescript-eslint/consistent-type-imports` (#9082)\u001b[39m\u001b[49m", + "hash": "2897cd718e9a0eceaece63f58fa090e882c49c10", + "message": "style(eslint): enable `@typescript-eslint/consistent-type-imports` (#9082)", + "pr": "9082" + }, + { + "line": "< 0ff463f05dc1bba7797e3b178dcf788be2bcd028 Support jsx/tsx on the api side (for mail templates, ai-jsx, etc) (#9133)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 0ff463f05dc1bba7797e3b178dcf788be2bcd028 Support jsx/tsx on the api side (for mail templates, ai-jsx, etc) (#9133)\u001b[39m\u001b[49m", + "hash": "0ff463f05dc1bba7797e3b178dcf788be2bcd028", + "message": "Support jsx/tsx on the api side (for mail templates, ai-jsx, etc) (#9133)", + "pr": "9133" + }, + { + "line": "< e90ae0cb2b06165f8886602b3644c5dfd32d98b1 fix(jest): Include RWJS_DEBUG_ENV in jest web env (#9065)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< e90ae0cb2b06165f8886602b3644c5dfd32d98b1 fix(jest): Include RWJS_DEBUG_ENV in jest web env (#9065)\u001b[39m\u001b[49m", + "hash": "e90ae0cb2b06165f8886602b3644c5dfd32d98b1", + "message": "fix(jest): Include RWJS_DEBUG_ENV in jest web env (#9065)", + "pr": "9065" + }, + { + "line": "< 93f28064032842d909de971d42f3d1259eb52413 fix(deps): update dependency @escape.tech/graphql-armor to v2.3.1 (#9114)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 93f28064032842d909de971d42f3d1259eb52413 fix(deps): update dependency @escape.tech/graphql-armor to v2.3.1 (#9114)\u001b[39m\u001b[49m", + "hash": "93f28064032842d909de971d42f3d1259eb52413", + "message": "fix(deps): update dependency @escape.tech/graphql-armor to v2.3.1 (#9114)", + "pr": "9114" + }, + { + "line": "< 80de2bcb4d24ef3ea508f75b2c5ad2a8e3c4c153 chore(deps): update dependency postcss to v8.4.29 (#9109)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 80de2bcb4d24ef3ea508f75b2c5ad2a8e3c4c153 chore(deps): update dependency postcss to v8.4.29 (#9109)\u001b[39m\u001b[49m", + "hash": "80de2bcb4d24ef3ea508f75b2c5ad2a8e3c4c153", + "message": "chore(deps): update dependency postcss to v8.4.29 (#9109)", + "pr": "9109" + }, + { + "line": "< 89f0303f2d3ebf8c3fb8a09611066230fd560a4c feat: Mailer packages and studio tooling updates (#9058)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 89f0303f2d3ebf8c3fb8a09611066230fd560a4c feat: Mailer packages and studio tooling updates (#9058)\u001b[39m\u001b[49m", + "hash": "89f0303f2d3ebf8c3fb8a09611066230fd560a4c", + "message": "feat: Mailer packages and studio tooling updates (#9058)", + "pr": "9058" + }, + { + "line": "< 2cc76e697d7976ccdd61803ab6503663f25c9250 chore(cli): make `@redwoodjs/cli-data-migrate` package size smaller (#9085)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2cc76e697d7976ccdd61803ab6503663f25c9250 chore(cli): make `@redwoodjs/cli-data-migrate` package size smaller (#9085)\u001b[39m\u001b[49m", + "hash": "2cc76e697d7976ccdd61803ab6503663f25c9250", + "message": "chore(cli): make `@redwoodjs/cli-data-migrate` package size smaller (#9085)", + "pr": "9085" + }, + { + "line": "< 8afc6c0d10c4016cf3d1d7fcbb27eb0e42754be7 Fix yarn lint warnings regarding {} (#9099)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8afc6c0d10c4016cf3d1d7fcbb27eb0e42754be7 Fix yarn lint warnings regarding {} (#9099)\u001b[39m\u001b[49m", + "hash": "8afc6c0d10c4016cf3d1d7fcbb27eb0e42754be7", + "message": "Fix yarn lint warnings regarding {} (#9099)", + "pr": "9099" + }, + { + "line": "< 4f2791acdcce6058dd7421eb575f09d5c929459b chore(deps): update babel monorepo (#9090)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 4f2791acdcce6058dd7421eb575f09d5c929459b chore(deps): update babel monorepo (#9090)\u001b[39m\u001b[49m", + "hash": "4f2791acdcce6058dd7421eb575f09d5c929459b", + "message": "chore(deps): update babel monorepo (#9090)", + "pr": "9090" + }, + { + "line": "< 5ae083d9e0bd59b93c9af52ba5eb51f38407cdb2 fix(deps): update jest monorepo (#9092)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 5ae083d9e0bd59b93c9af52ba5eb51f38407cdb2 fix(deps): update jest monorepo (#9092)\u001b[39m\u001b[49m", + "hash": "5ae083d9e0bd59b93c9af52ba5eb51f38407cdb2", + "message": "fix(deps): update jest monorepo (#9092)", + "pr": "9092" + }, + { + "line": "< b5fdb47bef8396550f2c53f81f614a7d311b7a9b fix(deps): update storybook monorepo to v7.4.0 (#9095)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< b5fdb47bef8396550f2c53f81f614a7d311b7a9b fix(deps): update storybook monorepo to v7.4.0 (#9095)\u001b[39m\u001b[49m", + "hash": "b5fdb47bef8396550f2c53f81f614a7d311b7a9b", + "message": "fix(deps): update storybook monorepo to v7.4.0 (#9095)", + "pr": "9095" + }, + { + "line": "< 9958845199de1d58166da7b8f7ad745421851565 fix(deps): update dependency msw to v1.2.5 (#9091)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 9958845199de1d58166da7b8f7ad745421851565 fix(deps): update dependency msw to v1.2.5 (#9091)\u001b[39m\u001b[49m", + "hash": "9958845199de1d58166da7b8f7ad745421851565", + "message": "fix(deps): update dependency msw to v1.2.5 (#9091)", + "pr": "9091" + }, + { + "line": "< bf999c67fc7cdc15dd8eb2d64faba0b6d59a8805 fix(deps): update dependency fastify to v4.22.0 (#9093)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< bf999c67fc7cdc15dd8eb2d64faba0b6d59a8805 fix(deps): update dependency fastify to v4.22.0 (#9093)\u001b[39m\u001b[49m", + "hash": "bf999c67fc7cdc15dd8eb2d64faba0b6d59a8805", + "message": "fix(deps): update dependency fastify to v4.22.0 (#9093)", + "pr": "9093" + }, + { + "line": "< f3ce9b1efee76c795d8aa076eaa123b2480ae800 fix(deps): update dependency graphql to v16.8.0 (#9094)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< f3ce9b1efee76c795d8aa076eaa123b2480ae800 fix(deps): update dependency graphql to v16.8.0 (#9094)\u001b[39m\u001b[49m", + "hash": "f3ce9b1efee76c795d8aa076eaa123b2480ae800", + "message": "fix(deps): update dependency graphql to v16.8.0 (#9094)", + "pr": "9094" + }, + { + "line": "< ae4f5cab8fac1394baeea237c1e62dc3fc09e118 chore(deps): update dependency firebase to v10.3.0 (#9086)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< ae4f5cab8fac1394baeea237c1e62dc3fc09e118 chore(deps): update dependency firebase to v10.3.0 (#9086)\u001b[39m\u001b[49m", + "hash": "ae4f5cab8fac1394baeea237c1e62dc3fc09e118", + "message": "chore(deps): update dependency firebase to v10.3.0 (#9086)", + "pr": "9086" + }, + { + "line": "< 3c6b845948e334c9afc686512aab4a89d254e8c8 fix(deps): update prisma monorepo to v5.2.0 (#9064)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 3c6b845948e334c9afc686512aab4a89d254e8c8 fix(deps): update prisma monorepo to v5.2.0 (#9064)\u001b[39m\u001b[49m", + "hash": "3c6b845948e334c9afc686512aab4a89d254e8c8", + "message": "fix(deps): update prisma monorepo to v5.2.0 (#9064)", + "pr": "9064" + }, + { + "line": "< a0834d4d94507deae107893c603f25ad8fa11f97 fix(data-migrate): add `dotenv-defaults`, properly plug into CLI (#9087)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a0834d4d94507deae107893c603f25ad8fa11f97 fix(data-migrate): add `dotenv-defaults`, properly plug into CLI (#9087)\u001b[39m\u001b[49m", + "hash": "a0834d4d94507deae107893c603f25ad8fa11f97", + "message": "fix(data-migrate): add `dotenv-defaults`, properly plug into CLI (#9087)", + "pr": "9087" + }, + { + "line": "< 2d6b93d2f7661025eb49ffe5321f9fef2d65d4eb fix(data-migrate): add missing dependency `@redwoodjs/cli-helpers`", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 2d6b93d2f7661025eb49ffe5321f9fef2d65d4eb fix(data-migrate): add missing dependency `@redwoodjs/cli-helpers`\u001b[39m\u001b[49m", + "hash": "2d6b93d2f7661025eb49ffe5321f9fef2d65d4eb", + "message": "fix(data-migrate): add missing dependency `@redwoodjs/cli-helpers`" + }, + { + "line": "< f4ea5138b51f44c02b0085d4a335508aa502ab34 feat(cli): lazy install data migrate and make it runnable on its own (#8572)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< f4ea5138b51f44c02b0085d4a335508aa502ab34 feat(cli): lazy install data migrate and make it runnable on its own (#8572)\u001b[39m\u001b[49m", + "hash": "f4ea5138b51f44c02b0085d4a335508aa502ab34", + "message": "feat(cli): lazy install data migrate and make it runnable on its own (#8572)", + "pr": "8572" + }, + { + "line": "< a13174a5b1b1fd84b0cee0a1d09851ffe86d7cf3 feat: Support GraphQL Subscriptions in Apollo Client using SSE links (#9009)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< a13174a5b1b1fd84b0cee0a1d09851ffe86d7cf3 feat: Support GraphQL Subscriptions in Apollo Client using SSE links (#9009)\u001b[39m\u001b[49m", + "hash": "a13174a5b1b1fd84b0cee0a1d09851ffe86d7cf3", + "message": "feat: Support GraphQL Subscriptions in Apollo Client using SSE links (#9009)", + "pr": "9009" + }, + { + "line": "< 8aa76885fdbdd603e2afdeef4d0abba1d0e75477 fix(deps): update storybook monorepo to v7.3.2 (#9020)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8aa76885fdbdd603e2afdeef4d0abba1d0e75477 fix(deps): update storybook monorepo to v7.3.2 (#9020)\u001b[39m\u001b[49m", + "hash": "8aa76885fdbdd603e2afdeef4d0abba1d0e75477", + "message": "fix(deps): update storybook monorepo to v7.3.2 (#9020)", + "pr": "9020" + }, + { + "line": "< 33995028445e817a35b669dd1889c20f91a3f8d4 chore(deps): update dependency @auth0/auth0-spa-js to v2.1.1 (#8912)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 33995028445e817a35b669dd1889c20f91a3f8d4 chore(deps): update dependency @auth0/auth0-spa-js to v2.1.1 (#8912)\u001b[39m\u001b[49m", + "hash": "33995028445e817a35b669dd1889c20f91a3f8d4", + "message": "chore(deps): update dependency @auth0/auth0-spa-js to v2.1.1 (#8912)", + "pr": "8912" + }, + { + "line": "< fc26cd76c67bd2ef329b7369ca400c8b8063b5da chore(deps): update dependency @azure/msal-browser to v2.38.1 (#8913)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< fc26cd76c67bd2ef329b7369ca400c8b8063b5da chore(deps): update dependency @azure/msal-browser to v2.38.1 (#8913)\u001b[39m\u001b[49m", + "hash": "fc26cd76c67bd2ef329b7369ca400c8b8063b5da", + "message": "chore(deps): update dependency @azure/msal-browser to v2.38.1 (#8913)", + "pr": "8913" + }, + { + "line": "< 8ff7e3cca7bb7d581862c7b00dfe5cda9b25bf18 fix(deps): update jest monorepo to v29.6.2 (#8984)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 8ff7e3cca7bb7d581862c7b00dfe5cda9b25bf18 fix(deps): update jest monorepo to v29.6.2 (#8984)\u001b[39m\u001b[49m", + "hash": "8ff7e3cca7bb7d581862c7b00dfe5cda9b25bf18", + "message": "fix(deps): update jest monorepo to v29.6.2 (#8984)", + "pr": "8984" + }, + { + "line": "< 0ec4c5e15488d73e95d08d3965968797ecd23315 chore(deps): update babel monorepo to v7.22.10 (#9016)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m< 0ec4c5e15488d73e95d08d3965968797ecd23315 chore(deps): update babel monorepo to v7.22.10 (#9016)\u001b[39m\u001b[49m", + "hash": "0ec4c5e15488d73e95d08d3965968797ecd23315", + "message": "chore(deps): update babel monorepo to v7.22.10 (#9016)", + "pr": "9016" + }, + { + "line": "| < a38d6f08df99db83239008b75d2bf6f569ea0609 fix(deps): update dependency core-js to v3.32.0 (#9030)", + "ref": "next", + "type": "commit", + "pretty": "\u001b[44m\u001b[90m| < a38d6f08df99db83239008b75d2bf6f569ea0609 fix(deps): update dependency core-js to v3.32.0 (#9030)\u001b[39m\u001b[49m", + "hash": "a38d6f08df99db83239008b75d2bf6f569ea0609", + "message": "fix(deps): update dependency core-js to v3.32.0 (#9030)", + "pr": "9030" + } + ] +} diff --git a/tasks/release/tests/release.test.mjs b/tasks/release/tests/release.test.mjs new file mode 100644 index 000000000000..711750f98482 --- /dev/null +++ b/tasks/release/tests/release.test.mjs @@ -0,0 +1,461 @@ +import { jest } from '@jest/globals' +import execa from 'execa' +import { chalk, fs, $ } from 'zx' + +import * as releaseLib from '../releaseLib.mjs' + +const range = { + from: 'ds-fixture-dont-delete-main', + to: 'ds-fixture-dont-delete-next', +} + +releaseLib.setVerbosity(false) + +describe('releaseLib', () => { + test("its exports haven't unintentionally changed", async () => { + const releaseLib = await import('../releaseLib.mjs') + + expect(releaseLib).toMatchInlineSnapshot(` + { + "compareRange": [Function], + "consoleBoxen": [Function], + "defaultGitLogOptions": [ + "--oneline", + "--no-abbrev-commit", + "--left-right", + "--graph", + "--left-only", + "--cherry-pick", + "--boundary", + ], + "getBranchesToCommits": [Function], + "getLatestRelease": [Function], + "getMilestone": [Function], + "getOctokit": [Function], + "getPRMilestoneFromURL": [Function], + "getRedwoodRemote": [Function], + "getReleaseBranches": [Function], + "getSymmetricDifference": [Function], + "handleBranchesToCommits": [Function], + "isYes": [Function], + "openCherryPickPRs": [Function], + "prMilestoneCache": undefined, + "prompts": [Function], + "reportCommitStatuses": [Function], + "resolveBranchStatuses": [Function], + "resolveCommitsToTriage": [Function], + "resolveLine": [Function], + "resolveSymmetricDifference": [Function], + "separator": "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", + "setUpDataFile": [Function], + "setVerbosity": [Function], + "triageCommits": [Function], + "triageRange": [Function], + "unwrap": [Function], + } + `) + }) + + describe('setUpDataFile', () => { + it("returns an empty map if the file doesn't exist", async () => { + const data = releaseLib.setUpDataFile( + new URL('./nonExistentFile.json', import.meta.url) + ) + + expect(data).toEqual(new Map()) + }) + + it('returns a map the if the file exists', async () => { + const data = releaseLib.setUpDataFile( + new URL('./test.commitTriageData.json', import.meta.url) + ) + + expect(data).toMatchInlineSnapshot(` + Map { + "ed8a87d98d8c3e5dad23ac3e2143b46a201194dc" => { + "message": "chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "needsCherryPick": false, + }, + } + `) + }) + + describe('process.exit', () => { + const file = './testFile.json' + + afterAll(async () => { + await fs.rm(file) + }) + + it("doesn't write a file if the map is empty on the `process`'s `exit` event", async () => { + await execa.command( + `yarn node ./setUpDataFileTest.mjs --file=${file} --scenario=empty-map` + ) + + expect(await fs.exists(file)).toBe(false) + }) + + it("writes a file if the map is populated on `process`'s `exit`", async () => { + await execa.command(`yarn node ./setUpDataFileTest.mjs --file=${file}`) + + expect(await fs.exists(file)).toBe(true) + }) + }) + }) + + describe('symmetric difference', () => { + let symmetricDifference + + test('`getSymmetricDifference` gets the symmetric difference between fixture branches', async () => { + symmetricDifference = await releaseLib.getSymmetricDifference(range) + + expect(symmetricDifference.length).toEqual(147) + expect(symmetricDifference).toMatchSnapshot() + }) + + describe('resolveSymmetricDifference', () => { + describe('resolveLine', () => { + const options = { + range: { + ...range, + to: [range.to], + }, + refsToColorFunctions: { + [range.to]: chalk.dim.bgBlue, + }, + logger: () => {}, + } + + it('resolves a ui line starting with `| o`', async () => { + const line = + '| o a2fcc1618a70a77570943e4bc85d29ea055ab507 chore(deps): update dependency @playwright/test to v1.37.0 (#9028)' + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toMatchObject({ + type: 'ui', + ref: range.from, + pretty: chalk.dim(line), + }) + }) + + it('resolve a ui line starting with `o`', async () => { + const line = 'o 79faf45ead7bdaa351afb7d5f99ca7ee828939bf v6.0.7' + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toEqual({ + line, + type: 'ui', + ref: range.from, + pretty: chalk.dim(line), + }) + }) + + it("parses a commit's hash and message", async () => { + const line = + '< c80df9b30ffbfbf1b9b75af92938a9941215a075 Update crypto library, CryptoJS CVE & deprecation (#9350)' + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toMatchObject({ + hash: 'c80df9b30ffbfbf1b9b75af92938a9941215a075', + message: + 'Update crypto library, CryptoJS CVE & deprecation (#9350)', + }) + }) + + it('resolves an annotated tag', async () => { + const line = '< 79faf45ead7bdaa351afb7d5f99ca7ee828939bf v6.0.7' + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toMatchObject({ + type: 'tag', + ref: 'v6.0.7', + pretty: chalk.dim(line), + }) + }) + + it('resolves a release chore', async () => { + const line = + "< 7bf030a3c3dd94d7ff95d964d75dc4cd54a0de39 Merge branch 'release/patch/v6.0.7'" + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toMatchObject({ + type: 'release-chore', + pretty: chalk.dim(line), + }) + }) + + it('resolves a commit that revert a commit', async () => { + const line = + '< 8469ce6e189b9628f785950b1a0dc800aa7eea3c Revert "feat: Support GraphQL Fragments with Apollo Client and Fragment Registry (#9140)"' + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toMatchObject({ + type: 'revert', + pretty: chalk.underline(line), + }) + }) + + it("parses a commit's pr and fetches its milestone", async () => { + const line = + '< 18555d0e196cfc69ed322e24cafeb2d228773ae1 RSC: Smoke test (#9194)' + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toMatchObject({ + pr: '9194', + url: 'https://github.com/redwoodjs/redwood/pull/9194', + milestone: 'RSC', + }) + }) + + it('checks if a commit is in the `range.to` ref', async () => { + const line = + '< 0ec4c5e15488d73e95d08d3965968797ecd23315 chore(deps): update babel monorepo to v7.22.10 (#9016)' + + const commit = await releaseLib.resolveLine(line, options) + + expect(commit).toMatchObject({ + ref: range.to, + pretty: options.refsToColorFunctions[range.to]( + `${line} (${commit.milestone})` + ), + }) + }) + }) + }) + }) + + describe('getReleaseBranches', () => { + it('gets branches prefixed with `release/`', async () => { + const releaseBranches = await releaseLib.getReleaseBranches() + + // Release branches look like `release/major/v7.0.0`, `release/minor/v6.4.0`, or `release/patch/v6.3.2`. + const releaseBranchRegExp = /release\/major|minor|patch\/v\d.\d.\d/ + + expect( + releaseBranches.every((releaseBranch) => + releaseBranchRegExp.test(releaseBranch) + ) + ).toEqual(true) + }) + + it("sorts them if there's more than one,", async () => { + const mockReleaseBranches = [ + `release/major/3.0.0`, + `release/minor/v2.1.0`, + `release/patch/v2.0.1`, + `release/major/v2.0.0`, + ] + + await Promise.all( + mockReleaseBranches.map((branch) => $`git branch ${branch}`) + ) + + const releaseBranches = await releaseLib.getReleaseBranches() + expect(releaseBranches.slice(-4)).toEqual(mockReleaseBranches) + + await Promise.all( + mockReleaseBranches.map((branch) => $`git branch -D ${branch}`) + ) + }) + }) + + test('getLatestRelease returns a string in the shape of a release tag', async () => { + const latestRelease = await releaseLib.getLatestRelease() + expect(latestRelease).toMatch(/v\d\.\d\.\d/) + }) + + describe('resolveBranchStatuses', () => { + test('getRedwoodRemote', async () => { + const result = await releaseLib.getRedwoodRemote() + expect(result.redwoodRemote).toBeDefined() + expect(result.error).toBeUndefined() + }) + + test('getBranchesToCommits', async () => { + const branchesToCommits = await releaseLib.getBranchesToCommits( + ['main', 'next'], + { + redwoodRemote: 'origin', + } + ) + + expect(branchesToCommits).toEqual({ + main: { + existsOnRedwoodRemote: expect.any(Boolean), + diverged: expect.any(Boolean), + upToDate: expect.any(Boolean), + commitsExclusiveToLocalBranch: expect.any(Number), + commitsExclusiveToRemoteBranch: expect.any(Number), + }, + next: { + existsOnRedwoodRemote: expect.any(Boolean), + upToDate: expect.any(Boolean), + commitsExclusiveToLocalBranch: expect.any(Number), + commitsExclusiveToRemoteBranch: expect.any(Number), + diverged: expect.any(Boolean), + }, + }) + }) + + describe('handleBranchesToCommits', () => { + it('handles branches being up to date', async () => { + console.log = jest.fn() + + const result = await releaseLib.handleBranchesToCommits( + { + main: { + existsOnRedwoodRemote: true, + upToDate: true, + }, + next: { + existsOnRedwoodRemote: true, + upToDate: true, + }, + }, + { + redwoodRemote: 'origin', + } + ) + + expect(console.log.mock.calls[0][0]).toMatchInlineSnapshot(` + "╭ 🐙 Branch status(es) ─╮ + │ ✅ main is up to date │ + │ ✅ next is up to date │ + ╰───────────────────────╯" + `) + expect(result.error).toBeUndefined() + }) + + it('handles diverged branches', async () => { + console.log = jest.fn() + + const result = await releaseLib.handleBranchesToCommits( + { + main: { + existsOnRedwoodRemote: true, + upToDate: false, + diverged: true, + commitsExclusiveToLocalBranch: 42, + commitsExclusiveToRemoteBranch: 42, + }, + next: { + existsOnRedwoodRemote: true, + upToDate: false, + diverged: true, + commitsExclusiveToLocalBranch: 42, + commitsExclusiveToRemoteBranch: 42, + }, + }, + { + redwoodRemote: 'origin', + } + ) + + expect(console.log.mock.calls[0][0]).toMatchInlineSnapshot(` + "╭ 🐙 Branch status(es) ──────────────────────────────────────────╮ + │ 🧮 main has... │ + │ 🏠 42 commit(s) locally that the remote branch doesn't have │ + │ 📡 42 commit(s) remotely that the local branch doesn't │ + │ 🧮 next has... │ + │ 🏠 42 commit(s) locally that the remote branch doesn't have │ + │ 📡 42 commit(s) remotely that the local branch doesn't │ + ╰────────────────────────────────────────────────────────────────╯" + `) + expect(result.error).toMatchInlineSnapshot(` + "The following branch(es) have diverged—they have commits that are exclusive to both the local and remote: main, next. + Trying to triage commits right now probably isn't going to be a good time." + `) + }) + + it("handles branches that aren't main or next", async () => { + console.log = jest.fn() + + const result = await releaseLib.handleBranchesToCommits( + { + 'release/minor/v6.4.0': { + existsOnRedwoodRemote: true, + upToDate: true, + }, + 'next-v5-archive': { + existsOnRedwoodRemote: true, + upToDate: true, + }, + }, + { + redwoodRemote: 'origin', + } + ) + + expect(console.log.mock.calls[0][0]).toMatchInlineSnapshot(` + "╭ 🐙 Branch status(es) ─────────────────╮ + │ ✅ release/minor/v6.4.0 is up to date │ + │ ✅ next-v5-archive is up to date │ + ╰───────────────────────────────────────╯" + `) + expect(result.error).toBeUndefined() + }) + + it("handles branches that don't have remotes", async () => { + console.log = jest.fn() + + const result = await releaseLib.handleBranchesToCommits( + { + 'release/epoch/bighorn': { + existsOnRedwoodRemote: false, + }, + 'epoch-arapaho-archive': { + existsOnRedwoodRemote: false, + }, + }, + { + redwoodRemote: 'origin', + } + ) + + expect(console.log.mock.calls[0][0]).toMatchInlineSnapshot(` + "╭ 🐙 Branch status(es) ─────────────────────────────────────────────────╮ + │ ❓ release/epoch/bighorn doesn't exist on the Redwood remote (origin) │ + │ ❓ epoch-arapaho-archive doesn't exist on the Redwood remote (origin) │ + ╰───────────────────────────────────────────────────────────────────────╯" + `) + expect(result.error).toBeUndefined() + }) + }) + }) + + test("`getPRMilestoneFromURL` gets a PR's milestone", async () => { + const pr = { + url: 'https://github.com/redwoodjs/redwood/pull/9361', + milestone: 'v6.4.0', + } + + const milestone = await releaseLib.getPRMilestoneFromURL(pr.url) + + expect(milestone).toEqual(pr.milestone) + expect(releaseLib.prMilestoneCache.has(pr.url)).toEqual(true) + expect(releaseLib.prMilestoneCache.get(pr.url)).toEqual(milestone) + }) + + test('`getOctokit` throws if `process.env.GITHUB_TOKEN` is `undefined`', () => { + const GITHUB_TOKEN = process.env.GITHUB_TOKEN + delete process.env.GITHUB_TOKEN + + try { + releaseLib.getOctokit() + } catch (e) { + expect(e.message).toMatchInlineSnapshot(` + "You have to set the GITHUB_TOKEN env var to a personal access token. + Create a personal access token with the repo scope here: https://github.com/settings/tokens." + `) + } + + process.env.GITHUB_TOKEN = GITHUB_TOKEN + }) +}) diff --git a/tasks/release/tests/releaseLibQA.mjs b/tasks/release/tests/releaseLibQA.mjs new file mode 100644 index 000000000000..04bf36ac6dc4 --- /dev/null +++ b/tasks/release/tests/releaseLibQA.mjs @@ -0,0 +1,126 @@ +/* eslint-env node */ + +// This file runs some lib functions in an observable way for QA. +// Run this file with... +// +//```js +// yarn node ./tasks/release/tests/releaseLibQA.mjs +//``` +// +// TODO: some of this code would break on an annotated tag... + +import { fs, question } from 'zx' + +import { annotateSymmetricDifference, purgeTriageData } from '../releaseLib.mjs' + +async function main() { + const linesFileURL = new URL('./lines.json', import.meta.url) + + let lines + + try { + lines = await fs.readJSON(linesFileURL) + } catch (e) { + console.log( + `Couldn't read ${linesFileURL}. Have you run \`yarn node ./tasks/release/triageMain.mjs\`?` + ) + process.exitCode = 1 + return + } + + const range = { + from: 'main', + to: 'next', + } + + const annotatedSymmetricDifference = await annotateSymmetricDifference( + lines, + { + ...range, + // Uncomment this to `true` to go step by step: + // verbose: true, + } + ) + + // await QA_AnnotateSymmetricDifference(annotatedSymmetricDifference, range) + // await QA_MainCommits(annotatedSymmetricDifference, range) + // await QA_TriageData(annotatedSymmetricDifference, range) +} + +main() + +//------------------------ + +async function QA_AnnotateSymmetricDifference( + annotatedSymmetricDifference, + { from, to } +) { + const types = new Set( + annotatedSymmetricDifference.map((commit) => commit.type) + ) + + const categoryToCommitsInitialValue = [...types, from, to].reduce( + (obj, type) => { + obj[type] = [] + return obj + }, + {} + ) + + const categoryToCommits = annotatedSymmetricDifference.reduce( + (categoryToCommits, commit) => { + categoryToCommits[commit.type].push(commit) + categoryToCommits[commit.ref].push(commit) + return categoryToCommits + }, + categoryToCommitsInitialValue + ) + + fs.writeJSON( + new URL('./tests/annotatedSymmetricDifference.json', import.meta.url), + categoryToCommits, + { spaces: 2 } + ) +} + +async function QA_MainCommits(annotatedSymmetricDifference, { from }) { + const fromCommits = annotatedSymmetricDifference.filter( + (commit) => commit.ref === from + ) + + const triageMainData = await fs.readJSON( + new URL('./data/triageMainData.json', import.meta.url) + ) + + for (const commit of fromCommits) { + const triageStatus = triageMainData[commit.hash]?.needsCherryPick + + if (triageStatus === undefined) { + console.log(`${commit.pretty} has no triage status`) + } else { + console.log(`${commit.pretty}`) + console.log(`needs cherry pick? ${triageStatus}`) + } + + await question('') + } +} + +async function QA_TriageData(annotatedSymmetricDifference, { to }) { + const triageMainData = new Map( + Object.entries( + await fs.readJSON(new URL('./data/triageMainData.json', import.meta.url)) + ) + ) + + await purgeTriageData(triageMainData, { + commits: annotatedSymmetricDifference.filter( + (commit) => commit.type === 'commit' + ), + branch: to, + }) +} + +// qa commits to be released... +// since last minor... +// since last patch... diff --git a/tasks/release/tests/releaseMock.test.mjs b/tasks/release/tests/releaseMock.test.mjs new file mode 100644 index 000000000000..9ba05c3ab7d1 --- /dev/null +++ b/tasks/release/tests/releaseMock.test.mjs @@ -0,0 +1,88 @@ +import { jest } from '@jest/globals' +import chalk from 'chalk' + +jest.unstable_mockModule('zx', () => { + return { + $: jest.fn(() => { + return { + stdout: '', + } + }), + question: jest.fn(), + chalk, + fs: { + readJSONSync: jest.fn(() => { + throw { code: 'ENOENT' } + }), + }, + within: jest.fn(), + } +}) + +describe('releaseLib with mocks', () => { + test("`setUpDataFile` shouldn't throw if the file doesn't exist", async () => { + const releaseLib = await import('../releaseLib.mjs') + + expect(() => { + releaseLib.setUpDataFile( + new URL('./testTriageData.json', import.meta.url) + ) + }).not.toThrow() + }) + + test("`getRedwoodRemote` returns an error if it can't find the Redwood remote", async () => { + const releaseLib = await import('../releaseLib.mjs') + + const result = await releaseLib.getRedwoodRemote() + + expect(result).toEqual({ + error: + "Couldn't find a git remote that points to git@github.com:redwoodjs/redwood.git", + }) + }) + + test('`handleBranchesToCommits` handles branches having commits exclusive to the remote', async () => { + const releaseLib = await import('../releaseLib.mjs') + const { question } = await import('zx') + + console.log = jest.fn() + + const result = await releaseLib.handleBranchesToCommits( + { + main: { + existsOnRedwoodRemote: true, + upToDate: false, + commitsExclusiveToLocalBranch: 0, + commitsExclusiveToRemoteBranch: 42, + }, + next: { + existsOnRedwoodRemote: true, + upToDate: false, + commitsExclusiveToLocalBranch: 0, + commitsExclusiveToRemoteBranch: 42, + }, + }, + { + redwoodRemote: 'origin', + } + ) + + expect(console.log.mock.calls[0][0]).toMatchInlineSnapshot(` + "╭ 🐙 Branch status(es) ─────────────────────────────────────────╮ + │ 🧮 main has... │ + │ 🏠 0 commit(s) locally that the remote branch doesn't have │ + │ 📡 42 commit(s) remotely that the local branch doesn't │ + │ 🧮 next has... │ + │ 🏠 0 commit(s) locally that the remote branch doesn't have │ + │ 📡 42 commit(s) remotely that the local branch doesn't │ + ╰───────────────────────────────────────────────────────────────╯" + `) + expect(result.error).toBeUndefined() + expect(question).toHaveBeenCalledWith( + `Ok to \`git fetch\` ${chalk.magenta('main')}? [Y/n] ` + ) + expect(question).toHaveBeenCalledWith( + `Ok to \`git fetch\` ${chalk.magenta('next')}? [Y/n] ` + ) + }) +}) diff --git a/tasks/release/tests/setUpDataFileTest.mjs b/tasks/release/tests/setUpDataFileTest.mjs new file mode 100644 index 000000000000..e8a320046e10 --- /dev/null +++ b/tasks/release/tests/setUpDataFileTest.mjs @@ -0,0 +1,32 @@ +/* eslint-env node */ +import { parseArgs } from 'node:util' + +import { setUpDataFile } from '../releaseLib.mjs' + +function main() { + const { values } = parseArgs({ + options: { + file: { + type: 'string', + short: 'f', + }, + scenario: { + type: 'string', + short: 's', + }, + }, + }) + + const data = setUpDataFile(new URL(values.file, import.meta.url)) + + if (values.scenario === 'empty-map') { + return + } + + data.set('ed8a87d98d8c3e5dad23ac3e2143b46a201194dc', { + message: 'chore(deps): update dependency esbuild to v0.19.2 (#9029)', + needsCherryPick: false, + }) +} + +main() diff --git a/tasks/release/tests/test.commitTriageData.json b/tasks/release/tests/test.commitTriageData.json new file mode 100644 index 000000000000..4dc8fea933f3 --- /dev/null +++ b/tasks/release/tests/test.commitTriageData.json @@ -0,0 +1,6 @@ +{ + "ed8a87d98d8c3e5dad23ac3e2143b46a201194dc": { + "message": "chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "needsCherryPick": false + } +} diff --git a/tasks/release/triage/main_next.commitTriageData.json b/tasks/release/triage/main_next.commitTriageData.json new file mode 100644 index 000000000000..97cd7489f00e --- /dev/null +++ b/tasks/release/triage/main_next.commitTriageData.json @@ -0,0 +1,348 @@ +{ + "ed8a87d98d8c3e5dad23ac3e2143b46a201194dc": { + "message": "chore(deps): update dependency esbuild to v0.19.2 (#9029)", + "needsCherryPick": "no" + }, + "0c23f67708b286d1e923e4d93aaba238edf66bb3": { + "message": "Streaming fe server: bind to 0.0.0.0 in prod (#9115)", + "needsCherryPick": "no" + }, + "8d0ab16aa1c39f1526e4213211608805735f6974": { + "message": "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)", + "needsCherryPick": "no" + }, + "d7560ec9c1b9b7d6feff3f6a952a49793e6ac8f8": { + "message": "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)", + "needsCherryPick": "no" + }, + "2b8a5558c6d88f37346346c5f9db2cdd0073f83f": { + "message": "feat(Cell Suspense): Allow Cells to not Suspend (#9106)", + "needsCherryPick": "no" + }, + "2f49ac90349e2ddd793e0adeaf00967abfd54912": { + "message": "chore(deps): bump @apollo/server from 4.7.5 to 4.9.3 (#9100)", + "needsCherryPick": "no" + }, + "c55f1c56b3b3279089784f3c388829ca3438e1e1": { + "message": "chore(deps): bump apollo-server-core from 2.25.3 to 2.26.2 in /__fixtures__/example-todo-main (#9103)", + "needsCherryPick": "no" + }, + "65acc365f05e2862d50aa86aaf2cd1377137b105": { + "message": "chore(deps): bump @apollo/server from 4.9.2 to 4.9.3 in /__fixtures__/example-todo-main (#9102)", + "needsCherryPick": "no" + }, + "029fa48c4186ec820704c666a9c31da448a2f7c4": { + "message": "chore(deps): bump apollo-server-core from 2.11.0 to 2.26.2 in /__fixtures__/example-todo-main-with-errors (#9101)", + "needsCherryPick": "no" + }, + "52fc187a3c609db9e05dc3d68dd2857f68209d0b": { + "message": "chore(deps): update dependency @playwright/test to v1.37.1 (#9098)", + "needsCherryPick": "no" + }, + "069101b7ca1115d021a20f4d9b80e9b10107df24": { + "message": "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)", + "needsCherryPick": "no" + }, + "fbd39919afc75bd7fc7082e22fcb4f650c916771": { + "message": "chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 in /__fixtures__/example-todo-main (#9089)", + "needsCherryPick": "no" + }, + "944a93b1df26afa6749fe34c12f1e334385aef6a": { + "message": "chore(deps): bump @adobe/css-tools from 4.2.0 to 4.3.1 (#9088)", + "needsCherryPick": "no" + }, + "8ca4b0201a6129efb50414c014bc910b3572625e": { + "message": "chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#9042)", + "needsCherryPick": "no" + }, + "c5ba4888a87e5ea0b11ff5d2768d13f47f672eeb": { + "message": "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)", + "needsCherryPick": "no" + }, + "bb3ef0bd6034dfa7c6a38efcdabb444eea9665c7": { + "message": "Create releaseCommits.json", + "needsCherryPick": "no" + }, + "c89e1364c7e9af541438f3274ddf1f92401dc2c8": { + "message": "exp(streaming): Allow SSR with experimental apollo client (#9038)", + "needsCherryPick": "no" + }, + "865c9085bf1519c6b2f153b7497ef005d42f3bad": { + "message": "manually bump web-server package version", + "needsCherryPick": "no" + }, + "ae11f69df494be05d33e558bfea328b751223f43": { + "message": "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)", + "needsCherryPick": "no" + }, + "7ee61534f9131657b920f2d95b3d0e8d7a6e4ab2": { + "message": "RSC: Don't set the react-server condition for client builds (#9132)", + "needsCherryPick": "no" + }, + "9257e3944fe1f49a3e9bd39a1f076c02134de28c": { + "message": "RSC: Decode RSF args from request (#9157)", + "needsCherryPick": "no" + }, + "c46bb67a75c4f78b4cbd5d744f52937a567f0e43": { + "message": "RSC: RSF aka Server Actions (#9155)", + "needsCherryPick": "no" + }, + "d3475cd7041b20106bf73968a1d59dcae611afcd": { + "message": "RSC: Make code and execution easier to follow. Improve error handling. (#9154)", + "needsCherryPick": "no" + }, + "ee334bcf08f760cdfe26c03e7d65dc7da2f76281": { + "message": "RSC: Work around an issue in Rollup (#9153)", + "needsCherryPick": "no" + }, + "050a16925ab9768374e56f20792bbb2a026488bb": { + "message": "Streaming: meta charSet=utf-8 (#9142)", + "needsCherryPick": "no" + }, + "91fb06b378ea2b156f0cb619033021f4b116a6a7": { + "message": "Allow resuming rebuild-test-project-fixture at a specific sub step (#9173)", + "needsCherryPick": "no" + }, + "9d63d080a69f1428bb2b961690ecb09eaee64edd": { + "message": "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)", + "needsCherryPick": "no" + }, + "1b52e3dda6b6e8fe5ea2522aaee8c687566912b7": { + "message": "chore(deps): update dependency esbuild to v0.19.3 (#9180)", + "needsCherryPick": "no" + }, + "adddd23987b8a1003053280fafe772275e932217": { + "message": "chore(deps): update dependency lerna to v7.3.0 (#9186)", + "needsCherryPick": "no" + }, + "4d06556988b8f1da0a9ecd7d6b0e133707e22921": { + "message": "smoke-tests: Fix red squiggles (type import, * as) (#9193)", + "needsCherryPick": "no" + }, + "83d180fc477b17bf33c7673f010b68e9f7d5e0a2": { + "message": "RSC: Check if index.html has already been updated during setup (#9197)", + "needsCherryPick": "no" + }, + "e2c14ebf9cb4f62d3d5eed63becd4cbf587485a4": { + "message": "RSC: Use react/experimental types (#9196)", + "needsCherryPick": "no" + }, + "a7bab85513ded97c500399daacf3a39de1fc1378": { + "message": "RSC: Patch vite when running setup command (#9192)", + "needsCherryPick": "no" + }, + "a436b1cfe82b0ce53baadc0149a5d2831928135b": { + "message": "RSC: Support 'use client' in 3pp packages (#9191)", + "needsCherryPick": "no" + }, + "5921359bf6482873df1bf9d9df51f3eaaba9c566": { + "message": "chore(crwa): remove React `prop-types` package (#9206)", + "needsCherryPick": "no" + }, + "18555d0e196cfc69ed322e24cafeb2d228773ae1": { + "message": "RSC: Smoke test (#9194)", + "needsCherryPick": "no" + }, + "27d33d3e29276d0d5c61d604034d65b4c6ae5f65": { + "message": "RSC: Handle Windows paths in clientEntries (#9233)", + "needsCherryPick": "no" + }, + "045531957188895e3ee42c3815030445bb59b87f": { + "message": "fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (#9280)", + "needsCherryPick": "no" + }, + "c8c8a3b1e3c599a610b3856b71078357e70e44be": { + "message": "RSC: vite externalConditions (#9333)", + "needsCherryPick": "no" + }, + "45065da262c1a57d67b0013ea7168c0fca687dc6": { + "message": "RSC: test-project-rsa: Fix TS type error in onSend (#9332)", + "needsCherryPick": "no" + }, + "18c5d961f203820facc8a42eebe2d382ed7ff7dd": { + "message": "RSC: Implement RSC worker (#9331)", + "needsCherryPick": "no" + }, + "433d8ef99b0025cf2a5d6faceef303be6089f155": { + "message": "RSC: createRscRequestHandler (#9330)", + "needsCherryPick": "no" + }, + "104c8e289340310dd4cba7d8cc20666a9abb85e6": { + "message": "RSA smoke-test (#9327)", + "needsCherryPick": "no" + }, + "f157c3ec9c76848716311c928a047138775279a3": { + "message": "RSC e2e scripts: Fix console.log text. Change local test path (#9326)", + "needsCherryPick": "no" + }, + "daaa1998837bdb6eaa42d9160292e781fadb3dc8": { + "message": "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)", + "needsCherryPick": "no" + }, + "e2cf25db2518833ad0b833c5e6b5308557ecc7fd": { + "message": "fix(ssr-build): Generate document in ssr build too! (#9310)", + "needsCherryPick": "no" + }, + "1ed2b5b477a6b08a0d4731160591bebfaaeac34b": { + "message": "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)", + "needsCherryPick": "no" + }, + "656a2c86e28a915a8f8552a44c8b79331873f7f7": { + "message": "chore(e2e): Setup e2e test for streaming SSR (#9349)", + "needsCherryPick": "no" + }, + "bdf885a0848c0aa97be2d7d16fa7bac60ff64f68": { + "message": "fix(stream-ssr): Move wait for all ready to fix bot rendering (#9389)", + "needsCherryPick": "no" + }, + "1e42b43b6201fd55e3e41e4d5a070606f2d385ff": { + "message": "feat(ssr): Collect CSS links during dev (#9382)", + "needsCherryPick": "no" + }, + "c4dedc66ced7259516715033c20372072c4cfd2d": { + "message": "chore(ssr): Move LocationProvider inside framework for SSR (#9383)", + "needsCherryPick": "no" + }, + "76e1672c33a9cb5f65d4a21bb9a9d86341655f6f": { + "message": "feat(ssr-streaming): Allow building without index.html during streaming-ssr (#9387)", + "needsCherryPick": "no" + }, + "a626553abcde3e3cbaf2e10c68dc8543698c9006": { + "message": "Issue Metrics GitHub action (#9392)", + "needsCherryPick": "no" + }, + "fdba607d5a21276e8ffd7d7b4eccb1f9262186d0": { + "message": "Issue Metrics GitHub action in /workflows (#9393)", + "needsCherryPick": "no" + }, + "2bfadd2ca4b2020e15226711520f04993ffeebff": { + "message": "Move Issue Metrics GH actions into workflow folder (#9395)", + "needsCherryPick": "no" + }, + "963fc0063e6134ec7b9a1a28a0acf766d2fe72fa": { + "message": "Issue Metrics: Fix weekly report (#9397)", + "needsCherryPick": "no" + }, + "79a331609fc206dfe7960fcff98e17720e845091": { + "message": "Issue Metrics: Weekly JSON report (#9400)", + "needsCherryPick": "no" + }, + "b79b0ed004513e48f5a856c0720fd5926af336cc": { + "message": "Debug weekly issue metrics json.yml", + "needsCherryPick": "no" + }, + "e49d8e328abfcc9990be6ebae6b4310f609674d3": { + "message": "Issue Metrics: Weekly JSON report use different file name", + "needsCherryPick": "no" + }, + "69d9bd537381180ad1e6fb9bdfe1fd07b00b1cec": { + "message": "Issue Metrics: Try jq", + "needsCherryPick": "no" + }, + "f837962c6ee06a3bd843ceecf7c3d2f0af78018d": { + "message": "Issue Metrics: Try jq (spelled correctly)", + "needsCherryPick": "no" + }, + "e2a90f8c3c905a26c788f40c21a54291c36f5c87": { + "message": "RSC: smoke tests: install and build after project:copy (#9411)", + "needsCherryPick": "no" + }, + "df885749bdf150c3e536f463256e8cf34a987e78": { + "message": "RSC: Move loaders to worker thread (#9412)", + "needsCherryPick": "no" + }, + "114a2b0260973b7ad252d43f2e14704284ba4ff7": { + "message": "RSC GH action: Move build to after copy (#9413)", + "needsCherryPick": "no" + }, + "cb0b035cced7678df7f7e6bf772cc1feabcfd785": { + "message": "RSC: Check for rw-rsc header (#9410)", + "needsCherryPick": "no" + }, + "e04e48e6933dd54e5133f8fc2c545aae48a1fa64": { + "message": "RSC: Support client-only package and include @tobbe.dev/rsc-test in smoke test (#9367)", + "needsCherryPick": "no" + }, + "4c15e9ad122961531a2757cd65d6439d414f47bb": { + "message": "chore(deps): update dependency esbuild to v0.19.5 (#9359)", + "needsCherryPick": "no" + }, + "c5eca98932564ffc8845eedba52f2e3f9ac004e3": { + "message": "chore(deps): update dependency rollup to v3.29.4 (#9464)", + "needsCherryPick": "no" + }, + "886e28ab5ecf88055f320c7c12120ea79eabdaad": { + "message": "fix(deps): update dependency @whatwg-node/server to v0.9.16 (#9475)", + "needsCherryPick": "no" + }, + "e330be7f1681cebeb226ad2c624dc575b51ea8e6": { + "message": "fix(deps): update dependency isbot to v3.7.1 (#9506)", + "needsCherryPick": "no" + }, + "fe70a367370d1070321a23a3f62294239830f379": { + "message": "Prerender smoke-test: await helper function (#9546)", + "needsCherryPick": "no" + }, + "4afccbcb6e5947c32add1779fd75c2907e497759": { + "message": "RSC: Combine RSC server with StreamingSSR server (#9553)", + "needsCherryPick": "no" + }, + "c37f086a0dd8d7425046406ef1ea6308ed6bc69d": { + "message": "Remove GitHub action that creates new issue with metrics (#9559)", + "needsCherryPick": "no" + }, + "205e0f4cbc41d75ba615cbd70b905d035dc066ee": { + "message": "fix(streaming): Fix css loading on dev server on Windows (#9557)", + "needsCherryPick": "no" + }, + "645956290e519d3e37432741f047569824330d9b": { + "message": "fix(streaming-ssr): Fixes running the streaming server using rw serve (#9558)", + "needsCherryPick": "no" + }, + "1f66831febefd5ab2c650f905eabce8dde43027b": { + "message": "RSC: Refactor build process (#9588)", + "needsCherryPick": "no" + }, + "99685ee74a2b9b25f0f4cc668746b8f016efa327": { + "message": "RSC: Generate a route manifest (#9592)", + "needsCherryPick": "no" + }, + "1e1c8d1a37d665ca5fc3c14649907dee1dec73fa": { + "message": "fix(deps): update dependency @whatwg-node/server to v0.9.18 (#9602)", + "needsCherryPick": "no" + }, + "a7ea8cdc35772234cbc7ac5e3c36446213ebe61a": { + "message": "RSC: Include routing in initial RSC example app (#9611)", + "needsCherryPick": "no" + }, + "2c638c38b97da8179f222d4515e83e7378ecb527": { + "message": "RSC: Fake server-side routing (#9593)", + "needsCherryPick": "no" + }, + "00462e511c772fd03226f576816039a8e62f5ea2": { + "message": "RSC: Refactor to share buildRouteManifest function with SSR process (#9618)", + "needsCherryPick": "no" + }, + "f0dd337030ec17a54ab5f6717b6a1b12dfa75d75": { + "message": "feature: Realtime setup and generator commands out of experimental and into main cli (#9342)", + "needsCherryPick": "skip", + "comment": "This PR breaks a previous patch that relied on [experimental.realtime] in redwood.toml" + }, + "a1de0786b65c1178244fd682f0962e3ea9371e4c": { + "message": "feature: Support GraphQL Trusted Documents aka Persisted Operations for added security (#9416)", + "needsCherryPick": "skip", + "comment": "Needs another PR to complete the feature" + }, + "69a17708e868cb49a13d88085e36c1dca34e2940": { + "message": "RSC: Add RW env var definitions to Vite config and include FatalErrorBoundary (#9622)", + "needsCherryPick": "no" + }, + "e9f5f015b7184a3aba103863330b6813125ab15c": { + "message": "RSC: Use Routes.tsx for (client-side) routing (#9630)", + "needsCherryPick": "no" + }, + "b1adcc7ee8dd7a4fc4974bf822945a01a80c5d2c": { + "message": "chore: Linting and disable some console logs (#9635)", + "needsCherryPick": "no" + } +} diff --git a/tasks/release/triage/triage.mjs b/tasks/release/triage/triage.mjs new file mode 100644 index 000000000000..04d8e93b5369 --- /dev/null +++ b/tasks/release/triage/triage.mjs @@ -0,0 +1,173 @@ +/* eslint-env node */ + +// Checklist for manual testing: +// +// - [ ] accepts a range (`main...next`) as a a positional arg +// - [ ] throws if the range is syntactically invalid (`main..next`) +// - [ ] throws if the branches specified in the range don't exist +// - [ ] prompts if no positional arg is provided +// +// - [ ] --verbose (-v) controls verbosity +// - [ ] --verbose (-v) defaults to false +// +// - [ ] --skip-branch-check skips the branch status check + +import { parseArgs as _parseArgs } from 'node:util' + +import { chalk } from 'zx' + +import { + branchExists, + consoleBoxen, + getReleaseBranches, + prompts, + resolveBranchStatuses, + setVerbosity, + triageRange, +} from '../releaseLib.mjs' + +async function main() { + let options + + try { + options = await parseArgs() + } catch (e) { + consoleBoxen('👷 Heads up', e.message) + process.exitCode = 1 + return + } + + const { verbose, checkBranchStatuses, range } = options + + setVerbosity(verbose) + + // One gotcha when triaging commits: you don't have the latest branches. + if (checkBranchStatuses) { + const result = await resolveBranchStatuses([range.from, range.to]) + + if (result.error) { + consoleBoxen('👷 Heads up', result.error) + process.exitCode = 1 + return + } + } + + await triageRange(range) +} + +main() + +// ─── Helpers ───────────────────────────────────────────────────────────────── + +async function parseArgs() { + const { positionals, values } = _parseArgs({ + allowPositionals: true, + + options: { + // Seems like a limitation of `parseArgs`, but we can't specify `check-branches: { default: true }` + // because there's no way to unset it at the CLI. + 'skip-branch-status-check': { + type: 'boolean', + }, + + verbose: { + type: 'boolean', + short: 'v', + default: false, + }, + }, + }) + + const range = {} + + // We let the user provide a range (`main...next`) as a positional argument. If they don't, we prompt. + if (positionals.length) { + const [userProvidedRange] = positionals + + // Matches something like `main...next`. + const rangeRegExp = /.+\.\.\..+/ + + if (!rangeRegExp.test(userProvidedRange)) { + throw new Error( + `Error: If you provide a positional argument, it must be in the form of a range like ${chalk.magenta( + 'main...next' + )}` + ) + } + + const [from, to] = userProvidedRange.split('...') + + if (!(await branchExists(from))) { + throw new Error(`The branch ${chalk.magenta(from)} doesn't exist.`) + } + if (!(await branchExists(to))) { + throw new Error(`The branch ${chalk.magenta(to)} doesn't exist.`) + } + + range.from = from + range.to = to + } else { + const releaseBranches = await getReleaseBranches() + + // You should cherry pick from + // + // - main -> next + // - next -> a release branch + // + // You shouldn't cherry pick straight from `main` to a release branch + // because if the release branch is a patch, the minor (which is cut from `next`) will be missing that commit. + const choices = [ + 'main...next', + ...releaseBranches.map((branch) => `next...${branch}`), + ].map((branch) => { + return { + title: branch, + value: branch, + } + }) + + const rangeRes = await prompts({ + name: 'range', + message: 'Which range do you want to triage?', + type: 'select', + choices, + }) + + const [from, to] = rangeRes.range.split('...') + range.from = from + range.to = to + } + + // Spreading `values` here adds `no-check-branches-statuses`. Instead we add them by hand, specifying defaults: + // + // - if range isn't explicitly set, default to `main...next` + // - if `--no-check-branches-statuses` isn't explicitly set, default to `true`. + return { + range, + checkBranchStatuses: !values['skip-check-branch-check'] ?? true, + verbose: values.verbose, + } +} + +// TODO +// function getHelp() { +// return [ +// chalk.bold('# 📥 Triage'), +// '', +// chalk.bold('## Usage'), +// '', +// chalk.green(' yarn node ./tasks/release/triage/triage.mjs [range]'), +// '', +// chalk.dim( +// ' # Triage from next to a release branch like release/patch/v6.3.3' +// ), +// chalk.cyan( +// ' yarn node ./tasks/release/triage/triage.mjs next...release/patch/v6.3.3' +// ), +// '', +// chalk.bold('## Options'), +// '', +// chalk.green('--verbose'), +// chalk.green('--skip-branch-status-check'), +// ].join('\n') +// } diff --git a/tasks/release/triage/triageQA.mjs b/tasks/release/triage/triageQA.mjs new file mode 100644 index 000000000000..57340b074a9a --- /dev/null +++ b/tasks/release/triage/triageQA.mjs @@ -0,0 +1,90 @@ +/* eslint-env node */ +import { parseArgs as _parseArgs } from 'node:util' + +import { chalk, fs, question } from 'zx' + +import { prompts, resolveLine } from '../releaseLib.mjs' + +async function main() { + const { filePath, lines } = await parseArgs() + + const [from, to] = filePath.split('.')[0].split('_') + + for (const line of lines) { + console.log(chalk.dim('='.repeat(process.stdout.columns))) + console.log(line) + console.log() + + await resolveLine(line, { + range: { + from, + to: [to], + }, + refsToColorFunctions: { + [to]: chalk.bgBlue.gray, + }, + logger: console.log, + }) + + console.log() + await question('Press anything to continue > ') + } +} + +main() + +async function parseArgs() { + // Get the file path. + const dirents = await fs.readdir(new URL('.', import.meta.url), { + withFileTypes: true, + }) + + const filePathChoices = dirents + .filter( + (dirent) => + dirent.isFile() && dirent.name.endsWith('symmetricDifference.json') + ) + .map((dirent) => { + return { + title: dirent.name, + value: dirent.name, + } + }) + + const filePathPrompt = await prompts({ + name: 'filePath', + message: 'Choose a file', + type: 'select', + choices: filePathChoices, + }) + + // Get the lines. + let lines = await fs.readJSON( + new URL(filePathPrompt.filePath, import.meta.url) + ) + + const linesChoices = lines.map((line) => { + return { + title: line, + value: line, + } + }) + + const linesPrompt = await prompts({ + name: 'lines', + message: 'Which lines do you want to QA?', + type: 'autocompleteMultiselect', + choices: linesChoices, + async suggest(input, choices) { + return Promise.resolve( + choices.filter(({ title }) => title.includes(input)) + ) + }, + min: 1, + }) + + return { + filePath: filePathPrompt.filePath, + lines: linesPrompt.lines, + } +} diff --git a/tasks/release/triageMainCommand.mjs b/tasks/release/triageMainCommand.mjs deleted file mode 100644 index 73caf1b9dac6..000000000000 --- a/tasks/release/triageMainCommand.mjs +++ /dev/null @@ -1,167 +0,0 @@ -/* eslint-env node */ - -import { fileURLToPath } from 'node:url' - -import { chalk, question, $ } from 'zx' - -import { - annotateSymmetricDifference, - consoleBoxen, - defaultGitLogOptions, - getSymmetricDifference, - isYes, - logSection, - purgeCommitData, - reportNewCommits, - setupData, - triageCommits, - updateRemotes, -} from './releaseLib.mjs' - -export const command = 'triage-main' -export const description = 'Triage commits from main to next' - -export function builder(yargs) { - return yargs.option('update-remotes', { - description: 'Update remotes', - type: 'boolean', - }) -} - -export async function handler({ updateRemotes: shouldUpdateRemotes }) { - const data = setupData( - fileURLToPath(new URL('data/triageMainData.json', import.meta.url)) - ) - - logSection('Update remotes\n') - - await $`git remote -v` - console.log() - - shouldUpdateRemotes ??= isYes( - await question( - `Update remotes? ${chalk.gray( - "(You'll want to if you haven't in a while)" - )} [Y/n] > ` - ) - ) - console.log() - - if (shouldUpdateRemotes) { - await updateRemotes() - } - - // ------------------------ - logSection('Getting symmetric difference between main and next\n') - - const lines = await getSymmetricDifference('main', 'next', { - options: [ - ...defaultGitLogOptions, - '--left-only', - '--cherry-pick', - '--boundary', - ], - }) - console.log() - - consoleBoxen( - '💁 Tip', - [ - 'This is the "symmetric difference" between main and next ("main...next").', - "Basically, it's what's different about them. It's the commits main has that next doesn't,", - 'and vice versa.', - '', - `Since we passed "--left-only", we're only seeing commits unique to main.`, - "But it's very likely that some of these commits have already been cherry picked into next.", - "The reason they're showing up as unique to main is that they were changed while cherry picking.", - "We'll find out which ones, if any, in the next step.", - ].join('\n') - ) - console.log() - - await question(chalk.gray('Hit enter to continue')) - console.log() - - const annotatedCommits = await annotateSymmetricDifference(lines, { - from: 'main', - to: 'next', - }) - - let releaseCommits = annotatedCommits.filter( - (commit) => !['ui', 'chore', 'tag'].includes(commit.type) - ) - - consoleBoxen( - '💁 Tip', - [ - 'This script just annotated each of these commits.', - '', - "It ran `git log` using each these commits' hash to get the commit's full message.", - 'Then it used the message to grep the next branch for a commit of the same message.', - '(So this workflow absolutely depends on keeping the commit message the same!)', - '', - 'To scan the output above...', - "• if you see three lines, the commit _wasn't_ cherry picked into next", - '• if you see four+ lines, the commit _was_ cherry picked into next', - ].join('\n') - ) - console.log() - - await question(chalk.gray('Hit enter to continue')) - console.log() - - // ------------------------ - logSection('Purging commit data\n') - await purgeCommitData(data, { commits: releaseCommits, branch: 'next' }) - - // Remove commits we've already triaged or cherry picked but had to change while cherry picking. - releaseCommits = releaseCommits - .filter(({ hash }) => !data.has(hash)) - .filter(({ ref }) => ref !== 'next') - - if (!releaseCommits.length) { - logSection('No new commits to triage; showing colored-coded git log\n') - - consoleBoxen( - '🔑 Key', - [ - `${chalk.green('■')} Needs to be cherry picked`, - `${chalk.blue('■')} Cherry picked into next`, - `${chalk.dim.red('■')} Doesn't need to be cherry picked`, - `${chalk.dim('■')} Chore or "boundary" commit (ignore)`, - `${chalk.yellow( - '■' - )} Not in the commit data file (needs to be manually triaged)`, - ].join('\n') - ) - console.log() - - annotatedCommits - .filter((commit) => !['ui', 'chore', 'tag'].includes(commit.type)) - .filter((commit) => commit.ref !== 'next') - .forEach((commit) => { - if (!data.has(commit.hash)) { - commit.pretty = chalk.yellow(commit.line) - return - } - - if (data.get(commit.hash).needsCherryPick) { - commit.pretty = chalk.green(commit.line) - return - } - - commit.pretty = chalk.dim.red(commit.line) - }) - - console.log(annotatedCommits.map(({ pretty }) => pretty).join('\n')) - - return - } - - // ------------------------ - logSection('Triage\n') - - reportNewCommits(releaseCommits, { from: 'main', to: 'next' }) - console.log() - await triageCommits(releaseCommits, { data, branch: 'next' }) -} diff --git a/tasks/release/triageNextCommand.mjs b/tasks/release/triageNextCommand.mjs deleted file mode 100644 index 5ce8af63cfc1..000000000000 --- a/tasks/release/triageNextCommand.mjs +++ /dev/null @@ -1,191 +0,0 @@ -/* eslint-env node */ - -import { fileURLToPath } from 'node:url' - -import { chalk, question, $ } from 'zx' - -import { - annotateSymmetricDifference, - consoleBoxen, - defaultGitLogOptions, - getReleaseBranch, - getSymmetricDifference, - isYes, - logSection, - purgeCommitData, - reportNewCommits, - setupData, - triageCommits, - updateRemotes, -} from './releaseLib.mjs' - -export const command = 'triage-next' -export const description = 'Triage commits from next to the release branch' - -export function builder(yargs) { - return yargs.option('update-remotes', { - description: 'Update remotes', - type: 'boolean', - }) -} - -export async function handler({ updateRemotes: shouldUpdateRemotes }) { - const releaseBranch = await getReleaseBranch() - console.log() - - if (releaseBranch.split('\n').length > 1) { - console.log("There's more than one release branch") - process.exitCode = 1 - return - } - - const data = setupData( - fileURLToPath(new URL('data/triageNextData.json', import.meta.url)) - ) - - logSection('Update remotes\n') - - await $`git remote -v` - console.log() - - shouldUpdateRemotes ??= isYes( - await question( - `Update remotes? ${chalk.gray( - "(You'll want to if you haven't in a while)" - )} [Y/n] > ` - ) - ) - console.log() - - if (shouldUpdateRemotes) { - await updateRemotes() - } - - // ------------------------ - logSection(`Getting symmetric difference between next and ${releaseBranch}\n`) - - const lines = await getSymmetricDifference('next', releaseBranch, { - options: [ - ...defaultGitLogOptions, - '--left-only', - '--cherry-pick', - '--boundary', - ], - }) - console.log() - - consoleBoxen( - '💁 Tip', - [ - 'This is the "symmetric difference" between main and next ("main...next").', - "Basically, it's what's different about them. It's the commits main has that next doesn't,", - 'and vice versa.', - '', - `Since we passed "--left-only", we're only seeing commits unique to main.`, - "But it's very likely that some of these commits have already been cherry picked into next.", - "The reason they're showing up as unique to main is that they were changed while cherry picking.", - "We'll find out which ones, if any, in the next step.", - ].join('\n') - ) - console.log() - - await question(chalk.gray('Hit enter to continue')) - console.log() - - if (lines.length === 1 && lines[0] === '') { - consoleBoxen( - '🙈 Nothing to see here', - `The ${chalk.magenta('next')} and ${chalk.magenta( - releaseBranch - )} branches are the same` - ) - data.clear() - return - } - - const annotatedCommits = await annotateSymmetricDifference(lines, { - from: 'next', - to: releaseBranch, - }) - - let releaseCommits = annotatedCommits.filter( - (commit) => !['ui', 'chore', 'tag'].includes(commit.type) - ) - - consoleBoxen( - '💁 Tip', - [ - 'This script just annotated each of these commits.', - '', - "It ran `git log` using each these commits' hash to get the commit's full message.", - 'Then it used the message to grep the next branch for a commit of the same message.', - '(So this workflow absolutely depends on keeping the commit message the same!)', - '', - 'To scan the output above...', - "• if you see three lines, the commit _wasn't_ cherry picked into next", - '• if you see four+ lines, the commit _was_ cherry picked into next', - ].join('\n') - ) - console.log() - - await question(chalk.gray('Hit enter to continue')) - console.log() - - // ------------------------ - logSection('Purging commit data\n') - await purgeCommitData(data, { - commits: releaseCommits, - branch: releaseBranch, - }) - - // Remove commits we've already triaged or cherry picked (but had to change while cherry picking) - releaseCommits = releaseCommits - .filter(({ hash }) => !data.has(hash)) - .filter(({ ref }) => ref !== releaseBranch) - - if (!releaseCommits.length) { - logSection('No new commits to triage; showing colored-coded git log\n') - - consoleBoxen( - '🔑 Key', - [ - `${chalk.green('■')} Needs to be cherry picked`, - `${chalk.dim.blue('■')} Cherry picked into ${releaseBranch}`, - `${chalk.dim.red('■')} Doesn't need to be cherry picked`, - `${chalk.dim('■')} Chore or "boundary" commit (ignore)`, - `${chalk.yellow( - '■' - )} Not in the commit data file (needs to be manually triaged)`, - ].join('\n') - ) - console.log() - - annotatedCommits - .filter((commit) => !['ui', 'chore', 'tag'].includes(commit.type)) - .filter((commit) => commit.ref !== releaseBranch) - .forEach((commit) => { - if (!data.has(commit.hash)) { - commit.pretty = chalk.yellow(commit.line) - return - } - - if (data.get(commit.hash).needsCherryPick) { - commit.pretty = chalk.green(commit.line) - return - } - - commit.pretty = chalk.dim.red(commit.line) - }) - - console.log(annotatedCommits.map(({ pretty }) => pretty).join('\n')) - - return - } - - // ------------------------ - logSection('Triage\n') - - reportNewCommits(releaseCommits, { from: 'next', to: releaseBranch }) - console.log() - await triageCommits(releaseCommits, { data, branch: releaseBranch }) -} diff --git a/tasks/release/validateMilestonesCommand.mjs b/tasks/release/validateMilestonesCommand.mjs deleted file mode 100644 index 841ee0d2248a..000000000000 --- a/tasks/release/validateMilestonesCommand.mjs +++ /dev/null @@ -1,232 +0,0 @@ -/* eslint-env node */ - -import { Octokit } from 'octokit' -import { chalk, question, $ } from 'zx' - -import { - logSection, - separator, - isCommitInRef, - isYes, - getReleaseBranch, - getReleaseCommits, - sanitizeMessage, - updateRemotes, -} from './releaseLib.mjs' - -export const command = 'validate-milestones' -export const description = - "Validate PRs' milestone (i.e., that a PR milestoned v3.5.0 is in release/minor/v3.5.0)" - -export function builder(yargs) { - yargs.option('prompt', { - description: 'Prompt for confirmation before fixing', - type: 'boolean', - default: true, - }) -} - -export async function handler({ prompt }) { - if (!process.env.GITHUB_TOKEN) { - console.log('You have to set the GITHUB_TOKEN env var') - process.exit(1) - } - - const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }) - - let { - repository: { - milestones: { nodes }, - }, - } = await octokit.graphql(getPRs) - - nodes = nodes.filter((node) => node.title !== 'chore') - - if ( - !nodes.every((milestone) => !milestone.pullRequests.pageInfo.hasNextPage) - ) { - console.log( - 'A milestone has a next page (i.e. a lot of PRs); this script needs to be updated' - ) - process.exit(1) - } - - logSection('Confirming release commits\n') - if (!isYes(await question('Did you update the release commits? [Y/n] > '))) { - console.log('Run `get-release-commits --no-cache` first') - process.exit(1) - } - console.log() - - logSection('Confirming PRs in milestones\n') - console.log( - chalk.dim( - 'If you see more than one version here (e.g. v3.6.0 and v3.5.0), you need to close the older one(s)\n' - ) - ) - - const answer = await question( - `Ok to review PRs in milestone ${nodes - .map((node) => node.title) - .join(', ')} ? [Y/n/] > ` - ) - console.log() - - if (answer === 'n') { - await `open https://github.com/redwoodjs/redwood/milestones` - process.exit(1) - } - - await updateRemotes() - - const prs = nodes - .flatMap((milestone) => { - return milestone.pullRequests.nodes.map((pr) => { - pr.mergeCommit.message = pr.mergeCommit.message.split('\n').shift() - - return { - ...pr, - milestone: milestone.title, - } - }) - }) - .filter((pr) => !IGNORE_LIST.includes(pr.id)) - - const milestoneTitlesToIds = nodes.reduce((obj, { title, id }) => { - obj[title] = id - return obj - }, {}) - - const branch = await getReleaseBranch() - console.log() - - const validateMilestone = makeValidateMilestone.bind({ - prompt, - octokit, - milestoneTitlesToIds, - }) - - for (const pr of prs) { - console.log(separator) - - if (await isCommitInReleaseBranch(pr.mergeCommit.message)) { - await validateMilestone(pr, branch.split('/')[2]) - continue - } - - if (await isCommitInRef('next', sanitizeMessage(pr.mergeCommit.message))) { - await validateMilestone(pr, 'next-release') - continue - } - - await validateMilestone(pr, 'v4.0.0') - } -} - -const getPRs = ` - query GetPRs { - repository(owner: "redwoodjs", name: "redwood") { - milestones(first: 10, states: OPEN) { - nodes { - id - title - - pullRequests(first: 100) { - pageInfo { - hasNextPage - endCursor - } - - totalCount - - nodes { - id - number - title - mergeCommit { - message - } - } - } - } - } - } - } -` - -async function isCommitInReleaseBranch(message) { - const { releaseCommits } = await getReleaseCommits() - return releaseCommits.some((commit) => commit.message === message) -} - -async function makeValidateMilestone(pr, milestone) { - const hasCorrectMilestone = pr.milestone === milestone - - console.log() - console.log( - [ - ` ${chalk.dim(pr.id)} #${chalk.yellow(pr.number)} ${chalk.blue( - pr.title - )} should be milestoned ${chalk.magenta(milestone)}`, - ` ${ - hasCorrectMilestone ? chalk.green('ok') : chalk.red('error') - }: it's currently milestoned ${chalk.magenta(pr.milestone)}`, - ].join('\n') - ) - - if (hasCorrectMilestone) { - console.log(` ${chalk.green('done')}`) - return - } - - let answer = 'y' - - // eslint-disable-next-line no-constant-condition - while (true) { - if (this.prompt) { - answer = await question(' ok to fix? [Y/n/o(pen)] > ') - } - - if (['open', 'o'].includes(answer)) { - await $`open https://github.com/redwoodjs/redwood/pull/${pr.number}` - continue - } - - if (isYes(answer)) { - console.log( - ` ${chalk.blue('fixing')}: milestoning #${chalk.yellow( - pr.number - )} ${chalk.magenta(milestone)}` - ) - await this.octokit.graphql(milestonePullRequest, { - pullRequestId: pr.id, - milestoneId: this.milestoneTitlesToIds[milestone], - }) - } - - console.log(` ${chalk.green('done')}`) - - break - } -} - -const milestonePullRequest = ` - mutation MilestonePullRequest($pullRequestId: ID!, $milestoneId: ID!) { - updatePullRequest( - input: { pullRequestId: $pullRequestId, milestoneId: $milestoneId } - ) { - clientMutationId - } - } -` - -const IGNORE_LIST = [ - // #4992 feat(react): Upgrade to React 18 - 'PR_kwDOC2M2f841h3bY', - // #6907 Layer0 Deploy: Rebrand Layer0 to Edgio - 'PR_kwDOC2M2f85C-w22', - // #7620 chore(deps): update dependency @types/react to v18.0.28 - 'PR_kwDOC2M2f85JxmdM', - // #7644 chore(deps): update dependency @types/react-dom to v18.0.11 - 'PR_kwDOC2M2f85KDuhJ', -] diff --git a/tasks/smoke-tests/README.md b/tasks/smoke-tests/README.md new file mode 100644 index 000000000000..ee3b6eadd273 --- /dev/null +++ b/tasks/smoke-tests/README.md @@ -0,0 +1,63 @@ +# Smoke tests + +These smoke tests run against the test project fixture at [../../\_\_fixtures\_\_/test-project](../../__fixtures__/test-project). +They're a critical part of Redwood's CI. + +## Running a smoke test + +First, you'll need a test project to run smoke tests against: + +``` +yarn build:test-project --link +``` + +Then, set the `REDWOOD_TEST_PROJECT_PATH` env var to the path of your test project: + +``` +REDWOOD_TEST_PROJECT_PATH= +``` + +Redwood has a mini CLI for running the smoke tests: + +``` +yarn smoke-tests [options] [smoke-test..] +``` + +If you don't specify any smoke tests to run, it'll prompt you. + +Smoke tests are written using [Playwright](https://playwright.dev/). +You can pass options to the underlying Playwright test command (`npx playwright test`) using `--playwrightOptions`. +Some common ones are `--debug` (to step through a test), `--headed` (to see what's happening), and `--ui` (to run tests in an interactive UI): + +``` +yarn smoke-tests --playwrightOptions="--debug" +yarn smoke-tests --playwrightOptions="--headed" +yarn smoke-tests --playwrightOptions="--ui" +``` + +See `yarn smoke-tests --help` for more. + +If you want to skip the CLI all together, you can `cd` into the directory of the smoke test you want to run and run `npx playwright test` directly: + +``` +cd ./tasks/smoke-tests/dev +npx playwright test +``` + +Just remember to set `REDWOOD_TEST_PROJECT_PATH` and have `yarn rwfw project:sync` running in your test project if you want to test against framework changes. + +### Gotchas + +There's a few gotchas to be aware of: + +- Not all smoke tests are idempotent + + This means you may need to reset the test project's database (`yarn rw prisma migrate reset --force`) between runs or remove files that were written or undo file changes. (For this reason, you may find it helpful to initialize a git repo in the test project before running smoke tests.) + +- `yarn rwfw project:sync` needs to be running in the test project to test framework changes + + If you created the test project with `--link`, it should already be running. If not, just run it in the test project. + +- Some smoke tests, like prerender or serve, need the test project to be built (`yarn rw build`) + +The CLI tries to warn you about all of these (except the first; that'll have to be fixed by refactoring the tests). diff --git a/tasks/smoke-tests/jsconfig.json b/tasks/smoke-tests/jsconfig.json new file mode 100644 index 000000000000..c22c46daceeb --- /dev/null +++ b/tasks/smoke-tests/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "noEmit": true, + "esModuleInterop": true, + "target": "esnext", + "module": "esnext", + "moduleResolution": "node", + "skipLibCheck": false, + }, +} diff --git a/tasks/smoke-tests/prerender/tests/prerender.spec.ts b/tasks/smoke-tests/prerender/tests/prerender.spec.ts index 4dd89b0e32c5..81b9a4bd2a7b 100644 --- a/tasks/smoke-tests/prerender/tests/prerender.spec.ts +++ b/tasks/smoke-tests/prerender/tests/prerender.spec.ts @@ -23,7 +23,7 @@ test('Check that homepage is prerendered', async () => { const pageWithoutJs = await noJsBrowser.newPage() await pageWithoutJs.goto('/') - checkHomePageCellRender(pageWithoutJs) + await checkHomePageCellRender(pageWithoutJs) pageWithoutJs.close() }) diff --git a/tasks/smoke-tests/rsa/tests/rsa.spec.ts b/tasks/smoke-tests/rsa/tests/rsa.spec.ts index 0a12cf4c3211..006a38043859 100644 --- a/tasks/smoke-tests/rsa/tests/rsa.spec.ts +++ b/tasks/smoke-tests/rsa/tests/rsa.spec.ts @@ -4,7 +4,7 @@ test('Submitting the form should return a response', async ({ page }) => { await page.goto('/') const h3 = await page.locator('h1').innerHTML() - expect(h3).toMatch(/Hello Redwood RSAs!!/) + expect(h3).toMatch(/Hello Anonymous!!/) const pageText = await page.locator('#redwood-app > div').innerText() expect(pageText).toMatch('The form has been submitted 0 times.') diff --git a/tasks/smoke-tests/rsc-external-packages/tests/rsc-external-packages.spec.ts b/tasks/smoke-tests/rsc-external-packages/tests/rsc-external-packages.spec.ts index f569e7763cd3..e638345a98b1 100644 --- a/tasks/smoke-tests/rsc-external-packages/tests/rsc-external-packages.spec.ts +++ b/tasks/smoke-tests/rsc-external-packages/tests/rsc-external-packages.spec.ts @@ -19,7 +19,7 @@ test('Submitting the form should return a response', async ({ page }) => { await page.goto('/') const h3 = await page.locator('h1').innerHTML() - expect(h3).toMatch(/Hello Redwood RSAs!!/) + expect(h3).toMatch(/Hello Anonymous!!/) const pageText = await page.locator('#redwood-app > div').innerText() expect(pageText).toMatch('This form has been sent 0 times') diff --git a/tasks/smoke-tests/rsc/tests/rsc.spec.ts b/tasks/smoke-tests/rsc/tests/rsc.spec.ts index 5866a974276a..a72ca9251734 100644 --- a/tasks/smoke-tests/rsc/tests/rsc.spec.ts +++ b/tasks/smoke-tests/rsc/tests/rsc.spec.ts @@ -16,3 +16,12 @@ test('Setting up RSC should give you a test project with a client side counter c page.close() }) + +test('RWJS_* env vars', async ({ page }) => { + await page.goto('/about') + + await expect(page.getByText('RSC on client: enabled')).toBeVisible() + await expect(page.getByText('RSC on server: enabled')).toBeVisible() + + page.close() +}) diff --git a/tasks/smoke-tests/smoke-tests.mjs b/tasks/smoke-tests/smoke-tests.mjs index fddbe1b0c708..26a76622af3c 100644 --- a/tasks/smoke-tests/smoke-tests.mjs +++ b/tasks/smoke-tests/smoke-tests.mjs @@ -2,86 +2,284 @@ /* eslint-env node */ // @ts-check +// There are a few footguns to running a smoke tests locally. (And if you have to run a smoke tests locally, it's already painful enough.) +// +// - you don't have a test project, or you're running against a different test project than you expect +// - `yarn rwfw project:sync` isn't running +// +// This script checks for them. + +// Checklist for manual testing: +// If you're editing this script, make sure to test the following: + +// - [ ] outputs a help message and exits if `--help` or `-h` is passed (`yarn smoke-tests -h`), even if errors would surface later +// - [ ] errors if the `REDWOOD_TEST_PROJECT_PATH` env var isn't set (`unset REDWOOD_TEST_PROJECT_PATH`) +// - [ ] errors if the test project at `REDWOOD_TEST_PROJECT_PATH` doesn't exist +// - [ ] warns if `yarn rwfw project:sync` isn't running +// - [ ] errors if passed invalid positional args (`yarn smoke-tests bazinga`) and shows the help message +// - [ ] errors if passed invalid flags (`yarn smoke-tests --bazinga`) and shows the help message +// - [ ] prompts for which smoke tests to run if passed no positional args (`yarn smoke-tests`) +// - [ ] runs the smoke test(s) specified if passed valid positional args (`yarn smoke-tests dev`) +// - [ ] errors if the test project isn't built and the prerender or serve smoke tests are specified +// - [ ] passes `--playwrightOptions` to `npx playwright test` (`yarn smoke-tests --playwrightOptions="--debug"`) + import { fileURLToPath } from 'node:url' +import util from 'node:util' -import { cd, chalk, fs, path, question, within, $ } from 'zx' +import execa from 'execa' +import prompts from 'prompts' +import { cd, chalk, fs, path, within, $ } from 'zx' async function main() { - const showHelp = ['--help', '-h'].some((flag) => process.argv.includes(flag)) + let options + + try { + options = await parseArgs() + } catch (e) { + console.error(e.message) + return + } + + const { smokeTests, testProjectPath, playwrightOptions } = options - if (showHelp) { + for (const smokeTest of smokeTests) { console.log( + `Running ${chalk.magenta(smokeTest)} smoke test against ${chalk.magenta( + testProjectPath + )}\n` + ) + + await within(async () => { + cd(fileURLToPath(new URL(`./${smokeTest}`, import.meta.url))) + + try { + await $`npx playwright test ${playwrightOptions}` + } catch (e) { + // Let the others run, but make sure we exit with a non-zero exit code. + process.exitCode = 1 + } + }) + } +} + +main() + +// ─── Helpers ───────────────────────────────────────────────────────────────── + +/** + * Parses the command line arguments and returns an object containing the parsed values. + * + * @typedef {Object} CliArgs + * @property {string} testProjectPath The path to the test project. + * @property {string[]} smokeTests The smoke tests to run. + * @property {string | undefined} playwrightOptions The options to forward to `npx playwright test`. + * + * @returns {Promise} The parsed command line arguments. + */ +async function parseArgs() { + let positionals + let values + + const options = { + testProjectPath: { + description: `Path to the test project. Defaults to the ${chalk.magenta( + 'REDWOOD_TEST_PROJECT_PATH' + )} env var`, + short: 'p', + type: /** @type {const} */ ('string'), + default: + process.env.REDWOOD_TEST_PROJECT_PATH ?? process.env.PROJECT_PATH, + }, + + playwrightOptions: { + description: `Options to forward to ${chalk.cyan('npx playwright test')}`, + type: /** @type {const} */ ('string'), + default: '', + }, + + help: { + description: 'Show help', + short: 'h', + type: /** @type {const} */ ('boolean'), + default: false, + }, + } + + try { + const parsedArgs = util.parseArgs({ + allowPositionals: true, + options, + }) + + positionals = parsedArgs.positionals + values = parsedArgs.values + } catch (e) { + if (e.code === 'ERR_PARSE_ARGS_UNKNOWN_OPTION') { + // Message is something like... + // + // ``` + // `Unknown option '--baz'. To specify a positional argument starting with a '-', + // place it at the end of the command after '--', as in '-- "--baz"` + // ``` + // + // I find the first part of it valuable, but don't want to encourage the user to pass `--` to this script. + // So while this may be brittle, I'm just going to split the message on `.` and only show the first part. + const [unknownOptionMessage] = e.message.split('.') + + throw new Error( + [ + chalk.red(`Error: ${unknownOptionMessage}.`), + '', + getHelp(options), + '', + ].join('\n') + ) + } + + throw e + } + + const { help, testProjectPath, playwrightOptions } = values + + // If the user passes `--help`, we show them the help message and exit, even if errors would surface later on. + if (help) { + throw new Error(`${getHelp(options)}\n`) + } + + // Handle `testProjectPath` not being set. + if (typeof testProjectPath !== 'string') { + process.exitCode = 1 + throw new Error( [ - '🔄 Smoke tests', - '', - "Use this script to run Redwood's smoke tests locally", - '', - 'Usage:', - chalk.gray( - ' # Let this script prompt you for which smoke test to run' - ), - ' REDWOOD_TEST_PROJECT_PATH= yarn smoke-tests ', + chalk.red('Error: No test project to run smoke tests against.'), '', - chalk.gray(' # Run the dev smoke test'), - ' REDWOOD_TEST_PROJECT_PATH= yarn smoke-tests dev', + `If you haven't generated a test project, do so first: ${chalk.green( + 'yarn build:test-project --link ' + )}.`, + `Then set the ${chalk.magenta( + 'REDWOOD_TEST_PROJECT_PATH' + )} env var to the path of your test project.`, '', - chalk.gray( - ' # Pass flags to playwright test (see `yarn playwright test --help`)' - ), - ' REDWOOD_TEST_PROJECT_PATH= yarn smoke-tests -- --headed', ].join('\n') ) - - return } - // `PROJECT_PATH` is deprecated. - const testProjectPath = - process.env.REDWOOD_TEST_PROJECT_PATH ?? process.env.PROJECT_PATH + if (typeof playwrightOptions !== 'string') { + // This should never happen. Node's parseArgs should make sure of that. + // Only have this to make TypeScript happy. + process.exitCode = 1 + throw new Error(chalk.red('Error: playwrightOptions must be a string.')) + } - // Handle there being no test project to run against. - if (testProjectPath === undefined) { + if (!(await fs.exists(testProjectPath))) { process.exitCode = 1 - console.error( + throw new Error( [ - chalk.red('Error: No test project to run smoke tests against.'), - "If you haven't generated a test project, do so first via...", - '', - ' yarn build:test-project --link ', + chalk.red("Error: Test project doesn't exist."), '', + `The test project path you specified (${chalk.magenta( + testProjectPath + )}) doesn't exist.`, + `Make sure you've generated a test project: ${chalk.green( + 'yarn build:test-project --link ' + )}.`, `Then set the ${chalk.magenta( 'REDWOOD_TEST_PROJECT_PATH' - )} env var to the path of your test project and run this script again.`, + )} env var to the path of your test project.`, + '', ].join('\n') ) - return } - // The user can pass a smoke test to run as the first argument; if they don't, we can prompt them for it - const smokeTestsDir = path.dirname(fileURLToPath(import.meta.url)) - let smokeTest = process.argv[2] - const smokeTests = fs - .readdirSync(path.dirname(fileURLToPath(import.meta.url)), { + // The user can pass a smoke test to run as the first argument; if they don't, we prompt them for it. + // + // ``` + // yarn node ./tasks/smoke-tests/smoke-tests.mjs dev auth + // ``` + let smokeTests = positionals + + const availableSmokeTests = ( + await fs.readdir(new URL('./', import.meta.url), { withFileTypes: true, }) + ) .filter((dirent) => dirent.isDirectory() && dirent.name !== 'shared') .map((dirent) => dirent.name) - if (smokeTest === undefined) { - console.log( + const invalidSmokeTest = smokeTests.find( + (smokeTest) => !availableSmokeTests.includes(smokeTest) + ) + + // Error if the user passed an invalid smoke test. + if (invalidSmokeTest) { + process.exitCode = 1 + throw new Error( [ + chalk.red(`Error: Invalid smoke test \`${invalidSmokeTest}\`.`), + '', 'Available smoke tests:', '', - ...smokeTests.map((test) => `- ${test}`), - '- all (runs them all)', + ...availableSmokeTests.map((test) => `• ${chalk.green(test)}`), + '', + getHelp(options), '', ].join('\n') ) + } + + // Check if `yarn rwfw project:sync` is running. + const { stdout } = await execa.command('ps aux') + const isProjectSyncRunning = stdout.includes('frameworkSyncToProject.mjs') + + if (!isProjectSyncRunning) { + console.warn( + chalk.yellow( + 'Warning: If you want to test against the framework, you must have `yarn rwfw project:sync` running in your test project.' + ) + ) + } - smokeTest = await question('Which smoke test would you like to run? ', { - choices: [...smokeTests, 'all'], + // Prompt for which smoke test(s) to run if none were passed as positional args. + if (!smokeTests.length) { + const choices = availableSmokeTests.map((smokeTest) => { + return { + title: smokeTest, + value: smokeTest, + } }) - console.log() + + const answer = await prompts( + { + type: 'multiselect', + name: 'smokeTests', + message: 'Which smoke test(s) would you like to run?', + + choices, + min: 1, + + // These are the default instructions with a space added to the end. + // With the defaults, if the user doesn't select an option, the error renders right next to the last line: + // + // ``` + // enter/return: Complete answerYou must select a minimum of 1 choices. + // ``` + instructions: [ + 'Instructions:', + ' ↑/↓: Highlight option', + ' ←/→/[space]: Toggle selection', + ' a: Toggle all', + ' enter/return: Complete answer ', + ].join('\n'), + }, + { + onCancel: () => { + process.exitCode = 1 + throw new Error() + }, + } + ) + + smokeTests = answer.smokeTests } // The test project has to be built before running the prerender or serve smoke tests. @@ -90,68 +288,82 @@ async function main() { fs.existsSync(path.join(testProjectPath, 'api', 'dist')) if ( - ['prerender', 'serve', 'all'].includes(smokeTest) && + smokeTests.some((smokeTest) => + ['prerender', 'serve'].includes(smokeTest) + ) && !isTestProjectBuilt ) { process.exitCode = 1 - - console.error( + throw new Error( [ chalk.red( - 'Error: You must build your test project before running the prerender or serve smoke tests.' + 'Error: You must build the test project before running the prerender or serve smoke tests.' ), '', - ` cd ${testProjectPath}`, - ` yarn rw build`, + chalk.green(` cd ${testProjectPath}`), + chalk.green(` yarn rw build`), '', ].join('\n') ) - - return } - const playwrightOptions = [] - const playwrightOptionsDelimiter = process.argv.findIndex( - (option) => option === '--' - ) - - if (playwrightOptionsDelimiter !== -1) { - playwrightOptions.push( - ...process.argv.slice(playwrightOptionsDelimiter + 1) - ) + return { + testProjectPath, + smokeTests, + playwrightOptions, } +} - /** - * @param {string} smokeTest - * @returns {Promise} - */ - async function runSmokeTest(smokeTest) { - console.log( - `Running ${chalk.magenta(smokeTest)} smoke test against ${chalk.magenta( - testProjectPath - )}...` - ) - console.log() - - await within(async () => { - cd(path.join(smokeTestsDir, smokeTest)) +function getHelp(options) { + // Find the length of the longest option and justify the text based on it. + const longestOptionLength = Object.entries(options).reduce( + (max, [name]) => Math.max(max, name.length), + 0 + ) - try { - await $`npx playwright test ${playwrightOptions}` - } catch (e) { - process.exitCode = 1 - } - }) - } + const justifiedOptions = Object.entries(options).map(([name, config]) => { + const paddedFlag = name.padEnd(longestOptionLength, ' ') + return [ + '•', + chalk.green(`--${paddedFlag}`), + config.description, + config.default && chalk.dim(`(default: ${config.default})`), + ] + .filter(Boolean) + .join(' ') + }) - if (smokeTest === 'all') { - for (const smokeTest of smokeTests) { - await runSmokeTest(smokeTest) - console.log('-'.repeat(process.stdout.columns)) - } - } else { - await runSmokeTest(smokeTest) - } + return [ + chalk.bold('# 🔄 Smoke tests'), + '', + "Use this script to run Redwood's smoke tests locally.", + '', + chalk.bold('## Usage'), + '', + chalk.green(' yarn smoke-tests [options] [smoke-test..]'), + '', + `Make sure you've got a test project. (You can make one via ${chalk.green( + 'yarn build:test-project --link ' + )}.)`, + `Then set the ${chalk.magenta( + 'REDWOOD_TEST_PROJECT_PATH' + )} env var to the path of your test project.`, + '', + chalk.dim(' # Let this script prompt you for which smoke test to run'), + chalk.cyan(' REDWOOD_TEST_PROJECT_PATH= yarn smoke-tests '), + '', + chalk.dim(' # Run the dev smoke test'), + chalk.cyan(' REDWOOD_TEST_PROJECT_PATH= yarn smoke-tests dev'), + '', + chalk.dim( + ' # Pass flags to `npx playwright test` (see `npx playwright test --help`)' + ), + chalk.cyan( + ' REDWOOD_TEST_PROJECT_PATH= yarn smoke-tests --playwrightOptions="--debug"' + ), + '', + chalk.bold('## Options'), + '', + ...justifiedOptions, + ].join('\n') } - -main() diff --git a/tasks/unpublishPackageVersions.mjs b/tasks/unpublishPackageVersions.mjs deleted file mode 100644 index 7a2a14efb62f..000000000000 --- a/tasks/unpublishPackageVersions.mjs +++ /dev/null @@ -1,153 +0,0 @@ -/* eslint-env node */ - -// HOW TO UNPUBLISH -// npm only allows unpublishig if the following conditions are met: -// 1. no other packages in the npm Public Registry depend on -// 2. had less than 300 downloads over the last week -// 3. has a single owner/maintainer -// -// At this time, I cannot approval to unpublish any packages < 1.0.0 -// The script is working fine -// - -import { execSync } from 'child_process' -import { basename } from 'node:path' -import readline from 'readline' - -async function main() { - const [_nodeBinPath, scriptPath, ...argOptions] = process.argv - - if (process.argv.includes('help', '-h', '--help')) { - console.log( - [ - '', - `yarn node tasks/${basename( - scriptPath - )} [packageName] [targetTag] [targetVersion] --iKnowWhatImDoing`, - '', - ' STATUS: Options only work if you pass ALL or NONE', - '', - ' This script uses "npm unpublish" and passes "--dry-run" by default because safety.', - ' Read on if you want to run it for realz...', - '', - `packageName [string]`, - 'name of package to unpublish', - '', - `targetTag [string]`, - 'valid npm tag, e.g. "canary"', - '', - `targetVersion [string]`, - 'semver to target using "startsWith" to match; e.g. "0.1" or "2.1" or "0"', - '', - `--iKnowWhatImDoing`, - 'if you really want to unpublish, you MUST pass this arg', - '', - '', - ].join('\n') - ) - - return - } - - const prompt = (argument) => { - const rl = readline.createInterface({ - input: process.stdin, - output: process.stdout, - }) - - return new Promise((resolve) => { - rl.question( - `Please enter the ${argument} of the package to unpublish: `, - (answer) => { - rl.close() - resolve(answer) - } - ) - }) - } - - try { - // ONLY works if you pass all or none - const packageName = - argOptions.length === 0 - ? await prompt('Name') - : argOptions[0] !== '--iKnowWhatImDoing' - ? argOptions[0] - : await prompt('Name') - const targetTag = - argOptions.length === 0 - ? await prompt('NPM Tag') - : argOptions[1] !== '--iKnowWhatImDoing' - ? argOptions[1] - : await prompt('NPM Tag') - const targetVersion = - argOptions.length === 0 - ? await prompt('Semver "startsWith" string') - : argOptions[2] !== '--iKnowWhatImDoing' - ? argOptions[2] - : await prompt('Semver "startsWith" string') - - const stdout = execSync(`npm view ${packageName} --json`).toString() - - const packageData = JSON.parse(stdout) - const canaryVersions = - packageData.versions && packageData.versions.length > 0 - ? packageData.versions - .filter((version) => version.includes(targetTag)) - .filter((version) => version.startsWith(targetVersion)) - : [] - - if (canaryVersions.length === 0) { - console.log( - `No "${targetTag}" packages found starting with semver "${targetVersion}" for package '${packageName}'.` - ) - return - } - - console.log( - `The following versions of package '${packageName}' will be unpublished:` - ) - console.log(canaryVersions.join(`\n`)) - console.log( - '', - `Total number of packages that will be unpublished: ${canaryVersions.length}`, - '' - ) - - const rl = readline.createInterface({ - input: process.stdin, - output: process.stdout, - }) - - rl.question('Do you want to proceed? Type YES to confirm: ', (answer) => { - rl.close() - - if (answer !== 'YES') { - console.log('EJECTED! (phewf)') - return - } - - const dryRunOption = process.argv.includes('--iKnowWhatImDoing') - ? '' - : '--dry-run' - - for (const version of canaryVersions) { - console.log(`Unpublishing ${packageName}@${version}...`) - try { - execSync( - `npm unpublish ${packageName}@${version} ${dryRunOption} --force` - ) - } catch (error) { - console.error( - `Unpublish Error ${packageName}@${canaryVersions}:`, - `${error}` - ) - } - } - }) - } catch (error) { - console.error(`Error: ${error}`) - } -} - -main() diff --git a/tasks/update-package-versions b/tasks/update-package-versions deleted file mode 100755 index 3ea10c4f183c..000000000000 --- a/tasks/update-package-versions +++ /dev/null @@ -1,92 +0,0 @@ -#!/usr/bin/env node -/* eslint-env node */ - -const child = require('child_process') -const path = require('path') - -const fs = require('fs-extra') - -async function run() { - const version = process.argv[2].replace(/v/, '') - - if (!version) { - console.error( - 'You have to provide a version.\nUsage ./update-package-versions ' - ) - process.exitCode = 1 - return - } - - const cwd = path.join(__dirname, '../') - - const cmd = [ - 'yarn lerna version', - version, - '--force-publish', - '--no-push', - '--no-git-tag-version', - '--exact', - '--yes', - ].join(' ') - - console.log(`Running "${cmd}"`) - console.log() - child.execSync(cmd, { - cwd, - }) - console.log() - - // Updates create-redwood-app template - console.log('Updating CRWA template...') - const tsTemplatePath = path.join( - cwd, - 'packages/create-redwood-app/templates/ts' - ) - updateRWJSPkgsVersion(tsTemplatePath, version) - updateRWJSPkgsVersion(path.join(tsTemplatePath, 'api'), version) - updateRWJSPkgsVersion(path.join(tsTemplatePath, 'web'), version) - console.log() - - const jsTemplatePath = path.join( - cwd, - 'packages/create-redwood-app/templates/js' - ) - updateRWJSPkgsVersion(jsTemplatePath, version) - updateRWJSPkgsVersion(path.join(jsTemplatePath, 'api'), version) - updateRWJSPkgsVersion(path.join(jsTemplatePath, 'web'), version) - console.log() - - // Updates __fixtures__/test-project packages - console.log('Updating test-project fixture...') - const fixturePath = path.join(cwd, '__fixtures__/test-project') - updateRWJSPkgsVersion(fixturePath, version) - updateRWJSPkgsVersion(path.join(fixturePath, 'api'), version) - updateRWJSPkgsVersion(path.join(fixturePath, 'web'), version) - console.log() -} - -/** - * Iterates over `@redwoodjs/*` dependencies in a package.json and updates their version. - * - * @param {string} pkgPath - * @param {string} version - */ -function updateRWJSPkgsVersion(pkgPath, version) { - const pkg = fs.readJSONSync(path.join(pkgPath, 'package.json'), 'utf-8') - - for (const dep of Object.keys(pkg.dependencies ?? {}).filter(isRWJSPkg)) { - console.log(` - ${dep}: ${pkg.dependencies[dep]} => ${version}`) - pkg.dependencies[dep] = `${version}` - } - - for (const dep of Object.keys(pkg.devDependencies ?? {}).filter(isRWJSPkg)) { - console.log(` - ${dep}: ${pkg.devDependencies[dep]} => ${version}`) - pkg.devDependencies[dep] = `${version}` - } - - fs.writeJSONSync(path.join(pkgPath, 'package.json'), pkg, { spaces: 2 }) -} - -const isRWJSPkg = (pkg) => pkg.startsWith('@redwoodjs/') - -run() diff --git a/yarn.lock b/yarn.lock index 395b3f480468..ecc2c7b0da1d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -110,32 +110,16 @@ __metadata: languageName: node linkType: hard -"@antfu/ni@npm:0.21.8": - version: 0.21.8 - resolution: "@antfu/ni@npm:0.21.8" - bin: - na: bin/na.mjs - nci: bin/nci.mjs - ni: bin/ni.mjs - nlx: bin/nlx.mjs - nr: bin/nr.mjs - nu: bin/nu.mjs - nun: bin/nun.mjs - checksum: a85561bfe1e9aa11e22eb1794a9d16f6ff817cc678fa8d143d2125f6698b6a30a32be9c1b3004e1c77bd39c43ff4facb183c0c432ea7281bcdf0dfbcc910f427 - languageName: node - linkType: hard - -"@apollo/client@npm:3.8.7": - version: 3.8.7 - resolution: "@apollo/client@npm:3.8.7" +"@apollo/client@npm:3.8.8": + version: 3.8.8 + resolution: "@apollo/client@npm:3.8.8" dependencies: "@graphql-typed-document-node/core": ^3.1.1 - "@wry/context": ^0.7.3 "@wry/equality": ^0.5.6 - "@wry/trie": ^0.4.3 + "@wry/trie": ^0.5.0 graphql-tag: ^2.12.6 hoist-non-react-statics: ^3.3.2 - optimism: ^0.17.5 + optimism: ^0.18.0 prop-types: ^15.7.2 response-iterator: ^0.2.6 symbol-observable: ^4.0.0 @@ -157,7 +141,7 @@ __metadata: optional: true subscriptions-transport-ws: optional: true - checksum: e88be52f6393ab0625999abf7f6ed6c1035e5f290a738477210f9563d85d369b3dcb86dff7613be84a012192b66c2fae18ee9d5acf55f2b0ca30c1cc77c38559 + checksum: a097fb49d68fa77d59f8d63f73f0335624608102ebe2a30270d679b50f3fc2d697298fde8619571b419c93660a5ba90874d93e3b10efc8d910d752f14df1770b languageName: node linkType: hard @@ -371,9 +355,9 @@ __metadata: languageName: node linkType: hard -"@babel/cli@npm:7.23.0": - version: 7.23.0 - resolution: "@babel/cli@npm:7.23.0" +"@babel/cli@npm:7.23.4": + version: 7.23.4 + resolution: "@babel/cli@npm:7.23.4" dependencies: "@jridgewell/trace-mapping": ^0.3.17 "@nicolo-ribaudo/chokidar-2": 2.1.8-no-fsevents.3 @@ -394,53 +378,53 @@ __metadata: bin: babel: ./bin/babel.js babel-external-helpers: ./bin/babel-external-helpers.js - checksum: 80ebb68216adab239ea2eb73e1dc1eb3a70ee8e1afad2ae8f2b7518119ebd247f776bd7d4ab2cb73c2cf0253e202b6af00e4a5fec79c2733084963901bde3903 + checksum: f71bc378f62dd19983adc8dae4ee33cd44ac7d8ea3224709f787f290e0c3a4b8a36dad76d672b3479de2b9f524e55b4bb12a2296154c73134ba111114a15779c languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13": - version: 7.22.13 - resolution: "@babel/code-frame@npm:7.22.13" +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/code-frame@npm:7.23.5" dependencies: - "@babel/highlight": ^7.22.13 + "@babel/highlight": ^7.23.4 chalk: ^2.4.2 - checksum: f4cc8ae1000265677daf4845083b72f88d00d311adb1a93c94eb4b07bf0ed6828a81ae4ac43ee7d476775000b93a28a9cddec18fbdc5796212d8dcccd5de72bd + checksum: a10e843595ddd9f97faa99917414813c06214f4d9205294013e20c70fbdf4f943760da37dec1d998bf3e6fc20fa2918a47c0e987a7e458663feb7698063ad7c6 languageName: node linkType: hard -"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.22.9, @babel/compat-data@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/compat-data@npm:7.23.3" - checksum: c6af331753c34ee8a5678bc94404320826cb56b1dda3efc1311ec8fb0774e78225132f3c1acc988440ace667f14a838e297a822692b95758aa63da406e1f97a1 +"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.22.9, @babel/compat-data@npm:^7.23.3, @babel/compat-data@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/compat-data@npm:7.23.5" + checksum: 081278ed46131a890ad566a59c61600a5f9557bd8ee5e535890c8548192532ea92590742fd74bd9db83d74c669ef8a04a7e1c85cdea27f960233e3b83c3a957c languageName: node linkType: hard -"@babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.14.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.0, @babel/core@npm:^7.22.20, @babel/core@npm:^7.22.9, @babel/core@npm:^7.23.2, @babel/core@npm:^7.7.5": - version: 7.23.3 - resolution: "@babel/core@npm:7.23.3" +"@babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.14.0, @babel/core@npm:^7.18.9, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.20, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/core@npm:7.23.5" dependencies: "@ampproject/remapping": ^2.2.0 - "@babel/code-frame": ^7.22.13 - "@babel/generator": ^7.23.3 + "@babel/code-frame": ^7.23.5 + "@babel/generator": ^7.23.5 "@babel/helper-compilation-targets": ^7.22.15 "@babel/helper-module-transforms": ^7.23.3 - "@babel/helpers": ^7.23.2 - "@babel/parser": ^7.23.3 + "@babel/helpers": ^7.23.5 + "@babel/parser": ^7.23.5 "@babel/template": ^7.22.15 - "@babel/traverse": ^7.23.3 - "@babel/types": ^7.23.3 + "@babel/traverse": ^7.23.5 + "@babel/types": ^7.23.5 convert-source-map: ^2.0.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.2.3 semver: ^6.3.1 - checksum: 08d43b749e24052d12713a7fb1f0c0d1275d4fb056d00846faeb8da79ecf6d0ba91a11b6afec407b8b0f9388d00e2c2f485f282bef0ade4d6d0a17de191a4287 + checksum: 311a512a870ee330a3f9a7ea89e5df790b2b5af0b1bd98b10b4edc0de2ac440f0df4d69ea2c0ee38a4b89041b9a495802741d93603be7d4fd834ec8bb6970bd2 languageName: node linkType: hard -"@babel/eslint-parser@npm:7.22.15": - version: 7.22.15 - resolution: "@babel/eslint-parser@npm:7.22.15" +"@babel/eslint-parser@npm:7.23.3": + version: 7.23.3 + resolution: "@babel/eslint-parser@npm:7.23.3" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals": 5.1.1-v1 eslint-visitor-keys: ^2.1.0 @@ -448,43 +432,31 @@ __metadata: peerDependencies: "@babel/core": ^7.11.0 eslint: ^7.5.0 || ^8.0.0 - checksum: 309052677a8d0b01b6633e656ded931646f6e63e6afb44d6739f347bbf5015da0a16390e0126473bd7b5dd23c9d81f83eda266d1af5bf5e1b606795d6bcc8c0b + checksum: abb01d23acd80e983125cd72c547baaf7775bfca7a98fc57a2a95f2b70197a34c6bf861e255ab5c8740ace27c50a9966481503875fcc23b2636598740e4881f4 languageName: node linkType: hard -"@babel/eslint-plugin@npm:7.22.10": - version: 7.22.10 - resolution: "@babel/eslint-plugin@npm:7.22.10" +"@babel/eslint-plugin@npm:7.23.5": + version: 7.23.5 + resolution: "@babel/eslint-plugin@npm:7.23.5" dependencies: eslint-rule-composer: ^0.3.0 peerDependencies: "@babel/eslint-parser": ^7.11.0 eslint: ^7.5.0 || ^8.0.0 - checksum: 5b73dfd406c3586a4be002728901410163bb8902d2069c6b3eba602eae10d3a7155afedcbeee72f6b775f60aab69523d70a0d7ba611205005436ceff7157ae9f + checksum: adaf0975bab774c9a7ddd7aac6f2f7e4e0b087fea24759d8538ebe988b72eaca5928d9afc6b9c13927bf3e3c6ac66795d1060f6a8bfa9748de27f5d93d3fef64 languageName: node linkType: hard -"@babel/generator@npm:7.23.0": - version: 7.23.0 - resolution: "@babel/generator@npm:7.23.0" +"@babel/generator@npm:7.23.5, @babel/generator@npm:^7.14.0, @babel/generator@npm:^7.18.13, @babel/generator@npm:^7.23.0, @babel/generator@npm:^7.23.5, @babel/generator@npm:^7.7.2": + version: 7.23.5 + resolution: "@babel/generator@npm:7.23.5" dependencies: - "@babel/types": ^7.23.0 + "@babel/types": ^7.23.5 "@jridgewell/gen-mapping": ^0.3.2 "@jridgewell/trace-mapping": ^0.3.17 jsesc: ^2.5.1 - checksum: b7d8727c574119b5ef06e5d5d0d8d939527d51537db4b08273caebb18f3f2b1d4517b874776085e161fd47d28f26b22c08e7f270b64f43b2afd4a60c5936d6cd - languageName: node - linkType: hard - -"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.14.0, @babel/generator@npm:^7.18.13, @babel/generator@npm:^7.22.9, @babel/generator@npm:^7.23.3, @babel/generator@npm:^7.7.2": - version: 7.23.3 - resolution: "@babel/generator@npm:7.23.3" - dependencies: - "@babel/types": ^7.23.3 - "@jridgewell/gen-mapping": ^0.3.2 - "@jridgewell/trace-mapping": ^0.3.17 - jsesc: ^2.5.1 - checksum: d5fff1417eecfada040e01a7c77a4968e81c436aeb35815ce85b4e80cd01e731423613d61033044a6cb5563bb8449ee260e3379b63eb50b38ec0a9ea9c00abfd + checksum: 14c6e874f796c4368e919bed6003bb0adc3ce837760b08f9e646d20aeb5ae7d309723ce6e4f06bcb4a2b5753145446c8e4425851380f695e40e71e1760f49e7b languageName: node linkType: hard @@ -519,22 +491,22 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.22.15": - version: 7.22.15 - resolution: "@babel/helper-create-class-features-plugin@npm:7.22.15" +"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.22.15, @babel/helper-create-class-features-plugin@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/helper-create-class-features-plugin@npm:7.23.5" dependencies: "@babel/helper-annotate-as-pure": ^7.22.5 - "@babel/helper-environment-visitor": ^7.22.5 - "@babel/helper-function-name": ^7.22.5 - "@babel/helper-member-expression-to-functions": ^7.22.15 + "@babel/helper-environment-visitor": ^7.22.20 + "@babel/helper-function-name": ^7.23.0 + "@babel/helper-member-expression-to-functions": ^7.23.0 "@babel/helper-optimise-call-expression": ^7.22.5 - "@babel/helper-replace-supers": ^7.22.9 + "@babel/helper-replace-supers": ^7.22.20 "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0 - checksum: 2ae5759fe8845fda99b34f2ba6cd0794fc860213d14c93a87aa9180960252bce621157a79c373b7fbb423b25a55fb0e20eae0d5f8e4ad5ef22dc70e7c2af3805 + checksum: a29bd03725630dcf2f094b7e3fe45c63984e63a5d092ceffec2da9d95c108afcc073863d6e9c0fb944d07f3cde5ebac4bba833473ca96af5e949f7d471154901 languageName: node linkType: hard @@ -566,7 +538,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-environment-visitor@npm:^7.22.20, @babel/helper-environment-visitor@npm:^7.22.5": +"@babel/helper-environment-visitor@npm:^7.22.20": version: 7.22.20 resolution: "@babel/helper-environment-visitor@npm:7.22.20" checksum: e762c2d8f5d423af89bd7ae9abe35bd4836d2eb401af868a63bbb63220c513c783e25ef001019418560b3fdc6d9a6fb67e6c0b650bcdeb3a2ac44b5c3d2bdd94 @@ -592,12 +564,12 @@ __metadata: languageName: node linkType: hard -"@babel/helper-member-expression-to-functions@npm:^7.22.15": - version: 7.22.15 - resolution: "@babel/helper-member-expression-to-functions@npm:7.22.15" +"@babel/helper-member-expression-to-functions@npm:^7.22.15, @babel/helper-member-expression-to-functions@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/helper-member-expression-to-functions@npm:7.23.0" dependencies: - "@babel/types": ^7.22.15 - checksum: 531de203316dd14b0cb64b756f65fedacc8bfb8072e0e9ca92b1df6833d92f821277ef95ab4d148b6f8e0dc368d29e05a8f1cc7a0b87fd7c0cb2f0b25fbacc70 + "@babel/types": ^7.23.0 + checksum: b810daddf093ffd0802f1429052349ed9ea08ef7d0c56da34ffbcdecbdafac86f95bdea2fe30e0e0e629febc7dd41b56cb5eacc10d1a44336d37b755dac31fa4 languageName: node linkType: hard @@ -654,7 +626,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.22.20, @babel/helper-replace-supers@npm:^7.22.9": +"@babel/helper-replace-supers@npm:^7.22.20": version: 7.22.20 resolution: "@babel/helper-replace-supers@npm:7.22.20" dependencies: @@ -694,24 +666,24 @@ __metadata: languageName: node linkType: hard -"@babel/helper-string-parser@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/helper-string-parser@npm:7.22.5" - checksum: 6b0ff8af724377ec41e5587fffa7605198da74cb8e7d8d48a36826df0c0ba210eb9fedb3d9bef4d541156e0bd11040f021945a6cbb731ccec4aefb4affa17aa4 +"@babel/helper-string-parser@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/helper-string-parser@npm:7.23.4" + checksum: f348d5637ad70b6b54b026d6544bd9040f78d24e7ec245a0fc42293968181f6ae9879c22d89744730d246ce8ec53588f716f102addd4df8bbc79b73ea10004ac languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.22.5": +"@babel/helper-validator-identifier@npm:^7.22.20": version: 7.22.20 resolution: "@babel/helper-validator-identifier@npm:7.22.20" checksum: dcad63db345fb110e032de46c3688384b0008a42a4845180ce7cd62b1a9c0507a1bed727c4d1060ed1a03ae57b4d918570259f81724aaac1a5b776056f37504e languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.22.5": - version: 7.22.15 - resolution: "@babel/helper-validator-option@npm:7.22.15" - checksum: e9661bf80ba18e2dd978217b350fb07298e57ac417f4f1ab9fa011505e20e4857f2c3b4b538473516a9dc03af5ce3a831e5ed973311c28326f4c330b6be981c2 +"@babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/helper-validator-option@npm:7.23.5" + checksum: af45d5c0defb292ba6fd38979e8f13d7da63f9623d8ab9ededc394f67eb45857d2601278d151ae9affb6e03d5d608485806cd45af08b4468a0515cf506510e94 languageName: node linkType: hard @@ -726,25 +698,25 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.23.2": - version: 7.23.2 - resolution: "@babel/helpers@npm:7.23.2" +"@babel/helpers@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/helpers@npm:7.23.5" dependencies: "@babel/template": ^7.22.15 - "@babel/traverse": ^7.23.2 - "@babel/types": ^7.23.0 - checksum: 3a6a939c5277a27486e7c626812f0643b35d1c053ac2eb66911f5ae6c0a4e4bcdd40750eba36b766b0ee8a753484287f50ae56232a5f8f2947116723e44b9e35 + "@babel/traverse": ^7.23.5 + "@babel/types": ^7.23.5 + checksum: a37e2728eb4378a4888e5d614e28de7dd79b55ac8acbecd0e5c761273e2a02a8f33b34b1932d9069db55417ace2937cbf8ec37c42f1030ce6d228857d7ccaa4f languageName: node linkType: hard -"@babel/highlight@npm:^7.22.13": - version: 7.22.13 - resolution: "@babel/highlight@npm:7.22.13" +"@babel/highlight@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/highlight@npm:7.23.4" dependencies: - "@babel/helper-validator-identifier": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.20 chalk: ^2.4.2 js-tokens: ^4.0.0 - checksum: 65f20132c7ada5d82d343dc23ca61bcd040980f7bd59e480532bcd7f7895aa7abe58470ae8a4f851fd244b71b42a7ad915f7c515fef8f1c2e003777721ebdbe6 + checksum: fbff9fcb2f5539289c3c097d130e852afd10d89a3a08ac0b5ebebbc055cc84a4bcc3dcfed463d488cde12dd0902ef1858279e31d7349b2e8cee43913744bda33 languageName: node linkType: hard @@ -766,12 +738,12 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.1.6, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.8, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.22.16, @babel/parser@npm:^7.22.7, @babel/parser@npm:^7.23.3, @babel/parser@npm:^7.3.2": - version: 7.23.3 - resolution: "@babel/parser@npm:7.23.3" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.1.6, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.8, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.22.16, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.5, @babel/parser@npm:^7.3.2": + version: 7.23.5 + resolution: "@babel/parser@npm:7.23.5" bin: parser: ./bin/babel-parser.js - checksum: 0fe11eadd4146a9155305b5bfece0f8223a3b1b97357ffa163c0156940de92e76cd0e7a173de819b8692767147e62f33389b312d1537f84cede51092672df6ef + checksum: 3356aa90d7bafb4e2c7310e7c2c3d443c4be4db74913f088d3d577a1eb914ea4188e05fd50a47ce907a27b755c4400c4e3cbeee73dbeb37761f6ca85954f5a20 languageName: node linkType: hard @@ -823,18 +795,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-decorators@npm:7.23.2": - version: 7.23.2 - resolution: "@babel/plugin-proposal-decorators@npm:7.23.2" +"@babel/plugin-proposal-decorators@npm:7.23.5": + version: 7.23.5 + resolution: "@babel/plugin-proposal-decorators@npm:7.23.5" dependencies: - "@babel/helper-create-class-features-plugin": ^7.22.15 + "@babel/helper-create-class-features-plugin": ^7.23.5 "@babel/helper-plugin-utils": ^7.22.5 "@babel/helper-replace-supers": ^7.22.20 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/plugin-syntax-decorators": ^7.22.10 + "@babel/plugin-syntax-decorators": ^7.23.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 0936f1ca4d0ead4b0092987c9c99f9ea16fc7378dba09dc799dc8d86671ca15d16c41103064858882911221c51239efca1ef63149913b83a2f663036bb51dccf + checksum: f1fffa9f24668e3a2f78ee4c6ca1b8e65b46f69d8fbe77be46dc286b0ac02336fbc77eeaffadcec1b08019e241547cfbfee9a494aeaf6bb6b4eeac1149be5994 languageName: node linkType: hard @@ -931,14 +903,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-decorators@npm:^7.22.10": - version: 7.22.10 - resolution: "@babel/plugin-syntax-decorators@npm:7.22.10" +"@babel/plugin-syntax-decorators@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/plugin-syntax-decorators@npm:7.23.3" dependencies: "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: cf606ef13ed98b3adf560ede27a873c0ab37e884c762a6f15493c881f5a78b67f24dcdd5c70e8cd8f39dbe4b23475cb98619729812f29feb2dcc241130195e7c + checksum: 86299c050b0a5b6565d6b9e3529f2d6dca4780215ab88050bdd0ae9a576868a17f9cd1e140857089cc5d06bdfeb89f0711285f99481b82316896a552a62e449f languageName: node linkType: hard @@ -964,14 +936,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-flow@npm:^7.0.0, @babel/plugin-syntax-flow@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/plugin-syntax-flow@npm:7.22.5" +"@babel/plugin-syntax-flow@npm:^7.0.0, @babel/plugin-syntax-flow@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/plugin-syntax-flow@npm:7.23.3" dependencies: "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 07afc7df02141597968532bfbfa3f6c0ad21a2bdd885d0e5e035dcf60fdf35f0995631c9750b464e1a6f2feea14160a82787f914e88e8f7115dc99f09853e43e + checksum: 8a5e1e8b6a3728a2c8fe6d70c09a43642e737d9c0485e1b041cd3a6021ef05376ec3c9137be3b118c622ba09b5770d26fdc525473f8d06d4ab9e46de2783dd0a languageName: node linkType: hard @@ -1152,9 +1124,9 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-async-generator-functions@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.3" +"@babel/plugin-transform-async-generator-functions@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.4" dependencies: "@babel/helper-environment-visitor": ^7.22.20 "@babel/helper-plugin-utils": ^7.22.5 @@ -1162,7 +1134,7 @@ __metadata: "@babel/plugin-syntax-async-generators": ^7.8.4 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: e846f282658e097fce4fccf3ee29289bf05f0654846a5994727a36f0cdc2e47abdffd4be4fa65787e94aa975824fae894c90afbfdc8caacd46c12c7f43e99d7f + checksum: f2eef4de609975a3f7da7832576b5ffc93e43c80f87e1a99e886b0f8591096cfc4c37e2d5f52fdeaa2a9c09a25a59f3e621159abaca75d3193922a5c0e4cbe0c languageName: node linkType: hard @@ -1190,14 +1162,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-block-scoping@npm:^7.0.0, @babel/plugin-transform-block-scoping@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-block-scoping@npm:7.23.3" +"@babel/plugin-transform-block-scoping@npm:^7.0.0, @babel/plugin-transform-block-scoping@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-block-scoping@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: ccaeded7954c196811d22a35322579254cda52676e823682b6234885a3aaf88fe0d5152dacaec43db9031dcf35a050a5343e36028e5905b0ba9c02d36b30a57f + checksum: 83006804dddf980ab1bcd6d67bc381e24b58c776507c34f990468f820d0da71dba3697355ca4856532fa2eeb2a1e3e73c780f03760b5507a511cbedb0308e276 languageName: node linkType: hard @@ -1213,22 +1185,22 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-class-static-block@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-class-static-block@npm:7.23.3" +"@babel/plugin-transform-class-static-block@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-class-static-block@npm:7.23.4" dependencies: "@babel/helper-create-class-features-plugin": ^7.22.15 "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-class-static-block": ^7.14.5 peerDependencies: "@babel/core": ^7.12.0 - checksum: 89cdb66d7bc834cd51659eb7286a6bee23add0bc114943d68c4b6c0c834178cf0d55183df0cf508fec9c55ed4155641360e6f55a91c16fe826ccaf1adf381922 + checksum: fdca96640ef29d8641a7f8de106f65f18871b38cc01c0f7b696d2b49c76b77816b30a812c08e759d06dd10b4d9b3af6b5e4ac22a2017a88c4077972224b77ab0 languageName: node linkType: hard -"@babel/plugin-transform-classes@npm:^7.0.0, @babel/plugin-transform-classes@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-classes@npm:7.23.3" +"@babel/plugin-transform-classes@npm:^7.0.0, @babel/plugin-transform-classes@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/plugin-transform-classes@npm:7.23.5" dependencies: "@babel/helper-annotate-as-pure": ^7.22.5 "@babel/helper-compilation-targets": ^7.22.15 @@ -1241,7 +1213,7 @@ __metadata: globals: ^11.1.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 88bfd332db0ba5cbfb8557a2ba5a7185151aebc9cfe3035b014aa6d795556acbe672bb8c78da3c9fd1d23f55a333d14b5daa127ef037f5ced5198b6d79a146d6 + checksum: 07988f52b4893151887d1ea6ff79e5fe834078c5731bd09babd5659edbbae21ea4e2de326a02443a63fd776b4c945da6177f07875b56fe66e0b7899e830a9e92 languageName: node linkType: hard @@ -1291,15 +1263,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-dynamic-import@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-dynamic-import@npm:7.23.3" +"@babel/plugin-transform-dynamic-import@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-dynamic-import@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-dynamic-import": ^7.8.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: df3fd130312dc53d068fa76333991dce5e86987b023af8c3b502bd7d36a8e67da6f718e61dc838576a9fbacd06628e29607ee22d9bae30705485c14130eab201 + checksum: 19ae4a4a2ca86d35224734c41c48b2aa6a13139f3cfa1cbd18c0e65e461de8b65687dec7e52b7a72bb49db04465394c776aa1b13a2af5dc975b2a0cde3dcab67 languageName: node linkType: hard @@ -1315,27 +1287,27 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-export-namespace-from@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-export-namespace-from@npm:7.23.3" +"@babel/plugin-transform-export-namespace-from@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-export-namespace-from@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-export-namespace-from": ^7.8.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 390c6626dcda99023629049d92090242b4575351a4a7b47f97febabd2381f2cd0f624de661d8de8d1f715fedd63753cfd1feddead19e5960c27b88e447465b81 + checksum: 38bf04f851e36240bbe83ace4169da626524f4107bfb91f05b4ad93a5fb6a36d5b3d30b8883c1ba575ccfc1bac7938e90ca2e3cb227f7b3f4a9424beec6fd4a7 languageName: node linkType: hard -"@babel/plugin-transform-flow-strip-types@npm:^7.0.0, @babel/plugin-transform-flow-strip-types@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/plugin-transform-flow-strip-types@npm:7.22.5" +"@babel/plugin-transform-flow-strip-types@npm:^7.0.0, @babel/plugin-transform-flow-strip-types@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/plugin-transform-flow-strip-types@npm:7.23.3" dependencies: "@babel/helper-plugin-utils": ^7.22.5 - "@babel/plugin-syntax-flow": ^7.22.5 + "@babel/plugin-syntax-flow": ^7.23.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 5949a8e5214e3fc65d31dab0551423cea9d9eef35faa5d0004707ba7347baf96166aa400907ce7498f754db4e1e9d039ca434a508546b0dc9fdae9a42e814c1a + checksum: 9ab627f9668fc1f95564b26bffd6706f86205960d9ccc168236752fbef65dbe10aa0ce74faae12f48bb3b72ec7f38ef2a78b4874c222c1e85754e981639f3b33 languageName: node linkType: hard @@ -1363,15 +1335,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-json-strings@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-json-strings@npm:7.23.3" +"@babel/plugin-transform-json-strings@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-json-strings@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-json-strings": ^7.8.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: e1cef6a485b9da32aba9449fb459dac062dfc401f3d6ad48e7fbdcb73bbe470c995cc15ce5c421b95efe1e9a90d5507eb606360fe10b6d8cb869dd5dae7a2562 + checksum: 39e82223992a9ad857722ae051291935403852ad24b0dd64c645ca1c10517b6bf9822377d88643fed8b3e61a4e3f7e5ae41cf90eb07c40a786505d47d5970e54 languageName: node linkType: hard @@ -1386,15 +1358,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-logical-assignment-operators@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.23.3" +"@babel/plugin-transform-logical-assignment-operators@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 23b7588b26d420c8b132bd08916d49871ca0c8db892f6b58637b10e2a0d918163d413c505db880a9157fc2e61d089040f139298a60d837ccbd0efca0474ac7ca + checksum: 87b034dd13143904e405887e6125d76c27902563486efc66b7d9a9d8f9406b76c6ac42d7b37224014af5783d7edb465db0cdecd659fa3227baad0b3a6a35deff languageName: node linkType: hard @@ -1421,7 +1393,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-commonjs@npm:^7.0.0, @babel/plugin-transform-modules-commonjs@npm:^7.13.8, @babel/plugin-transform-modules-commonjs@npm:^7.23.3": +"@babel/plugin-transform-modules-commonjs@npm:^7.0.0, @babel/plugin-transform-modules-commonjs@npm:^7.13.8, @babel/plugin-transform-modules-commonjs@npm:^7.23.0, @babel/plugin-transform-modules-commonjs@npm:^7.23.3": version: 7.23.3 resolution: "@babel/plugin-transform-modules-commonjs@npm:7.23.3" dependencies: @@ -1483,45 +1455,33 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-nullish-coalescing-operator@npm:7.22.11": - version: 7.22.11 - resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.22.11" +"@babel/plugin-transform-nullish-coalescing-operator@npm:7.23.4, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.22.11, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 328c0ebfbbc82256af00252fb795996b093f57b528a57afcb30843ca52d24a6d824029ad6d22f042f3af336bb4dc1963b4841c2ad774424b02d14ae7cfff2701 + checksum: bce490d22da5c87ff27fffaff6ad5a4d4979b8d7b72e30857f191e9c1e1824ba73bb8d7081166289369e388f94f0ce5383a593b1fc84d09464a062c75f824b0b languageName: node linkType: hard -"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.23.3" - dependencies: - "@babel/helper-plugin-utils": ^7.22.5 - "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: f960faed3975c8454c52d2b5d85daf0c9a27677b248d7933882e59b10202ade2a98c7b925ce0bae2b8eb4d66eb5d63a5588c1090d54eaa4cd235533d71228ff3 - languageName: node - linkType: hard - -"@babel/plugin-transform-numeric-separator@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-numeric-separator@npm:7.23.3" +"@babel/plugin-transform-numeric-separator@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-numeric-separator@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-numeric-separator": ^7.10.4 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d3748cce20e8752e61dfda55e275c699459a3ff8d0bb46585da813136e04066b1ce70b71beef504fcdc8d4cca3c955112cea96d5e9fd5a42a5bc8956d05236c2 + checksum: e34902da4f5588dc4812c92cb1f6a5e3e3647baf7b4623e30942f551bf1297621abec4e322ebfa50b320c987c0f34d9eb4355b3d289961d9035e2126e3119c12 languageName: node linkType: hard -"@babel/plugin-transform-object-rest-spread@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-object-rest-spread@npm:7.23.3" +"@babel/plugin-transform-object-rest-spread@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-object-rest-spread@npm:7.23.4" dependencies: "@babel/compat-data": ^7.23.3 "@babel/helper-compilation-targets": ^7.22.15 @@ -1530,7 +1490,7 @@ __metadata: "@babel/plugin-transform-parameters": ^7.23.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 31ab631aaba945c118662943e5f1f54a21f07d64f06e06b25d55871168c460f3eeeccdf7b05aa74a1340e2cfbe781ad3c7ceccd0c2585d39f7b73ba11ebaa9d0 + checksum: b56017992ffe7fcd1dd9a9da67c39995a141820316266bcf7d77dc912980d228ccbd3f36191d234f5cc389b09157b5d2a955e33e8fb368319534affd1c72b262 languageName: node linkType: hard @@ -1546,28 +1506,28 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-optional-catch-binding@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.23.3" +"@babel/plugin-transform-optional-catch-binding@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 85ac1e94ee8f21648816151628ff931cc16143ec8c904649a1ecfd8960160290eccc5a197b4ae3ee7a1c7a27a7c4189e61b4de24483d5bad4040784afe2d206f + checksum: 4ef61812af0e4928485e28301226ce61139a8b8cea9e9a919215ebec4891b9fea2eb7a83dc3090e2679b7d7b2c8653da601fbc297d2addc54a908b315173991e languageName: node linkType: hard -"@babel/plugin-transform-optional-chaining@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-optional-chaining@npm:7.23.3" +"@babel/plugin-transform-optional-chaining@npm:^7.23.0, @babel/plugin-transform-optional-chaining@npm:^7.23.3, @babel/plugin-transform-optional-chaining@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.23.4" dependencies: "@babel/helper-plugin-utils": ^7.22.5 "@babel/helper-skip-transparent-expression-wrappers": ^7.22.5 "@babel/plugin-syntax-optional-chaining": ^7.8.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 2b358962169d871392aa292a67527e5335909438da0ddbb0d19e7838c0f8a2081cc751a49e6e534ac4d6c932254531a205ac22b197f64fc4c89f41bf9f595497 + checksum: 305b773c29ad61255b0e83ec1e92b2f7af6aa58be4cba1e3852bddaa14f7d2afd7b4438f41c28b179d6faac7eb8d4fb5530a17920294f25d459b8f84406bfbfb languageName: node linkType: hard @@ -1594,9 +1554,9 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-private-property-in-object@npm:^7.22.11, @babel/plugin-transform-private-property-in-object@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-private-property-in-object@npm:7.23.3" +"@babel/plugin-transform-private-property-in-object@npm:^7.22.11, @babel/plugin-transform-private-property-in-object@npm:^7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-private-property-in-object@npm:7.23.4" dependencies: "@babel/helper-annotate-as-pure": ^7.22.5 "@babel/helper-create-class-features-plugin": ^7.22.15 @@ -1604,7 +1564,7 @@ __metadata: "@babel/plugin-syntax-private-property-in-object": ^7.14.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 9211dd25a6e87a01535f2d97a663fa6de3472b963c8dcfaacce229a2e3fa6500f2e9fc690bc100a540fc7b66c8364faf7ef19b32e9c9b9791e4561b742c15ed3 + checksum: 8d31b28f24204b4d13514cd3a8f3033abf575b1a6039759ddd6e1d82dd33ba7281f9bc85c9f38072a665d69bfa26dc40737eefaf9d397b024654a483d2357bf5 languageName: node linkType: hard @@ -1641,25 +1601,25 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-self@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/plugin-transform-react-jsx-self@npm:7.22.5" +"@babel/plugin-transform-react-jsx-self@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/plugin-transform-react-jsx-self@npm:7.23.3" dependencies: "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 263091bdede1f448cb2c59b84eb69972c15d3f022c929a75337bd20d8b65551ac38cd26dad1946eaa93289643506b10ddaea3445a28cb8fca5a773a22a0df90b + checksum: 6b586508fc58998483d4ee93a7e784c4f4d2350e2633739cf1990b7ad172e13906f72382fdaf7f07b4e3c7e7555342634d392bdeb1a079bb64762c6368ca9a32 languageName: node linkType: hard -"@babel/plugin-transform-react-jsx-source@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/plugin-transform-react-jsx-source@npm:7.22.5" +"@babel/plugin-transform-react-jsx-source@npm:^7.23.3": + version: 7.23.3 + resolution: "@babel/plugin-transform-react-jsx-source@npm:7.23.3" dependencies: "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: defc9debb76b4295e3617ef7795a0533dbbecef6f51bf5ba4bfc162df892a84fd39e14d5f1b9a5aad7b09b97074fef4c6756f9d2036eef5a9874acabe198f75a + checksum: a3aad7cf738e9bfaddc26cdbb83bb9684c2e689d26fb0793d772af0c8da0cd25bb02523d192fbc6946c32143e56b472c1d33fa82466b3f2d3346e1ce8fe83cf6 languageName: node linkType: hard @@ -1713,9 +1673,9 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-runtime@npm:7.23.2": - version: 7.23.2 - resolution: "@babel/plugin-transform-runtime@npm:7.23.2" +"@babel/plugin-transform-runtime@npm:7.23.4": + version: 7.23.4 + resolution: "@babel/plugin-transform-runtime@npm:7.23.4" dependencies: "@babel/helper-module-imports": ^7.22.15 "@babel/helper-plugin-utils": ^7.22.5 @@ -1725,7 +1685,7 @@ __metadata: semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 440291cd42e51c3f8789a0bd45cebbf597cf5d4ee4185050f1151f579465db016902054c50684e288342a03c9f1af8cec365fc02d85d14dc2b2a30ad5eb07c42 + checksum: 6ac29012550cdd10b65ec43fef0c7f43904ec458c43d597f627d8f52807413e57ea94e3986dbace576d734e67c2d09be5e43e77c72567d18f8c4ac5e19844625 languageName: node linkType: hard @@ -1846,14 +1806,14 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.22.20, @babel/preset-env@npm:^7.22.9": - version: 7.23.3 - resolution: "@babel/preset-env@npm:7.23.3" +"@babel/preset-env@npm:^7.22.20, @babel/preset-env@npm:^7.23.2": + version: 7.23.5 + resolution: "@babel/preset-env@npm:7.23.5" dependencies: - "@babel/compat-data": ^7.23.3 + "@babel/compat-data": ^7.23.5 "@babel/helper-compilation-targets": ^7.22.15 "@babel/helper-plugin-utils": ^7.22.5 - "@babel/helper-validator-option": ^7.22.15 + "@babel/helper-validator-option": ^7.23.5 "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.23.3 "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.23.3 "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ^7.23.3 @@ -1877,25 +1837,25 @@ __metadata: "@babel/plugin-syntax-top-level-await": ^7.14.5 "@babel/plugin-syntax-unicode-sets-regex": ^7.18.6 "@babel/plugin-transform-arrow-functions": ^7.23.3 - "@babel/plugin-transform-async-generator-functions": ^7.23.3 + "@babel/plugin-transform-async-generator-functions": ^7.23.4 "@babel/plugin-transform-async-to-generator": ^7.23.3 "@babel/plugin-transform-block-scoped-functions": ^7.23.3 - "@babel/plugin-transform-block-scoping": ^7.23.3 + "@babel/plugin-transform-block-scoping": ^7.23.4 "@babel/plugin-transform-class-properties": ^7.23.3 - "@babel/plugin-transform-class-static-block": ^7.23.3 - "@babel/plugin-transform-classes": ^7.23.3 + "@babel/plugin-transform-class-static-block": ^7.23.4 + "@babel/plugin-transform-classes": ^7.23.5 "@babel/plugin-transform-computed-properties": ^7.23.3 "@babel/plugin-transform-destructuring": ^7.23.3 "@babel/plugin-transform-dotall-regex": ^7.23.3 "@babel/plugin-transform-duplicate-keys": ^7.23.3 - "@babel/plugin-transform-dynamic-import": ^7.23.3 + "@babel/plugin-transform-dynamic-import": ^7.23.4 "@babel/plugin-transform-exponentiation-operator": ^7.23.3 - "@babel/plugin-transform-export-namespace-from": ^7.23.3 + "@babel/plugin-transform-export-namespace-from": ^7.23.4 "@babel/plugin-transform-for-of": ^7.23.3 "@babel/plugin-transform-function-name": ^7.23.3 - "@babel/plugin-transform-json-strings": ^7.23.3 + "@babel/plugin-transform-json-strings": ^7.23.4 "@babel/plugin-transform-literals": ^7.23.3 - "@babel/plugin-transform-logical-assignment-operators": ^7.23.3 + "@babel/plugin-transform-logical-assignment-operators": ^7.23.4 "@babel/plugin-transform-member-expression-literals": ^7.23.3 "@babel/plugin-transform-modules-amd": ^7.23.3 "@babel/plugin-transform-modules-commonjs": ^7.23.3 @@ -1903,15 +1863,15 @@ __metadata: "@babel/plugin-transform-modules-umd": ^7.23.3 "@babel/plugin-transform-named-capturing-groups-regex": ^7.22.5 "@babel/plugin-transform-new-target": ^7.23.3 - "@babel/plugin-transform-nullish-coalescing-operator": ^7.23.3 - "@babel/plugin-transform-numeric-separator": ^7.23.3 - "@babel/plugin-transform-object-rest-spread": ^7.23.3 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.23.4 + "@babel/plugin-transform-numeric-separator": ^7.23.4 + "@babel/plugin-transform-object-rest-spread": ^7.23.4 "@babel/plugin-transform-object-super": ^7.23.3 - "@babel/plugin-transform-optional-catch-binding": ^7.23.3 - "@babel/plugin-transform-optional-chaining": ^7.23.3 + "@babel/plugin-transform-optional-catch-binding": ^7.23.4 + "@babel/plugin-transform-optional-chaining": ^7.23.4 "@babel/plugin-transform-parameters": ^7.23.3 "@babel/plugin-transform-private-methods": ^7.23.3 - "@babel/plugin-transform-private-property-in-object": ^7.23.3 + "@babel/plugin-transform-private-property-in-object": ^7.23.4 "@babel/plugin-transform-property-literals": ^7.23.3 "@babel/plugin-transform-regenerator": ^7.23.3 "@babel/plugin-transform-reserved-words": ^7.23.3 @@ -1932,20 +1892,20 @@ __metadata: semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 36b02a86817ab5474bb74a8d62a110723b0b05904a52ddc5627cf89457525b8d5ac0739b8e435a6ae12ef8b90cd5fc191169898c3dc2ac9d2c84026b02f2580a + checksum: 2a0e1274dec045186e131c6433659b75492583290e8d41633c616f6bff829cb2e4b2f9a57f556283a54db3bd6aa697911e56a36f607911a29b731c445a5b5a06 languageName: node linkType: hard -"@babel/preset-flow@npm:^7.13.13, @babel/preset-flow@npm:^7.22.5": - version: 7.22.5 - resolution: "@babel/preset-flow@npm:7.22.5" +"@babel/preset-flow@npm:^7.13.13, @babel/preset-flow@npm:^7.22.15": + version: 7.23.3 + resolution: "@babel/preset-flow@npm:7.23.3" dependencies: "@babel/helper-plugin-utils": ^7.22.5 - "@babel/helper-validator-option": ^7.22.5 - "@babel/plugin-transform-flow-strip-types": ^7.22.5 + "@babel/helper-validator-option": ^7.22.15 + "@babel/plugin-transform-flow-strip-types": ^7.23.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d3a54fbaa6da304bedc08847876f23c4bd6f9b13eb8b675ae48c45c678066f7610437b16a8972209c5250bdb205bde8800b8055a844922488b899fdbfe295f31 + checksum: 1cf109925791f2af679f03289848d27596b4f27cb0ad4ee74a8dd4c1cbecc119bdef3b45cbbe12489bc9bdf61163f94c1c0bf6013cc58c325f1cc99edc01bda9 languageName: node linkType: hard @@ -1962,7 +1922,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-react@npm:^7.22.15, @babel/preset-react@npm:^7.22.5": +"@babel/preset-react@npm:^7.22.15": version: 7.23.3 resolution: "@babel/preset-react@npm:7.23.3" dependencies: @@ -1978,7 +1938,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.22.15": +"@babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.22.15, @babel/preset-typescript@npm:^7.23.0": version: 7.23.3 resolution: "@babel/preset-typescript@npm:7.23.3" dependencies: @@ -2015,26 +1975,26 @@ __metadata: languageName: node linkType: hard -"@babel/runtime-corejs3@npm:7.23.2": - version: 7.23.2 - resolution: "@babel/runtime-corejs3@npm:7.23.2" +"@babel/runtime-corejs3@npm:7.23.5": + version: 7.23.5 + resolution: "@babel/runtime-corejs3@npm:7.23.5" dependencies: core-js-pure: ^3.30.2 regenerator-runtime: ^0.14.0 - checksum: 1362f04cae16d99175961e4113618e5ae210e17053605d4cd2c7b93b3a0334fcfe6a689601d20c12f8946cd8a472430e25f0bf09b7dcd851f63fd82749fd7503 + checksum: 9bbad4ae7efea21e2c92ddee70b42ce9773a56e044cfc16267f9610b38ee531c87b465d84d39433fca93f7f567b47d5e40383e3d2cfe85dbeceea7fba8a52cc8 languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": - version: 7.22.10 - resolution: "@babel/runtime@npm:7.22.10" +"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.14.6, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": + version: 7.23.2 + resolution: "@babel/runtime@npm:7.23.2" dependencies: regenerator-runtime: ^0.14.0 - checksum: d3a006fe2cbaf4048b935fb18f55d9ed52c26292182537b442cee57bf524dbb483367c57f464b1a5a96648d9d8d0fdcda848d58a8a09e18ed3f8971dcd684c6c + checksum: 271fcfad8574269d9967b8a1c03f2e1eab108a52ad7c96ed136eee0b11f46156f1186637bd5e79a4207163db9a00413cd70a6428e137b982d0ee8ab85eb9f438 languageName: node linkType: hard -"@babel/template@npm:^7.18.10, @babel/template@npm:^7.22.15, @babel/template@npm:^7.3.3": +"@babel/template@npm:^7.18.10, @babel/template@npm:^7.20.7, @babel/template@npm:^7.22.15, @babel/template@npm:^7.3.3": version: 7.22.15 resolution: "@babel/template@npm:7.22.15" dependencies: @@ -2045,32 +2005,32 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.14.0, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.22.20, @babel/traverse@npm:^7.22.8, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/traverse@npm:7.23.3" +"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.14.0, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.22.20, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/traverse@npm:7.23.5" dependencies: - "@babel/code-frame": ^7.22.13 - "@babel/generator": ^7.23.3 + "@babel/code-frame": ^7.23.5 + "@babel/generator": ^7.23.5 "@babel/helper-environment-visitor": ^7.22.20 "@babel/helper-function-name": ^7.23.0 "@babel/helper-hoist-variables": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/parser": ^7.23.3 - "@babel/types": ^7.23.3 + "@babel/parser": ^7.23.5 + "@babel/types": ^7.23.5 debug: ^4.1.0 globals: ^11.1.0 - checksum: 3c2784f4765185126d64fd5eebce0413b7aee6d54f779998594a343a7f973a9693a441ba27533df84e7ab7ce22f1239c6837f35e903132a1b25f7fc7a67bc30f + checksum: c5ea793080ca6719b0a1612198fd25e361cee1f3c14142d7a518d2a1eeb5c1d21f7eec1b26c20ea6e1ddd8ed12ab50b960ff95ffd25be353b6b46e1b54d6f825 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.1.6, @babel/types@npm:^7.16.8, @babel/types@npm:^7.18.13, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.3, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": - version: 7.23.3 - resolution: "@babel/types@npm:7.23.3" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.1.6, @babel/types@npm:^7.16.8, @babel/types@npm:^7.18.13, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": + version: 7.23.5 + resolution: "@babel/types@npm:7.23.5" dependencies: - "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-string-parser": ^7.23.4 "@babel/helper-validator-identifier": ^7.22.20 to-fast-properties: ^2.0.0 - checksum: 371a10dd9c8d8ebf48fc5d9e1b327dafd74453f8ea582dcbddd1cee5ae34e8881b743e783a86c08c04dcd1849b1842455472a911ae8a1c185484fe9b7b5f1595 + checksum: 7dd5e2f59828ed046ad0b06b039df2524a8b728d204affb4fc08da2502b9dd3140b1356b5166515d229dc811539a8b70dcd4bc507e06d62a89f4091a38d0b0fb languageName: node linkType: hard @@ -2165,11 +2125,12 @@ __metadata: languageName: node linkType: hard -"@clerk/backend@npm:^0.29.1": - version: 0.29.1 - resolution: "@clerk/backend@npm:0.29.1" +"@clerk/backend@npm:0.34.2": + version: 0.34.2 + resolution: "@clerk/backend@npm:0.34.2" dependencies: - "@clerk/types": ^3.52.0 + "@clerk/shared": 1.1.1 + "@clerk/types": 3.58.0 "@peculiar/webcrypto": 1.4.1 "@types/node": 16.18.6 cookie: 0.5.0 @@ -2177,42 +2138,43 @@ __metadata: node-fetch-native: 1.0.1 snakecase-keys: 5.4.4 tslib: 2.4.1 - checksum: 221794fafc957ada3400198c54a12ae50b0a9dda3e4a938f7eb55533748b46197f46da8fcd70a479c8e43946e35e4b595c305101b14a351d2fd3e1c61b796392 + checksum: 0780d96e6d2896b23853550ff6d38257f77849eedde21c2da19bd7c39ebe46413aaff92ce3ee2496f647cd9c006986a34e0c182a493ef637f0e2ff5012b5c676 languageName: node linkType: hard -"@clerk/clerk-react@npm:4.28.0": - version: 4.28.0 - resolution: "@clerk/clerk-react@npm:4.28.0" +"@clerk/clerk-react@npm:4.28.3": + version: 4.28.3 + resolution: "@clerk/clerk-react@npm:4.28.3" dependencies: - "@clerk/shared": 1.1.0 - "@clerk/types": 3.58.0 + "@clerk/shared": 1.1.1 + "@clerk/types": 3.58.1 tslib: 2.4.1 peerDependencies: react: ">=16" - checksum: c8d0472ecc3c52d8ae41d3b14a6e01d5d66b7322bb30176a896d858b31c8c8775c9f4a68fa3a2eb3a2559f5e51362eb0f90fddc36536bc6b3a1b8f397dbad6be + checksum: 5b360bc43d35a9a66b8fe387df4283ad217221e90822bc12b3dbb8d41df9f638a877f9e6cfd2b7aac800f940744f94670668b239bc65732afcdbcbe04d7bc8d7 languageName: node linkType: hard -"@clerk/clerk-sdk-node@npm:4.12.6": - version: 4.12.6 - resolution: "@clerk/clerk-sdk-node@npm:4.12.6" +"@clerk/clerk-sdk-node@npm:4.12.22": + version: 4.12.22 + resolution: "@clerk/clerk-sdk-node@npm:4.12.22" dependencies: - "@clerk/backend": ^0.29.1 - "@clerk/types": ^3.52.0 + "@clerk/backend": 0.34.2 + "@clerk/shared": 1.1.1 + "@clerk/types": 3.58.0 "@types/cookies": 0.7.7 "@types/express": 4.17.14 "@types/node-fetch": 2.6.2 camelcase-keys: 6.2.2 snakecase-keys: 3.2.1 tslib: 2.4.1 - checksum: dfaa24cd51aba1a9c42c14668283c87d3245d833ee87b30002b23cbae3c3c948bb2ee87d0ed5f8506c3f8e024498a2bbbe38183283804286e9198686e527ec50 + checksum: 4eb43f57d4d71f083ee1156ec3456363205e442a64b1c5be8d6cad9e05e7c8612637a83667c9507981aee0481eb643a6152e3a2fd5b8f675a720c17048f94ac5 languageName: node linkType: hard -"@clerk/shared@npm:1.1.0": - version: 1.1.0 - resolution: "@clerk/shared@npm:1.1.0" +"@clerk/shared@npm:1.1.1": + version: 1.1.1 + resolution: "@clerk/shared@npm:1.1.1" dependencies: glob-to-regexp: 0.4.1 js-cookie: 3.0.1 @@ -2222,11 +2184,11 @@ __metadata: peerDependenciesMeta: react: optional: true - checksum: 2fe53d0838668f56813942398d3e80652a7475f6b94907da47eb34dccc0e55c4d2fdbdfb837e6b75d4c96fa3b7d6fa179f122bb35382a237554d1583b373c8ff + checksum: b46df70a1a5ae1381b760241700a78c2f08a7ca0890bc49dd8d3fd8d825db205dc9101283674c51aef49b19bc46cf367b0a022d4f39512d1074264c023314a5a languageName: node linkType: hard -"@clerk/types@npm:3.58.0, @clerk/types@npm:^3.52.0": +"@clerk/types@npm:3.58.0": version: 3.58.0 resolution: "@clerk/types@npm:3.58.0" dependencies: @@ -2235,6 +2197,15 @@ __metadata: languageName: node linkType: hard +"@clerk/types@npm:3.58.1": + version: 3.58.1 + resolution: "@clerk/types@npm:3.58.1" + dependencies: + csstype: 3.1.1 + checksum: 4d87820ab676cc8897e91d4f37ad1074200790c6fe1c866470c786877930e9eda42dea25f778518171a6e56f16f4965fa750bdfc1b32b7ebf1c3f81770ae1055 + languageName: node + linkType: hard + "@colors/colors@npm:1.5.0": version: 1.5.0 resolution: "@colors/colors@npm:1.5.0" @@ -2251,9 +2222,9 @@ __metadata: languageName: node linkType: hard -"@cypress/request@npm:^2.88.10": - version: 2.88.11 - resolution: "@cypress/request@npm:2.88.11" +"@cypress/request@npm:2.88.12": + version: 2.88.12 + resolution: "@cypress/request@npm:2.88.12" dependencies: aws-sign2: ~0.7.0 aws4: ^1.8.0 @@ -2270,10 +2241,10 @@ __metadata: performance-now: ^2.1.0 qs: ~6.10.3 safe-buffer: ^5.1.2 - tough-cookie: ~2.5.0 + tough-cookie: ^4.1.3 tunnel-agent: ^0.6.0 uuid: ^8.3.2 - checksum: d1d47fee93ce599cdbaaab611ce8aa41514cc384415c2b55f6df444aa496552835e2971e8f7a931024b4887bd178def115bceecec5e5a552e1d67aca105dfaff + checksum: 815d56db900d63479a7385f1f76d583f1fea6181499ed8abd54aec477423b03202e1155389e0035c3ec29852a0cce39c21629f358b604f604d4653b6d0ce9d52 languageName: node linkType: hard @@ -2883,9 +2854,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.1": - version: 2.1.1 - resolution: "@eslint/eslintrc@npm:2.1.1" +"@eslint/eslintrc@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/eslintrc@npm:2.1.4" dependencies: ajv: ^6.12.4 debug: ^4.3.2 @@ -2896,14 +2867,14 @@ __metadata: js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: 104ec8997206eabc87de84b87a2852efce0ff98730d377061734da2554c79c9b6d417fbe66248ef5566a0501ef41fddec3a00f79b77731102903586a63b2ed34 + checksum: 32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 languageName: node linkType: hard -"@eslint/js@npm:^8.46.0": - version: 8.46.0 - resolution: "@eslint/js@npm:8.46.0" - checksum: 674c5800e4e9829322aa84195b23c59db326cb42190ac0284bdfe70b2442d544837f3006d8d8c166afaa86ab7072df1b77f7fdb43a60aa2bb1ede90d82e38540 +"@eslint/js@npm:8.55.0": + version: 8.55.0 + resolution: "@eslint/js@npm:8.55.0" + checksum: 88ab9fc57a651becd2b32ec40a3958db27fae133b1ae77bebd733aa5bbd00a92f325bb02f20ad680d31c731fa49b22f060a4777dd52eb3e27da013d940bd978d languageName: node linkType: hard @@ -2975,10 +2946,10 @@ __metadata: languageName: node linkType: hard -"@fastify/error@npm:^3.0.0, @fastify/error@npm:^3.2.0": - version: 3.3.0 - resolution: "@fastify/error@npm:3.3.0" - checksum: b9651ad1b25781880343514bd4dfcbdb55e2459830a78ada73c0ac3dbf217161ee80af7245c7c7bfa370775d0beb146845c7314da13f478ff67520c8128ec3f0 +"@fastify/error@npm:^3.0.0, @fastify/error@npm:^3.4.0": + version: 3.4.1 + resolution: "@fastify/error@npm:3.4.1" + checksum: 1f1a0faa8c86639afb6f4bd47a9cdc1f0f20ce0d6944340fbdec8218aaba91dc9cae9ed78e24e61bceb782a867efda2b9a6320091f00dcbb896d9c8a9bdf5f96 languageName: node linkType: hard @@ -3804,6 +3775,18 @@ __metadata: languageName: node linkType: hard +"@graphql-codegen/add@npm:^5.0.0": + version: 5.0.0 + resolution: "@graphql-codegen/add@npm:5.0.0" + dependencies: + "@graphql-codegen/plugin-helpers": ^5.0.0 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: 1b0d8006862463bf1a8122c8b25f6f91535826149e2eafda85938e5527ced4bbf275bd81cbb55f3378a8329b9c7bce280b8d011abff7eb69196a81aa45f38140 + languageName: node + linkType: hard + "@graphql-codegen/cli@npm:3.3.1": version: 3.3.1 resolution: "@graphql-codegen/cli@npm:3.3.1" @@ -3854,6 +3837,29 @@ __metadata: languageName: node linkType: hard +"@graphql-codegen/client-preset@npm:4.1.0": + version: 4.1.0 + resolution: "@graphql-codegen/client-preset@npm:4.1.0" + dependencies: + "@babel/helper-plugin-utils": ^7.20.2 + "@babel/template": ^7.20.7 + "@graphql-codegen/add": ^5.0.0 + "@graphql-codegen/gql-tag-operations": 4.0.1 + "@graphql-codegen/plugin-helpers": ^5.0.1 + "@graphql-codegen/typed-document-node": ^5.0.1 + "@graphql-codegen/typescript": ^4.0.1 + "@graphql-codegen/typescript-operations": ^4.0.1 + "@graphql-codegen/visitor-plugin-common": ^4.0.1 + "@graphql-tools/documents": ^1.0.0 + "@graphql-tools/utils": ^10.0.0 + "@graphql-typed-document-node/core": 3.2.0 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: c975e72a97a0f679a9ee77265ad5cf535d17d5409fb39704653f0b6c203e1c6815e0a81b20b0d597ebb8f537a5a8a5a601a9366073270fde9971408f0ddadc1d + languageName: node + linkType: hard + "@graphql-codegen/core@npm:3.1.0, @graphql-codegen/core@npm:^3.1.0": version: 3.1.0 resolution: "@graphql-codegen/core@npm:3.1.0" @@ -3880,6 +3886,21 @@ __metadata: languageName: node linkType: hard +"@graphql-codegen/gql-tag-operations@npm:4.0.1": + version: 4.0.1 + resolution: "@graphql-codegen/gql-tag-operations@npm:4.0.1" + dependencies: + "@graphql-codegen/plugin-helpers": ^5.0.0 + "@graphql-codegen/visitor-plugin-common": 4.0.1 + "@graphql-tools/utils": ^10.0.0 + auto-bind: ~4.0.0 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: c2e0be33d2e0362892b466058da02ad8476192691ce8efc64f0e94116a1b2ae6c1a479b5d399f4396fee3c54959f5e4a296d994bcffa458c1ec5167c56d183ab + languageName: node + linkType: hard + "@graphql-codegen/plugin-helpers@npm:^2.7.2": version: 2.7.2 resolution: "@graphql-codegen/plugin-helpers@npm:2.7.2" @@ -3912,7 +3933,7 @@ __metadata: languageName: node linkType: hard -"@graphql-codegen/plugin-helpers@npm:^5.0.0": +"@graphql-codegen/plugin-helpers@npm:^5.0.0, @graphql-codegen/plugin-helpers@npm:^5.0.1": version: 5.0.1 resolution: "@graphql-codegen/plugin-helpers@npm:5.0.1" dependencies: @@ -3941,6 +3962,34 @@ __metadata: languageName: node linkType: hard +"@graphql-codegen/schema-ast@npm:^4.0.0": + version: 4.0.0 + resolution: "@graphql-codegen/schema-ast@npm:4.0.0" + dependencies: + "@graphql-codegen/plugin-helpers": ^5.0.0 + "@graphql-tools/utils": ^10.0.0 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: 82b7dcca9bbec4406d107e97f611d4c8657a65064a19c93e5319047a780a051392ef70e27b5d501e765eb0fb0a3f08d69e5051d7797c5d2f0756bae93e871154 + languageName: node + linkType: hard + +"@graphql-codegen/typed-document-node@npm:5.0.1, @graphql-codegen/typed-document-node@npm:^5.0.1": + version: 5.0.1 + resolution: "@graphql-codegen/typed-document-node@npm:5.0.1" + dependencies: + "@graphql-codegen/plugin-helpers": ^5.0.0 + "@graphql-codegen/visitor-plugin-common": 4.0.1 + auto-bind: ~4.0.0 + change-case-all: 1.0.15 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: 84c7a10d9a574987c7a18f81ad43dff92e1605f9295488ef314cf17273772bb2fd406772164b2a601fda15b280fbc0d3d42cdc8c9ce742b68e4423faf9a2aca0 + languageName: node + linkType: hard + "@graphql-codegen/typescript-operations@npm:3.0.4": version: 3.0.4 resolution: "@graphql-codegen/typescript-operations@npm:3.0.4" @@ -3956,6 +4005,21 @@ __metadata: languageName: node linkType: hard +"@graphql-codegen/typescript-operations@npm:^4.0.1": + version: 4.0.1 + resolution: "@graphql-codegen/typescript-operations@npm:4.0.1" + dependencies: + "@graphql-codegen/plugin-helpers": ^5.0.0 + "@graphql-codegen/typescript": ^4.0.1 + "@graphql-codegen/visitor-plugin-common": 4.0.1 + auto-bind: ~4.0.0 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: dd372cdc732831376fd0f931c419ed2fdcedfb79ac49117fa98aaceec70c3839697cd7eb9d276be39512d1490272ebc6d7919dcc9760f2aa200058dcc6a89086 + languageName: node + linkType: hard + "@graphql-codegen/typescript-react-apollo@npm:3.3.7": version: 3.3.7 resolution: "@graphql-codegen/typescript-react-apollo@npm:3.3.7" @@ -4003,6 +4067,21 @@ __metadata: languageName: node linkType: hard +"@graphql-codegen/typescript@npm:^4.0.1": + version: 4.0.1 + resolution: "@graphql-codegen/typescript@npm:4.0.1" + dependencies: + "@graphql-codegen/plugin-helpers": ^5.0.0 + "@graphql-codegen/schema-ast": ^4.0.0 + "@graphql-codegen/visitor-plugin-common": 4.0.1 + auto-bind: ~4.0.0 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: b3e5b0759e56c27c9eaed09d909eca32bfed25b29320c4e948fecfa3a354e7467885ff55082461a18e77c30445d3316585c403df861ed6f894305dfd613bb334 + languageName: node + linkType: hard + "@graphql-codegen/visitor-plugin-common@npm:2.13.1": version: 2.13.1 resolution: "@graphql-codegen/visitor-plugin-common@npm:2.13.1" @@ -4043,6 +4122,26 @@ __metadata: languageName: node linkType: hard +"@graphql-codegen/visitor-plugin-common@npm:4.0.1, @graphql-codegen/visitor-plugin-common@npm:^4.0.1": + version: 4.0.1 + resolution: "@graphql-codegen/visitor-plugin-common@npm:4.0.1" + dependencies: + "@graphql-codegen/plugin-helpers": ^5.0.0 + "@graphql-tools/optimize": ^2.0.0 + "@graphql-tools/relay-operation-optimizer": ^7.0.0 + "@graphql-tools/utils": ^10.0.0 + auto-bind: ~4.0.0 + change-case-all: 1.0.15 + dependency-graph: ^0.11.0 + graphql-tag: ^2.11.0 + parse-filepath: ^1.0.2 + tslib: ~2.5.0 + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + checksum: 704c08bf29b274a463c8a20381f280f3294c4e48764b8b99ae9fbca610e2b54ac5ee1cf0e1165962e75c49dd8d2237f743d56bd3f5e66c5a072bc77c22f49be6 + languageName: node + linkType: hard + "@graphql-tools/apollo-engine-loader@npm:^7.3.6": version: 7.3.26 resolution: "@graphql-tools/apollo-engine-loader@npm:7.3.26" @@ -4103,6 +4202,18 @@ __metadata: languageName: node linkType: hard +"@graphql-tools/documents@npm:1.0.0, @graphql-tools/documents@npm:^1.0.0": + version: 1.0.0 + resolution: "@graphql-tools/documents@npm:1.0.0" + dependencies: + lodash.sortby: ^4.7.0 + tslib: ^2.4.0 + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 06b2cc9f8d0fb7e5c43e434cab35698655d6d65cfa94c301996d6b1354101837a8e709b26dc5251fa2c3216e8469fb0db76b4cd93ca015b61f75e9926db9d9ef + languageName: node + linkType: hard + "@graphql-tools/executor-graphql-ws@npm:^0.0.14": version: 0.0.14 resolution: "@graphql-tools/executor-graphql-ws@npm:0.0.14" @@ -4288,15 +4399,15 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/merge@npm:9.0.0, @graphql-tools/merge@npm:^9.0.0": - version: 9.0.0 - resolution: "@graphql-tools/merge@npm:9.0.0" +"@graphql-tools/merge@npm:9.0.1, @graphql-tools/merge@npm:^9.0.1": + version: 9.0.1 + resolution: "@graphql-tools/merge@npm:9.0.1" dependencies: - "@graphql-tools/utils": ^10.0.0 + "@graphql-tools/utils": ^10.0.10 tslib: ^2.4.0 peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: 10376dbf1b64a3659dfa01d63bdafbb8addac829c0e772fc4596df4b46f249bee179692cc3f06b1157bdc3dccfe3a46caf5499786cce203eb0f7e124c88a5648 + checksum: cbfcb2c10490a11417991e8b61b8df2eba73a2c576e57cbf2d928902030d4391122536b9442bf042609ec24376b79b8bc6d9117e137dd8db2255ed90613acbc7 languageName: node linkType: hard @@ -4323,6 +4434,17 @@ __metadata: languageName: node linkType: hard +"@graphql-tools/optimize@npm:^2.0.0": + version: 2.0.0 + resolution: "@graphql-tools/optimize@npm:2.0.0" + dependencies: + tslib: ^2.4.0 + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: db4ac0a2b0c89126ee7746e5615ae003d8665b684b17fb35956a7633fefb0e329a047f32a975cfbdf83f0f5ac4ae09fe469834fd71fdd49d8ed932fda79012fd + languageName: node + linkType: hard + "@graphql-tools/prisma-loader@npm:^7.2.49": version: 7.2.72 resolution: "@graphql-tools/prisma-loader@npm:7.2.72" @@ -4364,17 +4486,30 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/schema@npm:10.0.0, @graphql-tools/schema@npm:^10.0.0": - version: 10.0.0 - resolution: "@graphql-tools/schema@npm:10.0.0" +"@graphql-tools/relay-operation-optimizer@npm:^7.0.0": + version: 7.0.0 + resolution: "@graphql-tools/relay-operation-optimizer@npm:7.0.0" dependencies: - "@graphql-tools/merge": ^9.0.0 + "@ardatan/relay-compiler": 12.0.0 "@graphql-tools/utils": ^10.0.0 tslib: ^2.4.0 + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + checksum: 88f483d7fdd68f137f5b5a9e0cb8c4f312cebcc8366155570f08cb8c3f5d805e0db5e780ff8551600b7dfb8840958ff9ec3c5cd5121fd8be01d216ff4f4bdb56 + languageName: node + linkType: hard + +"@graphql-tools/schema@npm:10.0.2, @graphql-tools/schema@npm:^10.0.0": + version: 10.0.2 + resolution: "@graphql-tools/schema@npm:10.0.2" + dependencies: + "@graphql-tools/merge": ^9.0.1 + "@graphql-tools/utils": ^10.0.10 + tslib: ^2.4.0 value-or-promise: ^1.0.12 peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: b746c69cefb3b89fad13d56f0abb9e764efe1569836ea9ae5e5c510a6f0bce6e08f324b28aebcb5b2c11ba2ea1c308f18c204e322a188e254e2c7e426d3ccecb + checksum: 3d71117c8d8ed491aa5b988bcdfcc1a7ca8cea8638b37083af2665a0dbb95e1255961a8a43658538ad33b83d621812886a4626ad7a5333d7d9e6c62304b52cb2 languageName: node linkType: hard @@ -4415,9 +4550,9 @@ __metadata: languageName: node linkType: hard -"@graphql-tools/utils@npm:10.0.8, @graphql-tools/utils@npm:^10.0.0": - version: 10.0.8 - resolution: "@graphql-tools/utils@npm:10.0.8" +"@graphql-tools/utils@npm:10.0.11, @graphql-tools/utils@npm:^10.0.0, @graphql-tools/utils@npm:^10.0.10": + version: 10.0.11 + resolution: "@graphql-tools/utils@npm:10.0.11" dependencies: "@graphql-typed-document-node/core": ^3.1.1 cross-inspect: 1.0.0 @@ -4425,7 +4560,7 @@ __metadata: tslib: ^2.4.0 peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - checksum: ea0dfa4535ba360d27a1eb501d48a114a9ebb6224d178b89e3d978b19bd30d98fc1622cbeb31b2198b3e06cb9f717edb70933530958509bfcf0458842618a1b0 + checksum: 61c464541fe0b17d26cec83f93b5f4a3af352e10c22878c5449fbea5f22c68f1e0c78ddc0a93f480da42dba80fb41ebfe99920915c389ac132a0217ef808d2bc languageName: node linkType: hard @@ -4504,11 +4639,22 @@ __metadata: graphql-sse: ^2.0.0 peerDependencies: graphql: ^15.2.0 || ^16.0.0 - graphql-yoga: ^4.0.5 + graphql-yoga: ^4.0.4 checksum: 5da378feeef61c134ff7a95dfe8d8cab38df33a64218209e4ab918310fef853a975f354a2d23174fab506f47153a35fd6fa51f2204b427070680011a8b9d5cc9 languageName: node linkType: hard +"@graphql-yoga/plugin-persisted-operations@npm:2.0.5": + version: 2.0.5 + resolution: "@graphql-yoga/plugin-persisted-operations@npm:2.0.5" + peerDependencies: + "@graphql-tools/utils": ^10.0.0 + graphql: ^15.2.0 || ^16.0.0 + graphql-yoga: ^4.0.5 + checksum: af87ff6a0ff2088bd25d1fd6dabea80c31153533fdda6fc3342a301b3106e49d19bc70e2486d2254eab978054b5a9c89b36cfb7b643fc9e0000bced9c03a1927 + languageName: node + linkType: hard + "@graphql-yoga/redis-event-target@npm:2.0.0": version: 2.0.0 resolution: "@graphql-yoga/redis-event-target@npm:2.0.0" @@ -4626,14 +4772,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.10": - version: 0.11.10 - resolution: "@humanwhocodes/config-array@npm:0.11.10" +"@humanwhocodes/config-array@npm:^0.11.13": + version: 0.11.13 + resolution: "@humanwhocodes/config-array@npm:0.11.13" dependencies: - "@humanwhocodes/object-schema": ^1.2.1 + "@humanwhocodes/object-schema": ^2.0.1 debug: ^4.1.1 minimatch: ^3.0.5 - checksum: 9e307a49a5baa28beb243d2c14c145f288fccd6885f4c92a9055707057ec40980242256b2a07c976cfa6c75f7081da111a40a9844d1ca8daeff2302f8b640e76 + checksum: d76ca802d853366094d0e98ff0d0994117fc8eff96649cd357b15e469e428228f597cd2e929d54ab089051684949955f16ee905bb19f7b2f0446fb377157be7a languageName: node linkType: hard @@ -4644,10 +4790,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^1.2.1": - version: 1.2.1 - resolution: "@humanwhocodes/object-schema@npm:1.2.1" - checksum: c3c35fdb70c04a569278351c75553e293ae339684ed75895edc79facc7276e351115786946658d78133130c0cca80e57e2203bc07f8fa7fe7980300e8deef7db +"@humanwhocodes/object-schema@npm:^2.0.1": + version: 2.0.1 + resolution: "@humanwhocodes/object-schema@npm:2.0.1" + checksum: 9dba24e59fdb4041829d92b693aacb778add3b6f612aaa9c0774f3b650c11a378cc64f042a59da85c11dae33df456580a3c36837b953541aed6ff94294f97fac languageName: node linkType: hard @@ -4706,7 +4852,7 @@ __metadata: languageName: node linkType: hard -"@istanbuljs/schema@npm:^0.1.2, @istanbuljs/schema@npm:^0.1.3": +"@istanbuljs/schema@npm:^0.1.2": version: 0.1.3 resolution: "@istanbuljs/schema@npm:0.1.3" checksum: 61c5286771676c9ca3eb2bd8a7310a9c063fb6e0e9712225c8471c582d157392c88f5353581c8c9adbe0dff98892317d2fdfc56c3499aa42e0194405206a963a @@ -4992,7 +5138,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.10": +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.15": version: 1.4.15 resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" checksum: 0c6b5ae663087558039052a626d2d7ed5208da36cfd707dcc5cea4a07cfc918248403dcb5989a8f7afaf245ce0573b7cc6fd94c4a30453bd10e44d9363940ba5 @@ -5482,9 +5628,9 @@ __metadata: languageName: node linkType: hard -"@npmcli/arborist@npm:6.2.10": - version: 6.2.10 - resolution: "@npmcli/arborist@npm:6.2.10" +"@npmcli/arborist@npm:6.5.0": + version: 6.5.0 + resolution: "@npmcli/arborist@npm:6.5.0" dependencies: "@isaacs/string-locale-compare": ^1.1.0 "@npmcli/fs": ^3.1.0 @@ -5493,7 +5639,7 @@ __metadata: "@npmcli/metavuln-calculator": ^5.0.0 "@npmcli/name-from-folder": ^2.0.0 "@npmcli/node-gyp": ^3.0.0 - "@npmcli/package-json": ^3.0.0 + "@npmcli/package-json": ^4.0.0 "@npmcli/query": ^3.0.0 "@npmcli/run-script": ^6.0.0 bin-links: ^4.0.1 @@ -5504,7 +5650,7 @@ __metadata: json-stringify-nice: ^1.1.4 minimatch: ^9.0.0 nopt: ^7.0.0 - npm-install-checks: ^6.0.0 + npm-install-checks: ^6.2.0 npm-package-arg: ^10.1.0 npm-pick-manifest: ^8.0.1 npm-registry-fetch: ^14.0.3 @@ -5521,7 +5667,7 @@ __metadata: walk-up-path: ^3.0.1 bin: arborist: bin/index.js - checksum: 2bd713fa742e72cdad62307a92c5bba61bfb6de910d61b9b94dd21d67bbd917257ff127eeb11d9231af7dd7fc3700b46142e06fb782c6ebb3b4e163df0d0698f + checksum: f245b372e4d9319aa41aa2e16ff8ffdbbb6ce13a34c090eb4dda9b5597c031dcfc97f0f2f918b576667e0ae0544f36ed1bccbc53f401209184268608fc1e19cc languageName: node linkType: hard @@ -5620,17 +5766,18 @@ __metadata: languageName: node linkType: hard -"@npmcli/package-json@npm:^3.0.0": - version: 3.1.1 - resolution: "@npmcli/package-json@npm:3.1.1" +"@npmcli/package-json@npm:^4.0.0": + version: 4.0.1 + resolution: "@npmcli/package-json@npm:4.0.1" dependencies: "@npmcli/git": ^4.1.0 glob: ^10.2.2 + hosted-git-info: ^6.1.1 json-parse-even-better-errors: ^3.0.0 normalize-package-data: ^5.0.0 - npm-normalize-package-bin: ^3.0.1 proc-log: ^3.0.0 - checksum: fc3052a36cb65c011da75dfdb051b631557e5ccc7b25b64be87cb363e8f2e99d78fcf94495f456406ada2c75afaff8177a2a06a46594f15eb0b4e667110a415e + semver: ^7.5.3 + checksum: 61adec288372827e482d4c6bda8186e239b1419a6f018552a0444520720022fb2903d08438f32881fe2eccabb8cf29dcb1c5c5c62c4fc970d79ad71fe9a41e46 languageName: node linkType: hard @@ -5674,34 +5821,24 @@ __metadata: languageName: node linkType: hard -"@nrwl/nx-cloud@npm:16.2.0": - version: 16.2.0 - resolution: "@nrwl/nx-cloud@npm:16.2.0" +"@nrwl/nx-cloud@npm:16.5.2": + version: 16.5.2 + resolution: "@nrwl/nx-cloud@npm:16.5.2" dependencies: - nx-cloud: 16.2.0 - checksum: f64edb06a6567e764812105b7ee440f3d2828bf946813cf630e443a0e72ea8017203f347c1d916026af8522021f36e47be8dc8374847fd89e9c678ae32bc427a + nx-cloud: 16.5.2 + checksum: 2e33e731968245938d489480fd65e47d9fcf60b69b62a3aea3ff8eb777a87e650557ea7923d26381f26b72ce97c35de312183e858bd8e2549cc6690b1fe7106a languageName: node linkType: hard -"@nrwl/tao@npm:16.4.1": - version: 16.4.1 - resolution: "@nrwl/tao@npm:16.4.1" +"@nrwl/tao@npm:16.10.0": + version: 16.10.0 + resolution: "@nrwl/tao@npm:16.10.0" dependencies: - nx: 16.4.1 - bin: - tao: index.js - checksum: 1b170fe0a1cfdb85b43947f47b96f0bcc62ee3c24b183b479d25dc280b2338d65269105e2297382c6527d6e95a11ef3a09022a5eef3134b9a0ae69a729547239 - languageName: node - linkType: hard - -"@nrwl/tao@npm:16.5.5": - version: 16.5.5 - resolution: "@nrwl/tao@npm:16.5.5" - dependencies: - nx: 16.5.5 + nx: 16.10.0 + tslib: ^2.3.0 bin: tao: index.js - checksum: d45fb88e3b128c8770e166cb54f6a8b9c4dc106f3bfda02fd035d598bf1406117c6769657574f0b3ea118b6bf66a7a0a9464173b59e35545caaf12535c81c614 + checksum: 9e681fdb866948a6e81e71ccc673c1c94d04c15b3380ab544526cb533f2ed72728bc1d9f47a788980047c36ed3420d68f9f50cdb8d08d7aa1f38ecf9835f20de languageName: node linkType: hard @@ -5721,142 +5858,72 @@ __metadata: languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-darwin-arm64@npm:16.4.1" +"@nx/nx-darwin-arm64@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-darwin-arm64@npm:16.10.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@nx/nx-darwin-arm64@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-darwin-arm64@npm:16.5.5" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"@nx/nx-darwin-x64@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-darwin-x64@npm:16.4.1" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"@nx/nx-darwin-x64@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-darwin-x64@npm:16.5.5" +"@nx/nx-darwin-x64@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-darwin-x64@npm:16.10.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-freebsd-x64@npm:16.4.1" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@nx/nx-freebsd-x64@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-freebsd-x64@npm:16.5.5" +"@nx/nx-freebsd-x64@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-freebsd-x64@npm:16.10.0" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:16.4.1" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@nx/nx-linux-arm-gnueabihf@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:16.5.5" +"@nx/nx-linux-arm-gnueabihf@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-linux-arm-gnueabihf@npm:16.10.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-linux-arm64-gnu@npm:16.4.1" +"@nx/nx-linux-arm64-gnu@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-linux-arm64-gnu@npm:16.10.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-linux-arm64-gnu@npm:16.5.5" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - -"@nx/nx-linux-arm64-musl@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-linux-arm64-musl@npm:16.4.1" +"@nx/nx-linux-arm64-musl@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-linux-arm64-musl@npm:16.10.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-linux-arm64-musl@npm:16.5.5" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - -"@nx/nx-linux-x64-gnu@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-linux-x64-gnu@npm:16.4.1" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - -"@nx/nx-linux-x64-gnu@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-linux-x64-gnu@npm:16.5.5" +"@nx/nx-linux-x64-gnu@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-linux-x64-gnu@npm:16.10.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-linux-x64-musl@npm:16.4.1" +"@nx/nx-linux-x64-musl@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-linux-x64-musl@npm:16.10.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-linux-x64-musl@npm:16.5.5" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - -"@nx/nx-win32-arm64-msvc@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-win32-arm64-msvc@npm:16.4.1" +"@nx/nx-win32-arm64-msvc@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-win32-arm64-msvc@npm:16.10.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-win32-arm64-msvc@npm:16.5.5" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@nx/nx-win32-x64-msvc@npm:16.4.1": - version: 16.4.1 - resolution: "@nx/nx-win32-x64-msvc@npm:16.4.1" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"@nx/nx-win32-x64-msvc@npm:16.5.5": - version: 16.5.5 - resolution: "@nx/nx-win32-x64-msvc@npm:16.5.5" +"@nx/nx-win32-x64-msvc@npm:16.10.0": + version: 16.10.0 + resolution: "@nx/nx-win32-x64-msvc@npm:16.10.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -6197,19 +6264,12 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/api-logs@npm:0.41.2": - version: 0.41.2 - resolution: "@opentelemetry/api-logs@npm:0.41.2" +"@opentelemetry/api-logs@npm:0.45.1": + version: 0.45.1 + resolution: "@opentelemetry/api-logs@npm:0.45.1" dependencies: "@opentelemetry/api": ^1.0.0 - checksum: 582f9ad3f55f5a8167c70f6388ef857727dea2c4b1b287ab803586832cb2e5717b7ea05d54118a05203de80dc79550710edbebc59bfda4e5b5901dbf8f9daaaf - languageName: node - linkType: hard - -"@opentelemetry/api@npm:1.4.1": - version: 1.4.1 - resolution: "@opentelemetry/api@npm:1.4.1" - checksum: 5ee641d3d64c91e87ee328fc22251fc70c809a3c744e51e595ca77c0bd3cad933b77a79beb4dac66b811e5068941cef9da58c1ec217c0748a01f598e08a7ae66 + checksum: 110784924fe39fd544ff71ca6f117834e229fc7940fea7492b3d2bdf1259fc7819860603fda7cc970b6ecd37d79f365be559e0999141172e455e8a839c4d0836 languageName: node linkType: hard @@ -6220,161 +6280,161 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/context-async-hooks@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/context-async-hooks@npm:1.15.2" +"@opentelemetry/context-async-hooks@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/context-async-hooks@npm:1.18.1" peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.5.0" - checksum: 1ff8895f0fdda9814346c378cc1dc33c79e3d7c2d29ef9f45153d448c5972b661aa7c0c411057bc9832fa4f0ebd58a6292588229927ec65fc0eef589195b63be + "@opentelemetry/api": ">=1.0.0 <1.8.0" + checksum: 6de54978adc500dbcc96738f0a74080c784a5bfe25bd193158bf4abb14659a9a27595cbd65f45dc9058b02c6c9ae883a2a0002b72c036264db676213c25cb7c8 languageName: node linkType: hard -"@opentelemetry/core@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/core@npm:1.15.2" +"@opentelemetry/core@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/core@npm:1.18.1" dependencies: - "@opentelemetry/semantic-conventions": 1.15.2 + "@opentelemetry/semantic-conventions": 1.18.1 peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.5.0" - checksum: 330f5905edec32f965151f2b314ae73344ac28672ea2c41ac41687413ac91dcd5c7ab99590dac9870ce189bb3d2a73a780c98e7bf1c8826c4c197a5698db96a4 + "@opentelemetry/api": ">=1.0.0 <1.8.0" + checksum: ceb17446ce32faaa8d71caaaf25c9abbc5fd72077c7b868ea6f51e08a4a3daeb9133682a3b299a64291111416f2dd0dbeeed66f44409995fa4540f7250e3ffe1 languageName: node linkType: hard -"@opentelemetry/exporter-trace-otlp-http@npm:0.41.2": - version: 0.41.2 - resolution: "@opentelemetry/exporter-trace-otlp-http@npm:0.41.2" +"@opentelemetry/exporter-trace-otlp-http@npm:0.45.1": + version: 0.45.1 + resolution: "@opentelemetry/exporter-trace-otlp-http@npm:0.45.1" dependencies: - "@opentelemetry/core": 1.15.2 - "@opentelemetry/otlp-exporter-base": 0.41.2 - "@opentelemetry/otlp-transformer": 0.41.2 - "@opentelemetry/resources": 1.15.2 - "@opentelemetry/sdk-trace-base": 1.15.2 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/otlp-exporter-base": 0.45.1 + "@opentelemetry/otlp-transformer": 0.45.1 + "@opentelemetry/resources": 1.18.1 + "@opentelemetry/sdk-trace-base": 1.18.1 peerDependencies: "@opentelemetry/api": ^1.0.0 - checksum: 2f89643b01d1321312fdc68a5ba6fd354994ee39f6623c495579089b67e236f7aa703f702627885b7a8f772bf8639d73a3d04ed550db9e6cae3236e67c7ec6c2 + checksum: 3561877ff62bff651a7a4f0f17578910843fc5e00e2e33493591c61a2ac4d85c936b5024fc1dbcbb53c3cf3079914fbf9d80f71dfc3a6301589152b3e5ad84c0 languageName: node linkType: hard -"@opentelemetry/otlp-exporter-base@npm:0.41.2": - version: 0.41.2 - resolution: "@opentelemetry/otlp-exporter-base@npm:0.41.2" +"@opentelemetry/otlp-exporter-base@npm:0.45.1": + version: 0.45.1 + resolution: "@opentelemetry/otlp-exporter-base@npm:0.45.1" dependencies: - "@opentelemetry/core": 1.15.2 + "@opentelemetry/core": 1.18.1 peerDependencies: "@opentelemetry/api": ^1.0.0 - checksum: dc0d70579e4e0157d5e4f687b7e6a877469cd394f9db2e23550db762eedbbd0b1201913db6858e4402ffd4109d2dcceadb5fed1ee413ca432f0f0cbd3af52ef5 + checksum: 22f30443238c2c9ddf26f1a18bf80012bc38cefe0e7ee6c32bd5c44d1f2303b11ab68130b638bd5f977ebc40d030890a407466033b42a9a9dba02c864568f82f languageName: node linkType: hard -"@opentelemetry/otlp-transformer@npm:0.41.2": - version: 0.41.2 - resolution: "@opentelemetry/otlp-transformer@npm:0.41.2" +"@opentelemetry/otlp-transformer@npm:0.45.1": + version: 0.45.1 + resolution: "@opentelemetry/otlp-transformer@npm:0.45.1" dependencies: - "@opentelemetry/api-logs": 0.41.2 - "@opentelemetry/core": 1.15.2 - "@opentelemetry/resources": 1.15.2 - "@opentelemetry/sdk-logs": 0.41.2 - "@opentelemetry/sdk-metrics": 1.15.2 - "@opentelemetry/sdk-trace-base": 1.15.2 + "@opentelemetry/api-logs": 0.45.1 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/resources": 1.18.1 + "@opentelemetry/sdk-logs": 0.45.1 + "@opentelemetry/sdk-metrics": 1.18.1 + "@opentelemetry/sdk-trace-base": 1.18.1 peerDependencies: - "@opentelemetry/api": ">=1.3.0 <1.5.0" - checksum: 9d06300190020a1988378dea01fee3de8def099fcbbb40141d7986448f48414c2e5f292cc1167239cec7136f8c597da024404805a64ee88f7ad99ceeab0ca60f + "@opentelemetry/api": ">=1.3.0 <1.8.0" + checksum: 5e306e88dff99ef48543edda3e76851fe8d8894981f138479623befa0e8276d84541beaee6ef2a4dfe0bc5a2feb96b3137edb17ad0751d332e67b9d67f49ffa3 languageName: node linkType: hard -"@opentelemetry/propagator-b3@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/propagator-b3@npm:1.15.2" +"@opentelemetry/propagator-b3@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/propagator-b3@npm:1.18.1" dependencies: - "@opentelemetry/core": 1.15.2 + "@opentelemetry/core": 1.18.1 peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.5.0" - checksum: 0e21b4859f58808099a1321b1c0438810aa411d7ce576b80df019ab4b2d4c3a088318f97eea667a690211d38e401ca8b90dd1f0843658a55f1e783da8c5d5869 + "@opentelemetry/api": ">=1.0.0 <1.8.0" + checksum: c3a31c3679f66a407da3e867775a01f0fbeda5ccd4482bb2979af6285c545ceaed41ad6f9061124daf4d6af2e1f4b3db52095085b159df6197454612752c4cfb languageName: node linkType: hard -"@opentelemetry/propagator-jaeger@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/propagator-jaeger@npm:1.15.2" +"@opentelemetry/propagator-jaeger@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/propagator-jaeger@npm:1.18.1" dependencies: - "@opentelemetry/core": 1.15.2 + "@opentelemetry/core": 1.18.1 peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.5.0" - checksum: f6aaa97919dd60ed04f42090da6280620829ca892cf190a40ae3b86a2928cff3b1185aa3ddf01e62fcb9e81d74d726f95fa986c0522e8f12485aae9973168447 + "@opentelemetry/api": ">=1.0.0 <1.8.0" + checksum: 622035eed6a219b24bbb26d12d4efe1ed8d84f5e5045b5e948808ea92d5f0a029233ea47126c8322c3c9d6c3f1fe904aed82ed9f68c4e006123ae083c0fb2f32 languageName: node linkType: hard -"@opentelemetry/resources@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/resources@npm:1.15.2" +"@opentelemetry/resources@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/resources@npm:1.18.1" dependencies: - "@opentelemetry/core": 1.15.2 - "@opentelemetry/semantic-conventions": 1.15.2 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/semantic-conventions": 1.18.1 peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.5.0" - checksum: 137a20a5cc2a71039919fc8a38b44c424c3fc4d7b413e2c8fd8db503244387f67cc971f4018bfc7b04fb9df6da2dea683ff9fb2775673f15bd63bca62cf92015 + "@opentelemetry/api": ">=1.0.0 <1.8.0" + checksum: 064cc1948c7ea9a31edfbf9945c326be1c2802e48c0c0e977cfd2cb4e5e3b63de13d7cc299da31ca99fd2fc82587c16fca53fc60a64db49d479fb16b4593eaea languageName: node linkType: hard -"@opentelemetry/sdk-logs@npm:0.41.2": - version: 0.41.2 - resolution: "@opentelemetry/sdk-logs@npm:0.41.2" +"@opentelemetry/sdk-logs@npm:0.45.1": + version: 0.45.1 + resolution: "@opentelemetry/sdk-logs@npm:0.45.1" dependencies: - "@opentelemetry/core": 1.15.2 - "@opentelemetry/resources": 1.15.2 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/resources": 1.18.1 peerDependencies: - "@opentelemetry/api": ">=1.4.0 <1.5.0" + "@opentelemetry/api": ">=1.4.0 <1.8.0" "@opentelemetry/api-logs": ">=0.39.1" - checksum: aeb1aa2b7f848b5ac237cd195be064a281118cfedc995157df833fd1b0f2da94315b5d3a45a3f1fdcb75bbe2f032c42bdf144a52fd340f61b0a8a70ab4a97794 + checksum: 9210dab03024509500a0af9905ad676fdfc118fcccc9be8fa9e0c11147bdc242c580407c7bf2395502193884715e292ee17e811cede2586465dda04b2c8464e0 languageName: node linkType: hard -"@opentelemetry/sdk-metrics@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/sdk-metrics@npm:1.15.2" +"@opentelemetry/sdk-metrics@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/sdk-metrics@npm:1.18.1" dependencies: - "@opentelemetry/core": 1.15.2 - "@opentelemetry/resources": 1.15.2 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/resources": 1.18.1 lodash.merge: ^4.6.2 peerDependencies: - "@opentelemetry/api": ">=1.3.0 <1.5.0" - checksum: 2000356b0d29673ec7a40fc354e2c2147dd7b90885095e5cbc2c995403e1752e971d24a5241c6485dd4c69026dbd3c23757340c8fe90f2f0ee16c912f3b0d6dd + "@opentelemetry/api": ">=1.3.0 <1.8.0" + checksum: 3c7050eb997d0bf9d1a6182f94cb49fcf4d62dd47df45b7e9e881df5bd6135a0d54c664fd29ae2a21fbf7cf93715c0e3e4a390bd56059e70a9ccd3f7ee5ab6a4 languageName: node linkType: hard -"@opentelemetry/sdk-trace-base@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/sdk-trace-base@npm:1.15.2" +"@opentelemetry/sdk-trace-base@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/sdk-trace-base@npm:1.18.1" dependencies: - "@opentelemetry/core": 1.15.2 - "@opentelemetry/resources": 1.15.2 - "@opentelemetry/semantic-conventions": 1.15.2 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/resources": 1.18.1 + "@opentelemetry/semantic-conventions": 1.18.1 peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.5.0" - checksum: acfdf1995f7faeeba2656e7272d63fb87af535eddba6ab4457b93d8a4548925beaa5f6335e2580d060a971020c69a9439c8e830130f21c2b1a94200c9d28c2f3 + "@opentelemetry/api": ">=1.0.0 <1.8.0" + checksum: e3ab716724d9d761c12cbabc41246e7ef27d8c05bc298cae0fa9a7fc84cf9229a87d4128b6ff28d11f12fcc4b0cdabad13d80a5ea57f99e26860bdf38622173c languageName: node linkType: hard -"@opentelemetry/sdk-trace-node@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/sdk-trace-node@npm:1.15.2" +"@opentelemetry/sdk-trace-node@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/sdk-trace-node@npm:1.18.1" dependencies: - "@opentelemetry/context-async-hooks": 1.15.2 - "@opentelemetry/core": 1.15.2 - "@opentelemetry/propagator-b3": 1.15.2 - "@opentelemetry/propagator-jaeger": 1.15.2 - "@opentelemetry/sdk-trace-base": 1.15.2 - semver: ^7.5.1 + "@opentelemetry/context-async-hooks": 1.18.1 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/propagator-b3": 1.18.1 + "@opentelemetry/propagator-jaeger": 1.18.1 + "@opentelemetry/sdk-trace-base": 1.18.1 + semver: ^7.5.2 peerDependencies: - "@opentelemetry/api": ">=1.0.0 <1.5.0" - checksum: 7378d8dbb61ee5a69d4141777d71f00d7d41a3bf7f9a564b07335182309233e83bda0e13459e082d33b1ebb56257f7054925e52d00ee3a2ad36987a5eaa8e669 + "@opentelemetry/api": ">=1.0.0 <1.8.0" + checksum: 1b9f4718b12da439e8147a3bba8d7902cd9fd316954fbdbc51b72b90f2eede3ae17f97331f7cf888df9994f4c7cd63f4b64286a74c0cfc8695e7df0b913d1349 languageName: node linkType: hard -"@opentelemetry/semantic-conventions@npm:1.15.2": - version: 1.15.2 - resolution: "@opentelemetry/semantic-conventions@npm:1.15.2" - checksum: 84428c3703e5bd0fb8e3f99cad0a48feb2ac03fec025f3a5691745486a89e446ea8fdf701c334d9dbb70a0c9f7053af777105f4ebc58fb1c602edb9aef918b28 +"@opentelemetry/semantic-conventions@npm:1.18.1": + version: 1.18.1 + resolution: "@opentelemetry/semantic-conventions@npm:1.18.1" + checksum: 6437c3758e732d643218e35c66fa931ddf65dde9a33c10af16b866135cbb5357fc3424316139c2ca1188cf0f5b23e844b6e6c9ab461637cb150a40219bee70e9 languageName: node linkType: hard @@ -6604,23 +6664,18 @@ __metadata: languageName: node linkType: hard -"@playwright/test@npm:1.37.1": - version: 1.37.1 - resolution: "@playwright/test@npm:1.37.1" +"@playwright/test@npm:1.40.1": + version: 1.40.1 + resolution: "@playwright/test@npm:1.40.1" dependencies: - "@types/node": "*" - fsevents: 2.3.2 - playwright-core: 1.37.1 - dependenciesMeta: - fsevents: - optional: true + playwright: 1.40.1 bin: playwright: cli.js - checksum: 82f12766cfbbc38592d38e8ddca185c488332b0747fb607ddc00b4f8cbb7311cfb712b27f780504b737c71aec9c49748bca7ad7784521ece5b5bb5db3d3031c8 + checksum: 1edbc9659fb6a9c5299cacd9a0c7d3fdc88939036642d8f367e13d267d808ae3f88ca9d00e9981e3bcd5f584ccefba38d24eda6b23d27895908f203dc35f339e languageName: node linkType: hard -"@pmmmwh/react-refresh-webpack-plugin@npm:0.5.11, @pmmmwh/react-refresh-webpack-plugin@npm:^0.5.5": +"@pmmmwh/react-refresh-webpack-plugin@npm:0.5.11, @pmmmwh/react-refresh-webpack-plugin@npm:^0.5.11": version: 0.5.11 resolution: "@pmmmwh/react-refresh-webpack-plugin@npm:0.5.11" dependencies: @@ -6666,154 +6721,93 @@ __metadata: languageName: node linkType: hard -"@prisma/client@npm:5.6.0": - version: 5.6.0 - resolution: "@prisma/client@npm:5.6.0" - dependencies: - "@prisma/engines-version": 5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee +"@prisma/client@npm:5.7.0": + version: 5.7.0 + resolution: "@prisma/client@npm:5.7.0" peerDependencies: prisma: "*" peerDependenciesMeta: prisma: optional: true - checksum: 21f5840833dbd88cf60d6d3585faab192481a8caf16a6ee2cba8ec8720d8995bc0eee13d66e3bbe31b6f3809c832fd95cf2d2993aaa2dc1ca354e37685852aef + checksum: f5a634a735fdcb9576f949a9ba84da48744db514ce853b04021c7a13c673081cfb110244f20f7985516c69a101000fefcecf51ad634fd2b9c41c6715bec1c014 languageName: node linkType: hard -"@prisma/debug@npm:5.6.0": - version: 5.6.0 - resolution: "@prisma/debug@npm:5.6.0" - dependencies: - "@types/debug": 4.1.12 - debug: 4.3.4 - strip-ansi: 6.0.1 - checksum: 6e2db42715cdcc57acc3e6d86220c8eef236b038c449db0cbf4c6ff54769cbd61fa0a6fb4f3ec5793854a01b047234098e7fc42d30f323fb8af370577e04bacd +"@prisma/debug@npm:5.7.0": + version: 5.7.0 + resolution: "@prisma/debug@npm:5.7.0" + checksum: d8aa4a57bb853c163cc43d97f60475191ffade88423ec9e68d5358a70d0177662401d28ece9a161053da0148c35ed1e91c39d09c81458ddc9eccb9a8ab440651 languageName: node linkType: hard -"@prisma/engines-version@npm:5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee": - version: 5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee - resolution: "@prisma/engines-version@npm:5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee" - checksum: 06a0e9126213cb881ef15e6d13b2ba29be1d31c65aca6bf070b5182ce82a04de3b93b721549a27be3ddb551e003aa94fa0ca61b78736d5bd3579b9114ba96b49 +"@prisma/engines-version@npm:5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9": + version: 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9 + resolution: "@prisma/engines-version@npm:5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9" + checksum: 14ca49380c7c1e930fb2748342b046ca73c383d17b1a0442ac080e75a541d35d7e44853449e476422c4b56edb7bbe1a3eff43a9034e7d47a61edf04c06f3d9f8 languageName: node linkType: hard -"@prisma/engines@npm:5.6.0": - version: 5.6.0 - resolution: "@prisma/engines@npm:5.6.0" - checksum: 587cf254da9628ddfd21a8f519b841c5c7713f2e3208e65cae3ec0ef812a67a001bee4ffe19d8ba71a867419a3f8540b64d7998c63696b951270397732d08886 +"@prisma/engines@npm:5.7.0": + version: 5.7.0 + resolution: "@prisma/engines@npm:5.7.0" + dependencies: + "@prisma/debug": 5.7.0 + "@prisma/engines-version": 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9 + "@prisma/fetch-engine": 5.7.0 + "@prisma/get-platform": 5.7.0 + checksum: c128e6b4c99d3c7bfe144ee384ed16b4f97af475f47d1138caa3d335e1ba0d33a1d4c2113974878c307aba0473f0543df844b1f309f86a1061195101c1dd351e languageName: node linkType: hard -"@prisma/fetch-engine@npm:5.6.0": - version: 5.6.0 - resolution: "@prisma/fetch-engine@npm:5.6.0" +"@prisma/fetch-engine@npm:5.7.0": + version: 5.7.0 + resolution: "@prisma/fetch-engine@npm:5.7.0" dependencies: - "@prisma/debug": 5.6.0 - "@prisma/get-platform": 5.6.0 - execa: 5.1.1 - find-cache-dir: 3.3.2 - fs-extra: 11.1.1 - hasha: 5.2.2 - http-proxy-agent: 7.0.0 - https-proxy-agent: 7.0.2 - kleur: 4.1.5 - node-fetch: 2.7.0 - p-filter: 2.1.0 - p-map: 4.0.0 - p-retry: 4.6.2 - progress: 2.0.3 - rimraf: 3.0.2 - temp-dir: 2.0.0 - tempy: 1.0.1 - checksum: 56066bc71b70f8ff619d2a264c26a71c30e6be96ddf1304a980a554cd7da236e2aeb9c616bf3e47b52c385fc51a49ddf9a4a869f3d35771bc034b5b4a52472eb + "@prisma/debug": 5.7.0 + "@prisma/engines-version": 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9 + "@prisma/get-platform": 5.7.0 + checksum: d5c7fe88700f9d29ed6b84c4d0613ad385725b298413f4c0d1cdb5b9d6b95ddcb28a2c2dc8491826c8cae065401879e8356bb1f98e90208f34db596f5c6d9425 languageName: node linkType: hard -"@prisma/generator-helper@npm:5.6.0": - version: 5.6.0 - resolution: "@prisma/generator-helper@npm:5.6.0" +"@prisma/generator-helper@npm:5.7.0": + version: 5.7.0 + resolution: "@prisma/generator-helper@npm:5.7.0" dependencies: - "@prisma/debug": 5.6.0 - "@types/cross-spawn": 6.0.5 - cross-spawn: 7.0.3 - kleur: 4.1.5 - checksum: 10a186e06a79e725e5dee087817fc13977934bc333690f431e0fb166422d98b463c3e912d0a9d61ec486b8ca64b8b8c054321d6fd8aecd78e7111aa2d906e415 + "@prisma/debug": 5.7.0 + checksum: d848e196a2e57acd7ab17a474e34a4363f19d10a4d33815be75cb4fae840eee6bac65b59f3fdd11e4a852d55d7c13601192113a81036e16917c2ce1d956cac23 languageName: node linkType: hard -"@prisma/get-platform@npm:5.6.0": - version: 5.6.0 - resolution: "@prisma/get-platform@npm:5.6.0" +"@prisma/get-platform@npm:5.7.0": + version: 5.7.0 + resolution: "@prisma/get-platform@npm:5.7.0" dependencies: - "@prisma/debug": 5.6.0 - escape-string-regexp: 4.0.0 - execa: 5.1.1 - fs-jetpack: 5.1.0 - kleur: 4.1.5 - replace-string: 3.1.0 - strip-ansi: 6.0.1 - tempy: 1.0.1 - terminal-link: 2.1.1 - ts-pattern: 5.0.5 - checksum: f2d8d2306e66d49f2070ba78436b677b4b1c208e566db72e567ff832b2f730cdd72c3c0b05e24f64770494140ff83902264ebdc5dccad6ab724800e8fdb4b5d6 + "@prisma/debug": 5.7.0 + checksum: ed3ad91cb6c4887c7bc4df59771cf03e8150f13e51c460fe2acddb08b5181b1699ec852957537827fb7533d6861facd8cc31a7baa6a95f5ddd4bdd0604f77adc languageName: node linkType: hard -"@prisma/internals@npm:5.6.0": - version: 5.6.0 - resolution: "@prisma/internals@npm:5.6.0" - dependencies: - "@antfu/ni": 0.21.8 - "@opentelemetry/api": 1.7.0 - "@prisma/debug": 5.6.0 - "@prisma/engines": 5.6.0 - "@prisma/fetch-engine": 5.6.0 - "@prisma/generator-helper": 5.6.0 - "@prisma/get-platform": 5.6.0 - "@prisma/prisma-schema-wasm": 5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee - archiver: 6.0.1 +"@prisma/internals@npm:5.7.0": + version: 5.7.0 + resolution: "@prisma/internals@npm:5.7.0" + dependencies: + "@prisma/debug": 5.7.0 + "@prisma/engines": 5.7.0 + "@prisma/fetch-engine": 5.7.0 + "@prisma/generator-helper": 5.7.0 + "@prisma/get-platform": 5.7.0 + "@prisma/prisma-schema-wasm": 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9 arg: 5.0.2 - checkpoint-client: 1.1.27 - cli-truncate: 2.1.0 - dotenv: 16.0.3 - escape-string-regexp: 4.0.0 - execa: 5.1.1 - find-up: 5.0.0 - fp-ts: 2.16.1 - fs-extra: 11.1.1 - fs-jetpack: 5.1.0 - global-dirs: 3.0.1 - globby: 11.1.0 - indent-string: 4.0.0 - is-windows: 1.0.2 - is-wsl: 2.2.0 - kleur: 4.1.5 - new-github-issue-url: 0.2.1 - node-fetch: 2.7.0 - npm-packlist: 5.1.3 - open: 7.4.2 - p-map: 4.0.0 prompts: 2.4.2 - read-pkg-up: 7.0.1 - replace-string: 3.1.0 - resolve: 1.22.8 - string-width: 4.2.3 - strip-ansi: 6.0.1 - strip-indent: 3.0.0 - temp-dir: 2.0.0 - tempy: 1.0.1 - terminal-link: 2.1.1 - tmp: 0.2.1 - ts-pattern: 5.0.5 - checksum: f19f9086a78b62c1ed75d9d1ce492662660158fe3cea12e8ca7fa7ce11c827d131665e82c9d4f1d0c9d5bd106f3f776456ecbdea274c75d033f9766d653b5375 + checksum: 5a63cd80efb6ac6271d9a25cdbe1964718658364523024054d0a21390d5881ba9071ec384710bffc973d48bf7ed30e48a9ecffa963bf87f59e0fc5f017d6b4f2 languageName: node linkType: hard -"@prisma/prisma-schema-wasm@npm:5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee": - version: 5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee - resolution: "@prisma/prisma-schema-wasm@npm:5.6.0-32.e95e739751f42d8ca026f6b910f5a2dc5adeaeee" - checksum: befe8c9970f4c4ff643badb3d406e8b57907637b244d47e47e222d72778143b33700869737b950ef9ee2e8d29f7d36faffe6ac942950de293f7287cbc1290ba0 +"@prisma/prisma-schema-wasm@npm:5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9": + version: 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9 + resolution: "@prisma/prisma-schema-wasm@npm:5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9" + checksum: ca4ca044a64c3002f88444fe59ff61b0ddec245d49b87c29ba2359719ff59c5162809574a3864b1abe6b9c67ae3ae75a8c86bb3113f18a2a62424da743c43b01 languageName: node linkType: hard @@ -7704,6 +7698,18 @@ __metadata: languageName: node linkType: hard +"@react-email/render@npm:0.0.10": + version: 0.0.10 + resolution: "@react-email/render@npm:0.0.10" + dependencies: + html-to-text: 9.0.5 + pretty: 2.0.0 + react: 18.2.0 + react-dom: 18.2.0 + checksum: ea0db578ef58734160ac512d04de5b09f558d192fbb74c0b9bdb3006e91d0d73ee7d77007f4740bef0d587f8b231f8dba5ef01e16e18d2deb37859ddd2e7d09a + languageName: node + linkType: hard + "@react-email/render@npm:0.0.7": version: 0.0.7 resolution: "@react-email/render@npm:0.0.7" @@ -7834,35 +7840,35 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/api-server@workspace:packages/api-server" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@fastify/http-proxy": 9.3.0 "@fastify/static": 6.12.0 "@fastify/url-data": 5.4.0 "@redwoodjs/project-config": 6.0.7 - "@types/aws-lambda": 8.10.119 - "@types/lodash": 4.14.195 - "@types/qs": 6.9.7 - "@types/split2": 4.2.0 - "@types/yargs": 17.0.24 + "@types/aws-lambda": 8.10.126 + "@types/lodash": 4.14.201 + "@types/qs": 6.9.10 + "@types/split2": 4.2.3 + "@types/yargs": 17.0.31 ansi-colors: 4.1.3 aws-lambda: 1.0.7 chalk: 4.1.2 chokidar: 3.5.3 - core-js: 3.33.2 + core-js: 3.33.3 dotenv-defaults: 5.0.2 fast-glob: 3.3.2 fast-json-parse: 1.0.3 - fastify: 4.23.2 - fastify-raw-body: 4.2.2 + fastify: 4.24.3 + fastify-raw-body: 4.3.0 jest: 29.7.0 lodash: 4.17.21 pretty-bytes: 5.6.0 pretty-ms: 7.0.1 qs: 6.11.2 split2: 4.2.0 - typescript: 5.2.2 + typescript: 5.3.2 yargs: 17.7.2 bin: rw-api-server-watch: ./dist/watch.js @@ -7875,28 +7881,28 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/api@workspace:packages/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 - "@prisma/client": 5.6.0 - "@types/aws-lambda": 8.10.119 + "@babel/runtime-corejs3": 7.23.5 + "@prisma/client": 5.7.0 + "@types/aws-lambda": 8.10.126 "@types/jsonwebtoken": 9.0.5 "@types/memjs": 1 - "@types/pascalcase": 1.0.1 - "@types/split2": 4.2.0 - "@whatwg-node/fetch": 0.9.9 - core-js: 3.33.2 + "@types/pascalcase": 1.0.3 + "@types/split2": 4.2.3 + "@whatwg-node/fetch": 0.9.14 + core-js: 3.33.3 humanize-string: 2.1.0 jest: 29.7.0 jsonwebtoken: 9.0.2 memjs: 1.3.1 pascalcase: 1.0.0 - pino: 8.16.1 + pino: 8.16.2 redis: 4.6.7 split2: 4.2.0 title-case: 3.0.3 ts-toolbelt: 9.6.0 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: memjs: 1.3.1 redis: 4.6.7 @@ -7917,16 +7923,16 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-auth0-api@workspace:packages/auth-providers/auth0/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/api": 6.0.7 "@types/jsonwebtoken": 9.0.5 - core-js: 3.33.2 + core-js: 3.33.3 jest: 29.7.0 jsonwebtoken: 9.0.2 - jwks-rsa: 3.0.1 - typescript: 5.2.2 + jwks-rsa: 3.1.0 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -7934,14 +7940,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-auth0-setup@workspace:packages/auth-providers/auth0/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -7950,15 +7956,15 @@ __metadata: resolution: "@redwoodjs/auth-auth0-web@workspace:packages/auth-providers/auth0/web" dependencies: "@auth0/auth0-spa-js": 2.1.2 - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@types/react": 18.2.37 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: "@auth0/auth0-spa-js": 2.1.2 languageName: unknown @@ -7968,17 +7974,17 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-azure-active-directory-api@workspace:packages/auth-providers/azureActiveDirectory/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/api": 6.0.7 - "@types/aws-lambda": 8.10.119 + "@types/aws-lambda": 8.10.126 "@types/jsonwebtoken": 9.0.5 - core-js: 3.33.2 + core-js: 3.33.3 jest: 29.7.0 jsonwebtoken: 9.0.2 - jwks-rsa: 3.0.1 - typescript: 5.2.2 + jwks-rsa: 3.1.0 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -7986,14 +7992,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-azure-active-directory-setup@workspace:packages/auth-providers/azureActiveDirectory/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8002,16 +8008,16 @@ __metadata: resolution: "@redwoodjs/auth-azure-active-directory-web@workspace:packages/auth-providers/azureActiveDirectory/web" dependencies: "@azure/msal-browser": 2.38.3 - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 - "@types/netlify-identity-widget": 1.9.3 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@types/netlify-identity-widget": 1.9.6 + "@types/react": 18.2.37 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: "@azure/msal-browser": 2.38.3 languageName: unknown @@ -8021,15 +8027,15 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-clerk-api@workspace:packages/auth-providers/clerk/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 - "@clerk/clerk-sdk-node": 4.12.6 + "@babel/runtime-corejs3": 7.23.5 + "@clerk/clerk-sdk-node": 4.12.22 "@redwoodjs/api": 6.0.7 - "@types/aws-lambda": 8.10.119 - core-js: 3.33.2 + "@types/aws-lambda": 8.10.126 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8037,14 +8043,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-clerk-setup@workspace:packages/auth-providers/clerk/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8052,19 +8058,19 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-clerk-web@workspace:packages/auth-providers/clerk/web" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 - "@clerk/clerk-react": 4.28.0 + "@babel/runtime-corejs3": 7.23.5 + "@clerk/clerk-react": 4.28.3 "@clerk/types": 3.58.0 "@redwoodjs/auth": 6.0.7 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@types/react": 18.2.37 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: - "@clerk/clerk-react": 4.28.0 + "@clerk/clerk-react": 4.28.3 languageName: unknown linkType: soft @@ -8072,14 +8078,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-custom-setup@workspace:packages/auth-providers/custom/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8087,20 +8093,20 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-dbauth-api@workspace:packages/auth-providers/dbAuth/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/api": 6.0.7 "@redwoodjs/project-config": 6.0.7 - "@simplewebauthn/server": 7.3.1 - "@types/md5": 2.3.2 - "@types/uuid": 9.0.2 + "@simplewebauthn/server": 7.4.0 + "@types/md5": 2.3.5 + "@types/uuid": 9.0.7 base64url: 3.0.1 - core-js: 3.33.2 + core-js: 3.33.3 jest: 29.7.0 md5: 2.3.0 - typescript: 5.2.2 - uuid: 9.0.0 + typescript: 5.3.2 + uuid: 9.0.1 languageName: unknown linkType: soft @@ -8108,18 +8114,18 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-dbauth-setup@workspace:packages/auth-providers/dbAuth/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 "@simplewebauthn/browser": 7.4.0 - "@simplewebauthn/typescript-types": 7.0.0 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@simplewebauthn/typescript-types": 7.4.0 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 prompts: 2.4.2 terminal-link: 2.1.1 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8127,17 +8133,17 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-dbauth-web@workspace:packages/auth-providers/dbAuth/web" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 "@simplewebauthn/browser": 7.4.0 - "@simplewebauthn/typescript-types": 7.0.0 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@simplewebauthn/typescript-types": 7.4.0 + "@types/react": 18.2.37 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8145,15 +8151,15 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-firebase-api@workspace:packages/auth-providers/firebase/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/api": 6.0.7 - "@types/aws-lambda": 8.10.119 - core-js: 3.33.2 + "@types/aws-lambda": 8.10.126 + core-js: 3.33.3 firebase-admin: 11.11.0 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8161,14 +8167,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-firebase-setup@workspace:packages/auth-providers/firebase/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8176,16 +8182,16 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-firebase-web@workspace:packages/auth-providers/firebase/web" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@types/react": 18.2.37 + core-js: 3.33.3 firebase: 10.6.0 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: firebase: 10.6.0 languageName: unknown @@ -8195,16 +8201,16 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-netlify-api@workspace:packages/auth-providers/netlify/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/api": 6.0.7 - "@types/aws-lambda": 8.10.119 + "@types/aws-lambda": 8.10.126 "@types/jsonwebtoken": 9.0.5 - core-js: 3.33.2 + core-js: 3.33.3 jest: 29.7.0 jsonwebtoken: 9.0.2 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8212,14 +8218,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-netlify-setup@workspace:packages/auth-providers/netlify/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8227,16 +8233,16 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-netlify-web@workspace:packages/auth-providers/netlify/web" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 - "@types/netlify-identity-widget": 1.9.3 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@types/netlify-identity-widget": 1.9.6 + "@types/react": 18.2.37 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: netlify-identity-widget: 1.9.2 languageName: unknown @@ -8246,16 +8252,16 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-supabase-api@workspace:packages/auth-providers/supabase/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/api": 6.0.7 - "@types/aws-lambda": 8.10.119 + "@types/aws-lambda": 8.10.126 "@types/jsonwebtoken": 9.0.5 - core-js: 3.33.2 + core-js: 3.33.3 jest: 29.7.0 jsonwebtoken: 9.0.2 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8263,14 +8269,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-supabase-setup@workspace:packages/auth-providers/supabase/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8278,17 +8284,17 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-supabase-web@workspace:packages/auth-providers/supabase/web" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 - "@supabase/supabase-js": 2.26.0 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@babel/runtime-corejs3": 7.23.5 + "@supabase/supabase-js": 2.39.0 + "@types/react": 18.2.37 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: - "@supabase/supabase-js": 2.26.0 + "@supabase/supabase-js": 2.39.0 languageName: unknown linkType: soft @@ -8296,18 +8302,18 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-supertokens-api@workspace:packages/auth-providers/supertokens/api" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/api": 6.0.7 "@types/jsonwebtoken": 9.0.5 - core-js: 3.33.2 + core-js: 3.33.3 jest: 29.7.0 jsonwebtoken: 9.0.2 - jwks-rsa: 3.0.1 - typescript: 5.2.2 + jwks-rsa: 3.1.0 + typescript: 5.3.2 peerDependencies: - supertokens-node: 15.0.0 + supertokens-node: 15.2.1 languageName: unknown linkType: soft @@ -8315,14 +8321,14 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-supertokens-setup@workspace:packages/auth-providers/supertokens/setup" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/cli-helpers": 6.0.7 - "@types/yargs": 17.0.24 - core-js: 3.33.2 + "@types/yargs": 17.0.31 + core-js: 3.33.3 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8330,16 +8336,16 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth-supertokens-web@workspace:packages/auth-providers/supertokens/web" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 - "@types/react": 18.2.14 - core-js: 3.33.2 + "@types/react": 18.2.37 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 supertokens-auth-react: 0.34.0 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: supertokens-auth-react: 0.34.0 languageName: unknown @@ -8349,16 +8355,16 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/auth@workspace:packages/auth" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 - "@testing-library/jest-dom": 5.16.5 - "@testing-library/react": 14.0.0 - core-js: 3.33.2 + "@babel/runtime-corejs3": 7.23.5 + "@testing-library/jest-dom": 5.17.0 + "@testing-library/react": 14.1.2 + core-js: 3.33.3 jest: 29.7.0 msw: 1.3.2 react: 0.0.0-experimental-e5205658f-20230913 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8372,26 +8378,26 @@ __metadata: "@babel/plugin-transform-private-methods": ^7.22.5 "@babel/plugin-transform-private-property-in-object": ^7.22.11 "@babel/plugin-transform-react-jsx": ^7.22.15 - "@babel/plugin-transform-runtime": 7.23.2 + "@babel/plugin-transform-runtime": 7.23.4 "@babel/preset-env": ^7.22.20 "@babel/preset-react": ^7.22.15 "@babel/preset-typescript": ^7.22.15 "@babel/register": ^7.22.15 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@babel/traverse": ^7.22.20 "@redwoodjs/project-config": 6.0.7 - "@types/babel-plugin-tester": 9.0.7 - "@types/babel__core": 7.20.2 + "@types/babel-plugin-tester": 9.0.9 + "@types/babel__core": 7.20.4 babel-plugin-auto-import: 1.1.0 babel-plugin-graphql-tag: 3.3.0 babel-plugin-module-resolver: 5.0.0 babel-plugin-tester: 11.0.4 - core-js: 3.33.2 + core-js: 3.33.3 esbuild: 0.19.5 fast-glob: 3.3.2 graphql: 16.8.1 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8399,22 +8405,22 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/cli-data-migrate@workspace:packages/cli-packages/dataMigrate" dependencies: - "@prisma/client": 5.6.0 + "@prisma/client": 5.7.0 "@redwoodjs/babel-config": 6.0.7 "@redwoodjs/project-config": 6.0.7 - "@types/fs-extra": 11.0.1 - "@types/yargs": 17.0.24 + "@types/fs-extra": 11.0.4 + "@types/yargs": 17.0.31 chalk: 4.1.2 dotenv-defaults: 5.0.2 esbuild: 0.19.5 execa: 5.1.1 fast-glob: 3.3.2 - fs-extra: 11.1.1 + fs-extra: 11.2.0 jest: 29.7.0 listr2: 6.6.1 - memfs: 4.2.1 + memfs: 4.6.0 terminal-link: 2.1.1 - typescript: 5.2.2 + typescript: 5.3.2 yargs: 17.7.2 bin: up: ./dist/bin.js @@ -8425,18 +8431,18 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/cli-helpers@workspace:packages/cli-helpers" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@iarna/toml": 2.2.5 - "@opentelemetry/api": 1.4.1 + "@opentelemetry/api": 1.7.0 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/telemetry": 6.0.7 - "@types/lodash": 4.14.195 - "@types/pascalcase": 1.0.1 - "@types/yargs": 17.0.24 + "@types/lodash": 4.14.201 + "@types/pascalcase": 1.0.3 + "@types/yargs": 17.0.31 chalk: 4.1.2 - core-js: 3.33.2 + core-js: 3.33.3 dotenv: 16.3.1 execa: 5.1.1 jest: 29.7.0 @@ -8446,7 +8452,7 @@ __metadata: prettier: 2.8.8 prompts: 2.4.2 terminal-link: 2.1.1 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8457,19 +8463,19 @@ __metadata: "@redwoodjs/cli-helpers": 6.0.7 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/telemetry": 6.0.7 - "@storybook/addon-a11y": 7.5.3 - "@storybook/addon-docs": 7.5.3 - "@storybook/addon-essentials": 7.5.3 - "@storybook/react-webpack5": 7.5.3 - "@types/yargs": 17.0.24 + "@storybook/addon-a11y": 7.6.3 + "@storybook/addon-docs": 7.6.3 + "@storybook/addon-essentials": 7.6.3 + "@storybook/react-webpack5": 7.6.3 + "@types/yargs": 17.0.31 chalk: 4.1.2 esbuild: 0.19.5 execa: 5.1.1 fast-glob: 3.3.2 jest: 29.7.0 - storybook: 7.5.3 + storybook: 7.6.3 terminal-link: 2.1.1 - typescript: 5.2.2 + typescript: 5.3.2 yargs: 17.7.2 languageName: unknown linkType: soft @@ -8478,17 +8484,17 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/cli@workspace:packages/cli" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@iarna/toml": 2.2.5 - "@opentelemetry/api": 1.4.1 - "@opentelemetry/core": 1.15.2 - "@opentelemetry/exporter-trace-otlp-http": 0.41.2 - "@opentelemetry/resources": 1.15.2 - "@opentelemetry/sdk-trace-node": 1.15.2 - "@opentelemetry/semantic-conventions": 1.15.2 - "@prisma/internals": 5.6.0 + "@opentelemetry/api": 1.7.0 + "@opentelemetry/core": 1.18.1 + "@opentelemetry/exporter-trace-otlp-http": 0.45.1 + "@opentelemetry/resources": 1.18.1 + "@opentelemetry/sdk-trace-node": 1.18.1 + "@opentelemetry/semantic-conventions": 1.18.1 + "@prisma/internals": 5.7.0 "@redwoodjs/api-server": 6.0.7 "@redwoodjs/cli-helpers": 6.0.7 "@redwoodjs/fastify": 6.0.7 @@ -8497,21 +8503,23 @@ __metadata: "@redwoodjs/project-config": 6.0.7 "@redwoodjs/structure": 6.0.7 "@redwoodjs/telemetry": 6.0.7 + "@types/archiver": ^6 + archiver: 6.0.1 boxen: 5.1.2 camelcase: 6.3.0 chalk: 4.1.2 - ci-info: 3.8.0 + ci-info: 3.9.0 concurrently: 8.2.2 configstore: 3.1.5 - core-js: 3.33.2 + core-js: 3.33.3 cross-env: 7.0.3 decamelize: 5.0.1 dotenv-defaults: 5.0.2 enquirer: 2.4.1 - envinfo: 7.9.0 + envinfo: 7.11.0 execa: 5.1.1 fast-glob: 3.3.2 - fs-extra: 11.1.1 + fs-extra: 11.2.0 humanize-string: 2.1.0 jest: 29.7.0 latest-version: 5.1.0 @@ -8522,16 +8530,16 @@ __metadata: pluralize: 8.0.0 portfinder: 1.0.32 prettier: 2.8.8 - prisma: 5.6.0 + prisma: 5.7.0 prompts: 2.4.2 rimraf: 5.0.5 semver: 7.5.4 string-env-interpolation: 1.0.1 - systeminformation: 5.21.17 + systeminformation: 5.21.20 terminal-link: 2.1.1 title-case: 3.0.3 - typescript: 5.2.2 - uuid: 9.0.0 + typescript: 5.3.2 + uuid: 9.0.1 yargs: 17.7.2 bin: redwood: ./dist/index.js @@ -8544,30 +8552,30 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/codemods@workspace:packages/codemods" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 "@babel/parser": ^7.22.16 "@babel/plugin-transform-typescript": ^7.22.15 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@babel/traverse": ^7.22.20 "@iarna/toml": 2.2.5 "@redwoodjs/project-config": 6.0.7 "@svgr/core": 8.0.0 "@svgr/plugin-jsx": 8.0.1 - "@types/babel__core": 7.20.2 - "@types/fs-extra": 11.0.1 - "@types/jest": 29.5.4 + "@types/babel__core": 7.20.4 + "@types/fs-extra": 11.0.4 + "@types/jest": 29.5.8 "@types/jscodeshift": 0.11.6 "@types/prettier": 2.7.3 - "@types/yargs": 17.0.24 - "@vscode/ripgrep": 1.15.5 - "@whatwg-node/fetch": 0.9.9 + "@types/yargs": 17.0.31 + "@vscode/ripgrep": 1.15.6 + "@whatwg-node/fetch": 0.9.14 cheerio: 1.0.0-rc.12 - core-js: 3.33.2 + core-js: 3.33.3 deepmerge: 4.3.1 execa: 5.1.1 fast-glob: 3.3.2 - fs-extra: 11.1.1 + fs-extra: 11.2.0 graphql: 16.8.1 jest: 29.7.0 jscodeshift: 0.15.0 @@ -8575,7 +8583,7 @@ __metadata: prettier: 2.8.8 tasuku: 2.0.1 tempy: 1.0.1 - typescript: 5.2.2 + typescript: 5.3.2 yargs: 17.7.2 bin: codemods: ./dist/codemods.js @@ -8586,8 +8594,8 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/core@workspace:packages/core" dependencies: - "@babel/cli": 7.23.0 - "@babel/runtime-corejs3": 7.23.2 + "@babel/cli": 7.23.4 + "@babel/runtime-corejs3": 7.23.5 "@pmmmwh/react-refresh-webpack-plugin": 0.5.11 "@redwoodjs/cli": 6.0.7 "@redwoodjs/eslint-config": 6.0.7 @@ -8595,11 +8603,11 @@ __metadata: "@redwoodjs/project-config": 6.0.7 "@redwoodjs/testing": 6.0.7 "@redwoodjs/web-server": 6.0.7 - "@types/lodash": 4.14.195 + "@types/lodash": 4.14.201 babel-loader: ^9.1.3 babel-timing: 0.9.1 copy-webpack-plugin: 11.0.0 - core-js: 3.33.2 + core-js: 3.33.3 css-loader: 6.8.1 css-minimizer-webpack-plugin: 5.0.1 dotenv-webpack: 8.0.1 @@ -8608,20 +8616,20 @@ __metadata: jest: 29.7.0 lodash: 4.17.21 mini-css-extract-plugin: 2.7.6 - nodemon: 2.0.22 + nodemon: 3.0.2 null-loader: 4.0.1 react-refresh: 0.14.0 resolve-url-loader: 5.0.0 rimraf: 5.0.5 style-loader: 3.3.3 - typescript: 5.2.2 + typescript: 5.3.2 url-loader: 4.1.1 webpack: 5.89.0 - webpack-bundle-analyzer: 4.9.0 + webpack-bundle-analyzer: 4.9.1 webpack-cli: 5.1.4 webpack-dev-server: 4.15.1 webpack-manifest-plugin: 5.0.0 - webpack-merge: 5.9.0 + webpack-merge: 5.10.0 webpack-retry-chunk-load-plugin: 3.1.1 bin: cross-env: ./dist/bins/cross-env.js @@ -8646,28 +8654,28 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/eslint-config@workspace:packages/eslint-config" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/eslint-parser": 7.22.15 - "@babel/eslint-plugin": 7.22.10 + "@babel/eslint-parser": 7.23.3 + "@babel/eslint-plugin": 7.23.5 "@redwoodjs/eslint-plugin": 6.0.7 "@redwoodjs/internal": 6.0.7 "@redwoodjs/project-config": 6.0.7 - "@typescript-eslint/eslint-plugin": 5.61.0 - "@typescript-eslint/parser": 5.61.0 - eslint: 8.46.0 - eslint-config-prettier: 8.8.0 + "@typescript-eslint/eslint-plugin": 5.62.0 + "@typescript-eslint/parser": 5.62.0 + eslint: 8.55.0 + eslint-config-prettier: 8.10.0 eslint-import-resolver-babel-module: 5.3.2 eslint-plugin-babel: 5.3.1 - eslint-plugin-import: 2.27.5 + eslint-plugin-import: 2.29.0 eslint-plugin-jest-dom: 4.0.3 - eslint-plugin-jsx-a11y: 6.7.1 + eslint-plugin-jsx-a11y: 6.8.0 eslint-plugin-prettier: 4.2.1 - eslint-plugin-react: 7.32.2 + eslint-plugin-react: 7.33.2 eslint-plugin-react-hooks: 4.6.0 jest: 29.7.0 prettier: 2.8.8 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8676,14 +8684,14 @@ __metadata: resolution: "@redwoodjs/eslint-plugin@workspace:packages/eslint-plugin" dependencies: "@types/eslint": 8 - "@types/estree": 1.0.1 - "@typescript-eslint/parser": 5.61.0 - "@typescript-eslint/utils": 5.61.0 + "@types/estree": 1.0.5 + "@typescript-eslint/parser": 5.62.0 + "@typescript-eslint/utils": 5.62.0 esbuild: 0.19.5 - eslint: 8.46.0 + eslint: 8.55.0 fast-glob: 3.3.2 - glob: 10.3.1 - typescript: 5.2.2 + glob: 10.3.10 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8696,17 +8704,17 @@ __metadata: "@fastify/url-data": 5.4.0 "@redwoodjs/graphql-server": 6.0.7 "@redwoodjs/project-config": 6.0.7 - "@types/aws-lambda": 8.10.119 - "@types/lodash": 4.14.195 - "@types/qs": 6.9.7 + "@types/aws-lambda": 8.10.126 + "@types/lodash": 4.14.201 + "@types/qs": 6.9.10 ansi-colors: 4.1.3 esbuild: 0.19.5 fast-glob: 3.3.2 - fastify: 4.23.2 - fastify-raw-body: 4.2.2 + fastify: 4.24.3 + fastify-raw-body: 4.3.0 lodash: 4.17.21 qs: 6.11.2 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8714,26 +8722,26 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/forms@workspace:packages/forms" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@testing-library/dom": 9.3.3 - "@testing-library/jest-dom": 5.16.5 - "@testing-library/react": 14.0.0 + "@testing-library/jest-dom": 5.17.0 + "@testing-library/react": 14.1.2 "@testing-library/user-event": 14.5.1 - "@types/pascalcase": 1.0.1 - "@types/react": 18.2.14 - "@types/react-dom": 18.2.6 - "@types/testing-library__jest-dom": 5.14.8 - core-js: 3.33.2 + "@types/pascalcase": 1.0.3 + "@types/react": 18.2.37 + "@types/react-dom": 18.2.15 + "@types/testing-library__jest-dom": 5.14.9 + core-js: 3.33.3 graphql: 16.8.1 jest: 29.7.0 - nodemon: 2.0.22 + nodemon: 3.0.2 pascalcase: 1.0.0 react: 0.0.0-experimental-e5205658f-20230913 react-dom: 0.0.0-experimental-e5205658f-20230913 react-hook-form: 7.48.2 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: graphql: 16.8.1 react: 0.0.0-experimental-e5205658f-20230913 @@ -8744,9 +8752,9 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/graphql-server@workspace:packages/graphql-server" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@envelop/core": 4.0.3 "@envelop/depth-limit": 3.0.3 "@envelop/disable-introspection": 5.0.3 @@ -8755,19 +8763,20 @@ __metadata: "@envelop/testing": 6.0.3 "@envelop/types": 4.0.1 "@escape.tech/graphql-armor": 2.3.1 - "@graphql-tools/merge": 9.0.0 - "@graphql-tools/schema": 10.0.0 - "@graphql-tools/utils": 10.0.8 - "@opentelemetry/api": 1.4.1 + "@graphql-tools/merge": 9.0.1 + "@graphql-tools/schema": 10.0.2 + "@graphql-tools/utils": 10.0.11 + "@graphql-yoga/plugin-persisted-operations": 2.0.5 + "@opentelemetry/api": 1.7.0 "@redwoodjs/api": 6.0.7 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/realtime": 6.0.7 "@types/jsonwebtoken": 9.0.5 - "@types/lodash": 4.14.195 - "@types/uuid": 9.0.2 - "@whatwg-node/fetch": 0.9.9 + "@types/lodash": 4.14.201 + "@types/uuid": 9.0.7 + "@whatwg-node/fetch": 0.9.14 aws-lambda: 1.0.7 - core-js: 3.33.2 + core-js: 3.33.3 graphql: 16.8.1 graphql-scalars: 1.22.4 graphql-tag: 2.12.6 @@ -8775,8 +8784,8 @@ __metadata: jest: 29.7.0 jsonwebtoken: 9.0.2 lodash: 4.17.21 - typescript: 5.2.2 - uuid: 9.0.0 + typescript: 5.3.2 + uuid: 9.0.1 languageName: unknown linkType: soft @@ -8784,34 +8793,37 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/internal@workspace:packages/internal" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 "@babel/parser": ^7.22.16 "@babel/plugin-transform-react-jsx": ^7.22.15 "@babel/plugin-transform-typescript": ^7.22.15 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@babel/traverse": ^7.22.20 "@graphql-codegen/add": 4.0.1 "@graphql-codegen/cli": 3.3.1 + "@graphql-codegen/client-preset": 4.1.0 "@graphql-codegen/core": 3.1.0 "@graphql-codegen/fragment-matcher": 5.0.0 "@graphql-codegen/schema-ast": 3.0.1 + "@graphql-codegen/typed-document-node": 5.0.1 "@graphql-codegen/typescript": 3.0.4 "@graphql-codegen/typescript-operations": 3.0.4 "@graphql-codegen/typescript-react-apollo": 3.3.7 "@graphql-codegen/typescript-resolvers": 3.2.1 + "@graphql-tools/documents": 1.0.0 "@redwoodjs/babel-config": 6.0.7 "@redwoodjs/graphql-server": 6.0.7 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/router": 6.0.7 "@sdl-codegen/node": 0.0.10 - "@types/fs-extra": 11.0.1 + "@types/fs-extra": 11.0.4 chalk: 4.1.2 - core-js: 3.33.2 + core-js: 3.33.3 deepmerge: 4.3.1 esbuild: 0.19.5 fast-glob: 3.3.2 - fs-extra: 11.1.1 + fs-extra: 11.2.0 graphql: 16.8.1 graphql-tag: 2.12.6 jest: 29.7.0 @@ -8820,11 +8832,11 @@ __metadata: rimraf: 5.0.5 source-map: 0.7.4 string-env-interpolation: 1.0.1 - systeminformation: 5.21.17 + systeminformation: 5.21.20 terminal-link: 2.1.1 ts-node: 10.9.1 tsx: 3.12.7 - typescript: 5.2.2 + typescript: 5.3.2 bin: rw-gen: ./dist/generate/generate.js rw-gen-watch: ./dist/generate/watch.js @@ -8839,7 +8851,7 @@ __metadata: esbuild: 0.19.5 fast-glob: 3.3.2 jest: 29.7.0 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8850,7 +8862,7 @@ __metadata: "@redwoodjs/mailer-core": 6.0.7 esbuild: 0.19.5 fast-glob: 3.3.2 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8863,7 +8875,7 @@ __metadata: esbuild: 0.19.5 fast-glob: 3.3.2 nodemailer: 6.9.7 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8874,8 +8886,8 @@ __metadata: "@redwoodjs/mailer-core": 6.0.7 esbuild: 0.19.5 fast-glob: 3.3.2 - resend: 1.0.0 - typescript: 5.2.2 + resend: 1.1.0 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8888,7 +8900,7 @@ __metadata: "@types/nodemailer": ^6 esbuild: 0.19.5 fast-glob: 3.3.2 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8902,7 +8914,7 @@ __metadata: esbuild: 0.19.5 fast-glob: 3.3.2 mjml: 4.14.1 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8910,11 +8922,11 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/mailer-renderer-react-email@workspace:packages/mailer/renderers/react-email" dependencies: - "@react-email/render": 0.0.7 + "@react-email/render": 0.0.10 "@redwoodjs/mailer-core": 6.0.7 esbuild: 0.19.5 fast-glob: 3.3.2 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8922,25 +8934,25 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/prerender@workspace:packages/prerender" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 "@redwoodjs/internal": 6.0.7 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/router": 6.0.7 "@redwoodjs/structure": 6.0.7 "@redwoodjs/web": 6.0.7 - "@types/mime-types": 2.1.1 - "@whatwg-node/fetch": 0.9.9 + "@types/mime-types": 2.1.4 + "@whatwg-node/fetch": 0.9.14 babel-plugin-ignore-html-and-css-imports: 0.1.0 babel-plugin-tester: 11.0.4 cheerio: 1.0.0-rc.12 - core-js: 3.33.2 + core-js: 3.33.3 graphql: 16.8.1 jest: 29.7.0 mime-types: 2.1.35 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: react: 0.0.0-experimental-e5205658f-20230913 react-dom: 0.0.0-experimental-e5205658f-20230913 @@ -8958,7 +8970,7 @@ __metadata: jest: 29.7.0 rimraf: 5.0.5 string-env-interpolation: 1.0.1 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -8970,8 +8982,8 @@ __metadata: "@envelop/live-query": 6.0.3 "@envelop/testing": 6.0.3 "@envelop/types": 4.0.1 - "@graphql-tools/schema": 10.0.0 - "@graphql-tools/utils": 10.0.8 + "@graphql-tools/schema": 10.0.2 + "@graphql-tools/utils": 10.0.11 "@graphql-yoga/plugin-defer-stream": 2.0.5 "@graphql-yoga/plugin-graphql-sse": 2.0.5 "@graphql-yoga/redis-event-target": 2.0.0 @@ -8982,8 +8994,8 @@ __metadata: graphql: 16.8.1 ioredis: 5.3.2 jest: 29.7.0 - nodemon: 2.0.22 - typescript: 5.2.2 + nodemon: 3.0.2 + typescript: 5.3.2 peerDependencies: ioredis: ^5.3.2 peerDependenciesMeta: @@ -8996,13 +9008,13 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/record@workspace:packages/record" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 - "@prisma/client": 5.6.0 - "@prisma/internals": 5.6.0 + "@babel/runtime-corejs3": 7.23.5 + "@prisma/client": 5.7.0 + "@prisma/internals": 5.7.0 "@redwoodjs/project-config": 6.0.7 - core-js: 3.33.2 + core-js: 3.33.3 esbuild: 0.19.5 jest: 29.7.0 languageName: unknown @@ -9012,19 +9024,19 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/router@workspace:packages/router" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@reach/skip-nav": 0.18.0 "@redwoodjs/auth": 6.0.7 - "@types/react": 18.2.14 - "@types/react-dom": 18.2.6 - core-js: 3.33.2 + "@types/react": 18.2.37 + "@types/react-dom": 18.2.15 + core-js: 3.33.3 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 react-dom: 0.0.0-experimental-e5205658f-20230913 tstyche: 1.0.0-beta.3 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: react: 0.0.0-experimental-e5205658f-20230913 react-dom: 0.0.0-experimental-e5205658f-20230913 @@ -9035,20 +9047,20 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/structure@workspace:packages/structure" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@iarna/toml": 2.2.5 - "@prisma/internals": 5.6.0 + "@prisma/internals": 5.7.0 "@redwoodjs/project-config": 6.0.7 - "@types/fs-extra": 11.0.1 + "@types/fs-extra": 11.0.4 "@types/line-column": 1.0.0 - "@types/lodash": 4.14.195 + "@types/lodash": 4.14.201 "@types/lru-cache": 7.10.10 - "@types/node": 18.16.18 + "@types/node": 18.18.9 "@types/vscode": 1.79.1 camelcase: 6.3.0 - core-js: 3.33.2 + core-js: 3.33.3 deepmerge: 4.3.1 dotenv-defaults: 5.0.2 enquirer: 2.4.1 @@ -9062,7 +9074,7 @@ __metadata: lru-cache: 7.18.3 proxyquire: 2.1.3 ts-morph: 15.1.0 - typescript: 5.2.2 + typescript: 5.3.2 vscode-languageserver: 6.1.1 vscode-languageserver-textdocument: 1.0.8 vscode-languageserver-types: 3.17.3 @@ -9074,10 +9086,10 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/studio@workspace:packages/studio" dependencies: - "@apollo/client": 3.8.7 - "@babel/cli": 7.23.0 + "@apollo/client": 3.8.8 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@fastify/http-proxy": 9.3.0 "@fastify/static": 6.12.0 "@fastify/url-data": 5.4.0 @@ -9095,29 +9107,29 @@ __metadata: "@swc/core": 1.3.60 "@tailwindcss/forms": 0.5.3 "@tremor/react": 3.4.1 - "@types/aws-lambda": 8.10.119 + "@types/aws-lambda": 8.10.126 "@types/jsonwebtoken": 9.0.5 - "@types/lodash": 4.14.195 + "@types/lodash": 4.14.201 "@types/mailparser": ^3 - "@types/qs": 6.9.7 - "@types/react": 18.2.14 - "@types/react-dom": 18.2.6 + "@types/qs": 6.9.10 + "@types/react": 18.2.37 + "@types/react-dom": 18.2.15 "@types/react-grid-layout": 1 "@types/smtp-server": ^3 - "@types/split2": 4.2.0 - "@types/uuid": 9.0.2 - "@types/yargs": 17.0.24 - "@vitejs/plugin-react": 4.1.1 + "@types/split2": 4.2.3 + "@types/uuid": 9.0.7 + "@types/yargs": 17.0.31 + "@vitejs/plugin-react": 4.2.1 ansi-colors: 4.1.3 - autoprefixer: 10.4.14 + autoprefixer: 10.4.16 aws-lambda: 1.0.7 buffer: 6.0.3 chokidar: 3.5.3 - core-js: 3.33.2 + core-js: 3.33.3 dotenv: 16.3.1 fast-json-parse: 1.0.3 - fastify: 4.23.2 - fastify-raw-body: 4.2.2 + fastify: 4.24.3 + fastify-raw-body: 4.3.0 graphiql: 2.4.7 graphql: 16.8.1 graphql-scalars: 1.22.4 @@ -9138,15 +9150,15 @@ __metadata: react-router-dom: 6.8.1 react-split-pane: 0.1.92 react-toastify: 9.1.3 - smtp-server: 3.12.0 + smtp-server: 3.13.0 split2: 4.2.0 sqlite: 4.2.1 sqlite3: 5.1.6 tailwindcss: 3.3.5 - typescript: 5.2.2 + typescript: 5.3.2 use-url-search-params: 2.5.1 - uuid: 9.0.0 - vite: 4.5.0 + uuid: 9.0.1 + vite: 4.5.1 yargs: 17.7.2 languageName: unknown linkType: soft @@ -9155,21 +9167,21 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/telemetry@workspace:packages/telemetry" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/structure": 6.0.7 - "@types/envinfo": 7.8.1 - "@types/uuid": 9.0.2 - "@types/yargs": 17.0.24 - "@whatwg-node/fetch": 0.9.9 - ci-info: 3.8.0 - core-js: 3.33.2 - envinfo: 7.9.0 + "@types/envinfo": 7.8.3 + "@types/uuid": 9.0.7 + "@types/yargs": 17.0.31 + "@whatwg-node/fetch": 0.9.14 + ci-info: 3.9.0 + core-js: 3.33.3 + envinfo: 7.11.0 jest: 29.7.0 - systeminformation: 5.21.17 - uuid: 9.0.0 + systeminformation: 5.21.20 + uuid: 9.0.1 yargs: 17.7.2 languageName: unknown linkType: soft @@ -9178,36 +9190,36 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/testing@workspace:packages/testing" dependencies: - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 "@redwoodjs/babel-config": 6.0.7 "@redwoodjs/graphql-server": 6.0.7 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/router": 6.0.7 "@redwoodjs/web": 6.0.7 - "@testing-library/jest-dom": 5.16.5 - "@testing-library/react": 14.0.0 + "@testing-library/jest-dom": 5.17.0 + "@testing-library/react": 14.1.2 "@testing-library/user-event": 14.5.1 - "@types/aws-lambda": 8.10.119 - "@types/babel-core": 6.25.8 - "@types/jest": 29.5.4 - "@types/node": 18.16.18 - "@types/react": 18.2.14 - "@types/react-dom": 18.2.6 + "@types/aws-lambda": 8.10.126 + "@types/babel-core": 6.25.10 + "@types/jest": 29.5.8 + "@types/node": 18.18.9 + "@types/react": 18.2.37 + "@types/react-dom": 18.2.15 "@types/webpack": 5.28.5 - "@types/webpack-env": 1.18.1 + "@types/webpack-env": 1.18.4 babel-jest: ^29.7.0 - core-js: 3.33.2 + core-js: 3.33.3 fast-glob: 3.3.2 jest: 29.7.0 jest-environment-jsdom: 29.7.0 jest-watch-typeahead: 2.2.2 msw: 1.3.2 ts-toolbelt: 9.6.0 - typescript: 5.2.2 - whatwg-fetch: 3.6.17 + typescript: 5.3.2 + whatwg-fetch: 3.6.19 languageName: unknown linkType: soft @@ -9221,7 +9233,7 @@ __metadata: esbuild: 0.19.5 jest: 29.7.0 stdout-update: 1.6.8 - typescript: 5.2.2 + typescript: 5.3.2 languageName: unknown linkType: soft @@ -9229,33 +9241,33 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/vite@workspace:packages/vite" dependencies: - "@babel/cli": 7.23.0 - "@babel/runtime-corejs3": 7.23.2 + "@babel/cli": 7.23.4 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/internal": 6.0.7 "@redwoodjs/project-config": 6.0.7 "@redwoodjs/web": 6.0.7 "@swc/core": 1.3.60 "@types/busboy": ^1 "@types/express": 4 - "@types/react": 18.2.14 - "@types/yargs-parser": 21.0.0 - "@vitejs/plugin-react": 4.1.1 - "@whatwg-node/server": 0.9.14 + "@types/react": 18.2.37 + "@types/yargs-parser": 21.0.3 + "@vitejs/plugin-react": 4.2.1 + "@whatwg-node/server": 0.9.18 acorn-loose: 8.3.0 buffer: 6.0.3 busboy: ^1.6.0 - core-js: 3.33.2 + core-js: 3.33.3 dotenv-defaults: 5.0.2 express: 4.18.2 - glob: 10.3.1 + glob: 10.3.10 http-proxy-middleware: 2.0.6 - isbot: 3.6.8 + isbot: 3.7.1 jest: 29.7.0 react: 0.0.0-experimental-e5205658f-20230913 react-server-dom-webpack: 0.0.0-experimental-e5205658f-20230913 - rollup: 3.27.2 - typescript: 5.2.2 - vite: 4.5.0 + rollup: 3.29.4 + typescript: 5.3.2 + vite: 4.5.1 yargs-parser: 21.1.1 bin: rw-dev-fe: ./dist/devFeServer.js @@ -9273,13 +9285,13 @@ __metadata: "@fastify/http-proxy": 9.3.0 "@fastify/static": 6.12.0 "@redwoodjs/project-config": 6.0.7 - "@types/yargs-parser": 21.0.0 + "@types/yargs-parser": 21.0.3 chalk: 4.1.2 dotenv-defaults: 5.0.2 esbuild: 0.19.5 fast-glob: 3.3.2 - fastify: 4.23.2 - typescript: 5.2.2 + fastify: 4.24.3 + typescript: 5.3.2 yargs-parser: 21.1.1 bin: rw-web-server: ./dist/server.js @@ -9290,23 +9302,23 @@ __metadata: version: 0.0.0-use.local resolution: "@redwoodjs/web@workspace:packages/web" dependencies: - "@apollo/client": 3.8.7 + "@apollo/client": 3.8.8 "@apollo/experimental-nextjs-app-support": 0.5.1 - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@redwoodjs/auth": 6.0.7 - "@testing-library/jest-dom": 5.16.5 - "@testing-library/react": 14.0.0 - "@types/react": 18.2.14 - "@types/react-dom": 18.2.6 - "@types/testing-library__jest-dom": 5.14.8 - core-js: 3.33.2 + "@testing-library/jest-dom": 5.17.0 + "@testing-library/react": 14.1.2 + "@types/react": 18.2.37 + "@types/react-dom": 18.2.15 + "@types/testing-library__jest-dom": 5.14.9 + core-js: 3.33.3 graphql: 16.8.1 - graphql-sse: 2.3.0 + graphql-sse: 2.4.0 graphql-tag: 2.12.6 jest: 29.7.0 - nodemon: 2.0.22 + nodemon: 3.0.2 react: 0.0.0-experimental-e5205658f-20230913 react-dom: 0.0.0-experimental-e5205658f-20230913 react-helmet-async: 1.3.0 @@ -9314,7 +9326,7 @@ __metadata: stacktracey: 2.1.8 ts-toolbelt: 9.6.0 tstyche: 1.0.0-beta.3 - typescript: 5.2.2 + typescript: 5.3.2 peerDependencies: react: 0.0.0-experimental-e5205658f-20230913 react-dom: 0.0.0-experimental-e5205658f-20230913 @@ -9407,19 +9419,19 @@ __metadata: languageName: node linkType: hard -"@simplewebauthn/iso-webcrypto@npm:^7.2.0": - version: 7.2.0 - resolution: "@simplewebauthn/iso-webcrypto@npm:7.2.0" +"@simplewebauthn/iso-webcrypto@npm:^7.4.0": + version: 7.4.0 + resolution: "@simplewebauthn/iso-webcrypto@npm:7.4.0" dependencies: - "@simplewebauthn/typescript-types": "*" + "@simplewebauthn/typescript-types": ^7.4.0 "@types/node": ^18.11.9 - checksum: f4f851a872239fe28835fc06550c4ec196888fae6f03ce84fccc0f4abbf2b57d1ca105191fc7efd82dbc35c79170cf817e54fdcc3f65105e2427486a38189d48 + checksum: 66a3eabb8fca5a8f779d428b358c8fc02dd2496f9cafda882f3b19562e5c9d21a8af3082f635c7ff0a1914e33a87817be0d16307f5327606149a52e854406cbb languageName: node linkType: hard -"@simplewebauthn/server@npm:7.3.1": - version: 7.3.1 - resolution: "@simplewebauthn/server@npm:7.3.1" +"@simplewebauthn/server@npm:7.4.0": + version: 7.4.0 + resolution: "@simplewebauthn/server@npm:7.4.0" dependencies: "@hexagon/base64": ^1.1.25 "@peculiar/asn1-android": ^2.3.3 @@ -9427,31 +9439,24 @@ __metadata: "@peculiar/asn1-rsa": ^2.3.4 "@peculiar/asn1-schema": ^2.3.3 "@peculiar/asn1-x509": ^2.3.4 - "@simplewebauthn/iso-webcrypto": ^7.2.0 - "@simplewebauthn/typescript-types": "*" + "@simplewebauthn/iso-webcrypto": ^7.4.0 + "@simplewebauthn/typescript-types": ^7.4.0 "@types/debug": ^4.1.7 "@types/node": ^18.11.9 cbor-x: ^1.4.1 cross-fetch: ^3.1.5 debug: ^4.3.2 - checksum: 30fee0196bc751c12fdfb9d05297b8c9ef50e87b454b3be9dbdd71b22474922be501ec6494a6820465f2aa1d99afa22850d8638062535b19a7dc54ab55015191 + checksum: 51858ad0bcfb55b96c8dd4a337ed93baf000ccf55cdf13f9f87c96e54c0fa80b0fb0eb96fc570d9e039a2526d770a1a21811a03a15f9ad23a02142ff9ba8ad6e languageName: node linkType: hard -"@simplewebauthn/typescript-types@npm:*, @simplewebauthn/typescript-types@npm:^7.4.0": +"@simplewebauthn/typescript-types@npm:7.4.0, @simplewebauthn/typescript-types@npm:^7.4.0": version: 7.4.0 resolution: "@simplewebauthn/typescript-types@npm:7.4.0" checksum: b7aefd742d2f483531ff96509475571339660addba1f140883d8e489601d6a3a5b1c6759aa5ba27a9da5b502709aee9f060a4d4e57010f32c94eb5c42ef562a3 languageName: node linkType: hard -"@simplewebauthn/typescript-types@npm:7.0.0": - version: 7.0.0 - resolution: "@simplewebauthn/typescript-types@npm:7.0.0" - checksum: 4682a353bace25f195b6621d4b96e9db48562edc68a005785230519c71838028de20154a842c4c1859f605562668ff689ab532b0afdce926d5720e7573160da4 - languageName: node - linkType: hard - "@sinclair/typebox@npm:^0.27.8": version: 0.27.8 resolution: "@sinclair/typebox@npm:0.27.8" @@ -9491,140 +9496,71 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-a11y@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-a11y@npm:7.5.3" +"@storybook/addon-a11y@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-a11y@npm:7.6.3" dependencies: - "@storybook/addon-highlight": 7.5.3 - "@storybook/channels": 7.5.3 - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/addon-highlight": 7.6.3 axe-core: ^4.2.0 - lodash: ^4.17.21 - react-resize-detector: ^7.1.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 62b7bb256bbd2c9f63ee8701d070543231e5e0ecd599bdd4982edc762357b9d02d630cc7f47d91de4e24bdb6810a79b90a05aaea99cc23ffe74e67b1dbdc6d1b + checksum: a783192fa907ffa971c79bc4e2e4382c9bc07726bab7ab14b184cdf5d20acf392d077585da7dfc85562ca8482a218505a3056eafcd087eefe03e118db98b02c0 languageName: node linkType: hard -"@storybook/addon-actions@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-actions@npm:7.5.3" +"@storybook/addon-actions@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-actions@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-events": 7.5.3 + "@storybook/core-events": 7.6.3 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 + "@types/uuid": ^9.0.1 dequal: ^2.0.2 - lodash: ^4.17.21 polished: ^4.2.2 - prop-types: ^15.7.2 - react-inspector: ^6.0.0 - telejson: ^7.2.0 - ts-dedent: ^2.0.0 uuid: ^9.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: c9077396239e03370a6010f6cf60cfa566fab7e39c013d887f78398a17b29774d34991eaa8560add3692c25a12ac1db01b15b7a8552709b1d700aac0b7e24c5f + checksum: b805917afa30b1a4a4e5be6040cd6bbc4c1df9f5362200d0607abc9a0b53df43488776cca8c30852f9d34a8bc9062bbc102db3e320b025973fbde9fafb4d9664 languageName: node linkType: hard -"@storybook/addon-backgrounds@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-backgrounds@npm:7.5.3" +"@storybook/addon-backgrounds@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-backgrounds@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-events": 7.5.3 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 memoizerific: ^1.11.3 ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 70308dbec3cc77e3978d1036e5dc442c3ec84904d5d44e877c286d1db56d7f0d87dc5eea1284160006111b10e2e57f9b4c55025fd953dbcc3717a5e9c6025d63 + checksum: 21fb6421b15811bfa452fb67a6899bc85f4199079ab204018f127c29197934263e5a56eece20e3d817307eeee37e633d58510781ca4bbb4bbfcc8fd67031758b languageName: node linkType: hard -"@storybook/addon-controls@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-controls@npm:7.5.3" - dependencies: - "@storybook/blocks": 7.5.3 - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-common": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/manager-api": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 +"@storybook/addon-controls@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-controls@npm:7.6.3" + dependencies: + "@storybook/blocks": 7.6.3 lodash: ^4.17.21 ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 43d39c726ff9c21aab0472f0b56e17633b2c1bc4ad3c445b0e718eff92efde29a3c6c5b4d3cd50841c9d03fe6b8231873e9dedf178e4b11efaa79ff717ca25b3 + checksum: 61e48b57672d0314b351b72edb297effcadb86aecf74ad532a6907d60b618052a7def3c4be072a9be47075218f01284558a86dd1965e4e98eb169e87c201a7e4 languageName: node linkType: hard -"@storybook/addon-docs@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-docs@npm:7.5.3" +"@storybook/addon-docs@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-docs@npm:7.6.3" dependencies: "@jest/transform": ^29.3.1 "@mdx-js/react": ^2.1.5 - "@storybook/blocks": 7.5.3 - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/csf-plugin": 7.5.3 - "@storybook/csf-tools": 7.5.3 + "@storybook/blocks": 7.6.3 + "@storybook/client-logger": 7.6.3 + "@storybook/components": 7.6.3 + "@storybook/csf-plugin": 7.6.3 + "@storybook/csf-tools": 7.6.3 "@storybook/global": ^5.0.0 "@storybook/mdx2-csf": ^1.0.0 - "@storybook/node-logger": 7.5.3 - "@storybook/postinstall": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/react-dom-shim": 7.5.3 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/node-logger": 7.6.3 + "@storybook/postinstall": 7.6.3 + "@storybook/preview-api": 7.6.3 + "@storybook/react-dom-shim": 7.6.3 + "@storybook/theming": 7.6.3 + "@storybook/types": 7.6.3 fs-extra: ^11.1.0 remark-external-links: ^8.0.0 remark-slug: ^6.0.0 @@ -9632,155 +9568,95 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: a54f608cbf9f67db3dde5c2fc8ce05579a2a3ca449cf52a919535710881d88d6548fffad8c1fc7964a16d6e68578a85b5cf1ab3d15b691a0154d94ab444feab1 - languageName: node - linkType: hard - -"@storybook/addon-essentials@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-essentials@npm:7.5.3" - dependencies: - "@storybook/addon-actions": 7.5.3 - "@storybook/addon-backgrounds": 7.5.3 - "@storybook/addon-controls": 7.5.3 - "@storybook/addon-docs": 7.5.3 - "@storybook/addon-highlight": 7.5.3 - "@storybook/addon-measure": 7.5.3 - "@storybook/addon-outline": 7.5.3 - "@storybook/addon-toolbars": 7.5.3 - "@storybook/addon-viewport": 7.5.3 - "@storybook/core-common": 7.5.3 - "@storybook/manager-api": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/preview-api": 7.5.3 + checksum: 4ae739d075c2eab4c332b78d4d8f78321db5b7afb57a6beebb8e555c6ca26b06cff83d0c900e215e66c31ed23c1f9c4b01287bb94500816bc6a79a99b91aa1fe + languageName: node + linkType: hard + +"@storybook/addon-essentials@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-essentials@npm:7.6.3" + dependencies: + "@storybook/addon-actions": 7.6.3 + "@storybook/addon-backgrounds": 7.6.3 + "@storybook/addon-controls": 7.6.3 + "@storybook/addon-docs": 7.6.3 + "@storybook/addon-highlight": 7.6.3 + "@storybook/addon-measure": 7.6.3 + "@storybook/addon-outline": 7.6.3 + "@storybook/addon-toolbars": 7.6.3 + "@storybook/addon-viewport": 7.6.3 + "@storybook/core-common": 7.6.3 + "@storybook/manager-api": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/preview-api": 7.6.3 ts-dedent: ^2.0.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 4f74cb0558c965b04e955004f8902464341bc87f790d6b80b2824a8707b4038ca3334634f7a0e29c814de913b38eb1e116bb58db86f8819ea37bd5d6cb927a39 + checksum: 564620856b555b9a82c5cebffce082da6736f86fd57f559639e168dc4f6f36010cbcfe9b51fa3df522984297276542b5fdbe82e280687afea1b1deaa761eae7f languageName: node linkType: hard -"@storybook/addon-highlight@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-highlight@npm:7.5.3" +"@storybook/addon-highlight@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-highlight@npm:7.6.3" dependencies: - "@storybook/core-events": 7.5.3 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.5.3 - checksum: d0d8665682bcbc4241489e75695dba4fa831803ddbe17c0936dc7a1e1981237f8698b6b228031594def37a2df9a7ce217afc279aa4f3af052c67c2579972bf70 + checksum: b51ca2cf9bf84fddc5e1215894621169738833083e940bdcbdc357d6a13183420c9c6a5c6a3df404d08fefadb9c11418bd470dbe0718de586760f27c9b74b83f languageName: node linkType: hard -"@storybook/addon-measure@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-measure@npm:7.5.3" +"@storybook/addon-measure@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-measure@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-events": 7.5.3 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/types": 7.5.3 tiny-invariant: ^1.3.1 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 48a7bf4d6b252ec1b892ece3ee0bf3385ede2aa7a284f49443fe77d36d64cc12366051a6ad3b403da7282f2e631253722b76cf7310f0110c5da812fa27c8cc6b + checksum: e2e1537df10e43d5fa3592afc289903824f4edd0fc5652974002eee3bfbb6b38adb57ffc7bf46a2e5d8e8bfcc6cbc5da4e8255fbdf6e3c7d7336d4c12048b5a3 languageName: node linkType: hard -"@storybook/addon-outline@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-outline@npm:7.5.3" +"@storybook/addon-outline@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-outline@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-events": 7.5.3 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/types": 7.5.3 ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 754413dc06a7fc4a0e0bd8e64553443afd0930b387ddeec5b32ef1e84ba9740d0944f9e60d793d8797fd588400c09fdfb3c5aa9330955bb4967e0b1c1fa3f309 + checksum: afd850556982e0fa8768336663470943b5c6108ee888a854e1265940d5776b60d9f5a7c2db3c0009e3466c217fdf66185646ddd80f20c608b1fac9542f76d07f languageName: node linkType: hard -"@storybook/addon-toolbars@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-toolbars@npm:7.5.3" - dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/theming": 7.5.3 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: d0c393c9e16b14654fdc92a78eaf20b2c0685fa1ac9c1d1011c11e72cc5ad69a187ef7ac2e6568e3a77c32a53c524da126b55f3d7a31d97d958bc809d34b79c8 +"@storybook/addon-toolbars@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-toolbars@npm:7.6.3" + checksum: fccde34f911550720073b4e566345b00870cfcb4701fb8082b592f9c7cb828a032a8e24bd032f6e8d585b8be4dc47b0be8ce9567e4d47bd61def3de6b37e8f51 languageName: node linkType: hard -"@storybook/addon-viewport@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/addon-viewport@npm:7.5.3" +"@storybook/addon-viewport@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/addon-viewport@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/theming": 7.5.3 memoizerific: ^1.11.3 - prop-types: ^15.7.2 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - react: - optional: true - react-dom: - optional: true - checksum: 50207e3bb943ea43914513324fc35c8036556a797c20f1b66bf89615a7158450652d78bbe9ae09a11c539d4dcfeb8a716f1bb41d92e3fecca61aa1ac5bf8646f + checksum: 7bed1578544aa080d8678f3162659d7fb09ccc4784f219300e0ae4cacca172dbebd7c9c517437b36c6840739ad6b7507d43b408ffd4a9db1f26aaa034827de55 languageName: node linkType: hard -"@storybook/blocks@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/blocks@npm:7.5.3" - dependencies: - "@storybook/channels": 7.5.3 - "@storybook/client-logger": 7.5.3 - "@storybook/components": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/csf": ^0.1.0 - "@storybook/docs-tools": 7.5.3 +"@storybook/blocks@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/blocks@npm:7.6.3" + dependencies: + "@storybook/channels": 7.6.3 + "@storybook/client-logger": 7.6.3 + "@storybook/components": 7.6.3 + "@storybook/core-events": 7.6.3 + "@storybook/csf": ^0.1.2 + "@storybook/docs-tools": 7.6.3 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/manager-api": 7.6.3 + "@storybook/preview-api": 7.6.3 + "@storybook/theming": 7.6.3 + "@storybook/types": 7.6.3 "@types/lodash": ^4.14.167 color-convert: ^2.0.1 dequal: ^2.0.2 @@ -9796,18 +9672,18 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: d7036bea0ff1137063dd7aab28a6fe2e114809127b7f53aadfae272b752b1ffaaf54ec8cbdff689da54285d64cfff58108885fe8f937748efc71a7bbdae0bf75 + checksum: cfb61c7eb42929df91a34c480875a190cba73014daf67e34fb5fbab0bb32e5af7e785d95342fe09fcc394064e3794a195ff6db09ca87bbe3d6348b4a8a651fd2 languageName: node linkType: hard -"@storybook/builder-manager@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/builder-manager@npm:7.5.3" +"@storybook/builder-manager@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/builder-manager@npm:7.6.3" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/core-common": 7.5.3 - "@storybook/manager": 7.5.3 - "@storybook/node-logger": 7.5.3 + "@storybook/core-common": 7.6.3 + "@storybook/manager": 7.6.3 + "@storybook/node-logger": 7.6.3 "@types/ejs": ^3.1.1 "@types/find-cache-dir": ^3.2.1 "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 @@ -9820,36 +9696,37 @@ __metadata: fs-extra: ^11.1.0 process: ^0.11.10 util: ^0.12.4 - checksum: 35ed5138a7b7fd968539a3b177a3b8b9a2eff4ddea0a05eb1134188a5c14c0d4334a8e7ac6e5bb5a2eea0c1fe7eec079eee7e056a9584933fd1e9f01def98157 + checksum: 5d8654c0a15bf7112d994ce0331c4ece163179547fb36e1107beeb7c0cd63f754c072d1d72b02dcb439d4f6df37b69ed0c525ea2fa2d3dde2e16c7256ef01803 languageName: node linkType: hard -"@storybook/builder-webpack5@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/builder-webpack5@npm:7.5.3" +"@storybook/builder-webpack5@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/builder-webpack5@npm:7.6.3" dependencies: - "@babel/core": ^7.22.0 - "@storybook/channels": 7.5.3 - "@storybook/client-logger": 7.5.3 - "@storybook/core-common": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/core-webpack": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/preview": 7.5.3 - "@storybook/preview-api": 7.5.3 + "@babel/core": ^7.23.2 + "@storybook/channels": 7.6.3 + "@storybook/client-logger": 7.6.3 + "@storybook/core-common": 7.6.3 + "@storybook/core-events": 7.6.3 + "@storybook/core-webpack": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/preview": 7.6.3 + "@storybook/preview-api": 7.6.3 "@swc/core": ^1.3.82 "@types/node": ^18.0.0 "@types/semver": ^7.3.4 babel-loader: ^9.0.0 - babel-plugin-named-exports-order: ^0.0.2 browser-assert: ^1.2.1 case-sensitive-paths-webpack-plugin: ^2.4.0 constants-browserify: ^1.0.0 css-loader: ^6.7.1 + es-module-lexer: ^1.4.1 express: ^4.17.3 fork-ts-checker-webpack-plugin: ^8.0.0 fs-extra: ^11.1.0 html-webpack-plugin: ^5.5.0 + magic-string: ^0.30.5 path-browserify: ^1.0.1 process: ^0.11.10 semver: ^7.3.7 @@ -9867,40 +9744,40 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: ac979ca329a55796743790adcd1279ee92628c81dfc2fb1d2a399b00baf88b5ed99b4ba386bc39177ded26edf8e3a75ced2cd89c5d361865edd358fd288d0fc4 + checksum: ad13342978861ddb2f61db06b1ff2f2fbebbba0ea38a6ebb06d3fc987c0704d17ae50460bd7066aeb0fdb492423318837c3466d0a866cb705d9cb936544e9572 languageName: node linkType: hard -"@storybook/channels@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/channels@npm:7.5.3" +"@storybook/channels@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/channels@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/core-events": 7.5.3 + "@storybook/client-logger": 7.6.3 + "@storybook/core-events": 7.6.3 "@storybook/global": ^5.0.0 qs: ^6.10.0 telejson: ^7.2.0 tiny-invariant: ^1.3.1 - checksum: 875977b663c0d9d82e47206fa94bbe2f072b2e8700e1f7bec9a0848bbc368247c270d1823221b3455292dd68cc580483a03849bc43e92c551b2224932ff57f92 + checksum: 2111b31ab2e4fe32d523e63e42708944013c152e3b1ca234ff453e25de0a8cf0fe84577bfedd20b16d9ea2b50c50daa089036b16e0373247bc23825fe46f6fc2 languageName: node linkType: hard -"@storybook/cli@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/cli@npm:7.5.3" +"@storybook/cli@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/cli@npm:7.6.3" dependencies: - "@babel/core": ^7.22.9 - "@babel/preset-env": ^7.22.9 - "@babel/types": ^7.22.5 + "@babel/core": ^7.23.2 + "@babel/preset-env": ^7.23.2 + "@babel/types": ^7.23.0 "@ndelangen/get-tarball": ^3.0.7 - "@storybook/codemod": 7.5.3 - "@storybook/core-common": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/core-server": 7.5.3 - "@storybook/csf-tools": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/telemetry": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/codemod": 7.6.3 + "@storybook/core-common": 7.6.3 + "@storybook/core-events": 7.6.3 + "@storybook/core-server": 7.6.3 + "@storybook/csf-tools": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/telemetry": 7.6.3 + "@storybook/types": 7.6.3 "@types/semver": ^7.3.4 "@yarnpkg/fslib": 2.10.3 "@yarnpkg/libzip": 2.3.0 @@ -9917,7 +9794,7 @@ __metadata: get-port: ^5.1.1 giget: ^1.0.0 globby: ^11.0.2 - jscodeshift: ^0.14.0 + jscodeshift: ^0.15.1 leven: ^3.1.0 ora: ^5.4.1 prettier: ^2.8.0 @@ -9933,79 +9810,79 @@ __metadata: bin: getstorybook: ./bin/index.js sb: ./bin/index.js - checksum: 8d1e694fb39d805482f5b61fa9b2c4fcc5fa70cfe97ba64e0be220b73faaf69454e7347f1630618e53e6c3abb6c152c57df72f6b93b103a172b8930f4286f480 + checksum: 9af9da7bc334e46514841fca8ef0dd927d1d13ceb4841206833783a92e90ec581f6e832c8ec6e41459e5dfae403287cffcdcc1d0d837ac451bf19bd1021ef43f languageName: node linkType: hard -"@storybook/client-logger@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/client-logger@npm:7.5.3" +"@storybook/client-logger@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/client-logger@npm:7.6.3" dependencies: "@storybook/global": ^5.0.0 - checksum: 43997b47a4e49b38c599a08de1cec7a6ae6f000ec35a1d676522325aba60bc11507ad18cb0f40954bcfd77dfbb853493687e4e8fd88e2fdac07cd282ecc0d0bf + checksum: e32a9932aa7ddc05a17540c2bea7faf613cfc927ef855db2e15dad1fbfb35173c3669f1aeab2a589f16f9dda6a761ee055b98b40700b522a984ec81675817cd1 languageName: node linkType: hard -"@storybook/codemod@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/codemod@npm:7.5.3" +"@storybook/codemod@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/codemod@npm:7.6.3" dependencies: - "@babel/core": ^7.22.9 - "@babel/preset-env": ^7.22.9 - "@babel/types": ^7.22.5 - "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/types": 7.5.3 + "@babel/core": ^7.23.2 + "@babel/preset-env": ^7.23.2 + "@babel/types": ^7.23.0 + "@storybook/csf": ^0.1.2 + "@storybook/csf-tools": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/types": 7.6.3 "@types/cross-spawn": ^6.0.2 cross-spawn: ^7.0.3 globby: ^11.0.2 - jscodeshift: ^0.14.0 + jscodeshift: ^0.15.1 lodash: ^4.17.21 prettier: ^2.8.0 recast: ^0.23.1 - checksum: 83c3e2306a00e2351b1a9930fe1a85eeffb5cee5a92946339352094c01d6d5c223ec3be075e35e7d1abd9957a69046d32f414625cfc245c6b567d76443567c20 + checksum: f24eaac492b80151005d256df54c1bfcc35a6adc21ac7b11758336393cab74ab7d826cffd0f4dfa5f6e2610f9c5582c2fc7ff30b65e1c697382d908604899a38 languageName: node linkType: hard -"@storybook/components@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/components@npm:7.5.3" +"@storybook/components@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/components@npm:7.6.3" dependencies: "@radix-ui/react-select": ^1.2.2 "@radix-ui/react-toolbar": ^1.0.4 - "@storybook/client-logger": 7.5.3 - "@storybook/csf": ^0.1.0 + "@storybook/client-logger": 7.6.3 + "@storybook/csf": ^0.1.2 "@storybook/global": ^5.0.0 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/theming": 7.6.3 + "@storybook/types": 7.6.3 memoizerific: ^1.11.3 use-resize-observer: ^9.1.0 util-deprecate: ^1.0.2 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 7d25a5fa2d7c8686c455ee260989e2cf5c0ad3e9d8ba1093a1e43c5647775c06ef79c084b539cbc9fee4753ee175759a7d0e2715d22c7b929687620ad9f4e841 + checksum: 098e6ca96fa1b478e0be7c63a7bccb343a1d5376e1dd041b25454aca22d8f8ea665f50f62f24b08ecda7caeca820e8c9ac3995886ebb88912743ecbfa761abf9 languageName: node linkType: hard -"@storybook/core-client@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/core-client@npm:7.5.3" +"@storybook/core-client@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/core-client@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/preview-api": 7.5.3 - checksum: 41c21431f803843c2cf43c72685f10df9282fbe0730623000979296e864770d38c444b4812ed81e6a14bdbfc7ad778761b5c68dd27a8888029cb23e6f82cb1c3 + "@storybook/client-logger": 7.6.3 + "@storybook/preview-api": 7.6.3 + checksum: c333fdf7d0062c33d8727f6fc4d82f87cdedf0c26315eaf8a097c8434563418bee956f395326126b0cc20faa7664f4132cd1454a826fc78883a605d510d8c213 languageName: node linkType: hard -"@storybook/core-common@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/core-common@npm:7.5.3" +"@storybook/core-common@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/core-common@npm:7.6.3" dependencies: - "@storybook/core-events": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/core-events": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/types": 7.6.3 "@types/find-cache-dir": ^3.2.1 "@types/node": ^18.0.0 "@types/node-fetch": ^2.6.4 @@ -10026,38 +9903,38 @@ __metadata: pretty-hrtime: ^1.0.3 resolve-from: ^5.0.0 ts-dedent: ^2.0.0 - checksum: f099aca961729abaeafdf224e61da64237632bf13088dea703d13036c89d7b0a188ce4ac4b0d26d40523ddb8b8d12a64a26dac2c5514f7ed7939c47340acba4f + checksum: 4f623ae79209df583d5abf3a50d5087170537bfeafefb716583315030dc3c2696a17062e4e2b859f23a10a4d995a9431d6d764c363c0105110d4858c61f6891b languageName: node linkType: hard -"@storybook/core-events@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/core-events@npm:7.5.3" +"@storybook/core-events@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/core-events@npm:7.6.3" dependencies: ts-dedent: ^2.0.0 - checksum: 2c0db835f840e8001928cc032b55531f9225eb146aaf069437925c2f55ad28a15eea287885c3cd59b9be3bb31822dc427fe9a33d79bc0861ceb3f6ee5395766d + checksum: 56304674342ad7a932e4735fd3ad347a277bb7e6407602f848e968cc7dd8e8eaa92c93dbfe2f42a4efb0853ae67491d76feefcab1fc0212b2596e33f5422888c languageName: node linkType: hard -"@storybook/core-server@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/core-server@npm:7.5.3" +"@storybook/core-server@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/core-server@npm:7.6.3" dependencies: "@aw-web-design/x-default-browser": 1.4.126 "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-manager": 7.5.3 - "@storybook/channels": 7.5.3 - "@storybook/core-common": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/csf": ^0.1.0 - "@storybook/csf-tools": 7.5.3 + "@storybook/builder-manager": 7.6.3 + "@storybook/channels": 7.6.3 + "@storybook/core-common": 7.6.3 + "@storybook/core-events": 7.6.3 + "@storybook/csf": ^0.1.2 + "@storybook/csf-tools": 7.6.3 "@storybook/docs-mdx": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/manager": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/telemetry": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/manager": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/preview-api": 7.6.3 + "@storybook/telemetry": 7.6.3 + "@storybook/types": 7.6.3 "@types/detect-port": ^1.3.0 "@types/node": ^18.0.0 "@types/pretty-hrtime": ^1.0.0 @@ -10084,56 +9961,56 @@ __metadata: util-deprecate: ^1.0.2 watchpack: ^2.2.0 ws: ^8.2.3 - checksum: 6fa783f3efbd6e2cbfb2d29c8d4da8c5bf6daa0c1615bd6484bfd92115c45295fc91de095961f178cb28f5e95cc73c62f67d59c53c5d972ba3fdd1e086d006f4 + checksum: f02489b1848f6f445a7723b90d79749e5fee0d7f34a3f9e39e11fc094ff7805e6ebfdc74e8a66dd1a3abbe4998c8de1d2952ccfc19e4bc91ab6391f65ffbebe2 languageName: node linkType: hard -"@storybook/core-webpack@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/core-webpack@npm:7.5.3" +"@storybook/core-webpack@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/core-webpack@npm:7.6.3" dependencies: - "@storybook/core-common": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/core-common": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/types": 7.6.3 "@types/node": ^18.0.0 ts-dedent: ^2.0.0 - checksum: 996a12ef62406fc54da0d8c6ebd597b824059fd8597c831e241ea1f4115dcdcdaeff9c1572cbe66a949194295436ba0a029555964d03effa3babfe2ee7024eb7 + checksum: a4db33823da1d69cb0f5d0cfbfdcf4164d76681c749c65eb2b787408a69af3fdec3730b0dd3fce194e6d0fa53a60a308824f7aea0ccdafbee165e69ad52d89d7 languageName: node linkType: hard -"@storybook/csf-plugin@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/csf-plugin@npm:7.5.3" +"@storybook/csf-plugin@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/csf-plugin@npm:7.6.3" dependencies: - "@storybook/csf-tools": 7.5.3 + "@storybook/csf-tools": 7.6.3 unplugin: ^1.3.1 - checksum: 700ef994b1694faf5955d37e52569b8e20f15d800c3aa8ff4a24b02f5a0cf1467a07d72149314b46de477bb710d7d523ca05b20f97f953b28323aa41b30930da + checksum: 59396da8f6dd79c4eea37cb1a993d9dfcb7cf441bb140a243ba22a519d6f48e7840219633b950b6da6684242a765e5d8396b63f75793df8294e2e0dd4b918872 languageName: node linkType: hard -"@storybook/csf-tools@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/csf-tools@npm:7.5.3" +"@storybook/csf-tools@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/csf-tools@npm:7.6.3" dependencies: - "@babel/generator": ^7.22.9 - "@babel/parser": ^7.22.7 - "@babel/traverse": ^7.22.8 - "@babel/types": ^7.22.5 - "@storybook/csf": ^0.1.0 - "@storybook/types": 7.5.3 + "@babel/generator": ^7.23.0 + "@babel/parser": ^7.23.0 + "@babel/traverse": ^7.23.2 + "@babel/types": ^7.23.0 + "@storybook/csf": ^0.1.2 + "@storybook/types": 7.6.3 fs-extra: ^11.1.0 recast: ^0.23.1 ts-dedent: ^2.0.0 - checksum: d92300f8bb1c70b2313f3fe8fdae5a88fd46b8ca6403ac74543b695289bddd827a7ed8e46b31b1ebc87c5a3b5f4c07a3652f05ff00e85a66df5159bbfc36e2df + checksum: 31a4c2ea5abfd7c2d29bee8b642f4079e6ac21bb379f21b94494f3b79ea139d9c3cb0fb33bda6b1f50ab467b4984e683490d35b73a7965fb0e9978cb5b7ceed5 languageName: node linkType: hard -"@storybook/csf@npm:^0.1.0": - version: 0.1.1 - resolution: "@storybook/csf@npm:0.1.1" +"@storybook/csf@npm:^0.1.2": + version: 0.1.2 + resolution: "@storybook/csf@npm:0.1.2" dependencies: type-fest: ^2.19.0 - checksum: 999bb87fbbe047a559bbaa5baf2ed84872fcd5cdcae3c1169f8e4c641eefe8759d09a09034a78ed114032c0e5cf6301b7fa89e5e3ce60d75cf0bd5e33ec0a6e7 + checksum: b51a55292e5d2af8b1d135a28ecaa94f8860ddfedcb393adfa2cca1ee23853156066f737d8be1cb5412f572781aa525dc0b2f6e4a6f6ce805489f0149efe837c languageName: node linkType: hard @@ -10144,17 +10021,18 @@ __metadata: languageName: node linkType: hard -"@storybook/docs-tools@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/docs-tools@npm:7.5.3" +"@storybook/docs-tools@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/docs-tools@npm:7.6.3" dependencies: - "@storybook/core-common": 7.5.3 - "@storybook/preview-api": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/core-common": 7.6.3 + "@storybook/preview-api": 7.6.3 + "@storybook/types": 7.6.3 "@types/doctrine": ^0.0.3 + assert: ^2.1.0 doctrine: ^3.0.0 lodash: ^4.17.21 - checksum: 1726947cbe552531831df426f55e297e2ad8dce5af274ab09ba52aa667f656420705301a34776d38a503728e86f4b6a4301566dfa543d40c909fd652f1b2a4a3 + checksum: 79e278099bc8e9ec046b699b213494f70ac3221206d8132d8e369a47cebdf11912b328a5837dc010b440fc75fbf29610f4cd964cfbf2586aa69cdaa606d0b486 languageName: node linkType: hard @@ -10165,18 +10043,18 @@ __metadata: languageName: node linkType: hard -"@storybook/manager-api@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/manager-api@npm:7.5.3" +"@storybook/manager-api@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/manager-api@npm:7.6.3" dependencies: - "@storybook/channels": 7.5.3 - "@storybook/client-logger": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/csf": ^0.1.0 + "@storybook/channels": 7.6.3 + "@storybook/client-logger": 7.6.3 + "@storybook/core-events": 7.6.3 + "@storybook/csf": ^0.1.2 "@storybook/global": ^5.0.0 - "@storybook/router": 7.5.3 - "@storybook/theming": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/router": 7.6.3 + "@storybook/theming": 7.6.3 + "@storybook/types": 7.6.3 dequal: ^2.0.2 lodash: ^4.17.21 memoizerific: ^1.11.3 @@ -10184,17 +10062,14 @@ __metadata: store2: ^2.14.2 telejson: ^7.2.0 ts-dedent: ^2.0.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 8f48834b477ba07a252cb7a99e7513fab4d3f1cd52e4133e30de1984e43a5f86b94f55bfc06c218cfd98dc15ebb62d07f2f3929a37dbc74af29aaad0b779edea + checksum: e4daa5e2bcd5bc2305a7b9582a25befb0cbf3a5b2f02bb1bacfacc07fa3cfddbcc816f6faca8bc3ed859c5a3351ea413bf139b153eaf84ba80abfed256867760 languageName: node linkType: hard -"@storybook/manager@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/manager@npm:7.5.3" - checksum: 19e0a7d3791c0621c63fe1cbc6de6bdb92195d0cdff9259437c54763bd9958ddaaea75497a0be2b9ea8e5300e746f39c7c3ee5e0e1902a48f4f04a2f3aa0a23d +"@storybook/manager@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/manager@npm:7.6.3" + checksum: df7753e6dded87a058b489ad1caba819bb983c343b5af0c18b6bdf597cb4082783d90f58a82ea5e7ba1ffced93b1b66b8effd11560712ebd598824633f6647dd languageName: node linkType: hard @@ -10205,38 +10080,39 @@ __metadata: languageName: node linkType: hard -"@storybook/node-logger@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/node-logger@npm:7.5.3" - checksum: 327f5eef43adcbbf9c5daa49c82ee8d57e6cf795defdde12b9988e04c66209ea99a49574f73a82c01c78331756dd5d50440a1d09cc7b3b6ff19e672d24390e94 +"@storybook/node-logger@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/node-logger@npm:7.6.3" + checksum: adb880f276bc75a24cf7051d189fa888151a6d8f6ecb674229f4c4d2c178c5e3873d3ec26f9d99f850ed045268d207dc7718a63f3cdc9043302264134fe8fdbd languageName: node linkType: hard -"@storybook/postinstall@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/postinstall@npm:7.5.3" - checksum: b2bc3a91ffedb83a54624d6880fa10fab86db86abd6aaa07bc130abd9ffab21f5be8d7e880173c911e58b56f2dfcab03ae0d6e6ce710997f1c323b378d917932 +"@storybook/postinstall@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/postinstall@npm:7.6.3" + checksum: dde259012b473e4bbf5c625105153b25daefbe44a029ce6d312188d7a029e6a6fb4a5c6cef743f3b9643802ee67348ff16dec0ad49f982b0e21d8f6cc777fb8e languageName: node linkType: hard -"@storybook/preset-react-webpack@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/preset-react-webpack@npm:7.5.3" - dependencies: - "@babel/preset-flow": ^7.22.5 - "@babel/preset-react": ^7.22.5 - "@pmmmwh/react-refresh-webpack-plugin": ^0.5.5 - "@storybook/core-webpack": 7.5.3 - "@storybook/docs-tools": 7.5.3 - "@storybook/node-logger": 7.5.3 - "@storybook/react": 7.5.3 +"@storybook/preset-react-webpack@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/preset-react-webpack@npm:7.6.3" + dependencies: + "@babel/preset-flow": ^7.22.15 + "@babel/preset-react": ^7.22.15 + "@pmmmwh/react-refresh-webpack-plugin": ^0.5.11 + "@storybook/core-webpack": 7.6.3 + "@storybook/docs-tools": 7.6.3 + "@storybook/node-logger": 7.6.3 + "@storybook/react": 7.6.3 "@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.0c3f3b7.0 "@types/node": ^18.0.0 "@types/semver": ^7.3.4 babel-plugin-add-react-displayname: ^0.0.5 - babel-plugin-react-docgen: ^4.2.1 fs-extra: ^11.1.0 - react-refresh: ^0.11.0 + magic-string: ^0.30.5 + react-docgen: ^7.0.0 + react-refresh: ^0.14.0 semver: ^7.3.7 webpack: 5 peerDependencies: @@ -10248,20 +10124,20 @@ __metadata: optional: true typescript: optional: true - checksum: f0db46025dce3858a816b2dd71c8b52587360988dee0f89d79f69043326207efae07ae9450678bddbcf28b85fa41bf231294bce8404a3017d99c1aaa395b263c + checksum: 566427edcb285baba42a5adf8d2773d092b202367ad5328f91ef379efacef0fd67e33e63e936d2016aea309e5fa9088d39c30fa89550af9cd843b91f32a6f41c languageName: node linkType: hard -"@storybook/preview-api@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/preview-api@npm:7.5.3" +"@storybook/preview-api@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/preview-api@npm:7.6.3" dependencies: - "@storybook/channels": 7.5.3 - "@storybook/client-logger": 7.5.3 - "@storybook/core-events": 7.5.3 - "@storybook/csf": ^0.1.0 + "@storybook/channels": 7.6.3 + "@storybook/client-logger": 7.6.3 + "@storybook/core-events": 7.6.3 + "@storybook/csf": ^0.1.2 "@storybook/global": ^5.0.0 - "@storybook/types": 7.5.3 + "@storybook/types": 7.6.3 "@types/qs": ^6.9.5 dequal: ^2.0.2 lodash: ^4.17.21 @@ -10270,14 +10146,14 @@ __metadata: synchronous-promise: ^2.0.15 ts-dedent: ^2.0.0 util-deprecate: ^1.0.2 - checksum: 3acc48f1a9e801ff3b9e93261f68810a7f1827b777939dea0065c6385062c24e0e9081f3cca4b8b35d907dccbc2f1ea405ff8dcbfb6bbac9b4cd993f5ad23ccb + checksum: eb103973b0722096d5a44aa5d2e64bd8c8fb1a012c49231df97e3013b6dce181833fb4afb791f199d6e2c05ffc7b85a2988b3b16d701b4a6d41e968c72798acf languageName: node linkType: hard -"@storybook/preview@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/preview@npm:7.5.3" - checksum: e1f86b40f2d510f0f53ecb214c2cfb67f58c7f4b19456c1ef843e52e9caba4515d25c1ee74fcd514b5d4f74994d02d53f37f9b1c34a2209525b354f7fe8af111 +"@storybook/preview@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/preview@npm:7.6.3" + checksum: e55b14ea9fb3b4b1f4a49ddfe50c9151575eef97d752a7cffe584bfdf833a9498f2f218b70ba1030c4928db93f5d2cb5dea17ca9bfd32b8eb6754a693c247bb4 languageName: node linkType: hard @@ -10299,23 +10175,23 @@ __metadata: languageName: node linkType: hard -"@storybook/react-dom-shim@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/react-dom-shim@npm:7.5.3" +"@storybook/react-dom-shim@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/react-dom-shim@npm:7.6.3" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 91314e9891ef7f80fe32c2c239b112dafbc739d5eba72f8fd2ccde62058b9e649280dd2245705f13cb00044d9482a8b6f358a8262018449f5feb8e5df5b96494 + checksum: 09871726b7734a4b88571004a370425ba08d3a6d1d20aebf2444b8e2894116f27b42feac2bd6c782fde249dc84f2b314a55da6a08d98573d763cbbaef0b80aa3 languageName: node linkType: hard -"@storybook/react-webpack5@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/react-webpack5@npm:7.5.3" +"@storybook/react-webpack5@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/react-webpack5@npm:7.6.3" dependencies: - "@storybook/builder-webpack5": 7.5.3 - "@storybook/preset-react-webpack": 7.5.3 - "@storybook/react": 7.5.3 + "@storybook/builder-webpack5": 7.6.3 + "@storybook/preset-react-webpack": 7.6.3 + "@storybook/react": 7.6.3 "@types/node": ^18.0.0 peerDependencies: "@babel/core": ^7.22.0 @@ -10327,21 +10203,21 @@ __metadata: optional: true typescript: optional: true - checksum: 0e84dd5caffabfe75cf0405e1d40be8d26ac2d078198fc38494d90ede3d157042af86166c844186f6c32be76cab5bb774df7ee76526ec1020cc54f083cadaefc + checksum: 7a300d8fa6c45b13512b540dacf26f884777121fd6e247ab928b0b7adf2251c184a99ea567cd6f83eeb3e373f921ed60aee6addbcfe7f048bddb51540dc54a5e languageName: node linkType: hard -"@storybook/react@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/react@npm:7.5.3" +"@storybook/react@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/react@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/core-client": 7.5.3 - "@storybook/docs-tools": 7.5.3 + "@storybook/client-logger": 7.6.3 + "@storybook/core-client": 7.6.3 + "@storybook/docs-tools": 7.6.3 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.5.3 - "@storybook/react-dom-shim": 7.5.3 - "@storybook/types": 7.5.3 + "@storybook/preview-api": 7.6.3 + "@storybook/react-dom-shim": 7.6.3 + "@storybook/types": 7.6.3 "@types/escodegen": ^0.0.6 "@types/estree": ^0.0.51 "@types/node": ^18.0.0 @@ -10363,125 +10239,132 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 6433c12e12e1eb570d06bd1e03a8eacfcea08387b708bc3d423685d90c6de980ea39a79f5c188fa58c2b8b78fabbe0cb1c07136806f264eb05d2d50fd3532a13 + checksum: 30ce9815c1550fe847a96762d63e95135faed90b6d76fa7dd7ca2305be78f3588f8a42fe32fecbbaa5c1a501e986781a2d915b2e4d4e2aff8a7735af63dcdbf2 languageName: node linkType: hard -"@storybook/router@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/router@npm:7.5.3" +"@storybook/router@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/router@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 + "@storybook/client-logger": 7.6.3 memoizerific: ^1.11.3 qs: ^6.10.0 - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 2d85a9c16e2817f38a66d1718dbe2b9b23a31676e991d4760273acb508c40491cb7ff91f14a563529c3cd15becc213c3e3f5cf3290001323a89528907388b368 + checksum: 3d3004dd1e551e68011b39d2dd438ac9a34d608ede88ba1675924203d9c44784a099001f86441373c420e9bc6e98c623a19551f1667e062377b252f15cad7dad languageName: node linkType: hard -"@storybook/telemetry@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/telemetry@npm:7.5.3" +"@storybook/telemetry@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/telemetry@npm:7.6.3" dependencies: - "@storybook/client-logger": 7.5.3 - "@storybook/core-common": 7.5.3 - "@storybook/csf-tools": 7.5.3 + "@storybook/client-logger": 7.6.3 + "@storybook/core-common": 7.6.3 + "@storybook/csf-tools": 7.6.3 chalk: ^4.1.0 detect-package-manager: ^2.0.1 fetch-retry: ^5.0.2 fs-extra: ^11.1.0 read-pkg-up: ^7.0.1 - checksum: 6dc3eb14162ea7846913591b425701e9e238cad704bb00c062850b1db99417073a3c1e7a699768bb79968a4f11b4f4b542ba45845e578cf58665a7e101cf4f40 + checksum: 197ec4a77d8f119ac03c986653b2d9a00adc22b3ee8d70753c5fd4365cfc82dca3d097048d3b3b917414389d41fe161d6b383f6c2edad457301856644160ed3a languageName: node linkType: hard -"@storybook/theming@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/theming@npm:7.5.3" +"@storybook/theming@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/theming@npm:7.6.3" dependencies: "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 - "@storybook/client-logger": 7.5.3 + "@storybook/client-logger": 7.6.3 "@storybook/global": ^5.0.0 memoizerific: ^1.11.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 30dc5fd55617fcd7f33a6c75ddd1b2b5e1e28ce2973425fb8764f5770292659e1676264252bd14909ac9843799ab2e0a5d9e83ad3b4a29848c54600264f8af10 + checksum: 465b060d5aef79dddc69c71bd66d2c5bbe04d4204ca2d3e5a6eb21f79ad64e1bd54ed214e7a092800580d9261361227094d8c9b9fd5a3ee5051ddf3096ee01eb languageName: node linkType: hard -"@storybook/types@npm:7.5.3": - version: 7.5.3 - resolution: "@storybook/types@npm:7.5.3" +"@storybook/types@npm:7.6.3": + version: 7.6.3 + resolution: "@storybook/types@npm:7.6.3" dependencies: - "@storybook/channels": 7.5.3 + "@storybook/channels": 7.6.3 "@types/babel__core": ^7.0.0 "@types/express": ^4.7.0 file-system-cache: 2.3.0 - checksum: 4219a92a6e7762ac5a1dae101aa1072f4c37607f6f2173ae70d224ddc294d9f70e55462eb42028a87e676840f2e87f1bc0e82b28bbb35207278405868b467eb7 + checksum: 301ed3cb058cb0c49bc5b20fa8d18bfa6714ea6a000ba532dd5800fc63c9318779e5ccb1ba9cc356316ff7eeb6ccb732c97a5a4fdb637ccb7768c5fb533d8367 languageName: node linkType: hard -"@supabase/functions-js@npm:^2.1.0": - version: 2.1.2 - resolution: "@supabase/functions-js@npm:2.1.2" +"@supabase/functions-js@npm:^2.1.5": + version: 2.1.5 + resolution: "@supabase/functions-js@npm:2.1.5" dependencies: - cross-fetch: ^3.1.5 - checksum: fe35d1a145570c83d33c3f09148b0d7448b0d78e8a55da38b7d7ba3d22d6373303cf23a5c19d8a8dcc98f53f4247de2cb831923e6aff6bdc9cf2aa2e58ce7335 + "@supabase/node-fetch": ^2.6.14 + checksum: f2af9f12c9ffa4460998c166d71184bb2fc7753f2063548d482a51db3178da24217cd9dea1be8803356c3fd743848fdfb1e1903d882aa90fa7a7ae0c5dc7d070 languageName: node linkType: hard -"@supabase/gotrue-js@npm:^2.31.0": - version: 2.39.1 - resolution: "@supabase/gotrue-js@npm:2.39.1" +"@supabase/gotrue-js@npm:^2.56.0": + version: 2.57.0 + resolution: "@supabase/gotrue-js@npm:2.57.0" dependencies: - cross-fetch: ^3.1.5 - checksum: fe507e95dfadd8f79b603060949d5a04d307d1c0700b9bde7b8b67f5afe014dd3053c2cc907c8e843a1be19f310dd9ec2ffe1a2fd03b8c35a1ed5df08690b843 + "@supabase/node-fetch": ^2.6.14 + checksum: d2870e04333a1af3fd296ae14b1a2fa6b3f7fbd40a1ae7cf2329d786dd4523762194e66501c371897f78cd241904bc7a2a8af0876bb781deaed3331cd3b7f07e languageName: node linkType: hard -"@supabase/postgrest-js@npm:^1.7.0": - version: 1.7.1 - resolution: "@supabase/postgrest-js@npm:1.7.1" +"@supabase/node-fetch@npm:^2.6.14": + version: 2.6.14 + resolution: "@supabase/node-fetch@npm:2.6.14" dependencies: - cross-fetch: ^3.1.5 - checksum: d781c403209b1394e575b47ccb21044e6c8123518311a9ff7f6f5be30f5a02fb285cbcfd178993f814250e5d2daf13f47fb2e6404878a6f3e49a39e3ef801846 + whatwg-url: ^5.0.0 + checksum: 645db87873ba9bb661cf41c46b05b52a8a769ca66abf1ac7b9f3b900e6dd5e7a97dfa421897db0ace21dd3acb409ba35f22225818bf5860e4af92a38e102be86 languageName: node linkType: hard -"@supabase/realtime-js@npm:^2.7.3": - version: 2.7.3 - resolution: "@supabase/realtime-js@npm:2.7.3" +"@supabase/postgrest-js@npm:^1.8.6": + version: 1.8.6 + resolution: "@supabase/postgrest-js@npm:1.8.6" dependencies: + "@supabase/node-fetch": ^2.6.14 + checksum: 8c40a5d21408b127f12439b480dd6a0b64bcf669a2b42ed12aae73450b844053093f0f9e3792225ff2b52d8a8d2ccc66dd2429eca5ce99b0892b8de24e706989 + languageName: node + linkType: hard + +"@supabase/realtime-js@npm:^2.8.4": + version: 2.8.4 + resolution: "@supabase/realtime-js@npm:2.8.4" + dependencies: + "@supabase/node-fetch": ^2.6.14 "@types/phoenix": ^1.5.4 "@types/websocket": ^1.0.3 websocket: ^1.0.34 - checksum: 9c1aecc7fa31538ec0589cbd601b9835c02d65cfd29efe47a1401d4934923b4044b96f472794d5d446aecd6bb3052cee6fd8bb0fbde06da1fb580a17750be017 + checksum: 2c095e128570e40a0d102a4917f9351ad4c5a5275939c1fe6b930ae6500493ae5b7dccb3e26e95416d5811e3ff337b71ca491c4d335ed3c13a0e3f9bd9925d37 languageName: node linkType: hard -"@supabase/storage-js@npm:^2.5.1": - version: 2.5.1 - resolution: "@supabase/storage-js@npm:2.5.1" +"@supabase/storage-js@npm:^2.5.4": + version: 2.5.4 + resolution: "@supabase/storage-js@npm:2.5.4" dependencies: - cross-fetch: ^3.1.5 - checksum: 522875344341477a80c13b9aa845563fd2b0098cfe2e99d9b297d53640f16f234c1938b0fa161ae429947a1489be6816d7bb6394fb3b06bb44c537714c4a41a8 + "@supabase/node-fetch": ^2.6.14 + checksum: a541a282a6c247de785457db12d8e53d90d1b4fff0aabc76233c39c20ab8a10d9b41097ebf0b90985a0b8459db9e3bdc8a08ac5b1885b0fb417ff910af2b527a languageName: node linkType: hard -"@supabase/supabase-js@npm:2.26.0": - version: 2.26.0 - resolution: "@supabase/supabase-js@npm:2.26.0" +"@supabase/supabase-js@npm:2.39.0": + version: 2.39.0 + resolution: "@supabase/supabase-js@npm:2.39.0" dependencies: - "@supabase/functions-js": ^2.1.0 - "@supabase/gotrue-js": ^2.31.0 - "@supabase/postgrest-js": ^1.7.0 - "@supabase/realtime-js": ^2.7.3 - "@supabase/storage-js": ^2.5.1 - cross-fetch: ^3.1.5 - checksum: c56047a832895bdecd72dbe763dea79ba07e12589bf3d81aaf7d367cf7d918c5ee784fb9527f3d0ec3e8389a2a7e448b4ff21c1ae31e8b01e7b9f3f2775802bb + "@supabase/functions-js": ^2.1.5 + "@supabase/gotrue-js": ^2.56.0 + "@supabase/node-fetch": ^2.6.14 + "@supabase/postgrest-js": ^1.8.6 + "@supabase/realtime-js": ^2.8.4 + "@supabase/storage-js": ^2.5.4 + checksum: ca3afb51a76ef3a6bcf10b50f3b0797e7534884d936eef966a30de08f8e6464bf4aaaac51f2ce453d8b8496da7d6b2829a35fe7126983731bdf70c6399325411 languageName: node linkType: hard @@ -10941,9 +10824,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:5.16.5": - version: 5.16.5 - resolution: "@testing-library/jest-dom@npm:5.16.5" +"@testing-library/jest-dom@npm:5.17.0": + version: 5.17.0 + resolution: "@testing-library/jest-dom@npm:5.17.0" dependencies: "@adobe/css-tools": ^4.0.1 "@babel/runtime": ^7.9.2 @@ -10954,13 +10837,13 @@ __metadata: dom-accessibility-api: ^0.5.6 lodash: ^4.17.15 redent: ^3.0.0 - checksum: 0925fda78096cca355d164d5358b84b9371c4fb6ba60ce60c2263446ac6d9c6aaca75e2792cdb42699fe78c379924c53db672a3510361b577ebb89a0c6e1c629 + checksum: 24e09c5779ea44644945ec26f2e4e5f48aecfe57d469decf2317a3253a5db28d865c55ad0ea4818d8d1df7572a6486c45daa06fa09644a833a7dd84563881939 languageName: node linkType: hard -"@testing-library/react@npm:14.0.0": - version: 14.0.0 - resolution: "@testing-library/react@npm:14.0.0" +"@testing-library/react@npm:14.1.2": + version: 14.1.2 + resolution: "@testing-library/react@npm:14.1.2" dependencies: "@babel/runtime": ^7.12.5 "@testing-library/dom": ^9.0.0 @@ -10968,7 +10851,7 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 81035913024faf18ba7e163418af517b2c3b85aef496fbd6334bda38f6f6dd4072678c6b76c41148b46b7fc846764f875e1156cbfc7643ffa1b62ee069d78951 + checksum: b5b0990d3aa0ea8b37c55804e0d5d584fc638a5c7d4df90da9a0fdb00bc981b27b6991468b2dc719982a5d0b0107a41596063ce51ad519eeab47b22bc04d6779 languageName: node linkType: hard @@ -11097,6 +10980,15 @@ __metadata: languageName: node linkType: hard +"@types/archiver@npm:^6": + version: 6.0.2 + resolution: "@types/archiver@npm:6.0.2" + dependencies: + "@types/readdir-glob": "*" + checksum: 01ca91d76c57b38ae030a24a07b46664bf3ae9d303c0cdd2b342e06a4b53dccd0d0c375ff3f9af966a93512554f82ef97c515fcc47536e7dbb29a7d9bc09a540 + languageName: node + linkType: hard + "@types/aria-query@npm:^5.0.1": version: 5.0.1 resolution: "@types/aria-query@npm:5.0.1" @@ -11104,23 +10996,23 @@ __metadata: languageName: node linkType: hard -"@types/aws-lambda@npm:8.10.119, @types/aws-lambda@npm:^8.10.83": - version: 8.10.119 - resolution: "@types/aws-lambda@npm:8.10.119" - checksum: cf30ca6f53b372ef1715a8451db324981de241fe58a5da1d82a79c4a972ddea66a252cfe71cd4e578e17bdc2d5ac11b4954bc2b84b8157f50af5a06df996b929 +"@types/aws-lambda@npm:8.10.126, @types/aws-lambda@npm:^8.10.83": + version: 8.10.126 + resolution: "@types/aws-lambda@npm:8.10.126" + checksum: 4b538cbb3c730c08d921ff13943b39f9a68d89c2ad64b54dff82768e949b4cacd3d82c028bb5fce495f0a66b37b6299052367d419890229956565ccbc2bd9767 languageName: node linkType: hard -"@types/babel-core@npm:6.25.8": - version: 6.25.8 - resolution: "@types/babel-core@npm:6.25.8" +"@types/babel-core@npm:6.25.10": + version: 6.25.10 + resolution: "@types/babel-core@npm:6.25.10" dependencies: "@types/babel-generator": "*" "@types/babel-template": "*" "@types/babel-traverse": "*" "@types/babel-types": "*" "@types/babylon": "*" - checksum: 133dfc365bb82260bbfc65ffe8ada24ea349adae87737d148c5658eb65c55508bb8131da94c82ce04f3d51c06c900e6fdd2c7dc9aeefdf32b883836d787bc29a + checksum: 4a0e26acc0aed7ffed6aa0ee63fedb8dedac1f11633229ff0c09d27cf02863fa2c25cbb99eecfa5004449b84027b3ab4abe2d29a936784cb2a85e4d49593b4e4 languageName: node linkType: hard @@ -11133,13 +11025,13 @@ __metadata: languageName: node linkType: hard -"@types/babel-plugin-tester@npm:9.0.7": - version: 9.0.7 - resolution: "@types/babel-plugin-tester@npm:9.0.7" +"@types/babel-plugin-tester@npm:9.0.9": + version: 9.0.9 + resolution: "@types/babel-plugin-tester@npm:9.0.9" dependencies: "@types/babel__core": "*" "@types/prettier": ^2.0.0 - checksum: 66e4adbd005bafa94eb289387e3ea8a503475e52265086fcb7fcaa213a954d193108af01ae758c4bb2b8d1e8d59ccca637d053e8563b0d2255b4e6da51e57052 + checksum: b05e4d551a98d74a743945fa109cf1866fc6b57303f3daee29276e1e6ca354ff647f946e047747e5104f5d9f26cd09d2c22599b1282454283a59248e6a164fb8 languageName: node linkType: hard @@ -11169,38 +11061,38 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:*, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.20.3": - version: 7.20.4 - resolution: "@types/babel__core@npm:7.20.4" +"@types/babel__core@npm:*, @types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.18.0, @types/babel__core@npm:^7.20.5": + version: 7.20.5 + resolution: "@types/babel__core@npm:7.20.5" dependencies: "@babel/parser": ^7.20.7 "@babel/types": ^7.20.7 "@types/babel__generator": "*" "@types/babel__template": "*" "@types/babel__traverse": "*" - checksum: 2adc7ec49de5f922271ce087cedee000de468a3e13f92b7b6254016bd8357298cb98e6d2b3c9defc69bb6e38e0c134ffe80776a8ce4e9fb167bbffcb4d7613b7 + checksum: bdee3bb69951e833a4b811b8ee9356b69a61ed5b7a23e1a081ec9249769117fa83aaaf023bb06562a038eb5845155ff663e2d5c75dd95c1d5ccc91db012868ff languageName: node linkType: hard -"@types/babel__core@npm:7.20.2": - version: 7.20.2 - resolution: "@types/babel__core@npm:7.20.2" +"@types/babel__core@npm:7.20.4": + version: 7.20.4 + resolution: "@types/babel__core@npm:7.20.4" dependencies: "@babel/parser": ^7.20.7 "@babel/types": ^7.20.7 "@types/babel__generator": "*" "@types/babel__template": "*" "@types/babel__traverse": "*" - checksum: 4bd4bc0803ddd17af37871a8139e5b6c80b182f5f6d716c6484da1286522eba84750ffc527539bc39496876e7193f316b7493b99caa37af2b4e6ef345ee2ff8c + checksum: 2adc7ec49de5f922271ce087cedee000de468a3e13f92b7b6254016bd8357298cb98e6d2b3c9defc69bb6e38e0c134ffe80776a8ce4e9fb167bbffcb4d7613b7 languageName: node linkType: hard -"@types/babel__generator@npm:*, @types/babel__generator@npm:7.6.5": - version: 7.6.5 - resolution: "@types/babel__generator@npm:7.6.5" +"@types/babel__generator@npm:*, @types/babel__generator@npm:7.6.7": + version: 7.6.7 + resolution: "@types/babel__generator@npm:7.6.7" dependencies: "@babel/types": ^7.0.0 - checksum: b3e2668950208a681966fb93faa3a9164319caf960ff2ae232469fd09aa9b59a35d3328221027c373bb29d250b709073479f4fa1e404d109515846a65e06f0e2 + checksum: 2427203864ef231857e102eeb32b731a419164863983119cdd4dac9f1503c2831eb4262d05ade95d4574aa410b94c16e54e36a616758452f685a34881f4596d9 languageName: node linkType: hard @@ -11214,12 +11106,12 @@ __metadata: languageName: node linkType: hard -"@types/babel__traverse@npm:*, @types/babel__traverse@npm:^7.0.6": - version: 7.20.1 - resolution: "@types/babel__traverse@npm:7.20.1" +"@types/babel__traverse@npm:*, @types/babel__traverse@npm:^7.0.6, @types/babel__traverse@npm:^7.18.0": + version: 7.20.4 + resolution: "@types/babel__traverse@npm:7.20.4" dependencies: "@babel/types": ^7.20.7 - checksum: 5a6a3a26be090573309527184a31f1b82ef55f3d73d811c15f181d323e471305f2390651a04d49d4cd4ca41bbeabb53c9f7862a8e09eab5a0f8910a6aec6e867 + checksum: e76cb4974c7740fd61311152dc497e7b05c1c46ba554aab875544ab0a7457f343cafcad34ba8fb2ff543ab0e012ef2d3fa0c13f1a4e9a4cd9c4c703c7a2a8d62 languageName: node linkType: hard @@ -11317,7 +11209,7 @@ __metadata: languageName: node linkType: hard -"@types/cross-spawn@npm:6.0.5, @types/cross-spawn@npm:^6.0.2": +"@types/cross-spawn@npm:^6.0.2": version: 6.0.5 resolution: "@types/cross-spawn@npm:6.0.5" dependencies: @@ -11476,7 +11368,7 @@ __metadata: languageName: node linkType: hard -"@types/debug@npm:4.1.12, @types/debug@npm:^4.1.7": +"@types/debug@npm:^4.1.7": version: 4.1.12 resolution: "@types/debug@npm:4.1.12" dependencies: @@ -11499,6 +11391,13 @@ __metadata: languageName: node linkType: hard +"@types/doctrine@npm:^0.0.9": + version: 0.0.9 + resolution: "@types/doctrine@npm:0.0.9" + checksum: cdaca493f13c321cf0cacd1973efc0ae74569633145d9e6fc1128f32217a6968c33bea1f858275239fe90c98f3be57ec8f452b416a9ff48b8e8c1098b20fa51c + languageName: node + linkType: hard + "@types/ejs@npm:^3.1.1": version: 3.1.2 resolution: "@types/ejs@npm:3.1.2" @@ -11513,10 +11412,10 @@ __metadata: languageName: node linkType: hard -"@types/envinfo@npm:7.8.1": - version: 7.8.1 - resolution: "@types/envinfo@npm:7.8.1" - checksum: 2f343301bf5f0bcfdba0d39423f895c51337b68b1d76ea5f51557afcd5198e2eb685b0cc7d377e812357d7a9650360b2727ef37eb53d71532d3eb4dac1232037 +"@types/envinfo@npm:7.8.3": + version: 7.8.3 + resolution: "@types/envinfo@npm:7.8.3" + checksum: 31a504f317c8b2c93dda513d3c117f518f27cf3f36aba65e78bf908927f9ef304351fe49d6ba19515994b91d1d1c23a089bfd3c8b0f1e84737606f6791a05ff6 languageName: node linkType: hard @@ -11538,19 +11437,19 @@ __metadata: linkType: hard "@types/eslint@npm:*, @types/eslint@npm:8": - version: 8.40.2 - resolution: "@types/eslint@npm:8.40.2" + version: 8.44.7 + resolution: "@types/eslint@npm:8.44.7" dependencies: "@types/estree": "*" "@types/json-schema": "*" - checksum: 5797dce7805f601ee34b2f63d6a80dba21302e2fe2614c7990eca7a22472f9e0c386d56d82fe79a7cdede57c8dcc1e0f9b1e5dc384adf736833b901ffcc29628 + checksum: 447b55ccff47668fc63466728e7e598ae16a03de8d489350e855b6020ad16f58a703e75b875376dd6cd5fcab630311a805fa7f934476637ea35819f01c9db3ca languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:1.0.1, @types/estree@npm:^1.0.0": - version: 1.0.1 - resolution: "@types/estree@npm:1.0.1" - checksum: b4022067f834d86766f23074a1a7ac6c460e823b00cd8fe94c997bc491e7794615facd3e1520a934c42bd8c0689dbff81e5c643b01f1dee143fc758cac19669e +"@types/estree@npm:*, @types/estree@npm:1.0.5, @types/estree@npm:^1.0.0": + version: 1.0.5 + resolution: "@types/estree@npm:1.0.5" + checksum: b3b0e334288ddb407c7b3357ca67dbee75ee22db242ca7c56fe27db4e1a31989cb8af48a84dd401deb787fe10cc6b2ab1ee82dc4783be87ededbe3d53c79c70d languageName: node linkType: hard @@ -11573,15 +11472,15 @@ __metadata: languageName: node linkType: hard -"@types/express@npm:*, @types/express@npm:4, @types/express@npm:^4.17.13, @types/express@npm:^4.17.14, @types/express@npm:^4.7.0": - version: 4.17.17 - resolution: "@types/express@npm:4.17.17" +"@types/express@npm:*, @types/express@npm:4, @types/express@npm:^4.17.13, @types/express@npm:^4.17.17, @types/express@npm:^4.7.0": + version: 4.17.21 + resolution: "@types/express@npm:4.17.21" dependencies: "@types/body-parser": "*" "@types/express-serve-static-core": ^4.17.33 "@types/qs": "*" "@types/serve-static": "*" - checksum: 5802a0a28f7473744dd6a118479440d8c5c801c973d34fb6f31b5ee645a41fee936193978a8e905d55deefda9b675d19924167bf11a31339874c3161a3fc2922 + checksum: 12e562c4571da50c7d239e117e688dc434db1bac8be55613294762f84fd77fbd0658ccd553c7d3ab02408f385bc93980992369dd30e2ecd2c68c358e6af8fabf languageName: node linkType: hard @@ -11604,13 +11503,13 @@ __metadata: languageName: node linkType: hard -"@types/fs-extra@npm:11.0.1, @types/fs-extra@npm:^11.0.1": - version: 11.0.1 - resolution: "@types/fs-extra@npm:11.0.1" +"@types/fs-extra@npm:11.0.4, @types/fs-extra@npm:^11.0.1": + version: 11.0.4 + resolution: "@types/fs-extra@npm:11.0.4" dependencies: "@types/jsonfile": "*" "@types/node": "*" - checksum: a65f1fae47849fe1a17441dcabc9400390303405972ff3cbb3578746cea8916b23d5e7652bf57a87767f75a9b2f37caac499b78b5230ae08fef0ba58b34c3a85 + checksum: 9e34f9b24ea464f3c0b18c3f8a82aefc36dc524cc720fc2b886e5465abc66486ff4e439ea3fb2c0acebf91f6d3f74e514f9983b1f02d4243706bdbb7511796ad languageName: node linkType: hard @@ -11688,13 +11587,13 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:*, @types/jest@npm:29.5.4": - version: 29.5.4 - resolution: "@types/jest@npm:29.5.4" +"@types/jest@npm:*, @types/jest@npm:29.5.8": + version: 29.5.8 + resolution: "@types/jest@npm:29.5.8" dependencies: expect: ^29.0.0 pretty-format: ^29.0.0 - checksum: 49c1f0fa20e45b1dfd69aea8af667a8be30e210f00673c365d504ca285cf9040d8f4861dd89657640af5f4a49eadcadc08907b5cf82eda28afea8ddd3dda8390 + checksum: a28e7827ea7e1a2aace6a386868fa6b8402c162d6c71570aed2c29d3745ddc22ceef6899a20643071817905d3c57b670a7992fc8760bff65939351fd4dc481cf languageName: node linkType: hard @@ -11763,7 +11662,7 @@ __metadata: languageName: node linkType: hard -"@types/jsonwebtoken@npm:9.0.5, @types/jsonwebtoken@npm:^9.0.0": +"@types/jsonwebtoken@npm:9.0.5, @types/jsonwebtoken@npm:^9.0.0, @types/jsonwebtoken@npm:^9.0.2": version: 9.0.5 resolution: "@types/jsonwebtoken@npm:9.0.5" dependencies: @@ -11802,10 +11701,10 @@ __metadata: languageName: node linkType: hard -"@types/lodash@npm:4.14.195, @types/lodash@npm:^4.14.167": - version: 4.14.195 - resolution: "@types/lodash@npm:4.14.195" - checksum: 6d733276df592614a0943a0053056140398b3c263cdf2557d4301b3a47b07ff561926cb9339a4725acbc7d8766f91ded218df11e0a4288cee369eafb5141d94d +"@types/lodash@npm:4.14.201, @types/lodash@npm:^4.14.167": + version: 4.14.201 + resolution: "@types/lodash@npm:4.14.201" + checksum: 14dc43787296c429433d7d034ed47c5ac24b92217056f80a0e6c990449120b9c9c1058918188945fb88353c0c8333c5c36dccc40c51edbd39b05d2169ab2e0ad languageName: node linkType: hard @@ -11826,12 +11725,12 @@ __metadata: linkType: hard "@types/mailparser@npm:^3": - version: 3.4.0 - resolution: "@types/mailparser@npm:3.4.0" + version: 3.4.4 + resolution: "@types/mailparser@npm:3.4.4" dependencies: "@types/node": "*" iconv-lite: ^0.6.3 - checksum: 6418bb8414d22c26dcdb3881dbe7bf0bcd100027a818636b06b82c7e70154305132d9b3cbd3f2b30975f58456b5964bd4c68c63fab9bc6808fe73937cc620af3 + checksum: 5d16e87cebff438f9e725ebb4f4cea4e6c55dfa1d5cdda3c56f3f91b915a0801a84675fee2a8d20b6de20ca8be79678a4e99fb5956104e2eb3344dfac387691c languageName: node linkType: hard @@ -11845,10 +11744,10 @@ __metadata: languageName: node linkType: hard -"@types/md5@npm:2.3.2": - version: 2.3.2 - resolution: "@types/md5@npm:2.3.2" - checksum: caea0f607c79af22b80d25c9eae08ff3bb50abfcd4b776fbbabeb90791897c7ab1ac2342acd3f6ac80784106d93b3851b887c7cb62b2979c81a213738cda0a49 +"@types/md5@npm:2.3.5": + version: 2.3.5 + resolution: "@types/md5@npm:2.3.5" + checksum: aef9c40ab0ec61f1ae2acb04ee04e55b99eeec64af58176ef36d4feaf6aac335f32caca07eca0e3a1813fc362bf0b8663423250e24b39ebcfdc24c6ca4abe1cf languageName: node linkType: hard @@ -11867,18 +11766,18 @@ __metadata: linkType: hard "@types/memjs@npm:1": - version: 1.3.0 - resolution: "@types/memjs@npm:1.3.0" + version: 1.3.3 + resolution: "@types/memjs@npm:1.3.3" dependencies: "@types/node": "*" - checksum: 71d8dda576405a8ca16b6b312a546e4703f102a24d39c64d486b9bf6cdb13498ebf1c14e3b5ce583baeae47f84f21576c64950ba094b14ccd72639106a17dfd5 + checksum: 7179534b5f16e750fdc4e45242bf657b061ccbb876c721fc85c45b46cf9603503f286a9f2139cc86a95e1e2c6c7c8fce678fd8765ad5e1f9a888e5014d03a2b0 languageName: node linkType: hard -"@types/mime-types@npm:2.1.1, @types/mime-types@npm:^2.1.0": - version: 2.1.1 - resolution: "@types/mime-types@npm:2.1.1" - checksum: 131b33bfd89481f6a791996db9198c6c5ffccbb310e990d1dd9fab7a2287b5a0fd642bdd959a19281397c86f721498e09956e3892e5db17f93f38e726ca05008 +"@types/mime-types@npm:2.1.4, @types/mime-types@npm:^2.1.0": + version: 2.1.4 + resolution: "@types/mime-types@npm:2.1.4" + checksum: a10d57881d14a053556b3d09292de467968d965b0a06d06732c748da39b3aa569270b5b9f32529fd0e9ac1e5f3b91abb894f5b1996373254a65cb87903c86622 languageName: node linkType: hard @@ -11925,11 +11824,11 @@ __metadata: linkType: hard "@types/mjml@npm:4": - version: 4.7.1 - resolution: "@types/mjml@npm:4.7.1" + version: 4.7.4 + resolution: "@types/mjml@npm:4.7.4" dependencies: "@types/mjml-core": "*" - checksum: 52dc7cf2388f8def26ae3fae3a230650d4aa76de10a0ef832a4db0c9a8a20daed7520ceeecee037992a884e422a18735c096ca48e8bc2bbb6a3e76fa02ba3d74 + checksum: 6f4bbdf709e1f6c9b26be67146b1e4c759142fb4ddfa4c079b600835701bb2039c60cd530d016f1d2f1aef4256580e30cdc942c3acd6935e2fe56b5a665795ae languageName: node linkType: hard @@ -11940,19 +11839,19 @@ __metadata: languageName: node linkType: hard -"@types/ncp@npm:2.0.5": - version: 2.0.5 - resolution: "@types/ncp@npm:2.0.5" +"@types/ncp@npm:2.0.8": + version: 2.0.8 + resolution: "@types/ncp@npm:2.0.8" dependencies: "@types/node": "*" - checksum: 19b009b5e8b82bec7a00b974bb99f241b7a2fe80309803d4f765bdf527b37fbd890dc6cc5ea71c3287b9e14f8a7636251a02981f2758919c0e3f3422f679fe8b + checksum: c488159404263d2a7d0d560eb8f3102ddd47de46587144d2f48bff9b856bec24a89c6fd7d1061052f1d17223534de3b391616dc92ff0e99615654e31e4164f87 languageName: node linkType: hard -"@types/netlify-identity-widget@npm:1.9.3": - version: 1.9.3 - resolution: "@types/netlify-identity-widget@npm:1.9.3" - checksum: 921f5439c3b8fa0fb27058be39f5c6e965ee69a82484a55d3ccb247f6849fd0b4e8170a42e45667bc64869e1ec46d8a2577e63689c949c3fbdb7f67199dfcb86 +"@types/netlify-identity-widget@npm:1.9.6": + version: 1.9.6 + resolution: "@types/netlify-identity-widget@npm:1.9.6" + checksum: 730b17f9271d27a9640b4494f49d988ad6c99f373c8954c2b57cbac82816f5196977f43d0232d7a4fd77702fe2d666aaac05241aa5381de46158369be9288a84 languageName: node linkType: hard @@ -11990,21 +11889,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:18.16.18": - version: 18.16.18 - resolution: "@types/node@npm:18.16.18" - checksum: 1ad22342d1aaad446625e7eb2ca6137d0036fbc451fcb367c005ed4d6a102190bbba3d104652b2f9a73d0e520752b98fb89f22f5ef8fe09e8487bcb6fd75223f - languageName: node - linkType: hard - -"@types/node@npm:^14.14.31": - version: 14.18.53 - resolution: "@types/node@npm:14.18.53" - checksum: 8248f9d3813b74fc059fe5d6c709bceb599988a107ca2a127081bee75659d17f91d5d08cf1f4785c87ba6e73b0c9ae6b5e9da69d88527c723907dc19af65336e - languageName: node - linkType: hard - -"@types/node@npm:^18.0.0, @types/node@npm:^18.11.9, @types/node@npm:^18.16.3": +"@types/node@npm:18.18.9, @types/node@npm:^18.0.0, @types/node@npm:^18.11.9, @types/node@npm:^18.16.3": version: 18.18.9 resolution: "@types/node@npm:18.18.9" dependencies: @@ -12013,12 +11898,19 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^16.18.39": + version: 16.18.61 + resolution: "@types/node@npm:16.18.61" + checksum: 219423dbb29ee1a84feb3e2e7b985eccd05e00dfc6efa18b5e2e1713be1df3578ca9f9c51354d66bd8d0d4ab8f0e1959e7de1ef7d03869ff27ed5ba885c6a8cd + languageName: node + linkType: hard + "@types/nodemailer@npm:*, @types/nodemailer@npm:6, @types/nodemailer@npm:^6": - version: 6.4.9 - resolution: "@types/nodemailer@npm:6.4.9" + version: 6.4.14 + resolution: "@types/nodemailer@npm:6.4.14" dependencies: "@types/node": "*" - checksum: 2c18ccdcd0db56504250b67949983838f3befca2edb754017818e07d1581c8fd15a561f4dbeec37a75b7677cb08621f9d72c467850743a3a87cc2d1606ddd2a8 + checksum: b5958843576cde76dc532aa7b726182fef8b466fa9fcaf1aa03f89f02e896bec4e28b593ffa1a289a46bd0b7fdf34da0640ab7ef8f0811948016f58f77e16307 languageName: node linkType: hard @@ -12036,10 +11928,10 @@ __metadata: languageName: node linkType: hard -"@types/pascalcase@npm:1.0.1": - version: 1.0.1 - resolution: "@types/pascalcase@npm:1.0.1" - checksum: beb5e1568f9dc2335c20c1f7df1332b0a357c6492e3ba04e14e0b908ff2e10509c94a991d1f90a384a0dae7c862d8c1107141dacab80532738fadd085cdbb26e +"@types/pascalcase@npm:1.0.3": + version: 1.0.3 + resolution: "@types/pascalcase@npm:1.0.3" + checksum: 4bc93fee5a7e3ea63a1c92f66cc72462dc557430c705ecefd834181950a779cf188f24e9afac15687ff9fdf360cb5f233130c6fc92d4bb94772551557adb8281 languageName: node linkType: hard @@ -12064,13 +11956,13 @@ __metadata: languageName: node linkType: hard -"@types/prompts@npm:2.4.4": - version: 2.4.4 - resolution: "@types/prompts@npm:2.4.4" +"@types/prompts@npm:2.4.8": + version: 2.4.8 + resolution: "@types/prompts@npm:2.4.8" dependencies: "@types/node": "*" kleur: ^3.0.3 - checksum: 9d240cdabc8bd5d7a8edaddebbd62c3fb61ddcf83b7240277682c4a73b53bb01b73d627b14befa478847085c664d310867d93f5504ec6d99fdc03cd36c2e5f81 + checksum: b5940938ab587d3a054919d14b31a7ca5660ce2b4e4a66d6949687a5305e7281a5963b1fe2dd87839ec0876bb01258fbaf89f120d134303853be146f34241f67 languageName: node linkType: hard @@ -12088,10 +11980,10 @@ __metadata: languageName: node linkType: hard -"@types/qs@npm:*, @types/qs@npm:6.9.7, @types/qs@npm:^6.9.5": - version: 6.9.7 - resolution: "@types/qs@npm:6.9.7" - checksum: 157eb05f4c75790b0ebdcf7b0547ff117feabc8cda03c3cac3d3ea82bb19a1912e76a411df3eb0bdd01026a9770f07bc0e7e3fbe39ebb31c1be4564c16be35f1 +"@types/qs@npm:*, @types/qs@npm:6.9.10, @types/qs@npm:^6.9.5": + version: 6.9.10 + resolution: "@types/qs@npm:6.9.10" + checksum: 6be12e5f062d1b41eb037d59bf9cb65bc9410cedd5e6da832dfd7c8e2b3f4c91e81c9b90b51811140770e5052c6c4e8361181bd9437ddcd4515dc128b7c00353 languageName: node linkType: hard @@ -12102,12 +11994,12 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:18.2.6, @types/react-dom@npm:^18.0.0": - version: 18.2.6 - resolution: "@types/react-dom@npm:18.2.6" +"@types/react-dom@npm:18.2.15, @types/react-dom@npm:^18.0.0": + version: 18.2.15 + resolution: "@types/react-dom@npm:18.2.15" dependencies: "@types/react": "*" - checksum: bd734ca04c52b3c96891a7f9c1139486807dac7a2449fb72e8f8e23018bc6eeeb87a490a105cb39d05ccb7ddf80ed7a441e5bd3e5866c6f6ae8870cd723599e8 + checksum: 70e86f15f69f89b8f179139ab2e8a8aa9765e742789f5dd5a46fec40d4300ada8fe3349cceda42b9964a018982d7ccb7d791b47f781966c992bfd37da909fbd3 languageName: node linkType: hard @@ -12129,14 +12021,30 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:18.2.14, @types/react@npm:>=16": - version: 18.2.14 - resolution: "@types/react@npm:18.2.14" +"@types/react@npm:*, @types/react@npm:18.2.37, @types/react@npm:>=16": + version: 18.2.37 + resolution: "@types/react@npm:18.2.37" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: a728a90e242fb41c233729fa46885cc47aca7df2035ed803f83bf0b582dde81143d465ecbf04a056bc6404f0f746f219d7043245ebd99baf83a178bbbb856c76 + checksum: 79dd5d23da05bec54e7423ca17096e345eb8fd80a3bf8dd916bb5cdd60677d27c298523aa5b245d090fcc4ec100cfd58c1af4631fbac709d0a9d8be75f9d78a9 + languageName: node + linkType: hard + +"@types/readdir-glob@npm:*": + version: 1.1.5 + resolution: "@types/readdir-glob@npm:1.1.5" + dependencies: + "@types/node": "*" + checksum: 46849136a3b5246105bca0303aab80552a9ff67e024e77ef1845a806a24c1a621dfcba0e4ee5a00ebad17f51edb80928f2dd6dc510a1d9897f3bc22ed64e5cbd + languageName: node + linkType: hard + +"@types/resolve@npm:^1.20.2": + version: 1.20.6 + resolution: "@types/resolve@npm:1.20.6" + checksum: a9b0549d816ff2c353077365d865a33655a141d066d0f5a3ba6fd4b28bc2f4188a510079f7c1f715b3e7af505a27374adce2a5140a3ece2a059aab3d6e1a4244 languageName: node linkType: hard @@ -12252,12 +12160,12 @@ __metadata: languageName: node linkType: hard -"@types/split2@npm:4.2.0": - version: 4.2.0 - resolution: "@types/split2@npm:4.2.0" +"@types/split2@npm:4.2.3": + version: 4.2.3 + resolution: "@types/split2@npm:4.2.3" dependencies: "@types/node": "*" - checksum: a0b8ba04ee7f60aef4d1367df11d5688a92a057c368a8280b6329106dd87eb71c49e264a924dbd2ceee798a4ab0a1c21e0a54c622a87ec1b438ec9368db1b909 + checksum: 92326872b1f6f2e5a0808682a3f0630efb98bed51b1e40e2133e740f664bbde7a21af54e2a1f1a1f6eac218a70d7a9bae22d3e6d614950c06ddab391b7a1dfca languageName: node linkType: hard @@ -12268,12 +12176,12 @@ __metadata: languageName: node linkType: hard -"@types/testing-library__jest-dom@npm:5.14.8, @types/testing-library__jest-dom@npm:^5.9.1": - version: 5.14.8 - resolution: "@types/testing-library__jest-dom@npm:5.14.8" +"@types/testing-library__jest-dom@npm:5.14.9, @types/testing-library__jest-dom@npm:^5.9.1": + version: 5.14.9 + resolution: "@types/testing-library__jest-dom@npm:5.14.9" dependencies: "@types/jest": "*" - checksum: 83b9e7470da50d1a594c0afd999f689955e61cb8d9a8a32582ca14f73cc8503428376f98414becc1dc9e712f3de8ee2e49f41ed0117ab6a382c79988682e857e + checksum: 91f7b15e8813b515912c54da44464fb60ecf21162b7cae2272fcb3918074f4e1387dc2beca1f5041667e77b76b34253c39675ea4e0b3f28f102d8cc87fdba9fa languageName: node linkType: hard @@ -12300,10 +12208,10 @@ __metadata: languageName: node linkType: hard -"@types/uuid@npm:9.0.2": - version: 9.0.2 - resolution: "@types/uuid@npm:9.0.2" - checksum: 4c4834f9738575a69db1179589cf397830dc205850b491216697afb254764c79c96a63b92f76e81b6d03515bed9227adf184fa4d33bb04970e6377e2f7c5bab9 +"@types/uuid@npm:9.0.7, @types/uuid@npm:^9.0.1": + version: 9.0.7 + resolution: "@types/uuid@npm:9.0.7" + checksum: b329ebd4f9d1d8e08d4f2cc211be4922d70d1149f73d5772630e4a3acfb5170c6d37b3d7a39a0412f1a56e86e8a844c7f297c798b082f90380608bf766688787 languageName: node linkType: hard @@ -12314,10 +12222,10 @@ __metadata: languageName: node linkType: hard -"@types/webpack-env@npm:1.18.1": - version: 1.18.1 - resolution: "@types/webpack-env@npm:1.18.1" - checksum: 7b7cb8d22fe85fb3f87f592cb5ba2fb3b1057d1d5ce8d770b28728095879f5921085fae97f5bc479bdca55f2cb3111bd9148dc36cd641a5694dfbe001c5fc2f7 +"@types/webpack-env@npm:1.18.4": + version: 1.18.4 + resolution: "@types/webpack-env@npm:1.18.4" + checksum: 3fa77dbff0ed71685404576b0a1cf74587567fe2ee1cfd11d56d6eefcab7a61e4c9ead0eced264e289d2cf0fc74296dbd55ed6c95774fe0fd6264d156c5a59f0 languageName: node linkType: hard @@ -12357,19 +12265,19 @@ __metadata: languageName: node linkType: hard -"@types/yargs-parser@npm:*, @types/yargs-parser@npm:21.0.0": - version: 21.0.0 - resolution: "@types/yargs-parser@npm:21.0.0" - checksum: cb89f3bb2e8002f1479a65a934e825be4cc18c50b350bbc656405d41cf90b8a299b105e7da497d7eb1aa460472a07d1e5a389f3af0862f1d1252279cfcdd017c +"@types/yargs-parser@npm:*, @types/yargs-parser@npm:21.0.3": + version: 21.0.3 + resolution: "@types/yargs-parser@npm:21.0.3" + checksum: e71c3bd9d0b73ca82e10bee2064c384ab70f61034bbfb78e74f5206283fc16a6d85267b606b5c22cb2a3338373586786fed595b2009825d6a9115afba36560a0 languageName: node linkType: hard -"@types/yargs@npm:17.0.24, @types/yargs@npm:^17.0.8": - version: 17.0.24 - resolution: "@types/yargs@npm:17.0.24" +"@types/yargs@npm:17.0.31, @types/yargs@npm:^17.0.8": + version: 17.0.31 + resolution: "@types/yargs@npm:17.0.31" dependencies: "@types/yargs-parser": "*" - checksum: fbebf57e1d04199e5e7eb0c67a402566fa27177ee21140664e63da826408793d203d262b48f8f41d4a7665126393d2e952a463e960e761226def247d9bbcdbd0 + checksum: 1e04df99bd0ad8ac8b3748b6ac0e99a9a4efe20b9cd8eab69ac9503fe87ab9bec312ad56982e969cdb0e2c0679431434ad571f6934049adb15fa35b22810c867 languageName: node linkType: hard @@ -12389,14 +12297,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.61.0" +"@typescript-eslint/eslint-plugin@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0" dependencies: "@eslint-community/regexpp": ^4.4.0 - "@typescript-eslint/scope-manager": 5.61.0 - "@typescript-eslint/type-utils": 5.61.0 - "@typescript-eslint/utils": 5.61.0 + "@typescript-eslint/scope-manager": 5.62.0 + "@typescript-eslint/type-utils": 5.62.0 + "@typescript-eslint/utils": 5.62.0 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.0 @@ -12409,43 +12317,43 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 5ee13b7b776d7d910082cb1bc31efe6e94fcb22ee163636df28bcc49891d678c05632c8f0900b954ea82701270bd135d45cc1b8234caf4f97864e49b54c04799 + checksum: 3f40cb6bab5a2833c3544e4621b9fdacd8ea53420cadc1c63fac3b89cdf5c62be1e6b7bcf56976dede5db4c43830de298ced3db60b5494a3b961ca1b4bff9f2a languageName: node linkType: hard -"@typescript-eslint/parser@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/parser@npm:5.61.0" +"@typescript-eslint/parser@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/parser@npm:5.62.0" dependencies: - "@typescript-eslint/scope-manager": 5.61.0 - "@typescript-eslint/types": 5.61.0 - "@typescript-eslint/typescript-estree": 5.61.0 + "@typescript-eslint/scope-manager": 5.62.0 + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/typescript-estree": 5.62.0 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 4fd5a589b0e27a931f32296cc020e7b6052337ceb8312008e5cacbbcd6706f12b2bc481398c40d6e8c482770929593564a6ed2a3b681e7a7634282bd9c12afc4 + checksum: 315194b3bf39beb9bd16c190956c46beec64b8371e18d6bb72002108b250983eb1e186a01d34b77eb4045f4941acbb243b16155fbb46881105f65e37dc9e24d4 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/scope-manager@npm:5.61.0" +"@typescript-eslint/scope-manager@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/scope-manager@npm:5.62.0" dependencies: - "@typescript-eslint/types": 5.61.0 - "@typescript-eslint/visitor-keys": 5.61.0 - checksum: 3f4cc831094490d1d201ed1bdf4441eb807b3d6613898b0683ff989bb6dbaeef0311a6dd9d8deb2e4efa2a84d9c857de058edba2eb92abbaeb0385d1dd2ab564 + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/visitor-keys": 5.62.0 + checksum: 861253235576c1c5c1772d23cdce1418c2da2618a479a7de4f6114a12a7ca853011a1e530525d0931c355a8fd237b9cd828fac560f85f9623e24054fd024726f languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/type-utils@npm:5.61.0" +"@typescript-eslint/type-utils@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/type-utils@npm:5.62.0" dependencies: - "@typescript-eslint/typescript-estree": 5.61.0 - "@typescript-eslint/utils": 5.61.0 + "@typescript-eslint/typescript-estree": 5.62.0 + "@typescript-eslint/utils": 5.62.0 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -12453,23 +12361,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: a99775baf0a6401bb937c9fdf4f1d23a16428c7ec96c39e549ed313af6ffff3274bad7684d9fc7f846e15c4ef7343a7372a6e6868f9e1ea4061ced7c67f50d9a + checksum: 93112e34026069a48f0484b98caca1c89d9707842afe14e08e7390af51cdde87378df29d213d3bbd10a7cfe6f91b228031b56218515ce077bdb62ddea9d9f474 languageName: node linkType: hard -"@typescript-eslint/types@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/types@npm:5.61.0" - checksum: f6aacd4ee3180d851463976696d9c43df2debf3bad2c3f26aeaf2a0cab30235152efb5f04e649863548bfc57f454d6c0a2f12f68508feb4771d7e6b1b72bc066 +"@typescript-eslint/types@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/types@npm:5.62.0" + checksum: 7febd3a7f0701c0b927e094f02e82d8ee2cada2b186fcb938bc2b94ff6fbad88237afc304cbaf33e82797078bbbb1baf91475f6400912f8b64c89be79bfa4ddf languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.61.0" +"@typescript-eslint/typescript-estree@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" dependencies: - "@typescript-eslint/types": 5.61.0 - "@typescript-eslint/visitor-keys": 5.61.0 + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/visitor-keys": 5.62.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -12478,60 +12386,67 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 78f60103ad7c282840bd7623b38b785fdd46a75511354e1336589bae532daab7e7f297b1264814e7cd3191cf2e0608b1cc89fc599c0b03085b709a6490965233 + checksum: d7984a3e9d56897b2481940ec803cb8e7ead03df8d9cfd9797350be82ff765dfcf3cfec04e7355e1779e948da8f02bc5e11719d07a596eb1cb995c48a95e38cf languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/utils@npm:5.61.0" +"@typescript-eslint/utils@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/utils@npm:5.62.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.61.0 - "@typescript-eslint/types": 5.61.0 - "@typescript-eslint/typescript-estree": 5.61.0 + "@typescript-eslint/scope-manager": 5.62.0 + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/typescript-estree": 5.62.0 eslint-scope: ^5.1.1 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: f55bc4a0637e5f529260a0240ae7ecca04b20fde69e1892991d1087b3e230fa02df1c46e671359b3789f15bcfb90cf9f47bb79fa5f48b41b92966706cc66f413 + checksum: f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.61.0": - version: 5.61.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.61.0" +"@typescript-eslint/visitor-keys@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" dependencies: - "@typescript-eslint/types": 5.61.0 + "@typescript-eslint/types": 5.62.0 eslint-visitor-keys: ^3.3.0 - checksum: f438b68b67e03fc39e39537a594259f5df64155f775ef7afb915507f7c364ba8a93567302080c3364d270001d5dd67ee0a0632a92d8d6f6fc776f97c082c130a + checksum: 7c3b8e4148e9b94d9b7162a596a1260d7a3efc4e65199693b8025c71c4652b8042501c0bc9f57654c1e2943c26da98c0f77884a746c6ae81389fcb0b513d995d languageName: node linkType: hard -"@vitejs/plugin-react@npm:4.1.1": - version: 4.1.1 - resolution: "@vitejs/plugin-react@npm:4.1.1" +"@ungap/structured-clone@npm:^1.2.0": + version: 1.2.0 + resolution: "@ungap/structured-clone@npm:1.2.0" + checksum: 8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d + languageName: node + linkType: hard + +"@vitejs/plugin-react@npm:4.2.1": + version: 4.2.1 + resolution: "@vitejs/plugin-react@npm:4.2.1" dependencies: - "@babel/core": ^7.23.2 - "@babel/plugin-transform-react-jsx-self": ^7.22.5 - "@babel/plugin-transform-react-jsx-source": ^7.22.5 - "@types/babel__core": ^7.20.3 + "@babel/core": ^7.23.5 + "@babel/plugin-transform-react-jsx-self": ^7.23.3 + "@babel/plugin-transform-react-jsx-source": ^7.23.3 + "@types/babel__core": ^7.20.5 react-refresh: ^0.14.0 peerDependencies: - vite: ^4.2.0 - checksum: f0374e5242da7e97ac7be5bec9bfe34c1fde50b2e3b5178cebbec76caa1f21b3c7d23d43a9a54ec18403164aa2b1a2ae7c3f5912c0371327f95a3278e39db05e + vite: ^4.2.0 || ^5.0.0 + checksum: de1eec44d703f32e5b58e776328ca20793657fe991835d15b290230b19a2a08be5d31501d424279ae13ecfed28044c117b69d746891c8d9b92c69e8a8907e989 languageName: node linkType: hard -"@vscode/ripgrep@npm:1.15.5": - version: 1.15.5 - resolution: "@vscode/ripgrep@npm:1.15.5" +"@vscode/ripgrep@npm:1.15.6": + version: 1.15.6 + resolution: "@vscode/ripgrep@npm:1.15.6" dependencies: - https-proxy-agent: ^5.0.0 + https-proxy-agent: ^7.0.2 proxy-from-env: ^1.1.0 - checksum: 68235fc669a00ce5108ac3075b5a6b2898c57aac5f9ffb0462fc69322400f3a0410662b202dddbb0626806ee052d998fc53bb4e4f10f012925efbde6ee59e960 + checksum: e98cfdb4cadd0a5d0ae9d52e0807098ea7a9a3c7b1dc52f1213271278e565c3de6280ce29319aebf12c4d643ebe4e2e8ffa4ab613d03994688c1f6ebff4d1216 languageName: node linkType: hard @@ -12914,13 +12829,13 @@ __metadata: languageName: node linkType: hard -"@whatwg-node/fetch@npm:0.9.9": - version: 0.9.9 - resolution: "@whatwg-node/fetch@npm:0.9.9" +"@whatwg-node/fetch@npm:0.9.14, @whatwg-node/fetch@npm:^0.9.10, @whatwg-node/fetch@npm:^0.9.7": + version: 0.9.14 + resolution: "@whatwg-node/fetch@npm:0.9.14" dependencies: - "@whatwg-node/node-fetch": ^0.4.8 + "@whatwg-node/node-fetch": ^0.5.0 urlpattern-polyfill: ^9.0.0 - checksum: c628a85ba2e6665ba4601be1bb12126a7656f2d76fe8e8d9664c120b2c780b39b9f38cb49cf2adcd9eb9420f0a0c5de82537cafc0379ad0474c5a6b28099391e + checksum: cb91d18c744e0d01c2f8d7982f961258a43b54baa8680ed6291a257f85e5ace1b68fc74105eebebd96b4450648fbaec98d91a434c1142da44acf928c41842d58 languageName: node linkType: hard @@ -12937,16 +12852,6 @@ __metadata: languageName: node linkType: hard -"@whatwg-node/fetch@npm:^0.9.10, @whatwg-node/fetch@npm:^0.9.7": - version: 0.9.13 - resolution: "@whatwg-node/fetch@npm:0.9.13" - dependencies: - "@whatwg-node/node-fetch": ^0.4.17 - urlpattern-polyfill: ^9.0.0 - checksum: cd65ac6f41b5f78103cb2b78a5594e871977aeb104adf177ddb89c07867b976b08d5160d97517c156a09a9d172ab40f54804693b10d665533e5a876491f3a09c - languageName: node - linkType: hard - "@whatwg-node/node-fetch@npm:^0.3.6": version: 0.3.6 resolution: "@whatwg-node/node-fetch@npm:0.3.6" @@ -12960,30 +12865,39 @@ __metadata: languageName: node linkType: hard -"@whatwg-node/node-fetch@npm:^0.4.17, @whatwg-node/node-fetch@npm:^0.4.8": - version: 0.4.19 - resolution: "@whatwg-node/node-fetch@npm:0.4.19" +"@whatwg-node/node-fetch@npm:^0.5.0": + version: 0.5.0 + resolution: "@whatwg-node/node-fetch@npm:0.5.0" dependencies: "@whatwg-node/events": ^0.1.0 busboy: ^1.6.0 fast-querystring: ^1.1.1 fast-url-parser: ^1.1.3 tslib: ^2.3.1 - checksum: a89bb2b4bd6e3da7d4c884e3771532f83a307a123098a19d3ca03351ce8e2961717a51b76fcec6928b400a20989acd8590905a680c28c09057d540e25ceebc2d + checksum: 1c1638dc205fb9047a41462f787dd90990973b63c4e47baaf3ad4d1f3e1b2537ef9a02d5a874297997d91d3f48392ab4b3eca68b7b48aab32dedc43c7709f0a9 languageName: node linkType: hard -"@whatwg-node/server@npm:0.9.14, @whatwg-node/server@npm:^0.9.1": - version: 0.9.14 - resolution: "@whatwg-node/server@npm:0.9.14" +"@whatwg-node/server@npm:0.9.18, @whatwg-node/server@npm:^0.9.1": + version: 0.9.18 + resolution: "@whatwg-node/server@npm:0.9.18" dependencies: "@whatwg-node/fetch": ^0.9.10 tslib: ^2.3.1 - checksum: d56512e81e4f0f01e54a20945150e9997d21ad21c15740f7d3b5d3aac7f88615ae02e31ba1cd93902f95692137ab880b6478b022abd0b58f865615226e18f61d + checksum: 9503a17fde50a3c2615584c8a3b54bbad3596756979b3abddb2617b1ce4eef28ef534e5f026b6661db32bac80db523bfd5eba470986be76daf99469319c716c2 + languageName: node + linkType: hard + +"@wry/caches@npm:^1.0.0": + version: 1.0.1 + resolution: "@wry/caches@npm:1.0.1" + dependencies: + tslib: ^2.3.0 + checksum: a7bca3377f1131d3f1080f2e39d0692c9d1ca86bfd55734786f167f46aad28a4c8e772107324e8319843fb8068fdf98abcdea376d8a589316b1f0cdadf81f8b1 languageName: node linkType: hard -"@wry/context@npm:^0.7.0, @wry/context@npm:^0.7.3": +"@wry/context@npm:^0.7.0": version: 0.7.3 resolution: "@wry/context@npm:0.7.3" dependencies: @@ -13010,6 +12924,15 @@ __metadata: languageName: node linkType: hard +"@wry/trie@npm:^0.5.0": + version: 0.5.0 + resolution: "@wry/trie@npm:0.5.0" + dependencies: + tslib: ^2.3.0 + checksum: 8c8cfcac96ba4bc69dabf02740e19e613f501b398e80bacc32cd95e87228f75ecb41cd1a76a65abae9756c0f61ab3536e0da52de28857456f9381ffdf5995d3e + languageName: node + linkType: hard + "@xmldom/xmldom@npm:^0.8.3": version: 0.8.8 resolution: "@xmldom/xmldom@npm:0.8.8" @@ -13221,12 +13144,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:8.9.0": - version: 8.9.0 - resolution: "acorn@npm:8.9.0" +"acorn@npm:8.10.0, acorn@npm:^8.0.4, acorn@npm:^8.1.0, acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.7.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": + version: 8.10.0 + resolution: "acorn@npm:8.10.0" bin: acorn: bin/acorn - checksum: 5b51689d56f1ca5d6ea1fa58af478affd8d3396403637abcbc7caf28e1a47beb537cf1654f537b6cf4c73377f3e1aa99fd4a50674e64daefe08cb25c799ded28 + checksum: deaeebfbea6e40f6c0e1070e9b0e16e76ba484de54cbd735914d1d41d19169a450de8630b7a3a0c4e271a3b0c0b075a3427ad1a40d8a69f8747c0e8cb02ee3e2 languageName: node linkType: hard @@ -13248,15 +13171,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.4, acorn@npm:^8.1.0, acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.7.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": - version: 8.10.0 - resolution: "acorn@npm:8.10.0" - bin: - acorn: bin/acorn - checksum: deaeebfbea6e40f6c0e1070e9b0e16e76ba484de54cbd735914d1d41d19169a450de8630b7a3a0c4e271a3b0c0b075a3427ad1a40d8a69f8747c0e8cb02ee3e2 - languageName: node - linkType: hard - "add-stream@npm:^1.0.0": version: 1.0.0 resolution: "add-stream@npm:1.0.0" @@ -13705,7 +13619,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.0.0, aria-query@npm:^5.1.3": +"aria-query@npm:^5.0.0, aria-query@npm:^5.3.0": version: 5.3.0 resolution: "aria-query@npm:5.3.0" dependencies: @@ -13773,16 +13687,16 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6": - version: 3.1.6 - resolution: "array-includes@npm:3.1.6" +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7": + version: 3.1.7 + resolution: "array-includes@npm:3.1.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - get-intrinsic: ^1.1.3 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + get-intrinsic: ^1.2.1 is-string: ^1.0.7 - checksum: d0caeaa57bea7d14b8480daee30cf8611899321006b15a6cd872b831bd7aaed7649f8764e060d01c5d33b8d9e998e5de5c87f4901874e1c1f467f429b7db2929 + checksum: 692907bd7f19d06dc58ccb761f34b58f5dc0b437d2b47a8fe42a1501849a5cf5c27aed3d521a9702667827c2c85a7e75df00a402c438094d87fc43f39ebf9b2b languageName: node linkType: hard @@ -13800,27 +13714,40 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flat@npm:1.3.1" +"array.prototype.findlastindex@npm:^1.2.3": + version: 1.2.3 + resolution: "array.prototype.findlastindex@npm:1.2.3" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 es-shim-unscopables: ^1.0.0 - checksum: 8eda91d6925cc84b73ebf5a3d406ff28745d93a22ef6a0afb967755107081a937cf6c4555d3c18354870b2c5366c0ff51b3f597c11079e689869810a418b1b4f + get-intrinsic: ^1.2.1 + checksum: 2c5c4d3f07512d6729f728f6260a314c00f2eb0a243123092661fa1bc65dce90234c3b483b5f978396eccef6f69c50f0bea248448aaf9cdfcd1cedad6217acbb languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flatmap@npm:1.3.1" +"array.prototype.flat@npm:^1.3.1, array.prototype.flat@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flat@npm:1.3.2" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 es-shim-unscopables: ^1.0.0 - checksum: 2bd58a0e79d5d90cb4f5ef0e287edf8b28e87c65428f54025ac6b7b4c204224b92811c266f296c53a2dbc93872117c0fcea2e51d3c9e8cecfd5024d4a4a57db4 + checksum: a578ed836a786efbb6c2db0899ae80781b476200617f65a44846cb1ed8bd8b24c8821b83703375d8af639c689497b7b07277060024b9919db94ac3e10dc8a49b + languageName: node + linkType: hard + +"array.prototype.flatmap@npm:^1.3.1, array.prototype.flatmap@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flatmap@npm:1.3.2" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + es-shim-unscopables: ^1.0.0 + checksum: 67b3f1d602bb73713265145853128b1ad77cc0f9b833c7e1e056b323fbeac41a4ff1c9c99c7b9445903caea924d9ca2450578d9011913191aa88cc3c3a4b54f4 languageName: node linkType: hard @@ -13850,6 +13777,21 @@ __metadata: languageName: node linkType: hard +"arraybuffer.prototype.slice@npm:^1.0.2": + version: 1.0.2 + resolution: "arraybuffer.prototype.slice@npm:1.0.2" + dependencies: + array-buffer-byte-length: ^1.0.0 + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + get-intrinsic: ^1.2.1 + is-array-buffer: ^3.0.2 + is-shared-array-buffer: ^1.0.2 + checksum: 96b6e40e439678ffb7fa266398510074d33c3980fbb475490b69980cca60adec3b0777047ef377068a29862157f83edef42efc64ce48ce38977d04d68de5b7fb + languageName: node + linkType: hard + "arrify@npm:^1.0.1": version: 1.0.1 resolution: "arrify@npm:1.0.1" @@ -13929,15 +13871,16 @@ __metadata: languageName: node linkType: hard -"assert@npm:^2.0.0": - version: 2.0.0 - resolution: "assert@npm:2.0.0" +"assert@npm:^2.0.0, assert@npm:^2.1.0": + version: 2.1.0 + resolution: "assert@npm:2.1.0" dependencies: - es6-object-assign: ^1.1.0 - is-nan: ^1.2.1 - object-is: ^1.0.1 - util: ^0.12.0 - checksum: a25c7ebc07b52cc4dadd5c46d73472e7d4b86e40eb7ebaa12f78c1ba954dbe83612be5dea314b862fc364c305ab3bdbcd1c9d4ec2d92bc37214ae7d5596347f3 + call-bind: ^1.0.2 + is-nan: ^1.3.2 + object-is: ^1.1.5 + object.assign: ^4.1.4 + util: ^0.12.5 + checksum: 7271a5da883c256a1fa690677bf1dd9d6aa882139f2bed1cd15da4f9e7459683e1da8e32a203d6cc6767e5e0f730c77a9532a87b896b4b0af0dd535f668775f0 languageName: node linkType: hard @@ -13948,14 +13891,14 @@ __metadata: languageName: node linkType: hard -"ast-types-flow@npm:^0.0.7": - version: 0.0.7 - resolution: "ast-types-flow@npm:0.0.7" - checksum: f381529f2da535949ba6cceddbdfaa33b4d5105842e147ec63582f560ea9ecc1a08f66457664f3109841d3053641fa8b9fa94ba607f1ea9f6c804fe5dee44a1d +"ast-types-flow@npm:^0.0.8": + version: 0.0.8 + resolution: "ast-types-flow@npm:0.0.8" + checksum: f2a0ba8055353b743c41431974521e5e852a9824870cd6fce2db0e538ac7bf4da406bbd018d109af29ff3f8f0993f6a730c9eddbd0abd031fbcb29ca75c1014e languageName: node linkType: hard -"ast-types@npm:0.14.2, ast-types@npm:^0.14.1, ast-types@npm:^0.14.2": +"ast-types@npm:0.14.2, ast-types@npm:^0.14.1": version: 0.14.2 resolution: "ast-types@npm:0.14.2" dependencies: @@ -13964,15 +13907,6 @@ __metadata: languageName: node linkType: hard -"ast-types@npm:0.15.2": - version: 0.15.2 - resolution: "ast-types@npm:0.15.2" - dependencies: - tslib: ^2.0.1 - checksum: 5b26e3656e9e8d1db8c8d14971d0cb88ca0138aacce72171cb4cd4555fc8dc53c07e821c568e57fe147366931708fefd25cb9d7e880d42ce9cb569947844c962 - languageName: node - linkType: hard - "ast-types@npm:^0.16.1": version: 0.16.1 resolution: "ast-types@npm:0.16.1" @@ -14022,9 +13956,18 @@ __metadata: linkType: hard "async@npm:^3.1.0, async@npm:^3.2.0, async@npm:^3.2.3, async@npm:^3.2.4": - version: 3.2.4 - resolution: "async@npm:3.2.4" - checksum: b5d02fed64717edf49e35b2b156debd9cf524934ea670108fa5528e7615ed66a5e0bf6c65f832c9483b63aa7f0bffe3e588ebe8d58a539b833798d324516e1c9 + version: 3.2.5 + resolution: "async@npm:3.2.5" + checksum: 1408287b26c6db67d45cb346e34892cee555b8b59e6c68e6f8c3e495cad5ca13b4f218180e871f3c2ca30df4ab52693b66f2f6ff43644760cab0b2198bda79c1 + languageName: node + linkType: hard + +"asynciterator.prototype@npm:^1.0.0": + version: 1.0.0 + resolution: "asynciterator.prototype@npm:1.0.0" + dependencies: + has-symbols: ^1.0.3 + checksum: fb76850e57d931ff59fd16b6cddb79b0d34fe45f400b2c3480d38892e72cd089787401687dbdb7cdb14ece402c275d3e02a648760d1489cd493527129c4c6204 languageName: node linkType: hard @@ -14065,13 +14008,13 @@ __metadata: languageName: node linkType: hard -"autoprefixer@npm:10.4.14": - version: 10.4.14 - resolution: "autoprefixer@npm:10.4.14" +"autoprefixer@npm:10.4.16": + version: 10.4.16 + resolution: "autoprefixer@npm:10.4.16" dependencies: - browserslist: ^4.21.5 - caniuse-lite: ^1.0.30001464 - fraction.js: ^4.2.0 + browserslist: ^4.21.10 + caniuse-lite: ^1.0.30001538 + fraction.js: ^4.3.6 normalize-range: ^0.1.2 picocolors: ^1.0.0 postcss-value-parser: ^4.2.0 @@ -14079,7 +14022,7 @@ __metadata: postcss: ^8.1.0 bin: autoprefixer: bin/autoprefixer - checksum: 66ce961b86acd2a46e05ac1eece8657b3d9edfd2ee3abddd6cfcb32755e6865409f57acf11fe05990d6f166afda85a603678435916267a09652265cfff7b5706 + checksum: e00256e754d481a026d928bca729b25954074dd142dbec022f0a7db0d3bbc0dc2e2dc7542e94fec22eff81e21fe140e6856448e2d9a002660cb1e2ad434daee0 languageName: node linkType: hard @@ -14147,7 +14090,14 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:^4.2.0, axe-core@npm:^4.6.2": +"axe-core@npm:=4.7.0": + version: 4.7.0 + resolution: "axe-core@npm:4.7.0" + checksum: 89ac5712b5932ac7d23398b4cb5ba081c394a086e343acc68ba49c83472706e18e0799804e8388c779dcdacc465377deb29f2714241d3fbb389cf3a6b275c9ba + languageName: node + linkType: hard + +"axe-core@npm:^4.2.0": version: 4.7.2 resolution: "axe-core@npm:4.7.2" checksum: 8dfc61f038fbd9623ae8a264c8a475d887113a027fb440a2b377b82ffd300e71d1a0bcf042ff13b517a8d548b34c44b4159eff693725c5d7cde240d0aa68feac @@ -14176,7 +14126,7 @@ __metadata: languageName: node linkType: hard -"axobject-query@npm:^3.1.1": +"axobject-query@npm:^3.2.1": version: 3.2.1 resolution: "axobject-query@npm:3.2.1" dependencies: @@ -14336,13 +14286,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-named-exports-order@npm:^0.0.2": - version: 0.0.2 - resolution: "babel-plugin-named-exports-order@npm:0.0.2" - checksum: e1d001722bddabc296b74f7cd020418a3cce9ca7052d5dd5dbd2870745d9566e286d14707c0bbfc9d4b4b643031052b358124ec735069f214d22b0b6768daf9d - languageName: node - linkType: hard - "babel-plugin-polyfill-corejs2@npm:^0.4.6": version: 0.4.6 resolution: "babel-plugin-polyfill-corejs2@npm:0.4.6" @@ -14379,17 +14322,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-react-docgen@npm:^4.2.1": - version: 4.2.1 - resolution: "babel-plugin-react-docgen@npm:4.2.1" - dependencies: - ast-types: ^0.14.2 - lodash: ^4.17.15 - react-docgen: ^5.0.0 - checksum: 9f7af20e6ebd794beae14aa1ffe4f1c1c5855821a5a9f205099602c89b557e33b9cb3dc3fe0b3a2f2ca35007c6ab45f52da9695a681d8495ad0f5494ef78ec34 - languageName: node - linkType: hard - "babel-plugin-remove-code@npm:0.0.6": version: 0.0.6 resolution: "babel-plugin-remove-code@npm:0.0.6" @@ -14721,7 +14653,7 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.0.0, bn.js@npm:^5.1.1": +"bn.js@npm:^5.0.0, bn.js@npm:^5.2.1": version: 5.2.1 resolution: "bn.js@npm:5.2.1" checksum: bed3d8bd34ec89dbcf9f20f88bd7d4a49c160fda3b561c7bb227501f974d3e435a48fb9b61bc3de304acab9215a3bda0803f7017ffb4d0016a0c3a740a283caa @@ -14896,7 +14828,7 @@ __metadata: languageName: node linkType: hard -"browserify-rsa@npm:^4.0.0, browserify-rsa@npm:^4.0.1": +"browserify-rsa@npm:^4.0.0, browserify-rsa@npm:^4.1.0": version: 4.1.0 resolution: "browserify-rsa@npm:4.1.0" dependencies: @@ -14907,19 +14839,19 @@ __metadata: linkType: hard "browserify-sign@npm:^4.0.0": - version: 4.2.1 - resolution: "browserify-sign@npm:4.2.1" + version: 4.2.2 + resolution: "browserify-sign@npm:4.2.2" dependencies: - bn.js: ^5.1.1 - browserify-rsa: ^4.0.1 + bn.js: ^5.2.1 + browserify-rsa: ^4.1.0 create-hash: ^1.2.0 create-hmac: ^1.1.7 - elliptic: ^6.5.3 + elliptic: ^6.5.4 inherits: ^2.0.4 - parse-asn1: ^5.1.5 - readable-stream: ^3.6.0 - safe-buffer: ^5.2.0 - checksum: 8f00a370e3e97060977dc58e51251d3ca398ee73523994a44430321e8de2c7d85395362d59014b2b07efe4190f369baee2ff28eb8f405ff4660b776651cf052d + parse-asn1: ^5.1.6 + readable-stream: ^3.6.2 + safe-buffer: ^5.2.1 + checksum: 4d1292e5c165d93455630515003f0e95eed9239c99e2d373920c5b56903d16296a3d23cd4bdc4d298f55ad9b83714a9e63bc4839f1166c303349a16e84e9b016 languageName: node linkType: hard @@ -14941,7 +14873,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.21.4, browserslist@npm:^4.21.5, browserslist@npm:^4.21.9, browserslist@npm:^4.22.1": +"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.21.9, browserslist@npm:^4.22.1": version: 4.22.1 resolution: "browserslist@npm:4.22.1" dependencies: @@ -15093,28 +15025,6 @@ __metadata: languageName: node linkType: hard -"c8@npm:^7.6.0": - version: 7.14.0 - resolution: "c8@npm:7.14.0" - dependencies: - "@bcoe/v8-coverage": ^0.2.3 - "@istanbuljs/schema": ^0.1.3 - find-up: ^5.0.0 - foreground-child: ^2.0.0 - istanbul-lib-coverage: ^3.2.0 - istanbul-lib-report: ^3.0.0 - istanbul-reports: ^3.1.4 - rimraf: ^3.0.2 - test-exclude: ^6.0.0 - v8-to-istanbul: ^9.0.0 - yargs: ^16.2.0 - yargs-parser: ^20.2.9 - bin: - c8: bin/c8.js - checksum: 8946f55f2dcc85bf146f429a3deeede78502da245e515a2d181342475d8d8698b4055ec1d9b887ab8e1615f49c1a2af4d63557e68b2005844572fb785991e148 - languageName: node - linkType: hard - "cacache@npm:^12.0.2": version: 12.0.4 resolution: "cacache@npm:12.0.4" @@ -15245,13 +15155,14 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": - version: 1.0.2 - resolution: "call-bind@npm:1.0.2" +"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.4, call-bind@npm:^1.0.5": + version: 1.0.5 + resolution: "call-bind@npm:1.0.5" dependencies: - function-bind: ^1.1.1 - get-intrinsic: ^1.0.2 - checksum: 74ba3f31e715456e22e451d8d098779b861eba3c7cac0d9b510049aced70d75c231ba05071f97e1812c98e34e2bee734c0c6126653e0088c2d9819ca047f4073 + function-bind: ^1.1.2 + get-intrinsic: ^1.2.1 + set-function-length: ^1.1.1 + checksum: a6172c168fd6dacf744fcde745099218056bd755c50415b592655dcd6562157ed29f130f56c3f6db2250f67e4bd62e5c218cdc56d7bfd76e0bda50770fce2d10 languageName: node linkType: hard @@ -15338,10 +15249,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001464, caniuse-lite@npm:^1.0.30001541": - version: 1.0.30001554 - resolution: "caniuse-lite@npm:1.0.30001554" - checksum: 1ef7647d005ff4b6d2797dd3d4d47cf66733531999e40b50dcbe3c84f59f8ecac92ffba7ca35b932bd1ce5f8aedbf22f3bd464898be00874e3db99ef869bd726 +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001538, caniuse-lite@npm:^1.0.30001541": + version: 1.0.30001562 + resolution: "caniuse-lite@npm:1.0.30001562" + checksum: 4d2d4174317b582699ed66e12034a21222c931b9fefc42d53a283666d1323c27bb2d135b9f5efd89c242222b591111a21b2c90166457019389191d54566eef68 languageName: node linkType: hard @@ -15442,10 +15353,10 @@ __metadata: languageName: node linkType: hard -"chalk@npm:5.2.0": - version: 5.2.0 - resolution: "chalk@npm:5.2.0" - checksum: 8a519b35c239f96e041b7f1ed8fdd79d3ca2332a8366cb957378b8a1b8a4cdfb740d19628e8bf74654d4c0917aa10cf39c20752e177a1304eac29a1168a740e9 +"chalk@npm:5.3.0, chalk@npm:^5.0.0, chalk@npm:^5.2.0, chalk@npm:^5.3.0": + version: 5.3.0 + resolution: "chalk@npm:5.3.0" + checksum: 8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09 languageName: node linkType: hard @@ -15470,13 +15381,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^5.0.0, chalk@npm:^5.2.0, chalk@npm:^5.3.0": - version: 5.3.0 - resolution: "chalk@npm:5.3.0" - checksum: 8297d436b2c0f95801103ff2ef67268d362021b8210daf8ddbe349695333eb3610a71122172ff3b0272f1ef2cf7cc2c41fdaa4715f52e49ffe04c56340feed09 - languageName: node - linkType: hard - "change-case-all@npm:1.0.14": version: 1.0.14 resolution: "change-case-all@npm:1.0.14" @@ -15584,20 +15488,6 @@ __metadata: languageName: node linkType: hard -"checkpoint-client@npm:1.1.27": - version: 1.1.27 - resolution: "checkpoint-client@npm:1.1.27" - dependencies: - ci-info: 3.8.0 - env-paths: 2.2.1 - make-dir: 4.0.0 - ms: 2.1.3 - node-fetch: 2.6.12 - uuid: 9.0.0 - checksum: a5eb1041dd5b3074ce79f1f9940f487d16d4aa44730a834a2544809768575503984b482965b49821ff43b061e82f116642bb2de1d34effe96eb98e7f885dd88a - languageName: node - linkType: hard - "cheerio-select@npm:^2.1.0": version: 2.1.0 resolution: "cheerio-select@npm:2.1.0" @@ -15704,10 +15594,10 @@ __metadata: languageName: node linkType: hard -"ci-info@npm:3.8.0, ci-info@npm:^3.2.0, ci-info@npm:^3.6.1": - version: 3.8.0 - resolution: "ci-info@npm:3.8.0" - checksum: 0d3052193b58356372b34ab40d2668c3e62f1006d5ca33726d1d3c423853b19a85508eadde7f5908496fb41448f465263bf61c1ee58b7832cb6a924537e3863a +"ci-info@npm:3.9.0, ci-info@npm:^3.2.0, ci-info@npm:^3.6.1": + version: 3.9.0 + resolution: "ci-info@npm:3.9.0" + checksum: 6f0109e36e111684291d46123d491bc4e7b7a1934c3a20dea28cba89f1d4a03acd892f5f6a81ed3855c38647e285a150e3c9ba062e38943bef57fee6c1554c3a languageName: node linkType: hard @@ -15824,7 +15714,7 @@ __metadata: languageName: node linkType: hard -"cli-truncate@npm:2.1.0, cli-truncate@npm:^2.1.0": +"cli-truncate@npm:^2.1.0": version: 2.1.0 resolution: "cli-truncate@npm:2.1.0" dependencies: @@ -16555,10 +16445,10 @@ __metadata: languageName: node linkType: hard -"core-js@npm:3.33.2, core-js@npm:^3.27.2, core-js@npm:^3.30.2": - version: 3.33.2 - resolution: "core-js@npm:3.33.2" - checksum: d6a56ad3e134846c805ce936788dd58cb51e861f173ed1f830979735d7865ea6f6a5a437076c36c8d8b842ba0384d052998f160774a8da7712f0f51df60167fe +"core-js@npm:3.33.3, core-js@npm:^3.27.2, core-js@npm:^3.30.2": + version: 3.33.3 + resolution: "core-js@npm:3.33.3" + checksum: 08abdc9470c8228b9d09f61e62ab312738681202c4c34e9638889125b304b235f34c4fe22e9d41c20906ac0fcc807dca57c5ff7d6b90021bf64e8fe23461d9ab languageName: node linkType: hard @@ -16692,27 +16582,27 @@ __metadata: dependencies: "@babel/core": ^7.22.20 "@babel/plugin-transform-typescript": ^7.22.15 - "@opentelemetry/api": 1.4.1 - "@opentelemetry/exporter-trace-otlp-http": 0.41.2 - "@opentelemetry/resources": 1.15.2 - "@opentelemetry/sdk-trace-node": 1.15.2 - "@opentelemetry/semantic-conventions": 1.15.2 + "@opentelemetry/api": 1.7.0 + "@opentelemetry/exporter-trace-otlp-http": 0.45.1 + "@opentelemetry/resources": 1.18.1 + "@opentelemetry/sdk-trace-node": 1.18.1 + "@opentelemetry/semantic-conventions": 1.18.1 "@redwoodjs/tui": 6.0.7 - "@types/babel__core": 7.20.2 + "@types/babel__core": 7.20.4 chalk: 4.1.2 check-node-version: 4.2.1 - ci-info: 3.8.0 - envinfo: 7.9.0 + ci-info: 3.9.0 + envinfo: 7.11.0 esbuild: 0.19.5 execa: 5.1.1 - fs-extra: 11.1.1 + fs-extra: 11.2.0 jest: 29.7.0 klaw-sync: 6.0.0 semver: 7.5.4 - systeminformation: 5.21.17 + systeminformation: 5.21.20 terminal-link: 2.1.1 untildify: 4.0.0 - uuid: 9.0.0 + uuid: 9.0.1 yargs: 17.7.2 bin: create-redwood-app: ./dist/create-redwood-app.js @@ -16756,17 +16646,6 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": - version: 7.0.3 - resolution: "cross-spawn@npm:7.0.3" - dependencies: - path-key: ^3.1.0 - shebang-command: ^2.0.0 - which: ^2.0.1 - checksum: 5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750 - languageName: node - linkType: hard - "cross-spawn@npm:^5.0.1": version: 5.1.0 resolution: "cross-spawn@npm:5.1.0" @@ -16778,6 +16657,17 @@ __metadata: languageName: node linkType: hard +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": + version: 7.0.3 + resolution: "cross-spawn@npm:7.0.3" + dependencies: + path-key: ^3.1.0 + shebang-command: ^2.0.0 + which: ^2.0.1 + checksum: 5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750 + languageName: node + linkType: hard + "crypt@npm:0.0.2": version: 0.0.2 resolution: "crypt@npm:0.0.2" @@ -17070,13 +16960,13 @@ __metadata: languageName: node linkType: hard -"cypress@npm:12.15.0": - version: 12.15.0 - resolution: "cypress@npm:12.15.0" +"cypress@npm:12.17.4": + version: 12.17.4 + resolution: "cypress@npm:12.17.4" dependencies: - "@cypress/request": ^2.88.10 + "@cypress/request": 2.88.12 "@cypress/xvfb": ^1.2.4 - "@types/node": ^14.14.31 + "@types/node": ^16.18.39 "@types/sinonjs__fake-timers": 8.1.1 "@types/sizzle": ^2.3.2 arch: ^2.2.0 @@ -17109,16 +16999,17 @@ __metadata: minimist: ^1.2.8 ospath: ^1.2.2 pretty-bytes: ^5.6.0 + process: ^0.11.10 proxy-from-env: 1.0.0 request-progress: ^3.0.0 - semver: ^7.3.2 + semver: ^7.5.3 supports-color: ^8.1.1 tmp: ~0.2.1 untildify: ^4.0.0 yauzl: ^2.10.0 bin: cypress: bin/cypress - checksum: 9f6e431e31ab730571e8e6cd9efb3fbdd5469ffe697b59d40d840ec4e08e7a904febe4279b188d2b68c31251e7be9ac675ccc02c7e9d2ff40985c5f7efbe0bc8 + checksum: bc44e5de948a581b2175057523293e03b3065a93c492a94f4f3b1ab7f5e25208f6e63b6cd607c2be494603509ac99f5ab43135da3719e32b4539d84f4ef049ca languageName: node linkType: hard @@ -17429,7 +17320,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": +"debug@npm:4, debug@npm:^4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -17637,6 +17528,17 @@ __metadata: languageName: node linkType: hard +"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.1": + version: 1.1.1 + resolution: "define-data-property@npm:1.1.1" + dependencies: + get-intrinsic: ^1.2.1 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.0 + checksum: 77ef6e0bceb515e05b5913ab635a84d537cee84f8a7c37c77fdcb31fc5b80f6dbe81b33375e4b67d96aa04e6a0d8d4ea099e431d83f089af8d93adfb584bcb94 + languageName: node + linkType: hard + "define-lazy-prop@npm:^2.0.0": version: 2.0.0 resolution: "define-lazy-prop@npm:2.0.0" @@ -17644,13 +17546,14 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0": - version: 1.2.0 - resolution: "define-properties@npm:1.2.0" +"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": + version: 1.2.1 + resolution: "define-properties@npm:1.2.1" dependencies: + define-data-property: ^1.0.1 has-property-descriptors: ^1.0.0 object-keys: ^1.1.1 - checksum: 34b58cae4651936a3c8c720310ce393a3227f5123640ab5402e7d6e59bb44f8295b789cb5d74e7513682b2e60ff20586d6f52b726d964d617abffa3da76344e0 + checksum: 88a152319ffe1396ccc6ded510a3896e77efac7a1bfbaa174a7b00414a1747377e0bb525d303794a47cf30e805c2ec84e575758512c6e44a993076d29fd4e6c3 languageName: node linkType: hard @@ -17740,22 +17643,21 @@ __metadata: languageName: node linkType: hard -"dependency-cruiser@npm:13.0.4": - version: 13.0.4 - resolution: "dependency-cruiser@npm:13.0.4" +"dependency-cruiser@npm:13.1.5": + version: 13.1.5 + resolution: "dependency-cruiser@npm:13.1.5" dependencies: - acorn: 8.9.0 + acorn: 8.10.0 acorn-jsx: 5.3.2 acorn-jsx-walk: 2.0.0 acorn-loose: 8.3.0 acorn-walk: 8.2.0 ajv: 8.12.0 - chalk: 5.2.0 + chalk: 5.3.0 commander: 11.0.0 enhanced-resolve: 5.15.0 figures: 5.0.0 - glob: 10.2.7 - handlebars: 4.7.7 + glob: 10.3.3 ignore: 5.2.4 indent-string: 5.0.0 interpret: ^3.1.1 @@ -17765,11 +17667,11 @@ __metadata: prompts: 2.4.2 rechoir: ^0.8.0 safe-regex: 2.1.1 - semver: ^7.5.2 - semver-try-require: 6.2.2 + semver: ^7.5.4 + semver-try-require: 6.2.3 teamcity-service-messages: 0.1.14 - tsconfig-paths-webpack-plugin: 4.0.1 - watskeburt: 0.11.5 + tsconfig-paths-webpack-plugin: 4.1.0 + watskeburt: 1.0.1 wrap-ansi: 8.1.0 bin: depcruise: bin/dependency-cruise.mjs @@ -17778,7 +17680,7 @@ __metadata: depcruise-wrap-stream-in-html: bin/wrap-stream-in-html.mjs dependency-cruise: bin/dependency-cruise.mjs dependency-cruiser: bin/dependency-cruise.mjs - checksum: 8b7b37c9b110358e128dc93905bb1c0eda9055e1a889b40e475d0166cdd3d2c8b67d68815abc67cec7d14aace7311fdd0aaa684676f2723c46f5691882056181 + checksum: aa561793a6d67f3dd507e12df28da74eac8cafbfa1b2808097c3536c1e7673998518a737a52dd3bddab19a9b7d74a9d8aec56057bf741d4a4b4ed926f6af53b8 languageName: node linkType: hard @@ -18157,7 +18059,7 @@ __metadata: languageName: node linkType: hard -"dotenv-expand@npm:^10.0.0": +"dotenv-expand@npm:^10.0.0, dotenv-expand@npm:~10.0.0": version: 10.0.0 resolution: "dotenv-expand@npm:10.0.0" checksum: 298f5018e29cfdcb0b5f463ba8e8627749103fbcf6cf81c561119115754ed582deee37b49dfc7253028aaba875ab7aea5fa90e5dac88e511d009ab0e6677924e @@ -18175,14 +18077,7 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:16.0.3": - version: 16.0.3 - resolution: "dotenv@npm:16.0.3" - checksum: 109457ac5f9e930ca8066ea33887b6f839ab24d647a7a8b49ddcd1f32662e2c35591c5e5b9819063e430148a664d0927f0cbe60cf9575d89bc524f47ff7e78f0 - languageName: node - linkType: hard - -"dotenv@npm:16.3.1, dotenv@npm:^16.0.0": +"dotenv@npm:16.3.1, dotenv@npm:^16.0.0, dotenv@npm:~16.3.1": version: 16.3.1 resolution: "dotenv@npm:16.3.1" checksum: b95ff1bbe624ead85a3cd70dbd827e8e06d5f05f716f2d0cbc476532d54c7c9469c3bc4dd93ea519f6ad711cb522c00ac9a62b6eb340d5affae8008facc3fbd7 @@ -18320,7 +18215,7 @@ __metadata: languageName: node linkType: hard -"elliptic@npm:^6.5.3": +"elliptic@npm:^6.5.3, elliptic@npm:^6.5.4": version: 6.5.4 resolution: "elliptic@npm:6.5.4" dependencies: @@ -18481,37 +18376,28 @@ __metadata: languageName: node linkType: hard -"env-paths@npm:2.2.1, env-paths@npm:^2.2.0": +"env-paths@npm:^2.2.0": version: 2.2.1 resolution: "env-paths@npm:2.2.1" checksum: 285325677bf00e30845e330eec32894f5105529db97496ee3f598478e50f008c5352a41a30e5e72ec9de8a542b5a570b85699cd63bd2bc646dbcb9f311d83bc4 languageName: node linkType: hard -"envinfo@npm:7.8.1": - version: 7.8.1 - resolution: "envinfo@npm:7.8.1" +"envinfo@npm:7.11.0, envinfo@npm:^7.7.3": + version: 7.11.0 + resolution: "envinfo@npm:7.11.0" bin: envinfo: dist/cli.js - checksum: 01efe7fcf55d4b84a146bc638ef89a89a70b610957db64636ac7cc4247d627eeb1c808ed79d3cfbe3d4fed5e8ba3d61db79c1ca1a3fea9f38639561eefd68733 - languageName: node - linkType: hard - -"envinfo@npm:7.9.0": - version: 7.9.0 - resolution: "envinfo@npm:7.9.0" - bin: - envinfo: dist/cli.js - checksum: b77bca09a6d57400d1be35c13885a0488e6341cce79b5806570e12aca6290a0694ca7a8708558b062024aeb67e345d4d6f95234c8dd051e4c74b5ab2ffa858f1 + checksum: 4415b9c1ca32cdf92ce126136b9965eeac2efd6ab7e5278c06e8f86d048edad87ef4084710313a6d938ef9bc084ab17e1caee16339d731d230f3e2650f3aaf4d languageName: node linkType: hard -"envinfo@npm:^7.7.3": - version: 7.10.0 - resolution: "envinfo@npm:7.10.0" +"envinfo@npm:7.8.1": + version: 7.8.1 + resolution: "envinfo@npm:7.8.1" bin: envinfo: dist/cli.js - checksum: ebc7792fbedca72bc829913abe0c2a3384b883903012f97b56085afd4e83d26f7dd0652403fedd99cd3e1c93d4fb0706f5d2c3dc06ac6a1eda348280a06a9dcf + checksum: 01efe7fcf55d4b84a146bc638ef89a89a70b610957db64636ac7cc4247d627eeb1c808ed79d3cfbe3d4fed5e8ba3d61db79c1ca1a3fea9f38639561eefd68733 languageName: node linkType: hard @@ -18551,24 +18437,25 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.19.0, es-abstract@npm:^1.20.4, es-abstract@npm:^1.21.2": - version: 1.21.2 - resolution: "es-abstract@npm:1.21.2" +"es-abstract@npm:^1.20.4, es-abstract@npm:^1.21.2, es-abstract@npm:^1.22.1": + version: 1.22.3 + resolution: "es-abstract@npm:1.22.3" dependencies: array-buffer-byte-length: ^1.0.0 + arraybuffer.prototype.slice: ^1.0.2 available-typed-arrays: ^1.0.5 - call-bind: ^1.0.2 + call-bind: ^1.0.5 es-set-tostringtag: ^2.0.1 es-to-primitive: ^1.2.1 - function.prototype.name: ^1.1.5 - get-intrinsic: ^1.2.0 + function.prototype.name: ^1.1.6 + get-intrinsic: ^1.2.2 get-symbol-description: ^1.0.0 globalthis: ^1.0.3 gopd: ^1.0.1 - has: ^1.0.3 has-property-descriptors: ^1.0.0 has-proto: ^1.0.1 has-symbols: ^1.0.3 + hasown: ^2.0.0 internal-slot: ^1.0.5 is-array-buffer: ^3.0.2 is-callable: ^1.2.7 @@ -18576,20 +18463,24 @@ __metadata: is-regex: ^1.1.4 is-shared-array-buffer: ^1.0.2 is-string: ^1.0.7 - is-typed-array: ^1.1.10 + is-typed-array: ^1.1.12 is-weakref: ^1.0.2 - object-inspect: ^1.12.3 + object-inspect: ^1.13.1 object-keys: ^1.1.1 object.assign: ^4.1.4 - regexp.prototype.flags: ^1.4.3 + regexp.prototype.flags: ^1.5.1 + safe-array-concat: ^1.0.1 safe-regex-test: ^1.0.0 - string.prototype.trim: ^1.2.7 - string.prototype.trimend: ^1.0.6 - string.prototype.trimstart: ^1.0.6 + string.prototype.trim: ^1.2.8 + string.prototype.trimend: ^1.0.7 + string.prototype.trimstart: ^1.0.7 + typed-array-buffer: ^1.0.0 + typed-array-byte-length: ^1.0.0 + typed-array-byte-offset: ^1.0.0 typed-array-length: ^1.0.4 unbox-primitive: ^1.0.2 - which-typed-array: ^1.1.9 - checksum: 7dc2c882bafbb13609b9c35c29f0717ebf5a4dbde23a73803be821f349aa38d55f324318ccebb6da83c074260622f11d0a7f4cd1e0e19f52cc03b6b5386693fb + which-typed-array: ^1.1.13 + checksum: da31ec43b1c8eb47ba8a17693cac143682a1078b6c3cd883ce0e2062f135f532e93d873694ef439670e1f6ca03195118f43567ba6f33fb0d6c7daae750090236 languageName: node linkType: hard @@ -18617,10 +18508,32 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^1.2.1": - version: 1.3.0 - resolution: "es-module-lexer@npm:1.3.0" - checksum: cbd9bdc65458d4c4bd0d22a1c792926bfdf7bb6a96a9ed04da7d31f317159bd4945d2dbeb318717f9214f9695ee85a8fae64a5d25bf360baa82b58079032fc7a +"es-iterator-helpers@npm:^1.0.12, es-iterator-helpers@npm:^1.0.15": + version: 1.0.15 + resolution: "es-iterator-helpers@npm:1.0.15" + dependencies: + asynciterator.prototype: ^1.0.0 + call-bind: ^1.0.2 + define-properties: ^1.2.1 + es-abstract: ^1.22.1 + es-set-tostringtag: ^2.0.1 + function-bind: ^1.1.1 + get-intrinsic: ^1.2.1 + globalthis: ^1.0.3 + has-property-descriptors: ^1.0.0 + has-proto: ^1.0.1 + has-symbols: ^1.0.3 + internal-slot: ^1.0.5 + iterator.prototype: ^1.1.2 + safe-array-concat: ^1.0.1 + checksum: b4c83f94bfe624260d5238092de3173989f76f1416b1d02c388aea3b2024174e5f5f0e864057311ac99790b57e836ca3545b6e77256b26066dac944519f5e6d6 + languageName: node + linkType: hard + +"es-module-lexer@npm:^1.2.1, es-module-lexer@npm:^1.4.1": + version: 1.4.1 + resolution: "es-module-lexer@npm:1.4.1" + checksum: b7260a138668554d3f0ddcc728cb4b60c2fa463f15545cf155ecbdd5450a1348952d58298a7f48642e900ee579f21d7f5304b6b3c61b3d9fc2d4b2109b5a9dff languageName: node linkType: hard @@ -18677,13 +18590,6 @@ __metadata: languageName: node linkType: hard -"es6-object-assign@npm:^1.1.0": - version: 1.1.0 - resolution: "es6-object-assign@npm:1.1.0" - checksum: 11c165ae16866aca897dee9b689402f0e871589e859809343ef9e0fdd067133684db16fd15abdba2a99e7319222b9f43e6b747baabb909cee9d0ecbac8deebee - languageName: node - linkType: hard - "es6-symbol@npm:^3.1.1, es6-symbol@npm:^3.1.3": version: 3.1.3 resolution: "es6-symbol@npm:3.1.3" @@ -18887,13 +18793,6 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:4.0.0, escape-string-regexp@npm:^4.0.0": - version: 4.0.0 - resolution: "escape-string-regexp@npm:4.0.0" - checksum: 9497d4dd307d845bd7f75180d8188bb17ea8c151c1edbf6b6717c100e104d629dc2dfb687686181b0f4b7d732c7dfdc4d5e7a8ff72de1b0ca283a75bbb3a9cd9 - languageName: node - linkType: hard - "escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -18908,6 +18807,13 @@ __metadata: languageName: node linkType: hard +"escape-string-regexp@npm:^4.0.0": + version: 4.0.0 + resolution: "escape-string-regexp@npm:4.0.0" + checksum: 9497d4dd307d845bd7f75180d8188bb17ea8c151c1edbf6b6717c100e104d629dc2dfb687686181b0f4b7d732c7dfdc4d5e7a8ff72de1b0ca283a75bbb3a9cd9 + languageName: node + linkType: hard + "escape-string-regexp@npm:^5.0.0": version: 5.0.0 resolution: "escape-string-regexp@npm:5.0.0" @@ -18952,14 +18858,14 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:8.8.0": - version: 8.8.0 - resolution: "eslint-config-prettier@npm:8.8.0" +"eslint-config-prettier@npm:8.10.0": + version: 8.10.0 + resolution: "eslint-config-prettier@npm:8.10.0" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: 9e3bb602184b7ec59239d2f901b1594cd7cc59ff38c3ddcd812137817e50840f4d65d62b61c515c7eae86d85f8b6fb2ebda659a3f83b2f2c5da75feb15531508 + checksum: 19f8c497d9bdc111a17a61b25ded97217be3755bbc4714477dfe535ed539dddcaf42ef5cf8bb97908b058260cf89a3d7c565cb0be31096cbcd39f4c2fa5fe43c languageName: node linkType: hard @@ -18976,18 +18882,18 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.7": - version: 0.3.7 - resolution: "eslint-import-resolver-node@npm:0.3.7" +"eslint-import-resolver-node@npm:^0.3.9": + version: 0.3.9 + resolution: "eslint-import-resolver-node@npm:0.3.9" dependencies: debug: ^3.2.7 - is-core-module: ^2.11.0 - resolve: ^1.22.1 - checksum: 39c562b59ec8dfd6b85ffa52273dbf0edb661b616463e2c453c60b2398b0a76f268f15f949a1648046c9c996d29599b57f6266df4b5d3562bff1088ded3672d5 + is-core-module: ^2.13.0 + resolve: ^1.22.4 + checksum: 0ea8a24a72328a51fd95aa8f660dcca74c1429806737cf10261ab90cfcaaf62fd1eff664b76a44270868e0a932711a81b250053942595bcd00a93b1c1575dd61 languageName: node linkType: hard -"eslint-module-utils@npm:^2.7.4": +"eslint-module-utils@npm:^2.8.0": version: 2.8.0 resolution: "eslint-module-utils@npm:2.8.0" dependencies: @@ -19010,28 +18916,30 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:2.27.5": - version: 2.27.5 - resolution: "eslint-plugin-import@npm:2.27.5" +"eslint-plugin-import@npm:2.29.0": + version: 2.29.0 + resolution: "eslint-plugin-import@npm:2.29.0" dependencies: - array-includes: ^3.1.6 - array.prototype.flat: ^1.3.1 - array.prototype.flatmap: ^1.3.1 + array-includes: ^3.1.7 + array.prototype.findlastindex: ^1.2.3 + array.prototype.flat: ^1.3.2 + array.prototype.flatmap: ^1.3.2 debug: ^3.2.7 doctrine: ^2.1.0 - eslint-import-resolver-node: ^0.3.7 - eslint-module-utils: ^2.7.4 - has: ^1.0.3 - is-core-module: ^2.11.0 + eslint-import-resolver-node: ^0.3.9 + eslint-module-utils: ^2.8.0 + hasown: ^2.0.0 + is-core-module: ^2.13.1 is-glob: ^4.0.3 minimatch: ^3.1.2 - object.values: ^1.1.6 - resolve: ^1.22.1 - semver: ^6.3.0 - tsconfig-paths: ^3.14.1 + object.fromentries: ^2.0.7 + object.groupby: ^1.0.1 + object.values: ^1.1.7 + semver: ^6.3.1 + tsconfig-paths: ^3.14.2 peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: e561e79889ad3c662e305ca9a9b273a5baf8f492dad8198e42987efc4f0532c0d49caee206e78e057cec3365b36f9cef8340915e9f08adec5f29c9d631e6f691 + checksum: 761a4e1fbc2cd318e62350bed4c448f8b11ed83091d6bb7776f096556363a09debd9922b39fd2714c895edc9aaea82e08e684eb632283f880c58a91e4bae6733 languageName: node linkType: hard @@ -19048,29 +18956,29 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsx-a11y@npm:6.7.1": - version: 6.7.1 - resolution: "eslint-plugin-jsx-a11y@npm:6.7.1" +"eslint-plugin-jsx-a11y@npm:6.8.0": + version: 6.8.0 + resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" dependencies: - "@babel/runtime": ^7.20.7 - aria-query: ^5.1.3 - array-includes: ^3.1.6 - array.prototype.flatmap: ^1.3.1 - ast-types-flow: ^0.0.7 - axe-core: ^4.6.2 - axobject-query: ^3.1.1 + "@babel/runtime": ^7.23.2 + aria-query: ^5.3.0 + array-includes: ^3.1.7 + array.prototype.flatmap: ^1.3.2 + ast-types-flow: ^0.0.8 + axe-core: =4.7.0 + axobject-query: ^3.2.1 damerau-levenshtein: ^1.0.8 emoji-regex: ^9.2.2 - has: ^1.0.3 - jsx-ast-utils: ^3.3.3 - language-tags: =1.0.5 + es-iterator-helpers: ^1.0.15 + hasown: ^2.0.0 + jsx-ast-utils: ^3.3.5 + language-tags: ^1.0.9 minimatch: ^3.1.2 - object.entries: ^1.1.6 - object.fromentries: ^2.0.6 - semver: ^6.3.0 + object.entries: ^1.1.7 + object.fromentries: ^2.0.7 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 41ad3d0c8036b36cd475685c1ad639157f403b16e8ac23c07f1dbe0226ccf8458f2805cbd5cc8e56856a5d8a356f3276e3139274d819476ccad80c41b9245502 + checksum: 199b883e526e6f9d7c54cb3f094abc54f11a1ec816db5fb6cae3b938eb0e503acc10ccba91ca7451633a9d0b9abc0ea03601844a8aba5fe88c5e8897c9ac8f49 languageName: node linkType: hard @@ -19098,14 +19006,15 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:7.32.2": - version: 7.32.2 - resolution: "eslint-plugin-react@npm:7.32.2" +"eslint-plugin-react@npm:7.33.2": + version: 7.33.2 + resolution: "eslint-plugin-react@npm:7.33.2" dependencies: array-includes: ^3.1.6 array.prototype.flatmap: ^1.3.1 array.prototype.tosorted: ^1.1.1 doctrine: ^2.1.0 + es-iterator-helpers: ^1.0.12 estraverse: ^5.3.0 jsx-ast-utils: ^2.4.1 || ^3.0.0 minimatch: ^3.1.2 @@ -19115,11 +19024,11 @@ __metadata: object.values: ^1.1.6 prop-types: ^15.8.1 resolve: ^2.0.0-next.4 - semver: ^6.3.0 + semver: ^6.3.1 string.prototype.matchall: ^4.0.8 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 9ddd5cfc508555a5cb3edbdcc9138dd472d269d3a45da0be3e267ea2b3fa1b5990823675208c0e11376c9c55e46aaad5b7a5f46c965eb4dcf6f1eebcebf174c3 + checksum: f9b247861024bafc396c4bd3c9ac946604b3b23077251c98f23602aa22027a0c33a69157fd49564e4ff7f17b3678e5dc366a46c7ec42a09454d7cbce786d5001 languageName: node linkType: hard @@ -19167,24 +19076,25 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.2": - version: 3.4.2 - resolution: "eslint-visitor-keys@npm:3.4.2" - checksum: 4521d1d470490c89fb613aec6fb2f0814b496a4618619ec8dfcc985640fe33c9c64f3dab882f50ebb401b4613f35f2601a9ef9a72b57739af5b0150fecdaf1f1 +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 languageName: node linkType: hard -"eslint@npm:8.46.0": - version: 8.46.0 - resolution: "eslint@npm:8.46.0" +"eslint@npm:8.55.0": + version: 8.55.0 + resolution: "eslint@npm:8.55.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.1 - "@eslint/js": ^8.46.0 - "@humanwhocodes/config-array": ^0.11.10 + "@eslint/eslintrc": ^2.1.4 + "@eslint/js": 8.55.0 + "@humanwhocodes/config-array": ^0.11.13 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 + "@ungap/structured-clone": ^1.2.0 ajv: ^6.12.4 chalk: ^4.0.0 cross-spawn: ^7.0.2 @@ -19192,7 +19102,7 @@ __metadata: doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.2 + eslint-visitor-keys: ^3.4.3 espree: ^9.6.1 esquery: ^1.4.2 esutils: ^2.0.2 @@ -19217,7 +19127,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 81abddb21e540dcd509ba08fdf524b494cbda69a62ffce2a61b5adfcdeb3cbf713f72c6cbb42932333decb4b067ae7a89e4cb5e908e0d42e4287d4f357576a72 + checksum: d28c0b60f19bb7d355cb8393e77b018c8f548dba3f820b799c89bb2e0c436ee26084e700c5e57e1e97e7972ec93065277849141b82e7b0c0d02c2dc1e553a2a1 languageName: node linkType: hard @@ -19274,17 +19184,6 @@ __metadata: languageName: node linkType: hard -"estree-to-babel@npm:^3.1.0": - version: 3.2.1 - resolution: "estree-to-babel@npm:3.2.1" - dependencies: - "@babel/traverse": ^7.1.6 - "@babel/types": ^7.2.0 - c8: ^7.6.0 - checksum: c7949b141f569528b2608ab715d593a04f7e2e529df04e0b595d0a7dea819b410e71d1f04716e43ac1480942afc5701cb5151ad2906ee8402969651a389881bb - languageName: node - linkType: hard - "esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -19656,10 +19555,10 @@ __metadata: languageName: node linkType: hard -"fast-content-type-parse@npm:^1.0.0": - version: 1.0.0 - resolution: "fast-content-type-parse@npm:1.0.0" - checksum: 4267249a0d4b26de4c39eb41cfc891bd9f295008e42cc7368129a74ff8b316adc0b4999bb5cd8ee7569031663832edf77c2298bf3ab275bda093ee207bfa3a99 +"fast-content-type-parse@npm:^1.1.0": + version: 1.1.0 + resolution: "fast-content-type-parse@npm:1.1.0" + checksum: 882bf990fa5d64be1825ce183818db43900ece0d7ef184cb9409bae8ed1001acbe536a657b1496382cb3e308e71ab39cc399bbdae70cba1745eecaeca4e55384 languageName: node linkType: hard @@ -19698,19 +19597,6 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:3.2.7": - version: 3.2.7 - resolution: "fast-glob@npm:3.2.7" - dependencies: - "@nodelib/fs.stat": ^2.0.2 - "@nodelib/fs.walk": ^1.2.3 - glob-parent: ^5.1.2 - merge2: ^1.3.0 - micromatch: ^4.0.4 - checksum: cc820a9acbd99c51267d525ed3c0c368b57d273f8d34e2401eef824390ff38ff419af3c0308d4ec1aef3dae0e24d1ac1dfe3156e5c702d63416a4c877ab7e0c4 - languageName: node - linkType: hard - "fast-glob@npm:3.3.2, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.5, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" @@ -19738,17 +19624,18 @@ __metadata: languageName: node linkType: hard -"fast-json-stringify@npm:^5.7.0": - version: 5.7.0 - resolution: "fast-json-stringify@npm:5.7.0" +"fast-json-stringify@npm:^5.7.0, fast-json-stringify@npm:^5.8.0": + version: 5.9.1 + resolution: "fast-json-stringify@npm:5.9.1" dependencies: "@fastify/deepmerge": ^1.0.0 ajv: ^8.10.0 ajv-formats: ^2.1.1 fast-deep-equal: ^3.1.3 fast-uri: ^2.1.0 + json-schema-ref-resolver: ^1.0.1 rfdc: ^1.2.0 - checksum: 1c955b677e2cbae573217a22231a27fdf695ab916cc69ff5e0a944b984ebbedad4b6827eae7b1a4cd792fc967d5039f52f0e25471be555aec7ef87b5f62e70dc + checksum: 29d85a11aa828cf25fdb926b6c2f0f27d584c3c4c59430a9b1e941a4698e4297e87168b18ed5eb93cba2a7e7ef2bb2c2aca3f8090c9b178d7abbac339a2a1b42 languageName: node linkType: hard @@ -19812,38 +19699,38 @@ __metadata: languageName: node linkType: hard -"fastify-raw-body@npm:4.2.2": - version: 4.2.2 - resolution: "fastify-raw-body@npm:4.2.2" +"fastify-raw-body@npm:4.3.0": + version: 4.3.0 + resolution: "fastify-raw-body@npm:4.3.0" dependencies: fastify-plugin: ^4.0.0 raw-body: ^2.5.1 secure-json-parse: ^2.4.0 - checksum: c9b1dc02598df3d96b8c364b5dcd24c4a6c87bf1f1bd94d93a020354647c53c8dab959dd05967bf3c73ea63dab613890815a5ec14360a2aefdd2e03f3c8e14ae + checksum: 3260ab2fc3483a1668442b0a2b60a3f671948d8fc6e7a811ac782cfc28d31d8f064e7b3835ca21cb542d41c4a2a7bc84dd5c18ef0c38f90d7387dd6bbb83161d languageName: node linkType: hard -"fastify@npm:4.23.2": - version: 4.23.2 - resolution: "fastify@npm:4.23.2" +"fastify@npm:4.24.3": + version: 4.24.3 + resolution: "fastify@npm:4.24.3" dependencies: "@fastify/ajv-compiler": ^3.5.0 - "@fastify/error": ^3.2.0 + "@fastify/error": ^3.4.0 "@fastify/fast-json-stringify-compiler": ^4.3.0 abstract-logging: ^2.0.1 avvio: ^8.2.1 - fast-content-type-parse: ^1.0.0 - fast-json-stringify: ^5.7.0 - find-my-way: ^7.6.0 - light-my-request: ^5.9.1 - pino: ^8.12.0 + fast-content-type-parse: ^1.1.0 + fast-json-stringify: ^5.8.0 + find-my-way: ^7.7.0 + light-my-request: ^5.11.0 + pino: ^8.16.0 process-warning: ^2.2.0 proxy-addr: ^2.0.7 rfdc: ^1.3.0 - secure-json-parse: ^2.5.0 - semver: ^7.5.0 - toad-cache: ^3.2.0 - checksum: 990fe19f6b30e378abe7c590b725abe4bbe9664e7825024a6e556e8b250d8ff41c0dbb6be241da8e6b4e0f36ce22b8dce07555beb4927ac5cb7b18d888f2cbc9 + secure-json-parse: ^2.7.0 + semver: ^7.5.4 + toad-cache: ^3.3.0 + checksum: 36018767b25cde307942f52172eedfc7c1ce186162222334e19caa607e3d29fe3de04cff2c08f21096d45fa4b071cd58a319392a6dbb5b5dbdf8230b38405c3e languageName: node linkType: hard @@ -20078,17 +19965,6 @@ __metadata: languageName: node linkType: hard -"find-cache-dir@npm:3.3.2, find-cache-dir@npm:^3.0.0, find-cache-dir@npm:^3.3.1": - version: 3.3.2 - resolution: "find-cache-dir@npm:3.3.2" - dependencies: - commondir: ^1.0.1 - make-dir: ^3.0.2 - pkg-dir: ^4.1.0 - checksum: 92747cda42bff47a0266b06014610981cfbb71f55d60f2c8216bc3108c83d9745507fb0b14ecf6ab71112bed29cd6fb1a137ee7436179ea36e11287e3159e587 - languageName: node - linkType: hard - "find-cache-dir@npm:^2.0.0, find-cache-dir@npm:^2.1.0": version: 2.1.0 resolution: "find-cache-dir@npm:2.1.0" @@ -20100,6 +19976,17 @@ __metadata: languageName: node linkType: hard +"find-cache-dir@npm:^3.0.0, find-cache-dir@npm:^3.3.1": + version: 3.3.2 + resolution: "find-cache-dir@npm:3.3.2" + dependencies: + commondir: ^1.0.1 + make-dir: ^3.0.2 + pkg-dir: ^4.1.0 + checksum: 92747cda42bff47a0266b06014610981cfbb71f55d60f2c8216bc3108c83d9745507fb0b14ecf6ab71112bed29cd6fb1a137ee7436179ea36e11287e3159e587 + languageName: node + linkType: hard + "find-cache-dir@npm:^4.0.0": version: 4.0.0 resolution: "find-cache-dir@npm:4.0.0" @@ -20110,24 +19997,14 @@ __metadata: languageName: node linkType: hard -"find-my-way@npm:^7.6.0": - version: 7.6.2 - resolution: "find-my-way@npm:7.6.2" +"find-my-way@npm:^7.7.0": + version: 7.7.0 + resolution: "find-my-way@npm:7.7.0" dependencies: fast-deep-equal: ^3.1.3 fast-querystring: ^1.0.0 safe-regex2: ^2.0.0 - checksum: 562fb28fe1b05c35ae76a6ec95d971eb56fc33b95f2a5ae9fbab3e3c98692720e1466f27ceb55cd2a949e4540ac55c6a2d824fe79fb7091ecd0ab7d84393d1d7 - languageName: node - linkType: hard - -"find-up@npm:5.0.0, find-up@npm:^5.0.0": - version: 5.0.0 - resolution: "find-up@npm:5.0.0" - dependencies: - locate-path: ^6.0.0 - path-exists: ^4.0.0 - checksum: 062c5a83a9c02f53cdd6d175a37ecf8f87ea5bbff1fdfb828f04bfa021441bc7583e8ebc0872a4c1baab96221fb8a8a275a19809fb93fbc40bd69ec35634069a + checksum: 6b4fef5f3a21a73c5428337a02ce2f90af055e3fade6f57f3444a76d7f58a43891aba26597014ff02f9fd9071abfdd32b92ff2435aadaf96dd2316920c456f6e languageName: node linkType: hard @@ -20159,6 +20036,16 @@ __metadata: languageName: node linkType: hard +"find-up@npm:^5.0.0": + version: 5.0.0 + resolution: "find-up@npm:5.0.0" + dependencies: + locate-path: ^6.0.0 + path-exists: ^4.0.0 + checksum: 062c5a83a9c02f53cdd6d175a37ecf8f87ea5bbff1fdfb828f04bfa021441bc7583e8ebc0872a4c1baab96221fb8a8a275a19809fb93fbc40bd69ec35634069a + languageName: node + linkType: hard + "find-up@npm:^6.3.0": version: 6.3.0 resolution: "find-up@npm:6.3.0" @@ -20313,16 +20200,6 @@ __metadata: languageName: node linkType: hard -"foreground-child@npm:^2.0.0": - version: 2.0.0 - resolution: "foreground-child@npm:2.0.0" - dependencies: - cross-spawn: ^7.0.0 - signal-exit: ^3.0.2 - checksum: 6719982783a448162f9a01500757fb2053bc5dcd4d67c7cd30739b38ccc01b39f84e408c30989d1d8774519c021c0498e2450ab127690fb09d7f2568fd94ffcc - languageName: node - linkType: hard - "foreground-child@npm:^3.1.0": version: 3.1.1 resolution: "foreground-child@npm:3.1.1" @@ -20423,17 +20300,10 @@ __metadata: languageName: node linkType: hard -"fp-ts@npm:2.16.1": - version: 2.16.1 - resolution: "fp-ts@npm:2.16.1" - checksum: 16fcc7dc8a612ed8a2a339153bcc8745095eebf34ce7980507a9e3690b2c2aa2023c0caede48fd3d79068e271a6203d64416fa9db05613327f7c1a7546ba196d - languageName: node - linkType: hard - -"fraction.js@npm:^4.2.0": - version: 4.2.1 - resolution: "fraction.js@npm:4.2.1" - checksum: d374ea23874651189b6f78c1fd39079e8da0a7181fc594cd48d5935b5c59119cee28408f86adeb327ca690555f2b8d316812ff41498123969cb09ee78c99d19c +"fraction.js@npm:^4.3.6": + version: 4.3.7 + resolution: "fraction.js@npm:4.3.7" + checksum: df291391beea9ab4c263487ffd9d17fed162dbb736982dee1379b2a8cc94e4e24e46ed508c6d278aded9080ba51872f1bc5f3a5fd8d7c74e5f105b508ac28711 languageName: node linkType: hard @@ -20484,7 +20354,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:11.1.1, fs-extra@npm:^11.1.0, fs-extra@npm:^11.1.1": +"fs-extra@npm:11.1.1": version: 11.1.1 resolution: "fs-extra@npm:11.1.1" dependencies: @@ -20495,6 +20365,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:11.2.0, fs-extra@npm:^11.1.0, fs-extra@npm:^11.1.1": + version: 11.2.0 + resolution: "fs-extra@npm:11.2.0" + dependencies: + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: d77a9a9efe60532d2e790e938c81a02c1b24904ef7a3efb3990b835514465ba720e99a6ea56fd5e2db53b4695319b644d76d5a0e9988a2beef80aa7b1da63398 + languageName: node + linkType: hard + "fs-extra@npm:^10.0.0": version: 10.1.0 resolution: "fs-extra@npm:10.1.0" @@ -20518,15 +20399,6 @@ __metadata: languageName: node linkType: hard -"fs-jetpack@npm:5.1.0": - version: 5.1.0 - resolution: "fs-jetpack@npm:5.1.0" - dependencies: - minimatch: ^5.1.0 - checksum: e4961131bebc9c39b23f1c9d4e19c2d6228ed918a6b12749f239829b35748fcd5f7a6f1f201f061cd9720058f4b41138159e9650d56f675e5741426b75b260e0 - languageName: node - linkType: hard - "fs-minipass@npm:^2.0.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -20618,22 +20490,22 @@ __metadata: languageName: node linkType: hard -"function-bind@npm:^1.1.1": - version: 1.1.1 - resolution: "function-bind@npm:1.1.1" - checksum: 60b74b2407e1942e1ed7f8c284f8ef714d0689dcfce5319985a5b7da3fc727f40b4a59ec72dc55aa83365ad7b8fa4fac3a30d93c850a2b452f29ae03dbc10a1e +"function-bind@npm:^1.1.1, function-bind@npm:^1.1.2": + version: 1.1.2 + resolution: "function-bind@npm:1.1.2" + checksum: d8680ee1e5fcd4c197e4ac33b2b4dce03c71f4d91717292785703db200f5c21f977c568d28061226f9b5900cbcd2c84463646134fd5337e7925e0942bc3f46d5 languageName: node linkType: hard -"function.prototype.name@npm:^1.1.5": - version: 1.1.5 - resolution: "function.prototype.name@npm:1.1.5" +"function.prototype.name@npm:^1.1.5, function.prototype.name@npm:^1.1.6": + version: 1.1.6 + resolution: "function.prototype.name@npm:1.1.6" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.3 - es-abstract: ^1.19.0 - functions-have-names: ^1.2.2 - checksum: b75fb8c5261f03a54f7cb53a8c99e0c40297efc3cf750c51d3a2e56f6741701c14eda51986d30c24063136a4c32d1643df9d1dd2f2a14b64fa011edd3e7117ae + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + functions-have-names: ^1.2.3 + checksum: 9eae11294905b62cb16874adb4fc687927cda3162285e0ad9612e6a1d04934005d46907362ea9cdb7428edce05a2f2c3dabc3b2d21e9fd343e9bb278230ad94b languageName: node linkType: hard @@ -20644,7 +20516,7 @@ __metadata: languageName: node linkType: hard -"functions-have-names@npm:^1.2.2, functions-have-names@npm:^1.2.3": +"functions-have-names@npm:^1.2.3": version: 1.2.3 resolution: "functions-have-names@npm:1.2.3" checksum: 33e77fd29bddc2d9bb78ab3eb854c165909201f88c75faa8272e35899e2d35a8a642a15e7420ef945e1f64a9670d6aa3ec744106b2aa42be68ca5114025954ca @@ -20752,15 +20624,15 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0": - version: 1.2.1 - resolution: "get-intrinsic@npm:1.2.1" +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": + version: 1.2.2 + resolution: "get-intrinsic@npm:1.2.2" dependencies: - function-bind: ^1.1.1 - has: ^1.0.3 + function-bind: ^1.1.2 has-proto: ^1.0.1 has-symbols: ^1.0.3 - checksum: 49eab47f9de8f1a4f9b458b8b74ee5199fb2614414a91973eb175e07db56b52b6df49b255cc7ff704cb0786490fb93bfe8f2ad138b590a8de09b47116a366bc9 + hasown: ^2.0.0 + checksum: 4e7fb8adc6172bae7c4fe579569b4d5238b3667c07931cd46b4eee74bbe6ff6b91329bec311a638d8e60f5b51f44fe5445693c6be89ae88d4b5c49f7ff12db0b languageName: node linkType: hard @@ -21028,33 +20900,33 @@ __metadata: languageName: node linkType: hard -"glob@npm:10.2.7": - version: 10.2.7 - resolution: "glob@npm:10.2.7" +"glob@npm:10.3.10, glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.7": + version: 10.3.10 + resolution: "glob@npm:10.3.10" dependencies: foreground-child: ^3.1.0 - jackspeak: ^2.0.3 + jackspeak: ^2.3.5 minimatch: ^9.0.1 - minipass: ^5.0.0 || ^6.0.2 - path-scurry: ^1.7.0 + minipass: ^5.0.0 || ^6.0.2 || ^7.0.0 + path-scurry: ^1.10.1 bin: - glob: dist/cjs/src/bin.js - checksum: 15b742f933c4302cca278527a720c1300ba67b92975005e54e0fb85fee85aff1c45e71fbac386a2e190e64b7b17897b5ae1bc6cbd2cdd96a62c0dc55c8fb076f + glob: dist/esm/bin.mjs + checksum: 13d8a1feb7eac7945f8c8480e11cd4a44b24d26503d99a8d8ac8d5aefbf3e9802a2b6087318a829fad04cb4e829f25c5f4f1110c68966c498720dd261c7e344d languageName: node linkType: hard -"glob@npm:10.3.1": - version: 10.3.1 - resolution: "glob@npm:10.3.1" +"glob@npm:10.3.3": + version: 10.3.3 + resolution: "glob@npm:10.3.3" dependencies: foreground-child: ^3.1.0 jackspeak: ^2.0.3 minimatch: ^9.0.1 - minipass: ^5.0.0 || ^6.0.2 - path-scurry: ^1.10.0 + minipass: ^5.0.0 || ^6.0.2 || ^7.0.0 + path-scurry: ^1.10.1 bin: glob: dist/cjs/src/bin.js - checksum: b39d24c093ce2ffa992dc5b412dbc871af0ccd38a6b2356f67dc906857f0c4c811039a4a4665d19443e1bb484ce2d97855cc7fcfb9a7d0b7e0dadfef4dad5b82 + checksum: 50effa4208762e508def5688e4d88242db80b5913f65e9c5d5aefb707c59e66a27e845fbf18127157189f6ed0f055e2c94d7112c97a065b9cbfe002e1b26d330 languageName: node linkType: hard @@ -21086,21 +20958,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.0.0, glob@npm:^10.2.2, glob@npm:^10.3.7": - version: 10.3.10 - resolution: "glob@npm:10.3.10" - dependencies: - foreground-child: ^3.1.0 - jackspeak: ^2.3.5 - minimatch: ^9.0.1 - minipass: ^5.0.0 || ^6.0.2 || ^7.0.0 - path-scurry: ^1.10.1 - bin: - glob: dist/esm/bin.mjs - checksum: 13d8a1feb7eac7945f8c8480e11cd4a44b24d26503d99a8d8ac8d5aefbf3e9802a2b6087318a829fad04cb4e829f25c5f4f1110c68966c498720dd261c7e344d - languageName: node - linkType: hard - "glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -21140,7 +20997,7 @@ __metadata: languageName: node linkType: hard -"global-dirs@npm:3.0.1, global-dirs@npm:^3.0.0": +"global-dirs@npm:^3.0.0": version: 3.0.1 resolution: "global-dirs@npm:3.0.1" dependencies: @@ -21425,12 +21282,12 @@ __metadata: languageName: node linkType: hard -"graphql-sse@npm:2.3.0, graphql-sse@npm:^2.0.0": - version: 2.3.0 - resolution: "graphql-sse@npm:2.3.0" +"graphql-sse@npm:2.4.0, graphql-sse@npm:^2.0.0": + version: 2.4.0 + resolution: "graphql-sse@npm:2.4.0" peerDependencies: graphql: ">=0.11 <=16" - checksum: 8cfc3db28094008fb33e04b9289d17ed7173ba6dfc01d9d0d686ae621c7cff33418657deb61429a498058cfad06e1282b89d3275ede87791fb065056db38e8a8 + checksum: 8653b334653fe232a1632f3ec3aa1af1fe77369e43fe9fc4e8a1e113af5ea9db673279df671d74ced49bfcd8f61d24ec824e2381eab0eab85232a3a4b611dd48 languageName: node linkType: hard @@ -21525,7 +21382,7 @@ __metadata: languageName: node linkType: hard -"handlebars@npm:4.7.7, handlebars@npm:^4.7.7": +"handlebars@npm:^4.7.7": version: 4.7.7 resolution: "handlebars@npm:4.7.7" dependencies: @@ -21679,13 +21536,12 @@ __metadata: languageName: node linkType: hard -"hasha@npm:5.2.2": - version: 5.2.2 - resolution: "hasha@npm:5.2.2" +"hasown@npm:^2.0.0": + version: 2.0.0 + resolution: "hasown@npm:2.0.0" dependencies: - is-stream: ^2.0.0 - type-fest: ^0.8.0 - checksum: 9d10d4e665a37beea6e18ba3a0c0399a05b26e505c5ff2fe9115b64fedb3ca95f68c89cf15b08ee4d09fd3064b5e1bfc8e8247353c7aa6b7388471d0f86dca74 + function-bind: ^1.1.2 + checksum: 5d415b114f410661208c95e7ab4879f1cc2765b8daceff4dc8718317d1cb7b9ffa7c5d1eafd9a4389c9aab7445d6ea88e05f3096cb1e529618b55304956b87fc languageName: node linkType: hard @@ -21977,16 +21833,6 @@ __metadata: languageName: node linkType: hard -"http-proxy-agent@npm:7.0.0": - version: 7.0.0 - resolution: "http-proxy-agent@npm:7.0.0" - dependencies: - agent-base: ^7.1.0 - debug: ^4.3.4 - checksum: a11574ff39436cee3c7bc67f259444097b09474605846ddd8edf0bf4ad8644be8533db1aa463426e376865047d05dc22755e638632819317c0c2f1b2196657c8 - languageName: node - linkType: hard - "http-proxy-agent@npm:^4.0.1": version: 4.0.1 resolution: "http-proxy-agent@npm:4.0.1" @@ -22076,16 +21922,6 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:7.0.2": - version: 7.0.2 - resolution: "https-proxy-agent@npm:7.0.2" - dependencies: - agent-base: ^7.0.2 - debug: 4 - checksum: 7735eb90073db087e7e79312e3d97c8c04baf7ea7ca7b013382b6a45abbaa61b281041a98f4e13c8c80d88f843785bcc84ba189165b4b4087b1e3496ba656d77 - languageName: node - linkType: hard - "https-proxy-agent@npm:^4.0.0": version: 4.0.0 resolution: "https-proxy-agent@npm:4.0.0" @@ -22116,6 +21952,16 @@ __metadata: languageName: node linkType: hard +"https-proxy-agent@npm:^7.0.2": + version: 7.0.2 + resolution: "https-proxy-agent@npm:7.0.2" + dependencies: + agent-base: ^7.0.2 + debug: 4 + checksum: 7735eb90073db087e7e79312e3d97c8c04baf7ea7ca7b013382b6a45abbaa61b281041a98f4e13c8c80d88f843785bcc84ba189165b4b4087b1e3496ba656d77 + languageName: node + linkType: hard + "human-signals@npm:^1.1.1": version: 1.1.1 resolution: "human-signals@npm:1.1.1" @@ -22292,13 +22138,6 @@ __metadata: languageName: node linkType: hard -"indent-string@npm:4.0.0, indent-string@npm:^4.0.0": - version: 4.0.0 - resolution: "indent-string@npm:4.0.0" - checksum: 1e1904ddb0cb3d6cce7cd09e27a90184908b7a5d5c21b92e232c93579d314f0b83c246ffb035493d0504b1e9147ba2c9b21df0030f48673fba0496ecd698161f - languageName: node - linkType: hard - "indent-string@npm:5.0.0, indent-string@npm:^5.0.0": version: 5.0.0 resolution: "indent-string@npm:5.0.0" @@ -22306,6 +22145,13 @@ __metadata: languageName: node linkType: hard +"indent-string@npm:^4.0.0": + version: 4.0.0 + resolution: "indent-string@npm:4.0.0" + checksum: 1e1904ddb0cb3d6cce7cd09e27a90184908b7a5d5c21b92e232c93579d314f0b83c246ffb035493d0504b1e9147ba2c9b21df0030f48673fba0496ecd698161f + languageName: node + linkType: hard + "infer-owner@npm:^1.0.3, infer-owner@npm:^1.0.4": version: 1.0.4 resolution: "infer-owner@npm:1.0.4" @@ -22573,6 +22419,15 @@ __metadata: languageName: node linkType: hard +"is-async-function@npm:^2.0.0": + version: 2.0.0 + resolution: "is-async-function@npm:2.0.0" + dependencies: + has-tostringtag: ^1.0.0 + checksum: 787bc931576aad525d751fc5ce211960fe91e49ac84a5c22d6ae0bc9541945fbc3f686dc590c3175722ce4f6d7b798a93f6f8ff4847fdb2199aea6f4baf5d668 + languageName: node + linkType: hard + "is-bigint@npm:^1.0.1": version: 1.0.4 resolution: "is-bigint@npm:1.0.4" @@ -22635,12 +22490,12 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.11.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": - version: 2.13.0 - resolution: "is-core-module@npm:2.13.0" +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": + version: 2.13.1 + resolution: "is-core-module@npm:2.13.1" dependencies: - has: ^1.0.3 - checksum: a8e7f46f8cefd7c9f6f5d54f3dbf1c40bf79467b6612d6023421ec6ea7e8e4c22593b3963ff7a3f770db07bc19fccbe7987a550a8bc1a4d6ec4115db5e4c5dca + hasown: ^2.0.0 + checksum: 2cba9903aaa52718f11c4896dabc189bab980870aae86a62dc0d5cedb546896770ee946fb14c84b7adf0735f5eaea4277243f1b95f5cefa90054f92fbcac2518 languageName: node linkType: hard @@ -22732,6 +22587,15 @@ __metadata: languageName: node linkType: hard +"is-finalizationregistry@npm:^1.0.2": + version: 1.0.2 + resolution: "is-finalizationregistry@npm:1.0.2" + dependencies: + call-bind: ^1.0.2 + checksum: 81caecc984d27b1a35c68741156fc651fb1fa5e3e6710d21410abc527eb226d400c0943a167922b2e920f6b3e58b0dede9aa795882b038b85f50b3a4b877db86 + languageName: node + linkType: hard + "is-fullwidth-code-point@npm:^3.0.0": version: 3.0.0 resolution: "is-fullwidth-code-point@npm:3.0.0" @@ -22753,7 +22617,7 @@ __metadata: languageName: node linkType: hard -"is-generator-function@npm:^1.0.7": +"is-generator-function@npm:^1.0.10, is-generator-function@npm:^1.0.7": version: 1.0.10 resolution: "is-generator-function@npm:1.0.10" dependencies: @@ -22834,7 +22698,7 @@ __metadata: languageName: node linkType: hard -"is-nan@npm:^1.2.1": +"is-nan@npm:^1.3.2": version: 1.3.2 resolution: "is-nan@npm:1.3.2" dependencies: @@ -23061,16 +22925,12 @@ __metadata: languageName: node linkType: hard -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": - version: 1.1.10 - resolution: "is-typed-array@npm:1.1.10" +"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": + version: 1.1.12 + resolution: "is-typed-array@npm:1.1.12" dependencies: - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.2 - for-each: ^0.3.3 - gopd: ^1.0.1 - has-tostringtag: ^1.0.0 - checksum: b71268a2e5f493f2b95af4cbfe7a65254a822f07d57f20c18f084347cd45f11810915fe37d7a6831fe4b81def24621a042fd1169ec558c50f830b591bc8c1f66 + which-typed-array: ^1.1.11 + checksum: 9863e9cc7223c6fc1c462a2c3898a7beff6b41b1ee0fabb03b7d278ae7de670b5bcbc8627db56bb66ed60902fa37d53fe5cce0fd2f7d73ac64fe5da6f409b6ae languageName: node linkType: hard @@ -23153,14 +23013,21 @@ __metadata: languageName: node linkType: hard -"is-windows@npm:1.0.2, is-windows@npm:^1.0.1, is-windows@npm:^1.0.2": +"is-windows@npm:^1.0.1, is-windows@npm:^1.0.2": version: 1.0.2 resolution: "is-windows@npm:1.0.2" checksum: b32f418ab3385604a66f1b7a3ce39d25e8881dee0bd30816dc8344ef6ff9df473a732bcc1ec4e84fe99b2f229ae474f7133e8e93f9241686cfcf7eebe53ba7a5 languageName: node linkType: hard -"is-wsl@npm:2.2.0, is-wsl@npm:^2.1.1, is-wsl@npm:^2.2.0": +"is-wsl@npm:^1.1.0": + version: 1.1.0 + resolution: "is-wsl@npm:1.1.0" + checksum: 7ad0012f21092d6f586c7faad84755a8ef0da9b9ec295e4dc82313cce4e1a93a3da3c217265016461f9b141503fe55fa6eb1fd5457d3f05e8d1bdbb48e50c13a + languageName: node + linkType: hard + +"is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0" dependencies: @@ -23169,13 +23036,6 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^1.1.0": - version: 1.1.0 - resolution: "is-wsl@npm:1.1.0" - checksum: 7ad0012f21092d6f586c7faad84755a8ef0da9b9ec295e4dc82313cce4e1a93a3da3c217265016461f9b141503fe55fa6eb1fd5457d3f05e8d1bdbb48e50c13a - languageName: node - linkType: hard - "isarray@npm:1.0.0, isarray@npm:^1.0.0, isarray@npm:~1.0.0": version: 1.0.0 resolution: "isarray@npm:1.0.0" @@ -23190,10 +23050,10 @@ __metadata: languageName: node linkType: hard -"isbot@npm:3.6.8": - version: 3.6.8 - resolution: "isbot@npm:3.6.8" - checksum: fbc067d6567fc006026f24527fd09ff655f5eb7e3672070ceb7e62afae9973aeb88f37dd29b88318ee25404818bb294bcc0cab93fb447c798294f0fd36b4b436 +"isbot@npm:3.7.1": + version: 3.7.1 + resolution: "isbot@npm:3.7.1" + checksum: 7c4733f6bf0cd98d6801ee24d4664edde0f0fabc329ff9858d41744dc0d6143701e8e7dfc7962bcdc46b7670911d716392cdd0a4a4bc9f5c98e03125d675f6c5 languageName: node linkType: hard @@ -23291,7 +23151,7 @@ __metadata: languageName: node linkType: hard -"istanbul-reports@npm:^3.1.3, istanbul-reports@npm:^3.1.4": +"istanbul-reports@npm:^3.1.3": version: 3.1.5 resolution: "istanbul-reports@npm:3.1.5" dependencies: @@ -23301,6 +23161,19 @@ __metadata: languageName: node linkType: hard +"iterator.prototype@npm:^1.1.2": + version: 1.1.2 + resolution: "iterator.prototype@npm:1.1.2" + dependencies: + define-properties: ^1.2.1 + get-intrinsic: ^1.2.1 + has-symbols: ^1.0.3 + reflect.getprototypeof: ^1.0.4 + set-function-name: ^2.0.1 + checksum: a32151326095e916f306990d909f6bbf23e3221999a18ba686419535dcd1749b10ded505e89334b77dc4c7a58a8508978f0eb16c2c8573e6d412eb7eb894ea79 + languageName: node + linkType: hard + "jackspeak@npm:^2.0.3, jackspeak@npm:^2.3.5": version: 2.3.6 resolution: "jackspeak@npm:2.3.6" @@ -23431,7 +23304,7 @@ __metadata: languageName: node linkType: hard -"jest-diff@npm:>=29.4.3 < 30, jest-diff@npm:^29.7.0": +"jest-diff@npm:>=29.4.3 < 30, jest-diff@npm:^29.4.1, jest-diff@npm:^29.7.0": version: 29.7.0 resolution: "jest-diff@npm:29.7.0" dependencies: @@ -23841,10 +23714,10 @@ __metadata: languageName: node linkType: hard -"jose@npm:^4.10.4, jose@npm:^4.11.4": - version: 4.14.4 - resolution: "jose@npm:4.14.4" - checksum: cb13d70f2336c0a45210f8e4e71ed8d4d82a884ad66776308f5ab9a90e2087419782e0b288d2a9070657620637f0d2dbcac6f3164ed9ba8903c0096e282cec3c +"jose@npm:^4.11.4, jose@npm:^4.14.6": + version: 4.15.4 + resolution: "jose@npm:4.15.4" + checksum: ce8b29f84d6172a566b12b599dafa82f3bef0f16278bb76d562490ac1516fcc14017b05a39d20ffad25ed504f4996d4af4c9d3e0273d95b2d5559bf6d1112bc0 languageName: node linkType: hard @@ -23958,19 +23831,20 @@ __metadata: languageName: node linkType: hard -"jscodeshift@npm:^0.14.0": - version: 0.14.0 - resolution: "jscodeshift@npm:0.14.0" +"jscodeshift@npm:^0.15.1": + version: 0.15.1 + resolution: "jscodeshift@npm:0.15.1" dependencies: - "@babel/core": ^7.13.16 - "@babel/parser": ^7.13.16 - "@babel/plugin-proposal-class-properties": ^7.13.0 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.13.8 - "@babel/plugin-proposal-optional-chaining": ^7.13.12 - "@babel/plugin-transform-modules-commonjs": ^7.13.8 - "@babel/preset-flow": ^7.13.13 - "@babel/preset-typescript": ^7.13.0 - "@babel/register": ^7.13.16 + "@babel/core": ^7.23.0 + "@babel/parser": ^7.23.0 + "@babel/plugin-transform-class-properties": ^7.22.5 + "@babel/plugin-transform-modules-commonjs": ^7.23.0 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.22.11 + "@babel/plugin-transform-optional-chaining": ^7.23.0 + "@babel/plugin-transform-private-methods": ^7.22.5 + "@babel/preset-flow": ^7.22.15 + "@babel/preset-typescript": ^7.23.0 + "@babel/register": ^7.22.15 babel-core: ^7.0.0-bridge.0 chalk: ^4.1.2 flow-parser: 0.* @@ -23978,14 +23852,17 @@ __metadata: micromatch: ^4.0.4 neo-async: ^2.5.0 node-dir: ^0.1.17 - recast: ^0.21.0 + recast: ^0.23.3 temp: ^0.8.4 write-file-atomic: ^2.3.0 peerDependencies: "@babel/preset-env": ^7.1.6 + peerDependenciesMeta: + "@babel/preset-env": + optional: true bin: jscodeshift: bin/jscodeshift.js - checksum: dab63bdb4b7e67d79634fcd3f5dc8b227146e9f68aa88700bc49c5a45b6339d05bd934a98aa53d29abd04f81237d010e7e037799471b2aab66ec7b9a7d752786 + checksum: 334de6ffa776a68b3f59f2f18a285ea977f3339d85e3517f3854761e65769ffa7e453c35cde320fc969106d573df39bd3fb08b23db54ae17c1b1516e5bf05742 languageName: node linkType: hard @@ -24155,6 +24032,15 @@ __metadata: languageName: node linkType: hard +"json-schema-ref-resolver@npm:^1.0.1": + version: 1.0.1 + resolution: "json-schema-ref-resolver@npm:1.0.1" + dependencies: + fast-deep-equal: ^3.1.3 + checksum: aa89d88108c0109ae35b913c89c132fb50c00f3b99fc8a8309b524b9e3a6a77414f19a6a35a1253871462984cbabc74279ebbd9bf103c6629fb7b37c9fb59bcf + languageName: node + linkType: hard + "json-schema-traverse@npm:^0.4.1": version: 0.4.1 resolution: "json-schema-traverse@npm:0.4.1" @@ -24309,15 +24195,15 @@ __metadata: languageName: node linkType: hard -"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.3": - version: 3.3.4 - resolution: "jsx-ast-utils@npm:3.3.4" +"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.5": + version: 3.3.5 + resolution: "jsx-ast-utils@npm:3.3.5" dependencies: array-includes: ^3.1.6 array.prototype.flat: ^1.3.1 object.assign: ^4.1.4 object.values: ^1.1.6 - checksum: 6761ccd830deab6a4cb8ca182c7b3627f4478138b6f4e2b680afc2b5e954635feb460ff75218b67f8694a9f8a0da6f0833a013e34961a16fbe4457fb34a0a7b2 + checksum: a32679e9cb55469cb6d8bbc863f7d631b2c98b7fc7bf172629261751a6e7bc8da6ae374ddb74d5fbd8b06cf0eb4572287b259813d92b36e384024ed35e4c13e1 languageName: node linkType: hard @@ -24372,17 +24258,17 @@ __metadata: languageName: node linkType: hard -"jwks-rsa@npm:3.0.1, jwks-rsa@npm:^3.0.1": - version: 3.0.1 - resolution: "jwks-rsa@npm:3.0.1" +"jwks-rsa@npm:3.1.0, jwks-rsa@npm:^3.0.1": + version: 3.1.0 + resolution: "jwks-rsa@npm:3.1.0" dependencies: - "@types/express": ^4.17.14 - "@types/jsonwebtoken": ^9.0.0 + "@types/express": ^4.17.17 + "@types/jsonwebtoken": ^9.0.2 debug: ^4.3.4 - jose: ^4.10.4 + jose: ^4.14.6 limiter: ^1.1.5 - lru-memoizer: ^2.1.4 - checksum: 47a45492fa8278e2aec11e30b64c651ec1bf05636a2fb34f80478c12a75cfb1aa311f599aefb7fcd0df792c1560a2f91948eb1eab5d4db9a2866fa2f5570f913 + lru-memoizer: ^2.2.0 + checksum: 60d686ba42ebfcedffd867aa68044d3d505bc21f6574afda17c6cc8bcabcf88a9a2b651965a25c53280902a532767cd002694c98f68287d31a60b492cba35822 languageName: node linkType: hard @@ -24486,13 +24372,6 @@ __metadata: languageName: node linkType: hard -"kleur@npm:4.1.5": - version: 4.1.5 - resolution: "kleur@npm:4.1.5" - checksum: e9de6cb49657b6fa70ba2d1448fd3d691a5c4370d8f7bbf1c2f64c24d461270f2117e1b0afe8cb3114f13bbd8e51de158c2a224953960331904e636a5e4c0f2a - languageName: node - linkType: hard - "kleur@npm:^3.0.3": version: 3.0.3 resolution: "kleur@npm:3.0.3" @@ -24500,19 +24379,19 @@ __metadata: languageName: node linkType: hard -"language-subtag-registry@npm:~0.3.2": +"language-subtag-registry@npm:^0.3.20": version: 0.3.22 resolution: "language-subtag-registry@npm:0.3.22" checksum: d1e09971260a7cd3b9fdeb190d33af0b6e99c8697013537d9aaa15f7856d9d83aee128ba8078e219df0a7cf4b8dd18d1a0c188f6543b500d92a2689d2d114b70 languageName: node linkType: hard -"language-tags@npm:=1.0.5": - version: 1.0.5 - resolution: "language-tags@npm:1.0.5" +"language-tags@npm:^1.0.9": + version: 1.0.9 + resolution: "language-tags@npm:1.0.9" dependencies: - language-subtag-registry: ~0.3.2 - checksum: 04215e821af9a8f1bc6c99ab5aa0a316c3fe1912ca3337eb28596316064bddd8edd22f2883d866069ebdf01b2002e504a760a336b2c728b6d30514e86744f76c + language-subtag-registry: ^0.3.20 + checksum: 9ab911213c4bd8bd583c850201c17794e52cb0660d1ab6e32558aadc8324abebf6844e46f92b80a5d600d0fbba7eface2c207bfaf270a1c7fd539e4c3a880bff languageName: node linkType: hard @@ -24752,14 +24631,14 @@ __metadata: languageName: node linkType: hard -"light-my-request@npm:^5.9.1": - version: 5.10.0 - resolution: "light-my-request@npm:5.10.0" +"light-my-request@npm:^5.11.0": + version: 5.11.0 + resolution: "light-my-request@npm:5.11.0" dependencies: cookie: ^0.5.0 process-warning: ^2.0.0 set-cookie-parser: ^2.4.1 - checksum: 8135809e8c8263a2af542c510206767e39a302f728f7a4cf762179cb39fd58cb390c0a3f2a3f4fd852828cf3e208a4f2ff2d4c842b354d68e23bb04d60c03a70 + checksum: ad5512b5216f2095409b54daf901f714f76004e4c8acdaa1ec3aa2ffde7ddf11ac249f02a87344d766bbad59eb2732acfe3ee5bb7e8ad5fc71057ef0d4d3be25 languageName: node linkType: hard @@ -25033,6 +24912,20 @@ __metadata: languageName: node linkType: hard +"lodash.escape@npm:^4.0.1": + version: 4.0.1 + resolution: "lodash.escape@npm:4.0.1" + checksum: 90ade409cec05b6869090476952fdfb84d4d87b1ff4a0e03ebd590f980d9a1248d93ba14579f10d80c6429e4d6af13ba137c28db64cae6dadb71442e54a3ad2b + languageName: node + linkType: hard + +"lodash.flatten@npm:^4.4.0": + version: 4.4.0 + resolution: "lodash.flatten@npm:4.4.0" + checksum: 97e8f0d6b61fe4723c02ad0c6e67e51784c4a2c48f56ef283483e556ad01594cf9cec9c773e177bbbdbdb5d19e99b09d2487cb6b6e5dc405c2693e93b125bd3a + languageName: node + linkType: hard + "lodash.includes@npm:^4.3.0": version: 4.3.0 resolution: "lodash.includes@npm:4.3.0" @@ -25040,6 +24933,13 @@ __metadata: languageName: node linkType: hard +"lodash.invokemap@npm:^4.6.0": + version: 4.6.0 + resolution: "lodash.invokemap@npm:4.6.0" + checksum: 2bcc5f4b8782a316d55ff139215eb797f576f0f6d3db2755ebba7b35fd6061f8cbe81702a72a30bc6d70073a5dcc461f7570eaddcc9184c2e42ec3023645c6a1 + languageName: node + linkType: hard + "lodash.isarguments@npm:^3.1.0": version: 3.1.0 resolution: "lodash.isarguments@npm:3.1.0" @@ -25131,6 +25031,20 @@ __metadata: languageName: node linkType: hard +"lodash.pullall@npm:^4.2.0": + version: 4.2.0 + resolution: "lodash.pullall@npm:4.2.0" + checksum: b129e8d879258c7db04a7dc1c23dd9e37c52f63a04e105faa8d2ab55e97b5a170d5e15cffbb732a36e7f48c4345c07b6fbddfe50e1f5ec301492b6f64a92040c + languageName: node + linkType: hard + +"lodash.sortby@npm:^4.7.0": + version: 4.7.0 + resolution: "lodash.sortby@npm:4.7.0" + checksum: fc48fb54ff7669f33bb32997cab9460757ee99fafaf72400b261c3e10fde21538e47d8cfcbe6a25a31bcb5b7b727c27d52626386fc2de24eb059a6d64a89cdf5 + languageName: node + linkType: hard + "lodash.uniq@npm:^4.5.0": version: 4.5.0 resolution: "lodash.uniq@npm:4.5.0" @@ -25138,6 +25052,13 @@ __metadata: languageName: node linkType: hard +"lodash.uniqby@npm:^4.7.0": + version: 4.7.0 + resolution: "lodash.uniqby@npm:4.7.0" + checksum: c505c0de20ca759599a2ba38710e8fb95ff2d2028e24d86c901ef2c74be8056518571b9b754bfb75053b2818d30dd02243e4a4621a6940c206bbb3f7626db656 + languageName: node + linkType: hard + "lodash@npm:4.17.21, lodash@npm:^4.11.2, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:~4.17.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" @@ -25313,7 +25234,7 @@ __metadata: languageName: node linkType: hard -"lru-memoizer@npm:^2.1.4": +"lru-memoizer@npm:^2.2.0": version: 2.2.0 resolution: "lru-memoizer@npm:2.2.0" dependencies: @@ -25332,6 +25253,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.30.5": + version: 0.30.5 + resolution: "magic-string@npm:0.30.5" + dependencies: + "@jridgewell/sourcemap-codec": ^1.4.15 + checksum: 38ac220ca7539e96da7ea2f38d85796bdf5c69b6bcae728c4bc2565084e6dc326b9174ee9770bea345cf6c9b3a24041b767167874fab5beca874d2356a9d1520 + languageName: node + linkType: hard + "mailparser@npm:^3.6.5": version: 3.6.5 resolution: "mailparser@npm:3.6.5" @@ -25632,15 +25562,15 @@ __metadata: languageName: node linkType: hard -"memfs@npm:4.2.1": - version: 4.2.1 - resolution: "memfs@npm:4.2.1" +"memfs@npm:4.6.0": + version: 4.6.0 + resolution: "memfs@npm:4.6.0" dependencies: json-joy: ^9.2.0 thingies: ^1.11.1 peerDependencies: tslib: 2 - checksum: 07b8322faf533d19ab658c4254d65e560fcc7a4a89ab15fb10b9aead786d91b6a27b658ec5213e9d59701185f5d35eba45def334bd2d5d321bb068cf8f07fe37 + checksum: 370a70ff9156aaf5a75bfeca265d66b08795bf736c5ad0c1a597e489864d4f031f424b320ef3f331a99f0fa36ad90688ab28859b7c647ee3b473d4ee1fdd8d95 languageName: node linkType: hard @@ -26112,13 +26042,6 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^5.0.0 || ^6.0.2": - version: 6.0.2 - resolution: "minipass@npm:6.0.2" - checksum: 3878076578f44ef4078ceed10af2cfebbec1b6217bf9f7a3d8b940da8153769db29bf88498b2de0d1e0c12dfb7b634c5729b7ca03457f46435e801578add210a - languageName: node - linkType: hard - "minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0": version: 7.0.2 resolution: "minipass@npm:7.0.2" @@ -26836,13 +26759,6 @@ __metadata: languageName: node linkType: hard -"new-github-issue-url@npm:0.2.1": - version: 0.2.1 - resolution: "new-github-issue-url@npm:0.2.1" - checksum: 64dcfa7a181c8ac2a33f2329c7167289c4fa9b75e1f47f635f63b99d3f442cbb02f67db9fc56a17774a2a91fa94546889baf54799cb701bd5031377d6793c406 - languageName: node - linkType: hard - "next-tick@npm:^1.1.0": version: 1.1.0 resolution: "next-tick@npm:1.1.0" @@ -26903,7 +26819,7 @@ __metadata: languageName: node linkType: hard -"node-dir@npm:^0.1.10, node-dir@npm:^0.1.17": +"node-dir@npm:^0.1.17": version: 0.1.17 resolution: "node-dir@npm:0.1.17" dependencies: @@ -26943,20 +26859,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:2.6.12": - version: 2.6.12 - resolution: "node-fetch@npm:2.6.12" - dependencies: - whatwg-url: ^5.0.0 - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - checksum: 10372e4b5ee07acadc15e6b2bc6fd8940582eea7b9b2a331f4e3665fdcd968498c1656f79f2fa572080ebb37ea80e1474a6478b3b36057ef901b63f4be8fd899 - languageName: node - linkType: hard - "node-fetch@npm:2.6.7": version: 2.6.7 resolution: "node-fetch@npm:2.6.7" @@ -26971,7 +26873,18 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:2.7.0, node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.7, node-fetch@npm:^2.6.9": +"node-fetch@npm:3.3.1": + version: 3.3.1 + resolution: "node-fetch@npm:3.3.1" + dependencies: + data-uri-to-buffer: ^4.0.0 + fetch-blob: ^3.1.4 + formdata-polyfill: ^4.0.10 + checksum: 78671bffed741a2f3ccb15588a42fd7e9db2bdc9f99f9f584e0c749307f9603d961692f0877d853b28a4d1375ab2253b19978dd3bfc0c3189b42adc340bef927 + languageName: node + linkType: hard + +"node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.7, node-fetch@npm:^2.6.9": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" dependencies: @@ -26985,17 +26898,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:3.3.1": - version: 3.3.1 - resolution: "node-fetch@npm:3.3.1" - dependencies: - data-uri-to-buffer: ^4.0.0 - fetch-blob: ^3.1.4 - formdata-polyfill: ^4.0.10 - checksum: 78671bffed741a2f3ccb15588a42fd7e9db2bdc9f99f9f584e0c749307f9603d961692f0877d853b28a4d1375ab2253b19978dd3bfc0c3189b42adc340bef927 - languageName: node - linkType: hard - "node-forge@npm:^1, node-forge@npm:^1.3.1": version: 1.3.1 resolution: "node-forge@npm:1.3.1" @@ -27104,7 +27006,7 @@ __metadata: languageName: node linkType: hard -"node-machine-id@npm:^1.1.12": +"node-machine-id@npm:1.1.12, node-machine-id@npm:^1.1.12": version: 1.1.12 resolution: "node-machine-id@npm:1.1.12" checksum: ab2fea5f75a6f1ce3c76c5e0ae3903b631230e0a99b003d176568fff8ddbdf7b2943be96cd8d220c497ca0f6149411831f8a450601929f326781cb1b59bab7f8 @@ -27118,13 +27020,6 @@ __metadata: languageName: node linkType: hard -"nodemailer@npm:6.9.2": - version: 6.9.2 - resolution: "nodemailer@npm:6.9.2" - checksum: 4913fbcac3d9c6a34227757faa7e61df34abfed07593850899cf87d95423dd99170aeb4413529c1898fbf960981928bd8ebac2cb661fa8f7b8bd3245aa98dd8a - languageName: node - linkType: hard - "nodemailer@npm:6.9.3": version: 6.9.3 resolution: "nodemailer@npm:6.9.3" @@ -27132,6 +27027,13 @@ __metadata: languageName: node linkType: hard +"nodemailer@npm:6.9.4": + version: 6.9.4 + resolution: "nodemailer@npm:6.9.4" + checksum: c50778ae499da089b5cceb4bbe6366900b14a76155c5e379e80996b46a2ba7db094b624e04b839f8c992e86bdad218f26b914467b3047fa8223142a42a4252f5 + languageName: node + linkType: hard + "nodemailer@npm:6.9.7": version: 6.9.7 resolution: "nodemailer@npm:6.9.7" @@ -27139,23 +27041,23 @@ __metadata: languageName: node linkType: hard -"nodemon@npm:2.0.22": - version: 2.0.22 - resolution: "nodemon@npm:2.0.22" +"nodemon@npm:3.0.2": + version: 3.0.2 + resolution: "nodemon@npm:3.0.2" dependencies: chokidar: ^3.5.2 - debug: ^3.2.7 + debug: ^4 ignore-by-default: ^1.0.1 minimatch: ^3.1.2 pstree.remy: ^1.1.8 - semver: ^5.7.1 - simple-update-notifier: ^1.0.7 + semver: ^7.5.3 + simple-update-notifier: ^2.0.0 supports-color: ^5.5.0 touch: ^3.1.0 undefsafe: ^2.0.5 bin: nodemon: bin/nodemon.js - checksum: 37e960b995b66e6d9e3b0e435ecc07a45200c4c566c4820a4deb6e7cc234b305e076a8ff0b4dc9c01ee690c663ae82a217d60c591dcbbcd4af1e3a7d0ad2b2c6 + checksum: 65837603fa790d723f8d59e1f098342ed5a5517c3a38ea3b52ca3d532ed21924ecd43fbaceadb458472ae0a8ae6b8395bda22ccd062709ad50c5c4537a625c9d languageName: node linkType: hard @@ -27285,15 +27187,6 @@ __metadata: languageName: node linkType: hard -"npm-bundled@npm:^2.0.0": - version: 2.0.1 - resolution: "npm-bundled@npm:2.0.1" - dependencies: - npm-normalize-package-bin: ^2.0.0 - checksum: 5b2dc1de455d38200e49c6205dee185ce919ea6b608672c693bec8907116bc5686dabcc150347630d351c1c533315fd60a1910ce00bdad6bb204cef016b90b7d - languageName: node - linkType: hard - "npm-bundled@npm:^3.0.0": version: 3.0.0 resolution: "npm-bundled@npm:3.0.0" @@ -27303,12 +27196,12 @@ __metadata: languageName: node linkType: hard -"npm-install-checks@npm:^6.0.0": - version: 6.1.1 - resolution: "npm-install-checks@npm:6.1.1" +"npm-install-checks@npm:^6.0.0, npm-install-checks@npm:^6.2.0": + version: 6.3.0 + resolution: "npm-install-checks@npm:6.3.0" dependencies: semver: ^7.1.1 - checksum: f61bbd7e27738037a3e836e1b154f668f774a4eb5fd66830b9edf3ef4b0648d4477cb0c73c129a255445109a5c18f16413e1b356d56c0cac006e57ab21c66ede + checksum: b046ef1de9b40f5d3a9831ce198e1770140a1c3f253dae22eb7b06045191ef79f18f1dcc15a945c919b3c161426861a28050abd321bf439190185794783b6452 languageName: node linkType: hard @@ -27319,14 +27212,7 @@ __metadata: languageName: node linkType: hard -"npm-normalize-package-bin@npm:^2.0.0": - version: 2.0.0 - resolution: "npm-normalize-package-bin@npm:2.0.0" - checksum: 9b5283a2e423124c60fbc14244d36686b59e517d29156eacf9df8d3dc5d5bf4d9444b7669c607567ed2e089bbdbef5a2b3678cbf567284eeff3612da6939514b - languageName: node - linkType: hard - -"npm-normalize-package-bin@npm:^3.0.0, npm-normalize-package-bin@npm:^3.0.1": +"npm-normalize-package-bin@npm:^3.0.0": version: 3.0.1 resolution: "npm-normalize-package-bin@npm:3.0.1" checksum: f1831a7f12622840e1375c785c3dab7b1d82dd521211c17ee5e9610cd1a34d8b232d3fdeebf50c170eddcb321d2c644bf73dbe35545da7d588c6b3fa488db0a5 @@ -27370,20 +27256,6 @@ __metadata: languageName: node linkType: hard -"npm-packlist@npm:5.1.3": - version: 5.1.3 - resolution: "npm-packlist@npm:5.1.3" - dependencies: - glob: ^8.0.1 - ignore-walk: ^5.0.1 - npm-bundled: ^2.0.0 - npm-normalize-package-bin: ^2.0.0 - bin: - npm-packlist: bin/index.js - checksum: a8bea97661b2a7132bc8832d5560da24f823ee5324429bd16eb82b7873557de14641bc3fed8a7611b0d88b9771e59e99e01a9e551a53adb164327ded6128aada - languageName: node - linkType: hard - "npm-packlist@npm:7.0.4, npm-packlist@npm:^7.0.0": version: 7.0.4 resolution: "npm-packlist@npm:7.0.4" @@ -27509,11 +27381,11 @@ __metadata: languageName: node linkType: hard -"nx-cloud@npm:16.2.0": - version: 16.2.0 - resolution: "nx-cloud@npm:16.2.0" +"nx-cloud@npm:16.5.2": + version: 16.5.2 + resolution: "nx-cloud@npm:16.5.2" dependencies: - "@nrwl/nx-cloud": 16.2.0 + "@nrwl/nx-cloud": 16.5.2 axios: 1.1.3 chalk: ^4.1.0 dotenv: ~10.0.0 @@ -27525,108 +27397,25 @@ __metadata: yargs-parser: ">=21.1.1" bin: nx-cloud: bin/nx-cloud.js - checksum: ff642f4eb1002574d30789e5c9451d52ea5a78e37f639c7bed9bcdd236e7d46108d0a79bca978e7c0c4e24c4c2ae0b8ff747d64afc8dc115e1be990eea168c7d + checksum: 7c4ccecd567c9cc68bb24b2f8921b8791d8822a097624de91bfcbbfcdd0b1e93c8a08e769c3d1c8e0616d2096d0416b94f472555de3de6ba6af37d4ab1df6d2a languageName: node linkType: hard -"nx@npm:16.4.1": - version: 16.4.1 - resolution: "nx@npm:16.4.1" +"nx@npm:16.10.0, nx@npm:>=16.5.1 < 17": + version: 16.10.0 + resolution: "nx@npm:16.10.0" dependencies: - "@nrwl/tao": 16.4.1 - "@nx/nx-darwin-arm64": 16.4.1 - "@nx/nx-darwin-x64": 16.4.1 - "@nx/nx-freebsd-x64": 16.4.1 - "@nx/nx-linux-arm-gnueabihf": 16.4.1 - "@nx/nx-linux-arm64-gnu": 16.4.1 - "@nx/nx-linux-arm64-musl": 16.4.1 - "@nx/nx-linux-x64-gnu": 16.4.1 - "@nx/nx-linux-x64-musl": 16.4.1 - "@nx/nx-win32-arm64-msvc": 16.4.1 - "@nx/nx-win32-x64-msvc": 16.4.1 - "@parcel/watcher": 2.0.4 - "@yarnpkg/lockfile": ^1.1.0 - "@yarnpkg/parsers": 3.0.0-rc.46 - "@zkochan/js-yaml": 0.0.6 - axios: ^1.0.0 - chalk: ^4.1.0 - cli-cursor: 3.1.0 - cli-spinners: 2.6.1 - cliui: ^7.0.2 - dotenv: ~10.0.0 - enquirer: ~2.3.6 - fast-glob: 3.2.7 - figures: 3.2.0 - flat: ^5.0.2 - fs-extra: ^11.1.0 - glob: 7.1.4 - ignore: ^5.0.4 - js-yaml: 4.1.0 - jsonc-parser: 3.2.0 - lines-and-columns: ~2.0.3 - minimatch: 3.0.5 - npm-run-path: ^4.0.1 - open: ^8.4.0 - semver: 7.5.3 - string-width: ^4.2.3 - strong-log-transformer: ^2.1.0 - tar-stream: ~2.2.0 - tmp: ~0.2.1 - tsconfig-paths: ^4.1.2 - tslib: ^2.3.0 - v8-compile-cache: 2.3.0 - yargs: ^17.6.2 - yargs-parser: 21.1.1 - peerDependencies: - "@swc-node/register": ^1.4.2 - "@swc/core": ^1.2.173 - dependenciesMeta: - "@nx/nx-darwin-arm64": - optional: true - "@nx/nx-darwin-x64": - optional: true - "@nx/nx-freebsd-x64": - optional: true - "@nx/nx-linux-arm-gnueabihf": - optional: true - "@nx/nx-linux-arm64-gnu": - optional: true - "@nx/nx-linux-arm64-musl": - optional: true - "@nx/nx-linux-x64-gnu": - optional: true - "@nx/nx-linux-x64-musl": - optional: true - "@nx/nx-win32-arm64-msvc": - optional: true - "@nx/nx-win32-x64-msvc": - optional: true - peerDependenciesMeta: - "@swc-node/register": - optional: true - "@swc/core": - optional: true - bin: - nx: bin/nx.js - checksum: cfafd5e4ec5ac6f7c4751342c6f10365abb91df644568c07a0aa91e9047a0b9192b570bb96442adec42d4e7f8fe156ddd13a86be2d2927fc78fbf7cb577b3e01 - languageName: node - linkType: hard - -"nx@npm:16.5.5, nx@npm:>=16.5.1 < 17": - version: 16.5.5 - resolution: "nx@npm:16.5.5" - dependencies: - "@nrwl/tao": 16.5.5 - "@nx/nx-darwin-arm64": 16.5.5 - "@nx/nx-darwin-x64": 16.5.5 - "@nx/nx-freebsd-x64": 16.5.5 - "@nx/nx-linux-arm-gnueabihf": 16.5.5 - "@nx/nx-linux-arm64-gnu": 16.5.5 - "@nx/nx-linux-arm64-musl": 16.5.5 - "@nx/nx-linux-x64-gnu": 16.5.5 - "@nx/nx-linux-x64-musl": 16.5.5 - "@nx/nx-win32-arm64-msvc": 16.5.5 - "@nx/nx-win32-x64-msvc": 16.5.5 + "@nrwl/tao": 16.10.0 + "@nx/nx-darwin-arm64": 16.10.0 + "@nx/nx-darwin-x64": 16.10.0 + "@nx/nx-freebsd-x64": 16.10.0 + "@nx/nx-linux-arm-gnueabihf": 16.10.0 + "@nx/nx-linux-arm64-gnu": 16.10.0 + "@nx/nx-linux-arm64-musl": 16.10.0 + "@nx/nx-linux-x64-gnu": 16.10.0 + "@nx/nx-linux-x64-musl": 16.10.0 + "@nx/nx-win32-arm64-msvc": 16.10.0 + "@nx/nx-win32-x64-msvc": 16.10.0 "@parcel/watcher": 2.0.4 "@yarnpkg/lockfile": ^1.1.0 "@yarnpkg/parsers": 3.0.0-rc.46 @@ -27635,19 +27424,21 @@ __metadata: chalk: ^4.1.0 cli-cursor: 3.1.0 cli-spinners: 2.6.1 - cliui: ^7.0.2 - dotenv: ~10.0.0 + cliui: ^8.0.1 + dotenv: ~16.3.1 + dotenv-expand: ~10.0.0 enquirer: ~2.3.6 - fast-glob: 3.2.7 figures: 3.2.0 flat: ^5.0.2 fs-extra: ^11.1.0 glob: 7.1.4 ignore: ^5.0.4 + jest-diff: ^29.4.1 js-yaml: 4.1.0 jsonc-parser: 3.2.0 lines-and-columns: ~2.0.3 minimatch: 3.0.5 + node-machine-id: 1.1.12 npm-run-path: ^4.0.1 open: ^8.4.0 semver: 7.5.3 @@ -27661,8 +27452,8 @@ __metadata: yargs: ^17.6.2 yargs-parser: 21.1.1 peerDependencies: - "@swc-node/register": ^1.4.2 - "@swc/core": ^1.2.173 + "@swc-node/register": ^1.6.7 + "@swc/core": ^1.3.85 dependenciesMeta: "@nx/nx-darwin-arm64": optional: true @@ -27691,7 +27482,7 @@ __metadata: optional: true bin: nx: bin/nx.js - checksum: edf663646a68efa586a022d23965728c9ec1c4a8efa5ac01e01f6d3b79a4a5549773a9c243491934d2de51f6a1f7f08d2ea39112577b6990b3365982129b4e4b + checksum: 89f202b9192c3225a4cdedeb13ac3953366a4c0e2d9d7f223b0e0b9dab11482cfe8b6661f7eac8e84bad5cf08294f5858e76e0d18d8d48d5dfa4f789d495d217 languageName: node linkType: hard @@ -27727,14 +27518,14 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.12.3, object-inspect@npm:^1.9.0": - version: 1.12.3 - resolution: "object-inspect@npm:1.12.3" - checksum: 752bb5f4dc595e214157ea8f442adb77bdb850ace762b078d151d8b6486331ab12364997a89ee6509be1023b15adf2b3774437a7105f8a5043dfda11ed622411 +"object-inspect@npm:^1.13.1, object-inspect@npm:^1.9.0": + version: 1.13.1 + resolution: "object-inspect@npm:1.13.1" + checksum: fad603f408e345c82e946abdf4bfd774260a5ed3e5997a0b057c44153ac32c7271ff19e3a5ae39c858da683ba045ccac2f65245c12763ce4e8594f818f4a648d languageName: node linkType: hard -"object-is@npm:^1.0.1, object-is@npm:^1.1.5": +"object-is@npm:^1.1.5": version: 1.1.5 resolution: "object-is@npm:1.1.5" dependencies: @@ -27772,25 +27563,25 @@ __metadata: languageName: node linkType: hard -"object.entries@npm:^1.1.6": - version: 1.1.6 - resolution: "object.entries@npm:1.1.6" +"object.entries@npm:^1.1.6, object.entries@npm:^1.1.7": + version: 1.1.7 + resolution: "object.entries@npm:1.1.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 8782c71db3a068ccbae9e0541e6b4ac2c25dc67c63f97b7e6ad3c88271d7820197e7398e37747f96542ed47c27f0b81148cdf14c42df15dc22f64818ae7bb5bf + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 3ad1899cc7bf14546bf28f4a9b363ae8690b90948fcfbcac4c808395435d760f26193d9cae95337ce0e3c1e5c1f4fa45f7b46b31b68d389e9e117fce38775d86 languageName: node linkType: hard -"object.fromentries@npm:^2.0.6": - version: 2.0.6 - resolution: "object.fromentries@npm:2.0.6" +"object.fromentries@npm:^2.0.6, object.fromentries@npm:^2.0.7": + version: 2.0.7 + resolution: "object.fromentries@npm:2.0.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: db6759ea68131cbdb70b1152f9984b49db03e81de4f6de079b39929bebd8b45501e5333ca2351991e07ee56f4651606c023396644e8f25c0806fa39a26c4c6e6 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 071745c21f6fc9e6c914691f2532c1fb60ad967e5ddc52801d09958b5de926566299d07ae14466452a7efd29015f9145d6c09c573d93a0dc6f1683ee0ec2b93b languageName: node linkType: hard @@ -27807,6 +27598,18 @@ __metadata: languageName: node linkType: hard +"object.groupby@npm:^1.0.1": + version: 1.0.1 + resolution: "object.groupby@npm:1.0.1" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + get-intrinsic: ^1.2.1 + checksum: 61e41fbf08cc04ed860363db9629eedeaa590fce243c0960e948fd7b11f78a9d4350065c339936d118a2dd8775d7259e26207340cc8ce688bec66cb615fec6fe + languageName: node + linkType: hard + "object.hasown@npm:^1.1.2": version: 1.1.2 resolution: "object.hasown@npm:1.1.2" @@ -27826,14 +27629,14 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6": - version: 1.1.6 - resolution: "object.values@npm:1.1.6" +"object.values@npm:^1.1.6, object.values@npm:^1.1.7": + version: 1.1.7 + resolution: "object.values@npm:1.1.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 3381204390f10c9f653a4875a50d221c67b5c16cb80a6ac06c706fc82a7cad8400857d4c7a0731193b0abb56b84fe803eabcf7addcf32de76397bbf207e68c66 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: e869d6a37fb7afdd0054dea49036d6ccebb84854a8848a093bbd1bc516f53e690bba88f0bc3e83fdfa74c601469ee6989c9b13359cda9604144c6e732fad3b6b languageName: node linkType: hard @@ -27909,16 +27712,6 @@ __metadata: languageName: node linkType: hard -"open@npm:7.4.2": - version: 7.4.2 - resolution: "open@npm:7.4.2" - dependencies: - is-docker: ^2.0.0 - is-wsl: ^2.1.1 - checksum: 77573a6a68f7364f3a19a4c80492712720746b63680ee304555112605ead196afe91052bd3c3d165efdf4e9d04d255e87de0d0a77acec11ef47fd5261251813f - languageName: node - linkType: hard - "open@npm:^8.0.4, open@npm:^8.0.9, open@npm:^8.4.0, open@npm:~8.4.0": version: 8.4.2 resolution: "open@npm:8.4.2" @@ -27939,14 +27732,15 @@ __metadata: languageName: node linkType: hard -"optimism@npm:^0.17.5": - version: 0.17.5 - resolution: "optimism@npm:0.17.5" +"optimism@npm:^0.18.0": + version: 0.18.0 + resolution: "optimism@npm:0.18.0" dependencies: + "@wry/caches": ^1.0.0 "@wry/context": ^0.7.0 "@wry/trie": ^0.4.3 tslib: ^2.3.0 - checksum: 0c3a526e2dc1451735e66d2a6bef46a6395e8c7e7f6f323d998361ad281f01d91337a58ad4ad5fa5db18a87d6c9e64ff79a564aff9fb5d3ce614cb3d921c027d + checksum: 8e97c6d660cb80cf5f444209b9dd29ee6951fa7b344d4c4fc6d4aaf0ad0710dddaf834d0f5d7211b3658b15ef6c6a22cbcb98c7a8121e3fee9666fe0fd62d876 languageName: node linkType: hard @@ -28063,15 +27857,6 @@ __metadata: languageName: node linkType: hard -"p-filter@npm:2.1.0": - version: 2.1.0 - resolution: "p-filter@npm:2.1.0" - dependencies: - p-map: ^2.0.0 - checksum: 5ac34b74b3b691c04212d5dd2319ed484f591c557a850a3ffc93a08cb38c4f5540be059c6b10a185773c479ca583a91ea00c7d6c9958c815e6b74d052f356645 - languageName: node - linkType: hard - "p-finally@npm:^1.0.0": version: 1.0.0 resolution: "p-finally@npm:1.0.0" @@ -28176,13 +27961,6 @@ __metadata: languageName: node linkType: hard -"p-map@npm:^2.0.0": - version: 2.1.0 - resolution: "p-map@npm:2.1.0" - checksum: 735dae87badd4737a2dd582b6d8f93e49a1b79eabbc9815a4d63a528d5e3523e978e127a21d784cccb637010e32103a40d2aaa3ab23ae60250b1a820ca752043 - languageName: node - linkType: hard - "p-pipe@npm:3.1.0": version: 3.1.0 resolution: "p-pipe@npm:3.1.0" @@ -28207,7 +27985,7 @@ __metadata: languageName: node linkType: hard -"p-retry@npm:4.6.2, p-retry@npm:^4.5.0": +"p-retry@npm:^4.5.0": version: 4.6.2 resolution: "p-retry@npm:4.6.2" dependencies: @@ -28342,7 +28120,7 @@ __metadata: languageName: node linkType: hard -"parse-asn1@npm:^5.0.0, parse-asn1@npm:^5.1.5": +"parse-asn1@npm:^5.0.0, parse-asn1@npm:^5.1.6": version: 5.1.6 resolution: "parse-asn1@npm:5.1.6" dependencies: @@ -28597,7 +28375,7 @@ __metadata: languageName: node linkType: hard -"path-scurry@npm:^1.10.0, path-scurry@npm:^1.10.1, path-scurry@npm:^1.6.1, path-scurry@npm:^1.7.0": +"path-scurry@npm:^1.10.1, path-scurry@npm:^1.6.1": version: 1.10.1 resolution: "path-scurry@npm:1.10.1" dependencies: @@ -28780,9 +28558,9 @@ __metadata: languageName: node linkType: hard -"pino@npm:8.16.1, pino@npm:^8.12.0": - version: 8.16.1 - resolution: "pino@npm:8.16.1" +"pino@npm:8.16.2, pino@npm:^8.16.0": + version: 8.16.2 + resolution: "pino@npm:8.16.2" dependencies: atomic-sleep: ^1.0.0 fast-redact: ^3.1.1 @@ -28797,7 +28575,7 @@ __metadata: thread-stream: ^2.0.0 bin: pino: bin.js - checksum: 06ea391095e895f1f94adda231fb51565e2935a9cad87e6559b7e074a6dadc8bd279367dbe119b1649774480a53c97214f32daa4c14b21a853d50c60a4c28976 + checksum: ea1b2f426985a442b65566a75e3f20eed47c1f51f3aea9a10fc16a452feb339cde4d5439d724c822408fce6a8bfcf6d24f61421547f4cc718f44a6eb47921293 languageName: node linkType: hard @@ -28853,12 +28631,27 @@ __metadata: languageName: node linkType: hard -"playwright-core@npm:1.37.1": - version: 1.37.1 - resolution: "playwright-core@npm:1.37.1" +"playwright-core@npm:1.40.1": + version: 1.40.1 + resolution: "playwright-core@npm:1.40.1" bin: playwright-core: cli.js - checksum: 3eddeb05569a2aa54375bcc4955fe2e497865481cd523cdaa095d7695b1ea48f3f34438cc652e4a9096e1d7b2c47e29776713a4730c171f6186805866a0aa53b + checksum: 56c283012974982313a6ae583b975ee4af76d52059fb9a25d9cc616a11224685ec64682b391910c795d2b12d2ab5c7eec31124722c75c0b1703a76ac9b6fd1c2 + languageName: node + linkType: hard + +"playwright@npm:1.40.1": + version: 1.40.1 + resolution: "playwright@npm:1.40.1" + dependencies: + fsevents: 2.3.2 + playwright-core: 1.40.1 + dependenciesMeta: + fsevents: + optional: true + bin: + playwright: cli.js + checksum: 5dae164d1f69162da8d7eee52da651296fb885c76a8b36049f216975c751a0a826ff05795a1c0902dc0bd193fe606ae17d5def655f4cbcccb8d8b71afb74b950 languageName: node linkType: hard @@ -29444,14 +29237,14 @@ __metadata: languageName: node linkType: hard -"prisma@npm:5.6.0": - version: 5.6.0 - resolution: "prisma@npm:5.6.0" +"prisma@npm:5.7.0": + version: 5.7.0 + resolution: "prisma@npm:5.7.0" dependencies: - "@prisma/engines": 5.6.0 + "@prisma/engines": 5.7.0 bin: prisma: build/index.js - checksum: 8d8069295cf7402f6eb103fa1d5c511c1006fc78057fa180e9b0688076703b33301ce6b04a30575d8b01f0bbe9a26b3c196d0bc4f9253eca9ee780e0800ce602 + checksum: dec098d6a0661e435522fd8ae1990b8ad36a6077a1ff91fe591d2f52a442fbd44240c6cea2cef3ae0cfd033bf560ea577da375c575c103e7323890b50fd88387 languageName: node linkType: hard @@ -29483,7 +29276,7 @@ __metadata: languageName: node linkType: hard -"progress@npm:2.0.3, progress@npm:^2.0.1": +"progress@npm:^2.0.1": version: 2.0.3 resolution: "progress@npm:2.0.3" checksum: 1697e07cb1068055dbe9fe858d242368ff5d2073639e652b75a7eb1f2a1a8d4afd404d719de23c7b48481a6aa0040686310e2dac2f53d776daa2176d3f96369c @@ -29706,7 +29499,7 @@ __metadata: languageName: node linkType: hard -"psl@npm:^1.1.28, psl@npm:^1.1.33": +"psl@npm:^1.1.33": version: 1.9.0 resolution: "psl@npm:1.9.0" checksum: 6a3f805fdab9442f44de4ba23880c4eba26b20c8e8e0830eff1cb31007f6825dace61d17203c58bfe36946842140c97a1ba7f67bc63ca2d88a7ee052b65d97ab @@ -30021,23 +29814,21 @@ __metadata: languageName: node linkType: hard -"react-docgen@npm:^5.0.0": - version: 5.4.3 - resolution: "react-docgen@npm:5.4.3" - dependencies: - "@babel/core": ^7.7.5 - "@babel/generator": ^7.12.11 - "@babel/runtime": ^7.7.6 - ast-types: ^0.14.2 - commander: ^2.19.0 +"react-docgen@npm:^7.0.0": + version: 7.0.1 + resolution: "react-docgen@npm:7.0.1" + dependencies: + "@babel/core": ^7.18.9 + "@babel/traverse": ^7.18.9 + "@babel/types": ^7.18.9 + "@types/babel__core": ^7.18.0 + "@types/babel__traverse": ^7.18.0 + "@types/doctrine": ^0.0.9 + "@types/resolve": ^1.20.2 doctrine: ^3.0.0 - estree-to-babel: ^3.1.0 - neo-async: ^2.6.1 - node-dir: ^0.1.10 - strip-indent: ^3.0.0 - bin: - react-docgen: bin/react-docgen.js - checksum: c920e9611e08317f8fdae707114cf02baaa18e2f1bd23ed18f57e66b9e1042e51dc98cc9de828b03d018ccc4e26300c9a6c4f74e862fc94dc64029267c801a01 + resolve: ^1.22.1 + strip-indent: ^4.0.0 + checksum: 870c1193211f14497bf7a96137f96840dc058842ca75ff7251d91e88c3c71d7a41d5f1a124cc1b53bfbf1f2b6b58bfccc4dd6e22592814a5155d3894953274be languageName: node linkType: hard @@ -30183,15 +29974,6 @@ __metadata: languageName: node linkType: hard -"react-inspector@npm:^6.0.0": - version: 6.0.2 - resolution: "react-inspector@npm:6.0.2" - peerDependencies: - react: ^16.8.4 || ^17.0.0 || ^18.0.0 - checksum: 8f9b23c21b4d95722e28c9455c2bf00fd9437347714382594461f98e5b9954d60864d0f4e74e881639b065e752a97ba52a65e39930c234072e5bff291bb02b5e - languageName: node - linkType: hard - "react-is@npm:18.1.0": version: 18.1.0 resolution: "react-is@npm:18.1.0" @@ -30234,13 +30016,6 @@ __metadata: languageName: node linkType: hard -"react-refresh@npm:^0.11.0": - version: 0.11.0 - resolution: "react-refresh@npm:0.11.0" - checksum: cbb5616c7ba670bbd2f37ddadcdfefa66e727ea188e89733ccb8184d3b874631104b0bc016d5676a7ade4d9c79100b99b46b6ed10cd117ab5d1ddcbf8653a9f2 - languageName: node - linkType: hard - "react-remove-scroll-bar@npm:^2.3.3, react-remove-scroll-bar@npm:^2.3.4": version: 2.3.4 resolution: "react-remove-scroll-bar@npm:2.3.4" @@ -30307,18 +30082,6 @@ __metadata: languageName: node linkType: hard -"react-resize-detector@npm:^7.1.2": - version: 7.1.2 - resolution: "react-resize-detector@npm:7.1.2" - dependencies: - lodash: ^4.17.21 - peerDependencies: - react: ^16.0.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 - checksum: 2285b0024bcc736c7d5e80279e819835a5e8bef0899778100d2434b1c4b10971e6ae253df073ca96a20cacc47b3c249bc675479e5fc4ec1f6652fcca7f48ec22 - languageName: node - linkType: hard - "react-resize-detector@npm:^8.0.4": version: 8.1.0 resolution: "react-resize-detector@npm:8.1.0" @@ -30522,17 +30285,6 @@ __metadata: languageName: node linkType: hard -"read-pkg-up@npm:7.0.1, read-pkg-up@npm:^7.0.1": - version: 7.0.1 - resolution: "read-pkg-up@npm:7.0.1" - dependencies: - find-up: ^4.1.0 - read-pkg: ^5.2.0 - type-fest: ^0.8.1 - checksum: 82b3ac9fd7c6ca1bdc1d7253eb1091a98ff3d195ee0a45386582ce3e69f90266163c34121e6a0a02f1630073a6c0585f7880b3865efcae9c452fa667f02ca385 - languageName: node - linkType: hard - "read-pkg-up@npm:^3.0.0": version: 3.0.0 resolution: "read-pkg-up@npm:3.0.0" @@ -30543,6 +30295,17 @@ __metadata: languageName: node linkType: hard +"read-pkg-up@npm:^7.0.1": + version: 7.0.1 + resolution: "read-pkg-up@npm:7.0.1" + dependencies: + find-up: ^4.1.0 + read-pkg: ^5.2.0 + type-fest: ^0.8.1 + checksum: 82b3ac9fd7c6ca1bdc1d7253eb1091a98ff3d195ee0a45386582ce3e69f90266163c34121e6a0a02f1630073a6c0585f7880b3865efcae9c452fa667f02ca385 + languageName: node + linkType: hard + "read-pkg-up@npm:^8.0.0": version: 8.0.0 resolution: "read-pkg-up@npm:8.0.0" @@ -30613,7 +30376,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^3.0.0, readable-stream@npm:^3.0.2, readable-stream@npm:^3.0.6, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0": +"readable-stream@npm:^3.0.0, readable-stream@npm:^3.0.2, readable-stream@npm:^3.0.6, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0, readable-stream@npm:^3.6.2": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -30694,28 +30457,16 @@ __metadata: languageName: node linkType: hard -"recast@npm:^0.21.0": - version: 0.21.5 - resolution: "recast@npm:0.21.5" - dependencies: - ast-types: 0.15.2 - esprima: ~4.0.0 - source-map: ~0.6.1 - tslib: ^2.0.1 - checksum: a45168c82195f24fa2c70293a624fece0069a2e8e8adb637f9963777735f81cb3bb62e55172db677ec3573b08b2daaf1eddd85b74da6fe0bd37c9b15eeaf94b4 - languageName: node - linkType: hard - -"recast@npm:^0.23.1": - version: 0.23.2 - resolution: "recast@npm:0.23.2" +"recast@npm:^0.23.1, recast@npm:^0.23.3": + version: 0.23.4 + resolution: "recast@npm:0.23.4" dependencies: assert: ^2.0.0 ast-types: ^0.16.1 esprima: ~4.0.0 source-map: ~0.6.1 tslib: ^2.0.1 - checksum: 48addbe43930bb265b292929571d1e845a56c70913c1c75c234f11c54d20b82c7ee647bcde657fc845f545769faacd1e44e66c5d46567e9fb8bff90e86c19948 + checksum: d719633be8029e28f23b8191d4a525c5dbdac721792ab3cb5e9dfcf1694fb93f3c147b186916195a9c7fa0711f1e4990ba457cdcee02faed3899d4a80da1bd1f languageName: node linkType: hard @@ -30818,6 +30569,20 @@ __metadata: languageName: node linkType: hard +"reflect.getprototypeof@npm:^1.0.4": + version: 1.0.4 + resolution: "reflect.getprototypeof@npm:1.0.4" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + get-intrinsic: ^1.2.1 + globalthis: ^1.0.3 + which-builtin-type: ^1.1.3 + checksum: 02104cdd22658b637efe6b1df73658edab539268347327c8250a72d0cb273dcdf280c284e2d94155d22601d022d16be1a816a8616d679e447cbcbde9860d15cb + languageName: node + linkType: hard + "regenerate-unicode-properties@npm:^10.1.0": version: 10.1.0 resolution: "regenerate-unicode-properties@npm:10.1.0" @@ -30883,14 +30648,14 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.4.3, regexp.prototype.flags@npm:^1.5.0": - version: 1.5.0 - resolution: "regexp.prototype.flags@npm:1.5.0" +"regexp.prototype.flags@npm:^1.4.3, regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.1": + version: 1.5.1 + resolution: "regexp.prototype.flags@npm:1.5.1" dependencies: call-bind: ^1.0.2 define-properties: ^1.2.0 - functions-have-names: ^1.2.3 - checksum: 312b7966c5cd2e6837da4073e0e6450191e3c6e8f07276cbed35e170ea5606f91487b435eb3290593f8aed39b1191c44f5340e6e5392650feaf2b34a98378464 + set-function-name: ^2.0.0 + checksum: 1de7d214c0a726c7c874a7023e47b0e27b9f7fdb64175bfe1861189de1704aaeca05c3d26c35aa375432289b99946f3cf86651a92a8f7601b90d8c226a23bcd8 languageName: node linkType: hard @@ -31027,13 +30792,6 @@ __metadata: languageName: node linkType: hard -"replace-string@npm:3.1.0": - version: 3.1.0 - resolution: "replace-string@npm:3.1.0" - checksum: 8f8945f1af081bc1f973be8068c427ce300e1cb75b6a7bedb098daddeecd84b83f151f1f799543541f9c0cfdc34e80b4d72d83afd4b7c64bf854571363c47271 - languageName: node - linkType: hard - "request-progress@npm:^3.0.0": version: 3.0.0 resolution: "request-progress@npm:3.0.0" @@ -31094,14 +30852,13 @@ __metadata: languageName: node linkType: hard -"resend@npm:1.0.0": - version: 1.0.0 - resolution: "resend@npm:1.0.0" +"resend@npm:1.1.0": + version: 1.1.0 + resolution: "resend@npm:1.1.0" dependencies: "@react-email/render": 0.0.7 - node-fetch: 2.6.12 type-fest: 3.13.0 - checksum: 245abec89ea32c0989d042942c77f11cccd3996439c0d5337a6f8e25796a94d926c5b1a081ef5a399c60132932865cb847f3f7377af6f9da2efbd18523f6d622 + checksum: fb06554c1bd115a101e0b9bcca6d09b4594589c9d8783ca5b83d6f24a7db88e1339a5a913df0b1d8c84e486e8977929e19e39a85a7a172d9ff19ed2294bc8351 languageName: node linkType: hard @@ -31169,7 +30926,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:1.22.8, resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.11.1, resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.22.2": +"resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.11.1, resolve@npm:^1.14.2, resolve@npm:^1.20.0, resolve@npm:^1.22.1, resolve@npm:^1.22.2, resolve@npm:^1.22.4": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -31195,7 +30952,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@1.22.8#~builtin, resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.11.1#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.22.2#~builtin": +"resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.11.1#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin, resolve@patch:resolve@^1.22.2#~builtin, resolve@patch:resolve@^1.22.4#~builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -31318,17 +31075,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:3.0.2, rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": - version: 3.0.2 - resolution: "rimraf@npm:3.0.2" - dependencies: - glob: ^7.1.3 - bin: - rimraf: bin.js - checksum: 9cb7757acb489bd83757ba1a274ab545eafd75598a9d817e0c3f8b164238dd90eba50d6b848bd4dcc5f3040912e882dc7ba71653e35af660d77b25c381d402e8 - languageName: node - linkType: hard - "rimraf@npm:5.0.5": version: 5.0.5 resolution: "rimraf@npm:5.0.5" @@ -31351,6 +31097,17 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": + version: 3.0.2 + resolution: "rimraf@npm:3.0.2" + dependencies: + glob: ^7.1.3 + bin: + rimraf: bin.js + checksum: 9cb7757acb489bd83757ba1a274ab545eafd75598a9d817e0c3f8b164238dd90eba50d6b848bd4dcc5f3040912e882dc7ba71653e35af660d77b25c381d402e8 + languageName: node + linkType: hard + "rimraf@npm:^4.4.1": version: 4.4.1 resolution: "rimraf@npm:4.4.1" @@ -31383,9 +31140,9 @@ __metadata: languageName: node linkType: hard -"rollup@npm:3.27.2, rollup@npm:^3.27.1": - version: 3.27.2 - resolution: "rollup@npm:3.27.2" +"rollup@npm:3.29.4, rollup@npm:^3.27.1": + version: 3.29.4 + resolution: "rollup@npm:3.29.4" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -31393,7 +31150,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: feb1e76f50fb502e106954a621b2d0b3e2e92e2552f938a0cbef5f7931c9f4283d05076d47311a4582863205f377e3e2d7314a1626e3c7d9c7330527ddeb7562 + checksum: 65eddf84bf389ea8e4d4c1614b1c6a298d08f8ae785c0c087e723a879190c8aaddbab4aa3b8a0524551b9036750c9f8bfea27b377798accfd2ba5084ceff5aaa languageName: node linkType: hard @@ -31405,45 +31162,47 @@ __metadata: "@actions/core": 1.10.1 "@actions/exec": 1.1.1 "@actions/glob": 0.4.0 - "@babel/cli": 7.23.0 + "@babel/cli": 7.23.4 "@babel/core": ^7.22.20 - "@babel/generator": 7.23.0 + "@babel/generator": 7.23.5 "@babel/node": 7.22.19 - "@babel/plugin-proposal-decorators": 7.23.2 + "@babel/plugin-proposal-decorators": 7.23.5 "@babel/plugin-transform-class-properties": ^7.22.5 - "@babel/plugin-transform-nullish-coalescing-operator": 7.22.11 + "@babel/plugin-transform-nullish-coalescing-operator": 7.23.4 "@babel/plugin-transform-private-methods": ^7.22.5 "@babel/plugin-transform-private-property-in-object": ^7.22.11 "@babel/plugin-transform-react-jsx": ^7.22.15 - "@babel/plugin-transform-runtime": 7.23.2 + "@babel/plugin-transform-runtime": 7.23.4 "@babel/preset-env": ^7.22.20 "@babel/preset-react": ^7.22.15 "@babel/preset-typescript": ^7.22.15 - "@babel/runtime-corejs3": 7.23.2 + "@babel/runtime-corejs3": 7.23.5 "@faker-js/faker": 8.0.2 - "@npmcli/arborist": 6.2.10 - "@playwright/test": 1.37.1 - "@testing-library/jest-dom": 5.16.5 - "@testing-library/react": 14.0.0 + "@npmcli/arborist": 6.5.0 + "@playwright/test": 1.40.1 + "@testing-library/jest-dom": 5.17.0 + "@testing-library/react": 14.1.2 "@testing-library/user-event": 14.5.1 - "@types/babel__generator": 7.6.5 - "@types/fs-extra": 11.0.1 - "@types/jest": 29.5.4 + "@types/babel__generator": 7.6.7 + "@types/fs-extra": 11.0.4 + "@types/jest": 29.5.8 "@types/jscodeshift": 0.11.6 - "@types/ncp": 2.0.5 - "@types/prompts": 2.4.4 + "@types/ncp": 2.0.8 + "@types/prompts": 2.4.8 all-contributors-cli: 6.26.1 babel-jest: ^29.7.0 babel-plugin-auto-import: 1.1.0 babel-plugin-remove-code: 0.0.6 boxen: 5.1.2 - core-js: 3.33.2 - cypress: 12.15.0 + core-js: 3.33.3 + cypress: 12.17.4 cypress-wait-until: 1.7.2 - dependency-cruiser: 13.0.4 - eslint: 8.46.0 + dependency-cruiser: 13.1.5 + dotenv: 16.3.1 + eslint: 8.55.0 + execa: 5.1.1 fast-glob: 3.3.2 - fs-extra: 11.1.1 + fs-extra: 11.2.0 jest: 29.7.0 jscodeshift: 0.15.0 lerna: 7.4.2 @@ -31451,19 +31210,19 @@ __metadata: make-dir-cli: 3.0.0 msw: 1.3.2 ncp: 2.0.0 - nodemon: 2.0.22 + nodemon: 3.0.2 npm-packlist: 7.0.4 - nx: 16.4.1 - nx-cloud: 16.2.0 + nx: 16.10.0 + nx-cloud: 16.5.2 octokit: 2.1.0 ora: 7.0.1 prompts: 2.4.2 rimraf: 5.0.5 tstyche: 1.0.0-beta.3 tsx: 3.12.7 - typescript: 5.2.2 + typescript: 5.3.2 yargs: 17.7.2 - zx: 7.2.2 + zx: 7.2.3 languageName: unknown linkType: soft @@ -31510,15 +31269,15 @@ __metadata: languageName: node linkType: hard -"safe-array-concat@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-array-concat@npm:1.0.0" +"safe-array-concat@npm:^1.0.0, safe-array-concat@npm:^1.0.1": + version: 1.0.1 + resolution: "safe-array-concat@npm:1.0.1" dependencies: call-bind: ^1.0.2 - get-intrinsic: ^1.2.0 + get-intrinsic: ^1.2.1 has-symbols: ^1.0.3 isarray: ^2.0.5 - checksum: 792d41fde9834583980912cb16bee511ce25e1759d3c467fdbbb3fc3245346a2289a6476d821713aa1ae23cc1d613d17e79c80e55adb29577f6a29e6f45e7f46 + checksum: 4b15ce5fce5ce4d7e744a63592cded88d2f27806ed229eadb2e42629cbcd40e770f7478608e75f455e7fe341acd8c0a01bdcd7146b10645ea7411c5e3c1d1dd8 languageName: node linkType: hard @@ -31529,7 +31288,7 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:~5.2.0": +"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: 6501914237c0a86e9675d4e51d89ca3c21ffd6a31642efeba25ad65720bce6921c9e7e974e5be91a786b25aa058b5303285d3c15dbabf983a919f5f630d349f3 @@ -31681,7 +31440,7 @@ __metadata: languageName: node linkType: hard -"secure-json-parse@npm:^2.4.0, secure-json-parse@npm:^2.5.0": +"secure-json-parse@npm:^2.4.0, secure-json-parse@npm:^2.7.0": version: 2.7.0 resolution: "secure-json-parse@npm:2.7.0" checksum: f57eb6a44a38a3eeaf3548228585d769d788f59007454214fab9ed7f01fbf2e0f1929111da6db28cf0bcc1a2e89db5219a59e83eeaec3a54e413a0197ce879e4 @@ -31738,16 +31497,16 @@ __metadata: languageName: node linkType: hard -"semver-try-require@npm:6.2.2": - version: 6.2.2 - resolution: "semver-try-require@npm:6.2.2" +"semver-try-require@npm:6.2.3": + version: 6.2.3 + resolution: "semver-try-require@npm:6.2.3" dependencies: - semver: ^7.3.8 - checksum: f4e4ce32b4cdd91bbf7567b3f3e5b73495ae329f3d248790f143a2d3958b97eb4cba2bd93945b8e0557e010900817c57c64a564176c1e5a7bcb77e9daba0804e + semver: ^7.5.3 + checksum: a2ceb988a6a10e912b9677e3f6c21af5af0eefbd3e0512116a6d37a0f27d806b9610fabd51ced0e283d02154f18298b683575c166beedfd7db21579b9c4a32ad languageName: node linkType: hard -"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.6.0, semver@npm:^5.7.0, semver@npm:^5.7.1": +"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.6.0, semver@npm:^5.7.0": version: 5.7.1 resolution: "semver@npm:5.7.1" bin: @@ -31767,7 +31526,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.0, semver@npm:^7.5.1, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -31787,15 +31546,6 @@ __metadata: languageName: node linkType: hard -"semver@npm:~7.0.0": - version: 7.0.0 - resolution: "semver@npm:7.0.0" - bin: - semver: bin/semver.js - checksum: 7fd341680a967a0abfd66f3a7d36ba44e52ff5d3e799e9a6cdb01a68160b64ef09be82b4af05459effeecdd836f002c2462555d2821cd890dfdfe36a0d9f56a5 - languageName: node - linkType: hard - "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" @@ -31894,6 +31644,29 @@ __metadata: languageName: node linkType: hard +"set-function-length@npm:^1.1.1": + version: 1.1.1 + resolution: "set-function-length@npm:1.1.1" + dependencies: + define-data-property: ^1.1.1 + get-intrinsic: ^1.2.1 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.0 + checksum: a29e255c116c29e3323b851c4f46c58c91be9bb8b065f191e2ea1807cb2c839df56e3175732a498e0c6d54626ba6b6fef896bf699feb7ab70c42dc47eb247c95 + languageName: node + linkType: hard + +"set-function-name@npm:^2.0.0, set-function-name@npm:^2.0.1": + version: 2.0.1 + resolution: "set-function-name@npm:2.0.1" + dependencies: + define-data-property: ^1.0.1 + functions-have-names: ^1.2.3 + has-property-descriptors: ^1.0.0 + checksum: 6be7d3e15be47f4db8a5a563a35c60b5e7c4af91cc900e8972ffad33d3aaa227900faa55f60121cdb04b85866a734bb7fe4cd91f654c632861cc86121a48312a + languageName: node + linkType: hard + "set-value@npm:^2.0.0, set-value@npm:^2.0.1": version: 2.0.1 resolution: "set-value@npm:2.0.1" @@ -32056,15 +31829,6 @@ __metadata: languageName: node linkType: hard -"simple-update-notifier@npm:^1.0.7": - version: 1.1.0 - resolution: "simple-update-notifier@npm:1.1.0" - dependencies: - semver: ~7.0.0 - checksum: 3cbbbc71a5d9a2924f0e3f42fbf3cbe1854bfe142203456b00d5233bdbbdeb5091b8067cd34fb00f81dbfbc29fc30dbb6e026b3d58ea0551e3f26c0e64082092 - languageName: node - linkType: hard - "simple-update-notifier@npm:^2.0.0": version: 2.0.0 resolution: "simple-update-notifier@npm:2.0.0" @@ -32074,14 +31838,14 @@ __metadata: languageName: node linkType: hard -"sirv@npm:^1.0.7": - version: 1.0.19 - resolution: "sirv@npm:1.0.19" +"sirv@npm:^2.0.3": + version: 2.0.3 + resolution: "sirv@npm:2.0.3" dependencies: "@polka/url": ^1.0.0-next.20 mrmime: ^1.0.0 - totalist: ^1.0.0 - checksum: 393cc0471e82d3e754a8c1b2b348a86249db1f686aeb11c17e4217326a8b1a96029d9f1b58362ebb3e511b7b98c47cd43c4305dde98322bb1259d07dec2d4908 + totalist: ^3.0.0 + checksum: 333bd665ee5ac3805047ea47757e04e2b18ca562749b9a07f5bbbee6dabd99ff00011604689b1ada3d22e46a4198c61e05e2d1abd5454d94da483ce3a3813205 languageName: node linkType: hard @@ -32166,14 +31930,14 @@ __metadata: languageName: node linkType: hard -"smtp-server@npm:3.12.0": - version: 3.12.0 - resolution: "smtp-server@npm:3.12.0" +"smtp-server@npm:3.13.0": + version: 3.13.0 + resolution: "smtp-server@npm:3.13.0" dependencies: base32.js: 0.1.0 ipv6-normalize: 1.0.1 - nodemailer: 6.9.2 - checksum: 262fa34a1e518b0dca41875ba2a9a325603fdaa561ad9f1b19cd3b782471c61af4ca549e877689f936b82fccfa87b1f08ad0182c376e7e35f5a227ca0cc0a795 + nodemailer: 6.9.4 + checksum: d6ad58ff6a01e46d864646a96d27173e93cb80aeca0180185a2b4ec5d144efa20813c3808702a3ea544d969f5506edcac1a0a230fee31ee2d341f5d3955ad1f0 languageName: node linkType: hard @@ -32710,15 +32474,15 @@ __metadata: languageName: node linkType: hard -"storybook@npm:7.5.3": - version: 7.5.3 - resolution: "storybook@npm:7.5.3" +"storybook@npm:7.6.3": + version: 7.6.3 + resolution: "storybook@npm:7.6.3" dependencies: - "@storybook/cli": 7.5.3 + "@storybook/cli": 7.6.3 bin: sb: ./index.js storybook: ./index.js - checksum: 9a2ad5dd703f86bf488efdd425eedb850cbbeca05d2d15f97bca5700d02234cd281f81c07b5d9566986e8d96901c9dc8536f449ba7c1c9e40707b670b9aa6820 + checksum: 41bbd88af8db3efc168bab640867df6a2e55b2e75b934372a21ca5d3d3147845b93767d5c09e2192b9dd0784a8c7181b2b9691844ea4a5436f1ec8edfb3cdc10 languageName: node linkType: hard @@ -32788,12 +32552,12 @@ __metadata: linkType: hard "streamx@npm:^2.15.0": - version: 2.15.4 - resolution: "streamx@npm:2.15.4" + version: 2.15.5 + resolution: "streamx@npm:2.15.5" dependencies: fast-fifo: ^1.1.0 queue-tick: ^1.0.1 - checksum: 878aeea3a82dc2cdfe74055279cea49ac94daebc5abd46468f29ce001bbcd4c9a0cf5bae771971f6abc73e1e3d3156b609cf1702bd63f97eaa7216386a975ef7 + checksum: 7998d1fa3324131ed94efc4a4e8b22e0f60267b21d8f8fac8c605eaa1a6d6358adbc38c35b407be0eb8cc09a223c641962afb0db29ecbe92118242118946d93c languageName: node linkType: hard @@ -32840,7 +32604,7 @@ __metadata: languageName: node linkType: hard -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:4.2.3, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -32889,36 +32653,36 @@ __metadata: languageName: node linkType: hard -"string.prototype.trim@npm:^1.2.7": - version: 1.2.7 - resolution: "string.prototype.trim@npm:1.2.7" +"string.prototype.trim@npm:^1.2.8": + version: 1.2.8 + resolution: "string.prototype.trim@npm:1.2.8" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 31698f6d718794e422db6fcfa6685dcd9243097273b3b2a8b7948b5d45a183cd336378893ff0d4a7b2531b604c32bb5c45193dd6da3d2f5504df5cd222372c09 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 4f76c583908bcde9a71208ddff38f67f24c9ec8093631601666a0df8b52fad44dad2368c78895ce83eb2ae8e7068294cc96a02fc971ab234e4d5c9bb61ea4e34 languageName: node linkType: hard -"string.prototype.trimend@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimend@npm:1.0.6" +"string.prototype.trimend@npm:^1.0.7": + version: 1.0.7 + resolution: "string.prototype.trimend@npm:1.0.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 51b663e3195a74b58620a250b3fc4efb58951000f6e7d572a9f671c038f2f37f24a2b8c6994500a882aeab2f1c383fac1e8c023c01eb0c8b4e52d2f13b6c4513 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 53c24911c7c4d8d65f5ef5322de23a3d5b6b4db73273e05871d5ab4571ae5638f38f7f19d71d09116578fb060e5a145cc6a208af2d248c8baf7a34f44d32ce57 languageName: node linkType: hard -"string.prototype.trimstart@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimstart@npm:1.0.6" +"string.prototype.trimstart@npm:^1.0.7": + version: 1.0.7 + resolution: "string.prototype.trimstart@npm:1.0.7" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 13b9970d4e234002dfc8069c655c1fe19e83e10ced208b54858c41bb0f7544e581ac0ce746e92b279563664ad63910039f7253f36942113fec413b2b4e7c1fcd + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + checksum: 0bcf391b41ea16d4fda9c9953d0a7075171fe090d33b4cf64849af94944c50862995672ac03e0c5dba2940a213ad7f53515a668dac859ce22a0276289ae5cf4f languageName: node linkType: hard @@ -32940,7 +32704,7 @@ __metadata: languageName: node linkType: hard -"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" dependencies: @@ -32986,7 +32750,7 @@ __metadata: languageName: node linkType: hard -"strip-indent@npm:3.0.0, strip-indent@npm:^3.0.0": +"strip-indent@npm:^3.0.0": version: 3.0.0 resolution: "strip-indent@npm:3.0.0" dependencies: @@ -33243,12 +33007,12 @@ __metadata: languageName: node linkType: hard -"systeminformation@npm:5.21.17": - version: 5.21.17 - resolution: "systeminformation@npm:5.21.17" +"systeminformation@npm:5.21.20": + version: 5.21.20 + resolution: "systeminformation@npm:5.21.20" bin: systeminformation: lib/cli.js - checksum: 738d564fbf6332eda3fd19d393d2658e003e5eb2f8be50c83070f1e3acda4be8a9943da6388b2d5c7e240ba30305be76fdb424c70404085fbd62f89b597c4f61 + checksum: 4d7ea2b0df75f122854cc964926dfb8f8fbe9297afcbf2fad1218cfb684163e9486f5c6032814fe528d5d39585b43f33c4af11e0ea07b8b591f18c27f791fbba conditions: (os=darwin | os=linux | os=win32 | os=freebsd | os=openbsd | os=netbsd | os=sunos | os=android) languageName: node linkType: hard @@ -33430,7 +33194,7 @@ __metadata: languageName: node linkType: hard -"temp-dir@npm:2.0.0, temp-dir@npm:^2.0.0": +"temp-dir@npm:^2.0.0": version: 2.0.0 resolution: "temp-dir@npm:2.0.0" checksum: b1df969e3f3f7903f3426861887ed76ba3b495f63f6d0c8e1ce22588679d9384d336df6064210fda14e640ed422e2a17d5c40d901f60e161c99482d723f4d309 @@ -33684,15 +33448,6 @@ __metadata: languageName: node linkType: hard -"tmp@npm:0.2.1, tmp@npm:^0.2.1, tmp@npm:~0.2.1": - version: 0.2.1 - resolution: "tmp@npm:0.2.1" - dependencies: - rimraf: ^3.0.0 - checksum: 67607aa012059c9ce697bee820ee51bc0f39b29a8766def4f92d3f764d67c7cf9205d537d24e0cb1ce9685c40d4c628ead010910118ea18348666b5c46ed9123 - languageName: node - linkType: hard - "tmp@npm:^0.0.33": version: 0.0.33 resolution: "tmp@npm:0.0.33" @@ -33702,6 +33457,15 @@ __metadata: languageName: node linkType: hard +"tmp@npm:^0.2.1, tmp@npm:~0.2.1": + version: 0.2.1 + resolution: "tmp@npm:0.2.1" + dependencies: + rimraf: ^3.0.0 + checksum: 67607aa012059c9ce697bee820ee51bc0f39b29a8766def4f92d3f764d67c7cf9205d537d24e0cb1ce9685c40d4c628ead010910118ea18348666b5c46ed9123 + languageName: node + linkType: hard + "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5" @@ -33795,10 +33559,10 @@ __metadata: languageName: node linkType: hard -"toad-cache@npm:^3.2.0": - version: 3.2.0 - resolution: "toad-cache@npm:3.2.0" - checksum: 48dc4ff92ea228426f05c3f0b04333253ac9a4b5e6b83c260469d1d0995ee39397af0cd3ca327d53ba52ae23cf10a704b90b8b70707376427765ad01ff065ac2 +"toad-cache@npm:^3.3.0": + version: 3.3.0 + resolution: "toad-cache@npm:3.3.0" + checksum: df2e7fef3991e238197796d3ddd548e1a6b8cb569de8ee053949dcebb689a5ffdbaf2c2642c035768c00d114eb5d4db96925247cc9ccec9d88a6e6d58c95c76a languageName: node linkType: hard @@ -33833,10 +33597,10 @@ __metadata: languageName: node linkType: hard -"totalist@npm:^1.0.0": - version: 1.1.0 - resolution: "totalist@npm:1.1.0" - checksum: 2adbd4501c8290c2a96617a83dc67dfdd02bcbd360032017e27ccf27bbb09649bbe8dad1c45d97be6874281178aca5b3f62ed059d1eeda77c479cfb8eb3a9266 +"totalist@npm:^3.0.0": + version: 3.0.1 + resolution: "totalist@npm:3.0.1" + checksum: 4bb1fadb69c3edbef91c73ebef9d25b33bbf69afe1e37ce544d5f7d13854cda15e47132f3e0dc4cafe300ddb8578c77c50a65004d8b6e97e77934a69aa924863 languageName: node linkType: hard @@ -33851,7 +33615,7 @@ __metadata: languageName: node linkType: hard -"tough-cookie@npm:^4.1.2": +"tough-cookie@npm:^4.1.2, tough-cookie@npm:^4.1.3": version: 4.1.3 resolution: "tough-cookie@npm:4.1.3" dependencies: @@ -33863,16 +33627,6 @@ __metadata: languageName: node linkType: hard -"tough-cookie@npm:~2.5.0": - version: 2.5.0 - resolution: "tough-cookie@npm:2.5.0" - dependencies: - psl: ^1.1.28 - punycode: ^2.1.1 - checksum: e1cadfb24d40d64ca16de05fa8192bc097b66aeeb2704199b055ff12f450e4f30c927ce250f53d01f39baad18e1c11d66f65e545c5c6269de4c366fafa4c0543 - languageName: node - linkType: hard - "tr46@npm:^3.0.0": version: 3.0.0 resolution: "tr46@npm:3.0.0" @@ -34016,13 +33770,6 @@ __metadata: languageName: node linkType: hard -"ts-pattern@npm:5.0.5": - version: 5.0.5 - resolution: "ts-pattern@npm:5.0.5" - checksum: 2e966eea3c8c5c197dcd2baa88758dd833bf8caf22cce351a26a77ac8466d8cd8c192f2a4bb886fd4da0ec7f4b684b99674bc58b501e7b7f76c83d4049460189 - languageName: node - linkType: hard - "ts-toolbelt@npm:9.6.0": version: 9.6.0 resolution: "ts-toolbelt@npm:9.6.0" @@ -34030,18 +33777,18 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths-webpack-plugin@npm:4.0.1": - version: 4.0.1 - resolution: "tsconfig-paths-webpack-plugin@npm:4.0.1" +"tsconfig-paths-webpack-plugin@npm:4.1.0": + version: 4.1.0 + resolution: "tsconfig-paths-webpack-plugin@npm:4.1.0" dependencies: chalk: ^4.1.0 enhanced-resolve: ^5.7.0 tsconfig-paths: ^4.1.2 - checksum: c5d09b669b07806b5f4e5aafd893824a9e302ddb8e011ad48c4cf65143414b5b317f09d84e2b8a13ad1e5b52d658e7eb1f71af1dc267533eb766b3f144963b30 + checksum: c030e867e70a3f6d1799fdffa209c3a35e1435ad99aac01946b9ebb0fa8208b7b508c1dfe8c8e13d6a2ef70c75b4db062fbfd3c1f3362c69b6c65ffd4a50e226 languageName: node linkType: hard -"tsconfig-paths@npm:^3.14.1": +"tsconfig-paths@npm:^3.14.2": version: 3.14.2 resolution: "tsconfig-paths@npm:3.14.2" dependencies: @@ -34249,7 +33996,7 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.8.0, type-fest@npm:^0.8.1": +"type-fest@npm:^0.8.1": version: 0.8.1 resolution: "type-fest@npm:0.8.1" checksum: dffbb99329da2aa840f506d376c863bd55f5636f4741ad6e65e82f5ce47e6914108f44f340a0b74009b0cb5d09d6752ae83203e53e98b1192cf80ecee5651636 @@ -34301,6 +34048,42 @@ __metadata: languageName: node linkType: hard +"typed-array-buffer@npm:^1.0.0": + version: 1.0.0 + resolution: "typed-array-buffer@npm:1.0.0" + dependencies: + call-bind: ^1.0.2 + get-intrinsic: ^1.2.1 + is-typed-array: ^1.1.10 + checksum: ebad66cdf00c96b1395dffc7873169cf09801fca5954507a484f41f253feb1388d815db297b0b3bb8ce7421eac6f7ff45e2ec68450a3d68408aa4ae02fcf3a6c + languageName: node + linkType: hard + +"typed-array-byte-length@npm:^1.0.0": + version: 1.0.0 + resolution: "typed-array-byte-length@npm:1.0.0" + dependencies: + call-bind: ^1.0.2 + for-each: ^0.3.3 + has-proto: ^1.0.1 + is-typed-array: ^1.1.10 + checksum: 6696435d53ce0e704ff6760c57ccc35138aec5f87859e03eb2a3246336d546feae367952dbc918116f3f0dffbe669734e3cbd8960283c2fa79aac925db50d888 + languageName: node + linkType: hard + +"typed-array-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "typed-array-byte-offset@npm:1.0.0" + dependencies: + available-typed-arrays: ^1.0.5 + call-bind: ^1.0.2 + for-each: ^0.3.3 + has-proto: ^1.0.1 + is-typed-array: ^1.1.10 + checksum: 4036ce007ae9752931bed3dd61e0d6de2a3e5f6a5a85a05f3adb35388d2c0728f9b1a1e638d75579f168e49c289bfb5417f00e96d4ab081f38b647fc854ff7a5 + languageName: node + linkType: hard + "typed-array-length@npm:^1.0.4": version: 1.0.4 resolution: "typed-array-length@npm:1.0.4" @@ -34328,23 +34111,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.2.2, typescript@npm:>=3 < 6": - version: 5.2.2 - resolution: "typescript@npm:5.2.2" +"typescript@npm:5.3.2, typescript@npm:>=3 < 6": + version: 5.3.2 + resolution: "typescript@npm:5.3.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 91ae3e6193d0ddb8656d4c418a033f0f75dec5e077ebbc2bd6d76439b93f35683936ee1bdc0e9cf94ec76863aa49f27159b5788219b50e1cd0cd6d110aa34b07 + checksum: d7dbe1fbe19039e36a65468ea64b5d338c976550394ba576b7af9c68ed40c0bc5d12ecce390e4b94b287a09a71bd3229f19c2d5680611f35b7c53a3898791159 languageName: node linkType: hard -"typescript@patch:typescript@5.2.2#~builtin, typescript@patch:typescript@>=3 < 6#~builtin": - version: 5.2.2 - resolution: "typescript@patch:typescript@npm%3A5.2.2#~builtin::version=5.2.2&hash=f3b441" +"typescript@patch:typescript@5.3.2#~builtin, typescript@patch:typescript@>=3 < 6#~builtin": + version: 5.3.2 + resolution: "typescript@patch:typescript@npm%3A5.3.2#~builtin::version=5.3.2&hash=e012d7" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 062c1cee1990e6b9419ce8a55162b8dc917eb87f807e4de0327dbc1c2fa4e5f61bc0dd4e034d38ff541d1ed0479b53bcee8e4de3a4075c51a1724eb6216cb6f5 + checksum: 73c8bad74e732d93211c9d77f28b03307e2f5fc6a0afc73f4b783261ab567686a16d6ae958bdaef383a00be1b0b8c8b6741dd6ca3d13af4963fa7e47456d49c7 languageName: node linkType: hard @@ -34863,7 +34646,7 @@ __metadata: languageName: node linkType: hard -"util@npm:^0.12.0, util@npm:^0.12.3, util@npm:^0.12.4": +"util@npm:^0.12.3, util@npm:^0.12.4, util@npm:^0.12.5": version: 0.12.5 resolution: "util@npm:0.12.5" dependencies: @@ -34899,12 +34682,12 @@ __metadata: languageName: node linkType: hard -"uuid@npm:9.0.0, uuid@npm:^9.0.0": - version: 9.0.0 - resolution: "uuid@npm:9.0.0" +"uuid@npm:9.0.1, uuid@npm:^9.0.0": + version: 9.0.1 + resolution: "uuid@npm:9.0.1" bin: uuid: dist/bin/uuid - checksum: 8867e438990d1d33ac61093e2e4e3477a2148b844e4fa9e3c2360fa4399292429c4b6ec64537eb1659c97b2d10db349c673ad58b50e2824a11e0d3630de3c056 + checksum: 1607dd32ac7fc22f2d8f77051e6a64845c9bce5cd3dd8aa0070c074ec73e666a1f63c7b4e0f4bf2bc8b9d59dc85a15e17807446d9d2b17c8485fbc2147b27f9b languageName: node linkType: hard @@ -34940,7 +34723,7 @@ __metadata: languageName: node linkType: hard -"v8-to-istanbul@npm:^9.0.0, v8-to-istanbul@npm:^9.0.1": +"v8-to-istanbul@npm:^9.0.1": version: 9.1.0 resolution: "v8-to-istanbul@npm:9.1.0" dependencies: @@ -35042,9 +34825,9 @@ __metadata: languageName: node linkType: hard -"vite@npm:4.5.0": - version: 4.5.0 - resolution: "vite@npm:4.5.0" +"vite@npm:4.5.1": + version: 4.5.1 + resolution: "vite@npm:4.5.1" dependencies: esbuild: ^0.18.10 fsevents: ~2.3.2 @@ -35078,7 +34861,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 7e21e9e4b80656ae5ee61e8c5edb5e8f589139c2b22c43e89d054c65a0194f1c1ef066fbc770204173c7eb244c798265042f988adda5880ad74337a053b28b7f + checksum: 352a94b13f793e4bcbc424d680a32507343223eeda8917fde0f23c1fa1ba3db7c806dade8461ca5cfb270154ddb8895a219fdd4384519fe9b8e46d1cf491a890 languageName: node linkType: hard @@ -35192,12 +34975,12 @@ __metadata: languageName: node linkType: hard -"watskeburt@npm:0.11.5": - version: 0.11.5 - resolution: "watskeburt@npm:0.11.5" +"watskeburt@npm:1.0.1": + version: 1.0.1 + resolution: "watskeburt@npm:1.0.1" bin: - watskeburt: bin/cli.js - checksum: 39896fe2c4398cb819db2e5507efecc734ea29e512574b408994b006fd2d72d0c2a0ff94ff6a06a1aa4d4f95ad3eb570d9120dc6afa46367fc4acfce8b840b80 + watskeburt: dist/cli.js + checksum: fac96bdb96ab57b63d4bb878452cd2d8c0debe1808c5a891475aadcc9808907d6ca8d379a678ef98a72b39d0223abf60907c92be9f11e719a90c8c15de33eeb9 languageName: node linkType: hard @@ -35280,23 +35063,30 @@ __metadata: languageName: node linkType: hard -"webpack-bundle-analyzer@npm:4.9.0": - version: 4.9.0 - resolution: "webpack-bundle-analyzer@npm:4.9.0" +"webpack-bundle-analyzer@npm:4.9.1": + version: 4.9.1 + resolution: "webpack-bundle-analyzer@npm:4.9.1" dependencies: "@discoveryjs/json-ext": 0.5.7 acorn: ^8.0.4 acorn-walk: ^8.0.0 - chalk: ^4.1.0 commander: ^7.2.0 + escape-string-regexp: ^4.0.0 gzip-size: ^6.0.0 - lodash: ^4.17.20 + is-plain-object: ^5.0.0 + lodash.debounce: ^4.0.8 + lodash.escape: ^4.0.1 + lodash.flatten: ^4.4.0 + lodash.invokemap: ^4.6.0 + lodash.pullall: ^4.2.0 + lodash.uniqby: ^4.7.0 opener: ^1.5.2 - sirv: ^1.0.7 + picocolors: ^1.0.0 + sirv: ^2.0.3 ws: ^7.3.1 bin: webpack-bundle-analyzer: lib/bin/analyzer.js - checksum: fe7ab4fd129bf9e3291345c8e9db889b10df36cbc3bb58add5bddef078429336d1066395a605e6948bd7af91f604ae229de9ef2dcd4aa95e5ab3d49934d67368 + checksum: dd047c306471e6c389d6d4156ff22402e587140310a065a6191ee380f8251063f73a8ec6ac6d977c1cd634dbb717e2522b5d0b6cc9b0e847d4f15737fd9c65c9 languageName: node linkType: hard @@ -35435,13 +35225,14 @@ __metadata: languageName: node linkType: hard -"webpack-merge@npm:5.9.0, webpack-merge@npm:^5.7.3": - version: 5.9.0 - resolution: "webpack-merge@npm:5.9.0" +"webpack-merge@npm:5.10.0, webpack-merge@npm:^5.7.3": + version: 5.10.0 + resolution: "webpack-merge@npm:5.10.0" dependencies: clone-deep: ^4.0.1 + flat: ^5.0.2 wildcard: ^2.0.0 - checksum: 74935a4b03612ee65c0867ca1050788ccfec3efa6d17bb5acceacbd4fbbd0356a073997723eff7380deccd88f13a55c52cb004e80e34f3a67808ac455da6ad64 + checksum: b607c84cabaf74689f965420051a55a08722d897bdd6c29cb0b2263b451c090f962d41ecf8c9bf56b0ab3de56e65476ace0a8ecda4f4a4663684243d90e0512b languageName: node linkType: hard @@ -35615,10 +35406,10 @@ __metadata: languageName: node linkType: hard -"whatwg-fetch@npm:3.6.17": - version: 3.6.17 - resolution: "whatwg-fetch@npm:3.6.17" - checksum: eec71f436f02cae5577b4af220e19727eb1d1c63726dc0968e97201f53d81cb53614052765d4be4d2da4f291d18cd213c6db2c9dd12a7ada5cc553f838f09524 +"whatwg-fetch@npm:3.6.19": + version: 3.6.19 + resolution: "whatwg-fetch@npm:3.6.19" + checksum: 01dd755492d594c8d71d47811bb3886cdb7d566684daff5ec658cf148fa2418de6b562a94ff8cceaf1cf277bfb99fa6b61258cc20de5053f5817a4d419b5d293 languageName: node linkType: hard @@ -35662,6 +35453,26 @@ __metadata: languageName: node linkType: hard +"which-builtin-type@npm:^1.1.3": + version: 1.1.3 + resolution: "which-builtin-type@npm:1.1.3" + dependencies: + function.prototype.name: ^1.1.5 + has-tostringtag: ^1.0.0 + is-async-function: ^2.0.0 + is-date-object: ^1.0.5 + is-finalizationregistry: ^1.0.2 + is-generator-function: ^1.0.10 + is-regex: ^1.1.4 + is-weakref: ^1.0.2 + isarray: ^2.0.5 + which-boxed-primitive: ^1.0.2 + which-collection: ^1.0.1 + which-typed-array: ^1.1.9 + checksum: 2b7b234df3443b52f4fbd2b65b731804de8d30bcc4210ec84107ef377a81923cea7f2763b7fb78b394175cea59118bf3c41b9ffd2d643cb1d748ef93b33b6bd4 + languageName: node + linkType: hard + "which-collection@npm:^1.0.1": version: 1.0.1 resolution: "which-collection@npm:1.0.1" @@ -35681,17 +35492,16 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": - version: 1.1.9 - resolution: "which-typed-array@npm:1.1.9" +"which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": + version: 1.1.13 + resolution: "which-typed-array@npm:1.1.13" dependencies: available-typed-arrays: ^1.0.5 - call-bind: ^1.0.2 + call-bind: ^1.0.4 for-each: ^0.3.3 gopd: ^1.0.1 has-tostringtag: ^1.0.0 - is-typed-array: ^1.1.10 - checksum: 7edb12cfd04bfe2e2d3ec3e6046417c59e6a8c72209e4fe41fe1a1a40a3b196626c2ca63dac2a0fa2491d5c37c065dfabd2fcf7c0c15f1d19f5640fef88f6368 + checksum: 9f5f1c42918df3d5b91c4315ed0051d5d874370998bf095c9ae0df374f0881f85094e3c384b8fb08ab7b4d4f54ba81c0aff75da6226e7c0589b83dfbec1cd4c9 languageName: node linkType: hard @@ -36180,9 +35990,9 @@ __metadata: languageName: node linkType: hard -"zx@npm:7.2.2": - version: 7.2.2 - resolution: "zx@npm:7.2.2" +"zx@npm:7.2.3": + version: 7.2.3 + resolution: "zx@npm:7.2.3" dependencies: "@types/fs-extra": ^11.0.1 "@types/minimist": ^1.2.2 @@ -36201,6 +36011,6 @@ __metadata: yaml: ^2.2.2 bin: zx: build/cli.js - checksum: 1089ff81a7a88a72b0c0eb4469d77c1540d774c1a8ff0bd728b79dbf595caa382fb5534ab59ea24d69bf4f44753931d5bf7346669314be45616fb224144b8143 + checksum: 9a90886e4e923263aa363c1b5193d5ef0db23b7debe69d4f267b594c33748b234234ceb4fa984c38487255c3801e748237bb857859f066ba90503935a61bdba7 languageName: node linkType: hard