/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
var d=class{constructor(e){this.get=!0,this.set=!0,e&&Object.assign(this,e)}},D=(t,e)=>`${t}'s foundation does not contain the property "${e}"`,F=t=>`${t} does not have a foundation`;function R(t,e,s){if(t._foundation){if(e in t._foundation)return s();throw new Error(D(t.localName,e))}else throw new Error(F(t.localName))}function _(t){let e=new d(t);return(s,o,n)=>{let c,O,b=o,i=(t&&t.name||o).toString();if(n)c=n.get,O=n.set,n.configurable=!0,n.enumerable=!0,e.set&&(n.set=function(r){return P(this,i,u=>{let f=Object.getOwnPropertyDescriptor(s,i);f.set=u.set,Reflect.defineProperty(s,b,f),u.set(r)},O)}),e.get&&(n.get=function(){return y(this,i,r=>{let u=Object.getOwnPropertyDescriptor(s,i);return u.get=r.get,Reflect.defineProperty(s,b,u),r.get()},c)});else if(e.set||e.get){let r={configurable:!0,enumerable:!0},u={get(){let g=this;return y(g,i,l=>{let a;return e.set&&(a=Object.assign({},f)),Reflect.defineProperty(g,i,Object.assign(Object.assign({configurable:!0,enumerable:!0},l),a)),l.get()})}},f={set(g){let l=this;return P(l,i,a=>{let h;e.get&&(h=Object.assign({},u)),Reflect.defineProperty(l,i,Object.assign(Object.assign({configurable:!0,enumerable:!0},a),h)),a.set(g)})}};e.get&&Object.assign(r,Object.assign({},u)),e.set&&Object.assign(r,Object.assign({},f)),Reflect.defineProperty(s,b,r)}}}function j(t,e,s){t._foundation[s]=e}function w(t,e){return t._foundation[e]}function P(t,e,s,o){let n;return o?n={set(c){o.call(t,c),j(t,c,e)}}:n={set(c){j(t,c,e)}},R(t,e,()=>s(n))}function y(t,e,s,o){let n;return o?n={get(){return o.call(t),w(t,e)}}:n={get(){return w(t,e)}},R(t,e,()=>s(n))}export{_ as a};
//# sourceMappingURL=chunk.KTGSZEAG.js.map
