import{w as L,a2 as T,a3 as D,a4 as m,g,E as B,d as Y,q as M,i as N,a5 as U,a6 as h,a7 as q,a8 as w,a9 as x,aa as y,ab as $,ac as z,S as C,ad as G}from"./DaF1Dxyz.js";let S=!1;function Z(a){var r=S;try{return S=!1,[a(),S]}finally{S=r}}function F(a,r,t,d){var f=!y||(t&$)!==0,v=(t&x)!==0,O=(t&w)!==0,n=d,c=!0,o=()=>(c&&(c=!1,n=O?L(d):d),n),u;if(v){var R=C in a||G in a;u=T(a,r)?.set??(R&&r in a?e=>a[r]=e:void 0)}var _,I=!1;v?[_,I]=Z(()=>a[r]):_=a[r],_===void 0&&d!==void 0&&(_=o(),u&&(f&&D(),u(_)));var i;if(f?i=()=>{var e=a[r];return e===void 0?o():(c=!0,e)}:i=()=>{var e=a[r];return e!==void 0&&(n=void 0),e===void 0?n:e},f&&(t&m)===0)return i;if(u){var b=a.$$legacy;return(function(e,l){return arguments.length>0?((!f||!l||b||I)&&u(l?i():e),e):i()})}var P=!1,s=((t&z)!==0?B:Y)(()=>(P=!1,i()));v&&g(s);var A=h;return(function(e,l){if(arguments.length>0){const E=l?g(s):f&&v?M(e):e;return N(s,E),P=!0,n!==void 0&&(n=E),e}return U&&P||(A.f&q)!==0?s.v:g(s)})}export{F as p};
