29 lines
1.0 KiB
JavaScript
29 lines
1.0 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "createSearchParamsBailoutProxy", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return createSearchParamsBailoutProxy;
|
|
}
|
|
});
|
|
const _staticgenerationbailout = require("./static-generation-bailout");
|
|
function createSearchParamsBailoutProxy() {
|
|
return new Proxy({}, {
|
|
get (_target, prop) {
|
|
// React adds some properties on the object when serializing for client components
|
|
if (typeof prop === "string") {
|
|
(0, _staticgenerationbailout.staticGenerationBailout)("searchParams." + prop);
|
|
}
|
|
}
|
|
});
|
|
}
|
|
|
|
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
|
Object.defineProperty(exports.default, '__esModule', { value: true });
|
|
Object.assign(exports.default, exports);
|
|
module.exports = exports.default;
|
|
}
|
|
|
|
//# sourceMappingURL=searchparams-bailout-proxy.js.map
|