/* Socket Lib - Built with esbuild */
var j=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var N=Object.prototype.hasOwnProperty;var C=(e,t)=>{for(var n in t)j(e,n,{get:t[n],enumerable:!0})},U=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of A(t))!N.call(e,o)&&o!==n&&j(e,o,{get:()=>t[o],enumerable:!(r=R(t,o))||r.enumerable});return e};var F=e=>U(j({},"__esModule",{value:!0}),e);var ne={};C(ne,{createConstantsObject:()=>v,createLazyGetter:()=>G,defineGetter:()=>z,defineLazyGetter:()=>S,defineLazyGetters:()=>h,entryKeyComparator:()=>P,getKeys:()=>J,getOwn:()=>Q,getOwnPropertyValues:()=>W,hasKeys:()=>X,hasOwn:()=>Y,isObject:()=>f,isObjectObject:()=>Z,merge:()=>te,objectAssign:()=>$,objectEntries:()=>T,objectFreeze:()=>ee,toSortedObject:()=>l,toSortedObjectFromEntries:()=>K});module.exports=F(ne);var y=require("#constants/core"),p=require("./arrays"),m=require("./sorts");const g=Object.defineProperties,B=Object.defineProperty,i=Object.freeze,I=Object.fromEntries,x=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertyNames,q=Object.getPrototypeOf,d=Object.hasOwn,H=Object.keys,M=Object.prototype,k=Object.setPrototypeOf;const w=Reflect.ownKeys;function G(e,t,n){let r=y.UNDEFINED_TOKEN;const{[e]:o}={[e](){return r===y.UNDEFINED_TOKEN&&(n?.initialized?.add(e),r=t()),r}};return o}function v(e,t){const n={__proto__:null,...t},r=i({__proto__:null,getters:n.getters?i(k(l(n.getters),null)):void 0,internals:n.internals?i(k(l(n.internals),null)):void 0,mixin:n.mixin?i(g({__proto__:null},x(n.mixin))):void 0,props:e?i(k(l(e),null)):void 0}),o=i({__proto__:null,initialized:new Set}),s=h({__proto__:null,[y.kInternalsSymbol]:i({__proto__:null,get attributes(){return r},get lazyGetterStats(){return o},...r.internals}),kInternalsSymbol:y.kInternalsSymbol,...r.props},r.getters,o);return r.mixin&&g(s,K(T(x(r.mixin)).filter(c=>!d(s,c[0])))),i(s)}function z(e,t,n){return B(e,t,{get:n,enumerable:!1,configurable:!0}),e}function S(e,t,n,r){return z(e,t,G(t,n,r))}function h(e,t,n){if(t!==null&&typeof t=="object"){const r=w(t);for(let o=0,{length:s}=r;o<s;o+=1){const c=r[o];S(e,c,t[c],n)}}return e}function P(e,t){const n=e[0],r=t[0],o=typeof n=="string"?n:String(n),s=typeof r=="string"?r:String(r);return(0,m.localeCompare)(o,s)}function J(e){return f(e)?H(e):[]}function Q(e,t){if(e!=null)return d(e,t)?e[t]:void 0}function W(e){if(e==null)return[];const t=V(e),{length:n}=t,r=Array(n);for(let o=0;o<n;o+=1)r[o]=e[t[o]];return r}function X(e){if(e==null)return!1;for(const t in e)if(d(e,t))return!0;return!1}function Y(e,t){return e==null?!1:d(e,t)}function f(e){return e!==null&&typeof e=="object"}function Z(e){if(e===null||typeof e!="object"||(0,p.isArray)(e))return!1;const t=q(e);return t===null||t===M}const $=Object.assign;function T(e){if(e==null)return[];const t=w(e),{length:n}=t,r=Array(n),o=e;for(let s=0;s<n;s+=1){const c=t[s];r[s]=[c,o[c]]}return r}const ee=Object.freeze;function te(e,t){if(!f(e)||!f(t))return e;const n=[[e,t]];let r=0,{length:o}=n;for(;r<o;){if(r===y.LOOP_SENTINEL)throw new Error("Detected infinite loop in object crawl of merge");const{0:s,1:c}=n[r++];if(!c||!s)continue;const E=(0,p.isArray)(c),L=(0,p.isArray)(s);if(E||L)continue;const _=w(c);for(let O=0,{length:D}=_;O<D;O+=1){const a=_[O],u=c[a],b=s[a];(0,p.isArray)(u)?s[a]=u:f(u)&&f(b)&&!(0,p.isArray)(b)?n[o++]=[b,u]:s[a]=u}}return e}function l(e){return K(T(e))}function K(e){const t=[],n=[];for(const r of e)typeof r[0]=="symbol"?n.push(r):t.push(r);return!t.length&&!n.length?{}:I([...n.sort(P),...t.sort(P)])}0&&(module.exports={createConstantsObject,createLazyGetter,defineGetter,defineLazyGetter,defineLazyGetters,entryKeyComparator,getKeys,getOwn,getOwnPropertyValues,hasKeys,hasOwn,isObject,isObjectObject,merge,objectAssign,objectEntries,objectFreeze,toSortedObject,toSortedObjectFromEntries});
//# sourceMappingURL=objects.js.map
