dd(t)}function o(t){a.delete(t)}function n(t){var e=this,o=t._closeFilter,n="object"==typeof t.scope?t.scope:t;e[0]=t,o.apply(n,e)}var a=new Set;document.addEventListener("mouseup",function(t){var e=Polymer.dom(t),o=[null,e,t];a.forEach(n,o)});var i={properties:{auto:{type:Boolean,value:!0}},attached:function(){e(this)},detached:function(){o(this)},_closeFilter:function(t,e,o){t.auto&&(e.path.indexOf(t)>-1||e.path.indexOf(t._target)>-1?o.stopImmediatePropagation():t.close())}};t.AutoClosable=[t.Closable,i]}