text: !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@lrnwebcomponents/simple-tooltip/simple-tooltip.js"),require("@polymer/app-layout/app-drawer/app-drawer.js"),require("@polymer/app-layout/app-header/app-header.js"),require("@polymer/polymer/polymer-element.js"),require("@lrnwebcomponents/simple-icon/simple-icon.js"),require("@lrnwebcomponents/simple-icon/lib/simple-icons.js"),require("@lrnwebcomponents/simple-icon/lib/simple-icon-button.js")):"function"==typeof define&&define.amd?define(["exports","@lrnwebcomponents/simple-tooltip/simple-tooltip.js","@polymer/app-layout/app-drawer/app-drawer.js","@polymer/app-layout/app-header/app-header.js","@polymer/polymer/polymer-element.js","@lrnwebcomponents/simple-icon/simple-icon.js","@lrnwebcomponents/simple-icon/lib/simple-icons.js","@lrnwebcomponents/simple-icon/lib/simple-icon-button.js"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).LrndesignDrawer={},null,null,null,e.polymerElement_js)}(this,(function(e,n,t,r,o){"use strict";function i(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function p(e,n){return p=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},p(e,n)}function a(e,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=l(e);if(n){var o=l(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return a(this,t)}}function u(e,n){for(;!Object.prototype.hasOwnProperty.call(e,n)&&null!==(e=l(e)););return e}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,n,t){var r=u(e,n);if(r){var o=Object.getOwnPropertyDescriptor(r,n);return o.get?o.get.call(arguments.length<3?e:t):o.value}},s.apply(this,arguments)}var f,d=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&p(e,n)}(u,e);var n,t,r,a=c(u);function u(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),a.call(this)}return n=u,r=[{key:"template",get:function(){return o.html(f||(e=['\n      <style>\n        :host {\n          display: block;\n          --lrndesign-drawer-width: 30%;\n        }\n        app-header {\n          z-index: 100;\n        }\n        app-drawer {\n          --app-drawer-width: var(--lrndesign-drawer-width);\n          --app-drawer-content-container: {\n            padding: 16px;\n            overflow-y: scroll;\n            margin-top: 112px;\n          }\n        }\n      </style>\n      <app-header>\n        <app-drawer opened="{{opened}}" align="{{align}}">\n          <slot></slot>\n        </app-drawer>\n      </app-header>\n      <simple-icon-button\n        icon="[[icon]]"\n        alt="[[alt]]"\n        id="flyoutdrawer"\n      ></simple-icon-button>\n      <simple-tooltip for="flyoutdrawer">[[alt]]</simple-tooltip>\n    '],n||(n=e.slice(0)),f=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))));var e,n}},{key:"tag",get:function(){return"lrndesign-drawer"}},{key:"properties",get:function(){return{opened:{type:Boolean,value:!1},icon:{type:String,value:"icon"},align:{type:String,value:"left"},alt:{type:String,value:""}}}}],(t=[{key:"ready",value:function(){var e=this;s(l(u.prototype),"ready",this).call(this),this.shadowRoot.querySelector("simple-icon-button").addEventListener("click",(function(n){e.opened=!e.opened}))}}])&&i(n.prototype,t),r&&i(n,r),u}(o.PolymerElement);window.customElements.define(d.tag,d),e.LrndesignDrawer=d,Object.defineProperty(e,"__esModule",{value:!0})}));
  