import { L as e, I as s } from "./index-DRgrWhNH.js";
const n = () => {
  e.set({
    ...s(e),
    isProgressFinished: !1,
    isVideoEnded: !0
  });
}, o = async () => (e.set({ ...s(e), isProgressFinished: !0, isVideoEnded: !1 }), new Promise((i) => {
  const d = e.subscribe((t) => {
    t.isVideoEnded && (e.set({ ...s(e), isProgressFinished: !1, isVideoEnded: !1 }), d(), i(null));
  });
  setTimeout(() => {
    try {
      d();
    } catch {
    }
    i(null);
  }, 60 * 1e3);
}));
export {
  n as s,
  o as w
};
//# sourceMappingURL=ProgressVideo.service-BmjtnZZl.js.map
