1mpacto-react-ui 0.0.76 → 0.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2030,18 +2030,17 @@ function ps(e, t) {
2030
2030
  }
2031
2031
  var fn = ps(Z4, { path: "/" });
2032
2032
  const pS = {
2033
- setItem(e, t, n, r = 3e3, a = {}) {
2034
- const i = { ...{
2035
- path: "/",
2036
- expires: n ? n / 1440 : void 0
2037
- }, ...a };
2038
- parseInt(fn.get(`${e}_count`) ?? "0", 10) && this.removeItem(e, a);
2039
- const s = Math.ceil(t.length / r);
2040
- for (let l = 0; l < s; l++) {
2041
- const c = t.slice(l * r, (l + 1) * r);
2042
- fn.set(`${e}_${l}`, c, i);
2043
- }
2044
- fn.set(`${e}_count`, s.toString(), i);
2033
+ setItem(e, t, n = {}, r = 3e3) {
2034
+ const o = { ...{
2035
+ path: "/"
2036
+ }, ...n };
2037
+ parseInt(fn.get(`${e}_count`) ?? "0", 10) && this.removeItem(e, n);
2038
+ const u = Math.ceil(t.length / r);
2039
+ for (let s = 0; s < u; s++) {
2040
+ const l = t.slice(s * r, (s + 1) * r);
2041
+ fn.set(`${e}_${s}`, l, o);
2042
+ }
2043
+ fn.set(`${e}_count`, u.toString(), o);
2045
2044
  },
2046
2045
  getItem(e) {
2047
2046
  const t = parseInt(fn.get(`${e}_count`) ?? "0", 10);