"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-8EurZY45.js"),c=require("./property-DYTC_2-m.js"),d=require("./dialog-BShWbhKq.js");require("./focused-page.js");const g=":host{--cv-dialog-border-radius: 0;--cv-dialog-horizontal-padding: 0;--cv-dialog-vertical-padding: 0;--mdc-dialog-scrim-color: transparent;--mdc-dialog-min-width: 100vw;--mdc-dialog-max-width: 100vw;--mdc-dialog-min-height: 100vh;--mdc-dialog-max-height: 100vh}.mdc-dialog .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}.mdc-dialog--opening .mdc-dialog__container{transform:translate(100%)}.mdc-dialog--open .mdc-dialog__container{transform:translate(0);transition:transform .3s ease}.mdc-dialog--closing .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,n=(i,l,o,t)=>{for(var e=t>1?void 0:t?v(l,o):l,r=i.length-1,s;r>=0;r--)(s=i[r])&&(e=(t?s(l,o,e):s(e))||e);return t&&e&&u(l,o,e),e};exports.CovalentFullscreenDialog=class extends d.CovalentDialog$1{constructor(){super(...arguments),this.helpOpen=!1,this.helpResizable=!1}getInitialFocusEl(){const l=`[${this.initialFocusAttribute}]`,o=this.querySelector(l);return o||this.renderRoot.querySelector("cv-focused-page")}render(){return a.x` <div
      class="mdc-dialog"
      role="alertdialog"
      aria-modal="true"
      aria-labelledby="title"
      aria-describedby="content"
    >
      <div class="mdc-dialog__container">
        <div class="mdc-dialog__surface">
          <div id="content" class="mdc-dialog__content">
            <cv-focused-page
              .helpOpen="${this.helpOpen}"
              .helpResizable="${this.helpResizable}"
              .hideTopBorder="${!0}"
            >
              <slot></slot>
              <slot name="help" slot="help"> </slot>
            </cv-focused-page>
          </div>
        </div>
      </div>
      <div class="mdc-dialog__scrim"></div>
    </div>`}};exports.CovalentFullscreenDialog.styles=[a.i`
      ${a.r(d.CovalentDialog$1.styles)} ${a.r(g)}
    `];n([c.n({type:Boolean,reflect:!0})],exports.CovalentFullscreenDialog.prototype,"helpOpen",2);n([c.n({type:Boolean,reflect:!0})],exports.CovalentFullscreenDialog.prototype,"helpResizable",2);exports.CovalentFullscreenDialog=n([a.e("cv-full-screen-dialog")],exports.CovalentFullscreenDialog);const p=exports.CovalentFullscreenDialog;exports.default=p;
