function e(e,t,n,r){if(n===`a`&&!r)throw TypeError(`Private accessor was defined without a getter`);if(typeof t==`function`?e!==t||!r:!t.has(e))throw TypeError(`Cannot read private member from an object whose class did not declare it`);return n===`m`?r:n===`a`?r.call(e):r?r.value:t.get(e)}function t(e,t,n,r,i){if(r===`m`)throw TypeError(`Private method is not writable`);if(r===`a`&&!i)throw TypeError(`Private accessor was defined without a setter`);if(typeof t==`function`?e!==t||!i:!t.has(e))throw TypeError(`Cannot write private member to an object whose class did not declare it`);return r===`a`?i.call(e,n):i?i.value=n:t.set(e,n),n}var n,r=`__TAURI_TO_IPC_KEY__`;function i(e,t=!1){return window.__TAURI_INTERNALS__.transformCallback(e,t)}async function a(e,t={},n){return window.__TAURI_INTERNALS__.invoke(e,t,n)}var o=class{get rid(){return e(this,n,`f`)}constructor(e){n.set(this,void 0),t(this,n,e,`f`)}async close(){return a(`plugin:resources|close`,{rid:this.rid})}};n=new WeakMap;export{i,r as n,a as r,o as t};