import{J as h,K as E,P as I,g as v,L as T,M as D,e as B,b as K,N as M,O as N,l as Y,Q as j,R as y,T as U,V as O,W as p,S as R,X as g,Y as $}from"./CPWcrcMP.js";let _=!1;function q(e){var r=_;try{return _=!1,[e(),_]}finally{_=r}}const z={get(e,r){if(!e.exclude.includes(r))return v(e.version),r in e.special?e.special[r]():e.props[r]},set(e,r,i){return r in e.special||(e.special[r]=J({get[r](){return e.props[r]}},r,I)),e.special[r](i),O(e.version),!0},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},deleteProperty(e,r){return e.exclude.includes(r)||(e.exclude.push(r),O(e.version)),!0},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function V(e,r){return new Proxy({props:e,exclude:r,special:{},version:M(0)},z)}const C={get(e,r){let i=e.props.length;for(;i--;){let n=e.props[i];if(p(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,i){let n=e.props.length;for(;n--;){let s=e.props[n];p(s)&&(s=s());const t=h(s,r);if(t&&t.set)return t.set(i),!0}return!1},getOwnPropertyDescriptor(e,r){let i=e.props.length;for(;i--;){let n=e.props[i];if(p(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const s=h(n,r);return s&&!s.configurable&&(s.configurable=!0),s}}},has(e,r){if(r===R||r===g)return!1;for(let i of e.props)if(p(i)&&(i=i()),i!=null&&r in i)return!0;return!1},ownKeys(e){const r=[];for(let i of e.props)if(p(i)&&(i=i()),!!i){for(const n in i)r.includes(n)||r.push(n);for(const n of Object.getOwnPropertySymbols(i))r.includes(n)||r.push(n)}return r}};function W(...e){return new Proxy({props:e},C)}function G(e){var r;return((r=e.ctx)==null?void 0:r.d)??!1}function J(e,r,i,n){var w;var s=!j||(i&y)!==0,t=(i&N)!==0,m=(i&$)!==0,l=n,P=!0,S=()=>(P&&(P=!1,l=m?Y(n):n),l),a;if(t){var A=R in e||g in e;a=((w=h(e,r))==null?void 0:w.set)??(A&&r in e?u=>e[r]=u:void 0)}var c,b=!1;t?[c,b]=q(()=>e[r]):c=e[r],c===void 0&&n!==void 0&&(c=S(),a&&(s&&E(),a(c)));var f;if(s?f=()=>{var u=e[r];return u===void 0?S():(P=!0,u)}:f=()=>{var u=e[r];return u!==void 0&&(l=void 0),u===void 0?l:u},s&&(i&I)===0)return f;if(a){var L=e.$$legacy;return function(u,d){return arguments.length>0?((!s||!d||L||b)&&a(d?f():u),u):f()}}var o=((i&U)!==0?T:D)(f);return t&&v(o),function(u,d){if(arguments.length>0){const x=d?v(o):s&&t?B(u):u;return K(o,x),l!==void 0&&(l=x),u}return G(o)?o.v:v(o)}}export{V as l,J as p,W as s};
