(function(){var e=function(e){var t=this,n=function(){var t=document.defaultView&&document.defaultView.getComputedStyle,n=/([A-Z])/g,r=/-([a-z])/ig,i=function(e,t){return t.toUpperCase()},s=function(e){if(t)return t(e,null);if(e.currentStyle)return e.currentStyle},o=/float/i,u=/^-?\d+(?:px)?$/i,a=/^-?\d/;e.curStyles=function(f,l){if(!f)return null;var c=s(f),h,p,d=f.style,v={},m=0,g,y,b,w;for(;m<l.length;m++)w=l[m],h=w.replace(r,i),o.test(w)&&(w=e.support.cssFloat?"float":"styleFloat",h="cssFloat"),t?(w=w.replace(n,"-$1").toLowerCase(),p=c.getPropertyValue(w),w==="opacity"&&p===""&&(p="1"),v[h]=p):(b=w.replace(r,i),v[h]=c[w]||c[b],!u.test(v[h])&&a.test(v[h])&&(g=d.left,y=f.runtimeStyle.left,f.runtimeStyle.left=f.currentStyle.left,d.left=b==="fontSize"?"1em":v[h]||0,v[h]=d.pixelLeft+"px",d.left=g,f.runtimeStyle.left=y));return v},e.fn.curStyles=function(){return e.curStyles(this[0],e.makeArray(arguments))}};n(),t.resolveWith(n)};dispatch("mvc/dom.cur_styles").containing(e).to("Foundry/2.1 Modules")})();