/* Socket Lib - Built with esbuild */
var w=Object.create;var f=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty;var $=(e,r)=>{for(var n in r)f(e,n,{get:r[n],enumerable:!0})},p=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let d of y(r))!S.call(e,d)&&d!==n&&f(e,d,{get:()=>r[d],enumerable:!(o=b(r,d))||o.enumerable});return e};var D=(e,r,n)=>(n=e!=null?w(F(e)):{},p(r||!e||!e.__esModule?f(n,"default",{value:e,enumerable:!0}):n,e)),T=e=>p(f({},"__esModule",{value:!0}),e);var x={};$(x,{createFooter:()=>l,createSummaryFooter:()=>k});module.exports=T(x);var i=D(require("../external/yoctocolors-cjs")),m=require("../strings");function l(e,r){const{borderChar:n="=",color:o="gray",showDuration:d=!1,showTimestamp:c=!1,startTime:a,width:g=80}={__proto__:null,...r},h=(0,m.repeatString)(n,g),u=[];if(e){const t=o&&i.default[o]?i.default[o]:s=>s;u.push(t(e))}if(c){const t=new Date().toISOString();u.push(i.default.gray(`Completed at: ${t}`))}if(d&&a){const s=((Date.now()-a)/1e3).toFixed(2);u.push(i.default.gray(`Duration: ${s}s`))}return u.push(h),u.join(`
`)}function k(e,r){const n=[];e.total!==void 0&&n.push(`Total: ${e.total}`),e.success!==void 0&&n.push(i.default.green(`\u2713 ${e.success} passed`)),e.failed!==void 0&&e.failed>0&&n.push(i.default.red(`\u2717 ${e.failed} failed`)),e.skipped!==void 0&&e.skipped>0&&n.push(i.default.yellow(`\u25CB ${e.skipped} skipped`)),e.warnings!==void 0&&e.warnings>0&&n.push(i.default.yellow(`\u26A0 ${e.warnings} warnings`)),e.errors!==void 0&&e.errors>0&&n.push(i.default.red(`\u2717 ${e.errors} errors`));const o=n.join(" | ");return l(o,{...r,showDuration:e.duration!==void 0,...e.duration!==void 0&&{startTime:e.duration}})}0&&(module.exports={createFooter,createSummaryFooter});
//# sourceMappingURL=footer.js.map
