@larva.io/webcomponents
Version:
Fentrica SmartUnits WebComponents package
5 lines • 2.62 kB
JavaScript
/*!
* (C) Fentrica http://fentrica.com - Seee LICENSE.md
*/
import{g as n,M as t}from"./p-t09QJ_DI.js";var r=n(Object,"create");function i(){this.__data__=r?r(null):{};this.size=0}function e(n){var t=this.has(n)&&delete this.__data__[n];this.size-=t?1:0;return t}var u="__lodash_hash_undefined__";var s=Object.prototype;var a=s.hasOwnProperty;function h(n){var t=this.__data__;if(r){var i=t[n];return i===u?undefined:i}return a.call(t,n)?t[n]:undefined}var f=Object.prototype;var o=f.hasOwnProperty;function v(n){var t=this.__data__;return r?t[n]!==undefined:o.call(t,n)}var c="__lodash_hash_undefined__";function l(n,t){var i=this.__data__;this.size+=this.has(n)?0:1;i[n]=r&&t===undefined?c:t;return this}function d(n){var t=-1,r=n==null?0:n.length;this.clear();while(++t<r){var i=n[t];this.set(i[0],i[1])}}d.prototype.clear=i;d.prototype["delete"]=e;d.prototype.get=h;d.prototype.has=v;d.prototype.set=l;function _(){this.__data__=[];this.size=0}function b(n,t){return n===t||n!==n&&t!==t}function p(n,t){var r=n.length;while(r--){if(b(n[r][0],t)){return r}}return-1}var m=Array.prototype;var w=m.splice;function y(n){var t=this.__data__,r=p(t,n);if(r<0){return false}var i=t.length-1;if(r==i){t.pop()}else{w.call(t,r,1)}--this.size;return true}function g(n){var t=this.__data__,r=p(t,n);return r<0?undefined:t[r][1]}function j(n){return p(this.__data__,n)>-1}function O(n,t){var r=this.__data__,i=p(r,n);if(i<0){++this.size;r.push([n,t])}else{r[i][1]=t}return this}function M(n){var t=-1,r=n==null?0:n.length;this.clear();while(++t<r){var i=n[t];this.set(i[0],i[1])}}M.prototype.clear=_;M.prototype["delete"]=y;M.prototype.get=g;M.prototype.has=j;M.prototype.set=O;function x(){this.size=0;this.__data__={hash:new d,map:new(t||M),string:new d}}function A(n){var t=typeof n;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?n!=="__proto__":n===null}function D(n,t){var r=n.__data__;return A(t)?r[typeof t=="string"?"string":"hash"]:r.map}function I(n){var t=D(this,n)["delete"](n);this.size-=t?1:0;return t}function J(n){return D(this,n).get(n)}function L(n){return D(this,n).has(n)}function Q(n,t){var r=D(this,n),i=r.size;r.set(n,t);this.size+=r.size==i?0:1;return this}function $(n){var t=-1,r=n==null?0:n.length;this.clear();while(++t<r){var i=n[t];this.set(i[0],i[1])}}$.prototype.clear=x;$.prototype["delete"]=I;$.prototype.get=J;$.prototype.has=L;$.prototype.set=Q;var k=9007199254740991;var q=/^(?:0|[1-9]\d*)$/;function z(n,t){var r=typeof n;t=t==null?k:t;return!!t&&(r=="number"||r!="symbol"&&q.test(n))&&(n>-1&&n%1==0&&n<t)}export{M as L,$ as M,b as e,z as i};
//# sourceMappingURL=p-CT2-YPhM.js.map