Files
Stackq/.svelte-kit/output/client/_app/immutable/chunks/jOLfEXYH.js
T

2 lines
2.4 KiB
JavaScript

import{a1 as T,ac as j,ad as y,q,ae as S,af as g,ag as B,ah as Y,g as h,ai as K,F as M,aj as N,R as U,ak as $,al as z,am as C,an as F,ao as G,ap as Z,d as H,aq as J,ar as x,as as d}from"./Dexp9pM5.js";function R(r,e){return r===e||(r==null?void 0:r[S])===e}function m(r={},e,n,i){return T(()=>{var s,t;return j(()=>{s=t,t=[],y(()=>{r!==n(...t)&&(e(r,...t),s&&R(n(...s),r)&&e(null,...s))})}),()=>{q(()=>{t&&R(n(...t),r)&&e(null,...t)})}}),r}let _=!1;function Q(r){var e=_;try{return _=!1,[r(),_]}finally{_=e}}const V={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function k(r,e,n){return new Proxy({props:r,exclude:e},V)}const W={get(r,e){let n=r.props.length;for(;n--;){let i=r.props[n];if(d(i)&&(i=i()),typeof i=="object"&&i!==null&&e in i)return i[e]}},set(r,e,n){let i=r.props.length;for(;i--;){let s=r.props[i];d(s)&&(s=s());const t=g(s,e);if(t&&t.set)return t.set(n),!0}return!1},getOwnPropertyDescriptor(r,e){let n=r.props.length;for(;n--;){let i=r.props[n];if(d(i)&&(i=i()),typeof i=="object"&&i!==null&&e in i){const s=g(i,e);return s&&!s.configurable&&(s.configurable=!0),s}}},has(r,e){if(e===S||e===x)return!1;for(let n of r.props)if(d(n)&&(n=n()),n!=null&&e in n)return!0;return!1},ownKeys(r){const e=[];for(let n of r.props)if(d(n)&&(n=n()),!!n){for(const i in n)e.includes(i)||e.push(i);for(const i of Object.getOwnPropertySymbols(n))e.includes(i)||e.push(i)}return e}};function rr(...r){return new Proxy({props:r},W)}function er(r,e,n,i){var O;var s=!C||(n&F)!==0,t=(n&z)!==0,E=(n&J)!==0,a=i,v=!0,b=()=>(v&&(v=!1,a=E?y(i):i),a),l;if(t){var A=S in r||x in r;l=((O=g(r,e))==null?void 0:O.set)??(A&&e in r?f=>r[e]=f:void 0)}var o,w=!1;t?[o,w]=Q(()=>r[e]):o=r[e],o===void 0&&i!==void 0&&(o=b(),l&&(s&&B(),l(o)));var u;if(s?u=()=>{var f=r[e];return f===void 0?b():(v=!0,f)}:u=()=>{var f=r[e];return f!==void 0&&(a=void 0),f===void 0?a:f},s&&(n&Y)===0)return u;if(l){var D=r.$$legacy;return(function(f,p){return arguments.length>0?((!s||!p||D||w)&&l(p?u():f),f):u()})}var P=!1,c=((n&G)!==0?Z:H)(()=>(P=!1,u()));t&&h(c);var L=U;return(function(f,p){if(arguments.length>0){const I=p?h(c):s&&t?K(f):f;return M(c,I),P=!0,a!==void 0&&(a=I),f}return N&&P||(L.f&$)!==0?c.v:h(c)})}export{m as b,er as p,k as r,rr as s};