System.register(["./p-De3fNE_u.system.js"],(function(t){"use strict";var n,e,o,i;return{setters:[function(t){n=t.r;e=t.c;o=t.h;i=t.H}],execute:function(){var s=function(){return'verdocs-toggle-button{font-family:"Inter", "Barlow", sans-serif}verdocs-toggle-button button{border:none;outline:none;cursor:pointer;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;background:#cccccc;color:#33364b}verdocs-toggle-button button svg{max-width:100%;max-height:100%;fill:#33364b}verdocs-toggle-button button.active{background:#55bc81;color:#f5f5fa}verdocs-toggle-button button.active svg{fill:#f5f5fa}verdocs-toggle-button button:focus{border:none;outline:none}verdocs-toggle-button.size-normal button{width:40px;height:40px;padding:6px;border-radius:4px}verdocs-toggle-button.size-small button{width:34px;height:34px;padding:4px;border-radius:2px}'};var r=t("verdocs_toggle_button",function(){function t(t){n(this,t);this.toggle=e(this,"toggle");this.active=false;this.icon=null;this.label=null;this.size="normal";this._active=false}t.prototype.componentWillLoad=function(){this._active=this.active};t.prototype.handleToggle=function(t){var n;t.stopPropagation();var e=!this._active;this._active=e;(n=this.toggle)===null||n===void 0?void 0:n.emit({active:e})};t.prototype.render=function(){var t=this;return o(i,{key:"6e03f5ae53b791fabe539534349763c1cd550852",class:"size-".concat(this.size)},this.icon?o("button",{innerHTML:this.icon,class:{active:this._active},onClick:function(n){return t.handleToggle(n)}}):o("button",{class:{active:this._active},onClick:function(n){return t.handleToggle(n)}},this.label))};return t}());r.style=s()}}}));
//# sourceMappingURL=p-aa3b0fb7.system.entry.js.map