import{_ as t}from"./tslib.es6-d65164b3.js";import{S as e}from"./single-slot-element-base-bbf951b4.js";import{a as o}from"./keyboard-navigation-strategy-0cccb7d5.js";import{D as s}from"./root-keyboard-strategy-208f26d5.js";import{R as r}from"./constants-96984026.js";import{n as i}from"./property-4ec0b52d.js";import{e as a}from"./custom-element-267f9a21.js";import"./data-qa-utils-8be7c726.js";import"./const-90026e45.js";import"./dx-ui-element-b777832b.js";import"./lit-element-base-b20b52b2.js";import"./dx-license-e00a5bc7.js";import"./lit-element-462e7ad3.js";import"./logicaltreehelper-67db40f1.js";import"./layouthelper-67dd777a.js";import"./point-e4ec110e.js";import"./constants-7c047c0d.js";import"./key-a66127fc.js";import"./_commonjsHelpers-41cdd1e7.js";import"./string-2448bf95.js";import"./browser-3fc721b7.js";import"./focushelper-2eea96ca.js";import"./dom-utils-bf33c859.js";import"./dom-4684d8d6.js";import"./css-classes-1103f305.js";import"./custom-events-helper-e7f279d3.js";import"./eventhelper-8bcec49f.js";import"./focus-utils-1fc0087c.js";import"./disposable-d2c2d283.js";import"./devices-17b9ba08.js";import"./menu-keyboard-strategy-5b46a29f.js";import"./popup-e76e963a.js";import"./rafaction-bba7928b.js";import"./screenhelper-e9ec6e3e.js";import"./transformhelper-ebad0156.js";import"./positiontracker-754c1e75.js";import"./branch-aebd078a.js";import"./portal-e7c7352c.js";import"./constants-38572198.js";import"./dx-html-element-pointer-events-helper-6dda355e.js";import"./capture-manager-fb670c21.js";import"./nameof-factory-64d95f5b.js";import"./focustrap-d11cfef9.js";import"./tabbable-a2ae89a6.js";import"./constants-ed56e953.js";import"./constants-f2324760.js";import"./modal-keyboard-strategy-200fd2b3.js";import"./dropdown-menu-keyboard-strategy-73e1e01c.js";let p=class extends e{constructor(){super(),this._keyboardNavigator=null,this.loading=!1}willUpdate(t){t.has("loading")&&!this.loading&&this.initializeNavigator()}initializeNavigator(){this._keyboardNavigator||(this._keyboardNavigator=this.querySelector(`:scope > ${o}`)),this._keyboardNavigator.initialized||this._keyboardNavigator.initialize(this,new s(this._keyboardNavigator,this))}};t([i({type:Boolean,attribute:"loading"})],p.prototype,"loading",void 0),p=t([a(r.Ribbon)],p);const m=p;export{m as default};
