//>>built define("dojo/_base/kernel dojo/_base/lang dojo/_base/array dojo/_base/Color ./_base ./svg ./matrix".split(" "),function(n,h,k,l,f,d,p){function q(a){var c=a.rawNode.getAttribute("fill");if("none"==c)a.fillStyle=null;else{var b=null,e=d.getRef(c);if(e)switch(e.tagName.toLowerCase()){case "lineargradient":b=m(f.defaultLinearGradient,e);k.forEach(["x1","y1","x2","y2"],function(a){b[a]=e.getAttribute(a)});break;case "radialgradient":b=m(f.defaultRadialGradient,e);k.forEach(["cx","cy","r"],function(a){b[a]= e.getAttribute(a)});b.cx=e.getAttribute("cx");b.cy=e.getAttribute("cy");b.r=e.getAttribute("r");break;case "pattern":b=h.clone(f.defaultPattern),k.forEach(["x","y","width","height"],function(a){b[a]=e.getAttribute(a)}),b.src=e.firstChild.getAttributeNS(d.xmlns.xlink,"href")}else b=new l(c),c=a.rawNode.getAttribute("fill-opacity"),null!=c&&(b.a=c);a.fillStyle=b}}function m(a,c){a=h.clone(a);a.colors=[];for(var b=0;b