async pop(repeat) {
		if (freeze) return;
		let confirmation = true;

		if (typeof repeat === "number" && repeat > 1) {
			for (let i = 0; i < repeat; ++i) {
				this.pop();
			}
			return;
		}

		const fun = stack.pop();

		if (fun) {
			fun.action();
			return;
		}

		if (appSettings.value.confirmOnExit) {
			let closeMessage =
				acode.exitAppMessage || strings["close app"].capitalize(0);
			confirmation = await confirm(strings.warning.toUpperCase(), closeMessage);
		}

		if (confirmation) {
			const { exitApp } = navigator.app;

			if (typeof onCloseAppCallback === "function") {
				const res = onCloseAppCallback();
				if (res instanceof Promise) {
					res.finally(exitApp);
					return;
				}
			}

			if (IS_FREE_VERSION && window.iad?.isLoaded()) {
				window.iad.show();
			}

			exitApp();
		}
	}
Pop action from stack
@param {number} repeat pop action multiple times
@returns