{"version":3,"sources":["jsdelivr-header.js","/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/auroElement/auroElement.mjs"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,2CCOe,MAAM,UAAoB,EAGvC,qBAAW,GACT,MAAO,CACL,OAAgB,CAAE,KAAM,QACN,SAAS,GAC3B,eAAgB,CAAE,KAAM,QACN,SAAS,GAC3B,cAAgB,CAAE,KAAM,QACN,SAAS,GAEjC,CAKE,WAAA,CAAY,GACV,OAAI,EACK,OAGF,OACX,S","file":"/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/auroElement/auroElement.mjs/+esm","sourceRoot":"","sourcesContent":["/**\n * Bundled by jsDelivr using Rollup v2.79.2 and Terser v5.39.0.\n * Original file: /npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/auroElement/auroElement.mjs\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license\n// See LICENSE in the project root for license information.\n\n// ---------------------------------------------------------------------\n\nimport { LitElement } from \"lit\";\n\n/**\n * @attr {Boolean} hidden - If present, the component will be hidden both visually and from screen readers\n * @attr {Boolean} hiddenVisually - If present, the component will be hidden visually, but still read by screen readers\n * @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually\n */\n\nexport default class AuroElement extends LitElement {\n\n  // function to define props used within the scope of this component\n  static get properties() {\n    return {\n      hidden:         { type: Boolean,\n                        reflect: true },\n      hiddenVisually: { type: Boolean,\n                        reflect: true },\n      hiddenAudible:  { type: Boolean,\n                        reflect: true },\n    };\n  }\n\n  /**\n   * @private Function that determines state of aria-hidden\n   */\n  hideAudible(value) {\n    if (value) {\n      return 'true'\n    }\n\n    return 'false'\n  }\n}\n"]}