schematic-symbols 0.0.227 → 0.0.228
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 b(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 Mt(t){return typeof t>"u"}function
|
|
1
|
+
function b(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 Mt(t){return typeof t>"u"}function ht(t,o=0){return{a:1,c:0,e:t,b:0,d:1,f:o}}function k(...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 k(y,...a)}}}var{cos:rf,sin:of,PI:q5}=Math;function gr(t,o,i){let l=rf(t),a=of(t),y={a:l,c:-a,e:0,b:a,d:l,f:0};return Mt(o)||Mt(i)?y:k([ht(o,i),y,ht(-o,-i)])}var{tan:Q5}=Math;function lf(t,o){function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i}function Ct(t,o,i,l){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,Ct.prototype),a.expected=o,a.found=i,a.location=l,a.name="SyntaxError",a}lf(Ct,Error);function ur(t,o,i){return i=i||" ",t.length>o?t:(o-=t.length,i+=i.repeat(o),t+i.slice(0,o))}Ct.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=ur("",y.line.toString().length," "),p=i[a.line-1],s=a.line===m.line?m.column:p.length+1,f=s-a.column||1;o+=`
|
|
2
2
|
--> `+n+`
|
|
3
3
|
`+h+` |
|
|
4
4
|
`+y.line+" | "+p+`
|
|
5
|
-
`+h+" | "+
|
|
6
|
-
at `+n}return o};Ct.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 ht(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 xc=(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=k({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=>b(n,c))};case"text":let x=b(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=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},v=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=k({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=>b(n,c))};case"text":let x=b(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=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},V=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=vr(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(lc=>b(y,lc))};case"text":let Yp=b(y,{x:c.x,y:c.y});return c.anchor=xc(c.anchor,i??"right"),{...c,x:Yp.x,y:Yp.y};case"circle":let Xp=b(y,{x:c.x,y:c.y});return{...c,x:Xp.x,y:Xp.y};case"box":let Lp=b(y,{x:c.x,y:c.y});return{...c,x:Lp.x,y:Lp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,...b(y,c)})),d=ht(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={})=>V(t,{newOrientation:o,overrides:i});var Ar=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=V(this.symbol,{newOrientation:o}),this}computeSize(){let o=ht(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 Ar({...t,primitives:o,ports:i,center:l})};var w={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:nc,texts:db,bounds:Nt,refblocks:jp,circles:fc}=w,kp=e({primitives:[...Object.values(nc),...Object.values(fc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...jp.left1,labels:["1"]},{...jp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:cc,texts:ub,bounds:It,refblocks:zp,circles:hc}=w,Op=e({primitives:[...Object.values(cc),...Object.values(hc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...zp.left1,labels:["1"]},{...zp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:dc,texts:Pb,bounds:Bt,refblocks:Jp,circles:_c}=w,$p=e({primitives:[...Object.values(dc),...Object.values(_c),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:bc,texts:Tb,bounds:qt,refblocks:Mp,circles:gc}=w,Cp=e({primitives:[...Object.values(bc),...Object.values(gc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Mp.left1,labels:["1"]},{...Mp.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uc,texts:Lb,bounds:Dt,refblocks:Np,circles:vc}=w,Ip=e({primitives:[...Object.values(uc),...Object.values(vc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Np.left1,labels:["1"]},{...Np.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{paths:wc,texts:zb,bounds:Gt,refblocks:Bp,circles:Ac}=w,qp=e({primitives:[...Object.values(wc),...Object.values(Ac),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Bp.left1,labels:["1"]},{...Bp.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var A={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:Sc,texts:Cb,bounds:Ut,refblocks:Dp,circles:Rc}=A,Gp=e({primitives:[...Object.values(Sc),...Object.values(Rc),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Dp.left1,labels:["1"]},{...Dp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Up=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Fc,texts:Ub,bounds:Wt,refblocks:Wp,circles:Tc}=A,Hp=e({primitives:[...Object.values(Fc),...Object.values(Tc),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...Wp.left1,labels:["1"]},{...Wp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Zp=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ec,texts:e3,bounds:Ht,refblocks:Qp,circles:Yc}=A,Kp=e({primitives:[...Object.values(Ec),...Object.values(Yc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.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{paths:Xc,texts:l3,bounds:Zt,refblocks:ta,circles:Lc}=A,ea=e({primitives:[...Object.values(Xc),...Object.values(Lc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...ta.left1,labels:["1"]},{...ta.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var z={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:jc,texts:x3,bounds:Qt,refblocks:ra,circles:kc}=z,oa=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...ra.left1,labels:["1"]},{...ra.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:zc,texts:c3,bounds:Kt,refblocks:ia,circles:Oc}=z,te=e({primitives:[...Object.values(zc),...Object.values(Oc),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...ia.left1,labels:["1"]},{...ia.right1,labels:["2"]}],size:{width:Kt.width,height:Kt.height},center:{x:Kt.centerX,y:Kt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Jc,texts:b3,bounds:ee,refblocks:la,circles:$c}=z,pa=e({primitives:[...Object.values(Jc),...Object.values($c),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...la.left1,labels:["1"]},{...la.right1,labels:["2"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:A3,texts:P3,bounds:S3,refblocks:R3,circles:F3}=z,Pr=r(te,"down"),Sr=Pr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rr=Pr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sr.anchor="middle_left";Rr.anchor="middle_left";Sr.x=.25;Sr.y+=.21;Rr.y-=.21;Rr.x=.25;var aa=Pr;function s(t){let o=t.size;if(!o){let i=ht(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var ya={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:Cc,texts:sa,bounds:re,refblocks:xa,circles:Nc}=ya,oe=s({primitives:[...Object.values(Cc),...Object.values(Nc),{...sa.top1,anchor:"middle_bottom"},{...sa.bottom1,anchor:"middle_top"}],ports:[{...xa.left1,labels:["1"]},{...xa.right1,labels:["2"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}});var ma=V(oe,{newOrientation:"up"});var O={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:Bc,texts:C3,bounds:na,refblocks:fa,circles:qc}=O,ca=e({primitives:[...Object.values(Bc),...Object.values(qc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...fa.left1,labels:["1"]},{...fa.right1,labels:["2"]}],center:{x:na.centerX,y:na.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Dc,texts:q3,bounds:ha,refblocks:da,circles:Gc}=O,_a=e({primitives:[...Object.values(Dc),...Object.values(Gc),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...da.left1,labels:["1"]},{...da.right1,labels:["2"]}],center:{x:ha.centerX,y:ha.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Uc,texts:W3,bounds:ba,refblocks:ga,circles:Wc}=O,ua=e({primitives:[...Object.values(Uc),...Object.values(Wc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...ga.left1,labels:["1"]},{...ga.right1,labels:["2"]}],center:{x:ba.centerX,y:ba.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var J={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:Zc,texts:tg,bounds:ie,refblocks:va,circles:Qc}=J,wa=e({primitives:[...Object.values(Zc),...Object.values(Qc),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...va.left1,labels:["1"]},{...va.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kc,texts:ig,bounds:le,refblocks:Aa,circles:th}=J,Pa=e({primitives:[...Object.values(Kc),...Object.values(th),{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:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:eh,texts:yg,bounds:pe,refblocks:Sa,circles:rh}=J,Ra=e({primitives:[...Object.values(eh),...Object.values(rh),{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:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:oh,texts:ng,bounds:ae,refblocks:Fa,circles:ih}=J,Ta=e({primitives:[...Object.values(oh),...Object.values(ih),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Fa.left1,labels:["1"]},{...Fa.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:lh,texts:dg,bounds:Ea,refblocks:Ya,circles:ph}=O,Xa=e({primitives:[...Object.values(lh),...Object.values(ph),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...Ya.left1,labels:["1"]},{...Ya.right1,labels:["2"]}],center:{x:Ea.centerX,y:Ea.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var dt={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:yh,texts:vg,bounds:La,refblocks:Va,circles:sh}=dt,ja=e({primitives:[...Object.values(yh),...Object.values(sh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Va.left1,labels:["1"]},{...Va.right1,labels:["2"]}],center:{x:La.centerX,y:La.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:xh,texts:Sg,bounds:ka,refblocks:za,circles:mh}=dt,ye=e({primitives:[...Object.values(xh),...Object.values(mh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...za.left1,labels:["1"]},{...za.right1,labels:["2"]}],center:{x:ka.centerX,y:ka.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Oa=v(ye);var{paths:nh,texts:Lg,bounds:Ja,refblocks:$a,circles:fh}=dt,Ma=e({primitives:[...Object.values(nh),...Object.values(fh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...$a.left1,labels:["1"]},{...$a.right1,labels:["2"]}],center:{x:Ja.centerX,y:Ja.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var $={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:hh,texts:Og,bounds:se,refblocks:Ca,circles:dh}=$,Na=e({primitives:[...Object.values(hh),...Object.values(dh),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...Ca.left1,labels:["1"]},{...Ca.right1,labels:["2"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ia=e($).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var M={paths:{path27:{type:"path",points:[{x:.5266735500000008,y:.017283050000003186},{x:.001159450000000728,y:.017283050000003186}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.06831244999999964,y:.017283050000003186},{x:-.5291475499999994,y:.017283050000003186}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.1311300499999999,y:.2830356500000022},{x:-.1311300499999999,y:.2830356500000022},{x:-.12198558891111094,y:.26539676032592807},{x:-.11352873728888872,y:.24775787127407609},{x:-.10575339259999979,y:.23011898280000195},{x:-.09865345231111088,y:.21248009485926117},{x:-.09222281388888862,y:.19484120740740923},{x:-.08645537479999969,y:.17720232040000183},{x:-.08134503251111079,y:.15956343379259433},{x:-.07688568448888855,y:.14192454754074246},{x:-.0730712281999996,y:.12428566160000158},{x:-.06989556111111073,y:.10664677592592756},{x:-.06735258068888846,y:.08900789047407565},{x:-.06543618439999958,y:.0713690052000016},{x:-.06414026971111064,y:.05373012005926081},{x:-.06345873408888844,y:.03609123500740902},{x:-.06338547499999952,y:.018452350000001578},{x:-.06391438991111062,y:.0008134649925941664},{x:-.0650393762888884,y:-.01682542005925766},{x:-.0667543315999995,y:-.03446430519999838},{x:-.06905315331111059,y:-.05210319047407243},{x:-.07192973888888837,y:-.06974207592592425},{x:-.07537798579999946,y:-.08738096159999827},{x:-.07939179151111057,y:-.10501984754073895},{x:-.08396505348888836,y:-.12265873379259076},{x:-.08909166919999946,y:-.1402976203999981},{x:-.09476553611111055,y:-.15793650740740547},{x:-.10098055168888832,y:-.17557539485925724},{x:-.10773061339999944,y:-.1932142827999979},{x:-.11500961871111054,y:-.2108531712740719},{x:-.1228114650888883,y:-.22849206032592367},{x:-.13113004999999942,y:-.24613094999999768},{x:-.13113004999999944,y:-.24613094999999774}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:-.0006801499999999905,y:.28117635000000085},{x:-.0006801499999995464,y:-.2479902499999973}],color:"primary",fill:!1},"path30-9-2":{type:"path",points:[{x:.27553375000000013,y:.2612097500000008},{x:.15159885000000006,y:.26186975000000245}],color:"primary",fill:!1},"path30-9-2-9":{type:"path",points:[{x:.2133970500000002,y:.19958935000000189},{x:.21360705000000024,y:.3235257500000017}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.006941349999999513,y:.4200086500000033},bottom1:{type:"text",text:"{VAL}",x:.0020726500000001202,y:-.42000864999999976}},refblocks:{left1:{x:-.5297833500000002,y:.01638025000000276},right1:{x:.5297833500000002,y:.016677250000000754}},bounds:{minX:-.5579417910000002,maxX:.5579417910000002,minY:-.42000864999999976,maxY:.4200086500000033,width:1.1158835820000004,height:.8400173000000031,centerX:0,centerY:17763568394002505e-31},circles:{}};var Ba=e(M).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 qa=e(M).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Da=e(M).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 Ga=e(M).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 Ua=e($).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:bh,texts:pu,bounds:xe,refblocks:Wa,circles:gh}=$,Ha=e({primitives:[...Object.values(bh),...Object.values(gh),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...Wa.left1,labels:["1"]},{...Wa.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var P={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:vh,texts:mu,bounds:me,refblocks:Za,circles:wh}=P,Qa=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Za.left1,labels:["1"]},{...Za.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ka=e(P).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ah,texts:bu,bounds:ne,refblocks:ty,circles:Ph}=P,ey=e({primitives:[...Object.values(Ah),...Object.values(Ph),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...ty.left1,labels:["1"]},{...ty.right1,labels:["2"]}],size:{width:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ry=e(P).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Sh,texts:Su,bounds:fe,refblocks:oy,circles:Rh}=P,iy=e({primitives:[...Object.values(Sh),...Object.values(Rh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...oy.left1,labels:["1"]},{...oy.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:Fh,texts:Eu,bounds:ce,refblocks:ly,circles:Th}=P,py=e({primitives:[...Object.values(Fh),...Object.values(Th),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ly.left1,labels:["1"]},{...ly.right1,labels:["2"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var C={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:Yh,texts:ju,bounds:he,refblocks:de,circles:Xh}=C,ay=e({primitives:[...Object.values(Yh),...Object.values(Xh),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...de.left1,labels:["1"]},{...de.right1,labels:["3"]},{...de.bottom1,labels:["2"]},{...de.top1,labels:["4"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var yy=e(C).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var sy=e(C).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:Lh,texts:Bu,bounds:_e,refblocks:be,circles:Vh}=C,xy=e({primitives:[...Object.values(Lh),...Object.values(Vh),{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:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var N={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:kh,texts:Wu,bounds:ge,refblocks:my,circles:zh}=N,ny=e({primitives:[...Object.values(kh),...Object.values(zh),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...my.left1,labels:["1"]},{...my.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var fy=e(N).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var cy=e(N).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Oh,texts:l8,bounds:ue,refblocks:hy,circles:Jh}=N,dy=e({primitives:[...Object.values(Oh),...Object.values(Jh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...hy.left1,labels:["1"]},{...hy.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Rt=.6,Fr=.3,$h=[{type:"path",points:[{x:-Rt,y:0},{x:-Fr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Fr,y:0},{x:Rt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Fr,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}],_y=e({primitives:[...$h,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],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("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ft=.6,Tr=.3,Mh=[{type:"path",points:[{x:-Ft,y:0},{x:-Tr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Tr,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Tr,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}],by=e({primitives:[...Mh,{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}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Tt=.6,Er=.3,Ch=[{type:"path",points:[{x:-Tt,y:0},{x:-Er,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Er,y:0},{x:Tt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Er,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}],gy=e({primitives:[...Ch,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Tt,y:0,labels:["1"]},{x:Tt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Tt*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Et=.6,Yr=.3,Nh=[{type:"path",points:[{x:-Et,y:0},{x:-Yr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Yr,y:0},{x:Et,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Yr,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}],uy=e({primitives:[...Nh,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Et,y:0,labels:["1"]},{x:Et,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Et*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var S={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 vy=e(S).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 wy=e(S).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Ay=e(S).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 Py=e(S).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Sy=e(S).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 Ry=e(S).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={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:Ty,bounds:ve,refblocks:Ey,circles:qh}=Fy,X=s({primitives:[Ty.path11,Ty.path12,{type:"path",points:[{x:-.12,y:.14},{x:.12,y:.14}],color:"primary",fill:!1},...Object.values(qh),{type:"text",text:"{REF}",x:0,y:.3594553499999995,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.35,anchor:"middle_top"},{type:"path",points:[{x:-.095,y:-.16},{x:0,y:.09}],color:"primary",fill:!1},{type:"path",points:[{x:0,y:.09},{x:.095,y:-.16}],color:"primary",fill:!1},{type:"path",points:[{x:-.048,y:-.045},{x:.048,y:-.045}],color:"primary",fill:!1}],ports:[{...Ey.left1,labels:["1"]},{...Ey.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}});var Xr=structuredClone(X);Xr.primitives=Xr.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:-.16,y:.3594553499999995,anchor:"middle_bottom"}:t.text==="{VAL}"?{...t,x:.16,y:.35,anchor:"middle_bottom"}:t);var Yt=V(Xr,{newOrientation:"down"});var Yy=v(X);var Xy=X;var Lr=structuredClone(X);Lr.primitives=Lr.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:.16,y:-.3594553499999995,anchor:"middle_top"}:t.text==="{VAL}"?{...t,x:-.16,y:-.35,anchor:"middle_top"}:t);var Ly=V(Lr,{newOrientation:"up"});var R={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:Gh,texts:t7,bounds:we,refblocks:Vy,circles:Uh}=R,jy=e({primitives:[...Object.values(Gh),...Object.values(Uh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Vy.left1,labels:["1"]},{...Vy.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Wh,texts:i7,bounds:Ae,refblocks:ky,circles:Hh}=R,zy=e({primitives:[...Object.values(Wh),...Object.values(Hh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...ky.left1,labels:["1"]},{...ky.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Zh,texts:y7,bounds:Pe,refblocks:Oy,circles:Qh}=R,Jy=e({primitives:[...Object.values(Zh),...Object.values(Qh),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...Oy.left1,labels:["1"]},{...Oy.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Kh,texts:n7,bounds:Se,refblocks:$y,circles:td}=R,My=e({primitives:[...Object.values(Kh),...Object.values(td),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...$y.left1,labels:["1"]},{...$y.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ed,texts:d7,bounds:Re,refblocks:Cy,circles:rd}=R,Ny=e({primitives:[...Object.values(ed),...Object.values(rd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Cy.left1,labels:["1"]},{...Cy.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{paths:od,texts:u7,bounds:Fe,refblocks:Iy,circles:id}=R,By=e({primitives:[...Object.values(od),...Object.values(id),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Iy.left1,labels:["1"]},{...Iy.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 F={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 qy=e(F).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 Dy=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Gy=e(F).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 Uy=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Wy=e(F).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 Hy=e(F).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 I={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:ad,bounds:Zy,refblocks:yd}=I,Qy=e({primitives:[...Object.values(ad),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...yd.left1,labels:["1"]}],center:{x:Zy.centerX,y:Zy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:sd,bounds:Ky,refblocks:xd}=I,ts=e({primitives:[...Object.values(sd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...xd.left1,labels:["1"]}],center:{x:Ky.centerX,y:Ky.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:md,bounds:es,refblocks:nd}=I,rs=e({primitives:[...Object.values(md),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...nd.left1,labels:["1"]}],center:{x:es.centerX,y:es.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:fd,bounds:os,refblocks:cd}=I,is=e({primitives:[...Object.values(fd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...cd.left1,labels:["1"]}],center:{x:os.centerX,y:os.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var ls={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 B=e(ls).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ps=r(B,"down");var as=r(B,"left");var ys=r(B,"up");var ss={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 q=e(ss).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 Vr=r(q,"down"),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 xs=Vr;var zr=r(q,"left"),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+=1;Jr.y-=1;Jr.x=0;var ms=zr;var $r=r(q,"up"),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+=.537;Cr.y-=.5375;Cr.x=0;var ns=$r;var fs={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 D=e(fs).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 Nr=r(D,"down"),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 cs=Nr;var qr=r(D,"left"),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=0;Dr.y+=1.09;Gr.y-=1.09;Gr.x=0;var hs=qr;var Ur=r(D,"up"),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+=.565;Hr.y-=.555;Hr.x=0;var ds=Ur;var _s={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 G=e(_s).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Zr=r(G,"down"),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=.4;Qr.y+=.265;Kr.y-=.265;Kr.x=.4;var bs=Zr;var to=r(G,"left"),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=0;eo.y+=.67;ro.y-=.67;ro.x=0;var gs=to;var oo=r(G,"up"),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=.46;io.y+=.265;lo.y-=.265;lo.x=.46;var us=oo;var vs={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 U=e(vs).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var po=r(U,"down"),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=.4;ao.y+=.295;yo.y-=.295;yo.x=.42;var ws=po;var so=r(U,"left"),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_bottom";mo.anchor="middle_top";xo.x=0;xo.y+=.795;mo.y-=.795;mo.x=0;var As=so;var no=r(U,"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_bottom";co.anchor="middle_top";fo.x=.46;fo.y+=.315;co.y-=.315;co.x=.46;var Ps=no;var Te={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:vd,texts:cv,bounds:Ee,refblocks:Ss,circles:wd}=Te,Ye=e({primitives:[...Object.values(vd),...Object.values(wd),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...Ss.left1,labels:["1"]},{...Ss.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ho=u(Ye),_o=ho.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bo=ho.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_o.anchor="middle_left";bo.anchor="middle_left";_o.y+=.4;_o.x=.32;bo.y-=.45;bo.x=.32;var Rs=ho;var Xe=e(Te).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Fs=v(Xe);var T={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:Pd,texts:Ev,bounds:Le,refblocks:Ts,circles:Sd}=T,Es=e({primitives:[...Object.values(Pd),...Object.values(Sd),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Ts.left1,labels:["1"]},{...Ts.right1,labels:["2"]}],size:{width:Le.width,height:Le.height},center:{x:Le.centerX,y:Le.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Rd,texts:Vv,bounds:Ve,refblocks:Ys,circles:Fd}=T,Xs=e({primitives:[...Object.values(Rd),...Object.values(Fd),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ys.left1,labels:["1"]},{...Ys.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Td,texts:Ov,bounds:je,refblocks:Ls,circles:Ed}=T,Vs=e({primitives:[...Object.values(Td),...Object.values(Ed),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Ls.left1,labels:["1"]},{...Ls.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Yd,texts:Cv,bounds:ke,refblocks:js,circles:Xd}=T,ks=e({primitives:[...Object.values(Yd),...Object.values(Xd),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...js.left1,labels:["1"]},{...js.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ld,texts:qv,bounds:ze,refblocks:zs,circles:Vd}=T,Os=e({primitives:[...Object.values(Ld),...Object.values(Vd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...zs.left1,labels:["1"]},{...zs.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{paths:jd,texts:Wv,bounds:Oe,refblocks:Js,circles:kd}=T,$s=e({primitives:[...Object.values(jd),...Object.values(kd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Js.left1,labels:["1"]},{...Js.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ms={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:Od,texts:Jd,bounds:Je,refblocks:Cs,circles:$d}=Ms,Xt=s({primitives:[...Object.values(Od),...Object.values($d),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Jd.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Cs.left1,labels:["1"]},{...Cs.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}});var{5:Md,...Cd}=Xt.primitives;function Nd(t){return typeof t=="object"}var Ns=r({...Xt,primitives:Object.values(Cd).filter(Nd)}),Is={...Ns,primitives:[...Ns.primitives,Md]};var Bs={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:Bd,texts:qd,bounds:$e,refblocks:qs}=Bs,Me=s({primitives:[...Object.values(Bd),{...qd.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...qs.left1,labels:["1"]},{...qs.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}});var Ds=r(Me);var E={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 Gs=e(E).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Us=e(E).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Ws=e(E).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Hs=e(E).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Zs=e(E).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Qs=e(E).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Lt={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:Vw,texts:jw,bounds:kw,refblocks:zw,circles:Ow}=Lt,Ks=e(Lt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var tx=e(Lt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var ex={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 W=e(ex).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 rx=r(W,"down");var ox=v(W);var go=r(W,"up"),uo=go.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vo=go.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");uo.anchor="middle_left";vo.anchor="middle_left";uo.y+=.21;uo.x=.44;vo.y-=.21;vo.x=.44;var ix=go;var lx={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 Ce=e(lx).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var wo=r(Ce),Ao=wo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),px=wo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ao.anchor="middle_left";px.anchor="middle_right";Ao.x=.45;Ao.y+=.065;px.y+=.065;var ax=wo;var yx={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 Ne=e(yx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var sx=r(Ne),xx=sx.primitives.filter(t=>t.type==="text"),Po=xx.find(t=>t.text==="{VAL}");Po.x=-.35;Po.y=0;Po.anchor="middle_right";var So=xx.find(t=>t.text==="{REF}");So.y=0;So.x=.35;So.anchor="middle_left";var mx=sx;var nx={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:Qd,texts:fx,bounds:Ie,refblocks:cx,circles:Kd}=nx,_t=s({primitives:[...Object.values(Qd),...Object.values(Kd),{...fx.top1,anchor:"middle_bottom"},{...fx.bottom1,anchor:"middle_top"}],ports:[{...cx.left1,labels:["1"]},{...cx.right1,labels:["2"]}],size:{width:Ie.width,height:Ie.height},center:{x:Ie.centerX,y:Ie.centerY}});var Be=r(_t,"up");var hx=u(Be);var dx=v(_t);var Ro={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}}};Ro.bounds.width+=.2;var H=e(Ro).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Fo=r(H,"down"),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+=.9;To.x=.3;Eo.y-=.1;Eo.x=.3;var _x=Fo;var Yo=r(H,"left"),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+=.71;Xo.x=.44;Lo.y-=.71;Lo.x=.44;var bx=Yo;var Vo=r(H,"up"),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+=.1;jo.x=.3;ko.y-=.71;ko.x=.3;var gx=Vo;var ux={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:r2,texts:vx,bounds:qe,refblocks:wx,circles:o2}=ux,bt=s({primitives:[...Object.values(r2),...Object.values(o2),{...vx.bottom1,anchor:"middle_top"},{...vx.right1,anchor:"middle_bottom"}],ports:[{...wx.left1,labels:["1"]},{...wx.right1,labels:["2"]}],size:{width:qe.width,height:qe.height},center:{x:qe.centerX,y:qe.centerY}});var zo=r(bt,"up"),Oo=zo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jo=zo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Oo.anchor="middle_left";Jo.anchor="middle_left";Oo.y+=.21;Oo.x=.21;Jo.y-=.21;Jo.x=.21;var De=zo;var $o=u(De),Mo=$o.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Co=$o.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mo.anchor="middle_left";Co.anchor="middle_left";Mo.y+=.4;Mo.x=.2;Co.y-=.41;Co.x=.2;var Ax=$o;var Px=v(bt);var Sx={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:l2,texts:Rx,bounds:Ge,refblocks:Fx,circles:p2}=Sx,Ue=s({primitives:[...Object.values(l2),...Object.values(p2),{...Rx.top1,anchor:"middle_left",x:0},{...Rx.bottom1,anchor:"middle_left",x:0}],ports:[{...Fx.left1,labels:["1"]},{...Fx.right1,labels:["2"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX,y:Ge.centerY}});var Tx=r(Ue),Ex=Tx.primitives.filter(t=>t.type==="text"),No=Ex.find(t=>t.text==="{VAL}");No.x=-.35;No.y=0;No.anchor="middle_right";var Io=Ex.find(t=>t.text==="{REF}");Io.y=0;Io.x=.35;Io.anchor="middle_left";var Yx=Tx;var Xx={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:y2,texts:Lx,bounds:We,refblocks:Bo}=Xx,He=s({primitives:[...Object.values(y2),{...Lx.right1,anchor:"middle_left"},{...Lx.right2,anchor:"middle_left"}],ports:[{...Bo.top1,labels:["1"]},{...Bo.bottom1,labels:["2"]},{...Bo.left1,labels:["3"]}],size:{width:We.width+.4,height:We.height},center:{x:We.centerX+.2,y:We.centerY}});var qo=r(He),Vx=qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Do=qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vx.anchor="middle_top";Do.anchor="middle_top";Vx.x=Do.x;Do.y+=.15;var jx=qo;var kx={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:x2,texts:zx,bounds:Ze,refblocks:Ox,circles:m2}=kx,Qe=s({primitives:[...Object.values(x2),...Object.values(m2),{...zx.top1,anchor:"middle_bottom",x:0},{...zx.bottom1,anchor:"middle_top",x:0}],ports:[{...Ox.left1,labels:["1"]},{...Ox.right1,labels:["2"]}],size:{width:Ze.width,height:Ze.height},center:{x:Ze.centerX+.006,y:Ze.centerY+.06}});var Go=r(Qe),Vt=Go.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ke=Go.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vt.anchor="middle_left";Ke.anchor="middle_right";Vt.x=Vt.x-.03;Vt.y=Vt.y;Ke.x=Ke.x;Ke.y=0;var Jx=Go;var $x={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:f2,texts:Mx,bounds:t0,refblocks:Uo,circles:c2}=$x,e0=s({primitives:[...Object.values(f2),...Object.values(c2),{...Mx.top1,anchor:"middle_right",x:0},{...Mx.bottom1,anchor:"middle_right",x:0}],ports:[{...Uo.top1,labels:["1","drain"]},{...Uo.bottom1,labels:["2","source"]},{...Uo.left1,labels:["3","gate"]}],size:{width:t0.width,height:t0.height},center:{x:t0.centerX,y:t0.centerY}});var Cx=r(e0),Nx=Cx.primitives.filter(t=>t.type==="text"),Wo=Nx.find(t=>t.text==="{VAL}");Wo.x=-.35;Wo.y=0;Wo.anchor="middle_right";var Ho=Nx.find(t=>t.text==="{REF}");Ho.y=0;Ho.x=.35;Ho.anchor="middle_left";var Ix=Cx;var Bx={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:d2,texts:qx,bounds:r0,refblocks:Zo,circles:_2}=Bx,o0=s({primitives:[...Object.values(d2),...Object.values(_2),{...qx.top1,anchor:"middle_right",x:0},{...qx.bottom1,anchor:"middle_right",x:0}],ports:[{...Zo.top1,labels:["1","drain"]},{...Zo.bottom1,labels:["2","source"]},{...Zo.left1,labels:["3","gate"]}],size:{width:r0.width,height:r0.height},center:{x:r0.centerX,y:r0.centerY}});var Dx=r(o0),Gx=Dx.primitives.filter(t=>t.type==="text"),Qo=Gx.find(t=>t.text==="{VAL}");Qo.x=-.35;Qo.y=0;Qo.anchor="middle_right";var Ko=Gx.find(t=>t.text==="{REF}");Ko.y=0;Ko.x=.35;Ko.anchor="middle_left";var Ux=Dx;var Wx={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:g2,texts:Hx,bounds:i0,refblocks:ti,circles:u2}=Wx,l0=s({primitives:[...Object.values(g2),...Object.values(u2),{...Hx.top1,anchor:"middle_right",x:0},{...Hx.bottom1,anchor:"middle_right",x:0}],ports:[{...ti.top1,labels:["1","drain"]},{...ti.bottom1,labels:["2","source"]},{...ti.left1,labels:["3","gate"]}],size:{width:i0.width,height:i0.height},center:{x:i0.centerX,y:i0.centerY}});var Zx=r(l0),Qx=Zx.primitives.filter(t=>t.type==="text"),ei=Qx.find(t=>t.text==="{VAL}");ei.x=-.35;ei.y=0;ei.anchor="middle_right";var ri=Qx.find(t=>t.text==="{REF}");ri.y=0;ri.x=.35;ri.anchor="middle_left";var Kx=Zx;var tm={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:w2,bounds:em,refblocks:A2}=tm,Z=e({primitives:[...Object.values(w2)],ports:[{...A2.left1,labels:["1"]}],center:{x:em.centerX,y:em.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var rm=r(Z,"down");var om=r(Z,"left");var im=r(Z,"up");var Y={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:S2,texts:pS,bounds:p0,refblocks:oi,circles:R2}=Y,lm=e({primitives:[...Object.values(S2),...Object.values(R2),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...oi.top1,labels:["1","collector"]},{...oi.bottom1,labels:["3","emitter"]},{...oi.left1,labels:["2","base"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:F2,texts:xS,bounds:a0,refblocks:ii,circles:T2}=Y,pm=e({primitives:[...Object.values(F2),...Object.values(T2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...ii.top1,labels:["1","collector"]},{...ii.bottom1,labels:["3","emitter"]},{...ii.left1,labels:["2","base"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:E2,texts:cS,bounds:y0,refblocks:li,circles:Y2}=Y,am=e({primitives:[...Object.values(E2),...Object.values(Y2),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...li.top1,labels:["1","collector"]},{...li.bottom1,labels:["3","emitter"]},{...li.left1,labels:["2","base"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:X2,texts:bS,bounds:s0,refblocks:pi,circles:L2}=Y,ym=e({primitives:[...Object.values(X2),...Object.values(L2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...pi.top1,labels:["1","collector"]},{...pi.bottom1,labels:["3","emitter"]},{...pi.left1,labels:["2","base"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:V2,texts:wS,bounds:x0,refblocks:ai,circles:j2}=Y,sm=e({primitives:[...Object.values(V2),...Object.values(j2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ai.top1,labels:["1","collector"]},{...ai.bottom1,labels:["3","emitter"]},{...ai.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{paths:k2,texts:RS,bounds:m0,refblocks:yi,circles:z2}=Y,xm=e({primitives:[...Object.values(k2),...Object.values(z2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...yi.top1,labels:["1","collector"]},{...yi.bottom1,labels:["3","emitter"]},{...yi.left1,labels:["2","base"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var mm={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:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var Q=e(mm).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var nm=r(Q,"down");var fm=u(r(Q,"left"));var cm=r(Q,"up");var hm={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:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var K=e(hm).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 dm=r(K,"down");var _m=u(r(K,"left"));var bm=r(K,"up");var gm={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:M2,texts:um,bounds:n0,refblocks:si,circles:C2}=gm,f0=s({primitives:[...Object.values(M2),...Object.values(C2),{...um.top1,anchor:"middle_right",x:0},{...um.bottom1,anchor:"middle_right",x:0}],ports:[{...si.top1,labels:["1","drain"]},{...si.bottom1,labels:["2","source"]},{...si.left1,labels:["3","gate"]}],size:{width:n0.width,height:n0.height},center:{x:n0.centerX,y:n0.centerY}});var vm=r(f0),wm=vm.primitives.filter(t=>t.type==="text"),xi=wm.find(t=>t.text==="{VAL}");xi.x=-.35;xi.y=0;xi.anchor="middle_right";var mi=wm.find(t=>t.text==="{REF}");mi.y=0;mi.x=.35;mi.anchor="middle_left";var Am=vm;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:I2,texts:Sm,bounds:c0,refblocks:ni,circles:B2}=Pm,h0=s({primitives:[...Object.values(I2),...Object.values(B2),{...Sm.top1,anchor:"middle_right",x:0},{...Sm.bottom1,anchor:"middle_right",x:0}],ports:[{...ni.top1,labels:["1","drain"]},{...ni.bottom1,labels:["2","source"]},{...ni.left1,labels:["3","gate"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}});var Rm=r(h0),Fm=Rm.primitives.filter(t=>t.type==="text"),fi=Fm.find(t=>t.text==="{VAL}");fi.x=-.35;fi.y=0;fi.anchor="middle_right";var ci=Fm.find(t=>t.text==="{REF}");ci.y=0;ci.x=.35;ci.anchor="middle_left";var Tm=Rm;var Em={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 d0=e(Em).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ym=r(d0),D2=Ym.primitives.filter(t=>t.type==="text"),Xm=D2.find(t=>t.text==="{REF}");Xm.y=0;Xm.anchor="middle_left";var Lm=Ym;var Vm={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:U2,texts:jm,bounds:_0,refblocks:hi,circles:W2}=Vm,b0=s({primitives:[...Object.values(U2),...Object.values(W2),{...jm.top1,anchor:"middle_right",x:0},{...jm.bottom1,anchor:"middle_right"}],ports:[{...hi.top1,labels:["1","drain"]},{...hi.bottom1,labels:["2","source"]},{...hi.left1,labels:["3","gate"]}],size:{width:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}});var km=r(b0),zm=km.primitives.filter(t=>t.type==="text"),di=zm.find(t=>t.text==="{VAL}");di.x=-.35;di.y=0;di.anchor="middle_right";var _i=zm.find(t=>t.text==="{REF}");_i.y=0;_i.x=.35;_i.anchor="middle_left";var Om=km;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:Z2,texts:XR,bounds:g0,refblocks:bi,circles:Q2}=g,Jm=e({primitives:[...Object.values(Z2),...Object.values(Q2),{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:["3","emitter"]},{...bi.left1,labels:["2","base"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX,y:g0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:kR,texts:zR,bounds:OR,refblocks:JR,circles:$R}=g,$m=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["2","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["3","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:K2,texts:IR,bounds:u0,refblocks:gi,circles:t9}=g,Mm=e({primitives:[...Object.values(K2),...Object.values(t9),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...gi.top1,labels:["1","collector"]},{...gi.bottom1,labels:["3","emitter"]},{...gi.left1,labels:["2","base"]}],size:{width:u0.width,height:u0.height},center:{x:u0.centerX,y:u0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:e9,texts:GR,bounds:v0,refblocks:ui,circles:r9}=g,Cm=e({primitives:[...Object.values(e9),...Object.values(r9),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ui.top1,labels:["1","collector"]},{...ui.bottom1,labels:["3","emitter"]},{...ui.left1,labels:["2","base"]}],size:{width:v0.width,height:v0.height},center:{x:v0.centerX,y:v0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:o9,texts:ZR,bounds:w0,refblocks:vi,circles:i9}=g,Nm=e({primitives:[...Object.values(o9),...Object.values(i9),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...vi.top1,labels:["1","collector"]},{...vi.bottom1,labels:["3","emitter"]},{...vi.left1,labels:["2","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{paths:l9,texts:eF,bounds:A0,refblocks:wi,circles:p9}=g,Im=e({primitives:[...Object.values(l9),...Object.values(p9),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...wi.top1,labels:["1","collector"]},{...wi.bottom1,labels:["3","emitter"]},{...wi.left1,labels:["2","base"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Bm={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:y9,texts:qm,bounds:P0,refblocks:Dm}=Bm,S0=s({primitives:[...Object.values(y9),{...qm.bottom1,y:.35,anchor:"middle_top"},{...qm.top1,anchor:"middle_left"}],ports:[{...Dm.left1,labels:["1"]},{...Dm.right1,labels:["2"]}],size:{width:P0.width+.05,height:P0.height},center:{x:P0.centerX,y:P0.centerY}});var s9=r(S0),Gm=s9;var Um={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:m9,texts:Wm,bounds:R0,refblocks:Hm}=Um,tt=s({primitives:[...Object.values(m9),{...Wm.bottom1,x:0,y:-.35,anchor:"middle_top"},{...Wm.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...Hm.left1,labels:["1"]},{...Hm.right1,labels:["2"]}],size:{width:R0.width+.05,height:R0.height},center:{x:R0.centerX,y:R0.centerY}});var Ai=r(tt,"down"),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+=.31;Pi.x=.34;Si.y-=.31;Si.x=.34;var Zm=Ai;var Ri=r(tt,"left"),Fi=Ri.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ti=Ri.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fi.anchor="middle_bottom";Ti.anchor="middle_top";Fi.y+=.73;Fi.x=0;Ti.y-=.7;Ti.x=0;var Qm=Ri;var Ei=r(tt,"up"),Yi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yi.anchor="middle_left";Xi.anchor="middle_left";Yi.y+=.21;Yi.x=.34;Xi.y-=.21;Xi.x=.34;var Km=Ei;var et={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:f9,texts:RF,bounds:F0,refblocks:Li,circles:c9}=et,tn=e({primitives:[...Object.values(f9),...Object.values(c9),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Li.left,labels:["1"]},{...Li.right,labels:["3"]},{...Li.bottom,labels:["2"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:h9,texts:YF,bounds:T0,refblocks:Vi,circles:d9}=et,en=e({primitives:[...Object.values(h9),...Object.values(d9),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Vi.left,labels:["1"]},{...Vi.right,labels:["3"]},{...Vi.bottom,labels:["2"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var rn=e(et).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:_9,texts:OF,bounds:E0,refblocks:ji,circles:b9}=et,on=e({primitives:[...Object.values(_9),...Object.values(b9),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...ji.left,labels:["1"]},{...ji.right,labels:["3"]},{...ji.bottom,labels:["2"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ln={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:u9,texts:NF,bounds:Y0,refblocks:pn,circles:v9}=ln,X0=s({primitives:[...Object.values(u9),...Object.values(v9),{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:[{...pn.left1,labels:["1"]},{...pn.right1,labels:["2"]}],size:{width:Y0.width,height:Y0.height},center:{x:Y0.centerX,y:Y0.centerY}});var an=r(X0),Oi=an.primitives.filter(t=>t.type==="text"),ki=Oi.find(t=>t.text==="{REF}"),Ji=Oi.find(t=>t.text==="{VAL}"),zi=Oi.find(t=>t.text==="COS \u03C6");ki.x=.35;ki.y=.4279000000000375,ki.anchor="middle_left";Ji.anchor="middle_left";Ji.x=.35;Ji.y=-.4279000000000375,zi.x=0;zi.y=.014279000000000375,zi.anchor="center";var yn=an;var sn={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:A9,texts:xn,bounds:L0,refblocks:mn,circles:P9}=sn,V0=s({primitives:[...Object.values(A9),...Object.values(P9),{...xn.top1,anchor:"middle_left"},{...xn.bottom1,anchor:"middle_left"}],ports:[{...mn.left1,labels:["1"]},{...mn.right1,labels:["2"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}});var nn=r(V0,"up");var j0={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:R9,texts:fn,bounds:k0,refblocks:cn,circles:F9}=j0,L=s({primitives:[...Object.values(R9),...Object.values(F9),{...fn.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...fn.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...cn.left1,labels:["1"]},{...cn.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}});var $i=r(L,"down"),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_bottom";Ci.anchor="middle_top";Mi.y=.4;Mi.x=.35;Ci.y=-.4;Ci.x=.35;var hn=$i;var{paths:T9,texts:dn,bounds:z0,refblocks:_n,circles:E9}=j0,bn=s({primitives:[...Object.values(T9),...Object.values(E9),{...dn.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...dn.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{..._n.left1,labels:["1"]},{..._n.right1,labels:["2"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}});var Ni=r(L,"left"),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_bottom";Bi.anchor="middle_top";Ii.y=.4;Ii.x=0;Bi.y=-.4;Bi.x=0;var gn=Ni;var qi=r(L,"up"),Di=qi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gi=qi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Di.anchor="middle_left";Gi.anchor="middle_left";Di.y+=.4;Di.x=.34;Gi.y-=.41;Gi.x=.34;var un=qi;var Ui=r(L,"up"),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_left";Hi.anchor="middle_left";Wi.y+=.4;Wi.x=.34;Hi.y-=.41;Hi.x=.34;var vn=Ui;var rt={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:X9,texts:wT,bounds:wn,refblocks:L9,circles:V9}=rt,An=e({primitives:[...Object.values(X9),...Object.values(V9),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...L9.left1,labels:["1"]}],center:{x:wn.centerX,y:wn.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:j9,texts:RT,bounds:Pn,refblocks:k9,circles:z9}=rt,Sn=e({primitives:[...Object.values(j9),...Object.values(z9),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...k9.left1,labels:["1"]}],center:{x:Pn.centerX,y:Pn.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:O9,texts:YT,bounds:Rn,refblocks:J9,circles:$9}=rt,Fn=e({primitives:[...Object.values(O9),...Object.values($9),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...J9.left1,labels:["1"]}],center:{x:Rn.centerX,y:Rn.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:M9,texts:jT,bounds:Tn,refblocks:C9}=rt,En=e({primitives:[...Object.values(M9),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...C9.left1,labels:["1"]}],center:{x:Tn.centerX,y:Tn.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Yn={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:I9,texts:Xn,bounds:O0,refblocks:J0,circles:B9}=Yn,$0=s({primitives:[...Object.values(I9),...Object.values(B9),{...Xn.top1,anchor:"middle_right"},{...Xn.bottom1,anchor:"middle_right"}],ports:[{...J0.top1,labels:["1"]},{...J0.bottom1,labels:["2"]},{...J0.left1,labels:["3"]},{...J0.right1,labels:["4"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}});var Zi=r($0),q9=Zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),D9=Zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");q9.anchor="middle_left";D9.anchor="middle_right";var Ln=Zi;var ot={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:U9,texts:DT,bounds:M0,refblocks:Vn,circles:W9}=ot,jn=e({primitives:[...Object.values(U9),...Object.values(W9),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Vn.left1,labels:["1"]},{...Vn.right1,labels:["2"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:H9,texts:HT,bounds:C0,refblocks:kn,circles:Z9}=ot,zn=e({primitives:[...Object.values(H9),...Object.values(Z9),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...kn.left1,labels:["1"]},{...kn.right1,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Q9,texts:tE,bounds:N0,refblocks:On,circles:K9}=ot,Jn=e({primitives:[...Object.values(Q9),...Object.values(K9),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...On.left1,labels:["1"]},{...On.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:t4,texts:iE,bounds:I0,refblocks:$n,circles:e4}=ot,Mn=e({primitives:[...Object.values(t4),...Object.values(e4),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...$n.left1,labels:["1"]},{...$n.right1,labels:["2"]}],size:{width:I0.width,height:I0.height},center:{x:I0.centerX,y:I0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var B0={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:o4,texts:Cn,bounds:q0,refblocks:Qi,circles:i4}=B0,it=s({primitives:[...Object.values(o4),...Object.values(i4),{...Cn.top1,anchor:"middle_bottom"},{...Cn.bottom1,anchor:"middle_top"}],ports:[{...Qi.left1,labels:["1"]},{...Qi.right1,labels:["2"]},{...Qi.right2,labels:["3"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var Ki=r(it,"down"),tl=Ki.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),el=Ki.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");tl.anchor="middle_bottom";el.anchor="middle_top";tl.y+=.3;tl.x+=.101;el.y-=.49999;el.x+=1.19999;var Nn=Ki;var{paths:l4,texts:hE,bounds:D0,refblocks:rl,circles:p4}=B0,G0=s({primitives:[...Object.values(l4),...Object.values(p4),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...rl.left1,labels:["1"]},{...rl.right1,labels:["2"]},{...rl.right2,labels:["3"]}],size:{width:D0.width,height:D0.height},center:{x:D0.centerX,y:D0.centerY}});var ol=r(it,"left"),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_bottom";ll.anchor="middle_top";il.y+=.99;il.x-=0;ll.y-=1.10999;ll.x=0;var In=ol;var pl=r(it,"up"),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+=.499;al.x=.62;yl.y-=.29999;yl.x+=.1;var Bn=pl;var qn=r(G0);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-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 lt=e(Dn).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var sl=r(lt,"down"),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 Gn=sl;var nl=r(lt,"left"),fl=nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cl=nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";cl.anchor="middle_top";fl.y+=.5;fl.x=0;cl.y-=.55;cl.x=0;var Un=nl;var hl=r(lt,"up"),dl=hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_l=hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_left";_l.anchor="middle_left";dl.y+=.3;dl.x=.3;_l.y-=.3;_l.x=.3;var Wn=hl;var bl={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:NE,texts:IE,bounds:BE,refblocks:qE,circles:DE}=bl,U0=e(bl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Hn=r(U0),s4=Hn.primitives.filter(t=>t.type==="text"),Zn=s4.find(t=>t.text==="{REF}");Zn.y=0;Zn.anchor="middle_left";var Qn=Hn;var W0={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.025},{x:-.07,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],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:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var Kn=e(W0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var gt=e(W0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var t1=r(gt,"left"),gl=t1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");gl.anchor="middle_bottom";gl.y+=.4;gl.x=0;var e1=t1;var r1=r(gt,"up"),ul=r1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");ul.anchor="middle_left";ul.y+=0;ul.x=.2;var o1=r1;var H0={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],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:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var i1=e(H0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var ut=e(H0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var l1=r(ut,"left"),vl=l1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");vl.anchor="middle_bottom";vl.y+=.4;vl.x=0;var p1=l1;var a1=r(ut,"up"),wl=a1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");wl.anchor="middle_left";wl.y+=.05;wl.x=.2;var y1=a1;var Z0={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var s1=e(Z0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var vt=e(Z0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var x1=r(vt,"left"),Al=x1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Al.anchor="middle_left";Al.y+=.5;Al.x=.2;var m1=x1;var n1=r(vt,"up"),Pl=n1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Pl.anchor="middle_left";Pl.y+=.3;Pl.x=.2;var f1=n1;var Q0={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var c1=e(Q0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var wt=e(Q0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var h1=r(wt,"left"),Sl=h1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Sl.anchor="middle_left";Sl.y+=.5;Sl.x=.2;var d1=h1;var _1=r(wt,"up"),Rl=_1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Rl.anchor="middle_left";Rl.y+=.4;Rl.x=.2;var b1=_1;var K0={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var g1=e(K0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var At=e(K0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var u1=r(At,"left"),Fl=u1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Fl.anchor="middle_left";Fl.y+=.6;Fl.x=.3;var v1=u1;var w1=r(At,"up"),Tl=w1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Tl.anchor="middle_left";Tl.y+=.4;Tl.x=.2;var A1=w1;var tr={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var P1=e(tr).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Pt=e(tr).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var S1=r(Pt,"left"),El=S1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");El.anchor="middle_left";El.y+=.5;El.x=.3;var R1=S1;var F1=r(Pt,"up"),Yl=F1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Yl.anchor="middle_left";Yl.y+=.3;Yl.x=.2;var T1=F1;var E1={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 pt=e(E1).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Xl=r(pt,"down"),Ll=Xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ll.anchor="middle_bottom";Vl.anchor="middle_top";Ll.x=.44;Ll.y+=.28;Vl.y-=.28;Vl.x=.44;var Y1=Xl;var jl=r(pt,"left"),kl=jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zl=jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kl.anchor="middle_bottom";zl.anchor="middle_top";kl.x=0;kl.y+=.625;zl.y-=.695;zl.x=0;var X1=jl;var Ol=r(pt,"up"),Jl=Ol.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$l=Ol.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jl.anchor="middle_bottom";$l.anchor="middle_top";Jl.x=.4;Jl.y+=.28;$l.y-=.28;$l.x=.4;var L1=Ol;var V1={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 at=e(V1).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ml=r(at,"down"),Cl=Ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Nl=Ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cl.anchor="middle_bottom";Nl.anchor="middle_top";Cl.x=.44;Cl.y+=.28;Nl.y-=.28;Nl.x=.44;var j1=Ml;var Il=r(at,"left"),Bl=Il.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ql=Il.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Bl.anchor="middle_bottom";ql.anchor="middle_top";Bl.x=0;Bl.y+=.625;ql.y-=.695;ql.x=0;var k1=Il;var Dl=r(at,"up"),Gl=Dl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ul=Dl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gl.anchor="middle_bottom";Ul.anchor="middle_top";Gl.x=.4;Gl.y+=.28;Ul.y-=.28;Ul.x=.4;var z1=Dl;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: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 jt.refblocks.left1;delete jt.refblocks.right1;jt.bounds.width+=.2;var yt=e(jt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Wl=r(yt,"down"),Hl=Wl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zl=Wl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hl.anchor="middle_bottom";Zl.anchor="middle_top";Hl.x=.3;Hl.y+=.265;Zl.y-=.265;Zl.x=.3;var O1=Wl;var Ql=r(yt,"left"),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=0;Kl.y+=.57;tp.y-=.57;tp.x=0;var J1=Ql;var ep=r(yt,"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=.3;rp.y+=.265;op.y-=.265;op.x=.3;var $1=ep;var kt={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 kt.refblocks.left1;delete kt.refblocks.right1;kt.bounds.width+=.2;var st=e(kt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ip=r(st,"down"),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=.3;lp.y+=.265;pp.y-=.265;pp.x=.3;var M1=ip;var ap=r(st,"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+=.57;sp.y-=.57;sp.x=0;var C1=ap;var xp=r(st,"up"),mp=xp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),np=xp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mp.anchor="middle_bottom";np.anchor="middle_top";mp.x=.3;mp.y+=.265;np.y-=.265;np.x=.3;var N1=xp;var xt={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 I1=e(xt).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 B1=e(xt).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 q1=e(xt).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var D1=e(xt).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 fp={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:kL,texts:zL,bounds:OL,refblocks:JL,circles:$L}=fp,er=e(fp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var G1=r(er);var U1={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:A4,texts:P4,bounds:rr,refblocks:W1,circles:S4}=U1,zt=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"},{...P4.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...W1.left1,labels:["1"]},{...W1.right1,labels:["2"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}});var{5:R4,...F4}=zt.primitives;function T4(t){return typeof t=="object"}var H1=r({...zt,primitives:Object.values(F4).filter(T4)}),Z1={...H1,primitives:[...H1.primitives,R4]};var mt=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 K1=r(mt,"down"),Q1=K1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Q1&&(Q1.anchor="middle_top");var tf=K1;var ef=r(mt,"left");var of=r(mt,"up"),rf=of.primitives.find(t=>t.type==="text"&&t.text==="{REF}");rf&&(rf.anchor="middle_bottom");var lf=of;var pf={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 St=e(pf).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var cp=r(St,"up"),hp=cp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dp=cp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hp.anchor="middle_bottom";dp.anchor="middle_top";hp.x=.4;hp.y+=.2;dp.y-=.3;dp.x=.4;var or=cp;var _p=u(or),bp=_p.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gp=_p.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bp.anchor="middle_bottom";gp.anchor="middle_top";bp.x=.35;bp.y+=.4;gp.y-=.4;gp.x=.35;var af=_p;var up=r(St,"left"),vp=up.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wp=up.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vp.anchor="middle_bottom";wp.anchor="middle_top";vp.x=0;vp.y+=.5;wp.y-=.6;wp.x=0;var yf=up;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:PV,texts:SV,bounds:RV,refblocks:FV,circles:TV}=Ap,ir=e(Ap).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var sf=r(ir),xf=sf.primitives.filter(t=>t.type==="text"),X4=xf.find(t=>t.text==="{REF}"),L4=xf.find(t=>t.text==="{VAL}");X4.y=0;L4.y=0;var mf=sf;var nf={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:j4,texts:ff,bounds:lr,refblocks:cf,circles:k4}=nf,pr=s({primitives:[...Object.values(j4),...Object.values(k4),{...ff.top1,anchor:"middle_bottom"},{...ff.bottom1,anchor:"middle_top"}],ports:[{...cf.left1,labels:["1"]},{...cf.right1,labels:["2"]}],size:{width:lr.width,height:lr.height},center:{x:lr.centerX,y:lr.centerY}});var Pp=r(pr),z4=Pp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),O4=Pp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");z4.anchor="middle_left";O4.anchor="middle_right";var hf=Pp;var df={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:$4,texts:_f,bounds:ar,refblocks:Sp,circles:M4}=df,yr=s({primitives:[...Object.values($4),...Object.values(M4),{..._f.top1,anchor:"middle_left"},{..._f.bottom1,anchor:"middle_right"}],ports:[{...Sp.top1,labels:["1"]},{...Sp.bottom1,labels:["2"]},{...Sp.left1,labels:["3"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var bf=r(yr),gf=bf.primitives.filter(t=>t.type==="text"),C4=gf.find(t=>t.text==="{REF}");C4.y=.1;var uf=gf.find(t=>t.text==="{VAL}");uf.y=.1;uf.x=-.4;var vf=bf;var wf={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 Af=e(wf).changeTextAnchor("{REF}","middle_bottom").build();var Pf={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:B4,texts:Rp,bounds:sr,refblocks:Sf,circles:q4}=Pf,xr=s({primitives:[...Object.values(B4),...Object.values(q4),{...Rp.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Rp.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Rp.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...Sf.left1,labels:["1"]},{...Sf.right1,labels:["2"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var Rf=r(xr);var Ff={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:G4,texts:Tf,bounds:mr,refblocks:Ef,circles:U4}=Ff,nr=s({primitives:[...Object.values(G4),...Object.values(U4),{...Tf.top1,anchor:"middle_bottom"},{...Tf.bottom1,anchor:"middle_top"}],ports:[{...Ef.left1,labels:["1"]},{...Ef.right1,labels:["2"]}],size:{width:mr.width,height:mr.height},center:{x:mr.centerX,y:mr.centerY}});var Fp=r(nr),W4=Fp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),H4=Fp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");W4.anchor="middle_left";H4.anchor="middle_right";var Yf=Fp;var Xf={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:Q4,texts:Lf,bounds:fr,refblocks:Vf}=Xf,cr=s({primitives:[...Object.values(Q4),{...Lf.top1,anchor:"middle_left"},{...Lf.bottom1,anchor:"middle_right"}],ports:[{...Vf.left1,labels:["1","-"]},{...Vf.right1,labels:["2","+"]}],size:{width:fr.width,height:fr.height},center:{x:fr.centerX,y:fr.centerY}});var jf=r(cr);var kf={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:t5,texts:e5,bounds:hr,refblocks:zf,circles:r5}=kf,Ot=s({primitives:[...Object.values(t5),...Object.values(r5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...e5.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...zf.left1,labels:["1"]},{...zf.right1,labels:["2"]}],size:{width:hr.width,height:hr.height},center:{x:hr.centerX,y:hr.centerY}});var{5:o5,...i5}=Ot.primitives;function l5(t){return typeof t=="object"}var Of=r({...Ot,primitives:Object.values(i5).filter(l5)}),Jf={...Of,primitives:[...Of.primitives,o5]};var nt={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 j(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 a5=e(nt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),$f=j(a5,{width:.24,height:.23});var y5=e(nt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Mf=j(y5,{width:.23,height:.24});var s5=e(nt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),Cf=j(s5,{width:.23,height:.24});var x5=e(nt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),Nf=j(x5,{width:.24,height:.23});var Tp={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:Dj,texts:Gj,bounds:Uj,circles:Wj,refblocks:Hj}=Tp,dr=e(Tp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var If=r(dr);var Bf={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:f5,texts:c5,bounds:_r,refblocks:qf,circles:h5}=Bf,Jt=s({primitives:[...Object.values(f5),...Object.values(h5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...c5.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...qf.left1,labels:["1"]},{...qf.right1,labels:["2"]}],size:{width:_r.width,height:_r.height},center:{x:_r.centerX,y:_r.centerY}});var{5:d5,..._5}=Jt.primitives;function b5(t){return typeof t=="object"}var Df=r({...Jt,primitives:Object.values(_5).filter(b5)}),Gf={...Df,primitives:[...Df.primitives,d5]};var Uf={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:u5,texts:v5,bounds:br,refblocks:Wf,circles:w5}=Uf,$t=s({primitives:[...Object.values(u5),...Object.values(w5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...v5.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...Wf.left1,labels:["1"]},{...Wf.right1,labels:["2"]}],size:{width:br.width,height:br.height},center:{x:br.centerX,y:br.centerY}});var{5:A5,...P5}=$t.primitives;function S5(t){return typeof t=="object"}var Hf=r({...$t,primitives:Object.values(P5).filter(S5)}),Zf={...Hf,primitives:[...Hf.primitives,A5]};var Qf={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:F5,texts:Kf,bounds:gr,refblocks:tc,circles:T5}=Qf,ur=s({primitives:[...Object.values(F5),...Object.values(T5),{...Kf.top1,anchor:"middle_bottom"},{...Kf.bottom1,anchor:"middle_top"}],ports:[{...tc.left1,labels:["1"]},{...tc.right1,labels:["2"]}],size:{width:gr.width,height:gr.height},center:{x:gr.centerX,y:gr.centerY}});var Ep=r(ur),E5=Ep.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Y5=Ep.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");E5.anchor="middle_left";Y5.anchor="middle_right";var ec=Ep;var rc={ac_voltmeter_down:kp,ac_voltmeter_horz:Op,ac_voltmeter_left:$p,ac_voltmeter_right:Cp,ac_voltmeter_up:Ip,ac_voltmeter_vert:qp,avalanche_diode_down:Gp,avalanche_diode_horz:Up,avalanche_diode_left:Hp,avalanche_diode_right:Zp,avalanche_diode_up:Kp,avalanche_diode_vert:ea,backward_diode_down:oa,backward_diode_left:te,backward_diode_right:pa,backward_diode_up:aa,battery_horz:oe,battery_vert:ma,boxresistor_down:ca,boxresistor_left:_a,boxresistor_right:ua,boxresistor_small_down:wa,boxresistor_small_left:Pa,boxresistor_small_right:Ra,boxresistor_small_up:Ta,boxresistor_up:Xa,bridged_ground_down:ja,bridged_ground_left:Oa,bridged_ground_right:ye,bridged_ground_up:Ma,capacitor_down:Na,capacitor_left:Ia,capacitor_polarized_down:Ba,capacitor_polarized_left:qa,capacitor_polarized_right:Da,capacitor_polarized_up:Ga,capacitor_right:Ua,capacitor_up:Ha,constant_current_diode_down:Qa,constant_current_diode_horz:Ka,constant_current_diode_left:ey,constant_current_diode_right:ry,constant_current_diode_up:iy,constant_current_diode_vert:py,crystal_4pin_down:ay,crystal_4pin_left:yy,crystal_4pin_right:sy,crystal_4pin_up:xy,crystal_down:ny,crystal_left:fy,crystal_right:cy,crystal_up:dy,current_source_down:_y,current_source_left:by,current_source_right:gy,current_source_up:uy,darlington_pair_transistor_down:vy,darlington_pair_transistor_horz:wy,darlington_pair_transistor_left:Ay,darlington_pair_transistor_right:Py,darlington_pair_transistor_up:Sy,darlington_pair_transistor_vert:Ry,dc_ammeter_down:Yt,dc_ammeter_horz:X,dc_ammeter_left:Yy,dc_ammeter_right:Xy,dc_ammeter_up:Ly,dc_ammeter_vert:Yt,dc_voltmeter_down:jy,dc_voltmeter_horz:zy,dc_voltmeter_left:Jy,dc_voltmeter_right:My,dc_voltmeter_up:Ny,dc_voltmeter_vert:By,diac_down:qy,diac_horz:Dy,diac_left:Gy,diac_right:Uy,diac_up:Wy,diac_vert:Hy,digital_ground_down:Qy,digital_ground_left:ts,digital_ground_right:rs,digital_ground_up:is,diode_down:ps,diode_left:as,diode_right:B,diode_up:ys,dpdt_normally_closed_switch_down:xs,dpdt_normally_closed_switch_left:ms,dpdt_normally_closed_switch_right:q,dpdt_normally_closed_switch_up:ns,dpdt_switch_down:cs,dpdt_switch_left:hs,dpdt_switch_right:D,dpdt_switch_up:ds,dpst_normally_closed_switch_down:bs,dpst_normally_closed_switch_left:gs,dpst_normally_closed_switch_right:G,dpst_normally_closed_switch_up:us,dpst_switch_down:ws,dpst_switch_left:As,dpst_switch_right:U,dpst_switch_up:Ps,ferrite_bead_down:Rs,ferrite_bead_left:Fs,ferrite_bead_right:Xe,ferrite_bead_up:Ye,filled_diode_down:Es,filled_diode_horz:Xs,filled_diode_left:Vs,filled_diode_right:ks,filled_diode_up:Os,filled_diode_vert:$s,frequency_meter_horz:Xt,frequency_meter_vert:Is,fuse_horz:Me,fuse_vert:Ds,ground_down:Gs,ground_horz:Us,ground_left:Ws,ground_right:Hs,ground_up:Zs,ground_vert:Qs,gunn_diode_horz:Ks,gunn_diode_vert:tx,icled_down:rx,icled_left:ox,icled_right:W,icled_up:ix,igbt_transistor_horz:Ce,igbt_transistor_vert:ax,illuminated_push_button_normally_open_horz:Ne,illuminated_push_button_normally_open_vert:mx,inductor_down:hx,inductor_left:dx,inductor_right:_t,inductor_up:Be,laser_diode_down:_x,laser_diode_left:bx,laser_diode_right:H,laser_diode_up:gx,led_down:Ax,led_left:Px,led_right:bt,led_up:De,light_dependent_resistor_horz:Ue,light_dependent_resistor_vert:Yx,mosfet_depletion_normally_on_horz:He,mosfet_depletion_normally_on_vert:jx,mushroom_head_normally_open_momentary_horz:Qe,mushroom_head_normally_open_momentary_vert:Jx,n_channel_d_mosfet_transistor_horz:e0,n_channel_d_mosfet_transistor_vert:Ix,n_channel_e_mosfet_transistor_horz:o0,n_channel_e_mosfet_transistor_vert:Ux,njfet_transistor_horz:l0,njfet_transistor_vert:Kx,not_connected_down:rm,not_connected_left:om,not_connected_right:Z,not_connected_up:im,npn_bipolar_transistor_down:lm,npn_bipolar_transistor_horz:pm,npn_bipolar_transistor_left:am,npn_bipolar_transistor_right:ym,npn_bipolar_transistor_up:sm,npn_bipolar_transistor_vert:xm,opamp_no_power_down:nm,opamp_no_power_left:fm,opamp_no_power_right:Q,opamp_no_power_up:cm,opamp_with_power_down:dm,opamp_with_power_left:_m,opamp_with_power_right:K,opamp_with_power_up:bm,p_channel_d_mosfet_transistor_horz:f0,p_channel_d_mosfet_transistor_vert:Am,p_channel_e_mosfet_transistor_horz:h0,p_channel_e_mosfet_transistor_vert:Tm,photodiode_horz:d0,photodiode_vert:Lm,pjfet_transistor_horz:b0,pjfet_transistor_vert:Om,pnp_bipolar_transistor_down:Jm,pnp_bipolar_transistor_horz:$m,pnp_bipolar_transistor_left:Mm,pnp_bipolar_transistor_right:Cm,pnp_bipolar_transistor_up:Nm,pnp_bipolar_transistor_vert:Im,potentiometer_horz:S0,potentiometer_vert:Gm,potentiometer2_down:Zm,potentiometer2_left:Qm,potentiometer2_right:tt,potentiometer2_up:Km,potentiometer3_down:tn,potentiometer3_left:en,potentiometer3_right:rn,potentiometer3_up:on,power_factor_meter_horz:X0,power_factor_meter_vert:yn,push_button_normally_closed_momentary_horz:V0,push_button_normally_closed_momentary_vert:nn,push_button_normally_open_momentary_down:hn,push_button_normally_open_momentary_horz:bn,push_button_normally_open_momentary_left:gn,push_button_normally_open_momentary_right:L,push_button_normally_open_momentary_up:un,push_button_normally_open_momentary_vert:vn,rail_down:An,rail_left:Sn,rail_right:Fn,rail_up:En,rectifier_diode_horz:$0,rectifier_diode_vert:Ln,resistor_down:jn,resistor_left:zn,resistor_right:Jn,resistor_up:Mn,resonator_down:Nn,resonator_horz:G0,resonator_left:In,resonator_right:it,resonator_up:Bn,resonator_vert:qn,schottky_diode_down:Gn,schottky_diode_left:Un,schottky_diode_right:lt,schottky_diode_up:Wn,silicon_controlled_rectifier_horz:U0,silicon_controlled_rectifier_vert:Qn,solderjumper2_bridged12_down:Kn,solderjumper2_bridged12_left:e1,solderjumper2_bridged12_right:gt,solderjumper2_bridged12_up:o1,solderjumper2_down:i1,solderjumper2_left:p1,solderjumper2_right:ut,solderjumper2_up:y1,solderjumper3_bridged12_down:s1,solderjumper3_bridged12_left:m1,solderjumper3_bridged12_right:vt,solderjumper3_bridged12_up:f1,solderjumper3_bridged123_down:c1,solderjumper3_bridged123_left:d1,solderjumper3_bridged123_right:wt,solderjumper3_bridged123_up:b1,solderjumper3_bridged23_down:g1,solderjumper3_bridged23_left:v1,solderjumper3_bridged23_right:At,solderjumper3_bridged23_up:A1,solderjumper3_down:P1,solderjumper3_left:R1,solderjumper3_right:Pt,solderjumper3_up:T1,spdt_normally_closed_switch_down:Y1,spdt_normally_closed_switch_left:X1,spdt_normally_closed_switch_right:pt,spdt_normally_closed_switch_up:L1,spdt_switch_down:j1,spdt_switch_left:k1,spdt_switch_right:at,spdt_switch_up:z1,spst_normally_closed_switch_down:O1,spst_normally_closed_switch_left:J1,spst_normally_closed_switch_right:yt,spst_normally_closed_switch_up:$1,spst_switch_down:M1,spst_switch_left:C1,spst_switch_right:st,spst_switch_up:N1,square_wave_down:I1,square_wave_left:B1,square_wave_right:q1,square_wave_up:D1,step_recovery_diode_horz:er,step_recovery_diode_vert:G1,tachometer_horz:zt,tachometer_vert:Z1,testpoint_down:tf,testpoint_left:ef,testpoint_right:mt,testpoint_up:lf,tilted_ground_down:af,tilted_ground_left:yf,tilted_ground_right:St,tilted_ground_up:or,triac_horz:ir,triac_vert:mf,tunnel_diode_horz:pr,tunnel_diode_vert:hf,unijunction_transistor_horz:yr,unijunction_transistor_vert:vf,usbc:Af,var_meter_horz:xr,var_meter_vert:Rf,varactor_diode_horz:nr,varactor_diode_vert:Yf,varistor_horz:cr,varistor_vert:jf,varmeter_horz:Ot,varmeter_vert:Jf,vcc_down:$f,vcc_left:Mf,vcc_right:Cf,vcc_up:Nf,volt_meter_horz:dr,volt_meter_vert:If,watt_hour_meter_horz:Jt,watt_hour_meter_vert:Gf,wattmeter_horz:$t,wattmeter_vert:Zf,zener_diode_horz:ur,zener_diode_vert:ec};var _=(t,o=!0)=>o?-t:t;var ft=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function oc(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${_(a.y,i)}`).join(" ");return o?`${l} Z`:l}function X5(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${_(a,i)-y} L ${l+y} ${_(a,i)} L ${l} ${_(a,i)+y} L ${l-y} ${_(a,i)} Z" fill="green" />`}function L5(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="${_(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${ft("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${_(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function V5(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
|
|
5
|
+
`+h+" | "+ur("",a.column-1," ")+ur("",f,"^")}else o+=`
|
|
6
|
+
at `+n}return o};Ct.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var s=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+s.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(s){return"\\x0"+l(s)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(s){return"\\x"+l(s)})}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(s){return"\\x0"+l(s)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(s){return"\\x"+l(s)})}function n(p){return i[p.type](p)}function m(p){var s=p.map(n),f,d;if(s.sort(),s.length>0){for(f=1,d=1;f<s.length;f++)s[f-1]!==s[f]&&(s[d]=s[f],d++);s.length=d}switch(s.length){case 1:return s[0];case 2:return s[0]+" or "+s[1];default:return s.slice(0,-1).join(", ")+", or "+s[s.length-1]}}function h(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+h(o)+" found."};function dt(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:s}=n,f=p/2,d=s/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 af=(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},E=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=k({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=>b(n,c))};case"text":let s=b(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:s.x,y:s.y,anchor:f[p.anchor]};case"circle":case"box":let d=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,...b(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=k({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=>b(n,c))};case"text":let s=b(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:s.x,y:s.y,anchor:f[p.anchor]};case"circle":case"box":let d=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},V=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=gr(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:h,ports:p}=t,s=n.map(c=>{switch(c={...c},c.type){case"path":return{...c,points:c.points.map(ef=>b(y,ef))};case"text":let Tp=b(y,{x:c.x,y:c.y});return c.anchor=af(c.anchor,i??"right"),{...c,x:Tp.x,y:Tp.y};case"circle":let Ep=b(y,{x:c.x,y:c.y});return{...c,x:Ep.x,y:Ep.y};case"box":let Yp=b(y,{x:c.x,y:c.y});return{...c,x:Yp.x,y:Yp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,...b(y,c)})),d=dt(s);return{primitives:s,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>V(t,{newOrientation:o,overrides:i});var vr=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=V(this.symbol,{newOrientation:o}),this}computeSize(){let o=dt(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 vr({...t,primitives:o,ports:i,center:l})};var u={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:sf,texts:m_,bounds:Nt,refblocks:Lp,circles:xf}=u,Vp=e({primitives:[...Object.values(sf),...Object.values(xf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:mf,texts:h_,bounds:It,refblocks:jp,circles:nf}=u,kp=e({primitives:[...Object.values(mf),...Object.values(nf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...jp.left1,labels:["1"]},{...jp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ff,texts:g_,bounds:Bt,refblocks:zp,circles:cf}=u,Op=e({primitives:[...Object.values(ff),...Object.values(cf),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...zp.left1,labels:["1"]},{...zp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hf,texts:A_,bounds:qt,refblocks:Jp,circles:df}=u,$p=e({primitives:[...Object.values(hf),...Object.values(df),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:_f,texts:F_,bounds:Dt,refblocks:Mp,circles:bf}=u,Cp=e({primitives:[...Object.values(_f),...Object.values(bf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Mp.left1,labels:["1"]},{...Mp.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{paths:gf,texts:X_,bounds:Gt,refblocks:Np,circles:uf}=u,Ip=e({primitives:[...Object.values(gf),...Object.values(uf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Np.left1,labels:["1"]},{...Np.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var v={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:wf,texts:z_,bounds:Ut,refblocks:Bp,circles:Af}=v,qp=e({primitives:[...Object.values(wf),...Object.values(Af),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Bp.left1,labels:["1"]},{...Bp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Dp=e(v).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Pf,texts:I_,bounds:Wt,refblocks:Gp,circles:Sf}=v,Up=e({primitives:[...Object.values(Pf),...Object.values(Sf),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...Gp.left1,labels:["1"]},{...Gp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Wp=e(v).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Rf,texts:H_,bounds:Ht,refblocks:Hp,circles:Ff}=v,Zp=e({primitives:[...Object.values(Rf),...Object.values(Ff),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Hp.left1,labels:["1"]},{...Hp.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{paths:Tf,texts:tb,bounds:Zt,refblocks:Qp,circles:Ef}=v,Kp=e({primitives:[...Object.values(Tf),...Object.values(Ef),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var z={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:Xf,texts:lb,bounds:Qt,refblocks:ta,circles:Lf}=z,ea=e({primitives:[...Object.values(Xf),...Object.values(Lf),{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"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Vf,texts:sb,bounds:Kt,refblocks:ra,circles:jf}=z,t0=e({primitives:[...Object.values(Vf),...Object.values(jf),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...ra.left1,labels:["1"]},{...ra.right1,labels:["2"]}],size:{width:Kt.width,height:Kt.height},center:{x:Kt.centerX,y:Kt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:kf,texts:fb,bounds:e0,refblocks:oa,circles:zf}=z,ia=e({primitives:[...Object.values(kf),...Object.values(zf),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...oa.left1,labels:["1"]},{...oa.right1,labels:["2"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:bb,texts:gb,bounds:ub,refblocks:vb,circles:wb}=z,wr=r(t0,"down"),Ar=wr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pr=wr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ar.anchor="middle_left";Pr.anchor="middle_left";Ar.x=.25;Ar.y+=.21;Pr.y-=.21;Pr.x=.25;var la=wr;function x(t){let o=t.size;if(!o){let i=dt(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var pa={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:Jf,texts:aa,bounds:r0,refblocks:ya,circles:$f}=pa,o0=x({primitives:[...Object.values(Jf),...Object.values($f),{...aa.top1,anchor:"middle_bottom"},{...aa.bottom1,anchor:"middle_top"}],ports:[{...ya.left1,labels:["1"]},{...ya.right1,labels:["2"]}],size:{width:r0.width,height:r0.height},center:{x:r0.centerX,y:r0.centerY}});var sa=V(o0,{newOrientation:"up"});var O={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:Cf,texts:zb,bounds:xa,refblocks:ma,circles:Nf}=O,na=e({primitives:[...Object.values(Cf),...Object.values(Nf),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...ma.left1,labels:["1"]},{...ma.right1,labels:["2"]}],center:{x:xa.centerX,y:xa.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:If,texts:Mb,bounds:fa,refblocks:ca,circles:Bf}=O,ha=e({primitives:[...Object.values(If),...Object.values(Bf),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...ca.left1,labels:["1"]},{...ca.right1,labels:["2"]}],center:{x:fa.centerX,y:fa.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:qf,texts:Bb,bounds:da,refblocks:_a,circles:Df}=O,ba=e({primitives:[...Object.values(qf),...Object.values(Df),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{..._a.left1,labels:["1"]},{..._a.right1,labels:["2"]}],center:{x:da.centerX,y:da.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var J={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:Uf,texts:Wb,bounds:i0,refblocks:ga,circles:Wf}=J,ua=e({primitives:[...Object.values(Uf),...Object.values(Wf),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...ga.left1,labels:["1"]},{...ga.right1,labels:["2"]}],size:{width:i0.width,height:i0.height},center:{x:i0.centerX,y:i0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Hf,texts:Kb,bounds:l0,refblocks:va,circles:Zf}=J,wa=e({primitives:[...Object.values(Hf),...Object.values(Zf),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...va.left1,labels:["1"]},{...va.right1,labels:["2"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Qf,texts:o8,bounds:p0,refblocks:Aa,circles:Kf}=J,Pa=e({primitives:[...Object.values(Qf),...Object.values(Kf),{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:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:tc,texts:a8,bounds:a0,refblocks:Sa,circles:ec}=J,Ra=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:[{...Sa.left1,labels:["1"]},{...Sa.right1,labels:["2"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:rc,texts:m8,bounds:Fa,refblocks:Ta,circles:oc}=O,Ea=e({primitives:[...Object.values(rc),...Object.values(oc),{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:Fa.centerX,y:Fa.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:lc,texts:d8,bounds:Ya,refblocks:Xa,circles:pc}=_t,La=e({primitives:[...Object.values(lc),...Object.values(pc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Xa.left1,labels:["1"]},{...Xa.right1,labels:["2"]}],center:{x:Ya.centerX,y:Ya.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:ac,texts:u8,bounds:Va,refblocks:ja,circles:yc}=_t,y0=e({primitives:[...Object.values(ac),...Object.values(yc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ja.left1,labels:["1"]},{...ja.right1,labels:["2"]}],center:{x:Va.centerX,y:Va.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ka=Y(y0);var{paths:sc,texts:F8,bounds:za,refblocks:Oa,circles:xc}=_t,Ja=e({primitives:[...Object.values(sc),...Object.values(xc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Oa.left1,labels:["1"]},{...Oa.right1,labels:["2"]}],center:{x:za.centerX,y:za.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var $={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:nc,texts:L8,bounds:s0,refblocks:$a,circles:fc}=$,Ma=e({primitives:[...Object.values(nc),...Object.values(fc),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...$a.left1,labels:["1"]},{...$a.right1,labels:["2"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ca=e($).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var M={paths:{path27:{type:"path",points:[{x:.5266735500000008,y:.017283050000003186},{x:.001159450000000728,y:.017283050000003186}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.06831244999999964,y:.017283050000003186},{x:-.5291475499999994,y:.017283050000003186}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.1311300499999999,y:.2830356500000022},{x:-.1311300499999999,y:.2830356500000022},{x:-.12198558891111094,y:.26539676032592807},{x:-.11352873728888872,y:.24775787127407609},{x:-.10575339259999979,y:.23011898280000195},{x:-.09865345231111088,y:.21248009485926117},{x:-.09222281388888862,y:.19484120740740923},{x:-.08645537479999969,y:.17720232040000183},{x:-.08134503251111079,y:.15956343379259433},{x:-.07688568448888855,y:.14192454754074246},{x:-.0730712281999996,y:.12428566160000158},{x:-.06989556111111073,y:.10664677592592756},{x:-.06735258068888846,y:.08900789047407565},{x:-.06543618439999958,y:.0713690052000016},{x:-.06414026971111064,y:.05373012005926081},{x:-.06345873408888844,y:.03609123500740902},{x:-.06338547499999952,y:.018452350000001578},{x:-.06391438991111062,y:.0008134649925941664},{x:-.0650393762888884,y:-.01682542005925766},{x:-.0667543315999995,y:-.03446430519999838},{x:-.06905315331111059,y:-.05210319047407243},{x:-.07192973888888837,y:-.06974207592592425},{x:-.07537798579999946,y:-.08738096159999827},{x:-.07939179151111057,y:-.10501984754073895},{x:-.08396505348888836,y:-.12265873379259076},{x:-.08909166919999946,y:-.1402976203999981},{x:-.09476553611111055,y:-.15793650740740547},{x:-.10098055168888832,y:-.17557539485925724},{x:-.10773061339999944,y:-.1932142827999979},{x:-.11500961871111054,y:-.2108531712740719},{x:-.1228114650888883,y:-.22849206032592367},{x:-.13113004999999942,y:-.24613094999999768},{x:-.13113004999999944,y:-.24613094999999774}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:-.0006801499999999905,y:.28117635000000085},{x:-.0006801499999995464,y:-.2479902499999973}],color:"primary",fill:!1},"path30-9-2":{type:"path",points:[{x:.27553375000000013,y:.2612097500000008},{x:.15159885000000006,y:.26186975000000245}],color:"primary",fill:!1},"path30-9-2-9":{type:"path",points:[{x:.2133970500000002,y:.19958935000000189},{x:.21360705000000024,y:.3235257500000017}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.006941349999999513,y:.4200086500000033},bottom1:{type:"text",text:"{VAL}",x:.0020726500000001202,y:-.42000864999999976}},refblocks:{left1:{x:-.5297833500000002,y:.01638025000000276},right1:{x:.5297833500000002,y:.016677250000000754}},bounds:{minX:-.5579417910000002,maxX:.5579417910000002,minY:-.42000864999999976,maxY:.4200086500000033,width:1.1158835820000004,height:.8400173000000031,centerX:0,centerY:17763568394002505e-31},circles:{}};var Na=e(M).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 Ia=e(M).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ba=e(M).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 qa=e(M).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 Da=e($).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hc,texts:e7,bounds:x0,refblocks:Ga,circles:dc}=$,Ua=e({primitives:[...Object.values(hc),...Object.values(dc),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...Ga.left1,labels:["1"]},{...Ga.right1,labels:["2"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var w={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:bc,texts:p7,bounds:m0,refblocks:Wa,circles:gc}=w,Ha=e({primitives:[...Object.values(bc),...Object.values(gc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Wa.left1,labels:["1"]},{...Wa.right1,labels:["2"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Za=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uc,texts:f7,bounds:n0,refblocks:Qa,circles:vc}=w,Ka=e({primitives:[...Object.values(uc),...Object.values(vc),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...Qa.left1,labels:["1"]},{...Qa.right1,labels:["2"]}],size:{width:n0.width,height:n0.height},center:{x:n0.centerX,y:n0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ty=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:wc,texts:u7,bounds:f0,refblocks:ey,circles:Ac}=w,ry=e({primitives:[...Object.values(wc),...Object.values(Ac),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ey.left1,labels:["1"]},{...ey.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:Pc,texts:P7,bounds:c0,refblocks:oy,circles:Sc}=w,iy=e({primitives:[...Object.values(Pc),...Object.values(Sc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...oy.left1,labels:["1"]},{...oy.right1,labels:["2"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var C={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:Fc,texts:E7,bounds:h0,refblocks:d0,circles:Tc}=C,ly=e({primitives:[...Object.values(Fc),...Object.values(Tc),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...d0.left1,labels:["1"]},{...d0.right1,labels:["3"]},{...d0.bottom1,labels:["2"]},{...d0.top1,labels:["4"]}],size:{width:h0.width,height:h0.height},center:{x:h0.centerX,y:h0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var py=e(C).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var ay=e(C).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:Ec,texts:$7,bounds:_0,refblocks:b0,circles:Yc}=C,yy=e({primitives:[...Object.values(Ec),...Object.values(Yc),{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:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var N={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:Lc,texts:B7,bounds:g0,refblocks:sy,circles:Vc}=N,xy=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...sy.left1,labels:["1"]},{...sy.right1,labels:["2"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX,y:g0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var my=e(N).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var ny=e(N).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:jc,texts:tg,bounds:u0,refblocks:fy,circles:kc}=N,cy=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...fy.left1,labels:["1"]},{...fy.right1,labels:["2"]}],size:{width:u0.width,height:u0.height},center:{x:u0.centerX,y:u0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Rt=.6,Sr=.3,zc=[{type:"path",points:[{x:-Rt,y:0},{x:-Sr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Sr,y:0},{x:Rt,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}],hy=e({primitives:[...zc,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],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("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ft=.6,Rr=.3,Oc=[{type:"path",points:[{x:-Ft,y:0},{x:-Rr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Rr,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Rr,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}],dy=e({primitives:[...Oc,{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}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Tt=.6,Fr=.3,Jc=[{type:"path",points:[{x:-Tt,y:0},{x:-Fr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Fr,y:0},{x:Tt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Fr,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}],_y=e({primitives:[...Jc,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Tt,y:0,labels:["1"]},{x:Tt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Tt*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Et=.6,Tr=.3,$c=[{type:"path",points:[{x:-Et,y:0},{x:-Tr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Tr,y:0},{x:Et,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Tr,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}],by=e({primitives:[...$c,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Et,y:0,labels:["1"]},{x:Et,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Et*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var A={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 gy=e(A).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 uy=e(A).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var vy=e(A).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 wy=e(A).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Ay=e(A).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 Py=e(A).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 Sy={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:Ry,bounds:v0,refblocks:Fy,circles:Nc}=Sy,X=x({primitives:[Ry.path11,Ry.path12,{type:"path",points:[{x:-.12,y:.14},{x:.12,y:.14}],color:"primary",fill:!1},...Object.values(Nc),{type:"text",text:"{REF}",x:0,y:.3594553499999995,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.35,anchor:"middle_top"},{type:"path",points:[{x:-.095,y:-.16},{x:0,y:.09}],color:"primary",fill:!1},{type:"path",points:[{x:0,y:.09},{x:.095,y:-.16}],color:"primary",fill:!1},{type:"path",points:[{x:-.048,y:-.045},{x:.048,y:-.045}],color:"primary",fill:!1}],ports:[{...Fy.left1,labels:["1"]},{...Fy.right1,labels:["2"]}],size:{width:v0.width,height:v0.height},center:{x:v0.centerX,y:v0.centerY}});var Er=structuredClone(X);Er.primitives=Er.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:-.16,y:.3594553499999995,anchor:"middle_bottom"}:t.text==="{VAL}"?{...t,x:.16,y:.35,anchor:"middle_bottom"}:t);var Yt=V(Er,{newOrientation:"down"});var Ty=Y(X);var Ey=X;var Yr=structuredClone(X);Yr.primitives=Yr.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:.16,y:-.3594553499999995,anchor:"middle_top"}:t.text==="{VAL}"?{...t,x:-.16,y:-.35,anchor:"middle_top"}:t);var Yy=V(Yr,{newOrientation:"up"});var P={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:Bc,texts:Wg,bounds:w0,refblocks:Xy,circles:qc}=P,Ly=e({primitives:[...Object.values(Bc),...Object.values(qc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Xy.left1,labels:["1"]},{...Xy.right1,labels:["2"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Dc,texts:Kg,bounds:A0,refblocks:Vy,circles:Gc}=P,jy=e({primitives:[...Object.values(Dc),...Object.values(Gc),{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:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Uc,texts:o6,bounds:P0,refblocks:ky,circles:Wc}=P,zy=e({primitives:[...Object.values(Uc),...Object.values(Wc),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...ky.left1,labels:["1"]},{...ky.right1,labels:["2"]}],size:{width:P0.width,height:P0.height},center:{x:P0.centerX,y:P0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Hc,texts:a6,bounds:S0,refblocks:Oy,circles:Zc}=P,Jy=e({primitives:[...Object.values(Hc),...Object.values(Zc),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Oy.left1,labels:["1"]},{...Oy.right1,labels:["2"]}],size:{width:S0.width,height:S0.height},center:{x:S0.centerX,y:S0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Qc,texts:m6,bounds:R0,refblocks:$y,circles:Kc}=P,My=e({primitives:[...Object.values(Qc),...Object.values(Kc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...$y.left1,labels:["1"]},{...$y.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{paths:th,texts:h6,bounds:F0,refblocks:Cy,circles:eh}=P,Ny=e({primitives:[...Object.values(th),...Object.values(eh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Cy.left1,labels:["1"]},{...Cy.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 S={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 Iy=e(S).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 By=e(S).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var qy=e(S).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 Dy=e(S).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Gy=e(S).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 Uy=e(S).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 I={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:ih,bounds:Wy,refblocks:lh}=I,Hy=e({primitives:[...Object.values(ih),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...lh.left1,labels:["1"]}],center:{x:Wy.centerX,y:Wy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:ph,bounds:Zy,refblocks:ah}=I,Qy=e({primitives:[...Object.values(ph),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...ah.left1,labels:["1"]}],center:{x:Zy.centerX,y:Zy.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:yh,bounds:Ky,refblocks:sh}=I,ts=e({primitives:[...Object.values(yh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...sh.left1,labels:["1"]}],center:{x:Ky.centerX,y:Ky.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:xh,bounds:es,refblocks:mh}=I,rs=e({primitives:[...Object.values(xh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...mh.left1,labels:["1"]}],center:{x:es.centerX,y:es.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var os={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 B=e(os).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var is=r(B,"down");var ls=r(B,"left");var ps=r(B,"up");var as={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 q=e(as).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 Xr=r(q,"down"),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+=.537;Vr.y-=.5375;Vr.x=0;var ys=Xr;var jr=r(q,"left"),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+=1;zr.y-=1;zr.x=0;var ss=jr;var Or=r(q,"up"),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+=.537;$r.y-=.5375;$r.x=0;var xs=Or;var ms={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 D=e(ms).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 Mr=r(D,"down"),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+=.565;Nr.y-=.555;Nr.x=0;var ns=Mr;var Ir=r(D,"left"),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+=1.09;qr.y-=1.09;qr.x=0;var fs=Ir;var Dr=r(D,"up"),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=0;Gr.y+=.565;Ur.y-=.555;Ur.x=0;var cs=Dr;var hs={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 G=e(hs).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Wr=r(G,"down"),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=.4;Hr.y+=.265;Zr.y-=.265;Zr.x=.4;var ds=Wr;var Qr=r(G,"left"),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=0;Kr.y+=.67;to.y-=.67;to.x=0;var _s=Qr;var eo=r(G,"up"),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=.46;ro.y+=.265;oo.y-=.265;oo.x=.46;var bs=eo;var gs={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 U=e(gs).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var io=r(U,"down"),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=.4;lo.y+=.295;po.y-=.295;po.x=.42;var us=io;var ao=r(U,"left"),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=0;yo.y+=.795;so.y-=.795;so.x=0;var vs=ao;var xo=r(U,"up"),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_bottom";no.anchor="middle_top";mo.x=.46;mo.y+=.315;no.y-=.315;no.x=.46;var ws=xo;var T0={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:bh,texts:sv,bounds:E0,refblocks:As,circles:gh}=T0,Y0=e({primitives:[...Object.values(bh),...Object.values(gh),{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:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var fo=E(Y0),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+=.4;co.x=.32;ho.y-=.45;ho.x=.32;var Ps=fo;var X0=e(T0).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ss=Y(X0);var R={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:vh,texts:Pv,bounds:L0,refblocks:Rs,circles:wh}=R,Fs=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Rs.left1,labels:["1"]},{...Rs.right1,labels:["2"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Ah,texts:Tv,bounds:V0,refblocks:Ts,circles:Ph}=R,Es=e({primitives:[...Object.values(Ah),...Object.values(Ph),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ts.left1,labels:["1"]},{...Ts.right1,labels:["2"]}],size:{width:V0.width,height:V0.height},center:{x:V0.centerX,y:V0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Sh,texts:Lv,bounds:j0,refblocks:Ys,circles:Rh}=R,Xs=e({primitives:[...Object.values(Sh),...Object.values(Rh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Ys.left1,labels:["1"]},{...Ys.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Fh,texts:zv,bounds:k0,refblocks:Ls,circles:Th}=R,Vs=e({primitives:[...Object.values(Fh),...Object.values(Th),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ls.left1,labels:["1"]},{...Ls.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Eh,texts:Mv,bounds:z0,refblocks:js,circles:Yh}=R,ks=e({primitives:[...Object.values(Eh),...Object.values(Yh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...js.left1,labels:["1"]},{...js.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{paths:Xh,texts:Bv,bounds:O0,refblocks:zs,circles:Lh}=R,Os=e({primitives:[...Object.values(Xh),...Object.values(Lh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...zs.left1,labels:["1"]},{...zs.right1,labels:["2"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Js={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:jh,texts:kh,bounds:J0,refblocks:$s,circles:zh}=Js,Xt=x({primitives:[...Object.values(jh),...Object.values(zh),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...kh.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...$s.left1,labels:["1"]},{...$s.right1,labels:["2"]}],size:{width:J0.width,height:J0.height},center:{x:J0.centerX,y:J0.centerY}});var{5:Oh,...Jh}=Xt.primitives;function $h(t){return typeof t=="object"}var Ms=r({...Xt,primitives:Object.values(Jh).filter($h)}),Cs={...Ms,primitives:[...Ms.primitives,Oh]};var Ns={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:Ch,texts:Nh,bounds:$0,refblocks:Is}=Ns,M0=x({primitives:[...Object.values(Ch),{...Nh.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Is.left1,labels:["1"]},{...Is.right1,labels:["2"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}});var Bs=r(M0);var F={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 qs=e(F).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Ds=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Gs=e(F).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Us=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Ws=e(F).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Hs=e(F).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Lt={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:Tw,texts:Ew,bounds:Yw,refblocks:Xw,circles:Lw}=Lt,Zs=e(Lt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Qs=e(Lt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Ks={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 W=e(Ks).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 tx=r(W,"down");var ex=Y(W);var _o=r(W,"up"),bo=_o.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),go=_o.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bo.anchor="middle_left";go.anchor="middle_left";bo.y+=.21;bo.x=.44;go.y-=.21;go.x=.44;var rx=_o;var ox={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 C0=e(ox).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var uo=r(C0),vo=uo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ix=uo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vo.anchor="middle_left";ix.anchor="middle_right";vo.x=.45;vo.y+=.065;ix.y+=.065;var lx=uo;var px={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 N0=e(px).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ax=r(N0),yx=ax.primitives.filter(t=>t.type==="text"),wo=yx.find(t=>t.text==="{VAL}");wo.x=-.35;wo.y=0;wo.anchor="middle_right";var Ao=yx.find(t=>t.text==="{REF}");Ao.y=0;Ao.x=.35;Ao.anchor="middle_left";var sx=ax;var H={paths:{path8698:{type:"path",points:[{x:-.19796749999999919,y:-.023826854587889912},{x:-.2004570399999992,y:-.018993393814014044},{x:-.2029465799999992,y:-.014174384106555204},{x:-.20543611999999922,y:-.009384187436300498},{x:-.20792565999999923,y:-.004636988132081332},{x:-.21041519999999925,y:5329457033053167e-20},{x:-.21290473999999926,y:.004673092344940184},{x:-.21539427999999927,y:.009209271428771242},{x:-.21788381999999928,y:.013649213595881985},{x:-.2203733599999993,y:.01798089395292432},{x:-.2228628999999993,y:.022192955076609913},{x:-.22535243999999932,y:.02627477703600152},{x:-.22784197999999933,y:.030216542867918667},{x:-.23033151999999935,y:.03400929910178016},{x:-.23282105999999936,y:.03764501096072756},{x:-.23531059999999937,y:.04111661189869628},{x:-.23780013999999938,y:.04441804716802203},{x:-.2402896799999994,y:.04754431114897349},{x:-.2427792199999994,y:.05049147821106258},{x:-.24526875999999942,y:.053256726915861724},{x:-.24775829999999943,y:.05583835741211009},{x:-.25024783999999944,y:.05823580191586174},{x:-.25273737999999946,y:.060449628211062575},{x:-.25522691999999947,y:.0624815361489735},{x:-.2577164599999995,y:.06433434716802203},{x:-.2602059999999995,y:.06601198689869628},{x:-.2626955399999995,y:.06751946096072757},{x:-.2651850799999995,y:.06886282410178016},{x:-.26767461999999953,y:.07004914286791866},{x:-.27016415999999954,y:.0710864520360015},{x:-.27265369999999955,y:.07198370507660991},{x:-.27514323999999957,y:.07275071895292433},{x:-.2776327799999996,y:.07339811359588198},{x:-.2801223199999996,y:.07393724642877124},{x:-.2826118599999996,y:.07438014234494018},{x:-.2851013999999996,y:.07473941957033053},{x:-.28759093999999963,y:.07502821186791866},{x:-.29008047999999964,y:.07526008756369952},{x:-.29257001999999965,y:.07544896589344477},{x:-.29505955999999967,y:.07560903118598594},{x:-.2975490999999997,y:.07575464541211008},{x:-.30003863749999965,y:.07560903118598594},{x:-.3025281749999997,y:.07544896589344477},{x:-.30501771249999965,y:.07526008756369951},{x:-.3075072499999996,y:.07502821186791866},{x:-.30999678749999965,y:.07473941957033052},{x:-.3124863249999996,y:.07438014234494018},{x:-.3149758624999996,y:.07393724642877124},{x:-.31746539999999956,y:.07339811359588198},{x:-.3199549374999996,y:.07275071895292431},{x:-.32244447499999956,y:.07198370507660991},{x:-.32493401249999954,y:.0710864520360015},{x:-.32742354999999956,y:.07004914286791866},{x:-.32991308749999954,y:.06886282410178016},{x:-.3324026249999995,y:.06751946096072756},{x:-.33489216249999954,y:.06601198689869628},{x:-.3373816999999995,y:.06433434716802203},{x:-.3398712374999995,y:.06248153614897349},{x:-.3423607749999995,y:.06044962821106258},{x:-.3448503124999994,y:.05823580191586174},{x:-.34733984999999945,y:.05583835741211009},{x:-.3498293874999995,y:.053256726915861724},{x:-.35231892499999945,y:.050491478211062576},{x:-.3548084624999994,y:.0475443111489735},{x:-.3572979999999994,y:.04441804716802203},{x:-.35978753749999937,y:.04111661189869628},{x:-.3622770749999994,y:.03764501096072756},{x:-.36476661249999937,y:.03400929910178016},{x:-.36725614999999934,y:.030216542867918673},{x:-.36974568749999936,y:.02627477703600152},{x:-.37223522499999934,y:.022192955076609917},{x:-.3747247624999993,y:.017980893952924324},{x:-.37721429999999934,y:.013649213595881985},{x:-.3797038374999993,y:.00920927142877125},{x:-.3821933749999993,y:.004673092344940191},{x:-.3846829124999993,y:5329457033053514e-20},{x:-.3871724499999993,y:-.004636988132081328},{x:-.38966198749999925,y:-.009384187436300498},{x:-.3921515249999992,y:-.014174384106555197},{x:-.39464106249999925,y:-.01899339381401404},{x:-.3971305999999992,y:-.023826854587889912}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:.0011955000000007932,y:-.02382615458789039},{x:-.00129403749999919,y:-.01899269131401453},{x:-.0037835749999991734,y:-.014173679106555696},{x:-.006273112499999156,y:-.009383479936300985},{x:-.00876264999999914,y:-.004636278132081827},{x:-.011252187499999122,y:5400707033003174e-20},{x:-.013741724999999105,y:.004673807344939681},{x:-.016231262499999087,y:.009209988928770731},{x:-.018720799999999073,y:.013649933595881476},{x:-.021210337499999055,y:.017981616452923805},{x:-.023699874999999038,y:.022193680076609393},{x:-.026189412499999024,y:.026275504536001},{x:-.028678949999999002,y:.030217272867918137},{x:-.03116848749999899,y:.034010031601779636},{x:-.03365802499999897,y:.03764574596072702},{x:-.03614756249999895,y:.04111734939869574},{x:-.03863709999999894,y:.04441878716802149},{x:-.04112663749999892,y:.04754505364897295},{x:-.043616174999998904,y:.05049222321106203},{x:-.04610571249999888,y:.05325747441586117},{x:-.04859524999999887,y:.055839107412109526},{x:-.051084787499998854,y:.05823655441586117},{x:-.05357432499999884,y:.06045038321106201},{x:-.05606386249999881,y:.06248229364897292},{x:-.0585533999999988,y:.06433510716802145},{x:-.061042937499998784,y:.0660127493986957},{x:-.06353247499999877,y:.06752022596072697},{x:-.06602201249999876,y:.06886359160177957},{x:-.06851154999999873,y:.07004991286791806},{x:-.07100108749999871,y:.07108722453600091},{x:-.0734906249999987,y:.0719844800766093},{x:-.07598016249999869,y:.07275149645292371},{x:-.07846969999999867,y:.07339889359588138},{x:-.08095923749999864,y:.07393802892877062},{x:-.08344877499999863,y:.07438092734493956},{x:-.08593831249999861,y:.07474020707032991},{x:-.0884278499999986,y:.07502900186791804},{x:-.09091738749999859,y:.07526088006369888},{x:-.09340692499999856,y:.07544976089344414},{x:-.09589646249999854,y:.0756098286859853},{x:-.09838599999999853,y:.07575544541210943},{x:-.10087553999999854,y:.0756098286859853},{x:-.10336507999999855,y:.07544976089344414},{x:-.10585461999999857,y:.07526088006369887},{x:-.10834415999999858,y:.07502900186791804},{x:-.11083369999999859,y:.0747402070703299},{x:-.1133232399999986,y:.07438092734493956},{x:-.11581277999999862,y:.07393802892877062},{x:-.11830231999999863,y:.07339889359588138},{x:-.12079185999999864,y:.07275149645292371},{x:-.12328139999999865,y:.0719844800766093},{x:-.12577093999999867,y:.07108722453600091},{x:-.12826047999999868,y:.07004991286791806},{x:-.1307500199999987,y:.06886359160177957},{x:-.1332395599999987,y:.06752022596072697},{x:-.13572909999999871,y:.0660127493986957},{x:-.13821863999999873,y:.06433510716802145},{x:-.14070817999999874,y:.06248229364897291},{x:-.14319771999999875,y:.06045038321106202},{x:-.14568725999999876,y:.05823655441586117},{x:-.14817679999999878,y:.055839107412109526},{x:-.1506663399999988,y:.05325747441586117},{x:-.1531558799999988,y:.05049222321106202},{x:-.1556454199999988,y:.047545053648972956},{x:-.15813495999999883,y:.04441878716802149},{x:-.16062449999999884,y:.04111734939869574},{x:-.16311403999999885,y:.03764574596072702},{x:-.16560357999999886,y:.034010031601779636},{x:-.16809311999999887,y:.03021727286791814},{x:-.1705826599999989,y:.026275504536001},{x:-.1730721999999989,y:.022193680076609396},{x:-.1755617399999989,y:.017981616452923805},{x:-.17805127999999892,y:.013649933595881474},{x:-.18054081999999894,y:.00920998892877074},{x:-.18303035999999895,y:.0046738073449396865},{x:-.18551989999999896,y:5400707033003521e-20},{x:-.18800943999999897,y:-.004636278132081827},{x:-.19049897999999899,y:-.009383479936300985},{x:-.192988519999999,y:-.01417367910655569},{x:-.19547805999999898,y:-.018992691314014522},{x:-.19796759999999902,y:-.02382615458789039}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2003586000000006,y:-.02382615458789039},{x:.19786906000000057,y:-.01899269131401453},{x:.19537952000000058,y:-.014173679106555696},{x:.19288998000000057,y:-.009383479936300985},{x:.1904004400000006,y:-.004636278132081827},{x:.18791090000000055,y:5400707033003174e-20},{x:.1854213600000005,y:.004673807344939681},{x:.18293182000000052,y:.009209988928770731},{x:.1804422800000005,y:.013649933595881476},{x:.17795274000000053,y:.017981616452923805},{x:.17546320000000049,y:.022193680076609393},{x:.17297366000000047,y:.026275504536001},{x:.17048412000000046,y:.030217272867918137},{x:.16799458000000045,y:.034010031601779636},{x:.16550504000000044,y:.03764574596072702},{x:.16301550000000042,y:.04111734939869574},{x:.1605259600000004,y:.04441878716802149},{x:.1580364200000004,y:.04754505364897295},{x:.1555468800000004,y:.05049222321106203},{x:.15305734000000037,y:.05325747441586117},{x:.15056780000000036,y:.055839107412109526},{x:.14807826000000035,y:.05823655441586117},{x:.14558872000000034,y:.06045038321106201},{x:.14309918000000033,y:.06248229364897292},{x:.1406096400000003,y:.06433510716802145},{x:.1381201000000003,y:.0660127493986957},{x:.1356305600000003,y:.06752022596072697},{x:.13314102000000028,y:.06886359160177957},{x:.13065148000000026,y:.07004991286791806},{x:.12816194000000025,y:.07108722453600091},{x:.12567240000000024,y:.0719844800766093},{x:.12318286000000023,y:.07275149645292371},{x:.12069332000000021,y:.07339889359588138},{x:.1182037800000002,y:.07393802892877062},{x:.11571424000000019,y:.07438092734493956},{x:.11322470000000018,y:.07474020707032991},{x:.11073516000000017,y:.07502900186791804},{x:.10824562000000015,y:.07526088006369888},{x:.10575608000000014,y:.07544976089344414},{x:.10326654000000013,y:.0756098286859853},{x:.10077700000000012,y:.07575544541210943},{x:.09828746250000013,y:.0756098286859853},{x:.09579792500000014,y:.07544976089344414},{x:.09330838750000017,y:.07526088006369887},{x:.09081885000000019,y:.07502900186791804},{x:.0883293125000002,y:.0747402070703299},{x:.08583977500000022,y:.07438092734493956},{x:.08335023750000023,y:.07393802892877062},{x:.08086070000000026,y:.07339889359588138},{x:.07837116250000027,y:.07275149645292371},{x:.07588162500000029,y:.0719844800766093},{x:.0733920875000003,y:.07108722453600091},{x:.07090255000000031,y:.07004991286791806},{x:.06841301250000034,y:.06886359160177957},{x:.06592347500000036,y:.06752022596072697},{x:.06343393750000037,y:.0660127493986957},{x:.060944400000000384,y:.06433510716802145},{x:.0584548625000004,y:.06248229364897291},{x:.05596532500000043,y:.06045038321106202},{x:.05347578750000044,y:.05823655441586117},{x:.050986250000000455,y:.055839107412109526},{x:.04849671250000047,y:.05325747441586117},{x:.04600717500000048,y:.05049222321106202},{x:.04351763750000051,y:.047545053648972956},{x:.041028100000000525,y:.04441878716802149},{x:.03853856250000054,y:.04111734939869574},{x:.036049025000000554,y:.03764574596072702},{x:.03355948750000057,y:.034010031601779636},{x:.031069950000000596,y:.03021727286791814},{x:.02858041250000061,y:.026275504536001},{x:.026090875000000624,y:.022193680076609396},{x:.023601337500000638,y:.017981616452923805},{x:.021111800000000652,y:.013649933595881474},{x:.01862226250000068,y:.00920998892877074},{x:.016132725000000694,y:.0046738073449396865},{x:.013643187500000709,y:5400707033003521e-20},{x:.011153650000000723,y:-.004636278132081827},{x:.008664112500000737,y:-.009383479936300985},{x:.006174575000000764,y:-.01417367910655569},{x:.0036850375000007786,y:-.018992691314014522},{x:.0011955000000007932,y:-.02382615458789039}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.3995216000000006,y:-.02382615458789039},{x:.39703206250000056,y:-.01899269131401453},{x:.3945425250000006,y:-.014173679106555696},{x:.3920529875000006,y:-.009383479936300985},{x:.38956345000000064,y:-.004636278132081827},{x:.38707391250000067,y:5400707033003174e-20},{x:.3845843750000007,y:.004673807344939681},{x:.38209483750000073,y:.009209988928770731},{x:.37960530000000076,y:.013649933595881476},{x:.3771157625000008,y:.017981616452923805},{x:.37462622500000076,y:.022193680076609393},{x:.37213668750000073,y:.026275504536001},{x:.36964715000000076,y:.030217272867918137},{x:.3671576125000008,y:.034010031601779636},{x:.3646680750000008,y:.03764574596072702},{x:.36217853750000084,y:.04111734939869574},{x:.3596890000000008,y:.04441878716802149},{x:.3571994625000009,y:.04754505364897295},{x:.35470992500000087,y:.05049222321106203},{x:.35222038750000095,y:.05325747441586117},{x:.3497308500000009,y:.055839107412109526},{x:.3472413125000009,y:.05823655441586117},{x:.344751775000001,y:.06045038321106201},{x:.34226223750000095,y:.06248229364897292},{x:.33977270000000104,y:.06433510716802145},{x:.337283162500001,y:.0660127493986957},{x:.334793625000001,y:.06752022596072697},{x:.33230408750000107,y:.06886359160177957},{x:.3298145500000011,y:.07004991286791806},{x:.32732501250000107,y:.07108722453600091},{x:.3248354750000011,y:.0719844800766093},{x:.3223459375000011,y:.07275149645292371},{x:.3198564000000011,y:.07339889359588138},{x:.3173668625000012,y:.07393802892877062},{x:.31487732500000115,y:.07438092734493956},{x:.3123877875000012,y:.07474020707032991},{x:.3098982500000012,y:.07502900186791804},{x:.30740871250000124,y:.07526088006369888},{x:.30491917500000126,y:.07544976089344414},{x:.30242963750000124,y:.0756098286859853},{x:.29994010000000126,y:.07575544541210943},{x:.29745056000000125,y:.0756098286859853},{x:.29496102000000124,y:.07544976089344414},{x:.2924714800000012,y:.07526088006369887},{x:.2899819400000012,y:.07502900186791804},{x:.2874924000000012,y:.0747402070703299},{x:.2850028600000012,y:.07438092734493956},{x:.2825133200000012,y:.07393802892877062},{x:.28002378000000117,y:.07339889359588138},{x:.27753424000000115,y:.07275149645292371},{x:.27504470000000114,y:.0719844800766093},{x:.27255516000000113,y:.07108722453600091},{x:.2700656200000011,y:.07004991286791806},{x:.2675760800000011,y:.06886359160177957},{x:.2650865400000011,y:.06752022596072697},{x:.2625970000000011,y:.0660127493986957},{x:.26010746000000107,y:.06433510716802145},{x:.25761792000000105,y:.06248229364897291},{x:.25512838000000104,y:.06045038321106202},{x:.25263884000000103,y:.05823655441586117},{x:.250149300000001,y:.055839107412109526},{x:.247659760000001,y:.05325747441586117},{x:.245170220000001,y:.05049222321106202},{x:.24268068000000098,y:.047545053648972956},{x:.24019114000000097,y:.04441878716802149},{x:.23770160000000096,y:.04111734939869574},{x:.23521206000000094,y:.03764574596072702},{x:.23272252000000093,y:.034010031601779636},{x:.23023298000000092,y:.03021727286791814},{x:.2277434400000009,y:.026275504536001},{x:.2252539000000009,y:.022193680076609396},{x:.22276436000000088,y:.017981616452923805},{x:.22027482000000087,y:.013649933595881474},{x:.21778528000000086,y:.00920998892877074},{x:.21529574000000085,y:.0046738073449396865},{x:.21280620000000083,y:5400707033003521e-20},{x:.21031666000000082,y:-.004636278132081827},{x:.2078271200000008,y:-.009383479936300985},{x:.2053375800000008,y:-.01417367910655569},{x:.20284804000000078,y:-.018992691314014522},{x:.20035850000000077,y:-.02382615458789039}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.40026109999999937,y:-.022544054587890106},{x:-.5272914999999991,y:-.022544054587890106}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.5282280000000006,y:-.027111054587890093},{x:.4011975999999997,y:-.027111054587890093}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.0020145999999989783,y:.22997364541210996},bottom1:{type:"text",text:"{VAL}",x:-.002185205294839676,y:-.22997364541210996}},refblocks:{left1:{x:-.5279125,y:-.021272154587890446},right1:{x:.5279125,y:-.026521254587889898}},bounds:{minX:-.556070941,maxX:.556070941,minY:-.22997364541210996,maxY:.22997364541210996,width:1.112141882,height:.4599472908242199,centerX:0,centerY:0},circles:{}};var xx=e(H).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right",{x:-.5,y:0}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:0}).build();var mx=e(H).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.5}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.5}).build();var nx=e(H).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var fx=e(H).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_left").build();var Po={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}}};Po.bounds.width+=.2;var Z=e(Po).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var So=r(Z,"down"),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+=.9;Ro.x=.3;Fo.y-=.1;Fo.x=.3;var cx=So;var To=r(Z,"left"),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+=.71;Eo.x=.44;Yo.y-=.71;Yo.x=.44;var hx=To;var Xo=r(Z,"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+=.1;Lo.x=.3;Vo.y-=.71;Vo.x=.3;var dx=Xo;var _x={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:Zh,texts:bx,bounds:I0,refblocks:gx,circles:Qh}=_x,bt=x({primitives:[...Object.values(Zh),...Object.values(Qh),{...bx.bottom1,anchor:"middle_top"},{...bx.right1,anchor:"middle_bottom"}],ports:[{...gx.left1,labels:["1"]},{...gx.right1,labels:["2"]}],size:{width:I0.width,height:I0.height},center:{x:I0.centerX,y:I0.centerY}});var jo=r(bt,"up"),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+=.21;ko.x=.21;zo.y-=.21;zo.x=.21;var B0=jo;var Oo=E(B0),Jo=Oo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$o=Oo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jo.anchor="middle_left";$o.anchor="middle_left";Jo.y+=.4;Jo.x=.2;$o.y-=.41;$o.x=.2;var ux=Oo;var vx=Y(bt);var wx={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:t2,texts:Ax,bounds:q0,refblocks:Px,circles:e2}=wx,D0=x({primitives:[...Object.values(t2),...Object.values(e2),{...Ax.top1,anchor:"middle_left",x:0},{...Ax.bottom1,anchor:"middle_left",x:0}],ports:[{...Px.left1,labels:["1"]},{...Px.right1,labels:["2"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var Sx=r(D0),Rx=Sx.primitives.filter(t=>t.type==="text"),Mo=Rx.find(t=>t.text==="{VAL}");Mo.x=-.35;Mo.y=0;Mo.anchor="middle_right";var Co=Rx.find(t=>t.text==="{REF}");Co.y=0;Co.x=.35;Co.anchor="middle_left";var Fx=Sx;var Tx={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:o2,texts:Ex,bounds:G0,refblocks:No}=Tx,U0=x({primitives:[...Object.values(o2),{...Ex.right1,anchor:"middle_left"},{...Ex.right2,anchor:"middle_left"}],ports:[{...No.top1,labels:["1"]},{...No.bottom1,labels:["2"]},{...No.left1,labels:["3"]}],size:{width:G0.width+.4,height:G0.height},center:{x:G0.centerX+.2,y:G0.centerY}});var Io=r(U0),Yx=Io.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bo=Io.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yx.anchor="middle_top";Bo.anchor="middle_top";Yx.x=Bo.x;Bo.y+=.15;var Xx=Io;var Lx={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:l2,texts:Vx,bounds:W0,refblocks:jx,circles:p2}=Lx,H0=x({primitives:[...Object.values(l2),...Object.values(p2),{...Vx.top1,anchor:"middle_bottom",x:0},{...Vx.bottom1,anchor:"middle_top",x:0}],ports:[{...jx.left1,labels:["1"]},{...jx.right1,labels:["2"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX+.006,y:W0.centerY+.06}});var qo=r(H0),Vt=qo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Z0=qo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vt.anchor="middle_left";Z0.anchor="middle_right";Vt.x=Vt.x-.03;Vt.y=Vt.y;Z0.x=Z0.x;Z0.y=0;var kx=qo;var zx={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:y2,texts:Ox,bounds:Q0,refblocks:Do,circles:s2}=zx,K0=x({primitives:[...Object.values(y2),...Object.values(s2),{...Ox.top1,anchor:"middle_right",x:0},{...Ox.bottom1,anchor:"middle_right",x:0}],ports:[{...Do.top1,labels:["1","drain"]},{...Do.bottom1,labels:["2","source"]},{...Do.left1,labels:["3","gate"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}});var Jx=r(K0),$x=Jx.primitives.filter(t=>t.type==="text"),Go=$x.find(t=>t.text==="{VAL}");Go.x=-.35;Go.y=0;Go.anchor="middle_right";var Uo=$x.find(t=>t.text==="{REF}");Uo.y=0;Uo.x=.35;Uo.anchor="middle_left";var Mx=Jx;var Cx={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:m2,texts:Nx,bounds:te,refblocks:Wo,circles:n2}=Cx,ee=x({primitives:[...Object.values(m2),...Object.values(n2),{...Nx.top1,anchor:"middle_right",x:0},{...Nx.bottom1,anchor:"middle_right",x:0}],ports:[{...Wo.top1,labels:["1","drain"]},{...Wo.bottom1,labels:["2","source"]},{...Wo.left1,labels:["3","gate"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}});var Ix=r(ee),Bx=Ix.primitives.filter(t=>t.type==="text"),Ho=Bx.find(t=>t.text==="{VAL}");Ho.x=-.35;Ho.y=0;Ho.anchor="middle_right";var Zo=Bx.find(t=>t.text==="{REF}");Zo.y=0;Zo.x=.35;Zo.anchor="middle_left";var qx=Ix;var Dx={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:c2,texts:Gx,bounds:re,refblocks:Qo,circles:h2}=Dx,oe=x({primitives:[...Object.values(c2),...Object.values(h2),{...Gx.top1,anchor:"middle_right",x:0},{...Gx.bottom1,anchor:"middle_right",x:0}],ports:[{...Qo.top1,labels:["1","drain"]},{...Qo.bottom1,labels:["2","source"]},{...Qo.left1,labels:["3","gate"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}});var Ux=r(oe),Wx=Ux.primitives.filter(t=>t.type==="text"),Ko=Wx.find(t=>t.text==="{VAL}");Ko.x=-.35;Ko.y=0;Ko.anchor="middle_right";var ti=Wx.find(t=>t.text==="{REF}");ti.y=0;ti.x=.35;ti.anchor="middle_left";var Hx=Ux;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:_2,bounds:Qx,refblocks:b2}=Zx,Q=e({primitives:[...Object.values(_2)],ports:[{...b2.left1,labels:["1"]}],center:{x:Qx.centerX,y:Qx.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var Kx=r(Q,"down");var tm=r(Q,"left");var em=r(Q,"up");var T={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:u2,texts:eS,bounds:ie,refblocks:ei,circles:v2}=T,rm=e({primitives:[...Object.values(u2),...Object.values(v2),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...ei.top1,labels:["1","collector"]},{...ei.bottom1,labels:["3","emitter"]},{...ei.left1,labels:["2","base"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:w2,texts:lS,bounds:le,refblocks:ri,circles:A2}=T,om=e({primitives:[...Object.values(w2),...Object.values(A2),{type:"text",text:"{REF}",x:.55,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:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:P2,texts:sS,bounds:pe,refblocks:oi,circles:S2}=T,im=e({primitives:[...Object.values(P2),...Object.values(S2),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...oi.top1,labels:["1","collector"]},{...oi.bottom1,labels:["3","emitter"]},{...oi.left1,labels:["2","base"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:R2,texts:fS,bounds:ae,refblocks:ii,circles:F2}=T,lm=e({primitives:[...Object.values(R2),...Object.values(F2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...ii.top1,labels:["1","collector"]},{...ii.bottom1,labels:["3","emitter"]},{...ii.left1,labels:["2","base"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:T2,texts:_S,bounds:ye,refblocks:li,circles:E2}=T,pm=e({primitives:[...Object.values(T2),...Object.values(E2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...li.top1,labels:["1","collector"]},{...li.bottom1,labels:["3","emitter"]},{...li.left1,labels:["2","base"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Y2,texts:vS,bounds:se,refblocks:pi,circles:X2}=T,am=e({primitives:[...Object.values(Y2),...Object.values(X2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...pi.top1,labels:["1","collector"]},{...pi.bottom1,labels:["3","emitter"]},{...pi.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 ym={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:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var K=e(ym).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var sm=r(K,"down");var xm=E(r(K,"left"));var mm=r(K,"up");var nm={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:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var tt=e(nm).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 fm=r(tt,"down");var cm=E(r(tt,"left"));var hm=r(tt,"up");var dm={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:k2,texts:_m,bounds:xe,refblocks:ai,circles:z2}=dm,me=x({primitives:[...Object.values(k2),...Object.values(z2),{..._m.top1,anchor:"middle_right",x:0},{..._m.bottom1,anchor:"middle_right",x:0}],ports:[{...ai.top1,labels:["1","drain"]},{...ai.bottom1,labels:["2","source"]},{...ai.left1,labels:["3","gate"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}});var bm=r(me),gm=bm.primitives.filter(t=>t.type==="text"),yi=gm.find(t=>t.text==="{VAL}");yi.x=-.35;yi.y=0;yi.anchor="middle_right";var si=gm.find(t=>t.text==="{REF}");si.y=0;si.x=.35;si.anchor="middle_left";var um=bm;var vm={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:J2,texts:wm,bounds:ne,refblocks:xi,circles:$2}=vm,fe=x({primitives:[...Object.values(J2),...Object.values($2),{...wm.top1,anchor:"middle_right",x:0},{...wm.bottom1,anchor:"middle_right",x:0}],ports:[{...xi.top1,labels:["1","drain"]},{...xi.bottom1,labels:["2","source"]},{...xi.left1,labels:["3","gate"]}],size:{width:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}});var Am=r(fe),Pm=Am.primitives.filter(t=>t.type==="text"),mi=Pm.find(t=>t.text==="{VAL}");mi.x=-.35;mi.y=0;mi.anchor="middle_right";var ni=Pm.find(t=>t.text==="{REF}");ni.y=0;ni.x=.35;ni.anchor="middle_left";var Sm=Am;var Rm={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 ce=e(Rm).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Fm=r(ce),C2=Fm.primitives.filter(t=>t.type==="text"),Tm=C2.find(t=>t.text==="{REF}");Tm.y=0;Tm.anchor="middle_left";var Em=Fm;var Ym={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:I2,texts:Xm,bounds:he,refblocks:fi,circles:B2}=Ym,de=x({primitives:[...Object.values(I2),...Object.values(B2),{...Xm.top1,anchor:"middle_right",x:0},{...Xm.bottom1,anchor:"middle_right"}],ports:[{...fi.top1,labels:["1","drain"]},{...fi.bottom1,labels:["2","source"]},{...fi.left1,labels:["3","gate"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}});var Lm=r(de),Vm=Lm.primitives.filter(t=>t.type==="text"),ci=Vm.find(t=>t.text==="{VAL}");ci.x=-.35;ci.y=0;ci.anchor="middle_right";var hi=Vm.find(t=>t.text==="{REF}");hi.y=0;hi.x=.35;hi.anchor="middle_left";var jm=Lm;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:D2,texts:RR,bounds:_e,refblocks:di,circles:G2}=g,km=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:[{...di.top1,labels:["1","collector"]},{...di.bottom1,labels:["3","emitter"]},{...di.left1,labels:["2","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:YR,texts:XR,bounds:LR,refblocks:VR,circles:jR}=g,zm=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["2","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["3","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:U2,texts:JR,bounds:be,refblocks:_i,circles:W2}=g,Om=e({primitives:[...Object.values(U2),...Object.values(W2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{..._i.top1,labels:["1","collector"]},{..._i.bottom1,labels:["3","emitter"]},{..._i.left1,labels:["2","base"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:H2,texts:NR,bounds:ge,refblocks:bi,circles:Z2}=g,Jm=e({primitives:[...Object.values(H2),...Object.values(Z2),{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:["3","emitter"]},{...bi.left1,labels:["2","base"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:Q2,texts:DR,bounds:ue,refblocks:gi,circles:K2}=g,$m=e({primitives:[...Object.values(Q2),...Object.values(K2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...gi.top1,labels:["1","collector"]},{...gi.bottom1,labels:["3","emitter"]},{...gi.left1,labels:["2","base"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:td,texts:HR,bounds:ve,refblocks:ui,circles:ed}=g,Mm=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ui.top1,labels:["1","collector"]},{...ui.bottom1,labels:["3","emitter"]},{...ui.left1,labels:["2","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 Cm={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:od,texts:Nm,bounds:we,refblocks:Im}=Cm,Ae=x({primitives:[...Object.values(od),{...Nm.bottom1,y:.35,anchor:"middle_top"},{...Nm.top1,anchor:"middle_left"}],ports:[{...Im.left1,labels:["1"]},{...Im.right1,labels:["2"]}],size:{width:we.width+.05,height:we.height},center:{x:we.centerX,y:we.centerY}});var id=r(Ae),Bm=id;var qm={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:pd,texts:Dm,bounds:Pe,refblocks:Gm}=qm,et=x({primitives:[...Object.values(pd),{...Dm.bottom1,x:0,y:-.35,anchor:"middle_top"},{...Dm.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...Gm.left1,labels:["1"]},{...Gm.right1,labels:["2"]}],size:{width:Pe.width+.05,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}});var vi=r(et,"down"),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_left";Ai.anchor="middle_left";wi.y+=.31;wi.x=.34;Ai.y-=.31;Ai.x=.34;var Um=vi;var Pi=r(et,"left"),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_bottom";Ri.anchor="middle_top";Si.y+=.73;Si.x=0;Ri.y-=.7;Ri.x=0;var Wm=Pi;var Fi=r(et,"up"),Ti=Fi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ei=Fi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ti.anchor="middle_left";Ei.anchor="middle_left";Ti.y+=.21;Ti.x=.34;Ei.y-=.21;Ei.x=.34;var Hm=Fi;var rt={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:yd,texts:vF,bounds:Se,refblocks:Yi,circles:sd}=rt,Zm=e({primitives:[...Object.values(yd),...Object.values(sd),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Yi.left,labels:["1"]},{...Yi.right,labels:["3"]},{...Yi.bottom,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:xd,texts:SF,bounds:Re,refblocks:Xi,circles:md}=rt,Qm=e({primitives:[...Object.values(xd),...Object.values(md),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Xi.left,labels:["1"]},{...Xi.right,labels:["3"]},{...Xi.bottom,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Km=e(rt).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:nd,texts:LF,bounds:Fe,refblocks:Li,circles:fd}=rt,t1=e({primitives:[...Object.values(nd),...Object.values(fd),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Li.left,labels:["1"]},{...Li.right,labels:["3"]},{...Li.bottom,labels:["2"]}],size:{width:Fe.width,height:Fe.height},center:{x:Fe.centerX,y:Fe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var e1={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:hd,texts:OF,bounds:Te,refblocks:r1,circles:dd}=e1,Ee=x({primitives:[...Object.values(hd),...Object.values(dd),{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:[{...r1.left1,labels:["1"]},{...r1.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}});var o1=r(Ee),ki=o1.primitives.filter(t=>t.type==="text"),Vi=ki.find(t=>t.text==="{REF}"),zi=ki.find(t=>t.text==="{VAL}"),ji=ki.find(t=>t.text==="COS \u03C6");Vi.x=.35;Vi.y=.4279000000000375,Vi.anchor="middle_left";zi.anchor="middle_left";zi.x=.35;zi.y=-.4279000000000375,ji.x=0;ji.y=.014279000000000375,ji.anchor="center";var i1=o1;var l1={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:bd,texts:p1,bounds:Ye,refblocks:a1,circles:gd}=l1,Xe=x({primitives:[...Object.values(bd),...Object.values(gd),{...p1.top1,anchor:"middle_left"},{...p1.bottom1,anchor:"middle_left"}],ports:[{...a1.left1,labels:["1"]},{...a1.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}});var y1=r(Xe,"up");var Le={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:vd,texts:s1,bounds:Ve,refblocks:x1,circles:wd}=Le,L=x({primitives:[...Object.values(vd),...Object.values(wd),{...s1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...s1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...x1.left1,labels:["1"]},{...x1.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}});var Oi=r(L,"down"),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=.35;$i.y=-.4;$i.x=.35;var m1=Oi;var{paths:Ad,texts:n1,bounds:je,refblocks:f1,circles:Pd}=Le,c1=x({primitives:[...Object.values(Ad),...Object.values(Pd),{...n1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...n1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...f1.left1,labels:["1"]},{...f1.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}});var Mi=r(L,"left"),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_bottom";Ni.anchor="middle_top";Ci.y=.4;Ci.x=0;Ni.y=-.4;Ni.x=0;var h1=Mi;var Ii=r(L,"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 d1=Ii;var Di=r(L,"up"),Gi=Di.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ui=Di.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gi.anchor="middle_left";Ui.anchor="middle_left";Gi.y+=.4;Gi.x=.34;Ui.y-=.41;Ui.x=.34;var _1=Di;var ot={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:Rd,texts:_T,bounds:b1,refblocks:Fd,circles:Td}=ot,g1=e({primitives:[...Object.values(Rd),...Object.values(Td),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...Fd.left1,labels:["1"]}],center:{x:b1.centerX,y:b1.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Ed,texts:vT,bounds:u1,refblocks:Yd,circles:Xd}=ot,v1=e({primitives:[...Object.values(Ed),...Object.values(Xd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Yd.left1,labels:["1"]}],center:{x:u1.centerX,y:u1.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Ld,texts:ST,bounds:w1,refblocks:Vd,circles:jd}=ot,A1=e({primitives:[...Object.values(Ld),...Object.values(jd),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...Vd.left1,labels:["1"]}],center:{x:w1.centerX,y:w1.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:kd,texts:ET,bounds:P1,refblocks:zd}=ot,S1=e({primitives:[...Object.values(kd),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...zd.left1,labels:["1"]}],center:{x:P1.centerX,y:P1.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var R1={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:Jd,texts:F1,bounds:ke,refblocks:ze,circles:$d}=R1,Oe=x({primitives:[...Object.values(Jd),...Object.values($d),{...F1.top1,anchor:"middle_right"},{...F1.bottom1,anchor:"middle_right"}],ports:[{...ze.top1,labels:["1"]},{...ze.bottom1,labels:["2"]},{...ze.left1,labels:["3"]},{...ze.right1,labels:["4"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}});var Wi=r(Oe),Md=Wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cd=Wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Md.anchor="middle_left";Cd.anchor="middle_right";var T1=Wi;var it={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:Id,texts:CT,bounds:Je,refblocks:E1,circles:Bd}=it,Y1=e({primitives:[...Object.values(Id),...Object.values(Bd),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...E1.left1,labels:["1"]},{...E1.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:qd,texts:qT,bounds:$e,refblocks:X1,circles:Dd}=it,L1=e({primitives:[...Object.values(qd),...Object.values(Dd),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...X1.left1,labels:["1"]},{...X1.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Gd,texts:WT,bounds:Me,refblocks:V1,circles:Ud}=it,j1=e({primitives:[...Object.values(Gd),...Object.values(Ud),{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:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Wd,texts:KT,bounds:Ce,refblocks:k1,circles:Hd}=it,z1=e({primitives:[...Object.values(Wd),...Object.values(Hd),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...k1.left1,labels:["1"]},{...k1.right1,labels:["2"]}],size:{width:Ce.width,height:Ce.height},center:{x:Ce.centerX,y:Ce.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ne={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:Qd,texts:O1,bounds:Ie,refblocks:Hi,circles:Kd}=Ne,lt=x({primitives:[...Object.values(Qd),...Object.values(Kd),{...O1.top1,anchor:"middle_bottom"},{...O1.bottom1,anchor:"middle_top"}],ports:[{...Hi.left1,labels:["1"]},{...Hi.right1,labels:["2"]},{...Hi.right2,labels:["3"]}],size:{width:Ie.width,height:Ie.height},center:{x:Ie.centerX,y:Ie.centerY}});var Zi=r(lt,"down"),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+=.3;Qi.x+=.101;Ki.y-=.49999;Ki.x+=1.19999;var J1=Zi;var{paths:t4,texts:xE,bounds:Be,refblocks:tl,circles:e4}=Ne,qe=x({primitives:[...Object.values(t4),...Object.values(e4),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...tl.left1,labels:["1"]},{...tl.right1,labels:["2"]},{...tl.right2,labels:["3"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var el=r(lt,"left"),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+=.99;rl.x-=0;ol.y-=1.10999;ol.x=0;var $1=el;var il=r(lt,"up"),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_bottom";pl.anchor="middle_top";ll.y+=.499;ll.x=.62;pl.y-=.29999;pl.x+=.1;var M1=il;var C1=r(qe);var N1={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 pt=e(N1).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var al=r(pt,"down"),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_left";sl.anchor="middle_left";yl.y+=.3;yl.x=.3;sl.y-=.3;sl.x=.3;var I1=al;var xl=r(pt,"left"),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_bottom";nl.anchor="middle_top";ml.y+=.5;ml.x=0;nl.y-=.55;nl.x=0;var B1=xl;var fl=r(pt,"up"),cl=fl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hl=fl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cl.anchor="middle_left";hl.anchor="middle_left";cl.y+=.3;cl.x=.3;hl.y-=.3;hl.x=.3;var q1=fl;var dl={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:OE,texts:JE,bounds:$E,refblocks:ME,circles:CE}=dl,De=e(dl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var D1=r(De),i4=D1.primitives.filter(t=>t.type==="text"),G1=i4.find(t=>t.text==="{REF}");G1.y=0;G1.anchor="middle_left";var U1=D1;var Ge={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.025},{x:-.07,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],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:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var W1=e(Ge).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var gt=e(Ge).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var H1=r(gt,"left"),_l=H1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");_l.anchor="middle_bottom";_l.y+=.4;_l.x=0;var Z1=H1;var Q1=r(gt,"up"),bl=Q1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");bl.anchor="middle_left";bl.y+=0;bl.x=.2;var K1=Q1;var Ue={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],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:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var tn=e(Ue).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var ut=e(Ue).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var en=r(ut,"left"),gl=en.primitives.find(t=>t.type==="text"&&t.text==="{REF}");gl.anchor="middle_bottom";gl.y+=.4;gl.x=0;var rn=en;var on=r(ut,"up"),ul=on.primitives.find(t=>t.type==="text"&&t.text==="{REF}");ul.anchor="middle_left";ul.y+=.05;ul.x=.2;var ln=on;var We={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var pn=e(We).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var vt=e(We).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var an=r(vt,"left"),vl=an.primitives.find(t=>t.type==="text"&&t.text==="{REF}");vl.anchor="middle_left";vl.y+=.5;vl.x=.2;var yn=an;var sn=r(vt,"up"),wl=sn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");wl.anchor="middle_left";wl.y+=.3;wl.x=.2;var xn=sn;var He={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var mn=e(He).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var wt=e(He).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var nn=r(wt,"left"),Al=nn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Al.anchor="middle_left";Al.y+=.5;Al.x=.2;var fn=nn;var cn=r(wt,"up"),Pl=cn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Pl.anchor="middle_left";Pl.y+=.4;Pl.x=.2;var hn=cn;var Ze={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var dn=e(Ze).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var At=e(Ze).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var _n=r(At,"left"),Sl=_n.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Sl.anchor="middle_left";Sl.y+=.6;Sl.x=.3;var bn=_n;var gn=r(At,"up"),Rl=gn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Rl.anchor="middle_left";Rl.y+=.4;Rl.x=.2;var un=gn;var Qe={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var vn=e(Qe).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Pt=e(Qe).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var wn=r(Pt,"left"),Fl=wn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Fl.anchor="middle_left";Fl.y+=.5;Fl.x=.3;var An=wn;var Pn=r(Pt,"up"),Tl=Pn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Tl.anchor="middle_left";Tl.y+=.3;Tl.x=.2;var Sn=Pn;var Rn={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 at=e(Rn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var El=r(at,"down"),Yl=El.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xl=El.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yl.anchor="middle_bottom";Xl.anchor="middle_top";Yl.x=.44;Yl.y+=.28;Xl.y-=.28;Xl.x=.44;var Fn=El;var Ll=r(at,"left"),Vl=Ll.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jl=Ll.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vl.anchor="middle_bottom";jl.anchor="middle_top";Vl.x=0;Vl.y+=.625;jl.y-=.695;jl.x=0;var Tn=Ll;var kl=r(at,"up"),zl=kl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ol=kl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zl.anchor="middle_bottom";Ol.anchor="middle_top";zl.x=.4;zl.y+=.28;Ol.y-=.28;Ol.x=.4;var En=kl;var Yn={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 yt=e(Yn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Jl=r(yt,"down"),$l=Jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ml=Jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$l.anchor="middle_bottom";Ml.anchor="middle_top";$l.x=.44;$l.y+=.28;Ml.y-=.28;Ml.x=.44;var Xn=Jl;var Cl=r(yt,"left"),Nl=Cl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Il=Cl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nl.anchor="middle_bottom";Il.anchor="middle_top";Nl.x=0;Nl.y+=.625;Il.y-=.695;Il.x=0;var Ln=Cl;var Bl=r(yt,"up"),ql=Bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dl=Bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ql.anchor="middle_bottom";Dl.anchor="middle_top";ql.x=.4;ql.y+=.28;Dl.y-=.28;Dl.x=.4;var Vn=Bl;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: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 jt.refblocks.left1;delete jt.refblocks.right1;jt.bounds.width+=.2;var st=e(jt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Gl=r(st,"down"),Ul=Gl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wl=Gl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ul.anchor="middle_bottom";Wl.anchor="middle_top";Ul.x=.3;Ul.y+=.265;Wl.y-=.265;Wl.x=.3;var jn=Gl;var Hl=r(st,"left"),Zl=Hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ql=Hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zl.anchor="middle_bottom";Ql.anchor="middle_top";Zl.x=0;Zl.y+=.57;Ql.y-=.57;Ql.x=0;var kn=Hl;var Kl=r(st,"up"),tp=Kl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ep=Kl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");tp.anchor="middle_bottom";ep.anchor="middle_top";tp.x=.3;tp.y+=.265;ep.y-=.265;ep.x=.3;var zn=Kl;var kt={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 kt.refblocks.left1;delete kt.refblocks.right1;kt.bounds.width+=.2;var xt=e(kt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var rp=r(xt,"down"),op=rp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ip=rp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");op.anchor="middle_bottom";ip.anchor="middle_top";op.x=.3;op.y+=.265;ip.y-=.265;ip.x=.3;var On=rp;var lp=r(xt,"left"),pp=lp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ap=lp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pp.anchor="middle_bottom";ap.anchor="middle_top";pp.x=0;pp.y+=.57;ap.y-=.57;ap.x=0;var Jn=lp;var yp=r(xt,"up"),sp=yp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xp=yp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sp.anchor="middle_bottom";xp.anchor="middle_top";sp.x=.3;sp.y+=.265;xp.y-=.265;xp.x=.3;var $n=yp;var mt={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 Mn=e(mt).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 Cn=e(mt).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 Nn=e(mt).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var In=e(mt).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 mp={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:XL,bounds:LL,refblocks:VL,circles:jL}=mp,Ke=e(mp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Bn=r(Ke);var qn={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:b4,texts:g4,bounds:tr,refblocks:Dn,circles:u4}=qn,zt=x({primitives:[...Object.values(b4),...Object.values(u4),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...g4.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...Dn.left1,labels:["1"]},{...Dn.right1,labels:["2"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}});var{5:v4,...w4}=zt.primitives;function A4(t){return typeof t=="object"}var Gn=r({...zt,primitives:Object.values(w4).filter(A4)}),Un={...Gn,primitives:[...Gn.primitives,v4]};var nt=x({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 Hn=r(nt,"down"),Wn=Hn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Wn&&(Wn.anchor="middle_top");var Zn=Hn;var Qn=r(nt,"left");var t9=r(nt,"up"),Kn=t9.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Kn&&(Kn.anchor="middle_bottom");var e9=t9;var r9={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 St=e(r9).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var np=r(St,"up"),fp=np.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cp=np.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fp.anchor="middle_bottom";cp.anchor="middle_top";fp.x=.4;fp.y+=.2;cp.y-=.3;cp.x=.4;var er=np;var hp=E(er),dp=hp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_p=hp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dp.anchor="middle_bottom";_p.anchor="middle_top";dp.x=.35;dp.y+=.4;_p.y-=.4;_p.x=.35;var o9=hp;var bp=r(St,"left"),gp=bp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),up=bp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gp.anchor="middle_bottom";up.anchor="middle_top";gp.x=0;gp.y+=.5;up.y-=.6;up.x=0;var i9=bp;var vp={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:gV,texts:uV,bounds:vV,refblocks:wV,circles:AV}=vp,rr=e(vp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var l9=r(rr),p9=l9.primitives.filter(t=>t.type==="text"),R4=p9.find(t=>t.text==="{REF}"),F4=p9.find(t=>t.text==="{VAL}");R4.y=0;F4.y=0;var a9=l9;var y9={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:E4,texts:s9,bounds:or,refblocks:x9,circles:Y4}=y9,ir=x({primitives:[...Object.values(E4),...Object.values(Y4),{...s9.top1,anchor:"middle_bottom"},{...s9.bottom1,anchor:"middle_top"}],ports:[{...x9.left1,labels:["1"]},{...x9.right1,labels:["2"]}],size:{width:or.width,height:or.height},center:{x:or.centerX,y:or.centerY}});var wp=r(ir),X4=wp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),L4=wp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");X4.anchor="middle_left";L4.anchor="middle_right";var m9=wp;var n9={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:j4,texts:f9,bounds:lr,refblocks:Ap,circles:k4}=n9,pr=x({primitives:[...Object.values(j4),...Object.values(k4),{...f9.top1,anchor:"middle_left"},{...f9.bottom1,anchor:"middle_right"}],ports:[{...Ap.top1,labels:["1"]},{...Ap.bottom1,labels:["2"]},{...Ap.left1,labels:["3"]}],size:{width:lr.width,height:lr.height},center:{x:lr.centerX,y:lr.centerY}});var c9=r(pr),h9=c9.primitives.filter(t=>t.type==="text"),z4=h9.find(t=>t.text==="{REF}");z4.y=.1;var d9=h9.find(t=>t.text==="{VAL}");d9.y=.1;d9.x=-.4;var _9=c9;var b9={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 g9=e(b9).changeTextAnchor("{REF}","middle_bottom").build();var u9={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:$4,texts:Pp,bounds:ar,refblocks:v9,circles:M4}=u9,yr=x({primitives:[...Object.values($4),...Object.values(M4),{...Pp.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Pp.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Pp.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...v9.left1,labels:["1"]},{...v9.right1,labels:["2"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var w9=r(yr);var A9={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:N4,texts:P9,bounds:sr,refblocks:S9,circles:I4}=A9,xr=x({primitives:[...Object.values(N4),...Object.values(I4),{...P9.top1,anchor:"middle_bottom"},{...P9.bottom1,anchor:"middle_top"}],ports:[{...S9.left1,labels:["1"]},{...S9.right1,labels:["2"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var Sp=r(xr),B4=Sp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),q4=Sp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");B4.anchor="middle_left";q4.anchor="middle_right";var R9=Sp;var F9={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:G4,texts:T9,bounds:mr,refblocks:E9}=F9,nr=x({primitives:[...Object.values(G4),{...T9.top1,anchor:"middle_left"},{...T9.bottom1,anchor:"middle_right"}],ports:[{...E9.left1,labels:["1","-"]},{...E9.right1,labels:["2","+"]}],size:{width:mr.width,height:mr.height},center:{x:mr.centerX,y:mr.centerY}});var Y9=r(nr);var X9={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:W4,texts:H4,bounds:fr,refblocks:L9,circles:Z4}=X9,Ot=x({primitives:[...Object.values(W4),...Object.values(Z4),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...H4.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...L9.left1,labels:["1"]},{...L9.right1,labels:["2"]}],size:{width:fr.width,height:fr.height},center:{x:fr.centerX,y:fr.centerY}});var{5:Q4,...K4}=Ot.primitives;function t5(t){return typeof t=="object"}var V9=r({...Ot,primitives:Object.values(K4).filter(t5)}),j9={...V9,primitives:[...V9.primitives,Q4]};var ft={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 j(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 r5=e(ft).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),k9=j(r5,{width:.24,height:.23});var o5=e(ft).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),z9=j(o5,{width:.23,height:.24});var i5=e(ft).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),O9=j(i5,{width:.23,height:.24});var l5=e(ft).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),J9=j(l5,{width:.24,height:.23});var Rp={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:Cj,texts:Nj,bounds:Ij,circles:Bj,refblocks:qj}=Rp,cr=e(Rp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var $9=r(cr);var M9={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:y5,texts:s5,bounds:hr,refblocks:C9,circles:x5}=M9,Jt=x({primitives:[...Object.values(y5),...Object.values(x5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...s5.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...C9.left1,labels:["1"]},{...C9.right1,labels:["2"]}],size:{width:hr.width,height:hr.height},center:{x:hr.centerX,y:hr.centerY}});var{5:m5,...n5}=Jt.primitives;function f5(t){return typeof t=="object"}var N9=r({...Jt,primitives:Object.values(n5).filter(f5)}),I9={...N9,primitives:[...N9.primitives,m5]};var B9={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:h5,texts:d5,bounds:dr,refblocks:q9,circles:_5}=B9,$t=x({primitives:[...Object.values(h5),...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"},{...d5.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...q9.left1,labels:["1"]},{...q9.right1,labels:["2"]}],size:{width:dr.width,height:dr.height},center:{x:dr.centerX,y:dr.centerY}});var{5:b5,...g5}=$t.primitives;function u5(t){return typeof t=="object"}var D9=r({...$t,primitives:Object.values(g5).filter(u5)}),G9={...D9,primitives:[...D9.primitives,b5]};var U9={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:w5,texts:W9,bounds:_r,refblocks:H9,circles:A5}=U9,br=x({primitives:[...Object.values(w5),...Object.values(A5),{...W9.top1,anchor:"middle_bottom"},{...W9.bottom1,anchor:"middle_top"}],ports:[{...H9.left1,labels:["1"]},{...H9.right1,labels:["2"]}],size:{width:_r.width,height:_r.height},center:{x:_r.centerX,y:_r.centerY}});var Fp=r(br),P5=Fp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),S5=Fp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");P5.anchor="middle_left";S5.anchor="middle_right";var Z9=Fp;var Q9={ac_voltmeter_down:Vp,ac_voltmeter_horz:kp,ac_voltmeter_left:Op,ac_voltmeter_right:$p,ac_voltmeter_up:Cp,ac_voltmeter_vert:Ip,avalanche_diode_down:qp,avalanche_diode_horz:Dp,avalanche_diode_left:Up,avalanche_diode_right:Wp,avalanche_diode_up:Zp,avalanche_diode_vert:Kp,backward_diode_down:ea,backward_diode_left:t0,backward_diode_right:ia,backward_diode_up:la,battery_horz:o0,battery_vert:sa,boxresistor_down:na,boxresistor_left:ha,boxresistor_right:ba,boxresistor_small_down:ua,boxresistor_small_left:wa,boxresistor_small_right:Pa,boxresistor_small_up:Ra,boxresistor_up:Ea,bridged_ground_down:La,bridged_ground_left:ka,bridged_ground_right:y0,bridged_ground_up:Ja,capacitor_down:Ma,capacitor_left:Ca,capacitor_polarized_down:Na,capacitor_polarized_left:Ia,capacitor_polarized_right:Ba,capacitor_polarized_up:qa,capacitor_right:Da,capacitor_up:Ua,constant_current_diode_down:Ha,constant_current_diode_horz:Za,constant_current_diode_left:Ka,constant_current_diode_right:ty,constant_current_diode_up:ry,constant_current_diode_vert:iy,crystal_4pin_down:ly,crystal_4pin_left:py,crystal_4pin_right:ay,crystal_4pin_up:yy,crystal_down:xy,crystal_left:my,crystal_right:ny,crystal_up:cy,current_source_down:hy,current_source_left:dy,current_source_right:_y,current_source_up:by,darlington_pair_transistor_down:gy,darlington_pair_transistor_horz:uy,darlington_pair_transistor_left:vy,darlington_pair_transistor_right:wy,darlington_pair_transistor_up:Ay,darlington_pair_transistor_vert:Py,dc_ammeter_down:Yt,dc_ammeter_horz:X,dc_ammeter_left:Ty,dc_ammeter_right:Ey,dc_ammeter_up:Yy,dc_ammeter_vert:Yt,dc_voltmeter_down:Ly,dc_voltmeter_horz:jy,dc_voltmeter_left:zy,dc_voltmeter_right:Jy,dc_voltmeter_up:My,dc_voltmeter_vert:Ny,diac_down:Iy,diac_horz:By,diac_left:qy,diac_right:Dy,diac_up:Gy,diac_vert:Uy,digital_ground_down:Hy,digital_ground_left:Qy,digital_ground_right:ts,digital_ground_up:rs,diode_down:is,diode_left:ls,diode_right:B,diode_up:ps,dpdt_normally_closed_switch_down:ys,dpdt_normally_closed_switch_left:ss,dpdt_normally_closed_switch_right:q,dpdt_normally_closed_switch_up:xs,dpdt_switch_down:ns,dpdt_switch_left:fs,dpdt_switch_right:D,dpdt_switch_up:cs,dpst_normally_closed_switch_down:ds,dpst_normally_closed_switch_left:_s,dpst_normally_closed_switch_right:G,dpst_normally_closed_switch_up:bs,dpst_switch_down:us,dpst_switch_left:vs,dpst_switch_right:U,dpst_switch_up:ws,ferrite_bead_down:Ps,ferrite_bead_left:Ss,ferrite_bead_right:X0,ferrite_bead_up:Y0,filled_diode_down:Fs,filled_diode_horz:Es,filled_diode_left:Xs,filled_diode_right:Vs,filled_diode_up:ks,filled_diode_vert:Os,frequency_meter_horz:Xt,frequency_meter_vert:Cs,fuse_horz:M0,fuse_vert:Bs,ground_down:qs,ground_horz:Ds,ground_left:Gs,ground_right:Us,ground_up:Ws,ground_vert:Hs,gunn_diode_horz:Zs,gunn_diode_vert:Qs,icled_down:tx,icled_left:ex,icled_right:W,icled_up:rx,igbt_transistor_horz:C0,igbt_transistor_vert:lx,illuminated_push_button_normally_open_horz:N0,illuminated_push_button_normally_open_vert:sx,inductor_down:xx,inductor_left:mx,inductor_right:nx,inductor_up:fx,laser_diode_down:cx,laser_diode_left:hx,laser_diode_right:Z,laser_diode_up:dx,led_down:ux,led_left:vx,led_right:bt,led_up:B0,light_dependent_resistor_horz:D0,light_dependent_resistor_vert:Fx,mosfet_depletion_normally_on_horz:U0,mosfet_depletion_normally_on_vert:Xx,mushroom_head_normally_open_momentary_horz:H0,mushroom_head_normally_open_momentary_vert:kx,n_channel_d_mosfet_transistor_horz:K0,n_channel_d_mosfet_transistor_vert:Mx,n_channel_e_mosfet_transistor_horz:ee,n_channel_e_mosfet_transistor_vert:qx,njfet_transistor_horz:oe,njfet_transistor_vert:Hx,not_connected_down:Kx,not_connected_left:tm,not_connected_right:Q,not_connected_up:em,npn_bipolar_transistor_down:rm,npn_bipolar_transistor_horz:om,npn_bipolar_transistor_left:im,npn_bipolar_transistor_right:lm,npn_bipolar_transistor_up:pm,npn_bipolar_transistor_vert:am,opamp_no_power_down:sm,opamp_no_power_left:xm,opamp_no_power_right:K,opamp_no_power_up:mm,opamp_with_power_down:fm,opamp_with_power_left:cm,opamp_with_power_right:tt,opamp_with_power_up:hm,p_channel_d_mosfet_transistor_horz:me,p_channel_d_mosfet_transistor_vert:um,p_channel_e_mosfet_transistor_horz:fe,p_channel_e_mosfet_transistor_vert:Sm,photodiode_horz:ce,photodiode_vert:Em,pjfet_transistor_horz:de,pjfet_transistor_vert:jm,pnp_bipolar_transistor_down:km,pnp_bipolar_transistor_horz:zm,pnp_bipolar_transistor_left:Om,pnp_bipolar_transistor_right:Jm,pnp_bipolar_transistor_up:$m,pnp_bipolar_transistor_vert:Mm,potentiometer_horz:Ae,potentiometer_vert:Bm,potentiometer2_down:Um,potentiometer2_left:Wm,potentiometer2_right:et,potentiometer2_up:Hm,potentiometer3_down:Zm,potentiometer3_left:Qm,potentiometer3_right:Km,potentiometer3_up:t1,power_factor_meter_horz:Ee,power_factor_meter_vert:i1,push_button_normally_closed_momentary_horz:Xe,push_button_normally_closed_momentary_vert:y1,push_button_normally_open_momentary_down:m1,push_button_normally_open_momentary_horz:c1,push_button_normally_open_momentary_left:h1,push_button_normally_open_momentary_right:L,push_button_normally_open_momentary_up:d1,push_button_normally_open_momentary_vert:_1,rail_down:g1,rail_left:v1,rail_right:A1,rail_up:S1,rectifier_diode_horz:Oe,rectifier_diode_vert:T1,resistor_down:Y1,resistor_left:L1,resistor_right:j1,resistor_up:z1,resonator_down:J1,resonator_horz:qe,resonator_left:$1,resonator_right:lt,resonator_up:M1,resonator_vert:C1,schottky_diode_down:I1,schottky_diode_left:B1,schottky_diode_right:pt,schottky_diode_up:q1,silicon_controlled_rectifier_horz:De,silicon_controlled_rectifier_vert:U1,solderjumper2_bridged12_down:W1,solderjumper2_bridged12_left:Z1,solderjumper2_bridged12_right:gt,solderjumper2_bridged12_up:K1,solderjumper2_down:tn,solderjumper2_left:rn,solderjumper2_right:ut,solderjumper2_up:ln,solderjumper3_bridged12_down:pn,solderjumper3_bridged12_left:yn,solderjumper3_bridged12_right:vt,solderjumper3_bridged12_up:xn,solderjumper3_bridged123_down:mn,solderjumper3_bridged123_left:fn,solderjumper3_bridged123_right:wt,solderjumper3_bridged123_up:hn,solderjumper3_bridged23_down:dn,solderjumper3_bridged23_left:bn,solderjumper3_bridged23_right:At,solderjumper3_bridged23_up:un,solderjumper3_down:vn,solderjumper3_left:An,solderjumper3_right:Pt,solderjumper3_up:Sn,spdt_normally_closed_switch_down:Fn,spdt_normally_closed_switch_left:Tn,spdt_normally_closed_switch_right:at,spdt_normally_closed_switch_up:En,spdt_switch_down:Xn,spdt_switch_left:Ln,spdt_switch_right:yt,spdt_switch_up:Vn,spst_normally_closed_switch_down:jn,spst_normally_closed_switch_left:kn,spst_normally_closed_switch_right:st,spst_normally_closed_switch_up:zn,spst_switch_down:On,spst_switch_left:Jn,spst_switch_right:xt,spst_switch_up:$n,square_wave_down:Mn,square_wave_left:Cn,square_wave_right:Nn,square_wave_up:In,step_recovery_diode_horz:Ke,step_recovery_diode_vert:Bn,tachometer_horz:zt,tachometer_vert:Un,testpoint_down:Zn,testpoint_left:Qn,testpoint_right:nt,testpoint_up:e9,tilted_ground_down:o9,tilted_ground_left:i9,tilted_ground_right:St,tilted_ground_up:er,triac_horz:rr,triac_vert:a9,tunnel_diode_horz:ir,tunnel_diode_vert:m9,unijunction_transistor_horz:pr,unijunction_transistor_vert:_9,usbc:g9,var_meter_horz:yr,var_meter_vert:w9,varactor_diode_horz:xr,varactor_diode_vert:R9,varistor_horz:nr,varistor_vert:Y9,varmeter_horz:Ot,varmeter_vert:j9,vcc_down:k9,vcc_left:z9,vcc_right:O9,vcc_up:J9,volt_meter_horz:cr,volt_meter_vert:$9,watt_hour_meter_horz:Jt,watt_hour_meter_vert:I9,wattmeter_horz:$t,wattmeter_vert:G9,zener_diode_horz:br,zener_diode_vert:Z9};var _=(t,o=!0)=>o?-t:t;var ct=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function K9(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${_(a.y,i)}`).join(" ");return o?`${l} Z`:l}function R5(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${_(a,i)-y} L ${l+y} ${_(a,i)} L ${l} ${_(a,i)+y} L ${l-y} ${_(a,i)} Z" fill="green" />`}function F5(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,h=0,p=0,s=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=s;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=s/2;break;case"middle_right":m="end",p=s/2;break}return{text:`<text x="${i}" y="${_(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${ct("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${_(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function T5(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="${_(l,o)-y/2}" x2="${i+y/2}" y2="${_(l,o)+y/2}" stroke="red" stroke-width="0.004" />
|
|
9
9
|
<line x1="${i-y/2}" y1="${_(l,o)+y/2}" x2="${i+y/2}" y2="${_(l,o)-y/2}" stroke="red" stroke-width="0.004" />
|
|
10
10
|
`}
|
|
11
11
|
<text x="${i-n/2}" y="${_(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 tf(t,o={}){let{debug:i=!1}=o,{primitives:l,size:a,ports:y}=t,n=l.map(s=>{switch(s.type){case"path":return`<path d="${K9(s.points,{closed:s.closed,yUpPositive:!0})}" fill="${s.fill?ct(s.color):"none"}" stroke="${ct(s.color)}" stroke-width="0.02" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let f=F5(s,{yUpPositive:!0});return f.text+(i?f.anchor:"");case"circle":return`<circle cx="${s.x}" cy="${_(s.y,!0)}" r="${s.radius}" fill="${s.fill?ct(s.color):"none"}" ${s.fill?"":`stroke="${ct(s.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${s.x}" y="${_(s.y)}" width="${s.width}" height="${s.height}" fill="${ct("primary")}" />`;default:return""}}),m=y.map(s=>T5(s,{yUpPositive:!0})).join(`
|
|
14
|
+
`),h=R5(t.center),p=[];if(i){let s={x:t.center.x-a.width/2,y:t.center.y-a.height/2};p.push(`<text x="${s.x}" y="${s.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="${s.x}" y="${s.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 E5(t,o={}){let{size:i}=t,l=tf(t,o),a=1.2,y=i.width*a,n=i.height*a,m={x:t.center.x-y/2,y:_(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 qC=Object.fromEntries(Object.keys(Q9).map(t=>[t,t]));export{qC as BASE_SYMBOLS,tf as getInnerSvg,E5 as getSvg,j as resizeSymbol,Q9 as symbols};
|
|
17
17
|
//# sourceMappingURL=index.js.map
|