@tscircuit/runframe 0.0.1002 → 0.0.1004
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4712,7 +4712,7 @@ No matching component was found for:
|
|
|
4712
4712
|
`+c+` |
|
|
4713
4713
|
`+o.line+" | "+l+`
|
|
4714
4714
|
`+c+" | "+tee("",r.column-1," ")+tee("",d,"^")}else e+=`
|
|
4715
|
-
at `+s}return e},mz.buildMessage=function(t,e){var n={literal:function(l){return'"'+r(l.text)+'"'},class:function(l){var u=l.parts.map(function(d){return Array.isArray(d)?o(d[0])+"-"+o(d[1]):o(d)});return"["+(l.inverted?"^":"")+u.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(l){return l.description}};function i(l){return l.charCodeAt(0).toString(16).toUpperCase()}function r(l){return l.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(u){return"\\x0"+i(u)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(u){return"\\x"+i(u)})}function o(l){return l.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(u){return"\\x0"+i(u)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(u){return"\\x"+i(u)})}function s(l){return n[l.type](l)}function a(l){var u=l.map(s),d,h;if(u.sort(),u.length>0){for(d=1,h=1;d<u.length;d++)u[d-1]!==u[d]&&(u[h]=u[d],h++);u.length=h}switch(u.length){case 1:return u[0];case 2:return u[0]+" or "+u[1];default:return u.slice(0,-1).join(", ")+", or "+u[u.length-1]}}function c(l){return l?'"'+r(l)+'"':"end of input"}return"Expected "+a(t)+" but "+c(e)+" found."};function nee(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let e=1/0,n=-1/0,i=1/0,r=-1/0,o=s=>{e=Math.min(e,s.x),n=Math.max(n,s.x),i=Math.min(i,s.y),r=Math.max(r,s.y)};return t.forEach(s=>{switch(s.type){case"path":s.points.forEach(o);break;case"text":o({x:s.x,y:s.y});break;case"circle":{let{x:a,y:c,radius:l}=s;o({x:a-l,y:c-l}),o({x:a+l,y:c+l});break}case"box":{let{x:a,y:c,width:l,height:u}=s,d=l/2,h=u/2;o({x:a-d,y:c-h}),o({x:a+d,y:c+h});break}}}),{minX:e,maxX:n,minY:i,maxY:r}}var L6t=(t,e="right")=>{switch(e){case"down":switch(t){case"middle_top":return"middle_right";case"middle_bottom":return"middle_left";case"middle_left":return"middle_bottom";case"middle_right":return"middle_top"}break;case"up":switch(t){case"middle_top":return"middle_left";case"middle_bottom":return"middle_right";case"middle_left":return"middle_top";case"middle_right":return"middle_bottom"}break;case"left":switch(t){case"middle_top":return"middle_bottom";case"middle_bottom":return"middle_top";case"middle_left":return"middle_right";case"middle_right":return"middle_left"}break;case"right":return t}return t},_z=(t,e)=>{let{primitives:n,center:i,ports:r,size:o}=t,s=fz({a:1,b:0,c:0,d:-1,e:0,f:2*i.y}),a=n.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(f=>O9(s,f))};case"text":let u=O9(s,{x:l.x,y:l.y}),d={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...l,x:u.x,y:u.y,anchor:d[l.anchor]};case"circle":case"box":let h=O9(s,{x:l.x,y:l.y});return{...l,x:h.x,y:h.y}}}),c=r.map(l=>({...l,...O9(s,l)}));return{primitives:a,center:i,ports:c,size:o,...e}},yP=(t,e)=>{let{primitives:n,center:i,ports:r,size:o}=t,s=fz({a:-1,b:0,c:0,d:1,e:0,f:2*i.x}),a=n.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(f=>O9(s,f))};case"text":let u=O9(s,{x:l.x,y:l.y}),d={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...l,x:u.x,y:u.y,anchor:d[l.anchor]};case"circle":case"box":let h=O9(s,{x:l.x,y:l.y});return{...l,x:h.x,y:h.y}}}),c=r.map(l=>({...l,...O9(s,l)}));return{primitives:a,center:i,ports:c,size:o,...e}},iee=(t,e)=>{let{newOrientation:n,overrides:i}=e,r={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},o=k6t(n?r[n]:Math.PI/2,t.center.x,t.center.y),{primitives:s,center:a,size:c,ports:l}=t,u=s.map(f=>{switch(f={...f},f.type){case"path":return{...f,points:f.points.map(b=>O9(o,b))};case"text":let m=O9(o,{x:f.x,y:f.y});return f.anchor=L6t(f.anchor,n??"right"),{...f,x:m.x,y:m.y};case"circle":let y=O9(o,{x:f.x,y:f.y});return{...f,x:y.x,y:y.y};case"box":let g=O9(o,{x:f.x,y:f.y});return{...f,x:g.x,y:g.y,width:f.height,height:f.width}}}),d=l.map(f=>({...f,...O9(o,f)})),h=nee(u);return{primitives:u,center:a,ports:d,size:{width:h.maxX-h.minX,height:h.maxY-h.minY},...i}},Yi=(t,e="down",n={})=>iee(t,{newOrientation:e,overrides:n}),D6t=class{symbol;constructor(t){this.symbol=JSON.parse(JSON.stringify(t)),this.symbol.size=this.computeSize()}changeTextAnchor(t,e,n){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(i=>i.type==="text"&&i.text===t?{...i,anchor:e,...n?{x:i.x+n.x,y:i.y+n.y}:{}}:i)},this}labelPort(t,e){return this.symbol={...this.symbol,ports:this.symbol.ports.map(n=>n.labels.includes(t)?{...n,labels:e}:n)},this}rotateRightFacingSymbol(t){return this.symbol=iee(this.symbol,{newOrientation:t}),this}computeSize(){let t=nee(this.symbol.primitives);return{width:t.maxX-t.minX,height:t.maxY-t.minY}}build(){return{...this.symbol,size:this.computeSize()}}},On=t=>{let e=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],n=t.ports??Object.entries(t.refblocks).flatMap(([r,o])=>[{...o,labels:[r]}]),i=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return n.length===2&&(i={x:(n[0].x+n[1].x)/2,y:(n[0].y+n[1].y)/2}),new D6t({...t,primitives:e,ports:n,center:i})},j6={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path17:{type:"path",points:[{x:0,y:-.13},{x:.07,y:-.11}],color:"primary",fill:!1},path18:{type:"path",points:[{x:.07,y:-.11},{x:.14,y:-.13}],color:"primary",fill:!1},path19:{type:"path",points:[{x:-.15,y:-.13},{x:-.07,y:-.11}],color:"primary",fill:!1},path20:{type:"path",points:[{x:-.07,y:-.11},{x:0,y:-.13}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:z6t,bounds:yz,refblocks:KAe,circles:F6t}=j6,B6t=On({primitives:[...Object.values(z6t),...Object.values(F6t),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...KAe.left1,labels:["1"]},{...KAe.right1,labels:["2"]}],size:{width:yz.width,height:yz.height},center:{x:yz.centerX,y:yz.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:U6t,bounds:gz,refblocks:QAe,circles:$6t}=j6,j6t=On({primitives:[...Object.values(U6t),...Object.values($6t),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...QAe.left1,labels:["1"]},{...QAe.right1,labels:["2"]}],size:{width:gz.width,height:gz.height},center:{x:gz.centerX,y:gz.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:H6t,bounds:bz,refblocks:JAe,circles:V6t}=j6,G6t=On({primitives:[...Object.values(H6t),...Object.values(V6t),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...JAe.left1,labels:["1"]},{...JAe.right1,labels:["2"]}],size:{width:bz.width,height:bz.height},center:{x:bz.centerX,y:bz.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:Y6t,bounds:xz,refblocks:eCe,circles:q6t}=j6,X6t=On({primitives:[...Object.values(Y6t),...Object.values(q6t),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...eCe.left1,labels:["1"]},{...eCe.right1,labels:["2"]}],size:{width:xz.width,height:xz.height},center:{x:xz.centerX,y:xz.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:W6t,bounds:vz,refblocks:tCe,circles:Z6t}=j6,K6t=On({primitives:[...Object.values(W6t),...Object.values(Z6t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...tCe.left1,labels:["1"]},{...tCe.right1,labels:["2"]}],size:{width:vz.width,height:vz.height},center:{x:vz.centerX,y:vz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:Q6t,bounds:wz,refblocks:nCe,circles:J6t}=j6,eAt=On({primitives:[...Object.values(Q6t),...Object.values(J6t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...nCe.left1,labels:["1"]},{...nCe.right1,labels:["2"]}],size:{width:wz.width,height:wz.height},center:{x:wz.centerX,y:wz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),H6={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.2}],color:"primary",fill:!1},"path43-8-3":{type:"path",points:[{x:.21,y:-.11},{x:.15,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:tAt,texts:cti,bounds:Sz,refblocks:iCe,circles:nAt}=H6,iAt=On({primitives:[...Object.values(tAt),...Object.values(nAt),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...iCe.left1,labels:["1"]},{...iCe.right1,labels:["2"]}],size:{width:Sz.width,height:Sz.height},center:{x:Sz.centerX,y:Sz.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),rAt=On(H6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:oAt,texts:lti,bounds:Ez,refblocks:rCe,circles:sAt}=H6,aAt=On({primitives:[...Object.values(oAt),...Object.values(sAt),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...rCe.left1,labels:["1"]},{...rCe.right1,labels:["2"]}],size:{width:Ez.width,height:Ez.height},center:{x:Ez.centerX,y:Ez.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),cAt=On(H6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:lAt,texts:uti,bounds:Tz,refblocks:oCe,circles:uAt}=H6,dAt=On({primitives:[...Object.values(lAt),...Object.values(uAt),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...oCe.left1,labels:["1"]},{...oCe.right1,labels:["2"]}],size:{width:Tz.width,height:Tz.height},center:{x:Tz.centerX,y:Tz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:hAt,texts:dti,bounds:Mz,refblocks:sCe,circles:pAt}=H6,fAt=On({primitives:[...Object.values(hAt),...Object.values(pAt),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...sCe.left1,labels:["1"]},{...sCe.right1,labels:["2"]}],size:{width:Mz.width,height:Mz.height},center:{x:Mz.centerX,y:Mz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),ree={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.14,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.18,y:.18},{x:.11,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.18,y:-.09},{x:.11,y:-.09}],color:"primary",fill:!1}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:mAt,bounds:Az,refblocks:aCe,circles:_At}=ree,yAt=On({primitives:[...Object.values(mAt),...Object.values(_At),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...aCe.left1,labels:["1"]},{...aCe.right1,labels:["2"]}],size:{width:Az.width,height:Az.height},center:{x:Az.centerX,y:Az.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),{paths:gAt,bounds:Cz,refblocks:cCe,circles:bAt}=ree,lCe=On({primitives:[...Object.values(gAt),...Object.values(bAt),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...cCe.left1,labels:["1"]},{...cCe.right1,labels:["2"]}],size:{width:Cz.width,height:Cz.height},center:{x:Cz.centerX,y:Cz.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:xAt,bounds:Rz,refblocks:uCe,circles:vAt}=ree,wAt=On({primitives:[...Object.values(xAt),...Object.values(vAt),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...uCe.left1,labels:["1"]},{...uCe.right1,labels:["2"]}],size:{width:Rz.width,height:Rz.height},center:{x:Rz.centerX,y:Rz.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),oee=Yi(lCe,"down"),see=oee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),aee=oee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");see.anchor="middle_left",aee.anchor="middle_left",see.x=.25,see.y+=.21,aee.y-=.21,aee.x=.25;var SAt=oee;function fd(t){let e=t.size;if(!e){let n=nee(t.primitives);e={width:n.maxX-n.minX,height:n.maxY-n.minY}}return{...t,size:e}}var EAt={paths:{path43:{type:"path",points:[{x:-.06,y:.19},{x:-.06,y:-.12}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.02,y:.13},{x:.02,y:-.06}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.06,y:.03},{x:-.44,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.03},{x:.03,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.28}},refblocks:{left1:{x:-.45,y:.03},right1:{x:.45,y:.03}},bounds:{width:.95,height:.29,centerX:0,centerY:.06},circles:{}},{paths:TAt,texts:dCe,bounds:Pz,refblocks:hCe,circles:MAt}=EAt,pCe=fd({primitives:[...Object.values(TAt),...Object.values(MAt),{...dCe.top1,anchor:"middle_bottom"},{...dCe.bottom1,anchor:"middle_top"}],ports:[{...hCe.left1,labels:["1"]},{...hCe.right1,labels:["2"]}],size:{width:Pz.width,height:Pz.height},center:{x:Pz.centerX,y:Pz.centerY}}),AAt=iee(pCe,{newOrientation:"up"}),Iz={paths:{path1:{type:"path",points:[{x:-.51,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.55,y:.05}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.02,y:.18},{x:.28,y:.18},{x:.28,y:-.09},{x:-.25,y:-.09},{x:-.25,y:.18},{x:.02,y:.18}],color:"primary",fill:!1}},refblocks:{left1:{x:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{centerX:0,centerY:0},circles:{}},{paths:CAt,bounds:fCe,refblocks:mCe,circles:RAt}=Iz,PAt=On({primitives:[...Object.values(CAt),...Object.values(RAt),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...mCe.left1,labels:["1"]},{...mCe.right1,labels:["2"]}],center:{x:fCe.centerX,y:fCe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),{paths:IAt,bounds:_Ce,refblocks:yCe,circles:NAt}=Iz,kAt=On({primitives:[...Object.values(IAt),...Object.values(NAt),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...yCe.left1,labels:["1"]},{...yCe.right1,labels:["2"]}],center:{x:_Ce.centerX,y:_Ce.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:OAt,bounds:gCe,refblocks:bCe,circles:LAt}=Iz,DAt=On({primitives:[...Object.values(OAt),...Object.values(LAt),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...bCe.left1,labels:["1"]},{...bCe.right1,labels:["2"]}],center:{x:gCe.centerX,y:gCe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Nz={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.56,y:-.01}],color:"primary",fill:!0},"path2-5":{type:"path",points:[{x:-.15,y:.06},{x:.14,y:.06}],color:"primary",fill:!0},"path2-5-1":{type:"path",points:[{x:.14,y:.06},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-5-1-6":{type:"path",points:[{x:-.16,y:.06},{x:-.16,y:-.08}],color:"primary",fill:!0},"path2-5-4":{type:"path",points:[{x:-.15,y:-.08},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-9":{type:"path",points:[{x:-.56,y:-.01},{x:-.17,y:-.01}],color:"primary",fill:!0}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{width:1.16,height:.35,centerX:0,centerY:0},circles:{}},{paths:zAt,bounds:kz,refblocks:xCe,circles:FAt}=Nz,BAt=On({primitives:[...Object.values(zAt),...Object.values(FAt),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...xCe.left1,labels:["1"]},{...xCe.right1,labels:["2"]}],size:{width:kz.width,height:kz.height},center:{x:kz.centerX,y:kz.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:UAt,bounds:Oz,refblocks:vCe,circles:$At}=Nz,jAt=On({primitives:[...Object.values(UAt),...Object.values($At),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...vCe.left1,labels:["1"]},{...vCe.right1,labels:["2"]}],size:{width:Oz.width,height:Oz.height},center:{x:Oz.centerX,y:Oz.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:HAt,bounds:Lz,refblocks:wCe,circles:VAt}=Nz,GAt=On({primitives:[...Object.values(HAt),...Object.values(VAt),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...wCe.left1,labels:["1"]},{...wCe.right1,labels:["2"]}],size:{width:Lz.width,height:Lz.height},center:{x:Lz.centerX,y:Lz.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:YAt,bounds:Dz,refblocks:SCe,circles:qAt}=Nz,XAt=On({primitives:[...Object.values(YAt),...Object.values(qAt),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...SCe.left1,labels:["1"]},{...SCe.right1,labels:["2"]}],size:{width:Dz.width,height:Dz.height},center:{x:Dz.centerX,y:Dz.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:WAt,bounds:ECe,refblocks:TCe,circles:ZAt}=Iz,KAt=On({primitives:[...Object.values(WAt),...Object.values(ZAt),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...TCe.left1,labels:["1"]},{...TCe.right1,labels:["2"]}],center:{x:ECe.centerX,y:ECe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),cee={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},bounds:{centerX:0,centerY:-.02},circles:{}},{paths:QAt,bounds:MCe,refblocks:ACe,circles:JAt}=cee,eCt=On({primitives:[...Object.values(QAt),...Object.values(JAt),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ACe.left1,labels:["1"]},{...ACe.right1,labels:["2"]}],center:{x:MCe.centerX,y:MCe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),{paths:tCt,bounds:CCe,refblocks:RCe,circles:nCt}=cee,PCe=On({primitives:[...Object.values(tCt),...Object.values(nCt),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...RCe.left1,labels:["1"]},{...RCe.right1,labels:["2"]}],center:{x:CCe.centerX,y:CCe.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),iCt=yP(PCe),{paths:rCt,bounds:ICe,refblocks:NCe,circles:oCt}=cee,sCt=On({primitives:[...Object.values(rCt),...Object.values(oCt),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...NCe.left1,labels:["1"]},{...NCe.right1,labels:["2"]}],center:{x:ICe.centerX,y:ICe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build(),zz={paths:{path27:{type:"path",points:[{x:.52,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.07,y:.28},{x:.07,y:-.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.09,y:.28},{x:-.09,y:-.25}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.55,y:.02},right1:{x:.55,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}},{paths:aCt,texts:hti,bounds:Fz,refblocks:kCe,circles:cCt}=zz,lCt=On({primitives:[...Object.values(aCt),...Object.values(cCt),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...kCe.left1,labels:["1"]},{...kCe.right1,labels:["2"]}],size:{width:Fz.width,height:Fz.height},center:{x:Fz.centerX,y:Fz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),uCt=On(zz).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),Bz={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}},{paths:dCt,texts:pti,bounds:Uz,refblocks:OCe,circles:hCt}=Bz,pCt=On({primitives:[...Object.values(dCt),...Object.values(hCt),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...OCe.left1,labels:["2","neg"]},{...OCe.right1,labels:["1","pos"]}],size:{width:Uz.width,height:Uz.height},center:{x:Uz.centerX,y:Uz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build(),fCt=On(Bz).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:mCt,texts:fti,bounds:$z,refblocks:LCe,circles:_Ct}=Bz,yCt=On({primitives:[...Object.values(mCt),...Object.values(_Ct),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...LCe.left1,labels:["2","neg"]},{...LCe.right1,labels:["1","pos"]}],size:{width:$z.width,height:$z.height},center:{x:$z.centerX,y:$z.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build(),{paths:gCt,texts:mti,bounds:jz,refblocks:DCe,circles:bCt}=Bz,xCt=On({primitives:[...Object.values(gCt),...Object.values(bCt),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...DCe.left1,labels:["2","neg"]},{...DCe.right1,labels:["1","pos"]}],size:{width:jz.width,height:jz.height},center:{x:jz.centerX,y:jz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build(),vCt=On(zz).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:wCt,texts:_ti,bounds:Hz,refblocks:zCe,circles:SCt}=zz,ECt=On({primitives:[...Object.values(wCt),...Object.values(SCt),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...zCe.left1,labels:["1"]},{...zCe.right1,labels:["2"]}],size:{width:Hz.width,height:Hz.height},center:{x:Hz.centerX,y:Hz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),V6={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,y:.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.29,y:.29},{x:.29,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.37}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:TCt,texts:yti,bounds:Vz,refblocks:FCe,circles:MCt}=V6,ACt=On({primitives:[...Object.values(TCt),...Object.values(MCt),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...FCe.left1,labels:["1"]},{...FCe.right1,labels:["2"]}],size:{width:Vz.width,height:Vz.height},center:{x:Vz.centerX,y:Vz.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),CCt=On(V6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:RCt,texts:gti,bounds:Gz,refblocks:BCe,circles:PCt}=V6,ICt=On({primitives:[...Object.values(RCt),...Object.values(PCt),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...BCe.left1,labels:["1"]},{...BCe.right1,labels:["2"]}],size:{width:Gz.width,height:Gz.height},center:{x:Gz.centerX,y:Gz.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),NCt=On(V6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:kCt,texts:bti,bounds:Yz,refblocks:UCe,circles:OCt}=V6,LCt=On({primitives:[...Object.values(kCt),...Object.values(OCt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...UCe.left1,labels:["1"]},{...UCe.right1,labels:["2"]}],size:{width:Yz.width,height:Yz.height},center:{x:Yz.centerX,y:Yz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:DCt,texts:xti,bounds:qz,refblocks:$Ce,circles:zCt}=V6,FCt=On({primitives:[...Object.values(DCt),...Object.values(zCt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...$Ce.left1,labels:["1"]},{...$Ce.right1,labels:["2"]}],size:{width:qz.width,height:qz.height},center:{x:qz.centerX,y:qz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Xz={paths:{path27:{type:"path",points:[{x:.52,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:.25},{x:.13,y:-.27}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:.25},{x:.07,y:-.28}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:.25},{x:-.14,y:-.27}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:.26},{x:-.08,y:-.27}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.21,y:.32},{x:.2,y:.32}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.69},{x:0,y:.33},{x:0,y:.32}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:-.21,y:.32},{x:-.21,y:.25}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.25}],color:"primary",fill:!1},"path43-9":{type:"path",points:[{x:.19,y:-.35},{x:-.22,y:-.35}],color:"primary",fill:!1},"path44-0-5":{type:"path",points:[{x:-.02,y:-.72},{x:-.02,y:-.36},{x:-.02,y:-.35}],color:"primary",fill:!1},"path43-8-1":{type:"path",points:[{x:.19,y:-.35},{x:.19,y:-.28}],color:"primary",fill:!1},"path43-8-8-9":{type:"path",points:[{x:-.22,y:-.35},{x:-.22,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,y:-.01}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"{REF}",x:.53,y:.28},right1:{type:"text",text:"{VAL}",x:.54,y:-.28}},refblocks:{top1:{x:0,y:.71},bottom1:{x:-.02,y:-.71},left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.74,maxY:.74,width:1.14,height:1.48,centerX:0,centerY:0},circles:{}},{paths:BCt,texts:vti,bounds:Wz,refblocks:Zz,circles:UCt}=Xz,$Ct=On({primitives:[...Object.values(BCt),...Object.values(UCt),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...Zz.left1,labels:["1"]},{...Zz.right1,labels:["3"]},{...Zz.bottom1,labels:["2"]},{...Zz.top1,labels:["4"]}],size:{width:Wz.width,height:Wz.height},center:{x:Wz.centerX,y:Wz.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),jCt=On(Xz).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),HCt=On(Xz).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),{paths:VCt,texts:wti,bounds:Kz,refblocks:Qz,circles:GCt}=Xz,YCt=On({primitives:[...Object.values(VCt),...Object.values(GCt),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...Qz.left1,labels:["1"]},{...Qz.right1,labels:["3"]},{...Qz.bottom1,labels:["2"]},{...Qz.top1,labels:["4"]}],size:{width:Kz.width,height:Kz.height},center:{x:Kz.centerX,y:Kz.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),Jz={paths:{path27:{type:"path",points:[{x:.52,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:-.28},{x:.13,y:.25}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:-.28},{x:.07,y:.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:-.28},{x:-.14,y:.25}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:-.28},{x:-.08,y:.25}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{VAL}",x:-.01,y:-.42},bottom1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.52,maxY:.43,width:1.16,height:1,centerX:0,centerY:-.04},circles:{}},{paths:qCt,texts:Sti,bounds:eF,refblocks:jCe,circles:XCt}=Jz,WCt=On({primitives:[...Object.values(qCt),...Object.values(XCt),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...jCe.left1,labels:["1"]},{...jCe.right1,labels:["2"]}],size:{width:eF.width,height:eF.height},center:{x:eF.centerX,y:eF.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),ZCt=On(Jz).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),KCt=On(Jz).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:QCt,texts:Eti,bounds:tF,refblocks:HCe,circles:JCt}=Jz,e7t=On({primitives:[...Object.values(QCt),...Object.values(JCt),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...HCe.left1,labels:["1"]},{...HCe.right1,labels:["2"]}],size:{width:tF.width,height:tF.height},center:{x:tF.centerX,y:tF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),G6={paths:{path11:{type:"path",points:[{x:1.99,y:-1.64},{x:2.1,y:-1.64}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:2.1,y:-1.48},{x:2.1,y:-1.8}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:2.22,y:-1.5},{x:2.11,y:-1.58}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:2.23,y:-1.78},{x:2.11,y:-1.7}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:2.23,y:-1.49},{x:2.23,y:-1.15}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.96},{x:2.23,y:-1.79}],color:"primary",fill:!1},"arrow-2":{type:"path",points:[{x:2.17,y:-1.7},{x:2.13,y:-1.76},{x:2.19,y:-1.76},{x:2.17,y:-1.7}],color:"primary",fill:!0},path1:{type:"path",points:[{x:1.6,y:-1.5},{x:1.86,y:-1.5}],color:"primary",fill:!1},path2:{type:"path",points:[{x:1.87,y:-1.34},{x:1.87,y:-1.66}],color:"primary",fill:!1},path3:{type:"path",points:[{x:1.99,y:-1.36},{x:1.87,y:-1.44}],color:"primary",fill:!1},path4:{type:"path",points:[{x:1.99,y:-1.64},{x:1.88,y:-1.56}],color:"primary",fill:!1},"arrow-1":{type:"path",points:[{x:1.94,y:-1.56},{x:1.89,y:-1.62},{x:1.96,y:-1.62},{x:1.94,y:-1.56}],color:"primary",fill:!0},path9:{type:"path",points:[{x:1.99,y:-1.35},{x:2.23,y:-1.36}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:1.88,y:-1.94},right1:{type:"text",text:"{REF}",x:1.88,y:-1.14}},refblocks:{right1:{x:2.23,y:-1.97},right2:{x:1.6,y:-1.5},right3:{x:2.23,y:-1.14}},bounds:{minX:1.58,maxX:2.35,minY:-1.98,maxY:-1.12,width:.77,height:.86,centerX:1.96,centerY:-1.55},circles:{"path1-0":{type:"circle",x:2.05,y:-1.54,radius:.3,color:"primary",fill:!1}}},t7t=On(G6).rotateRightFacingSymbol("down").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:0,y:.15}).build(),n7t=On(G6).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build(),i7t=On(G6).rotateRightFacingSymbol("left").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.8}).changeTextAnchor("{REF}","middle_left",{x:0,y:.8}).build(),r7t=On(G6).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build(),o7t=On(G6).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build(),s7t=On(G6).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build(),a7t={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:.09},{x:.12,y:.09}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}},{paths:c7t,texts:l7t,bounds:nF,refblocks:VCe,circles:u7t}=a7t,lee=fd({primitives:[...Object.values(c7t),...Object.values(u7t),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...l7t.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...VCe.left1,labels:["1"]},{...VCe.right1,labels:["2"]}],size:{width:nF.width,height:nF.height},center:{x:nF.centerX,y:nF.centerY}});function d7t(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function h7t(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:uee,2:dee,...p7t}=lee.primitives;d7t(dee)&&dee.points.map(t=>{t.y+=.05}),h7t(uee)&&(uee.y+=.025);function f7t(t){return typeof t=="object"}var GCe=Yi({...lee,primitives:Object.values(p7t).filter(f7t)}),m7t={...GCe,primitives:[...GCe.primitives,uee,dee]},Y6={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:-.14},{x:.12,y:-.14}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:_7t,bounds:iF,refblocks:YCe,circles:y7t}=Y6,g7t=On({primitives:[...Object.values(_7t),...Object.values(y7t),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...YCe.left1,labels:["1"]},{...YCe.right1,labels:["2"]}],size:{width:iF.width,height:iF.height},center:{x:iF.centerX,y:iF.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:b7t,bounds:rF,refblocks:qCe,circles:x7t}=Y6,v7t=On({primitives:[...Object.values(b7t),...Object.values(x7t),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...qCe.left1,labels:["1"]},{...qCe.right1,labels:["2"]}],size:{width:rF.width,height:rF.height},center:{x:rF.centerX,y:rF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:w7t,bounds:oF,refblocks:XCe,circles:S7t}=Y6,E7t=On({primitives:[...Object.values(w7t),...Object.values(S7t),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...XCe.left1,labels:["1"]},{...XCe.right1,labels:["2"]}],size:{width:oF.width,height:oF.height},center:{x:oF.centerX,y:oF.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:T7t,bounds:sF,refblocks:WCe,circles:M7t}=Y6,A7t=On({primitives:[...Object.values(T7t),...Object.values(M7t),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...WCe.left1,labels:["1"]},{...WCe.right1,labels:["2"]}],size:{width:sF.width,height:sF.height},center:{x:sF.centerX,y:sF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:C7t,bounds:aF,refblocks:ZCe,circles:R7t}=Y6,P7t=On({primitives:[...Object.values(C7t),...Object.values(R7t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ZCe.left1,labels:["1"]},{...ZCe.right1,labels:["2"]}],size:{width:aF.width,height:aF.height},center:{x:aF.centerX,y:aF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:I7t,bounds:cF,refblocks:KCe,circles:N7t}=Y6,k7t=On({primitives:[...Object.values(I7t),...Object.values(N7t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...KCe.left1,labels:["1"]},{...KCe.right1,labels:["2"]}],size:{width:cF.width,height:cF.height},center:{x:cF.centerX,y:cF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),q6={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}},O7t=On(q6).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:-.03,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.2}).build(),L7t=On(q6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build(),D7t=On(q6).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.8}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.9}).build(),z7t=On(q6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build(),F7t=On(q6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build(),B7t=On(q6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build(),lF={paths:{triangle:{type:"path",points:[{x:-.06,y:-.09},{x:-.06,y:.09},{x:.06,y:0},{x:-.06,y:-.09}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.11,y:0},{x:-.06,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:-.11,y:0}},bounds:{centerX:0,centerY:0}},{paths:U7t,bounds:QCe,refblocks:$7t}=lF,j7t=On({primitives:[...Object.values(U7t),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...$7t.left1,labels:["1"]}],center:{x:QCe.centerX,y:QCe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),{paths:H7t,bounds:JCe,refblocks:V7t}=lF,G7t=On({primitives:[...Object.values(H7t),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...V7t.left1,labels:["1"]}],center:{x:JCe.centerX,y:JCe.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),{paths:Y7t,bounds:e7e,refblocks:q7t}=lF,X7t=On({primitives:[...Object.values(Y7t),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...q7t.left1,labels:["1"]}],center:{x:e7e.centerX,y:e7e.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),{paths:W7t,bounds:t7e,refblocks:Z7t}=lF,K7t=On({primitives:[...Object.values(W7t),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Z7t.left1,labels:["1"]}],center:{x:t7e.centerX,y:t7e.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Q7t={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},uF=On(Q7t).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),J7t=Yi(uF,"down"),eRt=Yi(uF,"left"),tRt=Yi(uF,"up"),nRt={paths:{path1:{type:"path",points:[{x:-.35,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-2":{type:"path",points:[{x:-.07,y:.22},{x:.11,y:.16}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-5":{type:"path",points:[{x:-.07,y:-.19},{x:.1,y:-.24}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.2},{x:0,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.56},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}},dF=On(nRt).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),hee=Yi(dF,"down"),pee=hee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fee=hee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pee.anchor="middle_bottom",fee.anchor="middle_top",pee.x=0,pee.y+=.537,fee.y-=.5375,fee.x=0;var iRt=hee,mee=Yi(dF,"left"),_ee=mee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yee=mee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_ee.anchor="middle_bottom",yee.anchor="middle_top",_ee.x=0,_ee.y+=1,yee.y-=1,yee.x=0;var rRt=mee,gee=Yi(dF,"up"),bee=gee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xee=gee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bee.anchor="middle_bottom",xee.anchor="middle_top",bee.x=0,bee.y+=.537,xee.y-=.5375,xee.x=0;var oRt=gee,sRt={paths:{path1:{type:"path",points:[{x:-.35,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.23},{x:.11,y:.33}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-6":{type:"path",points:[{x:-.07,y:-.18},{x:.11,y:-.07}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.12},{x:0,y:.27}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.61},bottom1:{type:"text",text:"{VAL}",x:0,y:-.52}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}},hF=On(sRt).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),vee=Yi(hF,"down"),wee=vee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),See=vee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wee.anchor="middle_bottom",See.anchor="middle_top",wee.x=0,wee.y+=.565,See.y-=.555,See.x=0;var aRt=vee,Eee=Yi(hF,"left"),Tee=Eee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mee=Eee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tee.anchor="middle_bottom",Mee.anchor="middle_top",Tee.x=0,Tee.y+=1.09,Mee.y-=1.09,Mee.x=0;var cRt=Eee,Aee=Yi(hF,"up"),Cee=Aee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ree=Aee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cee.anchor="middle_bottom",Ree.anchor="middle_top",Cee.x=0,Cee.y+=.565,Ree.y-=.555,Ree.x=0;var lRt=Aee,uRt={paths:{path11:{type:"path",points:[{x:-.36,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.11,y:.11}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.17},{x:.11,y:-.12}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.37,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.31}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}},pF=On(uRt).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Pee=Yi(pF,"down"),Iee=Pee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Nee=Pee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Iee.anchor="middle_bottom",Nee.anchor="middle_top",Iee.x=.4,Iee.y+=.265,Nee.y-=.265,Nee.x=.4;var dRt=Pee,kee=Yi(pF,"left"),Oee=kee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Lee=kee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Oee.anchor="middle_bottom",Lee.anchor="middle_top",Oee.x=0,Oee.y+=.67,Lee.y-=.67,Lee.x=0;var hRt=kee,Dee=Yi(pF,"up"),zee=Dee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fee=Dee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zee.anchor="middle_bottom",Fee.anchor="middle_top",zee.x=.46,zee.y+=.265,Fee.y-=.265,Fee.x=.46;var pRt=Dee,fRt={paths:{path11:{type:"path",points:[{x:-.36,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.1,y:.2}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.16},{x:.1,y:-.03}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.37,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}},fF=On(fRt).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Bee=Yi(fF,"down"),Uee=Bee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$ee=Bee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Uee.anchor="middle_bottom",$ee.anchor="middle_top",Uee.x=.4,Uee.y+=.295,$ee.y-=.295,$ee.x=.42;var mRt=Bee,jee=Yi(fF,"left"),Hee=jee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vee=jee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hee.anchor="middle_bottom",Vee.anchor="middle_top",Hee.x=0,Hee.y+=.795,Vee.y-=.795,Vee.x=0;var _Rt=jee,Gee=Yi(fF,"up"),Yee=Gee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qee=Gee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yee.anchor="middle_bottom",qee.anchor="middle_top",Yee.x=.46,Yee.y+=.315,qee.y-=.315,qee.x=.46;var yRt=Gee,n7e={paths:{path5:{type:"path",points:[{x:-.42,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.43,y:0}],color:"primary",fill:!1},path9:{type:"path",points:[{x:-.25,y:-.16},{x:.02,y:.3},{x:.25,y:.17},{x:-.02,y:-.29},{x:-.25,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.44,y:0},right1:{x:.44,y:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}},{paths:gRt,texts:Tti,bounds:mF,refblocks:i7e,circles:bRt}=n7e,r7e=On({primitives:[...Object.values(gRt),...Object.values(bRt),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...i7e.left1,labels:["1"]},{...i7e.right1,labels:["2"]}],size:{width:mF.width,height:mF.height},center:{x:mF.centerX,y:mF.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Xee=_z(r7e),Wee=Xee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zee=Xee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wee.anchor="middle_left",Zee.anchor="middle_left",Wee.y+=.4,Wee.x=.32,Zee.y-=.45,Zee.x=.32;var xRt=Xee,o7e=On(n7e).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),vRt=yP(o7e),X6={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.46,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.14,y:-.15},{x:.14,y:.25}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.22,y:.25},{x:-.21,y:-.15},{x:.14,y:.05},{x:-.22,y:.25}],color:"primary",fill:!0}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{width:1.18,height:.76,centerX:0,centerY:0},circles:{}},{paths:wRt,bounds:_F,refblocks:s7e,circles:SRt}=X6,ERt=On({primitives:[...Object.values(wRt),...Object.values(SRt),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...s7e.left1,labels:["1"]},{...s7e.right1,labels:["2"]}],size:{width:_F.width,height:_F.height},center:{x:_F.centerX,y:_F.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:TRt,bounds:yF,refblocks:a7e,circles:MRt}=X6,ARt=On({primitives:[...Object.values(TRt),...Object.values(MRt),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...a7e.left1,labels:["1"]},{...a7e.right1,labels:["2"]}],size:{width:yF.width,height:yF.height},center:{x:yF.centerX,y:yF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:CRt,bounds:gF,refblocks:c7e,circles:RRt}=X6,PRt=On({primitives:[...Object.values(CRt),...Object.values(RRt),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...c7e.left1,labels:["1"]},{...c7e.right1,labels:["2"]}],size:{width:gF.width,height:gF.height},center:{x:gF.centerX,y:gF.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:IRt,bounds:bF,refblocks:l7e,circles:NRt}=X6,kRt=On({primitives:[...Object.values(IRt),...Object.values(NRt),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...l7e.left1,labels:["1"]},{...l7e.right1,labels:["2"]}],size:{width:bF.width,height:bF.height},center:{x:bF.centerX,y:bF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:ORt,bounds:xF,refblocks:u7e,circles:LRt}=X6,DRt=On({primitives:[...Object.values(ORt),...Object.values(LRt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...u7e.left1,labels:["1"]},{...u7e.right1,labels:["2"]}],size:{width:xF.width,height:xF.height},center:{x:xF.centerX,y:xF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:zRt,bounds:vF,refblocks:d7e,circles:FRt}=X6,BRt=On({primitives:[...Object.values(zRt),...Object.values(FRt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...d7e.left1,labels:["1"]},{...d7e.right1,labels:["2"]}],size:{width:vF.width,height:vF.height},center:{x:vF.centerX,y:vF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),URt={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:$Rt,texts:jRt,bounds:wF,refblocks:h7e,circles:HRt}=URt,Kee=fd({primitives:[...Object.values($Rt),...Object.values(HRt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...jRt.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...h7e.left1,labels:["1"]},{...h7e.right1,labels:["2"]}],size:{width:wF.width,height:wF.height},center:{x:wF.centerX,y:wF.centerY}}),{5:VRt,...GRt}=Kee.primitives;function YRt(t){return typeof t=="object"}var p7e=Yi({...Kee,primitives:Object.values(GRt).filter(YRt)}),qRt={...p7e,primitives:[...p7e.primitives,VRt]},XRt={paths:{path10:{type:"path",points:[{x:-.53,y:.04},{x:.53,y:.04}],color:"primary",fill:!1},path14:{type:"path",points:[{x:0,y:.17},{x:.27,y:.17},{x:.27,y:-.1},{x:-.26,y:-.1},{x:-.26,y:.17},{x:0,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{width:1.13,height:.47,centerX:0,centerY:0}},{paths:WRt,texts:ZRt,bounds:SF,refblocks:f7e}=XRt,m7e=fd({primitives:[...Object.values(WRt),{...ZRt.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...f7e.left1,labels:["1"]},{...f7e.right1,labels:["2"]}],size:{width:SF.width,height:SF.height},center:{x:SF.centerX,y:SF.centerY}}),KRt=Yi(m7e),W6={paths:{path1:{type:"path",points:[{x:-.29,y:0},{x:.04,y:0}],color:"primary",fill:!0},path2:{type:"path",points:[{x:.04,y:-.22},{x:.04,y:.22}],color:"primary",fill:!0},path3:{type:"path",points:[{x:.12,y:-.17},{x:.12,y:.17}],color:"primary",fill:!0},path4:{type:"path",points:[{x:.19,y:-.06},{x:.19,y:.06}],color:"primary",fill:!0}},texts:{right1:{type:"text",text:"{REF}",x:.31,y:-.02}},refblocks:{left1:{x:-.29,y:.01}},bounds:{minX:-.31,maxX:.31,minY:-.22,maxY:.22,width:.62,height:.45,centerX:0,centerY:0},circles:{}},QRt=On(W6).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),JRt=On(W6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),ePt=On(W6).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),tPt=On(W6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),nPt=On(W6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),iPt=On(W6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Qee={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.51,y:.04}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.31,y:.2},{x:-.31,y:-.11},{x:-.01,y:.04},{x:-.3,y:.2}],color:"primary",fill:!0},"path11-0-9-5":{type:"path",points:[{x:.33,y:.2},{x:.33,y:-.1},{x:.04,y:.04},{x:.33,y:.2}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.04,y:.32},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.32}},refblocks:{left1:{x:-.52,y:.03},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.32,maxY:.32,width:1.09,height:.63,centerX:0,centerY:0},circles:{}},{paths:Mti,texts:Ati,bounds:Cti,refblocks:Rti,circles:Pti}=Qee,rPt=On(Qee).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),oPt=On(Qee).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),sPt={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.3,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1},box:{type:"path",points:[{x:-.3,y:-.4},{x:.3,y:-.4},{x:.3,y:.4},{x:-.3,y:.4},{x:-.3,y:-.4},{x:-.3,y:.4}],color:"primary",fill:!1},"path48-1":{type:"path",points:[{x:-.3,y:.13},{x:-.54,y:.13}],color:"primary",fill:!1},"path48-2":{type:"path",points:[{x:-.3,y:-.13},{x:-.54,y:-.13}],color:"primary",fill:!1},"path48-3":{type:"path",points:[{x:.3,y:-.13},{x:.54,y:-.13}],color:"primary",fill:!1},"path48-4":{type:"path",points:[{x:.3,y:.13},{x:.54,y:.13}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.43},right1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.54,y:.13},left2:{x:-.54,y:-.13},right1:{x:.54,y:-.13},right2:{x:.54,y:.13}},bounds:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}},EF=On(sPt).labelPort("left1",["1","DIN"]).labelPort("left2",["2","POWER"]).labelPort("right1",["3","GND"]).labelPort("right2",["4","DOUT"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),aPt=Yi(EF,"down"),cPt=yP(EF),Jee=Yi(EF,"up"),ete=Jee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tte=Jee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ete.anchor="middle_left",tte.anchor="middle_left",ete.y+=.21,ete.x=.44,tte.y-=.21,tte.x=.44;var lPt=Jee,uPt={paths:{path11:{type:"path",points:[{x:-.39,y:0},{x:-.01,y:0}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.01,y:-.12},{x:.01,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.28,y:-.25},{x:.28,y:-.54}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.54},{x:.28,y:.27}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.17,y:-.22},{x:.28,y:-.23},{x:.23,y:-.14}],color:"primary",fill:!0},path17:{type:"path",points:[{x:.08,y:-.09},{x:.23,y:-.2}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.28,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.36},bottom1:{type:"text",text:"{VAL}",x:.02,y:-.42}},refblocks:{top1:{x:.28,y:.56},bottom1:{x:.28,y:-.56},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.17,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:.01,radius:.29,color:"primary",fill:!1}}},_7e=On(uPt).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build(),nte=Yi(_7e),ite=nte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),y7e=nte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ite.anchor="middle_left",y7e.anchor="middle_right",ite.x=.45,ite.y+=.065,y7e.y+=.065;var dPt=nte,hPt={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.02,y:-.02},{x:.02,y:-.1}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.49,y:-.19},{x:-.17,y:-.19}],color:"primary",fill:!1},"path12-1-5-6-8":{type:"path",points:[{x:.02,y:.17},{x:.02,y:.11}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.15,y:-.03},{x:.2,y:-.19}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.19},{x:.49,y:-.19}],color:"primary",fill:!1},"path12-1-8-6-9-4":{type:"path",points:[{x:.02,y:.12},{x:.02,y:.02}],color:"primary",fill:!1},"path12-1-8-6-9-4-3":{type:"path",points:[{x:.08,y:.11},{x:.08,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-3-1":{type:"path",points:[{x:-.04,y:.11},{x:-.04,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-4":{type:"path",points:[{x:.08,y:.11},{x:-.04,y:.11}],color:"primary",fill:!1},"path14-5":{type:"path",points:[{x:-.01,y:.28},{x:.01,y:.25},{x:.04,y:.23},{x:.06,y:.2}],color:"primary",fill:!0},"path14-5-3":{type:"path",points:[{x:-.01,y:.2},{x:.01,y:.23},{x:.04,y:.25},{x:.06,y:.28}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.38},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.38}},refblocks:{left1:{x:-.47,y:-.19},right1:{x:.47,y:-.19}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.38,width:1,height:.76,centerX:0,centerY:0},circles:{path9:{type:"circle",x:.02,y:.24,radius:.06,color:"primary",fill:!1}}},g7e=On(hPt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),b7e=Yi(g7e),x7e=b7e.primitives.filter(t=>t.type==="text"),rte=x7e.find(t=>t.text==="{VAL}");rte.x=-.35,rte.y=0,rte.anchor="middle_right";var ote=x7e.find(t=>t.text==="{REF}");ote.y=0,ote.x=.35,ote.anchor="middle_left";var pPt=b7e,fPt={paths:{path8698:{type:"path",points:[{x:-.2,y:-.02},{x:-.2,y:-.02},{x:-.21,y:-.01},{x:-.21,y:-.01},{x:-.21,y:0},{x:-.21,y:0},{x:-.21,y:0},{x:-.22,y:.01},{x:-.22,y:.01},{x:-.22,y:.02},{x:-.22,y:.02},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.04},{x:-.24,y:.04},{x:-.24,y:.04},{x:-.24,y:.05},{x:-.24,y:.05},{x:-.25,y:.05},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.26,y:.06},{x:-.26,y:.06},{x:-.26,y:.07},{x:-.26,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.29,y:.07},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.31,y:.08},{x:-.31,y:.08},{x:-.31,y:.07},{x:-.31,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.34,y:.07},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.35,y:.06},{x:-.35,y:.06},{x:-.35,y:.05},{x:-.35,y:.05},{x:-.36,y:.05},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.02},{x:-.38,y:.02},{x:-.38,y:.01},{x:-.38,y:.01},{x:-.38,y:0},{x:-.39,y:0},{x:-.39,y:0},{x:-.39,y:-.01},{x:-.39,y:-.01},{x:-.4,y:-.02},{x:-.4,y:-.02}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:0,y:-.02},{x:0,y:-.02},{x:-.01,y:-.01},{x:-.01,y:-.01},{x:-.01,y:0},{x:-.01,y:0},{x:-.02,y:0},{x:-.02,y:.01},{x:-.02,y:.01},{x:-.02,y:.02},{x:-.03,y:.02},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.05},{x:-.05,y:.05},{x:-.05,y:.05},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.09,y:.07},{x:-.09,y:.07},{x:-.09,y:.08},{x:-.09,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.14,y:.07},{x:-.14,y:.07},{x:-.14,y:.06},{x:-.14,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.05},{x:-.16,y:.05},{x:-.16,y:.05},{x:-.16,y:.04},{x:-.16,y:.04},{x:-.17,y:.04},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.18,y:.02},{x:-.18,y:.02},{x:-.18,y:.01},{x:-.18,y:.01},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:-.01},{x:-.2,y:-.01},{x:-.2,y:-.02},{x:-.2,y:-.02}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2,y:-.02},{x:.2,y:-.02},{x:.19,y:-.01},{x:.19,y:-.01},{x:.19,y:0},{x:.19,y:0},{x:.18,y:0},{x:.18,y:.01},{x:.18,y:.01},{x:.18,y:.02},{x:.17,y:.02},{x:.17,y:.03},{x:.17,y:.03},{x:.17,y:.03},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.05},{x:.15,y:.05},{x:.15,y:.05},{x:.15,y:.06},{x:.15,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.06,y:.07},{x:.06,y:.07},{x:.06,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.05},{x:.04,y:.05},{x:.04,y:.05},{x:.04,y:.04},{x:.04,y:.04},{x:.03,y:.04},{x:.03,y:.03},{x:.03,y:.03},{x:.03,y:.03},{x:.02,y:.02},{x:.02,y:.02},{x:.02,y:.01},{x:.02,y:.01},{x:.01,y:0},{x:.01,y:0},{x:.01,y:0},{x:.01,y:-.01},{x:0,y:-.01},{x:0,y:-.02},{x:0,y:-.02}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.4,y:-.02},{x:.39,y:-.02},{x:.39,y:-.01},{x:.39,y:-.01},{x:.39,y:0},{x:.39,y:0},{x:.38,y:0},{x:.38,y:.01},{x:.38,y:.01},{x:.38,y:.02},{x:.37,y:.02},{x:.37,y:.03},{x:.37,y:.03},{x:.37,y:.03},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.05},{x:.35,y:.05},{x:.35,y:.05},{x:.35,y:.06},{x:.35,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.31,y:.07},{x:.31,y:.07},{x:.31,y:.08},{x:.31,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.26,y:.07},{x:.26,y:.07},{x:.26,y:.06},{x:.26,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.05},{x:.24,y:.05},{x:.24,y:.05},{x:.24,y:.04},{x:.24,y:.04},{x:.23,y:.04},{x:.23,y:.03},{x:.23,y:.03},{x:.23,y:.03},{x:.22,y:.02},{x:.22,y:.02},{x:.22,y:.01},{x:.22,y:.01},{x:.21,y:0},{x:.21,y:0},{x:.21,y:0},{x:.21,y:-.01},{x:.2,y:-.01},{x:.2,y:-.02},{x:.2,y:-.02}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.4,y:-.02},{x:-.53,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.53,y:-.03},{x:.4,y:-.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.23},bottom1:{type:"text",text:"{VAL}",x:0,y:-.23}},refblocks:{left1:{x:-.55,y:-.02},right1:{x:.55,y:-.03}},bounds:{width:1.16,height:.46,centerX:0,centerY:0},circles:{}},{paths:mPt,texts:v7e,bounds:TF,refblocks:w7e,circles:_Pt}=fPt,ste=fd({primitives:[...Object.values(mPt),...Object.values(_Pt),{...v7e.top1,anchor:"middle_bottom"},{...v7e.bottom1,anchor:"middle_top"}],ports:[{...w7e.left1,labels:["1"]},{...w7e.right1,labels:["2"]}],size:{width:TF.width,height:TF.height},center:{x:TF.centerX,y:TF.centerY}}),S7e=Yi(ste,"up"),yPt=_z(S7e),gPt=yP(ste),E7e={paths:{path11:{type:"path",points:[{x:-.53,y:-.06},{x:-.15,y:-.06}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:-.05},{x:-.13,y:-.18}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.08},{x:.13,y:-.05}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.18},{x:-.13,y:.08}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.08},{x:.13,y:-.18}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:-.05},{x:.53,y:-.06}],color:"primary",fill:!1},"path25-0-9-8":{type:"path",points:[{x:-.03,y:.39},{x:-.05,y:.47},{x:-.08,y:.39}],color:"primary",fill:!0},"path78-6-5-5":{type:"path",points:[{x:-.05,y:.27},{x:-.05,y:.29},{x:-.05,y:.41},{x:-.05,y:.42}],color:"primary",fill:!1},"path25-0-9-8-2":{type:"path",points:[{x:.07,y:.39},{x:.04,y:.47},{x:.02,y:.39}],color:"primary",fill:!0},"path78-6-5-5-7":{type:"path",points:[{x:.04,y:.27},{x:.04,y:.29},{x:.04,y:.41},{x:.04,y:.42}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:.03,y:.06},{x:.03,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.38,y:.38},bottom1:{type:"text",text:"{VAL}",x:.38,y:-.47}},refblocks:{left1:{x:-.54,y:-.06},right1:{x:.54,y:-.06}},bounds:{minX:-.57,maxX:.57,minY:-.47,maxY:.47,width:1.14,height:.93,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.05,radius:.29,color:"primary",fill:!1}}};E7e.bounds.width+=.2;var MF=On(E7e).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),ate=Yi(MF,"down"),cte=ate.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),lte=ate.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cte.anchor="middle_left",lte.anchor="middle_left",cte.y+=.9,cte.x=.3,lte.y-=.1,lte.x=.3;var bPt=ate,ute=Yi(MF,"left"),dte=ute.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hte=ute.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dte.anchor="middle_left",hte.anchor="middle_left",dte.y+=.71,dte.x=.44,hte.y-=.71,hte.x=.44;var xPt=ute,pte=Yi(MF,"up"),fte=pte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mte=pte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fte.anchor="middle_left",mte.anchor="middle_left",fte.y+=.1,fte.x=.3,mte.y-=.71,mte.x=.3;var vPt=pte,wPt={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.53,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.53,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.21},right1:{type:"text",text:"{REF}",x:0,y:.41}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.13,height:.65,centerX:0,centerY:0},circles:{}},{paths:SPt,texts:T7e,bounds:AF,refblocks:M7e,circles:EPt}=wPt,_te=fd({primitives:[...Object.values(SPt),...Object.values(EPt),{...T7e.bottom1,anchor:"middle_top"},{...T7e.right1,anchor:"middle_bottom"}],ports:[{...M7e.left1,labels:["1"]},{...M7e.right1,labels:["2"]}],size:{width:AF.width,height:AF.height},center:{x:AF.centerX,y:AF.centerY}}),yte=Yi(_te,"up"),gte=yte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bte=yte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gte.anchor="middle_left",bte.anchor="middle_left",gte.y+=.21,gte.x=.21,bte.y-=.21,bte.x=.21;var A7e=yte,xte=_z(A7e),vte=xte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wte=xte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vte.anchor="middle_left",wte.anchor="middle_left",vte.y+=.4,vte.x=.2,wte.y-=.41,wte.x=.2;var TPt=xte,MPt=yP(_te),APt={paths:{path11:{type:"path",points:[{x:-.51,y:-.01},{x:-.18,y:-.01}],color:"primary",fill:!1},"path11-2":{type:"path",points:[{x:-.17,y:-.11},{x:-.17,y:.08}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.17,y:-.12},{x:.16,y:-.12}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:-.17,y:.08},{x:.16,y:.08}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.17,y:-.01},{x:.51,y:-.01}],color:"primary",fill:!1},"path11-2-1":{type:"path",points:[{x:.16,y:-.12},{x:.16,y:.08}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:-.4,y:-.21},{x:-.33,y:-.18},{x:-.34,y:-.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:-.45,y:-.34},{x:-.44,y:-.32},{x:-.35,y:-.22},{x:-.35,y:-.22}],color:"primary",fill:!1},"path25-0-9-0":{type:"path",points:[{x:-.3,y:-.34},{x:-.22,y:-.31},{x:-.24,y:-.4}],color:"primary",fill:!0},"path78-6-5-9":{type:"path",points:[{x:-.35,y:-.46},{x:-.34,y:-.45},{x:-.25,y:-.35},{x:-.25,y:-.35}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:-.41},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.46}},refblocks:{left1:{x:-.52,y:-.01},right1:{x:.52,y:-.01}},bounds:{width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}},{paths:CPt,texts:C7e,bounds:CF,refblocks:R7e,circles:RPt}=APt,P7e=fd({primitives:[...Object.values(CPt),...Object.values(RPt),{...C7e.top1,anchor:"middle_left",x:0},{...C7e.bottom1,anchor:"middle_left",x:0}],ports:[{...R7e.left1,labels:["1"]},{...R7e.right1,labels:["2"]}],size:{width:CF.width,height:CF.height},center:{x:CF.centerX,y:CF.centerY}}),I7e=Yi(P7e),N7e=I7e.primitives.filter(t=>t.type==="text"),Ste=N7e.find(t=>t.text==="{VAL}");Ste.x=-.35,Ste.y=0,Ste.anchor="middle_right";var Ete=N7e.find(t=>t.text==="{REF}");Ete.y=0,Ete.x=.35,Ete.anchor="middle_left";var PPt=I7e,IPt={paths:{path208:{type:"path",points:[{x:.38,y:.13},{x:.52,y:-.13}],color:"primary",fill:!1},path209:{type:"path",points:[{x:.25,y:-.13},{x:.38,y:.13}],color:"primary",fill:!1},path210:{type:"path",points:[{x:.52,y:-.13},{x:.25,y:-.13}],color:"primary",fill:!1},path211:{type:"path",points:[{x:.25,y:.13},{x:.52,y:.13}],color:"primary",fill:!1},path212:{type:"path",points:[{x:.12,y:-.4},{x:.38,y:-.4}],color:"primary",fill:!1},path213:{type:"path",points:[{x:.38,y:.4},{x:.12,y:.4}],color:"primary",fill:!1},path214:{type:"path",points:[{x:.12,y:.53},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.53},{x:.12,y:0}],color:"primary",fill:!1},path216:{type:"path",points:[{x:.38,y:-.4},{x:.38,y:.4}],color:"primary",fill:!1},path217:{type:"path",points:[{x:-.14,y:.26},{x:-.14,y:-.27}],color:"primary",fill:!1},path218:{type:"path",points:[{x:-.22,y:-.27},{x:-.22,y:.26}],color:"primary",fill:!1},path219:{type:"path",points:[{x:-.54,y:-.27},{x:-.22,y:-.27}],color:"primary",fill:!1},path220:{type:"path",points:[{x:-.14,y:-.19},{x:.12,y:-.19}],color:"primary",fill:!1},path221:{type:"path",points:[{x:-.14,y:.18},{x:.12,y:.18}],color:"primary",fill:!1},path222:{type:"path",points:[{x:-.07,y:0},{x:.12,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{VAL}",x:.57,y:.02},right2:{type:"text",text:"{REF}",x:.57,y:.21}},refblocks:{top1:{x:.12,y:.54},bottom1:{x:.12,y:-.54},left1:{x:-.54,y:-.27}},bounds:{width:1.14,height:1.14,centerX:0,centerY:0}},{paths:NPt,texts:k7e,bounds:RF,refblocks:Tte}=IPt,O7e=fd({primitives:[...Object.values(NPt),{...k7e.right1,anchor:"middle_left"},{...k7e.right2,anchor:"middle_left"}],ports:[{...Tte.top1,labels:["1"]},{...Tte.bottom1,labels:["2"]},{...Tte.left1,labels:["3"]}],size:{width:RF.width+.4,height:RF.height},center:{x:RF.centerX+.2,y:RF.centerY}}),Mte=Yi(O7e),L7e=Mte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ate=Mte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");L7e.anchor="middle_top",Ate.anchor="middle_top",L7e.x=Ate.x,Ate.y+=.15;var kPt=Mte,OPt={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.01,y:.07},{x:.01,y:-.01}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.49,y:-.09},{x:-.17,y:-.09}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.16,y:-.01},{x:.17,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.09},{x:.49,y:-.09}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.1,y:.06},{x:-.1,y:.06},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.09,y:.09},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.11},{x:-.09,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.05,y:.14},{x:-.05,y:.15},{x:-.05,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.01,y:.16},{x:-.01,y:.16},{x:0,y:.16},{x:0,y:.16},{x:0,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.05,y:.15},{x:.05,y:.15},{x:.05,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.08,y:.14},{x:.08,y:.13},{x:.08,y:.13},{x:.08,y:.13},{x:.09,y:.13},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.1,y:.11},{x:.1,y:.11},{x:.1,y:.1},{x:.1,y:.1},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.06},{x:.11,y:.06},{x:.1,y:.06},{x:.1,y:.06},{x:.09,y:.06},{x:.09,y:.06},{x:.08,y:.06},{x:.07,y:.06},{x:.07,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.04,y:.06},{x:.03,y:.06},{x:.03,y:.06},{x:.02,y:.06},{x:.01,y:.06},{x:.01,y:.06},{x:0,y:.06},{x:-.01,y:.06},{x:-.01,y:.06},{x:-.02,y:.06},{x:-.03,y:.06},{x:-.03,y:.06},{x:-.04,y:.06},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.07,y:.06},{x:-.07,y:.06},{x:-.08,y:.06},{x:-.09,y:.06},{x:-.09,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.27}},refblocks:{left1:{x:-.47,y:-.09},right1:{x:.47,y:-.09}},bounds:{width:1,height:.53,centerX:0,centerY:0},circles:{}},{paths:LPt,texts:D7e,bounds:PF,refblocks:z7e,circles:DPt}=OPt,F7e=fd({primitives:[...Object.values(LPt),...Object.values(DPt),{...D7e.top1,anchor:"middle_bottom",x:0},{...D7e.bottom1,anchor:"middle_top",x:0}],ports:[{...z7e.left1,labels:["1"]},{...z7e.right1,labels:["2"]}],size:{width:PF.width,height:PF.height},center:{x:PF.centerX+.006,y:PF.centerY+.06}}),Cte=Yi(F7e),gP=Cte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),IF=Cte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gP.anchor="middle_left",IF.anchor="middle_right",gP.x=gP.x-.03,gP.y=gP.y,IF.x=IF.x,IF.y=0;var zPt=Cte,FPt={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:BPt,texts:B7e,bounds:NF,refblocks:Rte,circles:UPt}=FPt,U7e=fd({primitives:[...Object.values(BPt),...Object.values(UPt),{...B7e.top1,anchor:"middle_right",x:0},{...B7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Rte.top1,labels:["1","drain"]},{...Rte.bottom1,labels:["2","source"]},{...Rte.left1,labels:["3","gate"]}],size:{width:NF.width,height:NF.height},center:{x:NF.centerX,y:NF.centerY}}),$7e=Yi(U7e),j7e=$7e.primitives.filter(t=>t.type==="text"),Pte=j7e.find(t=>t.text==="{VAL}");Pte.x=-.35,Pte.y=0,Pte.anchor="middle_right";var Ite=j7e.find(t=>t.text==="{REF}");Ite.y=0,Ite.x=.35,Ite.anchor="middle_left";var $Pt=$7e,jPt={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:HPt,texts:H7e,bounds:kF,refblocks:Nte,circles:VPt}=jPt,V7e=fd({primitives:[...Object.values(HPt),...Object.values(VPt),{...H7e.top1,anchor:"middle_right",x:0},{...H7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Nte.top1,labels:["1","drain"]},{...Nte.bottom1,labels:["2","source"]},{...Nte.left1,labels:["3","gate"]}],size:{width:kF.width,height:kF.height},center:{x:kF.centerX,y:kF.centerY}}),G7e=Yi(V7e),Y7e=G7e.primitives.filter(t=>t.type==="text"),kte=Y7e.find(t=>t.text==="{VAL}");kte.x=-.35,kte.y=0,kte.anchor="middle_right";var Ote=Y7e.find(t=>t.text==="{REF}");Ote.y=0,Ote.x=.35,Ote.anchor="middle_left";var GPt=G7e,YPt={paths:{path11:{type:"path",points:[{x:-.39,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.07},{x:.01,y:0},{x:-.08,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:qPt,texts:q7e,bounds:OF,refblocks:Lte,circles:XPt}=YPt,X7e=fd({primitives:[...Object.values(qPt),...Object.values(XPt),{...q7e.top1,anchor:"middle_right",x:0},{...q7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Lte.top1,labels:["1","drain"]},{...Lte.bottom1,labels:["2","source"]},{...Lte.left1,labels:["3","gate"]}],size:{width:OF.width,height:OF.height},center:{x:OF.centerX,y:OF.centerY}}),W7e=Yi(X7e),Z7e=W7e.primitives.filter(t=>t.type==="text"),Dte=Z7e.find(t=>t.text==="{VAL}");Dte.x=-.35,Dte.y=0,Dte.anchor="middle_right";var zte=Z7e.find(t=>t.text==="{REF}");zte.y=0,zte.x=.35,zte.anchor="middle_left";var WPt=W7e,ZPt={paths:{diag1:{type:"path",points:[{x:-.1,y:-.1},{x:.1,y:.1}],color:"primary",fill:!1},diag2:{type:"path",points:[{x:-.1,y:.1},{x:.1,y:-.1}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:-.2,y:0}},bounds:{centerX:0,centerY:0}},{paths:KPt,bounds:K7e,refblocks:QPt}=ZPt,LF=On({primitives:[...Object.values(KPt)],ports:[{...QPt.left1,labels:["1"]}],center:{x:K7e.centerX,y:K7e.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build(),JPt=Yi(LF,"down"),eIt=Yi(LF,"left"),tIt=Yi(LF,"up"),zT={paths:{path11:{type:"path",points:[{x:-.39,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.19,y:-.1},{x:.12,y:-.2},{x:.22,y:-.2},{x:.19,y:-.1}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.36},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:nIt,texts:Iti,bounds:DF,refblocks:Fte,circles:iIt}=zT,rIt=On({primitives:[...Object.values(nIt),...Object.values(iIt),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Fte.top1,labels:["1","collector"]},{...Fte.bottom1,labels:["2","emitter"]},{...Fte.left1,labels:["3","base"]}],size:{width:DF.width,height:DF.height},center:{x:DF.centerX,y:DF.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build(),{paths:Nti,texts:kti,bounds:Oti,refblocks:Lti,circles:Dti}=zT,oIt=On(zT).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build(),{paths:sIt,texts:zti,bounds:zF,refblocks:Bte,circles:aIt}=zT,cIt=On({primitives:[...Object.values(sIt),...Object.values(aIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Bte.top1,labels:["1","collector"]},{...Bte.bottom1,labels:["2","emitter"]},{...Bte.left1,labels:["3","base"]}],size:{width:zF.width,height:zF.height},center:{x:zF.centerX,y:zF.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build(),{paths:lIt,texts:Fti,bounds:FF,refblocks:Ute,circles:uIt}=zT,dIt=On({primitives:[...Object.values(lIt),...Object.values(uIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Ute.top1,labels:["1","collector"]},{...Ute.bottom1,labels:["2","emitter"]},{...Ute.left1,labels:["3","base"]}],size:{width:FF.width,height:FF.height},center:{x:FF.centerX,y:FF.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build(),{paths:hIt,texts:Bti,bounds:BF,refblocks:$te,circles:pIt}=zT,fIt=On({primitives:[...Object.values(hIt),...Object.values(pIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...$te.top1,labels:["1","collector"]},{...$te.bottom1,labels:["2","emitter"]},{...$te.left1,labels:["3","base"]}],size:{width:BF.width,height:BF.height},center:{x:BF.centerX,y:BF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:mIt,texts:Uti,bounds:UF,refblocks:jte,circles:_It}=zT,yIt=On({primitives:[...Object.values(mIt),...Object.values(_It),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...jte.top1,labels:["1","collector"]},{...jte.bottom1,labels:["2","emitter"]},{...jte.left1,labels:["3","base"]}],size:{width:UF.width,height:UF.height},center:{x:UF.centerX,y:UF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),gIt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:-.05},{x:-.23,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}},$F=On(gIt).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),bIt=Yi($F,"down"),xIt=Yi($F,"left"),vIt=Yi($F,"up"),wIt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}},jF=On(wIt).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["4","out"]).labelPort("top2",["5","V+"]).labelPort("bottom1",["3","V-"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),SIt=Yi(jF,"down"),EIt=Yi(jF,"left"),TIt=Yi(jF,"up"),MIt={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:AIt,texts:Q7e,bounds:HF,refblocks:Hte,circles:CIt}=MIt,J7e=fd({primitives:[...Object.values(AIt),...Object.values(CIt),{...Q7e.top1,anchor:"middle_right",x:0},{...Q7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Hte.top1,labels:["1","drain"]},{...Hte.bottom1,labels:["2","source"]},{...Hte.left1,labels:["3","gate"]}],size:{width:HF.width,height:HF.height},center:{x:HF.centerX,y:HF.centerY}}),eRe=Yi(J7e),tRe=eRe.primitives.filter(t=>t.type==="text"),Vte=tRe.find(t=>t.text==="{VAL}");Vte.x=-.35,Vte.y=0,Vte.anchor="middle_right";var Gte=tRe.find(t=>t.text==="{REF}");Gte.y=0,Gte.x=.35,Gte.anchor="middle_left";var RIt=eRe,PIt={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:IIt,texts:nRe,bounds:VF,refblocks:Yte,circles:NIt}=PIt,iRe=fd({primitives:[...Object.values(IIt),...Object.values(NIt),{...nRe.top1,anchor:"middle_right",x:0},{...nRe.bottom1,anchor:"middle_right",x:0}],ports:[{...Yte.top1,labels:["1","drain"]},{...Yte.bottom1,labels:["2","source"]},{...Yte.left1,labels:["3","gate"]}],size:{width:VF.width,height:VF.height},center:{x:VF.centerX,y:VF.centerY}}),rRe=Yi(iRe),oRe=rRe.primitives.filter(t=>t.type==="text"),qte=oRe.find(t=>t.text==="{VAL}");qte.x=-.35,qte.y=0,qte.anchor="middle_right";var Xte=oRe.find(t=>t.text==="{REF}");Xte.y=0,Xte.x=.35,Xte.anchor="middle_left";var kIt=rRe,OIt={paths:{path11:{type:"path",points:[{x:-.53,y:-.01},{x:-.15,y:-.02}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:0},{x:-.13,y:-.13}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.13},{x:.13,y:0}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.13},{x:-.13,y:.13}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.13},{x:.13,y:-.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:0},{x:.53,y:-.01}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:.2,y:.38},{x:.16,y:.28},{x:.26,y:.3}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:.33,y:.43},{x:.32,y:.42},{x:.21,y:.31},{x:.21,y:.31}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:.35,y:.35},{x:.31,y:.26},{x:.41,y:.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:.48,y:.4},{x:.47,y:.39},{x:.35,y:.29},{x:.35,y:.29}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.1,y:.35},bottom1:{type:"text",text:"{VAL}",x:0,y:-.43}},refblocks:{left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.43,maxY:.43,width:1.14,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.01,radius:.29,color:"primary",fill:!1}}},sRe=On(OIt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),aRe=Yi(sRe),LIt=aRe.primitives.filter(t=>t.type==="text"),cRe=LIt.find(t=>t.text==="{REF}");cRe.y=0,cRe.anchor="middle_left";var DIt=aRe,zIt={paths:{path11:{type:"path",points:[{x:-.39,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.01,y:-.07},{x:.01,y:.06},{x:-.08,y:0},{x:.01,y:-.07}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:FIt,texts:lRe,bounds:GF,refblocks:Wte,circles:BIt}=zIt,uRe=fd({primitives:[...Object.values(FIt),...Object.values(BIt),{...lRe.top1,anchor:"middle_right",x:0},{...lRe.bottom1,anchor:"middle_right"}],ports:[{...Wte.top1,labels:["1","drain"]},{...Wte.bottom1,labels:["2","source"]},{...Wte.left1,labels:["3","gate"]}],size:{width:GF.width,height:GF.height},center:{x:GF.centerX,y:GF.centerY}}),dRe=Yi(uRe),hRe=dRe.primitives.filter(t=>t.type==="text"),Zte=hRe.find(t=>t.text==="{VAL}");Zte.x=-.35,Zte.y=0,Zte.anchor="middle_right";var Kte=hRe.find(t=>t.text==="{REF}");Kte.y=0,Kte.x=.35,Kte.anchor="middle_left";var UIt=dRe,FT={paths:{path11:{type:"path",points:[{x:-.39,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.15,y:-.23},{x:.22,y:-.12},{x:.12,y:-.12},{x:.15,y:-.23}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:$It,texts:$ti,bounds:YF,refblocks:Qte,circles:jIt}=FT,HIt=On({primitives:[...Object.values($It),...Object.values(jIt),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Qte.top1,labels:["1","collector"]},{...Qte.bottom1,labels:["2","emitter"]},{...Qte.left1,labels:["3","base"]}],size:{width:YF.width,height:YF.height},center:{x:YF.centerX,y:YF.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build(),{paths:jti,texts:Hti,bounds:Vti,refblocks:Gti,circles:Yti}=FT,VIt=On(FT).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build(),{paths:GIt,texts:qti,bounds:qF,refblocks:Jte,circles:YIt}=FT,qIt=On({primitives:[...Object.values(GIt),...Object.values(YIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Jte.top1,labels:["1","collector"]},{...Jte.bottom1,labels:["2","emitter"]},{...Jte.left1,labels:["3","base"]}],size:{width:qF.width,height:qF.height},center:{x:qF.centerX,y:qF.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build(),{paths:XIt,texts:Xti,bounds:XF,refblocks:ene,circles:WIt}=FT,ZIt=On({primitives:[...Object.values(XIt),...Object.values(WIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ene.top1,labels:["1","collector"]},{...ene.bottom1,labels:["2","emitter"]},{...ene.left1,labels:["3","base"]}],size:{width:XF.width,height:XF.height},center:{x:XF.centerX,y:XF.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build(),{paths:KIt,texts:Wti,bounds:WF,refblocks:tne,circles:QIt}=FT,JIt=On({primitives:[...Object.values(KIt),...Object.values(QIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...tne.top1,labels:["1","collector"]},{...tne.bottom1,labels:["2","emitter"]},{...tne.left1,labels:["3","base"]}],size:{width:WF.width,height:WF.height},center:{x:WF.centerX,y:WF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:eNt,texts:Zti,bounds:ZF,refblocks:nne,circles:tNt}=FT,nNt=On({primitives:[...Object.values(eNt),...Object.values(tNt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...nne.top1,labels:["1","collector"]},{...nne.bottom1,labels:["2","emitter"]},{...nne.left1,labels:["3","base"]}],size:{width:ZF.width,height:ZF.height},center:{x:ZF.centerX,y:ZF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),iNt={paths:{path40:{type:"path",points:[{x:-.19,y:.33},{x:-.26,y:.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:.26},{x:-.19,y:.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:.14},{x:-.38,y:.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:.39},{x:-.13,y:.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.2},{x:-.51,y:.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:.51},{x:-.19,y:.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:-.32},{x:-.38,y:-.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:-.13},{x:-.19,y:-.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:-.26},{x:-.26,y:-.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:-.26},{x:-.26,y:-.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:-.19},{x:-.51,y:-.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:-.5},{x:-.19,y:-.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:.19},{x:.13,y:.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:.38},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:.26},{x:.26,y:.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:.26},{x:.26,y:.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:.32},{x:.01,y:.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.5,y:.01},{x:.32,y:.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:-.19},{x:.26,y:-.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:-.26},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:-.38},{x:.13,y:-.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:-.13},{x:.39,y:-.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:-.32},{x:.01,y:-.51}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:-.01},{x:.32,y:-.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:-.5}},refblocks:{left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{width:1.09,height:1.09,centerX:0,centerY:0}},{paths:rNt,texts:pRe,bounds:KF,refblocks:fRe}=iNt,mRe=fd({primitives:[...Object.values(rNt),{...pRe.bottom1,y:.35,anchor:"middle_top"},{...pRe.top1,anchor:"middle_left"}],ports:[{...fRe.left1,labels:["1"]},{...fRe.right1,labels:["2"]}],size:{width:KF.width+.05,height:KF.height},center:{x:KF.centerX,y:KF.centerY}}),oNt=Yi(mRe),sNt=oNt,aNt={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{width:1.13,height:.58,centerX:0,centerY:0}},{paths:cNt,texts:_Re,bounds:QF,refblocks:yRe}=aNt,JF=fd({primitives:[...Object.values(cNt),{..._Re.bottom1,x:0,y:-.35,anchor:"middle_top"},{..._Re.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...yRe.left1,labels:["1"]},{...yRe.right1,labels:["2"]}],size:{width:QF.width+.05,height:QF.height},center:{x:QF.centerX,y:QF.centerY}}),ine=Yi(JF,"down"),rne=ine.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),one=ine.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rne.anchor="middle_left",one.anchor="middle_left",rne.y+=.31,rne.x=.34,one.y-=.31,one.x=.34;var lNt=ine,sne=Yi(JF,"left"),ane=sne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cne=sne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ane.anchor="middle_bottom",cne.anchor="middle_top",ane.y+=.73,ane.x=0,cne.y-=.7,cne.x=0;var uNt=sne,lne=Yi(JF,"up"),une=lne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dne=lne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");une.anchor="middle_left",dne.anchor="middle_left",une.y+=.21,une.x=.34,dne.y-=.21,dne.x=.34;var dNt=lne,eB={paths:{path1:{type:"path",points:[{x:-.4,y:0},{x:-.3,y:0}],color:"primary",fill:!1},"path1-2-1":{type:"path",points:[{x:-.3,y:0},{x:-.25,y:.1},{x:-.15,y:-.1},{x:-.05,y:.1},{x:.05,y:-.1},{x:.15,y:.1},{x:.25,y:-.1},{x:.3,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.3,y:0},{x:.4,y:0}],color:"primary",fill:!1},path3:{type:"path",points:[{x:0,y:-.17},{x:0,y:-.4}],color:"primary",fill:!1},path15:{type:"path",points:[{x:0,y:-.12},{x:.05,y:-.2},{x:-.05,y:-.2},{x:0,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.3,y:.25},bottom1:{type:"text",text:"{VAL}",x:.3,y:-.25}},refblocks:{left:{x:-.42,y:0},right:{x:.42,y:0},bottom:{x:0,y:-.4}},bounds:{minX:-.42,maxX:.42,minY:-.2,maxY:.2,width:.84,height:.4,centerX:0,centerY:0},circles:{}},{paths:hNt,texts:Kti,bounds:tB,refblocks:hne,circles:pNt}=eB,fNt=On({primitives:[...Object.values(hNt),...Object.values(pNt),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...hne.left,labels:["1"]},{...hne.right,labels:["3"]},{...hne.bottom,labels:["2"]}],size:{width:tB.width,height:tB.height},center:{x:tB.centerX,y:tB.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:mNt,texts:Qti,bounds:nB,refblocks:pne,circles:_Nt}=eB,yNt=On({primitives:[...Object.values(mNt),...Object.values(_Nt),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...pne.left,labels:["1"]},{...pne.right,labels:["3"]},{...pne.bottom,labels:["2"]}],size:{width:nB.width,height:nB.height},center:{x:nB.centerX,y:nB.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),gNt=On(eB).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:bNt,texts:Jti,bounds:iB,refblocks:fne,circles:xNt}=eB,vNt=On({primitives:[...Object.values(bNt),...Object.values(xNt),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...fne.left,labels:["1"]},{...fne.right,labels:["3"]},{...fne.bottom,labels:["2"]}],size:{width:iB.width,height:iB.height},center:{x:iB.centerX,y:iB.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),wNt={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,y:.03}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:SNt,bounds:rB,refblocks:gRe,circles:ENt}=wNt,bRe=fd({primitives:[...Object.values(SNt),...Object.values(ENt),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS φ",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...gRe.left1,labels:["1"]},{...gRe.right1,labels:["2"]}],size:{width:rB.width,height:rB.height},center:{x:rB.centerX,y:rB.centerY}}),xRe=Yi(bRe),mne=xRe.primitives.filter(t=>t.type==="text"),_ne=mne.find(t=>t.text==="{REF}"),yne=mne.find(t=>t.text==="{VAL}"),gne=mne.find(t=>t.text==="COS φ");_ne.x=.35,_ne.y=0,_ne.anchor="middle_left",yne.anchor="middle_right",yne.x=-.35,yne.y=0,gne.x=0,gne.y=0,gne.anchor="center";var TNt=xRe,MNt={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:.01,y:.03},{x:.01,y:-.09}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.49,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:-.09},{x:.18,y:-.09}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.49,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.22},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}},{paths:ANt,texts:vRe,bounds:oB,refblocks:wRe,circles:CNt}=MNt,SRe=fd({primitives:[...Object.values(ANt),...Object.values(CNt),{...vRe.top1,anchor:"middle_left"},{...vRe.bottom1,anchor:"middle_left"}],ports:[{...wRe.left1,labels:["1"]},{...wRe.right1,labels:["2"]}],size:{width:oB.width,height:oB.height},center:{x:oB.centerX,y:oB.centerY}}),RNt=Yi(SRe,"up"),PNt={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:-.05,y:.09},{x:-.05,y:.04}],color:"primary",fill:!1},"path12-1-8-7-9-9":{type:"path",points:[{x:-.05,y:.09},{x:.07,y:.09}],color:"primary",fill:!1},"path12-1-8-6-9-10":{type:"path",points:[{x:.07,y:.09},{x:.07,y:.04}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.49,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:.04},{x:.18,y:.04}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.49,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.29},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}},{paths:INt,texts:ERe,bounds:sB,refblocks:TRe,circles:NNt}=PNt,MRe=fd({primitives:[...Object.values(INt),...Object.values(NNt),{...ERe.top1,anchor:"middle_left"},{...ERe.bottom1,anchor:"middle_left"}],ports:[{...TRe.left1,labels:["1"]},{...TRe.right1,labels:["2"]}],size:{width:sB.width,height:sB.height},center:{x:sB.centerX,y:sB.centerY}}),kNt=Yi(MRe,"up"),aB={paths:{path12_rotated:{type:"path",points:[{x:-.09,y:.12},{x:-.09,y:-.12}],color:"primary",fill:!1},path2_rotated:{type:"path",points:[{x:-.09,y:0},{x:.09,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:.09,y:0}},bounds:{centerX:0,centerY:0},circles:{}},{paths:ONt,bounds:ARe,refblocks:LNt,circles:DNt}=aB,zNt=On({primitives:[...Object.values(ONt),...Object.values(DNt),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...LNt.left1,labels:["1"]}],center:{x:ARe.centerX,y:ARe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),{paths:FNt,bounds:CRe,refblocks:BNt,circles:UNt}=aB,$Nt=On({primitives:[...Object.values(FNt),...Object.values(UNt),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...BNt.left1,labels:["1"]}],center:{x:CRe.centerX,y:CRe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),{paths:jNt,bounds:RRe,refblocks:HNt,circles:VNt}=aB,GNt=On({primitives:[...Object.values(jNt),...Object.values(VNt),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...HNt.left1,labels:["1"]}],center:{x:RRe.centerX,y:RRe.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),{paths:YNt,bounds:PRe,refblocks:qNt}=aB,XNt=On({primitives:[...Object.values(YNt),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...qNt.left1,labels:["1"]}],center:{x:PRe.centerX,y:PRe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),WNt={paths:{path40:{type:"path",points:[{x:-.19,y:-.33},{x:-.26,y:-.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:-.26},{x:-.19,y:-.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:-.14},{x:-.38,y:-.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:-.39},{x:-.13,y:-.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:-.2},{x:-.51,y:-.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:-.51},{x:-.19,y:-.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:.32},{x:-.38,y:.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:.13},{x:-.19,y:.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:.26},{x:-.26,y:.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:.26},{x:-.26,y:.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:.19},{x:-.51,y:.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:.5},{x:-.19,y:.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:-.19},{x:.13,y:-.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:-.38},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:-.26},{x:.26,y:-.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:-.26},{x:.26,y:-.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:-.32},{x:.01,y:-.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.5,y:-.01},{x:.32,y:-.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:.19},{x:.26,y:.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:.26},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:.38},{x:.13,y:.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:.13},{x:.39,y:.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:.32},{x:.01,y:.51}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:.01},{x:.32,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:-.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:.5}},refblocks:{top1:{x:0,y:-.52},bottom1:{x:0,y:.52},left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{width:1.09,height:1.1,centerX:0,centerY:0},circles:{}},{paths:ZNt,texts:IRe,bounds:cB,refblocks:lB,circles:KNt}=WNt,NRe=fd({primitives:[...Object.values(ZNt),...Object.values(KNt),{...IRe.top1,anchor:"middle_right"},{...IRe.bottom1,anchor:"middle_right"}],ports:[{...lB.top1,labels:["1"]},{...lB.bottom1,labels:["2"]},{...lB.left1,labels:["3"]},{...lB.right1,labels:["4"]}],size:{width:cB.width,height:cB.height},center:{x:cB.centerX,y:cB.centerY}}),bne=Yi(NRe),QNt=bne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),JNt=bne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");QNt.anchor="middle_left",JNt.anchor="middle_right";var ekt=bne,uB={paths:{path27:{type:"path",points:[{x:.46,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.46,y:.04}],color:"primary",fill:!1},"path27-8-2-4":{type:"path",points:[{x:.21,y:.04},{x:.19,y:-.05}],color:"primary",fill:!1},"path27-8-2-4-29":{type:"path",points:[{x:-.19,y:.14},{x:-.21,y:.04}],color:"primary",fill:!1},"path27-8-2-4-5":{type:"path",points:[{x:.19,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1":{type:"path",points:[{x:.08,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9":{type:"path",points:[{x:.08,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2":{type:"path",points:[{x:-.03,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1":{type:"path",points:[{x:-.03,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.19,y:.14}],color:"primary",fill:!1}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{width:.99,height:.84,centerX:0,centerY:0},circles:{}},{paths:tkt,bounds:dB,refblocks:kRe,circles:nkt}=uB,ikt=On({primitives:[...Object.values(tkt),...Object.values(nkt),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...kRe.left1,labels:["1"]},{...kRe.right1,labels:["2"]}],size:{width:dB.width,height:dB.height},center:{x:dB.centerX,y:dB.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:rkt,bounds:hB,refblocks:ORe,circles:okt}=uB,skt=On({primitives:[...Object.values(rkt),...Object.values(okt),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...ORe.left1,labels:["1"]},{...ORe.right1,labels:["2"]}],size:{width:hB.width,height:hB.height},center:{x:hB.centerX,y:hB.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:akt,bounds:pB,refblocks:LRe,circles:ckt}=uB,lkt=On({primitives:[...Object.values(akt),...Object.values(ckt),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...LRe.left1,labels:["1"]},{...LRe.right1,labels:["2"]}],size:{width:pB.width,height:pB.height},center:{x:pB.centerX,y:pB.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:ukt,bounds:fB,refblocks:DRe,circles:dkt}=uB,hkt=On({primitives:[...Object.values(ukt),...Object.values(dkt),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...DRe.left1,labels:["1"]},{...DRe.right1,labels:["2"]}],size:{width:fB.width,height:fB.height},center:{x:fB.centerX,y:fB.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),zRe={paths:{path27:{type:"path",points:[{x:.76,y:-.28},{x:.31,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.3,y:-.02},{x:-.75,y:-.02}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.3,y:.35},{x:-.3,y:-.28}],color:"primary",fill:!1},"path27-3":{type:"path",points:[{x:.77,y:.35},{x:.32,y:.35}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.07,y:-.28},{x:-.3,y:-.28}],color:"primary",fill:!1},"path29-5-7":{type:"path",points:[{x:.33,y:-.28},{x:.11,y:-.28}],color:"primary",fill:!1},"path29-5-7-6":{type:"path",points:[{x:-.06,y:-.17},{x:-.06,y:-.39}],color:"primary",fill:!1},"path29-5-7-6-6":{type:"path",points:[{x:.09,y:-.17},{x:.09,y:-.39}],color:"primary",fill:!1},"path29-5-9":{type:"path",points:[{x:-.07,y:.35},{x:-.3,y:.35}],color:"primary",fill:!1},"path29-5-7-2":{type:"path",points:[{x:.33,y:.35},{x:.11,y:.35}],color:"primary",fill:!1},"path29-5-7-6-0":{type:"path",points:[{x:-.06,y:.46},{x:-.06,y:.24}],color:"primary",fill:!1},"path29-5-7-6-6-2":{type:"path",points:[{x:.09,y:.46},{x:.09,y:.24}],color:"primary",fill:!1},"path29-5-92":{type:"path",points:[{x:.33,y:.13},{x:.33,y:.35}],color:"primary",fill:!1},"path29-5-7-28":{type:"path",points:[{x:.33,y:-.28},{x:.33,y:-.05}],color:"primary",fill:!1},"path29-5-7-6-9":{type:"path",points:[{x:.44,y:.11},{x:.22,y:.11}],color:"primary",fill:!1},"path29-5-7-6-6-7":{type:"path",points:[{x:.44,y:-.04},{x:.22,y:-.04}],color:"primary",fill:!1},"path29-5-7-6-9-2":{type:"path",points:[{x:.44,y:.07},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4":{type:"path",points:[{x:.44,y:0},{x:.44,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4-6":{type:"path",points:[{x:.22,y:0},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-9":{type:"path",points:[{x:.44,y:0},{x:.22,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.02,y:.53},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.54}},refblocks:{left1:{x:-.77,y:-.02},right1:{x:.76,y:-.28},right2:{x:.77,y:.35}},bounds:{width:1.59,height:1.07,centerX:0,centerY:0},circles:{}},{paths:pkt,texts:FRe,bounds:mB,refblocks:xne,circles:fkt}=zRe,_B=fd({primitives:[...Object.values(pkt),...Object.values(fkt),{...FRe.top1,anchor:"middle_bottom"},{...FRe.bottom1,anchor:"middle_top"}],ports:[{...xne.left1,labels:["1"]},{...xne.right1,labels:["2"]},{...xne.right2,labels:["3"]}],size:{width:mB.width,height:mB.height},center:{x:mB.centerX,y:mB.centerY}}),vne=Yi(_B,"down"),wne=vne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sne=vne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wne.anchor="middle_bottom",Sne.anchor="middle_top",wne.y+=.3,wne.x+=.101,Sne.y-=.49999,Sne.x+=1.19999;var mkt=vne,{paths:_kt,bounds:yB,refblocks:Ene,circles:ykt}=zRe,BRe=fd({primitives:[...Object.values(_kt),...Object.values(ykt),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Ene.left1,labels:["1"]},{...Ene.right1,labels:["2"]},{...Ene.right2,labels:["3"]}],size:{width:yB.width,height:yB.height},center:{x:yB.centerX,y:yB.centerY}}),Tne=Yi(_B,"left"),Mne=Tne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ane=Tne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mne.anchor="middle_bottom",Ane.anchor="middle_top",Mne.y+=.99,Mne.x-=0,Ane.y-=1.10999,Ane.x=0;var gkt=Tne,Cne=Yi(_B,"up"),Rne=Cne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pne=Cne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rne.anchor="middle_bottom",Pne.anchor="middle_top",Rne.y+=.499,Rne.x=.62,Pne.y-=.29999,Pne.x+=.1;var bkt=Cne,xkt=Yi(BRe),vkt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-7":{type:"path",points:[{x:.21,y:.18},{x:.14,y:.18}],color:"primary",fill:!1},"path43-7-9":{type:"path",points:[{x:.21,y:.13},{x:.21,y:.18}],color:"primary",fill:!1},"path43-7-2":{type:"path",points:[{x:.08,y:-.09},{x:.14,y:-.09}],color:"primary",fill:!1},"path43-7-9-3":{type:"path",points:[{x:.08,y:-.04},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},gB=On(vkt).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build(),Ine=Yi(gB,"down"),Nne=Ine.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kne=Ine.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nne.anchor="middle_left",kne.anchor="middle_left",Nne.y+=.3,Nne.x=.3,kne.y-=.3,kne.x=.3;var wkt=Ine,One=Yi(gB,"left"),Lne=One.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dne=One.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lne.anchor="middle_bottom",Dne.anchor="middle_top",Lne.y+=.5,Lne.x=0,Dne.y-=.55,Dne.x=0;var Skt=One,zne=Yi(gB,"up"),Fne=zne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bne=zne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fne.anchor="middle_left",Bne.anchor="middle_left",Fne.y+=.3,Fne.x=.3,Bne.y-=.3,Bne.x=.3;var Ekt=zne,URe={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.51,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.18,y:-.15},{x:.18,y:.25}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.19,y:0},{x:.35,y:-.14}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.35,y:-.14},{x:.34,y:-.33}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.17,y:.27},{x:-.17,y:-.15},{x:.18,y:.05},{x:-.17,y:.27}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.22,y:.38},bottom1:{type:"text",text:"{VAL}",x:.11,y:-.38}},refblocks:{bottom1:{x:.34,y:-.35},left1:{x:-.52,y:.04},right1:{x:.52,y:.05}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.38,width:1.09,height:.77,centerX:0,centerY:0},circles:{}},{paths:eni,texts:tni,bounds:nni,refblocks:ini,circles:rni}=URe,$Re=On(URe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),jRe=Yi($Re),Tkt=jRe.primitives.filter(t=>t.type==="text"),HRe=Tkt.find(t=>t.text==="{REF}");HRe.y=0,HRe.anchor="middle_left";var Mkt=jRe,bB={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{x:.18,y:-.02}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.02},{x:-.07,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}},Akt=On(bB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),Ckt=On(bB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build(),Rkt=On(bB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Pkt=On(bB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build(),xB={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{x:.18,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}},Ikt=On(xB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),Nkt=On(xB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build(),kkt=On(xB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Okt=On(xB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build(),vB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},Lkt=On(vB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Dkt=On(vB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),zkt=On(vB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Fkt=On(vB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),wB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},Bkt=On(wB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Ukt=On(wB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),$kt=On(wB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),jkt=On(wB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),SB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},Hkt=On(SB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Vkt=On(SB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),Gkt=On(SB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Ykt=On(SB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),EB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},qkt=On(EB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Xkt=On(EB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),Wkt=On(EB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Zkt=On(EB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),Kkt={paths:{path1:{type:"path",points:[{x:-.35,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:-.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right2:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}},TB=On(Kkt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Une=Yi(TB,"down"),$ne=Une.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jne=Une.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$ne.anchor="middle_bottom",jne.anchor="middle_top",$ne.x=.44,$ne.y+=.28,jne.y-=.28,jne.x=.44;var Qkt=Une,Hne=Yi(TB,"left"),Vne=Hne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gne=Hne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vne.anchor="middle_bottom",Gne.anchor="middle_top",Vne.x=0,Vne.y+=.625,Gne.y-=.695,Gne.x=0;var Jkt=Hne,Yne=Yi(TB,"up"),qne=Yne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xne=Yne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qne.anchor="middle_bottom",Xne.anchor="middle_top",qne.x=.4,qne.y+=.28,Xne.y-=.28,Xne.x=.4;var eOt=Yne,tOt={paths:{path1:{type:"path",points:[{x:-.35,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:.14}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right3:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}},MB=On(tOt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Wne=Yi(MB,"down"),Zne=Wne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Kne=Wne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zne.anchor="middle_bottom",Kne.anchor="middle_top",Zne.x=.44,Zne.y+=.28,Kne.y-=.28,Kne.x=.44;var nOt=Wne,Qne=Yi(MB,"left"),Jne=Qne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),eie=Qne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jne.anchor="middle_bottom",eie.anchor="middle_top",Jne.x=0,Jne.y+=.625,eie.y-=.695,eie.x=0;var iOt=Qne,tie=Yi(MB,"up"),nie=tie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),iie=tie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");nie.anchor="middle_bottom",iie.anchor="middle_top",nie.x=.4,nie.y+=.28,iie.y-=.28,iie.x=.4;var rOt=tie,AB={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:0},{x:.11,y:.05}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:0},{x:.37,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.28}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete AB.refblocks.left1,delete AB.refblocks.right1,AB.bounds.width+=.2;var CB=On(AB).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),rie=Yi(CB,"down"),oie=rie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sie=rie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oie.anchor="middle_bottom",sie.anchor="middle_top",oie.x=.3,oie.y+=.265,sie.y-=.265,sie.x=.3;var oOt=rie,aie=Yi(CB,"left"),cie=aie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),lie=aie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cie.anchor="middle_bottom",lie.anchor="middle_top",cie.x=0,cie.y+=.57,lie.y-=.57,lie.x=0;var sOt=aie,uie=Yi(CB,"up"),die=uie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hie=uie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");die.anchor="middle_bottom",hie.anchor="middle_top",die.x=.3,die.y+=.265,hie.y-=.265,hie.x=.3;var aOt=uie,RB={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:.01},{x:.1,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:0},{x:.37,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete RB.refblocks.left1,delete RB.refblocks.right1,RB.bounds.width+=.2;var PB=On(RB).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),pie=Yi(PB,"down"),fie=pie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mie=pie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fie.anchor="middle_bottom",mie.anchor="middle_top",fie.x=.3,fie.y+=.265,mie.y-=.265,mie.x=.3;var cOt=pie,_ie=Yi(PB,"left"),yie=_ie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gie=_ie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yie.anchor="middle_bottom",gie.anchor="middle_top",yie.x=0,yie.y+=.57,gie.y-=.57,gie.x=0;var lOt=_ie,bie=Yi(PB,"up"),xie=bie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vie=bie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xie.anchor="middle_bottom",vie.anchor="middle_top",xie.x=.3,xie.y+=.265,vie.y-=.265,vie.x=.3;var uOt=bie,IB={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4403295000000007,y:.02621170000000017}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43977860000000035,y:.027926399999999685},{x:.1677968999999997,y:.027926399999999685}],color:"primary",fill:!1},"path8704-1":{type:"path",points:[{x:-.0040837000000002455,y:-.13467459999999964},{x:-.0040837000000002455,y:-.13467459999999964},{x:-.017668143940740948,y:-.1311205263185182},{x:-.03043520885925943,y:-.12727072121481456},{x:-.04240966440000013,y:-.1231399985999998},{x:-.05361628020740751,y:-.11874317238518502},{x:-.064079825925926,y:-.11409505648148131},{x:-.07382507120000005,y:-.10921046479999987},{x:-.0828767856740741,y:-.10410421125185171},{x:-.0912597389925926,y:-.09879110974814802},{x:-.09899870079999995,y:-.0932859741999998},{x:-.10611844074074069,y:-.08760361851851838},{x:-.11264372845925916,y:-.0817588566148146},{x:-.11859933359999993,y:-.07576650239999982},{x:-.12401002580740728,y:-.06964136978518495},{x:-.12890057472592584,y:-.06339827268148127},{x:-.13329574999999985,y:-.05705202499999972},{x:-.13722032127407394,y:-.05061744065185156},{x:-.14069905819259243,y:-.04410933354814783},{x:-.14375673039999987,y:-.03754251759999966},{x:-.14641810754074058,y:-.030931806718518143},{x:-.1487079592592591,y:-.0242920148148144},{x:-.15065105519999983,y:-.017637955799999563},{x:-.15227216500740723,y:-.01098444358518472},{x:-.15359605832592574,y:-.004346292081480994},{x:-.1546475047999998,y:.00226168480000051},{x:-.15545127407407386,y:.008824673148148676},{x:-.1560321357925924,y:.015327859051852397},{x:-.1564148595999998,y:.02175642860000056},{x:-.1566242151407405,y:.028095567881482052},{x:-.15668497205925902,y:.03433046298518576},{x:-.15662189999999976,y:.04044630000000058},{x:-.15662189999999976,y:.0404463000000006},{x:-.15662189999999976,y:.0404463000000006},{x:-.15622857394444417,y:.04717166472222282},{x:-.1553217675555553,y:.05388046444444503},{x:-.15392183849999977,y:.060558907500000585},{x:-.1520491444444442,y:.0671932022222228},{x:-.1497240430555553,y:.07376955694444502},{x:-.14696689199999974,y:.08027418000000058},{x:-.14379804894444415,y:.0866932797222228},{x:-.1402378715555553,y:.09301306444444506},{x:-.13630671749999965,y:.09921974250000057},{x:-.13202494444444415,y:.10529952222222282},{x:-.12741291005555522,y:.11123861194444501},{x:-.1224909719999997,y:.1170232200000006},{x:-.11727948794444407,y:.12263955472222278},{x:-.11179881555555524,y:.12807382444444504},{x:-.10606931249999965,y:.13331223750000057},{x:-.1001113364444441,y:.13834100222222284},{x:-.09394524505555521,y:.14314632694444504},{x:-.08759139599999967,y:.14771442000000062},{x:-.08107014694444413,y:.15203148972222283},{x:-.07440185555555523,y:.15608374444444503},{x:-.0676068794999997,y:.15985739250000058},{x:-.06070557644444415,y:.16333864222222283},{x:-.05371830405555529,y:.16651370194444504},{x:-.04666541999999976,y:.1693687800000006},{x:-.03956728194444424,y:.1718900847222228},{x:-.03244424755555539,y:.17406382444444501},{x:-.025316674499999876,y:.17587620750000055},{x:-.01820492044444437,y:.17731344222222278},{x:-.01112934305555553,y:.178361736944445},{x:-.004110300000000034,y:.17900730000000054},{x:-.004110300000000011,y:.17900730000000054}],color:"primary",fill:!1},"path8704-1-9":{type:"path",points:[{x:.004158700000000071,y:-.1355885000000001},{x:.004158700000000071,y:-.1355885000000001},{x:.017743143940740766,y:-.1320344263185187},{x:.03051020885925925,y:-.12818462121481505},{x:.042484664399999955,y:-.12405389860000024},{x:.053691280207407335,y:-.11965707238518546},{x:.0641548259259258,y:-.11500895648148178},{x:.07390007119999986,y:-.1101243648000003},{x:.0829517856740739,y:-.10501811125185218},{x:.0913347389925924,y:-.09970500974814848},{x:.09907370079999973,y:-.09419987420000027},{x:.10619344074074046,y:-.08851751851851883},{x:.11271872845925893,y:-.08267275661481507},{x:.11867433359999968,y:-.07668040240000029},{x:.12408502580740703,y:-.0705552697851854},{x:.12897557472592555,y:-.06431217268148172},{x:.13337074999999957,y:-.05796592500000018},{x:.13729532127407365,y:-.05153134065185202},{x:.14077405819259214,y:-.045023233548148286},{x:.14383173039999952,y:-.038456417600000126},{x:.14649310754074024,y:-.03184570671851861},{x:.14878295925925875,y:-.02520591481481487},{x:.1507260551999995,y:-.01855185580000003},{x:.15234716500740686,y:-.011898343585185192},{x:.15367105832592537,y:-.005260192081481464},{x:.15472250479999944,y:.001347784800000043},{x:.1555262740740735,y:.007910773148148207},{x:.156107135792592,y:.01441395905185193},{x:.1564898595999994,y:.020842528600000094},{x:.15669921514074014,y:.02718166788148159},{x:.15675997205925862,y:.03341656298518529},{x:.15669689999999936,y:.03953240000000011},{x:.15669689999999936,y:.039532400000000134},{x:.15669689999999936,y:.039532400000000134},{x:.1563035739444438,y:.04625776472222235},{x:.15539676755555493,y:.05296656444444457},{x:.15399683849999934,y:.05964500750000013},{x:.1521241444444438,y:.06627930222222234},{x:.14979904305555491,y:.07285565694444456},{x:.14704189199999937,y:.07936028000000013},{x:.1438730489444438,y:.08577937972222234},{x:.1403128715555549,y:.09209916444444458},{x:.13638171749999925,y:.0983058425000001},{x:.13209994444444376,y:.10438562222222235},{x:.12748791005555482,y:.11032471194444453},{x:.12256597199999929,y:.11610932000000013},{x:.1173544879444437,y:.1217256547222223},{x:.11187381555555485,y:.12715992444444457},{x:.10614431249999925,y:.1323983375000001},{x:.10018633644444369,y:.13742710222222235},{x:.09402024505555481,y:.14223242694444457},{x:.08766639599999927,y:.14680052000000016},{x:.08114514694444372,y:.15111758972222236},{x:.07447685555555483,y:.15516984444444457},{x:.06768187949999929,y:.15894349250000012},{x:.06078057644444377,y:.16242474222222236},{x:.053793304055554894,y:.16559980194444457},{x:.046740419999999366,y:.16845488000000014},{x:.039642281944443844,y:.17097618472222234},{x:.03251924755555499,y:.17314992444444455},{x:.02539167449999948,y:.17496230750000008},{x:.018279920444443973,y:.17639954222222232},{x:.011204343055555134,y:.17744783694444452},{x:.004185299999999637,y:.17809340000000007},{x:.004185299999999614,y:.17809340000000007}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.08039130000000005,y:.0179576999999993},{x:-.08039130000000005,y:.09650599999999931}],color:"primary",fill:!0},"path4-5":{type:"path",points:[{x:.01494479999999987,y:-.055216500000000224},{x:.01494479999999987,y:.09691909999999937}],color:"primary",fill:!0},"path4-5-8":{type:"path",points:[{x:.06871169999999927,y:-.056870000000000864},{x:.06871169999999927,y:.018784499999999538}],color:"primary",fill:!0},"path4-1":{type:"path",points:[{x:-.08179359999999969,y:.09650570000000003},{x:.015771699999999722,y:.09650570000000003}],color:"primary",fill:!0},"path4-1-6":{type:"path",points:[{x:.0117995999999998,y:-.05594970000000088},{x:.06843709999999925,y:-.05594970000000088}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.17162450000000073,y:.11125030000000025},{x:-.2688274000000015,y:.11125030000000025},{x:-.2688274000000015,y:.11469129999999961},{x:-.17162450000000073,y:.11469129999999961}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.2184661999999995,y:.16159429999999997},{x:-.2184661999999995,y:.06439139999999943},{x:-.22190719999999908,y:.06439139999999943},{x:-.22190719999999908,y:.16159429999999997}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.0024445000000006267,y:.23933980000000044},bottom1:{type:"text",text:"{VAL}",x:.00341719999999901,y:-.23933980000000066}},refblocks:{left1:{x:-.4458008,y:.02709619999999968},right1:{x:.4458008,y:.026971799999999657}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.23933980000000066,maxY:.23933980000000044,width:.947918482,height:.4786796000000011,centerX:0,centerY:-11102230246251565e-32},circles:{}},dOt=On(IB).rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_left",{x:.02,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:-.2}).build(),hOt=On(IB).rotateRightFacingSymbol("left").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.45}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.55}).build(),pOt=On(IB).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),fOt=On(IB).rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_left",{x:.02,y:-.2}).changeTextAnchor("{REF}","middle_left",{x:.5,y:.2}).build(),VRe={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-5":{type:"path",points:[{x:.19,y:-.09},{x:.15,y:-.09}],color:"primary",fill:!1},"path43-5-2":{type:"path",points:[{x:.19,y:-.14},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:oni,texts:sni,bounds:ani,refblocks:cni,circles:lni}=VRe,GRe=On(VRe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),mOt=Yi(GRe),_Ot={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:yOt,texts:gOt,bounds:NB,refblocks:YRe,circles:bOt}=_Ot,wie=fd({primitives:[...Object.values(yOt),...Object.values(bOt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...gOt.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...YRe.left1,labels:["1"]},{...YRe.right1,labels:["2"]}],size:{width:NB.width,height:NB.height},center:{x:NB.centerX,y:NB.centerY}}),{5:xOt,...vOt}=wie.primitives;function wOt(t){return typeof t=="object"}var qRe=Yi({...wie,primitives:Object.values(vOt).filter(wOt)}),SOt={...qRe,primitives:[...qRe.primitives,xOt]},kB=fd({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,e)=>{let n=Math.PI/2-e*Math.PI/7,i=.1;return{x:.1-i*Math.cos(n),y:i*Math.sin(n)}}),color:"primary",fill:!1},{type:"text",text:"{REF}",x:.125,y:0,anchor:"middle_left"}],ports:[{x:-.2,y:0,labels:["1"]}],center:{x:0,y:0}}),XRe=Yi(kB,"down"),WRe=XRe.primitives.find(t=>t.type==="text"&&t.text==="{REF}");WRe&&(WRe.anchor="middle_top");var EOt=XRe,TOt=Yi(kB,"left"),ZRe=Yi(kB,"up"),KRe=ZRe.primitives.find(t=>t.type==="text"&&t.text==="{REF}");KRe&&(KRe.anchor="middle_bottom");var MOt=ZRe,AOt={paths:{path40:{type:"path",points:[{x:.44,y:.04},{x:.19,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:.19,y:.18},{x:.44,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.19,y:-.09},{x:.19,y:.18}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.19,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.4,y:.2},{x:-.11,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{right1:{x:-.43,y:.22}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},Sie=On(AOt).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Eie=Yi(Sie,"up"),Tie=Eie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mie=Eie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tie.anchor="middle_bottom",Mie.anchor="middle_top",Tie.x=.4,Tie.y+=.2,Mie.y-=.3,Mie.x=.4;var QRe=Eie,Aie=_z(QRe),Cie=Aie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rie=Aie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cie.anchor="middle_bottom",Rie.anchor="middle_top",Cie.x=.35,Cie.y+=.4,Rie.y-=.4,Rie.x=.35;var COt=Aie,Pie=Yi(Sie,"left"),Iie=Pie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Nie=Pie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Iie.anchor="middle_bottom",Nie.anchor="middle_top",Iie.x=0,Iie.y+=.5,Nie.y-=.6,Nie.x=0;var ROt=Pie,JRe={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0},"path12-2":{type:"path",points:[{x:.09,y:-.06},{x:.27,y:-.17}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.27,y:-.18},{x:.27,y:-.3}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{bottom1:{x:.27,y:-.31},left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}},{paths:uni,texts:dni,bounds:hni,refblocks:pni,circles:fni}=JRe,ePe=On(JRe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),tPe=Yi(ePe),nPe=tPe.primitives.filter(t=>t.type==="text"),POt=nPe.find(t=>t.text==="{REF}"),IOt=nPe.find(t=>t.text==="{VAL}");POt.y=0,IOt.y=0;var NOt=tPe,kOt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14,y:-.09},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:OOt,texts:iPe,bounds:OB,refblocks:rPe,circles:LOt}=kOt,oPe=fd({primitives:[...Object.values(OOt),...Object.values(LOt),{...iPe.top1,anchor:"middle_bottom"},{...iPe.bottom1,anchor:"middle_top"}],ports:[{...rPe.left1,labels:["1"]},{...rPe.right1,labels:["2"]}],size:{width:OB.width,height:OB.height},center:{x:OB.centerX,y:OB.centerY}}),kie=Yi(oPe),DOt=kie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zOt=kie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");DOt.anchor="middle_left",zOt.anchor="middle_right";var FOt=kie,BOt={paths:{path11:{type:"path",points:[{x:-.33,y:.21},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.38}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.33}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.01,y:-.18},{x:-.01,y:.23}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.23,y:.12},{x:-.01,y:.12}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.11,y:.13},{x:-.17,y:.04},{x:-.06,y:.03},{x:-.11,y:.13}],color:"primary",fill:!0},"path11-0-3-8":{type:"path",points:[{x:.23,y:-.08},{x:-.01,y:-.08}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.2,y:.39},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{top1:{x:.23,y:.4},bottom1:{x:.23,y:-.35},left1:{x:-.34,y:.22}},bounds:{width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}},{paths:UOt,texts:sPe,bounds:LB,refblocks:Oie,circles:$Ot}=BOt,aPe=fd({primitives:[...Object.values(UOt),...Object.values($Ot),{...sPe.top1,anchor:"middle_left"},{...sPe.bottom1,anchor:"middle_right"}],ports:[{...Oie.top1,labels:["1"]},{...Oie.bottom1,labels:["2"]},{...Oie.left1,labels:["3"]}],size:{width:LB.width,height:LB.height},center:{x:LB.centerX,y:LB.centerY}}),cPe=Yi(aPe),lPe=cPe.primitives.filter(t=>t.type==="text"),jOt=lPe.find(t=>t.text==="{REF}");jOt.y=.1;var uPe=lPe.find(t=>t.text==="{VAL}");uPe.y=.1,uPe.x=-.4;var HOt=cPe,VOt={paths:{capsule_outer:{type:"path",points:[{x:-.44,y:.34},{x:-.45,y:.39},{x:-.46,y:.42},{x:-.49,y:.44},{x:-.52,y:.46},{x:-.56,y:.46},{x:-.6,y:.46},{x:-.63,y:.44},{x:-.65,y:.42},{x:-.67,y:.39},{x:-.68,y:.34},{x:-.68,y:-.34},{x:-.67,y:-.39},{x:-.65,y:-.42},{x:-.63,y:-.44},{x:-.6,y:-.45},{x:-.56,y:-.46},{x:-.52,y:-.45},{x:-.49,y:-.44},{x:-.46,y:-.42},{x:-.45,y:-.39},{x:-.44,y:-.34},{x:-.44,y:.34}],color:"primary",fill:!1},capsule_inner:{type:"path",points:[{x:-.51,y:.28},{x:-.52,y:.32},{x:-.53,y:.34},{x:-.56,y:.35},{x:-.57,y:.35},{x:-.58,y:.34},{x:-.6,y:.32},{x:-.61,y:.28},{x:-.61,y:-.28},{x:-.6,y:-.32},{x:-.58,y:-.34},{x:-.57,y:-.35},{x:-.56,y:-.35},{x:-.53,y:-.34},{x:-.52,y:-.32},{x:-.51,y:-.28},{x:-.51,y:.28}],color:"primary",fill:!0},usb_vertical:{type:"path",points:[{x:.1,y:-.4},{x:.1,y:.4}],color:"primary",fill:!1},usb_left_branch:{type:"path",points:[{x:.1,y:-.1},{x:-.03,y:.05},{x:-.03,y:.15}],color:"primary",fill:!1},usb_right_branch:{type:"path",points:[{x:.1,y:0},{x:.25,y:.15},{x:.25,y:.25}],color:"primary",fill:!1},usb_arrow:{type:"path",points:[{x:.05,y:.4},{x:.1,y:.5},{x:.15,y:.4},{x:.05,y:.4}],color:"primary",fill:!0},usb_square:{type:"path",points:[{x:.2,y:.25},{x:.3,y:.25},{x:.3,y:.35},{x:.2,y:.35},{x:.2,y:.25}],color:"primary",fill:!0}},circles:{usb_base:{type:"circle",x:.1,y:-.4,radius:.07,color:"primary",fill:!0},usb_tip_circle:{type:"circle",x:-.03,y:.15,radius:.04,color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.25,y:.7}},refblocks:{},bounds:{minX:-.75,maxX:.35,minY:-.6,maxY:.75,width:1.1,height:1.35,centerX:-.2,centerY:.08}},GOt=On(VOt).changeTextAnchor("{REF}","middle_bottom").build(),YOt={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Var",x:-.19,y:.07}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:qOt,texts:Lie,bounds:DB,refblocks:dPe,circles:XOt}=YOt,hPe=fd({primitives:[...Object.values(qOt),...Object.values(XOt),{...Lie.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Lie.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Lie.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...dPe.left1,labels:["1"]},{...dPe.right1,labels:["2"]}],size:{width:DB.width,height:DB.height},center:{x:DB.centerX,y:DB.centerY}}),WOt=Yi(hPe),ZOt={paths:{path40:{type:"path",points:[{x:.08,y:.04},{x:-.18,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.18,y:.18},{x:.08,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.18,y:-.09},{x:-.18,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.09,y:.17},{x:.1,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.2,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.53,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.19,y:.17},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:KOt,texts:pPe,bounds:zB,refblocks:fPe,circles:QOt}=ZOt,mPe=fd({primitives:[...Object.values(KOt),...Object.values(QOt),{...pPe.top1,anchor:"middle_bottom"},{...pPe.bottom1,anchor:"middle_top"}],ports:[{...fPe.left1,labels:["1"]},{...fPe.right1,labels:["2"]}],size:{width:zB.width,height:zB.height},center:{x:zB.centerX,y:zB.centerY}}),Die=Yi(mPe),JOt=Die.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),eLt=Die.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");JOt.anchor="middle_left",eLt.anchor="middle_right";var tLt=Die,nLt={paths:{path5:{type:"path",points:[{x:-.52,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.53,y:0}],color:"primary",fill:!1},path7:{type:"path",points:[{x:.27,y:-.23},{x:-.26,y:.24}],color:"primary",fill:!1},path8:{type:"path",points:[{x:.38,y:-.23},{x:.27,y:-.23}],color:"primary",fill:!1},path9:{type:"path",points:[{x:0,y:.14},{x:.27,y:.14},{x:.27,y:-.13},{x:-.26,y:-.13},{x:-.26,y:.14},{x:0,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.06,y:.25},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.25}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:.01}},bounds:{width:1.13,height:.5,centerX:0,centerY:0}},{paths:iLt,texts:_Pe,bounds:FB,refblocks:yPe}=nLt,gPe=fd({primitives:[...Object.values(iLt),{..._Pe.top1,anchor:"middle_left"},{..._Pe.bottom1,anchor:"middle_right"}],ports:[{...yPe.left1,labels:["1","-"]},{...yPe.right1,labels:["2","+"]}],size:{width:FB.width,height:FB.height},center:{x:FB.centerX,y:FB.centerY}}),rLt=Yi(gPe),oLt={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Var",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:sLt,texts:aLt,bounds:BB,refblocks:bPe,circles:cLt}=oLt,zie=fd({primitives:[...Object.values(sLt),...Object.values(cLt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...aLt.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...bPe.left1,labels:["1"]},{...bPe.right1,labels:["2"]}],size:{width:BB.width,height:BB.height},center:{x:BB.centerX,y:BB.centerY}}),{5:lLt,...uLt}=zie.primitives;function dLt(t){return typeof t=="object"}var xPe=Yi({...zie,primitives:Object.values(uLt).filter(dLt)}),hLt={...xPe,primitives:[...xPe.primitives,lLt]},UB={paths:{"path28-2":{type:"path",points:[{x:.19,y:0},{x:0,y:.09}],color:"primary",fill:!1},"path28-2-6":{type:"path",points:[{x:.19,y:0},{x:0,y:-.09}],color:"primary",fill:!1},"path29-3":{type:"path",points:[{x:.19,y:0},{x:-.22,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{REF}",x:.25,y:0}},refblocks:{left1:{x:-.23,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.09,maxY:.09,width:.5,height:.19,centerX:0,centerY:0},circles:{}};function $B(t,e){let{width:n,height:i}=t.size,r=1,o=1;e.width!==void 0&&e.height!==void 0?(r=e.width/n,o=e.height/i):e.width!==void 0?r=o=e.width/n:e.height!==void 0&&(r=o=e.height/i);let s=t.primitives.map(a=>{switch(a.type){case"path":return{...a,points:a.points.map(c=>({x:c.x*r,y:c.y*o}))};case"text":return{...a,x:a.x*r,y:a.y*o,fontSize:a.fontSize?a.fontSize*r:void 0};case"circle":return{...a,x:a.x*r,y:a.y*o,radius:a.radius*r};case"box":return{...a,x:a.x*r,y:a.y*o,width:a.width*r,height:a.height*o};default:return a}});return{...t,primitives:s,center:{x:t.center.x*r,y:t.center.y*o},ports:t.ports.map(a=>({...a,x:a.x*r,y:a.y*o})),size:{width:n*r,height:i*o}}}var pLt=On(UB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),fLt=$B(pLt,{width:.24,height:.23}),mLt=On(UB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),_Lt=$B(mLt,{width:.23,height:.24}),yLt=On(UB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),gLt=$B(yLt,{width:.23,height:.24}),bLt=On(UB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),xLt=$B(bLt,{width:.24,height:.23}),vPe={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.8,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:mni,texts:_ni,bounds:yni,circles:gni,refblocks:bni}=vPe,wPe=On(vPe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),vLt=Yi(wPe),wLt={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:SLt,texts:ELt,bounds:jB,refblocks:SPe,circles:TLt}=wLt,Fie=fd({primitives:[...Object.values(SLt),...Object.values(TLt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...ELt.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...SPe.left1,labels:["1"]},{...SPe.right1,labels:["2"]}],size:{width:jB.width,height:jB.height},center:{x:jB.centerX,y:jB.centerY}}),{5:MLt,...ALt}=Fie.primitives;function CLt(t){return typeof t=="object"}var EPe=Yi({...Fie,primitives:Object.values(ALt).filter(CLt)}),RLt={...EPe,primitives:[...EPe.primitives,MLt]},PLt={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:ILt,texts:NLt,bounds:HB,refblocks:TPe,circles:kLt}=PLt,Bie=fd({primitives:[...Object.values(ILt),...Object.values(kLt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...NLt.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...TPe.left1,labels:["1"]},{...TPe.right1,labels:["2"]}],size:{width:HB.width,height:HB.height},center:{x:HB.centerX,y:HB.centerY}}),{5:OLt,...LLt}=Bie.primitives;function DLt(t){return typeof t=="object"}var MPe=Yi({...Bie,primitives:Object.values(LLt).filter(DLt)}),zLt={...MPe,primitives:[...MPe.primitives,OLt]},FLt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:BLt,texts:APe,bounds:VB,refblocks:CPe,circles:ULt}=FLt,RPe=fd({primitives:[...Object.values(BLt),...Object.values(ULt),{...APe.top1,anchor:"middle_bottom"},{...APe.bottom1,anchor:"middle_top"}],ports:[{...CPe.left1,labels:["1"]},{...CPe.right1,labels:["2"]}],size:{width:VB.width,height:VB.height},center:{x:VB.centerX,y:VB.centerY}}),Uie=Yi(RPe),$Lt=Uie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jLt=Uie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$Lt.anchor="middle_left",jLt.anchor="middle_right";var HLt=Uie,lv={ac_voltmeter_down:B6t,ac_voltmeter_horz:j6t,ac_voltmeter_left:G6t,ac_voltmeter_right:X6t,ac_voltmeter_up:K6t,ac_voltmeter_vert:eAt,avalanche_diode_down:iAt,avalanche_diode_horz:rAt,avalanche_diode_left:aAt,avalanche_diode_right:cAt,avalanche_diode_up:dAt,avalanche_diode_vert:fAt,backward_diode_down:yAt,backward_diode_left:lCe,backward_diode_right:wAt,backward_diode_up:SAt,battery_horz:pCe,battery_vert:AAt,boxresistor_down:PAt,boxresistor_left:kAt,boxresistor_right:DAt,boxresistor_small_down:BAt,boxresistor_small_left:jAt,boxresistor_small_right:GAt,boxresistor_small_up:XAt,boxresistor_up:KAt,bridged_ground_down:eCt,bridged_ground_left:iCt,bridged_ground_right:PCe,bridged_ground_up:sCt,capacitor_down:lCt,capacitor_left:uCt,capacitor_polarized_down:pCt,capacitor_polarized_left:fCt,capacitor_polarized_right:yCt,capacitor_polarized_up:xCt,capacitor_right:vCt,capacitor_up:ECt,constant_current_diode_down:ACt,constant_current_diode_horz:CCt,constant_current_diode_left:ICt,constant_current_diode_right:NCt,constant_current_diode_up:LCt,constant_current_diode_vert:FCt,crystal_4pin_down:$Ct,crystal_4pin_left:jCt,crystal_4pin_right:HCt,crystal_4pin_up:YCt,crystal_down:WCt,crystal_left:ZCt,crystal_right:KCt,crystal_up:e7t,darlington_pair_transistor_down:t7t,darlington_pair_transistor_horz:n7t,darlington_pair_transistor_left:i7t,darlington_pair_transistor_right:r7t,darlington_pair_transistor_up:o7t,darlington_pair_transistor_vert:s7t,dc_ammeter_horz:lee,dc_ammeter_vert:m7t,dc_voltmeter_down:g7t,dc_voltmeter_horz:v7t,dc_voltmeter_left:E7t,dc_voltmeter_right:A7t,dc_voltmeter_up:P7t,dc_voltmeter_vert:k7t,diac_down:O7t,diac_horz:L7t,diac_left:D7t,diac_right:z7t,diac_up:F7t,diac_vert:B7t,digital_ground_down:j7t,digital_ground_left:G7t,digital_ground_right:X7t,digital_ground_up:K7t,diode_down:J7t,diode_left:eRt,diode_right:uF,diode_up:tRt,dpdt_normally_closed_switch_down:iRt,dpdt_normally_closed_switch_left:rRt,dpdt_normally_closed_switch_right:dF,dpdt_normally_closed_switch_up:oRt,dpdt_switch_down:aRt,dpdt_switch_left:cRt,dpdt_switch_right:hF,dpdt_switch_up:lRt,dpst_normally_closed_switch_down:dRt,dpst_normally_closed_switch_left:hRt,dpst_normally_closed_switch_right:pF,dpst_normally_closed_switch_up:pRt,dpst_switch_down:mRt,dpst_switch_left:_Rt,dpst_switch_right:fF,dpst_switch_up:yRt,ferrite_bead_down:xRt,ferrite_bead_left:vRt,ferrite_bead_right:o7e,ferrite_bead_up:r7e,filled_diode_down:ERt,filled_diode_horz:ARt,filled_diode_left:PRt,filled_diode_right:kRt,filled_diode_up:DRt,filled_diode_vert:BRt,frequency_meter_horz:Kee,frequency_meter_vert:qRt,fuse_horz:m7e,fuse_vert:KRt,ground_down:QRt,ground_horz:JRt,ground_left:ePt,ground_right:tPt,ground_up:nPt,ground_vert:iPt,gunn_diode_horz:rPt,gunn_diode_vert:oPt,icled_down:aPt,icled_left:cPt,icled_right:EF,icled_up:lPt,igbt_transistor_horz:_7e,igbt_transistor_vert:dPt,illuminated_push_button_normally_open_horz:g7e,illuminated_push_button_normally_open_vert:pPt,inductor_down:yPt,inductor_left:gPt,inductor_right:ste,inductor_up:S7e,laser_diode_down:bPt,laser_diode_left:xPt,laser_diode_right:MF,laser_diode_up:vPt,led_down:TPt,led_left:MPt,led_right:_te,led_up:A7e,light_dependent_resistor_horz:P7e,light_dependent_resistor_vert:PPt,mosfet_depletion_normally_on_horz:O7e,mosfet_depletion_normally_on_vert:kPt,mushroom_head_normally_open_momentary_horz:F7e,mushroom_head_normally_open_momentary_vert:zPt,n_channel_d_mosfet_transistor_horz:U7e,n_channel_d_mosfet_transistor_vert:$Pt,n_channel_e_mosfet_transistor_horz:V7e,n_channel_e_mosfet_transistor_vert:GPt,njfet_transistor_horz:X7e,njfet_transistor_vert:WPt,not_connected_down:JPt,not_connected_left:eIt,not_connected_right:LF,not_connected_up:tIt,npn_bipolar_transistor_down:rIt,npn_bipolar_transistor_horz:oIt,npn_bipolar_transistor_left:cIt,npn_bipolar_transistor_right:dIt,npn_bipolar_transistor_up:fIt,npn_bipolar_transistor_vert:yIt,opamp_no_power_down:bIt,opamp_no_power_left:xIt,opamp_no_power_right:$F,opamp_no_power_up:vIt,opamp_with_power_down:SIt,opamp_with_power_left:EIt,opamp_with_power_right:jF,opamp_with_power_up:TIt,p_channel_d_mosfet_transistor_horz:J7e,p_channel_d_mosfet_transistor_vert:RIt,p_channel_e_mosfet_transistor_horz:iRe,p_channel_e_mosfet_transistor_vert:kIt,photodiode_horz:sRe,photodiode_vert:DIt,pjfet_transistor_horz:uRe,pjfet_transistor_vert:UIt,pnp_bipolar_transistor_down:HIt,pnp_bipolar_transistor_horz:VIt,pnp_bipolar_transistor_left:qIt,pnp_bipolar_transistor_right:ZIt,pnp_bipolar_transistor_up:JIt,pnp_bipolar_transistor_vert:nNt,potentiometer_horz:mRe,potentiometer_vert:sNt,potentiometer2_down:lNt,potentiometer2_left:uNt,potentiometer2_right:JF,potentiometer2_up:dNt,potentiometer3_down:fNt,potentiometer3_left:yNt,potentiometer3_right:gNt,potentiometer3_up:vNt,power_factor_meter_horz:bRe,power_factor_meter_vert:TNt,push_button_normally_closed_momentary_horz:SRe,push_button_normally_closed_momentary_vert:RNt,push_button_normally_open_momentary_horz:MRe,push_button_normally_open_momentary_vert:kNt,rail_down:zNt,rail_left:$Nt,rail_right:GNt,rail_up:XNt,rectifier_diode_horz:NRe,rectifier_diode_vert:ekt,resistor_down:ikt,resistor_left:skt,resistor_right:lkt,resistor_up:hkt,resonator_down:mkt,resonator_horz:BRe,resonator_left:gkt,resonator_right:_B,resonator_up:bkt,resonator_vert:xkt,schottky_diode_down:wkt,schottky_diode_left:Skt,schottky_diode_right:gB,schottky_diode_up:Ekt,silicon_controlled_rectifier_horz:$Re,silicon_controlled_rectifier_vert:Mkt,solderjumper2_bridged12_down:Akt,solderjumper2_bridged12_left:Ckt,solderjumper2_bridged12_right:Rkt,solderjumper2_bridged12_up:Pkt,solderjumper2_down:Ikt,solderjumper2_left:Nkt,solderjumper2_right:kkt,solderjumper2_up:Okt,solderjumper3_bridged12_down:Lkt,solderjumper3_bridged12_left:Dkt,solderjumper3_bridged12_right:zkt,solderjumper3_bridged12_up:Fkt,solderjumper3_bridged123_down:Bkt,solderjumper3_bridged123_left:Ukt,solderjumper3_bridged123_right:$kt,solderjumper3_bridged123_up:jkt,solderjumper3_bridged23_down:Hkt,solderjumper3_bridged23_left:Vkt,solderjumper3_bridged23_right:Gkt,solderjumper3_bridged23_up:Ykt,solderjumper3_down:qkt,solderjumper3_left:Xkt,solderjumper3_right:Wkt,solderjumper3_up:Zkt,spdt_normally_closed_switch_down:Qkt,spdt_normally_closed_switch_left:Jkt,spdt_normally_closed_switch_right:TB,spdt_normally_closed_switch_up:eOt,spdt_switch_down:nOt,spdt_switch_left:iOt,spdt_switch_right:MB,spdt_switch_up:rOt,spst_normally_closed_switch_down:oOt,spst_normally_closed_switch_left:sOt,spst_normally_closed_switch_right:CB,spst_normally_closed_switch_up:aOt,spst_switch_down:cOt,spst_switch_left:lOt,spst_switch_right:PB,spst_switch_up:uOt,square_wave_down:dOt,square_wave_left:hOt,square_wave_right:pOt,square_wave_up:fOt,step_recovery_diode_horz:GRe,step_recovery_diode_vert:mOt,tachometer_horz:wie,tachometer_vert:SOt,testpoint_down:EOt,testpoint_left:TOt,testpoint_right:kB,testpoint_up:MOt,tilted_ground_down:COt,tilted_ground_left:ROt,tilted_ground_right:Sie,tilted_ground_up:QRe,triac_horz:ePe,triac_vert:NOt,tunnel_diode_horz:oPe,tunnel_diode_vert:FOt,unijunction_transistor_horz:aPe,unijunction_transistor_vert:HOt,usbc:GOt,var_meter_horz:hPe,var_meter_vert:WOt,varactor_diode_horz:mPe,varactor_diode_vert:tLt,varistor_horz:gPe,varistor_vert:rLt,varmeter_horz:zie,varmeter_vert:hLt,vcc_down:fLt,vcc_left:_Lt,vcc_right:gLt,vcc_up:xLt,volt_meter_horz:wPe,volt_meter_vert:vLt,watt_hour_meter_horz:Fie,watt_hour_meter_vert:RLt,wattmeter_horz:Bie,wattmeter_vert:zLt,zener_diode_horz:RPe,zener_diode_vert:HLt};Object.fromEntries(Object.keys(lv).map(t=>[t,t]));var S1;(function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"})(S1||(S1={}));function VLt(t){return t.type===S1.Tag||t.type===S1.Script||t.type===S1.Style}const GLt=S1.Root,YLt=S1.Text,qLt=S1.Directive,XLt=S1.Comment,WLt=S1.Script,ZLt=S1.Style,KLt=S1.Tag,QLt=S1.CDATA,JLt=S1.Doctype;function v2(t){return VLt(t)}function $ie(t){return t.type===S1.CDATA}function Z6(t){return t.type===S1.Text}function PPe(t){return t.type===S1.Comment}function eDt(t){return t.type===S1.Root}function f5(t){return Object.prototype.hasOwnProperty.call(t,"children")}const IPe=/["&'<>$\x80-\uFFFF]/g,tDt=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),nDt=String.prototype.codePointAt!=null?(t,e)=>t.codePointAt(e):(t,e)=>(t.charCodeAt(e)&64512)===55296?(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function NPe(t){let e="",n=0,i;for(;(i=IPe.exec(t))!==null;){const r=i.index,o=t.charCodeAt(r),s=tDt.get(o);s!==void 0?(e+=t.substring(n,r)+s,n=r+1):(e+=`${t.substring(n,r)}&#x${nDt(t,r).toString(16)};`,n=IPe.lastIndex+=+((o&64512)===55296))}return e+t.substr(n)}function kPe(t,e){return function(i){let r,o=0,s="";for(;r=t.exec(i);)o!==r.index&&(s+=i.substring(o,r.index)),s+=e.get(r[0].charCodeAt(0)),o=r.index+1;return s+i.substring(o)}}const iDt=kPe(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),rDt=kPe(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),oDt=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),sDt=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),aDt=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function cDt(t){return t.replace(/"/g,""")}function lDt(t,e){var n;if(!t)return;const i=((n=e.encodeEntities)!==null&&n!==void 0?n:e.decodeEntities)===!1?cDt:e.xmlMode||e.encodeEntities!=="utf8"?NPe:iDt;return Object.keys(t).map(r=>{var o,s;const a=(o=t[r])!==null&&o!==void 0?o:"";return e.xmlMode==="foreign"&&(r=(s=sDt.get(r))!==null&&s!==void 0?s:r),!e.emptyAttrs&&!e.xmlMode&&a===""?r:`${r}="${i(a)}"`}).join(" ")}const OPe=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function jie(t,e={}){const n="length"in t?t:[t];let i="";for(let r=0;r<n.length;r++)i+=uDt(n[r],e);return i}function uDt(t,e){switch(t.type){case GLt:return jie(t.children,e);case JLt:case qLt:return fDt(t);case XLt:return yDt(t);case QLt:return _Dt(t);case WLt:case ZLt:case KLt:return pDt(t,e);case YLt:return mDt(t,e)}}const dDt=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),hDt=new Set(["svg","math"]);function pDt(t,e){var n;e.xmlMode==="foreign"&&(t.name=(n=oDt.get(t.name))!==null&&n!==void 0?n:t.name,t.parent&&dDt.has(t.parent.name)&&(e={...e,xmlMode:!1})),!e.xmlMode&&hDt.has(t.name)&&(e={...e,xmlMode:"foreign"});let i=`<${t.name}`;const r=lDt(t.attribs,e);return r&&(i+=` ${r}`),t.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&OPe.has(t.name))?(e.xmlMode||(i+=" "),i+="/>"):(i+=">",t.children.length>0&&(i+=jie(t.children,e)),(e.xmlMode||!OPe.has(t.name))&&(i+=`</${t.name}>`)),i}function fDt(t){return`<${t.data}>`}function mDt(t,e){var n;let i=t.data||"";return((n=e.encodeEntities)!==null&&n!==void 0?n:e.decodeEntities)!==!1&&!(!e.xmlMode&&t.parent&&aDt.has(t.parent.name))&&(i=e.xmlMode||e.encodeEntities!=="utf8"?NPe(i):rDt(i)),i}function _Dt(t){return`<![CDATA[${t.children[0].data}]]>`}function yDt(t){return`<!--${t.data}-->`}function LPe(t,e){return jie(t,e)}function gDt(t,e){return f5(t)?t.children.map(n=>LPe(n,e)).join(""):""}function GB(t){return Array.isArray(t)?t.map(GB).join(""):v2(t)?t.name==="br"?`
|
|
4715
|
+
at `+s}return e},mz.buildMessage=function(t,e){var n={literal:function(l){return'"'+r(l.text)+'"'},class:function(l){var u=l.parts.map(function(d){return Array.isArray(d)?o(d[0])+"-"+o(d[1]):o(d)});return"["+(l.inverted?"^":"")+u.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(l){return l.description}};function i(l){return l.charCodeAt(0).toString(16).toUpperCase()}function r(l){return l.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(u){return"\\x0"+i(u)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(u){return"\\x"+i(u)})}function o(l){return l.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(u){return"\\x0"+i(u)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(u){return"\\x"+i(u)})}function s(l){return n[l.type](l)}function a(l){var u=l.map(s),d,h;if(u.sort(),u.length>0){for(d=1,h=1;d<u.length;d++)u[d-1]!==u[d]&&(u[h]=u[d],h++);u.length=h}switch(u.length){case 1:return u[0];case 2:return u[0]+" or "+u[1];default:return u.slice(0,-1).join(", ")+", or "+u[u.length-1]}}function c(l){return l?'"'+r(l)+'"':"end of input"}return"Expected "+a(t)+" but "+c(e)+" found."};function nee(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let e=1/0,n=-1/0,i=1/0,r=-1/0,o=s=>{e=Math.min(e,s.x),n=Math.max(n,s.x),i=Math.min(i,s.y),r=Math.max(r,s.y)};return t.forEach(s=>{switch(s.type){case"path":s.points.forEach(o);break;case"text":o({x:s.x,y:s.y});break;case"circle":{let{x:a,y:c,radius:l}=s;o({x:a-l,y:c-l}),o({x:a+l,y:c+l});break}case"box":{let{x:a,y:c,width:l,height:u}=s,d=l/2,h=u/2;o({x:a-d,y:c-h}),o({x:a+d,y:c+h});break}}}),{minX:e,maxX:n,minY:i,maxY:r}}var L6t=(t,e="right")=>{switch(e){case"down":switch(t){case"middle_top":return"middle_right";case"middle_bottom":return"middle_left";case"middle_left":return"middle_bottom";case"middle_right":return"middle_top"}break;case"up":switch(t){case"middle_top":return"middle_left";case"middle_bottom":return"middle_right";case"middle_left":return"middle_top";case"middle_right":return"middle_bottom"}break;case"left":switch(t){case"middle_top":return"middle_bottom";case"middle_bottom":return"middle_top";case"middle_left":return"middle_right";case"middle_right":return"middle_left"}break;case"right":return t}return t},_z=(t,e)=>{let{primitives:n,center:i,ports:r,size:o}=t,s=fz({a:1,b:0,c:0,d:-1,e:0,f:2*i.y}),a=n.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(f=>O9(s,f))};case"text":let u=O9(s,{x:l.x,y:l.y}),d={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...l,x:u.x,y:u.y,anchor:d[l.anchor]};case"circle":case"box":let h=O9(s,{x:l.x,y:l.y});return{...l,x:h.x,y:h.y}}}),c=r.map(l=>({...l,...O9(s,l)}));return{primitives:a,center:i,ports:c,size:o,...e}},yP=(t,e)=>{let{primitives:n,center:i,ports:r,size:o}=t,s=fz({a:-1,b:0,c:0,d:1,e:0,f:2*i.x}),a=n.map(l=>{switch(l={...l},l.type){case"path":return{...l,points:l.points.map(f=>O9(s,f))};case"text":let u=O9(s,{x:l.x,y:l.y}),d={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...l,x:u.x,y:u.y,anchor:d[l.anchor]};case"circle":case"box":let h=O9(s,{x:l.x,y:l.y});return{...l,x:h.x,y:h.y}}}),c=r.map(l=>({...l,...O9(s,l)}));return{primitives:a,center:i,ports:c,size:o,...e}},iee=(t,e)=>{let{newOrientation:n,overrides:i}=e,r={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},o=k6t(n?r[n]:Math.PI/2,t.center.x,t.center.y),{primitives:s,center:a,size:c,ports:l}=t,u=s.map(f=>{switch(f={...f},f.type){case"path":return{...f,points:f.points.map(b=>O9(o,b))};case"text":let m=O9(o,{x:f.x,y:f.y});return f.anchor=L6t(f.anchor,n??"right"),{...f,x:m.x,y:m.y};case"circle":let y=O9(o,{x:f.x,y:f.y});return{...f,x:y.x,y:y.y};case"box":let g=O9(o,{x:f.x,y:f.y});return{...f,x:g.x,y:g.y,width:f.height,height:f.width}}}),d=l.map(f=>({...f,...O9(o,f)})),h=nee(u);return{primitives:u,center:a,ports:d,size:{width:h.maxX-h.minX,height:h.maxY-h.minY},...i}},Yi=(t,e="down",n={})=>iee(t,{newOrientation:e,overrides:n}),D6t=class{symbol;constructor(t){this.symbol=JSON.parse(JSON.stringify(t)),this.symbol.size=this.computeSize()}changeTextAnchor(t,e,n){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(i=>i.type==="text"&&i.text===t?{...i,anchor:e,...n?{x:i.x+n.x,y:i.y+n.y}:{}}:i)},this}labelPort(t,e){return this.symbol={...this.symbol,ports:this.symbol.ports.map(n=>n.labels.includes(t)?{...n,labels:e}:n)},this}rotateRightFacingSymbol(t){return this.symbol=iee(this.symbol,{newOrientation:t}),this}computeSize(){let t=nee(this.symbol.primitives);return{width:t.maxX-t.minX,height:t.maxY-t.minY}}build(){return{...this.symbol,size:this.computeSize()}}},On=t=>{let e=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],n=t.ports??Object.entries(t.refblocks).flatMap(([r,o])=>[{...o,labels:[r]}]),i=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return n.length===2&&(i={x:(n[0].x+n[1].x)/2,y:(n[0].y+n[1].y)/2}),new D6t({...t,primitives:e,ports:n,center:i})},j6={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path17:{type:"path",points:[{x:0,y:-.13},{x:.07,y:-.11}],color:"primary",fill:!1},path18:{type:"path",points:[{x:.07,y:-.11},{x:.14,y:-.13}],color:"primary",fill:!1},path19:{type:"path",points:[{x:-.15,y:-.13},{x:-.07,y:-.11}],color:"primary",fill:!1},path20:{type:"path",points:[{x:-.07,y:-.11},{x:0,y:-.13}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:z6t,bounds:yz,refblocks:KAe,circles:F6t}=j6,B6t=On({primitives:[...Object.values(z6t),...Object.values(F6t),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...KAe.left1,labels:["1"]},{...KAe.right1,labels:["2"]}],size:{width:yz.width,height:yz.height},center:{x:yz.centerX,y:yz.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:U6t,bounds:gz,refblocks:QAe,circles:$6t}=j6,j6t=On({primitives:[...Object.values(U6t),...Object.values($6t),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...QAe.left1,labels:["1"]},{...QAe.right1,labels:["2"]}],size:{width:gz.width,height:gz.height},center:{x:gz.centerX,y:gz.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:H6t,bounds:bz,refblocks:JAe,circles:V6t}=j6,G6t=On({primitives:[...Object.values(H6t),...Object.values(V6t),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...JAe.left1,labels:["1"]},{...JAe.right1,labels:["2"]}],size:{width:bz.width,height:bz.height},center:{x:bz.centerX,y:bz.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:Y6t,bounds:xz,refblocks:eCe,circles:q6t}=j6,X6t=On({primitives:[...Object.values(Y6t),...Object.values(q6t),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...eCe.left1,labels:["1"]},{...eCe.right1,labels:["2"]}],size:{width:xz.width,height:xz.height},center:{x:xz.centerX,y:xz.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:W6t,bounds:vz,refblocks:tCe,circles:Z6t}=j6,K6t=On({primitives:[...Object.values(W6t),...Object.values(Z6t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...tCe.left1,labels:["1"]},{...tCe.right1,labels:["2"]}],size:{width:vz.width,height:vz.height},center:{x:vz.centerX,y:vz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:Q6t,bounds:wz,refblocks:nCe,circles:J6t}=j6,eAt=On({primitives:[...Object.values(Q6t),...Object.values(J6t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...nCe.left1,labels:["1"]},{...nCe.right1,labels:["2"]}],size:{width:wz.width,height:wz.height},center:{x:wz.centerX,y:wz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),H6={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.2}],color:"primary",fill:!1},"path43-8-3":{type:"path",points:[{x:.21,y:-.11},{x:.15,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:tAt,texts:cti,bounds:Sz,refblocks:iCe,circles:nAt}=H6,iAt=On({primitives:[...Object.values(tAt),...Object.values(nAt),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...iCe.left1,labels:["1"]},{...iCe.right1,labels:["2"]}],size:{width:Sz.width,height:Sz.height},center:{x:Sz.centerX,y:Sz.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),rAt=On(H6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:oAt,texts:lti,bounds:Ez,refblocks:rCe,circles:sAt}=H6,aAt=On({primitives:[...Object.values(oAt),...Object.values(sAt),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...rCe.left1,labels:["1"]},{...rCe.right1,labels:["2"]}],size:{width:Ez.width,height:Ez.height},center:{x:Ez.centerX,y:Ez.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),cAt=On(H6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:lAt,texts:uti,bounds:Tz,refblocks:oCe,circles:uAt}=H6,dAt=On({primitives:[...Object.values(lAt),...Object.values(uAt),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...oCe.left1,labels:["1"]},{...oCe.right1,labels:["2"]}],size:{width:Tz.width,height:Tz.height},center:{x:Tz.centerX,y:Tz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:hAt,texts:dti,bounds:Mz,refblocks:sCe,circles:pAt}=H6,fAt=On({primitives:[...Object.values(hAt),...Object.values(pAt),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...sCe.left1,labels:["1"]},{...sCe.right1,labels:["2"]}],size:{width:Mz.width,height:Mz.height},center:{x:Mz.centerX,y:Mz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),ree={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.14,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.18,y:.18},{x:.11,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.18,y:-.09},{x:.11,y:-.09}],color:"primary",fill:!1}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:mAt,bounds:Az,refblocks:aCe,circles:_At}=ree,yAt=On({primitives:[...Object.values(mAt),...Object.values(_At),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...aCe.left1,labels:["1"]},{...aCe.right1,labels:["2"]}],size:{width:Az.width,height:Az.height},center:{x:Az.centerX,y:Az.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),{paths:gAt,bounds:Cz,refblocks:cCe,circles:bAt}=ree,lCe=On({primitives:[...Object.values(gAt),...Object.values(bAt),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...cCe.left1,labels:["1"]},{...cCe.right1,labels:["2"]}],size:{width:Cz.width,height:Cz.height},center:{x:Cz.centerX,y:Cz.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:xAt,bounds:Rz,refblocks:uCe,circles:vAt}=ree,wAt=On({primitives:[...Object.values(xAt),...Object.values(vAt),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...uCe.left1,labels:["1"]},{...uCe.right1,labels:["2"]}],size:{width:Rz.width,height:Rz.height},center:{x:Rz.centerX,y:Rz.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),oee=Yi(lCe,"down"),see=oee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),aee=oee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");see.anchor="middle_left",aee.anchor="middle_left",see.x=.25,see.y+=.21,aee.y-=.21,aee.x=.25;var SAt=oee;function fd(t){let e=t.size;if(!e){let n=nee(t.primitives);e={width:n.maxX-n.minX,height:n.maxY-n.minY}}return{...t,size:e}}var EAt={paths:{path43:{type:"path",points:[{x:-.06,y:.19},{x:-.06,y:-.12}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.02,y:.13},{x:.02,y:-.06}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.06,y:.03},{x:-.45,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.03},{x:.03,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.28}},refblocks:{left1:{x:-.45,y:.03},right1:{x:.45,y:.03}},bounds:{width:.95,height:.29,centerX:0,centerY:.06},circles:{}},{paths:TAt,texts:dCe,bounds:Pz,refblocks:hCe,circles:MAt}=EAt,pCe=fd({primitives:[...Object.values(TAt),...Object.values(MAt),{...dCe.top1,anchor:"middle_bottom"},{...dCe.bottom1,anchor:"middle_top"}],ports:[{...hCe.left1,labels:["1"]},{...hCe.right1,labels:["2"]}],size:{width:Pz.width,height:Pz.height},center:{x:Pz.centerX,y:Pz.centerY}}),AAt=iee(pCe,{newOrientation:"up"}),Iz={paths:{path1:{type:"path",points:[{x:-.53,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.57,y:.05}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.02,y:.18},{x:.28,y:.18},{x:.28,y:-.09},{x:-.25,y:-.09},{x:-.25,y:.18},{x:.02,y:.18}],color:"primary",fill:!1}},refblocks:{left1:{x:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{centerX:0,centerY:0},circles:{}},{paths:CAt,bounds:fCe,refblocks:mCe,circles:RAt}=Iz,PAt=On({primitives:[...Object.values(CAt),...Object.values(RAt),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...mCe.left1,labels:["1"]},{...mCe.right1,labels:["2"]}],center:{x:fCe.centerX,y:fCe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),{paths:IAt,bounds:_Ce,refblocks:yCe,circles:NAt}=Iz,kAt=On({primitives:[...Object.values(IAt),...Object.values(NAt),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...yCe.left1,labels:["1"]},{...yCe.right1,labels:["2"]}],center:{x:_Ce.centerX,y:_Ce.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:OAt,bounds:gCe,refblocks:bCe,circles:LAt}=Iz,DAt=On({primitives:[...Object.values(OAt),...Object.values(LAt),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...bCe.left1,labels:["1"]},{...bCe.right1,labels:["2"]}],center:{x:gCe.centerX,y:gCe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Nz={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.55,y:-.01}],color:"primary",fill:!0},"path2-5":{type:"path",points:[{x:-.15,y:.06},{x:.14,y:.06}],color:"primary",fill:!0},"path2-5-1":{type:"path",points:[{x:.14,y:.06},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-5-1-6":{type:"path",points:[{x:-.16,y:.06},{x:-.16,y:-.08}],color:"primary",fill:!0},"path2-5-4":{type:"path",points:[{x:-.15,y:-.08},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-9":{type:"path",points:[{x:-.55,y:-.01},{x:-.17,y:-.01}],color:"primary",fill:!0}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{width:1.16,height:.35,centerX:0,centerY:0},circles:{}},{paths:zAt,bounds:kz,refblocks:xCe,circles:FAt}=Nz,BAt=On({primitives:[...Object.values(zAt),...Object.values(FAt),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...xCe.left1,labels:["1"]},{...xCe.right1,labels:["2"]}],size:{width:kz.width,height:kz.height},center:{x:kz.centerX,y:kz.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:UAt,bounds:Oz,refblocks:vCe,circles:$At}=Nz,jAt=On({primitives:[...Object.values(UAt),...Object.values($At),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...vCe.left1,labels:["1"]},{...vCe.right1,labels:["2"]}],size:{width:Oz.width,height:Oz.height},center:{x:Oz.centerX,y:Oz.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:HAt,bounds:Lz,refblocks:wCe,circles:VAt}=Nz,GAt=On({primitives:[...Object.values(HAt),...Object.values(VAt),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...wCe.left1,labels:["1"]},{...wCe.right1,labels:["2"]}],size:{width:Lz.width,height:Lz.height},center:{x:Lz.centerX,y:Lz.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:YAt,bounds:Dz,refblocks:SCe,circles:qAt}=Nz,XAt=On({primitives:[...Object.values(YAt),...Object.values(qAt),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...SCe.left1,labels:["1"]},{...SCe.right1,labels:["2"]}],size:{width:Dz.width,height:Dz.height},center:{x:Dz.centerX,y:Dz.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:WAt,bounds:ECe,refblocks:TCe,circles:ZAt}=Iz,KAt=On({primitives:[...Object.values(WAt),...Object.values(ZAt),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...TCe.left1,labels:["1"]},{...TCe.right1,labels:["2"]}],center:{x:ECe.centerX,y:ECe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),cee={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},bounds:{centerX:0,centerY:-.02},circles:{}},{paths:QAt,bounds:MCe,refblocks:ACe,circles:JAt}=cee,eCt=On({primitives:[...Object.values(QAt),...Object.values(JAt),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ACe.left1,labels:["1"]},{...ACe.right1,labels:["2"]}],center:{x:MCe.centerX,y:MCe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),{paths:tCt,bounds:CCe,refblocks:RCe,circles:nCt}=cee,PCe=On({primitives:[...Object.values(tCt),...Object.values(nCt),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...RCe.left1,labels:["1"]},{...RCe.right1,labels:["2"]}],center:{x:CCe.centerX,y:CCe.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),iCt=yP(PCe),{paths:rCt,bounds:ICe,refblocks:NCe,circles:oCt}=cee,sCt=On({primitives:[...Object.values(rCt),...Object.values(oCt),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...NCe.left1,labels:["1"]},{...NCe.right1,labels:["2"]}],center:{x:ICe.centerX,y:ICe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build(),zz={paths:{path27:{type:"path",points:[{x:.55,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.55,y:.02}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.07,y:.28},{x:.07,y:-.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.09,y:.28},{x:-.09,y:-.25}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.55,y:.02},right1:{x:.55,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}},{paths:aCt,texts:hti,bounds:Fz,refblocks:kCe,circles:cCt}=zz,lCt=On({primitives:[...Object.values(aCt),...Object.values(cCt),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...kCe.left1,labels:["1"]},{...kCe.right1,labels:["2"]}],size:{width:Fz.width,height:Fz.height},center:{x:Fz.centerX,y:Fz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),uCt=On(zz).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),Bz={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}},{paths:dCt,texts:pti,bounds:Uz,refblocks:OCe,circles:hCt}=Bz,pCt=On({primitives:[...Object.values(dCt),...Object.values(hCt),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...OCe.left1,labels:["2","neg"]},{...OCe.right1,labels:["1","pos"]}],size:{width:Uz.width,height:Uz.height},center:{x:Uz.centerX,y:Uz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build(),fCt=On(Bz).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:mCt,texts:fti,bounds:$z,refblocks:LCe,circles:_Ct}=Bz,yCt=On({primitives:[...Object.values(mCt),...Object.values(_Ct),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...LCe.left1,labels:["2","neg"]},{...LCe.right1,labels:["1","pos"]}],size:{width:$z.width,height:$z.height},center:{x:$z.centerX,y:$z.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build(),{paths:gCt,texts:mti,bounds:jz,refblocks:DCe,circles:bCt}=Bz,xCt=On({primitives:[...Object.values(gCt),...Object.values(bCt),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...DCe.left1,labels:["2","neg"]},{...DCe.right1,labels:["1","pos"]}],size:{width:jz.width,height:jz.height},center:{x:jz.centerX,y:jz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build(),vCt=On(zz).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:wCt,texts:_ti,bounds:Hz,refblocks:zCe,circles:SCt}=zz,ECt=On({primitives:[...Object.values(wCt),...Object.values(SCt),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...zCe.left1,labels:["1"]},{...zCe.right1,labels:["2"]}],size:{width:Hz.width,height:Hz.height},center:{x:Hz.centerX,y:Hz.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),V6={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.29,y:.29},{x:.29,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.37}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:TCt,texts:yti,bounds:Vz,refblocks:FCe,circles:MCt}=V6,ACt=On({primitives:[...Object.values(TCt),...Object.values(MCt),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...FCe.left1,labels:["1"]},{...FCe.right1,labels:["2"]}],size:{width:Vz.width,height:Vz.height},center:{x:Vz.centerX,y:Vz.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),CCt=On(V6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:RCt,texts:gti,bounds:Gz,refblocks:BCe,circles:PCt}=V6,ICt=On({primitives:[...Object.values(RCt),...Object.values(PCt),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...BCe.left1,labels:["1"]},{...BCe.right1,labels:["2"]}],size:{width:Gz.width,height:Gz.height},center:{x:Gz.centerX,y:Gz.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),NCt=On(V6).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:kCt,texts:bti,bounds:Yz,refblocks:UCe,circles:OCt}=V6,LCt=On({primitives:[...Object.values(kCt),...Object.values(OCt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...UCe.left1,labels:["1"]},{...UCe.right1,labels:["2"]}],size:{width:Yz.width,height:Yz.height},center:{x:Yz.centerX,y:Yz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:DCt,texts:xti,bounds:qz,refblocks:$Ce,circles:zCt}=V6,FCt=On({primitives:[...Object.values(DCt),...Object.values(zCt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...$Ce.left1,labels:["1"]},{...$Ce.right1,labels:["2"]}],size:{width:qz.width,height:qz.height},center:{x:qz.centerX,y:qz.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Xz={paths:{path27:{type:"path",points:[{x:.54,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:.25},{x:.13,y:-.27}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:.25},{x:.07,y:-.28}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:.25},{x:-.14,y:-.27}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:.26},{x:-.08,y:-.27}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.21,y:.32},{x:.2,y:.32}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.71},{x:0,y:.33},{x:0,y:.32}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:-.21,y:.32},{x:-.21,y:.25}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.25}],color:"primary",fill:!1},"path43-9":{type:"path",points:[{x:.19,y:-.35},{x:-.22,y:-.35}],color:"primary",fill:!1},"path44-0-5":{type:"path",points:[{x:-.02,y:-.71},{x:-.02,y:-.36},{x:-.02,y:-.35}],color:"primary",fill:!1},"path43-8-1":{type:"path",points:[{x:.19,y:-.35},{x:.19,y:-.28}],color:"primary",fill:!1},"path43-8-8-9":{type:"path",points:[{x:-.22,y:-.35},{x:-.22,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,y:-.01}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"{REF}",x:.53,y:.28},right1:{type:"text",text:"{VAL}",x:.54,y:-.28}},refblocks:{top1:{x:0,y:.71},bottom1:{x:-.02,y:-.71},left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.74,maxY:.74,width:1.14,height:1.48,centerX:0,centerY:0},circles:{}},{paths:BCt,texts:vti,bounds:Wz,refblocks:Zz,circles:UCt}=Xz,$Ct=On({primitives:[...Object.values(BCt),...Object.values(UCt),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...Zz.left1,labels:["1"]},{...Zz.right1,labels:["3"]},{...Zz.bottom1,labels:["2"]},{...Zz.top1,labels:["4"]}],size:{width:Wz.width,height:Wz.height},center:{x:Wz.centerX,y:Wz.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),jCt=On(Xz).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),HCt=On(Xz).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),{paths:VCt,texts:wti,bounds:Kz,refblocks:Qz,circles:GCt}=Xz,YCt=On({primitives:[...Object.values(VCt),...Object.values(GCt),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...Qz.left1,labels:["1"]},{...Qz.right1,labels:["3"]},{...Qz.bottom1,labels:["2"]},{...Qz.top1,labels:["4"]}],size:{width:Kz.width,height:Kz.height},center:{x:Kz.centerX,y:Kz.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build(),Jz={paths:{path27:{type:"path",points:[{x:.55,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.55,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:-.28},{x:.13,y:.25}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:-.28},{x:.07,y:.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:-.28},{x:-.14,y:.25}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:-.28},{x:-.08,y:.25}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{VAL}",x:-.01,y:-.42},bottom1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.52,maxY:.43,width:1.16,height:1,centerX:0,centerY:-.04},circles:{}},{paths:qCt,texts:Sti,bounds:eF,refblocks:jCe,circles:XCt}=Jz,WCt=On({primitives:[...Object.values(qCt),...Object.values(XCt),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...jCe.left1,labels:["1"]},{...jCe.right1,labels:["2"]}],size:{width:eF.width,height:eF.height},center:{x:eF.centerX,y:eF.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),ZCt=On(Jz).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),KCt=On(Jz).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:QCt,texts:Eti,bounds:tF,refblocks:HCe,circles:JCt}=Jz,e7t=On({primitives:[...Object.values(QCt),...Object.values(JCt),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...HCe.left1,labels:["1"]},{...HCe.right1,labels:["2"]}],size:{width:tF.width,height:tF.height},center:{x:tF.centerX,y:tF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),G6={paths:{path11:{type:"path",points:[{x:1.99,y:-1.64},{x:2.1,y:-1.64}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:2.1,y:-1.48},{x:2.1,y:-1.8}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:2.22,y:-1.5},{x:2.11,y:-1.58}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:2.23,y:-1.78},{x:2.11,y:-1.7}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:2.23,y:-1.49},{x:2.23,y:-1.14}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.97},{x:2.23,y:-1.79}],color:"primary",fill:!1},"arrow-2":{type:"path",points:[{x:2.17,y:-1.7},{x:2.13,y:-1.76},{x:2.19,y:-1.76},{x:2.17,y:-1.7}],color:"primary",fill:!0},path1:{type:"path",points:[{x:1.6,y:-1.5},{x:1.86,y:-1.5}],color:"primary",fill:!1},path2:{type:"path",points:[{x:1.87,y:-1.34},{x:1.87,y:-1.66}],color:"primary",fill:!1},path3:{type:"path",points:[{x:1.99,y:-1.36},{x:1.87,y:-1.44}],color:"primary",fill:!1},path4:{type:"path",points:[{x:1.99,y:-1.64},{x:1.88,y:-1.56}],color:"primary",fill:!1},"arrow-1":{type:"path",points:[{x:1.94,y:-1.56},{x:1.89,y:-1.62},{x:1.96,y:-1.62},{x:1.94,y:-1.56}],color:"primary",fill:!0},path9:{type:"path",points:[{x:1.99,y:-1.35},{x:2.23,y:-1.36}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:1.88,y:-1.94},right1:{type:"text",text:"{REF}",x:1.88,y:-1.14}},refblocks:{right1:{x:2.23,y:-1.97},right2:{x:1.6,y:-1.5},right3:{x:2.23,y:-1.14}},bounds:{minX:1.58,maxX:2.35,minY:-1.98,maxY:-1.12,width:.77,height:.86,centerX:1.96,centerY:-1.55},circles:{"path1-0":{type:"circle",x:2.05,y:-1.54,radius:.3,color:"primary",fill:!1}}},t7t=On(G6).rotateRightFacingSymbol("down").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:0,y:.15}).build(),n7t=On(G6).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build(),i7t=On(G6).rotateRightFacingSymbol("left").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.8}).changeTextAnchor("{REF}","middle_left",{x:0,y:.8}).build(),r7t=On(G6).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build(),o7t=On(G6).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build(),s7t=On(G6).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build(),a7t={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:.09},{x:.12,y:.09}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}},{paths:c7t,texts:l7t,bounds:nF,refblocks:VCe,circles:u7t}=a7t,lee=fd({primitives:[...Object.values(c7t),...Object.values(u7t),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...l7t.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...VCe.left1,labels:["1"]},{...VCe.right1,labels:["2"]}],size:{width:nF.width,height:nF.height},center:{x:nF.centerX,y:nF.centerY}});function d7t(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function h7t(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:uee,2:dee,...p7t}=lee.primitives;d7t(dee)&&dee.points.map(t=>{t.y+=.05}),h7t(uee)&&(uee.y+=.025);function f7t(t){return typeof t=="object"}var GCe=Yi({...lee,primitives:Object.values(p7t).filter(f7t)}),m7t={...GCe,primitives:[...GCe.primitives,uee,dee]},Y6={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:-.14},{x:.12,y:-.14}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:_7t,bounds:iF,refblocks:YCe,circles:y7t}=Y6,g7t=On({primitives:[...Object.values(_7t),...Object.values(y7t),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...YCe.left1,labels:["1"]},{...YCe.right1,labels:["2"]}],size:{width:iF.width,height:iF.height},center:{x:iF.centerX,y:iF.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:b7t,bounds:rF,refblocks:qCe,circles:x7t}=Y6,v7t=On({primitives:[...Object.values(b7t),...Object.values(x7t),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...qCe.left1,labels:["1"]},{...qCe.right1,labels:["2"]}],size:{width:rF.width,height:rF.height},center:{x:rF.centerX,y:rF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:w7t,bounds:oF,refblocks:XCe,circles:S7t}=Y6,E7t=On({primitives:[...Object.values(w7t),...Object.values(S7t),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...XCe.left1,labels:["1"]},{...XCe.right1,labels:["2"]}],size:{width:oF.width,height:oF.height},center:{x:oF.centerX,y:oF.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:T7t,bounds:sF,refblocks:WCe,circles:M7t}=Y6,A7t=On({primitives:[...Object.values(T7t),...Object.values(M7t),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...WCe.left1,labels:["1"]},{...WCe.right1,labels:["2"]}],size:{width:sF.width,height:sF.height},center:{x:sF.centerX,y:sF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:C7t,bounds:aF,refblocks:ZCe,circles:R7t}=Y6,P7t=On({primitives:[...Object.values(C7t),...Object.values(R7t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ZCe.left1,labels:["1"]},{...ZCe.right1,labels:["2"]}],size:{width:aF.width,height:aF.height},center:{x:aF.centerX,y:aF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:I7t,bounds:cF,refblocks:KCe,circles:N7t}=Y6,k7t=On({primitives:[...Object.values(I7t),...Object.values(N7t),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...KCe.left1,labels:["1"]},{...KCe.right1,labels:["2"]}],size:{width:cF.width,height:cF.height},center:{x:cF.centerX,y:cF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),q6={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}},O7t=On(q6).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:-.03,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.2}).build(),L7t=On(q6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build(),D7t=On(q6).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.8}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.9}).build(),z7t=On(q6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build(),F7t=On(q6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build(),B7t=On(q6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build(),lF={paths:{triangle:{type:"path",points:[{x:-.06,y:-.09},{x:-.06,y:.09},{x:.06,y:0},{x:-.06,y:-.09}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.11,y:0},{x:-.06,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:-.11,y:0}},bounds:{centerX:0,centerY:0}},{paths:U7t,bounds:QCe,refblocks:$7t}=lF,j7t=On({primitives:[...Object.values(U7t),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...$7t.left1,labels:["1"]}],center:{x:QCe.centerX,y:QCe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),{paths:H7t,bounds:JCe,refblocks:V7t}=lF,G7t=On({primitives:[...Object.values(H7t),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...V7t.left1,labels:["1"]}],center:{x:JCe.centerX,y:JCe.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),{paths:Y7t,bounds:e7e,refblocks:q7t}=lF,X7t=On({primitives:[...Object.values(Y7t),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...q7t.left1,labels:["1"]}],center:{x:e7e.centerX,y:e7e.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),{paths:W7t,bounds:t7e,refblocks:Z7t}=lF,K7t=On({primitives:[...Object.values(W7t),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Z7t.left1,labels:["1"]}],center:{x:t7e.centerX,y:t7e.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Q7t={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},uF=On(Q7t).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),J7t=Yi(uF,"down"),eRt=Yi(uF,"left"),tRt=Yi(uF,"up"),nRt={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-2":{type:"path",points:[{x:-.07,y:.22},{x:.11,y:.16}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-5":{type:"path",points:[{x:-.07,y:-.19},{x:.1,y:-.24}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.2},{x:0,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.56},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}},dF=On(nRt).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),hee=Yi(dF,"down"),pee=hee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fee=hee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pee.anchor="middle_bottom",fee.anchor="middle_top",pee.x=0,pee.y+=.537,fee.y-=.5375,fee.x=0;var iRt=hee,mee=Yi(dF,"left"),_ee=mee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yee=mee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_ee.anchor="middle_bottom",yee.anchor="middle_top",_ee.x=0,_ee.y+=1,yee.y-=1,yee.x=0;var rRt=mee,gee=Yi(dF,"up"),bee=gee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xee=gee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bee.anchor="middle_bottom",xee.anchor="middle_top",bee.x=0,bee.y+=.537,xee.y-=.5375,xee.x=0;var oRt=gee,sRt={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.23},{x:.11,y:.33}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-6":{type:"path",points:[{x:-.07,y:-.18},{x:.11,y:-.07}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.12},{x:0,y:.27}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.61},bottom1:{type:"text",text:"{VAL}",x:0,y:-.52}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}},hF=On(sRt).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),vee=Yi(hF,"down"),wee=vee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),See=vee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wee.anchor="middle_bottom",See.anchor="middle_top",wee.x=0,wee.y+=.565,See.y-=.555,See.x=0;var aRt=vee,Eee=Yi(hF,"left"),Tee=Eee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mee=Eee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tee.anchor="middle_bottom",Mee.anchor="middle_top",Tee.x=0,Tee.y+=1.09,Mee.y-=1.09,Mee.x=0;var cRt=Eee,Aee=Yi(hF,"up"),Cee=Aee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ree=Aee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cee.anchor="middle_bottom",Ree.anchor="middle_top",Cee.x=0,Cee.y+=.565,Ree.y-=.555,Ree.x=0;var lRt=Aee,uRt={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.11,y:.11}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.17},{x:.11,y:-.12}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.31}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}},pF=On(uRt).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Pee=Yi(pF,"down"),Iee=Pee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Nee=Pee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Iee.anchor="middle_bottom",Nee.anchor="middle_top",Iee.x=.4,Iee.y+=.265,Nee.y-=.265,Nee.x=.4;var dRt=Pee,kee=Yi(pF,"left"),Oee=kee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Lee=kee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Oee.anchor="middle_bottom",Lee.anchor="middle_top",Oee.x=0,Oee.y+=.67,Lee.y-=.67,Lee.x=0;var hRt=kee,Dee=Yi(pF,"up"),zee=Dee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fee=Dee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zee.anchor="middle_bottom",Fee.anchor="middle_top",zee.x=.46,zee.y+=.265,Fee.y-=.265,Fee.x=.46;var pRt=Dee,fRt={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.1,y:.2}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.16},{x:.1,y:-.03}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}},fF=On(fRt).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Bee=Yi(fF,"down"),Uee=Bee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$ee=Bee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Uee.anchor="middle_bottom",$ee.anchor="middle_top",Uee.x=.4,Uee.y+=.295,$ee.y-=.295,$ee.x=.42;var mRt=Bee,jee=Yi(fF,"left"),Hee=jee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vee=jee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hee.anchor="middle_bottom",Vee.anchor="middle_top",Hee.x=0,Hee.y+=.795,Vee.y-=.795,Vee.x=0;var _Rt=jee,Gee=Yi(fF,"up"),Yee=Gee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qee=Gee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yee.anchor="middle_bottom",qee.anchor="middle_top",Yee.x=.46,Yee.y+=.315,qee.y-=.315,qee.x=.46;var yRt=Gee,n7e={paths:{path5:{type:"path",points:[{x:-.44,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.44,y:.01}],color:"primary",fill:!1},path9:{type:"path",points:[{x:-.25,y:-.16},{x:.02,y:.3},{x:.25,y:.17},{x:-.02,y:-.29},{x:-.25,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.44,y:0},right1:{x:.44,y:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}},{paths:gRt,texts:Tti,bounds:mF,refblocks:i7e,circles:bRt}=n7e,r7e=On({primitives:[...Object.values(gRt),...Object.values(bRt),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...i7e.left1,labels:["1"]},{...i7e.right1,labels:["2"]}],size:{width:mF.width,height:mF.height},center:{x:mF.centerX,y:mF.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),Xee=_z(r7e),Wee=Xee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zee=Xee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wee.anchor="middle_left",Zee.anchor="middle_left",Wee.y+=.4,Wee.x=.32,Zee.y-=.45,Zee.x=.32;var xRt=Xee,o7e=On(n7e).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),vRt=yP(o7e),X6={paths:{path11:{type:"path",points:[{x:-.56,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.48,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.14,y:-.15},{x:.14,y:.25}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.22,y:.25},{x:-.21,y:-.15},{x:.14,y:.05},{x:-.22,y:.25}],color:"primary",fill:!0}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{width:1.18,height:.76,centerX:0,centerY:0},circles:{}},{paths:wRt,bounds:_F,refblocks:s7e,circles:SRt}=X6,ERt=On({primitives:[...Object.values(wRt),...Object.values(SRt),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...s7e.left1,labels:["1"]},{...s7e.right1,labels:["2"]}],size:{width:_F.width,height:_F.height},center:{x:_F.centerX,y:_F.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:TRt,bounds:yF,refblocks:a7e,circles:MRt}=X6,ARt=On({primitives:[...Object.values(TRt),...Object.values(MRt),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...a7e.left1,labels:["1"]},{...a7e.right1,labels:["2"]}],size:{width:yF.width,height:yF.height},center:{x:yF.centerX,y:yF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:CRt,bounds:gF,refblocks:c7e,circles:RRt}=X6,PRt=On({primitives:[...Object.values(CRt),...Object.values(RRt),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...c7e.left1,labels:["1"]},{...c7e.right1,labels:["2"]}],size:{width:gF.width,height:gF.height},center:{x:gF.centerX,y:gF.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:IRt,bounds:bF,refblocks:l7e,circles:NRt}=X6,kRt=On({primitives:[...Object.values(IRt),...Object.values(NRt),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...l7e.left1,labels:["1"]},{...l7e.right1,labels:["2"]}],size:{width:bF.width,height:bF.height},center:{x:bF.centerX,y:bF.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),{paths:ORt,bounds:xF,refblocks:u7e,circles:LRt}=X6,DRt=On({primitives:[...Object.values(ORt),...Object.values(LRt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...u7e.left1,labels:["1"]},{...u7e.right1,labels:["2"]}],size:{width:xF.width,height:xF.height},center:{x:xF.centerX,y:xF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:zRt,bounds:vF,refblocks:d7e,circles:FRt}=X6,BRt=On({primitives:[...Object.values(zRt),...Object.values(FRt),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...d7e.left1,labels:["1"]},{...d7e.right1,labels:["2"]}],size:{width:vF.width,height:vF.height},center:{x:vF.centerX,y:vF.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),URt={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:$Rt,texts:jRt,bounds:wF,refblocks:h7e,circles:HRt}=URt,Kee=fd({primitives:[...Object.values($Rt),...Object.values(HRt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...jRt.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...h7e.left1,labels:["1"]},{...h7e.right1,labels:["2"]}],size:{width:wF.width,height:wF.height},center:{x:wF.centerX,y:wF.centerY}}),{5:VRt,...GRt}=Kee.primitives;function YRt(t){return typeof t=="object"}var p7e=Yi({...Kee,primitives:Object.values(GRt).filter(YRt)}),qRt={...p7e,primitives:[...p7e.primitives,VRt]},XRt={paths:{path10:{type:"path",points:[{x:-.53,y:.04},{x:.53,y:.04}],color:"primary",fill:!1},path14:{type:"path",points:[{x:0,y:.17},{x:.27,y:.17},{x:.27,y:-.1},{x:-.26,y:-.1},{x:-.26,y:.17},{x:0,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{width:1.13,height:.47,centerX:0,centerY:0}},{paths:WRt,texts:ZRt,bounds:SF,refblocks:f7e}=XRt,m7e=fd({primitives:[...Object.values(WRt),{...ZRt.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...f7e.left1,labels:["1"]},{...f7e.right1,labels:["2"]}],size:{width:SF.width,height:SF.height},center:{x:SF.centerX,y:SF.centerY}}),KRt=Yi(m7e),W6={paths:{path1:{type:"path",points:[{x:-.29,y:.01},{x:.04,y:0}],color:"primary",fill:!0},path2:{type:"path",points:[{x:.04,y:-.22},{x:.04,y:.22}],color:"primary",fill:!0},path3:{type:"path",points:[{x:.12,y:-.17},{x:.12,y:.17}],color:"primary",fill:!0},path4:{type:"path",points:[{x:.19,y:-.06},{x:.19,y:.06}],color:"primary",fill:!0}},texts:{right1:{type:"text",text:"{REF}",x:.31,y:-.02}},refblocks:{left1:{x:-.29,y:.01}},bounds:{minX:-.31,maxX:.31,minY:-.22,maxY:.22,width:.62,height:.45,centerX:0,centerY:0},circles:{}},QRt=On(W6).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),JRt=On(W6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),ePt=On(W6).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),tPt=On(W6).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),nPt=On(W6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),iPt=On(W6).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Qee={paths:{path11:{type:"path",points:[{x:-.52,y:.03},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.52,y:.04}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.31,y:.2},{x:-.31,y:-.11},{x:-.01,y:.04},{x:-.3,y:.2}],color:"primary",fill:!0},"path11-0-9-5":{type:"path",points:[{x:.33,y:.2},{x:.33,y:-.1},{x:.04,y:.04},{x:.33,y:.2}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.04,y:.32},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.32}},refblocks:{left1:{x:-.52,y:.03},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.32,maxY:.32,width:1.09,height:.63,centerX:0,centerY:0},circles:{}},{paths:Mti,texts:Ati,bounds:Cti,refblocks:Rti,circles:Pti}=Qee,rPt=On(Qee).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),oPt=On(Qee).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),sPt={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.3,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1},box:{type:"path",points:[{x:-.3,y:-.4},{x:.3,y:-.4},{x:.3,y:.4},{x:-.3,y:.4},{x:-.3,y:-.4},{x:-.3,y:.4}],color:"primary",fill:!1},"path48-1":{type:"path",points:[{x:-.3,y:.13},{x:-.54,y:.13}],color:"primary",fill:!1},"path48-2":{type:"path",points:[{x:-.3,y:-.13},{x:-.54,y:-.13}],color:"primary",fill:!1},"path48-3":{type:"path",points:[{x:.3,y:-.13},{x:.54,y:-.13}],color:"primary",fill:!1},"path48-4":{type:"path",points:[{x:.3,y:.13},{x:.54,y:.13}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.43},right1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.54,y:.13},left2:{x:-.54,y:-.13},right1:{x:.54,y:-.13},right2:{x:.54,y:.13}},bounds:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}},EF=On(sPt).labelPort("left1",["1","DIN"]).labelPort("left2",["2","POWER"]).labelPort("right1",["3","GND"]).labelPort("right2",["4","DOUT"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),aPt=Yi(EF,"down"),cPt=yP(EF),Jee=Yi(EF,"up"),ete=Jee.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tte=Jee.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ete.anchor="middle_left",tte.anchor="middle_left",ete.y+=.21,ete.x=.44,tte.y-=.21,tte.x=.44;var lPt=Jee,uPt={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:-.01,y:0}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.01,y:-.12},{x:.01,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.28,y:-.25},{x:.28,y:-.56}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.56},{x:.28,y:.27}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.17,y:-.22},{x:.28,y:-.23},{x:.23,y:-.14}],color:"primary",fill:!0},path17:{type:"path",points:[{x:.08,y:-.09},{x:.23,y:-.2}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.28,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.36},bottom1:{type:"text",text:"{VAL}",x:.02,y:-.42}},refblocks:{top1:{x:.28,y:.56},bottom1:{x:.28,y:-.56},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.17,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:.01,radius:.29,color:"primary",fill:!1}}},_7e=On(uPt).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build(),nte=Yi(_7e),ite=nte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),y7e=nte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ite.anchor="middle_left",y7e.anchor="middle_right",ite.x=.45,ite.y+=.065,y7e.y+=.065;var dPt=nte,hPt={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.02,y:-.02},{x:.02,y:-.1}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.19},{x:-.17,y:-.19}],color:"primary",fill:!1},"path12-1-5-6-8":{type:"path",points:[{x:.02,y:.17},{x:.02,y:.11}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.15,y:-.03},{x:.2,y:-.19}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.19},{x:.47,y:-.19}],color:"primary",fill:!1},"path12-1-8-6-9-4":{type:"path",points:[{x:.02,y:.12},{x:.02,y:.02}],color:"primary",fill:!1},"path12-1-8-6-9-4-3":{type:"path",points:[{x:.08,y:.11},{x:.08,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-3-1":{type:"path",points:[{x:-.04,y:.11},{x:-.04,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-4":{type:"path",points:[{x:.08,y:.11},{x:-.04,y:.11}],color:"primary",fill:!1},"path14-5":{type:"path",points:[{x:-.01,y:.28},{x:.01,y:.25},{x:.04,y:.23},{x:.06,y:.2}],color:"primary",fill:!0},"path14-5-3":{type:"path",points:[{x:-.01,y:.2},{x:.01,y:.23},{x:.04,y:.25},{x:.06,y:.28}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.38},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.38}},refblocks:{left1:{x:-.47,y:-.19},right1:{x:.47,y:-.19}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.38,width:1,height:.76,centerX:0,centerY:0},circles:{path9:{type:"circle",x:.02,y:.24,radius:.06,color:"primary",fill:!1}}},g7e=On(hPt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),b7e=Yi(g7e),x7e=b7e.primitives.filter(t=>t.type==="text"),rte=x7e.find(t=>t.text==="{VAL}");rte.x=-.35,rte.y=0,rte.anchor="middle_right";var ote=x7e.find(t=>t.text==="{REF}");ote.y=0,ote.x=.35,ote.anchor="middle_left";var pPt=b7e,fPt={paths:{path8698:{type:"path",points:[{x:-.2,y:-.02},{x:-.2,y:-.02},{x:-.21,y:-.01},{x:-.21,y:-.01},{x:-.21,y:0},{x:-.21,y:0},{x:-.21,y:0},{x:-.22,y:.01},{x:-.22,y:.01},{x:-.22,y:.02},{x:-.22,y:.02},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.04},{x:-.24,y:.04},{x:-.24,y:.04},{x:-.24,y:.05},{x:-.24,y:.05},{x:-.25,y:.05},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.26,y:.06},{x:-.26,y:.06},{x:-.26,y:.07},{x:-.26,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.29,y:.07},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.31,y:.08},{x:-.31,y:.08},{x:-.31,y:.07},{x:-.31,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.34,y:.07},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.35,y:.06},{x:-.35,y:.06},{x:-.35,y:.05},{x:-.35,y:.05},{x:-.36,y:.05},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.02},{x:-.38,y:.02},{x:-.38,y:.01},{x:-.38,y:.01},{x:-.38,y:0},{x:-.39,y:0},{x:-.39,y:0},{x:-.39,y:-.01},{x:-.39,y:-.01},{x:-.4,y:-.02},{x:-.4,y:-.02}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:0,y:-.02},{x:0,y:-.02},{x:-.01,y:-.01},{x:-.01,y:-.01},{x:-.01,y:0},{x:-.01,y:0},{x:-.02,y:0},{x:-.02,y:.01},{x:-.02,y:.01},{x:-.02,y:.02},{x:-.03,y:.02},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.05},{x:-.05,y:.05},{x:-.05,y:.05},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.09,y:.07},{x:-.09,y:.07},{x:-.09,y:.08},{x:-.09,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.14,y:.07},{x:-.14,y:.07},{x:-.14,y:.06},{x:-.14,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.05},{x:-.16,y:.05},{x:-.16,y:.05},{x:-.16,y:.04},{x:-.16,y:.04},{x:-.17,y:.04},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.18,y:.02},{x:-.18,y:.02},{x:-.18,y:.01},{x:-.18,y:.01},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:-.01},{x:-.2,y:-.01},{x:-.2,y:-.02},{x:-.2,y:-.02}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2,y:-.02},{x:.2,y:-.02},{x:.19,y:-.01},{x:.19,y:-.01},{x:.19,y:0},{x:.19,y:0},{x:.18,y:0},{x:.18,y:.01},{x:.18,y:.01},{x:.18,y:.02},{x:.17,y:.02},{x:.17,y:.03},{x:.17,y:.03},{x:.17,y:.03},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.05},{x:.15,y:.05},{x:.15,y:.05},{x:.15,y:.06},{x:.15,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.06,y:.07},{x:.06,y:.07},{x:.06,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.05},{x:.04,y:.05},{x:.04,y:.05},{x:.04,y:.04},{x:.04,y:.04},{x:.03,y:.04},{x:.03,y:.03},{x:.03,y:.03},{x:.03,y:.03},{x:.02,y:.02},{x:.02,y:.02},{x:.02,y:.01},{x:.02,y:.01},{x:.01,y:0},{x:.01,y:0},{x:.01,y:0},{x:.01,y:-.01},{x:0,y:-.01},{x:0,y:-.02},{x:0,y:-.02}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.4,y:-.02},{x:.39,y:-.02},{x:.39,y:-.01},{x:.39,y:-.01},{x:.39,y:0},{x:.39,y:0},{x:.38,y:0},{x:.38,y:.01},{x:.38,y:.01},{x:.38,y:.02},{x:.37,y:.02},{x:.37,y:.03},{x:.37,y:.03},{x:.37,y:.03},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.05},{x:.35,y:.05},{x:.35,y:.05},{x:.35,y:.06},{x:.35,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.31,y:.07},{x:.31,y:.07},{x:.31,y:.08},{x:.31,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.26,y:.07},{x:.26,y:.07},{x:.26,y:.06},{x:.26,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.05},{x:.24,y:.05},{x:.24,y:.05},{x:.24,y:.04},{x:.24,y:.04},{x:.23,y:.04},{x:.23,y:.03},{x:.23,y:.03},{x:.23,y:.03},{x:.22,y:.02},{x:.22,y:.02},{x:.22,y:.01},{x:.22,y:.01},{x:.21,y:0},{x:.21,y:0},{x:.21,y:0},{x:.21,y:-.01},{x:.2,y:-.01},{x:.2,y:-.02},{x:.2,y:-.02}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.4,y:-.02},{x:-.55,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.55,y:-.03},{x:.4,y:-.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.23},bottom1:{type:"text",text:"{VAL}",x:0,y:-.23}},refblocks:{left1:{x:-.55,y:-.02},right1:{x:.55,y:-.03}},bounds:{width:1.16,height:.46,centerX:0,centerY:0},circles:{}},{paths:mPt,texts:v7e,bounds:TF,refblocks:w7e,circles:_Pt}=fPt,ste=fd({primitives:[...Object.values(mPt),...Object.values(_Pt),{...v7e.top1,anchor:"middle_bottom"},{...v7e.bottom1,anchor:"middle_top"}],ports:[{...w7e.left1,labels:["1"]},{...w7e.right1,labels:["2"]}],size:{width:TF.width,height:TF.height},center:{x:TF.centerX,y:TF.centerY}}),S7e=Yi(ste,"up"),yPt=_z(S7e),gPt=yP(ste),E7e={paths:{path11:{type:"path",points:[{x:-.54,y:-.06},{x:-.15,y:-.06}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:-.05},{x:-.13,y:-.18}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.08},{x:.13,y:-.05}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.18},{x:-.13,y:.08}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.08},{x:.13,y:-.18}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:-.05},{x:.54,y:-.06}],color:"primary",fill:!1},"path25-0-9-8":{type:"path",points:[{x:-.03,y:.39},{x:-.05,y:.47},{x:-.08,y:.39}],color:"primary",fill:!0},"path78-6-5-5":{type:"path",points:[{x:-.05,y:.27},{x:-.05,y:.29},{x:-.05,y:.41},{x:-.05,y:.42}],color:"primary",fill:!1},"path25-0-9-8-2":{type:"path",points:[{x:.07,y:.39},{x:.04,y:.47},{x:.02,y:.39}],color:"primary",fill:!0},"path78-6-5-5-7":{type:"path",points:[{x:.04,y:.27},{x:.04,y:.29},{x:.04,y:.41},{x:.04,y:.42}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:.03,y:.06},{x:.03,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.38,y:.38},bottom1:{type:"text",text:"{VAL}",x:.38,y:-.47}},refblocks:{left1:{x:-.54,y:-.06},right1:{x:.54,y:-.06}},bounds:{minX:-.57,maxX:.57,minY:-.47,maxY:.47,width:1.14,height:.93,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.05,radius:.29,color:"primary",fill:!1}}};E7e.bounds.width+=.2;var MF=On(E7e).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),ate=Yi(MF,"down"),cte=ate.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),lte=ate.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cte.anchor="middle_left",lte.anchor="middle_left",cte.y+=.9,cte.x=.3,lte.y-=.1,lte.x=.3;var bPt=ate,ute=Yi(MF,"left"),dte=ute.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hte=ute.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dte.anchor="middle_left",hte.anchor="middle_left",dte.y+=.71,dte.x=.44,hte.y-=.71,hte.x=.44;var xPt=ute,pte=Yi(MF,"up"),fte=pte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mte=pte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fte.anchor="middle_left",mte.anchor="middle_left",fte.y+=.1,fte.x=.3,mte.y-=.71,mte.x=.3;var vPt=pte,wPt={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.54,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.54,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.21},right1:{type:"text",text:"{REF}",x:0,y:.41}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.13,height:.65,centerX:0,centerY:0},circles:{}},{paths:SPt,texts:T7e,bounds:AF,refblocks:M7e,circles:EPt}=wPt,_te=fd({primitives:[...Object.values(SPt),...Object.values(EPt),{...T7e.bottom1,anchor:"middle_top"},{...T7e.right1,anchor:"middle_bottom"}],ports:[{...M7e.left1,labels:["1"]},{...M7e.right1,labels:["2"]}],size:{width:AF.width,height:AF.height},center:{x:AF.centerX,y:AF.centerY}}),yte=Yi(_te,"up"),gte=yte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bte=yte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gte.anchor="middle_left",bte.anchor="middle_left",gte.y+=.21,gte.x=.21,bte.y-=.21,bte.x=.21;var A7e=yte,xte=_z(A7e),vte=xte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wte=xte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vte.anchor="middle_left",wte.anchor="middle_left",vte.y+=.4,vte.x=.2,wte.y-=.41,wte.x=.2;var TPt=xte,MPt=yP(_te),APt={paths:{path11:{type:"path",points:[{x:-.52,y:-.01},{x:-.18,y:-.01}],color:"primary",fill:!1},"path11-2":{type:"path",points:[{x:-.17,y:-.11},{x:-.17,y:.08}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.17,y:-.12},{x:.16,y:-.12}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:-.17,y:.08},{x:.16,y:.08}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.17,y:-.01},{x:.52,y:-.01}],color:"primary",fill:!1},"path11-2-1":{type:"path",points:[{x:.16,y:-.12},{x:.16,y:.08}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:-.4,y:-.21},{x:-.33,y:-.18},{x:-.34,y:-.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:-.45,y:-.34},{x:-.44,y:-.32},{x:-.35,y:-.22},{x:-.35,y:-.22}],color:"primary",fill:!1},"path25-0-9-0":{type:"path",points:[{x:-.3,y:-.34},{x:-.22,y:-.31},{x:-.24,y:-.4}],color:"primary",fill:!0},"path78-6-5-9":{type:"path",points:[{x:-.35,y:-.46},{x:-.34,y:-.45},{x:-.25,y:-.35},{x:-.25,y:-.35}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:-.41},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.46}},refblocks:{left1:{x:-.52,y:-.01},right1:{x:.52,y:-.01}},bounds:{width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}},{paths:CPt,texts:C7e,bounds:CF,refblocks:R7e,circles:RPt}=APt,P7e=fd({primitives:[...Object.values(CPt),...Object.values(RPt),{...C7e.top1,anchor:"middle_left",x:0},{...C7e.bottom1,anchor:"middle_left",x:0}],ports:[{...R7e.left1,labels:["1"]},{...R7e.right1,labels:["2"]}],size:{width:CF.width,height:CF.height},center:{x:CF.centerX,y:CF.centerY}}),I7e=Yi(P7e),N7e=I7e.primitives.filter(t=>t.type==="text"),Ste=N7e.find(t=>t.text==="{VAL}");Ste.x=-.35,Ste.y=0,Ste.anchor="middle_right";var Ete=N7e.find(t=>t.text==="{REF}");Ete.y=0,Ete.x=.35,Ete.anchor="middle_left";var PPt=I7e,IPt={paths:{path208:{type:"path",points:[{x:.38,y:.13},{x:.52,y:-.13}],color:"primary",fill:!1},path209:{type:"path",points:[{x:.25,y:-.13},{x:.38,y:.13}],color:"primary",fill:!1},path210:{type:"path",points:[{x:.52,y:-.13},{x:.25,y:-.13}],color:"primary",fill:!1},path211:{type:"path",points:[{x:.25,y:.13},{x:.52,y:.13}],color:"primary",fill:!1},path212:{type:"path",points:[{x:.12,y:-.4},{x:.38,y:-.4}],color:"primary",fill:!1},path213:{type:"path",points:[{x:.38,y:.4},{x:.12,y:.4}],color:"primary",fill:!1},path214:{type:"path",points:[{x:.12,y:.54},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.54},{x:.12,y:0}],color:"primary",fill:!1},path216:{type:"path",points:[{x:.38,y:-.4},{x:.38,y:.4}],color:"primary",fill:!1},path217:{type:"path",points:[{x:-.14,y:.26},{x:-.14,y:-.27}],color:"primary",fill:!1},path218:{type:"path",points:[{x:-.22,y:-.27},{x:-.22,y:.26}],color:"primary",fill:!1},path219:{type:"path",points:[{x:-.54,y:-.27},{x:-.22,y:-.27}],color:"primary",fill:!1},path220:{type:"path",points:[{x:-.14,y:-.19},{x:.12,y:-.19}],color:"primary",fill:!1},path221:{type:"path",points:[{x:-.14,y:.18},{x:.12,y:.18}],color:"primary",fill:!1},path222:{type:"path",points:[{x:-.07,y:0},{x:.12,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{VAL}",x:.57,y:.02},right2:{type:"text",text:"{REF}",x:.57,y:.21}},refblocks:{top1:{x:.12,y:.54},bottom1:{x:.12,y:-.54},left1:{x:-.54,y:-.27}},bounds:{width:1.14,height:1.14,centerX:0,centerY:0}},{paths:NPt,texts:k7e,bounds:RF,refblocks:Tte}=IPt,O7e=fd({primitives:[...Object.values(NPt),{...k7e.right1,anchor:"middle_left"},{...k7e.right2,anchor:"middle_left"}],ports:[{...Tte.top1,labels:["1"]},{...Tte.bottom1,labels:["2"]},{...Tte.left1,labels:["3"]}],size:{width:RF.width+.4,height:RF.height},center:{x:RF.centerX+.2,y:RF.centerY}}),Mte=Yi(O7e),L7e=Mte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ate=Mte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");L7e.anchor="middle_top",Ate.anchor="middle_top",L7e.x=Ate.x,Ate.y+=.15;var kPt=Mte,OPt={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.01,y:.07},{x:.01,y:-.01}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.09},{x:-.17,y:-.09}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.16,y:-.01},{x:.17,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.09},{x:.47,y:-.09}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.1,y:.06},{x:-.1,y:.06},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.09,y:.09},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.11},{x:-.09,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.05,y:.14},{x:-.05,y:.15},{x:-.05,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.01,y:.16},{x:-.01,y:.16},{x:0,y:.16},{x:0,y:.16},{x:0,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.05,y:.15},{x:.05,y:.15},{x:.05,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.08,y:.14},{x:.08,y:.13},{x:.08,y:.13},{x:.08,y:.13},{x:.09,y:.13},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.1,y:.11},{x:.1,y:.11},{x:.1,y:.1},{x:.1,y:.1},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.06},{x:.11,y:.06},{x:.1,y:.06},{x:.1,y:.06},{x:.09,y:.06},{x:.09,y:.06},{x:.08,y:.06},{x:.07,y:.06},{x:.07,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.04,y:.06},{x:.03,y:.06},{x:.03,y:.06},{x:.02,y:.06},{x:.01,y:.06},{x:.01,y:.06},{x:0,y:.06},{x:-.01,y:.06},{x:-.01,y:.06},{x:-.02,y:.06},{x:-.03,y:.06},{x:-.03,y:.06},{x:-.04,y:.06},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.07,y:.06},{x:-.07,y:.06},{x:-.08,y:.06},{x:-.09,y:.06},{x:-.09,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.27}},refblocks:{left1:{x:-.47,y:-.09},right1:{x:.47,y:-.09}},bounds:{width:1,height:.53,centerX:0,centerY:0},circles:{}},{paths:LPt,texts:D7e,bounds:PF,refblocks:z7e,circles:DPt}=OPt,F7e=fd({primitives:[...Object.values(LPt),...Object.values(DPt),{...D7e.top1,anchor:"middle_bottom",x:0},{...D7e.bottom1,anchor:"middle_top",x:0}],ports:[{...z7e.left1,labels:["1"]},{...z7e.right1,labels:["2"]}],size:{width:PF.width,height:PF.height},center:{x:PF.centerX+.006,y:PF.centerY+.06}}),Cte=Yi(F7e),gP=Cte.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),IF=Cte.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gP.anchor="middle_left",IF.anchor="middle_right",gP.x=gP.x-.03,gP.y=gP.y,IF.x=IF.x,IF.y=0;var zPt=Cte,FPt={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:BPt,texts:B7e,bounds:NF,refblocks:Rte,circles:UPt}=FPt,U7e=fd({primitives:[...Object.values(BPt),...Object.values(UPt),{...B7e.top1,anchor:"middle_right",x:0},{...B7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Rte.top1,labels:["1","drain"]},{...Rte.bottom1,labels:["2","source"]},{...Rte.left1,labels:["3","gate"]}],size:{width:NF.width,height:NF.height},center:{x:NF.centerX,y:NF.centerY}}),$7e=Yi(U7e),j7e=$7e.primitives.filter(t=>t.type==="text"),Pte=j7e.find(t=>t.text==="{VAL}");Pte.x=-.35,Pte.y=0,Pte.anchor="middle_right";var Ite=j7e.find(t=>t.text==="{REF}");Ite.y=0,Ite.x=.35,Ite.anchor="middle_left";var $Pt=$7e,jPt={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:HPt,texts:H7e,bounds:kF,refblocks:Nte,circles:VPt}=jPt,V7e=fd({primitives:[...Object.values(HPt),...Object.values(VPt),{...H7e.top1,anchor:"middle_right",x:0},{...H7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Nte.top1,labels:["1","drain"]},{...Nte.bottom1,labels:["2","source"]},{...Nte.left1,labels:["3","gate"]}],size:{width:kF.width,height:kF.height},center:{x:kF.centerX,y:kF.centerY}}),G7e=Yi(V7e),Y7e=G7e.primitives.filter(t=>t.type==="text"),kte=Y7e.find(t=>t.text==="{VAL}");kte.x=-.35,kte.y=0,kte.anchor="middle_right";var Ote=Y7e.find(t=>t.text==="{REF}");Ote.y=0,Ote.x=.35,Ote.anchor="middle_left";var GPt=G7e,YPt={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.07},{x:.01,y:0},{x:-.08,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:qPt,texts:q7e,bounds:OF,refblocks:Lte,circles:XPt}=YPt,X7e=fd({primitives:[...Object.values(qPt),...Object.values(XPt),{...q7e.top1,anchor:"middle_right",x:0},{...q7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Lte.top1,labels:["1","drain"]},{...Lte.bottom1,labels:["2","source"]},{...Lte.left1,labels:["3","gate"]}],size:{width:OF.width,height:OF.height},center:{x:OF.centerX,y:OF.centerY}}),W7e=Yi(X7e),Z7e=W7e.primitives.filter(t=>t.type==="text"),Dte=Z7e.find(t=>t.text==="{VAL}");Dte.x=-.35,Dte.y=0,Dte.anchor="middle_right";var zte=Z7e.find(t=>t.text==="{REF}");zte.y=0,zte.x=.35,zte.anchor="middle_left";var WPt=W7e,ZPt={paths:{diag1:{type:"path",points:[{x:-.1,y:-.1},{x:.1,y:.1}],color:"primary",fill:!1},diag2:{type:"path",points:[{x:-.1,y:.1},{x:.1,y:-.1}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:-.2,y:0}},bounds:{centerX:0,centerY:0}},{paths:KPt,bounds:K7e,refblocks:QPt}=ZPt,LF=On({primitives:[...Object.values(KPt)],ports:[{...QPt.left1,labels:["1"]}],center:{x:K7e.centerX,y:K7e.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build(),JPt=Yi(LF,"down"),eIt=Yi(LF,"left"),tIt=Yi(LF,"up"),zT={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.19,y:-.1},{x:.12,y:-.2},{x:.22,y:-.2},{x:.19,y:-.1}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.36},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:nIt,texts:Iti,bounds:DF,refblocks:Fte,circles:iIt}=zT,rIt=On({primitives:[...Object.values(nIt),...Object.values(iIt),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Fte.top1,labels:["1","collector"]},{...Fte.bottom1,labels:["2","emitter"]},{...Fte.left1,labels:["3","base"]}],size:{width:DF.width,height:DF.height},center:{x:DF.centerX,y:DF.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build(),{paths:Nti,texts:kti,bounds:Oti,refblocks:Lti,circles:Dti}=zT,oIt=On(zT).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build(),{paths:sIt,texts:zti,bounds:zF,refblocks:Bte,circles:aIt}=zT,cIt=On({primitives:[...Object.values(sIt),...Object.values(aIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Bte.top1,labels:["1","collector"]},{...Bte.bottom1,labels:["2","emitter"]},{...Bte.left1,labels:["3","base"]}],size:{width:zF.width,height:zF.height},center:{x:zF.centerX,y:zF.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build(),{paths:lIt,texts:Fti,bounds:FF,refblocks:Ute,circles:uIt}=zT,dIt=On({primitives:[...Object.values(lIt),...Object.values(uIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Ute.top1,labels:["1","collector"]},{...Ute.bottom1,labels:["2","emitter"]},{...Ute.left1,labels:["3","base"]}],size:{width:FF.width,height:FF.height},center:{x:FF.centerX,y:FF.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build(),{paths:hIt,texts:Bti,bounds:BF,refblocks:$te,circles:pIt}=zT,fIt=On({primitives:[...Object.values(hIt),...Object.values(pIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...$te.top1,labels:["1","collector"]},{...$te.bottom1,labels:["2","emitter"]},{...$te.left1,labels:["3","base"]}],size:{width:BF.width,height:BF.height},center:{x:BF.centerX,y:BF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:mIt,texts:Uti,bounds:UF,refblocks:jte,circles:_It}=zT,yIt=On({primitives:[...Object.values(mIt),...Object.values(_It),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...jte.top1,labels:["1","collector"]},{...jte.bottom1,labels:["2","emitter"]},{...jte.left1,labels:["3","base"]}],size:{width:UF.width,height:UF.height},center:{x:UF.centerX,y:UF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),gIt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:-.05},{x:-.23,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}},$F=On(gIt).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),bIt=Yi($F,"down"),xIt=Yi($F,"left"),vIt=Yi($F,"up"),wIt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}},jF=On(wIt).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["4","out"]).labelPort("top2",["5","V+"]).labelPort("bottom1",["3","V-"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),SIt=Yi(jF,"down"),EIt=Yi(jF,"left"),TIt=Yi(jF,"up"),MIt={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:AIt,texts:Q7e,bounds:HF,refblocks:Hte,circles:CIt}=MIt,J7e=fd({primitives:[...Object.values(AIt),...Object.values(CIt),{...Q7e.top1,anchor:"middle_right",x:0},{...Q7e.bottom1,anchor:"middle_right",x:0}],ports:[{...Hte.top1,labels:["1","drain"]},{...Hte.bottom1,labels:["2","source"]},{...Hte.left1,labels:["3","gate"]}],size:{width:HF.width,height:HF.height},center:{x:HF.centerX,y:HF.centerY}}),eRe=Yi(J7e),tRe=eRe.primitives.filter(t=>t.type==="text"),Vte=tRe.find(t=>t.text==="{VAL}");Vte.x=-.35,Vte.y=0,Vte.anchor="middle_right";var Gte=tRe.find(t=>t.text==="{REF}");Gte.y=0,Gte.x=.35,Gte.anchor="middle_left";var RIt=eRe,PIt={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}},{paths:IIt,texts:nRe,bounds:VF,refblocks:Yte,circles:NIt}=PIt,iRe=fd({primitives:[...Object.values(IIt),...Object.values(NIt),{...nRe.top1,anchor:"middle_right",x:0},{...nRe.bottom1,anchor:"middle_right",x:0}],ports:[{...Yte.top1,labels:["1","drain"]},{...Yte.bottom1,labels:["2","source"]},{...Yte.left1,labels:["3","gate"]}],size:{width:VF.width,height:VF.height},center:{x:VF.centerX,y:VF.centerY}}),rRe=Yi(iRe),oRe=rRe.primitives.filter(t=>t.type==="text"),qte=oRe.find(t=>t.text==="{VAL}");qte.x=-.35,qte.y=0,qte.anchor="middle_right";var Xte=oRe.find(t=>t.text==="{REF}");Xte.y=0,Xte.x=.35,Xte.anchor="middle_left";var kIt=rRe,OIt={paths:{path11:{type:"path",points:[{x:-.54,y:-.01},{x:-.15,y:-.02}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:0},{x:-.13,y:-.13}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.13},{x:.13,y:0}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.13},{x:-.13,y:.13}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.13},{x:.13,y:-.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:0},{x:.54,y:-.01}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:.2,y:.38},{x:.16,y:.28},{x:.26,y:.3}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:.33,y:.43},{x:.32,y:.42},{x:.21,y:.31},{x:.21,y:.31}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:.35,y:.35},{x:.31,y:.26},{x:.41,y:.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:.48,y:.4},{x:.47,y:.39},{x:.35,y:.29},{x:.35,y:.29}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.1,y:.35},bottom1:{type:"text",text:"{VAL}",x:0,y:-.43}},refblocks:{left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.43,maxY:.43,width:1.14,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.01,radius:.29,color:"primary",fill:!1}}},sRe=On(OIt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),aRe=Yi(sRe),LIt=aRe.primitives.filter(t=>t.type==="text"),cRe=LIt.find(t=>t.text==="{REF}");cRe.y=0,cRe.anchor="middle_left";var DIt=aRe,zIt={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.01,y:-.07},{x:.01,y:.06},{x:-.08,y:0},{x:.01,y:-.07}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:FIt,texts:lRe,bounds:GF,refblocks:Wte,circles:BIt}=zIt,uRe=fd({primitives:[...Object.values(FIt),...Object.values(BIt),{...lRe.top1,anchor:"middle_right",x:0},{...lRe.bottom1,anchor:"middle_right"}],ports:[{...Wte.top1,labels:["1","drain"]},{...Wte.bottom1,labels:["2","source"]},{...Wte.left1,labels:["3","gate"]}],size:{width:GF.width,height:GF.height},center:{x:GF.centerX,y:GF.centerY}}),dRe=Yi(uRe),hRe=dRe.primitives.filter(t=>t.type==="text"),Zte=hRe.find(t=>t.text==="{VAL}");Zte.x=-.35,Zte.y=0,Zte.anchor="middle_right";var Kte=hRe.find(t=>t.text==="{REF}");Kte.y=0,Kte.x=.35,Kte.anchor="middle_left";var UIt=dRe,FT={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.15,y:-.23},{x:.22,y:-.12},{x:.12,y:-.12},{x:.15,y:-.23}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}},{paths:$It,texts:$ti,bounds:YF,refblocks:Qte,circles:jIt}=FT,HIt=On({primitives:[...Object.values($It),...Object.values(jIt),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Qte.top1,labels:["1","collector"]},{...Qte.bottom1,labels:["2","emitter"]},{...Qte.left1,labels:["3","base"]}],size:{width:YF.width,height:YF.height},center:{x:YF.centerX,y:YF.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build(),{paths:jti,texts:Hti,bounds:Vti,refblocks:Gti,circles:Yti}=FT,VIt=On(FT).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build(),{paths:GIt,texts:qti,bounds:qF,refblocks:Jte,circles:YIt}=FT,qIt=On({primitives:[...Object.values(GIt),...Object.values(YIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Jte.top1,labels:["1","collector"]},{...Jte.bottom1,labels:["2","emitter"]},{...Jte.left1,labels:["3","base"]}],size:{width:qF.width,height:qF.height},center:{x:qF.centerX,y:qF.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build(),{paths:XIt,texts:Xti,bounds:XF,refblocks:ene,circles:WIt}=FT,ZIt=On({primitives:[...Object.values(XIt),...Object.values(WIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ene.top1,labels:["1","collector"]},{...ene.bottom1,labels:["2","emitter"]},{...ene.left1,labels:["3","base"]}],size:{width:XF.width,height:XF.height},center:{x:XF.centerX,y:XF.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build(),{paths:KIt,texts:Wti,bounds:WF,refblocks:tne,circles:QIt}=FT,JIt=On({primitives:[...Object.values(KIt),...Object.values(QIt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...tne.top1,labels:["1","collector"]},{...tne.bottom1,labels:["2","emitter"]},{...tne.left1,labels:["3","base"]}],size:{width:WF.width,height:WF.height},center:{x:WF.centerX,y:WF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:eNt,texts:Zti,bounds:ZF,refblocks:nne,circles:tNt}=FT,nNt=On({primitives:[...Object.values(eNt),...Object.values(tNt),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...nne.top1,labels:["1","collector"]},{...nne.bottom1,labels:["2","emitter"]},{...nne.left1,labels:["3","base"]}],size:{width:ZF.width,height:ZF.height},center:{x:ZF.centerX,y:ZF.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),iNt={paths:{path40:{type:"path",points:[{x:-.19,y:.33},{x:-.26,y:.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:.26},{x:-.19,y:.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:.14},{x:-.38,y:.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:.39},{x:-.13,y:.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.52},{x:-.19,y:.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:-.32},{x:-.38,y:-.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:-.13},{x:-.19,y:-.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:-.26},{x:-.26,y:-.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:-.26},{x:-.26,y:-.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:-.19},{x:-.51,y:-.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:-.5},{x:-.19,y:-.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:.19},{x:.13,y:.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:.38},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:.26},{x:.26,y:.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:.26},{x:.26,y:.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:.32},{x:.01,y:.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:-.19},{x:.26,y:-.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:-.26},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:-.38},{x:.13,y:-.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:-.13},{x:.39,y:-.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:-.32},{x:0,y:-.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:-.01},{x:.32,y:-.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:-.5}},refblocks:{left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{width:1.09,height:1.09,centerX:0,centerY:0}},{paths:rNt,texts:pRe,bounds:KF,refblocks:fRe}=iNt,mRe=fd({primitives:[...Object.values(rNt),{...pRe.bottom1,y:.35,anchor:"middle_top"},{...pRe.top1,anchor:"middle_left"}],ports:[{...fRe.left1,labels:["1"]},{...fRe.right1,labels:["2"]}],size:{width:KF.width+.05,height:KF.height},center:{x:KF.centerX,y:KF.centerY}}),oNt=Yi(mRe),sNt=oNt,aNt={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{width:1.13,height:.58,centerX:0,centerY:0}},{paths:cNt,texts:_Re,bounds:QF,refblocks:yRe}=aNt,JF=fd({primitives:[...Object.values(cNt),{..._Re.bottom1,x:0,y:-.35,anchor:"middle_top"},{..._Re.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...yRe.left1,labels:["1"]},{...yRe.right1,labels:["2"]}],size:{width:QF.width+.05,height:QF.height},center:{x:QF.centerX,y:QF.centerY}}),ine=Yi(JF,"down"),rne=ine.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),one=ine.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rne.anchor="middle_left",one.anchor="middle_left",rne.y+=.31,rne.x=.34,one.y-=.31,one.x=.34;var lNt=ine,sne=Yi(JF,"left"),ane=sne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cne=sne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ane.anchor="middle_bottom",cne.anchor="middle_top",ane.y+=.73,ane.x=0,cne.y-=.7,cne.x=0;var uNt=sne,lne=Yi(JF,"up"),une=lne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dne=lne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");une.anchor="middle_left",dne.anchor="middle_left",une.y+=.21,une.x=.34,dne.y-=.21,dne.x=.34;var dNt=lne,eB={paths:{path1:{type:"path",points:[{x:-.42,y:0},{x:-.3,y:0}],color:"primary",fill:!1},"path1-2-1":{type:"path",points:[{x:-.3,y:0},{x:-.25,y:.1},{x:-.15,y:-.1},{x:-.05,y:.1},{x:.05,y:-.1},{x:.15,y:.1},{x:.25,y:-.1},{x:.3,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.3,y:0},{x:.42,y:0}],color:"primary",fill:!1},path3:{type:"path",points:[{x:0,y:-.17},{x:0,y:-.4}],color:"primary",fill:!1},path15:{type:"path",points:[{x:0,y:-.12},{x:.05,y:-.2},{x:-.05,y:-.2},{x:0,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.3,y:.25},bottom1:{type:"text",text:"{VAL}",x:.3,y:-.25}},refblocks:{left:{x:-.42,y:0},right:{x:.42,y:0},bottom:{x:0,y:-.4}},bounds:{minX:-.42,maxX:.42,minY:-.2,maxY:.2,width:.84,height:.4,centerX:0,centerY:0},circles:{}},{paths:hNt,texts:Kti,bounds:tB,refblocks:hne,circles:pNt}=eB,fNt=On({primitives:[...Object.values(hNt),...Object.values(pNt),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...hne.left,labels:["1"]},{...hne.right,labels:["3"]},{...hne.bottom,labels:["2"]}],size:{width:tB.width,height:tB.height},center:{x:tB.centerX,y:tB.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:mNt,texts:Qti,bounds:nB,refblocks:pne,circles:_Nt}=eB,yNt=On({primitives:[...Object.values(mNt),...Object.values(_Nt),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...pne.left,labels:["1"]},{...pne.right,labels:["3"]},{...pne.bottom,labels:["2"]}],size:{width:nB.width,height:nB.height},center:{x:nB.centerX,y:nB.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),gNt=On(eB).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:bNt,texts:Jti,bounds:iB,refblocks:fne,circles:xNt}=eB,vNt=On({primitives:[...Object.values(bNt),...Object.values(xNt),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...fne.left,labels:["1"]},{...fne.right,labels:["3"]},{...fne.bottom,labels:["2"]}],size:{width:iB.width,height:iB.height},center:{x:iB.centerX,y:iB.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),wNt={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:SNt,bounds:rB,refblocks:gRe,circles:ENt}=wNt,bRe=fd({primitives:[...Object.values(SNt),...Object.values(ENt),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS φ",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...gRe.left1,labels:["1"]},{...gRe.right1,labels:["2"]}],size:{width:rB.width,height:rB.height},center:{x:rB.centerX,y:rB.centerY}}),xRe=Yi(bRe),mne=xRe.primitives.filter(t=>t.type==="text"),_ne=mne.find(t=>t.text==="{REF}"),yne=mne.find(t=>t.text==="{VAL}"),gne=mne.find(t=>t.text==="COS φ");_ne.x=.35,_ne.y=0,_ne.anchor="middle_left",yne.anchor="middle_right",yne.x=-.35,yne.y=0,gne.x=0,gne.y=0,gne.anchor="center";var TNt=xRe,MNt={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:.01,y:.03},{x:.01,y:-.09}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:-.09},{x:.18,y:-.09}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.22},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}},{paths:ANt,texts:vRe,bounds:oB,refblocks:wRe,circles:CNt}=MNt,SRe=fd({primitives:[...Object.values(ANt),...Object.values(CNt),{...vRe.top1,anchor:"middle_left"},{...vRe.bottom1,anchor:"middle_left"}],ports:[{...wRe.left1,labels:["1"]},{...wRe.right1,labels:["2"]}],size:{width:oB.width,height:oB.height},center:{x:oB.centerX,y:oB.centerY}}),RNt=Yi(SRe,"up"),PNt={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:-.05,y:.09},{x:-.05,y:.04}],color:"primary",fill:!1},"path12-1-8-7-9-9":{type:"path",points:[{x:-.05,y:.09},{x:.07,y:.09}],color:"primary",fill:!1},"path12-1-8-6-9-10":{type:"path",points:[{x:.07,y:.09},{x:.07,y:.04}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:.04},{x:.18,y:.04}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.29},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}},{paths:INt,texts:ERe,bounds:sB,refblocks:TRe,circles:NNt}=PNt,MRe=fd({primitives:[...Object.values(INt),...Object.values(NNt),{...ERe.top1,anchor:"middle_left"},{...ERe.bottom1,anchor:"middle_left"}],ports:[{...TRe.left1,labels:["1"]},{...TRe.right1,labels:["2"]}],size:{width:sB.width,height:sB.height},center:{x:sB.centerX,y:sB.centerY}}),kNt=Yi(MRe,"up"),aB={paths:{path12_rotated:{type:"path",points:[{x:-.09,y:.12},{x:-.09,y:-.12}],color:"primary",fill:!1},path2_rotated:{type:"path",points:[{x:-.09,y:0},{x:.09,y:0}],color:"primary",fill:!1}},refblocks:{left1:{x:.09,y:0}},bounds:{centerX:0,centerY:0},circles:{}},{paths:ONt,bounds:ARe,refblocks:LNt,circles:DNt}=aB,zNt=On({primitives:[...Object.values(ONt),...Object.values(DNt),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...LNt.left1,labels:["1"]}],center:{x:ARe.centerX,y:ARe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),{paths:FNt,bounds:CRe,refblocks:BNt,circles:UNt}=aB,$Nt=On({primitives:[...Object.values(FNt),...Object.values(UNt),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...BNt.left1,labels:["1"]}],center:{x:CRe.centerX,y:CRe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),{paths:jNt,bounds:RRe,refblocks:HNt,circles:VNt}=aB,GNt=On({primitives:[...Object.values(jNt),...Object.values(VNt),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...HNt.left1,labels:["1"]}],center:{x:RRe.centerX,y:RRe.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),{paths:YNt,bounds:PRe,refblocks:qNt}=aB,XNt=On({primitives:[...Object.values(YNt),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...qNt.left1,labels:["1"]}],center:{x:PRe.centerX,y:PRe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),WNt={paths:{path40:{type:"path",points:[{x:-.19,y:-.33},{x:-.26,y:-.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:-.26},{x:-.19,y:-.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:-.14},{x:-.38,y:-.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:-.39},{x:-.13,y:-.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:-.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:-.52},{x:-.19,y:-.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:.32},{x:-.38,y:.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:.13},{x:-.19,y:.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:.26},{x:-.26,y:.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:.26},{x:-.26,y:.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:.19},{x:-.51,y:.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:.5},{x:-.19,y:.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:-.19},{x:.13,y:-.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:-.38},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:-.26},{x:.26,y:-.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:-.26},{x:.26,y:-.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:-.32},{x:.01,y:-.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:-.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:.19},{x:.26,y:.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:.26},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:.38},{x:.13,y:.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:.13},{x:.39,y:.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:.32},{x:0,y:.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:.01},{x:.32,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:-.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:.5}},refblocks:{top1:{x:0,y:-.52},bottom1:{x:0,y:.52},left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{width:1.09,height:1.1,centerX:0,centerY:0},circles:{}},{paths:ZNt,texts:IRe,bounds:cB,refblocks:lB,circles:KNt}=WNt,NRe=fd({primitives:[...Object.values(ZNt),...Object.values(KNt),{...IRe.top1,anchor:"middle_right"},{...IRe.bottom1,anchor:"middle_right"}],ports:[{...lB.top1,labels:["1"]},{...lB.bottom1,labels:["2"]},{...lB.left1,labels:["3"]},{...lB.right1,labels:["4"]}],size:{width:cB.width,height:cB.height},center:{x:cB.centerX,y:cB.centerY}}),bne=Yi(NRe),QNt=bne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),JNt=bne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");QNt.anchor="middle_left",JNt.anchor="middle_right";var ekt=bne,uB={paths:{path27:{type:"path",points:[{x:.47,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.47,y:.04}],color:"primary",fill:!1},"path27-8-2-4":{type:"path",points:[{x:.21,y:.04},{x:.19,y:-.05}],color:"primary",fill:!1},"path27-8-2-4-29":{type:"path",points:[{x:-.19,y:.14},{x:-.21,y:.04}],color:"primary",fill:!1},"path27-8-2-4-5":{type:"path",points:[{x:.19,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1":{type:"path",points:[{x:.08,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9":{type:"path",points:[{x:.08,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2":{type:"path",points:[{x:-.03,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1":{type:"path",points:[{x:-.03,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.19,y:.14}],color:"primary",fill:!1}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{width:.99,height:.84,centerX:0,centerY:0},circles:{}},{paths:tkt,bounds:dB,refblocks:kRe,circles:nkt}=uB,ikt=On({primitives:[...Object.values(tkt),...Object.values(nkt),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...kRe.left1,labels:["1"]},{...kRe.right1,labels:["2"]}],size:{width:dB.width,height:dB.height},center:{x:dB.centerX,y:dB.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),{paths:rkt,bounds:hB,refblocks:ORe,circles:okt}=uB,skt=On({primitives:[...Object.values(rkt),...Object.values(okt),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...ORe.left1,labels:["1"]},{...ORe.right1,labels:["2"]}],size:{width:hB.width,height:hB.height},center:{x:hB.centerX,y:hB.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:akt,bounds:pB,refblocks:LRe,circles:ckt}=uB,lkt=On({primitives:[...Object.values(akt),...Object.values(ckt),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...LRe.left1,labels:["1"]},{...LRe.right1,labels:["2"]}],size:{width:pB.width,height:pB.height},center:{x:pB.centerX,y:pB.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),{paths:ukt,bounds:fB,refblocks:DRe,circles:dkt}=uB,hkt=On({primitives:[...Object.values(ukt),...Object.values(dkt),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...DRe.left1,labels:["1"]},{...DRe.right1,labels:["2"]}],size:{width:fB.width,height:fB.height},center:{x:fB.centerX,y:fB.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),zRe={paths:{path27:{type:"path",points:[{x:.76,y:-.28},{x:.31,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.3,y:-.02},{x:-.77,y:-.02}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.3,y:.35},{x:-.3,y:-.28}],color:"primary",fill:!1},"path27-3":{type:"path",points:[{x:.77,y:.35},{x:.32,y:.35}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.07,y:-.28},{x:-.3,y:-.28}],color:"primary",fill:!1},"path29-5-7":{type:"path",points:[{x:.33,y:-.28},{x:.11,y:-.28}],color:"primary",fill:!1},"path29-5-7-6":{type:"path",points:[{x:-.06,y:-.17},{x:-.06,y:-.39}],color:"primary",fill:!1},"path29-5-7-6-6":{type:"path",points:[{x:.09,y:-.17},{x:.09,y:-.39}],color:"primary",fill:!1},"path29-5-9":{type:"path",points:[{x:-.07,y:.35},{x:-.3,y:.35}],color:"primary",fill:!1},"path29-5-7-2":{type:"path",points:[{x:.33,y:.35},{x:.11,y:.35}],color:"primary",fill:!1},"path29-5-7-6-0":{type:"path",points:[{x:-.06,y:.46},{x:-.06,y:.24}],color:"primary",fill:!1},"path29-5-7-6-6-2":{type:"path",points:[{x:.09,y:.46},{x:.09,y:.24}],color:"primary",fill:!1},"path29-5-92":{type:"path",points:[{x:.33,y:.13},{x:.33,y:.35}],color:"primary",fill:!1},"path29-5-7-28":{type:"path",points:[{x:.33,y:-.28},{x:.33,y:-.05}],color:"primary",fill:!1},"path29-5-7-6-9":{type:"path",points:[{x:.44,y:.11},{x:.22,y:.11}],color:"primary",fill:!1},"path29-5-7-6-6-7":{type:"path",points:[{x:.44,y:-.04},{x:.22,y:-.04}],color:"primary",fill:!1},"path29-5-7-6-9-2":{type:"path",points:[{x:.44,y:.07},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4":{type:"path",points:[{x:.44,y:0},{x:.44,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4-6":{type:"path",points:[{x:.22,y:0},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-9":{type:"path",points:[{x:.44,y:0},{x:.22,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.02,y:.53},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.54}},refblocks:{left1:{x:-.77,y:-.02},right1:{x:.76,y:-.28},right2:{x:.77,y:.35}},bounds:{width:1.59,height:1.07,centerX:0,centerY:0},circles:{}},{paths:pkt,texts:FRe,bounds:mB,refblocks:xne,circles:fkt}=zRe,_B=fd({primitives:[...Object.values(pkt),...Object.values(fkt),{...FRe.top1,anchor:"middle_bottom"},{...FRe.bottom1,anchor:"middle_top"}],ports:[{...xne.left1,labels:["1"]},{...xne.right1,labels:["2"]},{...xne.right2,labels:["3"]}],size:{width:mB.width,height:mB.height},center:{x:mB.centerX,y:mB.centerY}}),vne=Yi(_B,"down"),wne=vne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sne=vne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wne.anchor="middle_bottom",Sne.anchor="middle_top",wne.y+=.3,wne.x+=.101,Sne.y-=.49999,Sne.x+=1.19999;var mkt=vne,{paths:_kt,bounds:yB,refblocks:Ene,circles:ykt}=zRe,BRe=fd({primitives:[...Object.values(_kt),...Object.values(ykt),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Ene.left1,labels:["1"]},{...Ene.right1,labels:["2"]},{...Ene.right2,labels:["3"]}],size:{width:yB.width,height:yB.height},center:{x:yB.centerX,y:yB.centerY}}),Tne=Yi(_B,"left"),Mne=Tne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ane=Tne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mne.anchor="middle_bottom",Ane.anchor="middle_top",Mne.y+=.99,Mne.x-=0,Ane.y-=1.10999,Ane.x=0;var gkt=Tne,Cne=Yi(_B,"up"),Rne=Cne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pne=Cne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rne.anchor="middle_bottom",Pne.anchor="middle_top",Rne.y+=.499,Rne.x=.62,Pne.y-=.29999,Pne.x+=.1;var bkt=Cne,xkt=Yi(BRe),vkt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-7":{type:"path",points:[{x:.21,y:.18},{x:.14,y:.18}],color:"primary",fill:!1},"path43-7-9":{type:"path",points:[{x:.21,y:.13},{x:.21,y:.18}],color:"primary",fill:!1},"path43-7-2":{type:"path",points:[{x:.08,y:-.09},{x:.14,y:-.09}],color:"primary",fill:!1},"path43-7-9-3":{type:"path",points:[{x:.08,y:-.04},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},gB=On(vkt).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build(),Ine=Yi(gB,"down"),Nne=Ine.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kne=Ine.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nne.anchor="middle_left",kne.anchor="middle_left",Nne.y+=.3,Nne.x=.3,kne.y-=.3,kne.x=.3;var wkt=Ine,One=Yi(gB,"left"),Lne=One.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dne=One.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lne.anchor="middle_bottom",Dne.anchor="middle_top",Lne.y+=.5,Lne.x=0,Dne.y-=.55,Dne.x=0;var Skt=One,zne=Yi(gB,"up"),Fne=zne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bne=zne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fne.anchor="middle_left",Bne.anchor="middle_left",Fne.y+=.3,Fne.x=.3,Bne.y-=.3,Bne.x=.3;var Ekt=zne,URe={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.52,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.18,y:-.15},{x:.18,y:.25}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.19,y:0},{x:.35,y:-.14}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.35,y:-.14},{x:.34,y:-.35}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.17,y:.27},{x:-.17,y:-.15},{x:.18,y:.05},{x:-.17,y:.27}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.22,y:.38},bottom1:{type:"text",text:"{VAL}",x:.11,y:-.38}},refblocks:{bottom1:{x:.34,y:-.35},left1:{x:-.52,y:.04},right1:{x:.52,y:.05}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.38,width:1.09,height:.77,centerX:0,centerY:0},circles:{}},{paths:eni,texts:tni,bounds:nni,refblocks:ini,circles:rni}=URe,$Re=On(URe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),jRe=Yi($Re),Tkt=jRe.primitives.filter(t=>t.type==="text"),HRe=Tkt.find(t=>t.text==="{REF}");HRe.y=0,HRe.anchor="middle_left";var Mkt=jRe,bB={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.02},{x:-.07,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}},Akt=On(bB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),Ckt=On(bB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build(),Rkt=On(bB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Pkt=On(bB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build(),xB={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}},Ikt=On(xB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),Nkt=On(xB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build(),kkt=On(xB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),Okt=On(xB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build(),vB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},Lkt=On(vB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Dkt=On(vB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),zkt=On(vB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Fkt=On(vB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),wB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},Bkt=On(wB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Ukt=On(wB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),$kt=On(wB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),jkt=On(wB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),SB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},Hkt=On(SB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Vkt=On(SB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),Gkt=On(SB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Ykt=On(SB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),EB={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}},qkt=On(EB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build(),Xkt=On(EB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build(),Wkt=On(EB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Zkt=On(EB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build(),Kkt={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:-.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right2:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}},TB=On(Kkt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Une=Yi(TB,"down"),$ne=Une.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jne=Une.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$ne.anchor="middle_bottom",jne.anchor="middle_top",$ne.x=.44,$ne.y+=.28,jne.y-=.28,jne.x=.44;var Qkt=Une,Hne=Yi(TB,"left"),Vne=Hne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gne=Hne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vne.anchor="middle_bottom",Gne.anchor="middle_top",Vne.x=0,Vne.y+=.625,Gne.y-=.695,Gne.x=0;var Jkt=Hne,Yne=Yi(TB,"up"),qne=Yne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xne=Yne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qne.anchor="middle_bottom",Xne.anchor="middle_top",qne.x=.4,qne.y+=.28,Xne.y-=.28,Xne.x=.4;var eOt=Yne,tOt={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:.14}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right3:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}},MB=On(tOt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),Wne=Yi(MB,"down"),Zne=Wne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Kne=Wne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zne.anchor="middle_bottom",Kne.anchor="middle_top",Zne.x=.44,Zne.y+=.28,Kne.y-=.28,Kne.x=.44;var nOt=Wne,Qne=Yi(MB,"left"),Jne=Qne.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),eie=Qne.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jne.anchor="middle_bottom",eie.anchor="middle_top",Jne.x=0,Jne.y+=.625,eie.y-=.695,eie.x=0;var iOt=Qne,tie=Yi(MB,"up"),nie=tie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),iie=tie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");nie.anchor="middle_bottom",iie.anchor="middle_top",nie.x=.4,nie.y+=.28,iie.y-=.28,iie.x=.4;var rOt=tie,AB={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:0},{x:.11,y:.05}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.28}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete AB.refblocks.left1,delete AB.refblocks.right1,AB.bounds.width+=.2;var CB=On(AB).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),rie=Yi(CB,"down"),oie=rie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sie=rie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oie.anchor="middle_bottom",sie.anchor="middle_top",oie.x=.3,oie.y+=.265,sie.y-=.265,sie.x=.3;var oOt=rie,aie=Yi(CB,"left"),cie=aie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),lie=aie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cie.anchor="middle_bottom",lie.anchor="middle_top",cie.x=0,cie.y+=.57,lie.y-=.57,lie.x=0;var sOt=aie,uie=Yi(CB,"up"),die=uie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hie=uie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");die.anchor="middle_bottom",hie.anchor="middle_top",die.x=.3,die.y+=.265,hie.y-=.265,hie.x=.3;var aOt=uie,RB={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:.01},{x:.1,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete RB.refblocks.left1,delete RB.refblocks.right1,RB.bounds.width+=.2;var PB=On(RB).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),pie=Yi(PB,"down"),fie=pie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mie=pie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fie.anchor="middle_bottom",mie.anchor="middle_top",fie.x=.3,fie.y+=.265,mie.y-=.265,mie.x=.3;var cOt=pie,_ie=Yi(PB,"left"),yie=_ie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gie=_ie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yie.anchor="middle_bottom",gie.anchor="middle_top",yie.x=0,yie.y+=.57,gie.y-=.57,gie.x=0;var lOt=_ie,bie=Yi(PB,"up"),xie=bie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vie=bie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xie.anchor="middle_bottom",vie.anchor="middle_top",xie.x=.3,xie.y+=.265,vie.y-=.265,vie.x=.3;var uOt=bie,IB={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4458008,y:.02709619999999968}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.4458008,y:.026971799999999657},{x:.1677968999999997,y:.027926399999999685}],color:"primary",fill:!1},"path8704-1":{type:"path",points:[{x:-.0040837000000002455,y:-.13467459999999964},{x:-.0040837000000002455,y:-.13467459999999964},{x:-.017668143940740948,y:-.1311205263185182},{x:-.03043520885925943,y:-.12727072121481456},{x:-.04240966440000013,y:-.1231399985999998},{x:-.05361628020740751,y:-.11874317238518502},{x:-.064079825925926,y:-.11409505648148131},{x:-.07382507120000005,y:-.10921046479999987},{x:-.0828767856740741,y:-.10410421125185171},{x:-.0912597389925926,y:-.09879110974814802},{x:-.09899870079999995,y:-.0932859741999998},{x:-.10611844074074069,y:-.08760361851851838},{x:-.11264372845925916,y:-.0817588566148146},{x:-.11859933359999993,y:-.07576650239999982},{x:-.12401002580740728,y:-.06964136978518495},{x:-.12890057472592584,y:-.06339827268148127},{x:-.13329574999999985,y:-.05705202499999972},{x:-.13722032127407394,y:-.05061744065185156},{x:-.14069905819259243,y:-.04410933354814783},{x:-.14375673039999987,y:-.03754251759999966},{x:-.14641810754074058,y:-.030931806718518143},{x:-.1487079592592591,y:-.0242920148148144},{x:-.15065105519999983,y:-.017637955799999563},{x:-.15227216500740723,y:-.01098444358518472},{x:-.15359605832592574,y:-.004346292081480994},{x:-.1546475047999998,y:.00226168480000051},{x:-.15545127407407386,y:.008824673148148676},{x:-.1560321357925924,y:.015327859051852397},{x:-.1564148595999998,y:.02175642860000056},{x:-.1566242151407405,y:.028095567881482052},{x:-.15668497205925902,y:.03433046298518576},{x:-.15662189999999976,y:.04044630000000058},{x:-.15662189999999976,y:.0404463000000006},{x:-.15662189999999976,y:.0404463000000006},{x:-.15622857394444417,y:.04717166472222282},{x:-.1553217675555553,y:.05388046444444503},{x:-.15392183849999977,y:.060558907500000585},{x:-.1520491444444442,y:.0671932022222228},{x:-.1497240430555553,y:.07376955694444502},{x:-.14696689199999974,y:.08027418000000058},{x:-.14379804894444415,y:.0866932797222228},{x:-.1402378715555553,y:.09301306444444506},{x:-.13630671749999965,y:.09921974250000057},{x:-.13202494444444415,y:.10529952222222282},{x:-.12741291005555522,y:.11123861194444501},{x:-.1224909719999997,y:.1170232200000006},{x:-.11727948794444407,y:.12263955472222278},{x:-.11179881555555524,y:.12807382444444504},{x:-.10606931249999965,y:.13331223750000057},{x:-.1001113364444441,y:.13834100222222284},{x:-.09394524505555521,y:.14314632694444504},{x:-.08759139599999967,y:.14771442000000062},{x:-.08107014694444413,y:.15203148972222283},{x:-.07440185555555523,y:.15608374444444503},{x:-.0676068794999997,y:.15985739250000058},{x:-.06070557644444415,y:.16333864222222283},{x:-.05371830405555529,y:.16651370194444504},{x:-.04666541999999976,y:.1693687800000006},{x:-.03956728194444424,y:.1718900847222228},{x:-.03244424755555539,y:.17406382444444501},{x:-.025316674499999876,y:.17587620750000055},{x:-.01820492044444437,y:.17731344222222278},{x:-.01112934305555553,y:.178361736944445},{x:-.004110300000000034,y:.17900730000000054},{x:-.004110300000000011,y:.17900730000000054}],color:"primary",fill:!1},"path8704-1-9":{type:"path",points:[{x:.004158700000000071,y:-.1355885000000001},{x:.004158700000000071,y:-.1355885000000001},{x:.017743143940740766,y:-.1320344263185187},{x:.03051020885925925,y:-.12818462121481505},{x:.042484664399999955,y:-.12405389860000024},{x:.053691280207407335,y:-.11965707238518546},{x:.0641548259259258,y:-.11500895648148178},{x:.07390007119999986,y:-.1101243648000003},{x:.0829517856740739,y:-.10501811125185218},{x:.0913347389925924,y:-.09970500974814848},{x:.09907370079999973,y:-.09419987420000027},{x:.10619344074074046,y:-.08851751851851883},{x:.11271872845925893,y:-.08267275661481507},{x:.11867433359999968,y:-.07668040240000029},{x:.12408502580740703,y:-.0705552697851854},{x:.12897557472592555,y:-.06431217268148172},{x:.13337074999999957,y:-.05796592500000018},{x:.13729532127407365,y:-.05153134065185202},{x:.14077405819259214,y:-.045023233548148286},{x:.14383173039999952,y:-.038456417600000126},{x:.14649310754074024,y:-.03184570671851861},{x:.14878295925925875,y:-.02520591481481487},{x:.1507260551999995,y:-.01855185580000003},{x:.15234716500740686,y:-.011898343585185192},{x:.15367105832592537,y:-.005260192081481464},{x:.15472250479999944,y:.001347784800000043},{x:.1555262740740735,y:.007910773148148207},{x:.156107135792592,y:.01441395905185193},{x:.1564898595999994,y:.020842528600000094},{x:.15669921514074014,y:.02718166788148159},{x:.15675997205925862,y:.03341656298518529},{x:.15669689999999936,y:.03953240000000011},{x:.15669689999999936,y:.039532400000000134},{x:.15669689999999936,y:.039532400000000134},{x:.1563035739444438,y:.04625776472222235},{x:.15539676755555493,y:.05296656444444457},{x:.15399683849999934,y:.05964500750000013},{x:.1521241444444438,y:.06627930222222234},{x:.14979904305555491,y:.07285565694444456},{x:.14704189199999937,y:.07936028000000013},{x:.1438730489444438,y:.08577937972222234},{x:.1403128715555549,y:.09209916444444458},{x:.13638171749999925,y:.0983058425000001},{x:.13209994444444376,y:.10438562222222235},{x:.12748791005555482,y:.11032471194444453},{x:.12256597199999929,y:.11610932000000013},{x:.1173544879444437,y:.1217256547222223},{x:.11187381555555485,y:.12715992444444457},{x:.10614431249999925,y:.1323983375000001},{x:.10018633644444369,y:.13742710222222235},{x:.09402024505555481,y:.14223242694444457},{x:.08766639599999927,y:.14680052000000016},{x:.08114514694444372,y:.15111758972222236},{x:.07447685555555483,y:.15516984444444457},{x:.06768187949999929,y:.15894349250000012},{x:.06078057644444377,y:.16242474222222236},{x:.053793304055554894,y:.16559980194444457},{x:.046740419999999366,y:.16845488000000014},{x:.039642281944443844,y:.17097618472222234},{x:.03251924755555499,y:.17314992444444455},{x:.02539167449999948,y:.17496230750000008},{x:.018279920444443973,y:.17639954222222232},{x:.011204343055555134,y:.17744783694444452},{x:.004185299999999637,y:.17809340000000007},{x:.004185299999999614,y:.17809340000000007}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.08039130000000005,y:.0179576999999993},{x:-.08039130000000005,y:.09650599999999931}],color:"primary",fill:!0},"path4-5":{type:"path",points:[{x:.01494479999999987,y:-.055216500000000224},{x:.01494479999999987,y:.09691909999999937}],color:"primary",fill:!0},"path4-5-8":{type:"path",points:[{x:.06871169999999927,y:-.056870000000000864},{x:.06871169999999927,y:.018784499999999538}],color:"primary",fill:!0},"path4-1":{type:"path",points:[{x:-.08179359999999969,y:.09650570000000003},{x:.015771699999999722,y:.09650570000000003}],color:"primary",fill:!0},"path4-1-6":{type:"path",points:[{x:.0117995999999998,y:-.05594970000000088},{x:.06843709999999925,y:-.05594970000000088}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.17162450000000073,y:.11125030000000025},{x:-.2688274000000015,y:.11125030000000025},{x:-.2688274000000015,y:.11469129999999961},{x:-.17162450000000073,y:.11469129999999961}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.2184661999999995,y:.16159429999999997},{x:-.2184661999999995,y:.06439139999999943},{x:-.22190719999999908,y:.06439139999999943},{x:-.22190719999999908,y:.16159429999999997}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.0024445000000006267,y:.23933980000000044},bottom1:{type:"text",text:"{VAL}",x:.00341719999999901,y:-.23933980000000066}},refblocks:{left1:{x:-.4458008,y:.02709619999999968},right1:{x:.4458008,y:.026971799999999657}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.23933980000000066,maxY:.23933980000000044,width:.947918482,height:.4786796000000011,centerX:0,centerY:-11102230246251565e-32},circles:{}},dOt=On(IB).rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_left",{x:.02,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:-.2}).build(),hOt=On(IB).rotateRightFacingSymbol("left").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.45}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.55}).build(),pOt=On(IB).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),fOt=On(IB).rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_left",{x:.02,y:-.2}).changeTextAnchor("{REF}","middle_left",{x:.5,y:.2}).build(),VRe={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-5":{type:"path",points:[{x:.19,y:-.09},{x:.15,y:-.09}],color:"primary",fill:!1},"path43-5-2":{type:"path",points:[{x:.19,y:-.14},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:oni,texts:sni,bounds:ani,refblocks:cni,circles:lni}=VRe,GRe=On(VRe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),mOt=Yi(GRe),_Ot={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:yOt,texts:gOt,bounds:NB,refblocks:YRe,circles:bOt}=_Ot,wie=fd({primitives:[...Object.values(yOt),...Object.values(bOt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...gOt.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...YRe.left1,labels:["1"]},{...YRe.right1,labels:["2"]}],size:{width:NB.width,height:NB.height},center:{x:NB.centerX,y:NB.centerY}}),{5:xOt,...vOt}=wie.primitives;function wOt(t){return typeof t=="object"}var qRe=Yi({...wie,primitives:Object.values(vOt).filter(wOt)}),SOt={...qRe,primitives:[...qRe.primitives,xOt]},kB=fd({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,e)=>{let n=Math.PI/2-e*Math.PI/7,i=.1;return{x:.1-i*Math.cos(n),y:i*Math.sin(n)}}),color:"primary",fill:!1},{type:"text",text:"{REF}",x:.125,y:0,anchor:"middle_left"}],ports:[{x:-.2,y:0,labels:["1"]}],center:{x:0,y:0}}),XRe=Yi(kB,"down"),WRe=XRe.primitives.find(t=>t.type==="text"&&t.text==="{REF}");WRe&&(WRe.anchor="middle_top");var EOt=XRe,TOt=Yi(kB,"left"),ZRe=Yi(kB,"up"),KRe=ZRe.primitives.find(t=>t.type==="text"&&t.text==="{REF}");KRe&&(KRe.anchor="middle_bottom");var MOt=ZRe,AOt={paths:{path40:{type:"path",points:[{x:.44,y:.04},{x:.19,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:.19,y:.18},{x:.44,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.19,y:-.09},{x:.19,y:.18}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.19,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.43,y:.22},{x:-.11,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{right1:{x:-.43,y:.22}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}},Sie=On(AOt).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Eie=Yi(Sie,"up"),Tie=Eie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mie=Eie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tie.anchor="middle_bottom",Mie.anchor="middle_top",Tie.x=.4,Tie.y+=.2,Mie.y-=.3,Mie.x=.4;var QRe=Eie,Aie=_z(QRe),Cie=Aie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rie=Aie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cie.anchor="middle_bottom",Rie.anchor="middle_top",Cie.x=.35,Cie.y+=.4,Rie.y-=.4,Rie.x=.35;var COt=Aie,Pie=Yi(Sie,"left"),Iie=Pie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Nie=Pie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Iie.anchor="middle_bottom",Nie.anchor="middle_top",Iie.x=0,Iie.y+=.5,Nie.y-=.6,Nie.x=0;var ROt=Pie,JRe={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0},"path12-2":{type:"path",points:[{x:.09,y:-.06},{x:.27,y:-.17}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.27,y:-.18},{x:.27,y:-.31}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{bottom1:{x:.27,y:-.31},left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}},{paths:uni,texts:dni,bounds:hni,refblocks:pni,circles:fni}=JRe,ePe=On(JRe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build(),tPe=Yi(ePe),nPe=tPe.primitives.filter(t=>t.type==="text"),POt=nPe.find(t=>t.text==="{REF}"),IOt=nPe.find(t=>t.text==="{VAL}");POt.y=0,IOt.y=0;var NOt=tPe,kOt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14,y:-.09},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:OOt,texts:iPe,bounds:OB,refblocks:rPe,circles:LOt}=kOt,oPe=fd({primitives:[...Object.values(OOt),...Object.values(LOt),{...iPe.top1,anchor:"middle_bottom"},{...iPe.bottom1,anchor:"middle_top"}],ports:[{...rPe.left1,labels:["1"]},{...rPe.right1,labels:["2"]}],size:{width:OB.width,height:OB.height},center:{x:OB.centerX,y:OB.centerY}}),kie=Yi(oPe),DOt=kie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zOt=kie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");DOt.anchor="middle_left",zOt.anchor="middle_right";var FOt=kie,BOt={paths:{path11:{type:"path",points:[{x:-.34,y:.22},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.4}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.35}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.01,y:-.18},{x:-.01,y:.23}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.23,y:.12},{x:-.01,y:.12}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.11,y:.13},{x:-.17,y:.04},{x:-.06,y:.03},{x:-.11,y:.13}],color:"primary",fill:!0},"path11-0-3-8":{type:"path",points:[{x:.23,y:-.08},{x:-.01,y:-.08}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.2,y:.39},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{top1:{x:.23,y:.4},bottom1:{x:.23,y:-.35},left1:{x:-.34,y:.22}},bounds:{width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}},{paths:UOt,texts:sPe,bounds:LB,refblocks:Oie,circles:$Ot}=BOt,aPe=fd({primitives:[...Object.values(UOt),...Object.values($Ot),{...sPe.top1,anchor:"middle_left"},{...sPe.bottom1,anchor:"middle_right"}],ports:[{...Oie.top1,labels:["1"]},{...Oie.bottom1,labels:["2"]},{...Oie.left1,labels:["3"]}],size:{width:LB.width,height:LB.height},center:{x:LB.centerX,y:LB.centerY}}),cPe=Yi(aPe),lPe=cPe.primitives.filter(t=>t.type==="text"),jOt=lPe.find(t=>t.text==="{REF}");jOt.y=.1;var uPe=lPe.find(t=>t.text==="{VAL}");uPe.y=.1,uPe.x=-.4;var HOt=cPe,VOt={paths:{capsule_outer:{type:"path",points:[{x:-.44,y:.34},{x:-.45,y:.39},{x:-.46,y:.42},{x:-.49,y:.44},{x:-.52,y:.46},{x:-.56,y:.46},{x:-.6,y:.46},{x:-.63,y:.44},{x:-.65,y:.42},{x:-.67,y:.39},{x:-.68,y:.34},{x:-.68,y:-.34},{x:-.67,y:-.39},{x:-.65,y:-.42},{x:-.63,y:-.44},{x:-.6,y:-.45},{x:-.56,y:-.46},{x:-.52,y:-.45},{x:-.49,y:-.44},{x:-.46,y:-.42},{x:-.45,y:-.39},{x:-.44,y:-.34},{x:-.44,y:.34}],color:"primary",fill:!1},capsule_inner:{type:"path",points:[{x:-.51,y:.28},{x:-.52,y:.32},{x:-.53,y:.34},{x:-.56,y:.35},{x:-.57,y:.35},{x:-.58,y:.34},{x:-.6,y:.32},{x:-.61,y:.28},{x:-.61,y:-.28},{x:-.6,y:-.32},{x:-.58,y:-.34},{x:-.57,y:-.35},{x:-.56,y:-.35},{x:-.53,y:-.34},{x:-.52,y:-.32},{x:-.51,y:-.28},{x:-.51,y:.28}],color:"primary",fill:!0},usb_vertical:{type:"path",points:[{x:.1,y:-.4},{x:.1,y:.4}],color:"primary",fill:!1},usb_left_branch:{type:"path",points:[{x:.1,y:-.1},{x:-.03,y:.05},{x:-.03,y:.15}],color:"primary",fill:!1},usb_right_branch:{type:"path",points:[{x:.1,y:0},{x:.25,y:.15},{x:.25,y:.25}],color:"primary",fill:!1},usb_arrow:{type:"path",points:[{x:.05,y:.4},{x:.1,y:.5},{x:.15,y:.4},{x:.05,y:.4}],color:"primary",fill:!0},usb_square:{type:"path",points:[{x:.2,y:.25},{x:.3,y:.25},{x:.3,y:.35},{x:.2,y:.35},{x:.2,y:.25}],color:"primary",fill:!0}},circles:{usb_base:{type:"circle",x:.1,y:-.4,radius:.07,color:"primary",fill:!0},usb_tip_circle:{type:"circle",x:-.03,y:.15,radius:.04,color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.25,y:.7}},refblocks:{},bounds:{minX:-.75,maxX:.35,minY:-.6,maxY:.75,width:1.1,height:1.35,centerX:-.2,centerY:.08}},GOt=On(VOt).changeTextAnchor("{REF}","middle_bottom").build(),YOt={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Var",x:-.19,y:.07}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:qOt,texts:Lie,bounds:DB,refblocks:dPe,circles:XOt}=YOt,hPe=fd({primitives:[...Object.values(qOt),...Object.values(XOt),{...Lie.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Lie.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Lie.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...dPe.left1,labels:["1"]},{...dPe.right1,labels:["2"]}],size:{width:DB.width,height:DB.height},center:{x:DB.centerX,y:DB.centerY}}),WOt=Yi(hPe),ZOt={paths:{path40:{type:"path",points:[{x:.08,y:.04},{x:-.18,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.18,y:.18},{x:.08,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.18,y:-.09},{x:-.18,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.09,y:.17},{x:.1,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.2,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.19,y:.17},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:KOt,texts:pPe,bounds:zB,refblocks:fPe,circles:QOt}=ZOt,mPe=fd({primitives:[...Object.values(KOt),...Object.values(QOt),{...pPe.top1,anchor:"middle_bottom"},{...pPe.bottom1,anchor:"middle_top"}],ports:[{...fPe.left1,labels:["1"]},{...fPe.right1,labels:["2"]}],size:{width:zB.width,height:zB.height},center:{x:zB.centerX,y:zB.centerY}}),Die=Yi(mPe),JOt=Die.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),eLt=Die.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");JOt.anchor="middle_left",eLt.anchor="middle_right";var tLt=Die,nLt={paths:{path5:{type:"path",points:[{x:-.54,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.54,y:.01}],color:"primary",fill:!1},path7:{type:"path",points:[{x:.27,y:-.23},{x:-.26,y:.24}],color:"primary",fill:!1},path8:{type:"path",points:[{x:.38,y:-.23},{x:.27,y:-.23}],color:"primary",fill:!1},path9:{type:"path",points:[{x:0,y:.14},{x:.27,y:.14},{x:.27,y:-.13},{x:-.26,y:-.13},{x:-.26,y:.14},{x:0,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.06,y:.25},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.25}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:.01}},bounds:{width:1.13,height:.5,centerX:0,centerY:0}},{paths:iLt,texts:_Pe,bounds:FB,refblocks:yPe}=nLt,gPe=fd({primitives:[...Object.values(iLt),{..._Pe.top1,anchor:"middle_left"},{..._Pe.bottom1,anchor:"middle_right"}],ports:[{...yPe.left1,labels:["1","-"]},{...yPe.right1,labels:["2","+"]}],size:{width:FB.width,height:FB.height},center:{x:FB.centerX,y:FB.centerY}}),rLt=Yi(gPe),oLt={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Var",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:sLt,texts:aLt,bounds:BB,refblocks:bPe,circles:cLt}=oLt,zie=fd({primitives:[...Object.values(sLt),...Object.values(cLt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...aLt.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...bPe.left1,labels:["1"]},{...bPe.right1,labels:["2"]}],size:{width:BB.width,height:BB.height},center:{x:BB.centerX,y:BB.centerY}}),{5:lLt,...uLt}=zie.primitives;function dLt(t){return typeof t=="object"}var xPe=Yi({...zie,primitives:Object.values(uLt).filter(dLt)}),hLt={...xPe,primitives:[...xPe.primitives,lLt]},UB={paths:{"path28-2":{type:"path",points:[{x:.19,y:0},{x:0,y:.09}],color:"primary",fill:!1},"path28-2-6":{type:"path",points:[{x:.19,y:0},{x:0,y:-.09}],color:"primary",fill:!1},"path29-3":{type:"path",points:[{x:.19,y:0},{x:-.23,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{REF}",x:.25,y:0}},refblocks:{left1:{x:-.23,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.09,maxY:.09,width:.5,height:.19,centerX:0,centerY:0},circles:{}};function $B(t,e){let{width:n,height:i}=t.size,r=1,o=1;e.width!==void 0&&e.height!==void 0?(r=e.width/n,o=e.height/i):e.width!==void 0?r=o=e.width/n:e.height!==void 0&&(r=o=e.height/i);let s=t.primitives.map(a=>{switch(a.type){case"path":return{...a,points:a.points.map(c=>({x:c.x*r,y:c.y*o}))};case"text":return{...a,x:a.x*r,y:a.y*o,fontSize:a.fontSize?a.fontSize*r:void 0};case"circle":return{...a,x:a.x*r,y:a.y*o,radius:a.radius*r};case"box":return{...a,x:a.x*r,y:a.y*o,width:a.width*r,height:a.height*o};default:return a}});return{...t,primitives:s,center:{x:t.center.x*r,y:t.center.y*o},ports:t.ports.map(a=>({...a,x:a.x*r,y:a.y*o})),size:{width:n*r,height:i*o}}}var pLt=On(UB).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),fLt=$B(pLt,{width:.24,height:.23}),mLt=On(UB).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),_Lt=$B(mLt,{width:.23,height:.24}),yLt=On(UB).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),gLt=$B(yLt,{width:.23,height:.24}),bLt=On(UB).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),xLt=$B(bLt,{width:.24,height:.23}),vPe={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.8,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}},{paths:mni,texts:_ni,bounds:yni,circles:gni,refblocks:bni}=vPe,wPe=On(vPe).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),vLt=Yi(wPe),wLt={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:SLt,texts:ELt,bounds:jB,refblocks:SPe,circles:TLt}=wLt,Fie=fd({primitives:[...Object.values(SLt),...Object.values(TLt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...ELt.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...SPe.left1,labels:["1"]},{...SPe.right1,labels:["2"]}],size:{width:jB.width,height:jB.height},center:{x:jB.centerX,y:jB.centerY}}),{5:MLt,...ALt}=Fie.primitives;function CLt(t){return typeof t=="object"}var EPe=Yi({...Fie,primitives:Object.values(ALt).filter(CLt)}),RLt={...EPe,primitives:[...EPe.primitives,MLt]},PLt={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}},{paths:ILt,texts:NLt,bounds:HB,refblocks:TPe,circles:kLt}=PLt,Bie=fd({primitives:[...Object.values(ILt),...Object.values(kLt),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...NLt.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...TPe.left1,labels:["1"]},{...TPe.right1,labels:["2"]}],size:{width:HB.width,height:HB.height},center:{x:HB.centerX,y:HB.centerY}}),{5:OLt,...LLt}=Bie.primitives;function DLt(t){return typeof t=="object"}var MPe=Yi({...Bie,primitives:Object.values(LLt).filter(DLt)}),zLt={...MPe,primitives:[...MPe.primitives,OLt]},FLt={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{width:1.09,height:.55,centerX:0,centerY:0},circles:{}},{paths:BLt,texts:APe,bounds:VB,refblocks:CPe,circles:ULt}=FLt,RPe=fd({primitives:[...Object.values(BLt),...Object.values(ULt),{...APe.top1,anchor:"middle_bottom"},{...APe.bottom1,anchor:"middle_top"}],ports:[{...CPe.left1,labels:["1"]},{...CPe.right1,labels:["2"]}],size:{width:VB.width,height:VB.height},center:{x:VB.centerX,y:VB.centerY}}),Uie=Yi(RPe),$Lt=Uie.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jLt=Uie.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$Lt.anchor="middle_left",jLt.anchor="middle_right";var HLt=Uie,lv={ac_voltmeter_down:B6t,ac_voltmeter_horz:j6t,ac_voltmeter_left:G6t,ac_voltmeter_right:X6t,ac_voltmeter_up:K6t,ac_voltmeter_vert:eAt,avalanche_diode_down:iAt,avalanche_diode_horz:rAt,avalanche_diode_left:aAt,avalanche_diode_right:cAt,avalanche_diode_up:dAt,avalanche_diode_vert:fAt,backward_diode_down:yAt,backward_diode_left:lCe,backward_diode_right:wAt,backward_diode_up:SAt,battery_horz:pCe,battery_vert:AAt,boxresistor_down:PAt,boxresistor_left:kAt,boxresistor_right:DAt,boxresistor_small_down:BAt,boxresistor_small_left:jAt,boxresistor_small_right:GAt,boxresistor_small_up:XAt,boxresistor_up:KAt,bridged_ground_down:eCt,bridged_ground_left:iCt,bridged_ground_right:PCe,bridged_ground_up:sCt,capacitor_down:lCt,capacitor_left:uCt,capacitor_polarized_down:pCt,capacitor_polarized_left:fCt,capacitor_polarized_right:yCt,capacitor_polarized_up:xCt,capacitor_right:vCt,capacitor_up:ECt,constant_current_diode_down:ACt,constant_current_diode_horz:CCt,constant_current_diode_left:ICt,constant_current_diode_right:NCt,constant_current_diode_up:LCt,constant_current_diode_vert:FCt,crystal_4pin_down:$Ct,crystal_4pin_left:jCt,crystal_4pin_right:HCt,crystal_4pin_up:YCt,crystal_down:WCt,crystal_left:ZCt,crystal_right:KCt,crystal_up:e7t,darlington_pair_transistor_down:t7t,darlington_pair_transistor_horz:n7t,darlington_pair_transistor_left:i7t,darlington_pair_transistor_right:r7t,darlington_pair_transistor_up:o7t,darlington_pair_transistor_vert:s7t,dc_ammeter_horz:lee,dc_ammeter_vert:m7t,dc_voltmeter_down:g7t,dc_voltmeter_horz:v7t,dc_voltmeter_left:E7t,dc_voltmeter_right:A7t,dc_voltmeter_up:P7t,dc_voltmeter_vert:k7t,diac_down:O7t,diac_horz:L7t,diac_left:D7t,diac_right:z7t,diac_up:F7t,diac_vert:B7t,digital_ground_down:j7t,digital_ground_left:G7t,digital_ground_right:X7t,digital_ground_up:K7t,diode_down:J7t,diode_left:eRt,diode_right:uF,diode_up:tRt,dpdt_normally_closed_switch_down:iRt,dpdt_normally_closed_switch_left:rRt,dpdt_normally_closed_switch_right:dF,dpdt_normally_closed_switch_up:oRt,dpdt_switch_down:aRt,dpdt_switch_left:cRt,dpdt_switch_right:hF,dpdt_switch_up:lRt,dpst_normally_closed_switch_down:dRt,dpst_normally_closed_switch_left:hRt,dpst_normally_closed_switch_right:pF,dpst_normally_closed_switch_up:pRt,dpst_switch_down:mRt,dpst_switch_left:_Rt,dpst_switch_right:fF,dpst_switch_up:yRt,ferrite_bead_down:xRt,ferrite_bead_left:vRt,ferrite_bead_right:o7e,ferrite_bead_up:r7e,filled_diode_down:ERt,filled_diode_horz:ARt,filled_diode_left:PRt,filled_diode_right:kRt,filled_diode_up:DRt,filled_diode_vert:BRt,frequency_meter_horz:Kee,frequency_meter_vert:qRt,fuse_horz:m7e,fuse_vert:KRt,ground_down:QRt,ground_horz:JRt,ground_left:ePt,ground_right:tPt,ground_up:nPt,ground_vert:iPt,gunn_diode_horz:rPt,gunn_diode_vert:oPt,icled_down:aPt,icled_left:cPt,icled_right:EF,icled_up:lPt,igbt_transistor_horz:_7e,igbt_transistor_vert:dPt,illuminated_push_button_normally_open_horz:g7e,illuminated_push_button_normally_open_vert:pPt,inductor_down:yPt,inductor_left:gPt,inductor_right:ste,inductor_up:S7e,laser_diode_down:bPt,laser_diode_left:xPt,laser_diode_right:MF,laser_diode_up:vPt,led_down:TPt,led_left:MPt,led_right:_te,led_up:A7e,light_dependent_resistor_horz:P7e,light_dependent_resistor_vert:PPt,mosfet_depletion_normally_on_horz:O7e,mosfet_depletion_normally_on_vert:kPt,mushroom_head_normally_open_momentary_horz:F7e,mushroom_head_normally_open_momentary_vert:zPt,n_channel_d_mosfet_transistor_horz:U7e,n_channel_d_mosfet_transistor_vert:$Pt,n_channel_e_mosfet_transistor_horz:V7e,n_channel_e_mosfet_transistor_vert:GPt,njfet_transistor_horz:X7e,njfet_transistor_vert:WPt,not_connected_down:JPt,not_connected_left:eIt,not_connected_right:LF,not_connected_up:tIt,npn_bipolar_transistor_down:rIt,npn_bipolar_transistor_horz:oIt,npn_bipolar_transistor_left:cIt,npn_bipolar_transistor_right:dIt,npn_bipolar_transistor_up:fIt,npn_bipolar_transistor_vert:yIt,opamp_no_power_down:bIt,opamp_no_power_left:xIt,opamp_no_power_right:$F,opamp_no_power_up:vIt,opamp_with_power_down:SIt,opamp_with_power_left:EIt,opamp_with_power_right:jF,opamp_with_power_up:TIt,p_channel_d_mosfet_transistor_horz:J7e,p_channel_d_mosfet_transistor_vert:RIt,p_channel_e_mosfet_transistor_horz:iRe,p_channel_e_mosfet_transistor_vert:kIt,photodiode_horz:sRe,photodiode_vert:DIt,pjfet_transistor_horz:uRe,pjfet_transistor_vert:UIt,pnp_bipolar_transistor_down:HIt,pnp_bipolar_transistor_horz:VIt,pnp_bipolar_transistor_left:qIt,pnp_bipolar_transistor_right:ZIt,pnp_bipolar_transistor_up:JIt,pnp_bipolar_transistor_vert:nNt,potentiometer_horz:mRe,potentiometer_vert:sNt,potentiometer2_down:lNt,potentiometer2_left:uNt,potentiometer2_right:JF,potentiometer2_up:dNt,potentiometer3_down:fNt,potentiometer3_left:yNt,potentiometer3_right:gNt,potentiometer3_up:vNt,power_factor_meter_horz:bRe,power_factor_meter_vert:TNt,push_button_normally_closed_momentary_horz:SRe,push_button_normally_closed_momentary_vert:RNt,push_button_normally_open_momentary_horz:MRe,push_button_normally_open_momentary_vert:kNt,rail_down:zNt,rail_left:$Nt,rail_right:GNt,rail_up:XNt,rectifier_diode_horz:NRe,rectifier_diode_vert:ekt,resistor_down:ikt,resistor_left:skt,resistor_right:lkt,resistor_up:hkt,resonator_down:mkt,resonator_horz:BRe,resonator_left:gkt,resonator_right:_B,resonator_up:bkt,resonator_vert:xkt,schottky_diode_down:wkt,schottky_diode_left:Skt,schottky_diode_right:gB,schottky_diode_up:Ekt,silicon_controlled_rectifier_horz:$Re,silicon_controlled_rectifier_vert:Mkt,solderjumper2_bridged12_down:Akt,solderjumper2_bridged12_left:Ckt,solderjumper2_bridged12_right:Rkt,solderjumper2_bridged12_up:Pkt,solderjumper2_down:Ikt,solderjumper2_left:Nkt,solderjumper2_right:kkt,solderjumper2_up:Okt,solderjumper3_bridged12_down:Lkt,solderjumper3_bridged12_left:Dkt,solderjumper3_bridged12_right:zkt,solderjumper3_bridged12_up:Fkt,solderjumper3_bridged123_down:Bkt,solderjumper3_bridged123_left:Ukt,solderjumper3_bridged123_right:$kt,solderjumper3_bridged123_up:jkt,solderjumper3_bridged23_down:Hkt,solderjumper3_bridged23_left:Vkt,solderjumper3_bridged23_right:Gkt,solderjumper3_bridged23_up:Ykt,solderjumper3_down:qkt,solderjumper3_left:Xkt,solderjumper3_right:Wkt,solderjumper3_up:Zkt,spdt_normally_closed_switch_down:Qkt,spdt_normally_closed_switch_left:Jkt,spdt_normally_closed_switch_right:TB,spdt_normally_closed_switch_up:eOt,spdt_switch_down:nOt,spdt_switch_left:iOt,spdt_switch_right:MB,spdt_switch_up:rOt,spst_normally_closed_switch_down:oOt,spst_normally_closed_switch_left:sOt,spst_normally_closed_switch_right:CB,spst_normally_closed_switch_up:aOt,spst_switch_down:cOt,spst_switch_left:lOt,spst_switch_right:PB,spst_switch_up:uOt,square_wave_down:dOt,square_wave_left:hOt,square_wave_right:pOt,square_wave_up:fOt,step_recovery_diode_horz:GRe,step_recovery_diode_vert:mOt,tachometer_horz:wie,tachometer_vert:SOt,testpoint_down:EOt,testpoint_left:TOt,testpoint_right:kB,testpoint_up:MOt,tilted_ground_down:COt,tilted_ground_left:ROt,tilted_ground_right:Sie,tilted_ground_up:QRe,triac_horz:ePe,triac_vert:NOt,tunnel_diode_horz:oPe,tunnel_diode_vert:FOt,unijunction_transistor_horz:aPe,unijunction_transistor_vert:HOt,usbc:GOt,var_meter_horz:hPe,var_meter_vert:WOt,varactor_diode_horz:mPe,varactor_diode_vert:tLt,varistor_horz:gPe,varistor_vert:rLt,varmeter_horz:zie,varmeter_vert:hLt,vcc_down:fLt,vcc_left:_Lt,vcc_right:gLt,vcc_up:xLt,volt_meter_horz:wPe,volt_meter_vert:vLt,watt_hour_meter_horz:Fie,watt_hour_meter_vert:RLt,wattmeter_horz:Bie,wattmeter_vert:zLt,zener_diode_horz:RPe,zener_diode_vert:HLt};Object.fromEntries(Object.keys(lv).map(t=>[t,t]));var S1;(function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"})(S1||(S1={}));function VLt(t){return t.type===S1.Tag||t.type===S1.Script||t.type===S1.Style}const GLt=S1.Root,YLt=S1.Text,qLt=S1.Directive,XLt=S1.Comment,WLt=S1.Script,ZLt=S1.Style,KLt=S1.Tag,QLt=S1.CDATA,JLt=S1.Doctype;function v2(t){return VLt(t)}function $ie(t){return t.type===S1.CDATA}function Z6(t){return t.type===S1.Text}function PPe(t){return t.type===S1.Comment}function eDt(t){return t.type===S1.Root}function f5(t){return Object.prototype.hasOwnProperty.call(t,"children")}const IPe=/["&'<>$\x80-\uFFFF]/g,tDt=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),nDt=String.prototype.codePointAt!=null?(t,e)=>t.codePointAt(e):(t,e)=>(t.charCodeAt(e)&64512)===55296?(t.charCodeAt(e)-55296)*1024+t.charCodeAt(e+1)-56320+65536:t.charCodeAt(e);function NPe(t){let e="",n=0,i;for(;(i=IPe.exec(t))!==null;){const r=i.index,o=t.charCodeAt(r),s=tDt.get(o);s!==void 0?(e+=t.substring(n,r)+s,n=r+1):(e+=`${t.substring(n,r)}&#x${nDt(t,r).toString(16)};`,n=IPe.lastIndex+=+((o&64512)===55296))}return e+t.substr(n)}function kPe(t,e){return function(i){let r,o=0,s="";for(;r=t.exec(i);)o!==r.index&&(s+=i.substring(o,r.index)),s+=e.get(r[0].charCodeAt(0)),o=r.index+1;return s+i.substring(o)}}const iDt=kPe(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),rDt=kPe(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),oDt=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(t=>[t.toLowerCase(),t])),sDt=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(t=>[t.toLowerCase(),t])),aDt=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function cDt(t){return t.replace(/"/g,""")}function lDt(t,e){var n;if(!t)return;const i=((n=e.encodeEntities)!==null&&n!==void 0?n:e.decodeEntities)===!1?cDt:e.xmlMode||e.encodeEntities!=="utf8"?NPe:iDt;return Object.keys(t).map(r=>{var o,s;const a=(o=t[r])!==null&&o!==void 0?o:"";return e.xmlMode==="foreign"&&(r=(s=sDt.get(r))!==null&&s!==void 0?s:r),!e.emptyAttrs&&!e.xmlMode&&a===""?r:`${r}="${i(a)}"`}).join(" ")}const OPe=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function jie(t,e={}){const n="length"in t?t:[t];let i="";for(let r=0;r<n.length;r++)i+=uDt(n[r],e);return i}function uDt(t,e){switch(t.type){case GLt:return jie(t.children,e);case JLt:case qLt:return fDt(t);case XLt:return yDt(t);case QLt:return _Dt(t);case WLt:case ZLt:case KLt:return pDt(t,e);case YLt:return mDt(t,e)}}const dDt=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),hDt=new Set(["svg","math"]);function pDt(t,e){var n;e.xmlMode==="foreign"&&(t.name=(n=oDt.get(t.name))!==null&&n!==void 0?n:t.name,t.parent&&dDt.has(t.parent.name)&&(e={...e,xmlMode:!1})),!e.xmlMode&&hDt.has(t.name)&&(e={...e,xmlMode:"foreign"});let i=`<${t.name}`;const r=lDt(t.attribs,e);return r&&(i+=` ${r}`),t.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&OPe.has(t.name))?(e.xmlMode||(i+=" "),i+="/>"):(i+=">",t.children.length>0&&(i+=jie(t.children,e)),(e.xmlMode||!OPe.has(t.name))&&(i+=`</${t.name}>`)),i}function fDt(t){return`<${t.data}>`}function mDt(t,e){var n;let i=t.data||"";return((n=e.encodeEntities)!==null&&n!==void 0?n:e.decodeEntities)!==!1&&!(!e.xmlMode&&t.parent&&aDt.has(t.parent.name))&&(i=e.xmlMode||e.encodeEntities!=="utf8"?NPe(i):rDt(i)),i}function _Dt(t){return`<![CDATA[${t.children[0].data}]]>`}function yDt(t){return`<!--${t.data}-->`}function LPe(t,e){return jie(t,e)}function gDt(t,e){return f5(t)?t.children.map(n=>LPe(n,e)).join(""):""}function GB(t){return Array.isArray(t)?t.map(GB).join(""):v2(t)?t.name==="br"?`
|
|
4716
4716
|
`:GB(t.children):$ie(t)?GB(t.children):Z6(t)?t.data:""}function YB(t){return Array.isArray(t)?t.map(YB).join(""):f5(t)&&!PPe(t)?YB(t.children):Z6(t)?t.data:""}function Hie(t){return Array.isArray(t)?t.map(Hie).join(""):f5(t)&&(t.type===S1.Tag||$ie(t))?Hie(t.children):Z6(t)?t.data:""}function DPe(t){return f5(t)?t.children:[]}function zPe(t){return t.parent||null}function bDt(t){const e=zPe(t);if(e!=null)return DPe(e);const n=[t];let{prev:i,next:r}=t;for(;i!=null;)n.unshift(i),{prev:i}=i;for(;r!=null;)n.push(r),{next:r}=r;return n}function xDt(t,e){var n;return(n=t.attribs)===null||n===void 0?void 0:n[e]}function vDt(t,e){return t.attribs!=null&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&t.attribs[e]!=null}function wDt(t){return t.name}function SDt(t){let{next:e}=t;for(;e!==null&&!v2(e);)({next:e}=e);return e}function EDt(t){let{prev:e}=t;for(;e!==null&&!v2(e);)({prev:e}=e);return e}function bP(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){const e=t.parent.children,n=e.lastIndexOf(t);n>=0&&e.splice(n,1)}t.next=null,t.prev=null,t.parent=null}function TDt(t,e){const n=e.prev=t.prev;n&&(n.next=e);const i=e.next=t.next;i&&(i.prev=e);const r=e.parent=t.parent;if(r){const o=r.children;o[o.lastIndexOf(t)]=e,t.parent=null}}function MDt(t,e){if(bP(e),e.next=null,e.parent=t,t.children.push(e)>1){const n=t.children[t.children.length-2];n.next=e,e.prev=n}else e.prev=null}function ADt(t,e){bP(e);const{parent:n}=t,i=t.next;if(e.next=i,e.prev=t,t.next=e,e.parent=n,i){if(i.prev=e,n){const r=n.children;r.splice(r.lastIndexOf(i),0,e)}}else n&&n.children.push(e)}function CDt(t,e){if(bP(e),e.parent=t,e.prev=null,t.children.unshift(e)!==1){const n=t.children[1];n.prev=e,e.next=n}else e.next=null}function RDt(t,e){bP(e);const{parent:n}=t;if(n){const i=n.children;i.splice(i.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e}function xP(t,e,n=!0,i=1/0){return FPe(t,Array.isArray(e)?e:[e],n,i)}function FPe(t,e,n,i){const r=[],o=[Array.isArray(e)?e:[e]],s=[0];for(;;){if(s[0]>=o[0].length){if(s.length===1)return r;o.shift(),s.shift();continue}const a=o[0][s[0]++];if(t(a)&&(r.push(a),--i<=0))return r;n&&f5(a)&&a.children.length>0&&(s.unshift(0),o.unshift(a.children))}}function PDt(t,e){return e.find(t)}function Vie(t,e,n=!0){const i=Array.isArray(e)?e:[e];for(let r=0;r<i.length;r++){const o=i[r];if(v2(o)&&t(o))return o;if(n&&f5(o)&&o.children.length>0){const s=Vie(t,o.children,!0);if(s)return s}}return null}function BPe(t,e){return(Array.isArray(e)?e:[e]).some(n=>v2(n)&&t(n)||f5(n)&&BPe(t,n.children))}function IDt(t,e){const n=[],i=[Array.isArray(e)?e:[e]],r=[0];for(;;){if(r[0]>=i[0].length){if(i.length===1)return n;i.shift(),r.shift();continue}const o=i[0][r[0]++];v2(o)&&t(o)&&n.push(o),f5(o)&&o.children.length>0&&(r.unshift(0),i.unshift(o.children))}}const qB={tag_name(t){return typeof t=="function"?e=>v2(e)&&t(e.name):t==="*"?v2:e=>v2(e)&&e.name===t},tag_type(t){return typeof t=="function"?e=>t(e.type):e=>e.type===t},tag_contains(t){return typeof t=="function"?e=>Z6(e)&&t(e.data):e=>Z6(e)&&e.data===t}};function Gie(t,e){return typeof e=="function"?n=>v2(n)&&e(n.attribs[t]):n=>v2(n)&&n.attribs[t]===e}function NDt(t,e){return n=>t(n)||e(n)}function UPe(t){const e=Object.keys(t).map(n=>{const i=t[n];return Object.prototype.hasOwnProperty.call(qB,n)?qB[n](i):Gie(n,i)});return e.length===0?null:e.reduce(NDt)}function kDt(t,e){const n=UPe(t);return n?n(e):!0}function ODt(t,e,n,i=1/0){const r=UPe(t);return r?xP(r,e,n,i):[]}function LDt(t,e,n=!0){return Array.isArray(e)||(e=[e]),Vie(Gie("id",t),e,n)}function K6(t,e,n=!0,i=1/0){return xP(qB.tag_name(t),e,n,i)}function DDt(t,e,n=!0,i=1/0){return xP(Gie("class",t),e,n,i)}function zDt(t,e,n=!0,i=1/0){return xP(qB.tag_type(t),e,n,i)}function FDt(t){let e=t.length;for(;--e>=0;){const n=t[e];if(e>0&&t.lastIndexOf(n,e-1)>=0){t.splice(e,1);continue}for(let i=n.parent;i;i=i.parent)if(t.includes(i)){t.splice(e,1);break}}return t}var w2;(function(t){t[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY"})(w2||(w2={}));function $Pe(t,e){const n=[],i=[];if(t===e)return 0;let r=f5(t)?t:t.parent;for(;r;)n.unshift(r),r=r.parent;for(r=f5(e)?e:e.parent;r;)i.unshift(r),r=r.parent;const o=Math.min(n.length,i.length);let s=0;for(;s<o&&n[s]===i[s];)s++;if(s===0)return w2.DISCONNECTED;const a=n[s-1],c=a.children,l=n[s],u=i[s];return c.indexOf(l)>c.indexOf(u)?a===e?w2.FOLLOWING|w2.CONTAINED_BY:w2.FOLLOWING:a===t?w2.PRECEDING|w2.CONTAINS:w2.PRECEDING}function BDt(t){return t=t.filter((e,n,i)=>!i.includes(e,n+1)),t.sort((e,n)=>{const i=$Pe(e,n);return i&w2.PRECEDING?-1:i&w2.FOLLOWING?1:0}),t}function UDt(t){const e=XB(GDt,t);return e?e.name==="feed"?$Dt(e):jDt(e):null}function $Dt(t){var e;const n=t.children,i={type:"atom",items:K6("entry",n).map(s=>{var a;const{children:c}=s,l={media:jPe(c)};jv(l,"id","id",c),jv(l,"title","title",c);const u=(a=XB("link",c))===null||a===void 0?void 0:a.attribs.href;u&&(l.link=u);const d=A4("summary",c)||A4("content",c);d&&(l.description=d);const h=A4("updated",c);return h&&(l.pubDate=new Date(h)),l})};jv(i,"id","id",n),jv(i,"title","title",n);const r=(e=XB("link",n))===null||e===void 0?void 0:e.attribs.href;r&&(i.link=r),jv(i,"description","subtitle",n);const o=A4("updated",n);return o&&(i.updated=new Date(o)),jv(i,"author","email",n,!0),i}function jDt(t){var e,n;const i=(n=(e=XB("channel",t.children))===null||e===void 0?void 0:e.children)!==null&&n!==void 0?n:[],r={type:t.name.substr(0,3),id:"",items:K6("item",t.children).map(s=>{const{children:a}=s,c={media:jPe(a)};jv(c,"id","guid",a),jv(c,"title","title",a),jv(c,"link","link",a),jv(c,"description","description",a);const l=A4("pubDate",a)||A4("dc:date",a);return l&&(c.pubDate=new Date(l)),c})};jv(r,"title","title",i),jv(r,"link","link",i),jv(r,"description","description",i);const o=A4("lastBuildDate",i);return o&&(r.updated=new Date(o)),jv(r,"author","managingEditor",i,!0),r}const HDt=["url","type","lang"],VDt=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function jPe(t){return K6("media:content",t).map(e=>{const{attribs:n}=e,i={medium:n.medium,isDefault:!!n.isDefault};for(const r of HDt)n[r]&&(i[r]=n[r]);for(const r of VDt)n[r]&&(i[r]=parseInt(n[r],10));return n.expression&&(i.expression=n.expression),i})}function XB(t,e){return K6(t,e,!0,1)[0]}function A4(t,e,n=!1){return YB(K6(t,e,n,1)).trim()}function jv(t,e,n,i,r=!1){const o=A4(n,i,r);o&&(t[e]=o)}function GDt(t){return t==="rss"||t==="feed"||t==="rdf:RDF"}const HPe=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return w2},append:ADt,appendChild:MDt,compareDocumentPosition:$Pe,existsOne:BPe,filter:xP,find:FPe,findAll:IDt,findOne:Vie,findOneChild:PDt,getAttributeValue:xDt,getChildren:DPe,getElementById:LDt,getElements:ODt,getElementsByClassName:DDt,getElementsByTagName:K6,getElementsByTagType:zDt,getFeed:UDt,getInnerHTML:gDt,getName:wDt,getOuterHTML:LPe,getParent:zPe,getSiblings:bDt,getText:GB,hasAttrib:vDt,hasChildren:f5,innerText:Hie,isCDATA:$ie,isComment:PPe,isDocument:eDt,isTag:v2,isText:Z6,nextElementSibling:SDt,prepend:RDt,prependChild:CDt,prevElementSibling:EDt,removeElement:bP,removeSubsets:FDt,replaceElement:TDt,testElement:kDt,textContent:YB,uniqueSort:BDt},Symbol.toStringTag,{value:"Module"}));var Yie,VPe;function YDt(){return VPe||(VPe=1,Yie={trueFunc:function(){return!0},falseFunc:function(){return!1}}),Yie}var qDt=YDt();const al=u2(qDt);var Ea;(function(t){t.Attribute="attribute",t.Pseudo="pseudo",t.PseudoElement="pseudo-element",t.Tag="tag",t.Universal="universal",t.Adjacent="adjacent",t.Child="child",t.Descendant="descendant",t.Parent="parent",t.Sibling="sibling",t.ColumnCombinator="column-combinator"})(Ea||(Ea={}));var E1;(function(t){t.Any="any",t.Element="element",t.End="end",t.Equals="equals",t.Exists="exists",t.Hyphen="hyphen",t.Not="not",t.Start="start"})(E1||(E1={}));const GPe=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,XDt=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,WDt=new Map([[126,E1.Element],[94,E1.Start],[36,E1.End],[42,E1.Any],[33,E1.Not],[124,E1.Hyphen]]),ZDt=new Set(["has","not","matches","is","where","host","host-context"]);function KDt(t){switch(t.type){case Ea.Adjacent:case Ea.Child:case Ea.Descendant:case Ea.Parent:case Ea.Sibling:case Ea.ColumnCombinator:return!0;default:return!1}}const QDt=new Set(["contains","icontains"]);function JDt(t,e,n){const i=parseInt(e,16)-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)}function vP(t){return t.replace(XDt,JDt)}function qie(t){return t===39||t===34}function YPe(t){return t===32||t===9||t===10||t===12||t===13}function qPe(t){const e=[],n=XPe(e,`${t}`,0);if(n<t.length)throw new Error(`Unmatched selector: ${t.slice(n)}`);return e}function XPe(t,e,n){let i=[];function r(h){const f=e.slice(n+h).match(GPe);if(!f)throw new Error(`Expected name, found ${e.slice(n)}`);const[m]=f;return n+=h+m.length,vP(m)}function o(h){for(n+=h;n<e.length&&YPe(e.charCodeAt(n));)n++}function s(){n+=1;const h=n;let f=1;for(;f>0&&n<e.length;n++)e.charCodeAt(n)===40&&!a(n)?f++:e.charCodeAt(n)===41&&!a(n)&&f--;if(f)throw new Error("Parenthesis not matched");return vP(e.slice(h,n-1))}function a(h){let f=0;for(;e.charCodeAt(--h)===92;)f++;return(f&1)===1}function c(){if(i.length>0&&KDt(i[i.length-1]))throw new Error("Did not expect successive traversals.")}function l(h){if(i.length>0&&i[i.length-1].type===Ea.Descendant){i[i.length-1].type=h;return}c(),i.push({type:h})}function u(h,f){i.push({type:Ea.Attribute,name:h,action:f,value:r(1),namespace:null,ignoreCase:"quirks"})}function d(){if(i.length&&i[i.length-1].type===Ea.Descendant&&i.pop(),i.length===0)throw new Error("Empty sub-selector");t.push(i)}if(o(0),e.length===n)return n;e:for(;n<e.length;){const h=e.charCodeAt(n);switch(h){case 32:case 9:case 10:case 12:case 13:{(i.length===0||i[0].type!==Ea.Descendant)&&(c(),i.push({type:Ea.Descendant})),o(1);break}case 62:{l(Ea.Child),o(1);break}case 60:{l(Ea.Parent),o(1);break}case 126:{l(Ea.Sibling),o(1);break}case 43:{l(Ea.Adjacent),o(1);break}case 46:{u("class",E1.Element);break}case 35:{u("id",E1.Equals);break}case 91:{o(1);let f,m=null;e.charCodeAt(n)===124?f=r(1):e.startsWith("*|",n)?(m="*",f=r(2)):(f=r(0),e.charCodeAt(n)===124&&e.charCodeAt(n+1)!==61&&(m=f,f=r(1))),o(0);let y=E1.Exists;const g=WDt.get(e.charCodeAt(n));if(g){if(y=g,e.charCodeAt(n+1)!==61)throw new Error("Expected `=`");o(2)}else e.charCodeAt(n)===61&&(y=E1.Equals,o(1));let b="",v=null;if(y!=="exists"){if(qie(e.charCodeAt(n))){const N=e.charCodeAt(n);let R=n+1;for(;R<e.length&&(e.charCodeAt(R)!==N||a(R));)R+=1;if(e.charCodeAt(R)!==N)throw new Error("Attribute value didn't end");b=vP(e.slice(n+1,R)),n=R+1}else{const N=n;for(;n<e.length&&(!YPe(e.charCodeAt(n))&&e.charCodeAt(n)!==93||a(n));)n+=1;b=vP(e.slice(N,n))}o(0);const T=e.charCodeAt(n)|32;T===115?(v=!1,o(1)):T===105&&(v=!0,o(1))}if(e.charCodeAt(n)!==93)throw new Error("Attribute selector didn't terminate");n+=1;const w={type:Ea.Attribute,name:f,action:y,value:b,namespace:m,ignoreCase:v};i.push(w);break}case 58:{if(e.charCodeAt(n+1)===58){i.push({type:Ea.PseudoElement,name:r(2).toLowerCase(),data:e.charCodeAt(n)===40?s():null});continue}const f=r(1).toLowerCase();let m=null;if(e.charCodeAt(n)===40)if(ZDt.has(f)){if(qie(e.charCodeAt(n+1)))throw new Error(`Pseudo-selector ${f} cannot be quoted`);if(m=[],n=XPe(m,e,n+1),e.charCodeAt(n)!==41)throw new Error(`Missing closing parenthesis in :${f} (${e})`);n+=1}else{if(m=s(),QDt.has(f)){const y=m.charCodeAt(0);y===m.charCodeAt(m.length-1)&&qie(y)&&(m=m.slice(1,-1))}m=vP(m)}i.push({type:Ea.Pseudo,name:f,data:m});break}case 44:{d(),i=[],o(1);break}default:{if(e.startsWith("/*",n)){const y=e.indexOf("*/",n+2);if(y<0)throw new Error("Comment was not terminated");n=y+2,i.length===0&&o(0);break}let f=null,m;if(h===42)n+=1,m="*";else if(h===124){if(m="",e.charCodeAt(n+1)===124){l(Ea.ColumnCombinator),o(2);break}}else if(GPe.test(e.slice(n)))m=r(0);else break e;e.charCodeAt(n)===124&&e.charCodeAt(n+1)!==124&&(f=m,e.charCodeAt(n+1)===42?(m="*",n+=2):m=r(1)),i.push(m==="*"?{type:Ea.Universal,namespace:f}:{type:Ea.Tag,name:m,namespace:f})}}}return d(),n}const WPe=new Map([[Ea.Universal,50],[Ea.Tag,30],[Ea.Attribute,1],[Ea.Pseudo,0]]);function Xie(t){return!WPe.has(t.type)}const ezt=new Map([[E1.Exists,10],[E1.Equals,8],[E1.Not,7],[E1.Start,6],[E1.End,6],[E1.Any,5]]);function tzt(t){const e=t.map(ZPe);for(let n=1;n<t.length;n++){const i=e[n];if(!(i<0))for(let r=n-1;r>=0&&i<e[r];r--){const o=t[r+1];t[r+1]=t[r],t[r]=o,e[r+1]=e[r],e[r]=i}}}function ZPe(t){var e,n;let i=(e=WPe.get(t.type))!==null&&e!==void 0?e:-1;return t.type===Ea.Attribute?(i=(n=ezt.get(t.action))!==null&&n!==void 0?n:4,t.action===E1.Equals&&t.name==="id"&&(i=9),t.ignoreCase&&(i>>=1)):t.type===Ea.Pseudo&&(t.data?t.name==="has"||t.name==="contains"?i=0:Array.isArray(t.data)?(i=Math.min(...t.data.map(r=>Math.min(...r.map(ZPe)))),i<0&&(i=0)):i=2:i=3),i}const nzt=/[-[\]{}()*+?.,\\^$|#\s]/g;function KPe(t){return t.replace(nzt,"\\$&")}const izt=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function BT(t,e){return typeof t.ignoreCase=="boolean"?t.ignoreCase:t.ignoreCase==="quirks"?!!e.quirksMode:!e.xmlMode&&izt.has(t.name)}const rzt={equals(t,e,n){const{adapter:i}=n,{name:r}=e;let{value:o}=e;return BT(e,n)?(o=o.toLowerCase(),s=>{const a=i.getAttributeValue(s,r);return a!=null&&a.length===o.length&&a.toLowerCase()===o&&t(s)}):s=>i.getAttributeValue(s,r)===o&&t(s)},hyphen(t,e,n){const{adapter:i}=n,{name:r}=e;let{value:o}=e;const s=o.length;return BT(e,n)?(o=o.toLowerCase(),function(c){const l=i.getAttributeValue(c,r);return l!=null&&(l.length===s||l.charAt(s)==="-")&&l.substr(0,s).toLowerCase()===o&&t(c)}):function(c){const l=i.getAttributeValue(c,r);return l!=null&&(l.length===s||l.charAt(s)==="-")&&l.substr(0,s)===o&&t(c)}},element(t,e,n){const{adapter:i}=n,{name:r,value:o}=e;if(/\s/.test(o))return al.falseFunc;const s=new RegExp(`(?:^|\\s)${KPe(o)}(?:$|\\s)`,BT(e,n)?"i":"");return function(c){const l=i.getAttributeValue(c,r);return l!=null&&l.length>=o.length&&s.test(l)&&t(c)}},exists(t,{name:e},{adapter:n}){return i=>n.hasAttrib(i,e)&&t(i)},start(t,e,n){const{adapter:i}=n,{name:r}=e;let{value:o}=e;const s=o.length;return s===0?al.falseFunc:BT(e,n)?(o=o.toLowerCase(),a=>{const c=i.getAttributeValue(a,r);return c!=null&&c.length>=s&&c.substr(0,s).toLowerCase()===o&&t(a)}):a=>{var c;return!!(!((c=i.getAttributeValue(a,r))===null||c===void 0)&&c.startsWith(o))&&t(a)}},end(t,e,n){const{adapter:i}=n,{name:r}=e;let{value:o}=e;const s=-o.length;return s===0?al.falseFunc:BT(e,n)?(o=o.toLowerCase(),a=>{var c;return((c=i.getAttributeValue(a,r))===null||c===void 0?void 0:c.substr(s).toLowerCase())===o&&t(a)}):a=>{var c;return!!(!((c=i.getAttributeValue(a,r))===null||c===void 0)&&c.endsWith(o))&&t(a)}},any(t,e,n){const{adapter:i}=n,{name:r,value:o}=e;if(o==="")return al.falseFunc;if(BT(e,n)){const s=new RegExp(KPe(o),"i");return function(c){const l=i.getAttributeValue(c,r);return l!=null&&l.length>=o.length&&s.test(l)&&t(c)}}return s=>{var a;return!!(!((a=i.getAttributeValue(s,r))===null||a===void 0)&&a.includes(o))&&t(s)}},not(t,e,n){const{adapter:i}=n,{name:r}=e;let{value:o}=e;return o===""?s=>!!i.getAttributeValue(s,r)&&t(s):BT(e,n)?(o=o.toLowerCase(),s=>{const a=i.getAttributeValue(s,r);return(a==null||a.length!==o.length||a.toLowerCase()!==o)&&t(s)}):s=>i.getAttributeValue(s,r)!==o&&t(s)}},ozt=new Set([9,10,12,13,32]),QPe=48,szt=57;function azt(t){if(t=t.trim().toLowerCase(),t==="even")return[2,0];if(t==="odd")return[2,1];let e=0,n=0,i=o(),r=s();if(e<t.length&&t.charAt(e)==="n"&&(e++,n=i*(r??1),a(),e<t.length?(i=o(),a(),r=s()):i=r=0),r===null||e<t.length)throw new Error(`n-th rule couldn't be parsed ('${t}')`);return[n,i*r];function o(){return t.charAt(e)==="-"?(e++,-1):(t.charAt(e)==="+"&&e++,1)}function s(){const c=e;let l=0;for(;e<t.length&&t.charCodeAt(e)>=QPe&&t.charCodeAt(e)<=szt;)l=l*10+(t.charCodeAt(e)-QPe),e++;return e===c?null:l}function a(){for(;e<t.length&&ozt.has(t.charCodeAt(e));)e++}}function czt(t){const e=t[0],n=t[1]-1;if(n<0&&e<=0)return al.falseFunc;if(e===-1)return o=>o<=n;if(e===0)return o=>o===n;if(e===1)return n<0?al.trueFunc:o=>o>=n;const i=Math.abs(e),r=(n%i+i)%i;return e>1?o=>o>=n&&o%i===r:o=>o<=n&&o%i===r}function WB(t){return czt(azt(t))}function ZB(t,e){return n=>{const i=e.getParent(n);return i!=null&&e.isTag(i)&&t(n)}}const Wie={contains(t,e,{adapter:n}){return function(r){return t(r)&&n.getText(r).includes(e)}},icontains(t,e,{adapter:n}){const i=e.toLowerCase();return function(o){return t(o)&&n.getText(o).toLowerCase().includes(i)}},"nth-child"(t,e,{adapter:n,equals:i}){const r=WB(e);return r===al.falseFunc?al.falseFunc:r===al.trueFunc?ZB(t,n):function(s){const a=n.getSiblings(s);let c=0;for(let l=0;l<a.length&&!i(s,a[l]);l++)n.isTag(a[l])&&c++;return r(c)&&t(s)}},"nth-last-child"(t,e,{adapter:n,equals:i}){const r=WB(e);return r===al.falseFunc?al.falseFunc:r===al.trueFunc?ZB(t,n):function(s){const a=n.getSiblings(s);let c=0;for(let l=a.length-1;l>=0&&!i(s,a[l]);l--)n.isTag(a[l])&&c++;return r(c)&&t(s)}},"nth-of-type"(t,e,{adapter:n,equals:i}){const r=WB(e);return r===al.falseFunc?al.falseFunc:r===al.trueFunc?ZB(t,n):function(s){const a=n.getSiblings(s);let c=0;for(let l=0;l<a.length;l++){const u=a[l];if(i(s,u))break;n.isTag(u)&&n.getName(u)===n.getName(s)&&c++}return r(c)&&t(s)}},"nth-last-of-type"(t,e,{adapter:n,equals:i}){const r=WB(e);return r===al.falseFunc?al.falseFunc:r===al.trueFunc?ZB(t,n):function(s){const a=n.getSiblings(s);let c=0;for(let l=a.length-1;l>=0;l--){const u=a[l];if(i(s,u))break;n.isTag(u)&&n.getName(u)===n.getName(s)&&c++}return r(c)&&t(s)}},root(t,e,{adapter:n}){return i=>{const r=n.getParent(i);return(r==null||!n.isTag(r))&&t(i)}},scope(t,e,n,i){const{equals:r}=n;return!i||i.length===0?Wie.root(t,e,n):i.length===1?o=>r(i[0],o)&&t(o):o=>i.includes(o)&&t(o)},hover:Zie("isHovered"),visited:Zie("isVisited"),active:Zie("isActive")};function Zie(t){return function(n,i,{adapter:r}){const o=r[t];return typeof o!="function"?al.falseFunc:function(a){return o(a)&&n(a)}}}const JPe={empty(t,{adapter:e}){return!e.getChildren(t).some(n=>e.isTag(n)||e.getText(n)!=="")},"first-child"(t,{adapter:e,equals:n}){if(e.prevElementSibling)return e.prevElementSibling(t)==null;const i=e.getSiblings(t).find(r=>e.isTag(r));return i!=null&&n(t,i)},"last-child"(t,{adapter:e,equals:n}){const i=e.getSiblings(t);for(let r=i.length-1;r>=0;r--){if(n(t,i[r]))return!0;if(e.isTag(i[r]))break}return!1},"first-of-type"(t,{adapter:e,equals:n}){const i=e.getSiblings(t),r=e.getName(t);for(let o=0;o<i.length;o++){const s=i[o];if(n(t,s))return!0;if(e.isTag(s)&&e.getName(s)===r)break}return!1},"last-of-type"(t,{adapter:e,equals:n}){const i=e.getSiblings(t),r=e.getName(t);for(let o=i.length-1;o>=0;o--){const s=i[o];if(n(t,s))return!0;if(e.isTag(s)&&e.getName(s)===r)break}return!1},"only-of-type"(t,{adapter:e,equals:n}){const i=e.getName(t);return e.getSiblings(t).every(r=>n(t,r)||!e.isTag(r)||e.getName(r)!==i)},"only-child"(t,{adapter:e,equals:n}){return e.getSiblings(t).every(i=>n(t,i)||!e.isTag(i))}};function eIe(t,e,n,i){if(n===null){if(t.length>i)throw new Error(`Pseudo-class :${e} requires an argument`)}else if(t.length===i)throw new Error(`Pseudo-class :${e} doesn't have any arguments`)}const lzt={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is(
|
|
4717
4717
|
:is(button, input, select, textarea, optgroup, option)[disabled],
|
|
4718
4718
|
optgroup[disabled] > option,
|
|
@@ -5298,7 +5298,7 @@ ${A}
|
|
|
5298
5298
|
\`\`\`
|
|
5299
5299
|
${P.type}: ${k}
|
|
5300
5300
|
\`\`\``}m(I,$)},children:[ye.jsx(Q0e,{className:"rf-w-4 rf-h-4"}),"Report Issue"]})]})]})};function F_n(t,e,n){const{transform:i,shouldDrawErrors:r}=n;if(!r)return[];const{pcb_port_ids:o}=t,s=e.find(h=>h.type==="pcb_port"&&h.pcb_port_id===o?.[0]),a=e.find(h=>h.type==="pcb_port"&&h.pcb_port_id===o?.[1]);if(!s||!a){const f=t.message?.match(/pcb_via\[#?(pcb_via_\d+)\]/)?.[1],m=e.find(y=>y.type==="pcb_via"&&y.pcb_via_id===f);if(m&&m.type==="pcb_via")return B_n(t,m,n);if(t.center){const y=Yt(i,{x:t.center.x,y:t.center.y});return[{name:"rect",type:"element",attributes:{x:(y.x-5).toString(),y:(y.y-5).toString(),width:"10",height:"10",fill:"red",transform:`rotate(45 ${y.x} ${y.y})`},children:[],value:""},{name:"text",type:"element",attributes:{x:y.x.toString(),y:(y.y-15).toString(),fill:"red","font-family":"sans-serif","font-size":"12","text-anchor":"middle"},children:[{type:"text",value:t.message||"Pcb Trace Error",name:"",attributes:{},children:[]}],value:""}]}else return[]}const c=Yt(i,{x:s.x,y:s.y}),l=Yt(i,{x:a.x,y:a.y}),u={x:(c.x+l.x)/2,y:(c.y+l.y)/2};return isNaN(c.x)||isNaN(c.y)||isNaN(l.x)||isNaN(l.y)||isNaN(u.x)||isNaN(u.y)?[]:[{name:"line",type:"element",attributes:{x1:c.x.toString(),y1:c.y.toString(),x2:u.x.toString(),y2:u.y.toString(),stroke:"red","stroke-width":"1.5","stroke-dasharray":"2,2"},children:[],value:""},{name:"line",type:"element",attributes:{x1:u.x.toString(),y1:u.y.toString(),x2:l.x.toString(),y2:l.y.toString(),stroke:"red","stroke-width":"1.5","stroke-dasharray":"2,2"},children:[],value:""},{name:"rect",type:"element",attributes:{x:(u.x-5).toString(),y:(u.y-5).toString(),width:"10",height:"10",fill:"red",transform:`rotate(45 ${u.x} ${u.y})`},children:[],value:""},{name:"text",type:"element",attributes:{x:u.x.toString(),y:(u.y-15).toString(),fill:"red","font-family":"sans-serif","font-size":"12","text-anchor":"middle"},children:[{type:"text",value:t.message||"Pcb Trace Error",name:"",attributes:{},children:[]}],value:""}]}function B_n(t,e,n){const{transform:i}=n;if(t.center&&e){const r=Yt(i,{x:t.center.x,y:t.center.y}),o=Yt(i,{x:e.x,y:e.y}),s=o.x-r.x,a=o.y-r.y,c=Math.sqrt(s*s+a*a),l=Math.atan2(a,s)*180/Math.PI,d=c+10*2,h=20,f=(r.x+o.x)/2,m=(r.y+o.y)/2;return[{name:"rect",type:"element",attributes:{x:(f-d/2).toString(),y:(m-h/2).toString(),width:d.toString(),height:h.toString(),fill:"none",stroke:"red","stroke-width":"1","stroke-dasharray":"3,2",transform:`rotate(${l} ${f} ${m})`},children:[],value:""},{name:"rect",type:"element",attributes:{x:(f-5).toString(),y:(m-5).toString(),width:"10",height:"10",fill:"red",transform:`rotate(45 ${f} ${m})`},children:[],value:""},{name:"text",type:"element",attributes:{x:f.toString(),y:(m-h/2-5).toString(),fill:"red","font-family":"sans-serif","font-size":"12","text-anchor":"middle"},children:[{type:"text",value:t.message||"Pcb Trace Error",name:"",attributes:{},children:[]}],value:""}]}return[]}function U_n(t,e){const{transform:n,layer:i}=e;if(!t.route||!Array.isArray(t.route))return[];const r=t.route[0],o=t.route[t.route.length-1],s=r.x===o.x&&r.y===o.y,a=t.route.slice(0,s?-1:void 0).map((c,l)=>{const[u,d]=Yt(n,[c.x,c.y]);return l===0?`M ${u} ${d}`:`L ${u} ${d}`}).join(" ")+(s?" Z":"");return[{name:"path",type:"element",attributes:{class:"pcb-fabrication-note-path",stroke:t.color||"rgba(255,255,255,0.5)",fill:"none",d:a,"stroke-width":(t.stroke_width*Math.abs(n.a)).toString(),"data-pcb-component-id":t.pcb_component_id,"data-pcb-fabrication-note-path-id":t.pcb_fabrication_note_path_id},value:"",children:[]}]}function $_n(t,e){const{transform:n,layer:i}=e,{anchor_position:r,anchor_alignment:o,text:s,font_size:a=1,layer:c="top",color:l}=t;if(i&&c!==i)return[];if(!r||typeof r.x!="number"||typeof r.y!="number")return console.error("Invalid anchor_position:",r),[];const[u,d]=Yt(n,[r.x,r.y]),h=a*Math.abs(n.a),f=cs(Cs(u,d),ov(Math.PI/180));return[{name:"text",type:"element",attributes:{x:"0",y:"0","font-family":"Arial, sans-serif","font-size":h.toString(),"text-anchor":"middle","dominant-baseline":"central",transform:aw(f),class:"pcb-fabrication-note-text",fill:l||"rgba(255,255,255,0.5)"},children:[{type:"text",value:s,name:"",attributes:{},children:[]}],value:""}]}function j_n(t,e){const{transform:n,colorMap:i}=e,[r,o]=Yt(n,[t.x,t.y]);if(t.shape==="pill"){const s=t.outer_width*Math.abs(n.a),a=t.outer_height*Math.abs(n.a),c=t.hole_width*Math.abs(n.a),l=t.hole_height*Math.abs(n.a),u=s/2,d=c/2,h=a-s,f=t.ccw_rotation||0,m=f?`translate(${r} ${o}) rotate(${-f})`:`translate(${r} ${o})`,y=f?`translate(${r} ${o}) rotate(${-f})`:`translate(${r} ${o})`;return[{name:"g",type:"element",children:[{name:"path",type:"element",attributes:{class:"pcb-hole-outer",fill:i.copper.top,d:`M${-u},${-h/2} v${h} a${u},${u} 0 0 0 ${s},0 v-${h} a${u},${u} 0 0 0 -${s},0 z`,transform:m},value:"",children:[]},{name:"path",type:"element",attributes:{class:"pcb-hole-inner",fill:i.drill,d:`M${-d},${-(l-c)/2} v${l-c} a${d},${d} 0 0 0 ${c},0 v-${l-c} a${d},${d} 0 0 0 -${c},0 z`,transform:y},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="circle"){const s=t.outer_diameter*Math.abs(n.a),a=t.outer_diameter*Math.abs(n.a),c=t.hole_diameter*Math.abs(n.a),l=t.hole_diameter*Math.abs(n.a),u=Math.min(s,a)/2,d=Math.min(c,l)/2;return[{name:"g",type:"element",children:[{name:"circle",type:"element",attributes:{class:"pcb-hole-outer",fill:i.copper.top,cx:r.toString(),cy:o.toString(),r:u.toString()},value:"",children:[]},{name:"circle",type:"element",attributes:{class:"pcb-hole-inner",fill:i.drill,cx:r.toString(),cy:o.toString(),r:d.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="circular_hole_with_rect_pad"){const s=t,a=t.hole_diameter*Math.abs(n.a),c=t.rect_pad_width*Math.abs(n.a),l=t.rect_pad_height*Math.abs(n.a),u=(t.rect_border_radius??0)*Math.abs(n.a),d=a/2,[h,f]=Yt(n,[s.x+(s.hole_offset_x??0),s.y+(s.hole_offset_y??0)]);return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"pcb-hole-outer-pad",fill:i.copper.top,x:(r-c/2).toString(),y:(o-l/2).toString(),width:c.toString(),height:l.toString(),...u?{rx:u.toString(),ry:u.toString()}:{}},value:"",children:[]},{name:"circle",type:"element",attributes:{class:"pcb-hole-inner",fill:i.drill,cx:h.toString(),cy:f.toString(),r:d.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="pill_hole_with_rect_pad"){const s=t,a=s.rect_pad_width*Math.abs(n.a),c=s.rect_pad_height*Math.abs(n.a),l=(s.rect_border_radius??0)*Math.abs(n.a),u=s.hole_height*Math.abs(n.a),d=s.hole_width*Math.abs(n.a),h=s,f=h.hole_offset_x??0,m=h.hole_offset_y??0,[y,g]=Yt(n,[s.x+f,s.y+m]),b=Math.min(u,d)/2;return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"pcb-hole-outer-pad",fill:i.copper.top,x:(r-a/2).toString(),y:(o-c/2).toString(),width:a.toString(),height:c.toString(),...l?{rx:l.toString(),ry:l.toString()}:{}},value:"",children:[]},{name:"rect",type:"element",attributes:{class:"pcb-hole-inner",fill:i.drill,x:(y-d/2).toString(),y:(g-u/2).toString(),width:d.toString(),height:u.toString(),rx:b.toString(),ry:b.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="rotated_pill_hole_with_rect_pad"){const s=t,a=s.rect_pad_width*Math.abs(n.a),c=s.rect_pad_height*Math.abs(n.a),l=(s.rect_border_radius??0)*Math.abs(n.a),u=s.hole_height*Math.abs(n.a),d=s.hole_width*Math.abs(n.a),h=s,f=h.hole_offset_x??0,m=h.hole_offset_y??0,[y,g]=Yt(n,[s.x+f,s.y+m]),b=Math.min(u,d)/2;return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"pcb-hole-outer-pad",fill:i.copper.top,x:(-a/2).toString(),y:(-c/2).toString(),width:a.toString(),height:c.toString(),transform:`translate(${r} ${o}) rotate(${-s.rect_ccw_rotation})`,...l?{rx:l.toString(),ry:l.toString()}:{}},value:"",children:[]},{name:"rect",type:"element",attributes:{class:"pcb-hole-inner",fill:i.drill,x:(-d/2).toString(),y:(-u/2).toString(),width:d.toString(),height:u.toString(),rx:b.toString(),ry:b.toString(),transform:`translate(${y} ${g}) rotate(${-s.hole_ccw_rotation})`},value:"",children:[]}],value:"",attributes:{}}]}return[]}function H_n(t,e){const{transform:n,layer:i,colorMap:r}=e;if(!t.route||!Array.isArray(t.route))return[];let o=t.route.map((u,d)=>{const[h,f]=Yt(n,[u.x,u.y]);return d===0?`M ${h} ${f}`:`L ${h} ${f}`}).join(" ");const s=t.route[0],a=t.route[t.route.length-1];s&&a&&s.x===a.x&&s.y===a.y&&(o+=" Z");const c=t.layer||"top";if(i&&c!==i)return[];const l=c==="bottom"?r.silkscreen.bottom:r.silkscreen.top;return[{name:"path",type:"element",attributes:{class:`pcb-silkscreen pcb-silkscreen-${c}`,d:o,fill:"none",stroke:l,"stroke-width":(t.stroke_width*Math.abs(n.a)).toString(),"stroke-linecap":"round","stroke-linejoin":"round","data-pcb-component-id":t.pcb_component_id,"data-pcb-silkscreen-path-id":t.pcb_silkscreen_path_id},value:"",children:[]}]}function V_n(t,e){const{transform:n,layer:i,colorMap:r}=e,{anchor_position:o,text:s,font_size:a=1,layer:c="top",ccw_rotation:l=0,anchor_alignment:u="center"}=t;if(i&&c!==i)return[];if(!o||typeof o.x!="number"||typeof o.y!="number")return console.error("Invalid anchor_position:",o),[];const[d,h]=Yt(n,[o.x,o.y]),f=a*Math.abs(n.a);let m="middle",y="central";const g=0,b=0;switch(u){case"top_left":m="start",y="text-before-edge";break;case"top_center":m="middle",y="text-before-edge";break;case"top_right":m="end",y="text-before-edge";break;case"center_left":m="start",y="central";break;case"center_right":m="end",y="central";break;case"bottom_left":m="start",y="text-after-edge";break;case"bottom_center":m="middle",y="text-after-edge";break;case"bottom_right":m="end",y="text-after-edge";break;case"center":default:m="middle",y="central";break}const v=cs(Cs(d,h),ov(-l*Math.PI/180),...c==="bottom"?[kg(-1,1)]:[]),w=c==="bottom"?r.silkscreen.bottom:r.silkscreen.top,T=s.split(`
|
|
5301
|
-
`),N=T.length===1?[{type:"text",value:s,name:"",attributes:{},children:[]}]:T.map((P,M)=>({type:"element",name:"tspan",value:"",attributes:{x:"0",...M>0?{dy:f.toString()}:{}},children:[{type:"text",value:P,name:"",attributes:{},children:[]}]}));return[{name:"text",type:"element",attributes:{x:"0",y:"0",dx:g.toString(),dy:b.toString(),fill:w,"font-family":"Arial, sans-serif","font-size":f.toString(),"text-anchor":m,"dominant-baseline":y,transform:aw(v),class:`pcb-silkscreen-text pcb-silkscreen-${c}`,"data-pcb-silkscreen-text-id":t.pcb_component_id,stroke:"none"},children:N,value:""}]}function G_n(t,e){const{transform:n,layer:i,colorMap:r}=e,{center:o,width:s,height:a,layer:c="top",pcb_silkscreen_rect_id:l,stroke_width:u,is_filled:d,has_stroke:h,is_stroke_dashed:f}=t;if(i&&c!==i)return[];if(!o||typeof o.x!="number"||typeof o.y!="number"||typeof s!="number"||typeof a!="number")return console.error("Invalid rectangle data:",{center:o,width:s,height:a}),[];const[m,y]=Yt(n,[o.x,o.y]),g=s*Math.abs(n.a),b=a*Math.abs(n.d),v=u*Math.abs(n.a),w=c==="bottom"?r.silkscreen.bottom:r.silkscreen.top,T={x:(m-g/2).toString(),y:(y-b/2).toString(),width:g.toString(),height:b.toString(),class:`pcb-silkscreen-rect pcb-silkscreen-${c}`,"data-pcb-silkscreen-rect-id":l};T.fill=d?w:"none";let N;if(h===void 0?N=v>0:N=h,N){if(T.stroke=w,T["stroke-width"]=v.toString(),f){const P=.1*Math.abs(n.a),M=.05*Math.abs(n.a);T["stroke-dasharray"]=`${P} ${M}`}}else T.stroke="none";return[{name:"rect",type:"element",attributes:T,value:"",children:[]}]}function Y_n(t,e){const{transform:n,layer:i,colorMap:r}=e,{center:o,radius:s,layer:a="top",pcb_silkscreen_circle_id:c,stroke_width:l=1}=t;if(i&&a!==i)return[];if(!o||typeof o.x!="number"||typeof o.y!="number"||typeof s!="number")return console.error("Invalid PCB Silkscreen Circle data:",{center:o,radius:s}),[];const[u,d]=Yt(n,[o.x,o.y]),h=s*Math.abs(n.a),f=l*Math.abs(n.a),m=a==="bottom"?r.silkscreen.bottom:r.silkscreen.top;return[{name:"circle",type:"element",attributes:{cx:u.toString(),cy:d.toString(),r:h.toString(),class:`pcb-silkscreen-circle pcb-silkscreen-${a}`,stroke:m,"stroke-width":f.toString(),"data-pcb-silkscreen-circle-id":c},value:"",children:[]}]}function q_n(t,e){const{transform:n,layer:i,colorMap:r}=e,{x1:o,y1:s,x2:a,y2:c,stroke_width:l,layer:u="top",pcb_silkscreen_line_id:d}=t;if(i&&u!==i)return[];if(typeof o!="number"||typeof s!="number"||typeof a!="number"||typeof c!="number")return console.error("Invalid coordinates:",{x1:o,y1:s,x2:a,y2:c}),[];const[h,f]=Yt(n,[o,s]),[m,y]=Yt(n,[a,c]),g=l*Math.abs(n.a),b=u==="bottom"?r.silkscreen.bottom:r.silkscreen.top;return[{name:"line",type:"element",attributes:{x1:h.toString(),y1:f.toString(),x2:m.toString(),y2:y.toString(),stroke:b,"stroke-width":g.toString(),class:`pcb-silkscreen-line pcb-silkscreen-${u}`,"data-pcb-silkscreen-line-id":d},value:"",children:[]}]}function X_n(t){const e=[];for(let n=0;n<t.length-1;n++)e.push([t[n],t[n+1]]);return e}var ex={copper:{top:"rgb(200, 52, 52)",bottom:"rgb(77, 127, 196)"},soldermask:{top:"rgb(200, 52, 52)",bottom:"rgb(77, 127, 196)"},drill:"#FF26E2",silkscreen:{top:"#f2eda1",bottom:"#5da9e9"},boardOutline:"rgba(255, 255, 255, 0.5)",debugComponent:{fill:null,stroke:null}};ex.drill,ex.silkscreen.top,ex.silkscreen.bottom,ex.copper.top,ex.copper.bottom;function hM(t,e=ex){return e.copper[t]??"white"}var W_n={bottom:"rgb(105, 105, 105)",top:"rgb(105, 105, 105)"};function Bj(t){return W_n[t]??"rgb(105, 105, 105)"}function Z_n(t,e){const{transform:n,layer:i,colorMap:r,renderSolderMask:o}=e;if(!t.route||!Array.isArray(t.route)||t.route.length<2)return[];const s=X_n(t.route),a=[];for(const[c,l]of s){const u=Yt(n,[c.x,c.y]),d=Yt(n,[l.x,l.y]),h="layer"in c?c.layer:"layer"in l?l.layer:null;if(!h||i&&h!==i)continue;const f=hM(h,r),m=r.soldermask[h]??f,y="width"in c?c.width:"width"in l?l.width:null,g=y?(y*Math.abs(n.a)).toString():"0.3";if(o){const b={name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-trace",stroke:f,fill:"none",d:`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]}`,"stroke-width":g,"stroke-linecap":"round","stroke-linejoin":"round","shape-rendering":"crispEdges","data-layer":h}},v={name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-soldermask",stroke:m,fill:"none",d:`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]}`,"stroke-width":g,"stroke-linecap":"round","stroke-linejoin":"round","shape-rendering":"crispEdges","data-layer":h}};a.push(v,b)}else{const b={name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-trace",stroke:m,fill:"none",d:`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]}`,"stroke-width":g,"stroke-linecap":"round","stroke-linejoin":"round","shape-rendering":"crispEdges","data-layer":h}};a.push(b)}}return a.sort((c,l)=>{const u=c.attributes["data-layer"],d=l.attributes["data-layer"];return u==="bottom"&&d!=="bottom"?-1:u==="top"&&d!=="top"?1:0}),a}function K_n(t,e){const{transform:n,layer:i,colorMap:r}=e;if(i&&t.layer!==i)return[];const o=!!t?.is_covered_with_solder_mask,s=r.soldermask[t.layer]??r.soldermask.top;if(t.shape==="rect"||t.shape==="rotated_rect"){const a=t.width*Math.abs(n.a),c=t.height*Math.abs(n.d),[l,u]=Yt(n,[t.x,t.y]),d=(t.rect_border_radius??0)*Math.abs(n.a);if(t.shape==="rotated_rect"&&t.ccw_rotation){const m={name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),x:(-a/2).toString(),y:(-c/2).toString(),width:a.toString(),height:c.toString(),transform:`translate(${l} ${u}) rotate(${-t.ccw_rotation})`,"data-layer":t.layer,...d?{rx:d.toString(),ry:d.toString()}:{}}};if(!o)return[m];const y={name:m.name,type:m.type,value:"",children:[],attributes:{...m.attributes,class:"pcb-solder-mask",fill:s}};return[m,y]}const h={name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),x:(l-a/2).toString(),y:(u-c/2).toString(),width:a.toString(),height:c.toString(),"data-layer":t.layer,...d?{rx:d.toString(),ry:d.toString()}:{}}};if(!o)return[h];const f={name:h.name,type:h.type,value:"",children:[],attributes:{...h.attributes,class:"pcb-solder-mask",fill:s}};return[h,f]}if(t.shape==="pill"){const a=t.width*Math.abs(n.a),c=t.height*Math.abs(n.d),l=t.radius*Math.abs(n.a),[u,d]=Yt(n,[t.x,t.y]),h={name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),x:(u-a/2).toString(),y:(d-c/2).toString(),width:a.toString(),height:c.toString(),rx:l.toString(),ry:l.toString(),"data-layer":t.layer}};if(!o)return[h];const f={name:h.name,type:h.type,value:"",children:[],attributes:{...h.attributes,class:"pcb-solder-mask",fill:s}};return[h,f]}if(t.shape==="circle"){const a=t.radius*Math.abs(n.a),[c,l]=Yt(n,[t.x,t.y]),u={name:"circle",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),cx:c.toString(),cy:l.toString(),r:a.toString(),"data-layer":t.layer}};if(!o)return[u];const d={name:u.name,type:u.type,value:"",children:[],attributes:{...u.attributes,class:"pcb-solder-mask",fill:s}};return[u,d]}if(t.shape==="polygon"){const a=(t.points??[]).map(u=>Yt(n,[u.x,u.y])),c={name:"polygon",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),points:a.map(u=>u.join(",")).join(" "),"data-layer":t.layer}};if(!o)return[c];const l={name:c.name,type:c.type,value:"",children:[],attributes:{...c.attributes,class:"pcb-solder-mask",fill:s}};return[c,l]}return[]}function IZe(t,e){const{transform:n,colorMap:i}=e,{width:r,height:o,center:s,outline:a}=t;let c;if(a&&Array.isArray(a)&&a.length>=3)c=a.map((l,u)=>{const[d,h]=Yt(n,[l.x,l.y]);return u===0?`M ${d} ${h}`:`L ${d} ${h}`}).join(" ");else{const l=r/2,u=o/2,d=Yt(n,[s.x-l,s.y-u]),h=Yt(n,[s.x+l,s.y-u]),f=Yt(n,[s.x+l,s.y+u]),m=Yt(n,[s.x-l,s.y+u]);c=`M ${d[0]} ${d[1]} L ${h[0]} ${h[1]} L ${f[0]} ${f[1]} L ${m[0]} ${m[1]}`}return c+=" Z",[{name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-board",d:c,fill:"none",stroke:i.boardOutline,"stroke-width":(.1*Math.abs(n.a)).toString()}}]}function Q_n(t,e){const{transform:n,colorMap:i}=e,[r,o]=Yt(n,[t.x,t.y]),s=t.outer_diameter*Math.abs(n.a),a=t.outer_diameter*Math.abs(n.a),c=t.hole_diameter*Math.abs(n.a),l=t.hole_diameter*Math.abs(n.a),u=Math.min(s,a)/2,d=Math.min(c,l)/2;return{name:"g",type:"element",children:[{name:"circle",type:"element",attributes:{class:"pcb-hole-outer",fill:i.copper.top,cx:r.toString(),cy:o.toString(),r:u.toString()}},{name:"circle",type:"element",attributes:{class:"pcb-hole-inner",fill:i.drill,cx:r.toString(),cy:o.toString(),r:d.toString()}}]}}function J_n(t,e){const{transform:n,colorMap:i}=e,[r,o]=Yt(n,[t.x,t.y]);if(t.hole_shape==="circle"||t.hole_shape==="square"){const s=t.hole_diameter*Math.abs(n.a),a=s/2;return t.hole_shape==="circle"?[{name:"circle",type:"element",attributes:{class:"pcb-hole",cx:r.toString(),cy:o.toString(),r:a.toString(),fill:i.drill},children:[],value:""}]:[{name:"rect",type:"element",attributes:{class:"pcb-hole",x:(r-a).toString(),y:(o-a).toString(),width:s.toString(),height:s.toString(),fill:i.drill},children:[],value:""}]}if(t.hole_shape==="oval"){const s=t.hole_width*Math.abs(n.a),a=t.hole_height*Math.abs(n.a),c=s/2,l=a/2;return[{name:"ellipse",type:"element",attributes:{class:"pcb-hole",cx:r.toString(),cy:o.toString(),rx:c.toString(),ry:l.toString(),fill:i.drill},children:[],value:""}]}return[]}var eyn=(t,e)=>{const n=ea(e).pcb_smtpad.get(t);if(n&&"x"in n&&"y"in n)return{x:n.x,y:n.y};const i=ea(e).pcb_plated_hole.get(t);return i&&"x"in i&&"y"in i?{x:i.x,y:i.y}:null},tyn=(t,e,n,i)=>{const r=n.getIdsConnectedToNet(e);let o=null,s=1/0;for(const a of r){const c=eyn(a,i);if(c){const l=t.x-c.x,u=t.y-c.y,d=Math.sqrt(l*l+u*u);d>0&&d<s&&(s=d,o=c)}}return o};function nyn(t,e){const{transform:n}=e,i=J6(t),r=t.filter(c=>c.type==="pcb_port"),o=t.filter(c=>c.type==="source_trace"),s=[];r.forEach((c,l)=>{const u=c.pcb_port_id;if(!u)return;const d=i.getNetConnectedToId(u);if(!d)return;let h=!1;const f=ea(t).source_port.getWhere({pcb_port_id:u});if(f&&f.source_port_id){const g=f.source_port_id;for(const b of o)if(Array.isArray(b.connected_source_port_ids)&&b.connected_source_port_ids.includes(g)&&Array.isArray(b.connected_source_net_ids)&&b.connected_source_net_ids.length>0){h=!0;break}}const m={x:c.x,y:c.y},y=tyn(m,d,i,t);y&&s.push({key:`${u}-${l}`,startPoint:m,endPoint:y,isInNet:h})});const a=[];for(const c of s){const l=Yt(n,[c.startPoint.x,c.startPoint.y]),u=Yt(n,[c.endPoint.x,c.endPoint.y]),d={x1:l[0].toString(),y1:l[1].toString(),x2:u[0].toString(),y2:u[1].toString(),stroke:"white","stroke-width":"1","stroke-dasharray":"6,6"};a.push({name:"line",type:"element",attributes:d,value:"",children:[]})}return a}function iyn(t,e){const{transform:n,colorMap:i}=e;if(t.shape==="rect"){const r=t,[o,s]=Yt(n,[r.center.x,r.center.y]),a=r.width*Math.abs(n.a),c=r.height*Math.abs(n.d),l=-(r.rotation??0);return[{name:"rect",type:"element",attributes:{class:"pcb-cutout pcb-cutout-rect",x:(-a/2).toString(),y:(-c/2).toString(),width:a.toString(),height:c.toString(),fill:i.drill,transform:aw(cs(Cs(o,s),ov(l*Math.PI/180)))},children:[],value:""}]}if(t.shape==="circle"){const r=t,[o,s]=Yt(n,[r.center.x,r.center.y]),a=r.radius*Math.abs(n.a);return[{name:"circle",type:"element",attributes:{class:"pcb-cutout pcb-cutout-circle",cx:o.toString(),cy:s.toString(),r:a.toString(),fill:i.drill},children:[],value:""}]}if(t.shape==="polygon"){const r=t;return!r.points||r.points.length===0?[]:[{name:"polygon",type:"element",attributes:{class:"pcb-cutout pcb-cutout-polygon",points:r.points.map(a=>Yt(n,[a.x,a.y])).map(a=>`${a[0]},${a[1]}`).join(" "),fill:i.drill},children:[],value:""}]}return[]}function NZe(t,e){if(t.length===0)return"";const n=t.map(r=>{const[o,s]=Yt(e,[r.x,r.y]);return{...r,x:o,y:s}});let i=`M ${n[0].x} ${n[0].y}`;for(let r=0;r<n.length;r++){const o=n[r],s=n[(r+1)%n.length];if(o.bulge){if(Math.hypot(s.x-o.x,s.y-o.y)<1e-9)continue;const a=o.bulge,c=s.x-o.x,l=s.y-o.y,u=Math.hypot(c,l),d=Math.abs(u/4/a*(a*a+1)),h=a<0?1:0,f=Math.abs(a)>1?1:0;i+=` A ${d} ${d} 0 ${f} ${h} ${s.x} ${s.y}`}else i+=` L ${s.x} ${s.y}`}return i+=" Z",i}function ryn(t,e){const{transform:n,layer:i,colorMap:r}=e,{layer:o}=t;if(i&&o!==i)return[];const s=hM(o,r),a="0.5";if(t.shape==="rect"){const[c,l]=Yt(n,[t.center.x,t.center.y]),u=t.width*Math.abs(n.a),d=t.height*Math.abs(n.d),h=-(t.rotation??0);return[{name:"rect",type:"element",attributes:{class:"pcb-copper-pour pcb-copper-pour-rect",x:(-u/2).toString(),y:(-d/2).toString(),width:u.toString(),height:d.toString(),fill:s,"fill-opacity":a,transform:aw(cs(Cs(c,l),ov(h*Math.PI/180))),"data-layer":o},children:[],value:""}]}if(t.shape==="polygon")return!t.points||t.points.length===0?[]:[{name:"polygon",type:"element",attributes:{class:"pcb-copper-pour pcb-copper-pour-polygon",points:t.points.map(u=>Yt(n,[u.x,u.y])).map(u=>`${u[0]},${u[1]}`).join(" "),fill:s,"fill-opacity":a,"data-layer":o},children:[],value:""}];if(t.shape==="brep"){const{brep_shape:c}=t;let l=NZe(c.outer_ring.vertices,n);for(const u of c.inner_rings??[])l+=` ${NZe(u.vertices,n)}`;return[{name:"path",type:"element",attributes:{class:"pcb-copper-pour pcb-copper-pour-brep",d:l,fill:s,"fill-rule":"evenodd","fill-opacity":a,"data-layer":o},children:[],value:""}]}return[]}function oyn(t,e){const{transform:n}=e,{center:i,width:r,height:o,rotation:s=0}=t,[a,c]=Yt(n,[i.x,i.y]),l=r*Math.abs(n.a),u=o*Math.abs(n.d),d=`translate(${a}, ${c}) rotate(${-s}) scale(1, -1)`;return!e.colorMap.debugComponent?.fill&&!e.colorMap.debugComponent?.stroke?[]:[{name:"g",type:"element",attributes:{transform:d},children:[{name:"rect",type:"element",attributes:{class:"pcb-component",x:(-l/2).toString(),y:(-u/2).toString(),width:l.toString(),height:u.toString(),fill:e.colorMap.debugComponent.fill??"transparent",stroke:e.colorMap.debugComponent.stroke??"transparent"}}],value:""}]}function oC(t){return t.find(n=>n.type==="project_software_metadata"||n.type==="source_project_metadata")?.software_used_string}var syn={version:"0.0.201"},sC=syn.version,kZe=["pcb_trace_error","pcb_plated_hole","pcb_fabrication_note_text","pcb_fabrication_note_path","pcb_silkscreen_text","pcb_silkscreen_path","pcb_via","pcb_cutout","pcb_copper_pour","pcb_smtpad","pcb_trace","pcb_component","pcb_board"];function $me(t,e){const n=e?.drawPaddingOutsideBoard??!0,i=e?.layer,r=e?.colorOverrides,o={copper:{top:r?.copper?.top??ex.copper.top,bottom:r?.copper?.bottom??ex.copper.bottom},drill:r?.drill??ex.drill,silkscreen:{top:r?.silkscreen?.top??ex.silkscreen.top,bottom:r?.silkscreen?.bottom??ex.silkscreen.bottom},boardOutline:r?.boardOutline??ex.boardOutline,soldermask:{top:r?.soldermask?.top??ex.soldermask.top,bottom:r?.soldermask?.bottom??ex.soldermask.bottom},debugComponent:{fill:r?.debugComponent?.fill??ex.debugComponent.fill,stroke:r?.debugComponent?.stroke??ex.debugComponent.stroke}};let s=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY,d=Number.POSITIVE_INFINITY,h=Number.NEGATIVE_INFINITY,f=Number.NEGATIVE_INFINITY;for(const ke of t)if(ke.type==="pcb_board")ke.outline&&Array.isArray(ke.outline)&&ke.outline.length>=3?(Me(ke.outline),Ie(ke.outline)):"center"in ke&&"width"in ke&&"height"in ke&&(ue(ke.center,ke.width,ke.height),he(ke.center,ke.width,ke.height));else if("x"in ke&&"y"in ke)ue({x:ke.x,y:ke.y},0,0);else if(ke.type==="pcb_smtpad"){const ce=ke;ce.shape==="rect"||ce.shape==="rotated_rect"||ce.shape==="pill"?ue({x:ce.x,y:ce.y},ce.width,ce.height):ce.shape==="circle"?ue({x:ce.x,y:ce.y},ce.radius*2,ce.radius*2):ce.shape==="polygon"&&De(ce.points)}else"route"in ke?De(ke.route):ke.type==="pcb_silkscreen_text"||ke.type==="pcb_silkscreen_rect"||ke.type==="pcb_silkscreen_circle"||ke.type==="pcb_silkscreen_line"?Ge(ke):ke.type==="pcb_copper_pour"&&(ke.shape==="rect"?ue(ke.center,ke.width,ke.height):ke.shape==="polygon"&&De(ke.points));const m=n?1:0,y=n||!Number.isFinite(u)?s:u,g=n||!Number.isFinite(d)?a:d,b=n||!Number.isFinite(h)?c:h,v=n||!Number.isFinite(f)?l:f,w=b-y+2*m,T=v-g+2*m;let N=e?.width??800,R=e?.height??600;if(e?.matchBoardAspectRatio){const ke=h-u,ce=f-d;if(ke>0&&ce>0){const we=ke/ce;e?.width&&!e?.height?R=e.width/we:e?.height&&!e?.width?N=e.height*we:R=N/we}}const P=[];for(const ke of t)"route"in ke&&ke.route!==void 0&&P.push(ke.route);const M=N/w,I=R/T,A=Math.min(M,I),$=(N-w*A)/2,k=(R-T*A)/2,V=cs(Cs($-y*A+m*A,R-k+g*A-m*A),kg(A,-A)),X={transform:V,layer:i,shouldDrawErrors:e?.shouldDrawErrors,drawPaddingOutsideBoard:n,colorMap:o,renderSolderMask:e?.renderSolderMask};function W(ke){if(ke.type==="pcb_smtpad")return ke.layer==="top"||ke.layer==="bottom"?ke.layer:void 0;if(ke.type==="pcb_trace")for(const ce of ke.route??[]){const we="layer"in ce&&ce.layer||"from_layer"in ce&&ce.from_layer||"to_layer"in ce&&ce.to_layer||void 0;if(we==="top"||we==="bottom")return we}}function K(ke){return ke.type==="pcb_trace"||ke.type==="pcb_smtpad"}let te=t.sort((ke,ce)=>{const we=W(ke),xe=W(ce);if(K(ke)&&K(ce)&&we!==xe){if(we==="top")return 1;if(xe==="top"||we==="bottom")return-1;if(xe==="bottom")return 1}return(kZe.indexOf(ce.type)??9999)-(kZe.indexOf(ke.type)??9999)}).flatMap(ke=>ayn({elm:ke,circuitJson:t,ctx:X}));for(const ke of t)if("stroke_width"in ke){String(A*ke.stroke_width);break}if(e?.shouldDrawRatsNest){const ke=nyn(t,X);te=te.concat(ke)}const se=[{name:"style",type:"element",value:"",attributes:{},children:[{type:"text",value:"",name:"",attributes:{},children:[]}]},{name:"rect",type:"element",value:"",attributes:{class:"boundary",x:"0",y:"0",fill:e?.backgroundColor??"#000",width:N.toString(),height:R.toString()},children:[]}];n&&se.push(cyn(V,s,a,c,l)),se.push(...te);const de=oC(t),be=sC,re={name:"svg",type:"element",attributes:{xmlns:"http://www.w3.org/2000/svg",width:N.toString(),height:R.toString(),...de&&{"data-software-used-string":de},...e?.includeVersion&&{"data-circuit-to-svg-version":be}},value:"",children:se.filter(ke=>ke!==null)};try{return FP(re)}catch(ke){throw console.error("Error stringifying SVG object:",ke),ke}function ue(ke,ce,we){const xe=ce/2,Ye=we/2;s=Math.min(s,ke.x-xe),a=Math.min(a,ke.y-Ye),c=Math.max(c,ke.x+xe),l=Math.max(l,ke.y+Ye)}function he(ke,ce,we){const xe=ce/2,Ye=we/2;u=Math.min(u,ke.x-xe),d=Math.min(d,ke.y-Ye),h=Math.max(h,ke.x+xe),f=Math.max(f,ke.y+Ye)}function Me(ke){for(const ce of ke)s=Math.min(s,ce.x),a=Math.min(a,ce.y),c=Math.max(c,ce.x),l=Math.max(l,ce.y)}function Ie(ke){for(const ce of ke)u=Math.min(u,ce.x),d=Math.min(d,ce.y),h=Math.max(h,ce.x),f=Math.max(f,ce.y)}function De(ke){for(const ce of ke)s=Math.min(s,ce.x),a=Math.min(a,ce.y),c=Math.max(c,ce.x),l=Math.max(l,ce.y)}function Ge(ke){if(ke.type==="pcb_silkscreen_text")ue(ke.anchor_position,0,0);else if(ke.type==="pcb_silkscreen_path")De(ke.route);else if(ke.type==="pcb_silkscreen_rect")ue(ke.center,ke.width,ke.height);else if(ke.type==="pcb_silkscreen_circle")ue(ke.center,ke.radius*2,ke.radius*2);else if(ke.type==="pcb_silkscreen_line")ue({x:ke.x1,y:ke.y1},0,0),ue({x:ke.x2,y:ke.y2},0,0);else if(ke.type==="pcb_cutout"){const ce=ke;ce.shape==="rect"?ue(ce.center,ce.width,ce.height):ce.shape==="circle"?ue(ce.center,ce.radius*2,ce.radius*2):ce.shape==="polygon"&&De(ce.points)}}}function ayn({elm:t,circuitJson:e,ctx:n}){switch(t.type){case"pcb_trace_error":return F_n(t,e,n).filter(Boolean);case"pcb_component":return oyn(t,n).filter(Boolean);case"pcb_trace":return Z_n(t,n);case"pcb_copper_pour":return ryn(t,n);case"pcb_plated_hole":return j_n(t,n).filter(Boolean);case"pcb_hole":return J_n(t,n);case"pcb_smtpad":return K_n(t,n);case"pcb_silkscreen_text":return V_n(t,n);case"pcb_silkscreen_rect":return G_n(t,n);case"pcb_silkscreen_circle":return Y_n(t,n);case"pcb_silkscreen_line":return q_n(t,n);case"pcb_fabrication_note_path":return U_n(t,n);case"pcb_fabrication_note_text":return $_n(t,n);case"pcb_silkscreen_path":return H_n(t,n);case"pcb_board":return n.drawPaddingOutsideBoard?IZe(t,n):[];case"pcb_via":return Q_n(t,n);case"pcb_cutout":return iyn(t,n);default:return[]}}function cyn(t,e,n,i,r){const[o,s]=Yt(t,[e,n]),[a,c]=Yt(t,[i,r]),l=Math.abs(a-o),u=Math.abs(c-s),d=Math.min(o,a),h=Math.min(s,c);return{name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-boundary",fill:"none",stroke:"#fff","stroke-width":"0.3",x:d.toString(),y:h.toString(),width:l.toString(),height:u.toString()}}}var lyn=$me,Uj={fill:"none",stroke:"rgb(0,0,0)",strokeOpacity:"0.8",strokeWidthFactor:.2};function uyn(t,e,n={}){const{width:i,height:r,center:o,outline:s}=t;let a;if(s&&Array.isArray(s)&&s.length>=3)a=s.map((c,l)=>{const[u,d]=Yt(e,[c.x,c.y]);return l===0?`M ${u} ${d}`:`L ${u} ${d}`}).join(" ");else{const c=i/2,l=r/2,u=Yt(e,[o.x-c,o.y-l]),d=Yt(e,[o.x+c,o.y-l]),h=Yt(e,[o.x+c,o.y+l]),f=Yt(e,[o.x-c,o.y+l]);a=`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]} L ${h[0]} ${h[1]} L ${f[0]} ${f[1]}`}return a+=" Z",[{name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-board",d:a,fill:n.fill??Uj.fill,stroke:n.stroke??Uj.stroke,"stroke-opacity":n.strokeOpacity??Uj.strokeOpacity,"stroke-width":((n.strokeWidthFactor??Uj.strokeWidthFactor)*Math.abs(e.a)).toString()}}]}var dyn={pin_number:.15,negated_pin_number:.15*.8,reference_designator:.18,manufacturer_number:.18,net_label:.18,error:.05},aC=(t,e)=>e??dyn[t],l3=(t,e,n)=>Math.abs(t.a)*aC(e,n);function hyn(t,e){const{elm:n,portPosition:i,name:r,arePinsInterchangeable:o}=t,{transform:s}=e,{center:a,width:c,height:l,rotation:u=0,layer:d="top"}=n;if(!a||typeof c!="number"||typeof l!="number")return null;const[h,f]=Yt(s,[a.x,a.y]),[m,y]=Yt(s,[i.x,i.y]),g=c*Math.abs(s.a),b=l*Math.abs(s.d),v=y>f,w=m<h,T=[pyn(g,b,u,d),fyn(g,b,r??"")];return o||T.push(myn(g,b,u,d,v,w)),{name:"g",type:"element",value:"",attributes:{transform:`translate(${h}, ${f}) scale(1, -1)`},children:T}}function pyn(t,e,n,i){const r=t/2,o=e/2;return{name:"path",type:"element",attributes:{class:"assembly-component",d:_yn(r,o,n),"stroke-width":.8.toFixed(2),transform:`rotate(${-n})`,"stroke-dasharray":i==="bottom"?"2,2":""},value:"",children:[]}}function fyn(t,e,n,i){const r=Math.min(t,e),c=Math.min(58,Math.max(3,r*.8)),l=e>t;return{name:"text",type:"element",attributes:{x:"0",y:"0",class:"assembly-component-label","text-anchor":"middle",dy:".10em",style:"pointer-events: none","font-size":`${c.toFixed(1)}px`,transform:l?"rotate(90) scale(1, -1)":"scale(1, -1)"},children:[{type:"text",value:n||"",name:"",attributes:{},children:[]}],value:""}}function myn(t,e,n,i,r,o){const s=t/2,a=e/2,c=Math.min(s,a)*.5;let l;return r&&o?l=[[-s,-a],[-s+c,-a],[-s,-a+c]]:r&&!o?l=[[s,-a],[s-c,-a],[s,-a+c]]:!r&&o?l=[[-s,a],[-s+c,a],[-s,a-c]]:l=[[s,a],[s-c,a],[s,a-c]],{name:"polygon",type:"element",attributes:{class:"assembly-pin1-indicator",points:l.map(d=>d.join(",")).join(" "),fill:"#333",stroke:"none",transform:`rotate(${-n})`},value:"",children:[]}}function _yn(t,e,n){const i=(a,c,l)=>{const u=Math.PI/180*l,d=Math.cos(u),h=Math.sin(u);return[a*d-c*h,a*h+c*d]};return`${[[-t,-e],[t,-e],[t,e],[-t,e]].map(([a,c])=>i(a,c,n)).map(([a,c],l)=>l===0?`M${a},${c}`:`L${a},${c}`).join(" ")} Z`}var jme="rgb(190, 190, 190)";function yyn(t,e){const{transform:n}=e,[i,r]=Yt(n,[t.x,t.y]);if(t.hole_shape==="circle"||t.hole_shape==="square"){const o=t.hole_diameter*Math.abs(n.a),s=o/2;return t.hole_shape==="circle"?[{name:"circle",type:"element",attributes:{class:"assembly-hole",cx:i.toString(),cy:r.toString(),r:s.toString(),fill:jme},children:[],value:""}]:[{name:"rect",type:"element",attributes:{class:"assembly-hole",x:(i-s).toString(),y:(r-s).toString(),width:o.toString(),height:o.toString(),fill:jme},children:[],value:""}]}if(t.hole_shape==="oval"){const o=t.hole_width*Math.abs(n.a),s=t.hole_height*Math.abs(n.a),a=o/2,c=s/2;return[{name:"ellipse",type:"element",attributes:{class:"assembly-hole",cx:i.toString(),cy:r.toString(),rx:a.toString(),ry:c.toString(),fill:jme},children:[],value:""}]}return[]}var QI="rgb(210, 210, 210)",JI="rgb(190, 190, 190)";function gyn(t,e){const{transform:n}=e,[i,r]=Yt(n,[t.x,t.y]);if(t.shape==="pill"){const o=t.outer_width*Math.abs(n.a),s=t.outer_height*Math.abs(n.a),a=t.hole_width*Math.abs(n.a),c=t.hole_height*Math.abs(n.a),l=o/2,u=s-o,d=a/2;return[{name:"g",type:"element",children:[{name:"path",type:"element",attributes:{class:"assembly-hole-outer",fill:QI,d:`M${i-l},${r-u/2} v${u} a${l},${l} 0 0 0 ${o},0 v-${u} a${l},${l} 0 0 0 -${o},0 z`},value:"",children:[]},{name:"path",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,d:`M${i-d},${r-(c-a)/2} v${c-a} a${d},${d} 0 0 0 ${a},0 v-${c-a} a${d},${d} 0 0 0 -${a},0 z`},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="circle"){const o=t.outer_diameter*Math.abs(n.a),s=t.outer_diameter*Math.abs(n.a),a=t.hole_diameter*Math.abs(n.a),c=t.hole_diameter*Math.abs(n.a),l=Math.min(o,s)/2,u=Math.min(a,c)/2;return[{name:"g",type:"element",children:[{name:"circle",type:"element",attributes:{class:"assembly-hole-outer",fill:QI,cx:i.toString(),cy:r.toString(),r:l.toString()},value:"",children:[]},{name:"circle",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,cx:i.toString(),cy:r.toString(),r:u.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="circular_hole_with_rect_pad"){const o=t,s=o.hole_diameter*Math.abs(n.a),a=o.rect_pad_width*Math.abs(n.a),c=o.rect_pad_height*Math.abs(n.a),l=(o.rect_border_radius??0)*Math.abs(n.a),u=s/2,[d,h]=Yt(n,[o.x+o.hole_offset_x,o.y+o.hole_offset_y]);return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"assembly-hole-outer-pad",fill:QI,x:(i-a/2).toString(),y:(r-c/2).toString(),width:a.toString(),height:c.toString(),...l?{rx:l.toString(),ry:l.toString()}:{}},value:"",children:[]},{name:"circle",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,cx:d.toString(),cy:h.toString(),r:u.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="pill_hole_with_rect_pad"){const o=t,s=o.rect_pad_width*Math.abs(n.a),a=o.rect_pad_height*Math.abs(n.a),c=(o.rect_border_radius??0)*Math.abs(n.a),l=o.hole_height*Math.abs(n.a),u=o.hole_width*Math.abs(n.a),d=o,h=d.hole_offset_x??0,f=d.hole_offset_y??0,[m,y]=Yt(n,[o.x+h,o.y+f]),g=Math.min(l,u)/2;return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"assembly-hole-outer-pad",fill:QI,x:(i-s/2).toString(),y:(r-a/2).toString(),width:s.toString(),height:a.toString(),...c?{rx:c.toString(),ry:c.toString()}:{}},value:"",children:[]},{name:"rect",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,x:(m-u/2).toString(),y:(y-l/2).toString(),width:u.toString(),height:l.toString(),rx:g.toString(),ry:g.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="rotated_pill_hole_with_rect_pad"){const o=t,s=o.rect_pad_width*Math.abs(n.a),a=o.rect_pad_height*Math.abs(n.a),c=(o.rect_border_radius??0)*Math.abs(n.a),l=o.hole_height*Math.abs(n.a),u=o.hole_width*Math.abs(n.a),d=o,h=d.hole_offset_x??0,f=d.hole_offset_y??0,[m,y]=Yt(n,[o.x+h,o.y+f]),g=Math.min(l,u)/2;return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"assembly-hole-outer-pad",fill:QI,x:(-s/2).toString(),y:(-a/2).toString(),width:s.toString(),height:a.toString(),transform:`translate(${i} ${r}) rotate(${-o.rect_ccw_rotation})`,...c?{rx:c.toString(),ry:c.toString()}:{}},value:"",children:[]},{name:"rect",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,x:(-u/2).toString(),y:(-l/2).toString(),width:u.toString(),height:l.toString(),rx:g.toString(),ry:g.toString(),transform:`translate(${m} ${y}) rotate(${-o.hole_ccw_rotation})`},value:"",children:[]}],value:"",attributes:{}}]}return[]}var eN="rgb(210, 210, 210)";function byn(t,e){const{transform:n}=e;if(t.shape==="rect"||t.shape==="rotated_rect"){const i=t.width*Math.abs(n.a),r=t.height*Math.abs(n.d),[o,s]=Yt(n,[t.x,t.y]),a=(t.rect_border_radius??0)*Math.abs(n.a);return t.shape==="rotated_rect"&&t.ccw_rotation?[{name:"rect",type:"element",attributes:{class:"assembly-pad",fill:eN,x:(-i/2).toString(),y:(-r/2).toString(),width:i.toString(),height:r.toString(),transform:`translate(${o} ${s}) rotate(${-t.ccw_rotation})`,"data-layer":t.layer,...a?{rx:a.toString(),ry:a.toString()}:{}},value:"",children:[]}]:[{name:"rect",type:"element",attributes:{class:"assembly-pad",fill:eN,x:(o-i/2).toString(),y:(s-r/2).toString(),width:i.toString(),height:r.toString(),"data-layer":t.layer,...a?{rx:a.toString(),ry:a.toString()}:{}},value:"",children:[]}]}if(t.shape==="pill"){const i=t.width*Math.abs(n.a),r=t.height*Math.abs(n.d),o=t.radius*Math.abs(n.a),[s,a]=Yt(n,[t.x,t.y]);return[{name:"rect",type:"element",attributes:{class:"assembly-pad",fill:eN,x:(s-i/2).toString(),y:(a-r/2).toString(),width:i.toString(),height:r.toString(),rx:o.toString(),ry:o.toString(),"data-layer":t.layer},value:"",children:[]}]}if(t.shape==="circle"){const i=t.radius*Math.abs(n.a),[r,o]=Yt(n,[t.x,t.y]);return[{name:"circle",type:"element",attributes:{class:"assembly-pad",fill:eN,cx:r.toString(),cy:o.toString(),r:i.toString(),"data-layer":t.layer},value:"",children:[]}]}if(t.shape==="polygon"){const i=(t.points??[]).map(r=>Yt(n,[r.x,r.y]));return[{name:"polygon",type:"element",attributes:{class:"assembly-pad",fill:eN,points:i.map(r=>r.join(",")).join(" "),"data-layer":t.layer},value:"",children:[]}]}return[]}var OZe=["pcb_component","pcb_smtpad","pcb_hole","pcb_plated_hole","pcb_board"];function LZe(t,e){let n=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,o=Number.NEGATIVE_INFINITY;for(const R of t)if(R.type==="pcb_board"){const P=R.center,M=R.width||0,I=R.height||0;n=Math.min(n,P.x-M/2),i=Math.min(i,P.y-I/2),r=Math.max(r,P.x+M/2),o=Math.max(o,P.y+I/2)}const s=1,a=r-n+2*s,c=o-i+2*s,l=e?.width??800,u=e?.height??600,d=l/a,h=u/c,f=Math.min(d,h),m=(l-a*f)/2,y=(u-c*f)/2,g=cs(Cs(m-n*f+s*f,u-y+i*f-s*f),kg(f,-f)),b={transform:g},v=t.sort((R,P)=>(OZe.indexOf(P.type)??9999)-(OZe.indexOf(R.type)??9999)).flatMap(R=>xyn(R,b,t)),w=oC(t),T=sC,N={name:"svg",type:"element",attributes:{xmlns:"http://www.w3.org/2000/svg",width:l.toString(),height:u.toString(),...w&&{"data-software-used-string":w},...e?.includeVersion&&{"data-circuit-to-svg-version":T}},value:"",children:[{name:"style",type:"element",children:[{type:"text",value:`
|
|
5301
|
+
`),N=T.length===1?[{type:"text",value:s,name:"",attributes:{},children:[]}]:T.map((P,M)=>({type:"element",name:"tspan",value:"",attributes:{x:"0",...M>0?{dy:f.toString()}:{}},children:[{type:"text",value:P,name:"",attributes:{},children:[]}]}));return[{name:"text",type:"element",attributes:{x:"0",y:"0",dx:g.toString(),dy:b.toString(),fill:w,"font-family":"Arial, sans-serif","font-size":f.toString(),"text-anchor":m,"dominant-baseline":y,transform:aw(v),class:`pcb-silkscreen-text pcb-silkscreen-${c}`,"data-pcb-silkscreen-text-id":t.pcb_component_id,stroke:"none"},children:N,value:""}]}function G_n(t,e){const{transform:n,layer:i,colorMap:r}=e,{center:o,width:s,height:a,layer:c="top",pcb_silkscreen_rect_id:l,stroke_width:u,is_filled:d,has_stroke:h,is_stroke_dashed:f}=t;if(i&&c!==i)return[];if(!o||typeof o.x!="number"||typeof o.y!="number"||typeof s!="number"||typeof a!="number")return console.error("Invalid rectangle data:",{center:o,width:s,height:a}),[];const[m,y]=Yt(n,[o.x,o.y]),g=s*Math.abs(n.a),b=a*Math.abs(n.d),v=u*Math.abs(n.a),w=c==="bottom"?r.silkscreen.bottom:r.silkscreen.top,T={x:(m-g/2).toString(),y:(y-b/2).toString(),width:g.toString(),height:b.toString(),class:`pcb-silkscreen-rect pcb-silkscreen-${c}`,"data-pcb-silkscreen-rect-id":l};T.fill=d?w:"none";let N;if(h===void 0?N=v>0:N=h,N){if(T.stroke=w,T["stroke-width"]=v.toString(),f){const P=.1*Math.abs(n.a),M=.05*Math.abs(n.a);T["stroke-dasharray"]=`${P} ${M}`}}else T.stroke="none";return[{name:"rect",type:"element",attributes:T,value:"",children:[]}]}function Y_n(t,e){const{transform:n,layer:i,colorMap:r}=e,{center:o,radius:s,layer:a="top",pcb_silkscreen_circle_id:c,stroke_width:l=1}=t;if(i&&a!==i)return[];if(!o||typeof o.x!="number"||typeof o.y!="number"||typeof s!="number")return console.error("Invalid PCB Silkscreen Circle data:",{center:o,radius:s}),[];const[u,d]=Yt(n,[o.x,o.y]),h=s*Math.abs(n.a),f=l*Math.abs(n.a),m=a==="bottom"?r.silkscreen.bottom:r.silkscreen.top;return[{name:"circle",type:"element",attributes:{cx:u.toString(),cy:d.toString(),r:h.toString(),class:`pcb-silkscreen-circle pcb-silkscreen-${a}`,stroke:m,"stroke-width":f.toString(),"data-pcb-silkscreen-circle-id":c},value:"",children:[]}]}function q_n(t,e){const{transform:n,layer:i,colorMap:r}=e,{x1:o,y1:s,x2:a,y2:c,stroke_width:l,layer:u="top",pcb_silkscreen_line_id:d}=t;if(i&&u!==i)return[];if(typeof o!="number"||typeof s!="number"||typeof a!="number"||typeof c!="number")return console.error("Invalid coordinates:",{x1:o,y1:s,x2:a,y2:c}),[];const[h,f]=Yt(n,[o,s]),[m,y]=Yt(n,[a,c]),g=l*Math.abs(n.a),b=u==="bottom"?r.silkscreen.bottom:r.silkscreen.top;return[{name:"line",type:"element",attributes:{x1:h.toString(),y1:f.toString(),x2:m.toString(),y2:y.toString(),stroke:b,"stroke-width":g.toString(),class:`pcb-silkscreen-line pcb-silkscreen-${u}`,"data-pcb-silkscreen-line-id":d},value:"",children:[]}]}function X_n(t){const e=[];for(let n=0;n<t.length-1;n++)e.push([t[n],t[n+1]]);return e}var ex={copper:{top:"rgb(200, 52, 52)",bottom:"rgb(77, 127, 196)"},soldermask:{top:"rgb(200, 52, 52)",bottom:"rgb(77, 127, 196)"},drill:"#FF26E2",silkscreen:{top:"#f2eda1",bottom:"#5da9e9"},boardOutline:"rgba(255, 255, 255, 0.5)",debugComponent:{fill:null,stroke:null}};ex.drill,ex.silkscreen.top,ex.silkscreen.bottom,ex.copper.top,ex.copper.bottom;function hM(t,e=ex){return e.copper[t]??"white"}var W_n={bottom:"rgb(105, 105, 105)",top:"rgb(105, 105, 105)"};function Bj(t){return W_n[t]??"rgb(105, 105, 105)"}function Z_n(t,e){const{transform:n,layer:i,colorMap:r,renderSolderMask:o}=e;if(!t.route||!Array.isArray(t.route)||t.route.length<2)return[];const s=X_n(t.route),a=[];for(const[c,l]of s){const u=Yt(n,[c.x,c.y]),d=Yt(n,[l.x,l.y]),h="layer"in c?c.layer:"layer"in l?l.layer:null;if(!h||i&&h!==i)continue;const f=hM(h,r),m=r.soldermask[h]??f,y="width"in c?c.width:"width"in l?l.width:null,g=y?(y*Math.abs(n.a)).toString():"0.3";if(o){const b={name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-trace",stroke:f,fill:"none",d:`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]}`,"stroke-width":g,"stroke-linecap":"round","stroke-linejoin":"round","shape-rendering":"crispEdges","data-layer":h}},v={name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-soldermask",stroke:m,fill:"none",d:`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]}`,"stroke-width":g,"stroke-linecap":"round","stroke-linejoin":"round","shape-rendering":"crispEdges","data-layer":h}};a.push(v,b)}else{const b={name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-trace",stroke:m,fill:"none",d:`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]}`,"stroke-width":g,"stroke-linecap":"round","stroke-linejoin":"round","shape-rendering":"crispEdges","data-layer":h}};a.push(b)}}return a.sort((c,l)=>{const u=c.attributes["data-layer"],d=l.attributes["data-layer"];return u==="bottom"&&d!=="bottom"?-1:u==="top"&&d!=="top"?1:0}),a}function K_n(t,e){const{transform:n,layer:i,colorMap:r}=e;if(i&&t.layer!==i)return[];const o=!!t?.is_covered_with_solder_mask,s=r.soldermask[t.layer]??r.soldermask.top;if(t.shape==="rect"||t.shape==="rotated_rect"){const a=t.width*Math.abs(n.a),c=t.height*Math.abs(n.d),[l,u]=Yt(n,[t.x,t.y]),d=(t.rect_border_radius??0)*Math.abs(n.a);if(t.shape==="rotated_rect"&&t.ccw_rotation){const m={name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),x:(-a/2).toString(),y:(-c/2).toString(),width:a.toString(),height:c.toString(),transform:`translate(${l} ${u}) rotate(${-t.ccw_rotation})`,"data-layer":t.layer,...d?{rx:d.toString(),ry:d.toString()}:{}}};if(!o)return[m];const y={name:m.name,type:m.type,value:"",children:[],attributes:{...m.attributes,class:"pcb-solder-mask",fill:s}};return[m,y]}const h={name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),x:(l-a/2).toString(),y:(u-c/2).toString(),width:a.toString(),height:c.toString(),"data-layer":t.layer,...d?{rx:d.toString(),ry:d.toString()}:{}}};if(!o)return[h];const f={name:h.name,type:h.type,value:"",children:[],attributes:{...h.attributes,class:"pcb-solder-mask",fill:s}};return[h,f]}if(t.shape==="pill"){const a=t.width*Math.abs(n.a),c=t.height*Math.abs(n.d),l=t.radius*Math.abs(n.a),[u,d]=Yt(n,[t.x,t.y]),h={name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),x:(u-a/2).toString(),y:(d-c/2).toString(),width:a.toString(),height:c.toString(),rx:l.toString(),ry:l.toString(),"data-layer":t.layer}};if(!o)return[h];const f={name:h.name,type:h.type,value:"",children:[],attributes:{...h.attributes,class:"pcb-solder-mask",fill:s}};return[h,f]}if(t.shape==="circle"){const a=t.radius*Math.abs(n.a),[c,l]=Yt(n,[t.x,t.y]),u={name:"circle",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),cx:c.toString(),cy:l.toString(),r:a.toString(),"data-layer":t.layer}};if(!o)return[u];const d={name:u.name,type:u.type,value:"",children:[],attributes:{...u.attributes,class:"pcb-solder-mask",fill:s}};return[u,d]}if(t.shape==="polygon"){const a=(t.points??[]).map(u=>Yt(n,[u.x,u.y])),c={name:"polygon",type:"element",value:"",children:[],attributes:{class:"pcb-pad",fill:hM(t.layer,r),points:a.map(u=>u.join(",")).join(" "),"data-layer":t.layer}};if(!o)return[c];const l={name:c.name,type:c.type,value:"",children:[],attributes:{...c.attributes,class:"pcb-solder-mask",fill:s}};return[c,l]}return[]}function IZe(t,e){const{transform:n,colorMap:i}=e,{width:r,height:o,center:s,outline:a}=t;let c;if(a&&Array.isArray(a)&&a.length>=3)c=a.map((l,u)=>{const[d,h]=Yt(n,[l.x,l.y]);return u===0?`M ${d} ${h}`:`L ${d} ${h}`}).join(" ");else{const l=r/2,u=o/2,d=Yt(n,[s.x-l,s.y-u]),h=Yt(n,[s.x+l,s.y-u]),f=Yt(n,[s.x+l,s.y+u]),m=Yt(n,[s.x-l,s.y+u]);c=`M ${d[0]} ${d[1]} L ${h[0]} ${h[1]} L ${f[0]} ${f[1]} L ${m[0]} ${m[1]}`}return c+=" Z",[{name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-board",d:c,fill:"none",stroke:i.boardOutline,"stroke-width":(.1*Math.abs(n.a)).toString()}}]}function Q_n(t,e){const{transform:n,colorMap:i}=e,[r,o]=Yt(n,[t.x,t.y]),s=t.outer_diameter*Math.abs(n.a),a=t.outer_diameter*Math.abs(n.a),c=t.hole_diameter*Math.abs(n.a),l=t.hole_diameter*Math.abs(n.a),u=Math.min(s,a)/2,d=Math.min(c,l)/2;return{name:"g",type:"element",children:[{name:"circle",type:"element",attributes:{class:"pcb-hole-outer",fill:i.copper.top,cx:r.toString(),cy:o.toString(),r:u.toString()}},{name:"circle",type:"element",attributes:{class:"pcb-hole-inner",fill:i.drill,cx:r.toString(),cy:o.toString(),r:d.toString()}}]}}function J_n(t,e){const{transform:n,colorMap:i}=e,[r,o]=Yt(n,[t.x,t.y]);if(t.hole_shape==="circle"||t.hole_shape==="square"){const s=t.hole_diameter*Math.abs(n.a),a=s/2;return t.hole_shape==="circle"?[{name:"circle",type:"element",attributes:{class:"pcb-hole",cx:r.toString(),cy:o.toString(),r:a.toString(),fill:i.drill},children:[],value:""}]:[{name:"rect",type:"element",attributes:{class:"pcb-hole",x:(r-a).toString(),y:(o-a).toString(),width:s.toString(),height:s.toString(),fill:i.drill},children:[],value:""}]}if(t.hole_shape==="oval"){const s=t.hole_width*Math.abs(n.a),a=t.hole_height*Math.abs(n.a),c=s/2,l=a/2;return[{name:"ellipse",type:"element",attributes:{class:"pcb-hole",cx:r.toString(),cy:o.toString(),rx:c.toString(),ry:l.toString(),fill:i.drill},children:[],value:""}]}return[]}var eyn=(t,e)=>{const n=ea(e).pcb_smtpad.get(t);if(n&&"x"in n&&"y"in n)return{x:n.x,y:n.y};const i=ea(e).pcb_plated_hole.get(t);return i&&"x"in i&&"y"in i?{x:i.x,y:i.y}:null},tyn=(t,e,n,i)=>{const r=n.getIdsConnectedToNet(e);let o=null,s=1/0;for(const a of r){const c=eyn(a,i);if(c){const l=t.x-c.x,u=t.y-c.y,d=Math.sqrt(l*l+u*u);d>0&&d<s&&(s=d,o=c)}}return o};function nyn(t,e){const{transform:n}=e,i=J6(t),r=t.filter(c=>c.type==="pcb_port"),o=t.filter(c=>c.type==="source_trace"),s=[];r.forEach((c,l)=>{const u=c.pcb_port_id;if(!u)return;const d=i.getNetConnectedToId(u);if(!d)return;let h=!1;const f=ea(t).source_port.getWhere({pcb_port_id:u});if(f&&f.source_port_id){const g=f.source_port_id;for(const b of o)if(Array.isArray(b.connected_source_port_ids)&&b.connected_source_port_ids.includes(g)&&Array.isArray(b.connected_source_net_ids)&&b.connected_source_net_ids.length>0){h=!0;break}}const m={x:c.x,y:c.y},y=tyn(m,d,i,t);y&&s.push({key:`${u}-${l}`,startPoint:m,endPoint:y,isInNet:h})});const a=[];for(const c of s){const l=Yt(n,[c.startPoint.x,c.startPoint.y]),u=Yt(n,[c.endPoint.x,c.endPoint.y]),d={x1:l[0].toString(),y1:l[1].toString(),x2:u[0].toString(),y2:u[1].toString(),stroke:"white","stroke-width":"1","stroke-dasharray":"6,6"};a.push({name:"line",type:"element",attributes:d,value:"",children:[]})}return a}function iyn(t,e){const{transform:n,colorMap:i}=e;if(t.shape==="rect"){const r=t,[o,s]=Yt(n,[r.center.x,r.center.y]),a=r.width*Math.abs(n.a),c=r.height*Math.abs(n.d),l=-(r.rotation??0);return[{name:"rect",type:"element",attributes:{class:"pcb-cutout pcb-cutout-rect",x:(-a/2).toString(),y:(-c/2).toString(),width:a.toString(),height:c.toString(),fill:i.drill,transform:aw(cs(Cs(o,s),ov(l*Math.PI/180)))},children:[],value:""}]}if(t.shape==="circle"){const r=t,[o,s]=Yt(n,[r.center.x,r.center.y]),a=r.radius*Math.abs(n.a);return[{name:"circle",type:"element",attributes:{class:"pcb-cutout pcb-cutout-circle",cx:o.toString(),cy:s.toString(),r:a.toString(),fill:i.drill},children:[],value:""}]}if(t.shape==="polygon"){const r=t;return!r.points||r.points.length===0?[]:[{name:"polygon",type:"element",attributes:{class:"pcb-cutout pcb-cutout-polygon",points:r.points.map(a=>Yt(n,[a.x,a.y])).map(a=>`${a[0]},${a[1]}`).join(" "),fill:i.drill},children:[],value:""}]}return[]}function NZe(t,e){if(t.length===0)return"";const n=t.map(r=>{const[o,s]=Yt(e,[r.x,r.y]);return{...r,x:o,y:s}});let i=`M ${n[0].x} ${n[0].y}`;for(let r=0;r<n.length;r++){const o=n[r],s=n[(r+1)%n.length];if(o.bulge){if(Math.hypot(s.x-o.x,s.y-o.y)<1e-9)continue;const a=o.bulge,c=s.x-o.x,l=s.y-o.y,u=Math.hypot(c,l),d=Math.abs(u/4/a*(a*a+1)),h=a<0?1:0,f=Math.abs(a)>1?1:0;i+=` A ${d} ${d} 0 ${f} ${h} ${s.x} ${s.y}`}else i+=` L ${s.x} ${s.y}`}return i+=" Z",i}function ryn(t,e){const{transform:n,layer:i,colorMap:r}=e,{layer:o}=t;if(i&&o!==i)return[];const s=hM(o,r),a="0.5";if(t.shape==="rect"){const[c,l]=Yt(n,[t.center.x,t.center.y]),u=t.width*Math.abs(n.a),d=t.height*Math.abs(n.d),h=-(t.rotation??0);return[{name:"rect",type:"element",attributes:{class:"pcb-copper-pour pcb-copper-pour-rect",x:(-u/2).toString(),y:(-d/2).toString(),width:u.toString(),height:d.toString(),fill:s,"fill-opacity":a,transform:aw(cs(Cs(c,l),ov(h*Math.PI/180))),"data-layer":o},children:[],value:""}]}if(t.shape==="polygon")return!t.points||t.points.length===0?[]:[{name:"polygon",type:"element",attributes:{class:"pcb-copper-pour pcb-copper-pour-polygon",points:t.points.map(u=>Yt(n,[u.x,u.y])).map(u=>`${u[0]},${u[1]}`).join(" "),fill:s,"fill-opacity":a,"data-layer":o},children:[],value:""}];if(t.shape==="brep"){const{brep_shape:c}=t;let l=NZe(c.outer_ring.vertices,n);for(const u of c.inner_rings??[])l+=` ${NZe(u.vertices,n)}`;return[{name:"path",type:"element",attributes:{class:"pcb-copper-pour pcb-copper-pour-brep",d:l,fill:s,"fill-rule":"evenodd","fill-opacity":a,"data-layer":o},children:[],value:""}]}return[]}function oyn(t,e){const{transform:n}=e,{center:i,width:r,height:o,rotation:s=0}=t,[a,c]=Yt(n,[i.x,i.y]),l=r*Math.abs(n.a),u=o*Math.abs(n.d),d=`translate(${a}, ${c}) rotate(${-s}) scale(1, -1)`;return!e.colorMap.debugComponent?.fill&&!e.colorMap.debugComponent?.stroke?[]:[{name:"g",type:"element",attributes:{transform:d},children:[{name:"rect",type:"element",attributes:{class:"pcb-component",x:(-l/2).toString(),y:(-u/2).toString(),width:l.toString(),height:u.toString(),fill:e.colorMap.debugComponent.fill??"transparent",stroke:e.colorMap.debugComponent.stroke??"transparent"}}],value:""}]}function oC(t){return t.find(n=>n.type==="project_software_metadata"||n.type==="source_project_metadata")?.software_used_string}var syn={version:"0.0.202"},sC=syn.version,kZe=["pcb_trace_error","pcb_plated_hole","pcb_fabrication_note_text","pcb_fabrication_note_path","pcb_silkscreen_text","pcb_silkscreen_path","pcb_via","pcb_cutout","pcb_copper_pour","pcb_smtpad","pcb_trace","pcb_component","pcb_board"];function $me(t,e){const n=e?.drawPaddingOutsideBoard??!0,i=e?.layer,r=e?.colorOverrides,o={copper:{top:r?.copper?.top??ex.copper.top,bottom:r?.copper?.bottom??ex.copper.bottom},drill:r?.drill??ex.drill,silkscreen:{top:r?.silkscreen?.top??ex.silkscreen.top,bottom:r?.silkscreen?.bottom??ex.silkscreen.bottom},boardOutline:r?.boardOutline??ex.boardOutline,soldermask:{top:r?.soldermask?.top??ex.soldermask.top,bottom:r?.soldermask?.bottom??ex.soldermask.bottom},debugComponent:{fill:r?.debugComponent?.fill??ex.debugComponent.fill,stroke:r?.debugComponent?.stroke??ex.debugComponent.stroke}};let s=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY,d=Number.POSITIVE_INFINITY,h=Number.NEGATIVE_INFINITY,f=Number.NEGATIVE_INFINITY;for(const ke of t)if(ke.type==="pcb_board")ke.outline&&Array.isArray(ke.outline)&&ke.outline.length>=3?(Me(ke.outline),Ie(ke.outline)):"center"in ke&&"width"in ke&&"height"in ke&&(ue(ke.center,ke.width,ke.height),he(ke.center,ke.width,ke.height));else if("x"in ke&&"y"in ke)ue({x:ke.x,y:ke.y},0,0);else if(ke.type==="pcb_smtpad"){const ce=ke;ce.shape==="rect"||ce.shape==="rotated_rect"||ce.shape==="pill"?ue({x:ce.x,y:ce.y},ce.width,ce.height):ce.shape==="circle"?ue({x:ce.x,y:ce.y},ce.radius*2,ce.radius*2):ce.shape==="polygon"&&De(ce.points)}else"route"in ke?De(ke.route):ke.type==="pcb_silkscreen_text"||ke.type==="pcb_silkscreen_rect"||ke.type==="pcb_silkscreen_circle"||ke.type==="pcb_silkscreen_line"?Ge(ke):ke.type==="pcb_copper_pour"&&(ke.shape==="rect"?ue(ke.center,ke.width,ke.height):ke.shape==="polygon"&&De(ke.points));const m=n?1:0,y=n||!Number.isFinite(u)?s:u,g=n||!Number.isFinite(d)?a:d,b=n||!Number.isFinite(h)?c:h,v=n||!Number.isFinite(f)?l:f,w=b-y+2*m,T=v-g+2*m;let N=e?.width??800,R=e?.height??600;if(e?.matchBoardAspectRatio){const ke=h-u,ce=f-d;if(ke>0&&ce>0){const we=ke/ce;e?.width&&!e?.height?R=e.width/we:e?.height&&!e?.width?N=e.height*we:R=N/we}}const P=[];for(const ke of t)"route"in ke&&ke.route!==void 0&&P.push(ke.route);const M=N/w,I=R/T,A=Math.min(M,I),$=(N-w*A)/2,k=(R-T*A)/2,V=cs(Cs($-y*A+m*A,R-k+g*A-m*A),kg(A,-A)),X={transform:V,layer:i,shouldDrawErrors:e?.shouldDrawErrors,drawPaddingOutsideBoard:n,colorMap:o,renderSolderMask:e?.renderSolderMask};function W(ke){if(ke.type==="pcb_smtpad")return ke.layer==="top"||ke.layer==="bottom"?ke.layer:void 0;if(ke.type==="pcb_trace")for(const ce of ke.route??[]){const we="layer"in ce&&ce.layer||"from_layer"in ce&&ce.from_layer||"to_layer"in ce&&ce.to_layer||void 0;if(we==="top"||we==="bottom")return we}}function K(ke){return ke.type==="pcb_trace"||ke.type==="pcb_smtpad"}let te=t.sort((ke,ce)=>{const we=W(ke),xe=W(ce);if(K(ke)&&K(ce)&&we!==xe){if(we==="top")return 1;if(xe==="top"||we==="bottom")return-1;if(xe==="bottom")return 1}return(kZe.indexOf(ce.type)??9999)-(kZe.indexOf(ke.type)??9999)}).flatMap(ke=>ayn({elm:ke,circuitJson:t,ctx:X}));for(const ke of t)if("stroke_width"in ke){String(A*ke.stroke_width);break}if(e?.shouldDrawRatsNest){const ke=nyn(t,X);te=te.concat(ke)}const se=[{name:"style",type:"element",value:"",attributes:{},children:[{type:"text",value:"",name:"",attributes:{},children:[]}]},{name:"rect",type:"element",value:"",attributes:{class:"boundary",x:"0",y:"0",fill:e?.backgroundColor??"#000",width:N.toString(),height:R.toString()},children:[]}];n&&se.push(cyn(V,s,a,c,l)),se.push(...te);const de=oC(t),be=sC,re={name:"svg",type:"element",attributes:{xmlns:"http://www.w3.org/2000/svg",width:N.toString(),height:R.toString(),...de&&{"data-software-used-string":de},...e?.includeVersion&&{"data-circuit-to-svg-version":be}},value:"",children:se.filter(ke=>ke!==null)};try{return FP(re)}catch(ke){throw console.error("Error stringifying SVG object:",ke),ke}function ue(ke,ce,we){const xe=ce/2,Ye=we/2;s=Math.min(s,ke.x-xe),a=Math.min(a,ke.y-Ye),c=Math.max(c,ke.x+xe),l=Math.max(l,ke.y+Ye)}function he(ke,ce,we){const xe=ce/2,Ye=we/2;u=Math.min(u,ke.x-xe),d=Math.min(d,ke.y-Ye),h=Math.max(h,ke.x+xe),f=Math.max(f,ke.y+Ye)}function Me(ke){for(const ce of ke)s=Math.min(s,ce.x),a=Math.min(a,ce.y),c=Math.max(c,ce.x),l=Math.max(l,ce.y)}function Ie(ke){for(const ce of ke)u=Math.min(u,ce.x),d=Math.min(d,ce.y),h=Math.max(h,ce.x),f=Math.max(f,ce.y)}function De(ke){for(const ce of ke)s=Math.min(s,ce.x),a=Math.min(a,ce.y),c=Math.max(c,ce.x),l=Math.max(l,ce.y)}function Ge(ke){if(ke.type==="pcb_silkscreen_text")ue(ke.anchor_position,0,0);else if(ke.type==="pcb_silkscreen_path")De(ke.route);else if(ke.type==="pcb_silkscreen_rect")ue(ke.center,ke.width,ke.height);else if(ke.type==="pcb_silkscreen_circle")ue(ke.center,ke.radius*2,ke.radius*2);else if(ke.type==="pcb_silkscreen_line")ue({x:ke.x1,y:ke.y1},0,0),ue({x:ke.x2,y:ke.y2},0,0);else if(ke.type==="pcb_cutout"){const ce=ke;ce.shape==="rect"?ue(ce.center,ce.width,ce.height):ce.shape==="circle"?ue(ce.center,ce.radius*2,ce.radius*2):ce.shape==="polygon"&&De(ce.points)}}}function ayn({elm:t,circuitJson:e,ctx:n}){switch(t.type){case"pcb_trace_error":return F_n(t,e,n).filter(Boolean);case"pcb_component":return oyn(t,n).filter(Boolean);case"pcb_trace":return Z_n(t,n);case"pcb_copper_pour":return ryn(t,n);case"pcb_plated_hole":return j_n(t,n).filter(Boolean);case"pcb_hole":return J_n(t,n);case"pcb_smtpad":return K_n(t,n);case"pcb_silkscreen_text":return V_n(t,n);case"pcb_silkscreen_rect":return G_n(t,n);case"pcb_silkscreen_circle":return Y_n(t,n);case"pcb_silkscreen_line":return q_n(t,n);case"pcb_fabrication_note_path":return U_n(t,n);case"pcb_fabrication_note_text":return $_n(t,n);case"pcb_silkscreen_path":return H_n(t,n);case"pcb_board":return n.drawPaddingOutsideBoard?IZe(t,n):[];case"pcb_via":return Q_n(t,n);case"pcb_cutout":return iyn(t,n);default:return[]}}function cyn(t,e,n,i,r){const[o,s]=Yt(t,[e,n]),[a,c]=Yt(t,[i,r]),l=Math.abs(a-o),u=Math.abs(c-s),d=Math.min(o,a),h=Math.min(s,c);return{name:"rect",type:"element",value:"",children:[],attributes:{class:"pcb-boundary",fill:"none",stroke:"#fff","stroke-width":"0.3",x:d.toString(),y:h.toString(),width:l.toString(),height:u.toString()}}}var lyn=$me,Uj={fill:"none",stroke:"rgb(0,0,0)",strokeOpacity:"0.8",strokeWidthFactor:.2};function uyn(t,e,n={}){const{width:i,height:r,center:o,outline:s}=t;let a;if(s&&Array.isArray(s)&&s.length>=3)a=s.map((c,l)=>{const[u,d]=Yt(e,[c.x,c.y]);return l===0?`M ${u} ${d}`:`L ${u} ${d}`}).join(" ");else{const c=i/2,l=r/2,u=Yt(e,[o.x-c,o.y-l]),d=Yt(e,[o.x+c,o.y-l]),h=Yt(e,[o.x+c,o.y+l]),f=Yt(e,[o.x-c,o.y+l]);a=`M ${u[0]} ${u[1]} L ${d[0]} ${d[1]} L ${h[0]} ${h[1]} L ${f[0]} ${f[1]}`}return a+=" Z",[{name:"path",type:"element",value:"",children:[],attributes:{class:"pcb-board",d:a,fill:n.fill??Uj.fill,stroke:n.stroke??Uj.stroke,"stroke-opacity":n.strokeOpacity??Uj.strokeOpacity,"stroke-width":((n.strokeWidthFactor??Uj.strokeWidthFactor)*Math.abs(e.a)).toString()}}]}var dyn={pin_number:.15,negated_pin_number:.15*.8,reference_designator:.18,manufacturer_number:.18,net_label:.18,error:.05},aC=(t,e)=>e??dyn[t],l3=(t,e,n)=>Math.abs(t.a)*aC(e,n);function hyn(t,e){const{elm:n,portPosition:i,name:r,arePinsInterchangeable:o}=t,{transform:s}=e,{center:a,width:c,height:l,rotation:u=0,layer:d="top"}=n;if(!a||typeof c!="number"||typeof l!="number")return null;const[h,f]=Yt(s,[a.x,a.y]),[m,y]=Yt(s,[i.x,i.y]),g=c*Math.abs(s.a),b=l*Math.abs(s.d),v=y>f,w=m<h,T=[pyn(g,b,u,d),fyn(g,b,r??"")];return o||T.push(myn(g,b,u,d,v,w)),{name:"g",type:"element",value:"",attributes:{transform:`translate(${h}, ${f}) scale(1, -1)`},children:T}}function pyn(t,e,n,i){const r=t/2,o=e/2;return{name:"path",type:"element",attributes:{class:"assembly-component",d:_yn(r,o,n),"stroke-width":.8.toFixed(2),transform:`rotate(${-n})`,"stroke-dasharray":i==="bottom"?"2,2":""},value:"",children:[]}}function fyn(t,e,n,i){const r=Math.min(t,e),c=Math.min(58,Math.max(3,r*.8)),l=e>t;return{name:"text",type:"element",attributes:{x:"0",y:"0",class:"assembly-component-label","text-anchor":"middle",dy:".10em",style:"pointer-events: none","font-size":`${c.toFixed(1)}px`,transform:l?"rotate(90) scale(1, -1)":"scale(1, -1)"},children:[{type:"text",value:n||"",name:"",attributes:{},children:[]}],value:""}}function myn(t,e,n,i,r,o){const s=t/2,a=e/2,c=Math.min(s,a)*.5;let l;return r&&o?l=[[-s,-a],[-s+c,-a],[-s,-a+c]]:r&&!o?l=[[s,-a],[s-c,-a],[s,-a+c]]:!r&&o?l=[[-s,a],[-s+c,a],[-s,a-c]]:l=[[s,a],[s-c,a],[s,a-c]],{name:"polygon",type:"element",attributes:{class:"assembly-pin1-indicator",points:l.map(d=>d.join(",")).join(" "),fill:"#333",stroke:"none",transform:`rotate(${-n})`},value:"",children:[]}}function _yn(t,e,n){const i=(a,c,l)=>{const u=Math.PI/180*l,d=Math.cos(u),h=Math.sin(u);return[a*d-c*h,a*h+c*d]};return`${[[-t,-e],[t,-e],[t,e],[-t,e]].map(([a,c])=>i(a,c,n)).map(([a,c],l)=>l===0?`M${a},${c}`:`L${a},${c}`).join(" ")} Z`}var jme="rgb(190, 190, 190)";function yyn(t,e){const{transform:n}=e,[i,r]=Yt(n,[t.x,t.y]);if(t.hole_shape==="circle"||t.hole_shape==="square"){const o=t.hole_diameter*Math.abs(n.a),s=o/2;return t.hole_shape==="circle"?[{name:"circle",type:"element",attributes:{class:"assembly-hole",cx:i.toString(),cy:r.toString(),r:s.toString(),fill:jme},children:[],value:""}]:[{name:"rect",type:"element",attributes:{class:"assembly-hole",x:(i-s).toString(),y:(r-s).toString(),width:o.toString(),height:o.toString(),fill:jme},children:[],value:""}]}if(t.hole_shape==="oval"){const o=t.hole_width*Math.abs(n.a),s=t.hole_height*Math.abs(n.a),a=o/2,c=s/2;return[{name:"ellipse",type:"element",attributes:{class:"assembly-hole",cx:i.toString(),cy:r.toString(),rx:a.toString(),ry:c.toString(),fill:jme},children:[],value:""}]}return[]}var QI="rgb(210, 210, 210)",JI="rgb(190, 190, 190)";function gyn(t,e){const{transform:n}=e,[i,r]=Yt(n,[t.x,t.y]);if(t.shape==="pill"){const o=t.outer_width*Math.abs(n.a),s=t.outer_height*Math.abs(n.a),a=t.hole_width*Math.abs(n.a),c=t.hole_height*Math.abs(n.a),l=o/2,u=s-o,d=a/2;return[{name:"g",type:"element",children:[{name:"path",type:"element",attributes:{class:"assembly-hole-outer",fill:QI,d:`M${i-l},${r-u/2} v${u} a${l},${l} 0 0 0 ${o},0 v-${u} a${l},${l} 0 0 0 -${o},0 z`},value:"",children:[]},{name:"path",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,d:`M${i-d},${r-(c-a)/2} v${c-a} a${d},${d} 0 0 0 ${a},0 v-${c-a} a${d},${d} 0 0 0 -${a},0 z`},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="circle"){const o=t.outer_diameter*Math.abs(n.a),s=t.outer_diameter*Math.abs(n.a),a=t.hole_diameter*Math.abs(n.a),c=t.hole_diameter*Math.abs(n.a),l=Math.min(o,s)/2,u=Math.min(a,c)/2;return[{name:"g",type:"element",children:[{name:"circle",type:"element",attributes:{class:"assembly-hole-outer",fill:QI,cx:i.toString(),cy:r.toString(),r:l.toString()},value:"",children:[]},{name:"circle",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,cx:i.toString(),cy:r.toString(),r:u.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="circular_hole_with_rect_pad"){const o=t,s=o.hole_diameter*Math.abs(n.a),a=o.rect_pad_width*Math.abs(n.a),c=o.rect_pad_height*Math.abs(n.a),l=(o.rect_border_radius??0)*Math.abs(n.a),u=s/2,[d,h]=Yt(n,[o.x+o.hole_offset_x,o.y+o.hole_offset_y]);return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"assembly-hole-outer-pad",fill:QI,x:(i-a/2).toString(),y:(r-c/2).toString(),width:a.toString(),height:c.toString(),...l?{rx:l.toString(),ry:l.toString()}:{}},value:"",children:[]},{name:"circle",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,cx:d.toString(),cy:h.toString(),r:u.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="pill_hole_with_rect_pad"){const o=t,s=o.rect_pad_width*Math.abs(n.a),a=o.rect_pad_height*Math.abs(n.a),c=(o.rect_border_radius??0)*Math.abs(n.a),l=o.hole_height*Math.abs(n.a),u=o.hole_width*Math.abs(n.a),d=o,h=d.hole_offset_x??0,f=d.hole_offset_y??0,[m,y]=Yt(n,[o.x+h,o.y+f]),g=Math.min(l,u)/2;return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"assembly-hole-outer-pad",fill:QI,x:(i-s/2).toString(),y:(r-a/2).toString(),width:s.toString(),height:a.toString(),...c?{rx:c.toString(),ry:c.toString()}:{}},value:"",children:[]},{name:"rect",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,x:(m-u/2).toString(),y:(y-l/2).toString(),width:u.toString(),height:l.toString(),rx:g.toString(),ry:g.toString()},value:"",children:[]}],value:"",attributes:{}}]}if(t.shape==="rotated_pill_hole_with_rect_pad"){const o=t,s=o.rect_pad_width*Math.abs(n.a),a=o.rect_pad_height*Math.abs(n.a),c=(o.rect_border_radius??0)*Math.abs(n.a),l=o.hole_height*Math.abs(n.a),u=o.hole_width*Math.abs(n.a),d=o,h=d.hole_offset_x??0,f=d.hole_offset_y??0,[m,y]=Yt(n,[o.x+h,o.y+f]),g=Math.min(l,u)/2;return[{name:"g",type:"element",children:[{name:"rect",type:"element",attributes:{class:"assembly-hole-outer-pad",fill:QI,x:(-s/2).toString(),y:(-a/2).toString(),width:s.toString(),height:a.toString(),transform:`translate(${i} ${r}) rotate(${-o.rect_ccw_rotation})`,...c?{rx:c.toString(),ry:c.toString()}:{}},value:"",children:[]},{name:"rect",type:"element",attributes:{class:"assembly-hole-inner",fill:JI,x:(-u/2).toString(),y:(-l/2).toString(),width:u.toString(),height:l.toString(),rx:g.toString(),ry:g.toString(),transform:`translate(${m} ${y}) rotate(${-o.hole_ccw_rotation})`},value:"",children:[]}],value:"",attributes:{}}]}return[]}var eN="rgb(210, 210, 210)";function byn(t,e){const{transform:n}=e;if(t.shape==="rect"||t.shape==="rotated_rect"){const i=t.width*Math.abs(n.a),r=t.height*Math.abs(n.d),[o,s]=Yt(n,[t.x,t.y]),a=(t.rect_border_radius??0)*Math.abs(n.a);return t.shape==="rotated_rect"&&t.ccw_rotation?[{name:"rect",type:"element",attributes:{class:"assembly-pad",fill:eN,x:(-i/2).toString(),y:(-r/2).toString(),width:i.toString(),height:r.toString(),transform:`translate(${o} ${s}) rotate(${-t.ccw_rotation})`,"data-layer":t.layer,...a?{rx:a.toString(),ry:a.toString()}:{}},value:"",children:[]}]:[{name:"rect",type:"element",attributes:{class:"assembly-pad",fill:eN,x:(o-i/2).toString(),y:(s-r/2).toString(),width:i.toString(),height:r.toString(),"data-layer":t.layer,...a?{rx:a.toString(),ry:a.toString()}:{}},value:"",children:[]}]}if(t.shape==="pill"){const i=t.width*Math.abs(n.a),r=t.height*Math.abs(n.d),o=t.radius*Math.abs(n.a),[s,a]=Yt(n,[t.x,t.y]);return[{name:"rect",type:"element",attributes:{class:"assembly-pad",fill:eN,x:(s-i/2).toString(),y:(a-r/2).toString(),width:i.toString(),height:r.toString(),rx:o.toString(),ry:o.toString(),"data-layer":t.layer},value:"",children:[]}]}if(t.shape==="circle"){const i=t.radius*Math.abs(n.a),[r,o]=Yt(n,[t.x,t.y]);return[{name:"circle",type:"element",attributes:{class:"assembly-pad",fill:eN,cx:r.toString(),cy:o.toString(),r:i.toString(),"data-layer":t.layer},value:"",children:[]}]}if(t.shape==="polygon"){const i=(t.points??[]).map(r=>Yt(n,[r.x,r.y]));return[{name:"polygon",type:"element",attributes:{class:"assembly-pad",fill:eN,points:i.map(r=>r.join(",")).join(" "),"data-layer":t.layer},value:"",children:[]}]}return[]}var OZe=["pcb_component","pcb_smtpad","pcb_hole","pcb_plated_hole","pcb_board"];function LZe(t,e){let n=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,o=Number.NEGATIVE_INFINITY;for(const R of t)if(R.type==="pcb_board"){const P=R.center,M=R.width||0,I=R.height||0;n=Math.min(n,P.x-M/2),i=Math.min(i,P.y-I/2),r=Math.max(r,P.x+M/2),o=Math.max(o,P.y+I/2)}const s=1,a=r-n+2*s,c=o-i+2*s,l=e?.width??800,u=e?.height??600,d=l/a,h=u/c,f=Math.min(d,h),m=(l-a*f)/2,y=(u-c*f)/2,g=cs(Cs(m-n*f+s*f,u-y+i*f-s*f),kg(f,-f)),b={transform:g},v=t.sort((R,P)=>(OZe.indexOf(P.type)??9999)-(OZe.indexOf(R.type)??9999)).flatMap(R=>xyn(R,b,t)),w=oC(t),T=sC,N={name:"svg",type:"element",attributes:{xmlns:"http://www.w3.org/2000/svg",width:l.toString(),height:u.toString(),...w&&{"data-software-used-string":w},...e?.includeVersion&&{"data-circuit-to-svg-version":T}},value:"",children:[{name:"style",type:"element",children:[{type:"text",value:`
|
|
5302
5302
|
.assembly-component {
|
|
5303
5303
|
fill: none;
|
|
5304
5304
|
stroke: #000;
|