UNPKG

monday-ui-react-core

Version:

Official monday.com UI resources for application development in React.js

2 lines • 1.04 MB
/*! For license information please see interactionTests.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports["monday-style"]=t(require("react"),require("react-dom")):e["monday-style"]=t(e.react,e["react-dom"])}(this,((e,t)=>(()=>{var r={11167:(e,t)=>{(()=>{var e={"./node_modules/@babel/highlight/node_modules/ansi-styles/index.js":(e,t,r)=>{"use strict";e=r.nmd(e);const n=r("./node_modules/@babel/highlight/node_modules/color-convert/index.js"),o=(e,t)=>function(){return`[${e.apply(n,arguments)+t}m`},i=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};5;${r}m`},a=(e,t)=>function(){const r=e.apply(n,arguments);return`[${38+t};2;${r[0]};${r[1]};${r[2]}m`};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.grey=t.color.gray;for(const r of Object.keys(t)){const n=t[r];for(const r of Object.keys(n)){const o=n[r];t[r]={open:`[${o[0]}m`,close:`[${o[1]}m`},n[r]=t[r],e.set(o[0],o[1])}Object.defineProperty(t,r,{value:n,enumerable:!1}),Object.defineProperty(t,"codes",{value:e,enumerable:!1})}const r=e=>e,s=(e,t,r)=>[e,t,r];t.color.close="",t.bgColor.close="",t.color.ansi={ansi:o(r,0)},t.color.ansi256={ansi256:i(r,0)},t.color.ansi16m={rgb:a(s,0)},t.bgColor.ansi={ansi:o(r,10)},t.bgColor.ansi256={ansi256:i(r,10)},t.bgColor.ansi16m={rgb:a(s,10)};for(let e of Object.keys(n)){if("object"!=typeof n[e])continue;const r=n[e];"ansi16"===e&&(e="ansi"),"ansi16"in r&&(t.color.ansi[e]=o(r.ansi16,0),t.bgColor.ansi[e]=o(r.ansi16,10)),"ansi256"in r&&(t.color.ansi256[e]=i(r.ansi256,0),t.bgColor.ansi256[e]=i(r.ansi256,10)),"rgb"in r&&(t.color.ansi16m[e]=a(r.rgb,0),t.bgColor.ansi16m[e]=a(r.rgb,10))}return t}})},"./node_modules/@babel/highlight/node_modules/chalk/index.js":(e,t,r)=>{"use strict";var n=r("./node_modules/process/browser.js");const o=r("./node_modules/escape-string-regexp/index.js"),i=r("./node_modules/@babel/highlight/node_modules/ansi-styles/index.js"),a=r("./node_modules/@babel/highlight/node_modules/supports-color/browser.js").stdout,s=r("./node_modules/@babel/highlight/node_modules/chalk/templates.js"),l="win32"===n.platform&&!(n.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],c=new Set(["gray"]),d=Object.create(null);function p(e,t){t=t||{};const r=a?a.level:0;e.level=void 0===t.level?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function f(e){if(!this||!(this instanceof f)||this.template){const t={};return p(t,e),t.template=function(){const e=[].slice.call(arguments);return y.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=f,t.template}p(this,e)}l&&(i.blue.open="");for(const e of Object.keys(i))i[e].closeRe=new RegExp(o(i[e].close),"g"),d[e]={get(){const t=i[e];return h.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};d.visible={get(){return h.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(o(i.color.close),"g");for(const e of Object.keys(i.color.ansi))c.has(e)||(d[e]={get(){const t=this.level;return function(){const r={open:i.color[u[t]][e].apply(null,arguments),close:i.color.close,closeRe:i.color.closeRe};return h.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});i.bgColor.closeRe=new RegExp(o(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi))c.has(e)||(d["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r={open:i.bgColor[u[t]][e].apply(null,arguments),close:i.bgColor.close,closeRe:i.bgColor.closeRe};return h.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});const m=Object.defineProperties((()=>{}),d);function h(e,t,r){const n=function(){return b.apply(n,arguments)};n._styles=e,n._empty=t;const o=this;return Object.defineProperty(n,"level",{enumerable:!0,get:()=>o.level,set(e){o.level=e}}),Object.defineProperty(n,"enabled",{enumerable:!0,get:()=>o.enabled,set(e){o.enabled=e}}),n.hasGrey=this.hasGrey||"gray"===r||"grey"===r,n.__proto__=m,n}function b(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const n=i.dim.open;l&&this.hasGrey&&(i.dim.open="");for(const e of this._styles.slice().reverse())r=e.open+r.replace(e.closeRe,e.open)+e.close,r=r.replace(/\r?\n/g,`${e.close}$&${e.open}`);return i.dim.open=n,r}function y(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const r=[].slice.call(arguments,2),n=[t.raw[0]];for(let e=1;e<t.length;e++)n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[e]));return s(e,n.join(""))}Object.defineProperties(f.prototype,d),e.exports=f(),e.exports.supportsColor=a,e.exports.default=e.exports},"./node_modules/@babel/highlight/node_modules/chalk/templates.js":e=>{"use strict";const t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function a(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):i.get(e)||e}function s(e,t){const r=[],i=t.trim().split(/\s*,\s*/g);let s;for(const t of i)if(isNaN(t)){if(!(s=t.match(n)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(s[2].replace(o,((e,t,r)=>t?a(t):r)))}else r.push(Number(t));return r}function l(e){r.lastIndex=0;const t=[];let n;for(;null!==(n=r.exec(e));){const e=n[1];if(n[2]){const r=s(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function u(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const e of Object.keys(r))if(Array.isArray(r[e])){if(!(e in n))throw new Error(`Unknown Chalk style: ${e}`);n=r[e].length>0?n[e].apply(n,r[e]):n[e]}return n}e.exports=(e,r)=>{const n=[],o=[];let i=[];if(r.replace(t,((t,r,s,c,d,p)=>{if(r)i.push(a(r));else if(c){const t=i.join("");i=[],o.push(0===n.length?t:u(e,n)(t)),n.push({inverse:s,styles:l(c)})}else if(d){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");o.push(u(e,n)(i.join(""))),i=[],n.pop()}else i.push(p)})),o.push(i.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return o.join("")}},"./node_modules/@babel/highlight/node_modules/color-convert/conversions.js":(e,t,r)=>{var n=r("./node_modules/@babel/highlight/node_modules/color-name/index.js"),o={};for(var i in n)n.hasOwnProperty(i)&&(o[n[i]]=i);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in a)if(a.hasOwnProperty(s)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);var l=a[s].channels,u=a[s].labels;delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:l}),Object.defineProperty(a[s],"labels",{value:u})}a.rgb.hsl=function(e){var t,r,n=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(n,o,i),s=Math.max(n,o,i),l=s-a;return s===a?t=0:n===s?t=(o-i)/l:o===s?t=2+(i-n)/l:i===s&&(t=4+(n-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),r=(a+s)/2,[t,100*(s===a?0:r<=.5?l/(s+a):l/(2-s-a)),100*r]},a.rgb.hsv=function(e){var t,r,n,o,i,a=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),d=function(e){return(u-e)/6/c+.5};return 0===c?o=i=0:(i=c/u,t=d(a),r=d(s),n=d(l),a===u?o=n-r:s===u?o=1/3+t-n:l===u&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*u]},a.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(r,n))*100,100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},a.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,o=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-o)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=o[e];if(t)return t;var r,i,a,s=1/0;for(var l in n)if(n.hasOwnProperty(l)){var u=(i=e,a=n[l],Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)+Math.pow(i[2]-a[2],2));u<s&&(s=u,r=l)}return r},a.keyword.rgb=function(e){return n[e]},a.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),r=t[0],n=t[1],o=t[2];return n/=100,o/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.hsl.rgb=function(e){var t,r,n,o,i,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[i=255*l,i,i];t=2*l-(r=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];for(var u=0;u<3;u++)(n=a+1/3*-(u-1))<0&&n++,n>1&&n--,i=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,o[u]=255*i;return o},a.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,o=r,i=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,o*=i<=1?i:2-i,[t,100*(0===n?2*o/(i+o):2*r/(n+r)),(n+r)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*n*(1-r),s=255*n*(1-r*i),l=255*n*(1-r*(1-i));switch(n*=255,o){case 0:return[n,l,a];case 1:return[s,n,a];case 2:return[a,n,l];case 3:return[a,s,n];case 4:return[l,a,n];case 5:return[n,a,s]}},a.hsv.hsl=function(e){var t,r,n,o=e[0],i=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return n=(2-i)*a,r=i*s,[o,100*(r=(r/=(t=(2-i)*s)<=1?t:2-t)||0),100*(n/=2)]},a.hwb.rgb=function(e){var t,r,n,o,i,a,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),n=6*l-(t=Math.floor(6*l)),!!(1&t)&&(n=1-n),o=u+n*((r=1-c)-u),t){default:case 6:case 0:i=r,a=o,s=u;break;case 1:i=o,a=r,s=u;break;case 2:i=u,a=r,s=o;break;case 3:i=u,a=o,s=r;break;case 4:i=o,a=u,s=r;break;case 5:i=r,a=u,s=o}return[255*i,255*a,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]},a.xyz.rgb=function(e){var t,r,n,o=e[0]/100,i=e[1]/100,a=e[2]/100;return r=-.9689*o+1.8758*i+.0415*a,n=.0557*o+-.204*i+1.057*a,t=(t=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},a.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},a.lab.xyz=function(e){var t,r,n,o=e[0];t=e[1]/500+(r=(o+16)/116),n=r-e[2]/200;var i=Math.pow(r,3),a=Math.pow(t,3),s=Math.pow(n,3);return r=i>.008856?i:(r-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,n=s>.008856?s:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},a.lab.lch=function(e){var t,r=e[0],n=e[1],o=e[2];return(t=360*Math.atan2(o,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+o*o),t]},a.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],o=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,o=e[2]/255,i=Math.max(Math.max(r,n),o),a=Math.min(Math.min(r,n),o),s=i-a;return t=s<=0?0:i===r?(n-o)/s%6:i===n?2+(o-r)/s:4+(r-n)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},a.hsl.hcg=function(e){var t,r=e[1]/100,n=e[2]/100,o=0;return(t=n<.5?2*r*n:2*r*(1-n))<1&&(o=(n-.5*t)/(1-t)),[e[0],100*t,100*o]},a.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},a.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var o,i=[0,0,0],a=t%1*6,s=a%1,l=1-s;switch(Math.floor(a)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=l,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=l,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=l}return o=(1-r)*n,[255*(r*i[0]+o),255*(r*i[1]+o),255*(r*i[2]+o)]},a.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},a.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},a.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},a.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,o=0;return n<1&&(o=(r-n)/(1-n)),[e[0],100*n,100*o]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},"./node_modules/@babel/highlight/node_modules/color-convert/index.js":(e,t,r)=>{var n=r("./node_modules/@babel/highlight/node_modules/color-convert/conversions.js"),o=r("./node_modules/@babel/highlight/node_modules/color-convert/route.js"),i={};Object.keys(n).forEach((function(e){i[e]={},Object.defineProperty(i[e],"channels",{value:n[e].channels}),Object.defineProperty(i[e],"labels",{value:n[e].labels});var t=o(e);Object.keys(t).forEach((function(r){var n=t[r];i[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,o=0;o<n;o++)r[o]=Math.round(r[o]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),i[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=i},"./node_modules/@babel/highlight/node_modules/color-convert/route.js":(e,t,r)=>{var n=r("./node_modules/@babel/highlight/node_modules/color-convert/conversions.js");function o(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,o=0;o<r;o++)e[t[o]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var o=r.pop(),i=Object.keys(n[o]),a=i.length,s=0;s<a;s++){var l=i[s],u=t[l];-1===u.distance&&(u.distance=t[o].distance+1,u.parent=o,r.unshift(l))}return t}function i(e,t){return function(r){return t(e(r))}}function a(e,t){for(var r=[t[e].parent,e],o=n[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),o=i(n[t[a].parent][a],o),a=t[a].parent;return o.conversion=r,o}e.exports=function(e){for(var t=o(e),r={},n=Object.keys(t),i=n.length,s=0;s<i;s++){var l=n[s];null!==t[l].parent&&(r[l]=a(l,t))}return r}},"./node_modules/@babel/highlight/node_modules/color-name/index.js":e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"./node_modules/@babel/highlight/node_modules/supports-color/browser.js":e=>{"use strict";e.exports={stdout:!1,stderr:!1}},"./node_modules/@jest/expect-utils/build/index.js":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={equals:!0,isA:!0};Object.defineProperty(t,"equals",{enumerable:!0,get:function(){return o.equals}}),Object.defineProperty(t,"isA",{enumerable:!0,get:function(){return o.isA}});var o=r("./node_modules/@jest/expect-utils/build/jasmineUtils.js"),i=r("./node_modules/@jest/expect-utils/build/utils.js");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},"./node_modules/@jest/expect-utils/build/jasmineUtils.js":(e,t)=>{"use strict";function r(e){return!!e&&a("Function",e.asymmetricMatch)}function n(e,t,a,l,u,c){var d=!0,p=function(e,t){var n=r(e),o=r(t);if(!n||!o)return n?e.asymmetricMatch(t):o?t.asymmetricMatch(e):void 0}(e,t);if(void 0!==p)return p;for(var f=0;f<u.length;f++){var m=u[f](e,t);if(void 0!==m)return m}if(e instanceof Error&&t instanceof Error)return e.message==t.message;if(Object.is(e,t))return!0;if(null===e||null===t)return e===t;var h=Object.prototype.toString.call(e);if(h!=Object.prototype.toString.call(t))return!1;switch(h){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e==typeof t&&("object"!=typeof e&&"object"!=typeof t?Object.is(e,t):Object.is(e.valueOf(),t.valueOf()));case"[object Date]":return+e==+t;case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if("object"!=typeof e||"object"!=typeof t)return!1;if(s(e)&&s(t))return e.isEqualNode(t);for(var b=a.length;b--;){if(a[b]===e)return l[b]===t;if(l[b]===t)return!1}if(a.push(e),l.push(t),c&&"[object Array]"==h&&e.length!==t.length)return!1;var y,v=o(e,i),g=o(t,i);if(!c){for(var E=0;E!==g.length;++E)!r(t[y=g[E]])&&void 0!==t[y]||i(e,y)||v.push(y);for(E=0;E!==v.length;++E)!r(e[y=v[E]])&&void 0!==e[y]||i(t,y)||g.push(y)}var C=v.length;if(g.length!==C)return!1;for(;C--;)if(y=v[C],!(d=c?i(t,y)&&n(e[y],t[y],a,l,u,c):(i(t,y)||r(e[y])||void 0===e[y])&&n(e[y],t[y],a,l,u,c)))return!1;return a.pop(),l.pop(),d}function o(e,t){var r=[];for(var n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter((t=>Object.getOwnPropertyDescriptor(e,t).enumerable)))}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function a(e,t){return Object.prototype.toString.apply(t)==="[object "+e+"]"}function s(e){return null!==e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName&&"function"==typeof e.isEqualNode}Object.defineProperty(t,"__esModule",{value:!0}),t.equals=void 0,t.isA=a,t.isImmutableList=function(e){return!(!e||!e[c])},t.isImmutableOrderedKeyed=function(e){return!!(e&&e[l]&&e[d])},t.isImmutableOrderedSet=function(e){return!!(e&&e[u]&&e[d])},t.isImmutableUnorderedKeyed=function(e){return!(!e||!e[l]||e[d])},t.isImmutableUnorderedSet=function(e){return!(!e||!e[u]||e[d])},t.equals=(e,t,r,o)=>n(e,t,[],[],r=r||[],o);const l="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_LIST__@@",d="@@__IMMUTABLE_ORDERED__@@"},"./node_modules/@jest/expect-utils/build/utils.js":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayBufferEquality=void 0,t.emptyObject=function(e){return!(!e||"object"!=typeof e||Object.keys(e).length)},t.typeEquality=t.subsetEquality=t.sparseArrayEquality=t.pathAsArray=t.partition=t.iterableEquality=t.isOneline=t.isError=t.getPath=t.getObjectSubset=void 0;var n=r("./node_modules/jest-get-type/build/index.js"),o=r("./node_modules/@jest/expect-utils/build/jasmineUtils.js"),i=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol;const a=(e,t)=>!(!e||"object"!=typeof e||e===Object.prototype)&&(Object.prototype.hasOwnProperty.call(e,t)||a(Object.getPrototypeOf(e),t)),s=(e,t)=>{if(Array.isArray(t)||(t=b(t)),t.length){const r=1===t.length,o=t[0],i=e[o];if(!r&&null==i)return{hasEndProp:!1,lastTraversedObject:e,traversedPath:[]};const a=s(i,t.slice(1));return null===a.lastTraversedObject&&(a.lastTraversedObject=e),a.traversedPath.unshift(o),r&&(a.endPropIsDefined=!(0,n.isPrimitive)(e)&&o in e,a.hasEndProp=void 0!==i||a.endPropIsDefined,a.hasEndProp||a.traversedPath.shift()),a}return{lastTraversedObject:null,traversedPath:[],value:e}};t.getPath=s;const l=(e,t,r=new WeakMap)=>{if(Array.isArray(e)){if(Array.isArray(t)&&t.length===e.length)return t.map(((t,r)=>l(e[r],t)))}else{if(e instanceof Date)return e;if(p(e)&&p(t)){if((0,o.equals)(e,t,[d,m]))return t;const n={};if(r.set(e,n),Object.keys(e).filter((e=>a(t,e))).forEach((o=>{n[o]=r.has(e[o])?r.get(e[o]):l(e[o],t[o],r)})),Object.keys(n).length>0)return n}}return e};t.getObjectSubset=l;const u=i.iterator,c=e=>!(null==e||!e[u]),d=(e,t,r=[],n=[])=>{if("object"!=typeof e||"object"!=typeof t||Array.isArray(e)||Array.isArray(t)||!c(e)||!c(t))return;if(e.constructor!==t.constructor)return!1;let i=r.length;for(;i--;)if(r[i]===e)return n[i]===t;r.push(e),n.push(t);const a=(e,t)=>d(e,t,[...r],[...n]);if(void 0!==e.size){if(e.size!==t.size)return!1;if((0,o.isA)("Set",e)||(0,o.isImmutableUnorderedSet)(e)){let i=!0;for(const r of e)if(!t.has(r)){let e=!1;for(const n of t)!0===(0,o.equals)(r,n,[a])&&(e=!0);if(!1===e){i=!1;break}}return r.pop(),n.pop(),i}if((0,o.isA)("Map",e)||(0,o.isImmutableUnorderedKeyed)(e)){let i=!0;for(const r of e)if(!t.has(r[0])||!(0,o.equals)(r[1],t.get(r[0]),[a])){let e=!1;for(const n of t){let t=!1;!0===(0,o.equals)(r[0],n[0],[a])&&(t=(0,o.equals)(r[1],n[1],[a])),!0===t&&(e=!0)}if(!1===e){i=!1;break}}return r.pop(),n.pop(),i}}const s=t[u]();for(const t of e){const e=s.next();if(e.done||!(0,o.equals)(t,e.value,[a]))return!1}if(!s.next().done)return!1;if(!(0,o.isImmutableList)(e)&&!(0,o.isImmutableOrderedKeyed)(e)&&!(0,o.isImmutableOrderedSet)(e)){const r=Object.entries(e),n=Object.entries(t);if(!(0,o.equals)(r,n))return!1}return r.pop(),n.pop(),!0};t.iterableEquality=d;const p=e=>null!==e&&"object"==typeof e,f=e=>p(e)&&!(e instanceof Error)&&!(e instanceof Array)&&!(e instanceof Date),m=(e,t)=>{const r=(e=new WeakMap)=>(t,n)=>{if(f(n))return Object.keys(n).every((i=>{if(f(n[i])){if(e.has(n[i]))return(0,o.equals)(t[i],n[i],[d]);e.set(n[i],!0)}const s=null!=t&&a(t,i)&&(0,o.equals)(t[i],n[i],[d,r(e)]);return e.delete(n[i]),s}))};return r()(e,t)};t.subsetEquality=m;const h=(e,t)=>{if(null!=e&&null!=t&&e.constructor!==t.constructor)return!1};t.typeEquality=h,t.arrayBufferEquality=(e,t)=>{if(!(e instanceof ArrayBuffer&&t instanceof ArrayBuffer))return;const r=new DataView(e),n=new DataView(t);if(r.byteLength!==n.byteLength)return!1;for(let e=0;e<r.byteLength;e++)if(r.getUint8(e)!==n.getUint8(e))return!1;return!0},t.sparseArrayEquality=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(t))return;const r=Object.keys(e),n=Object.keys(t);return(0,o.equals)(e,t,[d,h],!0)&&(0,o.equals)(r,n)},t.partition=(e,t)=>{const r=[[],[]];return e.forEach((e=>r[t(e)?0:1].push(e))),r};const b=e=>{const t=[];if(""===e)return t.push(""),t;const r=RegExp("[^.[\\]]+|(?=(?:\\.)(?:\\.|$))","g");return"."===e[0]&&t.push(""),e.replace(r,(e=>(t.push(e),e))),t};t.pathAsArray=b,t.isError=e=>{switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}};const y=/[\r\n]/;t.isOneline=(e,t)=>!("string"!=typeof e||"string"!=typeof t||y.test(e)&&y.test(t))},"./node_modules/ansi-regex/index.js":e=>{"use strict";e.exports=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}},"./node_modules/ansi-styles/index.js":(e,t,r)=>{"use strict";e=r.nmd(e);const n=(e,t)=>(...r)=>`[${e(...r)+t}m`,o=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`},i=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`},a=e=>e,s=(e,t,r)=>[e,t,r],l=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let u;const c=(e,t,n,o)=>{void 0===u&&(u=r("./node_modules/color-convert/index.js"));const i=o?10:0,a={};for(const[r,o]of Object.entries(u)){const s="ansi16"===r?"ansi":r;r===t?a[s]=e(n,i):"object"==typeof o&&(a[s]=e(o[t],i))}return a};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(const[r,n]of Object.entries(t)){for(const[r,o]of Object.entries(n))t[r]={open:`[${o[0]}m`,close:`[${o[1]}m`},n[r]=t[r],e.set(o[0],o[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="",t.bgColor.close="",l(t.color,"ansi",(()=>c(n,"ansi16",a,!1))),l(t.color,"ansi256",(()=>c(o,"ansi256",a,!1))),l(t.color,"ansi16m",(()=>c(i,"rgb",s,!1))),l(t.bgColor,"ansi",(()=>c(n,"ansi16",a,!0))),l(t.bgColor,"ansi256",(()=>c(o,"ansi256",a,!0))),l(t.bgColor,"ansi16m",(()=>c(i,"rgb",s,!0))),t}})},"./node_modules/assert/build/assert.js":(e,t,r)=>{"use strict";var n=r("./node_modules/process/browser.js"),o=r("./node_modules/console-browserify/index.js");function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var a,s,l=r("./node_modules/assert/build/internal/errors.js").codes,u=l.ERR_AMBIGUOUS_ARGUMENT,c=l.ERR_INVALID_ARG_TYPE,d=l.ERR_INVALID_ARG_VALUE,p=l.ERR_INVALID_RETURN_VALUE,f=l.ERR_MISSING_ARGS,m=r("./node_modules/assert/build/internal/assert/assertion_error.js"),h=r("./node_modules/util/util.js").inspect,b=r("./node_modules/util/util.js").types,y=b.isPromise,v=b.isRegExp,g=Object.assign?Object.assign:r("./node_modules/es6-object-assign/index.js").assign,E=Object.is?Object.is:r("./node_modules/object-is/index.js");function C(){var e=r("./node_modules/assert/build/internal/util/comparisons.js");a=e.isDeepEqual,s=e.isDeepStrictEqual}new Map;var w=!1,_=e.exports=R,x={};function P(e){if(e.message instanceof Error)throw e.message;throw new m(e)}function O(e,t,r,n){if(!r){var o=!1;if(0===t)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new m({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function R(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];O.apply(void 0,[R,t.length].concat(t))}_.fail=function e(t,r,i,a,s){var l,u=arguments.length;if(0===u?l="Failed":1===u?(i=t,t=void 0):(!1===w&&(w=!0,(n.emitWarning?n.emitWarning:o.warn.bind(o))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===u&&(a="!=")),i instanceof Error)throw i;var c={actual:t,expected:r,operator:void 0===a?"fail":a,stackStartFn:s||e};void 0!==i&&(c.message=i);var d=new m(c);throw l&&(d.message=l,d.generatedMessage=!0),d},_.AssertionError=m,_.ok=R,_.equal=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");t!=r&&P({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},_.notEqual=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");t==r&&P({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},_.deepEqual=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");void 0===a&&C(),a(t,r)||P({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},_.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");void 0===a&&C(),a(t,r)&&P({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},_.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");void 0===a&&C(),s(t,r)||P({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},_.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");void 0===a&&C(),s(t,r)&&P({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},_.strictEqual=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");E(t,r)||P({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},_.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new f("actual","expected");E(t,r)&&P({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var j=function e(t,r,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r.forEach((function(e){e in t&&(void 0!==n&&"string"==typeof n[e]&&v(t[e])&&t[e].test(n[e])?o[e]=n[e]:o[e]=t[e])}))};function T(e,t,r,n){if("function"!=typeof t){if(v(t))return t.test(e);if(2===arguments.length)throw new c("expected",["Function","RegExp"],t);if("object"!==i(e)||null===e){var o=new m({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw o.operator=n.name,o}var l=Object.keys(t);if(t instanceof Error)l.push("name","message");else if(0===l.length)throw new d("error",t,"may not be an empty object");return void 0===a&&C(),l.forEach((function(o){"string"==typeof e[o]&&v(t[o])&&t[o].test(e[o])||function(e,t,r,n,o,i){if(!(r in e)||!s(e[r],t[r])){if(!n){var a=new j(e,o),l=new j(t,o,e),u=new m({actual:a,expected:l,operator:"deepStrictEqual",stackStartFn:i});throw u.actual=e,u.expected=t,u.operator=i.name,u}P({actual:e,expected:t,message:n,operator:i.name,stackStartFn:i})}}(e,t,o,r,l,n)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function A(e){if("function"!=typeof e)throw new c("fn","Function",e);try{e()}catch(e){return e}return x}function S(e){return y(e)||null!==e&&"object"===i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function q(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!S(t=e()))throw new p("instance of Promise","promiseFn",t)}else{if(!S(e))throw new c("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return x})).catch((function(e){return e}))}))}function M(e,t,r,n){if("string"==typeof r){if(4===arguments.length)throw new c("error",["Object","Error","Function","RegExp"],r);if("object"===i(t)&&null!==t){if(t.message===r)throw new u("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===r)throw new u("error/message",'The error "'.concat(t,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==i(r)&&"function"!=typeof r)throw new c("error",["Object","Error","Function","RegExp"],r);if(t===x){var o="";r&&r.name&&(o+=" (".concat(r.name,")")),o+=n?": ".concat(n):".";var a="rejects"===e.name?"rejection":"exception";P({actual:void 0,expected:r,operator:e.name,message:"Missing expected ".concat(a).concat(o),stackStartFn:e})}if(r&&!T(t,r,n,e))throw t}function I(e,t,r,n){if(t!==x){if("string"==typeof r&&(n=r,r=void 0),!r||T(t,r)){var o=n?": ".concat(n):".",i="doesNotReject"===e.name?"rejection":"exception";P({actual:t,expected:r,operator:e.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function k(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];O.apply(void 0,[k,t.length].concat(t))}_.throws=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];M.apply(void 0,[e,A(t)].concat(n))},_.rejects=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return q(t).then((function(t){return M.apply(void 0,[e,t].concat(n))}))},_.doesNotThrow=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];I.apply(void 0,[e,A(t)].concat(n))},_.doesNotReject=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return q(t).then((function(t){return I.apply(void 0,[e,t].concat(n))}))},_.ifError=function e(t){if(null!=t){var r="ifError got unwanted exception: ";"object"===i(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?r+=t.constructor.name:r+=t.message:r+=h(t);var n=new m({actual:t,expected:null,operator:"ifError",message:r,stackStartFn:e}),o=t.stack;if("string"==typeof o){var a=o.split("\n");a.shift();for(var s=n.stack.split("\n"),l=0;l<a.length;l++){var u=s.indexOf(a[l]);if(-1!==u){s=s.slice(0,u);break}}n.stack="".concat(s.join("\n"),"\n").concat(a.join("\n"))}throw n}},_.strict=g(k,_,{equal:_.strictEqual,deepEqual:_.deepStrictEqual,notEqual:_.notStrictEqual,notDeepEqual:_.notDeepStrictEqual}),_.strict.strict=_.strict},"./node_modules/assert/build/internal/assert/assertion_error.js":(e,t,r)=>{"use strict";var n=r("./node_modules/process/browser.js");function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c(n,e)},l(e)}function u(e,t,r){return u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&c(o,r.prototype),o},u.apply(null,arguments)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var f=r("./node_modules/util/util.js").inspect,m=r("./node_modules/assert/build/internal/errors.js").codes.ERR_INVALID_ARG_TYPE;function h(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}var b="",y="",v="",g="",E={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function C(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){r[t]=e[t]})),Object.defineProperty(r,"message",{value:e.message}),r}function w(e){return f(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function _(e,t,r){var o="",i="",a=0,s="",l=!1,u=w(e),c=u.split("\n"),d=w(t).split("\n"),f=0,m="";if("strictEqual"===r&&"object"===p(e)&&"object"===p(t)&&null!==e&&null!==t&&(r="strictEqualObject"),1===c.length&&1===d.length&&c[0]!==d[0]){var C=c[0].length+d[0].length;if(C<=10){if(!("object"===p(e)&&null!==e||"object"===p(t)&&null!==t||0===e&&0===t))return"".concat(E[r],"\n\n")+"".concat(c[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==r&&C<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;c[0][f]===d[0][f];)f++;f>2&&(m="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,r-e.length)}(" ",f),"^"),f=0)}}for(var _=c[c.length-1],x=d[d.length-1];_===x&&(f++<2?s="\n ".concat(_).concat(s):o=_,c.pop(),d.pop(),0!==c.length&&0!==d.length);)_=c[c.length-1],x=d[d.length-1];var P=Math.max(c.length,d.length);if(0===P){var O=u.split("\n");if(O.length>30)for(O[26]="".concat(b,"...").concat(g);O.length>27;)O.pop();return"".concat(E.notIdentical,"\n\n").concat(O.join("\n"),"\n")}f>3&&(s="\n".concat(b,"...").concat(g).concat(s),l=!0),""!==o&&(s="\n ".concat(o).concat(s),o="");var R=0,j=E[r]+"\n".concat(y,"+ actual").concat(g," ").concat(v,"- expected").concat(g),T=" ".concat(b,"...").concat(g," Lines skipped");for(f=0;f<P;f++){var A=f-a;if(c.length<f+1)A>1&&f>2&&(A>4?(i+="\n".concat(b,"...").concat(g),l=!0):A>3&&(i+="\n ".concat(d[f-2]),R++),i+="\n ".concat(d[f-1]),R++),a=f,o+="\n".concat(v,"-").concat(g," ").concat(d[f]),R++;else if(d.length<f+1)A>1&&f>2&&(A>4?(i+="\n".concat(b,"...").concat(g),l=!0):A>3&&(i+="\n ".concat(c[f-2]),R++),i+="\n ".concat(c[f-1]),R++),a=f,i+="\n".concat(y,"+").concat(g," ").concat(c[f]),R++;else{var S=d[f],q=c[f],M=q!==S&&(!h(q,",")||q.slice(0,-1)!==S);M&&h(S,",")&&S.slice(0,-1)===q&&(M=!1,q+=","),M?(A>1&&f>2&&(A>4?(i+="\n".concat(b,"...").concat(g),l=!0):A>3&&(i+="\n ".concat(c[f-2]),R++),i+="\n ".concat(c[f-1]),R++),a=f,i+="\n".concat(y,"+").concat(g," ").concat(q),o+="\n".concat(v,"-").concat(g," ").concat(S),R+=2):(i+=o,o="",1!==A&&0!==f||(i+="\n ".concat(q),R++))}if(R>20&&f<P-2)return"".concat(j).concat(T,"\n").concat(i,"\n").concat(b,"...").concat(g).concat(o,"\n")+"".concat(b,"...").concat(g)}return"".concat(j).concat(l?T:"","\n").concat(i).concat(o).concat(s).concat(m)}var x=function(e){function t(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==p(e)||null===e)throw new m("options","Object",e);var o=e.message,i=e.operator,l=e.stackStartFn,u=e.actual,c=e.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)r=a(this,d(t).call(this,String(o)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(b="",y="",g="",v=""):(b="",y="",g="",v="")),"object"===p(u)&&null!==u&&"object"===p(c)&&null!==c&&"stack"in u&&u instanceof Error&&"stack"in c&&c instanceof Error&&(u=C(u),c=C(c)),"deepStrictEqual"===i||"strictEqual"===i)r=a(this,d(t).call(this,_(u,c,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var h=E[i],x=w(u).split("\n");if("notStrictEqual"===i&&"object"===p(u)&&null!==u&&(h=E.notStrictEqualObject),x.length>30)for(x[26]="".concat(b,"...").concat(g);x.length>27;)x.pop();r=1===x.length?a(this,d(t).call(this,"".concat(h," ").concat(x[0]))):a(this,d(t).call(this,"".concat(h,"\n\n").concat(x.join("\n"),"\n")))}else{var P=w(u),O="",R=E[i];"notDeepEqual"===i||"notEqual"===i?(P="".concat(E[i],"\n\n").concat(P)).length>1024&&(P="".concat(P.slice(0,1021),"...")):(O="".concat(w(c)),P.length>512&&(P="".concat(P.slice(0,509),"...")),O.length>512&&(O="".concat(O.slice(0,509),"...")),"deepEqual"===i||"equal"===i?P="".concat(R,"\n\n").concat(P,"\n\nshould equal\n\n"):O=" ".concat(i," ").concat(O)),r=a(this,d(t).call(this,"".concat(P).concat(O)))}return Error.stackTraceLimit=f,r.generatedMessage=!o,Object.defineProperty(s(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=u,r.expected=c,r.operator=i,Error.captureStackTrace&&Error.captureStackTrace(s(r),l),r.stack,r.name="AssertionError",a(r)}var r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),r=t,l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:f.custom,value:function(e,t){return f(this,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){o(e,t,r[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],l&&i(r.prototype,l),t}(l(Error));e.exports=x},"./node_modules/assert/build/internal/errors.js":(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}var s,l,u={};function c(e,t,r){r||(r=Error);var n=function(r){function n(r,a,s){var l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),l=o(this,i(n).call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,a,s))),l.code=e,l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(n,r),n}(r);u[e]=n}function d(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}c("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),c("ERR_INVALID_ARG_TYPE",(function(e,t,o){var i,a,l;if(void 0===s&&(s=r("./node_modules/assert/build/assert.js")),s("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(a="not ",t.substr(0,4)===a)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-9,r)===t}(e," argument"))l="The ".concat(e," ").concat(i," ").concat(d(t,"type"));else{var u=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+1>e.length)&&-1!==e.indexOf(".",r)}(e)?"property":"argument";l='The "'.concat(e,'" ').concat(u," ").concat(i," ").concat(d(t,"type"))}return l+". Received type ".concat(n(o))}),TypeError),c("ERR_INVALID_ARG_VALUE",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===l&&(l=r("./node_modules/util/util.js"));var o=l.inspect(t);return o.length>128&&(o="".concat(o.slice(0,12