function occamy(t,e,i){return this instanceof occamy?(this.doc=window&&window.document?window.document:i,this.container=t instanceof HTMLElement?t:this.doc.querySelector(t),this.opts=Object.assign({dir:null,prefix:"occamy",gap:0},e),"number"!=typeof this.opts.gap&&(this.opts.gap=parseInt(this.opts.gap,10)),this.style(),this[this.opts.dir||(1 * { display: block; position: absolute; transform-origin: 50% 50%; transform: scale(0); transition: left 0.1s ease, top 0.1s ease, transform .2s ease; }",0),this.stylesheet=t,this}},occamy.prototype.redraw=function(){return this.stylesheet||this.style(),this[this.opts.dir||(1