@if (!failed()) {
}
{{
(failed() ? 'STARTUP.FAILED' : 'STARTUP.PREPARING')
| translate
}}
{{
(failed()
? 'STARTUP.FAILED_DETAIL'
: 'STARTUP.PREPARING_DETAIL'
) | translate
}}
@if (failed()) {
@defer (on immediate) {
} @placeholder {
} @error {
}
}
}
`,
styles: `
:host {
display: contents;
}
section {
app-region: drag;
position: relative;
isolation: isolate;
overflow: clip;
min-height: 100dvh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
padding: 48px 24px;
box-sizing: border-box;
background: var(--app-content-bg);
color: var(--app-heading-color);
text-align: center;
}
.startup-watermark {
position: absolute;
right: -14%;
bottom: -34%;
width: clamp(420px, 76vw, 960px);
height: auto;
opacity: 0.07;
transform: rotate(-14deg);
mask-image: linear-gradient(135deg, transparent 15%, #000 78%);
pointer-events: none;
z-index: 0;
}
section > :not(svg) {
position: relative;
z-index: 1;
}
h1 {
margin: 0;
font-size: 18px;
font-weight: 500;
}
p {
margin: 0;
max-width: 420px;
color: var(--app-body-color);
line-height: 1.5;
}
button {
margin-top: 8px;
app-region: no-drag;
}
/* The flat button's shape in the theme's colours, until the
Material button loads. */
.startup-retry-native {
height: 40px;
padding: 0 24px;
border: 0;
border-radius: 20px;
background: var(--mat-sys-primary);
color: var(--mat-sys-on-primary);
font: inherit;
font-weight: 500;
cursor: pointer;
}
/*
* The same drawing as an indeterminate