import { E as head, e as attr_class, d as attr, r as escape_html } from './dev-B6xUe35c.js';
import 'node:module';
import './provider-constants-DPrj3yBX.js';
import { S as Spinner } from './Spinner-Bk6e83RX.js';

//#endregion
//#region src/routes/setup/steps/SystemCheckStep.svelte
function SystemCheckStep($$renderer, $$props) {
	$$renderer.component(($$renderer) => {
		let loading = true;
		let result = null;
		$$renderer.push(`<h2>System Check</h2> <p class="step-description">Let's make sure your machine has everything OpenPalm needs.</p> `);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--> <div class="syscheck-list svelte-1txhq2p" aria-live="polite"><div${attr_class("syscheck-row svelte-1txhq2p", void 0, {
			"syscheck-row--ok": void 0,
			"syscheck-row--fail": result
		})}><div class="syscheck-icon svelte-1txhq2p">`);
		$$renderer.push("<!--[0-->");
		Spinner($$renderer, { size: 16 });
		$$renderer.push(`<!--]--></div> <div class="syscheck-body svelte-1txhq2p"><div class="syscheck-title svelte-1txhq2p">Docker is installed and running</div> `);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--></div></div> <div${attr_class("syscheck-row svelte-1txhq2p", void 0, {
			"syscheck-row--ok": void 0,
			"syscheck-row--fail": result
		})}><div class="syscheck-icon svelte-1txhq2p">`);
		$$renderer.push("<!--[0-->");
		Spinner($$renderer, { size: 16 });
		$$renderer.push(`<!--]--></div> <div class="syscheck-body svelte-1txhq2p"><div class="syscheck-title svelte-1txhq2p">Docker can run multi-container apps</div> `);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--></div></div> `);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--> `);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--> `);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--></div> <div class="step-actions"><button class="btn btn-secondary" id="btn-syscheck-retry"${attr("disabled", loading, true)}>${escape_html("Checking…")}</button> <button class="btn btn-primary" id="btn-syscheck-next"${attr("disabled", loading, true)}>Continue</button></div>`);
	});
}
//#endregion
//#region src/routes/setup/+page.svelte
function _page($$renderer, $$props) {
	$$renderer.component(($$renderer) => {
		head("g40i6i", $$renderer, ($$renderer) => {
			$$renderer.title(($$renderer) => {
				$$renderer.push(`<title>OpenPalm Setup</title>`);
			});
		});
		$$renderer.push(`<main class="setup-page" aria-label="Setup wizard">`);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--> `);
		{
			$$renderer.push("<!--[0-->");
			$$renderer.push(`<div style="display:none" aria-hidden="true"><section class="step-content step-content--hidden" id="step-0" data-testid="step-system-check">`);
			SystemCheckStep($$renderer);
			$$renderer.push(`<!----></section></div>`);
		}
		$$renderer.push(`<!--]--> `);
		$$renderer.push("<!--[-1-->");
		$$renderer.push(`<!--]--></main>`);
	});
}

export { _page as default };
//# sourceMappingURL=_page.svelte-CigItPjU.js.map
