@kelvininc/ui-components
Version:
Kelvin UI Components
1 lines • 2.16 kB
JavaScript
import{g as t,M as n}from"./p-DfPM2t43.js";function i(t,n){return t===n||t!=t&&n!=n}var r=t(Object,"create"),s=Object.prototype.hasOwnProperty,u=Object.prototype.hasOwnProperty;function h(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n<i;){var r=t[n];this.set(r[0],r[1])}}function o(t,n){for(var r=t.length;r--;)if(i(t[r][0],n))return r;return-1}h.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},h.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},h.prototype.get=function(t){var n=this.__data__;if(r){var i=n[t];return"__lodash_hash_undefined__"===i?void 0:i}return s.call(n,t)?n[t]:void 0},h.prototype.has=function(t){var n=this.__data__;return r?void 0!==n[t]:u.call(n,t)},h.prototype.set=function(t,n){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=r&&void 0===n?"__lodash_hash_undefined__":n,this};var e=Array.prototype.splice;function a(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n<i;){var r=t[n];this.set(r[0],r[1])}}function f(t,n){var i,r,s=t.__data__;return("string"==(r=typeof(i=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==i:null===i)?s["string"==typeof n?"string":"hash"]:s.map}function c(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n<i;){var r=t[n];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(t){var n=this.__data__,i=o(n,t);return!(i<0||(i==n.length-1?n.pop():e.call(n,i,1),--this.size,0))},a.prototype.get=function(t){var n=this.__data__,i=o(n,t);return i<0?void 0:n[i][1]},a.prototype.has=function(t){return o(this.__data__,t)>-1},a.prototype.set=function(t,n){var i=this.__data__,r=o(i,t);return r<0?(++this.size,i.push([t,n])):i[r][1]=n,this},c.prototype.clear=function(){this.size=0,this.__data__={hash:new h,map:new(n||a),string:new h}},c.prototype.delete=function(t){var n=f(this,t).delete(t);return this.size-=n?1:0,n},c.prototype.get=function(t){return f(this,t).get(t)},c.prototype.has=function(t){return f(this,t).has(t)},c.prototype.set=function(t,n){var i=f(this,t),r=i.size;return i.set(t,n),this.size+=i.size==r?0:1,this};export{a as L,c as M,i as e}