on-popup-reopen-b537597c.js 335 B

1
  1. import{Q as a,h as n}from"./index-7d547c99.js";import{X as e,w as r}from"./index-84dbbcf9.js";function c(s,{args:t=[],done:o,canceled:i,error:p}){if(s){const f=s.apply(null,t);a(f)?f.then(l=>{l?o():i&&i()}).catch(p||n):f?o():i&&i()}else o()}const u=Symbol();function h(s){const t=e(u,null);t&&r(t,o=>{o&&s()})}export{u as P,c,h as o};