@keload/node-red-dxp 1.15.1 → 1.15.2

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.
@@ -0,0 +1 @@
1
+ var d=Object.defineProperty;var e=(b,a,c)=>a in b?d(b,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[a]=c;var f=(b,a,c)=>e(b,typeof a!="symbol"?a+"":a,c);export{f as a};
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';var perf_hooks=require('perf_hooks'),h=require('process'),commander=require('commander'),Xt=require('os'),$e=require('tty'),at=require('fs'),lt=require('path'),cosmiconfig=require('cosmiconfig'),fastGlob=require('fast-glob'),radash=require('radash'),be=require('fs/promises'),Ju=require('esbuild'),mdxToMd=require('mdx-to-md'),htmlMinifierTerser=require('html-minifier-terser'),Fr=require('@fullhuman/postcss-purgecss'),cr=require('autoprefixer'),mr=require('cssnano'),yt=require('postcss'),bt=require('sass'),fr=require('tailwindcss'),consola=require('consola'),$r=require('prettyjson'),jr=require('handlebars'),Wr=require('browser-sync'),Hr=require('chokidar'),Rt=require('nodemon');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var h__namespace=/*#__PURE__*/_interopNamespace(h);var Xt__default=/*#__PURE__*/_interopDefault(Xt);var $e__default=/*#__PURE__*/_interopDefault($e);var at__default=/*#__PURE__*/_interopDefault(at);var lt__namespace=/*#__PURE__*/_interopNamespace(lt);var be__default=/*#__PURE__*/_interopDefault(be);var Ju__default=/*#__PURE__*/_interopDefault(Ju);var Fr__default=/*#__PURE__*/_interopDefault(Fr);var cr__default=/*#__PURE__*/_interopDefault(cr);var mr__default=/*#__PURE__*/_interopDefault(mr);var yt__default=/*#__PURE__*/_interopDefault(yt);var bt__namespace=/*#__PURE__*/_interopNamespace(bt);var fr__default=/*#__PURE__*/_interopDefault(fr);var $r__default=/*#__PURE__*/_interopDefault($r);var jr__default=/*#__PURE__*/_interopDefault(jr);var Wr__default=/*#__PURE__*/_interopDefault(Wr);var Hr__default=/*#__PURE__*/_interopDefault(Hr);var Rt__default=/*#__PURE__*/_interopDefault(Rt);var Gt=Object.create;var we=Object.defineProperty;var Wt=Object.getOwnPropertyDescriptor;var Ht=Object.getOwnPropertyNames;var Ut=Object.getPrototypeOf,Yt=Object.prototype.hasOwnProperty;var Jt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,u)=>(typeof require<"u"?require:t)[u]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vt=(e,t,u,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ht(t))!Yt.call(e,s)&&s!==u&&we(e,s,{get:()=>t[s],enumerable:!(r=Wt(t,s))||r.enumerable});return e};var ve=(e,t,u)=>(u=e!=null?Gt(Ut(e)):{},Vt(we(u,"default",{value:e,enumerable:!0}),e));var Ve=Ne((_s,Eu)=>{Eu.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}};});var me=Ne((xs,Ke)=>{var J=Object.assign({},Ve()),qe=Object.keys(J);Object.defineProperty(J,"random",{get(){let e=Math.floor(Math.random()*qe.length),t=qe[e];return J[t]}});Ke.exports=J;});var Se=(e=0)=>t=>`\x1B[${t+e}m`,Pe=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Te=(e=0)=>(t,u,r)=>`\x1B[${38+e};2;${t};${u};${r}m`,l={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]}};Object.keys(l.modifier);var qt=Object.keys(l.color),Kt=Object.keys(l.bgColor);[...qt,...Kt];function zt(){let e=new Map;for(let[t,u]of Object.entries(l)){for(let[r,s]of Object.entries(u))l[r]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[r]=l[r],e.set(s[0],s[1]);Object.defineProperty(l,t,{value:u,enumerable:!1});}return Object.defineProperty(l,"codes",{value:e,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",l.color.ansi=Se(),l.color.ansi256=Pe(),l.color.ansi16m=Te(),l.bgColor.ansi=Se(10),l.bgColor.ansi256=Pe(10),l.bgColor.ansi16m=Te(10),Object.defineProperties(l,{rgbToAnsi256:{value(t,u,r){return t===u&&u===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(u/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(t){let u=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!u)return [0,0,0];let[r]=u;r.length===3&&(r=[...r].map(o=>o+o).join(""));let s=Number.parseInt(r,16);return [s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:t=>l.rgbToAnsi256(...l.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let u,r,s;if(t>=232)u=((t-232)*10+8)/255,r=u,s=u;else {t-=16;let n=t%36;u=Math.floor(t/36)/5,r=Math.floor(n/6)/5,s=n%6/5;}let o=Math.max(u,r,s)*2;if(o===0)return 30;let i=30+(Math.round(s)<<2|Math.round(r)<<1|Math.round(u));return o===2&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(t,u,r)=>l.ansi256ToAnsi(l.rgbToAnsi256(t,u,r)),enumerable:!1},hexToAnsi:{value:t=>l.ansi256ToAnsi(l.hexToAnsi256(t)),enumerable:!1}}),l}var Zt=zt(),p=Zt;function f(e,t=globalThis.Deno?globalThis.Deno.args:h__namespace.default.argv){let u=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(u+e),s=t.indexOf("--");return r!==-1&&(s===-1||r<s)}var{env:F}=h__namespace.default,k;f("no-color")||f("no-colors")||f("color=false")||f("color=never")?k=0:(f("color")||f("colors")||f("color=true")||f("color=always"))&&(k=1);function Qt(){if("FORCE_COLOR"in F)return F.FORCE_COLOR==="true"?1:F.FORCE_COLOR==="false"?0:F.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(F.FORCE_COLOR,10),3)}function eu(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function tu(e,{streamIsTTY:t,sniffFlags:u=!0}={}){let r=Qt();r!==void 0&&(k=r);let s=u?k:r;if(s===0)return 0;if(u){if(f("color=16m")||f("color=full")||f("color=truecolor"))return 3;if(f("color=256"))return 2}if("TF_BUILD"in F&&"AGENT_NAME"in F)return 1;if(e&&!t&&s===void 0)return 0;let o=s||0;if(F.TERM==="dumb")return o;if(h__namespace.default.platform==="win32"){let i=Xt__default.default.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in F)return "GITHUB_ACTIONS"in F||"GITEA_ACTIONS"in F?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(i=>i in F)||F.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in F)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(F.TEAMCITY_VERSION)?1:0;if(F.COLORTERM==="truecolor"||F.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in F){let i=Number.parseInt((F.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(F.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(F.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(F.TERM)||"COLORTERM"in F?1:o}function Oe(e,t={}){let u=tu(e,{streamIsTTY:e&&e.isTTY,...t});return eu(u)}var uu={stdout:Oe({isTTY:$e__default.default.isatty(1)}),stderr:Oe({isTTY:$e__default.default.isatty(2)})},Ie=uu;function Re(e,t,u){let r=e.indexOf(t);if(r===-1)return e;let s=t.length,o=0,i="";do i+=e.slice(o,r)+t+u,o=r+s,r=e.indexOf(t,o);while(r!==-1);return i+=e.slice(o),i}function je(e,t,u,r){let s=0,o="";do{let i=e[r-1]==="\r";o+=e.slice(s,i?r-1:r)+t+(i?`\r
2
+ 'use strict';var perf_hooks=require('perf_hooks'),h=require('process'),commander=require('commander'),Qt=require('os'),Oe=require('tty'),lt=require('fs'),Ft=require('path'),cosmiconfig=require('cosmiconfig'),fastGlob=require('fast-glob'),radash=require('radash'),be=require('fs/promises'),Vu=require('esbuild'),mdxToMd=require('mdx-to-md'),htmlMinifierTerser=require('html-minifier-terser'),cr=require('@fullhuman/postcss-purgecss'),mr=require('autoprefixer'),bt=require('cssnano'),Ae=require('postcss'),At=require('sass'),fr=require('tailwindcss'),consola=require('consola'),Tr=require('prettyjson'),Rr=require('handlebars'),Gr=require('browser-sync'),Wr=require('chokidar'),jt=require('nodemon');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var h__namespace=/*#__PURE__*/_interopNamespace(h);var Qt__default=/*#__PURE__*/_interopDefault(Qt);var Oe__default=/*#__PURE__*/_interopDefault(Oe);var lt__default=/*#__PURE__*/_interopDefault(lt);var Ft__namespace=/*#__PURE__*/_interopNamespace(Ft);var be__default=/*#__PURE__*/_interopDefault(be);var Vu__default=/*#__PURE__*/_interopDefault(Vu);var cr__default=/*#__PURE__*/_interopDefault(cr);var mr__default=/*#__PURE__*/_interopDefault(mr);var bt__default=/*#__PURE__*/_interopDefault(bt);var Ae__default=/*#__PURE__*/_interopDefault(Ae);var At__namespace=/*#__PURE__*/_interopNamespace(At);var fr__default=/*#__PURE__*/_interopDefault(fr);var Tr__default=/*#__PURE__*/_interopDefault(Tr);var Rr__default=/*#__PURE__*/_interopDefault(Rr);var Gr__default=/*#__PURE__*/_interopDefault(Gr);var Wr__default=/*#__PURE__*/_interopDefault(Wr);var jt__default=/*#__PURE__*/_interopDefault(jt);var Wt=Object.create;var Ne=Object.defineProperty;var Ht=Object.getOwnPropertyDescriptor;var Ut=Object.getOwnPropertyNames;var Yt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Vt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,u)=>(typeof require<"u"?require:t)[u]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ve=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var qt=(e,t,u,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ut(t))!Jt.call(e,s)&&s!==u&&Ne(e,s,{get:()=>t[s],enumerable:!(r=Ht(t,s))||r.enumerable});return e};var Se=(e,t,u)=>(u=e!=null?Wt(Yt(e)):{},qt(Ne(u,"default",{value:e,enumerable:!0}),e));var qe=ve((Bs,gu)=>{gu.exports={dots:{interval:80,frames:["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"]},dots2:{interval:80,frames:["\u28FE","\u28FD","\u28FB","\u28BF","\u287F","\u28DF","\u28EF","\u28F7"]},dots3:{interval:80,frames:["\u280B","\u2819","\u281A","\u281E","\u2816","\u2826","\u2834","\u2832","\u2833","\u2813"]},dots4:{interval:80,frames:["\u2804","\u2806","\u2807","\u280B","\u2819","\u2838","\u2830","\u2820","\u2830","\u2838","\u2819","\u280B","\u2807","\u2806"]},dots5:{interval:80,frames:["\u280B","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B"]},dots6:{interval:80,frames:["\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2834","\u2832","\u2812","\u2802","\u2802","\u2812","\u281A","\u2819","\u2809","\u2801"]},dots7:{interval:80,frames:["\u2808","\u2809","\u280B","\u2813","\u2812","\u2810","\u2810","\u2812","\u2816","\u2826","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808"]},dots8:{interval:80,frames:["\u2801","\u2801","\u2809","\u2819","\u281A","\u2812","\u2802","\u2802","\u2812","\u2832","\u2834","\u2824","\u2804","\u2804","\u2824","\u2820","\u2820","\u2824","\u2826","\u2816","\u2812","\u2810","\u2810","\u2812","\u2813","\u280B","\u2809","\u2808","\u2808"]},dots9:{interval:80,frames:["\u28B9","\u28BA","\u28BC","\u28F8","\u28C7","\u2867","\u2857","\u284F"]},dots10:{interval:80,frames:["\u2884","\u2882","\u2881","\u2841","\u2848","\u2850","\u2860"]},dots11:{interval:100,frames:["\u2801","\u2802","\u2804","\u2840","\u2880","\u2820","\u2810","\u2808"]},dots12:{interval:80,frames:["\u2880\u2800","\u2840\u2800","\u2804\u2800","\u2882\u2800","\u2842\u2800","\u2805\u2800","\u2883\u2800","\u2843\u2800","\u280D\u2800","\u288B\u2800","\u284B\u2800","\u280D\u2801","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2888\u2829","\u2840\u2899","\u2804\u2859","\u2882\u2829","\u2842\u2898","\u2805\u2858","\u2883\u2828","\u2843\u2890","\u280D\u2850","\u288B\u2820","\u284B\u2880","\u280D\u2841","\u288B\u2801","\u284B\u2801","\u280D\u2809","\u280B\u2809","\u280B\u2809","\u2809\u2819","\u2809\u2819","\u2809\u2829","\u2808\u2899","\u2808\u2859","\u2808\u2829","\u2800\u2899","\u2800\u2859","\u2800\u2829","\u2800\u2898","\u2800\u2858","\u2800\u2828","\u2800\u2890","\u2800\u2850","\u2800\u2820","\u2800\u2880","\u2800\u2840"]},dots13:{interval:80,frames:["\u28FC","\u28F9","\u28BB","\u283F","\u285F","\u28CF","\u28E7","\u28F6"]},dots8Bit:{interval:80,frames:["\u2800","\u2801","\u2802","\u2803","\u2804","\u2805","\u2806","\u2807","\u2840","\u2841","\u2842","\u2843","\u2844","\u2845","\u2846","\u2847","\u2808","\u2809","\u280A","\u280B","\u280C","\u280D","\u280E","\u280F","\u2848","\u2849","\u284A","\u284B","\u284C","\u284D","\u284E","\u284F","\u2810","\u2811","\u2812","\u2813","\u2814","\u2815","\u2816","\u2817","\u2850","\u2851","\u2852","\u2853","\u2854","\u2855","\u2856","\u2857","\u2818","\u2819","\u281A","\u281B","\u281C","\u281D","\u281E","\u281F","\u2858","\u2859","\u285A","\u285B","\u285C","\u285D","\u285E","\u285F","\u2820","\u2821","\u2822","\u2823","\u2824","\u2825","\u2826","\u2827","\u2860","\u2861","\u2862","\u2863","\u2864","\u2865","\u2866","\u2867","\u2828","\u2829","\u282A","\u282B","\u282C","\u282D","\u282E","\u282F","\u2868","\u2869","\u286A","\u286B","\u286C","\u286D","\u286E","\u286F","\u2830","\u2831","\u2832","\u2833","\u2834","\u2835","\u2836","\u2837","\u2870","\u2871","\u2872","\u2873","\u2874","\u2875","\u2876","\u2877","\u2838","\u2839","\u283A","\u283B","\u283C","\u283D","\u283E","\u283F","\u2878","\u2879","\u287A","\u287B","\u287C","\u287D","\u287E","\u287F","\u2880","\u2881","\u2882","\u2883","\u2884","\u2885","\u2886","\u2887","\u28C0","\u28C1","\u28C2","\u28C3","\u28C4","\u28C5","\u28C6","\u28C7","\u2888","\u2889","\u288A","\u288B","\u288C","\u288D","\u288E","\u288F","\u28C8","\u28C9","\u28CA","\u28CB","\u28CC","\u28CD","\u28CE","\u28CF","\u2890","\u2891","\u2892","\u2893","\u2894","\u2895","\u2896","\u2897","\u28D0","\u28D1","\u28D2","\u28D3","\u28D4","\u28D5","\u28D6","\u28D7","\u2898","\u2899","\u289A","\u289B","\u289C","\u289D","\u289E","\u289F","\u28D8","\u28D9","\u28DA","\u28DB","\u28DC","\u28DD","\u28DE","\u28DF","\u28A0","\u28A1","\u28A2","\u28A3","\u28A4","\u28A5","\u28A6","\u28A7","\u28E0","\u28E1","\u28E2","\u28E3","\u28E4","\u28E5","\u28E6","\u28E7","\u28A8","\u28A9","\u28AA","\u28AB","\u28AC","\u28AD","\u28AE","\u28AF","\u28E8","\u28E9","\u28EA","\u28EB","\u28EC","\u28ED","\u28EE","\u28EF","\u28B0","\u28B1","\u28B2","\u28B3","\u28B4","\u28B5","\u28B6","\u28B7","\u28F0","\u28F1","\u28F2","\u28F3","\u28F4","\u28F5","\u28F6","\u28F7","\u28B8","\u28B9","\u28BA","\u28BB","\u28BC","\u28BD","\u28BE","\u28BF","\u28F8","\u28F9","\u28FA","\u28FB","\u28FC","\u28FD","\u28FE","\u28FF"]},sand:{interval:80,frames:["\u2801","\u2802","\u2804","\u2840","\u2848","\u2850","\u2860","\u28C0","\u28C1","\u28C2","\u28C4","\u28CC","\u28D4","\u28E4","\u28E5","\u28E6","\u28EE","\u28F6","\u28F7","\u28FF","\u287F","\u283F","\u289F","\u281F","\u285B","\u281B","\u282B","\u288B","\u280B","\u280D","\u2849","\u2809","\u2811","\u2821","\u2881"]},line:{interval:130,frames:["-","\\","|","/"]},line2:{interval:100,frames:["\u2802","-","\u2013","\u2014","\u2013","-"]},pipe:{interval:100,frames:["\u2524","\u2518","\u2534","\u2514","\u251C","\u250C","\u252C","\u2510"]},simpleDots:{interval:400,frames:[". ",".. ","..."," "]},simpleDotsScrolling:{interval:200,frames:[". ",".. ","..."," .."," ."," "]},star:{interval:70,frames:["\u2736","\u2738","\u2739","\u273A","\u2739","\u2737"]},star2:{interval:80,frames:["+","x","*"]},flip:{interval:70,frames:["_","_","_","-","`","`","'","\xB4","-","_","_","_"]},hamburger:{interval:100,frames:["\u2631","\u2632","\u2634"]},growVertical:{interval:120,frames:["\u2581","\u2583","\u2584","\u2585","\u2586","\u2587","\u2586","\u2585","\u2584","\u2583"]},growHorizontal:{interval:120,frames:["\u258F","\u258E","\u258D","\u258C","\u258B","\u258A","\u2589","\u258A","\u258B","\u258C","\u258D","\u258E"]},balloon:{interval:140,frames:[" ",".","o","O","@","*"," "]},balloon2:{interval:120,frames:[".","o","O","\xB0","O","o","."]},noise:{interval:100,frames:["\u2593","\u2592","\u2591"]},bounce:{interval:120,frames:["\u2801","\u2802","\u2804","\u2802"]},boxBounce:{interval:120,frames:["\u2596","\u2598","\u259D","\u2597"]},boxBounce2:{interval:100,frames:["\u258C","\u2580","\u2590","\u2584"]},triangle:{interval:50,frames:["\u25E2","\u25E3","\u25E4","\u25E5"]},binary:{interval:80,frames:["010010","001100","100101","111010","111101","010111","101011","111000","110011","110101"]},arc:{interval:100,frames:["\u25DC","\u25E0","\u25DD","\u25DE","\u25E1","\u25DF"]},circle:{interval:120,frames:["\u25E1","\u2299","\u25E0"]},squareCorners:{interval:180,frames:["\u25F0","\u25F3","\u25F2","\u25F1"]},circleQuarters:{interval:120,frames:["\u25F4","\u25F7","\u25F6","\u25F5"]},circleHalves:{interval:50,frames:["\u25D0","\u25D3","\u25D1","\u25D2"]},squish:{interval:100,frames:["\u256B","\u256A"]},toggle:{interval:250,frames:["\u22B6","\u22B7"]},toggle2:{interval:80,frames:["\u25AB","\u25AA"]},toggle3:{interval:120,frames:["\u25A1","\u25A0"]},toggle4:{interval:100,frames:["\u25A0","\u25A1","\u25AA","\u25AB"]},toggle5:{interval:100,frames:["\u25AE","\u25AF"]},toggle6:{interval:300,frames:["\u101D","\u1040"]},toggle7:{interval:80,frames:["\u29BE","\u29BF"]},toggle8:{interval:100,frames:["\u25CD","\u25CC"]},toggle9:{interval:100,frames:["\u25C9","\u25CE"]},toggle10:{interval:100,frames:["\u3282","\u3280","\u3281"]},toggle11:{interval:50,frames:["\u29C7","\u29C6"]},toggle12:{interval:120,frames:["\u2617","\u2616"]},toggle13:{interval:80,frames:["=","*","-"]},arrow:{interval:100,frames:["\u2190","\u2196","\u2191","\u2197","\u2192","\u2198","\u2193","\u2199"]},arrow2:{interval:80,frames:["\u2B06\uFE0F ","\u2197\uFE0F ","\u27A1\uFE0F ","\u2198\uFE0F ","\u2B07\uFE0F ","\u2199\uFE0F ","\u2B05\uFE0F ","\u2196\uFE0F "]},arrow3:{interval:120,frames:["\u25B9\u25B9\u25B9\u25B9\u25B9","\u25B8\u25B9\u25B9\u25B9\u25B9","\u25B9\u25B8\u25B9\u25B9\u25B9","\u25B9\u25B9\u25B8\u25B9\u25B9","\u25B9\u25B9\u25B9\u25B8\u25B9","\u25B9\u25B9\u25B9\u25B9\u25B8"]},bouncingBar:{interval:80,frames:["[ ]","[= ]","[== ]","[=== ]","[====]","[ ===]","[ ==]","[ =]","[ ]","[ =]","[ ==]","[ ===]","[====]","[=== ]","[== ]","[= ]"]},bouncingBall:{interval:80,frames:["( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF)","( \u25CF )","( \u25CF )","( \u25CF )","( \u25CF )","(\u25CF )"]},smiley:{interval:200,frames:["\u{1F604} ","\u{1F61D} "]},monkey:{interval:300,frames:["\u{1F648} ","\u{1F648} ","\u{1F649} ","\u{1F64A} "]},hearts:{interval:100,frames:["\u{1F49B} ","\u{1F499} ","\u{1F49C} ","\u{1F49A} ","\u2764\uFE0F "]},clock:{interval:100,frames:["\u{1F55B} ","\u{1F550} ","\u{1F551} ","\u{1F552} ","\u{1F553} ","\u{1F554} ","\u{1F555} ","\u{1F556} ","\u{1F557} ","\u{1F558} ","\u{1F559} ","\u{1F55A} "]},earth:{interval:180,frames:["\u{1F30D} ","\u{1F30E} ","\u{1F30F} "]},material:{interval:17,frames:["\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2588","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581","\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581\u2581"]},moon:{interval:80,frames:["\u{1F311} ","\u{1F312} ","\u{1F313} ","\u{1F314} ","\u{1F315} ","\u{1F316} ","\u{1F317} ","\u{1F318} "]},runner:{interval:140,frames:["\u{1F6B6} ","\u{1F3C3} "]},pong:{interval:80,frames:["\u2590\u2802 \u258C","\u2590\u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802\u258C","\u2590 \u2820\u258C","\u2590 \u2840\u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590 \u2820 \u258C","\u2590 \u2802 \u258C","\u2590 \u2808 \u258C","\u2590 \u2802 \u258C","\u2590 \u2820 \u258C","\u2590 \u2840 \u258C","\u2590\u2820 \u258C"]},shark:{interval:120,frames:["\u2590|\\____________\u258C","\u2590_|\\___________\u258C","\u2590__|\\__________\u258C","\u2590___|\\_________\u258C","\u2590____|\\________\u258C","\u2590_____|\\_______\u258C","\u2590______|\\______\u258C","\u2590_______|\\_____\u258C","\u2590________|\\____\u258C","\u2590_________|\\___\u258C","\u2590__________|\\__\u258C","\u2590___________|\\_\u258C","\u2590____________|\\\u258C","\u2590____________/|\u258C","\u2590___________/|_\u258C","\u2590__________/|__\u258C","\u2590_________/|___\u258C","\u2590________/|____\u258C","\u2590_______/|_____\u258C","\u2590______/|______\u258C","\u2590_____/|_______\u258C","\u2590____/|________\u258C","\u2590___/|_________\u258C","\u2590__/|__________\u258C","\u2590_/|___________\u258C","\u2590/|____________\u258C"]},dqpb:{interval:100,frames:["d","q","p","b"]},weather:{interval:100,frames:["\u2600\uFE0F ","\u2600\uFE0F ","\u2600\uFE0F ","\u{1F324} ","\u26C5\uFE0F ","\u{1F325} ","\u2601\uFE0F ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u26C8 ","\u{1F328} ","\u{1F327} ","\u{1F328} ","\u2601\uFE0F ","\u{1F325} ","\u26C5\uFE0F ","\u{1F324} ","\u2600\uFE0F ","\u2600\uFE0F "]},christmas:{interval:400,frames:["\u{1F332}","\u{1F384}"]},grenade:{interval:80,frames:["\u060C ","\u2032 "," \xB4 "," \u203E "," \u2E0C"," \u2E0A"," |"," \u204E"," \u2055"," \u0DF4 "," \u2053"," "," "," "]},point:{interval:125,frames:["\u2219\u2219\u2219","\u25CF\u2219\u2219","\u2219\u25CF\u2219","\u2219\u2219\u25CF","\u2219\u2219\u2219"]},layer:{interval:150,frames:["-","=","\u2261"]},betaWave:{interval:80,frames:["\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1\u03B2","\u03B2\u03B2\u03B2\u03B2\u03B2\u03B2\u03C1"]},fingerDance:{interval:160,frames:["\u{1F918} ","\u{1F91F} ","\u{1F596} ","\u270B ","\u{1F91A} ","\u{1F446} "]},fistBump:{interval:80,frames:["\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u{1F91C}\u3000\u3000\u3000\u3000\u{1F91B} ","\u3000\u{1F91C}\u3000\u3000\u{1F91B}\u3000 ","\u3000\u3000\u{1F91C}\u{1F91B}\u3000\u3000 ","\u3000\u{1F91C}\u2728\u{1F91B}\u3000\u3000 ","\u{1F91C}\u3000\u2728\u3000\u{1F91B}\u3000 "]},soccerHeader:{interval:80,frames:[" \u{1F9D1}\u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F\u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} ","\u{1F9D1} \u26BD\uFE0F \u{1F9D1} "]},mindblown:{interval:160,frames:["\u{1F610} ","\u{1F610} ","\u{1F62E} ","\u{1F62E} ","\u{1F626} ","\u{1F626} ","\u{1F627} ","\u{1F627} ","\u{1F92F} ","\u{1F4A5} ","\u2728 ","\u3000 ","\u3000 ","\u3000 "]},speaker:{interval:160,frames:["\u{1F508} ","\u{1F509} ","\u{1F50A} ","\u{1F509} "]},orangePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} "]},bluePulse:{interval:100,frames:["\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},orangeBluePulse:{interval:100,frames:["\u{1F538} ","\u{1F536} ","\u{1F7E0} ","\u{1F7E0} ","\u{1F536} ","\u{1F539} ","\u{1F537} ","\u{1F535} ","\u{1F535} ","\u{1F537} "]},timeTravel:{interval:100,frames:["\u{1F55B} ","\u{1F55A} ","\u{1F559} ","\u{1F558} ","\u{1F557} ","\u{1F556} ","\u{1F555} ","\u{1F554} ","\u{1F553} ","\u{1F552} ","\u{1F551} ","\u{1F550} "]},aesthetic:{interval:80,frames:["\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B1","\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0\u25B0","\u25B0\u25B1\u25B1\u25B1\u25B1\u25B1\u25B1"]},dwarfFortress:{interval:80,frames:[" \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A\u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 ","\u263A \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\u2588\xA3\xA3\xA3 "," \u263A \u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2588\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2593\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2592\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A\u2591\u2588\xA3\xA3\xA3 "," \u263A \u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2588\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2592\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A\u2591\xA3\xA3\xA3 "," \u263A \xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\xA3\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2593\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2592\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A\u2591\xA3\xA3 "," \u263A \xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\xA3\xA3 "," \u263A\u2593\xA3 "," \u263A\u2593\xA3 "," \u263A\u2592\xA3 "," \u263A\u2592\xA3 "," \u263A\u2591\xA3 "," \u263A\u2591\xA3 "," \u263A \xA3 "," \u263A\xA3 "," \u263A\xA3 "," \u263A\u2593 "," \u263A\u2593 "," \u263A\u2592 "," \u263A\u2592 "," \u263A\u2591 "," \u263A\u2591 "," \u263A "," \u263A &"," \u263A \u263C&"," \u263A \u263C &"," \u263A\u263C &"," \u263A\u263C & "," \u203C & "," \u263A & "," \u203C & "," \u263A & "," \u203C & "," \u263A & ","\u203C & "," & "," & "," & \u2591 "," & \u2592 "," & \u2593 "," & \xA3 "," & \u2591\xA3 "," & \u2592\xA3 "," & \u2593\xA3 "," & \xA3\xA3 "," & \u2591\xA3\xA3 "," & \u2592\xA3\xA3 ","& \u2593\xA3\xA3 ","& \xA3\xA3\xA3 "," \u2591\xA3\xA3\xA3 "," \u2592\xA3\xA3\xA3 "," \u2593\xA3\xA3\xA3 "," \u2588\xA3\xA3\xA3 "," \u2591\u2588\xA3\xA3\xA3 "," \u2592\u2588\xA3\xA3\xA3 "," \u2593\u2588\xA3\xA3\xA3 "," \u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2591\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2592\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2593\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "," \u2588\u2588\u2588\u2588\u2588\u2588\xA3\xA3\xA3 "]}};});var me=ve((_s,ze)=>{var V=Object.assign({},qe()),Ke=Object.keys(V);Object.defineProperty(V,"random",{get(){let e=Math.floor(Math.random()*Ke.length),t=Ke[e];return V[t]}});ze.exports=V;});var Pe=(e=0)=>t=>`\x1B[${t+e}m`,Te=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,$e=(e=0)=>(t,u,r)=>`\x1B[${38+e};2;${t};${u};${r}m`,l={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]}};Object.keys(l.modifier);var Kt=Object.keys(l.color),zt=Object.keys(l.bgColor);[...Kt,...zt];function Zt(){let e=new Map;for(let[t,u]of Object.entries(l)){for(let[r,s]of Object.entries(u))l[r]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[r]=l[r],e.set(s[0],s[1]);Object.defineProperty(l,t,{value:u,enumerable:!1});}return Object.defineProperty(l,"codes",{value:e,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",l.color.ansi=Pe(),l.color.ansi256=Te(),l.color.ansi16m=$e(),l.bgColor.ansi=Pe(10),l.bgColor.ansi256=Te(10),l.bgColor.ansi16m=$e(10),Object.defineProperties(l,{rgbToAnsi256:{value(t,u,r){return t===u&&u===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(u/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(t){let u=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!u)return [0,0,0];let[r]=u;r.length===3&&(r=[...r].map(o=>o+o).join(""));let s=Number.parseInt(r,16);return [s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:t=>l.rgbToAnsi256(...l.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let u,r,s;if(t>=232)u=((t-232)*10+8)/255,r=u,s=u;else {t-=16;let n=t%36;u=Math.floor(t/36)/5,r=Math.floor(n/6)/5,s=n%6/5;}let o=Math.max(u,r,s)*2;if(o===0)return 30;let i=30+(Math.round(s)<<2|Math.round(r)<<1|Math.round(u));return o===2&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(t,u,r)=>l.ansi256ToAnsi(l.rgbToAnsi256(t,u,r)),enumerable:!1},hexToAnsi:{value:t=>l.ansi256ToAnsi(l.hexToAnsi256(t)),enumerable:!1}}),l}var Xt=Zt(),p=Xt;function f(e,t=globalThis.Deno?globalThis.Deno.args:h__namespace.default.argv){let u=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(u+e),s=t.indexOf("--");return r!==-1&&(s===-1||r<s)}var{env:F}=h__namespace.default,L;f("no-color")||f("no-colors")||f("color=false")||f("color=never")?L=0:(f("color")||f("colors")||f("color=true")||f("color=always"))&&(L=1);function eu(){if("FORCE_COLOR"in F)return F.FORCE_COLOR==="true"?1:F.FORCE_COLOR==="false"?0:F.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(F.FORCE_COLOR,10),3)}function tu(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function uu(e,{streamIsTTY:t,sniffFlags:u=!0}={}){let r=eu();r!==void 0&&(L=r);let s=u?L:r;if(s===0)return 0;if(u){if(f("color=16m")||f("color=full")||f("color=truecolor"))return 3;if(f("color=256"))return 2}if("TF_BUILD"in F&&"AGENT_NAME"in F)return 1;if(e&&!t&&s===void 0)return 0;let o=s||0;if(F.TERM==="dumb")return o;if(h__namespace.default.platform==="win32"){let i=Qt__default.default.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in F)return "GITHUB_ACTIONS"in F||"GITEA_ACTIONS"in F?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(i=>i in F)||F.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in F)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(F.TEAMCITY_VERSION)?1:0;if(F.COLORTERM==="truecolor"||F.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in F){let i=Number.parseInt((F.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(F.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(F.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(F.TERM)||"COLORTERM"in F?1:o}function Ie(e,t={}){let u=uu(e,{streamIsTTY:e&&e.isTTY,...t});return tu(u)}var ru={stdout:Ie({isTTY:Oe__default.default.isatty(1)}),stderr:Ie({isTTY:Oe__default.default.isatty(2)})},Re=ru;function je(e,t,u){let r=e.indexOf(t);if(r===-1)return e;let s=t.length,o=0,i="";do i+=e.slice(o,r)+t+u,o=r+s,r=e.indexOf(t,o);while(r!==-1);return i+=e.slice(o),i}function Me(e,t,u,r){let s=0,o="";do{let i=e[r-1]==="\r";o+=e.slice(s,i?r-1:r)+t+(i?`\r
3
3
  `:`
4
4
  `)+u,s=r+1,r=e.indexOf(`
5
- `,s);}while(r!==-1);return o+=e.slice(s),o}var{stdout:Me,stderr:ke}=Ie,ue=Symbol("GENERATOR"),A=Symbol("STYLER"),$=Symbol("IS_EMPTY"),Le=["ansi","ansi","ansi256","ansi16m"],w=Object.create(null),ru=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let u=Me?Me.level:0;e.level=t.level===void 0?u:t.level;};var su=e=>{let t=(...u)=>u.join(" ");return ru(t,e),Object.setPrototypeOf(t,O.prototype),t};function O(e){return su(e)}Object.setPrototypeOf(O.prototype,Function.prototype);for(let[e,t]of Object.entries(p))w[e]={get(){let u=L(this,se(t.open,t.close,this[A]),this[$]);return Object.defineProperty(this,e,{value:u}),u}};w.visible={get(){let e=L(this,this[A],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var re=(e,t,u,...r)=>e==="rgb"?t==="ansi16m"?p[u].ansi16m(...r):t==="ansi256"?p[u].ansi256(p.rgbToAnsi256(...r)):p[u].ansi(p.rgbToAnsi(...r)):e==="hex"?re("rgb",t,u,...p.hexToRgb(...r)):p[u][e](...r),ou=["rgb","hex","ansi256"];for(let e of ou){w[e]={get(){let{level:u}=this;return function(...r){let s=se(re(e,Le[u],"color",...r),p.color.close,this[A]);return L(this,s,this[$])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);w[t]={get(){let{level:u}=this;return function(...r){let s=se(re(e,Le[u],"bgColor",...r),p.bgColor.close,this[A]);return L(this,s,this[$])}}};}var iu=Object.defineProperties(()=>{},{...w,level:{enumerable:!0,get(){return this[ue].level},set(e){this[ue].level=e;}}}),se=(e,t,u)=>{let r,s;return u===void 0?(r=e,s=t):(r=u.openAll+e,s=t+u.closeAll),{open:e,close:t,openAll:r,closeAll:s,parent:u}},L=(e,t,u)=>{let r=(...s)=>Du(r,s.length===1?""+s[0]:s.join(" "));return Object.setPrototypeOf(r,iu),r[ue]=e,r[A]=t,r[$]=u,r},Du=(e,t)=>{if(e.level<=0||!t)return e[$]?"":t;let u=e[A];if(u===void 0)return t;let{openAll:r,closeAll:s}=u;if(t.includes("\x1B"))for(;u!==void 0;)t=Re(t,u.close,u.open),u=u.parent;let o=t.indexOf(`
6
- `);return o!==-1&&(t=je(t,s,r,o)),r+t+s};Object.defineProperties(O.prototype,w);var nu=O();O({level:ke?ke.level:0});var C=nu;var au=(e,t,u,r)=>{if(u==="length"||u==="prototype"||u==="arguments"||u==="caller")return;let s=Object.getOwnPropertyDescriptor(e,u),o=Object.getOwnPropertyDescriptor(t,u);!lu(s,o)&&r||Object.defineProperty(e,u,o);},lu=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},Fu=(e,t)=>{let u=Object.getPrototypeOf(t);u!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,u);},cu=(e,t)=>`/* Wrapped ${e}*/
7
- ${t}`,mu=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),du=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),fu=(e,t,u)=>{let r=u===""?"":`with ${u.trim()}() `,s=cu.bind(null,r,t.toString());Object.defineProperty(s,"name",du);let{writable:o,enumerable:i,configurable:n}=mu;Object.defineProperty(e,"toString",{value:s,writable:o,enumerable:i,configurable:n});};function oe(e,t,{ignoreNonConfigurable:u=!1}={}){let{name:r}=e;for(let s of Reflect.ownKeys(t))au(e,t,s,u);return Fu(e,t),fu(e,t,r),e}var G=new WeakMap,Ge=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let u,r=0,s=e.displayName||e.name||"<anonymous>",o=function(...i){if(G.set(o,++r),r===1)u=e.apply(this,i),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${s}\` can only be called once`);return u};return oe(o,e),G.set(o,r),o};Ge.callCount=e=>{if(!G.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return G.get(e)};var We=Ge;var _=[];_.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&_.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&_.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var W=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",ie=Symbol.for("signal-exit emitter"),De=globalThis,pu=Object.defineProperty.bind(Object),ne=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(De[ie])return De[ie];pu(De,ie,{value:this,writable:!1,enumerable:!1,configurable:!1});}on(t,u){this.listeners[t].push(u);}removeListener(t,u){let r=this.listeners[t],s=r.indexOf(u);s!==-1&&(s===0&&r.length===1?r.length=0:r.splice(s,1));}emit(t,u,r){if(this.emitted[t])return !1;this.emitted[t]=!0;let s=!1;for(let o of this.listeners[t])s=o(u,r)===!0||s;return t==="exit"&&(s=this.emit("afterExit",u,r)||s),s}},H=class{},Cu=e=>({onExit(t,u){return e.onExit(t,u)},load(){return e.load()},unload(){return e.unload()}}),ae=class extends H{onExit(){return ()=>{}}load(){}unload(){}},le=class extends H{#i=Fe.platform==="win32"?"SIGINT":"SIGHUP";#u=new ne;#e;#s;#c;#t={};#o=!1;constructor(t){super(),this.#e=t,this.#t={};for(let u of _)this.#t[u]=()=>{let r=this.#e.listeners(u),{count:s}=this.#u,o=t;if(typeof o.__signal_exit_emitter__=="object"&&typeof o.__signal_exit_emitter__.count=="number"&&(s+=o.__signal_exit_emitter__.count),r.length===s){this.unload();let i=this.#u.emit("exit",null,u),n=u==="SIGHUP"?this.#i:u;i||t.kill(t.pid,n);}};this.#c=t.reallyExit,this.#s=t.emit;}onExit(t,u){if(!W(this.#e))return ()=>{};this.#o===!1&&this.load();let r=u!=null&&u.alwaysLast?"afterExit":"exit";return this.#u.on(r,t),()=>{this.#u.removeListener(r,t),this.#u.listeners.exit.length===0&&this.#u.listeners.afterExit.length===0&&this.unload();}}load(){if(!this.#o){this.#o=!0,this.#u.count+=1;for(let t of _)try{let u=this.#t[t];u&&this.#e.on(t,u);}catch{}this.#e.emit=(t,...u)=>this.#m(t,...u),this.#e.reallyExit=t=>this.#r(t);}}unload(){this.#o&&(this.#o=!1,_.forEach(t=>{let u=this.#t[t];if(!u)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,u);}catch{}}),this.#e.emit=this.#s,this.#e.reallyExit=this.#c,this.#u.count-=1);}#r(t){return W(this.#e)?(this.#e.exitCode=t||0,this.#u.emit("exit",this.#e.exitCode,null),this.#c.call(this.#e,this.#e.exitCode)):0}#m(t,...u){let r=this.#s;if(t==="exit"&&W(this.#e)){typeof u[0]=="number"&&(this.#e.exitCode=u[0]);let s=r.call(this.#e,t,...u);return this.#u.emit("exit",this.#e.exitCode,null),s}else return r.call(this.#e,t,...u)}},Fe=globalThis.process,{onExit:He,load:cs,unload:ms}=Cu(W(Fe)?new le(Fe):new ae);var Ue=h__namespace.default.stderr.isTTY?h__namespace.default.stderr:h__namespace.default.stdout.isTTY?h__namespace.default.stdout:void 0,hu=Ue?We(()=>{He(()=>{Ue.write("\x1B[?25h");},{alwaysLast:!0});}):()=>{},Ye=hu;var Y=!1,N={};N.show=(e=h__namespace.default.stderr)=>{e.isTTY&&(Y=!1,e.write("\x1B[?25h"));};N.hide=(e=h__namespace.default.stderr)=>{e.isTTY&&(Ye(),Y=!0,e.write("\x1B[?25l"));};N.toggle=(e,t)=>{e!==void 0&&(Y=e),Y?N.show(t):N.hide(t);};var ce=N;var j=ve(me());function de(){return h__namespace.default.platform!=="win32"?h__namespace.default.env.TERM!=="linux":!!h__namespace.default.env.CI||!!h__namespace.default.env.WT_SESSION||!!h__namespace.default.env.TERMINUS_SUBLIME||h__namespace.default.env.ConEmuTask==="{cmd::Cmder}"||h__namespace.default.env.TERM_PROGRAM==="Terminus-Sublime"||h__namespace.default.env.TERM_PROGRAM==="vscode"||h__namespace.default.env.TERM==="xterm-256color"||h__namespace.default.env.TERM==="alacritty"||h__namespace.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var gu={info:C.blue("\u2139"),success:C.green("\u2714"),warning:C.yellow("\u26A0"),error:C.red("\u2716")},Bu={info:C.blue("i"),success:C.green("\u221A"),warning:C.yellow("\u203C"),error:C.red("\xD7")},_u=de()?gu:Bu,I=_u;function fe({onlyFirst:e=!1}={}){let u=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(u,e?void 0:"g")}var xu=fe();function R(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(xu,"")}function ze(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function Ze(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Xe(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function yu(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function Qe(e,{ambiguousAsWide:t=!1}={}){return yu(e),Ze(e)||Xe(e)||t&&ze(e)?2:1}var et=()=>/[#*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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\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(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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-\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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\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(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\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;var bu=new Intl.Segmenter,Au=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function pe(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:u=!0,countAnsiEscapeCodes:r=!1}=t;if(r||(e=R(e)),e.length===0)return 0;let s=0,o={ambiguousAsWide:!u};for(let{segment:i}of bu.segment(e)){let n=i.codePointAt(0);if(!(n<=31||n>=127&&n<=159)&&!(n>=8203&&n<=8207||n===65279)&&!(n>=768&&n<=879||n>=6832&&n<=6911||n>=7616&&n<=7679||n>=8400&&n<=8447||n>=65056&&n<=65071)&&!(n>=55296&&n<=57343)&&!(n>=65024&&n<=65039)&&!Au.test(i)){if(et().test(i)){s+=2;continue}s+=Qe(n,o);}}return s}function Ce({stream:e=process.stdout}={}){return !!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}function he(){let{env:e}=h__namespace.default,{TERM:t,TERM_PROGRAM:u}=e;return h__namespace.default.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||u==="Terminus-Sublime"||u==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var wu=3,Ee=class{#i=0;start(){this.#i++,this.#i===1&&this.#u();}stop(){if(this.#i<=0)throw new Error("`stop` called more times than `start`");this.#i--,this.#i===0&&this.#e();}#u(){h__namespace.default.platform==="win32"||!h__namespace.default.stdin.isTTY||(h__namespace.default.stdin.setRawMode(!0),h__namespace.default.stdin.on("data",this.#s),h__namespace.default.stdin.resume());}#e(){h__namespace.default.stdin.isTTY&&(h__namespace.default.stdin.off("data",this.#s),h__namespace.default.stdin.pause(),h__namespace.default.stdin.setRawMode(!1));}#s(t){t[0]===wu&&h__namespace.default.emit("SIGINT");}},Nu=new Ee,ge=Nu;ve(me());var Be=class{#i=0;#u=!1;#e=0;#s=-1;#c=0;#t;#o;#r;#m;#f;#a;#l;#F;#p;#D;#n;color;constructor(t){typeof t=="string"&&(t={text:t}),this.#t={color:"cyan",stream:h__namespace.default.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#t.color,this.spinner=this.#t.spinner,this.#f=this.#t.interval,this.#r=this.#t.stream,this.#a=typeof this.#t.isEnabled=="boolean"?this.#t.isEnabled:Ce({stream:this.#r}),this.#l=typeof this.#t.isSilent=="boolean"?this.#t.isSilent:!1,this.text=this.#t.text,this.prefixText=this.#t.prefixText,this.suffixText=this.#t.suffixText,this.indent=this.#t.indent,h__namespace.default.env.NODE_ENV==="test"&&(this._stream=this.#r,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#i},set(u){this.#i=u;}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#s}}),Object.defineProperty(this,"_lineCount",{get(){return this.#e}}));}get indent(){return this.#F}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#F=t,this.#d();}get interval(){return this.#f??this.#o.interval??100}get spinner(){return this.#o}set spinner(t){if(this.#s=-1,this.#f=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#o=t;}else if(!he())this.#o=j.default.line;else if(t===void 0)this.#o=j.default.dots;else if(t!=="default"&&j.default[t])this.#o=j.default[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#p}set text(t=""){this.#p=t,this.#d();}get prefixText(){return this.#D}set prefixText(t=""){this.#D=t,this.#d();}get suffixText(){return this.#n}set suffixText(t=""){this.#n=t,this.#d();}get isSpinning(){return this.#m!==void 0}#C(t=this.#D,u=" "){return typeof t=="string"&&t!==""?t+u:typeof t=="function"?t()+u:""}#h(t=this.#n,u=" "){return typeof t=="string"&&t!==""?u+t:typeof t=="function"?u+t():""}#d(){let t=this.#r.columns??80,u=this.#C(this.#D,"-"),r=this.#h(this.#n,"-"),s=" ".repeat(this.#F)+u+"--"+this.#p+"--"+r;this.#e=0;for(let o of R(s).split(`
5
+ `,s);}while(r!==-1);return o+=e.slice(s),o}var{stdout:ke,stderr:Le}=Re,ue=Symbol("GENERATOR"),w=Symbol("STYLER"),O=Symbol("IS_EMPTY"),Ge=["ansi","ansi","ansi256","ansi16m"],N=Object.create(null),su=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let u=ke?ke.level:0;e.level=t.level===void 0?u:t.level;};var ou=e=>{let t=(...u)=>u.join(" ");return su(t,e),Object.setPrototypeOf(t,I.prototype),t};function I(e){return ou(e)}Object.setPrototypeOf(I.prototype,Function.prototype);for(let[e,t]of Object.entries(p))N[e]={get(){let u=G(this,se(t.open,t.close,this[w]),this[O]);return Object.defineProperty(this,e,{value:u}),u}};N.visible={get(){let e=G(this,this[w],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var re=(e,t,u,...r)=>e==="rgb"?t==="ansi16m"?p[u].ansi16m(...r):t==="ansi256"?p[u].ansi256(p.rgbToAnsi256(...r)):p[u].ansi(p.rgbToAnsi(...r)):e==="hex"?re("rgb",t,u,...p.hexToRgb(...r)):p[u][e](...r),iu=["rgb","hex","ansi256"];for(let e of iu){N[e]={get(){let{level:u}=this;return function(...r){let s=se(re(e,Ge[u],"color",...r),p.color.close,this[w]);return G(this,s,this[O])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);N[t]={get(){let{level:u}=this;return function(...r){let s=se(re(e,Ge[u],"bgColor",...r),p.bgColor.close,this[w]);return G(this,s,this[O])}}};}var Du=Object.defineProperties(()=>{},{...N,level:{enumerable:!0,get(){return this[ue].level},set(e){this[ue].level=e;}}}),se=(e,t,u)=>{let r,s;return u===void 0?(r=e,s=t):(r=u.openAll+e,s=t+u.closeAll),{open:e,close:t,openAll:r,closeAll:s,parent:u}},G=(e,t,u)=>{let r=(...s)=>nu(r,s.length===1?""+s[0]:s.join(" "));return Object.setPrototypeOf(r,Du),r[ue]=e,r[w]=t,r[O]=u,r},nu=(e,t)=>{if(e.level<=0||!t)return e[O]?"":t;let u=e[w];if(u===void 0)return t;let{openAll:r,closeAll:s}=u;if(t.includes("\x1B"))for(;u!==void 0;)t=je(t,u.close,u.open),u=u.parent;let o=t.indexOf(`
6
+ `);return o!==-1&&(t=Me(t,s,r,o)),r+t+s};Object.defineProperties(I.prototype,N);var au=I();I({level:Le?Le.level:0});var C=au;var lu=(e,t,u,r)=>{if(u==="length"||u==="prototype"||u==="arguments"||u==="caller")return;let s=Object.getOwnPropertyDescriptor(e,u),o=Object.getOwnPropertyDescriptor(t,u);!Fu(s,o)&&r||Object.defineProperty(e,u,o);},Fu=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},cu=(e,t)=>{let u=Object.getPrototypeOf(t);u!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,u);},mu=(e,t)=>`/* Wrapped ${e}*/
7
+ ${t}`,du=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),fu=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),pu=(e,t,u)=>{let r=u===""?"":`with ${u.trim()}() `,s=mu.bind(null,r,t.toString());Object.defineProperty(s,"name",fu);let{writable:o,enumerable:i,configurable:n}=du;Object.defineProperty(e,"toString",{value:s,writable:o,enumerable:i,configurable:n});};function oe(e,t,{ignoreNonConfigurable:u=!1}={}){let{name:r}=e;for(let s of Reflect.ownKeys(t))lu(e,t,s,u);return cu(e,t),pu(e,t,r),e}var W=new WeakMap,We=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let u,r=0,s=e.displayName||e.name||"<anonymous>",o=function(...i){if(W.set(o,++r),r===1)u=e.apply(this,i),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${s}\` can only be called once`);return u};return oe(o,e),W.set(o,r),o};We.callCount=e=>{if(!W.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return W.get(e)};var He=We;var x=[];x.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&x.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&x.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var H=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",ie=Symbol.for("signal-exit emitter"),De=globalThis,Cu=Object.defineProperty.bind(Object),ne=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(De[ie])return De[ie];Cu(De,ie,{value:this,writable:!1,enumerable:!1,configurable:!1});}on(t,u){this.listeners[t].push(u);}removeListener(t,u){let r=this.listeners[t],s=r.indexOf(u);s!==-1&&(s===0&&r.length===1?r.length=0:r.splice(s,1));}emit(t,u,r){if(this.emitted[t])return !1;this.emitted[t]=!0;let s=!1;for(let o of this.listeners[t])s=o(u,r)===!0||s;return t==="exit"&&(s=this.emit("afterExit",u,r)||s),s}},U=class{},hu=e=>({onExit(t,u){return e.onExit(t,u)},load(){return e.load()},unload(){return e.unload()}}),ae=class extends U{onExit(){return ()=>{}}load(){}unload(){}},le=class extends U{#i=Fe.platform==="win32"?"SIGINT":"SIGHUP";#u=new ne;#e;#s;#c;#t={};#o=!1;constructor(t){super(),this.#e=t,this.#t={};for(let u of x)this.#t[u]=()=>{let r=this.#e.listeners(u),{count:s}=this.#u,o=t;if(typeof o.__signal_exit_emitter__=="object"&&typeof o.__signal_exit_emitter__.count=="number"&&(s+=o.__signal_exit_emitter__.count),r.length===s){this.unload();let i=this.#u.emit("exit",null,u),n=u==="SIGHUP"?this.#i:u;i||t.kill(t.pid,n);}};this.#c=t.reallyExit,this.#s=t.emit;}onExit(t,u){if(!H(this.#e))return ()=>{};this.#o===!1&&this.load();let r=u!=null&&u.alwaysLast?"afterExit":"exit";return this.#u.on(r,t),()=>{this.#u.removeListener(r,t),this.#u.listeners.exit.length===0&&this.#u.listeners.afterExit.length===0&&this.unload();}}load(){if(!this.#o){this.#o=!0,this.#u.count+=1;for(let t of x)try{let u=this.#t[t];u&&this.#e.on(t,u);}catch{}this.#e.emit=(t,...u)=>this.#m(t,...u),this.#e.reallyExit=t=>this.#r(t);}}unload(){this.#o&&(this.#o=!1,x.forEach(t=>{let u=this.#t[t];if(!u)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,u);}catch{}}),this.#e.emit=this.#s,this.#e.reallyExit=this.#c,this.#u.count-=1);}#r(t){return H(this.#e)?(this.#e.exitCode=t||0,this.#u.emit("exit",this.#e.exitCode,null),this.#c.call(this.#e,this.#e.exitCode)):0}#m(t,...u){let r=this.#s;if(t==="exit"&&H(this.#e)){typeof u[0]=="number"&&(this.#e.exitCode=u[0]);let s=r.call(this.#e,t,...u);return this.#u.emit("exit",this.#e.exitCode,null),s}else return r.call(this.#e,t,...u)}},Fe=globalThis.process,{onExit:Ue,load:Fs,unload:cs}=hu(H(Fe)?new le(Fe):new ae);var Ye=h__namespace.default.stderr.isTTY?h__namespace.default.stderr:h__namespace.default.stdout.isTTY?h__namespace.default.stdout:void 0,Eu=Ye?He(()=>{Ue(()=>{Ye.write("\x1B[?25h");},{alwaysLast:!0});}):()=>{},Je=Eu;var J=!1,v={};v.show=(e=h__namespace.default.stderr)=>{e.isTTY&&(J=!1,e.write("\x1B[?25h"));};v.hide=(e=h__namespace.default.stderr)=>{e.isTTY&&(Je(),J=!0,e.write("\x1B[?25l"));};v.toggle=(e,t)=>{e!==void 0&&(J=e),J?v.show(t):v.hide(t);};var ce=v;var M=Se(me());function de(){return h__namespace.default.platform!=="win32"?h__namespace.default.env.TERM!=="linux":!!h__namespace.default.env.CI||!!h__namespace.default.env.WT_SESSION||!!h__namespace.default.env.TERMINUS_SUBLIME||h__namespace.default.env.ConEmuTask==="{cmd::Cmder}"||h__namespace.default.env.TERM_PROGRAM==="Terminus-Sublime"||h__namespace.default.env.TERM_PROGRAM==="vscode"||h__namespace.default.env.TERM==="xterm-256color"||h__namespace.default.env.TERM==="alacritty"||h__namespace.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Bu={info:C.blue("\u2139"),success:C.green("\u2714"),warning:C.yellow("\u26A0"),error:C.red("\u2716")},_u={info:C.blue("i"),success:C.green("\u221A"),warning:C.yellow("\u203C"),error:C.red("\xD7")},xu=de()?Bu:_u,R=xu;function fe({onlyFirst:e=!1}={}){let u=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(u,e?void 0:"g")}var yu=fe();function j(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(yu,"")}function Ze(e){return e===161||e===164||e===167||e===168||e===170||e===173||e===174||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||e===198||e===208||e===215||e===216||e>=222&&e<=225||e===230||e>=232&&e<=234||e===236||e===237||e===240||e===242||e===243||e>=247&&e<=250||e===252||e===254||e===257||e===273||e===275||e===283||e===294||e===295||e===299||e>=305&&e<=307||e===312||e>=319&&e<=322||e===324||e>=328&&e<=331||e===333||e===338||e===339||e===358||e===359||e===363||e===462||e===464||e===466||e===468||e===470||e===472||e===474||e===476||e===593||e===609||e===708||e===711||e>=713&&e<=715||e===717||e===720||e>=728&&e<=731||e===733||e===735||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||e===1025||e>=1040&&e<=1103||e===1105||e===8208||e>=8211&&e<=8214||e===8216||e===8217||e===8220||e===8221||e>=8224&&e<=8226||e>=8228&&e<=8231||e===8240||e===8242||e===8243||e===8245||e===8251||e===8254||e===8308||e===8319||e>=8321&&e<=8324||e===8364||e===8451||e===8453||e===8457||e===8467||e===8470||e===8481||e===8482||e===8486||e===8491||e===8531||e===8532||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||e===8585||e>=8592&&e<=8601||e===8632||e===8633||e===8658||e===8660||e===8679||e===8704||e===8706||e===8707||e===8711||e===8712||e===8715||e===8719||e===8721||e===8725||e===8730||e>=8733&&e<=8736||e===8739||e===8741||e>=8743&&e<=8748||e===8750||e>=8756&&e<=8759||e===8764||e===8765||e===8776||e===8780||e===8786||e===8800||e===8801||e>=8804&&e<=8807||e===8810||e===8811||e===8814||e===8815||e===8834||e===8835||e===8838||e===8839||e===8853||e===8857||e===8869||e===8895||e===8978||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||e===9632||e===9633||e>=9635&&e<=9641||e===9650||e===9651||e===9654||e===9655||e===9660||e===9661||e===9664||e===9665||e>=9670&&e<=9672||e===9675||e>=9678&&e<=9681||e>=9698&&e<=9701||e===9711||e===9733||e===9734||e===9737||e===9742||e===9743||e===9756||e===9758||e===9792||e===9794||e===9824||e===9825||e>=9827&&e<=9829||e>=9831&&e<=9834||e===9836||e===9837||e===9839||e===9886||e===9887||e===9919||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||e===9955||e===9960||e===9961||e>=9963&&e<=9969||e===9972||e>=9974&&e<=9977||e===9979||e===9980||e===9982||e===9983||e===10045||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||e===65533||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||e===127375||e===127376||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}function Xe(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Qe(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function bu(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function et(e,{ambiguousAsWide:t=!1}={}){return bu(e),Xe(e)||Qe(e)||t&&Ze(e)?2:1}var tt=()=>/[#*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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\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(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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-\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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\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(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\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;var Au=new Intl.Segmenter,wu=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function pe(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:u=!0,countAnsiEscapeCodes:r=!1}=t;if(r||(e=j(e)),e.length===0)return 0;let s=0,o={ambiguousAsWide:!u};for(let{segment:i}of Au.segment(e)){let n=i.codePointAt(0);if(!(n<=31||n>=127&&n<=159)&&!(n>=8203&&n<=8207||n===65279)&&!(n>=768&&n<=879||n>=6832&&n<=6911||n>=7616&&n<=7679||n>=8400&&n<=8447||n>=65056&&n<=65071)&&!(n>=55296&&n<=57343)&&!(n>=65024&&n<=65039)&&!wu.test(i)){if(tt().test(i)){s+=2;continue}s+=et(n,o);}}return s}function Ce({stream:e=process.stdout}={}){return !!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}function he(){let{env:e}=h__namespace.default,{TERM:t,TERM_PROGRAM:u}=e;return h__namespace.default.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||u==="Terminus-Sublime"||u==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Nu=3,Ee=class{#i=0;start(){this.#i++,this.#i===1&&this.#u();}stop(){if(this.#i<=0)throw new Error("`stop` called more times than `start`");this.#i--,this.#i===0&&this.#e();}#u(){h__namespace.default.platform==="win32"||!h__namespace.default.stdin.isTTY||(h__namespace.default.stdin.setRawMode(!0),h__namespace.default.stdin.on("data",this.#s),h__namespace.default.stdin.resume());}#e(){h__namespace.default.stdin.isTTY&&(h__namespace.default.stdin.off("data",this.#s),h__namespace.default.stdin.pause(),h__namespace.default.stdin.setRawMode(!1));}#s(t){t[0]===Nu&&h__namespace.default.emit("SIGINT");}},vu=new Ee,ge=vu;Se(me());var Be=class{#i=0;#u=!1;#e=0;#s=-1;#c=0;#t;#o;#r;#m;#f;#a;#l;#F;#p;#D;#n;color;constructor(t){typeof t=="string"&&(t={text:t}),this.#t={color:"cyan",stream:h__namespace.default.stderr,discardStdin:!0,hideCursor:!0,...t},this.color=this.#t.color,this.spinner=this.#t.spinner,this.#f=this.#t.interval,this.#r=this.#t.stream,this.#a=typeof this.#t.isEnabled=="boolean"?this.#t.isEnabled:Ce({stream:this.#r}),this.#l=typeof this.#t.isSilent=="boolean"?this.#t.isSilent:!1,this.text=this.#t.text,this.prefixText=this.#t.prefixText,this.suffixText=this.#t.suffixText,this.indent=this.#t.indent,h__namespace.default.env.NODE_ENV==="test"&&(this._stream=this.#r,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#i},set(u){this.#i=u;}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#s}}),Object.defineProperty(this,"_lineCount",{get(){return this.#e}}));}get indent(){return this.#F}set indent(t=0){if(!(t>=0&&Number.isInteger(t)))throw new Error("The `indent` option must be an integer from 0 and up");this.#F=t,this.#d();}get interval(){return this.#f??this.#o.interval??100}get spinner(){return this.#o}set spinner(t){if(this.#s=-1,this.#f=void 0,typeof t=="object"){if(t.frames===void 0)throw new Error("The given spinner must have a `frames` property");this.#o=t;}else if(!he())this.#o=M.default.line;else if(t===void 0)this.#o=M.default.dots;else if(t!=="default"&&M.default[t])this.#o=M.default[t];else throw new Error(`There is no built-in spinner named '${t}'. See https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json for a full list.`)}get text(){return this.#p}set text(t=""){this.#p=t,this.#d();}get prefixText(){return this.#D}set prefixText(t=""){this.#D=t,this.#d();}get suffixText(){return this.#n}set suffixText(t=""){this.#n=t,this.#d();}get isSpinning(){return this.#m!==void 0}#C(t=this.#D,u=" "){return typeof t=="string"&&t!==""?t+u:typeof t=="function"?t()+u:""}#h(t=this.#n,u=" "){return typeof t=="string"&&t!==""?u+t:typeof t=="function"?u+t():""}#d(){let t=this.#r.columns??80,u=this.#C(this.#D,"-"),r=this.#h(this.#n,"-"),s=" ".repeat(this.#F)+u+"--"+this.#p+"--"+r;this.#e=0;for(let o of j(s).split(`
8
8
  `))this.#e+=Math.max(1,Math.ceil(pe(o,{countAnsiEscapeCodes:!0})/t));}get isEnabled(){return this.#a&&!this.#l}set isEnabled(t){if(typeof t!="boolean")throw new TypeError("The `isEnabled` option must be a boolean");this.#a=t;}get isSilent(){return this.#l}set isSilent(t){if(typeof t!="boolean")throw new TypeError("The `isSilent` option must be a boolean");this.#l=t;}frame(){let t=Date.now();(this.#s===-1||t-this.#c>=this.interval)&&(this.#s=++this.#s%this.#o.frames.length,this.#c=t);let{frames:u}=this.#o,r=u[this.#s];this.color&&(r=C[this.color](r));let s=typeof this.#D=="string"&&this.#D!==""?this.#D+" ":"",o=typeof this.text=="string"?" "+this.text:"",i=typeof this.#n=="string"&&this.#n!==""?" "+this.#n:"";return s+r+o+i}clear(){if(!this.#a||!this.#r.isTTY)return this;this.#r.cursorTo(0);for(let t=0;t<this.#i;t++)t>0&&this.#r.moveCursor(0,-1),this.#r.clearLine(1);return (this.#F||this.lastIndent!==this.#F)&&this.#r.cursorTo(this.#F),this.lastIndent=this.#F,this.#i=0,this}render(){return this.#l?this:(this.clear(),this.#r.write(this.frame()),this.#i=this.#e,this)}start(t){return t&&(this.text=t),this.#l?this:this.#a?this.isSpinning?this:(this.#t.hideCursor&&ce.hide(this.#r),this.#t.discardStdin&&h__namespace.default.stdin.isTTY&&(this.#u=!0,ge.start()),this.render(),this.#m=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#r.write(`- ${this.text}
9
- `),this)}stop(){return this.#a?(clearInterval(this.#m),this.#m=void 0,this.#s=0,this.clear(),this.#t.hideCursor&&ce.show(this.#r),this.#t.discardStdin&&h__namespace.default.stdin.isTTY&&this.#u&&(ge.stop(),this.#u=!1),this):this}succeed(t){return this.stopAndPersist({symbol:I.success,text:t})}fail(t){return this.stopAndPersist({symbol:I.error,text:t})}warn(t){return this.stopAndPersist({symbol:I.warning,text:t})}info(t){return this.stopAndPersist({symbol:I.info,text:t})}stopAndPersist(t={}){if(this.#l)return this;let u=t.prefixText??this.#D,r=this.#C(u," "),s=t.symbol??" ",o=t.text??this.text,n=typeof o=="string"?(s?" ":"")+o:"",c=t.suffixText??this.#n,m=this.#h(c," "),d=r+s+n+m+`
10
- `;return this.stop(),this.#r.write(d),this}};function _e(e){return new Be(e)}var ut={name:"@keload/node-red-dxp",version:"1.15.0",description:"",type:"module",scripts:{build:"tsup",watch:"tsup --watch",format:"pnpm biome format",lint:"pnpm biome lint","lint:check":"pnpm biome check",release:"pnpm release-it","release:test":"pnpm release-it --dry-run","docs:dev":"./build-docs.sh && vitepress dev docs","docs:build":"./build-docs.sh && vitepress build docs","docs:preview":"vitepress preview docs","test:unit":"vitest"},publishConfig:{access:"public"},bin:{"node-red-dxp":"./dist/cli/index.cjs"},exports:{".":{import:"./dist/index.js",require:"./dist/index.cjs"},"./editor":{import:"./dist/editor/index.js",require:"./dist/editor/index.cjs"},"./editor/dom-helper":{import:"./dist/editor/dom-helper/index.js",require:"./dist/editor/dom-helper/index.cjs"},"./builder":{import:"./dist/builder/index.js",require:"./dist/builder/index.cjs"},"./utils":{import:"./dist/utils/index.js",require:"./dist/utils/index.cjs"},"./package.json":"./package.json"},keywords:[],author:"Cl\xE9ment BERARD <contact@berard.dev>",license:"MIT",repository:{type:"git",url:"https://github.com/clement-berard/node-red-dxp.git"},bugs:{url:"https://github.com/clement-berard/node-red-dxp/issues"},homepage:"https://github.com/clement-berard/node-red-dxp",devDependencies:{"@biomejs/biome":"1.9.4","@release-it/conventional-changelog":"9.0.3","release-it":"17.10.0",tsup:"8.3.5",tsx:"4.19.2",typedoc:"^0.26.11","typedoc-plugin-markdown":"^4.2.10",typescript:"5.6.3",vitepress:"1.5.0",vitest:"2.1.5"},dependencies:{"@fullhuman/postcss-purgecss":"^6.0.0","@types/html-minifier-terser":"7.0.2","@types/jquery":"3.5.32","@types/jqueryui":"1.12.23","@types/node-red":"1.3.5","@types/prettyjson":"0.0.33",autoprefixer:"^10.4.20","browser-sync":"3.0.3",chokidar:"4.0.1",commander:"12.1.0",consola:"3.2.3",cosmiconfig:"9.0.0",cssnano:"^7.0.6",esbuild:"0.24.0","fast-glob":"^3.3.2",handlebars:"4.7.8","html-minifier-terser":"7.2.0","is-ip":"^5.0.1","is-what":"^5.0.2","mdx-to-md":"^0.3.2","merge-anything":"6.0.2",nodemon:"3.1.7",ora:"8.1.1",postcss:"^8.4.49",prettyjson:"1.2.5",radash:"12.1.0",sass:"1.81.0",tailwindcss:"^3.4.15"},files:["dist"]};function q(e){return Object.prototype.toString.call(e).slice(8,-1)}function v(e){if(q(e)!=="Object")return !1;let t=Object.getPrototypeOf(e);return !!t&&t.constructor===Object&&t===Object.prototype}function K(e){return q(e)==="Symbol"}function rt(e,t,u,r){let s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=u),s==="nonenumerable"&&Object.defineProperty(e,t,{value:u,enumerable:!1,writable:!0,configurable:!0});}function st(e,t,u){if(!v(t))return t;let r={};if(v(e)){let n=Object.getOwnPropertyNames(e),c=Object.getOwnPropertySymbols(e);r=[...n,...c].reduce((m,d)=>{let ee=e[d];return (!K(d)&&!Object.getOwnPropertyNames(t).includes(d)||K(d)&&!Object.getOwnPropertySymbols(t).includes(d))&&rt(m,d,ee,e),m},{});}let s=Object.getOwnPropertyNames(t),o=Object.getOwnPropertySymbols(t);return [...s,...o].reduce((n,c)=>{let m=t[c],d=v(e)?e[c]:void 0;d!==void 0&&v(m)&&(m=st(d,m));let ee=m;return rt(n,c,ee,t),n},r)}function z(e,...t){return t.reduce((u,r)=>st(u,r),e)}var ot={builder:{outputDir:"dist",esbuildControllerOptions:{includeInBundle:[]},tailwind:{forcedClassesInclusion:[]}},watcher:{nodeRed:{enabled:!0,path:"~/.node-red",url:"http://localhost:1880"}}};var a={libCacheDir:".node-red-dxp",srcDir:"src",nodesDirName:"nodes",localesDirName:"locales",globalStylesName:"styles",nodes:{controllerName:"controller",editor:{dirName:"editor",htmlName:"index",stylesName:"styles",tsName:"index"}}};var Ru="node-red-dxp",ju=e=>e.replace("@","").replace("/","-");function Mu(){let e=cosmiconfig.cosmiconfigSync(Ru);try{let t=e.search();return z(ot,t?t.config:{})}catch(t){throw console.error("Error while loading configuration",t),t}}var it=Mu(),B=process.cwd(),Dt=JSON.parse(at.readFileSync(`${B}/package.json`,"utf-8")),M=`${B}/${a.srcDir}`,ku=`${B}/resources`,Lu=`${B}/resources`,xe=`${M}/${a.nodesDirName}`,ye=`${B}/${a.libCacheDir}`,Gu=`${lt__namespace.default.resolve(__dirname,"..")}`,nt=ju(Dt.name);function Wu(e=[]){return e.map(t=>{let u=t.path,r=`${u}/${a.nodes.editor.dirName}`,s=u.replace(B,"").slice(1),o=`${s}/${a.nodes.editor.dirName}`,i=fastGlob.globSync(`${r}/${a.nodes.editor.stylesName}.scss`),n=fastGlob.globSync(`${u}/docs.mdx`),c=fastGlob.globSync(`${u}/docs.md`),m=radash.dash(t.name);return {fullEditorPath:r,fullPath:u,name:t.name,pascalName:radash.pascal(t.name),dashName:m,relativeEditorPath:o,relativePath:s,nodeIdentifier:`${nt}-${m}`,fullControllerPath:`${u}/${a.nodes.controllerName}.ts`,editor:{tsPath:`${r}/${a.nodes.editor.tsName}.ts`,htmlPath:`${r}/${a.nodes.editor.htmlName}.html`,scssFiles:i},doc:{mdxFiles:n,mdFiles:c}}})}function Hu(){let e=fastGlob.globSync(`${xe}/**/*`,{onlyDirectories:!0,deep:1,objectMode:!0}),t=Wu(e),u=t.map(r=>r.name);return {currentDir:B,pathSrcDir:M,pathSrcNodesDir:xe,pathResourcesDir:ku,additionalResourcesDir:Lu,pathDist:`${B}/${it.builder.outputDir}`,currentPackagedDistPath:Gu,cacheDirFiles:{controllerIndex:`${ye}/controller-index.ts`,editorIndex:`${ye}/editor-index.ts`},pathLibCacheDir:ye,packageName:Dt.name,packageNameSlug:nt,config:it,resolvedSrcPathsScss:fastGlob.globSync(`${M}/${a.globalStylesName}.scss`,{ignore:[`${xe}/**/*.scss`]}),resolvedNodesPaths:e.map(r=>r.path),resolvedSrcLocalesPaths:fastGlob.globSync(`${M}/${a.localesDirName}/*.json`),redServerPath:fastGlob.globSync(`${M}/red-server.ts`),listNodesFull:t,listNodesFullNames:u}}var D=Hu();var Ft=`${lt__namespace.default.resolve(__dirname,"..")}`;function y(e){at__default.default.existsSync(e)||at__default.default.mkdirSync(e,{recursive:!0});}async function E(e,t){try{await be__default.default.writeFile(e,t);}catch(u){console.error("Error writing controller index:",u);}}async function ct(e){for(let t of e)try{let u=lt__namespace.default.resolve(t),r=await be__default.default.stat(u).catch(()=>null);r!=null&&r.isDirectory()&&await be__default.default.rm(u,{recursive:!0,force:!0});}catch(u){console.error(`Error cleaning path (${t}): ${u}`);}}var mt={name:"add-credentials-export",setup(e){e.onLoad({filter:/controller\.ts$/},async t=>{let u=await be__default.default.readFile(t.path,"utf8");return /export\s+const\s+credentials\s*=/.test(u)?{contents:u,loader:"ts"}:{contents:`${u}
11
- export const credentials = {};`,loader:"ts"}});}};var Vu=`${D.currentDir}/package.json`,Z=class{params;constructor(t){this.params={minify:!1,...t};}async getControllerIndexContent(){return `
9
+ `),this)}stop(){return this.#a?(clearInterval(this.#m),this.#m=void 0,this.#s=0,this.clear(),this.#t.hideCursor&&ce.show(this.#r),this.#t.discardStdin&&h__namespace.default.stdin.isTTY&&this.#u&&(ge.stop(),this.#u=!1),this):this}succeed(t){return this.stopAndPersist({symbol:R.success,text:t})}fail(t){return this.stopAndPersist({symbol:R.error,text:t})}warn(t){return this.stopAndPersist({symbol:R.warning,text:t})}info(t){return this.stopAndPersist({symbol:R.info,text:t})}stopAndPersist(t={}){if(this.#l)return this;let u=t.prefixText??this.#D,r=this.#C(u," "),s=t.symbol??" ",o=t.text??this.text,n=typeof o=="string"?(s?" ":"")+o:"",c=t.suffixText??this.#n,m=this.#h(c," "),d=r+s+n+m+`
10
+ `;return this.stop(),this.#r.write(d),this}};function _e(e){return new Be(e)}var rt={name:"@keload/node-red-dxp",version:"1.15.1",description:"",type:"module",scripts:{build:"tsup",watch:"tsup --watch",format:"pnpm biome format",lint:"pnpm biome lint","lint:check":"pnpm biome check",release:"pnpm release-it","release:test":"pnpm release-it --dry-run","docs:dev":"./build-docs.sh && vitepress dev docs","docs:build":"./build-docs.sh && vitepress build docs","docs:preview":"vitepress preview docs","test:unit":"vitest"},publishConfig:{access:"public"},bin:{"node-red-dxp":"./dist/cli/index.cjs"},exports:{".":{import:"./dist/index.js",require:"./dist/index.cjs"},"./editor":{import:"./dist/editor/index.js",require:"./dist/editor/index.cjs"},"./editor/dom-helper":{import:"./dist/editor/dom-helper/index.js",require:"./dist/editor/dom-helper/index.cjs"},"./builder":{import:"./dist/builder/index.js",require:"./dist/builder/index.cjs"},"./utils":{import:"./dist/utils/index.js",require:"./dist/utils/index.cjs"},"./package.json":"./package.json"},keywords:[],author:"Cl\xE9ment BERARD <contact@berard.dev>",license:"MIT",repository:{type:"git",url:"https://github.com/clement-berard/node-red-dxp.git"},bugs:{url:"https://github.com/clement-berard/node-red-dxp/issues"},homepage:"https://github.com/clement-berard/node-red-dxp",devDependencies:{"@biomejs/biome":"1.9.4","@release-it/conventional-changelog":"9.0.3","release-it":"17.10.0",tsup:"8.3.5",tsx:"4.19.2",typedoc:"^0.26.11","typedoc-plugin-markdown":"4.2.10",typescript:"5.6.3",vitepress:"1.5.0",vitest:"2.1.5"},dependencies:{"@fullhuman/postcss-purgecss":"^6.0.0","@types/html-minifier-terser":"7.0.2","@types/jquery":"3.5.32","@types/jqueryui":"1.12.23","@types/node-red":"1.3.5","@types/prettyjson":"0.0.33",autoprefixer:"^10.4.20","browser-sync":"3.0.3",chokidar:"4.0.1",commander:"12.1.0",consola:"3.2.3",cosmiconfig:"9.0.0",cssnano:"^7.0.6",esbuild:"0.24.0","fast-glob":"^3.3.2",handlebars:"4.7.8","html-minifier-terser":"7.2.0","mdx-to-md":"^0.3.2","merge-anything":"6.0.2",nodemon:"3.1.7",ora:"8.1.1",postcss:"^8.4.49",prettyjson:"1.2.5",radash:"12.1.0",sass:"1.81.0",tailwindcss:"^3.4.15"},files:["dist"]};function K(e){return Object.prototype.toString.call(e).slice(8,-1)}function S(e){if(K(e)!=="Object")return !1;let t=Object.getPrototypeOf(e);return !!t&&t.constructor===Object&&t===Object.prototype}function z(e){return K(e)==="Symbol"}function st(e,t,u,r){let s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=u),s==="nonenumerable"&&Object.defineProperty(e,t,{value:u,enumerable:!1,writable:!0,configurable:!0});}function ot(e,t,u){if(!S(t))return t;let r={};if(S(e)){let n=Object.getOwnPropertyNames(e),c=Object.getOwnPropertySymbols(e);r=[...n,...c].reduce((m,d)=>{let _=e[d];return (!z(d)&&!Object.getOwnPropertyNames(t).includes(d)||z(d)&&!Object.getOwnPropertySymbols(t).includes(d))&&st(m,d,_,e),m},{});}let s=Object.getOwnPropertyNames(t),o=Object.getOwnPropertySymbols(t);return [...s,...o].reduce((n,c)=>{let m=t[c],d=S(e)?e[c]:void 0;d!==void 0&&S(m)&&(m=ot(d,m));let _=m;return st(n,c,_,t),n},r)}function Z(e,...t){return t.reduce((u,r)=>ot(u,r),e)}var it={builder:{outputDir:"dist",esbuildControllerOptions:{includeInBundle:[]},tailwind:{forcedClassesInclusion:[]}},watcher:{nodeRed:{enabled:!0,path:"~/.node-red",url:"http://localhost:1880"}}};var a={libCacheDir:".node-red-dxp",srcDir:"src",nodesDirName:"nodes",localesDirName:"locales",globalStylesName:"styles",nodes:{controllerName:"controller",editor:{dirName:"editor",htmlName:"index",stylesName:"styles",tsName:"index"}}};var ju="node-red-dxp",Mu=e=>e.replace("@","").replace("/","-");function ku(){let e=cosmiconfig.cosmiconfigSync(ju);try{let t=e.search();return Z(it,t?t.config:{})}catch(t){throw console.error("Error while loading configuration",t),t}}var Dt=ku(),B=process.cwd(),nt=JSON.parse(lt.readFileSync(`${B}/package.json`,"utf-8")),k=`${B}/${a.srcDir}`,Lu=`${B}/resources`,Gu=`${B}/resources`,xe=`${k}/${a.nodesDirName}`,ye=`${B}/${a.libCacheDir}`,Wu=`${Ft__namespace.default.resolve(__dirname,"..")}`,at=Mu(nt.name);function Hu(e=[]){return e.map(t=>{let u=t.path,r=`${u}/${a.nodes.editor.dirName}`,s=u.replace(B,"").slice(1),o=`${s}/${a.nodes.editor.dirName}`,i=fastGlob.globSync(`${r}/${a.nodes.editor.stylesName}.scss`),n=fastGlob.globSync(`${u}/docs.mdx`),c=fastGlob.globSync(`${u}/docs.md`),m=radash.dash(t.name);return {fullEditorPath:r,fullPath:u,name:t.name,pascalName:radash.pascal(t.name),dashName:m,relativeEditorPath:o,relativePath:s,nodeIdentifier:`${at}-${m}`,fullControllerPath:`${u}/${a.nodes.controllerName}.ts`,editor:{tsPath:`${r}/${a.nodes.editor.tsName}.ts`,htmlPath:`${r}/${a.nodes.editor.htmlName}.html`,scssFiles:i},doc:{mdxFiles:n,mdFiles:c}}})}function Uu(){let e=fastGlob.globSync(`${xe}/**/*`,{onlyDirectories:!0,deep:1,objectMode:!0}),t=Hu(e),u=t.map(r=>r.name);return {currentDir:B,pathSrcDir:k,pathSrcNodesDir:xe,pathResourcesDir:Lu,additionalResourcesDir:Gu,pathDist:`${B}/${Dt.builder.outputDir}`,currentPackagedDistPath:Wu,cacheDirFiles:{controllerIndex:`${ye}/controller-index.ts`,editorIndex:`${ye}/editor-index.ts`},pathLibCacheDir:ye,packageName:nt.name,packageNameSlug:at,config:Dt,resolvedSrcPathsScss:fastGlob.globSync(`${k}/${a.globalStylesName}.scss`,{ignore:[`${xe}/**/*.scss`]}),resolvedNodesPaths:e.map(r=>r.path),resolvedSrcLocalesPaths:fastGlob.globSync(`${k}/${a.localesDirName}/*.json`),redServerPath:fastGlob.globSync(`${k}/red-server.ts`),listNodesFull:t,listNodesFullNames:u}}var D=Uu();var ct=`${Ft__namespace.default.resolve(__dirname,"..")}`;function b(e){lt__default.default.existsSync(e)||lt__default.default.mkdirSync(e,{recursive:!0});}async function E(e,t){try{await be__default.default.writeFile(e,t);}catch(u){console.error("Error writing controller index:",u);}}async function mt(e){for(let t of e)try{let u=Ft__namespace.default.resolve(t),r=await be__default.default.stat(u).catch(()=>null);r!=null&&r.isDirectory()&&await be__default.default.rm(u,{recursive:!0,force:!0});}catch(u){console.error(`Error cleaning path (${t}): ${u}`);}}var dt={name:"add-credentials-export",setup(e){e.onLoad({filter:/controller\.ts$/},async t=>{let u=await be__default.default.readFile(t.path,"utf8");return /export\s+const\s+credentials\s*=/.test(u)?{contents:u,loader:"ts"}:{contents:`${u}
11
+ export const credentials = {};`,loader:"ts"}});}};var qu=`${D.currentDir}/package.json`,X=class{params;constructor(t){this.params={minify:!1,...t};}async getControllerIndexContent(){return `
12
12
  import type { NodeAPI } from 'node-red';
13
13
  ${D.listNodesFull.map(t=>`import ${t.pascalName}, {credentials as cred${t.pascalName}} from '${t.fullControllerPath}';`).join(`
14
14
  `)}
@@ -27,23 +27,23 @@ global.RED.nodes.registerType('${t.name}', ${t.pascalName}, {
27
27
 
28
28
  ${D.redServerPath.length>0?"RedServer();":""}
29
29
  };
30
- `.trim()}buildScript(){let t=at__default.default.readFileSync(Vu,"utf8"),u=JSON.parse(t),r=D.config.builder.esbuildControllerOptions.includeInBundle,o=Object.keys(u.dependencies||{}).filter(i=>!r.includes(i));return Ju__default.default.build({entryPoints:[D.cacheDirFiles.controllerIndex],outfile:`${D.pathDist}/index.js`,bundle:!0,minify:this.params.minify,minifyWhitespace:this.params.minify,minifyIdentifiers:this.params.minify,minifySyntax:this.params.minify,platform:"node",format:"cjs",target:"es2018",loader:{".ts":"ts"},packages:"bundle",plugins:[mt],external:o})}async getControllerTask(){return this.getControllerIndexContent().then(t=>{E(`${D.cacheDirFiles.controllerIndex}`,t).then(()=>{this.buildScript();});})}};function dt(e,t){return `
30
+ `.trim()}buildScript(){let t=lt__default.default.readFileSync(qu,"utf8"),u=JSON.parse(t),r=D.config.builder.esbuildControllerOptions.includeInBundle,o=Object.keys(u.dependencies||{}).filter(i=>!r.includes(i));return Vu__default.default.build({entryPoints:[D.cacheDirFiles.controllerIndex],outfile:`${D.pathDist}/index.js`,bundle:!0,minify:this.params.minify,minifyWhitespace:this.params.minify,minifyIdentifiers:this.params.minify,minifySyntax:this.params.minify,platform:"node",format:"cjs",target:"es2018",loader:{".ts":"ts"},packages:"bundle",plugins:[dt],external:o})}async getControllerTask(){return this.getControllerIndexContent().then(t=>{E(`${D.cacheDirFiles.controllerIndex}`,t).then(()=>{this.buildScript();});})}};function ft(e,t){return `
31
31
  <script type="text/markdown" data-help-name="${t}">
32
32
  ${e}
33
- </script>`.trim()}async function zu(e,t){process.env.NODE_ENV="production";let u=await mdxToMd.mdxToMd(e);return dt(u,t)}async function Zu(e,t){let u=await be__default.default.readFile(e,"utf8");return dt(u,t)}async function Xu(e){return e.isMdx?await zu(e.path,e.name):await Zu(e.path,e.name)}async function ft(){let e=D.listNodesFull.flatMap(u=>{let r=u.doc.mdxFiles.length!==0,s=u.doc.mdFiles.length!==0;if(!r&&!s)return [];let o=!r&&s;return {path:o?u.doc.mdFiles[0]:u.doc.mdxFiles[0],name:u.name,isMdx:r,isMd:o}}),t=await Promise.all(e.map(u=>Xu(u)));return t.length?t.join(`
34
- `):""}function pt(e){return e.trim().replace(/\n\s+/g,"")}function Ct(e=""){return {name:e,dashName:radash.dash(e),pascalName:radash.pascal(e)}}function ht(e="",t=""){return !e||!t?t:t.replace(/data-i18n="([^"]+)"/g,(u,r)=>`data-i18n="${r.replace(/(\[.*?\])?(node-red:[^;]+|[^;]+)/g,(o,i,n)=>{let c=n;return n.startsWith("node-red:")||(c=`${e}.${n}`),(i||"")+c})}"`)}async function rr(e){return htmlMinifierTerser.minify(e,{collapseWhitespace:!0,removeComments:!0,removeRedundantAttributes:!1,useShortDoctype:!0,removeEmptyAttributes:!1,minifyCSS:!1,minifyJS:!1})}function sr(e,t){return `
33
+ </script>`.trim()}async function Zu(e,t){process.env.NODE_ENV="production";let u=await mdxToMd.mdxToMd(e);return ft(u,t)}async function Xu(e,t){let u=await be__default.default.readFile(e,"utf8");return ft(u,t)}async function Qu(e){return e.isMdx?await Zu(e.path,e.name):await Xu(e.path,e.name)}async function pt(){let e=D.listNodesFull.flatMap(u=>{let r=u.doc.mdxFiles.length!==0,s=u.doc.mdFiles.length!==0;if(!r&&!s)return [];let o=!r&&s;return {path:o?u.doc.mdFiles[0]:u.doc.mdxFiles[0],name:u.name,isMdx:r,isMd:o}}),t=await Promise.all(e.map(u=>Qu(u)));return t.length?t.join(`
34
+ `):""}function Ct(e){return e.trim().replace(/\n\s+/g,"")}function ht(e=""){return {name:e,dashName:radash.dash(e),pascalName:radash.pascal(e)}}function Et(e="",t=""){return !e||!t?t:t.replace(/data-i18n="([^"]+)"/g,(u,r)=>`data-i18n="${r.replace(/(\[.*?\])?(node-red:[^;]+|[^;]+)/g,(o,i,n)=>{let c=n;return n.startsWith("node-red:")||(c=`${e}.${n}`),(i||"")+c})}"`)}async function sr(e){return htmlMinifierTerser.minify(e,{collapseWhitespace:!0,removeComments:!0,removeRedundantAttributes:!1,useShortDoctype:!0,removeEmptyAttributes:!1,minifyCSS:!1,minifyJS:!1})}function or(e,t){return `
35
35
  <script type="text/html" data-template-name="${e}">
36
36
  ${t}
37
37
  </script>
38
- `}async function or(e,t,u=!1){let r=at.readFileSync(e.editor.htmlPath,"utf8"),s=`
38
+ `}async function ir(e,t,u=!1){let r=lt.readFileSync(e.editor.htmlPath,"utf8"),s=`
39
39
  <div class="${t}">
40
40
  <div id="${e.nodeIdentifier}">${r}</div>
41
41
  </div>
42
- `,o=u?await rr(s):s;o=ht(e.name,o);let i=sr(e.name,o);return {nodeName:e.name,nodeIdentifier:e.nodeIdentifier,html:o,wrappedHtml:i}}async function Et(e){let{nodes:t,minify:u=!1}=e,r=await Promise.all(t.map(o=>or(o,e.packageNameSlug,u)));return {html:r.map(o=>o.html).join("").trim(),allWrappedHtml:r.map(o=>u?pt(o.wrappedHtml):o.wrappedHtml).join("").trim()}}function gt(e){let t=e.replace(D.pathResourcesDir,"");return `resources/${D.packageName}${t}`}function Dr(e){return `<script src="${e}"></script>`}function nr(e){return `<link rel="stylesheet" href="${e}">`}async function ar(e){return lt__namespace.parse(e).ext===".js"?Dr(gt(e)):nr(gt(e))}async function _t(){let e=D.pathResourcesDir,t=fastGlob.globSync(`${e}/**/*.{js,css}`,{onlyFiles:!0});return (await Promise.all(t.map(ar))).join("")}var xt=["hidden","block","font-bold","red-ui-typedInput-container","red-ui-typedInput-type-select","red-ui-typedInput-type-label","red-ui-typedInput-type-icon",...D.config.builder.tailwind.forcedClassesInclusion],At=[...xt,...xt.map(e=>`!${e}`)],pr='<div class="dxp-form-row"><div class="main"></div></div>';async function Cr(e,t){return (await yt__default.default([Fr__default.default({content:[{raw:`${t}${pr}`,extension:"html"}],safelist:[/^!/,/^\\!/,/^\\:/,...At]}),cr__default.default,mr__default.default({preset:"default"})]).process(e,{from:void 0})).css}function hr(e){return bt__namespace.compile(e,{style:"expanded"}).css}function wt(e){let t={};for(let u=0;u<e.length;u++){let r=e[u];t[r]=hr(r);}return t}function Er(e){return e.some(u=>u.editor.scssFiles.length)?e.filter(u=>u.editor.scssFiles.length).map(u=>{let r=wt(u.editor.scssFiles),s=Object.values(r).join("");return {name:u.name,mergedCompiledStyles:s,scssFinal:`
42
+ `,o=u?await sr(s):s;o=Et(e.name,o);let i=or(e.name,o);return {nodeName:e.name,nodeIdentifier:e.nodeIdentifier,html:o,wrappedHtml:i}}async function gt(e){let{nodes:t,minify:u=!1}=e,r=await Promise.all(t.map(o=>ir(o,e.packageNameSlug,u)));return {html:r.map(o=>o.html).join("").trim(),allWrappedHtml:r.map(o=>u?Ct(o.wrappedHtml):o.wrappedHtml).join("").trim()}}function Bt(e){let t=e.replace(D.pathResourcesDir,"");return `resources/${D.packageName}${t}`}function nr(e){return `<script src="${e}"></script>`}function ar(e){return `<link rel="stylesheet" href="${e}">`}async function lr(e){return Ft__namespace.parse(e).ext===".js"?nr(Bt(e)):ar(Bt(e))}async function xt(){let e=D.pathResourcesDir,t=fastGlob.globSync(`${e}/**/*.{js,css}`,{onlyFiles:!0});return (await Promise.all(t.map(lr))).join("")}var yt=["hidden","block","font-bold","red-ui-typedInput-container","red-ui-typedInput-type-select","red-ui-typedInput-type-label","red-ui-typedInput-type-icon",...D.config.builder.tailwind.forcedClassesInclusion],wt=[...yt,...yt.map(e=>`!${e}`)];async function pr(e,t){return (await Ae__default.default([cr__default.default({content:[{raw:t,extension:"html"}],safelist:[/^!/,/^\\!/,/^\\:/,...wt]}),mr__default.default,bt__default.default({preset:"default"})]).process(e,{from:void 0})).css}function Cr(e){return At__namespace.compile(e,{style:"expanded"}).css}function Nt(e){let t={};for(let u=0;u<e.length;u++){let r=e[u];t[r]=Cr(r);}return t}function hr(e){return e.some(u=>u.editor.scssFiles.length)?e.filter(u=>u.editor.scssFiles.length).map(u=>{let r=Nt(u.editor.scssFiles),s=Object.values(r).join("");return {name:u.name,mergedCompiledStyles:s,scssFinal:`
43
43
  #${u.nodeIdentifier}{
44
44
  ${s}
45
- }`}}):[]}async function gr(e,t={}){let r={...{content:[{raw:e},{raw:At.join(" ")}],theme:{}},...t},s=fastGlob.globSync(`${Ft}/${a.nodes.editor.dirName}/assets/tailwind.scss`)[0],o=s.length?at__default.default.readFileSync(s,"utf8"):"";return (await yt__default.default([fr__default.default(r),Jt("autoprefixer")]).process(o,{from:void 0})).css}function Br(){let e=D.resolvedSrcPathsScss,t=wt([...e]);return Object.values(t).join("")}async function Nt(e){let{rawHtml:t,minify:u=!1,nodes:r}=e||{},s=Br(),o=Er(r),i=await gr(t),n=d=>`.${D.packageNameSlug}{${d}}`,c=o.map(d=>d.scssFinal).join(`
46
- `),m=n(`${i}${s}${c}`);return u?Cr(m,t):m}async function xr(){return `
45
+ }`}}):[]}async function Er(e,t={}){let r={...{content:[{raw:e},{raw:wt.join(" ")}],theme:{}},...t},s=fastGlob.globSync(`${ct}/${a.nodes.editor.dirName}/assets/tailwind.scss`)[0],o=s.length?lt__default.default.readFileSync(s,"utf8"):"";return (await Ae__default.default([fr__default.default(r),Vt("autoprefixer")]).process(o,{from:void 0})).css}function gr(){let e=D.resolvedSrcPathsScss;if(!e.length)return "";let t=Nt([...e]);return Object.values(t).join("")}async function vt(e){let t=_=>`.${D.packageNameSlug}{${_}}`,{rawHtml:u,minify:r=!1,nodes:s}=e||{},o=gr(),i=hr(s),n=await Er(u),c=r?await Ae__default.default([bt__default.default({preset:"default"})]).process(n,{from:void 0}):n,m=i.map(_=>_.scssFinal).join(`
46
+ `),d=r?await pr(`${o}${m}`,u):`${o}${m}`;return t(`${c}${d}`)}async function _r(){return `
47
47
  import type { NodeAPI } from 'node-red';
48
48
  ${D.listNodesFull.map(e=>`import ${e.pascalName} from '${e.editor.tsPath}';`).join(`
49
49
  `)}
@@ -53,9 +53,9 @@ declare const RED: NodeAPI;
53
53
  ${D.listNodesFull.map(e=>`// @ts-ignore
54
54
  window.RED.nodes.registerType('${e.name}', ${e.pascalName});`).join(`
55
55
  `)}
56
- `.trim()}async function yr(e=!1){let t=await Ju__default.default.build({entryPoints:[D.cacheDirFiles.editorIndex],bundle:!0,platform:"browser",format:"iife",target:"es6",sourcemap:!1,minify:e,minifyWhitespace:e,minifySyntax:e,minifyIdentifiers:e,legalComments:"none",inject:[`${D.currentPackagedDistPath}/editor/dom-include.js`],write:!1,loader:{".ts":"ts"}});return t.outputFiles&&t.outputFiles.length>0?t.outputFiles[0].text:""}var X=class{params;constructor(t){this.params={minify:!1,...t};}async prepareEditorIndex(){let t=[yr(this.params.minify),ft(),_t()],[u,r,s]=await Promise.all(t),o=await Et({minify:this.params.minify,nodes:D.listNodesFull,packageNameSlug:D.packageNameSlug}),i=await Nt({rawHtml:o.html,minify:this.params.minify,nodes:D.listNodesFull}),n=`<script type="application/javascript">${u.trim()}</script>`,c=`<style>${i}</style>`;return `
56
+ `.trim()}async function xr(e=!1){let t=await Vu__default.default.build({entryPoints:[D.cacheDirFiles.editorIndex],bundle:!0,platform:"browser",format:"iife",target:"es6",sourcemap:!1,minify:e,minifyWhitespace:e,minifySyntax:e,minifyIdentifiers:e,legalComments:"none",inject:[`${D.currentPackagedDistPath}/editor/dom-include.js`],write:!1,loader:{".ts":"ts"}});return t.outputFiles&&t.outputFiles.length>0?t.outputFiles[0].text:""}var Q=class{params;constructor(t){this.params={minify:!1,...t};}async prepareEditorIndex(){let t=[xr(this.params.minify),pt(),xt()],[u,r,s]=await Promise.all(t),o=await gt({minify:this.params.minify,nodes:D.listNodesFull,packageNameSlug:D.packageNameSlug}),i=await vt({rawHtml:o.html,minify:this.params.minify,nodes:D.listNodesFull}),n=`<script type="application/javascript">${u.trim()}</script>`,c=`<style>${i}</style>`;return `
57
57
  ${s}
58
58
  ${o.allWrappedHtml}
59
59
  ${c}
60
60
  ${n}
61
- ${r}`.trim()}async getEditorTask(){return xr().then(t=>{E(`${D.cacheDirFiles.editorIndex}`,t).then(()=>{this.prepareEditorIndex().then(async u=>{await E(`${D.pathDist}/${a.nodes.editor.htmlName}.html`,u);});});})}};async function Ar(e){let t=e.split("/").pop().split(".").shift(),u=await be__default.default.readFile(e,"utf-8");return {codeLang:t,content:u}}async function vt(){let e=D.listNodesFullNames,t=D.resolvedSrcLocalesPaths,u=await Promise.all(t.map(Ar)),r={};e.forEach(o=>{for(let{codeLang:i,content:n}of u)r[i]||(r[i]=[]),r[i].push(`"${o}":${n}`);});let s="";for(let[o,i]of Object.entries(r)){let n=i.map(c=>c).join(",").slice(0,-1);s+=`"${o}":{${n}},`;}return `{${s.slice(0,-1)}}`}async function vr(e){let t=e.replace(`${D.pathSrcNodesDir}${lt.sep}`,""),[u,,r]=t.split(lt.sep),[s]=r.split("."),o=await be__default.default.readFile(e,"utf-8");return {nodeName:u,codeLang:s,path:e,content:o}}async function Pt(){let e=fastGlob.globSync(`${D.pathSrcNodesDir}/**/${a.localesDirName}/*.json`),t=await Promise.all(e.map(vr)),u={};t.forEach(({nodeName:s,codeLang:o,content:i})=>{u[o]||(u[o]=[]),u[o].push(`"${s}":${i}`);});let r="";for(let[s,o]of Object.entries(u)){let i=o.map(n=>n).join(",").slice(0,-1);r+=`"${s}":{${i}},`;}return `{${r.slice(0,-1)}}`}async function Tt(){let[e,t]=await Promise.all([vt(),Pt()]),u=z(JSON.parse(e),JSON.parse(t)),r=[],s=[];for(let[o,i]of Object.entries(u))r.push(y(`${D.pathDist}/${a.localesDirName}/${o}`)),s.push(E(`${D.pathDist}/${a.localesDirName}/${o}/index.json`,JSON.stringify(i)));await Promise.all(r),await Promise.all(s);}var S=class{params;builderController;builderEditor;constructor(t){this.params={minify:!1,...t},this.builderController=new Z({minify:this.params.minify}),this.builderEditor=new X({minify:this.params.minify});}async prepare(){y(D.pathLibCacheDir);let t=[ct([D.pathDist]),E(`${D.pathLibCacheDir}/config.json`,JSON.stringify(D.config,null,2))];return Promise.all(t).then(()=>{y(D.pathDist);})}async buildAll(){return await this.prepare(),Promise.all([this.builderController.getControllerTask(),this.builderEditor.getEditorTask(),Tt()])}};function $t(e){let t=new commander.Command("checks").description("[WIP] Commands to check the some stuff");t.command("nodes-structure").description("[WIP] Verify the structure of the nodes").action(()=>{console.log("In construction");}),e.addCommand(t);}function Ot(e){let t=new commander.Command("info").description("Command to get information").description("Get information about the package").action(()=>{consola.consola.log($r__default.default.render(D));});e.addCommand(t);}async function Mr(e){try{let t=lt__namespace.default.resolve(e);return await be__default.default.readFile(t,"utf-8")}catch(t){throw new Error(`Failed to load file: ${t.message}`)}}async function kr(e,t){try{let u=await Mr(e);return jr__default.default.compile(u)(t)}catch(u){throw new Error(`Failed to render template: ${u.message}`)}}var Q=class{nodePascalName;nodeDashName;newNodeDistPath;newNodeEditorDistPath;scaffoldedDistHbs;isConfigNode;constructor(t,u=!1){let{pascalName:r,dashName:s}=Ct(t);this.nodePascalName=r,this.nodeDashName=s,this.newNodeDistPath=`${D.pathSrcNodesDir}/${s}`,this.newNodeEditorDistPath=`${this.newNodeDistPath}/${a.nodes.editor.dirName}`,this.scaffoldedDistHbs=`${D.currentPackagedDistPath}/scaffolding/create-node/hbs`,this.isConfigNode=u;}distFolderExist(){return at__default.default.existsSync(this.newNodeDistPath)}prepareStructure(){return [{finalPath:`${this.newNodeDistPath}/controller.ts`,templatePath:`${this.scaffoldedDistHbs}/controller${this.isConfigNode?"-config":""}.ts.hbs`,templateData:{nodePascalName:this.nodePascalName,nodeName:this.nodeDashName}},{finalPath:`${this.newNodeDistPath}/types.ts`,templatePath:`${this.scaffoldedDistHbs}/types.ts.hbs`,templateData:{nodePascalName:this.nodePascalName,nodeName:this.nodeDashName}},{finalPath:`${this.newNodeDistPath}/doc.md`,templatePath:`${this.scaffoldedDistHbs}/doc.md.hbs`,templateData:{}},{finalPath:`${this.newNodeEditorDistPath}/${a.nodes.editor.tsName}.ts`,templatePath:`${this.scaffoldedDistHbs}/editor/index${this.isConfigNode?"-config":""}.ts.hbs`,templateData:{nodePascalName:this.nodePascalName,nodeName:this.nodeDashName}},{finalPath:`${this.newNodeEditorDistPath}/styles.scss`,templatePath:`${this.scaffoldedDistHbs}/editor/styles.scss.hbs`,templateData:{nodeName:this.nodeDashName}},{finalPath:`${this.newNodeEditorDistPath}/${a.nodes.editor.htmlName}.html`,templatePath:`${this.scaffoldedDistHbs}/editor/index${this.isConfigNode?"-config":""}.html.hbs`,templateData:{}}]}async renderFilesTemplates(){let t=this.prepareStructure().map(async u=>kr(u.templatePath,u.templateData).then(r=>({finalPath:u.finalPath,content:r})));return await Promise.all(t)}async writeNewNode(){let t=await this.renderFilesTemplates();await Promise.all(t.map(u=>E(u.finalPath,u.content)));}};function It(e){let t=new commander.Command("create-node").description("Create new node").action(async()=>{let u=await consola.consola.prompt("Enter node name:",{type:"text"}),r=radash.dash(u);if(!await consola.consola.prompt(`This name is OK for you '${r}'?`,{type:"confirm"})){consola.consola.info("\u{1F44C} OK. Exiting...");return}let o=await consola.consola.prompt("Is this a config node?",{type:"confirm"}),i=new Q(r,o);if(i.distFolderExist()){consola.consola.error(`Node ${i.nodeDashName} already exists`),consola.consola.info(`In ${i.newNodeDistPath}`);return}y(i.newNodeEditorDistPath),await i.writeNewNode();});e.addCommand(t);}var jt,Ae;function Ur(){jt=Rt__default.default({exec:`node-red -u ${D.config.watcher.nodeRed.path}`,ignore:["**/*"],ext:"js,html",verbose:!0}),Rt__default.default.once("start",()=>{Ae=Wr__default.default.create(),Ae.init({ui:!1,proxy:{target:D.config.watcher.nodeRed.url,ws:!0},ghostMode:!1,open:!1,reloadDelay:4e3});}).on("quit",()=>{consola.consola.info("Nodemon has quit"),process.exit(0);});}function Yr(){jt.restart(),Ae.reload();}function Mt(e){let t=D.config.watcher.nodeRed.enabled&&D.config.watcher.nodeRed.path,u=Hr__default.default.watch(D.pathSrcDir,{}),r=new S({minify:(e==null?void 0:e.minify)??!1});u.on("ready",async()=>{consola.consola.info("Initial scan complete. Ready for changes"),await r.buildAll(),consola.consola.success("Initial Build completed"),t?Ur():consola.consola.warn("Node-Red watcher is disabled. Please enable it in the config file");}).on("change",async s=>{consola.consola.info(`File ${s.replace(D.currentDir,"")} has been changed`),await r.buildAll(),consola.consola.success("Build completed"),t&&Yr();});}var b=new commander.Command;b.name("node-red-dxp").description("node-red-dxp CLI").version(ut.version);b.command("build").description("The build script compiles all nodes into a production-ready, optimized format at lightning speed, with the output defaulting to the dist directory.").option("--no-minify","No minify the output",!0).action(async e=>{let t=D.listNodesFull.length,u=perf_hooks.performance.now();console.log("node-red-dxp builder");let r=_e(`Building ${t} node(s)...`).start();await new S({minify:e.minify}).buildAll();let i=perf_hooks.performance.now()-u,n=i>1e3?`${(i/1e3).toFixed(2)}s`:`${i.toFixed(2)}ms`;r.succeed(`Build completed in ${n} for ${t} nodes(s)`);});b.command("watch").description("watch project").option("--minify","Minify the output",!1).action(e=>{Mt({minify:e.minify});});$t(b);Ot(b);It(b);b.parse(h__namespace.argv);
61
+ ${r}`.trim()}async getEditorTask(){return _r().then(t=>{E(`${D.cacheDirFiles.editorIndex}`,t).then(()=>{this.prepareEditorIndex().then(async u=>{await E(`${D.pathDist}/${a.nodes.editor.htmlName}.html`,u);});});})}};async function br(e){let t=e.split("/").pop().split(".").shift(),u=await be__default.default.readFile(e,"utf-8");return {codeLang:t,content:u}}async function St(){let e=D.listNodesFullNames,t=D.resolvedSrcLocalesPaths,u=await Promise.all(t.map(br)),r={};e.forEach(o=>{for(let{codeLang:i,content:n}of u)r[i]||(r[i]=[]),r[i].push(`"${o}":${n}`);});let s="";for(let[o,i]of Object.entries(r)){let n=i.map(c=>c).join(",").slice(0,-1);s+=`"${o}":{${n}},`;}return `{${s.slice(0,-1)}}`}async function Nr(e){let t=e.replace(`${D.pathSrcNodesDir}${Ft.sep}`,""),[u,,r]=t.split(Ft.sep),[s]=r.split("."),o=await be__default.default.readFile(e,"utf-8");return {nodeName:u,codeLang:s,path:e,content:o}}async function Tt(){let e=fastGlob.globSync(`${D.pathSrcNodesDir}/**/${a.localesDirName}/*.json`),t=await Promise.all(e.map(Nr)),u={};t.forEach(({nodeName:s,codeLang:o,content:i})=>{u[o]||(u[o]=[]),u[o].push(`"${s}":${i}`);});let r="";for(let[s,o]of Object.entries(u)){let i=o.map(n=>n).join(",").slice(0,-1);r+=`"${s}":{${i}},`;}return `{${r.slice(0,-1)}}`}async function $t(){let[e,t]=await Promise.all([St(),Tt()]),u=Z(JSON.parse(e),JSON.parse(t)),r=[],s=[];for(let[o,i]of Object.entries(u))r.push(b(`${D.pathDist}/${a.localesDirName}/${o}`)),s.push(E(`${D.pathDist}/${a.localesDirName}/${o}/index.json`,JSON.stringify(i)));await Promise.all(r),await Promise.all(s);}var P=class{params;builderController;builderEditor;constructor(t){this.params={minify:!1,...t},this.builderController=new X({minify:this.params.minify}),this.builderEditor=new Q({minify:this.params.minify});}async prepare(){b(D.pathLibCacheDir);let t=[mt([D.pathDist]),E(`${D.pathLibCacheDir}/config.json`,JSON.stringify(D.config,null,2))];return Promise.all(t).then(()=>{b(D.pathDist);})}async buildAll(){return await this.prepare(),Promise.all([this.builderController.getControllerTask(),this.builderEditor.getEditorTask(),$t()])}};function Ot(e){let t=new commander.Command("checks").description("[WIP] Commands to check the some stuff");t.command("nodes-structure").description("[WIP] Verify the structure of the nodes").action(()=>{console.log("In construction");}),e.addCommand(t);}function It(e){let t=new commander.Command("info").description("Command to get information").description("Get information about the package").action(()=>{consola.consola.log(Tr__default.default.render(D));});e.addCommand(t);}async function jr(e){try{let t=Ft__namespace.default.resolve(e);return await be__default.default.readFile(t,"utf-8")}catch(t){throw new Error(`Failed to load file: ${t.message}`)}}async function Mr(e,t){try{let u=await jr(e);return Rr__default.default.compile(u)(t)}catch(u){throw new Error(`Failed to render template: ${u.message}`)}}var ee=class{nodePascalName;nodeDashName;newNodeDistPath;newNodeEditorDistPath;scaffoldedDistHbs;isConfigNode;constructor(t,u=!1){let{pascalName:r,dashName:s}=ht(t);this.nodePascalName=r,this.nodeDashName=s,this.newNodeDistPath=`${D.pathSrcNodesDir}/${s}`,this.newNodeEditorDistPath=`${this.newNodeDistPath}/${a.nodes.editor.dirName}`,this.scaffoldedDistHbs=`${D.currentPackagedDistPath}/scaffolding/create-node/hbs`,this.isConfigNode=u;}distFolderExist(){return lt__default.default.existsSync(this.newNodeDistPath)}prepareStructure(){return [{finalPath:`${this.newNodeDistPath}/controller.ts`,templatePath:`${this.scaffoldedDistHbs}/controller${this.isConfigNode?"-config":""}.ts.hbs`,templateData:{nodePascalName:this.nodePascalName,nodeName:this.nodeDashName}},{finalPath:`${this.newNodeDistPath}/types.ts`,templatePath:`${this.scaffoldedDistHbs}/types.ts.hbs`,templateData:{nodePascalName:this.nodePascalName,nodeName:this.nodeDashName}},{finalPath:`${this.newNodeDistPath}/doc.md`,templatePath:`${this.scaffoldedDistHbs}/doc.md.hbs`,templateData:{}},{finalPath:`${this.newNodeEditorDistPath}/${a.nodes.editor.tsName}.ts`,templatePath:`${this.scaffoldedDistHbs}/editor/index${this.isConfigNode?"-config":""}.ts.hbs`,templateData:{nodePascalName:this.nodePascalName,nodeName:this.nodeDashName}},{finalPath:`${this.newNodeEditorDistPath}/styles.scss`,templatePath:`${this.scaffoldedDistHbs}/editor/styles.scss.hbs`,templateData:{nodeName:this.nodeDashName}},{finalPath:`${this.newNodeEditorDistPath}/${a.nodes.editor.htmlName}.html`,templatePath:`${this.scaffoldedDistHbs}/editor/index${this.isConfigNode?"-config":""}.html.hbs`,templateData:{}}]}async renderFilesTemplates(){let t=this.prepareStructure().map(async u=>Mr(u.templatePath,u.templateData).then(r=>({finalPath:u.finalPath,content:r})));return await Promise.all(t)}async writeNewNode(){let t=await this.renderFilesTemplates();await Promise.all(t.map(u=>E(u.finalPath,u.content)));}};function Rt(e){let t=new commander.Command("create-node").description("Create new node").action(async()=>{let u=await consola.consola.prompt("Enter node name:",{type:"text"}),r=radash.dash(u);if(!await consola.consola.prompt(`This name is OK for you '${r}'?`,{type:"confirm"})){consola.consola.info("\u{1F44C} OK. Exiting...");return}let o=await consola.consola.prompt("Is this a config node?",{type:"confirm"}),i=new ee(r,o);if(i.distFolderExist()){consola.consola.error(`Node ${i.nodeDashName} already exists`),consola.consola.info(`In ${i.newNodeDistPath}`);return}b(i.newNodeEditorDistPath),await i.writeNewNode();});e.addCommand(t);}var Mt,we;function Hr(){Mt=jt__default.default({exec:`node-red -u ${D.config.watcher.nodeRed.path}`,ignore:["**/*"],ext:"js,html",verbose:!0}),jt__default.default.once("start",()=>{we=Gr__default.default.create(),we.init({ui:!1,proxy:{target:D.config.watcher.nodeRed.url,ws:!0},ghostMode:!1,open:!1,reloadDelay:4e3});}).on("quit",()=>{consola.consola.info("Nodemon has quit"),process.exit(0);});}function Ur(){Mt.restart(),we.reload();}function kt(e){let t=D.config.watcher.nodeRed.enabled&&D.config.watcher.nodeRed.path,u=Wr__default.default.watch(D.pathSrcDir,{}),r=new P({minify:(e==null?void 0:e.minify)??!1});u.on("ready",async()=>{consola.consola.info("Initial scan complete. Ready for changes"),await r.buildAll(),consola.consola.success("Initial Build completed"),t?Hr():consola.consola.warn("Node-Red watcher is disabled. Please enable it in the config file");}).on("change",async s=>{consola.consola.info(`File ${s.replace(D.currentDir,"")} has been changed`),await r.buildAll(),consola.consola.success("Build completed"),t&&Ur();});}var A=new commander.Command;A.name("node-red-dxp").description("node-red-dxp CLI").version(rt.version);A.command("build").description("The build script compiles all nodes into a production-ready, optimized format at lightning speed, with the output defaulting to the dist directory.").option("--no-minify","No minify the output",!0).action(async e=>{let t=D.listNodesFull.length,u=perf_hooks.performance.now();console.log("node-red-dxp builder");let r=_e(`Building ${t} node(s)...`).start();await new P({minify:e.minify}).buildAll();let i=perf_hooks.performance.now()-u,n=i>1e3?`${(i/1e3).toFixed(2)}s`:`${i.toFixed(2)}ms`;r.succeed(`Build completed in ${n} for ${t} nodes(s)`);});A.command("watch").description("watch project").option("--minify","Minify the output",!1).action(e=>{kt({minify:e.minify});});Ot(A);It(A);Rt(A);A.parse(h__namespace.argv);
@@ -1 +1 @@
1
- import'../../chunk-M7AD2PUT.js';function l(e){let t=e.startsWith("$"),n=e.startsWith("$$"),o=e.startsWith("#node-config-input")||e.startsWith("#node-input");return {isNodeIdShortcut:t,isNodeConfigIdShortcut:n,isFullSelector:o,value:t||n||o}}function c(e){let t=l(e);return t.isNodeConfigIdShortcut?`#node-config-input-${e.replace("$$","")}`:t.isNodeIdShortcut?`#node-input-${e.replace("$","")}`:e}function s(e,t,n){t.forEach(o=>{let r=document.querySelector(o);r&&n.forEach(i=>r.classList[e](i));});}function u(e,t){s("remove",e,t);}function d(e,t){s("add",e,t);}function a(e){return c(e).split("-input-")[1]}function p(e,t,n){let o=c(e),r=t;n!=null&&n.emptyValue&&(r=[{value:"",text:n.emptyValue},...t]),$(o).empty().append(r.map(i=>$("<option>",{value:i.value,text:i.text,selected:i.value===(n==null?void 0:n.selected)})));}function g(e,t){let o=(Array.isArray(e)?e:[e]).map(c).join(", ");$(o).on("input",()=>{let r=$(o).map(function(){return $(this).val()}).get();t(r);});}function f(e,t){let n=c(e);$(n).val(t);}function h(e,t){let n=c(e);$(n).text(t);}function S(e){let t=c(e);return $(t)}function x(e){let t=c(e);return document.querySelector(t).checked}function m(e){let t={};return document.querySelectorAll(`[id^="node-input-${e}-"]`).forEach(n=>{let o=n,r=o.id.replace(`node-input-${e}-`,"");o.type==="checkbox"?t[r]=o.checked:t[r]=o.value;}),t}function v(e,t){t&&Object.entries(t).forEach(([n,o])=>{let r=document.querySelector(`#node-input-${e}-${n}`);r&&(r.type==="checkbox"?r.checked=!!o:r.value=String(o));});}export{d as addClassesOnSelectors,m as getFormValues,s as handleAddRemoveClassesOnSelectors,p as initSelect,x as isCheckboxChecked,l as isNodeInput,S as jqSelector,u as removeClassesOnSelectors,a as resolveInputKey,c as resolveSelector,v as setFormValues,f as setInputValue,h as setText,g as watchInput};
1
+ import'../../chunk-O2XFH626.js';function l(e){let t=e.startsWith("$"),n=e.startsWith("$$"),o=e.startsWith("#node-config-input")||e.startsWith("#node-input");return {isNodeIdShortcut:t,isNodeConfigIdShortcut:n,isFullSelector:o,value:t||n||o}}function c(e){let t=l(e);return t.isNodeConfigIdShortcut?`#node-config-input-${e.replace("$$","")}`:t.isNodeIdShortcut?`#node-input-${e.replace("$","")}`:e}function s(e,t,n){t.forEach(o=>{let r=document.querySelector(o);r&&n.forEach(i=>r.classList[e](i));});}function u(e,t){s("remove",e,t);}function d(e,t){s("add",e,t);}function a(e){return c(e).split("-input-")[1]}function p(e,t,n){let o=c(e),r=t;n!=null&&n.emptyValue&&(r=[{value:"",text:n.emptyValue},...t]),$(o).empty().append(r.map(i=>$("<option>",{value:i.value,text:i.text,selected:i.value===(n==null?void 0:n.selected)})));}function g(e,t){let o=(Array.isArray(e)?e:[e]).map(c).join(", ");$(o).on("input",()=>{let r=$(o).map(function(){return $(this).val()}).get();t(r);});}function f(e,t){let n=c(e);$(n).val(t);}function h(e,t){let n=c(e);$(n).text(t);}function S(e){let t=c(e);return $(t)}function x(e){let t=c(e);return document.querySelector(t).checked}function m(e){let t={};return document.querySelectorAll(`[id^="node-input-${e}-"]`).forEach(n=>{let o=n,r=o.id.replace(`node-input-${e}-`,"");o.type==="checkbox"?t[r]=o.checked:t[r]=o.value;}),t}function v(e,t){t&&Object.entries(t).forEach(([n,o])=>{let r=document.querySelector(`#node-input-${e}-${n}`);r&&(r.type==="checkbox"?r.checked=!!o:r.value=String(o));});}export{d as addClassesOnSelectors,m as getFormValues,s as handleAddRemoveClassesOnSelectors,p as initSelect,x as isCheckboxChecked,l as isNodeInput,S as jqSelector,u as removeClassesOnSelectors,a as resolveInputKey,c as resolveSelector,v as setFormValues,f as setInputValue,h as setText,g as watchInput};
@@ -1 +1 @@
1
- import {b}from'../chunk-M7AD2PUT.js';function a(t){let e=t.startsWith("[config]"),n=t.replace("[config]","");return `node-${e?"config-":""}input-${n}`}function d(){let t=document.createElement("div");return t.classList.add("dxp-form-row"),t}function p(t){let e;return ["text","checkbox","password"].includes(t.type)&&(e=document.createElement("input"),e.setAttribute("type",t.type),t.type==="text"&&(t!=null&&t.placeholder)&&e.setAttribute("placeholder",t.placeholder)),t.type==="select"&&(e=document.createElement("select")),e.setAttribute("id",t.id),e}var o=class extends HTMLElement{constructor(){super();b(this,"formRowContainer");b(this,"mainContainer");b(this,"labelText");b(this,"inputType");b(this,"iconClass");b(this,"rowId");this.formRowContainer=d(),this.rowId=a(this.getAttribute("row-id")||"row-id"),this.labelText=this.getAttribute("label")||"Label",this.inputType=this.getAttribute("type")||"text",this.iconClass=this.getAttribute("icon"),this.mainContainer=document.createElement("div"),this.mainContainer.classList.add("main");let n=this.querySelector(".hint"),c=this.querySelector(".checkbox-hint"),r=document.createElement("div");if(this.iconClass){let l=document.createElement("i");l.classList.add("fa",`fa-${this.iconClass}`),r.appendChild(l);}let s=document.createElement("label");s.setAttribute("for",this.rowId),s.textContent=this.labelText,r.appendChild(s),this.mainContainer.appendChild(r);let h=p({type:this.inputType,id:this.rowId});this.mainContainer.appendChild(h),this.inputType==="checkbox"&&c&&this.mainContainer.appendChild(c),this.formRowContainer.appendChild(this.mainContainer),n&&this.formRowContainer.appendChild(n),this.appendChild(this.formRowContainer);}};customElements.define("dxp-form-row",o);
1
+ import {a as a$1}from'../chunk-O2XFH626.js';function a(t){let e=t.startsWith("[config]"),n=t.replace("[config]","");return `node-${e?"config-":""}input-${n}`}function d(){let t=document.createElement("div");return t.classList.add("dxp-form-row"),t}function p(t){let e;return ["text","checkbox","password"].includes(t.type)&&(e=document.createElement("input"),e.setAttribute("type",t.type),t.type==="text"&&(t!=null&&t.placeholder)&&e.setAttribute("placeholder",t.placeholder)),t.type==="select"&&(e=document.createElement("select")),e.setAttribute("id",t.id),e}var o=class extends HTMLElement{constructor(){super();a$1(this,"formRowContainer");a$1(this,"mainContainer");a$1(this,"labelText");a$1(this,"inputType");a$1(this,"iconClass");a$1(this,"rowId");this.formRowContainer=d(),this.rowId=a(this.getAttribute("row-id")||"row-id"),this.labelText=this.getAttribute("label")||"Label",this.inputType=this.getAttribute("type")||"text",this.iconClass=this.getAttribute("icon"),this.mainContainer=document.createElement("div"),this.mainContainer.classList.add("main");let n=this.querySelector(".hint"),c=this.querySelector(".checkbox-hint"),r=document.createElement("div");if(this.iconClass){let l=document.createElement("i");l.classList.add("fa",`fa-${this.iconClass}`),r.appendChild(l);}let s=document.createElement("label");s.setAttribute("for",this.rowId),s.textContent=this.labelText,r.appendChild(s),this.mainContainer.appendChild(r);let h=p({type:this.inputType,id:this.rowId});this.mainContainer.appendChild(h),this.inputType==="checkbox"&&c&&this.mainContainer.appendChild(c),this.formRowContainer.appendChild(this.mainContainer),n&&this.formRowContainer.appendChild(n),this.appendChild(this.formRowContainer);}};customElements.define("dxp-form-row",o);
@@ -1 +1 @@
1
- import {b}from'../chunk-VJAL7KZP.js';import'../chunk-M7AD2PUT.js';var o={};function d(r){return b(o,r)}export{d as createEditorNode};
1
+ import'../chunk-O2XFH626.js';function u(e){return Object.prototype.toString.call(e).slice(8,-1)}function n(e){if(u(e)!=="Object")return !1;let r=Object.getPrototypeOf(e);return !!r&&r.constructor===Object&&r===Object.prototype}function c(e){return u(e)==="Symbol"}function x(e,r,o,p){let f={}.propertyIsEnumerable.call(p,r)?"enumerable":"nonenumerable";f==="enumerable"&&(e[r]=o),f==="nonenumerable"&&Object.defineProperty(e,r,{value:o,enumerable:!1,writable:!0,configurable:!0});}function d(e,r,o){if(!n(r))return r;let p={};if(n(e)){let m=Object.getOwnPropertyNames(e),i=Object.getOwnPropertySymbols(e);p=[...m,...i].reduce((s,t)=>{let l=e[t];return (!c(t)&&!Object.getOwnPropertyNames(r).includes(t)||c(t)&&!Object.getOwnPropertySymbols(r).includes(t))&&x(s,t,l,e),s},{});}let f=Object.getOwnPropertyNames(r),a=Object.getOwnPropertySymbols(r);return [...f,...a].reduce((m,i)=>{let s=r[i],t=n(e)?e[i]:void 0;t!==void 0&&n(s)&&(s=d(t,s));let l=s;return x(m,i,l,r),m},p)}function b(e,...r){return r.reduce((o,p)=>d(o,p),e)}var O={};function F(e){return b(O,e)}export{F as createEditorNode};
@@ -1,13 +1,2 @@
1
- 'use strict';var $t=Object.defineProperty;var W=(t,e)=>{for(var r in e)$t(t,r,{get:e[r],enumerable:!0});};var _="[a-fA-F\\d:]",a=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${_})|(?<=${_})(?=\\s|$))`:"",f="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",i="[a-fA-F\\d]{1,4}",w=`
2
- (?:
3
- (?:${i}:){7}(?:${i}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
4
- (?:${i}:){6}(?:${f}|:${i}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
5
- (?:${i}:){5}(?::${f}|(?::${i}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
6
- (?:${i}:){4}(?:(?::${i}){0,1}:${f}|(?::${i}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
7
- (?:${i}:){3}(?:(?::${i}){0,2}:${f}|(?::${i}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
8
- (?:${i}:){2}(?:(?::${i}){0,3}:${f}|(?::${i}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
9
- (?:${i}:){1}(?:(?::${i}){0,4}:${f}|(?::${i}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
10
- (?::(?:(?::${i}){0,5}:${f}|(?::${i}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
11
- )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
12
- `.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),jt=new RegExp(`(?:^${f}$)|(?:^${w}$)`),Tt=new RegExp(`^${f}$`),Pt=new RegExp(`^${w}$`),A=t=>t&&t.exact?jt:new RegExp(`(?:${a(t)}${f}${a(t)})|(?:${a(t)}${w}${a(t)})`,"g");A.v4=t=>t&&t.exact?Tt:new RegExp(`${a(t)}${f}${a(t)}`,"g");A.v6=t=>t&&t.exact?Pt:new RegExp(`${a(t)}${w}${a(t)}`,"g");var $=A;function R(t){let e=(...r)=>t(...r);return Object.defineProperty(e,"name",{value:`functionTimeout(${t.name||"<anonymous>"})`,configurable:!0}),e}var{toString:Nt}=Object.prototype;function k(t){return Nt.call(t)==="[object RegExp]"}var Y={global:"g",ignoreCase:"i",multiline:"m",dotAll:"s",sticky:"y",unicode:"u"};function F(t,e={}){if(!k(t))throw new TypeError("Expected a RegExp instance");let r=Object.keys(Y).map(s=>(typeof e[s]=="boolean"?e[s]:t[s])?Y[s]:"").join(""),n=new RegExp(e.source||t.source,r);return n.lastIndex=typeof e.lastIndex=="number"?e.lastIndex:t.lastIndex,n}function j(t,e,{timeout:r}={}){try{return R(()=>F(t).test(e),{timeout:r})()}catch(n){throw n}}var Et=15,q=45,M={timeout:400};function K(t){return t.length>q?!1:j($({exact:!0}),t,M)}function v(t){return t.length>q?!1:j($.v6({exact:!0}),t,M)}function U(t){return t.length>Et?!1:j($.v4({exact:!0}),t,M)}function X(t){if(v(t))return 6;if(U(t))return 4}function Z(t,{lenient:e=!1}={}){if(typeof t!="string")throw new TypeError("isUrl: Expected a string");let r=t.trim();if(r.includes(" "))return !1;try{return new URL(r),!0}catch(n){return e?Z(`https://${r}`):!1}}var Ht={isIP:K,isIPv4:U,isIPv6:v,ipVersion:X,isUrl:Z};var D={};W(D,{concatArrays:()=>z,merge:()=>St,mergeAndCompare:()=>It,mergeAndConcat:()=>At});var B={};W(B,{getType:()=>o,isAnyObject:()=>T,isArray:()=>p,isBlob:()=>G,isBoolean:()=>P,isDate:()=>H,isEmptyArray:()=>J,isEmptyObject:()=>Q,isEmptyString:()=>C,isError:()=>tt,isFile:()=>et,isFullArray:()=>rt,isFullObject:()=>ot,isFullString:()=>nt,isFunction:()=>it,isInstanceOf:()=>st,isMap:()=>ct,isNaNValue:()=>ft,isNegativeNumber:()=>ut,isNull:()=>d,isNullOrUndefined:()=>pt,isNumber:()=>l,isObject:()=>mt,isObjectLike:()=>at,isOneOf:()=>E,isPlainObject:()=>c,isPositiveNumber:()=>lt,isPrimitive:()=>xt,isPromise:()=>gt,isRegExp:()=>bt,isSet:()=>yt,isString:()=>y,isSymbol:()=>g,isType:()=>N,isUndefined:()=>h,isWeakMap:()=>dt,isWeakSet:()=>ht});function o(t){return Object.prototype.toString.call(t).slice(8,-1)}function T(t){return o(t)==="Object"}function p(t){return o(t)==="Array"}function G(t){return o(t)==="Blob"}function P(t){return o(t)==="Boolean"}function H(t){return o(t)==="Date"&&!isNaN(t)}function J(t){return p(t)&&t.length===0}function c(t){if(o(t)!=="Object")return !1;let e=Object.getPrototypeOf(t);return !!e&&e.constructor===Object&&e===Object.prototype}function Q(t){return c(t)&&Object.keys(t).length===0}function C(t){return t===""}function tt(t){return o(t)==="Error"||t instanceof Error}function et(t){return o(t)==="File"}function rt(t){return p(t)&&t.length>0}function ot(t){return c(t)&&Object.keys(t).length>0}function y(t){return o(t)==="String"}function nt(t){return y(t)&&t!==""}function it(t){return typeof t=="function"}function N(t,e){if(!(e instanceof Function))throw new TypeError("Type must be a function");if(!Object.prototype.hasOwnProperty.call(e,"prototype"))throw new TypeError("Type is not a class");let r=e.name;return o(t)===r||!!(t&&t.constructor===e)}function st(t,e){if(typeof e=="function"){for(let r=t;r;r=Object.getPrototypeOf(r))if(N(r,e))return !0;return !1}else {for(let r=t;r;r=Object.getPrototypeOf(r))if(o(r)===e)return !0;return !1}}function ct(t){return o(t)==="Map"}function ft(t){return o(t)==="Number"&&isNaN(t)}function l(t){return o(t)==="Number"&&!isNaN(t)}function ut(t){return l(t)&&t<0}function d(t){return o(t)==="Null"}function E(t,e,r,n,s){return x=>t(x)||e(x)||!!r&&r(x)||!!n&&n(x)||!!s&&s(x)}function h(t){return o(t)==="Undefined"}var pt=E(d,h);function mt(t){return c(t)}function at(t){return T(t)}function lt(t){return l(t)&&t>0}function g(t){return o(t)==="Symbol"}function xt(t){return P(t)||d(t)||h(t)||l(t)||y(t)||g(t)}function gt(t){return o(t)==="Promise"}function bt(t){return o(t)==="RegExp"}function yt(t){return o(t)==="Set"}function dt(t){return o(t)==="WeakMap"}function ht(t){return o(t)==="WeakSet"}function z(t,e){return p(t)&&p(e)?t.concat(e):e}function Ot(t,e,r,n){let s={}.propertyIsEnumerable.call(n,e)?"enumerable":"nonenumerable";s==="enumerable"&&(t[e]=r),s==="nonenumerable"&&Object.defineProperty(t,e,{value:r,enumerable:!1,writable:!0,configurable:!0});}function S(t,e,r){if(!c(e))return e;let n={};if(c(t)){let O=Object.getOwnPropertyNames(t),b=Object.getOwnPropertySymbols(t);n=[...O,...b].reduce((m,u)=>{let I=t[u];return (!g(u)&&!Object.getOwnPropertyNames(e).includes(u)||g(u)&&!Object.getOwnPropertySymbols(e).includes(u))&&Ot(m,u,I,t),m},{});}let s=Object.getOwnPropertyNames(e),x=Object.getOwnPropertySymbols(e);return [...s,...x].reduce((O,b)=>{let m=e[b],u=c(t)?t[b]:void 0;u!==void 0&&c(m)&&(m=S(u,m,r));let I=r?r(u,m,b):m;return Ot(O,b,I,e),O},n)}function St(t,...e){return e.reduce((r,n)=>S(r,n),t)}function It(t,e,...r){return r.reduce((n,s)=>S(n,s,t),e)}function At(t,...e){return e.reduce((r,n)=>S(r,n,z),t)}var kt=t=>!!(t&&t.constructor&&t.call&&t.apply);var wt=t=>!(!t||!t.then||!kt(t.then));var V=t=>(...e)=>{try{let r=t(...e);return wt(r)?r.then(n=>[void 0,n]).catch(n=>[n,void 0]):[void 0,r]}catch(r){return [r,void 0]}};
13
- exports.isWhat=B;exports.mergeAnything=D;exports.tryit=V;exports.validators=Ht;
1
+ 'use strict';function l(t){return /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(t)}function a(t){return /^(([0-9a-fA-F]{1,4}:){7}([0-9a-fA-F]{1,4}|:)|(([0-9a-fA-F]{1,4}:){1,6}:)|(([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2})|(([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3})|(([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4})|(([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5})|([0-9a-fA-F]{1,4}:)((:[0-9a-fA-F]{1,4}){1,6})|(:((:[0-9a-fA-F]{1,4}){1,7}|:))|(fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,})|(::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9]))|(([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9])))$/.test(t)}function g(t){return l(t)||a(t)}function p(t,{lenient:r=!1}={}){if(typeof t!="string")throw new TypeError("isUrl: Expected a string");let e=t.trim();if(e.includes(" "))return !1;try{return new URL(e),!0}catch(n){return r?p(`https://${e}`):!1}}var h=t=>!!(t&&t.constructor&&t.call&&t.apply);var u=t=>!(!t||!t.then||!h(t.then));var o=(t,r,e)=>!r&&!t?[]:r?t?e?t.reduce((n,i)=>{let c=r.find(f=>e(i)===e(f));return c?n.push(c):n.push(i),n},[]):t:[]:t;var s=t=>(...r)=>{try{let e=t(...r);return u(e)?e.then(n=>[void 0,n]).catch(n=>[n,void 0]):[void 0,e]}catch(e){return [e,void 0]}};
2
+ exports.isUrl=p;exports.isValidIP=g;exports.isValidIPv4=l;exports.isValidIPv6=a;exports.merge=o;exports.tryit=s;
@@ -1,19 +1,79 @@
1
- import { isIP, isIPv4, isIPv6, ipVersion } from 'is-ip';
2
- import * as mergeAnything from 'merge-anything';
3
- export { mergeAnything };
4
- import * as isWhat from 'is-what';
5
- export { isWhat };
6
- export { tryit } from 'radash';
1
+ export { merge, tryit } from 'radash';
7
2
 
3
+ /**
4
+ * Validates if the given string is a valid IPv4 address.
5
+ *
6
+ * An IPv4 address consists of four octets separated by dots,
7
+ * where each octet is a number between 0 and 255.
8
+ *
9
+ * @param ip - The string to validate as an IPv4 address.
10
+ * @returns `true` if the string is a valid IPv4 address, otherwise `false`.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * isValidIPv4("192.168.1.1"); // true
15
+ * isValidIPv4("256.256.256.256"); // false
16
+ * isValidIPv4("localhost"); // false
17
+ * ```
18
+ */
19
+ declare function isValidIPv4(ip: string): boolean;
20
+ /**
21
+ * Validates if the given string is a valid IPv6 address.
22
+ *
23
+ * An IPv6 address is a 128-bit address represented as eight groups of four
24
+ * hexadecimal digits, separated by colons. Shortened notation and mixed
25
+ * IPv4/IPv6 formats are also supported.
26
+ *
27
+ * @param ip - The string to validate as an IPv6 address.
28
+ * @returns `true` if the string is a valid IPv6 address, otherwise `false`.
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * isValidIPv6("2001:0db8:85a3:0000:0000:8a2e:0370:7334"); // true
33
+ * isValidIPv6("1234::abcd"); // true
34
+ * isValidIPv6("localhost"); // false
35
+ * ```
36
+ */
37
+ declare function isValidIPv6(ip: string): boolean;
38
+ /**
39
+ * Validates if the given string is a valid IPv4 or IPv6 address.
40
+ *
41
+ * Combines the validation checks for IPv4 and IPv6 addresses.
42
+ *
43
+ * @param ip - The string to validate as an IP address.
44
+ * @returns `true` if the string is a valid IPv4 or IPv6 address, otherwise `false`.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ * isValidIP("192.168.1.1"); // true
49
+ * isValidIP("2001:0db8:85a3:0000:0000:8a2e:0370:7334"); // true
50
+ * isValidIP("localhost"); // false
51
+ * ```
52
+ */
53
+ declare function isValidIP(ip: string): boolean;
54
+ /**
55
+ * Validates if the given string is a valid URL.
56
+ *
57
+ * A valid URL includes a protocol (e.g., `http`, `https`) and conforms to
58
+ * the URL standard. If the `lenient` option is enabled, it will attempt to
59
+ * prepend `https://` to the input if it fails the initial check.
60
+ *
61
+ * @param string - The string to validate as a URL.
62
+ * @param options - Validation options.
63
+ * @param options.lenient - If `true`, tries to prepend `https://` to the input for lenient validation (default: `false`).
64
+ * @returns `true` if the string is a valid URL, otherwise `false`.
65
+ *
66
+ * @throws `TypeError` if the input is not a string.
67
+ *
68
+ * @example
69
+ * ```typescript
70
+ * isUrl("https://example.com"); // true
71
+ * isUrl("example.com", { lenient: true }); // true
72
+ * isUrl("invalid url"); // false
73
+ * ```
74
+ */
8
75
  declare function isUrl(string: string, { lenient }?: {
9
76
  lenient?: boolean;
10
77
  }): boolean;
11
- declare const validators: {
12
- isIP: typeof isIP;
13
- isIPv4: typeof isIPv4;
14
- isIPv6: typeof isIPv6;
15
- ipVersion: typeof ipVersion;
16
- isUrl: typeof isUrl;
17
- };
18
78
 
19
- export { validators };
79
+ export { isUrl, isValidIP, isValidIPv4, isValidIPv6 };
@@ -1,19 +1,79 @@
1
- import { isIP, isIPv4, isIPv6, ipVersion } from 'is-ip';
2
- import * as mergeAnything from 'merge-anything';
3
- export { mergeAnything };
4
- import * as isWhat from 'is-what';
5
- export { isWhat };
6
- export { tryit } from 'radash';
1
+ export { merge, tryit } from 'radash';
7
2
 
3
+ /**
4
+ * Validates if the given string is a valid IPv4 address.
5
+ *
6
+ * An IPv4 address consists of four octets separated by dots,
7
+ * where each octet is a number between 0 and 255.
8
+ *
9
+ * @param ip - The string to validate as an IPv4 address.
10
+ * @returns `true` if the string is a valid IPv4 address, otherwise `false`.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * isValidIPv4("192.168.1.1"); // true
15
+ * isValidIPv4("256.256.256.256"); // false
16
+ * isValidIPv4("localhost"); // false
17
+ * ```
18
+ */
19
+ declare function isValidIPv4(ip: string): boolean;
20
+ /**
21
+ * Validates if the given string is a valid IPv6 address.
22
+ *
23
+ * An IPv6 address is a 128-bit address represented as eight groups of four
24
+ * hexadecimal digits, separated by colons. Shortened notation and mixed
25
+ * IPv4/IPv6 formats are also supported.
26
+ *
27
+ * @param ip - The string to validate as an IPv6 address.
28
+ * @returns `true` if the string is a valid IPv6 address, otherwise `false`.
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * isValidIPv6("2001:0db8:85a3:0000:0000:8a2e:0370:7334"); // true
33
+ * isValidIPv6("1234::abcd"); // true
34
+ * isValidIPv6("localhost"); // false
35
+ * ```
36
+ */
37
+ declare function isValidIPv6(ip: string): boolean;
38
+ /**
39
+ * Validates if the given string is a valid IPv4 or IPv6 address.
40
+ *
41
+ * Combines the validation checks for IPv4 and IPv6 addresses.
42
+ *
43
+ * @param ip - The string to validate as an IP address.
44
+ * @returns `true` if the string is a valid IPv4 or IPv6 address, otherwise `false`.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ * isValidIP("192.168.1.1"); // true
49
+ * isValidIP("2001:0db8:85a3:0000:0000:8a2e:0370:7334"); // true
50
+ * isValidIP("localhost"); // false
51
+ * ```
52
+ */
53
+ declare function isValidIP(ip: string): boolean;
54
+ /**
55
+ * Validates if the given string is a valid URL.
56
+ *
57
+ * A valid URL includes a protocol (e.g., `http`, `https`) and conforms to
58
+ * the URL standard. If the `lenient` option is enabled, it will attempt to
59
+ * prepend `https://` to the input if it fails the initial check.
60
+ *
61
+ * @param string - The string to validate as a URL.
62
+ * @param options - Validation options.
63
+ * @param options.lenient - If `true`, tries to prepend `https://` to the input for lenient validation (default: `false`).
64
+ * @returns `true` if the string is a valid URL, otherwise `false`.
65
+ *
66
+ * @throws `TypeError` if the input is not a string.
67
+ *
68
+ * @example
69
+ * ```typescript
70
+ * isUrl("https://example.com"); // true
71
+ * isUrl("example.com", { lenient: true }); // true
72
+ * isUrl("invalid url"); // false
73
+ * ```
74
+ */
8
75
  declare function isUrl(string: string, { lenient }?: {
9
76
  lenient?: boolean;
10
77
  }): boolean;
11
- declare const validators: {
12
- isIP: typeof isIP;
13
- isIPv4: typeof isIPv4;
14
- isIPv6: typeof isIPv6;
15
- ipVersion: typeof ipVersion;
16
- isUrl: typeof isUrl;
17
- };
18
78
 
19
- export { validators };
79
+ export { isUrl, isValidIP, isValidIPv4, isValidIPv6 };
@@ -1,13 +1,2 @@
1
- export{a as isWhat,c as mergeAnything}from'../chunk-VJAL7KZP.js';import'../chunk-M7AD2PUT.js';var b="[a-fA-F\\d:]",i=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${b})|(?<=${b})(?=\\s|$))`:"",o="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",e="[a-fA-F\\d]{1,4}",a=`
2
- (?:
3
- (?:${e}:){7}(?:${e}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
4
- (?:${e}:){6}(?:${o}|:${e}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
5
- (?:${e}:){5}(?::${o}|(?::${e}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
6
- (?:${e}:){4}(?:(?::${e}){0,1}:${o}|(?::${e}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
7
- (?:${e}:){3}(?:(?::${e}){0,2}:${o}|(?::${e}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
8
- (?:${e}:){2}(?:(?::${e}){0,3}:${o}|(?::${e}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
9
- (?:${e}:){1}(?:(?::${e}){0,4}:${o}|(?::${e}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
10
- (?::(?:(?::${e}){0,5}:${o}|(?::${e}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
11
- )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
12
- `.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),S=new RegExp(`(?:^${o}$)|(?:^${a}$)`),N=new RegExp(`^${o}$`),O=new RegExp(`^${a}$`),l=t=>t&&t.exact?S:new RegExp(`(?:${i(t)}${o}${i(t)})|(?:${i(t)}${a}${i(t)})`,"g");l.v4=t=>t&&t.exact?N:new RegExp(`${i(t)}${o}${i(t)}`,"g");l.v6=t=>t&&t.exact?O:new RegExp(`${i(t)}${a}${i(t)}`,"g");var u=l;function m(t){let n=(...r)=>t(...r);return Object.defineProperty(n,"name",{value:`functionTimeout(${t.name||"<anonymous>"})`,configurable:!0}),n}var{toString:A}=Object.prototype;function p(t){return A.call(t)==="[object RegExp]"}var E={global:"g",ignoreCase:"i",multiline:"m",dotAll:"s",sticky:"y",unicode:"u"};function d(t,n={}){if(!p(t))throw new TypeError("Expected a RegExp instance");let r=Object.keys(E).map(c=>(typeof n[c]=="boolean"?n[c]:t[c])?E[c]:"").join(""),s=new RegExp(n.source||t.source,r);return s.lastIndex=typeof n.lastIndex=="number"?n.lastIndex:t.lastIndex,s}function f(t,n,{timeout:r}={}){try{return m(()=>d(t).test(n),{timeout:r})()}catch(s){throw s}}var F=15,P=45,h={timeout:400};function R(t){return t.length>P?!1:f(u({exact:!0}),t,h)}function g(t){return t.length>P?!1:f(u.v6({exact:!0}),t,h)}function x(t){return t.length>F?!1:f(u.v4({exact:!0}),t,h)}function k(t){if(g(t))return 6;if(x(t))return 4}function T(t,{lenient:n=!1}={}){if(typeof t!="string")throw new TypeError("isUrl: Expected a string");let r=t.trim();if(r.includes(" "))return !1;try{return new URL(r),!0}catch(s){return n?T(`https://${r}`):!1}}var H={isIP:R,isIPv4:x,isIPv6:g,ipVersion:k,isUrl:T};var M=t=>!!(t&&t.constructor&&t.call&&t.apply);var j=t=>!(!t||!t.then||!M(t.then));var w=t=>(...n)=>{try{let r=t(...n);return j(r)?r.then(s=>[void 0,s]).catch(s=>[s,void 0]):[void 0,r]}catch(r){return [r,void 0]}};
13
- export{w as tryit,H as validators};
1
+ import'../chunk-O2XFH626.js';function l(t){return /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test(t)}function a(t){return /^(([0-9a-fA-F]{1,4}:){7}([0-9a-fA-F]{1,4}|:)|(([0-9a-fA-F]{1,4}:){1,6}:)|(([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2})|(([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3})|(([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4})|(([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5})|([0-9a-fA-F]{1,4}:)((:[0-9a-fA-F]{1,4}){1,6})|(:((:[0-9a-fA-F]{1,4}){1,7}|:))|(fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,})|(::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9]))|(([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9])?[0-9])))$/.test(t)}function d(t){return l(t)||a(t)}function p(t,{lenient:r=!1}={}){if(typeof t!="string")throw new TypeError("isUrl: Expected a string");let e=t.trim();if(e.includes(" "))return !1;try{return new URL(e),!0}catch(n){return r?p(`https://${e}`):!1}}var h=t=>!!(t&&t.constructor&&t.call&&t.apply);var u=t=>!(!t||!t.then||!h(t.then));var o=(t,r,e)=>!r&&!t?[]:r?t?e?t.reduce((n,i)=>{let c=r.find(f=>e(i)===e(f));return c?n.push(c):n.push(i),n},[]):t:[]:t;var s=t=>(...r)=>{try{let e=t(...r);return u(e)?e.then(n=>[void 0,n]).catch(n=>[n,void 0]):[void 0,e]}catch(e){return [e,void 0]}};
2
+ export{p as isUrl,d as isValidIP,l as isValidIPv4,a as isValidIPv6,o as merge,s as tryit};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keload/node-red-dxp",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -63,7 +63,7 @@
63
63
  "tsup": "8.3.5",
64
64
  "tsx": "4.19.2",
65
65
  "typedoc": "^0.26.11",
66
- "typedoc-plugin-markdown": "^4.2.10",
66
+ "typedoc-plugin-markdown": "4.2.10",
67
67
  "typescript": "5.6.3",
68
68
  "vitepress": "1.5.0",
69
69
  "vitest": "2.1.5"
@@ -86,8 +86,6 @@
86
86
  "fast-glob": "^3.3.2",
87
87
  "handlebars": "4.7.8",
88
88
  "html-minifier-terser": "7.2.0",
89
- "is-ip": "^5.0.1",
90
- "is-what": "^5.0.2",
91
89
  "mdx-to-md": "^0.3.2",
92
90
  "merge-anything": "6.0.2",
93
91
  "nodemon": "3.1.7",
@@ -1 +0,0 @@
1
- var d=Object.defineProperty;var e=(b,a,c)=>a in b?d(b,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[a]=c;var f=(b,a)=>{for(var c in a)d(b,c,{get:a[c],enumerable:!0});};var g=(b,a,c)=>e(b,typeof a!="symbol"?a+"":a,c);export{f as a,g as b};
@@ -1 +0,0 @@
1
- import {a as a$1}from'./chunk-M7AD2PUT.js';var $={};a$1($,{getType:()=>t,isAnyObject:()=>j,isArray:()=>m,isBlob:()=>F,isBoolean:()=>T,isDate:()=>d,isEmptyArray:()=>B,isEmptyObject:()=>h,isEmptyString:()=>U,isError:()=>M,isFile:()=>W,isFullArray:()=>w,isFullObject:()=>R,isFullString:()=>v,isFunction:()=>D,isInstanceOf:()=>I,isMap:()=>L,isNaNValue:()=>V,isNegativeNumber:()=>k,isNull:()=>g,isNullOrUndefined:()=>q,isNumber:()=>u,isObject:()=>z,isObjectLike:()=>G,isOneOf:()=>a,isPlainObject:()=>n,isPositiveNumber:()=>H,isPrimitive:()=>J,isPromise:()=>K,isRegExp:()=>Q,isSet:()=>X,isString:()=>l,isSymbol:()=>x,isType:()=>N,isUndefined:()=>O,isWeakMap:()=>Y,isWeakSet:()=>Z});function t(r){return Object.prototype.toString.call(r).slice(8,-1)}function j(r){return t(r)==="Object"}function m(r){return t(r)==="Array"}function F(r){return t(r)==="Blob"}function T(r){return t(r)==="Boolean"}function d(r){return t(r)==="Date"&&!isNaN(r)}function B(r){return m(r)&&r.length===0}function n(r){if(t(r)!=="Object")return !1;let e=Object.getPrototypeOf(r);return !!e&&e.constructor===Object&&e===Object.prototype}function h(r){return n(r)&&Object.keys(r).length===0}function U(r){return r===""}function M(r){return t(r)==="Error"||r instanceof Error}function W(r){return t(r)==="File"}function w(r){return m(r)&&r.length>0}function R(r){return n(r)&&Object.keys(r).length>0}function l(r){return t(r)==="String"}function v(r){return l(r)&&r!==""}function D(r){return typeof r=="function"}function N(r,e){if(!(e instanceof Function))throw new TypeError("Type must be a function");if(!Object.prototype.hasOwnProperty.call(e,"prototype"))throw new TypeError("Type is not a class");let o=e.name;return t(r)===o||!!(r&&r.constructor===e)}function I(r,e){if(typeof e=="function"){for(let o=r;o;o=Object.getPrototypeOf(o))if(N(o,e))return !0;return !1}else {for(let o=r;o;o=Object.getPrototypeOf(o))if(t(o)===e)return !0;return !1}}function L(r){return t(r)==="Map"}function V(r){return t(r)==="Number"&&isNaN(r)}function u(r){return t(r)==="Number"&&!isNaN(r)}function k(r){return u(r)&&r<0}function g(r){return t(r)==="Null"}function a(r,e,o,i,f){return c=>r(c)||e(c)||!!o&&o(c)||!!i&&i(c)||!!f&&f(c)}function O(r){return t(r)==="Undefined"}var q=a(g,O);function z(r){return n(r)}function G(r){return j(r)}function H(r){return u(r)&&r>0}function x(r){return t(r)==="Symbol"}function J(r){return T(r)||g(r)||O(r)||u(r)||l(r)||x(r)}function K(r){return t(r)==="Promise"}function Q(r){return t(r)==="RegExp"}function X(r){return t(r)==="Set"}function Y(r){return t(r)==="WeakMap"}function Z(r){return t(r)==="WeakSet"}function A(r,e){return m(r)&&m(e)?r.concat(e):e}function _(r,e,o,i){let f={}.propertyIsEnumerable.call(i,e)?"enumerable":"nonenumerable";f==="enumerable"&&(r[e]=o),f==="nonenumerable"&&Object.defineProperty(r,e,{value:o,enumerable:!1,writable:!0,configurable:!0});}function P(r,e,o){if(!n(e))return e;let i={};if(n(r)){let y=Object.getOwnPropertyNames(r),b=Object.getOwnPropertySymbols(r);i=[...y,...b].reduce((s,p)=>{let S=r[p];return (!x(p)&&!Object.getOwnPropertyNames(e).includes(p)||x(p)&&!Object.getOwnPropertySymbols(e).includes(p))&&_(s,p,S,r),s},{});}let f=Object.getOwnPropertyNames(e),c=Object.getOwnPropertySymbols(e);return [...f,...c].reduce((y,b)=>{let s=e[b],p=n(r)?r[b]:void 0;p!==void 0&&n(s)&&(s=P(p,s,o));let S=o?o(p,s,b):s;return _(y,b,S,e),y},i)}function C(r,...e){return e.reduce((o,i)=>P(o,i),r)}function rr(r,e,...o){return o.reduce((i,f)=>P(i,f,r),e)}function tr(r,...e){return e.reduce((o,i)=>P(o,i,A),r)}var er={};a$1(er,{concatArrays:()=>A,merge:()=>C,mergeAndCompare:()=>rr,mergeAndConcat:()=>tr});export{$ as a,C as b,er as c};