@keload/node-red-dxp 1.23.0 → 1.23.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.
@@ -1 +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
+ var d=Object.defineProperty;var e=(b,a,c)=>a in b?d(b,a,{enumerable:true,configurable:true,writable:true,value:c}):b[a]=c;var f=(b,a,c)=>e(b,typeof a!="symbol"?a+"":a,c);export{f as a};
@@ -1 +1 @@
1
- var a=e=>!!(e&&e.constructor&&e.call&&e.apply);var u=e=>!(!e||!e.then||!a(e.then));var p=(e,r,t)=>!r&&!e?[]:r?e?t?e.reduce((n,c)=>{let s=r.find(i=>t(c)===t(i));return s?n.push(s):n.push(c),n},[]):e:[]:e;var o=e=>(...r)=>{try{let t=e(...r);return u(t)?t.then(n=>[void 0,n]).catch(n=>[n,void 0]):[void 0,t]}catch(t){return [t,void 0]}};var f=e=>{if(!e||e.length===0)return "";let r=e.toLowerCase();return r.substring(0,1).toUpperCase()+r.substring(1,r.length)};var m=(e,r)=>{var c;let t=(c=e==null?void 0:e.replace(/([A-Z])+/g,f).split(/(?=[A-Z])|[\.\-\s_]/).map(s=>s.toLowerCase()))!=null?c:[];if(t.length===0)return "";if(t.length===1)return t[0];let n=t.reduce((s,i)=>`${s}_${i.toLowerCase()}`);return (r==null?void 0:r.splitOnNumber)===!1?n:n.replace(/([A-Za-z]{1}[0-9]{1})/,s=>`${s[0]}_${s[1]}`)};export{p as a,o as b,m as c};
1
+ var a=e=>!!(e&&e.constructor&&e.call&&e.apply);var u=e=>!(!e||!e.then||!a(e.then));var p=(e,r,t)=>!r&&!e?[]:r?e?t?e.reduce((n,c)=>{let s=r.find(i=>t(c)===t(i));return s?n.push(s):n.push(c),n},[]):e:[]:e;var o=e=>(...r)=>{try{let t=e(...r);return u(t)?t.then(n=>[void 0,n]).catch(n=>[n,void 0]):[void 0,t]}catch(t){return [t,void 0]}};var f=e=>{if(!e||e.length===0)return "";let r=e.toLowerCase();return r.substring(0,1).toUpperCase()+r.substring(1,r.length)};var m=(e,r)=>{var c;let t=(c=e==null?void 0:e.replace(/([A-Z])+/g,f).split(/(?=[A-Z])|[\.\-\s_]/).map(s=>s.toLowerCase()))!=null?c:[];if(t.length===0)return "";if(t.length===1)return t[0];let n=t.reduce((s,i)=>`${s}_${i.toLowerCase()}`);return (r==null?void 0:r.splitOnNumber)===false?n:n.replace(/([A-Za-z]{1}[0-9]{1})/,s=>`${s[0]}_${s[1]}`)};export{p as a,o as b,m as c};
@@ -0,0 +1 @@
1
+ var a=e=>!!(e&&e.constructor&&e.call&&e.apply);var u=e=>!(!e||!e.then||!a(e.then));var p=(e,r,t)=>!r&&!e?[]:r?e?t?e.reduce((n,c)=>{let s=r.find(i=>t(c)===t(i));return s?n.push(s):n.push(c),n},[]):e:[]:e;var o=e=>(...r)=>{try{let t=e(...r);return u(t)?t.then(n=>[void 0,n]).catch(n=>[n,void 0]):[void 0,t]}catch(t){return [t,void 0]}};var f=e=>{if(!e||e.length===0)return "";let r=e.toLowerCase();return r.substring(0,1).toUpperCase()+r.substring(1,r.length)};var m=(e,r)=>{var c;let t=(c=e==null?void 0:e.replace(/([A-Z])+/g,f).split(/(?=[A-Z])|[\.\-\s_]/).map(s=>s.toLowerCase()))!=null?c:[];if(t.length===0)return "";if(t.length===1)return t[0];let n=t.reduce((s,i)=>`${s}_${i.toLowerCase()}`);return (r==null?void 0:r.splitOnNumber)===false?n:n.replace(/([A-Za-z]{1}[0-9]{1})/,s=>`${s[0]}_${s[1]}`)};export{p as a,o as b,m as c};
@@ -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'),uu=require('os'),Oe=require('tty'),be=require('fs/promises'),lt=require('fs'),Ft=require('path'),cosmiconfig=require('cosmiconfig'),fastGlob=require('fast-glob'),radash=require('radash'),zu=require('esbuild'),mdxToMd=require('mdx-to-md'),htmlMinifierTerser=require('html-minifier-terser'),Dr=require('pug'),Cr=require('@fullhuman/postcss-purgecss'),hr=require('autoprefixer'),bt=require('cssnano'),Ae=require('postcss'),At=require('sass'),gr=require('tailwindcss'),consola=require('consola'),kr=require('prettyjson'),Hr=require('handlebars'),Kr=require('browser-sync'),zr=require('chokidar'),Lt=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 uu__default=/*#__PURE__*/_interopDefault(uu);var Oe__default=/*#__PURE__*/_interopDefault(Oe);var be__default=/*#__PURE__*/_interopDefault(be);var lt__default=/*#__PURE__*/_interopDefault(lt);var Ft__namespace=/*#__PURE__*/_interopNamespace(Ft);var zu__default=/*#__PURE__*/_interopDefault(zu);var Dr__default=/*#__PURE__*/_interopDefault(Dr);var Cr__default=/*#__PURE__*/_interopDefault(Cr);var hr__default=/*#__PURE__*/_interopDefault(hr);var bt__default=/*#__PURE__*/_interopDefault(bt);var Ae__default=/*#__PURE__*/_interopDefault(Ae);var At__namespace=/*#__PURE__*/_interopNamespace(At);var gr__default=/*#__PURE__*/_interopDefault(gr);var kr__default=/*#__PURE__*/_interopDefault(kr);var Hr__default=/*#__PURE__*/_interopDefault(Hr);var Kr__default=/*#__PURE__*/_interopDefault(Kr);var zr__default=/*#__PURE__*/_interopDefault(zr);var Lt__default=/*#__PURE__*/_interopDefault(Lt);var Yt=Object.create;var Ne=Object.defineProperty;var qt=Object.getOwnPropertyDescriptor;var Jt=Object.getOwnPropertyNames;var Vt=Object.getPrototypeOf,Kt=Object.prototype.hasOwnProperty;var zt=(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 Zt=(e,t,u,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Jt(t))!Kt.call(e,o)&&o!==u&&Ne(e,o,{get:()=>t[o],enumerable:!(r=qt(t,o))||r.enumerable});return e};var Pe=(e,t,u)=>(u=e!=null?Yt(Vt(e)):{},Zt(Ne(u,"default",{value:e,enumerable:!0}),e));var Ve=ve((Po,yu)=>{yu.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((So,ze)=>{var J=Object.assign({},Ve()),Ke=Object.keys(J);Object.defineProperty(J,"random",{get(){let e=Math.floor(Math.random()*Ke.length),t=Ke[e];return J[t]}});ze.exports=J;});var Se=(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`,F={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(F.modifier);var Xt=Object.keys(F.color),Qt=Object.keys(F.bgColor);[...Xt,...Qt];function eu(){let e=new Map;for(let[t,u]of Object.entries(F)){for(let[r,o]of Object.entries(u))F[r]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},u[r]=F[r],e.set(o[0],o[1]);Object.defineProperty(F,t,{value:u,enumerable:!1});}return Object.defineProperty(F,"codes",{value:e,enumerable:!1}),F.color.close="\x1B[39m",F.bgColor.close="\x1B[49m",F.color.ansi=Se(),F.color.ansi256=Te(),F.color.ansi16m=$e(),F.bgColor.ansi=Se(10),F.bgColor.ansi256=Te(10),F.bgColor.ansi16m=$e(10),Object.defineProperties(F,{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(s=>s+s).join(""));let o=Number.parseInt(r,16);return [o>>16&255,o>>8&255,o&255]},enumerable:!1},hexToAnsi256:{value:t=>F.rgbToAnsi256(...F.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let u,r,o;if(t>=232)u=((t-232)*10+8)/255,r=u,o=u;else {t-=16;let n=t%36;u=Math.floor(t/36)/5,r=Math.floor(n/6)/5,o=n%6/5;}let s=Math.max(u,r,o)*2;if(s===0)return 30;let i=30+(Math.round(o)<<2|Math.round(r)<<1|Math.round(u));return s===2&&(i+=60),i},enumerable:!1},rgbToAnsi:{value:(t,u,r)=>F.ansi256ToAnsi(F.rgbToAnsi256(t,u,r)),enumerable:!1},hexToAnsi:{value:t=>F.ansi256ToAnsi(F.hexToAnsi256(t)),enumerable:!1}}),F}var tu=eu(),p=tu;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),o=t.indexOf("--");return r!==-1&&(o===-1||r<o)}var{env:c}=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 ru(){if("FORCE_COLOR"in c)return c.FORCE_COLOR==="true"?1:c.FORCE_COLOR==="false"?0:c.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(c.FORCE_COLOR,10),3)}function ou(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function su(e,{streamIsTTY:t,sniffFlags:u=!0}={}){let r=ru();r!==void 0&&(L=r);let o=u?L:r;if(o===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 c&&"AGENT_NAME"in c)return 1;if(e&&!t&&o===void 0)return 0;let s=o||0;if(c.TERM==="dumb")return s;if(h__namespace.default.platform==="win32"){let i=uu__default.default.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in c)return ["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(i=>i in c)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(i=>i in c)||c.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in c)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0;if(c.COLORTERM==="truecolor"||c.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in c){let i=Number.parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(c.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)||"COLORTERM"in c?1:s}function Ie(e,t={}){let u=su(e,{streamIsTTY:e&&e.isTTY,...t});return ou(u)}var iu={stdout:Ie({isTTY:Oe__default.default.isatty(1)}),stderr:Ie({isTTY:Oe__default.default.isatty(2)})},Re=iu;function je(e,t,u){let r=e.indexOf(t);if(r===-1)return e;let o=t.length,s=0,i="";do i+=e.slice(s,r)+t+u,s=r+o,r=e.indexOf(t,s);while(r!==-1);return i+=e.slice(s),i}function Me(e,t,u,r){let o=0,s="";do{let i=e[r-1]==="\r";s+=e.slice(o,i?r-1:r)+t+(i?`\r
2
+ 'use strict';var perf_hooks=require('perf_hooks'),h=require('process'),commander=require('commander'),sr=require('os'),We=require('tty'),Ae=require('fs/promises'),Ct=require('fs'),ht=require('path'),cosmiconfig=require('cosmiconfig'),fastGlob=require('fast-glob'),radash=require('radash'),tu=require('esbuild'),mdxToMd=require('mdx-to-md'),htmlMinifierTerser=require('html-minifier-terser'),mu=require('pug'),_u=require('@fullhuman/postcss-purgecss'),xu=require('autoprefixer'),Tt=require('cssnano'),we=require('postcss'),$t=require('sass'),bu=require('tailwindcss'),consola=require('consola'),Wt=require('prettyjson'),child_process=require('child_process'),Zu=require('handlebars'),uo=require('browser-sync'),oo=require('chokidar'),Yt=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 sr__default=/*#__PURE__*/_interopDefault(sr);var We__default=/*#__PURE__*/_interopDefault(We);var Ae__default=/*#__PURE__*/_interopDefault(Ae);var Ct__default=/*#__PURE__*/_interopDefault(Ct);var ht__namespace=/*#__PURE__*/_interopNamespace(ht);var tu__default=/*#__PURE__*/_interopDefault(tu);var mu__default=/*#__PURE__*/_interopDefault(mu);var _u__default=/*#__PURE__*/_interopDefault(_u);var xu__default=/*#__PURE__*/_interopDefault(xu);var Tt__default=/*#__PURE__*/_interopDefault(Tt);var we__default=/*#__PURE__*/_interopDefault(we);var $t__namespace=/*#__PURE__*/_interopNamespace($t);var bu__default=/*#__PURE__*/_interopDefault(bu);var Wt__default=/*#__PURE__*/_interopDefault(Wt);var Zu__default=/*#__PURE__*/_interopDefault(Zu);var uo__default=/*#__PURE__*/_interopDefault(uo);var oo__default=/*#__PURE__*/_interopDefault(oo);var Yt__default=/*#__PURE__*/_interopDefault(Yt);var zt=Object.create;var Re=Object.defineProperty;var Zt=Object.getOwnPropertyDescriptor;var Xt=Object.getOwnPropertyNames;var Qt=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty;var tr=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var je=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var rr=(e,t,r,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Xt(t))!er.call(e,o)&&o!==r&&Re(e,o,{get:()=>t[o],enumerable:!(u=Zt(t,o))||u.enumerable});return e};var ke=(e,t,r)=>(r=e!=null?zt(Qt(e)):{},rr(Re(r,"default",{value:e,enumerable:true}),e));var rt=je((Mo,Nr)=>{Nr.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 de=je((Lo,ot)=>{var V=Object.assign({},rt()),ut=Object.keys(V);Object.defineProperty(V,"random",{get(){let e=Math.floor(Math.random()*ut.length),t=ut[e];return V[t]}});ot.exports=V;});var Me=(e=0)=>t=>`\x1B[${t+e}m`,Le=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Ge=(e=0)=>(t,r,u)=>`\x1B[${38+e};2;${t};${r};${u}m`,F={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(F.modifier);var ur=Object.keys(F.color),or=Object.keys(F.bgColor);[...ur,...or];function ir(){let e=new Map;for(let[t,r]of Object.entries(F)){for(let[u,o]of Object.entries(r))F[u]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},r[u]=F[u],e.set(o[0],o[1]);Object.defineProperty(F,t,{value:r,enumerable:false});}return Object.defineProperty(F,"codes",{value:e,enumerable:false}),F.color.close="\x1B[39m",F.bgColor.close="\x1B[49m",F.color.ansi=Me(),F.color.ansi256=Le(),F.color.ansi16m=Ge(),F.bgColor.ansi=Me(10),F.bgColor.ansi256=Le(10),F.bgColor.ansi16m=Ge(10),Object.defineProperties(F,{rgbToAnsi256:{value(t,r,u){return t===r&&r===u?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(u/255*5)},enumerable:false},hexToRgb:{value(t){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return [0,0,0];let[u]=r;u.length===3&&(u=[...u].map(i=>i+i).join(""));let o=Number.parseInt(u,16);return [o>>16&255,o>>8&255,o&255]},enumerable:false},hexToAnsi256:{value:t=>F.rgbToAnsi256(...F.hexToRgb(t)),enumerable:false},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,u,o;if(t>=232)r=((t-232)*10+8)/255,u=r,o=r;else {t-=16;let s=t%36;r=Math.floor(t/36)/5,u=Math.floor(s/6)/5,o=s%6/5;}let i=Math.max(r,u,o)*2;if(i===0)return 30;let n=30+(Math.round(o)<<2|Math.round(u)<<1|Math.round(r));return i===2&&(n+=60),n},enumerable:false},rgbToAnsi:{value:(t,r,u)=>F.ansi256ToAnsi(F.rgbToAnsi256(t,r,u)),enumerable:false},hexToAnsi:{value:t=>F.ansi256ToAnsi(F.hexToAnsi256(t)),enumerable:false}}),F}var nr=ir(),p=nr;function f(e,t=globalThis.Deno?globalThis.Deno.args:h__namespace.default.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",u=t.indexOf(r+e),o=t.indexOf("--");return u!==-1&&(o===-1||u<o)}var{env:c}=h__namespace.default,G;f("no-color")||f("no-colors")||f("color=false")||f("color=never")?G=0:(f("color")||f("colors")||f("color=true")||f("color=always"))&&(G=1);function Dr(){if("FORCE_COLOR"in c)return c.FORCE_COLOR==="true"?1:c.FORCE_COLOR==="false"?0:c.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(c.FORCE_COLOR,10),3)}function ar(e){return e===0?false:{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function lr(e,{streamIsTTY:t,sniffFlags:r=true}={}){let u=Dr();u!==void 0&&(G=u);let o=r?G:u;if(o===0)return 0;if(r){if(f("color=16m")||f("color=full")||f("color=truecolor"))return 3;if(f("color=256"))return 2}if("TF_BUILD"in c&&"AGENT_NAME"in c)return 1;if(e&&!t&&o===void 0)return 0;let i=o||0;if(c.TERM==="dumb")return i;if(h__namespace.default.platform==="win32"){let n=sr__default.default.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in c)return ["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(n=>n in c)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(n=>n in c)||c.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in c)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(c.TEAMCITY_VERSION)?1:0;if(c.COLORTERM==="truecolor"||c.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in c){let n=Number.parseInt((c.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(c.TERM_PROGRAM){case "iTerm.app":return n>=3?3:2;case "Apple_Terminal":return 2}}return /-256(color)?$/i.test(c.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(c.TERM)||"COLORTERM"in c?1:i}function He(e,t={}){let r=lr(e,{streamIsTTY:e&&e.isTTY,...t});return ar(r)}var Fr={stdout:He({isTTY:We__default.default.isatty(1)}),stderr:He({isTTY:We__default.default.isatty(2)})},Ue=Fr;function Ye(e,t,r){let u=e.indexOf(t);if(u===-1)return e;let o=t.length,i=0,n="";do n+=e.slice(i,u)+t+r,i=u+o,u=e.indexOf(t,i);while(u!==-1);return n+=e.slice(i),n}function qe(e,t,r,u){let o=0,i="";do{let n=e[u-1]==="\r";i+=e.slice(o,n?u-1:u)+t+(n?`\r
3
3
  `:`
4
- `)+u,o=r+1,r=e.indexOf(`
5
- `,o);}while(r!==-1);return s+=e.slice(o),s}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),nu=(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 Du=e=>{let t=(...u)=>u.join(" ");return nu(t,e),Object.setPrototypeOf(t,I.prototype),t};function I(e){return Du(e)}Object.setPrototypeOf(I.prototype,Function.prototype);for(let[e,t]of Object.entries(p))N[e]={get(){let u=G(this,oe(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),au=["rgb","hex","ansi256"];for(let e of au){N[e]={get(){let{level:u}=this;return function(...r){let o=oe(re(e,Ge[u],"color",...r),p.color.close,this[w]);return G(this,o,this[O])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);N[t]={get(){let{level:u}=this;return function(...r){let o=oe(re(e,Ge[u],"bgColor",...r),p.bgColor.close,this[w]);return G(this,o,this[O])}}};}var lu=Object.defineProperties(()=>{},{...N,level:{enumerable:!0,get(){return this[ue].level},set(e){this[ue].level=e;}}}),oe=(e,t,u)=>{let r,o;return u===void 0?(r=e,o=t):(r=u.openAll+e,o=t+u.closeAll),{open:e,close:t,openAll:r,closeAll:o,parent:u}},G=(e,t,u)=>{let r=(...o)=>Fu(r,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(r,lu),r[ue]=e,r[w]=t,r[O]=u,r},Fu=(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:o}=u;if(t.includes("\x1B"))for(;u!==void 0;)t=je(t,u.close,u.open),u=u.parent;let s=t.indexOf(`
6
- `);return s!==-1&&(t=Me(t,o,r,s)),r+t+o};Object.defineProperties(I.prototype,N);var cu=I();I({level:Le?Le.level:0});var C=cu;var mu=(e,t,u,r)=>{if(u==="length"||u==="prototype"||u==="arguments"||u==="caller")return;let o=Object.getOwnPropertyDescriptor(e,u),s=Object.getOwnPropertyDescriptor(t,u);!du(o,s)&&r||Object.defineProperty(e,u,s);},du=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);},pu=(e,t)=>`/* Wrapped ${e}*/
7
- ${t}`,Cu=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),hu=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),Eu=(e,t,u)=>{let r=u===""?"":`with ${u.trim()}() `,o=pu.bind(null,r,t.toString());Object.defineProperty(o,"name",hu);let{writable:s,enumerable:i,configurable:n}=Cu;Object.defineProperty(e,"toString",{value:o,writable:s,enumerable:i,configurable:n});};function se(e,t,{ignoreNonConfigurable:u=!1}={}){let{name:r}=e;for(let o of Reflect.ownKeys(t))mu(e,t,o,u);return fu(e,t),Eu(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,o=e.displayName||e.name||"<anonymous>",s=function(...i){if(W.set(s,++r),r===1)u=e.apply(this,i),e=void 0;else if(t.throw===!0)throw new Error(`Function \`${o}\` can only be called once`);return u};return se(s,e),W.set(s,r),s};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"),ne=globalThis,gu=Object.defineProperty.bind(Object),De=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(ne[ie])return ne[ie];gu(ne,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],o=r.indexOf(u);o!==-1&&(o===0&&r.length===1?r.length=0:r.splice(o,1));}emit(t,u,r){if(this.emitted[t])return !1;this.emitted[t]=!0;let o=!1;for(let s of this.listeners[t])o=s(u,r)===!0||o;return t==="exit"&&(o=this.emit("afterExit",u,r)||o),o}},U=class{},Bu=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 De;#e;#o;#c;#t={};#s=!1;constructor(t){super(),this.#e=t,this.#t={};for(let u of x)this.#t[u]=()=>{let r=this.#e.listeners(u),{count:o}=this.#u,s=t;if(typeof s.__signal_exit_emitter__=="object"&&typeof s.__signal_exit_emitter__.count=="number"&&(o+=s.__signal_exit_emitter__.count),r.length===o){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.#o=t.emit;}onExit(t,u){if(!H(this.#e))return ()=>{};this.#s===!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.#s){this.#s=!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.#s&&(this.#s=!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.#o,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.#o;if(t==="exit"&&H(this.#e)){typeof u[0]=="number"&&(this.#e.exitCode=u[0]);let o=r.call(this.#e,t,...u);return this.#u.emit("exit",this.#e.exitCode,null),o}else return r.call(this.#e,t,...u)}},Fe=globalThis.process,{onExit:Ue,load:go,unload:Bo}=Bu(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,_u=Ye?He(()=>{Ue(()=>{Ye.write("\x1B[?25h");},{alwaysLast:!0});}):()=>{},qe=_u;var q=!1,v={};v.show=(e=h__namespace.default.stderr)=>{e.isTTY&&(q=!1,e.write("\x1B[?25h"));};v.hide=(e=h__namespace.default.stderr)=>{e.isTTY&&(qe(),q=!0,e.write("\x1B[?25l"));};v.toggle=(e,t)=>{e!==void 0&&(q=e),q?v.show(t):v.hide(t);};var ce=v;var M=Pe(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 xu={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")},Au=de()?xu:bu,R=Au;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 wu=fe();function j(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(wu,"")}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 Nu(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function et(e,{ambiguousAsWide:t=!1}={}){return Nu(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 vu=new Intl.Segmenter,Pu=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 o=0,s={ambiguousAsWide:!u};for(let{segment:i}of vu.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)&&!Pu.test(i)){if(tt().test(i)){o+=2;continue}o+=et(n,s);}}return o}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 Su=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.#o),h__namespace.default.stdin.resume());}#e(){h__namespace.default.stdin.isTTY&&(h__namespace.default.stdin.off("data",this.#o),h__namespace.default.stdin.pause(),h__namespace.default.stdin.setRawMode(!1));}#o(t){t[0]===Su&&h__namespace.default.emit("SIGINT");}},Tu=new Ee,ge=Tu;Pe(me());var Be=class{#i=0;#u=!1;#e=0;#o=-1;#c=0;#t;#s;#r;#m;#f;#a;#l;#F;#p;#n;#D;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.#o}}),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.#s.interval??100}get spinner(){return this.#s}set spinner(t){if(this.#o=-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.#s=t;}else if(!he())this.#s=M.default.line;else if(t===void 0)this.#s=M.default.dots;else if(t!=="default"&&M.default[t])this.#s=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.#n}set prefixText(t=""){this.#n=t,this.#d();}get suffixText(){return this.#D}set suffixText(t=""){this.#D=t,this.#d();}get isSpinning(){return this.#m!==void 0}#C(t=this.#n,u=" "){return typeof t=="string"&&t!==""?t+u:typeof t=="function"?t()+u:""}#h(t=this.#D,u=" "){return typeof t=="string"&&t!==""?u+t:typeof t=="function"?u+t():""}#d(){let t=this.#r.columns??80,u=this.#C(this.#n,"-"),r=this.#h(this.#D,"-"),o=" ".repeat(this.#F)+u+"--"+this.#p+"--"+r;this.#e=0;for(let s of j(o).split(`
8
- `))this.#e+=Math.max(1,Math.ceil(pe(s,{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.#o===-1||t-this.#c>=this.interval)&&(this.#o=++this.#o%this.#s.frames.length,this.#c=t);let{frames:u}=this.#s,r=u[this.#o];this.color&&(r=C[this.color](r));let o=typeof this.#n=="string"&&this.#n!==""?this.#n+" ":"",s=typeof this.text=="string"?" "+this.text:"",i=typeof this.#D=="string"&&this.#D!==""?" "+this.#D:"";return o+r+s+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.#o=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.#n,r=this.#C(u," "),o=t.symbol??" ",s=t.text??this.text,n=typeof s=="string"?(o?" ":"")+s:"",l=t.suffixText??this.#D,m=this.#h(l," "),d=r+o+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.22.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"},"./utils/controller":{import:"./dist/utils/controller.js",require:"./dist/utils/controller.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":"10.0.0","release-it":"18.1.1",tsup:"8.3.5",tsx:"4.19.2",typedoc:"0.27.6","typedoc-plugin-markdown":"4.4.1",typescript:"5.7.3",vitepress:"1.5.0","vitepress-plugin-npm-commands":"^0.6.0","vitepress-plugin-tabs":"^0.5.0",vitest:"2.1.8"},dependencies:{"@fullhuman/postcss-purgecss":"7.0.2","@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.3",commander:"13.1.0",consola:"3.3.3",cosmiconfig:"9.0.0",cssnano:"7.0.6",esbuild:"0.24.2","fast-glob":"3.3.3",handlebars:"4.7.8","html-minifier-terser":"7.2.0","mdx-to-md":"0.3.2","merge-anything":"6.0.2",nodemon:"3.1.9",ora:"8.1.1",postcss:"8.5.1",prettyjson:"1.2.5",pug:"3.0.3",radash:"12.1.0",sass:"1.83.1",tailwindcss:"3.4.17"},files:["dist"]};function K(e){return Object.prototype.toString.call(e).slice(8,-1)}function P(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 ot(e,t,u,r){let o={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";o==="enumerable"&&(e[t]=u),o==="nonenumerable"&&Object.defineProperty(e,t,{value:u,enumerable:!1,writable:!0,configurable:!0});}function st(e,t,u){if(!P(t))return t;let r={};if(P(e)){let n=Object.getOwnPropertyNames(e),l=Object.getOwnPropertySymbols(e);r=[...n,...l].reduce((m,d)=>{let y=e[d];return (!z(d)&&!Object.getOwnPropertyNames(t).includes(d)||z(d)&&!Object.getOwnPropertySymbols(t).includes(d))&&ot(m,d,y,e),m},{});}let o=Object.getOwnPropertyNames(t),s=Object.getOwnPropertySymbols(t);return [...o,...s].reduce((n,l)=>{let m=t[l],d=P(e)?e[l]:void 0;d!==void 0&&P(m)&&(m=st(d,m));let y=m;return ot(n,l,y,t),n},r)}function Z(e,...t){return t.reduce((u,r)=>st(u,r),e)}var it={builder:{outputDir:"dist",esbuildControllerOptions:{includeInBundle:[]},tailwind:{forcedClassesInclusion:[]},editor:{webComponents:{formRow:!1}}},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 Lu="node-red-dxp",Gu=e=>e.replace("@","").replace("/","-");function Wu(){let e=cosmiconfig.cosmiconfigSync(Lu);try{let t=e.search();return Z(it,t?t.config:{})}catch(t){throw console.error("Error while loading configuration",t),t}}var nt=Wu(),B=process.cwd(),Dt=JSON.parse(lt.readFileSync(`${B}/package.json`,"utf-8")),k=`${B}/${a.srcDir}`,Hu=`${B}/resources`,Uu=`${B}/resources`,ye=`${k}/${a.nodesDirName}`,xe=`${B}/${a.libCacheDir}`,Yu=`${Ft__namespace.default.resolve(__dirname,"..")}`,at=Gu(Dt.name);function qu(e=[]){return e.map(t=>{let u=t.path,r=`${u}/${a.nodes.editor.dirName}`,o=u.replace(B,"").slice(1),s=`${o}/${a.nodes.editor.dirName}`,i=fastGlob.globSync(`${r}/${a.nodes.editor.stylesName}.scss`),n=fastGlob.globSync(`${u}/docs.mdx`),l=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:s,relativePath:o,nodeIdentifier:`${at}-${m}`,fullControllerPath:`${u}/${a.nodes.controllerName}.ts`,editor:{tsPath:`${r}/${a.nodes.editor.tsName}.ts`,htmlPath:`${r}/${a.nodes.editor.htmlName}.html`,pugPath:`${r}/${a.nodes.editor.htmlName}.pug`,scssFiles:i},doc:{mdxFiles:n,mdFiles:l}}})}function Ju(){let e=fastGlob.globSync(`${ye}/**/*`,{onlyDirectories:!0,deep:1,objectMode:!0}),t=qu(e),u=t.map(r=>r.name);return {currentDir:B,pathSrcDir:k,pathSrcNodesDir:ye,pathResourcesDir:Hu,additionalResourcesDir:Uu,pathDist:`${B}/${nt.builder.outputDir}`,currentPackagedDistPath:Yu,cacheDirFiles:{controllerIndex:`${xe}/controller-index.ts`,editorIndex:`${xe}/editor-index.ts`},pathLibCacheDir:xe,packageName:Dt.name,packageNameSlug:at,config:nt,resolvedSrcPathsScss:fastGlob.globSync(`${k}/${a.globalStylesName}.scss`,{ignore:[`${ye}/**/*.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=Ju();var ct=`${Ft__namespace.default.resolve(__dirname,"..")}`;function A(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 Zu=`${D.currentDir}/package.json`,X=class{params;constructor(t){this.params={minify:!1,...t};}async getControllerIndexContent(){return `
4
+ `)+r,o=u+1,u=e.indexOf(`
5
+ `,o);}while(u!==-1);return i+=e.slice(o),i}var{stdout:Je,stderr:Ve}=Ue,ue=Symbol("GENERATOR"),w=Symbol("STYLER"),I=Symbol("IS_EMPTY"),Ke=["ansi","ansi","ansi256","ansi16m"],N=Object.create(null),cr=(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 r=Je?Je.level:0;e.level=t.level===void 0?r:t.level;};var mr=e=>{let t=(...r)=>r.join(" ");return cr(t,e),Object.setPrototypeOf(t,R.prototype),t};function R(e){return mr(e)}Object.setPrototypeOf(R.prototype,Function.prototype);for(let[e,t]of Object.entries(p))N[e]={get(){let r=W(this,ie(t.open,t.close,this[w]),this[I]);return Object.defineProperty(this,e,{value:r}),r}};N.visible={get(){let e=W(this,this[w],true);return Object.defineProperty(this,"visible",{value:e}),e}};var oe=(e,t,r,...u)=>e==="rgb"?t==="ansi16m"?p[r].ansi16m(...u):t==="ansi256"?p[r].ansi256(p.rgbToAnsi256(...u)):p[r].ansi(p.rgbToAnsi(...u)):e==="hex"?oe("rgb",t,r,...p.hexToRgb(...u)):p[r][e](...u),dr=["rgb","hex","ansi256"];for(let e of dr){N[e]={get(){let{level:r}=this;return function(...u){let o=ie(oe(e,Ke[r],"color",...u),p.color.close,this[w]);return W(this,o,this[I])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);N[t]={get(){let{level:r}=this;return function(...u){let o=ie(oe(e,Ke[r],"bgColor",...u),p.bgColor.close,this[w]);return W(this,o,this[I])}}};}var fr=Object.defineProperties(()=>{},{...N,level:{enumerable:true,get(){return this[ue].level},set(e){this[ue].level=e;}}}),ie=(e,t,r)=>{let u,o;return r===void 0?(u=e,o=t):(u=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:u,closeAll:o,parent:r}},W=(e,t,r)=>{let u=(...o)=>pr(u,o.length===1?""+o[0]:o.join(" "));return Object.setPrototypeOf(u,fr),u[ue]=e,u[w]=t,u[I]=r,u},pr=(e,t)=>{if(e.level<=0||!t)return e[I]?"":t;let r=e[w];if(r===void 0)return t;let{openAll:u,closeAll:o}=r;if(t.includes("\x1B"))for(;r!==void 0;)t=Ye(t,r.close,r.open),r=r.parent;let i=t.indexOf(`
6
+ `);return i!==-1&&(t=qe(t,o,u,i)),u+t+o};Object.defineProperties(R.prototype,N);var Cr=R();R({level:Ve?Ve.level:0});var C=Cr;var hr=(e,t,r,u)=>{if(r==="length"||r==="prototype"||r==="arguments"||r==="caller")return;let o=Object.getOwnPropertyDescriptor(e,r),i=Object.getOwnPropertyDescriptor(t,r);!Er(o,i)&&u||Object.defineProperty(e,r,i);},Er=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)},gr=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},Br=(e,t)=>`/* Wrapped ${e}*/
7
+ ${t}`,_r=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),xr=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),yr=(e,t,r)=>{let u=r===""?"":`with ${r.trim()}() `,o=Br.bind(null,u,t.toString());Object.defineProperty(o,"name",xr);let{writable:i,enumerable:n,configurable:s}=_r;Object.defineProperty(e,"toString",{value:o,writable:i,enumerable:n,configurable:s});};function ne(e,t,{ignoreNonConfigurable:r=false}={}){let{name:u}=e;for(let o of Reflect.ownKeys(t))hr(e,t,o,r);return gr(e,t),yr(e,t,u),e}var H=new WeakMap,ze=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,u=0,o=e.displayName||e.name||"<anonymous>",i=function(...n){if(H.set(i,++u),u===1)r=e.apply(this,n),e=void 0;else if(t.throw===true)throw new Error(`Function \`${o}\` can only be called once`);return r};return ne(i,e),H.set(i,u),i};ze.callCount=e=>{if(!H.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return H.get(e)};var Ze=ze;var y=[];y.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&y.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&y.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var U=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",se=Symbol.for("signal-exit emitter"),De=globalThis,br=Object.defineProperty.bind(Object),ae=class{emitted={afterExit:false,exit:false};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(De[se])return De[se];br(De,se,{value:this,writable:false,enumerable:false,configurable:false});}on(t,r){this.listeners[t].push(r);}removeListener(t,r){let u=this.listeners[t],o=u.indexOf(r);o!==-1&&(o===0&&u.length===1?u.length=0:u.splice(o,1));}emit(t,r,u){if(this.emitted[t])return false;this.emitted[t]=true;let o=false;for(let i of this.listeners[t])o=i(r,u)===true||o;return t==="exit"&&(o=this.emit("afterExit",r,u)||o),o}},Y=class{},Ar=e=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}}),le=class extends Y{onExit(){return ()=>{}}load(){}unload(){}},Fe=class extends Y{#n=ce.platform==="win32"?"SIGINT":"SIGHUP";#r=new ae;#e;#o;#c;#t={};#i=false;constructor(t){super(),this.#e=t,this.#t={};for(let r of y)this.#t[r]=()=>{let u=this.#e.listeners(r),{count:o}=this.#r,i=t;if(typeof i.__signal_exit_emitter__=="object"&&typeof i.__signal_exit_emitter__.count=="number"&&(o+=i.__signal_exit_emitter__.count),u.length===o){this.unload();let n=this.#r.emit("exit",null,r),s=r==="SIGHUP"?this.#n:r;n||t.kill(t.pid,s);}};this.#c=t.reallyExit,this.#o=t.emit;}onExit(t,r){if(!U(this.#e))return ()=>{};this.#i===false&&this.load();let u=r!=null&&r.alwaysLast?"afterExit":"exit";return this.#r.on(u,t),()=>{this.#r.removeListener(u,t),this.#r.listeners.exit.length===0&&this.#r.listeners.afterExit.length===0&&this.unload();}}load(){if(!this.#i){this.#i=true,this.#r.count+=1;for(let t of y)try{let r=this.#t[t];r&&this.#e.on(t,r);}catch{}this.#e.emit=(t,...r)=>this.#m(t,...r),this.#e.reallyExit=t=>this.#u(t);}}unload(){this.#i&&(this.#i=false,y.forEach(t=>{let r=this.#t[t];if(!r)throw new Error("Listener not defined for signal: "+t);try{this.#e.removeListener(t,r);}catch{}}),this.#e.emit=this.#o,this.#e.reallyExit=this.#c,this.#r.count-=1);}#u(t){return U(this.#e)?(this.#e.exitCode=t||0,this.#r.emit("exit",this.#e.exitCode,null),this.#c.call(this.#e,this.#e.exitCode)):0}#m(t,...r){let u=this.#o;if(t==="exit"&&U(this.#e)){typeof r[0]=="number"&&(this.#e.exitCode=r[0]);let o=u.call(this.#e,t,...r);return this.#r.emit("exit",this.#e.exitCode,null),o}else return u.call(this.#e,t,...r)}},ce=globalThis.process,{onExit:Xe}=Ar(U(ce)?new Fe(ce):new le);var Qe=h__namespace.default.stderr.isTTY?h__namespace.default.stderr:h__namespace.default.stdout.isTTY?h__namespace.default.stdout:void 0,wr=Qe?Ze(()=>{Xe(()=>{Qe.write("\x1B[?25h");},{alwaysLast:true});}):()=>{},et=wr;var J=false,v={};v.show=(e=h__namespace.default.stderr)=>{e.isTTY&&(J=false,e.write("\x1B[?25h"));};v.hide=(e=h__namespace.default.stderr)=>{e.isTTY&&(et(),J=true,e.write("\x1B[?25l"));};v.toggle=(e,t)=>{e!==void 0&&(J=e),J?v.show(t):v.hide(t);};var me=v;var M=ke(de());function fe(){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 vr={info:C.blue("\u2139"),success:C.green("\u2714"),warning:C.yellow("\u26A0"),error:C.red("\u2716")},Pr={info:C.blue("i"),success:C.green("\u221A"),warning:C.yellow("\u203C"),error:C.red("\xD7")},Sr=fe()?vr:Pr,j=Sr;function pe({onlyFirst:e=false}={}){let r=["[\\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(r,e?void 0:"g")}var Tr=pe();function k(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Tr,"")}function it(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 nt(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function st(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 $r(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function Dt(e,{ambiguousAsWide:t=false}={}){return $r(e),nt(e)||st(e)||t&&it(e)?2:1}var at=()=>/[#*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 Or=new Intl.Segmenter,Ir=new RegExp("^\\p{Default_Ignorable_Code_Point}$","u");function Ce(e,t={}){if(typeof e!="string"||e.length===0)return 0;let{ambiguousIsNarrow:r=true,countAnsiEscapeCodes:u=false}=t;if(u||(e=k(e)),e.length===0)return 0;let o=0,i={ambiguousAsWide:!r};for(let{segment:n}of Or.segment(e)){let s=n.codePointAt(0);if(!(s<=31||s>=127&&s<=159)&&!(s>=8203&&s<=8207||s===65279)&&!(s>=768&&s<=879||s>=6832&&s<=6911||s>=7616&&s<=7679||s>=8400&&s<=8447||s>=65056&&s<=65071)&&!(s>=55296&&s<=57343)&&!(s>=65024&&s<=65039)&&!Ir.test(n)){if(at().test(n)){o+=2;continue}o+=Dt(s,i);}}return o}function he({stream:e=process.stdout}={}){return !!(e&&e.isTTY&&process.env.TERM!=="dumb"&&!("CI"in process.env))}function Ee(){let{env:e}=h__namespace.default,{TERM:t,TERM_PROGRAM:r}=e;return h__namespace.default.platform!=="win32"?t!=="linux":!!e.WT_SESSION||!!e.TERMINUS_SUBLIME||e.ConEmuTask==="{cmd::Cmder}"||r==="Terminus-Sublime"||r==="vscode"||t==="xterm-256color"||t==="alacritty"||t==="rxvt-unicode"||t==="rxvt-unicode-256color"||e.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Rr=3,ge=class{#n=0;start(){this.#n++,this.#n===1&&this.#r();}stop(){if(this.#n<=0)throw new Error("`stop` called more times than `start`");this.#n--,this.#n===0&&this.#e();}#r(){h__namespace.default.platform==="win32"||!h__namespace.default.stdin.isTTY||(h__namespace.default.stdin.setRawMode(true),h__namespace.default.stdin.on("data",this.#o),h__namespace.default.stdin.resume());}#e(){h__namespace.default.stdin.isTTY&&(h__namespace.default.stdin.off("data",this.#o),h__namespace.default.stdin.pause(),h__namespace.default.stdin.setRawMode(false));}#o(t){t[0]===Rr&&h__namespace.default.emit("SIGINT");}},jr=new ge,Be=jr;ke(de());var _e=class{#n=0;#r=false;#e=0;#o=-1;#c=0;#t;#i;#u;#m;#f;#a;#l;#F;#p;#s;#D;color;constructor(t){typeof t=="string"&&(t={text:t}),this.#t={color:"cyan",stream:h__namespace.default.stderr,discardStdin:true,hideCursor:true,...t},this.color=this.#t.color,this.spinner=this.#t.spinner,this.#f=this.#t.interval,this.#u=this.#t.stream,this.#a=typeof this.#t.isEnabled=="boolean"?this.#t.isEnabled:he({stream:this.#u}),this.#l=typeof this.#t.isSilent=="boolean"?this.#t.isSilent:false,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.#u,this._isEnabled=this.#a,Object.defineProperty(this,"_linesToClear",{get(){return this.#n},set(r){this.#n=r;}}),Object.defineProperty(this,"_frameIndex",{get(){return this.#o}}),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.#i.interval??100}get spinner(){return this.#i}set spinner(t){if(this.#o=-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.#i=t;}else if(!Ee())this.#i=M.default.line;else if(t===void 0)this.#i=M.default.dots;else if(t!=="default"&&M.default[t])this.#i=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.#s}set prefixText(t=""){this.#s=t,this.#d();}get suffixText(){return this.#D}set suffixText(t=""){this.#D=t,this.#d();}get isSpinning(){return this.#m!==void 0}#C(t=this.#s,r=" "){return typeof t=="string"&&t!==""?t+r:typeof t=="function"?t()+r:""}#h(t=this.#D,r=" "){return typeof t=="string"&&t!==""?r+t:typeof t=="function"?r+t():""}#d(){let t=this.#u.columns??80,r=this.#C(this.#s,"-"),u=this.#h(this.#D,"-"),o=" ".repeat(this.#F)+r+"--"+this.#p+"--"+u;this.#e=0;for(let i of k(o).split(`
8
+ `))this.#e+=Math.max(1,Math.ceil(Ce(i,{countAnsiEscapeCodes:true})/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.#o===-1||t-this.#c>=this.interval)&&(this.#o=++this.#o%this.#i.frames.length,this.#c=t);let{frames:r}=this.#i,u=r[this.#o];this.color&&(u=C[this.color](u));let o=typeof this.#s=="string"&&this.#s!==""?this.#s+" ":"",i=typeof this.text=="string"?" "+this.text:"",n=typeof this.#D=="string"&&this.#D!==""?" "+this.#D:"";return o+u+i+n}clear(){if(!this.#a||!this.#u.isTTY)return this;this.#u.cursorTo(0);for(let t=0;t<this.#n;t++)t>0&&this.#u.moveCursor(0,-1),this.#u.clearLine(1);return (this.#F||this.lastIndent!==this.#F)&&this.#u.cursorTo(this.#F),this.lastIndent=this.#F,this.#n=0,this}render(){return this.#l?this:(this.clear(),this.#u.write(this.frame()),this.#n=this.#e,this)}start(t){return t&&(this.text=t),this.#l?this:this.#a?this.isSpinning?this:(this.#t.hideCursor&&me.hide(this.#u),this.#t.discardStdin&&h__namespace.default.stdin.isTTY&&(this.#r=true,Be.start()),this.render(),this.#m=setInterval(this.render.bind(this),this.interval),this):(this.text&&this.#u.write(`- ${this.text}
9
+ `),this)}stop(){return this.#a?(clearInterval(this.#m),this.#m=void 0,this.#o=0,this.clear(),this.#t.hideCursor&&me.show(this.#u),this.#t.discardStdin&&h__namespace.default.stdin.isTTY&&this.#r&&(Be.stop(),this.#r=false),this):this}succeed(t){return this.stopAndPersist({symbol:j.success,text:t})}fail(t){return this.stopAndPersist({symbol:j.error,text:t})}warn(t){return this.stopAndPersist({symbol:j.warning,text:t})}info(t){return this.stopAndPersist({symbol:j.info,text:t})}stopAndPersist(t={}){if(this.#l)return this;let r=t.prefixText??this.#s,u=this.#C(r," "),o=t.symbol??" ",i=t.text??this.text,s=typeof i=="string"?(o?" ":"")+i:"",a=t.suffixText??this.#D,m=this.#h(a," "),d=u+o+s+m+`
10
+ `;return this.stop(),this.#u.write(d),this}};function xe(e){return new _e(e)}var Ft={version:"1.23.1"};function z(e){return Object.prototype.toString.call(e).slice(8,-1)}function P(e){if(z(e)!=="Object")return false;let t=Object.getPrototypeOf(e);return !!t&&t.constructor===Object&&t===Object.prototype}function Z(e){return z(e)==="Symbol"}function ct(e,t,r,u){let o={}.propertyIsEnumerable.call(u,t)?"enumerable":"nonenumerable";o==="enumerable"&&(e[t]=r),o==="nonenumerable"&&Object.defineProperty(e,t,{value:r,enumerable:false,writable:true,configurable:true});}function mt(e,t,r){if(!P(t))return t;let u={};if(P(e)){let s=Object.getOwnPropertyNames(e),a=Object.getOwnPropertySymbols(e);u=[...s,...a].reduce((m,d)=>{if(d==="__proto__")return m;let x=e[d];return (!Z(d)&&!Object.getOwnPropertyNames(t).includes(d)||Z(d)&&!Object.getOwnPropertySymbols(t).includes(d))&&ct(m,d,x,e),m},{});}let o=Object.getOwnPropertyNames(t),i=Object.getOwnPropertySymbols(t);return [...o,...i].reduce((s,a)=>{if(a==="__proto__")return s;let m=t[a],d=P(e)?e[a]:void 0;d!==void 0&&P(m)&&(m=mt(d,m));let x=m;return ct(s,a,x,t),s},u)}function X(e,...t){return t.reduce((r,u)=>mt(r,u),e)}var dt={builder:{outputDir:"dist",esbuildControllerOptions:{includeInBundle:[]},tailwind:{forcedClassesInclusion:[]},editor:{webComponents:{formRow:false}}},watcher:{nodeRed:{enabled:true,path:"~/.node-red",url:"http://localhost:1880"}}};var l={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 Yr="node-red-dxp",qr=e=>e.replace("@","").replace("/","-");function Jr(){let e=cosmiconfig.cosmiconfigSync(Yr);try{let t=e.search();return X(dt,t?t.config:{})}catch(t){throw console.error("Error while loading configuration",t),t}}var S=Jr(),_=process.cwd(),ft=JSON.parse(Ct.readFileSync(`${_}/package.json`,"utf-8")),L=`${_}/${l.srcDir}`,Vr=`${_}/resources`,Kr=`${_}/resources`,ye=`${L}/${l.nodesDirName}`,be=`${_}/${l.libCacheDir}`,zr=`${ht__namespace.default.resolve(__dirname,"..")}`,pt=qr(ft.name);function Zr(e=[]){return e.map(t=>{let r=t.path,u=`${r}/${l.nodes.editor.dirName}`,o=r.replace(_,"").slice(1),i=`${o}/${l.nodes.editor.dirName}`,n=fastGlob.globSync(`${u}/${l.nodes.editor.stylesName}.scss`),s=fastGlob.globSync(`${r}/docs.mdx`),a=fastGlob.globSync(`${r}/docs.md`),m=radash.dash(t.name);return {fullEditorPath:u,fullPath:r,name:t.name,pascalName:radash.pascal(t.name),dashName:m,relativeEditorPath:i,relativePath:o,nodeIdentifier:`${pt}-${m}`,fullControllerPath:`${r}/${l.nodes.controllerName}.ts`,editor:{tsPath:`${u}/${l.nodes.editor.tsName}.ts`,htmlPath:`${u}/${l.nodes.editor.htmlName}.html`,pugPath:`${u}/${l.nodes.editor.htmlName}.pug`,scssFiles:n},doc:{mdxFiles:s,mdFiles:a}}})}function Xr(){let e=fastGlob.globSync(`${ye}/**/*`,{onlyDirectories:true,deep:1,objectMode:true}),t=Zr(e),r=t.map(u=>u.name);return {currentDir:_,pathSrcDir:L,pathSrcNodesDir:ye,pathResourcesDir:Vr,additionalResourcesDir:Kr,pathDist:`${_}/${S.builder.outputDir}`,currentPackagedDistPath:zr,cacheDirFiles:{controllerIndex:`${be}/controller-index.ts`,editorIndex:`${be}/editor-index.ts`},pathLibCacheDir:be,packageName:ft.name,packageNameSlug:pt,config:S,resolvedSrcPathsScss:fastGlob.globSync(`${L}/${l.globalStylesName}.scss`,{ignore:[`${ye}/**/*.scss`]}),resolvedNodesPaths:e.map(u=>u.path),resolvedSrcLocalesPaths:fastGlob.globSync(`${L}/${l.localesDirName}/*.json`),redServerPath:fastGlob.globSync(`${L}/red-server.ts`),listNodesFull:t,listNodesFullNames:r}}var D=Xr();var Et=`${ht__namespace.default.resolve(__dirname,"..")}`;function A(e){Ct__default.default.existsSync(e)||Ct__default.default.mkdirSync(e,{recursive:true});}async function E(e,t){try{await Ae__default.default.writeFile(e,t);}catch(r){console.error("Error writing controller index:",r);}}async function gt(e){for(let t of e)try{let r=ht__namespace.default.resolve(t),u=await Ae__default.default.stat(r).catch(()=>null);u!=null&&u.isDirectory()&&await Ae__default.default.rm(r,{recursive:!0,force:!0});}catch(r){console.error(`Error cleaning path (${t}): ${r}`);}}var Bt={name:"add-credentials-export",setup(e){e.onLoad({filter:/controller\.ts$/},async t=>{let r=await Ae__default.default.readFile(t.path,"utf8");return /export\s+const\s+credentials\s*=/.test(r)?{contents:r,loader:"ts"}:{contents:`${r}
11
+ export const credentials = {};`,loader:"ts"}});}};var ru=`${D.currentDir}/package.json`,Q=class{params;constructor(t){this.params={minify:false,...t};}async getControllerIndexContent(){return `
12
12
  import type { NodeAPI } from 'node-red';
13
13
  ${D.listNodesFull.map(t=>`// @ts-ignore
14
14
  import ${t.pascalName}, {credentials as cred${t.pascalName}} from '${t.fullControllerPath}';`).join(`
@@ -27,23 +27,23 @@ export default async (RED: NodeAPI): Promise<void> => {
27
27
  `)}
28
28
  ${D.redServerPath.length>0?"RedServer();":""}
29
29
  };
30
- `.trim()}buildScript(){let t=lt__default.default.readFileSync(Zu,"utf8"),u=JSON.parse(t),r=[...D.config.builder.esbuildControllerOptions.includeInBundle,"@keload/node-red-dxp"],s=Object.keys(u.dependencies||{}).filter(i=>!r.includes(i));return zu__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:s})}async getControllerTask(){return this.getControllerIndexContent().then(t=>{E(`${D.cacheDirFiles.controllerIndex}`,t).then(()=>{this.buildScript();});})}};function ft(e,t){return `
30
+ `.trim()}buildScript(){let t=Ct__default.default.readFileSync(ru,"utf8"),r=JSON.parse(t),u=[...D.config.builder.esbuildControllerOptions.includeInBundle,"@keload/node-red-dxp"],i=Object.keys(r.dependencies||{}).filter(n=>!u.includes(n));return tu__default.default.build({entryPoints:[D.cacheDirFiles.controllerIndex],outfile:`${D.pathDist}/index.js`,bundle:true,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:[Bt],external:i})}async getControllerTask(){return this.getControllerIndexContent().then(t=>{E(`${D.cacheDirFiles.controllerIndex}`,t).then(()=>{this.buildScript();});})}};function _t(e,t){return `
31
31
  <script type="text/markdown" data-help-name="${t}">
32
32
  ${e}
33
- </script>`.trim()}async function er(e,t){process.env.NODE_ENV="production";let u=await mdxToMd.mdxToMd(e);return ft(u,t)}async function tr(e,t){let u=await be__default.default.readFile(e,"utf8");return ft(u,t)}async function ur(e){return e.isMdx?await er(e.path,e.name):await tr(e.path,e.name)}async function pt(){let e=D.listNodesFull.flatMap(u=>{let r=u.doc.mdxFiles.length!==0,o=u.doc.mdFiles.length!==0;if(!r&&!o)return [];let s=!r&&o;return {path:s?u.doc.mdFiles[0]:u.doc.mdxFiles[0],name:u.name,isMdx:r,isMd:s}}),t=await Promise.all(e.map(u=>ur(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,(s,i,n)=>{let l=n;return n.startsWith("node-red:")||(l=`${e}.${n}`),(i||"")+l})}"`)}async function ar(e){return htmlMinifierTerser.minify(e,{collapseWhitespace:!0,removeComments:!0,removeRedundantAttributes:!1,useShortDoctype:!0,removeEmptyAttributes:!1,minifyCSS:!1,minifyJS:!1})}function lr(e,t){return `
33
+ </script>`.trim()}async function iu(e,t){process.env.NODE_ENV="production";let r=await mdxToMd.mdxToMd(e);return _t(r,t)}async function nu(e,t){let r=await Ae__default.default.readFile(e,"utf8");return _t(r,t)}async function su(e){return e.isMdx?await iu(e.path,e.name):await nu(e.path,e.name)}async function xt(){let e=D.listNodesFull.flatMap(r=>{let u=r.doc.mdxFiles.length!==0,o=r.doc.mdFiles.length!==0;if(!u&&!o)return [];let i=!u&&o;return {path:i?r.doc.mdFiles[0]:r.doc.mdxFiles[0],name:r.name,isMdx:u,isMd:i}}),t=await Promise.all(e.map(r=>su(r)));return t.length?t.join(`
34
+ `):""}function yt(e){return e.trim().replace(/\n\s+/g,"")}function bt(e=""){return {name:e,dashName:radash.dash(e),pascalName:radash.pascal(e)}}function At(e="",t=""){return !e||!t?t:t.replace(/data-i18n="([^"]+)"/g,(r,u)=>`data-i18n="${u.replace(/(\[.*?\])?(node-red:[^;]+|[^;]+)/g,(i,n,s)=>{let a=s;return s.startsWith("node-red:")||(a=`${e}.${s}`),(n||"")+a})}"`)}async function du(e){return htmlMinifierTerser.minify(e,{collapseWhitespace:true,removeComments:true,removeRedundantAttributes:false,useShortDoctype:true,removeEmptyAttributes:false,minifyCSS:false,minifyJS:false})}function fu(e,t){return `
35
35
  <script type="text/html" data-template-name="${e}">
36
36
  ${t}
37
37
  </script>
38
- `}async function Fr(e,t,u=!1){let r="",o=fastGlob.globSync(e.editor.pugPath,{onlyFiles:!0}).at(0);o?r=Dr__default.default.renderFile(o):r=lt.readFileSync(e.editor.htmlPath,"utf8");let s=`
38
+ `}async function pu(e,t,r=false){let u="",o=fastGlob.globSync(e.editor.pugPath,{onlyFiles:true}).at(0);o?u=mu__default.default.renderFile(o):u=Ct.readFileSync(e.editor.htmlPath,"utf8");let i=`
39
39
  <div class="${t}">
40
- <div id="${e.nodeIdentifier}">${r}</div>
40
+ <div id="${e.nodeIdentifier}">${u}</div>
41
41
  </div>
42
- `,i=u?await ar(s):s;i=Et(e.name,i);let n=lr(e.name,i);return {nodeName:e.name,nodeIdentifier:e.nodeIdentifier,html:i,wrappedHtml:n}}async function gt(e){let{nodes:t,minify:u=!1}=e,r=await Promise.all(t.map(s=>Fr(s,e.packageNameSlug,u)));return {html:r.map(s=>s.html).join("").trim(),allWrappedHtml:r.map(s=>u?Ct(s.wrappedHtml):s.wrappedHtml).join("").trim()}}function Bt(e){let t=e.replace(D.pathResourcesDir,"");return `resources/${D.packageName}${t}`}function mr(e){return `<script src="${e}"></script>`}function dr(e){return `<link rel="stylesheet" href="${e}">`}async function fr(e){return Ft__namespace.parse(e).ext===".js"?mr(Bt(e)):dr(Bt(e))}async function yt(){let e=D.pathResourcesDir,t=fastGlob.globSync(`${e}/**/*.{js,css}`,{onlyFiles:!0});return (await Promise.all(t.map(fr))).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],wt=[...xt,...xt.map(e=>`!${e}`)];async function Br(e,t){return (await Ae__default.default([Cr__default.default({content:[{raw:t,extension:"html"}],safelist:[/^!/,/^\\!/,/^\\:/,...wt]}),hr__default.default,bt__default.default({preset:"default"})]).process(e,{from:void 0})).css}function _r(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]=_r(r);}return t}function yr(e){return e.some(u=>u.editor.scssFiles.length)?e.filter(u=>u.editor.scssFiles.length).map(u=>{let r=Nt(u.editor.scssFiles),o=Object.values(r).join("");return {name:u.name,mergedCompiledStyles:o,scssFinal:`
43
- #${u.nodeIdentifier}{
42
+ `,n=r?await du(i):i;n=At(e.name,n);let s=fu(e.name,n);return {nodeName:e.name,nodeIdentifier:e.nodeIdentifier,html:n,wrappedHtml:s}}async function wt(e){let{nodes:t,minify:r=false}=e,u=await Promise.all(t.map(i=>pu(i,e.packageNameSlug,r)));return {html:u.map(i=>i.html).join("").trim(),allWrappedHtml:u.map(i=>r?yt(i.wrappedHtml):i.wrappedHtml).join("").trim()}}function Nt(e){let t=e.replace(D.pathResourcesDir,"");return `resources/${D.packageName}${t}`}function hu(e){return `<script src="${e}"></script>`}function Eu(e){return `<link rel="stylesheet" href="${e}">`}async function gu(e){return ht__namespace.parse(e).ext===".js"?hu(Nt(e)):Eu(Nt(e))}async function Pt(){let e=D.pathResourcesDir,t=fastGlob.globSync(`${e}/**/*.{js,css}`,{onlyFiles:true});return (await Promise.all(t.map(gu))).join("")}var St=["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],Ot=[...St,...St.map(e=>`!${e}`)];async function Au(e,t){return (await we__default.default([_u__default.default({content:[{raw:t,extension:"html"}],safelist:[/^!/,/^\\!/,/^\\:/,...Ot]}),xu__default.default,Tt__default.default({preset:"default"})]).process(e,{from:void 0})).css}function wu(e){return $t__namespace.compile(e,{style:"expanded"}).css}function It(e){let t={};for(let r=0;r<e.length;r++){let u=e[r];t[u]=wu(u);}return t}function Nu(e){return e.some(r=>r.editor.scssFiles.length)?e.filter(r=>r.editor.scssFiles.length).map(r=>{let u=It(r.editor.scssFiles),o=Object.values(u).join("");return {name:r.name,mergedCompiledStyles:o,scssFinal:`
43
+ #${r.nodeIdentifier}{
44
44
  ${o}
45
- }`}}):[]}async function xr(e,t={}){let r={...{content:[{raw:e},{raw:wt.join(" ")}],theme:{}},...t},o=fastGlob.globSync(`${ct}/${a.nodes.editor.dirName}/assets/tailwind.scss`)[0],s=o.length?lt__default.default.readFileSync(o,"utf8"):"";return (await Ae__default.default([gr__default.default(r),zt("autoprefixer")]).process(s,{from:void 0})).css}function br(){let e=D.resolvedSrcPathsScss;if(!e.length)return "";let t=Nt([...e]);return Object.values(t).join("")}async function vt(e){let t=y=>`.${D.packageNameSlug}{${y}}`,{rawHtml:u,minify:r=!1,nodes:o}=e||{},s=br(),i=yr(o),n=await xr(u),l=r?await Ae__default.default([bt__default.default({preset:"default"})]).process(n,{from:void 0}):n,m=i.map(y=>y.scssFinal).join(`
46
- `),d=r?await Br(`${s}${m}`,u):`${s}${m}`;return t(`${l}${d}`)}async function wr(){return `
45
+ }`}}):[]}async function vu(e,t={}){let u={...{content:[{raw:e},{raw:Ot.join(" ")}],theme:{}},...t},o=fastGlob.globSync(`${Et}/${l.nodes.editor.dirName}/assets/tailwind.scss`)[0],i=o.length?Ct__default.default.readFileSync(o,"utf8"):"";return (await we__default.default([bu__default.default(u),tr("autoprefixer")]).process(i,{from:void 0})).css}function Pu(){let e=D.resolvedSrcPathsScss;if(!e.length)return "";let t=It([...e]);return Object.values(t).join("")}async function Rt(e){let t=x=>`.${D.packageNameSlug}{${x}}`,{rawHtml:r,minify:u=false,nodes:o}=e||{},i=Pu(),n=Nu(o),s=await vu(r),a=u?await we__default.default([Tt__default.default({preset:"default"})]).process(s,{from:void 0}):s,m=n.map(x=>x.scssFinal).join(`
46
+ `),d=u?await Au(`${i}${m}`,r):`${i}${m}`;return t(`${a}${d}`)}async function Tu(){return `
47
47
  import type { NodeAPI } from 'node-red';
48
48
  ${D.listNodesFull.map(e=>`// @ts-ignore
49
49
  import ${e.pascalName} from '${e.editor.tsPath}';`).join(`
@@ -54,9 +54,9 @@ declare const RED: NodeAPI;
54
54
  ${D.listNodesFull.map(e=>`// @ts-ignore
55
55
  window.RED.nodes.registerType('${e.name}', ${e.pascalName});`).join(`
56
56
  `)}
57
- `.trim()}async function Nr(e=!1){var r,o,s,i,n;let t=[];(n=(i=(s=(o=(r=D)==null?void 0:r.config)==null?void 0:o.builder)==null?void 0:s.editor)==null?void 0:i.webComponents)!=null&&n.formRow&&t.push(`${D.currentPackagedDistPath}/editor/inject/dxpFormRow.js`);let u=await zu__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:t,write:!1,loader:{".ts":"ts"}});return u.outputFiles&&u.outputFiles.length>0?u.outputFiles[0].text:""}var Q=class{params;constructor(t){this.params={minify:!1,...t};}async prepareEditorIndex(){let t=[Nr(this.params.minify),pt(),yt()],[u,r,o]=await Promise.all(t),s=await gt({minify:this.params.minify,nodes:D.listNodesFull,packageNameSlug:D.packageNameSlug}),i=await vt({rawHtml:s.html,minify:this.params.minify,nodes:D.listNodesFull}),n=`<script type="application/javascript">${u.trim()}</script>`,l=`<style>${i}</style>`;return `
57
+ `.trim()}async function $u(e=false){var u,o,i,n,s;let t=[];(s=(n=(i=(o=(u=D)==null?void 0:u.config)==null?void 0:o.builder)==null?void 0:i.editor)==null?void 0:n.webComponents)!=null&&s.formRow&&t.push(`${D.currentPackagedDistPath}/editor/inject/dxpFormRow.js`);let r=await tu__default.default.build({entryPoints:[D.cacheDirFiles.editorIndex],bundle:true,platform:"browser",format:"iife",target:"es6",sourcemap:false,minify:e,minifyWhitespace:e,minifySyntax:e,minifyIdentifiers:e,legalComments:"none",inject:t,write:false,loader:{".ts":"ts"}});return r.outputFiles&&r.outputFiles.length>0?r.outputFiles[0].text:""}var ee=class{params;constructor(t){this.params={minify:false,...t};}async prepareEditorIndex(){let t=[$u(this.params.minify),xt(),Pt()],[r,u,o]=await Promise.all(t),i=await wt({minify:this.params.minify,nodes:D.listNodesFull,packageNameSlug:D.packageNameSlug}),n=await Rt({rawHtml:i.html,minify:this.params.minify,nodes:D.listNodesFull}),s=`<script type="application/javascript">${r.trim()}</script>`,a=`<style>${n}</style>`;return `
58
58
  ${o}
59
- ${s.allWrappedHtml}
60
- ${l}
61
- ${n}
62
- ${r}`.trim()}async getEditorTask(){return wr().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 Pr(e){let t=e.split("/").pop().split(".").shift(),u=await be__default.default.readFile(e,"utf-8");return {codeLang:t,content:u}}async function Pt(){let e=D.listNodesFullNames,t=D.resolvedSrcLocalesPaths,u=await Promise.all(t.map(Pr)),r={};e.forEach(s=>{for(let{codeLang:i,content:n}of u)r[i]||(r[i]=[]),r[i].push(`"${s}":${n}`);});let o="";for(let[s,i]of Object.entries(r)){let n=i.map(l=>l).join(",").slice(0,-1);o+=`"${s}":{${n}},`;}return `{${o.slice(0,-1)}}`}async function $r(e){let t=e.replace(`${D.pathSrcNodesDir}${Ft.sep}`,""),[u,,r]=t.split(Ft.sep),[o]=r.split("."),s=await be__default.default.readFile(e,"utf-8");return {nodeName:u,codeLang:o,path:e,content:s}}async function Tt(){let e=fastGlob.globSync(`${D.pathSrcNodesDir}/**/${a.localesDirName}/*.json`),t=await Promise.all(e.map($r)),u={};t.forEach(({nodeName:o,codeLang:s,content:i})=>{u[s]||(u[s]=[]),u[s].push(`"${o}":${i}`);});let r="";for(let[o,s]of Object.entries(u)){let i=s.map(n=>n).join(",").slice(0,-1);r+=`"${o}":{${i}},`;}return `{${r.slice(0,-1)}}`}async function $t(){let[e,t]=await Promise.all([Pt(),Tt()]),u=Z(JSON.parse(e),JSON.parse(t)),r=[],o=[];for(let[s,i]of Object.entries(u))r.push(A(`${D.pathDist}/${a.localesDirName}/${s}`)),o.push(E(`${D.pathDist}/${a.localesDirName}/${s}/index.json`,JSON.stringify(i)));await Promise.all(r),await Promise.all(o);}var S=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(){A(D.pathLibCacheDir);let t=`${D.currentPackagedDistPath}/editor/assets/pug-helper.pug`,u=[mt([D.pathDist]),E(`${D.pathLibCacheDir}/config.json`,JSON.stringify(D.config,null,2)),be__default.default.copyFile(t,`${D.pathLibCacheDir}/pug-helper.pug`)];return Promise.all(u).then(()=>{A(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);}async function It(){process.cwd();}function Rt(e){let t=new commander.Command("create").description("[WIP] Create new package").action(async()=>{await It();});e.addCommand(t);}function jt(e){let t=new commander.Command("info").description("Command to get information").description("Get information about the package").action(()=>{consola.consola.log(kr__default.default.render(D));});e.addCommand(t);}async function Ur(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 Yr(e,t){try{let u=await Ur(e);return Hr__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){let{pascalName:u,dashName:r}=ht(t.innerNodeName);this.nodePascalName=u,this.nodeDashName=r,this.newNodeDistPath=`${D.pathSrcNodesDir}/${r}`,this.newNodeEditorDistPath=`${this.newNodeDistPath}/${a.nodes.editor.dirName}`,this.scaffoldedDistHbs=`${D.currentPackagedDistPath}/scaffolding/create-node/hbs`,this.isConfigNode=t.isConfigNode;}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=>Yr(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)));}};async function Vr(e,t,u){return e===void 0?consola.consola.prompt(t,u):e}function kt(e){let t=new commander.Command("create-node").description("Create new node").option("--name <name>","Node name").addOption(new commander.Option("--config-node","Generate a config node").conflicts("regularNode")).addOption(new commander.Option("--regular-node","Generate a regular node")).option("--skip-confirm","Skip confirmations",!1);t.action(async u=>{let r=await Vr(u.name,"Enter node name:",{type:"text"}),o=radash.dash(r);if(!((u==null?void 0:u.skipConfirm)||await consola.consola.prompt(`This name is OK for you '${o}'?`,{type:"confirm"}))){consola.consola.info("\u{1F44C} OK. Exiting...");return}let i=(u==null?void 0:u.configNode)===void 0&&(u==null?void 0:u.regularNode)===void 0,n=!1;i?n=await consola.consola.prompt("Is this a config node?",{type:"confirm"}):u!=null&&u.configNode?n=!0:u!=null&&u.regularNode&&(n=!1);let l=new ee({innerNodeName:o,isConfigNode:n});if(l.distFolderExist()){consola.consola.error(`Node ${l.nodeDashName} already exists`),consola.consola.info(`In ${l.newNodeDistPath}`);return}A(l.newNodeEditorDistPath),await l.writeNewNode();}),e.addCommand(t);}var Gt,we;function Zr(){Gt=Lt__default.default({exec:`node-red -u ${D.config.watcher.nodeRed.path}`,ignore:["**/*"],ext:"js,html",verbose:!0}),Lt__default.default.once("start",()=>{we=Kr__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 Xr(){Gt.restart(),we.reload();}function Wt(e){let t=D.config.watcher.nodeRed.enabled&&D.config.watcher.nodeRed.path,u=zr__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?Zr():consola.consola.warn("Node-Red watcher is disabled. Please enable it in the config file");}).on("change",async o=>{consola.consola.info(`File ${o.replace(D.currentDir,"")} has been changed`),await r.buildAll(),consola.consola.success("Build completed"),t&&Xr();});}var _=new commander.Command;_.name("node-red-dxp").description("node-red-dxp CLI").version(rt.version);_.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)`);});_.command("watch").description("watch project").option("--minify","Minify the output",!1).action(e=>{Wt({minify:e.minify});});Ot(_);jt(_);kt(_);Rt(_);_.parse(h__namespace.argv);
59
+ ${i.allWrappedHtml}
60
+ ${a}
61
+ ${s}
62
+ ${u}`.trim()}async getEditorTask(){return Tu().then(t=>{E(`${D.cacheDirFiles.editorIndex}`,t).then(()=>{this.prepareEditorIndex().then(async r=>{await E(`${D.pathDist}/${l.nodes.editor.htmlName}.html`,r);});});})}};async function Iu(e){let t=e.split("/").pop().split(".").shift(),r=await Ae__default.default.readFile(e,"utf-8");return {codeLang:t,content:r}}async function jt(){let e=D.listNodesFullNames,t=D.resolvedSrcLocalesPaths,r=await Promise.all(t.map(Iu)),u={};e.forEach(i=>{for(let{codeLang:n,content:s}of r)u[n]||(u[n]=[]),u[n].push(`"${i}":${s}`);});let o="";for(let[i,n]of Object.entries(u)){let s=n.map(a=>a).join(",").slice(0,-1);o+=`"${i}":{${s}},`;}return `{${o.slice(0,-1)}}`}async function ku(e){let t=e.replace(`${D.pathSrcNodesDir}${ht.sep}`,""),[r,,u]=t.split(ht.sep),[o]=u.split("."),i=await Ae__default.default.readFile(e,"utf-8");return {nodeName:r,codeLang:o,path:e,content:i}}async function Mt(){let e=fastGlob.globSync(`${D.pathSrcNodesDir}/**/${l.localesDirName}/*.json`),t=await Promise.all(e.map(ku)),r={};t.forEach(({nodeName:o,codeLang:i,content:n})=>{r[i]||(r[i]=[]),r[i].push(`"${o}":${n}`);});let u="";for(let[o,i]of Object.entries(r)){let n=i.map(s=>s).join(",").slice(0,-1);u+=`"${o}":{${n}},`;}return `{${u.slice(0,-1)}}`}async function Lt(){let[e,t]=await Promise.all([jt(),Mt()]),r=X(JSON.parse(e),JSON.parse(t)),u=[],o=[];for(let[i,n]of Object.entries(r))u.push(A(`${D.pathDist}/${l.localesDirName}/${i}`)),o.push(E(`${D.pathDist}/${l.localesDirName}/${i}/index.json`,JSON.stringify(n)));await Promise.all(u),await Promise.all(o);}var T=class{params;builderController;builderEditor;constructor(t){this.params={minify:false,...t},this.builderController=new Q({minify:this.params.minify}),this.builderEditor=new ee({minify:this.params.minify});}async prepare(){A(D.pathLibCacheDir);let t=`${D.currentPackagedDistPath}/editor/assets/pug-helper.pug`,r=[gt([D.pathDist]),E(`${D.pathLibCacheDir}/config.json`,JSON.stringify(D.config,null,2)),Ae__default.default.copyFile(t,`${D.pathLibCacheDir}/pug-helper.pug`)];return Promise.all(r).then(()=>{A(D.pathDist);})}async buildAll(){return await this.prepare(),Promise.all([this.builderController.getControllerTask(),this.builderEditor.getEditorTask(),Lt()])}};function Ne(e){let t=new commander.Command("checks").description("[WIP] Commands to check the some stuff").command("nodes-structure").description("[WIP] Verify the structure of the nodes").action(()=>{console.log("In construction");});e.addCommand(t);}async function Gt(){process.cwd();}function ve(e){let t=new commander.Command("create").description("[WIP] Create new package").action(async()=>{await Gt();});e.addCommand(t);}function Se(e){let t=new commander.Command("info").description("Get information about the package").option("--config","Show relative configuration information").action(r=>{r.config?(consola.consola.log("Configuration information:"),consola.consola.log(Wt__default.default.render(S))):consola.consola.log(Wt__default.default.render(D));});e.addCommand(t);}function Ht(e){return e.startsWith("~")?ht.join(sr.homedir(),e.slice(1)):ht.resolve(e)}function Te(e){let t=new commander.Command("install-local-package").description("Install this package into the current Node-RED local installation to develop on it").action(()=>{let r=D.currentDir,u=Ht(S.watcher.nodeRed.path);try{child_process.execSync(`cd "${u}" && npm install "${r}"`);}catch(o){console.log("Error while installing package:",o);}});e.addCommand(t);}async function Xu(e){try{let t=ht__namespace.default.resolve(e);return await Ae__default.default.readFile(t,"utf-8")}catch(t){throw new Error(`Failed to load file: ${t.message}`)}}async function Qu(e,t){try{let r=await Xu(e);return Zu__default.default.compile(r)(t)}catch(r){throw new Error(`Failed to render template: ${r.message}`)}}var te=class{nodePascalName;nodeDashName;newNodeDistPath;newNodeEditorDistPath;scaffoldedDistHbs;isConfigNode;constructor(t){let{pascalName:r,dashName:u}=bt(t.innerNodeName);this.nodePascalName=r,this.nodeDashName=u,this.newNodeDistPath=`${D.pathSrcNodesDir}/${u}`,this.newNodeEditorDistPath=`${this.newNodeDistPath}/${l.nodes.editor.dirName}`,this.scaffoldedDistHbs=`${D.currentPackagedDistPath}/scaffolding/create-node/hbs`,this.isConfigNode=t.isConfigNode;}distFolderExist(){return Ct__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}/${l.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}/${l.nodes.editor.htmlName}.html`,templatePath:`${this.scaffoldedDistHbs}/editor/index${this.isConfigNode?"-config":""}.html.hbs`,templateData:{}}]}async renderFilesTemplates(){let t=this.prepareStructure().map(async r=>Qu(r.templatePath,r.templateData).then(u=>({finalPath:r.finalPath,content:u})));return await Promise.all(t)}async writeNewNode(){let t=await this.renderFilesTemplates();await Promise.all(t.map(r=>E(r.finalPath,r.content)));}};async function ro(e,t,r){return e===void 0?consola.consola.prompt(t,r):e}function $e(e){let t=new commander.Command("create-node").description("Create new node").option("--name <name>","Node name").addOption(new commander.Option("--config-node","Generate a config node").conflicts("regularNode")).addOption(new commander.Option("--regular-node","Generate a regular node")).option("--skip-confirm","Skip confirmations",false);t.action(async r=>{let u=await ro(r.name,"Enter node name:",{type:"text"}),o=radash.dash(u);if(!((r==null?void 0:r.skipConfirm)||await consola.consola.prompt(`This name is OK for you '${o}'?`,{type:"confirm"}))){consola.consola.info("\u{1F44C} OK. Exiting...");return}let n=(r==null?void 0:r.configNode)===void 0&&(r==null?void 0:r.regularNode)===void 0,s=false;n?s=await consola.consola.prompt("Is this a config node?",{type:"confirm"}):r!=null&&r.configNode?s=true:r!=null&&r.regularNode&&(s=false);let a=new te({innerNodeName:o,isConfigNode:s});if(a.distFolderExist()){consola.consola.error(`Node ${a.nodeDashName} already exists`),consola.consola.info(`In ${a.newNodeDistPath}`);return}A(a.newNodeEditorDistPath),await a.writeNewNode();}),e.addCommand(t);}var qt,Oe;function io(){qt=Yt__default.default({exec:`node-red -u ${D.config.watcher.nodeRed.path}`,ignore:["**/*"],ext:"js,html",verbose:true}),Yt__default.default.once("start",()=>{Oe=uo__default.default.create(),Oe.init({ui:false,proxy:{target:D.config.watcher.nodeRed.url,ws:true},ghostMode:false,open:false,reloadDelay:4e3});}).on("quit",()=>{consola.consola.info("Nodemon has quit"),process.exit(0);});}function no(){qt.restart(),Oe.reload();}function Jt(e){let t=D.config.watcher.nodeRed.enabled&&D.config.watcher.nodeRed.path,r=oo__default.default.watch(D.pathSrcDir,{}),u=new T({minify:(e==null?void 0:e.minify)??false});r.on("ready",async()=>{consola.consola.info("Initial scan complete. Ready for changes"),await u.buildAll(),consola.consola.success("Initial Build completed"),t?io():consola.consola.warn("Node-Red watcher is disabled. Please enable it in the config file");}).on("change",async o=>{consola.consola.info(`File ${o.replace(D.currentDir,"")} has been changed`),await u.buildAll(),consola.consola.success("Build completed"),t&&no();});}function Ie(e){let t=new commander.Command("watch").command("watch").description("watch project").option("--minify","Minify the output",false).action(r=>{Jt({minify:r.minify});});e.addCommand(t);}var B=new commander.Command;B.name("node-red-dxp").description("node-red-dxp CLI").version(Ft.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",true).action(async e=>{let t=D.listNodesFull.length,r=perf_hooks.performance.now();console.log("node-red-dxp builder");let u=xe(`Building ${t} node(s)...`).start();await new T({minify:e.minify}).buildAll();let n=perf_hooks.performance.now()-r,s=n>1e3?`${(n/1e3).toFixed(2)}s`:`${n.toFixed(2)}ms`;u.succeed(`Build completed in ${s} for ${t} nodes(s)`);});Ie(B);Se(B);Ne(B);$e(B);ve(B);Te(B);B.parse(h__namespace.argv);
@@ -1 +1 @@
1
- 'use strict';var l=e=>{if(!e||e.length===0)return "";let t=e.toLowerCase();return t.substring(0,1).toUpperCase()+t.substring(1,t.length)};var a=(e,t)=>{var o;let r=(o=e==null?void 0:e.replace(/([A-Z])+/g,l).split(/(?=[A-Z])|[\.\-\s_]/).map(i=>i.toLowerCase()))!=null?o:[];if(r.length===0)return "";if(r.length===1)return r[0];let n=r.reduce((i,c)=>`${i}_${c.toLowerCase()}`);return (t==null?void 0:t.splitOnNumber)===!1?n:n.replace(/([A-Za-z]{1}[0-9]{1})/,i=>`${i[0]}_${i[1]}`)};function p(e){let t=e.startsWith("$"),r=e.startsWith("$$"),n=e.startsWith("#node-config-input")||e.startsWith("#node-input");return {isNodeIdShortcut:t,isNodeConfigIdShortcut:r,isFullSelector:n,value:t||r||n}}function s(e){let t=p(e);return t.isNodeConfigIdShortcut?`#node-config-input-${e.replace("$$","")}`:t.isNodeIdShortcut?`#node-input-${e.replace("$","")}`:e}function u(e,t,r){t.forEach(n=>{let o=document.querySelector(n);o&&r.forEach(i=>o.classList[e](i));});}function C(e,t){u("remove",e,t);}function E(e,t){u("add",e,t);}function A(e){return s(e).split("-input-")[1]}function I(e,t,r){let n=s(e),o=t;r!=null&&r.emptyValue&&(o=[{value:"",text:r.emptyValue},...t]),$(n).empty().append(o.map(i=>$("<option>",{value:i.value,text:i.text,selected:i.value===(r==null?void 0:r.selected)})));}function T(e,t,r={additionalEvents:[]}){let o=(Array.isArray(e)?e:[e]).map(s).join(", "),i=["input",...r.additionalEvents];$(o).on(i.join(" "),()=>{let c=$(o).map(function(){return $(this).val()}).get();t(c);});}function k(e,t){let r=s(e);$(r).val(t);}function L(e,t){let r=s(e);$(r).text(t);}function w(e){let t=s(e);return $(t)}function j(e){let t=s(e);return document.querySelector(t).checked}function O(e){let t={};return document.querySelectorAll(`[id^="node-input-${e}-"]`).forEach(r=>{let n=r,o=n.id.replace(`node-input-${e}-`,"");n.type==="checkbox"?t[o]=n.checked:t[o]=n.value;}),t}function H(e,t){t&&Object.entries(t).forEach(([r,n])=>{let o=document.querySelector(`#node-input-${e}-${r}`);o&&(o.type==="checkbox"?o.checked=!!n:o.value=String(n));});}function R(e){let t=`#tabs-content-${e.targetId}`,r=RED.tabs.create({id:e.targetId,onchange:n=>{$(t).children().addClass("hidden"),$(`#${n.id}`).removeClass("hidden");}});(e.tabsLabel||[]).forEach(n=>{r.addTab({id:`tab-${a(n)}`,label:n});}),r.activateTab(`tab-${a(e.initialTab)}`);}exports.addClassesOnSelectors=E;exports.getFormValues=O;exports.handleAddRemoveClassesOnSelectors=u;exports.initSelect=I;exports.initTabs=R;exports.isCheckboxChecked=j;exports.isNodeInput=p;exports.jqSelector=w;exports.removeClassesOnSelectors=C;exports.resolveInputKey=A;exports.resolveSelector=s;exports.setFormValues=H;exports.setInputValue=k;exports.setText=L;exports.watchInput=T;
1
+ 'use strict';var l=e=>{if(!e||e.length===0)return "";let t=e.toLowerCase();return t.substring(0,1).toUpperCase()+t.substring(1,t.length)};var a=(e,t)=>{var o;let r=(o=e==null?void 0:e.replace(/([A-Z])+/g,l).split(/(?=[A-Z])|[\.\-\s_]/).map(i=>i.toLowerCase()))!=null?o:[];if(r.length===0)return "";if(r.length===1)return r[0];let n=r.reduce((i,c)=>`${i}_${c.toLowerCase()}`);return (t==null?void 0:t.splitOnNumber)===false?n:n.replace(/([A-Za-z]{1}[0-9]{1})/,i=>`${i[0]}_${i[1]}`)};function p(e){let t=e.startsWith("$"),r=e.startsWith("$$"),n=e.startsWith("#node-config-input")||e.startsWith("#node-input");return {isNodeIdShortcut:t,isNodeConfigIdShortcut:r,isFullSelector:n,value:t||r||n}}function s(e){let t=p(e);return t.isNodeConfigIdShortcut?`#node-config-input-${e.replace("$$","")}`:t.isNodeIdShortcut?`#node-input-${e.replace("$","")}`:e}function u(e,t,r){t.forEach(n=>{let o=document.querySelector(n);o&&r.forEach(i=>o.classList[e](i));});}function C(e,t){u("remove",e,t);}function E(e,t){u("add",e,t);}function A(e){return s(e).split("-input-")[1]}function I(e,t,r){let n=s(e),o=t;r!=null&&r.emptyValue&&(o=[{value:"",text:r.emptyValue},...t]),$(n).empty().append(o.map(i=>$("<option>",{value:i.value,text:i.text,selected:i.value===(r==null?void 0:r.selected)})));}function T(e,t,r={additionalEvents:[]}){let o=(Array.isArray(e)?e:[e]).map(s).join(", "),i=["input",...r.additionalEvents];$(o).on(i.join(" "),()=>{let c=$(o).map(function(){return $(this).val()}).get();t(c);});}function k(e,t){let r=s(e);$(r).val(t);}function L(e,t){let r=s(e);$(r).text(t);}function w(e){let t=s(e);return $(t)}function j(e){let t=s(e);return document.querySelector(t).checked}function O(e){let t={};return document.querySelectorAll(`[id^="node-input-${e}-"]`).forEach(r=>{let n=r,o=n.id.replace(`node-input-${e}-`,"");n.type==="checkbox"?t[o]=n.checked:t[o]=n.value;}),t}function H(e,t){t&&Object.entries(t).forEach(([r,n])=>{let o=document.querySelector(`#node-input-${e}-${r}`);o&&(o.type==="checkbox"?o.checked=!!n:o.value=String(n));});}function R(e){let t=`#tabs-content-${e.targetId}`,r=RED.tabs.create({id:e.targetId,onchange:n=>{$(t).children().addClass("hidden"),$(`#${n.id}`).removeClass("hidden");}});(e.tabsLabel||[]).forEach(n=>{r.addTab({id:`tab-${a(n)}`,label:n});}),r.activateTab(`tab-${a(e.initialTab)}`);}exports.addClassesOnSelectors=E;exports.getFormValues=O;exports.handleAddRemoveClassesOnSelectors=u;exports.initSelect=I;exports.initTabs=R;exports.isCheckboxChecked=j;exports.isNodeInput=p;exports.jqSelector=w;exports.removeClassesOnSelectors=C;exports.resolveInputKey=A;exports.resolveSelector=s;exports.setFormValues=H;exports.setInputValue=k;exports.setText=L;exports.watchInput=T;
@@ -1 +1 @@
1
- import'../../chunk-Z65JVQED.js';import {c}from'../../chunk-O55HBSM5.js';import'../../chunk-O2XFH626.js';function u(t){let e=t.startsWith("$"),n=t.startsWith("$$"),o=t.startsWith("#node-config-input")||t.startsWith("#node-input");return {isNodeIdShortcut:e,isNodeConfigIdShortcut:n,isFullSelector:o,value:e||n||o}}function s(t){let e=u(t);return e.isNodeConfigIdShortcut?`#node-config-input-${t.replace("$$","")}`:e.isNodeIdShortcut?`#node-input-${t.replace("$","")}`:t}function l(t,e,n){e.forEach(o=>{let r=document.querySelector(o);r&&n.forEach(i=>r.classList[t](i));});}function g(t,e){l("remove",t,e);}function p(t,e){l("add",t,e);}function f(t){return s(t).split("-input-")[1]}function h(t,e,n){let o=s(t),r=e;n!=null&&n.emptyValue&&(r=[{value:"",text:n.emptyValue},...e]),$(o).empty().append(r.map(i=>$("<option>",{value:i.value,text:i.text,selected:i.value===(n==null?void 0:n.selected)})));}function b(t,e,n={additionalEvents:[]}){let r=(Array.isArray(t)?t:[t]).map(s).join(", "),i=["input",...n.additionalEvents];$(r).on(i.join(" "),()=>{let a=$(r).map(function(){return $(this).val()}).get();e(a);});}function m(t,e){let n=s(t);$(n).val(e);}function x(t,e){let n=s(t);$(n).text(e);}function S(t){let e=s(t);return $(e)}function v(t){let e=s(t);return document.querySelector(e).checked}function y(t){let e={};return document.querySelectorAll(`[id^="node-input-${t}-"]`).forEach(n=>{let o=n,r=o.id.replace(`node-input-${t}-`,"");o.type==="checkbox"?e[r]=o.checked:e[r]=o.value;}),e}function I(t,e){e&&Object.entries(e).forEach(([n,o])=>{let r=document.querySelector(`#node-input-${t}-${n}`);r&&(r.type==="checkbox"?r.checked=!!o:r.value=String(o));});}function E(t){let e=`#tabs-content-${t.targetId}`,n=RED.tabs.create({id:t.targetId,onchange:o=>{$(e).children().addClass("hidden"),$(`#${o.id}`).removeClass("hidden");}});(t.tabsLabel||[]).forEach(o=>{n.addTab({id:`tab-${c(o)}`,label:o});}),n.activateTab(`tab-${c(t.initialTab)}`);}export{p as addClassesOnSelectors,y as getFormValues,l as handleAddRemoveClassesOnSelectors,h as initSelect,E as initTabs,v as isCheckboxChecked,u as isNodeInput,S as jqSelector,g as removeClassesOnSelectors,f as resolveInputKey,s as resolveSelector,I as setFormValues,m as setInputValue,x as setText,b as watchInput};
1
+ import'../../chunk-Z65JVQED.js';import {c}from'../../chunk-YESMJQI4.js';import'../../chunk-O2XFH626.js';function u(t){let e=t.startsWith("$"),n=t.startsWith("$$"),o=t.startsWith("#node-config-input")||t.startsWith("#node-input");return {isNodeIdShortcut:e,isNodeConfigIdShortcut:n,isFullSelector:o,value:e||n||o}}function s(t){let e=u(t);return e.isNodeConfigIdShortcut?`#node-config-input-${t.replace("$$","")}`:e.isNodeIdShortcut?`#node-input-${t.replace("$","")}`:t}function l(t,e,n){e.forEach(o=>{let r=document.querySelector(o);r&&n.forEach(i=>r.classList[t](i));});}function g(t,e){l("remove",t,e);}function p(t,e){l("add",t,e);}function f(t){return s(t).split("-input-")[1]}function h(t,e,n){let o=s(t),r=e;n!=null&&n.emptyValue&&(r=[{value:"",text:n.emptyValue},...e]),$(o).empty().append(r.map(i=>$("<option>",{value:i.value,text:i.text,selected:i.value===(n==null?void 0:n.selected)})));}function b(t,e,n={additionalEvents:[]}){let r=(Array.isArray(t)?t:[t]).map(s).join(", "),i=["input",...n.additionalEvents];$(r).on(i.join(" "),()=>{let a=$(r).map(function(){return $(this).val()}).get();e(a);});}function m(t,e){let n=s(t);$(n).val(e);}function x(t,e){let n=s(t);$(n).text(e);}function S(t){let e=s(t);return $(e)}function v(t){let e=s(t);return document.querySelector(e).checked}function y(t){let e={};return document.querySelectorAll(`[id^="node-input-${t}-"]`).forEach(n=>{let o=n,r=o.id.replace(`node-input-${t}-`,"");o.type==="checkbox"?e[r]=o.checked:e[r]=o.value;}),e}function I(t,e){e&&Object.entries(e).forEach(([n,o])=>{let r=document.querySelector(`#node-input-${t}-${n}`);r&&(r.type==="checkbox"?r.checked=!!o:r.value=String(o));});}function E(t){let e=`#tabs-content-${t.targetId}`,n=RED.tabs.create({id:t.targetId,onchange:o=>{$(e).children().addClass("hidden"),$(`#${o.id}`).removeClass("hidden");}});(t.tabsLabel||[]).forEach(o=>{n.addTab({id:`tab-${c(o)}`,label:o});}),n.activateTab(`tab-${c(t.initialTab)}`);}export{p as addClassesOnSelectors,y as getFormValues,l as handleAddRemoveClassesOnSelectors,h as initSelect,E as initTabs,v as isCheckboxChecked,u as isNodeInput,S as jqSelector,g as removeClassesOnSelectors,f as resolveInputKey,s as resolveSelector,I as setFormValues,m as setInputValue,x as setText,b as watchInput};
@@ -1 +1 @@
1
- 'use strict';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)}exports.createEditorNode=F;
1
+ 'use strict';function u(e){return Object.prototype.toString.call(e).slice(8,-1)}function n(e){if(u(e)!=="Object")return false;let r=Object.getPrototypeOf(e);return !!r&&r.constructor===Object&&r===Object.prototype}function c(e){return u(e)==="Symbol"}function x(e,r,s,i){let m={}.propertyIsEnumerable.call(i,r)?"enumerable":"nonenumerable";m==="enumerable"&&(e[r]=s),m==="nonenumerable"&&Object.defineProperty(e,r,{value:s,enumerable:false,writable:true,configurable:true});}function d(e,r,s){if(!n(r))return r;let i={};if(n(e)){let f=Object.getOwnPropertyNames(e),p=Object.getOwnPropertySymbols(e);i=[...f,...p].reduce((o,t)=>{if(t==="__proto__")return o;let l=e[t];return (!c(t)&&!Object.getOwnPropertyNames(r).includes(t)||c(t)&&!Object.getOwnPropertySymbols(r).includes(t))&&x(o,t,l,e),o},{});}let m=Object.getOwnPropertyNames(r),a=Object.getOwnPropertySymbols(r);return [...m,...a].reduce((f,p)=>{if(p==="__proto__")return f;let o=r[p],t=n(e)?e[p]:void 0;t!==void 0&&n(o)&&(o=d(t,o));let l=o;return x(f,p,l,r),f},i)}function b(e,...r){return r.reduce((s,i)=>d(s,i),e)}var O={};function v(e){return b(O,e)}exports.createEditorNode=v;
@@ -1 +1 @@
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
+ import'../chunk-O2XFH626.js';function u(e){return Object.prototype.toString.call(e).slice(8,-1)}function n(e){if(u(e)!=="Object")return false;let r=Object.getPrototypeOf(e);return !!r&&r.constructor===Object&&r===Object.prototype}function c(e){return u(e)==="Symbol"}function x(e,r,s,i){let m={}.propertyIsEnumerable.call(i,r)?"enumerable":"nonenumerable";m==="enumerable"&&(e[r]=s),m==="nonenumerable"&&Object.defineProperty(e,r,{value:s,enumerable:false,writable:true,configurable:true});}function d(e,r,s){if(!n(r))return r;let i={};if(n(e)){let f=Object.getOwnPropertyNames(e),p=Object.getOwnPropertySymbols(e);i=[...f,...p].reduce((o,t)=>{if(t==="__proto__")return o;let l=e[t];return (!c(t)&&!Object.getOwnPropertyNames(r).includes(t)||c(t)&&!Object.getOwnPropertySymbols(r).includes(t))&&x(o,t,l,e),o},{});}let m=Object.getOwnPropertyNames(r),a=Object.getOwnPropertySymbols(r);return [...m,...a].reduce((f,p)=>{if(p==="__proto__")return f;let o=r[p],t=n(e)?e[p]:void 0;t!==void 0&&n(o)&&(o=d(t,o));let l=o;return x(f,p,l,r),f},i)}function b(e,...r){return r.reduce((s,i)=>d(s,i),e)}var O={};function v(e){return b(O,e)}export{v as createEditorNode};
@@ -1 +1 @@
1
- 'use strict';var u=Object.defineProperty;var m=(t,e,i)=>e in t?u(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var n=(t,e,i)=>m(t,typeof e!="symbol"?e+"":e,i);function d(t){let e=t.startsWith("[config]"),i=t.replace("[config]","");return `node-${e?"config-":""}input-${i}`}function a(){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 s=class extends HTMLElement{constructor(){super();n(this,"formRowContainer");n(this,"mainContainer");n(this,"labelText");n(this,"inputType");n(this,"iconClass");n(this,"rowId");this.formRowContainer=a(),this.rowId=d(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 i=this.querySelector(".hint"),c=this.querySelector(".checkbox-hint"),o=document.createElement("div");if(this.iconClass){let l=document.createElement("i");l.classList.add("fa",`fa-${this.iconClass}`),o.appendChild(l);}let r=document.createElement("label");r.setAttribute("for",this.rowId),r.textContent=this.labelText,o.appendChild(r),this.mainContainer.appendChild(o);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),i&&this.formRowContainer.appendChild(i),this.appendChild(this.formRowContainer);}};customElements.get("dxp-form-row")||customElements.define("dxp-form-row",s);exports.DxpFormRow=s;
1
+ 'use strict';var u=Object.defineProperty;var m=(t,e,i)=>e in t?u(t,e,{enumerable:true,configurable:true,writable:true,value:i}):t[e]=i;var n=(t,e,i)=>m(t,typeof e!="symbol"?e+"":e,i);function d(t){let e=t.startsWith("[config]"),i=t.replace("[config]","");return `node-${e?"config-":""}input-${i}`}function a(){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 s=class extends HTMLElement{constructor(){super();n(this,"formRowContainer");n(this,"mainContainer");n(this,"labelText");n(this,"inputType");n(this,"iconClass");n(this,"rowId");this.formRowContainer=a(),this.rowId=d(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 i=this.querySelector(".hint"),c=this.querySelector(".checkbox-hint"),o=document.createElement("div");if(this.iconClass){let l=document.createElement("i");l.classList.add("fa",`fa-${this.iconClass}`),o.appendChild(l);}let r=document.createElement("label");r.setAttribute("for",this.rowId),r.textContent=this.labelText,o.appendChild(r),this.mainContainer.appendChild(o);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),i&&this.formRowContainer.appendChild(i),this.appendChild(this.formRowContainer);}};customElements.get("dxp-form-row")||customElements.define("dxp-form-row",s);exports.DxpFormRow=s;
@@ -1,2 +1,2 @@
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]}};
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=false}={}){if(typeof t!="string")throw new TypeError("isUrl: Expected a string");let e=t.trim();if(e.includes(" "))return false;try{return new URL(e),!0}catch(n){return r?p(`https://${e}`):false}}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
2
  exports.isUrl=p;exports.isValidIP=g;exports.isValidIPv4=l;exports.isValidIPv6=a;exports.merge=o;exports.tryit=s;
@@ -1,2 +1,2 @@
1
- export{a as merge,b as tryit}from'../chunk-O55HBSM5.js';import'../chunk-O2XFH626.js';function a(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 i(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 A(t){return a(t)||i(t)}function s(t,{lenient:r=!1}={}){if(typeof t!="string")throw new TypeError("isUrl: Expected a string");let f=t.trim();if(f.includes(" "))return !1;try{return new URL(f),!0}catch(o){return r?s(`https://${f}`):!1}}
1
+ export{a as merge,b as tryit}from'../chunk-YESMJQI4.js';import'../chunk-O2XFH626.js';function a(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 i(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 A(t){return a(t)||i(t)}function s(t,{lenient:r=false}={}){if(typeof t!="string")throw new TypeError("isUrl: Expected a string");let f=t.trim();if(f.includes(" "))return false;try{return new URL(f),!0}catch(o){return r?s(`https://${f}`):false}}
2
2
  export{s as isUrl,A as isValidIP,a as isValidIPv4,i as isValidIPv6};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keload/node-red-dxp",
3
- "version": "1.23.0",
3
+ "version": "1.23.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -62,48 +62,55 @@
62
62
  "homepage": "https://github.com/clement-berard/node-red-dxp",
63
63
  "devDependencies": {
64
64
  "@biomejs/biome": "1.9.4",
65
- "@release-it/conventional-changelog": "10.0.0",
66
- "release-it": "18.1.1",
67
- "tsup": "8.3.5",
68
- "tsx": "4.19.2",
69
- "typedoc": "0.27.6",
70
- "typedoc-plugin-markdown": "4.4.1",
71
- "typescript": "5.7.3",
72
- "vitepress": "1.5.0",
73
- "vitepress-plugin-npm-commands": "^0.6.0",
74
- "vitepress-plugin-tabs": "^0.5.0",
75
- "vitest": "2.1.8"
65
+ "@release-it/conventional-changelog": "10.0.1",
66
+ "release-it": "19.0.3",
67
+ "tsup": "8.5.0",
68
+ "tsx": "4.20.3",
69
+ "typedoc": "0.28.5",
70
+ "typedoc-plugin-markdown": "4.7.0",
71
+ "typescript": "5.8.3",
72
+ "vitepress": "1.6.3",
73
+ "vitepress-plugin-npm-commands": "^0.8.1",
74
+ "vitepress-plugin-tabs": "^0.7.1",
75
+ "vitest": "3.2.4"
76
76
  },
77
77
  "dependencies": {
78
78
  "@fullhuman/postcss-purgecss": "7.0.2",
79
79
  "@types/html-minifier-terser": "7.0.2",
80
80
  "@types/jquery": "3.5.32",
81
- "@types/jqueryui": "1.12.23",
81
+ "@types/jqueryui": "1.12.24",
82
82
  "@types/node-red": "1.3.5",
83
83
  "@types/prettyjson": "0.0.33",
84
- "autoprefixer": "10.4.20",
85
- "browser-sync": "3.0.3",
84
+ "autoprefixer": "10.4.21",
85
+ "browser-sync": "3.0.4",
86
86
  "chokidar": "4.0.3",
87
- "commander": "13.1.0",
88
- "consola": "3.3.3",
87
+ "commander": "14.0.0",
88
+ "consola": "3.4.2",
89
89
  "cosmiconfig": "9.0.0",
90
- "cssnano": "7.0.6",
91
- "esbuild": "0.24.2",
90
+ "cssnano": "7.0.7",
91
+ "esbuild": "0.25.5",
92
92
  "fast-glob": "3.3.3",
93
93
  "handlebars": "4.7.8",
94
94
  "html-minifier-terser": "7.2.0",
95
- "mdx-to-md": "0.3.2",
96
- "merge-anything": "6.0.2",
97
- "nodemon": "3.1.9",
98
- "ora": "8.1.1",
99
- "postcss": "8.5.1",
95
+ "mdx-to-md": "0.5.2",
96
+ "merge-anything": "6.0.6",
97
+ "nodemon": "3.1.10",
98
+ "ora": "8.2.0",
99
+ "postcss": "8.5.6",
100
100
  "prettyjson": "1.2.5",
101
101
  "pug": "3.0.3",
102
- "radash": "12.1.0",
103
- "sass": "1.83.1",
102
+ "radash": "12.1.1",
103
+ "sass": "1.89.2",
104
104
  "tailwindcss": "3.4.17"
105
105
  },
106
106
  "files": [
107
107
  "dist"
108
- ]
108
+ ],
109
+ "pnpm": {
110
+ "onlyBuiltDependencies": [
111
+ "@biomejs/biome",
112
+ "@parcel/watcher",
113
+ "esbuild"
114
+ ]
115
+ }
109
116
  }