PHP 8.2.30
Preview: next.js Size: 2.66 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-redux/lib/next.js

"use strict";

exports.__esModule = true;
var _exportNames = {
  batch: true
};
Object.defineProperty(exports, "batch", {
  enumerable: true,
  get: function () {
    return _reactBatchedUpdates.unstable_batchedUpdates;
  }
});

var React = _interopRequireWildcard(require("react"));

var _withSelector = require("use-sync-external-store/with-selector");

var _reactBatchedUpdates = require("./utils/reactBatchedUpdates");

var _batch = require("./utils/batch");

var _useSelector = require("./hooks/useSelector");

var _connect = require("./components/connect");

var _exports = require("./exports");

Object.keys(_exports).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _exports[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function () {
      return _exports[key];
    }
  });
});

function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

// The secondary entry point assumes we are working with React 18, and thus have
// useSyncExternalStore available. We can import that directly from React itself.
// The useSyncExternalStoreWithSelector has to be imported, but we can use the
// non-shim version. This shaves off the byte size of the shim.
(0, _useSelector.initializeUseSelector)(_withSelector.useSyncExternalStoreWithSelector);
(0, _connect.initializeConnect)(React.useSyncExternalStore); // Enable batched updates in our subscriptions for use
// with standard React renderers (ReactDOM, React Native)

(0, _batch.setBatch)(_reactBatchedUpdates.unstable_batchedUpdates);

Directory Contents

Dirs: 4 × Files: 5

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-28 00:28:46
Edit Download
connect DIR
- drwxr-xr-x 2026-02-28 00:29:36
Edit Download
hooks DIR
- drwxr-xr-x 2026-02-28 00:29:22
Edit Download
utils DIR
- drwxr-xr-x 2026-02-28 00:29:34
Edit Download
1.36 KB lrw-r--r-- 2026-02-28 00:27:02
Edit Download
2.49 KB lrw-r--r-- 2026-02-28 00:28:20
Edit Download
1.50 KB lrw-r--r-- 2026-02-28 00:28:26
Edit Download
2.66 KB lrw-r--r-- 2026-02-28 00:28:44
Edit Download
13 B lrw-r--r-- 2026-02-28 00:29:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).