schematic-symbols 0.0.203 → 0.0.204

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 CHANGED
@@ -1,9 +1,9 @@
1
- function _(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]+t.f]:{x:t.a*o.x+t.c*o.y+t.e,y:t.b*o.x+t.d*o.y+t.f}}function Jt(t){return typeof t>"u"}function bt(t,o=0){return{a:1,c:0,e:t,b:0,d:1,f:o}}function X(...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 X(y,...a)}}}var{cos:_f,sin:gf,PI:d_}=Math;function cr(t,o,i){let l=_f(t),a=gf(t),y={a:l,c:-a,e:0,b:a,d:l,f:0};return Jt(o)||Jt(i)?y:X([bt(o,i),y,bt(-o,-i)])}var{tan:A_}=Math;function uf(t,o){function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i}function $t(t,o,i,l){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,$t.prototype),a.expected=o,a.found=i,a.location=l,a.name="SyntaxError",a}uf($t,Error);function hr(t,o,i){return i=i||" ",t.length>o?t:(o-=t.length,i+=i.repeat(o),t+i.slice(0,o))}$t.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=hr("",y.line.toString().length," "),p=i[a.line-1],x=a.line===m.line?m.column:p.length+1,f=x-a.column||1;o+=`
1
+ function _(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]+t.f]:{x:t.a*o.x+t.c*o.y+t.e,y:t.b*o.x+t.d*o.y+t.f}}function Jt(t){return typeof t>"u"}function bt(t,o=0){return{a:1,c:0,e:t,b:0,d:1,f:o}}function L(...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 L(y,...a)}}}var{cos:_f,sin:gf,PI:d_}=Math;function cr(t,o,i){let l=_f(t),a=gf(t),y={a:l,c:-a,e:0,b:a,d:l,f:0};return Jt(o)||Jt(i)?y:L([bt(o,i),y,bt(-o,-i)])}var{tan:A_}=Math;function uf(t,o){function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i}function $t(t,o,i,l){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,$t.prototype),a.expected=o,a.found=i,a.location=l,a.name="SyntaxError",a}uf($t,Error);function hr(t,o,i){return i=i||" ",t.length>o?t:(o-=t.length,i+=i.repeat(o),t+i.slice(0,o))}$t.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=hr("",y.line.toString().length," "),p=i[a.line-1],x=a.line===m.line?m.column:p.length+1,f=x-a.column||1;o+=`
2
2
  --> `+n+`
3
3
  `+h+` |
4
4
  `+y.line+" | "+p+`
5
5
  `+h+" | "+hr("",a.column-1," ")+hr("",f,"^")}else o+=`
6
- at `+n}return o};$t.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function h(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+h(o)+" found."};function _t(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:h,radius:p}=n;y({x:m-p,y:h-p}),y({x:m+p,y:h+p});break}case"box":{let{x:m,y:h,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:h-d}),y({x:m+f,y:h+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var wf=(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},L=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=X({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},E=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=X({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},At=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=cr(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(bf=>_(y,bf))};case"text":let Ql=_(y,{x:c.x,y:c.y});return c.anchor=wf(c.anchor,i??"right"),{...c,x:Ql.x,y:Ql.y};case"circle":let Kl=_(y,{x:c.x,y:c.y});return{...c,x:Kl.x,y:Kl.y};case"box":let tp=_(y,{x:c.x,y:c.y});return{...c,x:tp.x,y:tp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,..._(y,c)})),d=_t(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>At(t,{newOrientation:o,overrides:i});var dr=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=At(this.symbol,{newOrientation:o}),this}computeSize(){let o=_t(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new dr({...t,primitives:o,ports:i,center:l})};var v={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path17:{type:"path",points:[{x:0,y:-.13},{x:.07,y:-.11}],color:"primary",fill:!1},path18:{type:"path",points:[{x:.07,y:-.11},{x:.14,y:-.13}],color:"primary",fill:!1},path19:{type:"path",points:[{x:-.15,y:-.13},{x:-.07,y:-.11}],color:"primary",fill:!1},path20:{type:"path",points:[{x:-.07,y:-.11},{x:0,y:-.13}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:Pf,texts:z4,bounds:Mt,refblocks:rp,circles:Sf}=v,op=e({primitives:[...Object.values(Pf),...Object.values(Sf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...rp.left1,labels:["1"]},{...rp.right1,labels:["2"]}],size:{width:Mt.width,height:Mt.height},center:{x:Mt.centerX,y:Mt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Rf,texts:M4,bounds:Ct,refblocks:ip,circles:Ff}=v,lp=e({primitives:[...Object.values(Rf),...Object.values(Ff),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ip.left1,labels:["1"]},{...ip.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Tf,texts:B4,bounds:Nt,refblocks:pp,circles:Ef}=v,ap=e({primitives:[...Object.values(Tf),...Object.values(Ef),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...pp.left1,labels:["1"]},{...pp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Yf,texts:U4,bounds:It,refblocks:yp,circles:Xf}=v,xp=e({primitives:[...Object.values(Yf),...Object.values(Xf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...yp.left1,labels:["1"]},{...yp.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:Lf,texts:Q4,bounds:Bt,refblocks:sp,circles:Vf}=v,mp=e({primitives:[...Object.values(Lf),...Object.values(Vf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...sp.left1,labels:["1"]},{...sp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:jf,texts:r5,bounds:qt,refblocks:np,circles:kf}=v,fp=e({primitives:[...Object.values(jf),...Object.values(kf),{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:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var w={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.2}],color:"primary",fill:!1},"path43-8-3":{type:"path",points:[{x:.21,y:-.11},{x:.15,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:Of,texts:a5,bounds:Dt,refblocks:cp,circles:Jf}=w,hp=e({primitives:[...Object.values(Of),...Object.values(Jf),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...cp.left1,labels:["1"]},{...cp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var dp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:$f,texts:c5,bounds:Gt,refblocks:bp,circles:Mf}=w,_p=e({primitives:[...Object.values($f),...Object.values(Mf),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...bp.left1,labels:["1"]},{...bp.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var gp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Cf,texts:v5,bounds:Ut,refblocks:up,circles:Nf}=w,vp=e({primitives:[...Object.values(Cf),...Object.values(Nf),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...up.left1,labels:["1"]},{...up.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:If,texts:S5,bounds:Wt,refblocks:wp,circles:Bf}=w,Ap=e({primitives:[...Object.values(If),...Object.values(Bf),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...wp.left1,labels:["1"]},{...wp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var 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:.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:Df,texts:Y5,bounds:Ht,refblocks:Pp,circles:Gf}=V,Sp=e({primitives:[...Object.values(Df),...Object.values(Gf),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Uf,texts:j5,bounds:Zt,refblocks:Rp,circles:Wf}=V,Qt=e({primitives:[...Object.values(Uf),...Object.values(Wf),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Hf,texts:J5,bounds:Kt,refblocks:Fp,circles:Zf}=V,Tp=e({primitives:[...Object.values(Hf),...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:[{...Fp.left1,labels:["1"]},{...Fp.right1,labels:["2"]}],size:{width:Kt.width,height:Kt.height},center:{x:Kt.centerX,y:Kt.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:I5,texts:B5,bounds:q5,refblocks:D5,circles:G5}=V,br=r(Qt,"down"),_r=br.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gr=br.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_r.anchor="middle_left";gr.anchor="middle_left";_r.x=.25;_r.y+=.21;gr.y-=.21;gr.x=.25;var Ep=br;function s(t){let o=t.size;if(!o){let i=_t(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var Yp={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:Kf,texts:Xp,bounds:te,refblocks:Lp,circles:tc}=Yp,ee=s({primitives:[...Object.values(Kf),...Object.values(tc),{...Xp.top1,anchor:"middle_bottom"},{...Xp.bottom1,anchor:"middle_top"}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}});var Vp=At(ee,{newOrientation:"up"});var j={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:rc,texts:ag,bounds:jp,refblocks:kp,circles:oc}=j,zp=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:[{...kp.left1,labels:["1"]},{...kp.right1,labels:["2"]}],center:{x:jp.centerX,y:jp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:ic,texts:mg,bounds:Op,refblocks:Jp,circles:lc}=j,$p=e({primitives:[...Object.values(ic),...Object.values(lc),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],center:{x:Op.centerX,y:Op.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:pc,texts:hg,bounds:Mp,refblocks:Cp,circles:ac}=j,Np=e({primitives:[...Object.values(pc),...Object.values(ac),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],center:{x:Mp.centerX,y:Mp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var k={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:xc,texts:ug,bounds:re,refblocks:Ip,circles:sc}=k,Bp=e({primitives:[...Object.values(xc),...Object.values(sc),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...Ip.left1,labels:["1"]},{...Ip.right1,labels:["2"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:mc,texts:Pg,bounds:oe,refblocks:qp,circles:nc}=k,Dp=e({primitives:[...Object.values(mc),...Object.values(nc),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...qp.left1,labels:["1"]},{...qp.right1,labels:["2"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:fc,texts:Tg,bounds:ie,refblocks:Gp,circles:cc}=k,Up=e({primitives:[...Object.values(fc),...Object.values(cc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Gp.left1,labels:["1"]},{...Gp.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:hc,texts:Lg,bounds:le,refblocks:Wp,circles:dc}=k,Hp=e({primitives:[...Object.values(hc),...Object.values(dc),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Wp.left1,labels:["1"]},{...Wp.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:bc,texts:zg,bounds:Zp,refblocks:Qp,circles:_c}=j,Kp=e({primitives:[...Object.values(bc),...Object.values(_c),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],center:{x:Zp.centerX,y:Zp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var gt={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:uc,texts:Cg,bounds:ta,refblocks:ea,circles:vc}=gt,ra=e({primitives:[...Object.values(uc),...Object.values(vc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ea.left1,labels:["1"]},{...ea.right1,labels:["2"]}],center:{x:ta.centerX,y:ta.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:wc,texts:qg,bounds:oa,refblocks:ia,circles:Ac}=gt,pe=e({primitives:[...Object.values(wc),...Object.values(Ac),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ia.left1,labels:["1"]},{...ia.right1,labels:["2"]}],center:{x:oa.centerX,y:oa.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var la=E(pe);var{paths:Pc,texts:Qg,bounds:pa,refblocks:aa,circles:Sc}=gt,ya=e({primitives:[...Object.values(Pc),...Object.values(Sc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...aa.left1,labels:["1"]},{...aa.right1,labels:["2"]}],center:{x:pa.centerX,y:pa.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var z={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:Fc,texts:ou,bounds:ae,refblocks:xa,circles:Tc}=z,sa=e({primitives:[...Object.values(Fc),...Object.values(Tc),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...xa.left1,labels:["1"]},{...xa.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var ma=e(z).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var O={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:Yc,texts:mu,bounds:ye,refblocks:na,circles:Xc}=O,fa=e({primitives:[...Object.values(Yc),...Object.values(Xc),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...na.left1,labels:["2","neg"]},{...na.right1,labels:["1","pos"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build();var ca=e(O).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Lc,texts:_u,bounds:xe,refblocks:ha,circles:Vc}=O,da=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...ha.left1,labels:["2","neg"]},{...ha.right1,labels:["1","pos"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build();var{paths:jc,texts:wu,bounds:se,refblocks:ba,circles:kc}=O,_a=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...ba.left1,labels:["2","neg"]},{...ba.right1,labels:["1","pos"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build();var ga=e(z).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:zc,texts:Eu,bounds:me,refblocks:ua,circles:Oc}=z,va=e({primitives:[...Object.values(zc),...Object.values(Oc),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...ua.left1,labels:["1"]},{...ua.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var A={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.29,y:.29},{x:.29,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.37}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:$c,texts:ju,bounds:ne,refblocks:wa,circles:Mc}=A,Aa=e({primitives:[...Object.values($c),...Object.values(Mc),{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:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Pa=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Cc,texts:Cu,bounds:fe,refblocks:Sa,circles:Nc}=A,Ra=e({primitives:[...Object.values(Cc),...Object.values(Nc),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...Sa.left1,labels:["1"]},{...Sa.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Fa=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ic,texts:Uu,bounds:ce,refblocks:Ta,circles:Bc}=A,Ea=e({primitives:[...Object.values(Ic),...Object.values(Bc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ta.left1,labels:["1"]},{...Ta.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{paths:qc,texts:Qu,bounds:he,refblocks:Ya,circles:Dc}=A,Xa=e({primitives:[...Object.values(qc),...Object.values(Dc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ya.left1,labels:["1"]},{...Ya.right1,labels:["2"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var J={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:Uc,texts:o3,bounds:de,refblocks:be,circles:Wc}=J,La=e({primitives:[...Object.values(Uc),...Object.values(Wc),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...be.left1,labels:["1"]},{...be.right1,labels:["3"]},{...be.bottom1,labels:["2"]},{...be.top1,labels:["4"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Va=e(J).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var ja=e(J).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:Hc,texts:f3,bounds:_e,refblocks:ge,circles:Zc}=J,ka=e({primitives:[...Object.values(Hc),...Object.values(Zc),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...ge.left1,labels:["1"]},{...ge.right1,labels:["3"]},{...ge.bottom1,labels:["2"]},{...ge.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 $={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:Kc,texts:_3,bounds:ue,refblocks:za,circles:th}=$,Oa=e({primitives:[...Object.values(Kc),...Object.values(th),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...za.left1,labels:["1"]},{...za.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ja=e($).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var $a=e($).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:eh,texts:T3,bounds:ve,refblocks:Ma,circles:rh}=$,Ca=e({primitives:[...Object.values(eh),...Object.values(rh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ma.left1,labels:["1"]},{...Ma.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Pt=.6,ur=.3,oh=[{type:"path",points:[{x:-Pt,y:0},{x:-ur,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:ur,y:0},{x:Pt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:ur,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}],Na=e({primitives:[...oh,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-Pt,y:0,labels:["1"]},{x:Pt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Pt*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var St=.6,vr=.3,ih=[{type:"path",points:[{x:-St,y:0},{x:-vr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:vr,y:0},{x:St,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:vr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Ia=e({primitives:[...ih,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-St,y:0,labels:["1"]},{x:St,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:St*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Rt=.6,wr=.3,lh=[{type:"path",points:[{x:-Rt,y:0},{x:-wr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:wr,y:0},{x:Rt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:wr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Ba=e({primitives:[...lh,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Rt,y:0,labels:["1"]},{x:Rt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Rt*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ft=.6,Ar=.3,ph=[{type:"path",points:[{x:-Ft,y:0},{x:-Ar,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Ar,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Ar,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],qa=e({primitives:[...ph,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],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("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var P={paths:{path11:{type:"path",points:[{x:1.99,y:-1.64},{x:2.1,y:-1.64}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:2.1,y:-1.48},{x:2.1,y:-1.8}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:2.22,y:-1.5},{x:2.11,y:-1.58}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:2.23,y:-1.78},{x:2.11,y:-1.7}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:2.23,y:-1.49},{x:2.23,y:-1.14}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.97},{x:2.23,y:-1.79}],color:"primary",fill:!1},"arrow-2":{type:"path",points:[{x:2.17,y:-1.7},{x:2.13,y:-1.76},{x:2.19,y:-1.76},{x:2.17,y:-1.7}],color:"primary",fill:!0},path1:{type:"path",points:[{x:1.6,y:-1.5},{x:1.86,y:-1.5}],color:"primary",fill:!1},path2:{type:"path",points:[{x:1.87,y:-1.34},{x:1.87,y:-1.66}],color:"primary",fill:!1},path3:{type:"path",points:[{x:1.99,y:-1.36},{x:1.87,y:-1.44}],color:"primary",fill:!1},path4:{type:"path",points:[{x:1.99,y:-1.64},{x:1.88,y:-1.56}],color:"primary",fill:!1},"arrow-1":{type:"path",points:[{x:1.94,y:-1.56},{x:1.89,y:-1.62},{x:1.96,y:-1.62},{x:1.94,y:-1.56}],color:"primary",fill:!0},path9:{type:"path",points:[{x:1.99,y:-1.35},{x:2.23,y:-1.36}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:1.88,y:-1.94},right1:{type:"text",text:"{REF}",x:1.88,y:-1.14}},refblocks:{right1:{x:2.23,y:-1.97},right2:{x:1.6,y:-1.5},right3:{x:2.23,y:-1.14}},bounds:{minX:1.58,maxX:2.35,minY:-1.98,maxY:-1.12,width:.77,height:.86,centerX:1.96,centerY:-1.55},circles:{"path1-0":{type:"circle",x:2.05,y:-1.54,radius:.3,color:"primary",fill:!1}}};var Da=e(P).rotateRightFacingSymbol("down").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:0,y:.15}).build();var Ga=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Ua=e(P).rotateRightFacingSymbol("left").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.8}).changeTextAnchor("{REF}","middle_left",{x:0,y:.8}).build();var Wa=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Ha=e(P).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build();var Za=e(P).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build();var Qa={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:xh,texts:sh,bounds:we,refblocks:Ka,circles:mh}=Qa,Tt=s({primitives:[...Object.values(xh),...Object.values(mh),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...sh.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...Ka.left1,labels:["1"]},{...Ka.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}});function nh(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function fh(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:Pr,2:Sr,...ch}=Tt.primitives;nh(Sr)&&Sr.points.map(t=>{t.y+=.05});fh(Pr)&&(Pr.y+=.025);function hh(t){return typeof t=="object"}var ty=r({...Tt,primitives:Object.values(ch).filter(hh)}),ey={...ty,primitives:[...ty.primitives,Pr,Sr]};var S={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:-.14},{x:.12,y:-.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:bh,texts:f7,bounds:Ae,refblocks:ry,circles:_h}=S,oy=e({primitives:[...Object.values(bh),...Object.values(_h),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ry.left1,labels:["1"]},{...ry.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:gh,texts:b7,bounds:Pe,refblocks:iy,circles:uh}=S,ly=e({primitives:[...Object.values(gh),...Object.values(uh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...iy.left1,labels:["1"]},{...iy.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:vh,texts:v7,bounds:Se,refblocks:py,circles:wh}=S,ay=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...py.left1,labels:["1"]},{...py.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ah,texts:S7,bounds:Re,refblocks:yy,circles:Ph}=S,xy=e({primitives:[...Object.values(Ah),...Object.values(Ph),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...yy.left1,labels:["1"]},{...yy.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Sh,texts:E7,bounds:Fe,refblocks:sy,circles:Rh}=S,my=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:[{...sy.left1,labels:["1"]},{...sy.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:V7,bounds:Te,refblocks:ny,circles:Th}=S,fy=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:[{...ny.left1,labels:["1"]},{...ny.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var R={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}};var cy=e(R).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:-.03,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.2}).build();var hy=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var dy=e(R).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.8}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.9}).build();var by=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var _y=e(R).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build();var gy=e(R).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build();var M={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:Xh,bounds:uy,refblocks:Lh}=M,vy=e({primitives:[...Object.values(Xh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Lh.left1,labels:["1"]}],center:{x:uy.centerX,y:uy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Vh,bounds:wy,refblocks:jh}=M,Ay=e({primitives:[...Object.values(Vh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...jh.left1,labels:["1"]}],center:{x:wy.centerX,y:wy.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:kh,bounds:Py,refblocks:zh}=M,Sy=e({primitives:[...Object.values(kh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...zh.left1,labels:["1"]}],center:{x:Py.centerX,y:Py.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Oh,bounds:Ry,refblocks:Jh}=M,Fy=e({primitives:[...Object.values(Oh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Jh.left1,labels:["1"]}],center:{x:Ry.centerX,y:Ry.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Ty={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 C=e(Ty).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ey=r(C,"down");var Yy=r(C,"left");var Xy=r(C,"up");var Ly={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 N=e(Ly).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 Rr=r(N,"down"),Fr=Rr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tr=Rr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fr.anchor="middle_bottom";Tr.anchor="middle_top";Fr.x=0;Fr.y+=.537;Tr.y-=.5375;Tr.x=0;var Vy=Rr;var Er=r(N,"left"),Yr=Er.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xr=Er.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yr.anchor="middle_bottom";Xr.anchor="middle_top";Yr.x=0;Yr.y+=1;Xr.y-=1;Xr.x=0;var jy=Er;var Lr=r(N,"up"),Vr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vr.anchor="middle_bottom";jr.anchor="middle_top";Vr.x=0;Vr.y+=.537;jr.y-=.5375;jr.x=0;var ky=Lr;var zy={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 I=e(zy).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 kr=r(I,"down"),zr=kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Or=kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zr.anchor="middle_bottom";Or.anchor="middle_top";zr.x=0;zr.y+=.565;Or.y-=.555;Or.x=0;var Oy=kr;var Jr=r(I,"left"),$r=Jr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mr=Jr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$r.anchor="middle_bottom";Mr.anchor="middle_top";$r.x=0;$r.y+=1.09;Mr.y-=1.09;Mr.x=0;var Jy=Jr;var Cr=r(I,"up"),Nr=Cr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ir=Cr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nr.anchor="middle_bottom";Ir.anchor="middle_top";Nr.x=0;Nr.y+=.565;Ir.y-=.555;Ir.x=0;var $y=Cr;var My={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 B=e(My).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Br=r(B,"down"),qr=Br.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dr=Br.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qr.anchor="middle_bottom";Dr.anchor="middle_top";qr.x=.4;qr.y+=.265;Dr.y-=.265;Dr.x=.4;var Cy=Br;var Gr=r(B,"left"),Ur=Gr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wr=Gr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ur.anchor="middle_bottom";Wr.anchor="middle_top";Ur.x=0;Ur.y+=.67;Wr.y-=.67;Wr.x=0;var Ny=Gr;var Hr=r(B,"up"),Zr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zr.anchor="middle_bottom";Qr.anchor="middle_top";Zr.x=.46;Zr.y+=.265;Qr.y-=.265;Qr.x=.46;var Iy=Hr;var By={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 q=e(By).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Kr=r(q,"down"),to=Kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),eo=Kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");to.anchor="middle_bottom";eo.anchor="middle_top";to.x=.4;to.y+=.295;eo.y-=.295;eo.x=.42;var qy=Kr;var ro=r(q,"left"),oo=ro.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),io=ro.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oo.anchor="middle_bottom";io.anchor="middle_top";oo.x=0;oo.y+=.795;io.y-=.795;io.x=0;var Dy=ro;var lo=r(q,"up"),po=lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ao=lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");po.anchor="middle_bottom";ao.anchor="middle_top";po.x=.46;po.y+=.315;ao.y-=.315;ao.x=.46;var Gy=lo;var Ee={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:qh,texts:Fv,bounds:Ye,refblocks:Uy,circles:Dh}=Ee,Xe=e({primitives:[...Object.values(qh),...Object.values(Dh),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...Uy.left1,labels:["1"]},{...Uy.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var yo=L(Xe),xo=yo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),so=yo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xo.anchor="middle_left";so.anchor="middle_left";xo.y+=.4;xo.x=.32;so.y-=.45;so.x=.32;var Wy=yo;var Le=e(Ee).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Hy=E(Le);var F={paths:{path11:{type:"path",points:[{x:-.56,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.48,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.14,y:-.15},{x:.14,y:.25}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.22,y:.25},{x:-.21,y:-.15},{x:.14,y:.05},{x:-.22,y:.25}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.09,y:.38},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.38},right1:{type:"text",text:"",x:.59,y:-.33}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{minX:-.59,maxX:.59,minY:-.38,maxY:.38,width:1.18,height:.76,centerX:0,centerY:0},circles:{}};var{paths:Uh,texts:Nv,bounds:Ve,refblocks:Zy,circles:Wh}=F,Qy=e({primitives:[...Object.values(Uh),...Object.values(Wh),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Zy.left1,labels:["1"]},{...Zy.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Hh,texts:Dv,bounds:je,refblocks:Ky,circles:Zh}=F,tx=e({primitives:[...Object.values(Hh),...Object.values(Zh),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ky.left1,labels:["1"]},{...Ky.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Qh,texts:Hv,bounds:ke,refblocks:ex,circles:Kh}=F,rx=e({primitives:[...Object.values(Qh),...Object.values(Kh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...ex.left1,labels:["1"]},{...ex.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:td,texts:t6,bounds:ze,refblocks:ox,circles:ed}=F,ix=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ox.left1,labels:["1"]},{...ox.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:rd,texts:i6,bounds:Oe,refblocks:lx,circles:od}=F,px=e({primitives:[...Object.values(rd),...Object.values(od),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...lx.left1,labels:["1"]},{...lx.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{paths:id,texts:y6,bounds:Je,refblocks:ax,circles:ld}=F,yx=e({primitives:[...Object.values(id),...Object.values(ld),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ax.left1,labels:["1"]},{...ax.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var xx={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:ad,texts:yd,bounds:$e,refblocks:sx,circles:xd}=xx,Et=s({primitives:[...Object.values(ad),...Object.values(xd),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...yd.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...sx.left1,labels:["1"]},{...sx.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}});var{5:sd,...md}=Et.primitives;function nd(t){return typeof t=="object"}var mx=r({...Et,primitives:Object.values(md).filter(nd)}),nx={...mx,primitives:[...mx.primitives,sd]};var fx={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:cd,texts:hd,bounds:Me,refblocks:cx}=fx,Ce=s({primitives:[...Object.values(cd),{...hd.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...cx.left1,labels:["1"]},{...cx.right1,labels:["2"]}],size:{width:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}});var hx=r(Ce);var T={paths:{path1:{type:"path",points:[{x:-.29,y:.01},{x:.04,y:0}],color:"primary",fill:!0},path2:{type:"path",points:[{x:.04,y:-.22},{x:.04,y:.22}],color:"primary",fill:!0},path3:{type:"path",points:[{x:.12,y:-.17},{x:.12,y:.17}],color:"primary",fill:!0},path4:{type:"path",points:[{x:.19,y:-.06},{x:.19,y:.06}],color:"primary",fill:!0}},texts:{right1:{type:"text",text:"{REF}",x:.31,y:-.02}},refblocks:{left1:{x:-.29,y:.01}},bounds:{minX:-.31,maxX:.31,minY:-.22,maxY:.22,width:.62,height:.45,centerX:0,centerY:0},circles:{}};var dx=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var bx=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var _x=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var gx=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var ux=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var vx=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Yt={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:D6,texts:G6,bounds:U6,refblocks:W6,circles:H6}=Yt,wx=e(Yt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ax=e(Yt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Px={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 D=e(Px).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 Sx=r(D,"down");var Rx=E(D);var mo=r(D,"up"),no=mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fo=mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");no.anchor="middle_left";fo.anchor="middle_left";no.y+=.21;no.x=.44;fo.y-=.21;fo.x=.44;var Fx=mo;var Tx={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 Ne=e(Tx).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var co=r(Ne),ho=co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ex=co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ho.anchor="middle_left";Ex.anchor="middle_right";ho.x=.45;ho.y+=.065;Ex.y+=.065;var Yx=co;var Xx={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 Ie=e(Xx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Lx=r(Ie),Vx=Lx.primitives.filter(t=>t.type==="text"),bo=Vx.find(t=>t.text==="{VAL}");bo.x=-.35;bo.y=0;bo.anchor="middle_right";var _o=Vx.find(t=>t.text==="{REF}");_o.y=0;_o.x=.35;_o.anchor="middle_left";var jx=Lx;var kx={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:wd,texts:zx,bounds:Be,refblocks:Ox,circles:Ad}=kx,ut=s({primitives:[...Object.values(wd),...Object.values(Ad),{...zx.top1,anchor:"middle_bottom"},{...zx.bottom1,anchor:"middle_top"}],ports:[{...Ox.left1,labels:["1"]},{...Ox.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var qe=r(ut,"up");var Jx=L(qe);var $x=E(ut);var go={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}}};go.bounds.width+=.2;var G=e(go).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var uo=r(G,"down"),vo=uo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wo=uo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vo.anchor="middle_left";wo.anchor="middle_left";vo.y+=.9;vo.x=.3;wo.y-=.1;wo.x=.3;var Mx=uo;var Ao=r(G,"left"),Po=Ao.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),So=Ao.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Po.anchor="middle_left";So.anchor="middle_left";Po.y+=.71;Po.x=.44;So.y-=.71;So.x=.44;var Cx=Ao;var Ro=r(G,"up"),Fo=Ro.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),To=Ro.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fo.anchor="middle_left";To.anchor="middle_left";Fo.y+=.1;Fo.x=.3;To.y-=.71;To.x=.3;var Nx=Ro;var Ix={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:Rd,texts:Bx,bounds:De,refblocks:qx,circles:Fd}=Ix,vt=s({primitives:[...Object.values(Rd),...Object.values(Fd),{...Bx.bottom1,anchor:"middle_top"},{...Bx.right1,anchor:"middle_bottom"}],ports:[{...qx.left1,labels:["1"]},{...qx.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX,y:De.centerY}});var Eo=r(vt,"up"),Yo=Eo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xo=Eo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yo.anchor="middle_left";Xo.anchor="middle_left";Yo.y+=.21;Yo.x=.21;Xo.y-=.21;Xo.x=.21;var Ge=Eo;var Lo=L(Ge),Vo=Lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jo=Lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vo.anchor="middle_left";jo.anchor="middle_left";Vo.y+=.4;Vo.x=.2;jo.y-=.41;jo.x=.2;var Dx=Lo;var Gx=E(vt);var Ux={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:Ed,texts:Wx,bounds:Ue,refblocks:Hx,circles:Yd}=Ux,We=s({primitives:[...Object.values(Ed),...Object.values(Yd),{...Wx.top1,anchor:"middle_left",x:0},{...Wx.bottom1,anchor:"middle_left",x:0}],ports:[{...Hx.left1,labels:["1"]},{...Hx.right1,labels:["2"]}],size:{width:Ue.width,height:Ue.height},center:{x:Ue.centerX,y:Ue.centerY}});var Zx=r(We),Qx=Zx.primitives.filter(t=>t.type==="text"),ko=Qx.find(t=>t.text==="{VAL}");ko.x=-.35;ko.y=0;ko.anchor="middle_right";var zo=Qx.find(t=>t.text==="{REF}");zo.y=0;zo.x=.35;zo.anchor="middle_left";var Kx=Zx;var ts={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:Ld,texts:es,bounds:He,refblocks:Oo}=ts,Ze=s({primitives:[...Object.values(Ld),{...es.right1,anchor:"middle_left"},{...es.right2,anchor:"middle_left"}],ports:[{...Oo.top1,labels:["1"]},{...Oo.bottom1,labels:["2"]},{...Oo.left1,labels:["3"]}],size:{width:He.width+.4,height:He.height},center:{x:He.centerX+.2,y:He.centerY}});var Jo=r(Ze),rs=Jo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$o=Jo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rs.anchor="middle_top";$o.anchor="middle_top";rs.x=$o.x;$o.y+=.15;var os=Jo;var is={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:jd,texts:ls,bounds:Qe,refblocks:ps,circles:kd}=is,Ke=s({primitives:[...Object.values(jd),...Object.values(kd),{...ls.top1,anchor:"middle_bottom",x:0},{...ls.bottom1,anchor:"middle_top",x:0}],ports:[{...ps.left1,labels:["1"]},{...ps.right1,labels:["2"]}],size:{width:Qe.width,height:Qe.height},center:{x:Qe.centerX+.006,y:Qe.centerY+.06}});var Mo=r(Ke),Xt=Mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),t0=Mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xt.anchor="middle_left";t0.anchor="middle_right";Xt.x=Xt.x-.03;Xt.y=Xt.y;t0.x=t0.x;t0.y=0;var as=Mo;var ys={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:Od,texts:xs,bounds:e0,refblocks:Co,circles:Jd}=ys,r0=s({primitives:[...Object.values(Od),...Object.values(Jd),{...xs.top1,anchor:"middle_right",x:0},{...xs.bottom1,anchor:"middle_right",x:0}],ports:[{...Co.top1,labels:["1","drain"]},{...Co.bottom1,labels:["2","source"]},{...Co.left1,labels:["3","gate"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}});var ss=r(r0),ms=ss.primitives.filter(t=>t.type==="text"),No=ms.find(t=>t.text==="{VAL}");No.x=-.35;No.y=0;No.anchor="middle_right";var Io=ms.find(t=>t.text==="{REF}");Io.y=0;Io.x=.35;Io.anchor="middle_left";var ns=ss;var fs={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:Md,texts:cs,bounds:o0,refblocks:Bo,circles:Cd}=fs,i0=s({primitives:[...Object.values(Md),...Object.values(Cd),{...cs.top1,anchor:"middle_right",x:0},{...cs.bottom1,anchor:"middle_right",x:0}],ports:[{...Bo.top1,labels:["1","drain"]},{...Bo.bottom1,labels:["2","source"]},{...Bo.left1,labels:["3","gate"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}});var hs=r(i0),ds=hs.primitives.filter(t=>t.type==="text"),qo=ds.find(t=>t.text==="{VAL}");qo.x=-.35;qo.y=0;qo.anchor="middle_right";var Do=ds.find(t=>t.text==="{REF}");Do.y=0;Do.x=.35;Do.anchor="middle_left";var bs=hs;var _s={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:Id,texts:gs,bounds:l0,refblocks:Go,circles:Bd}=_s,p0=s({primitives:[...Object.values(Id),...Object.values(Bd),{...gs.top1,anchor:"middle_right",x:0},{...gs.bottom1,anchor:"middle_right",x:0}],ports:[{...Go.top1,labels:["1","drain"]},{...Go.bottom1,labels:["2","source"]},{...Go.left1,labels:["3","gate"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}});var us=r(p0),vs=us.primitives.filter(t=>t.type==="text"),Uo=vs.find(t=>t.text==="{VAL}");Uo.x=-.35;Uo.y=0;Uo.anchor="middle_right";var Wo=vs.find(t=>t.text==="{REF}");Wo.y=0;Wo.x=.35;Wo.anchor="middle_left";var ws=us;var As={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:Dd,bounds:Ps,refblocks:Gd}=As,U=e({primitives:[...Object.values(Dd)],ports:[{...Gd.left1,labels:["1"]}],center:{x:Ps.centerX,y:Ps.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var Ss=r(U,"down");var Rs=r(U,"left");var Fs=r(U,"up");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:.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:Wd,texts:gP,bounds:a0,refblocks:Ho,circles:Hd}=g,Ts=e({primitives:[...Object.values(Wd),...Object.values(Hd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Ho.top1,labels:["1","collector"]},{...Ho.bottom1,labels:["2","emitter"]},{...Ho.left1,labels:["3","base"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:AP,texts:PP,bounds:SP,refblocks:RP,circles:FP}=g,Es=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Zd,texts:XP,bounds:y0,refblocks:Zo,circles:Qd}=g,Ys=e({primitives:[...Object.values(Zd),...Object.values(Qd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Zo.top1,labels:["1","collector"]},{...Zo.bottom1,labels:["2","emitter"]},{...Zo.left1,labels:["3","base"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Kd,texts:kP,bounds:x0,refblocks:Qo,circles:t2}=g,Xs=e({primitives:[...Object.values(Kd),...Object.values(t2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Qo.top1,labels:["1","collector"]},{...Qo.bottom1,labels:["2","emitter"]},{...Qo.left1,labels:["3","base"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:e2,texts:$P,bounds:s0,refblocks:Ko,circles:r2}=g,Ls=e({primitives:[...Object.values(e2),...Object.values(r2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Ko.top1,labels:["1","collector"]},{...Ko.bottom1,labels:["2","emitter"]},{...Ko.left1,labels:["3","base"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:o2,texts:IP,bounds:m0,refblocks:ti,circles:i2}=g,Vs=e({primitives:[...Object.values(o2),...Object.values(i2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["2","emitter"]},{...ti.left1,labels:["3","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 js={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:-.05},{x:-.23,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var W=e(js).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ks=r(W,"down");var zs=r(W,"left");var Os=r(W,"up");var Js={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var H=e(Js).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 $s=r(H,"down");var Ms=r(H,"left");var Cs=r(H,"up");var Ns={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:y2,texts:Is,bounds:n0,refblocks:ei,circles:x2}=Ns,f0=s({primitives:[...Object.values(y2),...Object.values(x2),{...Is.top1,anchor:"middle_right",x:0},{...Is.bottom1,anchor:"middle_right",x:0}],ports:[{...ei.top1,labels:["1","drain"]},{...ei.bottom1,labels:["2","source"]},{...ei.left1,labels:["3","gate"]}],size:{width:n0.width,height:n0.height},center:{x:n0.centerX,y:n0.centerY}});var Bs=r(f0),qs=Bs.primitives.filter(t=>t.type==="text"),ri=qs.find(t=>t.text==="{VAL}");ri.x=-.35;ri.y=0;ri.anchor="middle_right";var oi=qs.find(t=>t.text==="{REF}");oi.y=0;oi.x=.35;oi.anchor="middle_left";var Ds=Bs;var Gs={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:m2,texts:Us,bounds:c0,refblocks:ii,circles:n2}=Gs,h0=s({primitives:[...Object.values(m2),...Object.values(n2),{...Us.top1,anchor:"middle_right",x:0},{...Us.bottom1,anchor:"middle_right",x:0}],ports:[{...ii.top1,labels:["1","drain"]},{...ii.bottom1,labels:["2","source"]},{...ii.left1,labels:["3","gate"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}});var Ws=r(h0),Hs=Ws.primitives.filter(t=>t.type==="text"),li=Hs.find(t=>t.text==="{VAL}");li.x=-.35;li.y=0;li.anchor="middle_right";var pi=Hs.find(t=>t.text==="{REF}");pi.y=0;pi.x=.35;pi.anchor="middle_left";var Zs=Ws;var Qs={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(Qs).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ks=r(d0),c2=Ks.primitives.filter(t=>t.type==="text"),tm=c2.find(t=>t.text==="{REF}");tm.y=0;tm.anchor="middle_left";var em=Ks;var rm={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:d2,texts:om,bounds:b0,refblocks:ai,circles:b2}=rm,_0=s({primitives:[...Object.values(d2),...Object.values(b2),{...om.top1,anchor:"middle_right",x:0},{...om.bottom1,anchor:"middle_right"}],ports:[{...ai.top1,labels:["1","drain"]},{...ai.bottom1,labels:["2","source"]},{...ai.left1,labels:["3","gate"]}],size:{width:b0.width,height:b0.height},center:{x:b0.centerX,y:b0.centerY}});var im=r(_0),lm=im.primitives.filter(t=>t.type==="text"),yi=lm.find(t=>t.text==="{VAL}");yi.x=-.35;yi.y=0;yi.anchor="middle_right";var xi=lm.find(t=>t.text==="{REF}");xi.y=0;xi.x=.35;xi.anchor="middle_left";var pm=im;var u={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:g2,texts:US,bounds:g0,refblocks:si,circles:u2}=u,am=e({primitives:[...Object.values(g2),...Object.values(u2),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...si.top1,labels:["1","collector"]},{...si.bottom1,labels:["2","emitter"]},{...si.left1,labels:["3","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:QS,texts:KS,bounds:tR,refblocks:eR,circles:rR}=u,ym=e(u).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:v2,texts:pR,bounds:u0,refblocks:mi,circles:w2}=u,xm=e({primitives:[...Object.values(v2),...Object.values(w2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...mi.top1,labels:["1","collector"]},{...mi.bottom1,labels:["2","emitter"]},{...mi.left1,labels:["3","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:A2,texts:sR,bounds:v0,refblocks:ni,circles:P2}=u,sm=e({primitives:[...Object.values(A2),...Object.values(P2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ni.top1,labels:["1","collector"]},{...ni.bottom1,labels:["2","emitter"]},{...ni.left1,labels:["3","base"]}],size:{width: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:S2,texts:cR,bounds:w0,refblocks:fi,circles:R2}=u,mm=e({primitives:[...Object.values(S2),...Object.values(R2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...fi.top1,labels:["1","collector"]},{...fi.bottom1,labels:["2","emitter"]},{...fi.left1,labels:["3","base"]}],size:{width: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:F2,texts:_R,bounds:A0,refblocks:ci,circles:T2}=u,nm=e({primitives:[...Object.values(F2),...Object.values(T2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ci.top1,labels:["1","collector"]},{...ci.bottom1,labels:["2","emitter"]},{...ci.left1,labels:["3","base"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var fm={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:Y2,texts:cm,bounds:P0,refblocks:hm}=fm,S0=s({primitives:[...Object.values(Y2),{...cm.bottom1,y:.35,anchor:"middle_top"},{...cm.top1,anchor:"middle_left"}],ports:[{...hm.left1,labels:["1"]},{...hm.right1,labels:["2"]}],size:{width:P0.width+.05,height:P0.height},center:{x:P0.centerX,y:P0.centerY}});var X2=r(S0),dm=X2;var bm={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:V2,texts:_m,bounds:R0,refblocks:gm}=bm,Z=s({primitives:[...Object.values(V2),{..._m.bottom1,x:0,y:-.35,anchor:"middle_top"},{..._m.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...gm.left1,labels:["1"]},{...gm.right1,labels:["2"]}],size:{width:R0.width+.05,height:R0.height},center:{x:R0.centerX,y:R0.centerY}});var hi=r(Z,"down"),di=hi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bi=hi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");di.anchor="middle_left";bi.anchor="middle_left";di.y+=.31;di.x=.34;bi.y-=.31;bi.x=.34;var um=hi;var _i=r(Z,"left"),gi=_i.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ui=_i.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gi.anchor="middle_bottom";ui.anchor="middle_top";gi.y+=.73;gi.x=0;ui.y-=.7;ui.x=0;var vm=_i;var vi=r(Z,"up"),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+=.21;wi.x=.34;Ai.y-=.21;Ai.x=.34;var wm=vi;var Q={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:k2,texts:IR,bounds:F0,refblocks:Pi,circles:z2}=Q,Am=e({primitives:[...Object.values(k2),...Object.values(z2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Pi.left,labels:["1"]},{...Pi.right,labels:["3"]},{...Pi.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:O2,texts:GR,bounds:T0,refblocks:Si,circles:J2}=Q,Pm=e({primitives:[...Object.values(O2),...Object.values(J2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Si.left,labels:["1"]},{...Si.right,labels:["3"]},{...Si.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 Sm=e(Q).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:$2,texts:tF,bounds:E0,refblocks:Ri,circles:M2}=Q,Rm=e({primitives:[...Object.values($2),...Object.values(M2),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Ri.left,labels:["1"]},{...Ri.right,labels:["3"]},{...Ri.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 Fm={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:N2,texts:lF,bounds:Y0,refblocks:Tm,circles:I2}=Fm,X0=s({primitives:[...Object.values(N2),...Object.values(I2),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...Tm.left1,labels:["1"]},{...Tm.right1,labels:["2"]}],size:{width:Y0.width,height:Y0.height},center:{x:Y0.centerX,y:Y0.centerY}});var Em=r(X0),Fi=Em.primitives.filter(t=>t.type==="text"),Ti=Fi.find(t=>t.text==="{REF}"),Ei=Fi.find(t=>t.text==="{VAL}"),Yi=Fi.find(t=>t.text==="COS \u03C6");Ti.x=.35;Ti.y=0;Ti.anchor="middle_left";Ei.anchor="middle_right";Ei.x=-.35;Ei.y=0;Yi.x=0;Yi.y=0;Yi.anchor="center";var Ym=Em;var Xm={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:q2,texts:Lm,bounds:L0,refblocks:Vm,circles:D2}=Xm,V0=s({primitives:[...Object.values(q2),...Object.values(D2),{...Lm.top1,anchor:"middle_left"},{...Lm.bottom1,anchor:"middle_left"}],ports:[{...Vm.left1,labels:["1"]},{...Vm.right1,labels:["2"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}});var jm=r(V0,"up");var km={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:U2,texts:zm,bounds:j0,refblocks:Om,circles:W2}=km,k0=s({primitives:[...Object.values(U2),...Object.values(W2),{...zm.top1,anchor:"middle_left"},{...zm.bottom1,anchor:"middle_left"}],ports:[{...Om.left1,labels:["1"]},{...Om.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}});var Jm=r(k0,"up");var K={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:Z2,texts:FF,bounds:$m,refblocks:Q2,circles:K2}=K,Mm=e({primitives:[...Object.values(Z2),...Object.values(K2),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...Q2.left1,labels:["1"]}],center:{x:$m.centerX,y:$m.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:t9,texts:XF,bounds:Cm,refblocks:e9,circles:r9}=K,Nm=e({primitives:[...Object.values(t9),...Object.values(r9),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...e9.left1,labels:["1"]}],center:{x:Cm.centerX,y:Cm.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:o9,texts:kF,bounds:Im,refblocks:i9,circles:l9}=K,Bm=e({primitives:[...Object.values(o9),...Object.values(l9),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...i9.left1,labels:["1"]}],center:{x:Im.centerX,y:Im.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:p9,texts:$F,bounds:qm,refblocks:a9}=K,Dm=e({primitives:[...Object.values(p9),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...a9.left1,labels:["1"]}],center:{x:qm.centerX,y:qm.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Gm={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:x9,texts:Um,bounds:z0,refblocks:O0,circles:s9}=Gm,J0=s({primitives:[...Object.values(x9),...Object.values(s9),{...Um.top1,anchor:"middle_right"},{...Um.bottom1,anchor:"middle_right"}],ports:[{...O0.top1,labels:["1"]},{...O0.bottom1,labels:["2"]},{...O0.left1,labels:["3"]},{...O0.right1,labels:["4"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}});var Xi=r(J0),m9=Xi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),n9=Xi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");m9.anchor="middle_left";n9.anchor="middle_right";var Wm=Xi;var tt={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:c9,texts:ZF,bounds:$0,refblocks:Hm,circles:h9}=tt,Zm=e({primitives:[...Object.values(c9),...Object.values(h9),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Hm.left1,labels:["1"]},{...Hm.right1,labels:["2"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:d9,texts:eT,bounds:M0,refblocks:Qm,circles:b9}=tt,Km=e({primitives:[...Object.values(d9),...Object.values(b9),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...Qm.left1,labels:["1"]},{...Qm.right1,labels:["2"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:_9,texts:lT,bounds:C0,refblocks:tn,circles:g9}=tt,en=e({primitives:[...Object.values(_9),...Object.values(g9),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...tn.left1,labels:["1"]},{...tn.right1,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:u9,texts:xT,bounds:N0,refblocks:rn,circles:v9}=tt,on=e({primitives:[...Object.values(u9),...Object.values(v9),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...rn.left1,labels:["1"]},{...rn.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var I0={paths:{path27:{type:"path",points:[{x:.76,y:-.28},{x:.31,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.3,y:-.02},{x:-.77,y:-.02}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.3,y:.35},{x:-.3,y:-.28}],color:"primary",fill:!1},"path27-3":{type:"path",points:[{x:.77,y:.35},{x:.32,y:.35}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.07,y:-.28},{x:-.3,y:-.28}],color:"primary",fill:!1},"path29-5-7":{type:"path",points:[{x:.33,y:-.28},{x:.11,y:-.28}],color:"primary",fill:!1},"path29-5-7-6":{type:"path",points:[{x:-.06,y:-.17},{x:-.06,y:-.39}],color:"primary",fill:!1},"path29-5-7-6-6":{type:"path",points:[{x:.09,y:-.17},{x:.09,y:-.39}],color:"primary",fill:!1},"path29-5-9":{type:"path",points:[{x:-.07,y:.35},{x:-.3,y:.35}],color:"primary",fill:!1},"path29-5-7-2":{type:"path",points:[{x:.33,y:.35},{x:.11,y:.35}],color:"primary",fill:!1},"path29-5-7-6-0":{type:"path",points:[{x:-.06,y:.46},{x:-.06,y:.24}],color:"primary",fill:!1},"path29-5-7-6-6-2":{type:"path",points:[{x:.09,y:.46},{x:.09,y:.24}],color:"primary",fill:!1},"path29-5-92":{type:"path",points:[{x:.33,y:.13},{x:.33,y:.35}],color:"primary",fill:!1},"path29-5-7-28":{type:"path",points:[{x:.33,y:-.28},{x:.33,y:-.05}],color:"primary",fill:!1},"path29-5-7-6-9":{type:"path",points:[{x:.44,y:.11},{x:.22,y:.11}],color:"primary",fill:!1},"path29-5-7-6-6-7":{type:"path",points:[{x:.44,y:-.04},{x:.22,y:-.04}],color:"primary",fill:!1},"path29-5-7-6-9-2":{type:"path",points:[{x:.44,y:.07},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4":{type:"path",points:[{x:.44,y:0},{x:.44,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4-6":{type:"path",points:[{x:.22,y:0},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-9":{type:"path",points:[{x:.44,y:0},{x:.22,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.02,y:.53},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.54}},refblocks:{left1:{x:-.77,y:-.02},right1:{x:.76,y:-.28},right2:{x:.77,y:.35}},bounds:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:A9,texts:ln,bounds:B0,refblocks:Li,circles:P9}=I0,et=s({primitives:[...Object.values(A9),...Object.values(P9),{...ln.top1,anchor:"middle_bottom"},{...ln.bottom1,anchor:"middle_top"}],ports:[{...Li.left1,labels:["1"]},{...Li.right1,labels:["2"]},{...Li.right2,labels:["3"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var Vi=r(et,"down"),ji=Vi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ki=Vi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ji.anchor="middle_bottom";ki.anchor="middle_top";ji.y+=.3;ji.x+=.101;ki.y-=.49999;ki.x+=1.19999;var pn=Vi;var{paths:S9,texts:uT,bounds:q0,refblocks:zi,circles:R9}=I0,D0=s({primitives:[...Object.values(S9),...Object.values(R9),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...zi.left1,labels:["1"]},{...zi.right1,labels:["2"]},{...zi.right2,labels:["3"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var Oi=r(et,"left"),Ji=Oi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$i=Oi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ji.anchor="middle_bottom";$i.anchor="middle_top";Ji.y+=.99;Ji.x-=0;$i.y-=1.10999;$i.x=0;var an=Oi;var Mi=r(et,"up"),Ci=Mi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ni=Mi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ci.anchor="middle_bottom";Ni.anchor="middle_top";Ci.y+=.499;Ci.x=.62;Ni.y-=.29999;Ni.x+=.1;var yn=Mi;var xn=r(D0);var sn={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 rt=e(sn).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var Ii=r(rt,"down"),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+=.3;Bi.x=.3;qi.y-=.3;qi.x=.3;var mn=Ii;var Di=r(rt,"left"),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_bottom";Ui.anchor="middle_top";Gi.y+=.5;Gi.x=0;Ui.y-=.55;Ui.x=0;var nn=Di;var Wi=r(rt,"up"),Hi=Wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zi=Wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hi.anchor="middle_left";Zi.anchor="middle_left";Hi.y+=.3;Hi.x=.3;Zi.y-=.3;Zi.x=.3;var fn=Wi;var Qi={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:GT,texts:UT,bounds:WT,refblocks:HT,circles:ZT}=Qi,G0=e(Qi).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var cn=r(G0),E9=cn.primitives.filter(t=>t.type==="text"),hn=E9.find(t=>t.text==="{REF}");hn.y=0;hn.anchor="middle_left";var dn=cn;var ot={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.02},{x:-.07,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var bn=e(ot).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var _n=e(ot).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var gn=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var un=e(ot).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var it={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var vn=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var wn=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var An=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Pn=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var lt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Sn=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Rn=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Fn=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Tn=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var En=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Yn=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Xn=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ln=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var at={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Vn=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var jn=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var kn=e(at).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var zn=e(at).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var yt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var On=e(yt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Jn=e(yt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var $n=e(yt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Mn=e(yt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var Cn={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:-.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 xt=e(Cn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ki=r(xt,"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.x=.44;tl.y+=.28;el.y-=.28;el.x=.44;var Nn=Ki;var rl=r(xt,"left"),ol=rl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),il=rl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ol.anchor="middle_bottom";il.anchor="middle_top";ol.x=0;ol.y+=.625;il.y-=.695;il.x=0;var In=rl;var ll=r(xt,"up"),pl=ll.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),al=ll.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pl.anchor="middle_bottom";al.anchor="middle_top";pl.x=.4;pl.y+=.28;al.y-=.28;al.x=.4;var Bn=ll;var qn={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:.14}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right3:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}};var st=e(qn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var yl=r(st,"down"),xl=yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sl=yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xl.anchor="middle_bottom";sl.anchor="middle_top";xl.x=.44;xl.y+=.28;sl.y-=.28;sl.x=.44;var Dn=yl;var ml=r(st,"left"),nl=ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fl=ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");nl.anchor="middle_bottom";fl.anchor="middle_top";nl.x=0;nl.y+=.625;fl.y-=.695;fl.x=0;var Gn=ml;var cl=r(st,"up"),hl=cl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dl=cl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hl.anchor="middle_bottom";dl.anchor="middle_top";hl.x=.4;hl.y+=.28;dl.y-=.28;dl.x=.4;var Un=cl;var Lt={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 Lt.refblocks.left1;delete Lt.refblocks.right1;Lt.bounds.width+=.2;var mt=e(Lt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var bl=r(mt,"down"),_l=bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gl=bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_l.anchor="middle_bottom";gl.anchor="middle_top";_l.x=.3;_l.y+=.265;gl.y-=.265;gl.x=.3;var Wn=bl;var ul=r(mt,"left"),vl=ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wl=ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vl.anchor="middle_bottom";wl.anchor="middle_top";vl.x=0;vl.y+=.57;wl.y-=.57;wl.x=0;var Hn=ul;var Al=r(mt,"up"),Pl=Al.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sl=Al.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pl.anchor="middle_bottom";Sl.anchor="middle_top";Pl.x=.3;Pl.y+=.265;Sl.y-=.265;Sl.x=.3;var Zn=Al;var Vt={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:.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 Vt.refblocks.left1;delete Vt.refblocks.right1;Vt.bounds.width+=.2;var nt=e(Vt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Rl=r(nt,"down"),Fl=Rl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tl=Rl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fl.anchor="middle_bottom";Tl.anchor="middle_top";Fl.x=.3;Fl.y+=.265;Tl.y-=.265;Tl.x=.3;var Qn=Rl;var El=r(nt,"left"),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=0;Yl.y+=.57;Xl.y-=.57;Xl.x=0;var Kn=El;var Ll=r(nt,"up"),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=.3;Vl.y+=.265;jl.y-=.265;jl.x=.3;var t1=Ll;var ft={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4458008,y:.02709619999999968}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.4458008,y:.026971799999999657},{x:.1677968999999997,y:.027926399999999685}],color:"primary",fill:!1},"path8704-1":{type:"path",points:[{x:-.0040837000000002455,y:-.13467459999999964},{x:-.0040837000000002455,y:-.13467459999999964},{x:-.017668143940740948,y:-.1311205263185182},{x:-.03043520885925943,y:-.12727072121481456},{x:-.04240966440000013,y:-.1231399985999998},{x:-.05361628020740751,y:-.11874317238518502},{x:-.064079825925926,y:-.11409505648148131},{x:-.07382507120000005,y:-.10921046479999987},{x:-.0828767856740741,y:-.10410421125185171},{x:-.0912597389925926,y:-.09879110974814802},{x:-.09899870079999995,y:-.0932859741999998},{x:-.10611844074074069,y:-.08760361851851838},{x:-.11264372845925916,y:-.0817588566148146},{x:-.11859933359999993,y:-.07576650239999982},{x:-.12401002580740728,y:-.06964136978518495},{x:-.12890057472592584,y:-.06339827268148127},{x:-.13329574999999985,y:-.05705202499999972},{x:-.13722032127407394,y:-.05061744065185156},{x:-.14069905819259243,y:-.04410933354814783},{x:-.14375673039999987,y:-.03754251759999966},{x:-.14641810754074058,y:-.030931806718518143},{x:-.1487079592592591,y:-.0242920148148144},{x:-.15065105519999983,y:-.017637955799999563},{x:-.15227216500740723,y:-.01098444358518472},{x:-.15359605832592574,y:-.004346292081480994},{x:-.1546475047999998,y:.00226168480000051},{x:-.15545127407407386,y:.008824673148148676},{x:-.1560321357925924,y:.015327859051852397},{x:-.1564148595999998,y:.02175642860000056},{x:-.1566242151407405,y:.028095567881482052},{x:-.15668497205925902,y:.03433046298518576},{x:-.15662189999999976,y:.04044630000000058},{x:-.15662189999999976,y:.0404463000000006},{x:-.15662189999999976,y:.0404463000000006},{x:-.15622857394444417,y:.04717166472222282},{x:-.1553217675555553,y:.05388046444444503},{x:-.15392183849999977,y:.060558907500000585},{x:-.1520491444444442,y:.0671932022222228},{x:-.1497240430555553,y:.07376955694444502},{x:-.14696689199999974,y:.08027418000000058},{x:-.14379804894444415,y:.0866932797222228},{x:-.1402378715555553,y:.09301306444444506},{x:-.13630671749999965,y:.09921974250000057},{x:-.13202494444444415,y:.10529952222222282},{x:-.12741291005555522,y:.11123861194444501},{x:-.1224909719999997,y:.1170232200000006},{x:-.11727948794444407,y:.12263955472222278},{x:-.11179881555555524,y:.12807382444444504},{x:-.10606931249999965,y:.13331223750000057},{x:-.1001113364444441,y:.13834100222222284},{x:-.09394524505555521,y:.14314632694444504},{x:-.08759139599999967,y:.14771442000000062},{x:-.08107014694444413,y:.15203148972222283},{x:-.07440185555555523,y:.15608374444444503},{x:-.0676068794999997,y:.15985739250000058},{x:-.06070557644444415,y:.16333864222222283},{x:-.05371830405555529,y:.16651370194444504},{x:-.04666541999999976,y:.1693687800000006},{x:-.03956728194444424,y:.1718900847222228},{x:-.03244424755555539,y:.17406382444444501},{x:-.025316674499999876,y:.17587620750000055},{x:-.01820492044444437,y:.17731344222222278},{x:-.01112934305555553,y:.178361736944445},{x:-.004110300000000034,y:.17900730000000054},{x:-.004110300000000011,y:.17900730000000054}],color:"primary",fill:!1},"path8704-1-9":{type:"path",points:[{x:.004158700000000071,y:-.1355885000000001},{x:.004158700000000071,y:-.1355885000000001},{x:.017743143940740766,y:-.1320344263185187},{x:.03051020885925925,y:-.12818462121481505},{x:.042484664399999955,y:-.12405389860000024},{x:.053691280207407335,y:-.11965707238518546},{x:.0641548259259258,y:-.11500895648148178},{x:.07390007119999986,y:-.1101243648000003},{x:.0829517856740739,y:-.10501811125185218},{x:.0913347389925924,y:-.09970500974814848},{x:.09907370079999973,y:-.09419987420000027},{x:.10619344074074046,y:-.08851751851851883},{x:.11271872845925893,y:-.08267275661481507},{x:.11867433359999968,y:-.07668040240000029},{x:.12408502580740703,y:-.0705552697851854},{x:.12897557472592555,y:-.06431217268148172},{x:.13337074999999957,y:-.05796592500000018},{x:.13729532127407365,y:-.05153134065185202},{x:.14077405819259214,y:-.045023233548148286},{x:.14383173039999952,y:-.038456417600000126},{x:.14649310754074024,y:-.03184570671851861},{x:.14878295925925875,y:-.02520591481481487},{x:.1507260551999995,y:-.01855185580000003},{x:.15234716500740686,y:-.011898343585185192},{x:.15367105832592537,y:-.005260192081481464},{x:.15472250479999944,y:.001347784800000043},{x:.1555262740740735,y:.007910773148148207},{x:.156107135792592,y:.01441395905185193},{x:.1564898595999994,y:.020842528600000094},{x:.15669921514074014,y:.02718166788148159},{x:.15675997205925862,y:.03341656298518529},{x:.15669689999999936,y:.03953240000000011},{x:.15669689999999936,y:.039532400000000134},{x:.15669689999999936,y:.039532400000000134},{x:.1563035739444438,y:.04625776472222235},{x:.15539676755555493,y:.05296656444444457},{x:.15399683849999934,y:.05964500750000013},{x:.1521241444444438,y:.06627930222222234},{x:.14979904305555491,y:.07285565694444456},{x:.14704189199999937,y:.07936028000000013},{x:.1438730489444438,y:.08577937972222234},{x:.1403128715555549,y:.09209916444444458},{x:.13638171749999925,y:.0983058425000001},{x:.13209994444444376,y:.10438562222222235},{x:.12748791005555482,y:.11032471194444453},{x:.12256597199999929,y:.11610932000000013},{x:.1173544879444437,y:.1217256547222223},{x:.11187381555555485,y:.12715992444444457},{x:.10614431249999925,y:.1323983375000001},{x:.10018633644444369,y:.13742710222222235},{x:.09402024505555481,y:.14223242694444457},{x:.08766639599999927,y:.14680052000000016},{x:.08114514694444372,y:.15111758972222236},{x:.07447685555555483,y:.15516984444444457},{x:.06768187949999929,y:.15894349250000012},{x:.06078057644444377,y:.16242474222222236},{x:.053793304055554894,y:.16559980194444457},{x:.046740419999999366,y:.16845488000000014},{x:.039642281944443844,y:.17097618472222234},{x:.03251924755555499,y:.17314992444444455},{x:.02539167449999948,y:.17496230750000008},{x:.018279920444443973,y:.17639954222222232},{x:.011204343055555134,y:.17744783694444452},{x:.004185299999999637,y:.17809340000000007},{x:.004185299999999614,y:.17809340000000007}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.08039130000000005,y:.0179576999999993},{x:-.08039130000000005,y:.09650599999999931}],color:"primary",fill:!0},"path4-5":{type:"path",points:[{x:.01494479999999987,y:-.055216500000000224},{x:.01494479999999987,y:.09691909999999937}],color:"primary",fill:!0},"path4-5-8":{type:"path",points:[{x:.06871169999999927,y:-.056870000000000864},{x:.06871169999999927,y:.018784499999999538}],color:"primary",fill:!0},"path4-1":{type:"path",points:[{x:-.08179359999999969,y:.09650570000000003},{x:.015771699999999722,y:.09650570000000003}],color:"primary",fill:!0},"path4-1-6":{type:"path",points:[{x:.0117995999999998,y:-.05594970000000088},{x:.06843709999999925,y:-.05594970000000088}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.17162450000000073,y:.11125030000000025},{x:-.2688274000000015,y:.11125030000000025},{x:-.2688274000000015,y:.11469129999999961},{x:-.17162450000000073,y:.11469129999999961}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.2184661999999995,y:.16159429999999997},{x:-.2184661999999995,y:.06439139999999943},{x:-.22190719999999908,y:.06439139999999943},{x:-.22190719999999908,y:.16159429999999997}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.0024445000000006267,y:.23933980000000044},bottom1:{type:"text",text:"{VAL}",x:.00341719999999901,y:-.23933980000000066}},refblocks:{left1:{x:-.4458008,y:.02709619999999968},right1:{x:.4458008,y:.026971799999999657}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.23933980000000066,maxY:.23933980000000044,width:.947918482,height:.4786796000000011,centerX:0,centerY:-11102230246251565e-32},circles:{}};var e1=e(ft).rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_left",{x:.02,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:-.2}).build();var r1=e(ft).rotateRightFacingSymbol("left").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.45}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.55}).build();var o1=e(ft).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var i1=e(ft).rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_left",{x:.02,y:-.2}).changeTextAnchor("{REF}","middle_left",{x:.5,y:.2}).build();var kl={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:MX,texts:CX,bounds:NX,refblocks:IX,circles:BX}=kl,U0=e(kl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var l1=r(U0);var p1={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:I9,texts:B9,bounds:W0,refblocks:a1,circles:q9}=p1,jt=s({primitives:[...Object.values(I9),...Object.values(q9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...B9.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...a1.left1,labels:["1"]},{...a1.right1,labels:["2"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX,y:W0.centerY}});var{5:D9,...G9}=jt.primitives;function U9(t){return typeof t=="object"}var y1=r({...jt,primitives:Object.values(G9).filter(U9)}),x1={...y1,primitives:[...y1.primitives,D9]};var ct=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),color:"primary",fill:!1},{type:"text",text:"{REF}",x:.125,y:0,anchor:"middle_left"}],ports:[{x:-.2,y:0,labels:["1"]}],center:{x:0,y:0}});var m1=r(ct,"down"),s1=m1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");s1&&(s1.anchor="middle_top");var n1=m1;var f1=r(ct,"left");var h1=r(ct,"up"),c1=h1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");c1&&(c1.anchor="middle_bottom");var d1=h1;var b1={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 wt=e(b1).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var zl=r(wt,"up"),Ol=zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_bottom";Jl.anchor="middle_top";Ol.x=.4;Ol.y+=.2;Jl.y-=.3;Jl.x=.4;var H0=zl;var $l=L(H0),Ml=$l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cl=$l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ml.anchor="middle_bottom";Cl.anchor="middle_top";Ml.x=.35;Ml.y+=.4;Cl.y-=.4;Cl.x=.35;var _1=$l;var Nl=r(wt,"left"),Il=Nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bl=Nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Bl.anchor="middle_top";Il.x=0;Il.y+=.5;Bl.y-=.6;Bl.x=0;var g1=Nl;var ql={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:EL,texts:YL,bounds:XL,refblocks:LL,circles:VL}=ql,Z0=e(ql).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var u1=r(Z0),v1=u1.primitives.filter(t=>t.type==="text"),Z9=v1.find(t=>t.text==="{REF}"),Q9=v1.find(t=>t.text==="{VAL}");Z9.y=0;Q9.y=0;var w1=u1;var A1={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:tb,texts:P1,bounds:Q0,refblocks:S1,circles:eb}=A1,K0=s({primitives:[...Object.values(tb),...Object.values(eb),{...P1.top1,anchor:"middle_bottom"},{...P1.bottom1,anchor:"middle_top"}],ports:[{...S1.left1,labels:["1"]},{...S1.right1,labels:["2"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}});var Dl=r(K0),rb=Dl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ob=Dl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rb.anchor="middle_left";ob.anchor="middle_right";var R1=Dl;var F1={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:lb,texts:T1,bounds:tr,refblocks:Gl,circles:pb}=F1,er=s({primitives:[...Object.values(lb),...Object.values(pb),{...T1.top1,anchor:"middle_left"},{...T1.bottom1,anchor:"middle_right"}],ports:[{...Gl.top1,labels:["1"]},{...Gl.bottom1,labels:["2"]},{...Gl.left1,labels:["3"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}});var E1=r(er),Y1=E1.primitives.filter(t=>t.type==="text"),ab=Y1.find(t=>t.text==="{REF}");ab.y=.1;var X1=Y1.find(t=>t.text==="{VAL}");X1.y=.1;X1.x=-.4;var L1=E1;var V1={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 j1=e(V1).changeTextAnchor("{REF}","middle_bottom").build();var k1={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:sb,texts:Ul,bounds:rr,refblocks:z1,circles:mb}=k1,or=s({primitives:[...Object.values(sb),...Object.values(mb),{...Ul.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Ul.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Ul.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...z1.left1,labels:["1"]},{...z1.right1,labels:["2"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}});var O1=r(or);var J1={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:fb,texts:$1,bounds:ir,refblocks:M1,circles:cb}=J1,lr=s({primitives:[...Object.values(fb),...Object.values(cb),{...$1.top1,anchor:"middle_bottom"},{...$1.bottom1,anchor:"middle_top"}],ports:[{...M1.left1,labels:["1"]},{...M1.right1,labels:["2"]}],size:{width:ir.width,height:ir.height},center:{x:ir.centerX,y:ir.centerY}});var Wl=r(lr),hb=Wl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),db=Wl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hb.anchor="middle_left";db.anchor="middle_right";var C1=Wl;var N1={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:_b,texts:I1,bounds:pr,refblocks:B1}=N1,ar=s({primitives:[...Object.values(_b),{...I1.top1,anchor:"middle_left"},{...I1.bottom1,anchor:"middle_right"}],ports:[{...B1.left1,labels:["1","-"]},{...B1.right1,labels:["2","+"]}],size:{width:pr.width,height:pr.height},center:{x:pr.centerX,y:pr.centerY}});var q1=r(ar);var D1={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:ub,texts:vb,bounds:yr,refblocks:G1,circles:wb}=D1,kt=s({primitives:[...Object.values(ub),...Object.values(wb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...vb.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...G1.left1,labels:["1"]},{...G1.right1,labels:["2"]}],size:{width:yr.width,height:yr.height},center:{x:yr.centerX,y:yr.centerY}});var{5:Ab,...Pb}=kt.primitives;function Sb(t){return typeof t=="object"}var U1=r({...kt,primitives:Object.values(Pb).filter(Sb)}),W1={...U1,primitives:[...U1.primitives,Ab]};var ht={paths:{"path28-2":{type:"path",points:[{x:.19,y:0},{x:0,y:.09}],color:"primary",fill:!1},"path28-2-6":{type:"path",points:[{x:.19,y:0},{x:0,y:-.09}],color:"primary",fill:!1},"path29-3":{type:"path",points:[{x:.19,y:0},{x:-.23,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{REF}",x:.25,y:0}},refblocks:{left1:{x:-.23,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.09,maxY:.09,width:.5,height:.19,centerX:0,centerY:0},circles:{}};function Y(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 Fb=e(ht).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),H1=Y(Fb,{width:.24,height:.23});var Tb=e(ht).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Z1=Y(Tb,{width:.23,height:.24});var Eb=e(ht).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),Q1=Y(Eb,{width:.23,height:.24});var Yb=e(ht).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),K1=Y(Yb,{width:.24,height:.23});var Hl={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:ZV,texts:QV,bounds:KV,circles:tj,refblocks:ej}=Hl,xr=e(Hl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var tf=r(xr);var ef={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"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:Vb,texts:jb,bounds:sr,refblocks:rf,circles:kb}=ef,zt=s({primitives:[...Object.values(Vb),...Object.values(kb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...jb.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...rf.left1,labels:["1"]},{...rf.right1,labels:["2"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var{5:zb,...Ob}=zt.primitives;function Jb(t){return typeof t=="object"}var of=r({...zt,primitives:Object.values(Ob).filter(Jb)}),lf={...of,primitives:[...of.primitives,zb]};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:"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:Mb,texts:Cb,bounds:mr,refblocks:af,circles:Nb}=pf,Ot=s({primitives:[...Object.values(Mb),...Object.values(Nb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Cb.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...af.left1,labels:["1"]},{...af.right1,labels:["2"]}],size:{width:mr.width,height:mr.height},center:{x:mr.centerX,y:mr.centerY}});var{5:Ib,...Bb}=Ot.primitives;function qb(t){return typeof t=="object"}var yf=r({...Ot,primitives:Object.values(Bb).filter(qb)}),xf={...yf,primitives:[...yf.primitives,Ib]};var sf={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:Gb,texts:mf,bounds:nr,refblocks:nf,circles:Ub}=sf,fr=s({primitives:[...Object.values(Gb),...Object.values(Ub),{...mf.top1,anchor:"middle_bottom"},{...mf.bottom1,anchor:"middle_top"}],ports:[{...nf.left1,labels:["1"]},{...nf.right1,labels:["2"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}});var Zl=r(fr),Wb=Zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hb=Zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wb.anchor="middle_left";Hb.anchor="middle_right";var ff=Zl;var cf={ac_voltmeter_down:op,ac_voltmeter_horz:lp,ac_voltmeter_left:ap,ac_voltmeter_right:xp,ac_voltmeter_up:mp,ac_voltmeter_vert:fp,avalanche_diode_down:hp,avalanche_diode_horz:dp,avalanche_diode_left:_p,avalanche_diode_right:gp,avalanche_diode_up:vp,avalanche_diode_vert:Ap,backward_diode_down:Sp,backward_diode_left:Qt,backward_diode_right:Tp,backward_diode_up:Ep,battery_horz:ee,battery_vert:Vp,boxresistor_down:zp,boxresistor_left:$p,boxresistor_right:Np,boxresistor_small_down:Bp,boxresistor_small_left:Dp,boxresistor_small_right:Up,boxresistor_small_up:Hp,boxresistor_up:Kp,bridged_ground_down:ra,bridged_ground_left:la,bridged_ground_right:pe,bridged_ground_up:ya,capacitor_down:sa,capacitor_left:ma,capacitor_polarized_down:fa,capacitor_polarized_left:ca,capacitor_polarized_right:da,capacitor_polarized_up:_a,capacitor_right:ga,capacitor_up:va,constant_current_diode_down:Aa,constant_current_diode_horz:Pa,constant_current_diode_left:Ra,constant_current_diode_right:Fa,constant_current_diode_up:Ea,constant_current_diode_vert:Xa,crystal_4pin_down:La,crystal_4pin_left:Va,crystal_4pin_right:ja,crystal_4pin_up:ka,crystal_down:Oa,crystal_left:Ja,crystal_right:$a,crystal_up:Ca,current_source_down:Na,current_source_left:Ia,current_source_right:Ba,current_source_up:qa,darlington_pair_transistor_down:Da,darlington_pair_transistor_horz:Ga,darlington_pair_transistor_left:Ua,darlington_pair_transistor_right:Wa,darlington_pair_transistor_up:Ha,darlington_pair_transistor_vert:Za,dc_ammeter_horz:Tt,dc_ammeter_vert:ey,dc_voltmeter_down:oy,dc_voltmeter_horz:ly,dc_voltmeter_left:ay,dc_voltmeter_right:xy,dc_voltmeter_up:my,dc_voltmeter_vert:fy,diac_down:cy,diac_horz:hy,diac_left:dy,diac_right:by,diac_up:_y,diac_vert:gy,digital_ground_down:vy,digital_ground_left:Ay,digital_ground_right:Sy,digital_ground_up:Fy,diode_down:Ey,diode_left:Yy,diode_right:C,diode_up:Xy,dpdt_normally_closed_switch_down:Vy,dpdt_normally_closed_switch_left:jy,dpdt_normally_closed_switch_right:N,dpdt_normally_closed_switch_up:ky,dpdt_switch_down:Oy,dpdt_switch_left:Jy,dpdt_switch_right:I,dpdt_switch_up:$y,dpst_normally_closed_switch_down:Cy,dpst_normally_closed_switch_left:Ny,dpst_normally_closed_switch_right:B,dpst_normally_closed_switch_up:Iy,dpst_switch_down:qy,dpst_switch_left:Dy,dpst_switch_right:q,dpst_switch_up:Gy,ferrite_bead_down:Wy,ferrite_bead_left:Hy,ferrite_bead_right:Le,ferrite_bead_up:Xe,filled_diode_down:Qy,filled_diode_horz:tx,filled_diode_left:rx,filled_diode_right:ix,filled_diode_up:px,filled_diode_vert:yx,frequency_meter_horz:Et,frequency_meter_vert:nx,fuse_horz:Ce,fuse_vert:hx,ground_down:dx,ground_horz:bx,ground_left:_x,ground_right:gx,ground_up:ux,ground_vert:vx,gunn_diode_horz:wx,gunn_diode_vert:Ax,icled_down:Sx,icled_left:Rx,icled_right:D,icled_up:Fx,igbt_transistor_horz:Ne,igbt_transistor_vert:Yx,illuminated_push_button_normally_open_horz:Ie,illuminated_push_button_normally_open_vert:jx,inductor_down:Jx,inductor_left:$x,inductor_right:ut,inductor_up:qe,laser_diode_down:Mx,laser_diode_left:Cx,laser_diode_right:G,laser_diode_up:Nx,led_down:Dx,led_left:Gx,led_right:vt,led_up:Ge,light_dependent_resistor_horz:We,light_dependent_resistor_vert:Kx,mosfet_depletion_normally_on_horz:Ze,mosfet_depletion_normally_on_vert:os,mushroom_head_normally_open_momentary_horz:Ke,mushroom_head_normally_open_momentary_vert:as,n_channel_d_mosfet_transistor_horz:r0,n_channel_d_mosfet_transistor_vert:ns,n_channel_e_mosfet_transistor_horz:i0,n_channel_e_mosfet_transistor_vert:bs,njfet_transistor_horz:p0,njfet_transistor_vert:ws,not_connected_down:Ss,not_connected_left:Rs,not_connected_right:U,not_connected_up:Fs,npn_bipolar_transistor_down:Ts,npn_bipolar_transistor_horz:Es,npn_bipolar_transistor_left:Ys,npn_bipolar_transistor_right:Xs,npn_bipolar_transistor_up:Ls,npn_bipolar_transistor_vert:Vs,opamp_no_power_down:ks,opamp_no_power_left:zs,opamp_no_power_right:W,opamp_no_power_up:Os,opamp_with_power_down:$s,opamp_with_power_left:Ms,opamp_with_power_right:H,opamp_with_power_up:Cs,p_channel_d_mosfet_transistor_horz:f0,p_channel_d_mosfet_transistor_vert:Ds,p_channel_e_mosfet_transistor_horz:h0,p_channel_e_mosfet_transistor_vert:Zs,photodiode_horz:d0,photodiode_vert:em,pjfet_transistor_horz:_0,pjfet_transistor_vert:pm,pnp_bipolar_transistor_down:am,pnp_bipolar_transistor_horz:ym,pnp_bipolar_transistor_left:xm,pnp_bipolar_transistor_right:sm,pnp_bipolar_transistor_up:mm,pnp_bipolar_transistor_vert:nm,potentiometer_horz:S0,potentiometer_vert:dm,potentiometer2_down:um,potentiometer2_left:vm,potentiometer2_right:Z,potentiometer2_up:wm,potentiometer3_down:Am,potentiometer3_left:Pm,potentiometer3_right:Sm,potentiometer3_up:Rm,power_factor_meter_horz:X0,power_factor_meter_vert:Ym,push_button_normally_closed_momentary_horz:V0,push_button_normally_closed_momentary_vert:jm,push_button_normally_open_momentary_horz:k0,push_button_normally_open_momentary_vert:Jm,rail_down:Mm,rail_left:Nm,rail_right:Bm,rail_up:Dm,rectifier_diode_horz:J0,rectifier_diode_vert:Wm,resistor_down:Zm,resistor_left:Km,resistor_right:en,resistor_up:on,resonator_down:pn,resonator_horz:D0,resonator_left:an,resonator_right:et,resonator_up:yn,resonator_vert:xn,schottky_diode_down:mn,schottky_diode_left:nn,schottky_diode_right:rt,schottky_diode_up:fn,silicon_controlled_rectifier_horz:G0,silicon_controlled_rectifier_vert:dn,solderjumper2_bridged12_down:bn,solderjumper2_bridged12_left:_n,solderjumper2_bridged12_right:gn,solderjumper2_bridged12_up:un,solderjumper2_down:vn,solderjumper2_left:wn,solderjumper2_right:An,solderjumper2_up:Pn,solderjumper3_bridged12_down:Sn,solderjumper3_bridged12_left:Rn,solderjumper3_bridged12_right:Fn,solderjumper3_bridged12_up:Tn,solderjumper3_bridged123_down:En,solderjumper3_bridged123_left:Yn,solderjumper3_bridged123_right:Xn,solderjumper3_bridged123_up:Ln,solderjumper3_bridged23_down:Vn,solderjumper3_bridged23_left:jn,solderjumper3_bridged23_right:kn,solderjumper3_bridged23_up:zn,solderjumper3_down:On,solderjumper3_left:Jn,solderjumper3_right:$n,solderjumper3_up:Mn,spdt_normally_closed_switch_down:Nn,spdt_normally_closed_switch_left:In,spdt_normally_closed_switch_right:xt,spdt_normally_closed_switch_up:Bn,spdt_switch_down:Dn,spdt_switch_left:Gn,spdt_switch_right:st,spdt_switch_up:Un,spst_normally_closed_switch_down:Wn,spst_normally_closed_switch_left:Hn,spst_normally_closed_switch_right:mt,spst_normally_closed_switch_up:Zn,spst_switch_down:Qn,spst_switch_left:Kn,spst_switch_right:nt,spst_switch_up:t1,square_wave_down:e1,square_wave_left:r1,square_wave_right:o1,square_wave_up:i1,step_recovery_diode_horz:U0,step_recovery_diode_vert:l1,tachometer_horz:jt,tachometer_vert:x1,testpoint_down:n1,testpoint_left:f1,testpoint_right:ct,testpoint_up:d1,tilted_ground_down:_1,tilted_ground_left:g1,tilted_ground_right:wt,tilted_ground_up:H0,triac_horz:Z0,triac_vert:w1,tunnel_diode_horz:K0,tunnel_diode_vert:R1,unijunction_transistor_horz:er,unijunction_transistor_vert:L1,usbc:j1,var_meter_horz:or,var_meter_vert:O1,varactor_diode_horz:lr,varactor_diode_vert:C1,varistor_horz:ar,varistor_vert:q1,varmeter_horz:kt,varmeter_vert:W1,vcc_down:H1,vcc_left:Z1,vcc_right:Q1,vcc_up:K1,volt_meter_horz:xr,volt_meter_vert:tf,watt_hour_meter_horz:zt,watt_hour_meter_vert:lf,wattmeter_horz:Ot,wattmeter_vert:xf,zener_diode_horz:fr,zener_diode_vert:ff};var b=(t,o=!0)=>o?-t:t;var dt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function hf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${b(a.y,i)}`).join(" ");return o?`${l} Z`:l}function Zb(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${b(a,i)-y} L ${l+y} ${b(a,i)} L ${l} ${b(a,i)+y} L ${l-y} ${b(a,i)} Z" fill="green" />`}function Qb(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,h=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${b(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${dt("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${b(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function Kb(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
6
+ at `+n}return o};$t.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function h(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+h(o)+" found."};function _t(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:h,radius:p}=n;y({x:m-p,y:h-p}),y({x:m+p,y:h+p});break}case"box":{let{x:m,y:h,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:h-d}),y({x:m+f,y:h+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var wf=(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},v=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=L({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Y=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=L({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},At=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=cr(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(bf=>_(y,bf))};case"text":let Ql=_(y,{x:c.x,y:c.y});return c.anchor=wf(c.anchor,i??"right"),{...c,x:Ql.x,y:Ql.y};case"circle":let Kl=_(y,{x:c.x,y:c.y});return{...c,x:Kl.x,y:Kl.y};case"box":let tp=_(y,{x:c.x,y:c.y});return{...c,x:tp.x,y:tp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,..._(y,c)})),d=_t(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>At(t,{newOrientation:o,overrides:i});var dr=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=At(this.symbol,{newOrientation:o}),this}computeSize(){let o=_t(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new dr({...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:Pf,texts:z4,bounds:Mt,refblocks:rp,circles:Sf}=w,op=e({primitives:[...Object.values(Pf),...Object.values(Sf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...rp.left1,labels:["1"]},{...rp.right1,labels:["2"]}],size:{width:Mt.width,height:Mt.height},center:{x:Mt.centerX,y:Mt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Rf,texts:M4,bounds:Ct,refblocks:ip,circles:Ff}=w,lp=e({primitives:[...Object.values(Rf),...Object.values(Ff),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ip.left1,labels:["1"]},{...ip.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Tf,texts:B4,bounds:Nt,refblocks:pp,circles:Ef}=w,ap=e({primitives:[...Object.values(Tf),...Object.values(Ef),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...pp.left1,labels:["1"]},{...pp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Yf,texts:U4,bounds:It,refblocks:yp,circles:Xf}=w,xp=e({primitives:[...Object.values(Yf),...Object.values(Xf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...yp.left1,labels:["1"]},{...yp.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:Lf,texts:Q4,bounds:Bt,refblocks:sp,circles:Vf}=w,mp=e({primitives:[...Object.values(Lf),...Object.values(Vf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...sp.left1,labels:["1"]},{...sp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:jf,texts:r5,bounds:qt,refblocks:np,circles:kf}=w,fp=e({primitives:[...Object.values(jf),...Object.values(kf),{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:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var 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:Of,texts:a5,bounds:Dt,refblocks:cp,circles:Jf}=A,hp=e({primitives:[...Object.values(Of),...Object.values(Jf),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...cp.left1,labels:["1"]},{...cp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var dp=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:$f,texts:c5,bounds:Gt,refblocks:bp,circles:Mf}=A,_p=e({primitives:[...Object.values($f),...Object.values(Mf),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...bp.left1,labels:["1"]},{...bp.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var gp=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Cf,texts:v5,bounds:Ut,refblocks:up,circles:Nf}=A,vp=e({primitives:[...Object.values(Cf),...Object.values(Nf),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...up.left1,labels:["1"]},{...up.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:If,texts:S5,bounds:Wt,refblocks:wp,circles:Bf}=A,Ap=e({primitives:[...Object.values(If),...Object.values(Bf),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...wp.left1,labels:["1"]},{...wp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var 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:.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:Df,texts:Y5,bounds:Ht,refblocks:Pp,circles:Gf}=V,Sp=e({primitives:[...Object.values(Df),...Object.values(Gf),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Uf,texts:j5,bounds:Zt,refblocks:Rp,circles:Wf}=V,Qt=e({primitives:[...Object.values(Uf),...Object.values(Wf),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Hf,texts:J5,bounds:Kt,refblocks:Fp,circles:Zf}=V,Tp=e({primitives:[...Object.values(Hf),...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:[{...Fp.left1,labels:["1"]},{...Fp.right1,labels:["2"]}],size:{width:Kt.width,height:Kt.height},center:{x:Kt.centerX,y:Kt.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:I5,texts:B5,bounds:q5,refblocks:D5,circles:G5}=V,br=r(Qt,"down"),_r=br.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gr=br.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_r.anchor="middle_left";gr.anchor="middle_left";_r.x=.25;_r.y+=.21;gr.y-=.21;gr.x=.25;var Ep=br;function s(t){let o=t.size;if(!o){let i=_t(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var Yp={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:Kf,texts:Xp,bounds:te,refblocks:Lp,circles:tc}=Yp,ee=s({primitives:[...Object.values(Kf),...Object.values(tc),{...Xp.top1,anchor:"middle_bottom"},{...Xp.bottom1,anchor:"middle_top"}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}});var Vp=At(ee,{newOrientation:"up"});var j={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:rc,texts:ag,bounds:jp,refblocks:kp,circles:oc}=j,zp=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:[{...kp.left1,labels:["1"]},{...kp.right1,labels:["2"]}],center:{x:jp.centerX,y:jp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:ic,texts:mg,bounds:Op,refblocks:Jp,circles:lc}=j,$p=e({primitives:[...Object.values(ic),...Object.values(lc),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],center:{x:Op.centerX,y:Op.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:pc,texts:hg,bounds:Mp,refblocks:Cp,circles:ac}=j,Np=e({primitives:[...Object.values(pc),...Object.values(ac),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],center:{x:Mp.centerX,y:Mp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var k={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:xc,texts:ug,bounds:re,refblocks:Ip,circles:sc}=k,Bp=e({primitives:[...Object.values(xc),...Object.values(sc),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...Ip.left1,labels:["1"]},{...Ip.right1,labels:["2"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:mc,texts:Pg,bounds:oe,refblocks:qp,circles:nc}=k,Dp=e({primitives:[...Object.values(mc),...Object.values(nc),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...qp.left1,labels:["1"]},{...qp.right1,labels:["2"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:fc,texts:Tg,bounds:ie,refblocks:Gp,circles:cc}=k,Up=e({primitives:[...Object.values(fc),...Object.values(cc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Gp.left1,labels:["1"]},{...Gp.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:hc,texts:Lg,bounds:le,refblocks:Wp,circles:dc}=k,Hp=e({primitives:[...Object.values(hc),...Object.values(dc),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Wp.left1,labels:["1"]},{...Wp.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:bc,texts:zg,bounds:Zp,refblocks:Qp,circles:_c}=j,Kp=e({primitives:[...Object.values(bc),...Object.values(_c),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],center:{x:Zp.centerX,y:Zp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var gt={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:uc,texts:Cg,bounds:ta,refblocks:ea,circles:vc}=gt,ra=e({primitives:[...Object.values(uc),...Object.values(vc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ea.left1,labels:["1"]},{...ea.right1,labels:["2"]}],center:{x:ta.centerX,y:ta.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:wc,texts:qg,bounds:oa,refblocks:ia,circles:Ac}=gt,pe=e({primitives:[...Object.values(wc),...Object.values(Ac),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ia.left1,labels:["1"]},{...ia.right1,labels:["2"]}],center:{x:oa.centerX,y:oa.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var la=Y(pe);var{paths:Pc,texts:Qg,bounds:pa,refblocks:aa,circles:Sc}=gt,ya=e({primitives:[...Object.values(Pc),...Object.values(Sc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...aa.left1,labels:["1"]},{...aa.right1,labels:["2"]}],center:{x:pa.centerX,y:pa.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var z={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:Fc,texts:ou,bounds:ae,refblocks:xa,circles:Tc}=z,sa=e({primitives:[...Object.values(Fc),...Object.values(Tc),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...xa.left1,labels:["1"]},{...xa.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var ma=e(z).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var O={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:Yc,texts:mu,bounds:ye,refblocks:na,circles:Xc}=O,fa=e({primitives:[...Object.values(Yc),...Object.values(Xc),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...na.left1,labels:["2","neg"]},{...na.right1,labels:["1","pos"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build();var ca=e(O).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Lc,texts:_u,bounds:xe,refblocks:ha,circles:Vc}=O,da=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...ha.left1,labels:["2","neg"]},{...ha.right1,labels:["1","pos"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build();var{paths:jc,texts:wu,bounds:se,refblocks:ba,circles:kc}=O,_a=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...ba.left1,labels:["2","neg"]},{...ba.right1,labels:["1","pos"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build();var ga=e(z).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:zc,texts:Eu,bounds:me,refblocks:ua,circles:Oc}=z,va=e({primitives:[...Object.values(zc),...Object.values(Oc),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...ua.left1,labels:["1"]},{...ua.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.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:$c,texts:ju,bounds:ne,refblocks:wa,circles:Mc}=P,Aa=e({primitives:[...Object.values($c),...Object.values(Mc),{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:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Pa=e(P).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Cc,texts:Cu,bounds:fe,refblocks:Sa,circles:Nc}=P,Ra=e({primitives:[...Object.values(Cc),...Object.values(Nc),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...Sa.left1,labels:["1"]},{...Sa.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Fa=e(P).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ic,texts:Uu,bounds:ce,refblocks:Ta,circles:Bc}=P,Ea=e({primitives:[...Object.values(Ic),...Object.values(Bc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ta.left1,labels:["1"]},{...Ta.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{paths:qc,texts:Qu,bounds:he,refblocks:Ya,circles:Dc}=P,Xa=e({primitives:[...Object.values(qc),...Object.values(Dc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ya.left1,labels:["1"]},{...Ya.right1,labels:["2"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var J={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:Uc,texts:o3,bounds:de,refblocks:be,circles:Wc}=J,La=e({primitives:[...Object.values(Uc),...Object.values(Wc),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...be.left1,labels:["1"]},{...be.right1,labels:["3"]},{...be.bottom1,labels:["2"]},{...be.top1,labels:["4"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Va=e(J).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var ja=e(J).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:Hc,texts:f3,bounds:_e,refblocks:ge,circles:Zc}=J,ka=e({primitives:[...Object.values(Hc),...Object.values(Zc),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...ge.left1,labels:["1"]},{...ge.right1,labels:["3"]},{...ge.bottom1,labels:["2"]},{...ge.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 $={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:Kc,texts:_3,bounds:ue,refblocks:za,circles:th}=$,Oa=e({primitives:[...Object.values(Kc),...Object.values(th),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...za.left1,labels:["1"]},{...za.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ja=e($).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var $a=e($).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:eh,texts:T3,bounds:ve,refblocks:Ma,circles:rh}=$,Ca=e({primitives:[...Object.values(eh),...Object.values(rh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ma.left1,labels:["1"]},{...Ma.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Pt=.6,ur=.3,oh=[{type:"path",points:[{x:-Pt,y:0},{x:-ur,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:ur,y:0},{x:Pt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:ur,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}],Na=e({primitives:[...oh,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-Pt,y:0,labels:["1"]},{x:Pt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Pt*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var St=.6,vr=.3,ih=[{type:"path",points:[{x:-St,y:0},{x:-vr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:vr,y:0},{x:St,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:vr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Ia=e({primitives:[...ih,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-St,y:0,labels:["1"]},{x:St,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:St*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Rt=.6,wr=.3,lh=[{type:"path",points:[{x:-Rt,y:0},{x:-wr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:wr,y:0},{x:Rt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:wr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Ba=e({primitives:[...lh,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Rt,y:0,labels:["1"]},{x:Rt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Rt*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ft=.6,Ar=.3,ph=[{type:"path",points:[{x:-Ft,y:0},{x:-Ar,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Ar,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Ar,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],qa=e({primitives:[...ph,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],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("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 Da=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 Ga=e(S).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Ua=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 Wa=e(S).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Ha=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 Za=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 Qa={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:xh,texts:sh,bounds:we,refblocks:Ka,circles:mh}=Qa,Tt=s({primitives:[...Object.values(xh),...Object.values(mh),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...sh.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...Ka.left1,labels:["1"]},{...Ka.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}});function nh(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function fh(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:Pr,2:Sr,...ch}=Tt.primitives;nh(Sr)&&Sr.points.map(t=>{t.y+=.05});fh(Pr)&&(Pr.y+=.025);function hh(t){return typeof t=="object"}var ty=r({...Tt,primitives:Object.values(ch).filter(hh)}),ey={...ty,primitives:[...ty.primitives,Pr,Sr]};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:bh,texts:f7,bounds:Ae,refblocks:ry,circles:_h}=R,oy=e({primitives:[...Object.values(bh),...Object.values(_h),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ry.left1,labels:["1"]},{...ry.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:gh,texts:b7,bounds:Pe,refblocks:iy,circles:uh}=R,ly=e({primitives:[...Object.values(gh),...Object.values(uh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...iy.left1,labels:["1"]},{...iy.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:vh,texts:v7,bounds:Se,refblocks:py,circles:wh}=R,ay=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...py.left1,labels:["1"]},{...py.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ah,texts:S7,bounds:Re,refblocks:yy,circles:Ph}=R,xy=e({primitives:[...Object.values(Ah),...Object.values(Ph),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...yy.left1,labels:["1"]},{...yy.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Sh,texts:E7,bounds:Fe,refblocks:sy,circles:Rh}=R,my=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:[{...sy.left1,labels:["1"]},{...sy.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:V7,bounds:Te,refblocks:ny,circles:Th}=R,fy=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:[{...ny.left1,labels:["1"]},{...ny.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.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 cy=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 hy=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var dy=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 by=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var _y=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 gy=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 M={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:Xh,bounds:uy,refblocks:Lh}=M,vy=e({primitives:[...Object.values(Xh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Lh.left1,labels:["1"]}],center:{x:uy.centerX,y:uy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Vh,bounds:wy,refblocks:jh}=M,Ay=e({primitives:[...Object.values(Vh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...jh.left1,labels:["1"]}],center:{x:wy.centerX,y:wy.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:kh,bounds:Py,refblocks:zh}=M,Sy=e({primitives:[...Object.values(kh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...zh.left1,labels:["1"]}],center:{x:Py.centerX,y:Py.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Oh,bounds:Ry,refblocks:Jh}=M,Fy=e({primitives:[...Object.values(Oh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Jh.left1,labels:["1"]}],center:{x:Ry.centerX,y:Ry.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Ty={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 C=e(Ty).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ey=r(C,"down");var Yy=r(C,"left");var Xy=r(C,"up");var Ly={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 N=e(Ly).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 Rr=r(N,"down"),Fr=Rr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tr=Rr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fr.anchor="middle_bottom";Tr.anchor="middle_top";Fr.x=0;Fr.y+=.537;Tr.y-=.5375;Tr.x=0;var Vy=Rr;var Er=r(N,"left"),Yr=Er.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xr=Er.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yr.anchor="middle_bottom";Xr.anchor="middle_top";Yr.x=0;Yr.y+=1;Xr.y-=1;Xr.x=0;var jy=Er;var Lr=r(N,"up"),Vr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vr.anchor="middle_bottom";jr.anchor="middle_top";Vr.x=0;Vr.y+=.537;jr.y-=.5375;jr.x=0;var ky=Lr;var zy={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 I=e(zy).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 kr=r(I,"down"),zr=kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Or=kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zr.anchor="middle_bottom";Or.anchor="middle_top";zr.x=0;zr.y+=.565;Or.y-=.555;Or.x=0;var Oy=kr;var Jr=r(I,"left"),$r=Jr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mr=Jr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$r.anchor="middle_bottom";Mr.anchor="middle_top";$r.x=0;$r.y+=1.09;Mr.y-=1.09;Mr.x=0;var Jy=Jr;var Cr=r(I,"up"),Nr=Cr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ir=Cr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nr.anchor="middle_bottom";Ir.anchor="middle_top";Nr.x=0;Nr.y+=.565;Ir.y-=.555;Ir.x=0;var $y=Cr;var My={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 B=e(My).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Br=r(B,"down"),qr=Br.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dr=Br.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qr.anchor="middle_bottom";Dr.anchor="middle_top";qr.x=.4;qr.y+=.265;Dr.y-=.265;Dr.x=.4;var Cy=Br;var Gr=r(B,"left"),Ur=Gr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wr=Gr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ur.anchor="middle_bottom";Wr.anchor="middle_top";Ur.x=0;Ur.y+=.67;Wr.y-=.67;Wr.x=0;var Ny=Gr;var Hr=r(B,"up"),Zr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zr.anchor="middle_bottom";Qr.anchor="middle_top";Zr.x=.46;Zr.y+=.265;Qr.y-=.265;Qr.x=.46;var Iy=Hr;var By={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 q=e(By).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Kr=r(q,"down"),to=Kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),eo=Kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");to.anchor="middle_bottom";eo.anchor="middle_top";to.x=.4;to.y+=.295;eo.y-=.295;eo.x=.42;var qy=Kr;var ro=r(q,"left"),oo=ro.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),io=ro.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oo.anchor="middle_bottom";io.anchor="middle_top";oo.x=0;oo.y+=.795;io.y-=.795;io.x=0;var Dy=ro;var lo=r(q,"up"),po=lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ao=lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");po.anchor="middle_bottom";ao.anchor="middle_top";po.x=.46;po.y+=.315;ao.y-=.315;ao.x=.46;var Gy=lo;var Ee={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:qh,texts:Fv,bounds:Ye,refblocks:Uy,circles:Dh}=Ee,Xe=e({primitives:[...Object.values(qh),...Object.values(Dh),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...Uy.left1,labels:["1"]},{...Uy.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var yo=v(Xe),xo=yo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),so=yo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xo.anchor="middle_left";so.anchor="middle_left";xo.y+=.4;xo.x=.32;so.y-=.45;so.x=.32;var Wy=yo;var Le=e(Ee).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Hy=Y(Le);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:Uh,texts:Nv,bounds:Ve,refblocks:Zy,circles:Wh}=T,Qy=e({primitives:[...Object.values(Uh),...Object.values(Wh),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Zy.left1,labels:["1"]},{...Zy.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Hh,texts:Dv,bounds:je,refblocks:Ky,circles:Zh}=T,tx=e({primitives:[...Object.values(Hh),...Object.values(Zh),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ky.left1,labels:["1"]},{...Ky.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Qh,texts:Hv,bounds:ke,refblocks:ex,circles:Kh}=T,rx=e({primitives:[...Object.values(Qh),...Object.values(Kh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...ex.left1,labels:["1"]},{...ex.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:td,texts:t6,bounds:ze,refblocks:ox,circles:ed}=T,ix=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ox.left1,labels:["1"]},{...ox.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:rd,texts:i6,bounds:Oe,refblocks:lx,circles:od}=T,px=e({primitives:[...Object.values(rd),...Object.values(od),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...lx.left1,labels:["1"]},{...lx.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{paths:id,texts:y6,bounds:Je,refblocks:ax,circles:ld}=T,yx=e({primitives:[...Object.values(id),...Object.values(ld),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ax.left1,labels:["1"]},{...ax.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var xx={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:ad,texts:yd,bounds:$e,refblocks:sx,circles:xd}=xx,Et=s({primitives:[...Object.values(ad),...Object.values(xd),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...yd.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...sx.left1,labels:["1"]},{...sx.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}});var{5:sd,...md}=Et.primitives;function nd(t){return typeof t=="object"}var mx=r({...Et,primitives:Object.values(md).filter(nd)}),nx={...mx,primitives:[...mx.primitives,sd]};var fx={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:cd,texts:hd,bounds:Me,refblocks:cx}=fx,Ce=s({primitives:[...Object.values(cd),{...hd.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...cx.left1,labels:["1"]},{...cx.right1,labels:["2"]}],size:{width:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}});var hx=r(Ce);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 dx=e(E).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var bx=e(E).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var _x=e(E).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var gx=e(E).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var ux=e(E).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var vx=e(E).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Yt={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:D6,texts:G6,bounds:U6,refblocks:W6,circles:H6}=Yt,wx=e(Yt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ax=e(Yt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Px={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 D=e(Px).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 Sx=r(D,"down");var Rx=Y(D);var mo=r(D,"up"),no=mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fo=mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");no.anchor="middle_left";fo.anchor="middle_left";no.y+=.21;no.x=.44;fo.y-=.21;fo.x=.44;var Fx=mo;var Tx={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 Ne=e(Tx).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var co=r(Ne),ho=co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ex=co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ho.anchor="middle_left";Ex.anchor="middle_right";ho.x=.45;ho.y+=.065;Ex.y+=.065;var Yx=co;var Xx={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 Ie=e(Xx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Lx=r(Ie),Vx=Lx.primitives.filter(t=>t.type==="text"),bo=Vx.find(t=>t.text==="{VAL}");bo.x=-.35;bo.y=0;bo.anchor="middle_right";var _o=Vx.find(t=>t.text==="{REF}");_o.y=0;_o.x=.35;_o.anchor="middle_left";var jx=Lx;var kx={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:wd,texts:zx,bounds:Be,refblocks:Ox,circles:Ad}=kx,ut=s({primitives:[...Object.values(wd),...Object.values(Ad),{...zx.top1,anchor:"middle_bottom"},{...zx.bottom1,anchor:"middle_top"}],ports:[{...Ox.left1,labels:["1"]},{...Ox.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var qe=r(ut,"up");var Jx=v(qe);var $x=Y(ut);var go={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}}};go.bounds.width+=.2;var G=e(go).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var uo=r(G,"down"),vo=uo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wo=uo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vo.anchor="middle_left";wo.anchor="middle_left";vo.y+=.9;vo.x=.3;wo.y-=.1;wo.x=.3;var Mx=uo;var Ao=r(G,"left"),Po=Ao.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),So=Ao.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Po.anchor="middle_left";So.anchor="middle_left";Po.y+=.71;Po.x=.44;So.y-=.71;So.x=.44;var Cx=Ao;var Ro=r(G,"up"),Fo=Ro.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),To=Ro.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fo.anchor="middle_left";To.anchor="middle_left";Fo.y+=.1;Fo.x=.3;To.y-=.71;To.x=.3;var Nx=Ro;var Ix={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:Rd,texts:Bx,bounds:De,refblocks:qx,circles:Fd}=Ix,vt=s({primitives:[...Object.values(Rd),...Object.values(Fd),{...Bx.bottom1,anchor:"middle_top"},{...Bx.right1,anchor:"middle_bottom"}],ports:[{...qx.left1,labels:["1"]},{...qx.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX,y:De.centerY}});var Eo=r(vt,"up"),Yo=Eo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xo=Eo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yo.anchor="middle_left";Xo.anchor="middle_left";Yo.y+=.21;Yo.x=.21;Xo.y-=.21;Xo.x=.21;var Ge=Eo;var Lo=v(Ge),Vo=Lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jo=Lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vo.anchor="middle_left";jo.anchor="middle_left";Vo.y+=.4;Vo.x=.2;jo.y-=.41;jo.x=.2;var Dx=Lo;var Gx=Y(vt);var Ux={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:Ed,texts:Wx,bounds:Ue,refblocks:Hx,circles:Yd}=Ux,We=s({primitives:[...Object.values(Ed),...Object.values(Yd),{...Wx.top1,anchor:"middle_left",x:0},{...Wx.bottom1,anchor:"middle_left",x:0}],ports:[{...Hx.left1,labels:["1"]},{...Hx.right1,labels:["2"]}],size:{width:Ue.width,height:Ue.height},center:{x:Ue.centerX,y:Ue.centerY}});var Zx=r(We),Qx=Zx.primitives.filter(t=>t.type==="text"),ko=Qx.find(t=>t.text==="{VAL}");ko.x=-.35;ko.y=0;ko.anchor="middle_right";var zo=Qx.find(t=>t.text==="{REF}");zo.y=0;zo.x=.35;zo.anchor="middle_left";var Kx=Zx;var ts={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:Ld,texts:es,bounds:He,refblocks:Oo}=ts,Ze=s({primitives:[...Object.values(Ld),{...es.right1,anchor:"middle_left"},{...es.right2,anchor:"middle_left"}],ports:[{...Oo.top1,labels:["1"]},{...Oo.bottom1,labels:["2"]},{...Oo.left1,labels:["3"]}],size:{width:He.width+.4,height:He.height},center:{x:He.centerX+.2,y:He.centerY}});var Jo=r(Ze),rs=Jo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$o=Jo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rs.anchor="middle_top";$o.anchor="middle_top";rs.x=$o.x;$o.y+=.15;var os=Jo;var is={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:jd,texts:ls,bounds:Qe,refblocks:ps,circles:kd}=is,Ke=s({primitives:[...Object.values(jd),...Object.values(kd),{...ls.top1,anchor:"middle_bottom",x:0},{...ls.bottom1,anchor:"middle_top",x:0}],ports:[{...ps.left1,labels:["1"]},{...ps.right1,labels:["2"]}],size:{width:Qe.width,height:Qe.height},center:{x:Qe.centerX+.006,y:Qe.centerY+.06}});var Mo=r(Ke),Xt=Mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),t0=Mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xt.anchor="middle_left";t0.anchor="middle_right";Xt.x=Xt.x-.03;Xt.y=Xt.y;t0.x=t0.x;t0.y=0;var as=Mo;var ys={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:Od,texts:xs,bounds:e0,refblocks:Co,circles:Jd}=ys,r0=s({primitives:[...Object.values(Od),...Object.values(Jd),{...xs.top1,anchor:"middle_right",x:0},{...xs.bottom1,anchor:"middle_right",x:0}],ports:[{...Co.top1,labels:["1","drain"]},{...Co.bottom1,labels:["2","source"]},{...Co.left1,labels:["3","gate"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}});var ss=r(r0),ms=ss.primitives.filter(t=>t.type==="text"),No=ms.find(t=>t.text==="{VAL}");No.x=-.35;No.y=0;No.anchor="middle_right";var Io=ms.find(t=>t.text==="{REF}");Io.y=0;Io.x=.35;Io.anchor="middle_left";var ns=ss;var fs={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:Md,texts:cs,bounds:o0,refblocks:Bo,circles:Cd}=fs,i0=s({primitives:[...Object.values(Md),...Object.values(Cd),{...cs.top1,anchor:"middle_right",x:0},{...cs.bottom1,anchor:"middle_right",x:0}],ports:[{...Bo.top1,labels:["1","drain"]},{...Bo.bottom1,labels:["2","source"]},{...Bo.left1,labels:["3","gate"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}});var hs=r(i0),ds=hs.primitives.filter(t=>t.type==="text"),qo=ds.find(t=>t.text==="{VAL}");qo.x=-.35;qo.y=0;qo.anchor="middle_right";var Do=ds.find(t=>t.text==="{REF}");Do.y=0;Do.x=.35;Do.anchor="middle_left";var bs=hs;var _s={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:Id,texts:gs,bounds:l0,refblocks:Go,circles:Bd}=_s,p0=s({primitives:[...Object.values(Id),...Object.values(Bd),{...gs.top1,anchor:"middle_right",x:0},{...gs.bottom1,anchor:"middle_right",x:0}],ports:[{...Go.top1,labels:["1","drain"]},{...Go.bottom1,labels:["2","source"]},{...Go.left1,labels:["3","gate"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}});var us=r(p0),vs=us.primitives.filter(t=>t.type==="text"),Uo=vs.find(t=>t.text==="{VAL}");Uo.x=-.35;Uo.y=0;Uo.anchor="middle_right";var Wo=vs.find(t=>t.text==="{REF}");Wo.y=0;Wo.x=.35;Wo.anchor="middle_left";var ws=us;var As={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:Dd,bounds:Ps,refblocks:Gd}=As,U=e({primitives:[...Object.values(Dd)],ports:[{...Gd.left1,labels:["1"]}],center:{x:Ps.centerX,y:Ps.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var Ss=r(U,"down");var Rs=r(U,"left");var Fs=r(U,"up");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:.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:Wd,texts:gP,bounds:a0,refblocks:Ho,circles:Hd}=g,Ts=e({primitives:[...Object.values(Wd),...Object.values(Hd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Ho.top1,labels:["1","collector"]},{...Ho.bottom1,labels:["2","emitter"]},{...Ho.left1,labels:["3","base"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:AP,texts:PP,bounds:SP,refblocks:RP,circles:FP}=g,Es=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Zd,texts:XP,bounds:y0,refblocks:Zo,circles:Qd}=g,Ys=e({primitives:[...Object.values(Zd),...Object.values(Qd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Zo.top1,labels:["1","collector"]},{...Zo.bottom1,labels:["2","emitter"]},{...Zo.left1,labels:["3","base"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Kd,texts:kP,bounds:x0,refblocks:Qo,circles:t2}=g,Xs=e({primitives:[...Object.values(Kd),...Object.values(t2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Qo.top1,labels:["1","collector"]},{...Qo.bottom1,labels:["2","emitter"]},{...Qo.left1,labels:["3","base"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:e2,texts:$P,bounds:s0,refblocks:Ko,circles:r2}=g,Ls=e({primitives:[...Object.values(e2),...Object.values(r2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Ko.top1,labels:["1","collector"]},{...Ko.bottom1,labels:["2","emitter"]},{...Ko.left1,labels:["3","base"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:o2,texts:IP,bounds:m0,refblocks:ti,circles:i2}=g,Vs=e({primitives:[...Object.values(o2),...Object.values(i2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["2","emitter"]},{...ti.left1,labels:["3","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 js={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var W=e(js).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ks=r(W,"down");var zs=v(r(W,"left"));var Os=r(W,"up");var Js={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var H=e(Js).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 $s=r(H,"down");var Ms=v(r(H,"left"));var Cs=r(H,"up");var Ns={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:y2,texts:Is,bounds:n0,refblocks:ei,circles:x2}=Ns,f0=s({primitives:[...Object.values(y2),...Object.values(x2),{...Is.top1,anchor:"middle_right",x:0},{...Is.bottom1,anchor:"middle_right",x:0}],ports:[{...ei.top1,labels:["1","drain"]},{...ei.bottom1,labels:["2","source"]},{...ei.left1,labels:["3","gate"]}],size:{width:n0.width,height:n0.height},center:{x:n0.centerX,y:n0.centerY}});var Bs=r(f0),qs=Bs.primitives.filter(t=>t.type==="text"),ri=qs.find(t=>t.text==="{VAL}");ri.x=-.35;ri.y=0;ri.anchor="middle_right";var oi=qs.find(t=>t.text==="{REF}");oi.y=0;oi.x=.35;oi.anchor="middle_left";var Ds=Bs;var Gs={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:m2,texts:Us,bounds:c0,refblocks:ii,circles:n2}=Gs,h0=s({primitives:[...Object.values(m2),...Object.values(n2),{...Us.top1,anchor:"middle_right",x:0},{...Us.bottom1,anchor:"middle_right",x:0}],ports:[{...ii.top1,labels:["1","drain"]},{...ii.bottom1,labels:["2","source"]},{...ii.left1,labels:["3","gate"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}});var Ws=r(h0),Hs=Ws.primitives.filter(t=>t.type==="text"),li=Hs.find(t=>t.text==="{VAL}");li.x=-.35;li.y=0;li.anchor="middle_right";var pi=Hs.find(t=>t.text==="{REF}");pi.y=0;pi.x=.35;pi.anchor="middle_left";var Zs=Ws;var Qs={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(Qs).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ks=r(d0),c2=Ks.primitives.filter(t=>t.type==="text"),tm=c2.find(t=>t.text==="{REF}");tm.y=0;tm.anchor="middle_left";var em=Ks;var rm={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:d2,texts:om,bounds:b0,refblocks:ai,circles:b2}=rm,_0=s({primitives:[...Object.values(d2),...Object.values(b2),{...om.top1,anchor:"middle_right",x:0},{...om.bottom1,anchor:"middle_right"}],ports:[{...ai.top1,labels:["1","drain"]},{...ai.bottom1,labels:["2","source"]},{...ai.left1,labels:["3","gate"]}],size:{width:b0.width,height:b0.height},center:{x:b0.centerX,y:b0.centerY}});var im=r(_0),lm=im.primitives.filter(t=>t.type==="text"),yi=lm.find(t=>t.text==="{VAL}");yi.x=-.35;yi.y=0;yi.anchor="middle_right";var xi=lm.find(t=>t.text==="{REF}");xi.y=0;xi.x=.35;xi.anchor="middle_left";var pm=im;var u={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:g2,texts:US,bounds:g0,refblocks:si,circles:u2}=u,am=e({primitives:[...Object.values(g2),...Object.values(u2),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...si.top1,labels:["1","collector"]},{...si.bottom1,labels:["2","emitter"]},{...si.left1,labels:["3","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:QS,texts:KS,bounds:tR,refblocks:eR,circles:rR}=u,ym=e(u).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:v2,texts:pR,bounds:u0,refblocks:mi,circles:w2}=u,xm=e({primitives:[...Object.values(v2),...Object.values(w2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...mi.top1,labels:["1","collector"]},{...mi.bottom1,labels:["2","emitter"]},{...mi.left1,labels:["3","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:A2,texts:sR,bounds:v0,refblocks:ni,circles:P2}=u,sm=e({primitives:[...Object.values(A2),...Object.values(P2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ni.top1,labels:["1","collector"]},{...ni.bottom1,labels:["2","emitter"]},{...ni.left1,labels:["3","base"]}],size:{width: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:S2,texts:cR,bounds:w0,refblocks:fi,circles:R2}=u,mm=e({primitives:[...Object.values(S2),...Object.values(R2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...fi.top1,labels:["1","collector"]},{...fi.bottom1,labels:["2","emitter"]},{...fi.left1,labels:["3","base"]}],size:{width: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:F2,texts:_R,bounds:A0,refblocks:ci,circles:T2}=u,nm=e({primitives:[...Object.values(F2),...Object.values(T2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ci.top1,labels:["1","collector"]},{...ci.bottom1,labels:["2","emitter"]},{...ci.left1,labels:["3","base"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var fm={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:Y2,texts:cm,bounds:P0,refblocks:hm}=fm,S0=s({primitives:[...Object.values(Y2),{...cm.bottom1,y:.35,anchor:"middle_top"},{...cm.top1,anchor:"middle_left"}],ports:[{...hm.left1,labels:["1"]},{...hm.right1,labels:["2"]}],size:{width:P0.width+.05,height:P0.height},center:{x:P0.centerX,y:P0.centerY}});var X2=r(S0),dm=X2;var bm={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:V2,texts:_m,bounds:R0,refblocks:gm}=bm,Z=s({primitives:[...Object.values(V2),{..._m.bottom1,x:0,y:-.35,anchor:"middle_top"},{..._m.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...gm.left1,labels:["1"]},{...gm.right1,labels:["2"]}],size:{width:R0.width+.05,height:R0.height},center:{x:R0.centerX,y:R0.centerY}});var hi=r(Z,"down"),di=hi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bi=hi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");di.anchor="middle_left";bi.anchor="middle_left";di.y+=.31;di.x=.34;bi.y-=.31;bi.x=.34;var um=hi;var _i=r(Z,"left"),gi=_i.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ui=_i.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gi.anchor="middle_bottom";ui.anchor="middle_top";gi.y+=.73;gi.x=0;ui.y-=.7;ui.x=0;var vm=_i;var vi=r(Z,"up"),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+=.21;wi.x=.34;Ai.y-=.21;Ai.x=.34;var wm=vi;var Q={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:k2,texts:IR,bounds:F0,refblocks:Pi,circles:z2}=Q,Am=e({primitives:[...Object.values(k2),...Object.values(z2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Pi.left,labels:["1"]},{...Pi.right,labels:["3"]},{...Pi.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:O2,texts:GR,bounds:T0,refblocks:Si,circles:J2}=Q,Pm=e({primitives:[...Object.values(O2),...Object.values(J2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Si.left,labels:["1"]},{...Si.right,labels:["3"]},{...Si.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 Sm=e(Q).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:$2,texts:tF,bounds:E0,refblocks:Ri,circles:M2}=Q,Rm=e({primitives:[...Object.values($2),...Object.values(M2),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Ri.left,labels:["1"]},{...Ri.right,labels:["3"]},{...Ri.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 Fm={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:N2,texts:lF,bounds:Y0,refblocks:Tm,circles:I2}=Fm,X0=s({primitives:[...Object.values(N2),...Object.values(I2),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...Tm.left1,labels:["1"]},{...Tm.right1,labels:["2"]}],size:{width:Y0.width,height:Y0.height},center:{x:Y0.centerX,y:Y0.centerY}});var Em=r(X0),Fi=Em.primitives.filter(t=>t.type==="text"),Ti=Fi.find(t=>t.text==="{REF}"),Ei=Fi.find(t=>t.text==="{VAL}"),Yi=Fi.find(t=>t.text==="COS \u03C6");Ti.x=.35;Ti.y=0;Ti.anchor="middle_left";Ei.anchor="middle_right";Ei.x=-.35;Ei.y=0;Yi.x=0;Yi.y=0;Yi.anchor="center";var Ym=Em;var Xm={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:q2,texts:Lm,bounds:L0,refblocks:Vm,circles:D2}=Xm,V0=s({primitives:[...Object.values(q2),...Object.values(D2),{...Lm.top1,anchor:"middle_left"},{...Lm.bottom1,anchor:"middle_left"}],ports:[{...Vm.left1,labels:["1"]},{...Vm.right1,labels:["2"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}});var jm=r(V0,"up");var km={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:U2,texts:zm,bounds:j0,refblocks:Om,circles:W2}=km,k0=s({primitives:[...Object.values(U2),...Object.values(W2),{...zm.top1,anchor:"middle_left"},{...zm.bottom1,anchor:"middle_left"}],ports:[{...Om.left1,labels:["1"]},{...Om.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}});var Jm=r(k0,"up");var K={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:Z2,texts:FF,bounds:$m,refblocks:Q2,circles:K2}=K,Mm=e({primitives:[...Object.values(Z2),...Object.values(K2),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...Q2.left1,labels:["1"]}],center:{x:$m.centerX,y:$m.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:t9,texts:XF,bounds:Cm,refblocks:e9,circles:r9}=K,Nm=e({primitives:[...Object.values(t9),...Object.values(r9),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...e9.left1,labels:["1"]}],center:{x:Cm.centerX,y:Cm.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:o9,texts:kF,bounds:Im,refblocks:i9,circles:l9}=K,Bm=e({primitives:[...Object.values(o9),...Object.values(l9),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...i9.left1,labels:["1"]}],center:{x:Im.centerX,y:Im.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:p9,texts:$F,bounds:qm,refblocks:a9}=K,Dm=e({primitives:[...Object.values(p9),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...a9.left1,labels:["1"]}],center:{x:qm.centerX,y:qm.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Gm={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:x9,texts:Um,bounds:z0,refblocks:O0,circles:s9}=Gm,J0=s({primitives:[...Object.values(x9),...Object.values(s9),{...Um.top1,anchor:"middle_right"},{...Um.bottom1,anchor:"middle_right"}],ports:[{...O0.top1,labels:["1"]},{...O0.bottom1,labels:["2"]},{...O0.left1,labels:["3"]},{...O0.right1,labels:["4"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}});var Xi=r(J0),m9=Xi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),n9=Xi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");m9.anchor="middle_left";n9.anchor="middle_right";var Wm=Xi;var tt={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:c9,texts:ZF,bounds:$0,refblocks:Hm,circles:h9}=tt,Zm=e({primitives:[...Object.values(c9),...Object.values(h9),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Hm.left1,labels:["1"]},{...Hm.right1,labels:["2"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:d9,texts:eT,bounds:M0,refblocks:Qm,circles:b9}=tt,Km=e({primitives:[...Object.values(d9),...Object.values(b9),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...Qm.left1,labels:["1"]},{...Qm.right1,labels:["2"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:_9,texts:lT,bounds:C0,refblocks:tn,circles:g9}=tt,en=e({primitives:[...Object.values(_9),...Object.values(g9),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...tn.left1,labels:["1"]},{...tn.right1,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:u9,texts:xT,bounds:N0,refblocks:rn,circles:v9}=tt,on=e({primitives:[...Object.values(u9),...Object.values(v9),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...rn.left1,labels:["1"]},{...rn.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var I0={paths:{path27:{type:"path",points:[{x:.76,y:-.28},{x:.31,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.3,y:-.02},{x:-.77,y:-.02}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.3,y:.35},{x:-.3,y:-.28}],color:"primary",fill:!1},"path27-3":{type:"path",points:[{x:.77,y:.35},{x:.32,y:.35}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.07,y:-.28},{x:-.3,y:-.28}],color:"primary",fill:!1},"path29-5-7":{type:"path",points:[{x:.33,y:-.28},{x:.11,y:-.28}],color:"primary",fill:!1},"path29-5-7-6":{type:"path",points:[{x:-.06,y:-.17},{x:-.06,y:-.39}],color:"primary",fill:!1},"path29-5-7-6-6":{type:"path",points:[{x:.09,y:-.17},{x:.09,y:-.39}],color:"primary",fill:!1},"path29-5-9":{type:"path",points:[{x:-.07,y:.35},{x:-.3,y:.35}],color:"primary",fill:!1},"path29-5-7-2":{type:"path",points:[{x:.33,y:.35},{x:.11,y:.35}],color:"primary",fill:!1},"path29-5-7-6-0":{type:"path",points:[{x:-.06,y:.46},{x:-.06,y:.24}],color:"primary",fill:!1},"path29-5-7-6-6-2":{type:"path",points:[{x:.09,y:.46},{x:.09,y:.24}],color:"primary",fill:!1},"path29-5-92":{type:"path",points:[{x:.33,y:.13},{x:.33,y:.35}],color:"primary",fill:!1},"path29-5-7-28":{type:"path",points:[{x:.33,y:-.28},{x:.33,y:-.05}],color:"primary",fill:!1},"path29-5-7-6-9":{type:"path",points:[{x:.44,y:.11},{x:.22,y:.11}],color:"primary",fill:!1},"path29-5-7-6-6-7":{type:"path",points:[{x:.44,y:-.04},{x:.22,y:-.04}],color:"primary",fill:!1},"path29-5-7-6-9-2":{type:"path",points:[{x:.44,y:.07},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4":{type:"path",points:[{x:.44,y:0},{x:.44,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4-6":{type:"path",points:[{x:.22,y:0},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-9":{type:"path",points:[{x:.44,y:0},{x:.22,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.02,y:.53},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.54}},refblocks:{left1:{x:-.77,y:-.02},right1:{x:.76,y:-.28},right2:{x:.77,y:.35}},bounds:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:A9,texts:ln,bounds:B0,refblocks:Li,circles:P9}=I0,et=s({primitives:[...Object.values(A9),...Object.values(P9),{...ln.top1,anchor:"middle_bottom"},{...ln.bottom1,anchor:"middle_top"}],ports:[{...Li.left1,labels:["1"]},{...Li.right1,labels:["2"]},{...Li.right2,labels:["3"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var Vi=r(et,"down"),ji=Vi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ki=Vi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ji.anchor="middle_bottom";ki.anchor="middle_top";ji.y+=.3;ji.x+=.101;ki.y-=.49999;ki.x+=1.19999;var pn=Vi;var{paths:S9,texts:uT,bounds:q0,refblocks:zi,circles:R9}=I0,D0=s({primitives:[...Object.values(S9),...Object.values(R9),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...zi.left1,labels:["1"]},{...zi.right1,labels:["2"]},{...zi.right2,labels:["3"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var Oi=r(et,"left"),Ji=Oi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$i=Oi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ji.anchor="middle_bottom";$i.anchor="middle_top";Ji.y+=.99;Ji.x-=0;$i.y-=1.10999;$i.x=0;var an=Oi;var Mi=r(et,"up"),Ci=Mi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ni=Mi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ci.anchor="middle_bottom";Ni.anchor="middle_top";Ci.y+=.499;Ci.x=.62;Ni.y-=.29999;Ni.x+=.1;var yn=Mi;var xn=r(D0);var sn={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 rt=e(sn).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var Ii=r(rt,"down"),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+=.3;Bi.x=.3;qi.y-=.3;qi.x=.3;var mn=Ii;var Di=r(rt,"left"),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_bottom";Ui.anchor="middle_top";Gi.y+=.5;Gi.x=0;Ui.y-=.55;Ui.x=0;var nn=Di;var Wi=r(rt,"up"),Hi=Wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zi=Wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hi.anchor="middle_left";Zi.anchor="middle_left";Hi.y+=.3;Hi.x=.3;Zi.y-=.3;Zi.x=.3;var fn=Wi;var Qi={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:GT,texts:UT,bounds:WT,refblocks:HT,circles:ZT}=Qi,G0=e(Qi).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var cn=r(G0),E9=cn.primitives.filter(t=>t.type==="text"),hn=E9.find(t=>t.text==="{REF}");hn.y=0;hn.anchor="middle_left";var dn=cn;var ot={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.02},{x:-.07,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var bn=e(ot).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var _n=e(ot).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var gn=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var un=e(ot).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var it={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var vn=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var wn=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var An=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Pn=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var lt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Sn=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Rn=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Fn=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Tn=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var En=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Yn=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Xn=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ln=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var at={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Vn=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var jn=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var kn=e(at).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var zn=e(at).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var yt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var On=e(yt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Jn=e(yt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var $n=e(yt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Mn=e(yt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var Cn={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:-.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 xt=e(Cn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ki=r(xt,"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.x=.44;tl.y+=.28;el.y-=.28;el.x=.44;var Nn=Ki;var rl=r(xt,"left"),ol=rl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),il=rl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ol.anchor="middle_bottom";il.anchor="middle_top";ol.x=0;ol.y+=.625;il.y-=.695;il.x=0;var In=rl;var ll=r(xt,"up"),pl=ll.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),al=ll.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pl.anchor="middle_bottom";al.anchor="middle_top";pl.x=.4;pl.y+=.28;al.y-=.28;al.x=.4;var Bn=ll;var qn={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:.14}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right3:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}};var st=e(qn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var yl=r(st,"down"),xl=yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sl=yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xl.anchor="middle_bottom";sl.anchor="middle_top";xl.x=.44;xl.y+=.28;sl.y-=.28;sl.x=.44;var Dn=yl;var ml=r(st,"left"),nl=ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fl=ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");nl.anchor="middle_bottom";fl.anchor="middle_top";nl.x=0;nl.y+=.625;fl.y-=.695;fl.x=0;var Gn=ml;var cl=r(st,"up"),hl=cl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dl=cl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hl.anchor="middle_bottom";dl.anchor="middle_top";hl.x=.4;hl.y+=.28;dl.y-=.28;dl.x=.4;var Un=cl;var Lt={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 Lt.refblocks.left1;delete Lt.refblocks.right1;Lt.bounds.width+=.2;var mt=e(Lt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var bl=r(mt,"down"),_l=bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gl=bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_l.anchor="middle_bottom";gl.anchor="middle_top";_l.x=.3;_l.y+=.265;gl.y-=.265;gl.x=.3;var Wn=bl;var ul=r(mt,"left"),vl=ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wl=ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vl.anchor="middle_bottom";wl.anchor="middle_top";vl.x=0;vl.y+=.57;wl.y-=.57;wl.x=0;var Hn=ul;var Al=r(mt,"up"),Pl=Al.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sl=Al.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pl.anchor="middle_bottom";Sl.anchor="middle_top";Pl.x=.3;Pl.y+=.265;Sl.y-=.265;Sl.x=.3;var Zn=Al;var Vt={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:.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 Vt.refblocks.left1;delete Vt.refblocks.right1;Vt.bounds.width+=.2;var nt=e(Vt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Rl=r(nt,"down"),Fl=Rl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tl=Rl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fl.anchor="middle_bottom";Tl.anchor="middle_top";Fl.x=.3;Fl.y+=.265;Tl.y-=.265;Tl.x=.3;var Qn=Rl;var El=r(nt,"left"),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=0;Yl.y+=.57;Xl.y-=.57;Xl.x=0;var Kn=El;var Ll=r(nt,"up"),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=.3;Vl.y+=.265;jl.y-=.265;jl.x=.3;var t1=Ll;var ft={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4458008,y:.02709619999999968}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.4458008,y:.026971799999999657},{x:.1677968999999997,y:.027926399999999685}],color:"primary",fill:!1},"path8704-1":{type:"path",points:[{x:-.0040837000000002455,y:-.13467459999999964},{x:-.0040837000000002455,y:-.13467459999999964},{x:-.017668143940740948,y:-.1311205263185182},{x:-.03043520885925943,y:-.12727072121481456},{x:-.04240966440000013,y:-.1231399985999998},{x:-.05361628020740751,y:-.11874317238518502},{x:-.064079825925926,y:-.11409505648148131},{x:-.07382507120000005,y:-.10921046479999987},{x:-.0828767856740741,y:-.10410421125185171},{x:-.0912597389925926,y:-.09879110974814802},{x:-.09899870079999995,y:-.0932859741999998},{x:-.10611844074074069,y:-.08760361851851838},{x:-.11264372845925916,y:-.0817588566148146},{x:-.11859933359999993,y:-.07576650239999982},{x:-.12401002580740728,y:-.06964136978518495},{x:-.12890057472592584,y:-.06339827268148127},{x:-.13329574999999985,y:-.05705202499999972},{x:-.13722032127407394,y:-.05061744065185156},{x:-.14069905819259243,y:-.04410933354814783},{x:-.14375673039999987,y:-.03754251759999966},{x:-.14641810754074058,y:-.030931806718518143},{x:-.1487079592592591,y:-.0242920148148144},{x:-.15065105519999983,y:-.017637955799999563},{x:-.15227216500740723,y:-.01098444358518472},{x:-.15359605832592574,y:-.004346292081480994},{x:-.1546475047999998,y:.00226168480000051},{x:-.15545127407407386,y:.008824673148148676},{x:-.1560321357925924,y:.015327859051852397},{x:-.1564148595999998,y:.02175642860000056},{x:-.1566242151407405,y:.028095567881482052},{x:-.15668497205925902,y:.03433046298518576},{x:-.15662189999999976,y:.04044630000000058},{x:-.15662189999999976,y:.0404463000000006},{x:-.15662189999999976,y:.0404463000000006},{x:-.15622857394444417,y:.04717166472222282},{x:-.1553217675555553,y:.05388046444444503},{x:-.15392183849999977,y:.060558907500000585},{x:-.1520491444444442,y:.0671932022222228},{x:-.1497240430555553,y:.07376955694444502},{x:-.14696689199999974,y:.08027418000000058},{x:-.14379804894444415,y:.0866932797222228},{x:-.1402378715555553,y:.09301306444444506},{x:-.13630671749999965,y:.09921974250000057},{x:-.13202494444444415,y:.10529952222222282},{x:-.12741291005555522,y:.11123861194444501},{x:-.1224909719999997,y:.1170232200000006},{x:-.11727948794444407,y:.12263955472222278},{x:-.11179881555555524,y:.12807382444444504},{x:-.10606931249999965,y:.13331223750000057},{x:-.1001113364444441,y:.13834100222222284},{x:-.09394524505555521,y:.14314632694444504},{x:-.08759139599999967,y:.14771442000000062},{x:-.08107014694444413,y:.15203148972222283},{x:-.07440185555555523,y:.15608374444444503},{x:-.0676068794999997,y:.15985739250000058},{x:-.06070557644444415,y:.16333864222222283},{x:-.05371830405555529,y:.16651370194444504},{x:-.04666541999999976,y:.1693687800000006},{x:-.03956728194444424,y:.1718900847222228},{x:-.03244424755555539,y:.17406382444444501},{x:-.025316674499999876,y:.17587620750000055},{x:-.01820492044444437,y:.17731344222222278},{x:-.01112934305555553,y:.178361736944445},{x:-.004110300000000034,y:.17900730000000054},{x:-.004110300000000011,y:.17900730000000054}],color:"primary",fill:!1},"path8704-1-9":{type:"path",points:[{x:.004158700000000071,y:-.1355885000000001},{x:.004158700000000071,y:-.1355885000000001},{x:.017743143940740766,y:-.1320344263185187},{x:.03051020885925925,y:-.12818462121481505},{x:.042484664399999955,y:-.12405389860000024},{x:.053691280207407335,y:-.11965707238518546},{x:.0641548259259258,y:-.11500895648148178},{x:.07390007119999986,y:-.1101243648000003},{x:.0829517856740739,y:-.10501811125185218},{x:.0913347389925924,y:-.09970500974814848},{x:.09907370079999973,y:-.09419987420000027},{x:.10619344074074046,y:-.08851751851851883},{x:.11271872845925893,y:-.08267275661481507},{x:.11867433359999968,y:-.07668040240000029},{x:.12408502580740703,y:-.0705552697851854},{x:.12897557472592555,y:-.06431217268148172},{x:.13337074999999957,y:-.05796592500000018},{x:.13729532127407365,y:-.05153134065185202},{x:.14077405819259214,y:-.045023233548148286},{x:.14383173039999952,y:-.038456417600000126},{x:.14649310754074024,y:-.03184570671851861},{x:.14878295925925875,y:-.02520591481481487},{x:.1507260551999995,y:-.01855185580000003},{x:.15234716500740686,y:-.011898343585185192},{x:.15367105832592537,y:-.005260192081481464},{x:.15472250479999944,y:.001347784800000043},{x:.1555262740740735,y:.007910773148148207},{x:.156107135792592,y:.01441395905185193},{x:.1564898595999994,y:.020842528600000094},{x:.15669921514074014,y:.02718166788148159},{x:.15675997205925862,y:.03341656298518529},{x:.15669689999999936,y:.03953240000000011},{x:.15669689999999936,y:.039532400000000134},{x:.15669689999999936,y:.039532400000000134},{x:.1563035739444438,y:.04625776472222235},{x:.15539676755555493,y:.05296656444444457},{x:.15399683849999934,y:.05964500750000013},{x:.1521241444444438,y:.06627930222222234},{x:.14979904305555491,y:.07285565694444456},{x:.14704189199999937,y:.07936028000000013},{x:.1438730489444438,y:.08577937972222234},{x:.1403128715555549,y:.09209916444444458},{x:.13638171749999925,y:.0983058425000001},{x:.13209994444444376,y:.10438562222222235},{x:.12748791005555482,y:.11032471194444453},{x:.12256597199999929,y:.11610932000000013},{x:.1173544879444437,y:.1217256547222223},{x:.11187381555555485,y:.12715992444444457},{x:.10614431249999925,y:.1323983375000001},{x:.10018633644444369,y:.13742710222222235},{x:.09402024505555481,y:.14223242694444457},{x:.08766639599999927,y:.14680052000000016},{x:.08114514694444372,y:.15111758972222236},{x:.07447685555555483,y:.15516984444444457},{x:.06768187949999929,y:.15894349250000012},{x:.06078057644444377,y:.16242474222222236},{x:.053793304055554894,y:.16559980194444457},{x:.046740419999999366,y:.16845488000000014},{x:.039642281944443844,y:.17097618472222234},{x:.03251924755555499,y:.17314992444444455},{x:.02539167449999948,y:.17496230750000008},{x:.018279920444443973,y:.17639954222222232},{x:.011204343055555134,y:.17744783694444452},{x:.004185299999999637,y:.17809340000000007},{x:.004185299999999614,y:.17809340000000007}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.08039130000000005,y:.0179576999999993},{x:-.08039130000000005,y:.09650599999999931}],color:"primary",fill:!0},"path4-5":{type:"path",points:[{x:.01494479999999987,y:-.055216500000000224},{x:.01494479999999987,y:.09691909999999937}],color:"primary",fill:!0},"path4-5-8":{type:"path",points:[{x:.06871169999999927,y:-.056870000000000864},{x:.06871169999999927,y:.018784499999999538}],color:"primary",fill:!0},"path4-1":{type:"path",points:[{x:-.08179359999999969,y:.09650570000000003},{x:.015771699999999722,y:.09650570000000003}],color:"primary",fill:!0},"path4-1-6":{type:"path",points:[{x:.0117995999999998,y:-.05594970000000088},{x:.06843709999999925,y:-.05594970000000088}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.17162450000000073,y:.11125030000000025},{x:-.2688274000000015,y:.11125030000000025},{x:-.2688274000000015,y:.11469129999999961},{x:-.17162450000000073,y:.11469129999999961}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.2184661999999995,y:.16159429999999997},{x:-.2184661999999995,y:.06439139999999943},{x:-.22190719999999908,y:.06439139999999943},{x:-.22190719999999908,y:.16159429999999997}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.0024445000000006267,y:.23933980000000044},bottom1:{type:"text",text:"{VAL}",x:.00341719999999901,y:-.23933980000000066}},refblocks:{left1:{x:-.4458008,y:.02709619999999968},right1:{x:.4458008,y:.026971799999999657}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.23933980000000066,maxY:.23933980000000044,width:.947918482,height:.4786796000000011,centerX:0,centerY:-11102230246251565e-32},circles:{}};var e1=e(ft).rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_left",{x:.02,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:-.2}).build();var r1=e(ft).rotateRightFacingSymbol("left").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.45}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.55}).build();var o1=e(ft).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var i1=e(ft).rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_left",{x:.02,y:-.2}).changeTextAnchor("{REF}","middle_left",{x:.5,y:.2}).build();var kl={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:MX,texts:CX,bounds:NX,refblocks:IX,circles:BX}=kl,U0=e(kl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var l1=r(U0);var p1={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:I9,texts:B9,bounds:W0,refblocks:a1,circles:q9}=p1,jt=s({primitives:[...Object.values(I9),...Object.values(q9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...B9.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...a1.left1,labels:["1"]},{...a1.right1,labels:["2"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX,y:W0.centerY}});var{5:D9,...G9}=jt.primitives;function U9(t){return typeof t=="object"}var y1=r({...jt,primitives:Object.values(G9).filter(U9)}),x1={...y1,primitives:[...y1.primitives,D9]};var ct=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),color:"primary",fill:!1},{type:"text",text:"{REF}",x:.125,y:0,anchor:"middle_left"}],ports:[{x:-.2,y:0,labels:["1"]}],center:{x:0,y:0}});var m1=r(ct,"down"),s1=m1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");s1&&(s1.anchor="middle_top");var n1=m1;var f1=r(ct,"left");var h1=r(ct,"up"),c1=h1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");c1&&(c1.anchor="middle_bottom");var d1=h1;var b1={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 wt=e(b1).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var zl=r(wt,"up"),Ol=zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_bottom";Jl.anchor="middle_top";Ol.x=.4;Ol.y+=.2;Jl.y-=.3;Jl.x=.4;var H0=zl;var $l=v(H0),Ml=$l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cl=$l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ml.anchor="middle_bottom";Cl.anchor="middle_top";Ml.x=.35;Ml.y+=.4;Cl.y-=.4;Cl.x=.35;var _1=$l;var Nl=r(wt,"left"),Il=Nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bl=Nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Bl.anchor="middle_top";Il.x=0;Il.y+=.5;Bl.y-=.6;Bl.x=0;var g1=Nl;var ql={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:EL,texts:YL,bounds:XL,refblocks:LL,circles:VL}=ql,Z0=e(ql).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var u1=r(Z0),v1=u1.primitives.filter(t=>t.type==="text"),Z9=v1.find(t=>t.text==="{REF}"),Q9=v1.find(t=>t.text==="{VAL}");Z9.y=0;Q9.y=0;var w1=u1;var A1={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:tb,texts:P1,bounds:Q0,refblocks:S1,circles:eb}=A1,K0=s({primitives:[...Object.values(tb),...Object.values(eb),{...P1.top1,anchor:"middle_bottom"},{...P1.bottom1,anchor:"middle_top"}],ports:[{...S1.left1,labels:["1"]},{...S1.right1,labels:["2"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}});var Dl=r(K0),rb=Dl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ob=Dl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rb.anchor="middle_left";ob.anchor="middle_right";var R1=Dl;var F1={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:lb,texts:T1,bounds:tr,refblocks:Gl,circles:pb}=F1,er=s({primitives:[...Object.values(lb),...Object.values(pb),{...T1.top1,anchor:"middle_left"},{...T1.bottom1,anchor:"middle_right"}],ports:[{...Gl.top1,labels:["1"]},{...Gl.bottom1,labels:["2"]},{...Gl.left1,labels:["3"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}});var E1=r(er),Y1=E1.primitives.filter(t=>t.type==="text"),ab=Y1.find(t=>t.text==="{REF}");ab.y=.1;var X1=Y1.find(t=>t.text==="{VAL}");X1.y=.1;X1.x=-.4;var L1=E1;var V1={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 j1=e(V1).changeTextAnchor("{REF}","middle_bottom").build();var k1={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:sb,texts:Ul,bounds:rr,refblocks:z1,circles:mb}=k1,or=s({primitives:[...Object.values(sb),...Object.values(mb),{...Ul.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Ul.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Ul.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...z1.left1,labels:["1"]},{...z1.right1,labels:["2"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}});var O1=r(or);var J1={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:fb,texts:$1,bounds:ir,refblocks:M1,circles:cb}=J1,lr=s({primitives:[...Object.values(fb),...Object.values(cb),{...$1.top1,anchor:"middle_bottom"},{...$1.bottom1,anchor:"middle_top"}],ports:[{...M1.left1,labels:["1"]},{...M1.right1,labels:["2"]}],size:{width:ir.width,height:ir.height},center:{x:ir.centerX,y:ir.centerY}});var Wl=r(lr),hb=Wl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),db=Wl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hb.anchor="middle_left";db.anchor="middle_right";var C1=Wl;var N1={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:_b,texts:I1,bounds:pr,refblocks:B1}=N1,ar=s({primitives:[...Object.values(_b),{...I1.top1,anchor:"middle_left"},{...I1.bottom1,anchor:"middle_right"}],ports:[{...B1.left1,labels:["1","-"]},{...B1.right1,labels:["2","+"]}],size:{width:pr.width,height:pr.height},center:{x:pr.centerX,y:pr.centerY}});var q1=r(ar);var D1={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:ub,texts:vb,bounds:yr,refblocks:G1,circles:wb}=D1,kt=s({primitives:[...Object.values(ub),...Object.values(wb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...vb.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...G1.left1,labels:["1"]},{...G1.right1,labels:["2"]}],size:{width:yr.width,height:yr.height},center:{x:yr.centerX,y:yr.centerY}});var{5:Ab,...Pb}=kt.primitives;function Sb(t){return typeof t=="object"}var U1=r({...kt,primitives:Object.values(Pb).filter(Sb)}),W1={...U1,primitives:[...U1.primitives,Ab]};var ht={paths:{"path28-2":{type:"path",points:[{x:.19,y:0},{x:0,y:.09}],color:"primary",fill:!1},"path28-2-6":{type:"path",points:[{x:.19,y:0},{x:0,y:-.09}],color:"primary",fill:!1},"path29-3":{type:"path",points:[{x:.19,y:0},{x:-.23,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{REF}",x:.25,y:0}},refblocks:{left1:{x:-.23,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.09,maxY:.09,width:.5,height:.19,centerX:0,centerY:0},circles:{}};function X(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 Fb=e(ht).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),H1=X(Fb,{width:.24,height:.23});var Tb=e(ht).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Z1=X(Tb,{width:.23,height:.24});var Eb=e(ht).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),Q1=X(Eb,{width:.23,height:.24});var Yb=e(ht).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),K1=X(Yb,{width:.24,height:.23});var Hl={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:ZV,texts:QV,bounds:KV,circles:tj,refblocks:ej}=Hl,xr=e(Hl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var tf=r(xr);var ef={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"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:Vb,texts:jb,bounds:sr,refblocks:rf,circles:kb}=ef,zt=s({primitives:[...Object.values(Vb),...Object.values(kb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...jb.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...rf.left1,labels:["1"]},{...rf.right1,labels:["2"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var{5:zb,...Ob}=zt.primitives;function Jb(t){return typeof t=="object"}var of=r({...zt,primitives:Object.values(Ob).filter(Jb)}),lf={...of,primitives:[...of.primitives,zb]};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:"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:Mb,texts:Cb,bounds:mr,refblocks:af,circles:Nb}=pf,Ot=s({primitives:[...Object.values(Mb),...Object.values(Nb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Cb.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...af.left1,labels:["1"]},{...af.right1,labels:["2"]}],size:{width:mr.width,height:mr.height},center:{x:mr.centerX,y:mr.centerY}});var{5:Ib,...Bb}=Ot.primitives;function qb(t){return typeof t=="object"}var yf=r({...Ot,primitives:Object.values(Bb).filter(qb)}),xf={...yf,primitives:[...yf.primitives,Ib]};var sf={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:Gb,texts:mf,bounds:nr,refblocks:nf,circles:Ub}=sf,fr=s({primitives:[...Object.values(Gb),...Object.values(Ub),{...mf.top1,anchor:"middle_bottom"},{...mf.bottom1,anchor:"middle_top"}],ports:[{...nf.left1,labels:["1"]},{...nf.right1,labels:["2"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}});var Zl=r(fr),Wb=Zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hb=Zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wb.anchor="middle_left";Hb.anchor="middle_right";var ff=Zl;var cf={ac_voltmeter_down:op,ac_voltmeter_horz:lp,ac_voltmeter_left:ap,ac_voltmeter_right:xp,ac_voltmeter_up:mp,ac_voltmeter_vert:fp,avalanche_diode_down:hp,avalanche_diode_horz:dp,avalanche_diode_left:_p,avalanche_diode_right:gp,avalanche_diode_up:vp,avalanche_diode_vert:Ap,backward_diode_down:Sp,backward_diode_left:Qt,backward_diode_right:Tp,backward_diode_up:Ep,battery_horz:ee,battery_vert:Vp,boxresistor_down:zp,boxresistor_left:$p,boxresistor_right:Np,boxresistor_small_down:Bp,boxresistor_small_left:Dp,boxresistor_small_right:Up,boxresistor_small_up:Hp,boxresistor_up:Kp,bridged_ground_down:ra,bridged_ground_left:la,bridged_ground_right:pe,bridged_ground_up:ya,capacitor_down:sa,capacitor_left:ma,capacitor_polarized_down:fa,capacitor_polarized_left:ca,capacitor_polarized_right:da,capacitor_polarized_up:_a,capacitor_right:ga,capacitor_up:va,constant_current_diode_down:Aa,constant_current_diode_horz:Pa,constant_current_diode_left:Ra,constant_current_diode_right:Fa,constant_current_diode_up:Ea,constant_current_diode_vert:Xa,crystal_4pin_down:La,crystal_4pin_left:Va,crystal_4pin_right:ja,crystal_4pin_up:ka,crystal_down:Oa,crystal_left:Ja,crystal_right:$a,crystal_up:Ca,current_source_down:Na,current_source_left:Ia,current_source_right:Ba,current_source_up:qa,darlington_pair_transistor_down:Da,darlington_pair_transistor_horz:Ga,darlington_pair_transistor_left:Ua,darlington_pair_transistor_right:Wa,darlington_pair_transistor_up:Ha,darlington_pair_transistor_vert:Za,dc_ammeter_horz:Tt,dc_ammeter_vert:ey,dc_voltmeter_down:oy,dc_voltmeter_horz:ly,dc_voltmeter_left:ay,dc_voltmeter_right:xy,dc_voltmeter_up:my,dc_voltmeter_vert:fy,diac_down:cy,diac_horz:hy,diac_left:dy,diac_right:by,diac_up:_y,diac_vert:gy,digital_ground_down:vy,digital_ground_left:Ay,digital_ground_right:Sy,digital_ground_up:Fy,diode_down:Ey,diode_left:Yy,diode_right:C,diode_up:Xy,dpdt_normally_closed_switch_down:Vy,dpdt_normally_closed_switch_left:jy,dpdt_normally_closed_switch_right:N,dpdt_normally_closed_switch_up:ky,dpdt_switch_down:Oy,dpdt_switch_left:Jy,dpdt_switch_right:I,dpdt_switch_up:$y,dpst_normally_closed_switch_down:Cy,dpst_normally_closed_switch_left:Ny,dpst_normally_closed_switch_right:B,dpst_normally_closed_switch_up:Iy,dpst_switch_down:qy,dpst_switch_left:Dy,dpst_switch_right:q,dpst_switch_up:Gy,ferrite_bead_down:Wy,ferrite_bead_left:Hy,ferrite_bead_right:Le,ferrite_bead_up:Xe,filled_diode_down:Qy,filled_diode_horz:tx,filled_diode_left:rx,filled_diode_right:ix,filled_diode_up:px,filled_diode_vert:yx,frequency_meter_horz:Et,frequency_meter_vert:nx,fuse_horz:Ce,fuse_vert:hx,ground_down:dx,ground_horz:bx,ground_left:_x,ground_right:gx,ground_up:ux,ground_vert:vx,gunn_diode_horz:wx,gunn_diode_vert:Ax,icled_down:Sx,icled_left:Rx,icled_right:D,icled_up:Fx,igbt_transistor_horz:Ne,igbt_transistor_vert:Yx,illuminated_push_button_normally_open_horz:Ie,illuminated_push_button_normally_open_vert:jx,inductor_down:Jx,inductor_left:$x,inductor_right:ut,inductor_up:qe,laser_diode_down:Mx,laser_diode_left:Cx,laser_diode_right:G,laser_diode_up:Nx,led_down:Dx,led_left:Gx,led_right:vt,led_up:Ge,light_dependent_resistor_horz:We,light_dependent_resistor_vert:Kx,mosfet_depletion_normally_on_horz:Ze,mosfet_depletion_normally_on_vert:os,mushroom_head_normally_open_momentary_horz:Ke,mushroom_head_normally_open_momentary_vert:as,n_channel_d_mosfet_transistor_horz:r0,n_channel_d_mosfet_transistor_vert:ns,n_channel_e_mosfet_transistor_horz:i0,n_channel_e_mosfet_transistor_vert:bs,njfet_transistor_horz:p0,njfet_transistor_vert:ws,not_connected_down:Ss,not_connected_left:Rs,not_connected_right:U,not_connected_up:Fs,npn_bipolar_transistor_down:Ts,npn_bipolar_transistor_horz:Es,npn_bipolar_transistor_left:Ys,npn_bipolar_transistor_right:Xs,npn_bipolar_transistor_up:Ls,npn_bipolar_transistor_vert:Vs,opamp_no_power_down:ks,opamp_no_power_left:zs,opamp_no_power_right:W,opamp_no_power_up:Os,opamp_with_power_down:$s,opamp_with_power_left:Ms,opamp_with_power_right:H,opamp_with_power_up:Cs,p_channel_d_mosfet_transistor_horz:f0,p_channel_d_mosfet_transistor_vert:Ds,p_channel_e_mosfet_transistor_horz:h0,p_channel_e_mosfet_transistor_vert:Zs,photodiode_horz:d0,photodiode_vert:em,pjfet_transistor_horz:_0,pjfet_transistor_vert:pm,pnp_bipolar_transistor_down:am,pnp_bipolar_transistor_horz:ym,pnp_bipolar_transistor_left:xm,pnp_bipolar_transistor_right:sm,pnp_bipolar_transistor_up:mm,pnp_bipolar_transistor_vert:nm,potentiometer_horz:S0,potentiometer_vert:dm,potentiometer2_down:um,potentiometer2_left:vm,potentiometer2_right:Z,potentiometer2_up:wm,potentiometer3_down:Am,potentiometer3_left:Pm,potentiometer3_right:Sm,potentiometer3_up:Rm,power_factor_meter_horz:X0,power_factor_meter_vert:Ym,push_button_normally_closed_momentary_horz:V0,push_button_normally_closed_momentary_vert:jm,push_button_normally_open_momentary_horz:k0,push_button_normally_open_momentary_vert:Jm,rail_down:Mm,rail_left:Nm,rail_right:Bm,rail_up:Dm,rectifier_diode_horz:J0,rectifier_diode_vert:Wm,resistor_down:Zm,resistor_left:Km,resistor_right:en,resistor_up:on,resonator_down:pn,resonator_horz:D0,resonator_left:an,resonator_right:et,resonator_up:yn,resonator_vert:xn,schottky_diode_down:mn,schottky_diode_left:nn,schottky_diode_right:rt,schottky_diode_up:fn,silicon_controlled_rectifier_horz:G0,silicon_controlled_rectifier_vert:dn,solderjumper2_bridged12_down:bn,solderjumper2_bridged12_left:_n,solderjumper2_bridged12_right:gn,solderjumper2_bridged12_up:un,solderjumper2_down:vn,solderjumper2_left:wn,solderjumper2_right:An,solderjumper2_up:Pn,solderjumper3_bridged12_down:Sn,solderjumper3_bridged12_left:Rn,solderjumper3_bridged12_right:Fn,solderjumper3_bridged12_up:Tn,solderjumper3_bridged123_down:En,solderjumper3_bridged123_left:Yn,solderjumper3_bridged123_right:Xn,solderjumper3_bridged123_up:Ln,solderjumper3_bridged23_down:Vn,solderjumper3_bridged23_left:jn,solderjumper3_bridged23_right:kn,solderjumper3_bridged23_up:zn,solderjumper3_down:On,solderjumper3_left:Jn,solderjumper3_right:$n,solderjumper3_up:Mn,spdt_normally_closed_switch_down:Nn,spdt_normally_closed_switch_left:In,spdt_normally_closed_switch_right:xt,spdt_normally_closed_switch_up:Bn,spdt_switch_down:Dn,spdt_switch_left:Gn,spdt_switch_right:st,spdt_switch_up:Un,spst_normally_closed_switch_down:Wn,spst_normally_closed_switch_left:Hn,spst_normally_closed_switch_right:mt,spst_normally_closed_switch_up:Zn,spst_switch_down:Qn,spst_switch_left:Kn,spst_switch_right:nt,spst_switch_up:t1,square_wave_down:e1,square_wave_left:r1,square_wave_right:o1,square_wave_up:i1,step_recovery_diode_horz:U0,step_recovery_diode_vert:l1,tachometer_horz:jt,tachometer_vert:x1,testpoint_down:n1,testpoint_left:f1,testpoint_right:ct,testpoint_up:d1,tilted_ground_down:_1,tilted_ground_left:g1,tilted_ground_right:wt,tilted_ground_up:H0,triac_horz:Z0,triac_vert:w1,tunnel_diode_horz:K0,tunnel_diode_vert:R1,unijunction_transistor_horz:er,unijunction_transistor_vert:L1,usbc:j1,var_meter_horz:or,var_meter_vert:O1,varactor_diode_horz:lr,varactor_diode_vert:C1,varistor_horz:ar,varistor_vert:q1,varmeter_horz:kt,varmeter_vert:W1,vcc_down:H1,vcc_left:Z1,vcc_right:Q1,vcc_up:K1,volt_meter_horz:xr,volt_meter_vert:tf,watt_hour_meter_horz:zt,watt_hour_meter_vert:lf,wattmeter_horz:Ot,wattmeter_vert:xf,zener_diode_horz:fr,zener_diode_vert:ff};var b=(t,o=!0)=>o?-t:t;var dt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function hf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${b(a.y,i)}`).join(" ");return o?`${l} Z`:l}function Zb(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${b(a,i)-y} L ${l+y} ${b(a,i)} L ${l} ${b(a,i)+y} L ${l-y} ${b(a,i)} Z" fill="green" />`}function Qb(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,h=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${b(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${dt("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${b(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function Kb(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
7
7
  ${`
8
8
  <line x1="${i-y/2}" y1="${b(l,o)-y/2}" x2="${i+y/2}" y2="${b(l,o)+y/2}" stroke="red" stroke-width="0.004" />
9
9
  <line x1="${i-y/2}" y1="${b(l,o)+y/2}" x2="${i+y/2}" y2="${b(l,o)-y/2}" stroke="red" stroke-width="0.004" />
@@ -13,5 +13,5 @@ function _(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]
13
13
  `}function df(t,o={}){let{debug:i=!1}=o,{primitives:l,size:a,ports:y}=t,n=l.map(x=>{switch(x.type){case"path":return`<path d="${hf(x.points,{closed:x.closed,yUpPositive:!0})}" fill="${x.fill?dt(x.color):"none"}" stroke="${dt(x.color)}" stroke-width="0.02" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let f=Qb(x,{yUpPositive:!0});return f.text+(i?f.anchor:"");case"circle":return`<circle cx="${x.x}" cy="${b(x.y,!0)}" r="${x.radius}" fill="${x.fill?dt(x.color):"none"}" ${x.fill?"":`stroke="${dt(x.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${x.x}" y="${b(x.y)}" width="${x.width}" height="${x.height}" fill="${dt("primary")}" />`;default:return""}}),m=y.map(x=>Kb(x,{yUpPositive:!0})).join(`
14
14
  `),h=Zb(t.center),p=[];if(i){let x={x:t.center.x-a.width/2,y:t.center.y-a.height/2};p.push(`<text x="${x.x}" y="${x.y}" style="font: 0.05px monospace; fill: #833;">${a.width.toFixed(2)} x ${a.height.toFixed(2)}</text>`),y.forEach((f,d)=>{if(f.labels.length>1){let c=f.labels.slice(1).join(", ");p.push(`<text x="${x.x}" y="${x.y-(d+1)*.05}" dy="-0.15" style="font: 0.05px monospace; fill: #833;">${f.labels[0]} [${c}]</text>`)}}),p.push(...p)}return[n.join(`
15
15
  `),m,h,...p].join(`
16
- `)}function t_(t,o={}){let{size:i}=t,l=df(t,o),a=1.2,y=i.width*a,n=i.height*a,m={x:t.center.x-y/2,y:b(t.center.y,!0)-n/2,width:y,height:n};return o.width&&!o.height?o.height=o.width*(m.height/m.width):!o.width&&o.height?o.width=o.height*(m.width/m.height):!o.width&&!o.height&&(o.width=m.width,o.height=m.height),`<svg width="${o.width}" height="${o.height}" viewBox="${m.x} ${m.y} ${m.width} ${m.height}" xmlns="http://www.w3.org/2000/svg">${l}</svg>`}var GM=Object.fromEntries(Object.keys(cf).map(t=>[t,t]));export{GM as BASE_SYMBOLS,df as getInnerSvg,t_ as getSvg,Y as resizeSymbol,cf as symbols};
16
+ `)}function t_(t,o={}){let{size:i}=t,l=df(t,o),a=1.2,y=i.width*a,n=i.height*a,m={x:t.center.x-y/2,y:b(t.center.y,!0)-n/2,width:y,height:n};return o.width&&!o.height?o.height=o.width*(m.height/m.width):!o.width&&o.height?o.width=o.height*(m.width/m.height):!o.width&&!o.height&&(o.width=m.width,o.height=m.height),`<svg width="${o.width}" height="${o.height}" viewBox="${m.x} ${m.y} ${m.width} ${m.height}" xmlns="http://www.w3.org/2000/svg">${l}</svg>`}var GM=Object.fromEntries(Object.keys(cf).map(t=>[t,t]));export{GM as BASE_SYMBOLS,df as getInnerSvg,t_ as getSvg,X as resizeSymbol,cf as symbols};
17
17
  //# sourceMappingURL=index.js.map