System.register(["./index-c820db66.system.js"],(function(o){"use strict";var p,t,s,i;return{setters:[function(o){p=o.r;t=o.j;s=o.h;i=o.k}],execute:function(){var e='.sc-smoothly-popup-h{display:-ms-inline-flexbox;display:inline-flex;position:relative}[hidden].sc-smoothly-popup-h{display:none}.sc-smoothly-popup-h:not([visible]) aside.sc-smoothly-popup{display:none}.sc-smoothly-popup-h aside.sc-smoothly-popup{display:inline;position:absolute;padding:0.3em;background-color:rgb(238, 238, 238);border-color:rgb(238, 238, 238);border-style:solid;border-width:0.1em;border-radius:0.6em;z-index:3}[direction=down].sc-smoothly-popup-h aside.sc-smoothly-popup{top:2.2em;left:1em;-webkit-box-shadow:6px 5px 9px -9px black,\n\t5px 6px 9px -9px black;box-shadow:6px 5px 9px -9px black,\n\t5px 6px 9px -9px black}[direction=up].sc-smoothly-popup-h aside.sc-smoothly-popup{bottom:2.2em;-webkit-box-shadow:-6px -5px 9px -9px black,\n\t-5px -6px 9px -9px black;box-shadow:-6px -5px 9px -9px black,\n\t-5px -6px 9px -9px black}.sc-smoothly-popup-h:not([visible]) .background.sc-smoothly-popup{display:none}.sc-smoothly-popup-h .background.sc-smoothly-popup{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:2}.sc-smoothly-popup-h:not([visible]) .arrow.sc-smoothly-popup{display:none}.sc-smoothly-popup-h .arrow.sc-smoothly-popup{background-color:rgb(238, 238, 238);border-color:rgb(238, 238, 238);z-index:2;content:"";position:absolute;width:12px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}[direction=down].sc-smoothly-popup-h .arrow.sc-smoothly-popup{left:2em;top:2em;border-top-style:solid;border-top-width:1px;border-left-style:solid;border-left-width:1px}[direction=up].sc-smoothly-popup-h .arrow.sc-smoothly-popup{bottom:2em;left:1em;border-bottom-style:solid;border-bottom-width:1px;border-right-style:solid;border-right-width:1px}.sc-smoothly-popup-h .pointer.sc-smoothly-popup{cursor:pointer}';var l=o("smoothly_popup",function(){function o(o){p(this,o);this.popup=t(this,"popup",7);this.visible=false;this.direction="down"}o.prototype.onClick=function(){this.visible=!this.visible;this.popup.emit(this.visible)};o.prototype.render=function(){var o=this;return s(i,null,s("content",{class:"pointer",onClick:function(){return o.onClick()}},s("slot",null)),s("div",{class:"background",onClick:function(){return o.onClick()}}),s("div",{class:"arrow",onClick:function(){return o.onClick()}}),s("aside",null,s("slot",{name:"popup"})))};return o}());l.style=e}}}));