/* Socket Lib - Built with esbuild */
var i=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(e,r)=>{for(var n in r)i(e,n,{get:r[n],enumerable:!0})},d=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of l(r))!m.call(e,t)&&t!==n&&i(e,t,{get:()=>r[t],enumerable:!(o=f(r,t))||o.enumerable});return e};var g=e=>d(i({},"__esModule",{value:!0}),e);var C={};p(C,{compareSemver:()=>x,compareStr:()=>v,localeCompare:()=>S,naturalCompare:()=>c,naturalSorter:()=>y});module.exports=g(C);let a;function S(e,r){return a===void 0&&(a=new Intl.Collator().compare),a(e,r)}let u;function c(e,r){return u===void 0&&(u=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare),u(e,r)}let s;function y(e){return s===void 0&&(s=require("./external/fast-sort").createNewSortInstance({comparer:c})),s?.(e)}function v(e,r){return e<r?-1:e>r?1:0}function x(e,r){const n=require("./external/semver"),o=n.valid(e),t=n.valid(r);return!o&&!t?0:o?t?n.compare(e,r):1:-1}0&&(module.exports={compareSemver,compareStr,localeCompare,naturalCompare,naturalSorter});
//# sourceMappingURL=sorts.js.map
