schematic-symbols 0.0.213 → 0.0.214
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.
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
function _(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]+t.f]:{x:t.a*o.x+t.c*o.y+t.e,y:t.b*o.x+t.d*o.y+t.f}}function $t(t){return typeof t>"u"}function
|
|
1
|
+
function _(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]+t.f]:{x:t.a*o.x+t.c*o.y+t.e,y:t.b*o.x+t.d*o.y+t.f}}function $t(t){return typeof t>"u"}function dt(t,o=0){return{a:1,c:0,e:t,b:0,d:1,f:o}}function V(...t){t=Array.isArray(t[0])?t[0]:t;let o=(i,l)=>({a:i.a*l.a+i.c*l.b,c:i.a*l.c+i.c*l.d,e:i.a*l.e+i.c*l.f+i.e,b:i.b*l.a+i.d*l.b,d:i.b*l.c+i.d*l.d,f:i.b*l.e+i.d*l.f+i.f});switch(t.length){case 0:throw new Error("no matrices provided");case 1:return t[0];case 2:return o(t[0],t[1]);default:{let[i,l,...a]=t,y=o(i,l);return V(y,...a)}}}var{cos:Cf,sin:Nf,PI:O4}=Math;function dr(t,o,i){let l=Cf(t),a=Nf(t),y={a:l,c:-a,e:0,b:a,d:l,f:0};return $t(o)||$t(i)?y:V([dt(o,i),y,dt(-o,-i)])}var{tan:B4}=Math;function If(t,o){function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i}function Mt(t,o,i,l){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,Mt.prototype),a.expected=o,a.found=i,a.location=l,a.name="SyntaxError",a}If(Mt,Error);function br(t,o,i){return i=i||" ",t.length>o?t:(o-=t.length,i+=i.repeat(o),t+i.slice(0,o))}Mt.prototype.format=function(t){var o="Error: "+this.message;if(this.location){var i=null,l;for(l=0;l<t.length;l++)if(t[l].source===this.location.source){i=t[l].text.split(/\r\n|\n|\r/g);break}var a=this.location.start,y=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(a):a,n=this.location.source+":"+y.line+":"+y.column;if(i){var m=this.location.end,h=br("",y.line.toString().length," "),p=i[a.line-1],x=a.line===m.line?m.column:p.length+1,f=x-a.column||1;o+=`
|
|
2
2
|
--> `+n+`
|
|
3
3
|
`+h+` |
|
|
4
4
|
`+y.line+" | "+p+`
|
|
5
|
-
`+h+" | "+
|
|
6
|
-
at `+n}return o};Mt.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function h(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+h(o)+" found."};function _t(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:h,radius:p}=n;y({x:m-p,y:h-p}),y({x:m+p,y:h+p});break}case"box":{let{x:m,y:h,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:h-d}),y({x:m+f,y:h+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var Cf=(t,o="right")=>{switch(o){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},u=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Y=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Pt=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=hr(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:h,ports:p}=t,x=n.map(c=>{switch(c={...c},c.type){case"path":return{...c,points:c.points.map(zf=>_(y,zf))};case"text":let cp=_(y,{x:c.x,y:c.y});return c.anchor=Cf(c.anchor,i??"right"),{...c,x:cp.x,y:cp.y};case"circle":let hp=_(y,{x:c.x,y:c.y});return{...c,x:hp.x,y:hp.y};case"box":let dp=_(y,{x:c.x,y:c.y});return{...c,x:dp.x,y:dp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,..._(y,c)})),d=_t(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>Pt(t,{newOrientation:o,overrides:i});var br=class{symbol;constructor(o){this.symbol=JSON.parse(JSON.stringify(o)),this.symbol.size=this.computeSize()}changeTextAnchor(o,i,l){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(a=>a.type==="text"&&a.text===o?{...a,anchor:i,...l?{x:a.x+l.x,y:a.y+l.y}:{}}:a)},this}labelPort(o,i){return this.symbol={...this.symbol,ports:this.symbol.ports.map(l=>l.labels.includes(o)?{...l,labels:i}:l)},this}rotateRightFacingSymbol(o){return this.symbol=Pt(this.symbol,{newOrientation:o}),this}computeSize(){let o=_t(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new br({...t,primitives:o,ports:i,center:l})};var v={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}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:If,texts:K3,bounds:Ct,refblocks:_p,circles:Bf}=v,gp=e({primitives:[...Object.values(If),...Object.values(Bf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{..._p.left1,labels:["1"]},{..._p.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:qf,texts:ob,bounds:Nt,refblocks:up,circles:Df}=v,vp=e({primitives:[...Object.values(qf),...Object.values(Df),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...up.left1,labels:["1"]},{...up.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Gf,texts:ab,bounds:It,refblocks:wp,circles:Uf}=v,Ap=e({primitives:[...Object.values(Gf),...Object.values(Uf),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...wp.left1,labels:["1"]},{...wp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Wf,texts:mb,bounds:Bt,refblocks:Pp,circles:Hf}=v,Sp=e({primitives:[...Object.values(Wf),...Object.values(Hf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Zf,texts:hb,bounds:qt,refblocks:Rp,circles:Qf}=v,Fp=e({primitives:[...Object.values(Zf),...Object.values(Qf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kf,texts:gb,bounds:Dt,refblocks:Tp,circles:tc}=v,Ep=e({primitives:[...Object.values(Kf),...Object.values(tc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Tp.left1,labels:["1"]},{...Tp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var w={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:{}};var{paths:rc,texts:Pb,bounds:Gt,refblocks:Yp,circles:oc}=w,Xp=e({primitives:[...Object.values(rc),...Object.values(oc),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Yp.left1,labels:["1"]},{...Yp.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Lp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ic,texts:Xb,bounds:Ut,refblocks:Vp,circles:lc}=w,jp=e({primitives:[...Object.values(ic),...Object.values(lc),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...Vp.left1,labels:["1"]},{...Vp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var kp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:pc,texts:Jb,bounds:Wt,refblocks:zp,circles:ac}=w,Op=e({primitives:[...Object.values(pc),...Object.values(ac),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...zp.left1,labels:["1"]},{...zp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:yc,texts:Nb,bounds:Ht,refblocks:Jp,circles:sc}=w,$p=e({primitives:[...Object.values(yc),...Object.values(sc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={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}},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:{}};var{paths:mc,texts:Gb,bounds:Zt,refblocks:Mp,circles:nc}=j,Cp=e({primitives:[...Object.values(mc),...Object.values(nc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Mp.left1,labels:["1"]},{...Mp.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:fc,texts:Zb,bounds:Qt,refblocks:Np,circles:cc}=j,Kt=e({primitives:[...Object.values(fc),...Object.values(cc),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...Np.left1,labels:["1"]},{...Np.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hc,texts:e_,bounds:te,refblocks:Ip,circles:dc}=j,Bp=e({primitives:[...Object.values(hc),...Object.values(dc),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...Ip.left1,labels:["1"]},{...Ip.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:p_,texts:a_,bounds:y_,refblocks:s_,circles:x_}=j,_r=r(Kt,"down"),gr=_r.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ur=_r.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gr.anchor="middle_left";ur.anchor="middle_left";gr.x=.25;gr.y+=.21;ur.y-=.21;ur.x=.25;var qp=_r;function s(t){let o=t.size;if(!o){let i=_t(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var Dp={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:{minX:-.47,maxX:.47,minY:-.38,maxY:.27,width:.95,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:_c,texts:Gp,bounds:ee,refblocks:Up,circles:gc}=Dp,re=s({primitives:[...Object.values(_c),...Object.values(gc),{...Gp.top1,anchor:"middle_bottom"},{...Gp.bottom1,anchor:"middle_top"}],ports:[{...Up.left1,labels:["1"]},{...Up.right1,labels:["2"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}});var Wp=Pt(re,{newOrientation:"up"});var k={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{minX:-.56,maxX:.56,minY:-.25,maxY:.25,width:1.12,height:.5,centerX:0,centerY:0},circles:{}};var{paths:vc,texts:P_,bounds:Hp,refblocks:Zp,circles:wc}=k,Qp=e({primitives:[...Object.values(vc),...Object.values(wc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Zp.left1,labels:["1"]},{...Zp.right1,labels:["2"]}],center:{x:Hp.centerX,y:Hp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Ac,texts:T_,bounds:Kp,refblocks:ta,circles:Pc}=k,ea=e({primitives:[...Object.values(Ac),...Object.values(Pc),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...ta.left1,labels:["1"]},{...ta.right1,labels:["2"]}],center:{x:Kp.centerX,y:Kp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Sc,texts:L_,bounds:ra,refblocks:oa,circles:Rc}=k,ia=e({primitives:[...Object.values(Sc),...Object.values(Rc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...oa.left1,labels:["1"]},{...oa.right1,labels:["2"]}],center:{x:ra.centerX,y:ra.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var z={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}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.17},bottom1:{type:"text",text:"{VAL}",x:0,y:-.17}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.17,maxY:.17,width:1.16,height:.35,centerX:0,centerY:0},circles:{}};var{paths:Tc,texts:O_,bounds:oe,refblocks:la,circles:Ec}=z,pa=e({primitives:[...Object.values(Tc),...Object.values(Ec),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...la.left1,labels:["1"]},{...la.right1,labels:["2"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Yc,texts:C_,bounds:ie,refblocks:aa,circles:Xc}=z,ya=e({primitives:[...Object.values(Yc),...Object.values(Xc),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...aa.left1,labels:["1"]},{...aa.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Lc,texts:q_,bounds:le,refblocks:sa,circles:Vc}=z,xa=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...sa.left1,labels:["1"]},{...sa.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:jc,texts:W_,bounds:pe,refblocks:ma,circles:kc}=z,na=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...ma.left1,labels:["1"]},{...ma.right1,labels:["2"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:zc,texts:K_,bounds:fa,refblocks:ca,circles:Oc}=k,ha=e({primitives:[...Object.values(zc),...Object.values(Oc),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...ca.left1,labels:["1"]},{...ca.right1,labels:["2"]}],center:{x:fa.centerX,y:fa.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var gt={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}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:$c,texts:ig,bounds:da,refblocks:ba,circles:Mc}=gt,_a=e({primitives:[...Object.values($c),...Object.values(Mc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],center:{x:da.centerX,y:da.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Cc,texts:yg,bounds:ga,refblocks:ua,circles:Nc}=gt,ae=e({primitives:[...Object.values(Cc),...Object.values(Nc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ua.left1,labels:["1"]},{...ua.right1,labels:["2"]}],center:{x:ga.centerX,y:ga.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var va=Y(ae);var{paths:Ic,texts:hg,bounds:wa,refblocks:Aa,circles:Bc}=gt,Pa=e({primitives:[...Object.values(Ic),...Object.values(Bc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Aa.left1,labels:["1"]},{...Aa.right1,labels:["2"]}],center:{x:wa.centerX,y:wa.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var O={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:{}};var{paths:Dc,texts:ug,bounds:ye,refblocks:Sa,circles:Gc}=O,Ra=e({primitives:[...Object.values(Dc),...Object.values(Gc),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...Sa.left1,labels:["1"]},{...Sa.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Fa=e(O).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var J={paths:{"path27-5":{type:"path",points:[{x:.5229378000000007,y:.017283050000003186},{x:.001333100000000531,y:.017283050000003186}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.08560379999999945,y:.017283050000003186},{x:-.5353954999999995,y:.017283050000003186}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:-.0024798999999995353,y:.28420285000000334},{x:-.0024798999999995353,y:-.247479349999999}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.1433630999999993,y:-.24400714999999806},{x:-.1433630999999993,y:-.24400714999999806},{x:-.14092865582592523,y:-.23988656287036855},{x:-.13853515727407342,y:-.23575569829629459},{x:-.13618295529999938,y:-.23161452149999845},{x:-.13387240085925864,y:-.2274629977037022},{x:-.13160384490740681,y:-.22330109212962815},{x:-.12937763839999944,y:-.21912876999999858},{x:-.12719413229259205,y:-.21494599653703564},{x:-.12505367754074023,y:-.21075273696296162},{x:-.12295662509999944,y:-.20654895649999858},{x:-.12090332592592543,y:-.202334620370369},{x:-.11889413097407354,y:-.1981096937962949},{x:-.11692939119999951,y:-.19387414199999867},{x:-.11500945755925875,y:-.18962793020370225},{x:-.11313468100740696,y:-.18537102362962823},{x:-.1113054124999995,y:-.18110338749999852},{x:-.10952200299259213,y:-.17682498703703556},{x:-.10778480344074029,y:-.17253578746296144},{x:-.10609416479999957,y:-.16823575399999846},{x:-.10445043802592549,y:-.1639248518703688},{x:-.10285397407407365,y:-.15960304629629468},{x:-.10130512389999959,y:-.15527030249999835},{x:-.09980423845925884,y:-.15092658570370204},{x:-.098351668707407,y:-.14657186112962792},{x:-.0969477655999996,y:-.14220609399999828},{x:-.09559288009259218,y:-.1378292495370353},{x:-.09428736314074034,y:-.13344129296296123},{x:-.0930315656999996,y:-.12904218949999824},{x:-.09182583872592552,y:-.12463190437036864},{x:-.09067053317407366,y:-.12021040279629455},{x:-.08956599999999959,y:-.1157776499999983},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08824151191481441,y:-.11018647672962796},{x:-.08698330065185143,y:-.10458327583703543},{x:-.08579087569999959,y:-.09896843569999846},{x:-.08466374654814773,y:-.0933423446962948},{x:-.08360142268518476,y:-.08770539120370224},{x:-.08260341359999958,y:-.08205796359999859},{x:-.08166922878148106,y:-.07640045026296158},{x:-.0807983777185181,y:-.07073323957036905},{x:-.07999036989999954,y:-.06505671989999867},{x:-.07924471481481438,y:-.05937127962962835},{x:-.07856092195185138,y:-.053677307137035765},{x:-.07793850079999955,y:-.04797519079999877},{x:-.07737696084814766,y:-.042265318996295057},{x:-.07687581158518474,y:-.03654808010370251},{x:-.07643456249999953,y:-.030823862499998803},{x:-.076052723081481,y:-.025093054562961768},{x:-.07572980281851803,y:-.019356044670369183},{x:-.07546531119999952,y:-.013613221199998807},{x:-.07525875771481433,y:-.007864972529628433},{x:-.07510965185185137,y:-.0021116870370358233},{x:-.07501750309999951,y:.003646246900001227},{x:-.07498182094814765,y:.009408440903704952},{x:-.07500211488518468,y:.015174506596297575},{x:-.07507789439999951,y:.02094405560000131},{x:-.07520866898148099,y:.026716699537038383},{x:-.07539394811851803,y:.032492050029631014},{x:-.07563324129999952,y:.03826971870000144},{x:-.07592605801481433,y:.04404931717037187},{x:-.07627190775185136,y:.049830457062964524},{x:-.07667029999999952,y:.05561275000000163},{x:-.07667029999999952,y:.055612750000001654},{x:-.07667029999999952,y:.055612750000001654},{x:-.07711763639629585,y:.06051565994814989},{x:-.07758839517036993,y:.06542268825185367},{x:-.07808370069999958,y:.07033314260000188},{x:-.07860467736296256,y:.07524633068148343},{x:-.07915244953703664,y:.08016156018518718},{x:-.07972814159999962,y:.08507813880000203},{x:-.08033287792962926,y:.08999537421481688},{x:-.08096778290370335,y:.09491257411852061},{x:-.08163398089999961,y:.09982904620000208},{x:-.08233259629629595,y:.10474409814815028},{x:-.08306475347037001,y:.10965703765185393},{x:-.0838315767999997,y:.11456717240000211},{x:-.08463419066296263,y:.11947381008148356},{x:-.08547371943703674,y:.12437625838518729},{x:-.08635128749999971,y:.12927382500000204},{x:-.08726801922962936,y:.13416581761481683},{x:-.08822503900370343,y:.1390515439185205},{x:-.08922347119999974,y:.14393031160000197},{x:-.09026444019629604,y:.14880142834815008},{x:-.09134907037037011,y:.15366420185185373},{x:-.09247848609999976,y:.15851793980000184},{x:-.09365381176296271,y:.16336194988148328},{x:-.0948761717370368,y:.16819553978518692},{x:-.09614669039999976,y:.17301801720000168},{x:-.09746649212962939,y:.17782868981481642},{x:-.09883670130370346,y:.18262686531852007},{x:-.10025844229999976,y:.1874118514000015},{x:-.10173283949629608,y:.19218295574814956},{x:-.10326101727037013,y:.19693948605185319},{x:-.10484409999999976,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.1057993367777776,y:.20445172446666784},{x:-.10677724488888875,y:.2072177244000011},{x:-.1077778209999999,y:.20997856460000103},{x:-.10880106177777768,y:.21273405986666769},{x:-.1098469638888888,y:.21548402500000097},{x:-.11091552399999995,y:.21822827480000098},{x:-.11200673877777771,y:.22096662406666764},{x:-.11312060488888884,y:.22369888760000106},{x:-.11425711899999991,y:.22642488020000096},{x:-.11541627777777771,y:.2291444166666677},{x:-.11659807788888879,y:.23185731180000102},{x:-.11780251599999993,y:.23456338040000121},{x:-.11902958877777765,y:.23726243726666785},{x:-.1202792928888888,y:.23995429720000136},{x:-.12155162499999986,y:.24263877500000136},{x:-.12284658177777764,y:.24531568546666818},{x:-.12416415988888875,y:.2479848434000016},{x:-.12550435599999987,y:.25064606360000175},{x:-.12686716677777762,y:.2532991608666685},{x:-.1282525888888887,y:.255943950000002},{x:-.1296606189999998,y:.25858024580000205},{x:-.13109125377777758,y:.2612078630666688},{x:-.1325444898888887,y:.2638266166000023},{x:-.13402032399999983,y:.2664363212000024},{x:-.13551875277777758,y:.26903679166666916},{x:-.13703977288888872,y:.27162784280000263},{x:-.13858338099999984,y:.27420928940000266},{x:-.14014957377777765,y:.2767809462666695},{x:-.14173834788888875,y:.2793426282000029},{x:-.1433496999999999,y:.28189415000000295},{x:-.1433496999999999,y:.28189415000000295}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26345180000000035,y:.2438394499999994},{x:.12298460000000011,y:.2438394499999994},{x:.12298460000000011,y:.2505664500000009},{x:.26345180000000035,y:.2505664500000009}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.19751530000000006,y:.31834525000000014},{x:.19751530000000006,y:.17787805000000034},{x:.1907882999999999,y:.17787805000000034},{x:.1907882999999999,y:.31834525000000014}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.012864499999999612,y:.4200086500000033},bottom1:{type:"text",text:"{VAL}",x:-.003850499999999979,y:-.42000864999999976}},refblocks:{left1:{x:-.5512093,y:.016380250000000984},right1:{x:.5512093,y:.016926950000001995}},bounds:{minX:-.579367741,maxX:.579367741,minY:-.42000864999999976,maxY:.4200086500000033,width:1.158735482,height:.8400173000000031,centerX:0,centerY:17763568394002505e-31},circles:{}};var Ta=e(J).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:-.12,y:-.3}).build();var Ea=e(J).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_bottom").build();var Ya=e(J).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.78}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.78}).build();var Xa=e(J).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:-.12,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:.72,y:-.3}).build();var La=e(O).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Wc,texts:Ig,bounds:se,refblocks:Va,circles:Hc}=O,ja=e({primitives:[...Object.values(Wc),...Object.values(Hc),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...Va.left1,labels:["1"]},{...Va.right1,labels:["2"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var A={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}}};var{paths:Qc,texts:Ug,bounds:xe,refblocks:ka,circles:Kc}=A,za=e({primitives:[...Object.values(Qc),...Object.values(Kc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ka.left1,labels:["1"]},{...ka.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Oa=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:th,texts:eu,bounds:me,refblocks:Ja,circles:eh}=A,$a=e({primitives:[...Object.values(th),...Object.values(eh),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...Ja.left1,labels:["1"]},{...Ja.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ma=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:rh,texts:yu,bounds:ne,refblocks:Ca,circles:oh}=A,Na=e({primitives:[...Object.values(rh),...Object.values(oh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ca.left1,labels:["1"]},{...Ca.right1,labels:["2"]}],size:{width:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ih,texts:nu,bounds:fe,refblocks:Ia,circles:lh}=A,Ba=e({primitives:[...Object.values(ih),...Object.values(lh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ia.left1,labels:["1"]},{...Ia.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var $={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:{}};var{paths:ah,texts:bu,bounds:ce,refblocks:he,circles:yh}=$,qa=e({primitives:[...Object.values(ah),...Object.values(yh),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...he.left1,labels:["1"]},{...he.right1,labels:["3"]},{...he.bottom1,labels:["2"]},{...he.top1,labels:["4"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Da=e($).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Ga=e($).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var{paths:sh,texts:Fu,bounds:de,refblocks:be,circles:xh}=$,Ua=e({primitives:[...Object.values(sh),...Object.values(xh),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...be.left1,labels:["1"]},{...be.right1,labels:["3"]},{...be.bottom1,labels:["2"]},{...be.top1,labels:["4"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var M={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:{}};var{paths:nh,texts:Lu,bounds:_e,refblocks:Wa,circles:fh}=M,Ha=e({primitives:[...Object.values(nh),...Object.values(fh),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Wa.left1,labels:["1"]},{...Wa.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Za=e(M).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Qa=e(M).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ch,texts:Nu,bounds:ge,refblocks:Ka,circles:hh}=M,ty=e({primitives:[...Object.values(ch),...Object.values(hh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ka.left1,labels:["1"]},{...Ka.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var St=.6,vr=.3,dh=[{type:"path",points:[{x:-St,y:0},{x:-vr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:vr,y:0},{x:St,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:vr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ey=e({primitives:[...dh,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-St,y:0,labels:["1"]},{x:St,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:St*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Rt=.6,wr=.3,bh=[{type:"path",points:[{x:-Rt,y:0},{x:-wr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:wr,y:0},{x:Rt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:wr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ry=e({primitives:[...bh,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-Rt,y:0,labels:["1"]},{x:Rt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Rt*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ft=.6,Ar=.3,_h=[{type:"path",points:[{x:-Ft,y:0},{x:-Ar,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Ar,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Ar,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],oy=e({primitives:[..._h,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Ft,y:0,labels:["1"]},{x:Ft,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Ft*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Tt=.6,Pr=.3,gh=[{type:"path",points:[{x:-Tt,y:0},{x:-Pr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Pr,y:0},{x:Tt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Pr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],iy=e({primitives:[...gh,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Tt,y:0,labels:["1"]},{x:Tt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Tt*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var P={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}}};var ly=e(P).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();var py=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ay=e(P).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();var yy=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var sy=e(P).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();var xy=e(P).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();var my={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:{top1:{type:"text",text:"{REF}",x:-.18,y:-.45},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.35},left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:-.09,maxY:.09,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:wh,texts:Ah,bounds:ue,refblocks:ny,circles:Ph}=my,Et=s({primitives:[...Object.values(wh),...Object.values(Ph),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Ah.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...ny.left1,labels:["1"]},{...ny.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}});function Sh(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function Rh(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:Sr,2:Rr,...Fh}=Et.primitives;Sh(Rr)&&Rr.points.map(t=>{t.y+=.05});Rh(Sr)&&(Sr.y+=.025);function Th(t){return typeof t=="object"}var fy=r({...Et,primitives:Object.values(Fh).filter(Th)}),cy={...fy,primitives:[...fy.primitives,Sr,Rr]};var S={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}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:Yh,texts:F8,bounds:ve,refblocks:hy,circles:Xh}=S,dy=e({primitives:[...Object.values(Yh),...Object.values(Xh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...hy.left1,labels:["1"]},{...hy.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Lh,texts:X8,bounds:we,refblocks:by,circles:Vh}=S,_y=e({primitives:[...Object.values(Lh),...Object.values(Vh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...by.left1,labels:["1"]},{...by.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:jh,texts:k8,bounds:Ae,refblocks:gy,circles:kh}=S,uy=e({primitives:[...Object.values(jh),...Object.values(kh),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...gy.left1,labels:["1"]},{...gy.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:zh,texts:$8,bounds:Pe,refblocks:vy,circles:Oh}=S,wy=e({primitives:[...Object.values(zh),...Object.values(Oh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...vy.left1,labels:["1"]},{...vy.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Jh,texts:I8,bounds:Se,refblocks:Ay,circles:$h}=S,Py=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ay.left1,labels:["1"]},{...Ay.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Mh,texts:G8,bounds:Re,refblocks:Sy,circles:Ch}=S,Ry=e({primitives:[...Object.values(Mh),...Object.values(Ch),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Sy.left1,labels:["1"]},{...Sy.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var R={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}}};var Fy=e(R).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();var Ty=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Ey=e(R).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();var Yy=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Xy=e(R).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();var Ly=e(R).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();var C={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:-.11,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:Bh,bounds:Vy,refblocks:qh}=C,jy=e({primitives:[...Object.values(Bh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...qh.left1,labels:["1"]}],center:{x:Vy.centerX,y:Vy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Dh,bounds:ky,refblocks:Gh}=C,zy=e({primitives:[...Object.values(Dh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Gh.left1,labels:["1"]}],center:{x:ky.centerX,y:ky.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Uh,bounds:Oy,refblocks:Wh}=C,Jy=e({primitives:[...Object.values(Uh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Wh.left1,labels:["1"]}],center:{x:Oy.centerX,y:Oy.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Hh,bounds:$y,refblocks:Zh}=C,My=e({primitives:[...Object.values(Hh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Zh.left1,labels:["1"]}],center:{x:$y.centerX,y:$y.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Cy={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:{}};var N=e(Cy).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ny=r(N,"down");var Iy=r(N,"left");var By=r(N,"up");var qy={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}}};var I=e(qy).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();var Fr=r(I,"down"),Tr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Er=Fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tr.anchor="middle_bottom";Er.anchor="middle_top";Tr.x=0;Tr.y+=.537;Er.y-=.5375;Er.x=0;var Dy=Fr;var Yr=r(I,"left"),Xr=Yr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Lr=Yr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xr.anchor="middle_bottom";Lr.anchor="middle_top";Xr.x=0;Xr.y+=1;Lr.y-=1;Lr.x=0;var Gy=Yr;var Vr=r(I,"up"),jr=Vr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kr=Vr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jr.anchor="middle_bottom";kr.anchor="middle_top";jr.x=0;jr.y+=.537;kr.y-=.5375;kr.x=0;var Uy=Vr;var Wy={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}}};var B=e(Wy).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();var zr=r(B,"down"),Or=zr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jr=zr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Or.anchor="middle_bottom";Jr.anchor="middle_top";Or.x=0;Or.y+=.565;Jr.y-=.555;Jr.x=0;var Hy=zr;var $r=r(B,"left"),Mr=$r.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cr=$r.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mr.anchor="middle_bottom";Cr.anchor="middle_top";Mr.x=0;Mr.y+=1.09;Cr.y-=1.09;Cr.x=0;var Zy=$r;var Nr=r(B,"up"),Ir=Nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Br=Nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ir.anchor="middle_bottom";Br.anchor="middle_top";Ir.x=0;Ir.y+=.565;Br.y-=.555;Br.x=0;var Qy=Nr;var Ky={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}}};var q=e(Ky).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var qr=r(q,"down"),Dr=qr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gr=qr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dr.anchor="middle_bottom";Gr.anchor="middle_top";Dr.x=.4;Dr.y+=.265;Gr.y-=.265;Gr.x=.4;var ts=qr;var Ur=r(q,"left"),Wr=Ur.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hr=Ur.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wr.anchor="middle_bottom";Hr.anchor="middle_top";Wr.x=0;Wr.y+=.67;Hr.y-=.67;Hr.x=0;var es=Ur;var Zr=r(q,"up"),Qr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Kr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qr.anchor="middle_bottom";Kr.anchor="middle_top";Qr.x=.46;Qr.y+=.265;Kr.y-=.265;Kr.x=.46;var rs=Zr;var os={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}}};var D=e(os).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var to=r(D,"down"),eo=to.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ro=to.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");eo.anchor="middle_bottom";ro.anchor="middle_top";eo.x=.4;eo.y+=.295;ro.y-=.295;ro.x=.42;var is=to;var oo=r(D,"left"),io=oo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),lo=oo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");io.anchor="middle_bottom";lo.anchor="middle_top";io.x=0;io.y+=.795;lo.y-=.795;lo.x=0;var ls=oo;var po=r(D,"up"),ao=po.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yo=po.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ao.anchor="middle_bottom";yo.anchor="middle_top";ao.x=.46;ao.y+=.315;yo.y-=.315;yo.x=.46;var ps=po;var Fe={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:{}};var{paths:i9,texts:C6,bounds:Te,refblocks:as,circles:l9}=Fe,Ee=e({primitives:[...Object.values(i9),...Object.values(l9),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...as.left1,labels:["1"]},{...as.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var so=u(Ee),xo=so.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mo=so.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xo.anchor="middle_left";mo.anchor="middle_left";xo.y+=.4;xo.x=.32;mo.y-=.45;mo.x=.32;var ys=so;var Ye=e(Fe).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ss=Y(Ye);var F={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}},texts:{top1:{type:"text",text:"{REF}",x:-.09,y:.38},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.38},right1:{type:"text",text:"",x:.59,y:-.33}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{minX:-.59,maxX:.59,minY:-.38,maxY:.38,width:1.18,height:.76,centerX:0,centerY:0},circles:{}};var{paths:a9,texts:rv,bounds:Xe,refblocks:xs,circles:y9}=F,ms=e({primitives:[...Object.values(a9),...Object.values(y9),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...xs.left1,labels:["1"]},{...xs.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:s9,texts:pv,bounds:Le,refblocks:ns,circles:x9}=F,fs=e({primitives:[...Object.values(s9),...Object.values(x9),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ns.left1,labels:["1"]},{...ns.right1,labels:["2"]}],size:{width:Le.width,height:Le.height},center:{x:Le.centerX,y:Le.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:m9,texts:xv,bounds:Ve,refblocks:cs,circles:n9}=F,hs=e({primitives:[...Object.values(m9),...Object.values(n9),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...cs.left1,labels:["1"]},{...cs.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:f9,texts:cv,bounds:je,refblocks:ds,circles:c9}=F,bs=e({primitives:[...Object.values(f9),...Object.values(c9),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ds.left1,labels:["1"]},{...ds.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:h9,texts:_v,bounds:ke,refblocks:_s,circles:d9}=F,gs=e({primitives:[...Object.values(h9),...Object.values(d9),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{..._s.left1,labels:["1"]},{..._s.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:b9,texts:wv,bounds:ze,refblocks:us,circles:_9}=F,vs=e({primitives:[...Object.values(b9),...Object.values(_9),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...us.left1,labels:["1"]},{...us.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ws={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:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:u9,texts:v9,bounds:Oe,refblocks:As,circles:w9}=ws,Yt=s({primitives:[...Object.values(u9),...Object.values(w9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...v9.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...As.left1,labels:["1"]},{...As.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}});var{5:A9,...P9}=Yt.primitives;function S9(t){return typeof t=="object"}var Ps=r({...Yt,primitives:Object.values(P9).filter(S9)}),Ss={...Ps,primitives:[...Ps.primitives,A9]};var Rs={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},bottom1:{type:"text",text:"{VAL}",x:-.17,y:-.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{minX:-.56,maxX:.56,minY:-.24,maxY:.24,width:1.13,height:.47,centerX:0,centerY:0},circles:{}};var{paths:F9,texts:T9,bounds:Je,refblocks:Fs}=Rs,$e=s({primitives:[...Object.values(F9),{...T9.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Fs.left1,labels:["1"]},{...Fs.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}});var Ts=r($e);var T={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:{}};var Es=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Ys=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Xs=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Ls=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Vs=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var js=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Xt={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:{}};var{paths:pw,texts:aw,bounds:yw,refblocks:sw,circles:xw}=Xt,ks=e(Xt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var zs=e(Xt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Os={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:{}};var G=e(Os).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();var Js=r(G,"down");var $s=Y(G);var no=r(G,"up"),fo=no.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),co=no.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fo.anchor="middle_left";co.anchor="middle_left";fo.y+=.21;fo.x=.44;co.y-=.21;co.x=.44;var Ms=no;var Cs={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}}};var Me=e(Cs).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var ho=r(Me),bo=ho.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ns=ho.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bo.anchor="middle_left";Ns.anchor="middle_right";bo.x=.45;bo.y+=.065;Ns.y+=.065;var Is=ho;var Bs={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}}};var Ce=e(Bs).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var qs=r(Ce),Ds=qs.primitives.filter(t=>t.type==="text"),_o=Ds.find(t=>t.text==="{VAL}");_o.x=-.35;_o.y=0;_o.anchor="middle_right";var go=Ds.find(t=>t.text==="{REF}");go.y=0;go.x=.35;go.anchor="middle_left";var Gs=qs;var Us={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:{minX:-.58,maxX:.58,minY:-.23,maxY:.23,width:1.16,height:.46,centerX:0,centerY:0},circles:{}};var{paths:k9,texts:Ws,bounds:Ne,refblocks:Hs,circles:z9}=Us,ut=s({primitives:[...Object.values(k9),...Object.values(z9),{...Ws.top1,anchor:"middle_bottom"},{...Ws.bottom1,anchor:"middle_top"}],ports:[{...Hs.left1,labels:["1"]},{...Hs.right1,labels:["2"]}],size:{width:Ne.width,height:Ne.height},center:{x:Ne.centerX,y:Ne.centerY}});var Ie=r(ut,"up");var Zs=u(Ie);var Qs=Y(ut);var uo={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}}};uo.bounds.width+=.2;var U=e(uo).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var vo=r(U,"down"),wo=vo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ao=vo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wo.anchor="middle_left";Ao.anchor="middle_left";wo.y+=.9;wo.x=.3;Ao.y-=.1;Ao.x=.3;var Ks=vo;var Po=r(U,"left"),So=Po.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ro=Po.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");So.anchor="middle_left";Ro.anchor="middle_left";So.y+=.71;So.x=.44;Ro.y-=.71;Ro.x=.44;var tx=Po;var Fo=r(U,"up"),To=Fo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Eo=Fo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");To.anchor="middle_left";Eo.anchor="middle_left";To.y+=.1;To.x=.3;Eo.y-=.71;Eo.x=.3;var ex=Fo;var rx={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:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var{paths:$9,texts:ox,bounds:Be,refblocks:ix,circles:M9}=rx,vt=s({primitives:[...Object.values($9),...Object.values(M9),{...ox.bottom1,anchor:"middle_top"},{...ox.right1,anchor:"middle_bottom"}],ports:[{...ix.left1,labels:["1"]},{...ix.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var Yo=r(vt,"up"),Xo=Yo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Lo=Yo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xo.anchor="middle_left";Lo.anchor="middle_left";Xo.y+=.21;Xo.x=.21;Lo.y-=.21;Lo.x=.21;var qe=Yo;var Vo=u(qe),jo=Vo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ko=Vo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jo.anchor="middle_left";ko.anchor="middle_left";jo.y+=.4;jo.x=.2;ko.y-=.41;ko.x=.2;var lx=Vo;var px=Y(vt);var ax={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:{minX:-.55,maxX:.55,minY:-.51,maxY:.46,width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}};var{paths:N9,texts:yx,bounds:De,refblocks:sx,circles:I9}=ax,Ge=s({primitives:[...Object.values(N9),...Object.values(I9),{...yx.top1,anchor:"middle_left",x:0},{...yx.bottom1,anchor:"middle_left",x:0}],ports:[{...sx.left1,labels:["1"]},{...sx.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX,y:De.centerY}});var xx=r(Ge),mx=xx.primitives.filter(t=>t.type==="text"),zo=mx.find(t=>t.text==="{VAL}");zo.x=-.35;zo.y=0;zo.anchor="middle_right";var Oo=mx.find(t=>t.text==="{REF}");Oo.y=0;Oo.x=.35;Oo.anchor="middle_left";var nx=xx;var fx={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:{minX:-.57,maxX:.57,minY:-.57,maxY:.57,width:1.14,height:1.14,centerX:0,centerY:0},circles:{}};var{paths:q9,texts:cx,bounds:Ue,refblocks:Jo}=fx,We=s({primitives:[...Object.values(q9),{...cx.right1,anchor:"middle_left"},{...cx.right2,anchor:"middle_left"}],ports:[{...Jo.top1,labels:["1"]},{...Jo.bottom1,labels:["2"]},{...Jo.left1,labels:["3"]}],size:{width:Ue.width+.4,height:Ue.height},center:{x:Ue.centerX+.2,y:Ue.centerY}});var $o=r(We),hx=$o.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mo=$o.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hx.anchor="middle_top";Mo.anchor="middle_top";hx.x=Mo.x;Mo.y+=.15;var dx=$o;var bx={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:{minX:-.5,maxX:.5,minY:-.27,maxY:.27,width:1,height:.53,centerX:0,centerY:0},circles:{}};var{paths:G9,texts:_x,bounds:He,refblocks:gx,circles:U9}=bx,Ze=s({primitives:[...Object.values(G9),...Object.values(U9),{..._x.top1,anchor:"middle_bottom",x:0},{..._x.bottom1,anchor:"middle_top",x:0}],ports:[{...gx.left1,labels:["1"]},{...gx.right1,labels:["2"]}],size:{width:He.width,height:He.height},center:{x:He.centerX+.006,y:He.centerY+.06}});var Co=r(Ze),Lt=Co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qe=Co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lt.anchor="middle_left";Qe.anchor="middle_right";Lt.x=Lt.x-.03;Lt.y=Lt.y;Qe.x=Qe.x;Qe.y=0;var ux=Co;var vx={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:H9,texts:wx,bounds:Ke,refblocks:No,circles:Z9}=vx,t0=s({primitives:[...Object.values(H9),...Object.values(Z9),{...wx.top1,anchor:"middle_right",x:0},{...wx.bottom1,anchor:"middle_right",x:0}],ports:[{...No.top1,labels:["1","drain"]},{...No.bottom1,labels:["2","source"]},{...No.left1,labels:["3","gate"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}});var Ax=r(t0),Px=Ax.primitives.filter(t=>t.type==="text"),Io=Px.find(t=>t.text==="{VAL}");Io.x=-.35;Io.y=0;Io.anchor="middle_right";var Bo=Px.find(t=>t.text==="{REF}");Bo.y=0;Bo.x=.35;Bo.anchor="middle_left";var Sx=Ax;var Rx={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:K9,texts:Fx,bounds:e0,refblocks:qo,circles:t2}=Rx,r0=s({primitives:[...Object.values(K9),...Object.values(t2),{...Fx.top1,anchor:"middle_right",x:0},{...Fx.bottom1,anchor:"middle_right",x:0}],ports:[{...qo.top1,labels:["1","drain"]},{...qo.bottom1,labels:["2","source"]},{...qo.left1,labels:["3","gate"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}});var Tx=r(r0),Ex=Tx.primitives.filter(t=>t.type==="text"),Do=Ex.find(t=>t.text==="{VAL}");Do.x=-.35;Do.y=0;Do.anchor="middle_right";var Go=Ex.find(t=>t.text==="{REF}");Go.y=0;Go.x=.35;Go.anchor="middle_left";var Yx=Tx;var Xx={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:r2,texts:Lx,bounds:o0,refblocks:Uo,circles:o2}=Xx,i0=s({primitives:[...Object.values(r2),...Object.values(o2),{...Lx.top1,anchor:"middle_right",x:0},{...Lx.bottom1,anchor:"middle_right",x:0}],ports:[{...Uo.top1,labels:["1","drain"]},{...Uo.bottom1,labels:["2","source"]},{...Uo.left1,labels:["3","gate"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}});var Vx=r(i0),jx=Vx.primitives.filter(t=>t.type==="text"),Wo=jx.find(t=>t.text==="{VAL}");Wo.x=-.35;Wo.y=0;Wo.anchor="middle_right";var Ho=jx.find(t=>t.text==="{REF}");Ho.y=0;Ho.x=.35;Ho.anchor="middle_left";var kx=Vx;var zx={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}},texts:{},refblocks:{left1:{x:-.2,y:0}},bounds:{minX:-.19,maxX:.2,minY:-.12,maxY:.12,width:.39,height:.24,centerX:0,centerY:0},circles:{}};var{paths:l2,bounds:Ox,refblocks:p2}=zx,W=e({primitives:[...Object.values(l2)],ports:[{...p2.left1,labels:["1"]}],center:{x:Ox.centerX,y:Ox.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var Jx=r(W,"down");var $x=r(W,"left");var Mx=r(W,"up");var E={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}}};var{paths:y2,texts:VP,bounds:l0,refblocks:Zo,circles:s2}=E,Cx=e({primitives:[...Object.values(y2),...Object.values(s2),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...Zo.top1,labels:["1","collector"]},{...Zo.bottom1,labels:["3","emitter"]},{...Zo.left1,labels:["2","base"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:x2,texts:OP,bounds:p0,refblocks:Qo,circles:m2}=E,Nx=e({primitives:[...Object.values(x2),...Object.values(m2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Qo.top1,labels:["1","collector"]},{...Qo.bottom1,labels:["3","emitter"]},{...Qo.left1,labels:["2","base"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:n2,texts:CP,bounds:a0,refblocks:Ko,circles:f2}=E,Ix=e({primitives:[...Object.values(n2),...Object.values(f2),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...Ko.top1,labels:["1","collector"]},{...Ko.bottom1,labels:["3","emitter"]},{...Ko.left1,labels:["2","base"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:c2,texts:qP,bounds:y0,refblocks:ti,circles:h2}=E,Bx=e({primitives:[...Object.values(c2),...Object.values(h2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["3","emitter"]},{...ti.left1,labels:["2","base"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:d2,texts:WP,bounds:s0,refblocks:ei,circles:b2}=E,qx=e({primitives:[...Object.values(d2),...Object.values(b2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ei.top1,labels:["1","collector"]},{...ei.bottom1,labels:["3","emitter"]},{...ei.left1,labels:["2","base"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:_2,texts:KP,bounds:x0,refblocks:ri,circles:g2}=E,Dx=e({primitives:[...Object.values(_2),...Object.values(g2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ri.top1,labels:["1","collector"]},{...ri.bottom1,labels:["3","emitter"]},{...ri.left1,labels:["2","base"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Gx={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:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],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:-.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:{}};var H=e(Gx).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ux=r(H,"down");var Wx=u(r(H,"left"));var Hx=r(H,"up");var Zx={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:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,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:{}};var Z=e(Zx).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();var Qx=r(Z,"down");var Kx=u(r(Z,"left"));var tm=r(Z,"up");var em={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:A2,texts:rm,bounds:m0,refblocks:oi,circles:P2}=em,n0=s({primitives:[...Object.values(A2),...Object.values(P2),{...rm.top1,anchor:"middle_right",x:0},{...rm.bottom1,anchor:"middle_right",x:0}],ports:[{...oi.top1,labels:["1","drain"]},{...oi.bottom1,labels:["2","source"]},{...oi.left1,labels:["3","gate"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}});var om=r(n0),im=om.primitives.filter(t=>t.type==="text"),ii=im.find(t=>t.text==="{VAL}");ii.x=-.35;ii.y=0;ii.anchor="middle_right";var li=im.find(t=>t.text==="{REF}");li.y=0;li.x=.35;li.anchor="middle_left";var lm=om;var pm={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:R2,texts:am,bounds:f0,refblocks:pi,circles:F2}=pm,c0=s({primitives:[...Object.values(R2),...Object.values(F2),{...am.top1,anchor:"middle_right",x:0},{...am.bottom1,anchor:"middle_right",x:0}],ports:[{...pi.top1,labels:["1","drain"]},{...pi.bottom1,labels:["2","source"]},{...pi.left1,labels:["3","gate"]}],size:{width:f0.width,height:f0.height},center:{x:f0.centerX,y:f0.centerY}});var ym=r(c0),sm=ym.primitives.filter(t=>t.type==="text"),ai=sm.find(t=>t.text==="{VAL}");ai.x=-.35;ai.y=0;ai.anchor="middle_right";var yi=sm.find(t=>t.text==="{REF}");yi.y=0;yi.x=.35;yi.anchor="middle_left";var xm=ym;var mm={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}}};var h0=e(mm).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var nm=r(h0),E2=nm.primitives.filter(t=>t.type==="text"),fm=E2.find(t=>t.text==="{REF}");fm.y=0;fm.anchor="middle_left";var cm=nm;var hm={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:X2,texts:dm,bounds:d0,refblocks:si,circles:L2}=hm,b0=s({primitives:[...Object.values(X2),...Object.values(L2),{...dm.top1,anchor:"middle_right",x:0},{...dm.bottom1,anchor:"middle_right"}],ports:[{...si.top1,labels:["1","drain"]},{...si.bottom1,labels:["2","source"]},{...si.left1,labels:["3","gate"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}});var bm=r(b0),_m=bm.primitives.filter(t=>t.type==="text"),xi=_m.find(t=>t.text==="{VAL}");xi.x=-.35;xi.y=0;xi.anchor="middle_right";var mi=_m.find(t=>t.text==="{REF}");mi.y=0;mi.x=.35;mi.anchor="middle_left";var gm=bm;var g={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}}};var{paths:j2,texts:iR,bounds:_0,refblocks:ni,circles:k2}=g,um=e({primitives:[...Object.values(j2),...Object.values(k2),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...ni.top1,labels:["1","collector"]},{...ni.bottom1,labels:["2","emitter"]},{...ni.left1,labels:["3","base"]}],size:{width:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:yR,texts:sR,bounds:xR,refblocks:mR,circles:nR}=g,vm=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:z2,texts:dR,bounds:g0,refblocks:fi,circles:O2}=g,wm=e({primitives:[...Object.values(z2),...Object.values(O2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...fi.top1,labels:["1","collector"]},{...fi.bottom1,labels:["2","emitter"]},{...fi.left1,labels:["3","base"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX,y:g0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:J2,texts:uR,bounds:u0,refblocks:ci,circles:$2}=g,Am=e({primitives:[...Object.values(J2),...Object.values($2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ci.top1,labels:["1","collector"]},{...ci.bottom1,labels:["2","emitter"]},{...ci.left1,labels:["3","base"]}],size:{width:u0.width,height:u0.height},center:{x:u0.centerX,y:u0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:M2,texts:PR,bounds:v0,refblocks:hi,circles:C2}=g,Pm=e({primitives:[...Object.values(M2),...Object.values(C2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...hi.top1,labels:["1","collector"]},{...hi.bottom1,labels:["2","emitter"]},{...hi.left1,labels:["3","base"]}],size:{width:v0.width,height:v0.height},center:{x:v0.centerX,y:v0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:N2,texts:TR,bounds:w0,refblocks:di,circles:I2}=g,Sm=e({primitives:[...Object.values(N2),...Object.values(I2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...di.top1,labels:["1","collector"]},{...di.bottom1,labels:["2","emitter"]},{...di.left1,labels:["3","base"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Rm={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:{minX:-.55,maxX:.55,minY:-.55,maxY:.55,width:1.09,height:1.09,centerX:0,centerY:0},circles:{}};var{paths:q2,texts:Fm,bounds:A0,refblocks:Tm}=Rm,P0=s({primitives:[...Object.values(q2),{...Fm.bottom1,y:.35,anchor:"middle_top"},{...Fm.top1,anchor:"middle_left"}],ports:[{...Tm.left1,labels:["1"]},{...Tm.right1,labels:["2"]}],size:{width:A0.width+.05,height:A0.height},center:{x:A0.centerX,y:A0.centerY}});var D2=r(P0),Em=D2;var Ym={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},path24:{type:"path",points:[{x:.29,y:-.29},{x:.26,y:-.16},{x:.16,y:-.26},{x:.29,y:-.29}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.2,y:-.2}],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:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:U2,texts:Xm,bounds:S0,refblocks:Lm}=Ym,Q=s({primitives:[...Object.values(U2),{...Xm.bottom1,x:0,y:-.35,anchor:"middle_top"},{...Xm.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...Lm.left1,labels:["1"]},{...Lm.right1,labels:["2"]}],size:{width:S0.width+.05,height:S0.height},center:{x:S0.centerX,y:S0.centerY}});var bi=r(Q,"down"),_i=bi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gi=bi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_i.anchor="middle_left";gi.anchor="middle_left";_i.y+=.31;_i.x=.34;gi.y-=.31;gi.x=.34;var Vm=bi;var ui=r(Q,"left"),vi=ui.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wi=ui.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vi.anchor="middle_bottom";wi.anchor="middle_top";vi.y+=.73;vi.x=0;wi.y-=.7;wi.x=0;var jm=ui;var Ai=r(Q,"up"),Pi=Ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Si=Ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pi.anchor="middle_left";Si.anchor="middle_left";Pi.y+=.21;Pi.x=.34;Si.y-=.21;Si.x=.34;var km=Ai;var K={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:{}};var{paths:H2,texts:KR,bounds:R0,refblocks:Ri,circles:Z2}=K,zm=e({primitives:[...Object.values(H2),...Object.values(Z2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Ri.left,labels:["1"]},{...Ri.right,labels:["3"]},{...Ri.bottom,labels:["2"]}],size:{width:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Q2,texts:oF,bounds:F0,refblocks:Fi,circles:K2}=K,Om=e({primitives:[...Object.values(Q2),...Object.values(K2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Fi.left,labels:["1"]},{...Fi.right,labels:["3"]},{...Fi.bottom,labels:["2"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Jm=e(K).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:td,texts:xF,bounds:T0,refblocks:Ti,circles:ed}=K,$m=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Ti.left,labels:["1"]},{...Ti.right,labels:["3"]},{...Ti.bottom,labels:["2"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Mm={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}},texts:{top1:{type:"text",text:"{REF}",x:-.16,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4},left1:{type:"text",text:"COS \u03C6",x:-.15,y:.01}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:od,texts:hF,bounds:E0,refblocks:Cm,circles:id}=Mm,Y0=s({primitives:[...Object.values(od),...Object.values(id),{type:"text",text:"{REF}",x:0,y:.43330070000000065,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.43330070000000065,anchor:"middle_top"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...Cm.left1,labels:["1"]},{...Cm.right1,labels:["2"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}});var Nm=r(Y0),Xi=Nm.primitives.filter(t=>t.type==="text"),Ei=Xi.find(t=>t.text==="{REF}"),Li=Xi.find(t=>t.text==="{VAL}"),Yi=Xi.find(t=>t.text==="COS \u03C6");Ei.x=.35;Ei.y=.4279000000000375,Ei.anchor="middle_left";Li.anchor="middle_left";Li.x=.35;Li.y=-.4279000000000375,Yi.x=0;Yi.y=.014279000000000375,Yi.anchor="center";var Im=Nm;var Bm={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,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}}};var{paths:pd,texts:qm,bounds:X0,refblocks:Dm,circles:ad}=Bm,L0=s({primitives:[...Object.values(pd),...Object.values(ad),{...qm.top1,anchor:"middle_left"},{...qm.bottom1,anchor:"middle_left"}],ports:[{...Dm.left1,labels:["1"]},{...Dm.right1,labels:["2"]}],size:{width:X0.width,height:X0.height},center:{x:X0.centerX,y:X0.centerY}});var Gm=r(L0,"up");var V0={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,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}}};var{paths:sd,texts:Um,bounds:j0,refblocks:Wm,circles:xd}=V0,X=s({primitives:[...Object.values(sd),...Object.values(xd),{...Um.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...Um.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Wm.left1,labels:["1"]},{...Wm.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}});var Vi=r(X,"down"),ji=Vi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ki=Vi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ji.anchor="middle_bottom";ki.anchor="middle_top";ji.y=.4;ji.x=.35;ki.y=-.4;ki.x=.35;var Hm=Vi;var{paths:md,texts:Zm,bounds:k0,refblocks:Qm,circles:nd}=V0,Km=s({primitives:[...Object.values(md),...Object.values(nd),{...Zm.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...Zm.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Qm.left1,labels:["1"]},{...Qm.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}});var zi=r(X,"left"),Oi=zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ji=zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Oi.anchor="middle_bottom";Ji.anchor="middle_top";Oi.y=.4;Oi.x=0;Ji.y=-.4;Ji.x=0;var t1=zi;var $i=r(X,"up"),Mi=$i.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ci=$i.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mi.anchor="middle_left";Ci.anchor="middle_left";Mi.y+=.4;Mi.x=.34;Ci.y-=.41;Ci.x=.34;var e1=$i;var Ni=r(X,"up"),Ii=Ni.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bi=Ni.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ii.anchor="middle_left";Bi.anchor="middle_left";Ii.y+=.4;Ii.x=.34;Bi.y-=.41;Bi.x=.34;var r1=Ni;var tt={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:.09,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:cd,texts:WF,bounds:o1,refblocks:hd,circles:dd}=tt,i1=e({primitives:[...Object.values(cd),...Object.values(dd),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...hd.left1,labels:["1"]}],center:{x:o1.centerX,y:o1.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:bd,texts:KF,bounds:l1,refblocks:_d,circles:gd}=tt,p1=e({primitives:[...Object.values(bd),...Object.values(gd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{..._d.left1,labels:["1"]}],center:{x:l1.centerX,y:l1.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:ud,texts:oT,bounds:a1,refblocks:vd,circles:wd}=tt,y1=e({primitives:[...Object.values(ud),...Object.values(wd),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...vd.left1,labels:["1"]}],center:{x:a1.centerX,y:a1.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Ad,texts:aT,bounds:s1,refblocks:Pd}=tt,x1=e({primitives:[...Object.values(Ad),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...Pd.left1,labels:["1"]}],center:{x:s1.centerX,y:s1.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var m1={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:{minX:-.55,maxX:.55,minY:-.56,maxY:.55,width:1.09,height:1.1,centerX:0,centerY:0},circles:{}};var{paths:Rd,texts:n1,bounds:z0,refblocks:O0,circles:Fd}=m1,J0=s({primitives:[...Object.values(Rd),...Object.values(Fd),{...n1.top1,anchor:"middle_right"},{...n1.bottom1,anchor:"middle_right"}],ports:[{...O0.top1,labels:["1"]},{...O0.bottom1,labels:["2"]},{...O0.left1,labels:["3"]},{...O0.right1,labels:["4"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}});var qi=r(J0),Td=qi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ed=qi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Td.anchor="middle_left";Ed.anchor="middle_right";var f1=qi;var et={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}},texts:{top1:{type:"text",text:"{REF}",x:-.05,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.04,y:-.42}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{minX:-.49,maxX:.49,minY:-.42,maxY:.42,width:.99,height:.84,centerX:0,centerY:0},circles:{}};var{paths:Xd,texts:gT,bounds:$0,refblocks:c1,circles:Ld}=et,h1=e({primitives:[...Object.values(Xd),...Object.values(Ld),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...c1.left1,labels:["1"]},{...c1.right1,labels:["2"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Vd,texts:AT,bounds:M0,refblocks:d1,circles:jd}=et,b1=e({primitives:[...Object.values(Vd),...Object.values(jd),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...d1.left1,labels:["1"]},{...d1.right1,labels:["2"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:kd,texts:FT,bounds:C0,refblocks:_1,circles:zd}=et,g1=e({primitives:[...Object.values(kd),...Object.values(zd),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{..._1.left1,labels:["1"]},{..._1.right1,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Od,texts:XT,bounds:N0,refblocks:u1,circles:Jd}=et,v1=e({primitives:[...Object.values(Od),...Object.values(Jd),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...u1.left1,labels:["1"]},{...u1.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var I0={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:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:Md,texts:w1,bounds:B0,refblocks:Di,circles:Cd}=I0,rt=s({primitives:[...Object.values(Md),...Object.values(Cd),{...w1.top1,anchor:"middle_bottom"},{...w1.bottom1,anchor:"middle_top"}],ports:[{...Di.left1,labels:["1"]},{...Di.right1,labels:["2"]},{...Di.right2,labels:["3"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var Gi=r(rt,"down"),Ui=Gi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ui.anchor="middle_bottom";Wi.anchor="middle_top";Ui.y+=.3;Ui.x+=.101;Wi.y-=.49999;Wi.x+=1.19999;var A1=Gi;var{paths:Nd,texts:NT,bounds:q0,refblocks:Hi,circles:Id}=I0,D0=s({primitives:[...Object.values(Nd),...Object.values(Id),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Hi.left1,labels:["1"]},{...Hi.right1,labels:["2"]},{...Hi.right2,labels:["3"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var Zi=r(rt,"left"),Qi=Zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ki=Zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qi.anchor="middle_bottom";Ki.anchor="middle_top";Qi.y+=.99;Qi.x-=0;Ki.y-=1.10999;Ki.x=0;var P1=Zi;var tl=r(rt,"up"),el=tl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rl=tl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");el.anchor="middle_bottom";rl.anchor="middle_top";el.y+=.499;el.x=.62;rl.y-=.29999;rl.x+=.1;var S1=tl;var R1=r(D0);var F1={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:{}};var ot=e(F1).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var ol=r(ot,"down"),il=ol.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ll=ol.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");il.anchor="middle_left";ll.anchor="middle_left";il.y+=.3;il.x=.3;ll.y-=.3;ll.x=.3;var T1=ol;var pl=r(ot,"left"),al=pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yl=pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");al.anchor="middle_bottom";yl.anchor="middle_top";al.y+=.5;al.x=0;yl.y-=.55;yl.x=0;var E1=pl;var sl=r(ot,"up"),xl=sl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ml=sl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xl.anchor="middle_left";ml.anchor="middle_left";xl.y+=.3;xl.x=.3;ml.y-=.3;ml.x=.3;var Y1=sl;var nl={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:{}};var{paths:hE,texts:dE,bounds:bE,refblocks:_E,circles:gE}=nl,G0=e(nl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var X1=r(G0),Dd=X1.primitives.filter(t=>t.type==="text"),L1=Dd.find(t=>t.text==="{REF}");L1.y=0;L1.anchor="middle_left";var V1=X1;var U0={paths:{path44:{type:"path",points:[{x:-.18117559999999955,y:-.025908000000000264},{x:-.4408346999999999,y:-.025908000000000264}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44036239999999993,y:-.024193299999999418},{x:.1820955000000004,y:-.024193299999999418}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.06701930000000034,y:-.024201099999999753},{x:-.06611399999999956,y:-.024201099999999753}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.0689196000000003,y:.10123170000000048},{x:.0689196000000003,y:-.15075489999999903}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.06809120000000002,y:.1013280000000003},{x:-.06809120000000002,y:-.15065859999999898}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07273700000000005,y:-.15401969999999987},{x:-.07273700000000005,y:-.15401969999999987},{x:-.0883637452185186,y:-.1455928476925925},{x:-.10242134708148157,y:-.13685699620740738},{x:-.11496246490000012,y:-.1278441337},{x:-.12603975798518532,y:-.11858624832592597},{x:-.13570588564814828,y:-.10911532824074079},{x:-.14401350720000017,y:-.09946336160000008},{x:-.15101528195185202,y:-.08966233655925933},{x:-.15676386921481505,y:-.07974424127407413},{x:-.16131192830000016,y:-.06974106390000002},{x:-.16471211851851875,y:-.05968479259259264},{x:-.16701709918148167,y:-.04960741550740742},{x:-.16827952960000025,y:-.03954092080000003},{x:-.16855206908518539,y:-.029517296625925914},{x:-.16788737694814843,y:-.01956853114074074},{x:-.16633811250000025,y:-.009726612499999964},{x:-.16395693505185213,y:-2352885925920034e-20},{x:-.16079650391481512,y:.009508731625925994},{x:-.15690947840000036,y:.018838180800000083},{x:-.15234851781851885,y:.0279328305074075},{x:-.14716628148148186,y:.03676069259259269},{x:-.14141542870000037,y:.04528977890000009},{x:-.13514861878518558,y:.053488101274074155},{x:-.12841851104814855,y:.06132367155925933},{x:-.12127776480000044,y:.06876450160000006},{x:-.11377903935185232,y:.07577860324074076},{x:-.1059749940148153,y:.08233398832592591},{x:-.09791828810000051,y:.08839866869999995},{x:-.08966158091851906,y:.0939406562074073},{x:-.08125753178148204,y:.09892796269259241},{x:-.0727588000000006,y:.10332859999999976},{x:-.07275880000000057,y:.10332859999999977}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07349080000000119,y:-.15414649999999952},{x:.07349080000000119,y:-.15414649999999952},{x:.08911754521851972,y:-.14571964769259216},{x:.1031751470814827,y:-.13698379620740703},{x:.11571626490000125,y:-.12797093369999965},{x:.12679355798518643,y:-.11871304832592562},{x:.13645968564814942,y:-.10924212824074045},{x:.1447673072000013,y:-.09959016159999971},{x:.15176908195185318,y:-.08978913655925898},{x:.15751766921481616,y:-.0798710412740738},{x:.1620657283000013,y:-.06986786389999967},{x:.16546591851851983,y:-.0598115925925923},{x:.16777089918148277,y:-.04973421550740708},{x:.1690333296000014,y:-.03966772079999968},{x:.1693058690851865,y:-.029644096625925563},{x:.16864117694814956,y:-.01969533114074039},{x:.16709191250000135,y:-.009853412499999614},{x:.16471073505185324,y:-.00015032885925885323},{x:.1615503039148162,y:.009381931625926349},{x:.15766327840000144,y:.018711380800000437},{x:.15310231781851993,y:.027806030507407847},{x:.1479200814814829,y:.03663389259259304},{x:.14216922870000145,y:.04516297890000044},{x:.13590241878518663,y:.053361301274074506},{x:.1291723110481496,y:.061196871559259694},{x:.12203156480000146,y:.0686377016000004},{x:.11453283935185332,y:.07565180324074111},{x:.1067287940148163,y:.08220718832592627},{x:.09867208810000148,y:.0882718687000003},{x:.09041538091852001,y:.09381385620740765},{x:.08201133178148297,y:.09880116269259277},{x:.07351260000000151,y:.10320180000000011},{x:.07351260000000148,y:.10320180000000012}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.4458008,y:-.025023700000000426},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.15414649999999952,maxY:.15414649999999952,width:.947918482,height:.30829299999999904,centerX:0,centerY:0},circles:{}};var j1=e(U0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var wt=e(U0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var k1=r(wt,"left"),fl=k1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");fl.anchor="middle_bottom";fl.y+=.4;fl.x=0;var z1=k1;var O1=r(wt,"up"),cl=O1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");cl.anchor="middle_left";cl.y+=0;cl.x=.2;var J1=O1;var it={paths:{path44:{type:"path",points:[{x:-.18117559999999955,y:-.025908000000000264},{x:-.45,y:-.025908000000000264}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44036239999999993,y:-.024193299999999418},{x:.1820955000000004,y:-.024193299999999418}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.0689196000000003,y:.10123170000000048},{x:.0689196000000003,y:-.15075489999999903}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.06809120000000002,y:.1013280000000003},{x:-.06809120000000002,y:-.15065859999999898}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07273700000000005,y:-.15401969999999987},{x:-.07273700000000005,y:-.15401969999999987},{x:-.0883637452185186,y:-.1455928476925925},{x:-.10242134708148157,y:-.13685699620740738},{x:-.11496246490000012,y:-.1278441337},{x:-.12603975798518532,y:-.11858624832592597},{x:-.13570588564814828,y:-.10911532824074079},{x:-.14401350720000017,y:-.09946336160000008},{x:-.15101528195185202,y:-.08966233655925933},{x:-.15676386921481505,y:-.07974424127407413},{x:-.16131192830000016,y:-.06974106390000002},{x:-.16471211851851875,y:-.05968479259259264},{x:-.16701709918148167,y:-.04960741550740742},{x:-.16827952960000025,y:-.03954092080000003},{x:-.16855206908518539,y:-.029517296625925914},{x:-.16788737694814843,y:-.01956853114074074},{x:-.16633811250000025,y:-.009726612499999964},{x:-.16395693505185213,y:-2352885925920034e-20},{x:-.16079650391481512,y:.009508731625925994},{x:-.15690947840000036,y:.018838180800000083},{x:-.15234851781851885,y:.0279328305074075},{x:-.14716628148148186,y:.03676069259259269},{x:-.14141542870000037,y:.04528977890000009},{x:-.13514861878518558,y:.053488101274074155},{x:-.12841851104814855,y:.06132367155925933},{x:-.12127776480000044,y:.06876450160000006},{x:-.11377903935185232,y:.07577860324074076},{x:-.1059749940148153,y:.08233398832592591},{x:-.09791828810000051,y:.08839866869999995},{x:-.08966158091851906,y:.0939406562074073},{x:-.08125753178148204,y:.09892796269259241},{x:-.0727588000000006,y:.10332859999999976},{x:-.07275880000000057,y:.10332859999999977}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07349080000000119,y:-.15414649999999952},{x:.07349080000000119,y:-.15414649999999952},{x:.08911754521851972,y:-.14571964769259216},{x:.1031751470814827,y:-.13698379620740703},{x:.11571626490000125,y:-.12797093369999965},{x:.12679355798518643,y:-.11871304832592562},{x:.13645968564814942,y:-.10924212824074045},{x:.1447673072000013,y:-.09959016159999971},{x:.15176908195185318,y:-.08978913655925898},{x:.15751766921481616,y:-.0798710412740738},{x:.1620657283000013,y:-.06986786389999967},{x:.16546591851851983,y:-.0598115925925923},{x:.16777089918148277,y:-.04973421550740708},{x:.1690333296000014,y:-.03966772079999968},{x:.1693058690851865,y:-.029644096625925563},{x:.16864117694814956,y:-.01969533114074039},{x:.16709191250000135,y:-.009853412499999614},{x:.16471073505185324,y:-.00015032885925885323},{x:.1615503039148162,y:.009381931625926349},{x:.15766327840000144,y:.018711380800000437},{x:.15310231781851993,y:.027806030507407847},{x:.1479200814814829,y:.03663389259259304},{x:.14216922870000145,y:.04516297890000044},{x:.13590241878518663,y:.053361301274074506},{x:.1291723110481496,y:.061196871559259694},{x:.12203156480000146,y:.0686377016000004},{x:.11453283935185332,y:.07565180324074111},{x:.1067287940148163,y:.08220718832592627},{x:.09867208810000148,y:.0882718687000003},{x:.09041538091852001,y:.09381385620740765},{x:.08201133178148297,y:.09880116269259277},{x:.07351260000000151,y:.10320180000000011},{x:.07351260000000148,y:.10320180000000012}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.44,y:-.02},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.15414649999999952,maxY:.15414649999999952,width:.947918482,height:.30829299999999904,centerX:0,centerY:0},circles:{}};var $1=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var M1=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var C1=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var N1=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var lt={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:{}};var I1=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var B1=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var q1=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var D1=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pt={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:{}};var G1=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var U1=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var W1=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var H1=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var at={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:{}};var Z1=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Q1=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var K1=e(at).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var tn=e(at).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var yt={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:{}};var en=e(yt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var rn=e(yt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var on=e(yt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var ln=e(yt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pn={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}}};var st=e(pn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var hl=r(st,"down"),dl=hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_bottom";bl.anchor="middle_top";dl.x=.44;dl.y+=.28;bl.y-=.28;bl.x=.44;var an=hl;var _l=r(st,"left"),gl=_l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ul=_l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gl.anchor="middle_bottom";ul.anchor="middle_top";gl.x=0;gl.y+=.625;ul.y-=.695;ul.x=0;var yn=_l;var vl=r(st,"up"),wl=vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wl.anchor="middle_bottom";Al.anchor="middle_top";wl.x=.4;wl.y+=.28;Al.y-=.28;Al.x=.4;var sn=vl;var xn={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}}};var xt=e(xn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Pl=r(xt,"down"),Sl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sl.anchor="middle_bottom";Rl.anchor="middle_top";Sl.x=.44;Sl.y+=.28;Rl.y-=.28;Rl.x=.44;var mn=Pl;var Fl=r(xt,"left"),Tl=Fl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),El=Fl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tl.anchor="middle_bottom";El.anchor="middle_top";Tl.x=0;Tl.y+=.625;El.y-=.695;El.x=0;var nn=Fl;var Yl=r(xt,"up"),Xl=Yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ll=Yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xl.anchor="middle_bottom";Ll.anchor="middle_top";Xl.x=.4;Xl.y+=.28;Ll.y-=.28;Ll.x=.4;var fn=Yl;var Vt={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 Vt.refblocks.left1;delete Vt.refblocks.right1;Vt.bounds.width+=.2;var mt=e(Vt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Vl=r(mt,"down"),jl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jl.anchor="middle_bottom";kl.anchor="middle_top";jl.x=.3;jl.y+=.265;kl.y-=.265;kl.x=.3;var cn=Vl;var zl=r(mt,"left"),Ol=zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_bottom";Jl.anchor="middle_top";Ol.x=0;Ol.y+=.57;Jl.y-=.57;Jl.x=0;var hn=zl;var $l=r(mt,"up"),Ml=$l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cl=$l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ml.anchor="middle_bottom";Cl.anchor="middle_top";Ml.x=.3;Ml.y+=.265;Cl.y-=.265;Cl.x=.3;var dn=$l;var jt={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 jt.refblocks.left1;delete jt.refblocks.right1;jt.bounds.width+=.2;var nt=e(jt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Nl=r(nt,"down"),Il=Nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bl=Nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Bl.anchor="middle_top";Il.x=.3;Il.y+=.265;Bl.y-=.265;Bl.x=.3;var bn=Nl;var ql=r(nt,"left"),Dl=ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gl=ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dl.anchor="middle_bottom";Gl.anchor="middle_top";Dl.x=0;Dl.y+=.57;Gl.y-=.57;Gl.x=0;var _n=ql;var Ul=r(nt,"up"),Wl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wl.anchor="middle_bottom";Hl.anchor="middle_top";Wl.x=.3;Wl.y+=.265;Hl.y-=.265;Hl.x=.3;var gn=Ul;var ft={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:{}};var un=e(ft).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();var vn=e(ft).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();var wn=e(ft).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var An=e(ft).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();var Zl={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:{}};var{paths:yL,texts:sL,bounds:xL,refblocks:mL,circles:nL}=Zl,W0=e(Zl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Pn=r(W0);var Sn={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:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:p5,texts:a5,bounds:H0,refblocks:Rn,circles:y5}=Sn,kt=s({primitives:[...Object.values(p5),...Object.values(y5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...a5.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...Rn.left1,labels:["1"]},{...Rn.right1,labels:["2"]}],size:{width:H0.width,height:H0.height},center:{x:H0.centerX,y:H0.centerY}});var{5:s5,...x5}=kt.primitives;function m5(t){return typeof t=="object"}var Fn=r({...kt,primitives:Object.values(x5).filter(m5)}),Tn={...Fn,primitives:[...Fn.primitives,s5]};var ct=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),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}});var Yn=r(ct,"down"),En=Yn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");En&&(En.anchor="middle_top");var Xn=Yn;var Ln=r(ct,"left");var jn=r(ct,"up"),Vn=jn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Vn&&(Vn.anchor="middle_bottom");var kn=jn;var zn={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:{}};var At=e(zn).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ql=r(At,"up"),Kl=Ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tp=Ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Kl.anchor="middle_bottom";tp.anchor="middle_top";Kl.x=.4;Kl.y+=.2;tp.y-=.3;tp.x=.4;var Z0=Ql;var ep=u(Z0),rp=ep.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),op=ep.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rp.anchor="middle_bottom";op.anchor="middle_top";rp.x=.35;rp.y+=.4;op.y-=.4;op.x=.35;var On=ep;var ip=r(At,"left"),lp=ip.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pp=ip.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");lp.anchor="middle_bottom";pp.anchor="middle_top";lp.x=0;lp.y+=.5;pp.y-=.6;pp.x=0;var Jn=ip;var ap={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}}};var{paths:ZL,texts:QL,bounds:KL,refblocks:tV,circles:eV}=ap,Q0=e(ap).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var $n=r(Q0),Mn=$n.primitives.filter(t=>t.type==="text"),c5=Mn.find(t=>t.text==="{REF}"),h5=Mn.find(t=>t.text==="{VAL}");c5.y=0;h5.y=0;var Cn=$n;var Nn={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:b5,texts:In,bounds:K0,refblocks:Bn,circles:_5}=Nn,tr=s({primitives:[...Object.values(b5),...Object.values(_5),{...In.top1,anchor:"middle_bottom"},{...In.bottom1,anchor:"middle_top"}],ports:[{...Bn.left1,labels:["1"]},{...Bn.right1,labels:["2"]}],size:{width:K0.width,height:K0.height},center:{x:K0.centerX,y:K0.centerY}});var yp=r(tr),g5=yp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),u5=yp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");g5.anchor="middle_left";u5.anchor="middle_right";var qn=yp;var Dn={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:{minX:-.37,maxX:.37,minY:-.42,maxY:.42,width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}};var{paths:w5,texts:Gn,bounds:er,refblocks:sp,circles:A5}=Dn,rr=s({primitives:[...Object.values(w5),...Object.values(A5),{...Gn.top1,anchor:"middle_left"},{...Gn.bottom1,anchor:"middle_right"}],ports:[{...sp.top1,labels:["1"]},{...sp.bottom1,labels:["2"]},{...sp.left1,labels:["3"]}],size:{width:er.width,height:er.height},center:{x:er.centerX,y:er.centerY}});var Un=r(rr),Wn=Un.primitives.filter(t=>t.type==="text"),P5=Wn.find(t=>t.text==="{REF}");P5.y=.1;var Hn=Wn.find(t=>t.text==="{VAL}");Hn.y=.1;Hn.x=-.4;var Zn=Un;var Qn={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}};var Kn=e(Qn).changeTextAnchor("{REF}","middle_bottom").build();var tf={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:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:F5,texts:xp,bounds:or,refblocks:ef,circles:T5}=tf,ir=s({primitives:[...Object.values(F5),...Object.values(T5),{...xp.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...xp.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...xp.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...ef.left1,labels:["1"]},{...ef.right1,labels:["2"]}],size:{width:or.width,height:or.height},center:{x:or.centerX,y:or.centerY}});var rf=r(ir);var of={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:Y5,texts:lf,bounds:lr,refblocks:pf,circles:X5}=of,pr=s({primitives:[...Object.values(Y5),...Object.values(X5),{...lf.top1,anchor:"middle_bottom"},{...lf.bottom1,anchor:"middle_top"}],ports:[{...pf.left1,labels:["1"]},{...pf.right1,labels:["2"]}],size:{width:lr.width,height:lr.height},center:{x:lr.centerX,y:lr.centerY}});var mp=r(pr),L5=mp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),V5=mp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");L5.anchor="middle_left";V5.anchor="middle_right";var af=mp;var yf={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:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:k5,texts:sf,bounds:ar,refblocks:xf}=yf,yr=s({primitives:[...Object.values(k5),{...sf.top1,anchor:"middle_left"},{...sf.bottom1,anchor:"middle_right"}],ports:[{...xf.left1,labels:["1","-"]},{...xf.right1,labels:["2","+"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var mf=r(yr);var nf={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:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:O5,texts:J5,bounds:sr,refblocks:ff,circles:$5}=nf,zt=s({primitives:[...Object.values(O5),...Object.values($5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...J5.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...ff.left1,labels:["1"]},{...ff.right1,labels:["2"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var{5:M5,...C5}=zt.primitives;function N5(t){return typeof t=="object"}var cf=r({...zt,primitives:Object.values(C5).filter(N5)}),hf={...cf,primitives:[...cf.primitives,M5]};var ht={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 L(t,o){let{width:i,height:l}=t.size,a=1,y=1;o.width!==void 0&&o.height!==void 0?(a=o.width/i,y=o.height/l):o.width!==void 0?a=y=o.width/i:o.height!==void 0&&(a=y=o.height/l);let n=t.primitives.map(m=>{switch(m.type){case"path":return{...m,points:m.points.map(h=>({x:h.x*a,y:h.y*y}))};case"text":return{...m,x:m.x*a,y:m.y*y,fontSize:m.fontSize?m.fontSize*a:void 0};case"circle":return{...m,x:m.x*a,y:m.y*y,radius:m.radius*a};case"box":return{...m,x:m.x*a,y:m.y*y,width:m.width*a,height:m.height*y};default:return m}});return{...t,primitives:n,center:{x:t.center.x*a,y:t.center.y*y},ports:t.ports.map(m=>({...m,x:m.x*a,y:m.y*y})),size:{width:i*a,height:l*y}}}var B5=e(ht).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),df=L(B5,{width:.24,height:.23});var q5=e(ht).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),bf=L(q5,{width:.23,height:.24});var D5=e(ht).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),_f=L(D5,{width:.23,height:.24});var G5=e(ht).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),gf=L(G5,{width:.24,height:.23});var np={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}}};var{paths:gj,texts:uj,bounds:vj,circles:wj,refblocks:Aj}=np,xr=e(np).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var uf=r(xr);var vf={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:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:H5,texts:Z5,bounds:mr,refblocks:wf,circles:Q5}=vf,Ot=s({primitives:[...Object.values(H5),...Object.values(Q5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Z5.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...wf.left1,labels:["1"]},{...wf.right1,labels:["2"]}],size:{width:mr.width,height:mr.height},center:{x:mr.centerX,y:mr.centerY}});var{5:K5,...t4}=Ot.primitives;function e4(t){return typeof t=="object"}var Af=r({...Ot,primitives:Object.values(t4).filter(e4)}),Pf={...Af,primitives:[...Af.primitives,K5]};var Sf={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:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:o4,texts:i4,bounds:nr,refblocks:Rf,circles:l4}=Sf,Jt=s({primitives:[...Object.values(o4),...Object.values(l4),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...i4.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...Rf.left1,labels:["1"]},{...Rf.right1,labels:["2"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}});var{5:p4,...a4}=Jt.primitives;function y4(t){return typeof t=="object"}var Ff=r({...Jt,primitives:Object.values(a4).filter(y4)}),Tf={...Ff,primitives:[...Ff.primitives,p4]};var Ef={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:x4,texts:Yf,bounds:fr,refblocks:Xf,circles:m4}=Ef,cr=s({primitives:[...Object.values(x4),...Object.values(m4),{...Yf.top1,anchor:"middle_bottom"},{...Yf.bottom1,anchor:"middle_top"}],ports:[{...Xf.left1,labels:["1"]},{...Xf.right1,labels:["2"]}],size:{width:fr.width,height:fr.height},center:{x:fr.centerX,y:fr.centerY}});var fp=r(cr),n4=fp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),f4=fp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");n4.anchor="middle_left";f4.anchor="middle_right";var Lf=fp;var Vf={ac_voltmeter_down:gp,ac_voltmeter_horz:vp,ac_voltmeter_left:Ap,ac_voltmeter_right:Sp,ac_voltmeter_up:Fp,ac_voltmeter_vert:Ep,avalanche_diode_down:Xp,avalanche_diode_horz:Lp,avalanche_diode_left:jp,avalanche_diode_right:kp,avalanche_diode_up:Op,avalanche_diode_vert:$p,backward_diode_down:Cp,backward_diode_left:Kt,backward_diode_right:Bp,backward_diode_up:qp,battery_horz:re,battery_vert:Wp,boxresistor_down:Qp,boxresistor_left:ea,boxresistor_right:ia,boxresistor_small_down:pa,boxresistor_small_left:ya,boxresistor_small_right:xa,boxresistor_small_up:na,boxresistor_up:ha,bridged_ground_down:_a,bridged_ground_left:va,bridged_ground_right:ae,bridged_ground_up:Pa,capacitor_down:Ra,capacitor_left:Fa,capacitor_polarized_down:Ta,capacitor_polarized_left:Ea,capacitor_polarized_right:Ya,capacitor_polarized_up:Xa,capacitor_right:La,capacitor_up:ja,constant_current_diode_down:za,constant_current_diode_horz:Oa,constant_current_diode_left:$a,constant_current_diode_right:Ma,constant_current_diode_up:Na,constant_current_diode_vert:Ba,crystal_4pin_down:qa,crystal_4pin_left:Da,crystal_4pin_right:Ga,crystal_4pin_up:Ua,crystal_down:Ha,crystal_left:Za,crystal_right:Qa,crystal_up:ty,current_source_down:ey,current_source_left:ry,current_source_right:oy,current_source_up:iy,darlington_pair_transistor_down:ly,darlington_pair_transistor_horz:py,darlington_pair_transistor_left:ay,darlington_pair_transistor_right:yy,darlington_pair_transistor_up:sy,darlington_pair_transistor_vert:xy,dc_ammeter_horz:Et,dc_ammeter_vert:cy,dc_voltmeter_down:dy,dc_voltmeter_horz:_y,dc_voltmeter_left:uy,dc_voltmeter_right:wy,dc_voltmeter_up:Py,dc_voltmeter_vert:Ry,diac_down:Fy,diac_horz:Ty,diac_left:Ey,diac_right:Yy,diac_up:Xy,diac_vert:Ly,digital_ground_down:jy,digital_ground_left:zy,digital_ground_right:Jy,digital_ground_up:My,diode_down:Ny,diode_left:Iy,diode_right:N,diode_up:By,dpdt_normally_closed_switch_down:Dy,dpdt_normally_closed_switch_left:Gy,dpdt_normally_closed_switch_right:I,dpdt_normally_closed_switch_up:Uy,dpdt_switch_down:Hy,dpdt_switch_left:Zy,dpdt_switch_right:B,dpdt_switch_up:Qy,dpst_normally_closed_switch_down:ts,dpst_normally_closed_switch_left:es,dpst_normally_closed_switch_right:q,dpst_normally_closed_switch_up:rs,dpst_switch_down:is,dpst_switch_left:ls,dpst_switch_right:D,dpst_switch_up:ps,ferrite_bead_down:ys,ferrite_bead_left:ss,ferrite_bead_right:Ye,ferrite_bead_up:Ee,filled_diode_down:ms,filled_diode_horz:fs,filled_diode_left:hs,filled_diode_right:bs,filled_diode_up:gs,filled_diode_vert:vs,frequency_meter_horz:Yt,frequency_meter_vert:Ss,fuse_horz:$e,fuse_vert:Ts,ground_down:Es,ground_horz:Ys,ground_left:Xs,ground_right:Ls,ground_up:Vs,ground_vert:js,gunn_diode_horz:ks,gunn_diode_vert:zs,icled_down:Js,icled_left:$s,icled_right:G,icled_up:Ms,igbt_transistor_horz:Me,igbt_transistor_vert:Is,illuminated_push_button_normally_open_horz:Ce,illuminated_push_button_normally_open_vert:Gs,inductor_down:Zs,inductor_left:Qs,inductor_right:ut,inductor_up:Ie,laser_diode_down:Ks,laser_diode_left:tx,laser_diode_right:U,laser_diode_up:ex,led_down:lx,led_left:px,led_right:vt,led_up:qe,light_dependent_resistor_horz:Ge,light_dependent_resistor_vert:nx,mosfet_depletion_normally_on_horz:We,mosfet_depletion_normally_on_vert:dx,mushroom_head_normally_open_momentary_horz:Ze,mushroom_head_normally_open_momentary_vert:ux,n_channel_d_mosfet_transistor_horz:t0,n_channel_d_mosfet_transistor_vert:Sx,n_channel_e_mosfet_transistor_horz:r0,n_channel_e_mosfet_transistor_vert:Yx,njfet_transistor_horz:i0,njfet_transistor_vert:kx,not_connected_down:Jx,not_connected_left:$x,not_connected_right:W,not_connected_up:Mx,npn_bipolar_transistor_down:Cx,npn_bipolar_transistor_horz:Nx,npn_bipolar_transistor_left:Ix,npn_bipolar_transistor_right:Bx,npn_bipolar_transistor_up:qx,npn_bipolar_transistor_vert:Dx,opamp_no_power_down:Ux,opamp_no_power_left:Wx,opamp_no_power_right:H,opamp_no_power_up:Hx,opamp_with_power_down:Qx,opamp_with_power_left:Kx,opamp_with_power_right:Z,opamp_with_power_up:tm,p_channel_d_mosfet_transistor_horz:n0,p_channel_d_mosfet_transistor_vert:lm,p_channel_e_mosfet_transistor_horz:c0,p_channel_e_mosfet_transistor_vert:xm,photodiode_horz:h0,photodiode_vert:cm,pjfet_transistor_horz:b0,pjfet_transistor_vert:gm,pnp_bipolar_transistor_down:um,pnp_bipolar_transistor_horz:vm,pnp_bipolar_transistor_left:wm,pnp_bipolar_transistor_right:Am,pnp_bipolar_transistor_up:Pm,pnp_bipolar_transistor_vert:Sm,potentiometer_horz:P0,potentiometer_vert:Em,potentiometer2_down:Vm,potentiometer2_left:jm,potentiometer2_right:Q,potentiometer2_up:km,potentiometer3_down:zm,potentiometer3_left:Om,potentiometer3_right:Jm,potentiometer3_up:$m,power_factor_meter_horz:Y0,power_factor_meter_vert:Im,push_button_normally_closed_momentary_horz:L0,push_button_normally_closed_momentary_vert:Gm,push_button_normally_open_momentary_down:Hm,push_button_normally_open_momentary_horz:Km,push_button_normally_open_momentary_left:t1,push_button_normally_open_momentary_right:X,push_button_normally_open_momentary_up:e1,push_button_normally_open_momentary_vert:r1,rail_down:i1,rail_left:p1,rail_right:y1,rail_up:x1,rectifier_diode_horz:J0,rectifier_diode_vert:f1,resistor_down:h1,resistor_left:b1,resistor_right:g1,resistor_up:v1,resonator_down:A1,resonator_horz:D0,resonator_left:P1,resonator_right:rt,resonator_up:S1,resonator_vert:R1,schottky_diode_down:T1,schottky_diode_left:E1,schottky_diode_right:ot,schottky_diode_up:Y1,silicon_controlled_rectifier_horz:G0,silicon_controlled_rectifier_vert:V1,solderjumper2_bridged12_down:j1,solderjumper2_bridged12_left:z1,solderjumper2_bridged12_right:wt,solderjumper2_bridged12_up:J1,solderjumper2_down:$1,solderjumper2_left:M1,solderjumper2_right:C1,solderjumper2_up:N1,solderjumper3_bridged12_down:I1,solderjumper3_bridged12_left:B1,solderjumper3_bridged12_right:q1,solderjumper3_bridged12_up:D1,solderjumper3_bridged123_down:G1,solderjumper3_bridged123_left:U1,solderjumper3_bridged123_right:W1,solderjumper3_bridged123_up:H1,solderjumper3_bridged23_down:Z1,solderjumper3_bridged23_left:Q1,solderjumper3_bridged23_right:K1,solderjumper3_bridged23_up:tn,solderjumper3_down:en,solderjumper3_left:rn,solderjumper3_right:on,solderjumper3_up:ln,spdt_normally_closed_switch_down:an,spdt_normally_closed_switch_left:yn,spdt_normally_closed_switch_right:st,spdt_normally_closed_switch_up:sn,spdt_switch_down:mn,spdt_switch_left:nn,spdt_switch_right:xt,spdt_switch_up:fn,spst_normally_closed_switch_down:cn,spst_normally_closed_switch_left:hn,spst_normally_closed_switch_right:mt,spst_normally_closed_switch_up:dn,spst_switch_down:bn,spst_switch_left:_n,spst_switch_right:nt,spst_switch_up:gn,square_wave_down:un,square_wave_left:vn,square_wave_right:wn,square_wave_up:An,step_recovery_diode_horz:W0,step_recovery_diode_vert:Pn,tachometer_horz:kt,tachometer_vert:Tn,testpoint_down:Xn,testpoint_left:Ln,testpoint_right:ct,testpoint_up:kn,tilted_ground_down:On,tilted_ground_left:Jn,tilted_ground_right:At,tilted_ground_up:Z0,triac_horz:Q0,triac_vert:Cn,tunnel_diode_horz:tr,tunnel_diode_vert:qn,unijunction_transistor_horz:rr,unijunction_transistor_vert:Zn,usbc:Kn,var_meter_horz:ir,var_meter_vert:rf,varactor_diode_horz:pr,varactor_diode_vert:af,varistor_horz:yr,varistor_vert:mf,varmeter_horz:zt,varmeter_vert:hf,vcc_down:df,vcc_left:bf,vcc_right:_f,vcc_up:gf,volt_meter_horz:xr,volt_meter_vert:uf,watt_hour_meter_horz:Ot,watt_hour_meter_vert:Pf,wattmeter_horz:Jt,wattmeter_vert:Tf,zener_diode_horz:cr,zener_diode_vert:Lf};var b=(t,o=!0)=>o?-t:t;var dt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function jf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${b(a.y,i)}`).join(" ");return o?`${l} Z`:l}function c4(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${b(a,i)-y} L ${l+y} ${b(a,i)} L ${l} ${b(a,i)+y} L ${l-y} ${b(a,i)} Z" fill="green" />`}function h4(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,h=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${b(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${dt("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${b(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function d4(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
|
|
5
|
+
`+h+" | "+br("",a.column-1," ")+br("",f,"^")}else o+=`
|
|
6
|
+
at `+n}return o};Mt.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.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(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function h(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+h(o)+" found."};function bt(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:h,radius:p}=n;y({x:m-p,y:h-p}),y({x:m+p,y:h+p});break}case"box":{let{x:m,y:h,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:h-d}),y({x:m+f,y:h+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var qf=(t,o="right")=>{switch(o){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},u=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Y=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={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{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Pt=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=dr(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:h,ports:p}=t,x=n.map(c=>{switch(c={...c},c.type){case"path":return{...c,points:c.points.map(Mf=>_(y,Mf))};case"text":let bp=_(y,{x:c.x,y:c.y});return c.anchor=qf(c.anchor,i??"right"),{...c,x:bp.x,y:bp.y};case"circle":let _p=_(y,{x:c.x,y:c.y});return{...c,x:_p.x,y:_p.y};case"box":let gp=_(y,{x:c.x,y:c.y});return{...c,x:gp.x,y:gp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,..._(y,c)})),d=bt(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>Pt(t,{newOrientation:o,overrides:i});var _r=class{symbol;constructor(o){this.symbol=JSON.parse(JSON.stringify(o)),this.symbol.size=this.computeSize()}changeTextAnchor(o,i,l){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(a=>a.type==="text"&&a.text===o?{...a,anchor:i,...l?{x:a.x+l.x,y:a.y+l.y}:{}}:a)},this}labelPort(o,i){return this.symbol={...this.symbol,ports:this.symbol.ports.map(l=>l.labels.includes(o)?{...l,labels:i}:l)},this}rotateRightFacingSymbol(o){return this.symbol=Pt(this.symbol,{newOrientation:o}),this}computeSize(){let o=bt(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new _r({...t,primitives:o,ports:i,center:l})};var v={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}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:Gf,texts:ob,bounds:Ct,refblocks:vp,circles:Uf}=v,wp=e({primitives:[...Object.values(Gf),...Object.values(Uf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...vp.left1,labels:["1"]},{...vp.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Wf,texts:ab,bounds:Nt,refblocks:Ap,circles:Hf}=v,Pp=e({primitives:[...Object.values(Wf),...Object.values(Hf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ap.left1,labels:["1"]},{...Ap.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Zf,texts:mb,bounds:It,refblocks:Sp,circles:Qf}=v,Rp=e({primitives:[...Object.values(Zf),...Object.values(Qf),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Sp.left1,labels:["1"]},{...Sp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Kf,texts:hb,bounds:Bt,refblocks:Fp,circles:tc}=v,Tp=e({primitives:[...Object.values(Kf),...Object.values(tc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Fp.left1,labels:["1"]},{...Fp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ec,texts:gb,bounds:qt,refblocks:Ep,circles:rc}=v,Yp=e({primitives:[...Object.values(ec),...Object.values(rc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ep.left1,labels:["1"]},{...Ep.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:oc,texts:Ab,bounds:Dt,refblocks:Xp,circles:ic}=v,Lp=e({primitives:[...Object.values(oc),...Object.values(ic),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Xp.left1,labels:["1"]},{...Xp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var w={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:{}};var{paths:pc,texts:Tb,bounds:Gt,refblocks:Vp,circles:ac}=w,jp=e({primitives:[...Object.values(pc),...Object.values(ac),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Vp.left1,labels:["1"]},{...Vp.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var kp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:yc,texts:kb,bounds:Ut,refblocks:zp,circles:sc}=w,Op=e({primitives:[...Object.values(yc),...Object.values(sc),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...zp.left1,labels:["1"]},{...zp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Jp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:xc,texts:Nb,bounds:Wt,refblocks:$p,circles:mc}=w,Mp=e({primitives:[...Object.values(xc),...Object.values(mc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...$p.left1,labels:["1"]},{...$p.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:nc,texts:Db,bounds:Ht,refblocks:Cp,circles:fc}=w,Np=e({primitives:[...Object.values(nc),...Object.values(fc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={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}},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:{}};var{paths:hc,texts:Zb,bounds:Zt,refblocks:Ip,circles:dc}=j,Bp=e({primitives:[...Object.values(hc),...Object.values(dc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Ip.left1,labels:["1"]},{...Ip.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:bc,texts:e_,bounds:Qt,refblocks:qp,circles:_c}=j,Kt=e({primitives:[...Object.values(bc),...Object.values(_c),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...qp.left1,labels:["1"]},{...qp.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:gc,texts:l_,bounds:t0,refblocks:Dp,circles:uc}=j,Gp=e({primitives:[...Object.values(gc),...Object.values(uc),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...Dp.left1,labels:["1"]},{...Dp.right1,labels:["2"]}],size:{width:t0.width,height:t0.height},center:{x:t0.centerX,y:t0.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:x_,texts:m_,bounds:n_,refblocks:f_,circles:c_}=j,gr=r(Kt,"down"),ur=gr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vr=gr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ur.anchor="middle_left";vr.anchor="middle_left";ur.x=.25;ur.y+=.21;vr.y-=.21;vr.x=.25;var Up=gr;function s(t){let o=t.size;if(!o){let i=bt(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var Wp={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:{minX:-.47,maxX:.47,minY:-.38,maxY:.27,width:.95,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:wc,texts:Hp,bounds:e0,refblocks:Zp,circles:Ac}=Wp,r0=s({primitives:[...Object.values(wc),...Object.values(Ac),{...Hp.top1,anchor:"middle_bottom"},{...Hp.bottom1,anchor:"middle_top"}],ports:[{...Zp.left1,labels:["1"]},{...Zp.right1,labels:["2"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}});var Qp=Pt(r0,{newOrientation:"up"});var k={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{minX:-.56,maxX:.56,minY:-.25,maxY:.25,width:1.12,height:.5,centerX:0,centerY:0},circles:{}};var{paths:Sc,texts:T_,bounds:Kp,refblocks:ta,circles:Rc}=k,ea=e({primitives:[...Object.values(Sc),...Object.values(Rc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...ta.left1,labels:["1"]},{...ta.right1,labels:["2"]}],center:{x:Kp.centerX,y:Kp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Fc,texts:L_,bounds:ra,refblocks:oa,circles:Tc}=k,ia=e({primitives:[...Object.values(Fc),...Object.values(Tc),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...oa.left1,labels:["1"]},{...oa.right1,labels:["2"]}],center:{x:ra.centerX,y:ra.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ec,texts:z_,bounds:la,refblocks:pa,circles:Yc}=k,aa=e({primitives:[...Object.values(Ec),...Object.values(Yc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...pa.left1,labels:["1"]},{...pa.right1,labels:["2"]}],center:{x:la.centerX,y:la.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var z={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}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.17},bottom1:{type:"text",text:"{VAL}",x:0,y:-.17}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.17,maxY:.17,width:1.16,height:.35,centerX:0,centerY:0},circles:{}};var{paths:Lc,texts:C_,bounds:o0,refblocks:ya,circles:Vc}=z,sa=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...ya.left1,labels:["1"]},{...ya.right1,labels:["2"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:jc,texts:q_,bounds:i0,refblocks:xa,circles:kc}=z,ma=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...xa.left1,labels:["1"]},{...xa.right1,labels:["2"]}],size:{width:i0.width,height:i0.height},center:{x:i0.centerX,y:i0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:zc,texts:W_,bounds:l0,refblocks:na,circles:Oc}=z,fa=e({primitives:[...Object.values(zc),...Object.values(Oc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...na.left1,labels:["1"]},{...na.right1,labels:["2"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Jc,texts:K_,bounds:p0,refblocks:ca,circles:$c}=z,ha=e({primitives:[...Object.values(Jc),...Object.values($c),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...ca.left1,labels:["1"]},{...ca.right1,labels:["2"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Mc,texts:o8,bounds:da,refblocks:ba,circles:Cc}=k,_a=e({primitives:[...Object.values(Mc),...Object.values(Cc),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],center:{x:da.centerX,y:da.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var _t={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}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:Ic,texts:y8,bounds:ga,refblocks:ua,circles:Bc}=_t,va=e({primitives:[...Object.values(Ic),...Object.values(Bc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ua.left1,labels:["1"]},{...ua.right1,labels:["2"]}],center:{x:ga.centerX,y:ga.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:qc,texts:n8,bounds:wa,refblocks:Aa,circles:Dc}=_t,a0=e({primitives:[...Object.values(qc),...Object.values(Dc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Aa.left1,labels:["1"]},{...Aa.right1,labels:["2"]}],center:{x:wa.centerX,y:wa.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Pa=Y(a0);var{paths:Gc,texts:g8,bounds:Sa,refblocks:Ra,circles:Uc}=_t,Fa=e({primitives:[...Object.values(Gc),...Object.values(Uc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Ra.left1,labels:["1"]},{...Ra.right1,labels:["2"]}],center:{x:Sa.centerX,y:Sa.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var O={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:{}};var{paths:Hc,texts:P8,bounds:y0,refblocks:Ta,circles:Zc}=O,Ea=e({primitives:[...Object.values(Hc),...Object.values(Zc),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...Ta.left1,labels:["1"]},{...Ta.right1,labels:["2"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ya=e(O).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var J={paths:{"path27-5":{type:"path",points:[{x:.5229378000000007,y:.017283050000003186},{x:.001333100000000531,y:.017283050000003186}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.08560379999999945,y:.017283050000003186},{x:-.5353954999999995,y:.017283050000003186}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:-.0024798999999995353,y:.28420285000000334},{x:-.0024798999999995353,y:-.247479349999999}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.1433630999999993,y:-.24400714999999806},{x:-.1433630999999993,y:-.24400714999999806},{x:-.14092865582592523,y:-.23988656287036855},{x:-.13853515727407342,y:-.23575569829629459},{x:-.13618295529999938,y:-.23161452149999845},{x:-.13387240085925864,y:-.2274629977037022},{x:-.13160384490740681,y:-.22330109212962815},{x:-.12937763839999944,y:-.21912876999999858},{x:-.12719413229259205,y:-.21494599653703564},{x:-.12505367754074023,y:-.21075273696296162},{x:-.12295662509999944,y:-.20654895649999858},{x:-.12090332592592543,y:-.202334620370369},{x:-.11889413097407354,y:-.1981096937962949},{x:-.11692939119999951,y:-.19387414199999867},{x:-.11500945755925875,y:-.18962793020370225},{x:-.11313468100740696,y:-.18537102362962823},{x:-.1113054124999995,y:-.18110338749999852},{x:-.10952200299259213,y:-.17682498703703556},{x:-.10778480344074029,y:-.17253578746296144},{x:-.10609416479999957,y:-.16823575399999846},{x:-.10445043802592549,y:-.1639248518703688},{x:-.10285397407407365,y:-.15960304629629468},{x:-.10130512389999959,y:-.15527030249999835},{x:-.09980423845925884,y:-.15092658570370204},{x:-.098351668707407,y:-.14657186112962792},{x:-.0969477655999996,y:-.14220609399999828},{x:-.09559288009259218,y:-.1378292495370353},{x:-.09428736314074034,y:-.13344129296296123},{x:-.0930315656999996,y:-.12904218949999824},{x:-.09182583872592552,y:-.12463190437036864},{x:-.09067053317407366,y:-.12021040279629455},{x:-.08956599999999959,y:-.1157776499999983},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08824151191481441,y:-.11018647672962796},{x:-.08698330065185143,y:-.10458327583703543},{x:-.08579087569999959,y:-.09896843569999846},{x:-.08466374654814773,y:-.0933423446962948},{x:-.08360142268518476,y:-.08770539120370224},{x:-.08260341359999958,y:-.08205796359999859},{x:-.08166922878148106,y:-.07640045026296158},{x:-.0807983777185181,y:-.07073323957036905},{x:-.07999036989999954,y:-.06505671989999867},{x:-.07924471481481438,y:-.05937127962962835},{x:-.07856092195185138,y:-.053677307137035765},{x:-.07793850079999955,y:-.04797519079999877},{x:-.07737696084814766,y:-.042265318996295057},{x:-.07687581158518474,y:-.03654808010370251},{x:-.07643456249999953,y:-.030823862499998803},{x:-.076052723081481,y:-.025093054562961768},{x:-.07572980281851803,y:-.019356044670369183},{x:-.07546531119999952,y:-.013613221199998807},{x:-.07525875771481433,y:-.007864972529628433},{x:-.07510965185185137,y:-.0021116870370358233},{x:-.07501750309999951,y:.003646246900001227},{x:-.07498182094814765,y:.009408440903704952},{x:-.07500211488518468,y:.015174506596297575},{x:-.07507789439999951,y:.02094405560000131},{x:-.07520866898148099,y:.026716699537038383},{x:-.07539394811851803,y:.032492050029631014},{x:-.07563324129999952,y:.03826971870000144},{x:-.07592605801481433,y:.04404931717037187},{x:-.07627190775185136,y:.049830457062964524},{x:-.07667029999999952,y:.05561275000000163},{x:-.07667029999999952,y:.055612750000001654},{x:-.07667029999999952,y:.055612750000001654},{x:-.07711763639629585,y:.06051565994814989},{x:-.07758839517036993,y:.06542268825185367},{x:-.07808370069999958,y:.07033314260000188},{x:-.07860467736296256,y:.07524633068148343},{x:-.07915244953703664,y:.08016156018518718},{x:-.07972814159999962,y:.08507813880000203},{x:-.08033287792962926,y:.08999537421481688},{x:-.08096778290370335,y:.09491257411852061},{x:-.08163398089999961,y:.09982904620000208},{x:-.08233259629629595,y:.10474409814815028},{x:-.08306475347037001,y:.10965703765185393},{x:-.0838315767999997,y:.11456717240000211},{x:-.08463419066296263,y:.11947381008148356},{x:-.08547371943703674,y:.12437625838518729},{x:-.08635128749999971,y:.12927382500000204},{x:-.08726801922962936,y:.13416581761481683},{x:-.08822503900370343,y:.1390515439185205},{x:-.08922347119999974,y:.14393031160000197},{x:-.09026444019629604,y:.14880142834815008},{x:-.09134907037037011,y:.15366420185185373},{x:-.09247848609999976,y:.15851793980000184},{x:-.09365381176296271,y:.16336194988148328},{x:-.0948761717370368,y:.16819553978518692},{x:-.09614669039999976,y:.17301801720000168},{x:-.09746649212962939,y:.17782868981481642},{x:-.09883670130370346,y:.18262686531852007},{x:-.10025844229999976,y:.1874118514000015},{x:-.10173283949629608,y:.19218295574814956},{x:-.10326101727037013,y:.19693948605185319},{x:-.10484409999999976,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.1057993367777776,y:.20445172446666784},{x:-.10677724488888875,y:.2072177244000011},{x:-.1077778209999999,y:.20997856460000103},{x:-.10880106177777768,y:.21273405986666769},{x:-.1098469638888888,y:.21548402500000097},{x:-.11091552399999995,y:.21822827480000098},{x:-.11200673877777771,y:.22096662406666764},{x:-.11312060488888884,y:.22369888760000106},{x:-.11425711899999991,y:.22642488020000096},{x:-.11541627777777771,y:.2291444166666677},{x:-.11659807788888879,y:.23185731180000102},{x:-.11780251599999993,y:.23456338040000121},{x:-.11902958877777765,y:.23726243726666785},{x:-.1202792928888888,y:.23995429720000136},{x:-.12155162499999986,y:.24263877500000136},{x:-.12284658177777764,y:.24531568546666818},{x:-.12416415988888875,y:.2479848434000016},{x:-.12550435599999987,y:.25064606360000175},{x:-.12686716677777762,y:.2532991608666685},{x:-.1282525888888887,y:.255943950000002},{x:-.1296606189999998,y:.25858024580000205},{x:-.13109125377777758,y:.2612078630666688},{x:-.1325444898888887,y:.2638266166000023},{x:-.13402032399999983,y:.2664363212000024},{x:-.13551875277777758,y:.26903679166666916},{x:-.13703977288888872,y:.27162784280000263},{x:-.13858338099999984,y:.27420928940000266},{x:-.14014957377777765,y:.2767809462666695},{x:-.14173834788888875,y:.2793426282000029},{x:-.1433496999999999,y:.28189415000000295},{x:-.1433496999999999,y:.28189415000000295}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26345180000000035,y:.2438394499999994},{x:.12298460000000011,y:.2438394499999994},{x:.12298460000000011,y:.2505664500000009},{x:.26345180000000035,y:.2505664500000009}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.19751530000000006,y:.31834525000000014},{x:.19751530000000006,y:.17787805000000034},{x:.1907882999999999,y:.17787805000000034},{x:.1907882999999999,y:.31834525000000014}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.012864499999999612,y:.4200086500000033},bottom1:{type:"text",text:"{VAL}",x:-.003850499999999979,y:-.42000864999999976}},refblocks:{left1:{x:-.5512093,y:.016380250000000984},right1:{x:.5512093,y:.016926950000001995}},bounds:{minX:-.579367741,maxX:.579367741,minY:-.42000864999999976,maxY:.4200086500000033,width:1.158735482,height:.8400173000000031,centerX:0,centerY:17763568394002505e-31},circles:{}};var Xa=e(J).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:-.12,y:-.3}).build();var La=e(J).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_bottom").build();var Va=e(J).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.78}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.78}).build();var ja=e(J).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:-.12,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:.72,y:-.3}).build();var ka=e(O).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Kc,texts:G8,bounds:s0,refblocks:za,circles:th}=O,Oa=e({primitives:[...Object.values(Kc),...Object.values(th),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...za.left1,labels:["1"]},{...za.right1,labels:["2"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var A={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}}};var{paths:rh,texts:Q8,bounds:x0,refblocks:Ja,circles:oh}=A,$a=e({primitives:[...Object.values(rh),...Object.values(oh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Ja.left1,labels:["1"]},{...Ja.right1,labels:["2"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ma=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ih,texts:l7,bounds:m0,refblocks:Ca,circles:lh}=A,Na=e({primitives:[...Object.values(ih),...Object.values(lh),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...Ca.left1,labels:["1"]},{...Ca.right1,labels:["2"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ia=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ph,texts:n7,bounds:n0,refblocks:Ba,circles:ah}=A,qa=e({primitives:[...Object.values(ph),...Object.values(ah),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ba.left1,labels:["1"]},{...Ba.right1,labels:["2"]}],size:{width:n0.width,height:n0.height},center:{x:n0.centerX,y:n0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:yh,texts:d7,bounds:f0,refblocks:Da,circles:sh}=A,Ga=e({primitives:[...Object.values(yh),...Object.values(sh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Da.left1,labels:["1"]},{...Da.right1,labels:["2"]}],size:{width:f0.width,height:f0.height},center:{x:f0.centerX,y:f0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var $={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:{}};var{paths:mh,texts:v7,bounds:c0,refblocks:h0,circles:nh}=$,Ua=e({primitives:[...Object.values(mh),...Object.values(nh),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...h0.left1,labels:["1"]},{...h0.right1,labels:["3"]},{...h0.bottom1,labels:["2"]},{...h0.top1,labels:["4"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Wa=e($).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Ha=e($).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var{paths:fh,texts:X7,bounds:d0,refblocks:b0,circles:ch}=$,Za=e({primitives:[...Object.values(fh),...Object.values(ch),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...b0.left1,labels:["1"]},{...b0.right1,labels:["3"]},{...b0.bottom1,labels:["2"]},{...b0.top1,labels:["4"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var M={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:{}};var{paths:dh,texts:z7,bounds:_0,refblocks:Qa,circles:bh}=M,Ka=e({primitives:[...Object.values(dh),...Object.values(bh),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Qa.left1,labels:["1"]},{...Qa.right1,labels:["2"]}],size:{width:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var ty=e(M).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var ey=e(M).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:_h,texts:D7,bounds:g0,refblocks:ry,circles:gh}=M,oy=e({primitives:[...Object.values(_h),...Object.values(gh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...ry.left1,labels:["1"]},{...ry.right1,labels:["2"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX,y:g0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var St=.6,wr=.3,uh=[{type:"path",points:[{x:-St,y:0},{x:-wr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:wr,y:0},{x:St,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:wr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],iy=e({primitives:[...uh,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-St,y:0,labels:["1"]},{x:St,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:St*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Rt=.6,Ar=.3,vh=[{type:"path",points:[{x:-Rt,y:0},{x:-Ar,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Ar,y:0},{x:Rt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Ar,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ly=e({primitives:[...vh,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-Rt,y:0,labels:["1"]},{x:Rt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Rt*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ft=.6,Pr=.3,wh=[{type:"path",points:[{x:-Ft,y:0},{x:-Pr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Pr,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Pr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],py=e({primitives:[...wh,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Ft,y:0,labels:["1"]},{x:Ft,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Ft*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Tt=.6,Sr=.3,Ah=[{type:"path",points:[{x:-Tt,y:0},{x:-Sr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Sr,y:0},{x:Tt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Sr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ay=e({primitives:[...Ah,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Tt,y:0,labels:["1"]},{x:Tt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Tt*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var P={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}}};var yy=e(P).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();var sy=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var xy=e(P).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();var my=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ny=e(P).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();var fy=e(P).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();var cy={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:{top1:{type:"text",text:"{REF}",x:-.18,y:-.45},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.35},left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:-.09,maxY:.09,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:Rh,texts:Fh,bounds:u0,refblocks:hy,circles:Th}=cy,Et=s({primitives:[...Object.values(Rh),...Object.values(Th),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Fh.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...hy.left1,labels:["1"]},{...hy.right1,labels:["2"]}],size:{width:u0.width,height:u0.height},center:{x:u0.centerX,y:u0.centerY}});function Eh(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function Yh(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:Rr,2:Fr,...Xh}=Et.primitives;Eh(Fr)&&Fr.points.map(t=>{t.y+=.05});Yh(Rr)&&(Rr.y+=.025);function Lh(t){return typeof t=="object"}var dy=r({...Et,primitives:Object.values(Xh).filter(Lh)}),by={...dy,primitives:[...dy.primitives,Rr,Fr]};var S={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}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:jh,texts:Xg,bounds:v0,refblocks:_y,circles:kh}=S,gy=e({primitives:[...Object.values(jh),...Object.values(kh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{..._y.left1,labels:["1"]},{..._y.right1,labels:["2"]}],size:{width:v0.width,height:v0.height},center:{x:v0.centerX,y:v0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:zh,texts:kg,bounds:w0,refblocks:uy,circles:Oh}=S,vy=e({primitives:[...Object.values(zh),...Object.values(Oh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...uy.left1,labels:["1"]},{...uy.right1,labels:["2"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Jh,texts:$g,bounds:A0,refblocks:wy,circles:$h}=S,Ay=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...wy.left1,labels:["1"]},{...wy.right1,labels:["2"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Mh,texts:Ig,bounds:P0,refblocks:Py,circles:Ch}=S,Sy=e({primitives:[...Object.values(Mh),...Object.values(Ch),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Py.left1,labels:["1"]},{...Py.right1,labels:["2"]}],size:{width:P0.width,height:P0.height},center:{x:P0.centerX,y:P0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Nh,texts:Gg,bounds:S0,refblocks:Ry,circles:Ih}=S,Fy=e({primitives:[...Object.values(Nh),...Object.values(Ih),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ry.left1,labels:["1"]},{...Ry.right1,labels:["2"]}],size:{width:S0.width,height:S0.height},center:{x:S0.centerX,y:S0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Bh,texts:Zg,bounds:R0,refblocks:Ty,circles:qh}=S,Ey=e({primitives:[...Object.values(Bh),...Object.values(qh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ty.left1,labels:["1"]},{...Ty.right1,labels:["2"]}],size:{width:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var R={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}}};var Yy=e(R).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();var Xy=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Ly=e(R).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();var Vy=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var jy=e(R).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();var ky=e(R).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();var C={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:-.11,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:Uh,bounds:zy,refblocks:Wh}=C,Oy=e({primitives:[...Object.values(Uh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Wh.left1,labels:["1"]}],center:{x:zy.centerX,y:zy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Hh,bounds:Jy,refblocks:Zh}=C,$y=e({primitives:[...Object.values(Hh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Zh.left1,labels:["1"]}],center:{x:Jy.centerX,y:Jy.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Qh,bounds:My,refblocks:Kh}=C,Cy=e({primitives:[...Object.values(Qh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Kh.left1,labels:["1"]}],center:{x:My.centerX,y:My.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:t9,bounds:Ny,refblocks:e9}=C,Iy=e({primitives:[...Object.values(t9),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...e9.left1,labels:["1"]}],center:{x:Ny.centerX,y:Ny.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var By={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:{}};var N=e(By).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var qy=r(N,"down");var Dy=r(N,"left");var Gy=r(N,"up");var Uy={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}}};var I=e(Uy).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();var Tr=r(I,"down"),Er=Tr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yr=Tr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Er.anchor="middle_bottom";Yr.anchor="middle_top";Er.x=0;Er.y+=.537;Yr.y-=.5375;Yr.x=0;var Wy=Tr;var Xr=r(I,"left"),Lr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lr.anchor="middle_bottom";Vr.anchor="middle_top";Lr.x=0;Lr.y+=1;Vr.y-=1;Vr.x=0;var Hy=Xr;var jr=r(I,"up"),kr=jr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zr=jr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kr.anchor="middle_bottom";zr.anchor="middle_top";kr.x=0;kr.y+=.537;zr.y-=.5375;zr.x=0;var Zy=jr;var Qy={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}}};var B=e(Qy).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();var Or=r(B,"down"),Jr=Or.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$r=Or.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jr.anchor="middle_bottom";$r.anchor="middle_top";Jr.x=0;Jr.y+=.565;$r.y-=.555;$r.x=0;var Ky=Or;var Mr=r(B,"left"),Cr=Mr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Nr=Mr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cr.anchor="middle_bottom";Nr.anchor="middle_top";Cr.x=0;Cr.y+=1.09;Nr.y-=1.09;Nr.x=0;var ts=Mr;var Ir=r(B,"up"),Br=Ir.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qr=Ir.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Br.anchor="middle_bottom";qr.anchor="middle_top";Br.x=0;Br.y+=.565;qr.y-=.555;qr.x=0;var es=Ir;var rs={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}}};var q=e(rs).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Dr=r(q,"down"),Gr=Dr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ur=Dr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gr.anchor="middle_bottom";Ur.anchor="middle_top";Gr.x=.4;Gr.y+=.265;Ur.y-=.265;Ur.x=.4;var os=Dr;var Wr=r(q,"left"),Hr=Wr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zr=Wr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hr.anchor="middle_bottom";Zr.anchor="middle_top";Hr.x=0;Hr.y+=.67;Zr.y-=.67;Zr.x=0;var is=Wr;var Qr=r(q,"up"),Kr=Qr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),to=Qr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Kr.anchor="middle_bottom";to.anchor="middle_top";Kr.x=.46;Kr.y+=.265;to.y-=.265;to.x=.46;var ls=Qr;var ps={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}}};var D=e(ps).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var eo=r(D,"down"),ro=eo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),oo=eo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ro.anchor="middle_bottom";oo.anchor="middle_top";ro.x=.4;ro.y+=.295;oo.y-=.295;oo.x=.42;var as=eo;var io=r(D,"left"),lo=io.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),po=io.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");lo.anchor="middle_bottom";po.anchor="middle_top";lo.x=0;lo.y+=.795;po.y-=.795;po.x=0;var ys=io;var ao=r(D,"up"),yo=ao.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),so=ao.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yo.anchor="middle_bottom";so.anchor="middle_top";yo.x=.46;yo.y+=.315;so.y-=.315;so.x=.46;var ss=ao;var F0={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:{}};var{paths:y9,texts:q6,bounds:T0,refblocks:xs,circles:s9}=F0,E0=e({primitives:[...Object.values(y9),...Object.values(s9),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...xs.left1,labels:["1"]},{...xs.right1,labels:["2"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var xo=u(E0),mo=xo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),no=xo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mo.anchor="middle_left";no.anchor="middle_left";mo.y+=.4;mo.x=.32;no.y-=.45;no.x=.32;var ms=xo;var Y0=e(F0).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ns=Y(Y0);var F={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}},texts:{top1:{type:"text",text:"{REF}",x:-.09,y:.38},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.38},right1:{type:"text",text:"",x:.59,y:-.33}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{minX:-.59,maxX:.59,minY:-.38,maxY:.38,width:1.18,height:.76,centerX:0,centerY:0},circles:{}};var{paths:m9,texts:pv,bounds:X0,refblocks:fs,circles:n9}=F,cs=e({primitives:[...Object.values(m9),...Object.values(n9),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...fs.left1,labels:["1"]},{...fs.right1,labels:["2"]}],size:{width:X0.width,height:X0.height},center:{x:X0.centerX,y:X0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:f9,texts:xv,bounds:L0,refblocks:hs,circles:c9}=F,ds=e({primitives:[...Object.values(f9),...Object.values(c9),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...hs.left1,labels:["1"]},{...hs.right1,labels:["2"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:h9,texts:cv,bounds:V0,refblocks:bs,circles:d9}=F,_s=e({primitives:[...Object.values(h9),...Object.values(d9),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...bs.left1,labels:["1"]},{...bs.right1,labels:["2"]}],size:{width:V0.width,height:V0.height},center:{x:V0.centerX,y:V0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:b9,texts:_v,bounds:j0,refblocks:gs,circles:_9}=F,us=e({primitives:[...Object.values(b9),...Object.values(_9),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...gs.left1,labels:["1"]},{...gs.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:g9,texts:wv,bounds:k0,refblocks:vs,circles:u9}=F,ws=e({primitives:[...Object.values(g9),...Object.values(u9),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...vs.left1,labels:["1"]},{...vs.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:v9,texts:Rv,bounds:z0,refblocks:As,circles:w9}=F,Ps=e({primitives:[...Object.values(v9),...Object.values(w9),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...As.left1,labels:["1"]},{...As.right1,labels:["2"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ss={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:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:P9,texts:S9,bounds:O0,refblocks:Rs,circles:R9}=Ss,Yt=s({primitives:[...Object.values(P9),...Object.values(R9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...S9.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Rs.left1,labels:["1"]},{...Rs.right1,labels:["2"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}});var{5:F9,...T9}=Yt.primitives;function E9(t){return typeof t=="object"}var Fs=r({...Yt,primitives:Object.values(T9).filter(E9)}),Ts={...Fs,primitives:[...Fs.primitives,F9]};var Es={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},bottom1:{type:"text",text:"{VAL}",x:-.17,y:-.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{minX:-.56,maxX:.56,minY:-.24,maxY:.24,width:1.13,height:.47,centerX:0,centerY:0},circles:{}};var{paths:X9,texts:L9,bounds:J0,refblocks:Ys}=Es,$0=s({primitives:[...Object.values(X9),{...L9.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Ys.left1,labels:["1"]},{...Ys.right1,labels:["2"]}],size:{width:J0.width,height:J0.height},center:{x:J0.centerX,y:J0.centerY}});var Xs=r($0);var T={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:{}};var Ls=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Vs=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var js=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var ks=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var zs=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Os=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Xt={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:{}};var{paths:xw,texts:mw,bounds:nw,refblocks:fw,circles:cw}=Xt,Js=e(Xt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var $s=e(Xt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Ms={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:{}};var G=e(Ms).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();var Cs=r(G,"down");var Ns=Y(G);var fo=r(G,"up"),co=fo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ho=fo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");co.anchor="middle_left";ho.anchor="middle_left";co.y+=.21;co.x=.44;ho.y-=.21;ho.x=.44;var Is=fo;var Bs={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}}};var M0=e(Bs).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var bo=r(M0),_o=bo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qs=bo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_o.anchor="middle_left";qs.anchor="middle_right";_o.x=.45;_o.y+=.065;qs.y+=.065;var Ds=bo;var Gs={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}}};var C0=e(Gs).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Us=r(C0),Ws=Us.primitives.filter(t=>t.type==="text"),go=Ws.find(t=>t.text==="{VAL}");go.x=-.35;go.y=0;go.anchor="middle_right";var uo=Ws.find(t=>t.text==="{REF}");uo.y=0;uo.x=.35;uo.anchor="middle_left";var Hs=Us;var Zs={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:{minX:-.58,maxX:.58,minY:-.23,maxY:.23,width:1.16,height:.46,centerX:0,centerY:0},circles:{}};var{paths:$9,texts:Qs,bounds:N0,refblocks:Ks,circles:M9}=Zs,gt=s({primitives:[...Object.values($9),...Object.values(M9),{...Qs.top1,anchor:"middle_bottom"},{...Qs.bottom1,anchor:"middle_top"}],ports:[{...Ks.left1,labels:["1"]},{...Ks.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}});var I0=r(gt,"up");var tx=u(I0);var ex=Y(gt);var vo={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}}};vo.bounds.width+=.2;var U=e(vo).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var wo=r(U,"down"),Ao=wo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Po=wo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ao.anchor="middle_left";Po.anchor="middle_left";Ao.y+=.9;Ao.x=.3;Po.y-=.1;Po.x=.3;var rx=wo;var So=r(U,"left"),Ro=So.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fo=So.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ro.anchor="middle_left";Fo.anchor="middle_left";Ro.y+=.71;Ro.x=.44;Fo.y-=.71;Fo.x=.44;var ox=So;var To=r(U,"up"),Eo=To.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yo=To.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Eo.anchor="middle_left";Yo.anchor="middle_left";Eo.y+=.1;Eo.x=.3;Yo.y-=.71;Yo.x=.3;var ix=To;var lx={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:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var{paths:I9,texts:px,bounds:B0,refblocks:ax,circles:B9}=lx,ut=s({primitives:[...Object.values(I9),...Object.values(B9),{...px.bottom1,anchor:"middle_top"},{...px.right1,anchor:"middle_bottom"}],ports:[{...ax.left1,labels:["1"]},{...ax.right1,labels:["2"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var Xo=r(ut,"up"),Lo=Xo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vo=Xo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lo.anchor="middle_left";Vo.anchor="middle_left";Lo.y+=.21;Lo.x=.21;Vo.y-=.21;Vo.x=.21;var q0=Xo;var jo=u(q0),ko=jo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zo=jo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ko.anchor="middle_left";zo.anchor="middle_left";ko.y+=.4;ko.x=.2;zo.y-=.41;zo.x=.2;var yx=jo;var sx=Y(ut);var xx={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:{minX:-.55,maxX:.55,minY:-.51,maxY:.46,width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}};var{paths:D9,texts:mx,bounds:D0,refblocks:nx,circles:G9}=xx,G0=s({primitives:[...Object.values(D9),...Object.values(G9),{...mx.top1,anchor:"middle_left",x:0},{...mx.bottom1,anchor:"middle_left",x:0}],ports:[{...nx.left1,labels:["1"]},{...nx.right1,labels:["2"]}],size:{width:D0.width,height:D0.height},center:{x:D0.centerX,y:D0.centerY}});var fx=r(G0),cx=fx.primitives.filter(t=>t.type==="text"),Oo=cx.find(t=>t.text==="{VAL}");Oo.x=-.35;Oo.y=0;Oo.anchor="middle_right";var Jo=cx.find(t=>t.text==="{REF}");Jo.y=0;Jo.x=.35;Jo.anchor="middle_left";var hx=fx;var dx={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:{minX:-.57,maxX:.57,minY:-.57,maxY:.57,width:1.14,height:1.14,centerX:0,centerY:0},circles:{}};var{paths:W9,texts:bx,bounds:U0,refblocks:$o}=dx,W0=s({primitives:[...Object.values(W9),{...bx.right1,anchor:"middle_left"},{...bx.right2,anchor:"middle_left"}],ports:[{...$o.top1,labels:["1"]},{...$o.bottom1,labels:["2"]},{...$o.left1,labels:["3"]}],size:{width:U0.width+.4,height:U0.height},center:{x:U0.centerX+.2,y:U0.centerY}});var Mo=r(W0),_x=Mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Co=Mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_x.anchor="middle_top";Co.anchor="middle_top";_x.x=Co.x;Co.y+=.15;var gx=Mo;var ux={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:{minX:-.5,maxX:.5,minY:-.27,maxY:.27,width:1,height:.53,centerX:0,centerY:0},circles:{}};var{paths:Z9,texts:vx,bounds:H0,refblocks:wx,circles:Q9}=ux,Z0=s({primitives:[...Object.values(Z9),...Object.values(Q9),{...vx.top1,anchor:"middle_bottom",x:0},{...vx.bottom1,anchor:"middle_top",x:0}],ports:[{...wx.left1,labels:["1"]},{...wx.right1,labels:["2"]}],size:{width:H0.width,height:H0.height},center:{x:H0.centerX+.006,y:H0.centerY+.06}});var No=r(Z0),Lt=No.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Q0=No.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lt.anchor="middle_left";Q0.anchor="middle_right";Lt.x=Lt.x-.03;Lt.y=Lt.y;Q0.x=Q0.x;Q0.y=0;var Ax=No;var Px={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:t2,texts:Sx,bounds:K0,refblocks:Io,circles:e2}=Px,te=s({primitives:[...Object.values(t2),...Object.values(e2),{...Sx.top1,anchor:"middle_right",x:0},{...Sx.bottom1,anchor:"middle_right",x:0}],ports:[{...Io.top1,labels:["1","drain"]},{...Io.bottom1,labels:["2","source"]},{...Io.left1,labels:["3","gate"]}],size:{width:K0.width,height:K0.height},center:{x:K0.centerX,y:K0.centerY}});var Rx=r(te),Fx=Rx.primitives.filter(t=>t.type==="text"),Bo=Fx.find(t=>t.text==="{VAL}");Bo.x=-.35;Bo.y=0;Bo.anchor="middle_right";var qo=Fx.find(t=>t.text==="{REF}");qo.y=0;qo.x=.35;qo.anchor="middle_left";var Tx=Rx;var Ex={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:o2,texts:Yx,bounds:ee,refblocks:Do,circles:i2}=Ex,re=s({primitives:[...Object.values(o2),...Object.values(i2),{...Yx.top1,anchor:"middle_right",x:0},{...Yx.bottom1,anchor:"middle_right",x:0}],ports:[{...Do.top1,labels:["1","drain"]},{...Do.bottom1,labels:["2","source"]},{...Do.left1,labels:["3","gate"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}});var Xx=r(re),Lx=Xx.primitives.filter(t=>t.type==="text"),Go=Lx.find(t=>t.text==="{VAL}");Go.x=-.35;Go.y=0;Go.anchor="middle_right";var Uo=Lx.find(t=>t.text==="{REF}");Uo.y=0;Uo.x=.35;Uo.anchor="middle_left";var Vx=Xx;var jx={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:p2,texts:kx,bounds:oe,refblocks:Wo,circles:a2}=jx,ie=s({primitives:[...Object.values(p2),...Object.values(a2),{...kx.top1,anchor:"middle_right",x:0},{...kx.bottom1,anchor:"middle_right",x:0}],ports:[{...Wo.top1,labels:["1","drain"]},{...Wo.bottom1,labels:["2","source"]},{...Wo.left1,labels:["3","gate"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}});var zx=r(ie),Ox=zx.primitives.filter(t=>t.type==="text"),Ho=Ox.find(t=>t.text==="{VAL}");Ho.x=-.35;Ho.y=0;Ho.anchor="middle_right";var Zo=Ox.find(t=>t.text==="{REF}");Zo.y=0;Zo.x=.35;Zo.anchor="middle_left";var Jx=zx;var $x={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}},texts:{},refblocks:{left1:{x:-.2,y:0}},bounds:{minX:-.19,maxX:.2,minY:-.12,maxY:.12,width:.39,height:.24,centerX:0,centerY:0},circles:{}};var{paths:s2,bounds:Mx,refblocks:x2}=$x,W=e({primitives:[...Object.values(s2)],ports:[{...x2.left1,labels:["1"]}],center:{x:Mx.centerX,y:Mx.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var Cx=r(W,"down");var Nx=r(W,"left");var Ix=r(W,"up");var E={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}}};var{paths:n2,texts:OP,bounds:le,refblocks:Qo,circles:f2}=E,Bx=e({primitives:[...Object.values(n2),...Object.values(f2),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...Qo.top1,labels:["1","collector"]},{...Qo.bottom1,labels:["3","emitter"]},{...Qo.left1,labels:["2","base"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:c2,texts:CP,bounds:pe,refblocks:Ko,circles:h2}=E,qx=e({primitives:[...Object.values(c2),...Object.values(h2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Ko.top1,labels:["1","collector"]},{...Ko.bottom1,labels:["3","emitter"]},{...Ko.left1,labels:["2","base"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:d2,texts:qP,bounds:ae,refblocks:ti,circles:b2}=E,Dx=e({primitives:[...Object.values(d2),...Object.values(b2),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["3","emitter"]},{...ti.left1,labels:["2","base"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:_2,texts:WP,bounds:ye,refblocks:ei,circles:g2}=E,Gx=e({primitives:[...Object.values(_2),...Object.values(g2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...ei.top1,labels:["1","collector"]},{...ei.bottom1,labels:["3","emitter"]},{...ei.left1,labels:["2","base"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:u2,texts:KP,bounds:se,refblocks:ri,circles:v2}=E,Ux=e({primitives:[...Object.values(u2),...Object.values(v2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ri.top1,labels:["1","collector"]},{...ri.bottom1,labels:["3","emitter"]},{...ri.left1,labels:["2","base"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:w2,texts:oS,bounds:xe,refblocks:oi,circles:A2}=E,Wx=e({primitives:[...Object.values(w2),...Object.values(A2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...oi.top1,labels:["1","collector"]},{...oi.bottom1,labels:["3","emitter"]},{...oi.left1,labels:["2","base"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Hx={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:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],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:-.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:{}};var H=e(Hx).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Zx=r(H,"down");var Qx=u(r(H,"left"));var Kx=r(H,"up");var tm={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:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,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:{}};var Z=e(tm).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();var em=r(Z,"down");var rm=u(r(Z,"left"));var om=r(Z,"up");var im={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:F2,texts:lm,bounds:me,refblocks:ii,circles:T2}=im,ne=s({primitives:[...Object.values(F2),...Object.values(T2),{...lm.top1,anchor:"middle_right",x:0},{...lm.bottom1,anchor:"middle_right",x:0}],ports:[{...ii.top1,labels:["1","drain"]},{...ii.bottom1,labels:["2","source"]},{...ii.left1,labels:["3","gate"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}});var pm=r(ne),am=pm.primitives.filter(t=>t.type==="text"),li=am.find(t=>t.text==="{VAL}");li.x=-.35;li.y=0;li.anchor="middle_right";var pi=am.find(t=>t.text==="{REF}");pi.y=0;pi.x=.35;pi.anchor="middle_left";var ym=pm;var sm={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:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:Y2,texts:xm,bounds:fe,refblocks:ai,circles:X2}=sm,ce=s({primitives:[...Object.values(Y2),...Object.values(X2),{...xm.top1,anchor:"middle_right",x:0},{...xm.bottom1,anchor:"middle_right",x:0}],ports:[{...ai.top1,labels:["1","drain"]},{...ai.bottom1,labels:["2","source"]},{...ai.left1,labels:["3","gate"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}});var mm=r(ce),nm=mm.primitives.filter(t=>t.type==="text"),yi=nm.find(t=>t.text==="{VAL}");yi.x=-.35;yi.y=0;yi.anchor="middle_right";var si=nm.find(t=>t.text==="{REF}");si.y=0;si.x=.35;si.anchor="middle_left";var fm=mm;var cm={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}}};var he=e(cm).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var hm=r(he),V2=hm.primitives.filter(t=>t.type==="text"),dm=V2.find(t=>t.text==="{REF}");dm.y=0;dm.anchor="middle_left";var bm=hm;var _m={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:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:k2,texts:gm,bounds:de,refblocks:xi,circles:z2}=_m,be=s({primitives:[...Object.values(k2),...Object.values(z2),{...gm.top1,anchor:"middle_right",x:0},{...gm.bottom1,anchor:"middle_right"}],ports:[{...xi.top1,labels:["1","drain"]},{...xi.bottom1,labels:["2","source"]},{...xi.left1,labels:["3","gate"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}});var um=r(be),vm=um.primitives.filter(t=>t.type==="text"),mi=vm.find(t=>t.text==="{VAL}");mi.x=-.35;mi.y=0;mi.anchor="middle_right";var ni=vm.find(t=>t.text==="{REF}");ni.y=0;ni.x=.35;ni.anchor="middle_left";var wm=um;var g={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}}};var{paths:J2,texts:yR,bounds:_e,refblocks:fi,circles:$2}=g,Am=e({primitives:[...Object.values(J2),...Object.values($2),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...fi.top1,labels:["1","collector"]},{...fi.bottom1,labels:["2","emitter"]},{...fi.left1,labels:["3","base"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:nR,texts:fR,bounds:cR,refblocks:hR,circles:dR}=g,Pm=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:M2,texts:uR,bounds:ge,refblocks:ci,circles:C2}=g,Sm=e({primitives:[...Object.values(M2),...Object.values(C2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ci.top1,labels:["1","collector"]},{...ci.bottom1,labels:["2","emitter"]},{...ci.left1,labels:["3","base"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:N2,texts:PR,bounds:ue,refblocks:hi,circles:I2}=g,Rm=e({primitives:[...Object.values(N2),...Object.values(I2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...hi.top1,labels:["1","collector"]},{...hi.bottom1,labels:["2","emitter"]},{...hi.left1,labels:["3","base"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:B2,texts:TR,bounds:ve,refblocks:di,circles:q2}=g,Fm=e({primitives:[...Object.values(B2),...Object.values(q2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...di.top1,labels:["1","collector"]},{...di.bottom1,labels:["2","emitter"]},{...di.left1,labels:["3","base"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:D2,texts:LR,bounds:we,refblocks:bi,circles:G2}=g,Tm=e({primitives:[...Object.values(D2),...Object.values(G2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...bi.top1,labels:["1","collector"]},{...bi.bottom1,labels:["2","emitter"]},{...bi.left1,labels:["3","base"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Em={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:{minX:-.55,maxX:.55,minY:-.55,maxY:.55,width:1.09,height:1.09,centerX:0,centerY:0},circles:{}};var{paths:W2,texts:Ym,bounds:Ae,refblocks:Xm}=Em,Pe=s({primitives:[...Object.values(W2),{...Ym.bottom1,y:.35,anchor:"middle_top"},{...Ym.top1,anchor:"middle_left"}],ports:[{...Xm.left1,labels:["1"]},{...Xm.right1,labels:["2"]}],size:{width:Ae.width+.05,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}});var H2=r(Pe),Lm=H2;var Vm={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},path24:{type:"path",points:[{x:.29,y:-.29},{x:.26,y:-.16},{x:.16,y:-.26},{x:.29,y:-.29}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.2,y:-.2}],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:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:Q2,texts:jm,bounds:Se,refblocks:km}=Vm,Q=s({primitives:[...Object.values(Q2),{...jm.bottom1,x:0,y:-.35,anchor:"middle_top"},{...jm.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...km.left1,labels:["1"]},{...km.right1,labels:["2"]}],size:{width:Se.width+.05,height:Se.height},center:{x:Se.centerX,y:Se.centerY}});var _i=r(Q,"down"),gi=_i.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ui=_i.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gi.anchor="middle_left";ui.anchor="middle_left";gi.y+=.31;gi.x=.34;ui.y-=.31;ui.x=.34;var zm=_i;var vi=r(Q,"left"),wi=vi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ai=vi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wi.anchor="middle_bottom";Ai.anchor="middle_top";wi.y+=.73;wi.x=0;Ai.y-=.7;Ai.x=0;var Om=vi;var Pi=r(Q,"up"),Si=Pi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ri=Pi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Si.anchor="middle_left";Ri.anchor="middle_left";Si.y+=.21;Si.x=.34;Ri.y-=.21;Ri.x=.34;var Jm=Pi;var K={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:{}};var{paths:td,texts:oF,bounds:Re,refblocks:Fi,circles:ed}=K,$m=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Fi.left,labels:["1"]},{...Fi.right,labels:["3"]},{...Fi.bottom,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:rd,texts:aF,bounds:Fe,refblocks:Ti,circles:od}=K,Mm=e({primitives:[...Object.values(rd),...Object.values(od),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Ti.left,labels:["1"]},{...Ti.right,labels:["3"]},{...Ti.bottom,labels:["2"]}],size:{width:Fe.width,height:Fe.height},center:{x:Fe.centerX,y:Fe.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Cm=e(K).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:id,texts:cF,bounds:Te,refblocks:Ei,circles:ld}=K,Nm=e({primitives:[...Object.values(id),...Object.values(ld),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Ei.left,labels:["1"]},{...Ei.right,labels:["3"]},{...Ei.bottom,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Im={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}},texts:{top1:{type:"text",text:"{REF}",x:-.16,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4},left1:{type:"text",text:"COS \u03C6",x:-.15,y:.01}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:ad,texts:gF,bounds:Ee,refblocks:Bm,circles:yd}=Im,Ye=s({primitives:[...Object.values(ad),...Object.values(yd),{type:"text",text:"{REF}",x:0,y:.43330070000000065,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.43330070000000065,anchor:"middle_top"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...Bm.left1,labels:["1"]},{...Bm.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}});var qm=r(Ye),Li=qm.primitives.filter(t=>t.type==="text"),Yi=Li.find(t=>t.text==="{REF}"),Vi=Li.find(t=>t.text==="{VAL}"),Xi=Li.find(t=>t.text==="COS \u03C6");Yi.x=.35;Yi.y=.4279000000000375,Yi.anchor="middle_left";Vi.anchor="middle_left";Vi.x=.35;Vi.y=-.4279000000000375,Xi.x=0;Xi.y=.014279000000000375,Xi.anchor="center";var Dm=qm;var Gm={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,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}}};var{paths:xd,texts:Um,bounds:Xe,refblocks:Wm,circles:md}=Gm,Le=s({primitives:[...Object.values(xd),...Object.values(md),{...Um.top1,anchor:"middle_left"},{...Um.bottom1,anchor:"middle_left"}],ports:[{...Wm.left1,labels:["1"]},{...Wm.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}});var Hm=r(Le,"up");var Ve={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:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,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}}};var{paths:fd,texts:Zm,bounds:je,refblocks:Qm,circles:cd}=Ve,X=s({primitives:[...Object.values(fd),...Object.values(cd),{...Zm.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...Zm.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Qm.left1,labels:["1"]},{...Qm.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}});var ji=r(X,"down"),ki=ji.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zi=ji.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ki.anchor="middle_bottom";zi.anchor="middle_top";ki.y=.4;ki.x=.35;zi.y=-.4;zi.x=.35;var Km=ji;var{paths:hd,texts:t1,bounds:ke,refblocks:e1,circles:dd}=Ve,r1=s({primitives:[...Object.values(hd),...Object.values(dd),{...t1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...t1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...e1.left1,labels:["1"]},{...e1.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}});var Oi=r(X,"left"),Ji=Oi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$i=Oi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ji.anchor="middle_bottom";$i.anchor="middle_top";Ji.y=.4;Ji.x=0;$i.y=-.4;$i.x=0;var o1=Oi;var Mi=r(X,"up"),Ci=Mi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ni=Mi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ci.anchor="middle_left";Ni.anchor="middle_left";Ci.y+=.4;Ci.x=.34;Ni.y-=.41;Ni.x=.34;var i1=Mi;var Ii=r(X,"up"),Bi=Ii.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qi=Ii.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Bi.anchor="middle_left";qi.anchor="middle_left";Bi.y+=.4;Bi.x=.34;qi.y-=.41;qi.x=.34;var l1=Ii;var tt={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}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:.09,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:_d,texts:KF,bounds:p1,refblocks:gd,circles:ud}=tt,a1=e({primitives:[...Object.values(_d),...Object.values(ud),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...gd.left1,labels:["1"]}],center:{x:p1.centerX,y:p1.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:vd,texts:oT,bounds:y1,refblocks:wd,circles:Ad}=tt,s1=e({primitives:[...Object.values(vd),...Object.values(Ad),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...wd.left1,labels:["1"]}],center:{x:y1.centerX,y:y1.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Pd,texts:aT,bounds:x1,refblocks:Sd,circles:Rd}=tt,m1=e({primitives:[...Object.values(Pd),...Object.values(Rd),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...Sd.left1,labels:["1"]}],center:{x:x1.centerX,y:x1.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Fd,texts:mT,bounds:n1,refblocks:Td}=tt,f1=e({primitives:[...Object.values(Fd),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...Td.left1,labels:["1"]}],center:{x:n1.centerX,y:n1.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var c1={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:{minX:-.55,maxX:.55,minY:-.56,maxY:.55,width:1.09,height:1.1,centerX:0,centerY:0},circles:{}};var{paths:Yd,texts:h1,bounds:ze,refblocks:Oe,circles:Xd}=c1,Je=s({primitives:[...Object.values(Yd),...Object.values(Xd),{...h1.top1,anchor:"middle_right"},{...h1.bottom1,anchor:"middle_right"}],ports:[{...Oe.top1,labels:["1"]},{...Oe.bottom1,labels:["2"]},{...Oe.left1,labels:["3"]},{...Oe.right1,labels:["4"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}});var Di=r(Je),Ld=Di.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vd=Di.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ld.anchor="middle_left";Vd.anchor="middle_right";var d1=Di;var et={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}},texts:{top1:{type:"text",text:"{REF}",x:-.05,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.04,y:-.42}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{minX:-.49,maxX:.49,minY:-.42,maxY:.42,width:.99,height:.84,centerX:0,centerY:0},circles:{}};var{paths:kd,texts:AT,bounds:$e,refblocks:b1,circles:zd}=et,_1=e({primitives:[...Object.values(kd),...Object.values(zd),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...b1.left1,labels:["1"]},{...b1.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Od,texts:FT,bounds:Me,refblocks:g1,circles:Jd}=et,u1=e({primitives:[...Object.values(Od),...Object.values(Jd),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...g1.left1,labels:["1"]},{...g1.right1,labels:["2"]}],size:{width:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:$d,texts:XT,bounds:Ce,refblocks:v1,circles:Md}=et,w1=e({primitives:[...Object.values($d),...Object.values(Md),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...v1.left1,labels:["1"]},{...v1.right1,labels:["2"]}],size:{width:Ce.width,height:Ce.height},center:{x:Ce.centerX,y:Ce.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Cd,texts:kT,bounds:Ne,refblocks:A1,circles:Nd}=et,P1=e({primitives:[...Object.values(Cd),...Object.values(Nd),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...A1.left1,labels:["1"]},{...A1.right1,labels:["2"]}],size:{width:Ne.width,height:Ne.height},center:{x:Ne.centerX,y:Ne.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ie={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:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:Bd,texts:S1,bounds:Be,refblocks:Gi,circles:qd}=Ie,rt=s({primitives:[...Object.values(Bd),...Object.values(qd),{...S1.top1,anchor:"middle_bottom"},{...S1.bottom1,anchor:"middle_top"}],ports:[{...Gi.left1,labels:["1"]},{...Gi.right1,labels:["2"]},{...Gi.right2,labels:["3"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var Ui=r(rt,"down"),Wi=Ui.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hi=Ui.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wi.anchor="middle_bottom";Hi.anchor="middle_top";Wi.y+=.3;Wi.x+=.101;Hi.y-=.49999;Hi.x+=1.19999;var R1=Ui;var{paths:Dd,texts:DT,bounds:qe,refblocks:Zi,circles:Gd}=Ie,De=s({primitives:[...Object.values(Dd),...Object.values(Gd),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Zi.left1,labels:["1"]},{...Zi.right1,labels:["2"]},{...Zi.right2,labels:["3"]}],size:{width:qe.width,height:qe.height},center:{x:qe.centerX,y:qe.centerY}});var Qi=r(rt,"left"),Ki=Qi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tl=Qi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ki.anchor="middle_bottom";tl.anchor="middle_top";Ki.y+=.99;Ki.x-=0;tl.y-=1.10999;tl.x=0;var F1=Qi;var el=r(rt,"up"),rl=el.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ol=el.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rl.anchor="middle_bottom";ol.anchor="middle_top";rl.y+=.499;rl.x=.62;ol.y-=.29999;ol.x+=.1;var T1=el;var E1=r(De);var Y1={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:{}};var ot=e(Y1).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var il=r(ot,"down"),ll=il.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pl=il.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ll.anchor="middle_left";pl.anchor="middle_left";ll.y+=.3;ll.x=.3;pl.y-=.3;pl.x=.3;var X1=il;var al=r(ot,"left"),yl=al.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sl=al.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yl.anchor="middle_bottom";sl.anchor="middle_top";yl.y+=.5;yl.x=0;sl.y-=.55;sl.x=0;var L1=al;var xl=r(ot,"up"),ml=xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),nl=xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ml.anchor="middle_left";nl.anchor="middle_left";ml.y+=.3;ml.x=.3;nl.y-=.3;nl.x=.3;var V1=xl;var fl={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:{}};var{paths:gE,texts:uE,bounds:vE,refblocks:wE,circles:AE}=fl,Ge=e(fl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var j1=r(Ge),Hd=j1.primitives.filter(t=>t.type==="text"),k1=Hd.find(t=>t.text==="{REF}");k1.y=0;k1.anchor="middle_left";var z1=j1;var Ue={paths:{path44:{type:"path",points:[{x:-.18117559999999955,y:-.025908000000000264},{x:-.4408346999999999,y:-.025908000000000264}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44036239999999993,y:-.024193299999999418},{x:.1820955000000004,y:-.024193299999999418}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.06701930000000034,y:-.024201099999999753},{x:-.06611399999999956,y:-.024201099999999753}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.0689196000000003,y:.10123170000000048},{x:.0689196000000003,y:-.15075489999999903}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.06809120000000002,y:.1013280000000003},{x:-.06809120000000002,y:-.15065859999999898}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07273700000000005,y:-.15401969999999987},{x:-.07273700000000005,y:-.15401969999999987},{x:-.0883637452185186,y:-.1455928476925925},{x:-.10242134708148157,y:-.13685699620740738},{x:-.11496246490000012,y:-.1278441337},{x:-.12603975798518532,y:-.11858624832592597},{x:-.13570588564814828,y:-.10911532824074079},{x:-.14401350720000017,y:-.09946336160000008},{x:-.15101528195185202,y:-.08966233655925933},{x:-.15676386921481505,y:-.07974424127407413},{x:-.16131192830000016,y:-.06974106390000002},{x:-.16471211851851875,y:-.05968479259259264},{x:-.16701709918148167,y:-.04960741550740742},{x:-.16827952960000025,y:-.03954092080000003},{x:-.16855206908518539,y:-.029517296625925914},{x:-.16788737694814843,y:-.01956853114074074},{x:-.16633811250000025,y:-.009726612499999964},{x:-.16395693505185213,y:-2352885925920034e-20},{x:-.16079650391481512,y:.009508731625925994},{x:-.15690947840000036,y:.018838180800000083},{x:-.15234851781851885,y:.0279328305074075},{x:-.14716628148148186,y:.03676069259259269},{x:-.14141542870000037,y:.04528977890000009},{x:-.13514861878518558,y:.053488101274074155},{x:-.12841851104814855,y:.06132367155925933},{x:-.12127776480000044,y:.06876450160000006},{x:-.11377903935185232,y:.07577860324074076},{x:-.1059749940148153,y:.08233398832592591},{x:-.09791828810000051,y:.08839866869999995},{x:-.08966158091851906,y:.0939406562074073},{x:-.08125753178148204,y:.09892796269259241},{x:-.0727588000000006,y:.10332859999999976},{x:-.07275880000000057,y:.10332859999999977}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07349080000000119,y:-.15414649999999952},{x:.07349080000000119,y:-.15414649999999952},{x:.08911754521851972,y:-.14571964769259216},{x:.1031751470814827,y:-.13698379620740703},{x:.11571626490000125,y:-.12797093369999965},{x:.12679355798518643,y:-.11871304832592562},{x:.13645968564814942,y:-.10924212824074045},{x:.1447673072000013,y:-.09959016159999971},{x:.15176908195185318,y:-.08978913655925898},{x:.15751766921481616,y:-.0798710412740738},{x:.1620657283000013,y:-.06986786389999967},{x:.16546591851851983,y:-.0598115925925923},{x:.16777089918148277,y:-.04973421550740708},{x:.1690333296000014,y:-.03966772079999968},{x:.1693058690851865,y:-.029644096625925563},{x:.16864117694814956,y:-.01969533114074039},{x:.16709191250000135,y:-.009853412499999614},{x:.16471073505185324,y:-.00015032885925885323},{x:.1615503039148162,y:.009381931625926349},{x:.15766327840000144,y:.018711380800000437},{x:.15310231781851993,y:.027806030507407847},{x:.1479200814814829,y:.03663389259259304},{x:.14216922870000145,y:.04516297890000044},{x:.13590241878518663,y:.053361301274074506},{x:.1291723110481496,y:.061196871559259694},{x:.12203156480000146,y:.0686377016000004},{x:.11453283935185332,y:.07565180324074111},{x:.1067287940148163,y:.08220718832592627},{x:.09867208810000148,y:.0882718687000003},{x:.09041538091852001,y:.09381385620740765},{x:.08201133178148297,y:.09880116269259277},{x:.07351260000000151,y:.10320180000000011},{x:.07351260000000148,y:.10320180000000012}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.4458008,y:-.025023700000000426},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.15414649999999952,maxY:.15414649999999952,width:.947918482,height:.30829299999999904,centerX:0,centerY:0},circles:{}};var O1=e(Ue).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var vt=e(Ue).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var J1=r(vt,"left"),cl=J1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");cl.anchor="middle_bottom";cl.y+=.4;cl.x=0;var $1=J1;var M1=r(vt,"up"),hl=M1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");hl.anchor="middle_left";hl.y+=0;hl.x=.2;var C1=M1;var it={paths:{path44:{type:"path",points:[{x:-.18117559999999955,y:-.025908000000000264},{x:-.45,y:-.025908000000000264}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44036239999999993,y:-.024193299999999418},{x:.1820955000000004,y:-.024193299999999418}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.0689196000000003,y:.10123170000000048},{x:.0689196000000003,y:-.15075489999999903}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.06809120000000002,y:.1013280000000003},{x:-.06809120000000002,y:-.15065859999999898}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07273700000000005,y:-.15401969999999987},{x:-.07273700000000005,y:-.15401969999999987},{x:-.0883637452185186,y:-.1455928476925925},{x:-.10242134708148157,y:-.13685699620740738},{x:-.11496246490000012,y:-.1278441337},{x:-.12603975798518532,y:-.11858624832592597},{x:-.13570588564814828,y:-.10911532824074079},{x:-.14401350720000017,y:-.09946336160000008},{x:-.15101528195185202,y:-.08966233655925933},{x:-.15676386921481505,y:-.07974424127407413},{x:-.16131192830000016,y:-.06974106390000002},{x:-.16471211851851875,y:-.05968479259259264},{x:-.16701709918148167,y:-.04960741550740742},{x:-.16827952960000025,y:-.03954092080000003},{x:-.16855206908518539,y:-.029517296625925914},{x:-.16788737694814843,y:-.01956853114074074},{x:-.16633811250000025,y:-.009726612499999964},{x:-.16395693505185213,y:-2352885925920034e-20},{x:-.16079650391481512,y:.009508731625925994},{x:-.15690947840000036,y:.018838180800000083},{x:-.15234851781851885,y:.0279328305074075},{x:-.14716628148148186,y:.03676069259259269},{x:-.14141542870000037,y:.04528977890000009},{x:-.13514861878518558,y:.053488101274074155},{x:-.12841851104814855,y:.06132367155925933},{x:-.12127776480000044,y:.06876450160000006},{x:-.11377903935185232,y:.07577860324074076},{x:-.1059749940148153,y:.08233398832592591},{x:-.09791828810000051,y:.08839866869999995},{x:-.08966158091851906,y:.0939406562074073},{x:-.08125753178148204,y:.09892796269259241},{x:-.0727588000000006,y:.10332859999999976},{x:-.07275880000000057,y:.10332859999999977}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07349080000000119,y:-.15414649999999952},{x:.07349080000000119,y:-.15414649999999952},{x:.08911754521851972,y:-.14571964769259216},{x:.1031751470814827,y:-.13698379620740703},{x:.11571626490000125,y:-.12797093369999965},{x:.12679355798518643,y:-.11871304832592562},{x:.13645968564814942,y:-.10924212824074045},{x:.1447673072000013,y:-.09959016159999971},{x:.15176908195185318,y:-.08978913655925898},{x:.15751766921481616,y:-.0798710412740738},{x:.1620657283000013,y:-.06986786389999967},{x:.16546591851851983,y:-.0598115925925923},{x:.16777089918148277,y:-.04973421550740708},{x:.1690333296000014,y:-.03966772079999968},{x:.1693058690851865,y:-.029644096625925563},{x:.16864117694814956,y:-.01969533114074039},{x:.16709191250000135,y:-.009853412499999614},{x:.16471073505185324,y:-.00015032885925885323},{x:.1615503039148162,y:.009381931625926349},{x:.15766327840000144,y:.018711380800000437},{x:.15310231781851993,y:.027806030507407847},{x:.1479200814814829,y:.03663389259259304},{x:.14216922870000145,y:.04516297890000044},{x:.13590241878518663,y:.053361301274074506},{x:.1291723110481496,y:.061196871559259694},{x:.12203156480000146,y:.0686377016000004},{x:.11453283935185332,y:.07565180324074111},{x:.1067287940148163,y:.08220718832592627},{x:.09867208810000148,y:.0882718687000003},{x:.09041538091852001,y:.09381385620740765},{x:.08201133178148297,y:.09880116269259277},{x:.07351260000000151,y:.10320180000000011},{x:.07351260000000148,y:.10320180000000012}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.44,y:-.02},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.15414649999999952,maxY:.15414649999999952,width:.947918482,height:.30829299999999904,centerX:0,centerY:0},circles:{}};var N1=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var I1=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var B1=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var q1=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var We={paths:{path44:{type:"path",points:[{x:-.2201434999999996,y:.10070297049999977},{x:-.4423810999999995,y:.10070297049999977}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.4419198000000002,y:.10241767050000061},{x:.2202255999999998,y:.10241767050000061}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:-.002608399999999067,y:-.026941129499999494},{x:-.002608399999999067,y:-.2491787294999992}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12018260000000036,y:.2278426705000005},{x:.12018260000000036,y:-.024143929499998995}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04308860000000081,y:.22353577050000006},{x:.04308860000000081,y:-.019988129499999507}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.04643790000000014,y:.22381407049999957},{x:-.04643790000000014,y:-.01941752950000053}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.041140400000001076,y:.22426507050000066},{x:-.04564229999999947,y:.22426507050000066}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.040946200000001154,y:-.020314929500000023},{x:-.04528299999999841,y:-.020314929500000023}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12100790000000017,y:.22793897050000034},{x:-.12100790000000017,y:-.024047629499998946}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.1256537000000002,y:-.02740872949999984},{x:-.1256537000000002,y:-.02740872949999984},{x:-.1412804452185187,y:-.01898187719259248},{x:-.15533804708148174,y:-.01024602570740734},{x:-.16787916490000027,y:-.0012331631999999643},{x:-.17895645798518547,y:.008024722174074087},{x:-.18862258564814843,y:.017495642259259248},{x:-.19693020720000035,y:.027147608899999988},{x:-.2039319819518522,y:.036948633940740716},{x:-.20968056921481518,y:.04686672922592592},{x:-.21422862830000028,y:.056869906599999985},{x:-.21762881851851887,y:.0669261779074074},{x:-.2199337991814818,y:.07700355499259258},{x:-.22119622960000043,y:.08707004970000001},{x:-.2214687690851855,y:.0970936738740741},{x:-.2208040769481486,y:.10704243935925932},{x:-.21925481250000037,y:.11688435800000004},{x:-.21687363505185228,y:.12658744164074084},{x:-.21371320391481524,y:.136119702125926},{x:-.20982617840000045,y:.14544915130000013},{x:-.20526521781851897,y:.15454380100740753},{x:-.2000829814814819,y:.1633716630925927},{x:-.19433212870000044,y:.1719007494000001},{x:-.18806531878518568,y:.1800990717740742},{x:-.18133521104814862,y:.18793464205925936},{x:-.1741944648000005,y:.1953754721000001},{x:-.16669573935185233,y:.2023895737407408},{x:-.1588916940148153,y:.20894495882592595},{x:-.1508349881000005,y:.2150096392},{x:-.14257828091851904,y:.22055162670740733},{x:-.134174231781482,y:.22553893319259244},{x:-.12567550000000052,y:.22993957049999977},{x:-.1256755000000005,y:.2299395704999998}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12475379999999991,y:-.02753552949999949},{x:.12475379999999991,y:-.02753552949999949},{x:.14038054521851845,y:-.01910867719259213},{x:.15443814708148143,y:-.010372825707406991},{x:.16697926489999995,y:-.0013599631999996126},{x:.17805655798518522,y:.007897922174074437},{x:.18772268564814815,y:.0173688422592596},{x:.19603030720000003,y:.027020808900000335},{x:.2030320819518519,y:.036821833940741074},{x:.20878066921481492,y:.04673992922592627},{x:.2133287283,y:.056743106600000336},{x:.21672891851851858,y:.06679937790740775},{x:.2190338991814815,y:.07687675499259294},{x:.22029632960000012,y:.08694324970000036},{x:.2205688690851852,y:.09696687387407443},{x:.2199041769481483,y:.10691563935925966},{x:.21835491250000008,y:.11675755800000039},{x:.215973735051852,y:.12646064164074117},{x:.21281330391481496,y:.13599290212592638},{x:.20892627840000016,y:.14532235130000049},{x:.20436531781851866,y:.15441700100740788},{x:.19918308148148162,y:.16324486309259306},{x:.19343222870000015,y:.17177394940000046},{x:.18716541878518536,y:.17997227177407454},{x:.18043531104814833,y:.1878078420592597},{x:.1732945648000002,y:.19524867210000044},{x:.16579583935185205,y:.20226277374074114},{x:.157991794014815,y:.2088181588259263},{x:.1499350881000002,y:.21488283920000034},{x:.14167838091851875,y:.2204248267074077},{x:.1332743317814817,y:.2254121331925928},{x:.12477560000000024,y:.22981277050000012},{x:.12477560000000021,y:.22981277050000015}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{bottom1:{x:-.0034928000000000736,y:-.25259902949999957},left1:{x:-.4458008,y:.1015872704999996},right1:{x:.4458008,y:.10146287049999958}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.28075747049999955,maxY:.28075747049999955,width:.947918482,height:.5615149409999991,centerX:0,centerY:0},circles:{}};var D1=e(We).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var wt=e(We).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var G1=r(wt,"left"),dl=G1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");dl.anchor="middle_left";dl.y+=.5;dl.x=.2;var U1=G1;var W1=r(wt,"up"),bl=W1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");bl.anchor="middle_left";bl.y+=.3;bl.x=.2;var H1=W1;var lt={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:{}};var Z1=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Q1=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var K1=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var tn=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pt={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:{}};var en=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var rn=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var on=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var ln=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var at={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:{}};var pn=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var an=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var yn=e(at).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var sn=e(at).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var xn={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}}};var yt=e(xn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var _l=r(yt,"down"),gl=_l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ul=_l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gl.anchor="middle_bottom";ul.anchor="middle_top";gl.x=.44;gl.y+=.28;ul.y-=.28;ul.x=.44;var mn=_l;var vl=r(yt,"left"),wl=vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wl.anchor="middle_bottom";Al.anchor="middle_top";wl.x=0;wl.y+=.625;Al.y-=.695;Al.x=0;var nn=vl;var Pl=r(yt,"up"),Sl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sl.anchor="middle_bottom";Rl.anchor="middle_top";Sl.x=.4;Sl.y+=.28;Rl.y-=.28;Rl.x=.4;var fn=Pl;var cn={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}}};var st=e(cn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Fl=r(st,"down"),Tl=Fl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),El=Fl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tl.anchor="middle_bottom";El.anchor="middle_top";Tl.x=.44;Tl.y+=.28;El.y-=.28;El.x=.44;var hn=Fl;var Yl=r(st,"left"),Xl=Yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ll=Yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xl.anchor="middle_bottom";Ll.anchor="middle_top";Xl.x=0;Xl.y+=.625;Ll.y-=.695;Ll.x=0;var dn=Yl;var Vl=r(st,"up"),jl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jl.anchor="middle_bottom";kl.anchor="middle_top";jl.x=.4;jl.y+=.28;kl.y-=.28;kl.x=.4;var bn=Vl;var Vt={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 Vt.refblocks.left1;delete Vt.refblocks.right1;Vt.bounds.width+=.2;var xt=e(Vt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var zl=r(xt,"down"),Ol=zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_bottom";Jl.anchor="middle_top";Ol.x=.3;Ol.y+=.265;Jl.y-=.265;Jl.x=.3;var _n=zl;var $l=r(xt,"left"),Ml=$l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cl=$l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ml.anchor="middle_bottom";Cl.anchor="middle_top";Ml.x=0;Ml.y+=.57;Cl.y-=.57;Cl.x=0;var gn=$l;var Nl=r(xt,"up"),Il=Nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bl=Nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Bl.anchor="middle_top";Il.x=.3;Il.y+=.265;Bl.y-=.265;Bl.x=.3;var un=Nl;var jt={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 jt.refblocks.left1;delete jt.refblocks.right1;jt.bounds.width+=.2;var mt=e(jt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ql=r(mt,"down"),Dl=ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gl=ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dl.anchor="middle_bottom";Gl.anchor="middle_top";Dl.x=.3;Dl.y+=.265;Gl.y-=.265;Gl.x=.3;var vn=ql;var Ul=r(mt,"left"),Wl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wl.anchor="middle_bottom";Hl.anchor="middle_top";Wl.x=0;Wl.y+=.57;Hl.y-=.57;Hl.x=0;var wn=Ul;var Zl=r(mt,"up"),Ql=Zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Kl=Zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ql.anchor="middle_bottom";Kl.anchor="middle_top";Ql.x=.3;Ql.y+=.265;Kl.y-=.265;Kl.x=.3;var An=Zl;var nt={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:{}};var Pn=e(nt).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();var Sn=e(nt).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();var Rn=e(nt).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Fn=e(nt).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();var tp={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:{}};var{paths:nL,texts:fL,bounds:cL,refblocks:hL,circles:dL}=tp,He=e(tp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Tn=r(He);var En={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:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:x5,texts:m5,bounds:Ze,refblocks:Yn,circles:n5}=En,kt=s({primitives:[...Object.values(x5),...Object.values(n5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...m5.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...Yn.left1,labels:["1"]},{...Yn.right1,labels:["2"]}],size:{width:Ze.width,height:Ze.height},center:{x:Ze.centerX,y:Ze.centerY}});var{5:f5,...c5}=kt.primitives;function h5(t){return typeof t=="object"}var Xn=r({...kt,primitives:Object.values(c5).filter(h5)}),Ln={...Xn,primitives:[...Xn.primitives,f5]};var ft=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),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}});var jn=r(ft,"down"),Vn=jn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Vn&&(Vn.anchor="middle_top");var kn=jn;var zn=r(ft,"left");var Jn=r(ft,"up"),On=Jn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");On&&(On.anchor="middle_bottom");var $n=Jn;var Mn={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:{}};var At=e(Mn).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ep=r(At,"up"),rp=ep.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),op=ep.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rp.anchor="middle_bottom";op.anchor="middle_top";rp.x=.4;rp.y+=.2;op.y-=.3;op.x=.4;var Qe=ep;var ip=u(Qe),lp=ip.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pp=ip.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");lp.anchor="middle_bottom";pp.anchor="middle_top";lp.x=.35;lp.y+=.4;pp.y-=.4;pp.x=.35;var Cn=ip;var ap=r(At,"left"),yp=ap.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sp=ap.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yp.anchor="middle_bottom";sp.anchor="middle_top";yp.x=0;yp.y+=.5;sp.y-=.6;sp.x=0;var Nn=ap;var xp={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}}};var{paths:eV,texts:rV,bounds:oV,refblocks:iV,circles:lV}=xp,Ke=e(xp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var In=r(Ke),Bn=In.primitives.filter(t=>t.type==="text"),_5=Bn.find(t=>t.text==="{REF}"),g5=Bn.find(t=>t.text==="{VAL}");_5.y=0;g5.y=0;var qn=In;var Dn={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:v5,texts:Gn,bounds:tr,refblocks:Un,circles:w5}=Dn,er=s({primitives:[...Object.values(v5),...Object.values(w5),{...Gn.top1,anchor:"middle_bottom"},{...Gn.bottom1,anchor:"middle_top"}],ports:[{...Un.left1,labels:["1"]},{...Un.right1,labels:["2"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}});var mp=r(er),A5=mp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),P5=mp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");A5.anchor="middle_left";P5.anchor="middle_right";var Wn=mp;var Hn={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:{minX:-.37,maxX:.37,minY:-.42,maxY:.42,width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}};var{paths:R5,texts:Zn,bounds:rr,refblocks:np,circles:F5}=Hn,or=s({primitives:[...Object.values(R5),...Object.values(F5),{...Zn.top1,anchor:"middle_left"},{...Zn.bottom1,anchor:"middle_right"}],ports:[{...np.top1,labels:["1"]},{...np.bottom1,labels:["2"]},{...np.left1,labels:["3"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}});var Qn=r(or),Kn=Qn.primitives.filter(t=>t.type==="text"),T5=Kn.find(t=>t.text==="{REF}");T5.y=.1;var tf=Kn.find(t=>t.text==="{VAL}");tf.y=.1;tf.x=-.4;var ef=Qn;var rf={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}};var of=e(rf).changeTextAnchor("{REF}","middle_bottom").build();var lf={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:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:X5,texts:fp,bounds:ir,refblocks:pf,circles:L5}=lf,lr=s({primitives:[...Object.values(X5),...Object.values(L5),{...fp.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...fp.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...fp.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...pf.left1,labels:["1"]},{...pf.right1,labels:["2"]}],size:{width:ir.width,height:ir.height},center:{x:ir.centerX,y:ir.centerY}});var af=r(lr);var yf={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:j5,texts:sf,bounds:pr,refblocks:xf,circles:k5}=yf,ar=s({primitives:[...Object.values(j5),...Object.values(k5),{...sf.top1,anchor:"middle_bottom"},{...sf.bottom1,anchor:"middle_top"}],ports:[{...xf.left1,labels:["1"]},{...xf.right1,labels:["2"]}],size:{width:pr.width,height:pr.height},center:{x:pr.centerX,y:pr.centerY}});var cp=r(ar),z5=cp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),O5=cp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");z5.anchor="middle_left";O5.anchor="middle_right";var mf=cp;var nf={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:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:$5,texts:ff,bounds:yr,refblocks:cf}=nf,sr=s({primitives:[...Object.values($5),{...ff.top1,anchor:"middle_left"},{...ff.bottom1,anchor:"middle_right"}],ports:[{...cf.left1,labels:["1","-"]},{...cf.right1,labels:["2","+"]}],size:{width:yr.width,height:yr.height},center:{x:yr.centerX,y:yr.centerY}});var hf=r(sr);var df={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:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:C5,texts:N5,bounds:xr,refblocks:bf,circles:I5}=df,zt=s({primitives:[...Object.values(C5),...Object.values(I5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...N5.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...bf.left1,labels:["1"]},{...bf.right1,labels:["2"]}],size:{width:xr.width,height:xr.height},center:{x:xr.centerX,y:xr.centerY}});var{5:B5,...q5}=zt.primitives;function D5(t){return typeof t=="object"}var _f=r({...zt,primitives:Object.values(q5).filter(D5)}),gf={..._f,primitives:[..._f.primitives,B5]};var ct={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 L(t,o){let{width:i,height:l}=t.size,a=1,y=1;o.width!==void 0&&o.height!==void 0?(a=o.width/i,y=o.height/l):o.width!==void 0?a=y=o.width/i:o.height!==void 0&&(a=y=o.height/l);let n=t.primitives.map(m=>{switch(m.type){case"path":return{...m,points:m.points.map(h=>({x:h.x*a,y:h.y*y}))};case"text":return{...m,x:m.x*a,y:m.y*y,fontSize:m.fontSize?m.fontSize*a:void 0};case"circle":return{...m,x:m.x*a,y:m.y*y,radius:m.radius*a};case"box":return{...m,x:m.x*a,y:m.y*y,width:m.width*a,height:m.height*y};default:return m}});return{...t,primitives:n,center:{x:t.center.x*a,y:t.center.y*y},ports:t.ports.map(m=>({...m,x:m.x*a,y:m.y*y})),size:{width:i*a,height:l*y}}}var U5=e(ct).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),uf=L(U5,{width:.24,height:.23});var W5=e(ct).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),vf=L(W5,{width:.23,height:.24});var H5=e(ct).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),wf=L(H5,{width:.23,height:.24});var Z5=e(ct).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Af=L(Z5,{width:.24,height:.23});var hp={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}}};var{paths:Aj,texts:Pj,bounds:Sj,circles:Rj,refblocks:Fj}=hp,mr=e(hp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Pf=r(mr);var Sf={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:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:t4,texts:e4,bounds:nr,refblocks:Rf,circles:r4}=Sf,Ot=s({primitives:[...Object.values(t4),...Object.values(r4),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...e4.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...Rf.left1,labels:["1"]},{...Rf.right1,labels:["2"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}});var{5:o4,...i4}=Ot.primitives;function l4(t){return typeof t=="object"}var Ff=r({...Ot,primitives:Object.values(i4).filter(l4)}),Tf={...Ff,primitives:[...Ff.primitives,o4]};var Ef={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:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:a4,texts:y4,bounds:fr,refblocks:Yf,circles:s4}=Ef,Jt=s({primitives:[...Object.values(a4),...Object.values(s4),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...y4.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...Yf.left1,labels:["1"]},{...Yf.right1,labels:["2"]}],size:{width:fr.width,height:fr.height},center:{x:fr.centerX,y:fr.centerY}});var{5:x4,...m4}=Jt.primitives;function n4(t){return typeof t=="object"}var Xf=r({...Jt,primitives:Object.values(m4).filter(n4)}),Lf={...Xf,primitives:[...Xf.primitives,x4]};var Vf={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:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:c4,texts:jf,bounds:cr,refblocks:kf,circles:h4}=Vf,hr=s({primitives:[...Object.values(c4),...Object.values(h4),{...jf.top1,anchor:"middle_bottom"},{...jf.bottom1,anchor:"middle_top"}],ports:[{...kf.left1,labels:["1"]},{...kf.right1,labels:["2"]}],size:{width:cr.width,height:cr.height},center:{x:cr.centerX,y:cr.centerY}});var dp=r(hr),d4=dp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),b4=dp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");d4.anchor="middle_left";b4.anchor="middle_right";var zf=dp;var Of={ac_voltmeter_down:wp,ac_voltmeter_horz:Pp,ac_voltmeter_left:Rp,ac_voltmeter_right:Tp,ac_voltmeter_up:Yp,ac_voltmeter_vert:Lp,avalanche_diode_down:jp,avalanche_diode_horz:kp,avalanche_diode_left:Op,avalanche_diode_right:Jp,avalanche_diode_up:Mp,avalanche_diode_vert:Np,backward_diode_down:Bp,backward_diode_left:Kt,backward_diode_right:Gp,backward_diode_up:Up,battery_horz:r0,battery_vert:Qp,boxresistor_down:ea,boxresistor_left:ia,boxresistor_right:aa,boxresistor_small_down:sa,boxresistor_small_left:ma,boxresistor_small_right:fa,boxresistor_small_up:ha,boxresistor_up:_a,bridged_ground_down:va,bridged_ground_left:Pa,bridged_ground_right:a0,bridged_ground_up:Fa,capacitor_down:Ea,capacitor_left:Ya,capacitor_polarized_down:Xa,capacitor_polarized_left:La,capacitor_polarized_right:Va,capacitor_polarized_up:ja,capacitor_right:ka,capacitor_up:Oa,constant_current_diode_down:$a,constant_current_diode_horz:Ma,constant_current_diode_left:Na,constant_current_diode_right:Ia,constant_current_diode_up:qa,constant_current_diode_vert:Ga,crystal_4pin_down:Ua,crystal_4pin_left:Wa,crystal_4pin_right:Ha,crystal_4pin_up:Za,crystal_down:Ka,crystal_left:ty,crystal_right:ey,crystal_up:oy,current_source_down:iy,current_source_left:ly,current_source_right:py,current_source_up:ay,darlington_pair_transistor_down:yy,darlington_pair_transistor_horz:sy,darlington_pair_transistor_left:xy,darlington_pair_transistor_right:my,darlington_pair_transistor_up:ny,darlington_pair_transistor_vert:fy,dc_ammeter_horz:Et,dc_ammeter_vert:by,dc_voltmeter_down:gy,dc_voltmeter_horz:vy,dc_voltmeter_left:Ay,dc_voltmeter_right:Sy,dc_voltmeter_up:Fy,dc_voltmeter_vert:Ey,diac_down:Yy,diac_horz:Xy,diac_left:Ly,diac_right:Vy,diac_up:jy,diac_vert:ky,digital_ground_down:Oy,digital_ground_left:$y,digital_ground_right:Cy,digital_ground_up:Iy,diode_down:qy,diode_left:Dy,diode_right:N,diode_up:Gy,dpdt_normally_closed_switch_down:Wy,dpdt_normally_closed_switch_left:Hy,dpdt_normally_closed_switch_right:I,dpdt_normally_closed_switch_up:Zy,dpdt_switch_down:Ky,dpdt_switch_left:ts,dpdt_switch_right:B,dpdt_switch_up:es,dpst_normally_closed_switch_down:os,dpst_normally_closed_switch_left:is,dpst_normally_closed_switch_right:q,dpst_normally_closed_switch_up:ls,dpst_switch_down:as,dpst_switch_left:ys,dpst_switch_right:D,dpst_switch_up:ss,ferrite_bead_down:ms,ferrite_bead_left:ns,ferrite_bead_right:Y0,ferrite_bead_up:E0,filled_diode_down:cs,filled_diode_horz:ds,filled_diode_left:_s,filled_diode_right:us,filled_diode_up:ws,filled_diode_vert:Ps,frequency_meter_horz:Yt,frequency_meter_vert:Ts,fuse_horz:$0,fuse_vert:Xs,ground_down:Ls,ground_horz:Vs,ground_left:js,ground_right:ks,ground_up:zs,ground_vert:Os,gunn_diode_horz:Js,gunn_diode_vert:$s,icled_down:Cs,icled_left:Ns,icled_right:G,icled_up:Is,igbt_transistor_horz:M0,igbt_transistor_vert:Ds,illuminated_push_button_normally_open_horz:C0,illuminated_push_button_normally_open_vert:Hs,inductor_down:tx,inductor_left:ex,inductor_right:gt,inductor_up:I0,laser_diode_down:rx,laser_diode_left:ox,laser_diode_right:U,laser_diode_up:ix,led_down:yx,led_left:sx,led_right:ut,led_up:q0,light_dependent_resistor_horz:G0,light_dependent_resistor_vert:hx,mosfet_depletion_normally_on_horz:W0,mosfet_depletion_normally_on_vert:gx,mushroom_head_normally_open_momentary_horz:Z0,mushroom_head_normally_open_momentary_vert:Ax,n_channel_d_mosfet_transistor_horz:te,n_channel_d_mosfet_transistor_vert:Tx,n_channel_e_mosfet_transistor_horz:re,n_channel_e_mosfet_transistor_vert:Vx,njfet_transistor_horz:ie,njfet_transistor_vert:Jx,not_connected_down:Cx,not_connected_left:Nx,not_connected_right:W,not_connected_up:Ix,npn_bipolar_transistor_down:Bx,npn_bipolar_transistor_horz:qx,npn_bipolar_transistor_left:Dx,npn_bipolar_transistor_right:Gx,npn_bipolar_transistor_up:Ux,npn_bipolar_transistor_vert:Wx,opamp_no_power_down:Zx,opamp_no_power_left:Qx,opamp_no_power_right:H,opamp_no_power_up:Kx,opamp_with_power_down:em,opamp_with_power_left:rm,opamp_with_power_right:Z,opamp_with_power_up:om,p_channel_d_mosfet_transistor_horz:ne,p_channel_d_mosfet_transistor_vert:ym,p_channel_e_mosfet_transistor_horz:ce,p_channel_e_mosfet_transistor_vert:fm,photodiode_horz:he,photodiode_vert:bm,pjfet_transistor_horz:be,pjfet_transistor_vert:wm,pnp_bipolar_transistor_down:Am,pnp_bipolar_transistor_horz:Pm,pnp_bipolar_transistor_left:Sm,pnp_bipolar_transistor_right:Rm,pnp_bipolar_transistor_up:Fm,pnp_bipolar_transistor_vert:Tm,potentiometer_horz:Pe,potentiometer_vert:Lm,potentiometer2_down:zm,potentiometer2_left:Om,potentiometer2_right:Q,potentiometer2_up:Jm,potentiometer3_down:$m,potentiometer3_left:Mm,potentiometer3_right:Cm,potentiometer3_up:Nm,power_factor_meter_horz:Ye,power_factor_meter_vert:Dm,push_button_normally_closed_momentary_horz:Le,push_button_normally_closed_momentary_vert:Hm,push_button_normally_open_momentary_down:Km,push_button_normally_open_momentary_horz:r1,push_button_normally_open_momentary_left:o1,push_button_normally_open_momentary_right:X,push_button_normally_open_momentary_up:i1,push_button_normally_open_momentary_vert:l1,rail_down:a1,rail_left:s1,rail_right:m1,rail_up:f1,rectifier_diode_horz:Je,rectifier_diode_vert:d1,resistor_down:_1,resistor_left:u1,resistor_right:w1,resistor_up:P1,resonator_down:R1,resonator_horz:De,resonator_left:F1,resonator_right:rt,resonator_up:T1,resonator_vert:E1,schottky_diode_down:X1,schottky_diode_left:L1,schottky_diode_right:ot,schottky_diode_up:V1,silicon_controlled_rectifier_horz:Ge,silicon_controlled_rectifier_vert:z1,solderjumper2_bridged12_down:O1,solderjumper2_bridged12_left:$1,solderjumper2_bridged12_right:vt,solderjumper2_bridged12_up:C1,solderjumper2_down:N1,solderjumper2_left:I1,solderjumper2_right:B1,solderjumper2_up:q1,solderjumper3_bridged12_down:D1,solderjumper3_bridged12_left:U1,solderjumper3_bridged12_right:wt,solderjumper3_bridged12_up:H1,solderjumper3_bridged123_down:Z1,solderjumper3_bridged123_left:Q1,solderjumper3_bridged123_right:K1,solderjumper3_bridged123_up:tn,solderjumper3_bridged23_down:en,solderjumper3_bridged23_left:rn,solderjumper3_bridged23_right:on,solderjumper3_bridged23_up:ln,solderjumper3_down:pn,solderjumper3_left:an,solderjumper3_right:yn,solderjumper3_up:sn,spdt_normally_closed_switch_down:mn,spdt_normally_closed_switch_left:nn,spdt_normally_closed_switch_right:yt,spdt_normally_closed_switch_up:fn,spdt_switch_down:hn,spdt_switch_left:dn,spdt_switch_right:st,spdt_switch_up:bn,spst_normally_closed_switch_down:_n,spst_normally_closed_switch_left:gn,spst_normally_closed_switch_right:xt,spst_normally_closed_switch_up:un,spst_switch_down:vn,spst_switch_left:wn,spst_switch_right:mt,spst_switch_up:An,square_wave_down:Pn,square_wave_left:Sn,square_wave_right:Rn,square_wave_up:Fn,step_recovery_diode_horz:He,step_recovery_diode_vert:Tn,tachometer_horz:kt,tachometer_vert:Ln,testpoint_down:kn,testpoint_left:zn,testpoint_right:ft,testpoint_up:$n,tilted_ground_down:Cn,tilted_ground_left:Nn,tilted_ground_right:At,tilted_ground_up:Qe,triac_horz:Ke,triac_vert:qn,tunnel_diode_horz:er,tunnel_diode_vert:Wn,unijunction_transistor_horz:or,unijunction_transistor_vert:ef,usbc:of,var_meter_horz:lr,var_meter_vert:af,varactor_diode_horz:ar,varactor_diode_vert:mf,varistor_horz:sr,varistor_vert:hf,varmeter_horz:zt,varmeter_vert:gf,vcc_down:uf,vcc_left:vf,vcc_right:wf,vcc_up:Af,volt_meter_horz:mr,volt_meter_vert:Pf,watt_hour_meter_horz:Ot,watt_hour_meter_vert:Tf,wattmeter_horz:Jt,wattmeter_vert:Lf,zener_diode_horz:hr,zener_diode_vert:zf};var b=(t,o=!0)=>o?-t:t;var ht=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function Jf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${b(a.y,i)}`).join(" ");return o?`${l} Z`:l}function _4(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${b(a,i)-y} L ${l+y} ${b(a,i)} L ${l} ${b(a,i)+y} L ${l-y} ${b(a,i)} Z" fill="green" />`}function g4(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,h=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${b(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${ht("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${b(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function u4(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
|
|
7
7
|
${`
|
|
8
8
|
<line x1="${i-y/2}" y1="${b(l,o)-y/2}" x2="${i+y/2}" y2="${b(l,o)+y/2}" stroke="red" stroke-width="0.004" />
|
|
9
9
|
<line x1="${i-y/2}" y1="${b(l,o)+y/2}" x2="${i+y/2}" y2="${b(l,o)-y/2}" stroke="red" stroke-width="0.004" />
|
|
10
10
|
`}
|
|
11
11
|
<text x="${i-n/2}" y="${b(l,o)+y+n/2}"
|
|
12
12
|
text-anchor="middle" style="font: ${n}px monospace; fill: #833;">${m}</text>
|
|
13
|
-
`}function
|
|
14
|
-
`),h=
|
|
13
|
+
`}function $f(t,o={}){let{debug:i=!1}=o,{primitives:l,size:a,ports:y}=t,n=l.map(x=>{switch(x.type){case"path":return`<path d="${Jf(x.points,{closed:x.closed,yUpPositive:!0})}" fill="${x.fill?ht(x.color):"none"}" stroke="${ht(x.color)}" stroke-width="0.02" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let f=g4(x,{yUpPositive:!0});return f.text+(i?f.anchor:"");case"circle":return`<circle cx="${x.x}" cy="${b(x.y,!0)}" r="${x.radius}" fill="${x.fill?ht(x.color):"none"}" ${x.fill?"":`stroke="${ht(x.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${x.x}" y="${b(x.y)}" width="${x.width}" height="${x.height}" fill="${ht("primary")}" />`;default:return""}}),m=y.map(x=>u4(x,{yUpPositive:!0})).join(`
|
|
14
|
+
`),h=_4(t.center),p=[];if(i){let x={x:t.center.x-a.width/2,y:t.center.y-a.height/2};p.push(`<text x="${x.x}" y="${x.y}" style="font: 0.05px monospace; fill: #833;">${a.width.toFixed(2)} x ${a.height.toFixed(2)}</text>`),y.forEach((f,d)=>{if(f.labels.length>1){let c=f.labels.slice(1).join(", ");p.push(`<text x="${x.x}" y="${x.y-(d+1)*.05}" dy="-0.15" style="font: 0.05px monospace; fill: #833;">${f.labels[0]} [${c}]</text>`)}}),p.push(...p)}return[n.join(`
|
|
15
15
|
`),m,h,...p].join(`
|
|
16
|
-
`)}function
|
|
16
|
+
`)}function v4(t,o={}){let{size:i}=t,l=$f(t,o),a=1.2,y=i.width*a,n=i.height*a,m={x:t.center.x-y/2,y:b(t.center.y,!0)-n/2,width:y,height:n};return o.width&&!o.height?o.height=o.width*(m.height/m.width):!o.width&&o.height?o.width=o.height*(m.width/m.height):!o.width&&!o.height&&(o.width=m.width,o.height=m.height),`<svg width="${o.width}" height="${o.height}" viewBox="${m.x} ${m.y} ${m.width} ${m.height}" xmlns="http://www.w3.org/2000/svg">${l}</svg>`}var AC=Object.fromEntries(Object.keys(Of).map(t=>[t,t]));export{AC as BASE_SYMBOLS,$f as getInnerSvg,v4 as getSvg,L as resizeSymbol,Of as symbols};
|
|
17
17
|
//# sourceMappingURL=index.js.map
|