You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pingAnQiYeWeb/public/modules/drawbyvml_frg0hf.js

1 line
1.3 KiB

1 year ago
/**/_jsload2 && _jsload2('drawbyvml', 'function xh(a){this.D=a;this.tV={strokeweight:"weight",strokecolor:"color",fillcolor:"color",strokeopacity:"opacity",fillopacity:"opacity",strokestyle:"dashstyle"};this.Lb="vml"}xh.SK={orange:"#ffa500"};xh.prototype=new B.Gz;var yh=xh.prototype; yh.setAttribute=function(a,b,c){a&&(0==b.indexOf("stroke")?a=a.getElementsByTagName("stroke")[0]:0==b.indexOf("fill")&&(a=a.getElementsByTagName("fill")[0]),0<b.indexOf("color")&&(c?(a.on=o,xh.SK[c]&&(c=xh.SK[c])):a.on=q),"strokestyle"==b&&(c="solid"==c?"solid":"4 2 1 2"),"strokeweight"==b&&(c+="px"),a[this.ur(b)]=c||"")};yh.ur=function(a){return this.tV[a]||a};yh.To=function(){return Db(this.D.Rf().Vt,\'<v:shape style="behavior:url(#default#VML);z-index:1;width:1px;height:1px;position:absolute;left:0;top:0;"coordsize="1,1" coordorigin="0,0" filled="t" fillcolor="white"><v:stroke style="behavior:url(#default#VML);" endcap="round" oned="true" /><v:fill style="behavior:url(#default#VML)" /></v:shape>\')}; yh.me=function(a,b){this.setAttribute(a,"path",this.OA(b));6==x.da.ma&&(a.style.display="none",a.style.display="")};yh.OA=function(a){if(0==a.length)return"";var b=[];x.kc.Fb(a,function(a){if(!(2>a.length)){b.push("m "+a[0].x+" "+a[0].y+" l");for(var d=1,e=a.length;d<e;d++)b.push(a[d].x),b.push(a[d].y);b.push("e")}});return b.join(" ")||" "};B.wQ=xh; ');