PageSourceSearch

https://www.fihmobile.com/assets/vendor/@windwalker-io/unicorn-next/dist/chunks/_arrayPush.js

js fihmobile.com collected 2026-10-02 17:12:02 UTC 4,899 bytes, 168 lines download raw bytes

vendor: 4,899 bytes, lines 1-168
1import { g as getNative, e as eq, r as root } from "./isArguments.js";
2var nativeCreate = /* @__PURE__ */ getNative(Object, "create");
3function hashClear() {
4  this.__data__ = nativeCreate ? nativeCreate(null) : {};
5  this.size = 0;
6}
7function hashDelete(key) {
8  var result = this.has(key) && delete this.__data__[key];
9  this.size -= result ? 1 : 0;
10  return result;
11}
12var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
13var objectProto$1 = /* @__PURE__ */ (() => Object.prototype)();
14var hasOwnProperty$1 = /* @__PURE__ */ (() => objectProto$1.hasOwnProperty)();
15function hashGet(key) {
16  var data = this.__data__;
17  if (nativeCreate) {
18    var result = data[key];
19    return result === HASH_UNDEFINED$1 ? void 0 : result;
20  }
21  return hasOwnProperty$1.call(data, key) ? data[key] : void 0;
22}
23var objectProto = /* @__PURE__ */ (() => Object.prototype)();
24var hasOwnProperty = /* @__PURE__ */ (() => objectProto.hasOwnProperty)();
25function hashHas(key) {
26  var data = this.__data__;
27  return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
28}
29var HASH_UNDEFINED = "__lodash_hash_undefined__";
30function hashSet(key, value) {
31  var data = this.__data__;
32  this.size += this.has(key) ? 0 : 1;
33  data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
34  return this;
35}
36function Hash(entries) {
37  var index = -1, length = entries == null ? 0 : entries.length;
38  this.clear();
39  while (++index < length) {
40    var entry = entries[index];
41    this.set(entry[0], entry[1]);
42  }
43}
44Hash.prototype.clear = hashClear;
45Hash.prototype["delete"] = hashDelete;
46Hash.prototype.get = hashGet;
47Hash.prototype.has = hashHas;
48Hash.prototype.set = hashSet;
49function listCacheClear() {
50  this.__data__ = [];
51  this.size = 0;
52}
53function assocIndexOf(array, key) {
54  var length = array.length;
55  while (length--) {
56    if (eq(array[length][0], key)) {
57      return length;
58    }
59  }
60  return -1;
61}
62var arrayProto = /* @__PURE__ */ (() => Array.prototype)();
63var splice = /* @__PURE__ */ (() => arrayProto.splice)();
64function listCacheDelete(key) {
65  var data = this.__data__, index = assocIndexOf(data, key);
66  if (index < 0) {
67    return false;
68  }
69  var lastIndex = data.length - 1;
70  if (index == lastIndex) {
71    data.pop();
72  } else {
73    splice.call(data, index, 1);
74  }
75  --this.size;
76  return true;
77}
78function listCacheGet(key) {
79  var data = this.__data__, index = assocIndexOf(data, key);
80  return index < 0 ? void 0 : data[index][1];
81}
82function listCacheHas(key) {
83  return assocIndexOf(this.__data__, key) > -1;
84}
85function listCacheSet(key, value) {
86  var data = this.__data__, index = assocIndexOf(data, key);
87  if (index < 0) {
88    ++this.size;
89    data.push([key, value]);
90  } else {
91    data[index][1] = value;
92  }
93  return this;
94}
95function ListCache(entries) {
96  var index = -1, length = entries == null ? 0 : entries.length;
97  this.clear();
98  while (++index < length) {
99    var entry = entries[index];
100    this.set(entry[0], entry[1]);
101  }
102}
103ListCache.prototype.clear = listCacheClear;
104ListCache.prototype["delete"] = listCacheDelete;
105ListCache.prototype.get = listCacheGet;
106ListCache.prototype.has = listCacheHas;
107ListCache.prototype.set = listCacheSet;
108var Map = /* @__PURE__ */ getNative(root, "Map");
109function mapCacheClear() {
110  this.size = 0;
111  this.__data__ = {
112    "hash": new Hash(),
113    "map": new (Map || ListCache)(),
114    "string": new Hash()
115  };
116}
117function isKeyable(value) {
118  var type = typeof value;
119  return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
120}
121function getMapData(map, key) {
122  var data = map.__data__;
123  return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
124}
125function mapCacheDelete(key) {
126  var result = getMapData(this, key)["delete"](key);
127  this.size -= result ? 1 : 0;
128  return result;
129}
130function mapCacheGet(key) {
131  return getMapData(this, key).get(key);
132}
133function mapCacheHas(key) {
134  return getMapData(this, key).has(key);
135}
136function mapCacheSet(key, value) {
137  var data = getMapData(this, key), size = data.size;
138  data.set(key, value);
139  this.size += data.size == size ? 0 : 1;
140  return this;
141}
142function MapCache(entries) {
143  var index = -1, length = entries == null ? 0 : entries.length;
144  this.clear();
145  while (++index < length) {
146    var entry = entries[index];
147    this.set(entry[0], entry[1]);
148  }
149}
150MapCache.prototype.clear = mapCacheClear;
151MapCache.prototype["delete"] = mapCacheDelete;
152MapCache.prototype.get = mapCacheGet;
153MapCache.prototype.has = mapCacheHas;
154MapCache.prototype.set = mapCacheSet;
155function arrayPush(array, values) {
156  var index = -1, length = values.length, offset = array.length;
157  while (++index < length) {
158    array[offset + index] = values[index];
159  }
160  return array;
161}
162export {
163  ListCache as L,
164  Map as M,
165  MapCache as a,
166  arrayPush as b
167};
168//# sourceMappingURL=_arrayPush.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.