@visulima/pail 2.1.28 → 2.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/LICENSE.md +74 -73
  3. package/dist/index.browser.cjs +1 -1
  4. package/dist/index.browser.d.cts +4 -3
  5. package/dist/index.browser.d.mts +4 -3
  6. package/dist/index.browser.d.ts +4 -3
  7. package/dist/index.browser.mjs +1 -1
  8. package/dist/index.server.cjs +5 -5
  9. package/dist/index.server.d.cts +7 -5
  10. package/dist/index.server.d.mts +7 -5
  11. package/dist/index.server.d.ts +7 -5
  12. package/dist/index.server.mjs +5 -5
  13. package/dist/packem_shared/JsonFileReporter-B7cJWaL5.cjs +2 -0
  14. package/dist/packem_shared/JsonFileReporter-raQZY3Ci.mjs +4 -0
  15. package/dist/packem_shared/JsonReporter-0IxBO0rl.mjs +2 -0
  16. package/dist/packem_shared/{JsonReporter-BdExg5gk.mjs → JsonReporter-CRzHu5q7.mjs} +1 -1
  17. package/dist/packem_shared/{JsonReporter-DuF0Ho5i.cjs → JsonReporter-DZvKFDz6.cjs} +1 -1
  18. package/dist/packem_shared/{JsonReporter-CjvkrXUp.cjs → JsonReporter-U9kk2_gT.cjs} +1 -1
  19. package/dist/packem_shared/{MessageFormatterProcessor-CCRIUIdT.cjs → MessageFormatterProcessor-D_s8r8ot.cjs} +1 -1
  20. package/dist/packem_shared/{MessageFormatterProcessor-BjBZzL2D.mjs → MessageFormatterProcessor-rkvAy05-.mjs} +1 -1
  21. package/dist/packem_shared/PrettyReporter-1aoZvU3r.mjs +5 -0
  22. package/dist/packem_shared/PrettyReporter-BSm1ACaz.cjs +13 -0
  23. package/dist/packem_shared/PrettyReporter-C0Qa7g8i.mjs +13 -0
  24. package/dist/packem_shared/PrettyReporter-CklpEjI1.cjs +5 -0
  25. package/dist/packem_shared/SimpleReporter-BajPeBDy.mjs +11 -0
  26. package/dist/packem_shared/SimpleReporter-DiFOEIps.cjs +11 -0
  27. package/dist/packem_shared/{abstract-json-reporter-tFmKAzRZ.mjs → abstract-json-reporter-B_QC6gt7.mjs} +1 -1
  28. package/dist/packem_shared/{abstract-json-reporter-Z6bVrpPK.cjs → abstract-json-reporter-C1jqd5bO.cjs} +1 -1
  29. package/dist/packem_shared/{abstract-pretty-reporter-Che3NKVZ.d.cts → abstract-pretty-reporter-C5UVAUaP.d.cts} +4 -2
  30. package/dist/packem_shared/{abstract-pretty-reporter-BCpBhS2D.d.mts → abstract-pretty-reporter-CDuO-IFk.d.ts} +4 -2
  31. package/dist/packem_shared/{abstract-pretty-reporter-Ct4QMQNG.d.ts → abstract-pretty-reporter-Ckmv6CnU.d.mts} +4 -2
  32. package/dist/packem_shared/format-label-B496HVjo.mjs +8 -0
  33. package/dist/packem_shared/format-label-BkRisUmO.cjs +8 -0
  34. package/dist/packem_shared/{pail.browser-C-ZREoyB.d.ts → pail.browser-2KlA4DJS.d.cts} +5 -3
  35. package/dist/packem_shared/{pail.browser-CTdItWYz.d.cts → pail.browser-B9eJPHAe.d.mts} +5 -3
  36. package/dist/packem_shared/{pail.browser-CFOAjmHW.d.mts → pail.browser-CaPhlNua.d.ts} +5 -3
  37. package/dist/packem_shared/pail.browser-Di9_5Zcq.mjs +1 -0
  38. package/dist/packem_shared/pail.browser-vVxBu_Xl.cjs +1 -0
  39. package/dist/packem_shared/{types-BGWAKixQ.d.cts → types-CMdBdNgA.d.cts} +3 -56
  40. package/dist/packem_shared/{types-BGWAKixQ.d.mts → types-CMdBdNgA.d.mts} +3 -56
  41. package/dist/packem_shared/{types-BGWAKixQ.d.ts → types-CMdBdNgA.d.ts} +3 -56
  42. package/dist/processor.browser.cjs +1 -1
  43. package/dist/processor.browser.d.cts +2 -1
  44. package/dist/processor.browser.d.mts +2 -1
  45. package/dist/processor.browser.d.ts +2 -1
  46. package/dist/processor.browser.mjs +1 -1
  47. package/dist/processor.server.cjs +1 -1
  48. package/dist/processor.server.d.cts +2 -1
  49. package/dist/processor.server.d.mts +2 -1
  50. package/dist/processor.server.d.ts +2 -1
  51. package/dist/processor.server.mjs +1 -1
  52. package/dist/reporter.browser.cjs +1 -1
  53. package/dist/reporter.browser.d.cts +3 -2
  54. package/dist/reporter.browser.d.mts +3 -2
  55. package/dist/reporter.browser.d.ts +3 -2
  56. package/dist/reporter.browser.mjs +1 -1
  57. package/dist/reporter.server.cjs +1 -1
  58. package/dist/reporter.server.d.cts +5 -3
  59. package/dist/reporter.server.d.mts +5 -3
  60. package/dist/reporter.server.d.ts +5 -3
  61. package/dist/reporter.server.mjs +1 -1
  62. package/package.json +45 -44
  63. package/dist/packem_shared/JsonFileReporter-BnxuhH4o.cjs +0 -2
  64. package/dist/packem_shared/JsonFileReporter-Og8hyKfg.mjs +0 -4
  65. package/dist/packem_shared/JsonReporter-DRGJgjAO.mjs +0 -2
  66. package/dist/packem_shared/PrettyReporter-BRFlkORc.mjs +0 -5
  67. package/dist/packem_shared/PrettyReporter-BuKPqA5T.cjs +0 -5
  68. package/dist/packem_shared/PrettyReporter-DDsX0vlT.mjs +0 -13
  69. package/dist/packem_shared/PrettyReporter-Dx1OfdGj.cjs +0 -13
  70. package/dist/packem_shared/SimpleReporter-BV0taliz.mjs +0 -11
  71. package/dist/packem_shared/SimpleReporter-YuzZZabX.cjs +0 -11
  72. package/dist/packem_shared/format-label-CKRxcWAQ.cjs +0 -8
  73. package/dist/packem_shared/format-label-D2xt_3df.mjs +0 -8
  74. package/dist/packem_shared/pail.browser-DC6QwLTj.cjs +0 -1
  75. package/dist/packem_shared/pail.browser-DkNIDzgk.mjs +0 -1
@@ -0,0 +1,11 @@
1
+ "use strict";var F=Object.defineProperty;var g=(s,e)=>F(s,"name",{value:e,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const L=require("node:process"),r=require("@visulima/colorize"),b=require("@visulima/error"),M=require("@visulima/inspector"),l=require("./format-label-BkRisUmO.cjs"),I=require("./constants-BFrKdBPm.cjs"),T=require("./abstract-pretty-reporter-C2vDqWAQ.cjs"),P=require("./get-longest-label-7LkwzzHo.cjs"),V=require("./write-stream-Dl-usQqh.cjs"),W=g(s=>s&&typeof s=="object"&&"default"in s?s.default:s,"_interopDefaultCompat"),D=W(r);var z=Object.defineProperty,k=g((s,e)=>z(s,"name",{value:e,configurable:!0}),"L");const v=k(s=>!/[\\/]pail[\\/]dist/.test(s),"pailFileFilter");class B extends T.A{static{g(this,"SimpleReporter")}static{k(this,"SimpleReporter")}#r;#t;#s;#o=!1;#i;#e;constructor(e={}){const{error:u,inspect:n,...o}=e;super({uppercase:{label:!0,...o.uppercase},...o}),this.#i={...l.u,indent:void 0,...n},this.#e={...u,color:{fileLine:r.green,hint:r.cyan,marker:r.red,message:r.red,method:r.greenBright,title:r.red}},this.#r=L.stdout,this.#t=L.stderr}setStdout(e){this.#r=e}setStderr(e){this.#t=e}setInteractiveManager(e){this.#s=e}setIsInteractive(e){this.#o=e}log(e){this._log(this._formatMessage(e),e.type.level)}_formatMessage(e){const{columns:u}=l.O();let n=u;typeof this._styles.messageLength=="number"&&(n=this._styles.messageLength);const{badge:o,context:x,date:p,error:E,file:c,groups:f,label:y,message:d,prefix:m,repeated:S,scope:_,suffix:$,traceError:j,type:R}=e,{color:q}=this._loggerTypes[R.name],w=q?D[q]:r.white,a=f.map(()=>" ").join(""),t=[];if(f.length>0&&t.push(`${a+r.grey(`[${f.at(-1)}]`)} `),p&&t.push(`${r.grey(this._styles.dateFormatter(typeof p=="string"?new Date(p):p))} `),o)t.push(r.bold(w(o)));else{const i=T.s(this._loggerTypes);i.length>0&&t.push(r.grey(" ".repeat(i.length)))}const C=P.s(this._loggerTypes);y?t.push(`${r.bold(w(l.n(y,this._styles)))} `," ".repeat(C.length-l.m(y))):t.push(" ".repeat(C.length+1)),S&&t.push(`${r.bgGrey.white(`[${S}x]`)} `),Array.isArray(_)&&_.length>0&&t.push(`${r.grey(`[${_.join(" > ")}]`)} `),m&&t.push(`${r.grey(`[${this._styles.underline.prefix?r.underline(m):m}]`)} `);const O=l.m(t.join(""));if(d!==I.E){const i=typeof d=="string"?d:M.inspect(d,this.#i);t.push(a+l.T(i,n-3,{hard:!0,trim:!1,wordWrap:!0}))}if(x){let i=!1;t.push(...x.map(h=>{if(h instanceof Error)return i=!0,`
2
+
3
+ ${b.renderError(h,{...this.#e,filterStacktrace:v,prefix:a})}`;if(typeof h=="object")return` ${M.inspect(h,this.#i)}`;const A=(i?`
4
+
5
+ `:" ")+h;return i=!1,A}))}if(E&&t.push(b.renderError(E,{...this.#e,filterStacktrace:v,prefix:a})),j&&t.push(`
6
+
7
+ ${b.renderError(j,{...this.#e,filterStacktrace:v,hideErrorCauseCodeView:!0,hideErrorCodeView:!0,hideErrorErrorsCodeView:!0,hideMessage:!0,prefix:a})}`),$&&t.push(` ${a}${r.grey(this._styles.underline.suffix?r.underline($):$)}`),c){const i=c.name+(c.line?`:${c.line}`:"");t.push(`
8
+ `,r.grey("Caller: ")," ".repeat(O-8),i,`
9
+ `)}return t.join("")}_log(e,u){const n=["error","trace","warn"].includes(u)?"stderr":"stdout",o=n==="stderr"?this.#t:this.#r;this.#o&&this.#s!==void 0&&o.isTTY?this.#s.update(n,e.split(`
10
+ `),0):V.n(`${e}
11
+ `,o)}}exports.SimpleReporter=B;
@@ -1 +1 @@
1
- var g=Object.defineProperty;var n=(o,r)=>g(o,"name",{value:r,configurable:!0});import{serializeError as f}from"@visulima/error/error";import{E as p}from"./constants-BMS51p6Y.mjs";var h=Object.defineProperty,u=n((o,r)=>h(o,"name",{value:r,configurable:!0}),"p");class v{static{n(this,"AbstractJsonReporter")}static{u(this,"AbstractJsonReporter")}stringify;errorOptions;constructor(r={}){this.errorOptions=r.error??{}}setStringify(r){this.stringify=r}log(r){const{context:a,error:l,file:t,message:c,type:m,...e}=r;if(e.label&&(e.label=e.label.trim()),t&&(e.file=t.name+":"+t.line+(t.column?":"+t.column:"")),c===p?e.message=void 0:e.message=c,l&&(e.error=f(l,this.errorOptions)),a){const i=[];for(const s of a)s!==p&&(s instanceof Error?i.push(f(s,this.errorOptions)):i.push(s));e.context=i}this._log(this.stringify(e),m.level)}}export{v as A};
1
+ var g=Object.defineProperty;var n=(o,r)=>g(o,"name",{value:r,configurable:!0});import{serializeError as f}from"@visulima/error/error";import{E as p}from"./constants-BMS51p6Y.mjs";var h=Object.defineProperty,u=n((o,r)=>h(o,"name",{value:r,configurable:!0}),"p");class v{static{n(this,"AbstractJsonReporter")}static{u(this,"AbstractJsonReporter")}stringify;errorOptions;constructor(r={}){this.errorOptions=r.error??{}}setStringify(r){this.stringify=r}log(r){const{context:a,error:l,file:t,message:c,type:m,...e}=r;if(e.label&&(e.label=e.label.trim()),t&&(e.file=`${t.name}:${t.line}${t.column?`:${t.column}`:""}`),c===p?e.message=void 0:e.message=c,l&&(e.error=f(l,this.errorOptions)),a){const i=[];for(const s of a)s!==p&&(s instanceof Error?i.push(f(s,this.errorOptions)):i.push(s));e.context=i}this._log(this.stringify(e),m.level)}}export{v as A};
@@ -1 +1 @@
1
- "use strict";var u=Object.defineProperty;var n=(s,r)=>u(s,"name",{value:r,configurable:!0});const f=require("@visulima/error/error"),g=require("./constants-BFrKdBPm.cjs");var h=Object.defineProperty,m=n((s,r)=>h(s,"name",{value:r,configurable:!0}),"p");class b{static{n(this,"AbstractJsonReporter")}static{m(this,"AbstractJsonReporter")}stringify;errorOptions;constructor(r={}){this.errorOptions=r.error??{}}setStringify(r){this.stringify=r}log(r){const{context:a,error:l,file:t,message:c,type:p,...e}=r;if(e.label&&(e.label=e.label.trim()),t&&(e.file=t.name+":"+t.line+(t.column?":"+t.column:"")),c===g.E?e.message=void 0:e.message=c,l&&(e.error=f.serializeError(l,this.errorOptions)),a){const i=[];for(const o of a)o!==g.E&&(o instanceof Error?i.push(f.serializeError(o,this.errorOptions)):i.push(o));e.context=i}this._log(this.stringify(e),p.level)}}exports.A=b;
1
+ "use strict";var u=Object.defineProperty;var n=(s,r)=>u(s,"name",{value:r,configurable:!0});const f=require("@visulima/error/error"),g=require("./constants-BFrKdBPm.cjs");var h=Object.defineProperty,m=n((s,r)=>h(s,"name",{value:r,configurable:!0}),"p");class b{static{n(this,"AbstractJsonReporter")}static{m(this,"AbstractJsonReporter")}stringify;errorOptions;constructor(r={}){this.errorOptions=r.error??{}}setStringify(r){this.stringify=r}log(r){const{context:a,error:l,file:t,message:c,type:p,...e}=r;if(e.label&&(e.label=e.label.trim()),t&&(e.file=`${t.name}:${t.line}${t.column?`:${t.column}`:""}`),c===g.E?e.message=void 0:e.message=c,l&&(e.error=f.serializeError(l,this.errorOptions)),a){const i=[];for(const o of a)o!==g.E&&(o instanceof Error?i.push(f.serializeError(o,this.errorOptions)):i.push(o));e.context=i}this._log(this.stringify(e),p.level)}}exports.A=b;
@@ -1,5 +1,6 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { h as StringifyAwareReporter, g as ReadonlyMeta, e as LiteralUnion, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-BGWAKixQ.cjs';
2
+ import { LiteralUnion } from 'type-fest';
3
+ import { g as StringifyAwareReporter, f as ReadonlyMeta, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-CMdBdNgA.cjs';
3
4
 
4
5
  type AbstractJsonReporterOptions = {
5
6
  error: Partial<{
@@ -40,4 +41,5 @@ type PrettyStyleOptions = {
40
41
  };
41
42
  };
42
43
 
43
- export { AbstractJsonReporter as A, type PrettyStyleOptions as P, type AbstractJsonReporterOptions as a, AbstractPrettyReporter as b };
44
+ export { AbstractJsonReporter as A, AbstractPrettyReporter as b };
45
+ export type { PrettyStyleOptions as P, AbstractJsonReporterOptions as a };
@@ -1,5 +1,6 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { h as StringifyAwareReporter, g as ReadonlyMeta, e as LiteralUnion, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-BGWAKixQ.mjs';
2
+ import { LiteralUnion } from 'type-fest';
3
+ import { g as StringifyAwareReporter, f as ReadonlyMeta, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-CMdBdNgA.js';
3
4
 
4
5
  type AbstractJsonReporterOptions = {
5
6
  error: Partial<{
@@ -40,4 +41,5 @@ type PrettyStyleOptions = {
40
41
  };
41
42
  };
42
43
 
43
- export { AbstractJsonReporter as A, type PrettyStyleOptions as P, type AbstractJsonReporterOptions as a, AbstractPrettyReporter as b };
44
+ export { AbstractJsonReporter as A, AbstractPrettyReporter as b };
45
+ export type { PrettyStyleOptions as P, AbstractJsonReporterOptions as a };
@@ -1,5 +1,6 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { h as StringifyAwareReporter, g as ReadonlyMeta, e as LiteralUnion, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-BGWAKixQ.js';
2
+ import { LiteralUnion } from 'type-fest';
3
+ import { g as StringifyAwareReporter, f as ReadonlyMeta, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-CMdBdNgA.mjs';
3
4
 
4
5
  type AbstractJsonReporterOptions = {
5
6
  error: Partial<{
@@ -40,4 +41,5 @@ type PrettyStyleOptions = {
40
41
  };
41
42
  };
42
43
 
43
- export { AbstractJsonReporter as A, type PrettyStyleOptions as P, type AbstractJsonReporterOptions as a, AbstractPrettyReporter as b };
44
+ export { AbstractJsonReporter as A, AbstractPrettyReporter as b };
45
+ export type { PrettyStyleOptions as P, AbstractJsonReporterOptions as a };
@@ -0,0 +1,8 @@
1
+ var ED=Object.defineProperty;var r=(D,u)=>ED(D,"name",{value:u,configurable:!0});import{createRequire as FD}from"node:module";import{grey as BD,green as k,cyan as oD,red as sD,yellow as j,bold as V,magenta as aD,underline as iD}from"@visulima/colorize";const rD=FD(import.meta.url),g=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,M=r(D=>{if(typeof g<"u"&&g.versions&&g.versions.node){const[u,e]=g.versions.node.split(".").map(Number);if(u>22||u===22&&e>=3||u===20&&e>=16)return g.getBuiltinModule(D)}return rD(D)},"__cjs_getBuiltinModule"),d=g,{execFileSync:nD}=M("node:child_process"),h=M("node:fs"),tD=M("node:tty");var lD=Object.defineProperty,A=r((D,u)=>lD(D,"name",{value:u,configurable:!0}),"e$2");const H=80,Z=24,T=A((D,u,{shell:e,env:C}={})=>nD(D,u,{encoding:"utf8",stdio:["ignore","pipe","ignore"],timeout:500,shell:e,env:C}).trim(),"exec"),v=A((D,u)=>({columns:Number.parseInt(D,10),rows:Number.parseInt(u,10)}),"create"),J=A((D,u)=>{const{columns:e,rows:C}=v(D,u);if(!(Number.isNaN(e)||Number.isNaN(C))&&!(e===H&&C===Z))return{columns:e,rows:C}},"createIfNotDefault");function cD(){const{env:D,stdout:u,stderr:e}=d;if(u?.columns&&u?.rows)return v(u.columns,u.rows);if(e?.columns&&e?.rows)return v(e.columns,e.rows);if(D.COLUMNS&&D.LINES)return v(D.COLUMNS,D.LINES);const C={columns:H,rows:Z};return d.platform==="win32"?O()??C:d.platform==="darwin"?z()??O()??C:z()??O()??AD()??C}r(cD,"O");A(cD,"terminalSize");const z=A(()=>{try{const D=d.platform==="darwin"?h.constants.O_EVTONLY|h.constants.O_NONBLOCK:h.constants.O_NONBLOCK,{columns:u,rows:e}=tD.WriteStream(h.openSync("/dev/tty",D));return{columns:u,rows:e}}catch{}},"devTty"),O=A(()=>{try{const D=T("tput",["cols"],{env:{TERM:"dumb",...d.env}}),u=T("tput",["lines"],{env:{TERM:"dumb",...d.env}});if(D&&u)return J(D,u)}catch{}},"tput"),AD=A(()=>{try{const D=T("resize",["-u"]).match(/\d+/g);if(D.length===2)return J(D[0],D[1])}catch{}},"resize");var fD=Object.defineProperty,gD=r((D,u)=>fD(D,"name",{value:u,configurable:!0}),"e$1");function Q({onlyFirst:D=!1}={}){const u="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(u,D?void 0:"g")}r(Q,"t$2");gD(Q,"ansiRegex");var dD=Object.defineProperty,mD=r((D,u)=>dD(D,"name",{value:u,configurable:!0}),"r$5");const bD=Q();function y(D){if(typeof D!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof D}\``);return D.replace(bD,"")}r(y,"f$2");mD(y,"stripAnsi");var pD=Object.defineProperty,w=r((D,u)=>pD(D,"name",{value:u,configurable:!0}),"E$1");function S(D){return D===161||D===164||D===167||D===168||D===170||D===173||D===174||D>=176&&D<=180||D>=182&&D<=186||D>=188&&D<=191||D===198||D===208||D===215||D===216||D>=222&&D<=225||D===230||D>=232&&D<=234||D===236||D===237||D===240||D===242||D===243||D>=247&&D<=250||D===252||D===254||D===257||D===273||D===275||D===283||D===294||D===295||D===299||D>=305&&D<=307||D===312||D>=319&&D<=322||D===324||D>=328&&D<=331||D===333||D===338||D===339||D===358||D===359||D===363||D===462||D===464||D===466||D===468||D===470||D===472||D===474||D===476||D===593||D===609||D===708||D===711||D>=713&&D<=715||D===717||D===720||D>=728&&D<=731||D===733||D===735||D>=768&&D<=879||D>=913&&D<=929||D>=931&&D<=937||D>=945&&D<=961||D>=963&&D<=969||D===1025||D>=1040&&D<=1103||D===1105||D===8208||D>=8211&&D<=8214||D===8216||D===8217||D===8220||D===8221||D>=8224&&D<=8226||D>=8228&&D<=8231||D===8240||D===8242||D===8243||D===8245||D===8251||D===8254||D===8308||D===8319||D>=8321&&D<=8324||D===8364||D===8451||D===8453||D===8457||D===8467||D===8470||D===8481||D===8482||D===8486||D===8491||D===8531||D===8532||D>=8539&&D<=8542||D>=8544&&D<=8555||D>=8560&&D<=8569||D===8585||D>=8592&&D<=8601||D===8632||D===8633||D===8658||D===8660||D===8679||D===8704||D===8706||D===8707||D===8711||D===8712||D===8715||D===8719||D===8721||D===8725||D===8730||D>=8733&&D<=8736||D===8739||D===8741||D>=8743&&D<=8748||D===8750||D>=8756&&D<=8759||D===8764||D===8765||D===8776||D===8780||D===8786||D===8800||D===8801||D>=8804&&D<=8807||D===8810||D===8811||D===8814||D===8815||D===8834||D===8835||D===8838||D===8839||D===8853||D===8857||D===8869||D===8895||D===8978||D>=9312&&D<=9449||D>=9451&&D<=9547||D>=9552&&D<=9587||D>=9600&&D<=9615||D>=9618&&D<=9621||D===9632||D===9633||D>=9635&&D<=9641||D===9650||D===9651||D===9654||D===9655||D===9660||D===9661||D===9664||D===9665||D>=9670&&D<=9672||D===9675||D>=9678&&D<=9681||D>=9698&&D<=9701||D===9711||D===9733||D===9734||D===9737||D===9742||D===9743||D===9756||D===9758||D===9792||D===9794||D===9824||D===9825||D>=9827&&D<=9829||D>=9831&&D<=9834||D===9836||D===9837||D===9839||D===9886||D===9887||D===9919||D>=9926&&D<=9933||D>=9935&&D<=9939||D>=9941&&D<=9953||D===9955||D===9960||D===9961||D>=9963&&D<=9969||D===9972||D>=9974&&D<=9977||D===9979||D===9980||D===9982||D===9983||D===10045||D>=10102&&D<=10111||D>=11094&&D<=11097||D>=12872&&D<=12879||D>=57344&&D<=63743||D>=65024&&D<=65039||D===65533||D>=127232&&D<=127242||D>=127248&&D<=127277||D>=127280&&D<=127337||D>=127344&&D<=127373||D===127375||D===127376||D>=127387&&D<=127404||D>=917760&&D<=917999||D>=983040&&D<=1048573||D>=1048576&&D<=1114109}r(S,"A$1");w(S,"isAmbiguous");function _(D){return D===12288||D>=65281&&D<=65376||D>=65504&&D<=65510}r(_,"D$1");w(_,"isFullWidth");function P(D){return D>=4352&&D<=4447||D===8986||D===8987||D===9001||D===9002||D>=9193&&D<=9196||D===9200||D===9203||D===9725||D===9726||D===9748||D===9749||D>=9776&&D<=9783||D>=9800&&D<=9811||D===9855||D>=9866&&D<=9871||D===9875||D===9889||D===9898||D===9899||D===9917||D===9918||D===9924||D===9925||D===9934||D===9940||D===9962||D===9970||D===9971||D===9973||D===9978||D===9981||D===9989||D===9994||D===9995||D===10024||D===10060||D===10062||D>=10067&&D<=10069||D===10071||D>=10133&&D<=10135||D===10160||D===10175||D===11035||D===11036||D===11088||D===11093||D>=11904&&D<=11929||D>=11931&&D<=12019||D>=12032&&D<=12245||D>=12272&&D<=12287||D>=12289&&D<=12350||D>=12353&&D<=12438||D>=12441&&D<=12543||D>=12549&&D<=12591||D>=12593&&D<=12686||D>=12688&&D<=12773||D>=12783&&D<=12830||D>=12832&&D<=12871||D>=12880&&D<=42124||D>=42128&&D<=42182||D>=43360&&D<=43388||D>=44032&&D<=55203||D>=63744&&D<=64255||D>=65040&&D<=65049||D>=65072&&D<=65106||D>=65108&&D<=65126||D>=65128&&D<=65131||D>=94176&&D<=94180||D>=94192&&D<=94198||D>=94208&&D<=101589||D>=101631&&D<=101662||D>=101760&&D<=101874||D>=110576&&D<=110579||D>=110581&&D<=110587||D===110589||D===110590||D>=110592&&D<=110882||D===110898||D>=110928&&D<=110930||D===110933||D>=110948&&D<=110951||D>=110960&&D<=111355||D>=119552&&D<=119638||D>=119648&&D<=119670||D===126980||D===127183||D===127374||D>=127377&&D<=127386||D>=127488&&D<=127490||D>=127504&&D<=127547||D>=127552&&D<=127560||D===127568||D===127569||D>=127584&&D<=127589||D>=127744&&D<=127776||D>=127789&&D<=127797||D>=127799&&D<=127868||D>=127870&&D<=127891||D>=127904&&D<=127946||D>=127951&&D<=127955||D>=127968&&D<=127984||D===127988||D>=127992&&D<=128062||D===128064||D>=128066&&D<=128252||D>=128255&&D<=128317||D>=128331&&D<=128334||D>=128336&&D<=128359||D===128378||D===128405||D===128406||D===128420||D>=128507&&D<=128591||D>=128640&&D<=128709||D===128716||D>=128720&&D<=128722||D>=128725&&D<=128728||D>=128732&&D<=128735||D===128747||D===128748||D>=128756&&D<=128764||D>=128992&&D<=129003||D===129008||D>=129292&&D<=129338||D>=129340&&D<=129349||D>=129351&&D<=129535||D>=129648&&D<=129660||D>=129664&&D<=129674||D>=129678&&D<=129734||D===129736||D>=129741&&D<=129756||D>=129759&&D<=129770||D>=129775&&D<=129784||D>=131072&&D<=196605||D>=196608&&D<=262141}r(P,"C$2");w(P,"isWide");function X(D){return S(D)?"ambiguous":_(D)?"fullwidth":D===8361||D>=65377&&D<=65470||D>=65474&&D<=65479||D>=65482&&D<=65487||D>=65490&&D<=65495||D>=65498&&D<=65500||D>=65512&&D<=65518?"halfwidth":D>=32&&D<=126||D===162||D===163||D===165||D===166||D===172||D===175||D>=10214&&D<=10221||D===10629||D===10630?"narrow":P(D)?"wide":"neutral"}r(X,"t$1");w(X,"getCategory");var hD=Object.defineProperty,W=r((D,u)=>hD(D,"name",{value:u,configurable:!0}),"e");function R(D){if(!Number.isSafeInteger(D))throw new TypeError(`Expected a code point, got \`${typeof D}\`.`)}r(R,"r$3");W(R,"validate");function vD(D){return R(D),X(D)}r(vD,"eastAsianWidthType");W(vD,"eastAsianWidthType");function DD(D,{ambiguousAsWide:u=!1}={}){return R(D),_(D)||P(D)||u&&S(D)?2:1}r(DD,"eastAsianWidth");W(DD,"eastAsianWidth");var $D=Object.defineProperty,yD=r((D,u)=>$D(D,"name",{value:u,configurable:!0}),"D");const wD=yD(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"default");var xD=Object.defineProperty,jD=r((D,u)=>xD(D,"name",{value:u,configurable:!0}),"s");const OD=new Intl.Segmenter,ND=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function m(D,u={}){if(typeof D!="string"||D.length===0)return 0;const{ambiguousIsNarrow:e=!0,countAnsiEscapeCodes:C=!1}=u;if(C||(D=y(D)),D.length===0)return 0;let F=0;const B={ambiguousAsWide:!e};for(const{segment:t}of OD.segment(D)){const E=t.codePointAt(0);if(!(E<=31||E>=127&&E<=159)&&!(E>=8203&&E<=8207||E===65279)&&!(E>=768&&E<=879||E>=6832&&E<=6911||E>=7616&&E<=7679||E>=8400&&E<=8447||E>=65056&&E<=65071)&&!(E>=55296&&E<=57343)&&!(E>=65024&&E<=65039)&&!ND.test(t)){if(wD().test(t)){F+=2;continue}F+=DD(E,B)}}return F}r(m,"d");jD(m,"stringWidth");var TD=Object.defineProperty,c=r((D,u)=>TD(D,"name",{value:u,configurable:!0}),"l$2");const q=c((D=0)=>u=>`\x1B[${u+D}m`,"wrapAnsi16"),G=c((D=0)=>u=>`\x1B[${38+D};5;${u}m`,"wrapAnsi256"),U=c((D=0)=>(u,e,C)=>`\x1B[${38+D};2;${u};${e};${C}m`,"wrapAnsi16m"),n={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};function uD(){const D=new Map;for(const[u,e]of Object.entries(n)){for(const[C,F]of Object.entries(e))n[C]={open:`\x1B[${F[0]}m`,close:`\x1B[${F[1]}m`},e[C]=n[C],D.set(F[0],F[1]);Object.defineProperty(n,u,{value:e,enumerable:!1})}return Object.defineProperty(n,"codes",{value:D,enumerable:!1}),n.color.close="\x1B[39m",n.bgColor.close="\x1B[49m",n.color.ansi=q(),n.color.ansi256=G(),n.color.ansi16m=U(),n.bgColor.ansi=q(10),n.bgColor.ansi256=G(10),n.bgColor.ansi16m=U(10),Object.defineProperties(n,{rgbToAnsi256:{value(u,e,C){return u===e&&e===C?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(e/255*5)+Math.round(C/255*5)},enumerable:!1},hexToRgb:{value(u){const e=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!e)return[0,0,0];let[C]=e;C.length===3&&(C=[...C].map(B=>B+B).join(""));const F=Number.parseInt(C,16);return[F>>16&255,F>>8&255,F&255]},enumerable:!1},hexToAnsi256:{value:c(u=>n.rgbToAnsi256(...n.hexToRgb(u)),"value"),enumerable:!1},ansi256ToAnsi:{value(u){if(u<8)return 30+u;if(u<16)return 90+(u-8);let e,C,F;if(u>=232)e=((u-232)*10+8)/255,C=e,F=e;else{u-=16;const E=u%36;e=Math.floor(u/36)/5,C=Math.floor(E/6)/5,F=E%6/5}const B=Math.max(e,C,F)*2;if(B===0)return 30;let t=30+(Math.round(F)<<2|Math.round(C)<<1|Math.round(e));return B===2&&(t+=60),t},enumerable:!1},rgbToAnsi:{value:c((u,e,C)=>n.ansi256ToAnsi(n.rgbToAnsi256(u,e,C)),"value"),enumerable:!1},hexToAnsi:{value:c(u=>n.ansi256ToAnsi(n.hexToAnsi256(u)),"value"),enumerable:!1}}),n}r(uD,"m$1");c(uD,"assembleStyles");const MD=uD();var SD=Object.defineProperty,f=r((D,u)=>SD(D,"name",{value:u,configurable:!0}),"h");const x=new Set(["\x1B","›"]),_D=39,I="\x07",eD="[",PD="]",CD="m",$=`${PD}8;;`,Y=f(D=>`${x.values().next().value}${eD}${D}${CD}`,"wrapAnsiCode"),K=f(D=>`${x.values().next().value}${$}${D}${I}`,"wrapAnsiHyperlink"),WD=f(D=>D.split(" ").map(u=>m(u)),"wordLengths"),N=f((D,u,e)=>{const C=[...u];let F=!1,B=!1,t=m(y(D.at(-1)));for(const[E,a]of C.entries()){const b=m(a);if(t+b<=e?D[D.length-1]+=a:(D.push(a),t=0),x.has(a)&&(F=!0,B=C.slice(E+1,E+1+$.length).join("")===$),F){B?a===I&&(F=!1,B=!1):a===CD&&(F=!1);continue}t+=b,t===e&&E<C.length-1&&(D.push(""),t=0)}!t&&D.at(-1).length>0&&D.length>1&&(D[D.length-2]+=D.pop())},"wrapWord"),RD=f(D=>{const u=D.split(" ");let e=u.length;for(;e>0&&!(m(u[e-1])>0);)e--;return e===u.length?D:u.slice(0,e).join(" ")+u.slice(e).join("")},"stringVisibleTrimSpacesRight"),ID=f((D,u,e={})=>{if(e.trim!==!1&&D.trim()==="")return"";let C="",F,B;const t=WD(D);let E=[""];for(const[s,i]of D.split(" ").entries()){e.trim!==!1&&(E[E.length-1]=E.at(-1).trimStart());let o=m(E.at(-1));if(s!==0&&(o>=u&&(e.wordWrap===!1||e.trim===!1)&&(E.push(""),o=0),(o>0||e.trim===!1)&&(E[E.length-1]+=" ",o++)),e.hard&&t[s]>u){const l=u-o,p=1+Math.floor((t[s]-l-1)/u);Math.floor((t[s]-1)/u)<p&&E.push(""),N(E,i,u);continue}if(o+t[s]>u&&o>0&&t[s]>0){if(e.wordWrap===!1&&o<u){N(E,i,u);continue}E.push("")}if(o+t[s]>u&&e.wordWrap===!1){N(E,i,u);continue}E[E.length-1]+=i}e.trim!==!1&&(E=E.map(s=>RD(s)));const a=E.join(`
2
+ `),b=[...a];let L=0;for(const[s,i]of b.entries()){if(C+=i,x.has(i)){const{groups:l}=new RegExp(`(?:\\${eD}(?<code>\\d+)m|\\${$}(?<uri>.*)${I})`).exec(a.slice(L))||{groups:{}};if(l.code!==void 0){const p=Number.parseFloat(l.code);F=p===_D?void 0:p}else l.uri!==void 0&&(B=l.uri.length===0?void 0:l.uri)}const o=MD.codes.get(Number(F));b[s+1]===`
3
+ `?(B&&(C+=K("")),F&&o&&(C+=Y(o))):i===`
4
+ `&&(F&&o&&(C+=Y(F)),B&&(C+=K(B))),L+=i.length}return C},"exec");function LD(D,u,e){return String(D).normalize().replaceAll(`\r
5
+ `,`
6
+ `).split(`
7
+ `).map(C=>ID(C,u,e)).join(`
8
+ `)}r(LD,"T");f(LD,"wrapAnsi");var kD=Object.defineProperty,zD=r((D,u)=>kD(D,"name",{value:u,configurable:!0}),"r");const qD=new Intl.Segmenter;function GD(D,{countAnsiEscapeCodes:u=!1}={}){if(D===""||(u||(D=y(D)),D===""))return 0;let e=0;for(const C of qD.segment(D))e++;return e}r(GD,"m");zD(GD,"stringLength");var UD=Object.defineProperty,YD=r((D,u)=>UD(D,"name",{value:u,configurable:!0}),"t");const QD={indent:2,quoteStyle:"single",stylize:YD((D,u)=>{const e={bigint:j,boolean:j,date:aD,null:V,number:j,regexp:sD,special:oD,string:k,symbol:k,undefined:BD};return e[u]===void 0?D:e[u](D)},"stylize")};var KD=Object.defineProperty,VD=r((D,u)=>KD(D,"name",{value:u,configurable:!0}),"o");const XD=VD((D,u)=>{let e=u.uppercase.label?D.toUpperCase():D;return e=u.underline.label?iD(e):e,u.bold.label&&(e=V(e)),e},"formatLabel");export{cD as O,LD as T,GD as m,XD as n,QD as u};
@@ -0,0 +1,8 @@
1
+ "use strict";var ED=Object.defineProperty;var r=(D,u)=>ED(D,"name",{value:u,configurable:!0});const FD=require("node:process"),rD=require("node:child_process"),tD=require("node:fs"),nD=require("node:tty"),a=require("@visulima/colorize"),T=r(D=>D&&typeof D=="object"&&"default"in D?D.default:D,"_interopDefaultCompat"),d=T(FD),h=T(tD),BD=T(nD);var oD=Object.defineProperty,f=r((D,u)=>oD(D,"name",{value:u,configurable:!0}),"e$2");const Y=80,K=24,N=f((D,u,{shell:C,env:e}={})=>rD.execFileSync(D,u,{encoding:"utf8",stdio:["ignore","pipe","ignore"],timeout:500,shell:C,env:e}).trim(),"exec"),v=f((D,u)=>({columns:Number.parseInt(D,10),rows:Number.parseInt(u,10)}),"create"),V=f((D,u)=>{const{columns:C,rows:e}=v(D,u);if(!(Number.isNaN(C)||Number.isNaN(e))&&!(C===Y&&e===K))return{columns:C,rows:e}},"createIfNotDefault");function H(){const{env:D,stdout:u,stderr:C}=d;if(u?.columns&&u?.rows)return v(u.columns,u.rows);if(C?.columns&&C?.rows)return v(C.columns,C.rows);if(D.COLUMNS&&D.LINES)return v(D.COLUMNS,D.LINES);const e={columns:Y,rows:K};return d.platform==="win32"?O()??e:d.platform==="darwin"?L()??O()??e:L()??O()??aD()??e}r(H,"O");f(H,"terminalSize");const L=f(()=>{try{const D=d.platform==="darwin"?h.constants.O_EVTONLY|h.constants.O_NONBLOCK:h.constants.O_NONBLOCK,{columns:u,rows:C}=BD.WriteStream(h.openSync("/dev/tty",D));return{columns:u,rows:C}}catch{}},"devTty"),O=f(()=>{try{const D=N("tput",["cols"],{env:{TERM:"dumb",...d.env}}),u=N("tput",["lines"],{env:{TERM:"dumb",...d.env}});if(D&&u)return V(D,u)}catch{}},"tput"),aD=f(()=>{try{const D=N("resize",["-u"]).match(/\d+/g);if(D.length===2)return V(D[0],D[1])}catch{}},"resize");var sD=Object.defineProperty,iD=r((D,u)=>sD(D,"name",{value:u,configurable:!0}),"e$1");function Z({onlyFirst:D=!1}={}){const u="(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";return new RegExp(u,D?void 0:"g")}r(Z,"t$2");iD(Z,"ansiRegex");var lD=Object.defineProperty,AD=r((D,u)=>lD(D,"name",{value:u,configurable:!0}),"r$5");const cD=Z();function y(D){if(typeof D!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof D}\``);return D.replace(cD,"")}r(y,"f$2");AD(y,"stripAnsi");var fD=Object.defineProperty,w=r((D,u)=>fD(D,"name",{value:u,configurable:!0}),"E$1");function S(D){return D===161||D===164||D===167||D===168||D===170||D===173||D===174||D>=176&&D<=180||D>=182&&D<=186||D>=188&&D<=191||D===198||D===208||D===215||D===216||D>=222&&D<=225||D===230||D>=232&&D<=234||D===236||D===237||D===240||D===242||D===243||D>=247&&D<=250||D===252||D===254||D===257||D===273||D===275||D===283||D===294||D===295||D===299||D>=305&&D<=307||D===312||D>=319&&D<=322||D===324||D>=328&&D<=331||D===333||D===338||D===339||D===358||D===359||D===363||D===462||D===464||D===466||D===468||D===470||D===472||D===474||D===476||D===593||D===609||D===708||D===711||D>=713&&D<=715||D===717||D===720||D>=728&&D<=731||D===733||D===735||D>=768&&D<=879||D>=913&&D<=929||D>=931&&D<=937||D>=945&&D<=961||D>=963&&D<=969||D===1025||D>=1040&&D<=1103||D===1105||D===8208||D>=8211&&D<=8214||D===8216||D===8217||D===8220||D===8221||D>=8224&&D<=8226||D>=8228&&D<=8231||D===8240||D===8242||D===8243||D===8245||D===8251||D===8254||D===8308||D===8319||D>=8321&&D<=8324||D===8364||D===8451||D===8453||D===8457||D===8467||D===8470||D===8481||D===8482||D===8486||D===8491||D===8531||D===8532||D>=8539&&D<=8542||D>=8544&&D<=8555||D>=8560&&D<=8569||D===8585||D>=8592&&D<=8601||D===8632||D===8633||D===8658||D===8660||D===8679||D===8704||D===8706||D===8707||D===8711||D===8712||D===8715||D===8719||D===8721||D===8725||D===8730||D>=8733&&D<=8736||D===8739||D===8741||D>=8743&&D<=8748||D===8750||D>=8756&&D<=8759||D===8764||D===8765||D===8776||D===8780||D===8786||D===8800||D===8801||D>=8804&&D<=8807||D===8810||D===8811||D===8814||D===8815||D===8834||D===8835||D===8838||D===8839||D===8853||D===8857||D===8869||D===8895||D===8978||D>=9312&&D<=9449||D>=9451&&D<=9547||D>=9552&&D<=9587||D>=9600&&D<=9615||D>=9618&&D<=9621||D===9632||D===9633||D>=9635&&D<=9641||D===9650||D===9651||D===9654||D===9655||D===9660||D===9661||D===9664||D===9665||D>=9670&&D<=9672||D===9675||D>=9678&&D<=9681||D>=9698&&D<=9701||D===9711||D===9733||D===9734||D===9737||D===9742||D===9743||D===9756||D===9758||D===9792||D===9794||D===9824||D===9825||D>=9827&&D<=9829||D>=9831&&D<=9834||D===9836||D===9837||D===9839||D===9886||D===9887||D===9919||D>=9926&&D<=9933||D>=9935&&D<=9939||D>=9941&&D<=9953||D===9955||D===9960||D===9961||D>=9963&&D<=9969||D===9972||D>=9974&&D<=9977||D===9979||D===9980||D===9982||D===9983||D===10045||D>=10102&&D<=10111||D>=11094&&D<=11097||D>=12872&&D<=12879||D>=57344&&D<=63743||D>=65024&&D<=65039||D===65533||D>=127232&&D<=127242||D>=127248&&D<=127277||D>=127280&&D<=127337||D>=127344&&D<=127373||D===127375||D===127376||D>=127387&&D<=127404||D>=917760&&D<=917999||D>=983040&&D<=1048573||D>=1048576&&D<=1114109}r(S,"A$1");w(S,"isAmbiguous");function M(D){return D===12288||D>=65281&&D<=65376||D>=65504&&D<=65510}r(M,"D$1");w(M,"isFullWidth");function P(D){return D>=4352&&D<=4447||D===8986||D===8987||D===9001||D===9002||D>=9193&&D<=9196||D===9200||D===9203||D===9725||D===9726||D===9748||D===9749||D>=9776&&D<=9783||D>=9800&&D<=9811||D===9855||D>=9866&&D<=9871||D===9875||D===9889||D===9898||D===9899||D===9917||D===9918||D===9924||D===9925||D===9934||D===9940||D===9962||D===9970||D===9971||D===9973||D===9978||D===9981||D===9989||D===9994||D===9995||D===10024||D===10060||D===10062||D>=10067&&D<=10069||D===10071||D>=10133&&D<=10135||D===10160||D===10175||D===11035||D===11036||D===11088||D===11093||D>=11904&&D<=11929||D>=11931&&D<=12019||D>=12032&&D<=12245||D>=12272&&D<=12287||D>=12289&&D<=12350||D>=12353&&D<=12438||D>=12441&&D<=12543||D>=12549&&D<=12591||D>=12593&&D<=12686||D>=12688&&D<=12773||D>=12783&&D<=12830||D>=12832&&D<=12871||D>=12880&&D<=42124||D>=42128&&D<=42182||D>=43360&&D<=43388||D>=44032&&D<=55203||D>=63744&&D<=64255||D>=65040&&D<=65049||D>=65072&&D<=65106||D>=65108&&D<=65126||D>=65128&&D<=65131||D>=94176&&D<=94180||D>=94192&&D<=94198||D>=94208&&D<=101589||D>=101631&&D<=101662||D>=101760&&D<=101874||D>=110576&&D<=110579||D>=110581&&D<=110587||D===110589||D===110590||D>=110592&&D<=110882||D===110898||D>=110928&&D<=110930||D===110933||D>=110948&&D<=110951||D>=110960&&D<=111355||D>=119552&&D<=119638||D>=119648&&D<=119670||D===126980||D===127183||D===127374||D>=127377&&D<=127386||D>=127488&&D<=127490||D>=127504&&D<=127547||D>=127552&&D<=127560||D===127568||D===127569||D>=127584&&D<=127589||D>=127744&&D<=127776||D>=127789&&D<=127797||D>=127799&&D<=127868||D>=127870&&D<=127891||D>=127904&&D<=127946||D>=127951&&D<=127955||D>=127968&&D<=127984||D===127988||D>=127992&&D<=128062||D===128064||D>=128066&&D<=128252||D>=128255&&D<=128317||D>=128331&&D<=128334||D>=128336&&D<=128359||D===128378||D===128405||D===128406||D===128420||D>=128507&&D<=128591||D>=128640&&D<=128709||D===128716||D>=128720&&D<=128722||D>=128725&&D<=128728||D>=128732&&D<=128735||D===128747||D===128748||D>=128756&&D<=128764||D>=128992&&D<=129003||D===129008||D>=129292&&D<=129338||D>=129340&&D<=129349||D>=129351&&D<=129535||D>=129648&&D<=129660||D>=129664&&D<=129674||D>=129678&&D<=129734||D===129736||D>=129741&&D<=129756||D>=129759&&D<=129770||D>=129775&&D<=129784||D>=131072&&D<=196605||D>=196608&&D<=262141}r(P,"C$2");w(P,"isWide");function J(D){return S(D)?"ambiguous":M(D)?"fullwidth":D===8361||D>=65377&&D<=65470||D>=65474&&D<=65479||D>=65482&&D<=65487||D>=65490&&D<=65495||D>=65498&&D<=65500||D>=65512&&D<=65518?"halfwidth":D>=32&&D<=126||D===162||D===163||D===165||D===166||D===172||D===175||D>=10214&&D<=10221||D===10629||D===10630?"narrow":P(D)?"wide":"neutral"}r(J,"t$1");w(J,"getCategory");var gD=Object.defineProperty,W=r((D,u)=>gD(D,"name",{value:u,configurable:!0}),"e");function _(D){if(!Number.isSafeInteger(D))throw new TypeError(`Expected a code point, got \`${typeof D}\`.`)}r(_,"r$3");W(_,"validate");function dD(D){return _(D),J(D)}r(dD,"eastAsianWidthType");W(dD,"eastAsianWidthType");function Q(D,{ambiguousAsWide:u=!1}={}){return _(D),M(D)||P(D)||u&&S(D)?2:1}r(Q,"eastAsianWidth");W(Q,"eastAsianWidth");var bD=Object.defineProperty,mD=r((D,u)=>bD(D,"name",{value:u,configurable:!0}),"D");const pD=mD(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"default");var hD=Object.defineProperty,vD=r((D,u)=>hD(D,"name",{value:u,configurable:!0}),"s");const $D=new Intl.Segmenter,yD=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function b(D,u={}){if(typeof D!="string"||D.length===0)return 0;const{ambiguousIsNarrow:C=!0,countAnsiEscapeCodes:e=!1}=u;if(e||(D=y(D)),D.length===0)return 0;let F=0;const B={ambiguousAsWide:!C};for(const{segment:n}of $D.segment(D)){const E=n.codePointAt(0);if(!(E<=31||E>=127&&E<=159)&&!(E>=8203&&E<=8207||E===65279)&&!(E>=768&&E<=879||E>=6832&&E<=6911||E>=7616&&E<=7679||E>=8400&&E<=8447||E>=65056&&E<=65071)&&!(E>=55296&&E<=57343)&&!(E>=65024&&E<=65039)&&!yD.test(n)){if(pD().test(n)){F+=2;continue}F+=Q(E,B)}}return F}r(b,"d");vD(b,"stringWidth");var wD=Object.defineProperty,c=r((D,u)=>wD(D,"name",{value:u,configurable:!0}),"l$2");const q=c((D=0)=>u=>`\x1B[${u+D}m`,"wrapAnsi16"),k=c((D=0)=>u=>`\x1B[${38+D};5;${u}m`,"wrapAnsi256"),z=c((D=0)=>(u,C,e)=>`\x1B[${38+D};2;${u};${C};${e}m`,"wrapAnsi16m"),t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],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],gray:[90,39],grey:[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],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};function X(){const D=new Map;for(const[u,C]of Object.entries(t)){for(const[e,F]of Object.entries(C))t[e]={open:`\x1B[${F[0]}m`,close:`\x1B[${F[1]}m`},C[e]=t[e],D.set(F[0],F[1]);Object.defineProperty(t,u,{value:C,enumerable:!1})}return Object.defineProperty(t,"codes",{value:D,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi=q(),t.color.ansi256=k(),t.color.ansi16m=z(),t.bgColor.ansi=q(10),t.bgColor.ansi256=k(10),t.bgColor.ansi16m=z(10),Object.defineProperties(t,{rgbToAnsi256:{value(u,C,e){return u===C&&C===e?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(C/255*5)+Math.round(e/255*5)},enumerable:!1},hexToRgb:{value(u){const C=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!C)return[0,0,0];let[e]=C;e.length===3&&(e=[...e].map(B=>B+B).join(""));const F=Number.parseInt(e,16);return[F>>16&255,F>>8&255,F&255]},enumerable:!1},hexToAnsi256:{value:c(u=>t.rgbToAnsi256(...t.hexToRgb(u)),"value"),enumerable:!1},ansi256ToAnsi:{value(u){if(u<8)return 30+u;if(u<16)return 90+(u-8);let C,e,F;if(u>=232)C=((u-232)*10+8)/255,e=C,F=C;else{u-=16;const E=u%36;C=Math.floor(u/36)/5,e=Math.floor(E/6)/5,F=E%6/5}const B=Math.max(C,e,F)*2;if(B===0)return 30;let n=30+(Math.round(F)<<2|Math.round(e)<<1|Math.round(C));return B===2&&(n+=60),n},enumerable:!1},rgbToAnsi:{value:c((u,C,e)=>t.ansi256ToAnsi(t.rgbToAnsi256(u,C,e)),"value"),enumerable:!1},hexToAnsi:{value:c(u=>t.ansi256ToAnsi(t.hexToAnsi256(u)),"value"),enumerable:!1}}),t}r(X,"m$1");c(X,"assembleStyles");const xD=X();var OD=Object.defineProperty,g=r((D,u)=>OD(D,"name",{value:u,configurable:!0}),"h");const x=new Set(["\x1B","›"]),jD=39,R="\x07",DD="[",ND="]",uD="m",$=`${ND}8;;`,G=g(D=>`${x.values().next().value}${DD}${D}${uD}`,"wrapAnsiCode"),U=g(D=>`${x.values().next().value}${$}${D}${R}`,"wrapAnsiHyperlink"),TD=g(D=>D.split(" ").map(u=>b(u)),"wordLengths"),j=g((D,u,C)=>{const e=[...u];let F=!1,B=!1,n=b(y(D.at(-1)));for(const[E,i]of e.entries()){const m=b(i);if(n+m<=C?D[D.length-1]+=i:(D.push(i),n=0),x.has(i)&&(F=!0,B=e.slice(E+1,E+1+$.length).join("")===$),F){B?i===R&&(F=!1,B=!1):i===uD&&(F=!1);continue}n+=m,n===C&&E<e.length-1&&(D.push(""),n=0)}!n&&D.at(-1).length>0&&D.length>1&&(D[D.length-2]+=D.pop())},"wrapWord"),SD=g(D=>{const u=D.split(" ");let C=u.length;for(;C>0&&!(b(u[C-1])>0);)C--;return C===u.length?D:u.slice(0,C).join(" ")+u.slice(C).join("")},"stringVisibleTrimSpacesRight"),MD=g((D,u,C={})=>{if(C.trim!==!1&&D.trim()==="")return"";let e="",F,B;const n=TD(D);let E=[""];for(const[s,l]of D.split(" ").entries()){C.trim!==!1&&(E[E.length-1]=E.at(-1).trimStart());let o=b(E.at(-1));if(s!==0&&(o>=u&&(C.wordWrap===!1||C.trim===!1)&&(E.push(""),o=0),(o>0||C.trim===!1)&&(E[E.length-1]+=" ",o++)),C.hard&&n[s]>u){const A=u-o,p=1+Math.floor((n[s]-A-1)/u);Math.floor((n[s]-1)/u)<p&&E.push(""),j(E,l,u);continue}if(o+n[s]>u&&o>0&&n[s]>0){if(C.wordWrap===!1&&o<u){j(E,l,u);continue}E.push("")}if(o+n[s]>u&&C.wordWrap===!1){j(E,l,u);continue}E[E.length-1]+=l}C.trim!==!1&&(E=E.map(s=>SD(s)));const i=E.join(`
2
+ `),m=[...i];let I=0;for(const[s,l]of m.entries()){if(e+=l,x.has(l)){const{groups:A}=new RegExp(`(?:\\${DD}(?<code>\\d+)m|\\${$}(?<uri>.*)${R})`).exec(i.slice(I))||{groups:{}};if(A.code!==void 0){const p=Number.parseFloat(A.code);F=p===jD?void 0:p}else A.uri!==void 0&&(B=A.uri.length===0?void 0:A.uri)}const o=xD.codes.get(Number(F));m[s+1]===`
3
+ `?(B&&(e+=U("")),F&&o&&(e+=G(o))):l===`
4
+ `&&(F&&o&&(e+=G(F)),B&&(e+=U(B))),I+=l.length}return e},"exec");function CD(D,u,C){return String(D).normalize().replaceAll(`\r
5
+ `,`
6
+ `).split(`
7
+ `).map(e=>MD(e,u,C)).join(`
8
+ `)}r(CD,"T");g(CD,"wrapAnsi");var PD=Object.defineProperty,WD=r((D,u)=>PD(D,"name",{value:u,configurable:!0}),"r");const _D=new Intl.Segmenter;function eD(D,{countAnsiEscapeCodes:u=!1}={}){if(D===""||(u||(D=y(D)),D===""))return 0;let C=0;for(const e of _D.segment(D))C++;return C}r(eD,"m");WD(eD,"stringLength");var RD=Object.defineProperty,ID=r((D,u)=>RD(D,"name",{value:u,configurable:!0}),"t");const LD={indent:2,quoteStyle:"single",stylize:ID((D,u)=>{const C={bigint:a.yellow,boolean:a.yellow,date:a.magenta,null:a.bold,number:a.yellow,regexp:a.red,special:a.cyan,string:a.green,symbol:a.green,undefined:a.grey};return C[u]===void 0?D:C[u](D)},"stylize")};var qD=Object.defineProperty,kD=r((D,u)=>qD(D,"name",{value:u,configurable:!0}),"o");const zD=kD((D,u)=>{let C=u.uppercase.label?D.toUpperCase():D;return C=u.underline.label?a.underline(C):C,u.bold.label&&(C=a.bold(C)),C},"formatLabel");exports.O=H;exports.T=CD;exports.m=eD;exports.n=zD;exports.u=LD;
@@ -1,5 +1,6 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { M as Meta, d as LoggerTypesConfig, e as LiteralUnion, a as DefaultLogTypes, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter, C as ConstructorOptions, b as LoggerFunction } from './types-BGWAKixQ.js';
2
+ import { LiteralUnion } from 'type-fest';
3
+ import { C as ConstructorOptions, M as Meta, d as LoggerTypesConfig, a as DefaultLogTypes, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter, b as LoggerFunction } from './types-CMdBdNgA.cjs';
3
4
 
4
5
  declare class PailBrowserImpl<T extends string = string, L extends string = string> {
5
6
  protected timersMap: Map<string, number>;
@@ -53,6 +54,7 @@ declare class PailBrowserImpl<T extends string = string, L extends string = stri
53
54
  private _buildMeta;
54
55
  private _logger;
55
56
  }
56
- type PailBrowserType<T extends string = string, L extends string = string> = PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction> & (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>);
57
+ type PailBrowserType<T extends string = string, L extends string = string> = (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>) & PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction>;
57
58
 
58
- export { type PailBrowserType as P, PailBrowserImpl as a };
59
+ export { PailBrowserImpl as a };
60
+ export type { PailBrowserType as P };
@@ -1,5 +1,6 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { M as Meta, d as LoggerTypesConfig, e as LiteralUnion, a as DefaultLogTypes, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter, C as ConstructorOptions, b as LoggerFunction } from './types-BGWAKixQ.cjs';
2
+ import { LiteralUnion } from 'type-fest';
3
+ import { C as ConstructorOptions, M as Meta, d as LoggerTypesConfig, a as DefaultLogTypes, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter, b as LoggerFunction } from './types-CMdBdNgA.mjs';
3
4
 
4
5
  declare class PailBrowserImpl<T extends string = string, L extends string = string> {
5
6
  protected timersMap: Map<string, number>;
@@ -53,6 +54,7 @@ declare class PailBrowserImpl<T extends string = string, L extends string = stri
53
54
  private _buildMeta;
54
55
  private _logger;
55
56
  }
56
- type PailBrowserType<T extends string = string, L extends string = string> = PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction> & (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>);
57
+ type PailBrowserType<T extends string = string, L extends string = string> = (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>) & PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction>;
57
58
 
58
- export { type PailBrowserType as P, PailBrowserImpl as a };
59
+ export { PailBrowserImpl as a };
60
+ export type { PailBrowserType as P };
@@ -1,5 +1,6 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { M as Meta, d as LoggerTypesConfig, e as LiteralUnion, a as DefaultLogTypes, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter, C as ConstructorOptions, b as LoggerFunction } from './types-BGWAKixQ.mjs';
2
+ import { LiteralUnion } from 'type-fest';
3
+ import { C as ConstructorOptions, M as Meta, d as LoggerTypesConfig, a as DefaultLogTypes, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter, b as LoggerFunction } from './types-CMdBdNgA.js';
3
4
 
4
5
  declare class PailBrowserImpl<T extends string = string, L extends string = string> {
5
6
  protected timersMap: Map<string, number>;
@@ -53,6 +54,7 @@ declare class PailBrowserImpl<T extends string = string, L extends string = stri
53
54
  private _buildMeta;
54
55
  private _logger;
55
56
  }
56
- type PailBrowserType<T extends string = string, L extends string = string> = PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction> & (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>);
57
+ type PailBrowserType<T extends string = string, L extends string = string> = (new <TC extends string = string, LC extends string = string>(options?: ConstructorOptions<TC, LC>) => PailBrowserType<TC, LC>) & PailBrowserImpl<T, L> & Record<DefaultLogTypes, LoggerFunction> & Record<T, LoggerFunction>;
57
58
 
58
- export { type PailBrowserType as P, PailBrowserImpl as a };
59
+ export { PailBrowserImpl as a };
60
+ export type { PailBrowserType as P };
@@ -0,0 +1 @@
1
+ var f=Object.defineProperty;var n=(o,e)=>f(o,"name",{value:e,configurable:!0});import{createRequire as d}from"node:module";import{L,a as y,E as b}from"./constants-BMS51p6Y.mjs";import{t as _}from"./write-console-log-BP95fgQZ.mjs";import{s as v}from"./get-longest-label-B0NrI-o2.mjs";const m=d(import.meta.url),N=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process;const{configure:u}=m("safe-stable-stringify");var w=Object.defineProperty,x=n((o,e)=>w(o,"name",{value:e,configurable:!0}),"t");class T{static{n(this,"i")}static{x(this,"RawReporter")}log(e){const{context:s=[],message:t,type:r}=e;_(r.level)(t,...s)}}var M=Object.defineProperty,E=n((o,e)=>M(o,"name",{value:e,configurable:!0}),"a");const $=E(o=>o===void 0?[]:Array.isArray(o)?o:[o],"arrayify");var j=Object.defineProperty,R=n((o,e)=>j(o,"name",{value:e,configurable:!0}),"g");const P=R((o,e)=>{const s={...o};return Object.keys(e).forEach(t=>{s[t]={...s[t],...e[t]}}),s},"mergeTypes");var S=Object.defineProperty,p=n((o,e)=>S(o,"name",{value:e,configurable:!0}),"l");class q{static{n(this,"PailBrowserImpl")}static{p(this,"PailBrowserImpl")}timersMap;countMap;seqTimers;lastLog;logLevels;disabled;scopeName;types;longestLabel;processors;generalLogLevel;reporters;throttle;throttleMin;stringify;groups;startTimerMessage;endTimerMessage;rawReporter;constructor(e){this.throttle=e.throttle??1e3,this.throttleMin=e.throttleMin??5,this.stringify=u({strict:!0}),this.startTimerMessage=e.messages?.timerStart??"Initialized timer...",this.endTimerMessage=e.messages?.timerEnd??"Timer run for:",this.types=P(L,e.types??{}),this.longestLabel=v(this.types),this.logLevels={...y,...e.logLevels},this.generalLogLevel=this._normalizeLogLevel(e.logLevel),this.reporters=new Set,this.processors=new Set,this.disabled=e.disabled??!1,this.scopeName=$(e.scope).filter(Boolean),this.timersMap=new Map,this.countMap=new Map,this.groups=[],this.seqTimers=new Set;for(const s in this.types)this[s]=this._logger.bind(this,s,!1);this.lastLog={},Array.isArray(e.reporters)&&this.registerReporters(e.reporters),this.rawReporter=this.extendReporter(e.rawReporter??new T),Array.isArray(e.processors)&&this.registerProcessors(e.processors)}wrapConsole(){for(const e in this.types)console[`__${e}`]||(console[`__${e}`]=console[e]),console[e]=this[e]}restoreConsole(){for(const e in this.types)console[`__${e}`]&&(console[e]=console[`__${e}`],delete console[`__${e}`])}wrapException(){process.on("uncaughtException",e=>{this.error(e)}),process.on("unhandledRejection",e=>{this.error(e)})}disable(){this.disabled=!0}enable(){this.disabled=!1}isEnabled(){return!this.disabled}scope(...e){if(e.length===0)throw new Error("No scope name was defined.");return this.scopeName=e.flat(),this}unscope(){this.scopeName=[]}time(e="default"){this.seqTimers.has(e)?this._logger("warn",!1,{message:`Timer '${e}' already exists`,prefix:e}):(this.seqTimers.add(e),this.timersMap.set(e,Date.now()),this._logger("start",!1,{message:this.startTimerMessage,prefix:e}))}timeLog(e,...s){if(!e&&this.seqTimers.size>0&&(e=[...this.seqTimers].pop()),e&&this.timersMap.has(e)){const t=Date.now()-this.timersMap.get(e);this._logger("info",!1,{context:s,message:t<1e3?`${t} ms`:`${(t/1e3).toFixed(2)} s`,prefix:e})}else this._logger("warn",!1,{context:s,message:"Timer not found",prefix:e})}timeEnd(e){if(!e&&this.seqTimers.size>0&&(e=[...this.seqTimers].pop()),e&&this.timersMap.has(e)){const s=Date.now()-this.timersMap.get(e);this.timersMap.delete(e),this._logger("stop",!1,{message:`${this.endTimerMessage} ${s<1e3?`${s} ms`:`${(s/1e3).toFixed(2)} s`}`,prefix:e})}else this._logger("warn",!1,{message:"Timer not found",prefix:e})}group(e="console.group"){globalThis.window===void 0?this.groups.push(e):console.group(e)}groupEnd(){globalThis.window===void 0?this.groups.pop():console.groupEnd()}count(e="default"){const s=this.countMap.get(e)??0;this.countMap.set(e,s+1),this._logger("log",!1,{message:`${e}: ${s+1}`,prefix:e})}countReset(e="default"){this.countMap.has(e)?this.countMap.delete(e):this._logger("warn",!1,{message:`Count for ${e} does not exist`,prefix:e})}clear(){console.clear()}raw(e,...s){this.disabled||this._logger("log",!0,{context:s,message:e})}extendReporter(e){return typeof e.setLoggerTypes=="function"&&e.setLoggerTypes(this.types),typeof e.setStringify=="function"&&e.setStringify(this.stringify),e}registerReporters(e){for(const s of e)this.reporters.add(this.extendReporter(s))}_report(e,s){if(s)this.rawReporter.log(Object.freeze(e));else for(const t of this.reporters)t.log(Object.freeze(e))}registerProcessors(e){for(const s of e)typeof s.setStringify=="function"&&s.setStringify(this.stringify),this.processors.add(s)}_normalizeLogLevel(e){return e&&this.logLevels[e]?e:"debug"}_buildMeta(e,s,...t){const r={badge:void 0,context:void 0,error:void 0,label:void 0,message:b,prefix:void 0,repeated:void 0,scope:void 0,suffix:void 0};if(r.type={level:s.logLevel,name:e},r.groups=this.groups,r.scope=this.scopeName,r.date=new Date,t.length===1&&typeof t[0]=="object"&&t[0]!==null)if(t[0]instanceof Error)r.error=t[0];else if("message"in t[0]){const{context:i,message:g,prefix:h,suffix:a}=t[0];i&&(r.context=i),h&&(r.prefix=h),a&&(r.suffix=a),r.message=g}else r.message=t[0];else t.length>1&&typeof t[0]=="string"?(r.message=t[0],r.context=t.slice(1)):r.message=t[0];return s.logLevel==="trace"&&(r.traceError=new Error("Trace")),s.badge&&(r.badge=s.badge),s.label&&(r.label=s.label),r}_logger(e,s,...t){if(this.disabled)return;const r=this._normalizeLogLevel(this.types[e].logLevel);if(this.logLevels[r]>=this.logLevels[this.generalLogLevel]){let i=this._buildMeta(e,this.types[e],...t);const g=p((a=!1)=>{const l=(this.lastLog.count||0)-this.throttleMin;if(this.lastLog.object&&l>0){const c={...this.lastLog.object};l>1&&(c.repeated=l),this._report(c,s),this.lastLog.count=1}if(a){for(const c of this.processors)i={...c.process(i)};this.lastLog.object=i,this._report(i,s)}},"resolveLog");clearTimeout(this.lastLog.timeout);const h=this.lastLog.time&&i.date?new Date(i.date).getTime()-this.lastLog.time.getTime():0;if(this.lastLog.time=new Date(i.date),h<this.throttle)try{const a=JSON.stringify([i.label,i.scope,i.type,i.message,i.prefix,i.suffix,i.context]),l=this.lastLog.serialized===a;if(this.lastLog.serialized=a,l&&(this.lastLog.count=(this.lastLog.count||0)+1,this.lastLog.count>this.throttleMin)){this.lastLog.timeout=setTimeout(g,this.throttle);return}}catch{}g(!0)}}}const C=q;export{C as P,q as a};
@@ -0,0 +1 @@
1
+ "use strict";var u=Object.defineProperty;var l=(o,e)=>u(o,"name",{value:e,configurable:!0});const m=require("safe-stable-stringify"),p=require("./constants-BFrKdBPm.cjs"),L=require("./write-console-log-3G15muTS.cjs"),y=require("./get-longest-label-7LkwzzHo.cjs");var b=Object.defineProperty,v=l((o,e)=>b(o,"name",{value:e,configurable:!0}),"t");class w{static{l(this,"i")}static{v(this,"RawReporter")}log(e){const{context:s=[],message:t,type:r}=e;L.t(r.level)(t,...s)}}var x=Object.defineProperty,M=l((o,e)=>x(o,"name",{value:e,configurable:!0}),"a");const T=M(o=>o===void 0?[]:Array.isArray(o)?o:[o],"arrayify");var _=Object.defineProperty,$=l((o,e)=>_(o,"name",{value:e,configurable:!0}),"g");const E=$((o,e)=>{const s={...o};return Object.keys(e).forEach(t=>{s[t]={...s[t],...e[t]}}),s},"mergeTypes");var R=Object.defineProperty,f=l((o,e)=>R(o,"name",{value:e,configurable:!0}),"l");class d{static{l(this,"PailBrowserImpl")}static{f(this,"PailBrowserImpl")}timersMap;countMap;seqTimers;lastLog;logLevels;disabled;scopeName;types;longestLabel;processors;generalLogLevel;reporters;throttle;throttleMin;stringify;groups;startTimerMessage;endTimerMessage;rawReporter;constructor(e){this.throttle=e.throttle??1e3,this.throttleMin=e.throttleMin??5,this.stringify=m.configure({strict:!0}),this.startTimerMessage=e.messages?.timerStart??"Initialized timer...",this.endTimerMessage=e.messages?.timerEnd??"Timer run for:",this.types=E(p.L,e.types??{}),this.longestLabel=y.s(this.types),this.logLevels={...p.a,...e.logLevels},this.generalLogLevel=this._normalizeLogLevel(e.logLevel),this.reporters=new Set,this.processors=new Set,this.disabled=e.disabled??!1,this.scopeName=T(e.scope).filter(Boolean),this.timersMap=new Map,this.countMap=new Map,this.groups=[],this.seqTimers=new Set;for(const s in this.types)this[s]=this._logger.bind(this,s,!1);this.lastLog={},Array.isArray(e.reporters)&&this.registerReporters(e.reporters),this.rawReporter=this.extendReporter(e.rawReporter??new w),Array.isArray(e.processors)&&this.registerProcessors(e.processors)}wrapConsole(){for(const e in this.types)console[`__${e}`]||(console[`__${e}`]=console[e]),console[e]=this[e]}restoreConsole(){for(const e in this.types)console[`__${e}`]&&(console[e]=console[`__${e}`],delete console[`__${e}`])}wrapException(){process.on("uncaughtException",e=>{this.error(e)}),process.on("unhandledRejection",e=>{this.error(e)})}disable(){this.disabled=!0}enable(){this.disabled=!1}isEnabled(){return!this.disabled}scope(...e){if(e.length===0)throw new Error("No scope name was defined.");return this.scopeName=e.flat(),this}unscope(){this.scopeName=[]}time(e="default"){this.seqTimers.has(e)?this._logger("warn",!1,{message:`Timer '${e}' already exists`,prefix:e}):(this.seqTimers.add(e),this.timersMap.set(e,Date.now()),this._logger("start",!1,{message:this.startTimerMessage,prefix:e}))}timeLog(e,...s){if(!e&&this.seqTimers.size>0&&(e=[...this.seqTimers].pop()),e&&this.timersMap.has(e)){const t=Date.now()-this.timersMap.get(e);this._logger("info",!1,{context:s,message:t<1e3?`${t} ms`:`${(t/1e3).toFixed(2)} s`,prefix:e})}else this._logger("warn",!1,{context:s,message:"Timer not found",prefix:e})}timeEnd(e){if(!e&&this.seqTimers.size>0&&(e=[...this.seqTimers].pop()),e&&this.timersMap.has(e)){const s=Date.now()-this.timersMap.get(e);this.timersMap.delete(e),this._logger("stop",!1,{message:`${this.endTimerMessage} ${s<1e3?`${s} ms`:`${(s/1e3).toFixed(2)} s`}`,prefix:e})}else this._logger("warn",!1,{message:"Timer not found",prefix:e})}group(e="console.group"){globalThis.window===void 0?this.groups.push(e):console.group(e)}groupEnd(){globalThis.window===void 0?this.groups.pop():console.groupEnd()}count(e="default"){const s=this.countMap.get(e)??0;this.countMap.set(e,s+1),this._logger("log",!1,{message:`${e}: ${s+1}`,prefix:e})}countReset(e="default"){this.countMap.has(e)?this.countMap.delete(e):this._logger("warn",!1,{message:`Count for ${e} does not exist`,prefix:e})}clear(){console.clear()}raw(e,...s){this.disabled||this._logger("log",!0,{context:s,message:e})}extendReporter(e){return typeof e.setLoggerTypes=="function"&&e.setLoggerTypes(this.types),typeof e.setStringify=="function"&&e.setStringify(this.stringify),e}registerReporters(e){for(const s of e)this.reporters.add(this.extendReporter(s))}_report(e,s){if(s)this.rawReporter.log(Object.freeze(e));else for(const t of this.reporters)t.log(Object.freeze(e))}registerProcessors(e){for(const s of e)typeof s.setStringify=="function"&&s.setStringify(this.stringify),this.processors.add(s)}_normalizeLogLevel(e){return e&&this.logLevels[e]?e:"debug"}_buildMeta(e,s,...t){const r={badge:void 0,context:void 0,error:void 0,label:void 0,message:p.E,prefix:void 0,repeated:void 0,scope:void 0,suffix:void 0};if(r.type={level:s.logLevel,name:e},r.groups=this.groups,r.scope=this.scopeName,r.date=new Date,t.length===1&&typeof t[0]=="object"&&t[0]!==null)if(t[0]instanceof Error)r.error=t[0];else if("message"in t[0]){const{context:i,message:g,prefix:h,suffix:a}=t[0];i&&(r.context=i),h&&(r.prefix=h),a&&(r.suffix=a),r.message=g}else r.message=t[0];else t.length>1&&typeof t[0]=="string"?(r.message=t[0],r.context=t.slice(1)):r.message=t[0];return s.logLevel==="trace"&&(r.traceError=new Error("Trace")),s.badge&&(r.badge=s.badge),s.label&&(r.label=s.label),r}_logger(e,s,...t){if(this.disabled)return;const r=this._normalizeLogLevel(this.types[e].logLevel);if(this.logLevels[r]>=this.logLevels[this.generalLogLevel]){let i=this._buildMeta(e,this.types[e],...t);const g=f((a=!1)=>{const n=(this.lastLog.count||0)-this.throttleMin;if(this.lastLog.object&&n>0){const c={...this.lastLog.object};n>1&&(c.repeated=n),this._report(c,s),this.lastLog.count=1}if(a){for(const c of this.processors)i={...c.process(i)};this.lastLog.object=i,this._report(i,s)}},"resolveLog");clearTimeout(this.lastLog.timeout);const h=this.lastLog.time&&i.date?new Date(i.date).getTime()-this.lastLog.time.getTime():0;if(this.lastLog.time=new Date(i.date),h<this.throttle)try{const a=JSON.stringify([i.label,i.scope,i.type,i.message,i.prefix,i.suffix,i.context]),n=this.lastLog.serialized===a;if(this.lastLog.serialized=a,n&&(this.lastLog.count=(this.lastLog.count||0)+1,this.lastLog.count>this.throttleMin)){this.lastLog.timeout=setTimeout(g,this.throttle);return}}catch{}g(!0)}}}const j=d;exports.P=j;exports.a=d;
@@ -1,59 +1,5 @@
1
1
  import { AnsiColors } from '@visulima/colorize';
2
-
3
- /**
4
- Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
5
-
6
- @category Type
7
- */
8
- type Primitive =
9
- | null
10
- | undefined
11
- | string
12
- | number
13
- | boolean
14
- | symbol
15
- | bigint;
16
-
17
- declare global {
18
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
19
- interface SymbolConstructor {
20
- readonly observable: symbol;
21
- }
22
- }
23
-
24
- /**
25
- Allows creating a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
26
-
27
- Currently, when a union type of a primitive type is combined with literal types, TypeScript loses all information about the combined literals. Thus, when such type is used in an IDE with autocompletion, no suggestions are made for the declared literals.
28
-
29
- This type is a workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). It will be removed as soon as it's not needed anymore.
30
-
31
- @example
32
- ```
33
- import type {LiteralUnion} from 'type-fest';
34
-
35
- // Before
36
-
37
- type Pet = 'dog' | 'cat' | string;
38
-
39
- const pet: Pet = '';
40
- // Start typing in your TypeScript-enabled IDE.
41
- // You **will not** get auto-completion for `dog` and `cat` literals.
42
-
43
- // After
44
-
45
- type Pet2 = LiteralUnion<'dog' | 'cat', string>;
46
-
47
- const pet: Pet2 = '';
48
- // You **will** get auto-completion for `dog` and `cat` literals.
49
- ```
50
-
51
- @category Type
52
- */
53
- type LiteralUnion<
54
- LiteralType,
55
- BaseType extends Primitive,
56
- > = LiteralType | (BaseType & Record<never, never>);
2
+ import { LiteralUnion, Primitive } from 'type-fest';
57
3
 
58
4
  declare class InteractiveStreamHook {
59
5
  #private;
@@ -173,4 +119,5 @@ type Message = {
173
119
  suffix?: string;
174
120
  };
175
121
 
176
- export { type ConstructorOptions as C, type DefaultLoggerTypes as D, type ExtendedRfc5424LogLevels as E, InteractiveManager as I, type LoggerConfiguration as L, type Meta as M, type Processor as P, type Reporter as R, type StreamAwareReporter as S, type DefaultLogTypes as a, type LoggerFunction as b, type LoggerTypesAwareReporter as c, type LoggerTypesConfig as d, type LiteralUnion as e, type ServerConstructorOptions as f, type ReadonlyMeta as g, type StringifyAwareReporter as h, type InteractiveStreamReporter as i, type StringifyAwareProcessor as j };
122
+ export { InteractiveManager as I };
123
+ export type { ConstructorOptions as C, DefaultLoggerTypes as D, ExtendedRfc5424LogLevels as E, LoggerConfiguration as L, Meta as M, Processor as P, Reporter as R, StreamAwareReporter as S, DefaultLogTypes as a, LoggerFunction as b, LoggerTypesAwareReporter as c, LoggerTypesConfig as d, ServerConstructorOptions as e, ReadonlyMeta as f, StringifyAwareReporter as g, InteractiveStreamReporter as h, StringifyAwareProcessor as i };
@@ -1,59 +1,5 @@
1
1
  import { AnsiColors } from '@visulima/colorize';
2
-
3
- /**
4
- Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
5
-
6
- @category Type
7
- */
8
- type Primitive =
9
- | null
10
- | undefined
11
- | string
12
- | number
13
- | boolean
14
- | symbol
15
- | bigint;
16
-
17
- declare global {
18
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
19
- interface SymbolConstructor {
20
- readonly observable: symbol;
21
- }
22
- }
23
-
24
- /**
25
- Allows creating a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
26
-
27
- Currently, when a union type of a primitive type is combined with literal types, TypeScript loses all information about the combined literals. Thus, when such type is used in an IDE with autocompletion, no suggestions are made for the declared literals.
28
-
29
- This type is a workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). It will be removed as soon as it's not needed anymore.
30
-
31
- @example
32
- ```
33
- import type {LiteralUnion} from 'type-fest';
34
-
35
- // Before
36
-
37
- type Pet = 'dog' | 'cat' | string;
38
-
39
- const pet: Pet = '';
40
- // Start typing in your TypeScript-enabled IDE.
41
- // You **will not** get auto-completion for `dog` and `cat` literals.
42
-
43
- // After
44
-
45
- type Pet2 = LiteralUnion<'dog' | 'cat', string>;
46
-
47
- const pet: Pet2 = '';
48
- // You **will** get auto-completion for `dog` and `cat` literals.
49
- ```
50
-
51
- @category Type
52
- */
53
- type LiteralUnion<
54
- LiteralType,
55
- BaseType extends Primitive,
56
- > = LiteralType | (BaseType & Record<never, never>);
2
+ import { LiteralUnion, Primitive } from 'type-fest';
57
3
 
58
4
  declare class InteractiveStreamHook {
59
5
  #private;
@@ -173,4 +119,5 @@ type Message = {
173
119
  suffix?: string;
174
120
  };
175
121
 
176
- export { type ConstructorOptions as C, type DefaultLoggerTypes as D, type ExtendedRfc5424LogLevels as E, InteractiveManager as I, type LoggerConfiguration as L, type Meta as M, type Processor as P, type Reporter as R, type StreamAwareReporter as S, type DefaultLogTypes as a, type LoggerFunction as b, type LoggerTypesAwareReporter as c, type LoggerTypesConfig as d, type LiteralUnion as e, type ServerConstructorOptions as f, type ReadonlyMeta as g, type StringifyAwareReporter as h, type InteractiveStreamReporter as i, type StringifyAwareProcessor as j };
122
+ export { InteractiveManager as I };
123
+ export type { ConstructorOptions as C, DefaultLoggerTypes as D, ExtendedRfc5424LogLevels as E, LoggerConfiguration as L, Meta as M, Processor as P, Reporter as R, StreamAwareReporter as S, DefaultLogTypes as a, LoggerFunction as b, LoggerTypesAwareReporter as c, LoggerTypesConfig as d, ServerConstructorOptions as e, ReadonlyMeta as f, StringifyAwareReporter as g, InteractiveStreamReporter as h, StringifyAwareProcessor as i };
@@ -1,59 +1,5 @@
1
1
  import { AnsiColors } from '@visulima/colorize';
2
-
3
- /**
4
- Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
5
-
6
- @category Type
7
- */
8
- type Primitive =
9
- | null
10
- | undefined
11
- | string
12
- | number
13
- | boolean
14
- | symbol
15
- | bigint;
16
-
17
- declare global {
18
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
19
- interface SymbolConstructor {
20
- readonly observable: symbol;
21
- }
22
- }
23
-
24
- /**
25
- Allows creating a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
26
-
27
- Currently, when a union type of a primitive type is combined with literal types, TypeScript loses all information about the combined literals. Thus, when such type is used in an IDE with autocompletion, no suggestions are made for the declared literals.
28
-
29
- This type is a workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). It will be removed as soon as it's not needed anymore.
30
-
31
- @example
32
- ```
33
- import type {LiteralUnion} from 'type-fest';
34
-
35
- // Before
36
-
37
- type Pet = 'dog' | 'cat' | string;
38
-
39
- const pet: Pet = '';
40
- // Start typing in your TypeScript-enabled IDE.
41
- // You **will not** get auto-completion for `dog` and `cat` literals.
42
-
43
- // After
44
-
45
- type Pet2 = LiteralUnion<'dog' | 'cat', string>;
46
-
47
- const pet: Pet2 = '';
48
- // You **will** get auto-completion for `dog` and `cat` literals.
49
- ```
50
-
51
- @category Type
52
- */
53
- type LiteralUnion<
54
- LiteralType,
55
- BaseType extends Primitive,
56
- > = LiteralType | (BaseType & Record<never, never>);
2
+ import { LiteralUnion, Primitive } from 'type-fest';
57
3
 
58
4
  declare class InteractiveStreamHook {
59
5
  #private;
@@ -173,4 +119,5 @@ type Message = {
173
119
  suffix?: string;
174
120
  };
175
121
 
176
- export { type ConstructorOptions as C, type DefaultLoggerTypes as D, type ExtendedRfc5424LogLevels as E, InteractiveManager as I, type LoggerConfiguration as L, type Meta as M, type Processor as P, type Reporter as R, type StreamAwareReporter as S, type DefaultLogTypes as a, type LoggerFunction as b, type LoggerTypesAwareReporter as c, type LoggerTypesConfig as d, type LiteralUnion as e, type ServerConstructorOptions as f, type ReadonlyMeta as g, type StringifyAwareReporter as h, type InteractiveStreamReporter as i, type StringifyAwareProcessor as j };
122
+ export { InteractiveManager as I };
123
+ export type { ConstructorOptions as C, DefaultLoggerTypes as D, ExtendedRfc5424LogLevels as E, LoggerConfiguration as L, Meta as M, Processor as P, Reporter as R, StreamAwareReporter as S, DefaultLogTypes as a, LoggerFunction as b, LoggerTypesAwareReporter as c, LoggerTypesConfig as d, ServerConstructorOptions as e, ReadonlyMeta as f, StringifyAwareReporter as g, InteractiveStreamReporter as h, StringifyAwareProcessor as i };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./packem_shared/MessageFormatterProcessor-CCRIUIdT.cjs"),r=require("./packem_shared/RedactProcessor-BBJysXaX.cjs");exports.MessageFormatterProcessor=e;exports.RedactProcessor=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./packem_shared/MessageFormatterProcessor-D_s8r8ot.cjs"),r=require("./packem_shared/RedactProcessor-BBJysXaX.cjs");exports.MessageFormatterProcessor=e;exports.RedactProcessor=r;
@@ -1,7 +1,8 @@
1
1
  import { FormatterFunction } from '@visulima/fmt';
2
- import { j as StringifyAwareProcessor, M as Meta, P as Processor } from './packem_shared/types-BGWAKixQ.cjs';
2
+ import { i as StringifyAwareProcessor, M as Meta, P as Processor } from './packem_shared/types-CMdBdNgA.cjs';
3
3
  import { Rules, RedactOptions } from '@visulima/redact';
4
4
  import '@visulima/colorize';
5
+ import 'type-fest';
5
6
 
6
7
  declare class MessageFormatterProcessor<L extends string = string> implements StringifyAwareProcessor<L> {
7
8
  #private;
@@ -1,7 +1,8 @@
1
1
  import { FormatterFunction } from '@visulima/fmt';
2
- import { j as StringifyAwareProcessor, M as Meta, P as Processor } from './packem_shared/types-BGWAKixQ.mjs';
2
+ import { i as StringifyAwareProcessor, M as Meta, P as Processor } from './packem_shared/types-CMdBdNgA.mjs';
3
3
  import { Rules, RedactOptions } from '@visulima/redact';
4
4
  import '@visulima/colorize';
5
+ import 'type-fest';
5
6
 
6
7
  declare class MessageFormatterProcessor<L extends string = string> implements StringifyAwareProcessor<L> {
7
8
  #private;
@@ -1,7 +1,8 @@
1
1
  import { FormatterFunction } from '@visulima/fmt';
2
- import { j as StringifyAwareProcessor, M as Meta, P as Processor } from './packem_shared/types-BGWAKixQ.js';
2
+ import { i as StringifyAwareProcessor, M as Meta, P as Processor } from './packem_shared/types-CMdBdNgA.js';
3
3
  import { Rules, RedactOptions } from '@visulima/redact';
4
4
  import '@visulima/colorize';
5
+ import 'type-fest';
5
6
 
6
7
  declare class MessageFormatterProcessor<L extends string = string> implements StringifyAwareProcessor<L> {
7
8
  #private;
@@ -1 +1 @@
1
- import{default as o}from"./packem_shared/MessageFormatterProcessor-BjBZzL2D.mjs";import{default as a}from"./packem_shared/RedactProcessor-CxKTN42V.mjs";export{o as MessageFormatterProcessor,a as RedactProcessor};
1
+ import{default as o}from"./packem_shared/MessageFormatterProcessor-rkvAy05-.mjs";import{default as a}from"./packem_shared/RedactProcessor-CxKTN42V.mjs";export{o as MessageFormatterProcessor,a as RedactProcessor};
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./packem_shared/CallerProcessor-DJnmMPMj.cjs"),r=require("./packem_shared/MessageFormatterProcessor-CCRIUIdT.cjs"),s=require("./packem_shared/RedactProcessor-BBJysXaX.cjs");exports.CallerProcessor=e;exports.MessageFormatterProcessor=r;exports.RedactProcessor=s;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./packem_shared/CallerProcessor-DJnmMPMj.cjs"),r=require("./packem_shared/MessageFormatterProcessor-D_s8r8ot.cjs"),s=require("./packem_shared/RedactProcessor-BBJysXaX.cjs");exports.CallerProcessor=e;exports.MessageFormatterProcessor=r;exports.RedactProcessor=s;
@@ -1,6 +1,7 @@
1
- import { P as Processor, M as Meta } from './packem_shared/types-BGWAKixQ.cjs';
1
+ import { P as Processor, M as Meta } from './packem_shared/types-CMdBdNgA.cjs';
2
2
  export { MessageFormatterProcessor, RedactProcessor } from './processor.browser.cjs';
3
3
  import '@visulima/colorize';
4
+ import 'type-fest';
4
5
  import '@visulima/fmt';
5
6
  import '@visulima/redact';
6
7
 
@@ -1,6 +1,7 @@
1
- import { P as Processor, M as Meta } from './packem_shared/types-BGWAKixQ.mjs';
1
+ import { P as Processor, M as Meta } from './packem_shared/types-CMdBdNgA.mjs';
2
2
  export { MessageFormatterProcessor, RedactProcessor } from './processor.browser.mjs';
3
3
  import '@visulima/colorize';
4
+ import 'type-fest';
4
5
  import '@visulima/fmt';
5
6
  import '@visulima/redact';
6
7