{ panelWidth = element.clientWidth checkPanel() }} >
{#if allowClose && !embedded}
{ dispatch('close') }} /> {/if} {#if !embedded} {#if $$slots.navigator}
{/if} {/if}
{#if !twoRows && !withoutTitle}
{/if}
{#if isFullSize || useMaxWidth !== undefined || ($$slots.aside && isAside)}
{/if} {#if $$slots.aside && isAside}
{ asideShown = !asideShown }} /> {/if} {#if useMaxWidth !== undefined}
{ useMaxWidth = !useMaxWidth dispatch('maxWidth', useMaxWidth) }} /> {/if} {#if isFullSize}
{ fullSize = !fullSize dispatch('fullsize') }} /> {/if}
{#if twoRows && !withoutTitle}
{/if}
{#if $deviceInfo.isMobile}
{ innerWidth = element.clientWidth }} > {#if $$slots.header && isHeader}
{/if}
{:else}
{ innerWidth = element.clientWidth }} > {#if $$slots.header && isHeader}
{/if}
{/if} {#if $$slots.aside && isAside && asideShown}
{/if}