export default class ARIAAttributesPane extends Accessibility.AccessibilitySubPane{constructor(){super(ls`ARIA Attributes`);this._noPropertiesInfo=this.createInfo(ls`No ARIA attributes`);this._treeOutline=this.createTreeOutline();} setNode(node){super.setNode(node);this._treeOutline.removeChildren();if(!this.node()){return;} const target=this.node().domModel().target();const attributes=node.attributes();for(let i=0;ivalue.startsWith(prefix)).map(c=>({text:c})));}} const _attributes=['role','aria-busy','aria-checked','aria-disabled','aria-expanded','aria-grabbed','aria-hidden','aria-invalid','aria-pressed','aria-selected','aria-activedescendant','aria-atomic','aria-autocomplete','aria-controls','aria-describedby','aria-dropeffect','aria-flowto','aria-haspopup','aria-label','aria-labelledby','aria-level','aria-live','aria-multiline','aria-multiselectable','aria-orientation','aria-owns','aria-posinset','aria-readonly','aria-relevant','aria-required','aria-setsize','aria-sort','aria-valuemax','aria-valuemin','aria-valuenow','aria-valuetext',];self.Accessibility=self.Accessibility||{};Accessibility=Accessibility||{};Accessibility.ARIAAttributesPane=ARIAAttributesPane;Accessibility.ARIAAttributesTreeElement=ARIAAttributesTreeElement;Accessibility.ARIAAttributesPane.ARIAAttributePrompt=ARIAAttributePrompt;Accessibility.ARIAAttributesPane._attributes=_attributes;