import{Ir as e}from"./i18n-CsN8OUP9.js";var t=e([]),n=0,r=``,i=0;function a(e){e!==r&&(r=e,n+=1,i+=1)}function o(e){return a(e),n+=1,{generation:n,scope:e}}function s(e){return a(e),{generation:i,scope:e}}function c(e){return e.scope===r&&e.generation===i}function l(e){return e.scope===r&&e.generation===n}function u(){n+=1,i+=1}function d(e,r){return l(e)?(n+=1,t.set(r),!0):!1}var f=e=>{n+=1,t.set(e)},p=e=>{n+=1,t.set(e(t.get()))},m=e(null),h=e=>m.set(e),g=e(0),_=()=>g.set(g.get()+1);export{o as a,l as c,h as d,f,s as i,c as l,t as n,d as o,p,g as r,u as s,m as t,_ as u};