import{n as e,r as t}from"./ppr-fallback-shell-F8H6YPkD.js";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var r=new Set([`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toString`,`valueOf`,`toLocaleString`,`then`,`catch`,`finally`,`status`,`value`,`error`,`displayName`,`_debugInfo`,`toJSON`,`$$typeof`,`__esModule`,`@@iterator`]);function i(e){return r.has(e)}function a(e,t){e&&e.observeParamAccess(t)}function o(e,t){a(e,Object.keys(t))}function s(e,t){a(e,Object.keys(t).filter(e=>!i(e)))}function c(e){return e===`then`||e===`catch`||e===`finally`}function l(e,t,r,o){if(!t||t.size===0)return e;function c(e){return typeof e==`string`&&t!==null&&t.has(e)}return new Proxy(e,{get(t,s,l){if(typeof s==`string`&&!i(s)&&a(r,[s]),!i(s)&&n(e,s)){if(c(s)){let e=o();if(e)throw e}return Reflect.get(e,s)}return Reflect.get(e,s)},getOwnPropertyDescriptor(t,s){return typeof s==`string`&&!i(s)&&a(r,[s]),!i(s)&&n(e,s)?c(s)?{configurable:!0,enumerable:!0,get(){let e=o();if(e)throw e}}:{configurable:!0,enumerable:!0,value:Reflect.get(e,s),writable:!0}:Reflect.getOwnPropertyDescriptor(e,s)},has(t,o){return typeof o==`string`&&!i(o)&&a(r,[o]),Reflect.has(e,o)||!i(o)&&n(e,o)},ownKeys(){return s(r,e),Reflect.ownKeys(e).filter(e=>!i(e))}})}function u(e,t){return new Proxy(e,t)}function d(r,d){let f={...r},p=t(),m=p&&Object.keys(f).some(e=>p.fallbackParamNames.has(e))?p.fallbackParamNames:null,h=null,g=null;function _(){return!m||!p?null:h&&g===p.abortController?h:(g=p.abortController,h=e(p,"`params`"),h)}let v=l(f,m,d,_),y=Promise.resolve(v);function b(e){return typeof e==`string`&&(m?.has(e)??!1)}return u(y,{get(e,t,r){if(c(t)){let n=Reflect.get(e,t,r);return typeof n==`function`?(...t)=>(m||o(d,f),Reflect.apply(n,e,t)):n}if(t===`status`&&d?.observeReactPromiseStatus===!0&&o(d,f),typeof t==`string`&&!i(t)&&a(d,[t]),!i(t)&&n(f,t)){if(b(t)){let e=_();if(e)throw e}return Reflect.get(f,t)}let s=Reflect.get(e,t,r);return typeof s==`function`?s.bind(e):s},getOwnPropertyDescriptor(e,t){return typeof t==`string`&&!i(t)&&a(d,[t]),!i(t)&&n(f,t)?b(t)?{configurable:!0,enumerable:!0,get(){let e=_();if(e)throw e}}:{configurable:!0,enumerable:!0,value:Reflect.get(f,t),writable:!0}:Reflect.getOwnPropertyDescriptor(e,t)},has(e,t){return typeof t==`string`&&!i(t)&&a(d,[t]),Reflect.has(e,t)||!i(t)&&n(f,t)},ownKeys(){return s(d,f),Reflect.ownKeys(f).filter(e=>!i(e))}})}export{d as t};