schematic-symbols 0.0.248 → 0.0.249

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,17 +1,17 @@
1
- function E(t,l){return Array.isArray(l)?[t.a*l[0]+t.c*l[1]+t.e,t.b*l[0]+t.d*l[1]+t.f]:{x:t.a*l.x+t.c*l.y+t.e,y:t.b*l.x+t.d*l.y+t.f}}function g0(t){return typeof t>"u"}function Bt(t,l=0){return{a:1,c:0,e:t,b:0,d:1,f:l}}function G(...t){t=Array.isArray(t[0])?t[0]:t;let l=(i,s)=>({a:i.a*s.a+i.c*s.b,c:i.a*s.c+i.c*s.d,e:i.a*s.e+i.c*s.f+i.e,b:i.b*s.a+i.d*s.b,d:i.b*s.c+i.d*s.d,f:i.b*s.e+i.d*s.f+i.f});switch(t.length){case 0:throw new Error("no matrices provided");case 1:return t[0];case 2:return l(t[0],t[1]);default:{let[i,s,...y]=t,p=l(i,s);return G(p,...y)}}}var{cos:Jh,sin:$h,PI:x8}=Math;function Do(t,l,i){let s=Jh(t),y=$h(t),p={a:s,c:-y,e:0,b:y,d:s,f:0};return g0(l)||g0(i)?p:G([Bt(l,i),p,Bt(-l,-i)])}var{tan:g8}=Math;function Mh(t,l){function i(){this.constructor=t}i.prototype=l.prototype,t.prototype=new i}function u0(t,l,i,s){var y=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(y,u0.prototype),y.expected=l,y.found=i,y.location=s,y.name="SyntaxError",y}Mh(u0,Error);function qo(t,l,i){return i=i||" ",t.length>l?t:(l-=t.length,i+=i.repeat(l),t+i.slice(0,l))}u0.prototype.format=function(t){var l="Error: "+this.message;if(this.location){var i=null,s;for(s=0;s<t.length;s++)if(t[s].source===this.location.source){i=t[s].text.split(/\r\n|\n|\r/g);break}var y=this.location.start,p=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(y):y,c=this.location.source+":"+p.line+":"+p.column;if(i){var f=this.location.end,d=qo("",p.line.toString().length," "),a=i[y.line-1],m=y.line===f.line?f.column:a.length+1,h=m-y.column||1;l+=`
1
+ function V(t,l){return Array.isArray(l)?[t.a*l[0]+t.c*l[1]+t.e,t.b*l[0]+t.d*l[1]+t.f]:{x:t.a*l.x+t.c*l.y+t.e,y:t.b*l.x+t.d*l.y+t.f}}function Pt(t){return typeof t>"u"}function B0(t,l=0){return{a:1,c:0,e:t,b:0,d:1,f:l}}function H(...t){t=Array.isArray(t[0])?t[0]:t;let l=(r,y)=>({a:r.a*y.a+r.c*y.b,c:r.a*y.c+r.c*y.d,e:r.a*y.e+r.c*y.f+r.e,b:r.b*y.a+r.d*y.b,d:r.b*y.c+r.d*y.d,f:r.b*y.e+r.d*y.f+r.f});switch(t.length){case 0:throw new Error("no matrices provided");case 1:return t[0];case 2:return l(t[0],t[1]);default:{let[r,y,...s]=t,p=l(r,y);return H(p,...s)}}}var{cos:mc,sin:xc,PI:B8}=Math;function rr(t,l,r){let y=mc(t),s=xc(t),p={a:y,c:-s,e:0,b:s,d:y,f:0};return Pt(l)||Pt(r)?p:H([B0(l,r),p,B0(-l,-r)])}var{tan:Z8}=Math;function nc(t,l){function r(){this.constructor=t}r.prototype=l.prototype,t.prototype=new r}function Rt(t,l,r,y){var s=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(s,Rt.prototype),s.expected=l,s.found=r,s.location=y,s.name="SyntaxError",s}nc(Rt,Error);function ir(t,l,r){return r=r||" ",t.length>l?t:(l-=t.length,r+=r.repeat(l),t+r.slice(0,l))}Rt.prototype.format=function(t){var l="Error: "+this.message;if(this.location){var r=null,y;for(y=0;y<t.length;y++)if(t[y].source===this.location.source){r=t[y].text.split(/\r\n|\n|\r/g);break}var s=this.location.start,p=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(s):s,c=this.location.source+":"+p.line+":"+p.column;if(r){var f=this.location.end,d=ir("",p.line.toString().length," "),a=r[s.line-1],m=s.line===f.line?f.column:a.length+1,h=m-s.column||1;l+=`
2
2
  --> `+c+`
3
3
  `+d+` |
4
4
  `+p.line+" | "+a+`
5
- `+d+" | "+qo("",y.column-1," ")+qo("",h,"^")}else l+=`
6
- at `+c}return l};u0.buildMessage=function(t,l){var i={literal:function(a){return'"'+y(a.text)+'"'},class:function(a){var m=a.parts.map(function(h){return Array.isArray(h)?p(h[0])+"-"+p(h[1]):p(h)});return"["+(a.inverted?"^":"")+m.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(a){return a.description}};function s(a){return a.charCodeAt(0).toString(16).toUpperCase()}function y(a){return a.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(m){return"\\x0"+s(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+s(m)})}function p(a){return a.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(m){return"\\x0"+s(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+s(m)})}function c(a){return i[a.type](a)}function f(a){var m=a.map(c),h,b;if(m.sort(),m.length>0){for(h=1,b=1;h<m.length;h++)m[h-1]!==m[h]&&(m[b]=m[h],b++);m.length=b}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}function d(a){return a?'"'+y(a)+'"':"end of input"}return"Expected "+f(t)+" but "+d(l)+" found."};function S(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let l=1/0,i=-1/0,s=1/0,y=-1/0,p=c=>{l=Math.min(l,c.x),i=Math.max(i,c.x),s=Math.min(s,c.y),y=Math.max(y,c.y)};return t.forEach(c=>{switch(c.type){case"path":c.points.forEach(p);break;case"text":p({x:c.x,y:c.y});break;case"circle":{let{x:f,y:d,radius:a}=c;p({x:f-a,y:d-a}),p({x:f+a,y:d+a});break}case"box":{let{x:f,y:d,width:a,height:m}=c,h=a/2,b=m/2;p({x:f-h,y:d-b}),p({x:f+h,y:d+b});break}}}),{minX:l,maxX:i,minY:s,maxY:y}}var Wh=(t,l="right")=>{switch(l){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,l)=>{let{primitives:i,center:s,ports:y,size:p}=t,c=G({a:1,b:0,c:0,d:-1,e:0,f:2*s.y}),f=i.map(a=>{switch(a={...a},a.type){case"path":return{...a,points:a.points.map(_=>E(c,_))};case"text":let m=E(c,{x:a.x,y:a.y}),h={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{...a,x:m.x,y:m.y,anchor:h[a.anchor]};case"circle":case"box":let b=E(c,{x:a.x,y:a.y});return{...a,x:b.x,y:b.y}}}),d=y.map(a=>({...a,...E(c,a)}));return{primitives:f,center:s,ports:d,size:p,...l}},Y=(t,l)=>{let{primitives:i,center:s,ports:y,size:p}=t,c=G({a:-1,b:0,c:0,d:1,e:0,f:2*s.x}),f=i.map(a=>{switch(a={...a},a.type){case"path":return{...a,points:a.points.map(_=>E(c,_))};case"text":let m=E(c,{x:a.x,y:a.y}),h={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{...a,x:m.x,y:m.y,anchor:h[a.anchor]};case"circle":case"box":let b=E(c,{x:a.x,y:a.y});return{...a,x:b.x,y:b.y}}}),d=y.map(a=>({...a,...E(c,a)}));return{primitives:f,center:s,ports:d,size:p,...l}},q=(t,l)=>{let{newOrientation:i,overrides:s}=l,y={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},p=Do(i?y[i]:Math.PI/2,t.center.x,t.center.y),{primitives:c,center:f,size:d,ports:a}=t,m=c.map(_=>{switch(_={..._},_.type){case"path":return{..._,points:_.points.map(Oh=>E(p,Oh))};case"text":let Za=E(p,{x:_.x,y:_.y});return _.anchor=Wh(_.anchor,i??"right"),{..._,x:Za.x,y:Za.y};case"circle":let Ka=E(p,{x:_.x,y:_.y});return{..._,x:Ka.x,y:Ka.y};case"box":let Qa=E(p,{x:_.x,y:_.y});return{..._,x:Qa.x,y:Qa.y,width:_.height,height:_.width}}}),h=a.map(_=>({..._,...E(p,_)})),b=S(m);return{primitives:m,center:f,ports:h,size:{width:b.maxX-b.minX,height:b.maxY-b.minY},...s}},o=(t,l="down",i={})=>q(t,{newOrientation:l,overrides:i});var Ho=class{symbol;constructor(l){this.symbol=JSON.parse(JSON.stringify(l)),this.symbol.size=this.computeSize()}changeTextAnchor(l,i,s){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(y=>y.type==="text"&&y.text===l?{...y,anchor:i,...s?{x:y.x+s.x,y:y.y+s.y}:{}}:y)},this}labelPort(l,i){return this.symbol={...this.symbol,ports:this.symbol.ports.map(s=>s.labels.includes(l)?{...s,labels:i}:s)},this}rotateRightFacingSymbol(l){return this.symbol=q(this.symbol,{newOrientation:l}),this}computeSize(){let l=S(this.symbol.primitives);return{width:l.maxX-l.minX,height:l.maxY-l.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let l=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(([y,p])=>[{...p,labels:[y]}]),s=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(s={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new Ho({...t,primitives:l,ports:i,center:s})};var X={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:Bh,texts:Yg,bounds:v0,refblocks:ep,circles:Ih}=X,op=e({primitives:[...Object.values(Bh),...Object.values(Ih),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ep.left1,labels:["1"]},{...ep.right1,labels:["2"]}],size:{width:v0.width,height:v0.height},center:{x:v0.centerX,y:v0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Dh,texts:jg,bounds:w0,refblocks:rp,circles:qh}=X,ip=e({primitives:[...Object.values(Dh),...Object.values(qh),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...rp.left1,labels:["1"]},{...rp.right1,labels:["2"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Hh,texts:Mg,bounds:S0,refblocks:lp,circles:Gh}=X,ap=e({primitives:[...Object.values(Hh),...Object.values(Gh),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...lp.left1,labels:["1"]},{...lp.right1,labels:["2"]}],size:{width:S0.width,height:S0.height},center:{x:S0.centerX,y:S0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Uh,texts:Bg,bounds:A0,refblocks:pp,circles:Zh}=X,sp=e({primitives:[...Object.values(Uh),...Object.values(Zh),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...pp.left1,labels:["1"]},{...pp.right1,labels:["2"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Kh,texts:Hg,bounds:P0,refblocks:yp,circles:Qh}=X,mp=e({primitives:[...Object.values(Kh),...Object.values(Qh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...yp.left1,labels:["1"]},{...yp.right1,labels:["2"]}],size:{width:P0.width,height:P0.height},center:{x:P0.centerX,y:P0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:td,texts:Kg,bounds:R0,refblocks:np,circles:ed}=X,xp=e({primitives:[...Object.values(td),...Object.values(ed),{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:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var z={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.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:rd,texts:r7,bounds:F0,refblocks:fp,circles:id}=z,cp=e({primitives:[...Object.values(rd),...Object.values(id),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...fp.left1,labels:["1"]},{...fp.right1,labels:["2"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var hp=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ld,texts:m7,bounds:T0,refblocks:dp,circles:ad}=z,_p=e({primitives:[...Object.values(ld),...Object.values(ad),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...dp.left1,labels:["1"]},{...dp.right1,labels:["2"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var bp=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var U={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.07000000000000006,y:.1399999999999999},{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001},{x:.16999999999999993,y:-.1399999999999999}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,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:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var sd={boxresistor:{horizontalOffset:.16,horizontalHeight:.65,verticalX:.16,verticalRefY:.16,verticalValY:-.16,verticalWidth:.9},capacitor:{horizontalOffset:.24,horizontalHeight:.65,verticalX:.2,verticalRefY:.095,verticalValY:-.095,verticalWidth:.9},led:{horizontalOffset:.38,horizontalHeight:.9,verticalX:.38,verticalRefY:.14,verticalValY:-.14,verticalWidth:1.1},diode:{horizontalOffset:.22,horizontalHeight:.65,verticalX:.2,verticalRefY:.14,verticalValY:-.14,verticalWidth:.9},resistor:{horizontalOffset:.22,horizontalHeight:.65,verticalX:.2,verticalRefY:.14,verticalValY:-.14,verticalWidth:.9}},r=(t,{kind:l,orientation:i,pin1Labels:s=["1"],pin2Labels:y=["2"]})=>{let p=sd[l],c=e({...t,texts:{}}).rotateRightFacingSymbol(i).labelPort("left1",s).labelPort("right1",y).build(),f=i==="right"||i==="left",d=f?[{type:"text",text:"{REF}",x:0,y:p.horizontalOffset,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-p.horizontalOffset,anchor:"middle_top"}]:[{type:"text",text:"{REF}",x:p.verticalX,y:p.verticalRefY,anchor:"middle_left"},{type:"text",text:"{VAL}",x:p.verticalX,y:p.verticalValY,anchor:"middle_left"}],[a,m]=c.ports,h=Math.hypot(m.x-a.x,m.y-a.y);return{...c,primitives:[...c.primitives,...d],size:f?{width:h,height:p.horizontalHeight}:{width:p.verticalWidth,height:h}}};var gp=r(U,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var up=r(U,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var vp=r(U,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var wp=r(U,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var{paths:yd,texts:Y7,bounds:E0,refblocks:Sp,circles:md}=z,Ap=e({primitives:[...Object.values(yd),...Object.values(md),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Sp.left1,labels:["1"]},{...Sp.right1,labels:["2"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:nd,texts:j7,bounds:V0,refblocks:Pp,circles:xd}=z,Rp=e({primitives:[...Object.values(nd),...Object.values(xd),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:V0.width,height:V0.height},center:{x:V0.centerX,y:V0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Z={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.050000000000000044,y:.11999999999999988},{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009},{x:.15000000000000013,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,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:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.25,maxY:.25,width:.34999999999999987,height:.5,centerX:11102230246251565e-32,centerY:0},circles:{}};var Fp=r(Z,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Tp=r(Z,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Ep=r(Z,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Vp=r(Z,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var K={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:hd,texts:tu,bounds:L0,refblocks:Lp,circles:dd}=K,Yp=e({primitives:[...Object.values(hd),...Object.values(dd),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:_d,texts:iu,bounds:Y0,refblocks:Xp,circles:bd}=K,X0=e({primitives:[...Object.values(_d),...Object.values(bd),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...Xp.left1,labels:["1"]},{...Xp.right1,labels:["2"]}],size:{width:Y0.width,height:Y0.height},center:{x:Y0.centerX,y:Y0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:gd,texts:su,bounds:z0,refblocks:zp,circles:ud}=K,kp=e({primitives:[...Object.values(gd),...Object.values(ud),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...zp.left1,labels:["1"]},{...zp.right1,labels:["2"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:fu,texts:cu,bounds:hu,refblocks:du,circles:_u}=K,Go=o(X0,"down"),Uo=Go.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zo=Go.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Uo.anchor="middle_left";Zo.anchor="middle_left";Uo.x=.25;Uo.y+=.21;Zo.y-=.21;Zo.x=.25;var jp=Go;var N={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:-.5,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.5,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:-.5,y:.03},right1:{x:.5,y:.03}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.27,width:1,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:wd,bounds:Op,refblocks:Jp,circles:Sd}=N,Ad=e({primitives:[...Object.values(wd),...Object.values(Sd),{type:"text",text:"{REF}",x:-.2,y:.31},{type:"text",text:"{VAL}",x:.2,y:.31}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],center:{x:Op.centerX,y:Op.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").build(),$p={...Ad,size:{width:1,height:.9}};function n(t){let l=t.size;if(!l){let i=S(t.primitives);l={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:l}}var{paths:Pd,texts:Mp,bounds:k0,refblocks:Cp,circles:Rd}=N,j0=n({primitives:[...Object.values(Pd),...Object.values(Rd),{...Mp.top1,anchor:"middle_bottom"},{...Mp.bottom1,anchor:"middle_top"}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}});var{paths:Fd,bounds:Wp,refblocks:Np,circles:Td}=N,Ed=e({primitives:[...Object.values(Fd),...Object.values(Td),{type:"text",text:"{REF}",x:0,y:-.22},{type:"text",text:"{VAL}",x:0,y:.28}],ports:[{...Np.left1,labels:["1"]},{...Np.right1,labels:["2"]}],center:{x:Wp.centerX,y:Wp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build(),Bp={...Ed,size:{width:1,height:.65}};var{paths:Vd,bounds:Ip,refblocks:Dp,circles:Ld}=N,Yd=e({primitives:[...Object.values(Vd),...Object.values(Ld),{type:"text",text:"{REF}",x:0,y:.28},{type:"text",text:"{VAL}",x:0,y:-.22}],ports:[{...Dp.left1,labels:["1"]},{...Dp.right1,labels:["2"]}],center:{x:Ip.centerX,y:Ip.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_bottom").build(),qp={...Yd,size:{width:1,height:.65}};var{paths:Xd,bounds:Hp,refblocks:Gp,circles:zd}=N,kd=e({primitives:[...Object.values(Xd),...Object.values(zd),{type:"text",text:"{REF}",x:.2,y:-.25},{type:"text",text:"{VAL}",x:-.2,y:-.25}],ports:[{...Gp.left1,labels:["1"]},{...Gp.right1,labels:["2"]}],center:{x:Hp.centerX,y:Hp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").build(),Up={...kd,size:{width:1,height:.9}};var Zp=q(j0,{newOrientation:"up"});var Q={paths:{path1:{type:"path",points:[{x:-.3,y:0},{x:-.19998,y:0}],color:"primary",fill:!1,strokeWidth:.012},path2:{type:"path",points:[{x:.19998,y:0},{x:.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path3:{type:"path",points:[{x:-.19998,y:.07998},{x:.19998,y:.07998},{x:.19998,y:-.07998},{x:-.19998,y:-.07998},{x:-.19998,y:.07998}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.45,anchor:"middle_bottom"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.45,maxY:.3,width:.6,height:.75,centerX:0,centerY:0},circles:{}};var{paths:Od,texts:Nu,bounds:Kp,refblocks:Qp,circles:Jd}=Q,$d=e({primitives:[...Object.values(Od),...Object.values(Jd),{type:"text",text:"{REF}",x:-.16,y:.16},{type:"text",text:"{VAL}",x:.16,y:.16}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],center:{x:Kp.centerX,y:Kp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),ts={...$d,size:{width:.9,height:.6}};var{paths:Md,texts:qu,bounds:es,refblocks:os,circles:Cd}=Q,Wd=e({primitives:[...Object.values(Md),...Object.values(Cd),{type:"text",text:"{REF}",x:0,y:-.16},{type:"text",text:"{VAL}",x:0,y:.16}],ports:[{...os.left1,labels:["1"]},{...os.right1,labels:["2"]}],center:{x:es.centerX,y:es.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),rs={...Wd,size:{width:.6,height:.65}};var{paths:Nd,texts:Zu,bounds:is,refblocks:ls,circles:Bd}=Q,Id=e({primitives:[...Object.values(Nd),...Object.values(Bd),{type:"text",text:"{REF}",x:0,y:.16},{type:"text",text:"{VAL}",x:0,y:-.16}],ports:[{...ls.left1,labels:["1"]},{...ls.right1,labels:["2"]}],center:{x:is.centerX,y:is.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),as={...Id,size:{width:.6,height:.65}};var tt={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.175,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.175,y:.075},{x:.175,y:.075},{x:.175,y:-.075},{x:-.175,y:-.075},{x:-.175,y:.075}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.175,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var ps=r(tt,{kind:"boxresistor",orientation:"down"});var ss=r(tt,{kind:"boxresistor",orientation:"left"});var ys=r(tt,{kind:"boxresistor",orientation:"right"});var ms=r(tt,{kind:"boxresistor",orientation:"up"});var et={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:Hd,texts:h6,bounds:O0,refblocks:ns,circles:Gd}=et,xs=e({primitives:[...Object.values(Hd),...Object.values(Gd),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...ns.left1,labels:["1"]},{...ns.right1,labels:["2"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Ud,texts:g6,bounds:J0,refblocks:fs,circles:Zd}=et,cs=e({primitives:[...Object.values(Ud),...Object.values(Zd),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...fs.left1,labels:["1"]},{...fs.right1,labels:["2"]}],size:{width:J0.width,height:J0.height},center:{x:J0.centerX,y:J0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Kd,texts:S6,bounds:$0,refblocks:hs,circles:Qd}=et,ds=e({primitives:[...Object.values(Kd),...Object.values(Qd),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...hs.left1,labels:["1"]},{...hs.right1,labels:["2"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:t2,texts:F6,bounds:M0,refblocks:_s,circles:e2}=et,bs=e({primitives:[...Object.values(t2),...Object.values(e2),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{..._s.left1,labels:["1"]},{..._s.right1,labels:["2"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:o2,texts:L6,bounds:gs,refblocks:us,circles:r2}=Q,i2=e({primitives:[...Object.values(o2),...Object.values(r2),{type:"text",text:"{REF}",x:.16,y:-.16},{type:"text",text:"{VAL}",x:-.16,y:-.16}],ports:[{...us.left1,labels:["1"]},{...us.right1,labels:["2"]}],center:{x:gs.centerX,y:gs.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),vs={...i2,size:{width:.9,height:.6}};var ot={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.14,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.14,y:.065},{x:.14,y:.065},{x:.14,y:-.065},{x:-.14,y:-.065},{x:-.14,y:.065}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.14,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var ws=r(ot,{kind:"boxresistor",orientation:"down"});var Ss=r(ot,{kind:"boxresistor",orientation:"left"});var As=r(ot,{kind:"boxresistor",orientation:"right"});var Ps=r(ot,{kind:"boxresistor",orientation:"up"});var It={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:p2,texts:G6,bounds:Rs,refblocks:Fs,circles:s2}=It,Ts=e({primitives:[...Object.values(p2),...Object.values(s2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Fs.left1,labels:["1"]},{...Fs.right1,labels:["2"]}],center:{x:Rs.centerX,y:Rs.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:y2,texts:Q6,bounds:Es,refblocks:Vs,circles:m2}=It,C0=e({primitives:[...Object.values(y2),...Object.values(m2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Vs.left1,labels:["1"]},{...Vs.right1,labels:["2"]}],center:{x:Es.centerX,y:Es.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ls=Y(C0);var{paths:n2,texts:av,bounds:Ys,refblocks:Xs,circles:x2}=It,zs=e({primitives:[...Object.values(n2),...Object.values(x2),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Xs.left1,labels:["1"]},{...Xs.right1,labels:["2"]}],center:{x:Ys.centerX,y:Ys.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var rt={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.06,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path29:{type:"path",points:[{x:.06,y:.16002},{x:.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.06,y:.16002},{x:-.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.24,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.24,anchor:"middle_top"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.24,maxY:.24,width:.6,height:.48,centerX:0,centerY:0},circles:{}};var{paths:c2,texts:nv,bounds:W0,refblocks:ks,circles:h2}=rt,d2=e({primitives:[...Object.values(c2),...Object.values(h2),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...ks.left1,labels:["1"]},{...ks.right1,labels:["2"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX,y:W0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),js={...d2,size:{width:.9,height:.6}};var _2=e(rt).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),Os={..._2,size:{width:.6,height:.65}};var it={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:657e-6,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.038683,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.074255,y:.16002},{x:-.074255,y:.16002},{x:-.069544,y:.149352},{x:-.065126,y:.138684},{x:-.061005,y:.128016},{x:-.057182,y:.117348},{x:-.053663,y:.10668},{x:-.05045,y:.096012},{x:-.047547,y:.085344},{x:-.044957,y:.074676},{x:-.042684,y:.064008},{x:-.040732,y:.05334},{x:-.039103,y:.042672},{x:-.037801,y:.032004},{x:-.03683,y:.021336},{x:-.036193,y:.010668},{x:-.035893,y:0},{x:-.036193,y:-.010668},{x:-.03683,y:-.021336},{x:-.037801,y:-.032004},{x:-.039103,y:-.042672},{x:-.040732,y:-.05334},{x:-.042684,y:-.064008},{x:-.044957,y:-.074676},{x:-.047547,y:-.085344},{x:-.05045,y:-.096012},{x:-.053663,y:-.10668},{x:-.057182,y:-.117348},{x:-.061005,y:-.128016},{x:-.065126,y:-.138684},{x:-.069544,y:-.149352},{x:-.074255,y:-.16002},{x:-.074255,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-7":{type:"path",points:[{x:-385e-6,y:.16002},{x:-385e-6,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2":{type:"path",points:[{x:.156026,y:.2},{x:.085846,y:.2}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2-9":{type:"path",points:[{x:.120936,y:.16491},{x:.120936,y:.23509}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42,anchor:"middle_top"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.55,maxY:.55,width:.6,height:1.1,centerX:0,centerY:0},circles:{"viewbox-padding-min":{type:"circle",x:-.3,y:-.55,radius:0,fill:!1,color:"transparent"},"viewbox-padding-max":{type:"circle",x:.3,y:.55,radius:0,fill:!1,color:"transparent"}}};var Js=e(it).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:-.12,y:-.3}).build();var $s=e(it).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ms=e(it).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.78}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.78}).build();var Cs=e(it).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:-.12,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:.72,y:-.3}).build();var g2=e(rt).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build(),Ws={...g2,size:{width:.6,height:.65}};var lt={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.06,y:.16},{x:-.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.06,y:.16},{x:.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.06,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var Ns=r(lt,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Bs=r(lt,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Is=r(lt,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Ds=r(lt,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var{paths:v2,texts:qv,bounds:N0,refblocks:qs,circles:w2}=rt,S2=e({primitives:[...Object.values(v2),...Object.values(w2),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...qs.left1,labels:["1"]},{...qs.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),Hs={...S2,size:{width:.9,height:.6}};var at={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.05,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.05,y:.14},{x:-.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.05,y:.14},{x:.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.05,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var Gs=r(at,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Us=r(at,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Zs=r(at,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var Ks=r(at,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var k={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:R2,texts:nw,bounds:B0,refblocks:Qs,circles:F2}=k,ty=e({primitives:[...Object.values(R2),...Object.values(F2),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Qs.left1,labels:["1"]},{...Qs.right1,labels:["2"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ey=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:T2,texts:bw,bounds:I0,refblocks:oy,circles:E2}=k,ry=e({primitives:[...Object.values(T2),...Object.values(E2),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...oy.left1,labels:["1"]},{...oy.right1,labels:["2"]}],size:{width:I0.width,height:I0.height},center:{x:I0.centerX,y:I0.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var iy=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:V2,texts:Pw,bounds:D0,refblocks:ly,circles:L2}=k,ay=e({primitives:[...Object.values(V2),...Object.values(L2),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ly.left1,labels:["1"]},{...ly.right1,labels:["2"]}],size:{width:D0.width,height:D0.height},center:{x:D0.centerX,y:D0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Y2,texts:Ew,bounds:q0,refblocks:py,circles:X2}=k,sy=e({primitives:[...Object.values(Y2),...Object.values(X2),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...py.left1,labels:["1"]},{...py.right1,labels:["2"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var pt={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:k2,texts:zw,bounds:H0,refblocks:G0,circles:j2}=pt,yy=e({primitives:[...Object.values(k2),...Object.values(j2),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...G0.left1,labels:["1"]},{...G0.right1,labels:["3"]},{...G0.bottom1,labels:["2"]},{...G0.top1,labels:["4"]}],size:{width:H0.width,height:H0.height},center:{x:H0.centerX,y:H0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var my=e(pt).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var ny=e(pt).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:O2,texts:Bw,bounds:U0,refblocks:Z0,circles:J2}=pt,xy=e({primitives:[...Object.values(O2),...Object.values(J2),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...Z0.left1,labels:["1"]},{...Z0.right1,labels:["3"]},{...Z0.bottom1,labels:["2"]},{...Z0.top1,labels:["4"]}],size:{width:U0.width,height:U0.height},center:{x:U0.centerX,y:U0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var st={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:M2,texts:Gw,bounds:K0,refblocks:fy,circles:C2}=st,cy=e({primitives:[...Object.values(M2),...Object.values(C2),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...fy.left1,labels:["1"]},{...fy.right1,labels:["2"]}],size:{width:K0.width,height:K0.height},center:{x:K0.centerX,y:K0.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var hy=e(st).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var dy=e(st).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:W2,texts:lS,bounds:Q0,refblocks:_y,circles:N2}=st,by=e({primitives:[...Object.values(W2),...Object.values(N2),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{..._y.left1,labels:["1"]},{..._y.right1,labels:["2"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var i0=.6,Ko=.3,B2=[{type:"path",points:[{x:-i0,y:0},{x:-Ko,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Ko,y:0},{x:i0,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Ko,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],gy=e({primitives:[...B2,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-i0,y:0,labels:["1"]},{x:i0,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:i0*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var l0=.6,Qo=.3,I2=[{type:"path",points:[{x:-l0,y:0},{x:-Qo,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Qo,y:0},{x:l0,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Qo,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],uy=e({primitives:[...I2,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-l0,y:0,labels:["1"]},{x:l0,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:l0*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var a0=.6,tr=.3,D2=[{type:"path",points:[{x:-a0,y:0},{x:-tr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:tr,y:0},{x:a0,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:tr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],vy=e({primitives:[...D2,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-a0,y:0,labels:["1"]},{x:a0,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:a0*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var p0=.6,er=.3,q2=[{type:"path",points:[{x:-p0,y:0},{x:-er,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:er,y:0},{x:p0,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:er,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],wy=e({primitives:[...q2,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-p0,y:0,labels:["1"]},{x:p0,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:p0*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={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 Sy=e(j).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 Ay=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Py=e(j).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 Ry=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Fy=e(j).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 Ty=e(j).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 Ey={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:Vy,bounds:te,refblocks:Ly,circles:U2}=Ey,B=n({primitives:[Vy.path11,Vy.path12,{type:"path",points:[{x:-.12,y:.14},{x:.12,y:.14}],color:"primary",fill:!1},...Object.values(U2),{type:"text",text:"{REF}",x:0,y:.3594553499999995,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.35,anchor:"middle_top"},{type:"path",points:[{x:-.095,y:-.16},{x:0,y:.09}],color:"primary",fill:!1},{type:"path",points:[{x:0,y:.09},{x:.095,y:-.16}],color:"primary",fill:!1},{type:"path",points:[{x:-.048,y:-.045},{x:.048,y:-.045}],color:"primary",fill:!1}],ports:[{...Ly.left1,labels:["1"]},{...Ly.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}});var or=structuredClone(B);or.primitives=or.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:-.16,y:.3594553499999995,anchor:"middle_bottom"}:t.text==="{VAL}"?{...t,x:.16,y:.35,anchor:"middle_bottom"}:t);var s0=q(or,{newOrientation:"down"});var Yy=Y(B);var Xy=B;var rr=structuredClone(B);rr.primitives=rr.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:.16,y:-.3594553499999995,anchor:"middle_top"}:t.text==="{VAL}"?{...t,x:-.16,y:-.35,anchor:"middle_top"}:t);var zy=q(rr,{newOrientation:"up"});var O={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:K2,texts:tA,bounds:ee,refblocks:ky,circles:Q2}=O,jy=e({primitives:[...Object.values(K2),...Object.values(Q2),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ky.left1,labels:["1"]},{...ky.right1,labels:["2"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:t5,texts:iA,bounds:oe,refblocks:Oy,circles:e5}=O,Jy=e({primitives:[...Object.values(t5),...Object.values(e5),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Oy.left1,labels:["1"]},{...Oy.right1,labels:["2"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:o5,texts:sA,bounds:re,refblocks:$y,circles:r5}=O,My=e({primitives:[...Object.values(o5),...Object.values(r5),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...$y.left1,labels:["1"]},{...$y.right1,labels:["2"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:i5,texts:xA,bounds:ie,refblocks:Cy,circles:l5}=O,Wy=e({primitives:[...Object.values(i5),...Object.values(l5),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Cy.left1,labels:["1"]},{...Cy.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:a5,texts:dA,bounds:le,refblocks:Ny,circles:p5}=O,By=e({primitives:[...Object.values(a5),...Object.values(p5),{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:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:s5,texts:uA,bounds:ae,refblocks:Iy,circles:y5}=O,Dy=e({primitives:[...Object.values(s5),...Object.values(y5),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Iy.left1,labels:["1"]},{...Iy.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var J={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}};var qy=e(J).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(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Gy=e(J).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.8}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.9}).build();var Uy=e(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Zy=e(J).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build();var Ky=e(J).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 yt={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:x5,bounds:Qy,refblocks:f5}=yt,tm=e({primitives:[...Object.values(x5),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...f5.left1,labels:["1"]}],center:{x:Qy.centerX,y:Qy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:c5,bounds:em,refblocks:h5}=yt,om=e({primitives:[...Object.values(c5),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...h5.left1,labels:["1"]}],center:{x:em.centerX,y:em.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:d5,bounds:rm,refblocks:_5}=yt,im=e({primitives:[...Object.values(d5),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{..._5.left1,labels:["1"]}],center:{x:rm.centerX,y:rm.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:b5,bounds:lm,refblocks:g5}=yt,am=e({primitives:[...Object.values(b5),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...g5.left1,labels:["1"]}],center:{x:lm.centerX,y:lm.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var pm={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 mt=e(pm).labelPort("left1",["1","pos","anode"]).labelPort("right1",["2","neg","cathode"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var sm=o(mt,"down");var ym=o(mt,"left");var nt={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,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:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var mm=r(nt,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var nm=r(nt,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var xm=r(nt,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var fm=r(nt,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var cm=o(mt,"up");var xt={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,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:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.25,maxY:.25,width:.34999999999999987,height:.5,centerX:11102230246251565e-32,centerY:0},circles:{}};var hm=r(xt,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var dm=r(xt,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var _m=r(xt,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var bm=r(xt,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var gm={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 ft=e(gm).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 ir=o(ft,"down"),lr=ir.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ar=ir.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");lr.anchor="middle_bottom";ar.anchor="middle_top";lr.x=0;lr.y+=.537;ar.y-=.5375;ar.x=0;var um=ir;var pr=o(ft,"left"),sr=pr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yr=pr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sr.anchor="middle_bottom";yr.anchor="middle_top";sr.x=0;sr.y+=1;yr.y-=1;yr.x=0;var vm=pr;var mr=o(ft,"up"),nr=mr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xr=mr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");nr.anchor="middle_bottom";xr.anchor="middle_top";nr.x=0;nr.y+=.537;xr.y-=.5375;xr.x=0;var wm=mr;var Sm={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 ct=e(Sm).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var fr=o(ct,"down"),cr=fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hr=fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cr.anchor="middle_bottom";hr.anchor="middle_top";cr.x=0;cr.y+=.565;hr.y-=.555;hr.x=0;var Am=fr;var dr=o(ct,"left"),_r=dr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),br=dr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_r.anchor="middle_bottom";br.anchor="middle_top";_r.x=0;_r.y+=1.09;br.y-=1.09;br.x=0;var Pm=dr;var gr=o(ct,"up"),ur=gr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vr=gr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ur.anchor="middle_bottom";vr.anchor="middle_top";ur.x=0;ur.y+=.565;vr.y-=.555;vr.x=0;var Rm=gr;var Fm={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 ht=e(Fm).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var wr=o(ht,"down"),Sr=wr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ar=wr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sr.anchor="middle_bottom";Ar.anchor="middle_top";Sr.x=.4;Sr.y+=.265;Ar.y-=.265;Ar.x=.4;var Tm=wr;var Pr=o(ht,"left"),Rr=Pr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fr=Pr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rr.anchor="middle_bottom";Fr.anchor="middle_top";Rr.x=0;Rr.y+=.67;Fr.y-=.67;Fr.x=0;var Em=Pr;var Tr=o(ht,"up"),Er=Tr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vr=Tr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Er.anchor="middle_bottom";Vr.anchor="middle_top";Er.x=.46;Er.y+=.265;Vr.y-=.265;Vr.x=.46;var Vm=Tr;var Lm={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 dt=e(Lm).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Lr=o(dt,"down"),Yr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yr.anchor="middle_bottom";Xr.anchor="middle_top";Yr.x=.4;Yr.y+=.295;Xr.y-=.295;Xr.x=.42;var Ym=Lr;var zr=o(dt,"left"),kr=zr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jr=zr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kr.anchor="middle_bottom";jr.anchor="middle_top";kr.x=0;kr.y+=.795;jr.y-=.795;jr.x=0;var Xm=zr;var Or=o(dt,"up"),Jr=Or.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$r=Or.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Jr.anchor="middle_bottom";$r.anchor="middle_top";Jr.x=.46;Jr.y+=.315;$r.y-=.315;$r.x=.46;var zm=Or;var pe={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:T5,texts:MR,bounds:se,refblocks:km,circles:E5}=pe,ye=e({primitives:[...Object.values(T5),...Object.values(E5),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...km.left1,labels:["1"]},{...km.right1,labels:["2"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Mr=L(ye),Cr=Mr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wr=Mr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Cr.anchor="middle_left";Wr.anchor="middle_left";Cr.y+=.4;Cr.x=.32;Wr.y-=.45;Wr.x=.32;var jm=Mr;var me=e(pe).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Om=Y(me);var $={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:L5,texts:eF,bounds:ne,refblocks:Jm,circles:Y5}=$,$m=e({primitives:[...Object.values(L5),...Object.values(Y5),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Jm.left1,labels:["1"]},{...Jm.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{paths:X5,texts:lF,bounds:xe,refblocks:Mm,circles:z5}=$,Cm=e({primitives:[...Object.values(X5),...Object.values(z5),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Mm.left1,labels:["1"]},{...Mm.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:k5,texts:yF,bounds:fe,refblocks:Wm,circles:j5}=$,Nm=e({primitives:[...Object.values(k5),...Object.values(j5),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Wm.left1,labels:["1"]},{...Wm.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{paths:O5,texts:fF,bounds:ce,refblocks:Bm,circles:J5}=$,Im=e({primitives:[...Object.values(O5),...Object.values(J5),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Bm.left1,labels:["1"]},{...Bm.right1,labels:["2"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:$5,texts:_F,bounds:he,refblocks:Dm,circles:M5}=$,qm=e({primitives:[...Object.values($5),...Object.values(M5),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Dm.left1,labels:["1"]},{...Dm.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{paths:C5,texts:vF,bounds:de,refblocks:Hm,circles:W5}=$,Gm=e({primitives:[...Object.values(C5),...Object.values(W5),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Hm.left1,labels:["1"]},{...Hm.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Um={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:B5,texts:I5,bounds:_e,refblocks:Zm,circles:D5}=Um,y0=n({primitives:[...Object.values(B5),...Object.values(D5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...I5.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Zm.left1,labels:["1"]},{...Zm.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}});var{5:q5,...H5}=y0.primitives;function G5(t){return typeof t=="object"}var Km=o({...y0,primitives:Object.values(H5).filter(G5)}),Qm={...Km,primitives:[...Km.primitives,q5]};var tn={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:Z5,texts:K5,bounds:be,refblocks:en}=tn,ge=n({primitives:[...Object.values(Z5),{...K5.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...en.left1,labels:["1"]},{...en.right1,labels:["2"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}});var on=o(ge);var M={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 rn=e(M).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var ln=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var an=e(M).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var pn=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var sn=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var yn=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var m0={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:lT,texts:aT,bounds:pT,refblocks:sT,circles:yT}=m0,mn=e(m0).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var nn=e(m0).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var xn={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 _t=e(xn).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 fn=o(_t,"down");var cn=Y(_t);var Nr=o(_t,"up"),Br=Nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ir=Nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Br.anchor="middle_left";Ir.anchor="middle_left";Br.y+=.21;Br.x=.44;Ir.y-=.21;Ir.x=.44;var hn=Nr;var dn={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 ue=e(dn).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Dr=o(ue),qr=Dr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_n=Dr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qr.anchor="middle_left";_n.anchor="middle_right";qr.x=.45;qr.y+=.065;_n.y+=.065;var bn=Dr;var gn={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 ve=e(gn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var un=o(ve),vn=un.primitives.filter(t=>t.type==="text"),Hr=vn.find(t=>t.text==="{VAL}");Hr.x=-.35;Hr.y=0;Hr.anchor="middle_right";var Gr=vn.find(t=>t.text==="{REF}");Gr.y=0;Gr.x=.35;Gr.anchor="middle_left";var wn=un;var bt={paths:{path8698:{type:"path",points:[{x:-.19796749999999919,y:-.023826854587889912},{x:-.2004570399999992,y:-.018993393814014044},{x:-.2029465799999992,y:-.014174384106555204},{x:-.20543611999999922,y:-.009384187436300498},{x:-.20792565999999923,y:-.004636988132081332},{x:-.21041519999999925,y:5329457033053167e-20},{x:-.21290473999999926,y:.004673092344940184},{x:-.21539427999999927,y:.009209271428771242},{x:-.21788381999999928,y:.013649213595881985},{x:-.2203733599999993,y:.01798089395292432},{x:-.2228628999999993,y:.022192955076609913},{x:-.22535243999999932,y:.02627477703600152},{x:-.22784197999999933,y:.030216542867918667},{x:-.23033151999999935,y:.03400929910178016},{x:-.23282105999999936,y:.03764501096072756},{x:-.23531059999999937,y:.04111661189869628},{x:-.23780013999999938,y:.04441804716802203},{x:-.2402896799999994,y:.04754431114897349},{x:-.2427792199999994,y:.05049147821106258},{x:-.24526875999999942,y:.053256726915861724},{x:-.24775829999999943,y:.05583835741211009},{x:-.25024783999999944,y:.05823580191586174},{x:-.25273737999999946,y:.060449628211062575},{x:-.25522691999999947,y:.0624815361489735},{x:-.2577164599999995,y:.06433434716802203},{x:-.2602059999999995,y:.06601198689869628},{x:-.2626955399999995,y:.06751946096072757},{x:-.2651850799999995,y:.06886282410178016},{x:-.26767461999999953,y:.07004914286791866},{x:-.27016415999999954,y:.0710864520360015},{x:-.27265369999999955,y:.07198370507660991},{x:-.27514323999999957,y:.07275071895292433},{x:-.2776327799999996,y:.07339811359588198},{x:-.2801223199999996,y:.07393724642877124},{x:-.2826118599999996,y:.07438014234494018},{x:-.2851013999999996,y:.07473941957033053},{x:-.28759093999999963,y:.07502821186791866},{x:-.29008047999999964,y:.07526008756369952},{x:-.29257001999999965,y:.07544896589344477},{x:-.29505955999999967,y:.07560903118598594},{x:-.2975490999999997,y:.07575464541211008},{x:-.30003863749999965,y:.07560903118598594},{x:-.3025281749999997,y:.07544896589344477},{x:-.30501771249999965,y:.07526008756369951},{x:-.3075072499999996,y:.07502821186791866},{x:-.30999678749999965,y:.07473941957033052},{x:-.3124863249999996,y:.07438014234494018},{x:-.3149758624999996,y:.07393724642877124},{x:-.31746539999999956,y:.07339811359588198},{x:-.3199549374999996,y:.07275071895292431},{x:-.32244447499999956,y:.07198370507660991},{x:-.32493401249999954,y:.0710864520360015},{x:-.32742354999999956,y:.07004914286791866},{x:-.32991308749999954,y:.06886282410178016},{x:-.3324026249999995,y:.06751946096072756},{x:-.33489216249999954,y:.06601198689869628},{x:-.3373816999999995,y:.06433434716802203},{x:-.3398712374999995,y:.06248153614897349},{x:-.3423607749999995,y:.06044962821106258},{x:-.3448503124999994,y:.05823580191586174},{x:-.34733984999999945,y:.05583835741211009},{x:-.3498293874999995,y:.053256726915861724},{x:-.35231892499999945,y:.050491478211062576},{x:-.3548084624999994,y:.0475443111489735},{x:-.3572979999999994,y:.04441804716802203},{x:-.35978753749999937,y:.04111661189869628},{x:-.3622770749999994,y:.03764501096072756},{x:-.36476661249999937,y:.03400929910178016},{x:-.36725614999999934,y:.030216542867918673},{x:-.36974568749999936,y:.02627477703600152},{x:-.37223522499999934,y:.022192955076609917},{x:-.3747247624999993,y:.017980893952924324},{x:-.37721429999999934,y:.013649213595881985},{x:-.3797038374999993,y:.00920927142877125},{x:-.3821933749999993,y:.004673092344940191},{x:-.3846829124999993,y:5329457033053514e-20},{x:-.3871724499999993,y:-.004636988132081328},{x:-.38966198749999925,y:-.009384187436300498},{x:-.3921515249999992,y:-.014174384106555197},{x:-.39464106249999925,y:-.01899339381401404},{x:-.3971305999999992,y:-.023826854587889912}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:.0011955000000007932,y:-.02382615458789039},{x:-.00129403749999919,y:-.01899269131401453},{x:-.0037835749999991734,y:-.014173679106555696},{x:-.006273112499999156,y:-.009383479936300985},{x:-.00876264999999914,y:-.004636278132081827},{x:-.011252187499999122,y:5400707033003174e-20},{x:-.013741724999999105,y:.004673807344939681},{x:-.016231262499999087,y:.009209988928770731},{x:-.018720799999999073,y:.013649933595881476},{x:-.021210337499999055,y:.017981616452923805},{x:-.023699874999999038,y:.022193680076609393},{x:-.026189412499999024,y:.026275504536001},{x:-.028678949999999002,y:.030217272867918137},{x:-.03116848749999899,y:.034010031601779636},{x:-.03365802499999897,y:.03764574596072702},{x:-.03614756249999895,y:.04111734939869574},{x:-.03863709999999894,y:.04441878716802149},{x:-.04112663749999892,y:.04754505364897295},{x:-.043616174999998904,y:.05049222321106203},{x:-.04610571249999888,y:.05325747441586117},{x:-.04859524999999887,y:.055839107412109526},{x:-.051084787499998854,y:.05823655441586117},{x:-.05357432499999884,y:.06045038321106201},{x:-.05606386249999881,y:.06248229364897292},{x:-.0585533999999988,y:.06433510716802145},{x:-.061042937499998784,y:.0660127493986957},{x:-.06353247499999877,y:.06752022596072697},{x:-.06602201249999876,y:.06886359160177957},{x:-.06851154999999873,y:.07004991286791806},{x:-.07100108749999871,y:.07108722453600091},{x:-.0734906249999987,y:.0719844800766093},{x:-.07598016249999869,y:.07275149645292371},{x:-.07846969999999867,y:.07339889359588138},{x:-.08095923749999864,y:.07393802892877062},{x:-.08344877499999863,y:.07438092734493956},{x:-.08593831249999861,y:.07474020707032991},{x:-.0884278499999986,y:.07502900186791804},{x:-.09091738749999859,y:.07526088006369888},{x:-.09340692499999856,y:.07544976089344414},{x:-.09589646249999854,y:.0756098286859853},{x:-.09838599999999853,y:.07575544541210943},{x:-.10087553999999854,y:.0756098286859853},{x:-.10336507999999855,y:.07544976089344414},{x:-.10585461999999857,y:.07526088006369887},{x:-.10834415999999858,y:.07502900186791804},{x:-.11083369999999859,y:.0747402070703299},{x:-.1133232399999986,y:.07438092734493956},{x:-.11581277999999862,y:.07393802892877062},{x:-.11830231999999863,y:.07339889359588138},{x:-.12079185999999864,y:.07275149645292371},{x:-.12328139999999865,y:.0719844800766093},{x:-.12577093999999867,y:.07108722453600091},{x:-.12826047999999868,y:.07004991286791806},{x:-.1307500199999987,y:.06886359160177957},{x:-.1332395599999987,y:.06752022596072697},{x:-.13572909999999871,y:.0660127493986957},{x:-.13821863999999873,y:.06433510716802145},{x:-.14070817999999874,y:.06248229364897291},{x:-.14319771999999875,y:.06045038321106202},{x:-.14568725999999876,y:.05823655441586117},{x:-.14817679999999878,y:.055839107412109526},{x:-.1506663399999988,y:.05325747441586117},{x:-.1531558799999988,y:.05049222321106202},{x:-.1556454199999988,y:.047545053648972956},{x:-.15813495999999883,y:.04441878716802149},{x:-.16062449999999884,y:.04111734939869574},{x:-.16311403999999885,y:.03764574596072702},{x:-.16560357999999886,y:.034010031601779636},{x:-.16809311999999887,y:.03021727286791814},{x:-.1705826599999989,y:.026275504536001},{x:-.1730721999999989,y:.022193680076609396},{x:-.1755617399999989,y:.017981616452923805},{x:-.17805127999999892,y:.013649933595881474},{x:-.18054081999999894,y:.00920998892877074},{x:-.18303035999999895,y:.0046738073449396865},{x:-.18551989999999896,y:5400707033003521e-20},{x:-.18800943999999897,y:-.004636278132081827},{x:-.19049897999999899,y:-.009383479936300985},{x:-.192988519999999,y:-.01417367910655569},{x:-.19547805999999898,y:-.018992691314014522},{x:-.19796759999999902,y:-.02382615458789039}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2003586000000006,y:-.02382615458789039},{x:.19786906000000057,y:-.01899269131401453},{x:.19537952000000058,y:-.014173679106555696},{x:.19288998000000057,y:-.009383479936300985},{x:.1904004400000006,y:-.004636278132081827},{x:.18791090000000055,y:5400707033003174e-20},{x:.1854213600000005,y:.004673807344939681},{x:.18293182000000052,y:.009209988928770731},{x:.1804422800000005,y:.013649933595881476},{x:.17795274000000053,y:.017981616452923805},{x:.17546320000000049,y:.022193680076609393},{x:.17297366000000047,y:.026275504536001},{x:.17048412000000046,y:.030217272867918137},{x:.16799458000000045,y:.034010031601779636},{x:.16550504000000044,y:.03764574596072702},{x:.16301550000000042,y:.04111734939869574},{x:.1605259600000004,y:.04441878716802149},{x:.1580364200000004,y:.04754505364897295},{x:.1555468800000004,y:.05049222321106203},{x:.15305734000000037,y:.05325747441586117},{x:.15056780000000036,y:.055839107412109526},{x:.14807826000000035,y:.05823655441586117},{x:.14558872000000034,y:.06045038321106201},{x:.14309918000000033,y:.06248229364897292},{x:.1406096400000003,y:.06433510716802145},{x:.1381201000000003,y:.0660127493986957},{x:.1356305600000003,y:.06752022596072697},{x:.13314102000000028,y:.06886359160177957},{x:.13065148000000026,y:.07004991286791806},{x:.12816194000000025,y:.07108722453600091},{x:.12567240000000024,y:.0719844800766093},{x:.12318286000000023,y:.07275149645292371},{x:.12069332000000021,y:.07339889359588138},{x:.1182037800000002,y:.07393802892877062},{x:.11571424000000019,y:.07438092734493956},{x:.11322470000000018,y:.07474020707032991},{x:.11073516000000017,y:.07502900186791804},{x:.10824562000000015,y:.07526088006369888},{x:.10575608000000014,y:.07544976089344414},{x:.10326654000000013,y:.0756098286859853},{x:.10077700000000012,y:.07575544541210943},{x:.09828746250000013,y:.0756098286859853},{x:.09579792500000014,y:.07544976089344414},{x:.09330838750000017,y:.07526088006369887},{x:.09081885000000019,y:.07502900186791804},{x:.0883293125000002,y:.0747402070703299},{x:.08583977500000022,y:.07438092734493956},{x:.08335023750000023,y:.07393802892877062},{x:.08086070000000026,y:.07339889359588138},{x:.07837116250000027,y:.07275149645292371},{x:.07588162500000029,y:.0719844800766093},{x:.0733920875000003,y:.07108722453600091},{x:.07090255000000031,y:.07004991286791806},{x:.06841301250000034,y:.06886359160177957},{x:.06592347500000036,y:.06752022596072697},{x:.06343393750000037,y:.0660127493986957},{x:.060944400000000384,y:.06433510716802145},{x:.0584548625000004,y:.06248229364897291},{x:.05596532500000043,y:.06045038321106202},{x:.05347578750000044,y:.05823655441586117},{x:.050986250000000455,y:.055839107412109526},{x:.04849671250000047,y:.05325747441586117},{x:.04600717500000048,y:.05049222321106202},{x:.04351763750000051,y:.047545053648972956},{x:.041028100000000525,y:.04441878716802149},{x:.03853856250000054,y:.04111734939869574},{x:.036049025000000554,y:.03764574596072702},{x:.03355948750000057,y:.034010031601779636},{x:.031069950000000596,y:.03021727286791814},{x:.02858041250000061,y:.026275504536001},{x:.026090875000000624,y:.022193680076609396},{x:.023601337500000638,y:.017981616452923805},{x:.021111800000000652,y:.013649933595881474},{x:.01862226250000068,y:.00920998892877074},{x:.016132725000000694,y:.0046738073449396865},{x:.013643187500000709,y:5400707033003521e-20},{x:.011153650000000723,y:-.004636278132081827},{x:.008664112500000737,y:-.009383479936300985},{x:.006174575000000764,y:-.01417367910655569},{x:.0036850375000007786,y:-.018992691314014522},{x:.0011955000000007932,y:-.02382615458789039}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.3995216000000006,y:-.02382615458789039},{x:.39703206250000056,y:-.01899269131401453},{x:.3945425250000006,y:-.014173679106555696},{x:.3920529875000006,y:-.009383479936300985},{x:.38956345000000064,y:-.004636278132081827},{x:.38707391250000067,y:5400707033003174e-20},{x:.3845843750000007,y:.004673807344939681},{x:.38209483750000073,y:.009209988928770731},{x:.37960530000000076,y:.013649933595881476},{x:.3771157625000008,y:.017981616452923805},{x:.37462622500000076,y:.022193680076609393},{x:.37213668750000073,y:.026275504536001},{x:.36964715000000076,y:.030217272867918137},{x:.3671576125000008,y:.034010031601779636},{x:.3646680750000008,y:.03764574596072702},{x:.36217853750000084,y:.04111734939869574},{x:.3596890000000008,y:.04441878716802149},{x:.3571994625000009,y:.04754505364897295},{x:.35470992500000087,y:.05049222321106203},{x:.35222038750000095,y:.05325747441586117},{x:.3497308500000009,y:.055839107412109526},{x:.3472413125000009,y:.05823655441586117},{x:.344751775000001,y:.06045038321106201},{x:.34226223750000095,y:.06248229364897292},{x:.33977270000000104,y:.06433510716802145},{x:.337283162500001,y:.0660127493986957},{x:.334793625000001,y:.06752022596072697},{x:.33230408750000107,y:.06886359160177957},{x:.3298145500000011,y:.07004991286791806},{x:.32732501250000107,y:.07108722453600091},{x:.3248354750000011,y:.0719844800766093},{x:.3223459375000011,y:.07275149645292371},{x:.3198564000000011,y:.07339889359588138},{x:.3173668625000012,y:.07393802892877062},{x:.31487732500000115,y:.07438092734493956},{x:.3123877875000012,y:.07474020707032991},{x:.3098982500000012,y:.07502900186791804},{x:.30740871250000124,y:.07526088006369888},{x:.30491917500000126,y:.07544976089344414},{x:.30242963750000124,y:.0756098286859853},{x:.29994010000000126,y:.07575544541210943},{x:.29745056000000125,y:.0756098286859853},{x:.29496102000000124,y:.07544976089344414},{x:.2924714800000012,y:.07526088006369887},{x:.2899819400000012,y:.07502900186791804},{x:.2874924000000012,y:.0747402070703299},{x:.2850028600000012,y:.07438092734493956},{x:.2825133200000012,y:.07393802892877062},{x:.28002378000000117,y:.07339889359588138},{x:.27753424000000115,y:.07275149645292371},{x:.27504470000000114,y:.0719844800766093},{x:.27255516000000113,y:.07108722453600091},{x:.2700656200000011,y:.07004991286791806},{x:.2675760800000011,y:.06886359160177957},{x:.2650865400000011,y:.06752022596072697},{x:.2625970000000011,y:.0660127493986957},{x:.26010746000000107,y:.06433510716802145},{x:.25761792000000105,y:.06248229364897291},{x:.25512838000000104,y:.06045038321106202},{x:.25263884000000103,y:.05823655441586117},{x:.250149300000001,y:.055839107412109526},{x:.247659760000001,y:.05325747441586117},{x:.245170220000001,y:.05049222321106202},{x:.24268068000000098,y:.047545053648972956},{x:.24019114000000097,y:.04441878716802149},{x:.23770160000000096,y:.04111734939869574},{x:.23521206000000094,y:.03764574596072702},{x:.23272252000000093,y:.034010031601779636},{x:.23023298000000092,y:.03021727286791814},{x:.2277434400000009,y:.026275504536001},{x:.2252539000000009,y:.022193680076609396},{x:.22276436000000088,y:.017981616452923805},{x:.22027482000000087,y:.013649933595881474},{x:.21778528000000086,y:.00920998892877074},{x:.21529574000000085,y:.0046738073449396865},{x:.21280620000000083,y:5400707033003521e-20},{x:.21031666000000082,y:-.004636278132081827},{x:.2078271200000008,y:-.009383479936300985},{x:.2053375800000008,y:-.01417367910655569},{x:.20284804000000078,y:-.018992691314014522},{x:.20035850000000077,y:-.02382615458789039}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.40026109999999937,y:-.022544054587890106},{x:-.5272914999999991,y:-.022544054587890106}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.5282280000000006,y:-.027111054587890093},{x:.4011975999999997,y:-.027111054587890093}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.0020145999999989783,y:.22997364541210996},bottom1:{type:"text",text:"{VAL}",x:-.002185205294839676,y:-.22997364541210996}},refblocks:{left1:{x:-.5279125,y:-.021272154587890446},right1:{x:.5279125,y:-.026521254587889898}},bounds:{minX:-.556070941,maxX:.556070941,minY:-.22997364541210996,maxY:.22997364541210996,width:1.112141882,height:.4599472908242199,centerX:0,centerY:0},circles:{}};var Sn=e(bt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right",{x:-.5,y:0}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:0}).build();var An=e(bt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.5}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.5}).build();var Pn=e(bt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Rn=e(bt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_left").build();var Ur={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}}};Ur.bounds.width+=.2;var gt=e(Ur).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","anode","pos"]).labelPort("right1",["2","cathode","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var Zr=o(gt,"down"),Kr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Kr.anchor="middle_left";Qr.anchor="middle_left";Kr.y+=.9;Kr.x=.3;Qr.y-=.1;Qr.x=.3;var Fn=Zr;var ti=o(gt,"left"),ei=ti.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),oi=ti.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ei.anchor="middle_left";oi.anchor="middle_left";ei.y+=.71;ei.x=.44;oi.y-=.71;oi.x=.44;var Tn=ti;var ri=o(gt,"up"),ii=ri.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),li=ri.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ii.anchor="middle_left";li.anchor="middle_left";ii.y+=.1;ii.x=.3;li.y-=.71;li.x=.3;var En=ri;var Vn={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:p4,texts:Ln,bounds:we,refblocks:Yn,circles:s4}=Vn,Dt=n({primitives:[...Object.values(p4),...Object.values(s4),{...Ln.bottom1,anchor:"middle_top"},{...Ln.right1,anchor:"middle_bottom"}],ports:[{...Yn.left1,labels:["1","anode","pos"]},{...Yn.right1,labels:["2","cathode","neg"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}});var ai=o(Dt,"up"),pi=ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),si=ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pi.anchor="middle_left";si.anchor="middle_left";pi.y+=.21;pi.x=.21;si.y-=.21;si.x=.21;var Se=ai;var yi=L(Se),mi=yi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ni=yi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mi.anchor="middle_left";ni.anchor="middle_left";mi.y+=.4;mi.x=.2;ni.y-=.41;ni.x=.2;var Xn=yi;var zn=Y(Dt);var ut={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,y:0}],color:"primary",fill:!1},"emission-0-shaft":{type:"path",points:[{x:-.11999999999999988,y:.15999999999999992},{x:-.030000000000000027,y:.29000000000000004}],color:"primary",fill:!1},"emission-0-head":{type:"path",points:[{x:-.08499999999999996,y:.2699999999999998},{x:-.030000000000000027,y:.29000000000000004},{x:-.030000000000000027,y:.22999999999999998}],color:"primary",fill:!1},"emission-1-shaft":{type:"path",points:[{x:0,y:.15999999999999992},{x:.09000000000000008,y:.29000000000000004}],color:"primary",fill:!1},"emission-1-head":{type:"path",points:[{x:.03500000000000014,y:.2699999999999998},{x:.09000000000000008,y:.29000000000000004},{x:.09000000000000008,y:.22999999999999998}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3999999999999999},bottom1:{type:"text",text:"{VAL}",x:0,y:-.40000000000000013}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.40000000000000013,maxY:.3999999999999999,width:.5,height:.8,centerX:0,centerY:-11102230246251565e-32},circles:{}};var kn=r(ut,{kind:"led",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var jn=r(ut,{kind:"led",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var On=r(ut,{kind:"led",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Jn=r(ut,{kind:"led",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var vt={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,y:0}],color:"primary",fill:!1},"emission-0-shaft":{type:"path",points:[{x:-.11999999999999988,y:.15999999999999992},{x:-.030000000000000027,y:.29000000000000004}],color:"primary",fill:!1},"emission-0-head":{type:"path",points:[{x:-.08499999999999996,y:.2699999999999998},{x:-.030000000000000027,y:.29000000000000004},{x:-.030000000000000027,y:.22999999999999998}],color:"primary",fill:!1},"emission-1-shaft":{type:"path",points:[{x:0,y:.15999999999999992},{x:.09000000000000008,y:.29000000000000004}],color:"primary",fill:!1},"emission-1-head":{type:"path",points:[{x:.03500000000000014,y:.2699999999999998},{x:.09000000000000008,y:.29000000000000004},{x:.09000000000000008,y:.22999999999999998}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3999999999999999},bottom1:{type:"text",text:"{VAL}",x:0,y:-.40000000000000013}},refblocks:{left1:{x:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.40000000000000013,maxY:.3999999999999999,width:.34999999999999987,height:.8,centerX:11102230246251565e-32,centerY:-11102230246251565e-32},circles:{}};var $n=r(vt,{kind:"led",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Mn=r(vt,{kind:"led",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Cn=r(vt,{kind:"led",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Wn=r(vt,{kind:"led",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Nn={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:x4,texts:Bn,bounds:Ae,refblocks:In,circles:f4}=Nn,Pe=n({primitives:[...Object.values(x4),...Object.values(f4),{...Bn.top1,anchor:"middle_left",x:0},{...Bn.bottom1,anchor:"middle_left",x:0}],ports:[{...In.left1,labels:["1"]},{...In.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}});var Dn=o(Pe),qn=Dn.primitives.filter(t=>t.type==="text"),xi=qn.find(t=>t.text==="{VAL}");xi.x=-.35;xi.y=0;xi.anchor="middle_right";var fi=qn.find(t=>t.text==="{REF}");fi.y=0;fi.x=.35;fi.anchor="middle_left";var Hn=Dn;var Gn={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:{}};function I(t,l){return{width:Math.max(...l.map(i=>Math.abs(i.x-t.x)))*2,height:Math.max(...l.map(i=>Math.abs(i.y-t.y)))*2}}var{paths:h4,texts:Un,bounds:Zn,refblocks:qt}=Gn,Kn={x:Zn.centerX+.2,y:Zn.centerY},Re=n({primitives:[...Object.values(h4),{...Un.right1,anchor:"middle_left"},{...Un.right2,anchor:"middle_left"}],ports:[{...qt.top1,labels:["1"]},{...qt.bottom1,labels:["2"]},{...qt.left1,labels:["3"]}],size:I(Kn,[qt.top1,qt.bottom1,qt.left1]),center:Kn});var ci=o(Re),Qn=ci.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hi=ci.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qn.anchor="middle_top";hi.anchor="middle_top";Qn.x=hi.x;hi.y+=.15;var t9=ci;var e9={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:_4,texts:o9,bounds:Fe,refblocks:r9,circles:b4}=e9,Te=n({primitives:[...Object.values(_4),...Object.values(b4),{...o9.top1,anchor:"middle_bottom",x:0},{...o9.bottom1,anchor:"middle_top",x:0}],ports:[{...r9.left1,labels:["1"]},{...r9.right1,labels:["2"]}],size:{width:Fe.width,height:Fe.height},center:{x:Fe.centerX+.006,y:Fe.centerY+.06}});var di=o(Te),n0=di.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ee=di.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");n0.anchor="middle_left";Ee.anchor="middle_right";n0.x=n0.x-.03;n0.y=n0.y;Ee.x=Ee.x;Ee.y=0;var i9=di;var x=({horizontalSymbol:t,verticalSymbol:l,gateSide:i,drainSide:s})=>{let y=i==="left"||i==="right",p=s==="left"||s==="right";if(y===p)throw new Error(`Invalid MOSFET orientation: gate ${i}, drain ${s}. Gate and drain must be perpendicular.`);let c=y?t:l;return(i==="right"||p&&s==="left")&&(c=Y(c)),(i==="bottom"||!p&&s==="bottom")&&(c=L(c)),c};var l9={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:u4,texts:a9,bounds:p9,refblocks:Wt,circles:v4}=l9,s9={x:p9.centerX,y:p9.centerY},w4={x:s9.x,y:Wt.left1.y},g=n({primitives:[...Object.values(u4),...Object.values(v4),{...a9.top1,anchor:"middle_right",x:0},{...a9.bottom1,anchor:"middle_right",x:0}],ports:[{...Wt.top1,labels:["1","drain"]},{...Wt.bottom1,labels:["2","source"]},{...Wt.left1,labels:["3","gate"]}],size:I(s9,[Wt.top1,Wt.bottom1,Wt.left1]),center:w4});var y9=o(g),m9=y9.primitives.filter(t=>t.type==="text"),_i=m9.find(t=>t.text==="{VAL}");_i.x=-.35;_i.y=0;_i.anchor="middle_right";var bi=m9.find(t=>t.text==="{REF}");bi.y=0;bi.x=.35;bi.anchor="middle_left";var A=y9;var n9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"bottom",drainSide:"left"});var x9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"bottom",drainSide:"right"});var f9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"left",drainSide:"bottom"});var c9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"left",drainSide:"top"});var h9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"right",drainSide:"bottom"});var d9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"right",drainSide:"top"});var _9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"top",drainSide:"left"});var b9=x({horizontalSymbol:g,verticalSymbol:A,gateSide:"top",drainSide:"right"});var g9={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:A4,texts:u9,bounds:v9,refblocks:Ht,circles:P4}=g9,w9={x:v9.centerX,y:v9.centerY},u=n({primitives:[...Object.values(A4),...Object.values(P4),{...u9.top1,anchor:"middle_right",x:0},{...u9.bottom1,anchor:"middle_right",x:0}],ports:[{...Ht.top1,labels:["1","drain"]},{...Ht.bottom1,labels:["2","source"]},{...Ht.left1,labels:["3","gate"]}],size:I(w9,[Ht.top1,Ht.bottom1,Ht.left1]),center:w9});var S9=o(u),A9=S9.primitives.filter(t=>t.type==="text"),gi=A9.find(t=>t.text==="{VAL}");gi.x=-.35;gi.y=0;gi.anchor="middle_right";var ui=A9.find(t=>t.text==="{REF}");ui.y=0;ui.x=.35;ui.anchor="middle_left";var P=S9;var P9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"left"});var R9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"right"});var F9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"bottom"});var T9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"top"});var E9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"bottom"});var V9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"top"});var L9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"left"});var Y9=x({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"right"});var X9={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:F4,texts:z9,bounds:Ve,refblocks:vi,circles:T4}=X9,Le=n({primitives:[...Object.values(F4),...Object.values(T4),{...z9.top1,anchor:"middle_right",x:0},{...z9.bottom1,anchor:"middle_right",x:0}],ports:[{...vi.top1,labels:["1","drain"]},{...vi.bottom1,labels:["2","source"]},{...vi.left1,labels:["3","gate"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}});var k9=o(Le),j9=k9.primitives.filter(t=>t.type==="text"),wi=j9.find(t=>t.text==="{VAL}");wi.x=-.35;wi.y=0;wi.anchor="middle_right";var Si=j9.find(t=>t.text==="{REF}");Si.y=0;Si.x=.35;Si.anchor="middle_left";var O9=k9;var J9={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:V4,bounds:$9,refblocks:L4}=J9,wt=e({primitives:[...Object.values(V4)],ports:[{...L4.left1,labels:["1"]}],center:{x:$9.centerX,y:$9.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var M9=o(wt,"down");var C9=o(wt,"left");var W9=o(wt,"up");var C={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:X4,texts:uY,bounds:Ye,refblocks:Ai,circles:z4}=C,N9=e({primitives:[...Object.values(X4),...Object.values(z4),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...Ai.top1,labels:["1","collector"]},{...Ai.bottom1,labels:["3","emitter"]},{...Ai.left1,labels:["2","base"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:k4,texts:AY,bounds:Xe,refblocks:Pi,circles:j4}=C,B9=e({primitives:[...Object.values(k4),...Object.values(j4),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Pi.top1,labels:["1","collector"]},{...Pi.bottom1,labels:["3","emitter"]},{...Pi.left1,labels:["2","base"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:O4,texts:TY,bounds:ze,refblocks:Ri,circles:J4}=C,I9=e({primitives:[...Object.values(O4),...Object.values(J4),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...Ri.top1,labels:["1","collector"]},{...Ri.bottom1,labels:["3","emitter"]},{...Ri.left1,labels:["2","base"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:$4,texts:YY,bounds:ke,refblocks:Fi,circles:M4}=C,D9=e({primitives:[...Object.values($4),...Object.values(M4),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Fi.top1,labels:["1","collector"]},{...Fi.bottom1,labels:["3","emitter"]},{...Fi.left1,labels:["2","base"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:C4,texts:jY,bounds:je,refblocks:Ti,circles:W4}=C,q9=e({primitives:[...Object.values(C4),...Object.values(W4),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...Ti.top1,labels:["1","collector"]},{...Ti.bottom1,labels:["3","emitter"]},{...Ti.left1,labels:["2","base"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:N4,texts:MY,bounds:Oe,refblocks:Ei,circles:B4}=C,H9=e({primitives:[...Object.values(N4),...Object.values(B4),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...Ei.top1,labels:["1","collector"]},{...Ei.bottom1,labels:["3","emitter"]},{...Ei.left1,labels:["2","base"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var G9={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var St=e(G9).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var U9=o(St,"down");var Z9=L(o(St,"left"));var K9=o(St,"up");var Q9={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var At=e(Q9).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 tx=o(At,"down");var ex=L(o(At,"left"));var ox=o(At,"up");var rx={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:H4,texts:ix,bounds:lx,refblocks:Gt,circles:G4}=rx,ax={x:lx.centerX,y:lx.centerY},v=n({primitives:[...Object.values(H4),...Object.values(G4),{...ix.top1,anchor:"middle_right",x:0},{...ix.bottom1,anchor:"middle_right",x:0}],ports:[{...Gt.top1,labels:["1","drain"]},{...Gt.bottom1,labels:["2","source"]},{...Gt.left1,labels:["3","gate"]}],size:I(ax,[Gt.top1,Gt.bottom1,Gt.left1]),center:ax});var px=o(v),sx=px.primitives.filter(t=>t.type==="text"),Vi=sx.find(t=>t.text==="{VAL}");Vi.x=-.35;Vi.y=0;Vi.anchor="middle_right";var Li=sx.find(t=>t.text==="{REF}");Li.y=0;Li.x=.35;Li.anchor="middle_left";var R=px;var yx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"bottom",drainSide:"left"});var mx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"bottom",drainSide:"right"});var nx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"left",drainSide:"bottom"});var xx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"left",drainSide:"top"});var fx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"right",drainSide:"bottom"});var cx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"right",drainSide:"top"});var hx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"top",drainSide:"left"});var dx=x({horizontalSymbol:v,verticalSymbol:R,gateSide:"top",drainSide:"right"});var _x={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:Z4,texts:bx,bounds:gx,refblocks:Ut,circles:K4}=_x,ux={x:gx.centerX,y:gx.centerY},w=n({primitives:[...Object.values(Z4),...Object.values(K4),{...bx.top1,anchor:"middle_right",x:0},{...bx.bottom1,anchor:"middle_right",x:0}],ports:[{...Ut.top1,labels:["1","drain"]},{...Ut.bottom1,labels:["2","source"]},{...Ut.left1,labels:["3","gate"]}],size:I(ux,[Ut.top1,Ut.bottom1,Ut.left1]),center:ux});var vx=o(w),wx=vx.primitives.filter(t=>t.type==="text"),Yi=wx.find(t=>t.text==="{VAL}");Yi.x=-.35;Yi.y=0;Yi.anchor="middle_right";var Xi=wx.find(t=>t.text==="{REF}");Xi.y=0;Xi.x=.35;Xi.anchor="middle_left";var F=vx;var Sx=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"bottom",drainSide:"left"});var Ax=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"bottom",drainSide:"right"});var Px=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"left",drainSide:"bottom"});var Rx=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"left",drainSide:"top"});var Fx=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"right",drainSide:"bottom"});var Tx=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"right",drainSide:"top"});var Ex=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"top",drainSide:"left"});var Vx=x({horizontalSymbol:w,verticalSymbol:F,gateSide:"top",drainSide:"right"});var Lx={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 Je=e(Lx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Yx=o(Je),t_=Yx.primitives.filter(t=>t.type==="text"),Xx=t_.find(t=>t.text==="{REF}");Xx.y=0;Xx.anchor="middle_left";var zx=Yx;var kx={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:o_,texts:jx,bounds:$e,refblocks:zi,circles:r_}=kx,Me=n({primitives:[...Object.values(o_),...Object.values(r_),{...jx.top1,anchor:"middle_right",x:0},{...jx.bottom1,anchor:"middle_right"}],ports:[{...zi.top1,labels:["1","drain"]},{...zi.bottom1,labels:["2","source"]},{...zi.left1,labels:["3","gate"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}});var Ox=o(Me),Jx=Ox.primitives.filter(t=>t.type==="text"),ki=Jx.find(t=>t.text==="{VAL}");ki.x=-.35;ki.y=0;ki.anchor="middle_right";var ji=Jx.find(t=>t.text==="{REF}");ji.y=0;ji.x=.35;ji.anchor="middle_left";var $x=Ox;var V={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:l_,texts:rk,bounds:Ce,refblocks:Oi,circles:a_}=V,Mx=e({primitives:[...Object.values(l_),...Object.values(a_),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Oi.top1,labels:["1","collector"]},{...Oi.bottom1,labels:["3","emitter"]},{...Oi.left1,labels:["2","base"]}],size:{width:Ce.width,height:Ce.height},center:{x:Ce.centerX,y:Ce.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:pk,texts:sk,bounds:yk,refblocks:mk,circles:nk}=V,Cx=e(V).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["2","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["3","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:p_,texts:hk,bounds:We,refblocks:Ji,circles:s_}=V,Wx=e({primitives:[...Object.values(p_),...Object.values(s_),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Ji.top1,labels:["1","collector"]},{...Ji.bottom1,labels:["3","emitter"]},{...Ji.left1,labels:["2","base"]}],size:{width:We.width,height:We.height},center:{x:We.centerX,y:We.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:y_,texts:gk,bounds:Ne,refblocks:$i,circles:m_}=V,Nx=e({primitives:[...Object.values(y_),...Object.values(m_),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...$i.top1,labels:["1","collector"]},{...$i.bottom1,labels:["3","emitter"]},{...$i.left1,labels:["2","base"]}],size:{width:Ne.width,height:Ne.height},center:{x:Ne.centerX,y:Ne.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:n_,texts:Sk,bounds:Be,refblocks:Mi,circles:x_}=V,Bx=e({primitives:[...Object.values(n_),...Object.values(x_),{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:["3","emitter"]},{...Mi.left1,labels:["2","base"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:f_,texts:Fk,bounds:Ie,refblocks:Ci,circles:c_}=V,Ix=e({primitives:[...Object.values(f_),...Object.values(c_),{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:["3","emitter"]},{...Ci.left1,labels:["2","base"]}],size:{width:Ie.width,height:Ie.height},center:{x:Ie.centerX,y:Ie.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Dx={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:d_,texts:qx,bounds:De,refblocks:Hx}=Dx,qe=n({primitives:[...Object.values(d_),{...qx.bottom1,y:.35,anchor:"middle_top"},{...qx.top1,anchor:"middle_left"}],ports:[{...Hx.left1,labels:["1"]},{...Hx.right1,labels:["2"]}],size:{width:De.width+.05,height:De.height},center:{x:De.centerX,y:De.centerY}});var __=o(qe),Gx=__;var Ux={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path24:{type:"path",points:[{x:.29,y:-.29},{x:.26,y:-.16},{x:.16,y:-.26},{x:.29,y:-.29}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.2,y:-.2}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:g_,texts:Zx,bounds:He,refblocks:Kx}=Ux,Pt=n({primitives:[...Object.values(g_),{...Zx.bottom1,x:0,y:-.35,anchor:"middle_top"},{...Zx.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...Kx.left1,labels:["1"]},{...Kx.right1,labels:["2"]}],size:{width:He.width+.05,height:He.height},center:{x:He.centerX,y:He.centerY}});var Wi=o(Pt,"down"),Ni=Wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bi=Wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ni.anchor="middle_left";Bi.anchor="middle_left";Ni.y+=.31;Ni.x=.34;Bi.y-=.31;Bi.x=.34;var Qx=Wi;var Ii=o(Pt,"left"),Di=Ii.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qi=Ii.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Di.anchor="middle_bottom";qi.anchor="middle_top";Di.y+=.73;Di.x=0;qi.y-=.7;qi.x=0;var t1=Ii;var Hi=o(Pt,"up"),Gi=Hi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ui=Hi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gi.anchor="middle_left";Ui.anchor="middle_left";Gi.y+=.21;Gi.x=.34;Ui.y-=.21;Ui.x=.34;var e1=Hi;var Rt={paths:{path1:{type:"path",points:[{x:-.42,y:0},{x:-.3,y:0}],color:"primary",fill:!1},"path1-2-1":{type:"path",points:[{x:-.3,y:0},{x:-.25,y:.1},{x:-.15,y:-.1},{x:-.05,y:.1},{x:.05,y:-.1},{x:.15,y:.1},{x:.25,y:-.1},{x:.3,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.3,y:0},{x:.42,y:0}],color:"primary",fill:!1},path3:{type:"path",points:[{x:0,y:-.17},{x:0,y:-.4}],color:"primary",fill:!1},path15:{type:"path",points:[{x:0,y:-.12},{x:.05,y:-.2},{x:-.05,y:-.2},{x:0,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.3,y:.25},bottom1:{type:"text",text:"{VAL}",x:.3,y:-.25}},refblocks:{left:{x:-.42,y:0},right:{x:.42,y:0},bottom:{x:0,y:-.4}},bounds:{minX:-.42,maxX:.42,minY:-.2,maxY:.2,width:.84,height:.4,centerX:0,centerY:0},circles:{}};var{paths:v_,texts:Kk,bounds:Ge,refblocks:Zi,circles:w_}=Rt,o1=e({primitives:[...Object.values(v_),...Object.values(w_),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Zi.left,labels:["1"]},{...Zi.right,labels:["3"]},{...Zi.bottom,labels:["2"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX,y:Ge.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:S_,texts:oj,bounds:Ue,refblocks:Ki,circles:A_}=Rt,r1=e({primitives:[...Object.values(S_),...Object.values(A_),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Ki.left,labels:["1"]},{...Ki.right,labels:["3"]},{...Ki.bottom,labels:["2"]}],size:{width:Ue.width,height:Ue.height},center:{x:Ue.centerX,y:Ue.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var i1=e(Rt).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:P_,texts:yj,bounds:Ze,refblocks:Qi,circles:R_}=Rt,l1=e({primitives:[...Object.values(P_),...Object.values(R_),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Qi.left,labels:["1"]},{...Qi.right,labels:["3"]},{...Qi.bottom,labels:["2"]}],size:{width:Ze.width,height:Ze.height},center:{x:Ze.centerX,y:Ze.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var a1={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:T_,texts:cj,bounds:Ke,refblocks:p1,circles:E_}=a1,Qe=n({primitives:[...Object.values(T_),...Object.values(E_),{type:"text",text:"{REF}",x:0,y:.43330070000000065,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.43330070000000065,anchor:"middle_top"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...p1.left1,labels:["1"]},{...p1.right1,labels:["2"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}});var s1=o(Qe),ol=s1.primitives.filter(t=>t.type==="text"),tl=ol.find(t=>t.text==="{REF}"),rl=ol.find(t=>t.text==="{VAL}"),el=ol.find(t=>t.text==="COS \u03C6");tl.x=.35;tl.y=.4279000000000375,tl.anchor="middle_left";rl.anchor="middle_left";rl.x=.35;rl.y=-.4279000000000375,el.x=0;el.y=.014279000000000375,el.anchor="center";var y1=s1;var m1={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:L_,texts:n1,bounds:x1,refblocks:f1,circles:Y_}=m1,to=n({primitives:[...Object.values(L_),...Object.values(Y_),{...n1.top1,anchor:"middle_left"},{...n1.bottom1,anchor:"middle_left"}],ports:[{...f1.left1,labels:["1"]},{...f1.right1,labels:["2"]}],center:{x:x1.centerX,y:x1.centerY}});var c1=o(to,"up");var eo={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:z_,texts:h1,bounds:k_,refblocks:il,circles:j_}=eo,D=n({primitives:[...Object.values(z_),...Object.values(j_),{...h1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...h1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...il.left1,labels:["1"]},{...il.right1,labels:["2"]}],center:{x:k_.centerX,y:il.left1.y}});var ll=o(D,"down"),al=ll.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pl=ll.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");al.anchor="middle_bottom";pl.anchor="middle_top";al.y=.4;al.x=.35;pl.y=-.4;pl.x=.35;var d1=ll;var{paths:O_,texts:_1,bounds:J_,refblocks:sl,circles:$_}=eo,b1=n({primitives:[...Object.values(O_),...Object.values($_),{..._1.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{..._1.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...sl.left1,labels:["1"]},{...sl.right1,labels:["2"]}],center:{x:J_.centerX,y:sl.left1.y}});var yl=o(D,"left"),ml=yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),nl=yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ml.anchor="middle_bottom";nl.anchor="middle_top";ml.y=.4;ml.x=0;nl.y=-.4;nl.x=0;var g1=yl;var xl=o(D,"up"),fl=xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cl=xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_left";cl.anchor="middle_left";fl.y+=.4;fl.x=.34;cl.y-=.41;cl.x=.34;var u1=xl;var hl=o(D,"up"),dl=hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_l=hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_left";_l.anchor="middle_left";dl.y+=.4;dl.x=.34;_l.y-=.41;_l.x=.34;var v1=hl;var Ft={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:C_,texts:Hj,bounds:w1,refblocks:W_,circles:N_}=Ft,S1=e({primitives:[...Object.values(C_),...Object.values(N_),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...W_.left1,labels:["1"]}],center:{x:w1.centerX,y:w1.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:B_,texts:Kj,bounds:A1,refblocks:I_,circles:D_}=Ft,P1=e({primitives:[...Object.values(B_),...Object.values(D_),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...I_.left1,labels:["1"]}],center:{x:A1.centerX,y:A1.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:q_,texts:oO,bounds:R1,refblocks:H_,circles:G_}=Ft,F1=e({primitives:[...Object.values(q_),...Object.values(G_),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...H_.left1,labels:["1"]}],center:{x:R1.centerX,y:R1.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:U_,texts:aO,bounds:T1,refblocks:Z_}=Ft,E1=e({primitives:[...Object.values(U_),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...Z_.left1,labels:["1"]}],center:{x:T1.centerX,y:T1.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var V1={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:Q_,texts:L1,bounds:oo,refblocks:ro,circles:t3}=V1,io=n({primitives:[...Object.values(Q_),...Object.values(t3),{...L1.top1,anchor:"middle_right"},{...L1.bottom1,anchor:"middle_right"}],ports:[{...ro.top1,labels:["1"]},{...ro.bottom1,labels:["2"]},{...ro.left1,labels:["3"]},{...ro.right1,labels:["4"]}],size:{width:oo.width,height:oo.height},center:{x:oo.centerX,y:oo.centerY}});var bl=o(io),e3=bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),o3=bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");e3.anchor="middle_left";o3.anchor="middle_right";var Y1=bl;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:i3,texts:bO,bounds:lo,refblocks:X1,circles:l3}=Tt,z1=e({primitives:[...Object.values(i3),...Object.values(l3),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...X1.left1,labels:["1"]},{...X1.right1,labels:["2"]}],size:{width:lo.width,height:lo.height},center:{x:lo.centerX,y:lo.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:a3,texts:wO,bounds:ao,refblocks:k1,circles:p3}=Tt,j1=e({primitives:[...Object.values(a3),...Object.values(p3),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...k1.left1,labels:["1"]},{...k1.right1,labels:["2"]}],size:{width:ao.width,height:ao.height},center:{x:ao.centerX,y:ao.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:s3,texts:RO,bounds:po,refblocks:O1,circles:y3}=Tt,J1=e({primitives:[...Object.values(s3),...Object.values(y3),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...O1.left1,labels:["1"]},{...O1.right1,labels:["2"]}],size:{width:po.width,height:po.height},center:{x:po.centerX,y:po.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Et={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.16,y:0},{x:-.12,y:.095},{x:-.07,y:-.095},{x:-.02,y:.095},{x:.02,y:-.095},{x:.07,y:.095},{x:.12,y:-.095},{x:.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.16,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var $1=r(Et,{kind:"resistor",orientation:"down"});var M1=r(Et,{kind:"resistor",orientation:"left"});var C1=r(Et,{kind:"resistor",orientation:"right"});var W1=r(Et,{kind:"resistor",orientation:"up"});var{paths:n3,texts:NO,bounds:so,refblocks:N1,circles:x3}=Tt,B1=e({primitives:[...Object.values(n3),...Object.values(x3),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...N1.left1,labels:["1"]},{...N1.right1,labels:["2"]}],size:{width:so.width,height:so.height},center:{x:so.centerX,y:so.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Vt={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.115,y:0},{x:-.07,y:.095},{x:-.025,y:-.095},{x:.025,y:.095},{x:.07,y:-.095},{x:.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.115,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var I1=r(Vt,{kind:"resistor",orientation:"down"});var D1=r(Vt,{kind:"resistor",orientation:"left"});var q1=r(Vt,{kind:"resistor",orientation:"right"});var H1=r(Vt,{kind:"resistor",orientation:"up"});var yo={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:h3,texts:G1,bounds:mo,refblocks:gl,circles:d3}=yo,Lt=n({primitives:[...Object.values(h3),...Object.values(d3),{...G1.top1,anchor:"middle_bottom"},{...G1.bottom1,anchor:"middle_top"}],ports:[{...gl.left1,labels:["1"]},{...gl.right1,labels:["2"]},{...gl.right2,labels:["3"]}],size:{width:mo.width,height:mo.height},center:{x:mo.centerX,y:mo.centerY}});var ul=o(Lt,"down"),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.y+=.3;vl.x+=.101;wl.y-=.49999;wl.x+=1.19999;var U1=ul;var{paths:_3,texts:fJ,bounds:no,refblocks:Sl,circles:b3}=yo,xo=n({primitives:[...Object.values(_3),...Object.values(b3),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Sl.left1,labels:["1"]},{...Sl.right1,labels:["2"]},{...Sl.right2,labels:["3"]}],size:{width:no.width,height:no.height},center:{x:no.centerX,y:no.centerY}});var Al=o(Lt,"left"),Pl=Al.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Al.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pl.anchor="middle_bottom";Rl.anchor="middle_top";Pl.y+=.99;Pl.x-=0;Rl.y-=1.10999;Rl.x=0;var Z1=Al;var Fl=o(Lt,"up"),Tl=Fl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),El=Fl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tl.anchor="middle_bottom";El.anchor="middle_top";Tl.y+=.499;Tl.x=.62;El.y-=.29999;El.x+=.1;var K1=Fl;var Q1=o(xo);var tf={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 Yt=e(tf).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var Vl=o(Yt,"down"),Ll=Vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ll.anchor="middle_left";Yl.anchor="middle_left";Ll.y+=.3;Ll.x=.3;Yl.y-=.3;Yl.x=.3;var ef=Vl;var Xl=o(Yt,"left"),zl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zl.anchor="middle_bottom";kl.anchor="middle_top";zl.y+=.5;zl.x=0;kl.y-=.55;kl.x=0;var of=Xl;var jl=o(Yt,"up"),Ol=jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_left";Jl.anchor="middle_left";Ol.y+=.3;Ol.x=.3;Jl.y-=.3;Jl.x=.3;var rf=jl;var $l={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:MJ,texts:CJ,bounds:WJ,refblocks:NJ,circles:BJ}=$l,fo=e($l).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var lf=o(fo),v3=lf.primitives.filter(t=>t.type==="text"),af=v3.find(t=>t.text==="{REF}");af.y=0;af.anchor="middle_left";var pf=lf;var co={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.025},{x:-.07,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.4458008,y:-.025023700000000426},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var sf=e(co).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Zt=e(co).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yf=o(Zt,"left"),Ml=yf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ml.anchor="middle_bottom";Ml.y+=.4;Ml.x=0;var mf=yf;var nf=o(Zt,"up"),Cl=nf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Cl.anchor="middle_left";Cl.y+=0;Cl.x=.2;var xf=nf;var ho={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.44,y:-.02},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var ff=e(ho).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Kt=e(ho).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var cf=o(Kt,"left"),Wl=cf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Wl.anchor="middle_bottom";Wl.y+=.4;Wl.x=0;var hf=cf;var df=o(Kt,"up"),Nl=df.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Nl.anchor="middle_left";Nl.y+=.05;Nl.x=.2;var _f=df;var _o={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var bf=e(_o).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Qt=e(_o).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var gf=o(Qt,"left"),Bl=gf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Bl.anchor="middle_left";Bl.y+=.5;Bl.x=.2;var uf=gf;var vf=o(Qt,"up"),Il=vf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Il.anchor="middle_left";Il.y+=.3;Il.x=.2;var wf=vf;var bo={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var Sf=e(bo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var t0=e(bo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Af=o(t0,"left"),Dl=Af.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Dl.anchor="middle_left";Dl.y+=.5;Dl.x=.2;var Pf=Af;var Rf=o(t0,"up"),ql=Rf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");ql.anchor="middle_left";ql.y+=.4;ql.x=.2;var Ff=Rf;var go={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var Tf=e(go).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var e0=e(go).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ef=o(e0,"left"),Hl=Ef.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Hl.anchor="middle_left";Hl.y+=.6;Hl.x=.3;var Vf=Ef;var Lf=o(e0,"up"),Gl=Lf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Gl.anchor="middle_left";Gl.y+=.4;Gl.x=.2;var Yf=Lf;var uo={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var Xf=e(uo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var o0=e(uo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var zf=o(o0,"left"),Ul=zf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Ul.anchor="middle_left";Ul.y+=.5;Ul.x=.3;var kf=zf;var jf=o(o0,"up"),Zl=jf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Zl.anchor="middle_left";Zl.y+=.3;Zl.x=.2;var Of=jf;var Jf={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(Jf).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Kl=o(Xt,"down"),Ql=Kl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ta=Kl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ql.anchor="middle_bottom";ta.anchor="middle_top";Ql.x=.44;Ql.y+=.28;ta.y-=.28;ta.x=.44;var $f=Kl;var ea=o(Xt,"left"),oa=ea.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ra=ea.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oa.anchor="middle_bottom";ra.anchor="middle_top";oa.x=0;oa.y+=.625;ra.y-=.695;ra.x=0;var Mf=ea;var ia=o(Xt,"up"),la=ia.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),aa=ia.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");la.anchor="middle_bottom";aa.anchor="middle_top";la.x=.4;la.y+=.28;aa.y-=.28;aa.x=.4;var Cf=ia;var Wf={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 zt=e(Wf).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var pa=o(zt,"down"),sa=pa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ya=pa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sa.anchor="middle_bottom";ya.anchor="middle_top";sa.x=.44;sa.y+=.28;ya.y-=.28;ya.x=.44;var Nf=pa;var ma=o(zt,"left"),na=ma.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xa=ma.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");na.anchor="middle_bottom";xa.anchor="middle_top";na.x=0;na.y+=.625;xa.y-=.695;xa.x=0;var Bf=ma;var fa=o(zt,"up"),ca=fa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ha=fa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ca.anchor="middle_bottom";ha.anchor="middle_top";ca.x=.4;ca.y+=.28;ha.y-=.28;ha.x=.4;var If=fa;var W={paths:{"lead-positive":{type:"path",points:[{x:-.4,y:.19999999999999996},{x:-.20000000000000007,y:.19999999999999996}],color:"primary",fill:!1},"lead-negative":{type:"path",points:[{x:-.4,y:-.20000000000000018},{x:-.20000000000000007,y:-.20000000000000018}],color:"primary",fill:!1},"voice-coil":{type:"path",points:[{x:-.20000000000000007,y:.19999999999999996},{x:0,y:.19999999999999996},{x:0,y:-.20000000000000018},{x:-.20000000000000007,y:-.20000000000000018},{x:-.20000000000000007,y:.19999999999999996}],color:"primary",fill:!1},cone:{type:"path",points:[{x:0,y:.19999999999999996},{x:.3999999999999999,y:.3999999999999999},{x:.3999999999999999,y:-.40000000000000013},{x:0,y:-.20000000000000018},{x:0,y:.19999999999999996}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.6},bottom1:{type:"text",text:"{VAL}",x:0,y:-.6000000000000001}},refblocks:{left1:{x:-.4,y:-.20000000000000018},left2:{x:-.4,y:.19999999999999996}},bounds:{minX:-.4,maxX:.3999999999999999,minY:-.6000000000000001,maxY:.6,width:.7999999999999999,height:1.2000000000000002,centerX:-5551115123125783e-32,centerY:-5551115123125783e-32},circles:{}};var Df=e(W).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),vo=S(Df.primitives),qf={...Df,center:{x:(vo.minX+vo.maxX)/2,y:(vo.minY+vo.maxY)/2}};var Hf=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),wo=S(Hf.primitives),Gf={...Hf,center:{x:(wo.minX+wo.maxX)/2,y:(wo.minY+wo.maxY)/2}};var Uf=e(W).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),So=S(Uf.primitives),Zf={...Uf,center:{x:(So.minX+So.maxX)/2,y:(So.minY+So.maxY)/2}};var Kf=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Ao=S(Kf.primitives),Qf={...Kf,center:{x:(Ao.minX+Ao.maxX)/2,y:(Ao.minY+Ao.maxY)/2}};var tc=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Po=S(tc.primitives),ec={...tc,center:{x:(Po.minX+Po.maxX)/2,y:(Po.minY+Po.maxY)/2}};var oc=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Ro=S(oc.primitives),rc={...oc,center:{x:(Ro.minX+Ro.maxX)/2,y:(Ro.minY+Ro.maxY)/2}};var x0={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 x0.refblocks.left1;delete x0.refblocks.right1;x0.bounds.width+=.2;var kt=e(x0).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var da=o(kt,"down"),_a=da.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ba=da.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_a.anchor="middle_bottom";ba.anchor="middle_top";_a.x=.3;_a.y+=.265;ba.y-=.265;ba.x=.3;var ic=da;var ga=o(kt,"left"),ua=ga.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),va=ga.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ua.anchor="middle_bottom";va.anchor="middle_top";ua.x=0;ua.y+=.57;va.y-=.57;va.x=0;var lc=ga;var wa=o(kt,"up"),Sa=wa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Aa=wa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sa.anchor="middle_bottom";Aa.anchor="middle_top";Sa.x=.3;Sa.y+=.265;Aa.y-=.265;Aa.x=.3;var ac=wa;var f0={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 f0.refblocks.left1;delete f0.refblocks.right1;f0.bounds.width+=.2;var jt=e(f0).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Pa=o(jt,"down"),Ra=Pa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fa=Pa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ra.anchor="middle_bottom";Fa.anchor="middle_top";Ra.x=.3;Ra.y+=.265;Fa.y-=.265;Fa.x=.3;var pc=Pa;var Ta=o(jt,"left"),Ea=Ta.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Va=Ta.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ea.anchor="middle_bottom";Va.anchor="middle_top";Ea.x=0;Ea.y+=.57;Va.y-=.57;Va.x=0;var sc=Ta;var La=o(jt,"up"),Ya=La.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xa=La.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ya.anchor="middle_bottom";Xa.anchor="middle_top";Ya.x=.3;Ya.y+=.265;Xa.y-=.265;Xa.x=.3;var yc=La;var Ot={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 mc=e(Ot).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 nc=e(Ot).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 xc=e(Ot).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var fc=e(Ot).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 za={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:iW,texts:lW,bounds:aW,refblocks:pW,circles:sW}=za,Fo=e(za).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var cc=o(Fo);var hc={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:j3,texts:O3,bounds:To,refblocks:dc,circles:J3}=hc,c0=n({primitives:[...Object.values(j3),...Object.values(J3),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...O3.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...dc.left1,labels:["1"]},{...dc.right1,labels:["2"]}],size:{width:To.width,height:To.height},center:{x:To.centerX,y:To.centerY}});var{5:$3,...M3}=c0.primitives;function C3(t){return typeof t=="object"}var _c=o({...c0,primitives:Object.values(M3).filter(C3)}),bc={..._c,primitives:[..._c.primitives,$3]};var Jt=n({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:32},(t,l)=>{let i=Math.PI/2-l*Math.PI/31,s=.1;return{x:.1-s*Math.cos(i),y:s*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 uc=o(Jt,"down"),gc=uc.primitives.find(t=>t.type==="text"&&t.text==="{REF}");gc&&(gc.anchor="middle_top");var vc=uc;var wc=o(Jt,"left");var Ac=o(Jt,"up"),Sc=Ac.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Sc&&(Sc.anchor="middle_bottom");var Pc=Ac;var Rc={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 r0=e(Rc).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ka=o(r0,"up"),ja=ka.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Oa=ka.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ja.anchor="middle_bottom";Oa.anchor="middle_top";ja.x=.4;ja.y+=.2;Oa.y-=.3;Oa.x=.4;var Eo=ka;var Ja=L(Eo),$a=Ja.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ma=Ja.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$a.anchor="middle_bottom";Ma.anchor="middle_top";$a.x=.35;$a.y+=.4;Ma.y-=.4;Ma.x=.35;var Fc=Ja;var Ca=o(r0,"left"),Wa=Ca.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Na=Ca.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wa.anchor="middle_bottom";Na.anchor="middle_top";Wa.x=0;Wa.y+=.5;Na.y-=.6;Na.x=0;var Tc=Ca;var Ba={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:qW,texts:HW,bounds:GW,refblocks:UW,circles:ZW}=Ba,Vo=e(Ba).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ec=o(Vo),Vc=Ec.primitives.filter(t=>t.type==="text"),B3=Vc.find(t=>t.text==="{REF}"),I3=Vc.find(t=>t.text==="{VAL}");B3.y=0;I3.y=0;var Lc=Ec;var Yc={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:q3,texts:Xc,bounds:Lo,refblocks:zc,circles:H3}=Yc,Yo=n({primitives:[...Object.values(q3),...Object.values(H3),{...Xc.top1,anchor:"middle_bottom"},{...Xc.bottom1,anchor:"middle_top"}],ports:[{...zc.left1,labels:["1"]},{...zc.right1,labels:["2"]}],size:{width:Lo.width,height:Lo.height},center:{x:Lo.centerX,y:Lo.centerY}});var Ia=o(Yo),G3=Ia.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),U3=Ia.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");G3.anchor="middle_left";U3.anchor="middle_right";var kc=Ia;var jc={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:K3,texts:Oc,bounds:Xo,refblocks:Da,circles:Q3}=jc,zo=n({primitives:[...Object.values(K3),...Object.values(Q3),{...Oc.top1,anchor:"middle_left"},{...Oc.bottom1,anchor:"middle_right"}],ports:[{...Da.top1,labels:["1"]},{...Da.bottom1,labels:["2"]},{...Da.left1,labels:["3"]}],size:{width:Xo.width,height:Xo.height},center:{x:Xo.centerX,y:Xo.centerY}});var Jc=o(zo),$c=Jc.primitives.filter(t=>t.type==="text"),tb=$c.find(t=>t.text==="{REF}");tb.y=.1;var Mc=$c.find(t=>t.text==="{VAL}");Mc.y=.1;Mc.x=-.4;var Cc=Jc;var Wc={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 Nc=e(Wc).changeTextAnchor("{REF}","middle_bottom").build();var Bc={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:rb,texts:qa,bounds:ko,refblocks:Ic,circles:ib}=Bc,jo=n({primitives:[...Object.values(rb),...Object.values(ib),{...qa.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...qa.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...qa.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...Ic.left1,labels:["1"]},{...Ic.right1,labels:["2"]}],size:{width:ko.width,height:ko.height},center:{x:ko.centerX,y:ko.centerY}});var Dc=o(jo);var qc={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:ab,texts:Hc,bounds:Oo,refblocks:Gc,circles:pb}=qc,Jo=n({primitives:[...Object.values(ab),...Object.values(pb),{...Hc.top1,anchor:"middle_bottom"},{...Hc.bottom1,anchor:"middle_top"}],ports:[{...Gc.left1,labels:["1"]},{...Gc.right1,labels:["2"]}],size:{width:Oo.width,height:Oo.height},center:{x:Oo.centerX,y:Oo.centerY}});var Ha=o(Jo),sb=Ha.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yb=Ha.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sb.anchor="middle_left";yb.anchor="middle_right";var Uc=Ha;var Zc={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:0}],color:"primary",fill:!1},path7:{type:"path",points:[{x:.27,y:-.23},{x:-.26,y:.24}],color:"primary",fill:!1},path8:{type:"path",points:[{x:.38,y:-.23},{x:.27,y:-.23}],color:"primary",fill:!1},path9:{type:"path",points:[{x:0,y:.14},{x:.27,y:.14},{x:.27,y:-.13},{x:-.26,y:-.13},{x:-.26,y:.14},{x:0,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.06,y:.25},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.25}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:nb,texts:Kc,bounds:$o,refblocks:Qc}=Zc,Mo=n({primitives:[...Object.values(nb),{...Kc.top1,x:0,anchor:"middle_bottom"},{...Kc.bottom1,x:0,anchor:"middle_top"}],ports:[{...Qc.left1,labels:["1","-"]},{...Qc.right1,labels:["2","+"]}],size:{width:$o.width,height:$o.height},center:{x:$o.centerX,y:$o.centerY}});var th=o(Mo),eh=th.primitives.filter(t=>t.type==="text"),Ga=eh.find(t=>t.text==="{REF}"),Ua=eh.find(t=>t.text==="{VAL}");Ga.x=.3;Ga.y=.15;Ga.anchor="middle_left";Ua.x=.3;Ua.y=-.15;Ua.anchor="middle_left";var oh=th;var rh={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:fb,texts:cb,bounds:Co,refblocks:ih,circles:hb}=rh,h0=n({primitives:[...Object.values(fb),...Object.values(hb),{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:.02,fontSize:.2}],ports:[{...ih.left1,labels:["1"]},{...ih.right1,labels:["2"]}],size:{width:Co.width,height:Co.height},center:{x:Co.centerX,y:Co.centerY}});var{5:db,..._b}=h0.primitives;function bb(t){return typeof t=="object"}var lh=o({...h0,primitives:Object.values(_b).filter(bb)}),ah={...lh,primitives:[...lh.primitives,db]};var $t={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 H(t,l){let{width:i,height:s}=t.size,y=1,p=1;l.width!==void 0&&l.height!==void 0?(y=l.width/i,p=l.height/s):l.width!==void 0?y=p=l.width/i:l.height!==void 0&&(y=p=l.height/s);let c=t.primitives.map(f=>{switch(f.type){case"path":return{...f,points:f.points.map(d=>({x:d.x*y,y:d.y*p}))};case"text":return{...f,x:f.x*y,y:f.y*p,fontSize:f.fontSize?f.fontSize*y:void 0};case"circle":return{...f,x:f.x*y,y:f.y*p,radius:f.radius*y};case"box":return{...f,x:f.x*y,y:f.y*p,width:f.width*y,height:f.height*p};default:return f}});return{...t,primitives:c,center:{x:t.center.x*y,y:t.center.y*p},ports:t.ports.map(f=>({...f,x:f.x*y,y:f.y*p})),size:{width:i*y,height:s*p}}}var ub=e($t).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),ph=H(ub,{width:.24,height:.23});var vb=e($t).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),sh=H(vb,{width:.23,height:.24});var wb=e($t).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),yh=H(wb,{width:.23,height:.24});var Sb=e($t).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),mh=H(Sb,{width:.24,height:.23});var d0={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:hB,texts:dB,bounds:_B,circles:bB,refblocks:gB}=d0,nh=e(d0).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Pb,texts:SB,bounds:xh,circles:Rb,refblocks:fh}=d0,Fb=e({primitives:[...Object.values(Pb),...Object.values(Rb),{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{...fh.left1,labels:["left1"]},{...fh.right1,labels:["right1"]}],center:{x:xh.centerX,y:xh.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),ch=Fb;var hh={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:Eb,texts:Vb,bounds:Wo,refblocks:dh,circles:Lb}=hh,_0=n({primitives:[...Object.values(Eb),...Object.values(Lb),{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:.01,fontSize:.2}],ports:[{...dh.left1,labels:["1"]},{...dh.right1,labels:["2"]}],size:{width:Wo.width,height:Wo.height},center:{x:Wo.centerX,y:Wo.centerY}});var{5:Yb,...Xb}=_0.primitives;function zb(t){return typeof t=="object"}var _h=o({..._0,primitives:Object.values(Xb).filter(zb)}),bh={..._h,primitives:[..._h.primitives,Yb]};var gh={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:jb,texts:Ob,bounds:No,refblocks:uh,circles:Jb}=gh,b0=n({primitives:[...Object.values(jb),...Object.values(Jb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Ob.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...uh.left1,labels:["1"]},{...uh.right1,labels:["2"]}],size:{width:No.width,height:No.height},center:{x:No.centerX,y:No.centerY}});var{5:$b,...Mb}=b0.primitives;function Cb(t){return typeof t=="object"}var vh=o({...b0,primitives:Object.values(Mb).filter(Cb)}),wh={...vh,primitives:[...vh.primitives,$b]};var Bo={paths:{path40:{type:"path",points:[{x:.14458890000000002,y:.04403629999999992},{x:-.1199943999999995,y:-.08825540000000043}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.1199943999999995,y:.17632800000000026},{x:.14458890000000002,y:.04403629999999992}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.1199943999999995,y:-.0882553999999991},{x:-.1199943999999995,y:.17632800000000026}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14458890000000002,y:.17632800000000026},{x:.14458890000000002,y:-.0882553999999991}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12219909999999956,y:.04403629999999992},{x:-.5168693999999996,y:.04403629999999992}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.5233797000000002,y:.043951100000000354},{x:.1496715999999998,y:.043951100000000354}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14458890000000002,y:.17632800000000026},{x:.21069330000000042,y:.17632800000000026}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14458890000000002,y:-.0882553999999991},{x:.07848449999999962,y:-.0882553999999991}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384530000000007},bottom1:{type:"text",text:"{VAL}",x:-.00011179999999977319,y:-.27384529999999985}},refblocks:{left1:{x:-.5191471000000001,y:.044920700000000924},right1:{x:.5191470999999999,y:.04389609999999999}},bounds:{minX:-.5473055410000001,maxX:.5473055409999998,minY:-.27384529999999985,maxY:.27384530000000007,width:1.094611082,height:.5476905999999999,centerX:-11102230246251565e-32,centerY:11102230246251565e-32},circles:{}};var Sh=e(Bo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Mt={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.16999999999999993,y:.11999999999999988},{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001},{x:.07000000000000006,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,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:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var Ah=r(Mt,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Ph=r(Mt,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Rh=r(Mt,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Fh=r(Mt,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var{paths:Bb,bounds:Io,refblocks:Th,circles:Ib}=Bo,Eh=e({primitives:[...Object.values(Bb),...Object.values(Ib),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Th.left1,labels:["1"]},{...Th.right1,labels:["2"]}],size:{width:Io.width,height:Io.height},center:{x:Io.centerX,y:Io.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ct={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.15000000000000013,y:.09999999999999987},{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009},{x:.050000000000000044,y:-.10000000000000009}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,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:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.25,maxY:.25,width:.34999999999999987,height:.5,centerX:11102230246251565e-32,centerY:0},circles:{}};var Vh=r(Ct,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Lh=r(Ct,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Yh=r(Ct,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Xh=r(Ct,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var zh={ac_voltmeter_down:op,ac_voltmeter_horz:ip,ac_voltmeter_left:ap,ac_voltmeter_right:sp,ac_voltmeter_up:mp,ac_voltmeter_vert:xp,avalanche_diode_down:cp,avalanche_diode_horz:hp,avalanche_diode_left:_p,avalanche_diode_right:bp,avalanche_diode_sm_down:gp,avalanche_diode_sm_left:up,avalanche_diode_sm_right:vp,avalanche_diode_sm_up:wp,avalanche_diode_up:Ap,avalanche_diode_vert:Rp,avalanche_diode_xs_down:Fp,avalanche_diode_xs_left:Tp,avalanche_diode_xs_right:Ep,avalanche_diode_xs_up:Vp,backward_diode_down:Yp,backward_diode_left:X0,backward_diode_right:kp,backward_diode_up:jp,battery_down:$p,battery_horz:j0,battery_left:Bp,battery_right:qp,battery_up:Up,battery_vert:Zp,boxresistor_down:ts,boxresistor_left:rs,boxresistor_right:as,boxresistor_sm_down:ps,boxresistor_sm_left:ss,boxresistor_sm_right:ys,boxresistor_sm_up:ms,boxresistor_small_down:xs,boxresistor_small_left:cs,boxresistor_small_right:ds,boxresistor_small_up:bs,boxresistor_up:vs,boxresistor_xs_down:ws,boxresistor_xs_left:Ss,boxresistor_xs_right:As,boxresistor_xs_up:Ps,bridged_ground_down:Ts,bridged_ground_left:Ls,bridged_ground_right:C0,bridged_ground_up:zs,capacitor_down:js,capacitor_left:Os,capacitor_polarized_down:Js,capacitor_polarized_left:$s,capacitor_polarized_right:Ms,capacitor_polarized_up:Cs,capacitor_right:Ws,capacitor_sm_down:Ns,capacitor_sm_left:Bs,capacitor_sm_right:Is,capacitor_sm_up:Ds,capacitor_up:Hs,capacitor_xs_down:Gs,capacitor_xs_left:Us,capacitor_xs_right:Zs,capacitor_xs_up:Ks,constant_current_diode_down:ty,constant_current_diode_horz:ey,constant_current_diode_left:ry,constant_current_diode_right:iy,constant_current_diode_up:ay,constant_current_diode_vert:sy,crystal_4pin_down:yy,crystal_4pin_left:my,crystal_4pin_right:ny,crystal_4pin_up:xy,crystal_down:cy,crystal_left:hy,crystal_right:dy,crystal_up:by,current_source_down:gy,current_source_left:uy,current_source_right:vy,current_source_up:wy,darlington_pair_transistor_down:Sy,darlington_pair_transistor_horz:Ay,darlington_pair_transistor_left:Py,darlington_pair_transistor_right:Ry,darlington_pair_transistor_up:Fy,darlington_pair_transistor_vert:Ty,dc_ammeter_down:s0,dc_ammeter_horz:B,dc_ammeter_left:Yy,dc_ammeter_right:Xy,dc_ammeter_up:zy,dc_ammeter_vert:s0,dc_voltmeter_down:jy,dc_voltmeter_horz:Jy,dc_voltmeter_left:My,dc_voltmeter_right:Wy,dc_voltmeter_up:By,dc_voltmeter_vert:Dy,diac_down:qy,diac_horz:Hy,diac_left:Gy,diac_right:Uy,diac_up:Zy,diac_vert:Ky,digital_ground_down:tm,digital_ground_left:om,digital_ground_right:im,digital_ground_up:am,diode_down:sm,diode_left:ym,diode_right:mt,diode_sm_down:mm,diode_sm_left:nm,diode_sm_right:xm,diode_sm_up:fm,diode_up:cm,diode_xs_down:hm,diode_xs_left:dm,diode_xs_right:_m,diode_xs_up:bm,dpdt_normally_closed_switch_down:um,dpdt_normally_closed_switch_left:vm,dpdt_normally_closed_switch_right:ft,dpdt_normally_closed_switch_up:wm,dpdt_switch_down:Am,dpdt_switch_left:Pm,dpdt_switch_right:ct,dpdt_switch_up:Rm,dpst_normally_closed_switch_down:Tm,dpst_normally_closed_switch_left:Em,dpst_normally_closed_switch_right:ht,dpst_normally_closed_switch_up:Vm,dpst_switch_down:Ym,dpst_switch_left:Xm,dpst_switch_right:dt,dpst_switch_up:zm,ferrite_bead_down:jm,ferrite_bead_left:Om,ferrite_bead_right:me,ferrite_bead_up:ye,filled_diode_down:$m,filled_diode_horz:Cm,filled_diode_left:Nm,filled_diode_right:Im,filled_diode_up:qm,filled_diode_vert:Gm,frequency_meter_horz:y0,frequency_meter_vert:Qm,fuse_horz:ge,fuse_vert:on,ground_down:rn,ground_horz:ln,ground_left:an,ground_right:pn,ground_up:sn,ground_vert:yn,gunn_diode_horz:mn,gunn_diode_vert:nn,icled_down:fn,icled_left:cn,icled_right:_t,icled_up:hn,igbt_transistor_horz:ue,igbt_transistor_vert:bn,illuminated_push_button_normally_open_horz:ve,illuminated_push_button_normally_open_vert:wn,inductor_down:Sn,inductor_left:An,inductor_right:Pn,inductor_up:Rn,laser_diode_down:Fn,laser_diode_left:Tn,laser_diode_right:gt,laser_diode_up:En,led_down:Xn,led_left:zn,led_right:Dt,led_sm_down:kn,led_sm_left:jn,led_sm_right:On,led_sm_up:Jn,led_up:Se,led_xs_down:$n,led_xs_left:Mn,led_xs_right:Cn,led_xs_up:Wn,light_dependent_resistor_horz:Pe,light_dependent_resistor_vert:Hn,mosfet_depletion_normally_on_horz:Re,mosfet_depletion_normally_on_vert:t9,mushroom_head_normally_open_momentary_horz:Te,mushroom_head_normally_open_momentary_vert:i9,n_channel_d_mosfet_transistor_gate_bottom_drain_left:n9,n_channel_d_mosfet_transistor_gate_bottom_drain_right:x9,n_channel_d_mosfet_transistor_gate_left_drain_bottom:f9,n_channel_d_mosfet_transistor_gate_left_drain_top:c9,n_channel_d_mosfet_transistor_gate_right_drain_bottom:h9,n_channel_d_mosfet_transistor_gate_right_drain_top:d9,n_channel_d_mosfet_transistor_gate_top_drain_left:_9,n_channel_d_mosfet_transistor_gate_top_drain_right:b9,n_channel_d_mosfet_transistor_horz:g,n_channel_d_mosfet_transistor_vert:A,n_channel_e_mosfet_transistor_gate_bottom_drain_left:P9,n_channel_e_mosfet_transistor_gate_bottom_drain_right:R9,n_channel_e_mosfet_transistor_gate_left_drain_bottom:F9,n_channel_e_mosfet_transistor_gate_left_drain_top:T9,n_channel_e_mosfet_transistor_gate_right_drain_bottom:E9,n_channel_e_mosfet_transistor_gate_right_drain_top:V9,n_channel_e_mosfet_transistor_gate_top_drain_left:L9,n_channel_e_mosfet_transistor_gate_top_drain_right:Y9,n_channel_e_mosfet_transistor_horz:u,n_channel_e_mosfet_transistor_vert:P,njfet_transistor_horz:Le,njfet_transistor_vert:O9,not_connected_down:M9,not_connected_left:C9,not_connected_right:wt,not_connected_up:W9,npn_bipolar_transistor_down:N9,npn_bipolar_transistor_horz:B9,npn_bipolar_transistor_left:I9,npn_bipolar_transistor_right:D9,npn_bipolar_transistor_up:q9,npn_bipolar_transistor_vert:H9,opamp_no_power_down:U9,opamp_no_power_left:Z9,opamp_no_power_right:St,opamp_no_power_up:K9,opamp_with_power_down:tx,opamp_with_power_left:ex,opamp_with_power_right:At,opamp_with_power_up:ox,p_channel_d_mosfet_transistor_gate_bottom_drain_left:yx,p_channel_d_mosfet_transistor_gate_bottom_drain_right:mx,p_channel_d_mosfet_transistor_gate_left_drain_bottom:nx,p_channel_d_mosfet_transistor_gate_left_drain_top:xx,p_channel_d_mosfet_transistor_gate_right_drain_bottom:fx,p_channel_d_mosfet_transistor_gate_right_drain_top:cx,p_channel_d_mosfet_transistor_gate_top_drain_left:hx,p_channel_d_mosfet_transistor_gate_top_drain_right:dx,p_channel_d_mosfet_transistor_horz:v,p_channel_d_mosfet_transistor_vert:R,p_channel_e_mosfet_transistor_gate_bottom_drain_left:Sx,p_channel_e_mosfet_transistor_gate_bottom_drain_right:Ax,p_channel_e_mosfet_transistor_gate_left_drain_bottom:Px,p_channel_e_mosfet_transistor_gate_left_drain_top:Rx,p_channel_e_mosfet_transistor_gate_right_drain_bottom:Fx,p_channel_e_mosfet_transistor_gate_right_drain_top:Tx,p_channel_e_mosfet_transistor_gate_top_drain_left:Ex,p_channel_e_mosfet_transistor_gate_top_drain_right:Vx,p_channel_e_mosfet_transistor_horz:w,p_channel_e_mosfet_transistor_vert:F,photodiode_horz:Je,photodiode_vert:zx,pjfet_transistor_horz:Me,pjfet_transistor_vert:$x,pnp_bipolar_transistor_down:Mx,pnp_bipolar_transistor_horz:Cx,pnp_bipolar_transistor_left:Wx,pnp_bipolar_transistor_right:Nx,pnp_bipolar_transistor_up:Bx,pnp_bipolar_transistor_vert:Ix,potentiometer_horz:qe,potentiometer_vert:Gx,potentiometer2_down:Qx,potentiometer2_left:t1,potentiometer2_right:Pt,potentiometer2_up:e1,potentiometer3_down:o1,potentiometer3_left:r1,potentiometer3_right:i1,potentiometer3_up:l1,power_factor_meter_horz:Qe,power_factor_meter_vert:y1,push_button_normally_closed_momentary_horz:to,push_button_normally_closed_momentary_vert:c1,push_button_normally_open_momentary_down:d1,push_button_normally_open_momentary_horz:b1,push_button_normally_open_momentary_left:g1,push_button_normally_open_momentary_right:D,push_button_normally_open_momentary_up:u1,push_button_normally_open_momentary_vert:v1,rail_down:S1,rail_left:P1,rail_right:F1,rail_up:E1,rectifier_diode_horz:io,rectifier_diode_vert:Y1,resistor_down:z1,resistor_left:j1,resistor_right:J1,resistor_sm_down:$1,resistor_sm_left:M1,resistor_sm_right:C1,resistor_sm_up:W1,resistor_up:B1,resistor_xs_down:I1,resistor_xs_left:D1,resistor_xs_right:q1,resistor_xs_up:H1,resonator_down:U1,resonator_horz:xo,resonator_left:Z1,resonator_right:Lt,resonator_up:K1,resonator_vert:Q1,schottky_diode_down:ef,schottky_diode_left:of,schottky_diode_right:Yt,schottky_diode_up:rf,silicon_controlled_rectifier_horz:fo,silicon_controlled_rectifier_vert:pf,solderjumper2_bridged12_down:sf,solderjumper2_bridged12_left:mf,solderjumper2_bridged12_right:Zt,solderjumper2_bridged12_up:xf,solderjumper2_down:ff,solderjumper2_left:hf,solderjumper2_right:Kt,solderjumper2_up:_f,solderjumper3_bridged12_down:bf,solderjumper3_bridged12_left:uf,solderjumper3_bridged12_right:Qt,solderjumper3_bridged12_up:wf,solderjumper3_bridged123_down:Sf,solderjumper3_bridged123_left:Pf,solderjumper3_bridged123_right:t0,solderjumper3_bridged123_up:Ff,solderjumper3_bridged23_down:Tf,solderjumper3_bridged23_left:Vf,solderjumper3_bridged23_right:e0,solderjumper3_bridged23_up:Yf,solderjumper3_down:Xf,solderjumper3_left:kf,solderjumper3_right:o0,solderjumper3_up:Of,spdt_normally_closed_switch_down:$f,spdt_normally_closed_switch_left:Mf,spdt_normally_closed_switch_right:Xt,spdt_normally_closed_switch_up:Cf,spdt_switch_down:Nf,spdt_switch_left:Bf,spdt_switch_right:zt,spdt_switch_up:If,speaker_down:qf,speaker_horz:Gf,speaker_left:Zf,speaker_right:Qf,speaker_up:ec,speaker_vert:rc,spst_normally_closed_switch_down:ic,spst_normally_closed_switch_left:lc,spst_normally_closed_switch_right:kt,spst_normally_closed_switch_up:ac,spst_switch_down:pc,spst_switch_left:sc,spst_switch_right:jt,spst_switch_up:yc,square_wave_down:mc,square_wave_left:nc,square_wave_right:xc,square_wave_up:fc,step_recovery_diode_horz:Fo,step_recovery_diode_vert:cc,tachometer_horz:c0,tachometer_vert:bc,testpoint_down:vc,testpoint_left:wc,testpoint_right:Jt,testpoint_up:Pc,tilted_ground_down:Fc,tilted_ground_left:Tc,tilted_ground_right:r0,tilted_ground_up:Eo,triac_horz:Vo,triac_vert:Lc,tunnel_diode_horz:Yo,tunnel_diode_vert:kc,unijunction_transistor_horz:zo,unijunction_transistor_vert:Cc,usbc:Nc,var_meter_horz:jo,var_meter_vert:Dc,varactor_diode_horz:Jo,varactor_diode_vert:Uc,varistor_horz:Mo,varistor_vert:oh,varmeter_horz:h0,varmeter_vert:ah,vcc_down:ph,vcc_left:sh,vcc_right:yh,vcc_up:mh,volt_meter_horz:nh,volt_meter_vert:ch,watt_hour_meter_horz:_0,watt_hour_meter_vert:bh,wattmeter_horz:b0,wattmeter_vert:wh,zener_diode_horz:Sh,zener_diode_sm_down:Ah,zener_diode_sm_left:Ph,zener_diode_sm_right:Rh,zener_diode_sm_up:Fh,zener_diode_vert:Eh,zener_diode_xs_down:Vh,zener_diode_xs_left:Lh,zener_diode_xs_right:Yh,zener_diode_xs_up:Xh};var T=(t,l=!0)=>l?-t:t;var Nt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function kh(t,{closed:l=!1,yUpPositive:i=!0}){let s=t.map((y,p)=>`${p===0?"M":"L"}${y.x},${T(y.y,i)}`).join(" ");return l?`${s} Z`:s}function qb(t,l=.05,i=!0){let{x:s,y}=t,p=l/2;return`<path d="M ${s} ${T(y,i)-p} L ${s+p} ${T(y,i)} L ${s} ${T(y,i)+p} L ${s-p} ${T(y,i)} Z" fill="green" />`}function Hb(t,{yUpPositive:l}){let{x:i,y:s,text:y,fontSize:p=.1,anchor:c}=t,f,d=0,a=0,m=p*.75;switch(c){case"top_left":f="start",a=p;break;case"top_right":f="end",a=p;break;case"bottom_left":f="start";break;case"bottom_right":f="end";break;case"center":f="middle",a=p/2;break;case"middle_top":f="middle",a=m;break;case"middle_bottom":f="middle";break;case"middle_left":f="start",a=m/2;break;case"middle_right":f="end",a=m/2;break}return{text:`<text x="${i}" y="${T(s,l)}" dx="${d}" dy="${a}" text-anchor="${f}" style="font: ${p??.1}px monospace; fill: ${Nt("primary")}">${y}</text>`,anchor:`<rect x="${i-.025/2}" y="${T(s,l)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function Gb(t,{yUpPositive:l}){let{x:i,y:s,labels:y}=t,p=.05,c=.08,f=y[0]||"";return`
5
+ `+d+" | "+ir("",s.column-1," ")+ir("",h,"^")}else l+=`
6
+ at `+c}return l};Rt.buildMessage=function(t,l){var r={literal:function(a){return'"'+s(a.text)+'"'},class:function(a){var m=a.parts.map(function(h){return Array.isArray(h)?p(h[0])+"-"+p(h[1]):p(h)});return"["+(a.inverted?"^":"")+m.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(a){return a.description}};function y(a){return a.charCodeAt(0).toString(16).toUpperCase()}function s(a){return a.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(m){return"\\x0"+y(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+y(m)})}function p(a){return a.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(m){return"\\x0"+y(m)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(m){return"\\x"+y(m)})}function c(a){return r[a.type](a)}function f(a){var m=a.map(c),h,g;if(m.sort(),m.length>0){for(h=1,g=1;h<m.length;h++)m[h-1]!==m[h]&&(m[g]=m[h],g++);m.length=g}switch(m.length){case 1:return m[0];case 2:return m[0]+" or "+m[1];default:return m.slice(0,-1).join(", ")+", or "+m[m.length-1]}}function d(a){return a?'"'+s(a)+'"':"end of input"}return"Expected "+f(t)+" but "+d(l)+" found."};function A(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let l=1/0,r=-1/0,y=1/0,s=-1/0,p=c=>{l=Math.min(l,c.x),r=Math.max(r,c.x),y=Math.min(y,c.y),s=Math.max(s,c.y)};return t.forEach(c=>{switch(c.type){case"path":c.points.forEach(p);break;case"text":p({x:c.x,y:c.y});break;case"circle":{let{x:f,y:d,radius:a}=c;p({x:f-a,y:d-a}),p({x:f+a,y:d+a});break}case"box":{let{x:f,y:d,width:a,height:m}=c,h=a/2,g=m/2;p({x:f-h,y:d-g}),p({x:f+h,y:d+g});break}}}),{minX:l,maxX:r,minY:y,maxY:s}}var cc=(t,l="right")=>{switch(l){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},Y=(t,l)=>{let{primitives:r,center:y,ports:s,size:p}=t,c=H({a:1,b:0,c:0,d:-1,e:0,f:2*y.y}),f=r.map(a=>{switch(a={...a},a.type){case"path":return{...a,points:a.points.map(_=>V(c,_))};case"text":let m=V(c,{x:a.x,y:a.y}),h={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{...a,x:m.x,y:m.y,anchor:h[a.anchor]};case"circle":case"box":let g=V(c,{x:a.x,y:a.y});return{...a,x:g.x,y:g.y}}}),d=s.map(a=>({...a,...V(c,a)}));return{primitives:f,center:y,ports:d,size:p,...l}},b=(t,l)=>{let{primitives:r,center:y,ports:s,size:p}=t,c=H({a:-1,b:0,c:0,d:1,e:0,f:2*y.x}),f=r.map(a=>{switch(a={...a},a.type){case"path":return{...a,points:a.points.map(_=>V(c,_))};case"text":let m=V(c,{x:a.x,y:a.y}),h={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{...a,x:m.x,y:m.y,anchor:h[a.anchor]};case"circle":case"box":let g=V(c,{x:a.x,y:a.y});return{...a,x:g.x,y:g.y}}}),d=s.map(a=>({...a,...V(c,a)}));return{primitives:f,center:y,ports:d,size:p,...l}},q=(t,l)=>{let{newOrientation:r,overrides:y}=l,s={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},p=rr(r?s[r]:Math.PI/2,t.center.x,t.center.y),{primitives:c,center:f,size:d,ports:a}=t,m=c.map(_=>{switch(_={..._},_.type){case"path":return{..._,points:_.points.map(sc=>V(p,sc))};case"text":let ya=V(p,{x:_.x,y:_.y});return _.anchor=cc(_.anchor,r??"right"),{..._,x:ya.x,y:ya.y};case"circle":let sa=V(p,{x:_.x,y:_.y});return{..._,x:sa.x,y:sa.y};case"box":let ma=V(p,{x:_.x,y:_.y});return{..._,x:ma.x,y:ma.y,width:_.height,height:_.width}}}),h=a.map(_=>({..._,...V(p,_)})),g=A(m);return{primitives:m,center:f,ports:h,size:{width:g.maxX-g.minX,height:g.maxY-g.minY},...y}},o=(t,l="down",r={})=>q(t,{newOrientation:l,overrides:r});var lr=class{symbol;constructor(l){this.symbol=JSON.parse(JSON.stringify(l)),this.symbol.size=this.computeSize()}changeTextAnchor(l,r,y){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(s=>s.type==="text"&&s.text===l?{...s,anchor:r,...y?{x:s.x+y.x,y:s.y+y.y}:{}}:s)},this}labelPort(l,r){return this.symbol={...this.symbol,ports:this.symbol.ports.map(y=>y.labels.includes(l)?{...y,labels:r}:y)},this}rotateRightFacingSymbol(l){return this.symbol=q(this.symbol,{newOrientation:l}),this}computeSize(){let l=A(this.symbol.primitives);return{width:l.maxX-l.minX,height:l.maxY-l.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let l=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],r=t.ports??Object.entries(t.refblocks).flatMap(([s,p])=>[{...p,labels:[s]}]),y=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return r.length===2&&(y={x:(r[0].x+r[1].x)/2,y:(r[0].y+r[1].y)/2}),new lr({...t,primitives:l,ports:r,center:y})};var X={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:dc,texts:mb,bounds:Ft,refblocks:na,circles:_c}=X,fa=e({primitives:[...Object.values(dc),...Object.values(_c),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...na.left1,labels:["1"]},{...na.right1,labels:["2"]}],size:{width:Ft.width,height:Ft.height},center:{x:Ft.centerX,y:Ft.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:bc,texts:cb,bounds:Tt,refblocks:ca,circles:gc}=X,ha=e({primitives:[...Object.values(bc),...Object.values(gc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ca.left1,labels:["1"]},{...ca.right1,labels:["2"]}],size:{width:Tt.width,height:Tt.height},center:{x:Tt.centerX,y:Tt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uc,texts:bb,bounds:Et,refblocks:da,circles:vc}=X,_a=e({primitives:[...Object.values(uc),...Object.values(vc),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...da.left1,labels:["1"]},{...da.right1,labels:["2"]}],size:{width:Et.width,height:Et.height},center:{x:Et.centerX,y:Et.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:wc,texts:wb,bounds:Vt,refblocks:ba,circles:Sc}=X,ga=e({primitives:[...Object.values(wc),...Object.values(Sc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],size:{width:Vt.width,height:Vt.height},center:{x:Vt.centerX,y:Vt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ac,texts:Rb,bounds:Lt,refblocks:ua,circles:Pc}=X,va=e({primitives:[...Object.values(Ac),...Object.values(Pc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ua.left1,labels:["1"]},{...ua.right1,labels:["2"]}],size:{width:Lt.width,height:Lt.height},center:{x:Lt.centerX,y:Lt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Rc,texts:Vb,bounds:Yt,refblocks:wa,circles:Fc}=X,Sa=e({primitives:[...Object.values(Rc),...Object.values(Fc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...wa.left1,labels:["1"]},{...wa.right1,labels:["2"]}],size:{width:Yt.width,height:Yt.height},center:{x:Yt.centerX,y:Yt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var I0={paths:{"input-a-lead":{type:"path",points:[{x:-.6,y:.16000000000000014},{x:-.25,y:.16000000000000014}],color:"primary",fill:!1},"input-b-lead":{type:"path",points:[{x:-.6,y:-.1399999999999999},{x:-.25,y:-.1399999999999999}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.25,y:.3600000000000001},{x:0,y:.3600000000000001},{x:0,y:.3600000000000001},{x:.029662962962962967,y:.359535925925926},{x:.05863703703703704,y:.3581540740740742},{x:.08690000000000002,y:.35587000000000013},{x:.11442962962962966,y:.3526992592592594},{x:.14120370370370372,y:.3486574074074076},{x:.16720000000000004,y:.34376000000000023},{x:.19239629629629632,y:.3380225925925927},{x:.21677037037037045,y:.331460740740741},{x:.2403,y:.3240900000000001},{x:.26296296296296295,y:.31592592592592605},{x:.28473703703703696,y:.30698407407407413},{x:.30560000000000004,y:.2972800000000002},{x:.3255296296296295,y:.2868292592592593},{x:.34450370370370376,y:.2756474074074076},{x:.36249999999999993,y:.2637500000000001},{x:.3794962962962963,y:.25115259259259276},{x:.39547037037037036,y:.2378707407407409},{x:.41040000000000004,y:.2239200000000002},{x:.42426296296296295,y:.20931592592592613},{x:.437037037037037,y:.19407407407407426},{x:.4487,y:.1782100000000002},{x:.4592296296296296,y:.16173925925925947},{x:.46860370370370374,y:.14467740740740764},{x:.4768,y:.12704000000000024},{x:.4837962962962963,y:.10884259259259285},{x:.4895703703703703,y:.09010074074074101},{x:.4941,y:.07083000000000027},{x:.49736296296296295,y:.05104592592592622},{x:.49933703703703697,y:.03076407407407436},{x:.5,y:.0100000000000003},{x:.5,y:.010000000000000231},{x:.5,y:.010000000000000231},{x:.499337037037037,y:-.010764074074073858},{x:.49736296296296295,y:-.031045925925925727},{x:.49410000000000004,y:-.05082999999999982},{x:.48957037037037043,y:-.07010074074074057},{x:.48379629629629634,y:-.08884259259259243},{x:.47680000000000006,y:-.10703999999999986},{x:.46860370370370374,y:-.12467740740740728},{x:.4592296296296297,y:-.14173925925925915},{x:.4486999999999999,y:-.15820999999999985},{x:.4370370370370371,y:-.17407407407407394},{x:.4242629629629629,y:-.18931592592592578},{x:.4104000000000001,y:-.20391999999999988},{x:.3954703703703703,y:-.21787074074074056},{x:.37949629629629644,y:-.2311525925925925},{x:.36249999999999993,y:-.24374999999999986},{x:.3445037037037037,y:-.25564740740740727},{x:.3255296296296296,y:-.26682925925925916},{x:.30560000000000004,y:-.2772799999999999},{x:.28473703703703707,y:-.28698407407407395},{x:.262962962962963,y:-.29592592592592576},{x:.24030000000000004,y:-.30408999999999986},{x:.21677037037037042,y:-.3114607407407406},{x:.19239629629629634,y:-.31802259259259247},{x:.16720000000000007,y:-.3237599999999998},{x:.14120370370370378,y:-.32865740740740723},{x:.11442962962962971,y:-.33269925925925914},{x:.08690000000000009,y:-.33586999999999984},{x:.058637037037037126,y:-.33815407407407394},{x:.029662962962963058,y:-.33953592592592574},{x:9992007221626409e-32,y:-.33999999999999986},{x:0,y:-.33999999999999986},{x:-.25,y:-.33999999999999986},{x:-.25,y:.3600000000000001}],color:"primary",fill:!1},"output-lead":{type:"path",points:[{x:.5,y:.010000000000000231},{x:.6000000000000001,y:.010000000000000231}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4700000000000002},bottom1:{type:"text",text:"{VAL}",x:0,y:-.47}},refblocks:{left1:{x:-.6,y:-.1399999999999999},left2:{x:-.6,y:.16000000000000014},right1:{x:.6000000000000001,y:.010000000000000231}},bounds:{minX:-.6,maxX:.6000000000000001,minY:-.47,maxY:.4700000000000002,width:1.2000000000000002,height:.9400000000000002,centerX:5551115123125783e-32,centerY:11102230246251565e-32},circles:{}};var Aa=e(I0).labelPort("left1",["2","in2","input2","b"]).labelPort("left2",["1","in1","input1","a"]).labelPort("right1",["3","out","output","y"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("down").build();var Xt=e(I0).labelPort("left1",["2","in2","input2","b"]).labelPort("left2",["1","in1","input1","a"]).labelPort("right1",["3","out","output","y"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").build();var Pa=b(Xt);var Ra=e(I0).labelPort("left1",["2","in2","input2","b"]).labelPort("left2",["1","in1","input1","a"]).labelPort("right1",["3","out","output","y"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").build();var k={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:Vc,texts:Gb,bounds:kt,refblocks:Fa,circles:Lc}=k,Ta=e({primitives:[...Object.values(Vc),...Object.values(Lc),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Fa.left1,labels:["1"]},{...Fa.right1,labels:["2"]}],size:{width:kt.width,height:kt.height},center:{x:kt.centerX,y:kt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ea=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Yc,texts:eg,bounds:zt,refblocks:Va,circles:Xc}=k,La=e({primitives:[...Object.values(Yc),...Object.values(Xc),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...Va.left1,labels:["1"]},{...Va.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",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ya=e(k).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var U={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.07000000000000006,y:.1399999999999999},{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001},{x:.16999999999999993,y:-.1399999999999999}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,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:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var zc={boxresistor:{horizontalOffset:.16,horizontalHeight:.65,verticalX:.16,verticalRefY:.16,verticalValY:-.16,verticalWidth:.9},capacitor:{horizontalOffset:.24,horizontalHeight:.65,verticalX:.2,verticalRefY:.095,verticalValY:-.095,verticalWidth:.9},led:{horizontalOffset:.38,horizontalHeight:.9,verticalX:.38,verticalRefY:.14,verticalValY:-.14,verticalWidth:1.1},diode:{horizontalOffset:.22,horizontalHeight:.65,verticalX:.2,verticalRefY:.14,verticalValY:-.14,verticalWidth:.9},resistor:{horizontalOffset:.22,horizontalHeight:.65,verticalX:.2,verticalRefY:.14,verticalValY:-.14,verticalWidth:.9}},i=(t,{kind:l,orientation:r,pin1Labels:y=["1"],pin2Labels:s=["2"]})=>{let p=zc[l],c=e({...t,texts:{}}).rotateRightFacingSymbol(r).labelPort("left1",y).labelPort("right1",s).build(),f=r==="right"||r==="left",d=f?[{type:"text",text:"{REF}",x:0,y:p.horizontalOffset,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-p.horizontalOffset,anchor:"middle_top"}]:[{type:"text",text:"{REF}",x:p.verticalX,y:p.verticalRefY,anchor:"middle_left"},{type:"text",text:"{VAL}",x:p.verticalX,y:p.verticalValY,anchor:"middle_left"}],[a,m]=c.ports,h=Math.hypot(m.x-a.x,m.y-a.y);return{...c,primitives:[...c.primitives,...d],size:f?{width:h,height:p.horizontalHeight}:{width:p.verticalWidth,height:h}}};var Xa=i(U,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var ka=i(U,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var za=i(U,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var ja=i(U,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var{paths:jc,texts:Sg,bounds:jt,refblocks:Oa,circles:Oc}=k,Ja=e({primitives:[...Object.values(jc),...Object.values(Oc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Oa.left1,labels:["1"]},{...Oa.right1,labels:["2"]}],size:{width:jt.width,height:jt.height},center:{x:jt.centerX,y:jt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Jc,texts:Fg,bounds:Ot,refblocks:$a,circles:$c}=k,Ma=e({primitives:[...Object.values(Jc),...Object.values($c),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...$a.left1,labels:["1"]},{...$a.right1,labels:["2"]}],size:{width:Ot.width,height:Ot.height},center:{x:Ot.centerX,y:Ot.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Z={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.050000000000000044,y:.11999999999999988},{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009},{x:.15000000000000013,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,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:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.25,maxY:.25,width:.34999999999999987,height:.5,centerX:11102230246251565e-32,centerY:0},circles:{}};var Ca=i(Z,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Wa=i(Z,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Na=i(Z,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Ba=i(Z,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var K={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:Wc,texts:Ig,bounds:Jt,refblocks:Ia,circles:Nc}=K,Da=e({primitives:[...Object.values(Wc),...Object.values(Nc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Ia.left1,labels:["1"]},{...Ia.right1,labels:["2"]}],size:{width:Jt.width,height:Jt.height},center:{x:Jt.centerX,y:Jt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Bc,texts:Hg,bounds:$t,refblocks:qa,circles:Ic}=K,Mt=e({primitives:[...Object.values(Bc),...Object.values(Ic),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...qa.left1,labels:["1"]},{...qa.right1,labels:["2"]}],size:{width:$t.width,height:$t.height},center:{x:$t.centerX,y:$t.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Dc,texts:Qg,bounds:Ct,refblocks:Ga,circles:qc}=K,Ha=e({primitives:[...Object.values(Dc),...Object.values(qc),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...Ga.left1,labels:["1"]},{...Ga.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:iu,texts:lu,bounds:au,refblocks:pu,circles:yu}=K,ar=o(Mt,"down"),pr=ar.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yr=ar.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pr.anchor="middle_left";yr.anchor="middle_left";pr.x=.25;pr.y+=.21;yr.y-=.21;yr.x=.25;var Ua=ar;var N={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:-.5,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.5,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:-.5,y:.03},right1:{x:.5,y:.03}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.27,width:1,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:Hc,bounds:Za,refblocks:Ka,circles:Uc}=N,Zc=e({primitives:[...Object.values(Hc),...Object.values(Uc),{type:"text",text:"{REF}",x:-.2,y:.31},{type:"text",text:"{VAL}",x:.2,y:.31}],ports:[{...Ka.left1,labels:["1"]},{...Ka.right1,labels:["2"]}],center:{x:Za.centerX,y:Za.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").build(),Qa={...Zc,size:{width:1,height:.9}};function x(t){let l=t.size;if(!l){let r=A(t.primitives);l={width:r.maxX-r.minX,height:r.maxY-r.minY}}return{...t,size:l}}var{paths:Kc,texts:tp,bounds:Wt,refblocks:ep,circles:Qc}=N,Nt=x({primitives:[...Object.values(Kc),...Object.values(Qc),{...tp.top1,anchor:"middle_bottom"},{...tp.bottom1,anchor:"middle_top"}],ports:[{...ep.left1,labels:["1"]},{...ep.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}});var{paths:th,bounds:op,refblocks:rp,circles:eh}=N,oh=e({primitives:[...Object.values(th),...Object.values(eh),{type:"text",text:"{REF}",x:0,y:-.22},{type:"text",text:"{VAL}",x:0,y:.28}],ports:[{...rp.left1,labels:["1"]},{...rp.right1,labels:["2"]}],center:{x:op.centerX,y:op.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build(),ip={...oh,size:{width:1,height:.65}};var{paths:rh,bounds:lp,refblocks:ap,circles:ih}=N,lh=e({primitives:[...Object.values(rh),...Object.values(ih),{type:"text",text:"{REF}",x:0,y:.28},{type:"text",text:"{VAL}",x:0,y:-.22}],ports:[{...ap.left1,labels:["1"]},{...ap.right1,labels:["2"]}],center:{x:lp.centerX,y:lp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_bottom").build(),pp={...lh,size:{width:1,height:.65}};var{paths:ah,bounds:yp,refblocks:sp,circles:ph}=N,yh=e({primitives:[...Object.values(ah),...Object.values(ph),{type:"text",text:"{REF}",x:.2,y:-.25},{type:"text",text:"{VAL}",x:-.2,y:-.25}],ports:[{...sp.left1,labels:["1"]},{...sp.right1,labels:["2"]}],center:{x:yp.centerX,y:yp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").build(),mp={...yh,size:{width:1,height:.9}};var xp=q(Nt,{newOrientation:"up"});var Q={paths:{path1:{type:"path",points:[{x:-.3,y:0},{x:-.19998,y:0}],color:"primary",fill:!1,strokeWidth:.012},path2:{type:"path",points:[{x:.19998,y:0},{x:.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path3:{type:"path",points:[{x:-.19998,y:.07998},{x:.19998,y:.07998},{x:.19998,y:-.07998},{x:-.19998,y:-.07998},{x:-.19998,y:.07998}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.45,anchor:"middle_bottom"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.45,maxY:.3,width:.6,height:.75,centerX:0,centerY:0},circles:{}};var{paths:mh,texts:ku,bounds:np,refblocks:fp,circles:xh}=Q,nh=e({primitives:[...Object.values(mh),...Object.values(xh),{type:"text",text:"{REF}",x:-.16,y:.16},{type:"text",text:"{VAL}",x:.16,y:.16}],ports:[{...fp.left1,labels:["1"]},{...fp.right1,labels:["2"]}],center:{x:np.centerX,y:np.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),cp={...nh,size:{width:.9,height:.6}};var{paths:fh,texts:Ju,bounds:hp,refblocks:dp,circles:ch}=Q,hh=e({primitives:[...Object.values(fh),...Object.values(ch),{type:"text",text:"{REF}",x:0,y:-.16},{type:"text",text:"{VAL}",x:0,y:.16}],ports:[{...dp.left1,labels:["1"]},{...dp.right1,labels:["2"]}],center:{x:hp.centerX,y:hp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),_p={...hh,size:{width:.6,height:.65}};var{paths:dh,texts:Wu,bounds:bp,refblocks:gp,circles:_h}=Q,bh=e({primitives:[...Object.values(dh),...Object.values(_h),{type:"text",text:"{REF}",x:0,y:.16},{type:"text",text:"{VAL}",x:0,y:-.16}],ports:[{...gp.left1,labels:["1"]},{...gp.right1,labels:["2"]}],center:{x:bp.centerX,y:bp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build(),up={...bh,size:{width:.6,height:.65}};var t0={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.175,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.175,y:.075},{x:.175,y:.075},{x:.175,y:-.075},{x:-.175,y:-.075},{x:-.175,y:.075}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.175,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var vp=i(t0,{kind:"boxresistor",orientation:"down"});var wp=i(t0,{kind:"boxresistor",orientation:"left"});var Sp=i(t0,{kind:"boxresistor",orientation:"right"});var Ap=i(t0,{kind:"boxresistor",orientation:"up"});var e0={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:vh,texts:av,bounds:Bt,refblocks:Pp,circles:wh}=e0,Rp=e({primitives:[...Object.values(vh),...Object.values(wh),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Sh,texts:mv,bounds:It,refblocks:Fp,circles:Ah}=e0,Tp=e({primitives:[...Object.values(Sh),...Object.values(Ah),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...Fp.left1,labels:["1"]},{...Fp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Ph,texts:cv,bounds:Dt,refblocks:Ep,circles:Rh}=e0,Vp=e({primitives:[...Object.values(Ph),...Object.values(Rh),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Ep.left1,labels:["1"]},{...Ep.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Fh,texts:bv,bounds:qt,refblocks:Lp,circles:Th}=e0,Yp=e({primitives:[...Object.values(Fh),...Object.values(Th),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Eh,texts:wv,bounds:Xp,refblocks:kp,circles:Vh}=Q,Lh=e({primitives:[...Object.values(Eh),...Object.values(Vh),{type:"text",text:"{REF}",x:.16,y:-.16},{type:"text",text:"{VAL}",x:-.16,y:-.16}],ports:[{...kp.left1,labels:["1"]},{...kp.right1,labels:["2"]}],center:{x:Xp.centerX,y:Xp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build(),zp={...Lh,size:{width:.9,height:.6}};var o0={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.14,y:0}],color:"primary",fill:!1,strokeWidth:.012},body:{type:"path",points:[{x:-.14,y:.065},{x:.14,y:.065},{x:.14,y:-.065},{x:-.14,y:-.065},{x:-.14,y:.065}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.14,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var jp=i(o0,{kind:"boxresistor",orientation:"down"});var Op=i(o0,{kind:"boxresistor",orientation:"left"});var Jp=i(o0,{kind:"boxresistor",orientation:"right"});var $p=i(o0,{kind:"boxresistor",orientation:"up"});var D0={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:kh,texts:Mv,bounds:Mp,refblocks:Cp,circles:zh}=D0,Wp=e({primitives:[...Object.values(kh),...Object.values(zh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],center:{x:Mp.centerX,y:Mp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:jh,texts:Bv,bounds:Np,refblocks:Bp,circles:Oh}=D0,Gt=e({primitives:[...Object.values(jh),...Object.values(Oh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Bp.left1,labels:["1"]},{...Bp.right1,labels:["2"]}],center:{x:Np.centerX,y:Np.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ip=b(Gt);var{paths:Jh,texts:Zv,bounds:Dp,refblocks:qp,circles:$h}=D0,Gp=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...qp.left1,labels:["1"]},{...qp.right1,labels:["2"]}],center:{x:Dp.centerX,y:Dp.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var r0={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.06,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path29:{type:"path",points:[{x:.06,y:.16002},{x:.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.06,y:.16002},{x:-.06,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.24,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.24,anchor:"middle_top"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.24,maxY:.24,width:.6,height:.48,centerX:0,centerY:0},circles:{}};var{paths:Ch,texts:ow,bounds:Ht,refblocks:Hp,circles:Wh}=r0,Nh=e({primitives:[...Object.values(Ch),...Object.values(Wh),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...Hp.left1,labels:["1"]},{...Hp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),Up={...Nh,size:{width:.9,height:.6}};var Bh=e(r0).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build(),Zp={...Bh,size:{width:.6,height:.65}};var i0={paths:{path27:{type:"path",points:[{x:.3,y:0},{x:657e-6,y:0}],color:"primary",fill:!1,strokeWidth:.012},path28:{type:"path",points:[{x:-.038683,y:0},{x:-.3,y:0}],color:"primary",fill:!1,strokeWidth:.012},path30:{type:"path",points:[{x:-.074255,y:.16002},{x:-.074255,y:.16002},{x:-.069544,y:.149352},{x:-.065126,y:.138684},{x:-.061005,y:.128016},{x:-.057182,y:.117348},{x:-.053663,y:.10668},{x:-.05045,y:.096012},{x:-.047547,y:.085344},{x:-.044957,y:.074676},{x:-.042684,y:.064008},{x:-.040732,y:.05334},{x:-.039103,y:.042672},{x:-.037801,y:.032004},{x:-.03683,y:.021336},{x:-.036193,y:.010668},{x:-.035893,y:0},{x:-.036193,y:-.010668},{x:-.03683,y:-.021336},{x:-.037801,y:-.032004},{x:-.039103,y:-.042672},{x:-.040732,y:-.05334},{x:-.042684,y:-.064008},{x:-.044957,y:-.074676},{x:-.047547,y:-.085344},{x:-.05045,y:-.096012},{x:-.053663,y:-.10668},{x:-.057182,y:-.117348},{x:-.061005,y:-.128016},{x:-.065126,y:-.138684},{x:-.069544,y:-.149352},{x:-.074255,y:-.16002},{x:-.074255,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-7":{type:"path",points:[{x:-385e-6,y:.16002},{x:-385e-6,y:-.16002}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2":{type:"path",points:[{x:.156026,y:.2},{x:.085846,y:.2}],color:"primary",fill:!1,strokeWidth:.012},"path30-9-2-9":{type:"path",points:[{x:.120936,y:.16491},{x:.120936,y:.23509}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42,anchor:"middle_top"}},refblocks:{left1:{x:-.3,y:0},right1:{x:.3,y:0}},bounds:{minX:-.3,maxX:.3,minY:-.55,maxY:.55,width:.6,height:1.1,centerX:0,centerY:0},circles:{"viewbox-padding-min":{type:"circle",x:-.3,y:-.55,radius:0,fill:!1,color:"transparent"},"viewbox-padding-max":{type:"circle",x:.3,y:.55,radius:0,fill:!1,color:"transparent"}}};var Kp=e(i0).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:-.12,y:-.3}).build();var Qp=e(i0).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ty=e(i0).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.78}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.78}).build();var ey=e(i0).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:-.12,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:.72,y:-.3}).build();var Dh=e(r0).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build(),oy={...Dh,size:{width:.6,height:.65}};var l0={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.06,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.06,y:.16},{x:-.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.06,y:.16},{x:.06,y:-.16}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.06,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var ry=i(l0,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var iy=i(l0,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var ly=i(l0,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var ay=i(l0,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var{paths:Gh,texts:Jw,bounds:Ut,refblocks:py,circles:Hh}=r0,Uh=e({primitives:[...Object.values(Gh),...Object.values(Hh),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...py.left1,labels:["1"]},{...py.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build(),yy={...Uh,size:{width:.9,height:.6}};var a0={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.05,y:0}],color:"primary",fill:!1,strokeWidth:.012},"left-plate":{type:"path",points:[{x:-.05,y:.14},{x:-.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-plate":{type:"path",points:[{x:.05,y:.14},{x:.05,y:-.14}],color:"primary",fill:!1,strokeWidth:.012},"right-lead":{type:"path",points:[{x:.05,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.012}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var sy=i(a0,{kind:"capacitor",orientation:"down",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var my=i(a0,{kind:"capacitor",orientation:"left",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var xy=i(a0,{kind:"capacitor",orientation:"right",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var ny=i(a0,{kind:"capacitor",orientation:"up",pin1Labels:["1","pos"],pin2Labels:["2","neg"]});var z={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:Qh,texts:oS,bounds:Zt,refblocks:fy,circles:t3}=z,cy=e({primitives:[...Object.values(Qh),...Object.values(t3),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...fy.left1,labels:["1"]},{...fy.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var hy=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:e3,texts:sS,bounds:Kt,refblocks:dy,circles:o3}=z,_y=e({primitives:[...Object.values(e3),...Object.values(o3),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...dy.left1,labels:["1"]},{...dy.right1,labels:["2"]}],size:{width:Kt.width,height:Kt.height},center:{x:Kt.centerX,y:Kt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var by=e(z).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:r3,texts:dS,bounds:Qt,refblocks:gy,circles:i3}=z,uy=e({primitives:[...Object.values(r3),...Object.values(i3),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...gy.left1,labels:["1"]},{...gy.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:l3,texts:uS,bounds:te,refblocks:vy,circles:a3}=z,wy=e({primitives:[...Object.values(l3),...Object.values(a3),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...vy.left1,labels:["1"]},{...vy.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 p0={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:y3,texts:PS,bounds:ee,refblocks:oe,circles:s3}=p0,Sy=e({primitives:[...Object.values(y3),...Object.values(s3),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...oe.left1,labels:["1"]},{...oe.right1,labels:["3"]},{...oe.bottom1,labels:["2"]},{...oe.top1,labels:["4"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Ay=e(p0).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Py=e(p0).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:m3,texts:zS,bounds:re,refblocks:ie,circles:x3}=p0,Ry=e({primitives:[...Object.values(m3),...Object.values(x3),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...ie.left1,labels:["1"]},{...ie.right1,labels:["3"]},{...ie.bottom1,labels:["2"]},{...ie.top1,labels:["4"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var y0={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:f3,texts:MS,bounds:le,refblocks:Fy,circles:c3}=y0,Ty=e({primitives:[...Object.values(f3),...Object.values(c3),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Fy.left1,labels:["1"]},{...Fy.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ey=e(y0).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Vy=e(y0).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:h3,texts:US,bounds:ae,refblocks:Ly,circles:d3}=y0,Yy=e({primitives:[...Object.values(h3),...Object.values(d3),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ly.left1,labels:["1"]},{...Ly.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var st=.6,sr=.3,_3=[{type:"path",points:[{x:-st,y:0},{x:-sr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:sr,y:0},{x:st,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:sr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Xy=e({primitives:[..._3,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-st,y:0,labels:["1"]},{x:st,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:st*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var mt=.6,mr=.3,b3=[{type:"path",points:[{x:-mt,y:0},{x:-mr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:mr,y:0},{x:mt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:mr,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}],ky=e({primitives:[...b3,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-mt,y:0,labels:["1"]},{x:mt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:mt*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var xt=.6,xr=.3,g3=[{type:"path",points:[{x:-xt,y:0},{x:-xr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:xr,y:0},{x:xt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:xr,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}],zy=e({primitives:[...g3,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-xt,y:0,labels:["1"]},{x:xt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:xt*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var nt=.6,nr=.3,u3=[{type:"path",points:[{x:-nt,y:0},{x:-nr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:nr,y:0},{x:nt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:nr,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}],jy=e({primitives:[...u3,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-nt,y:0,labels:["1"]},{x:nt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:nt*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={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 Oy=e(j).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 Jy=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var $y=e(j).rotateRightFacingSymbol("left").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.8}).changeTextAnchor("{REF}","middle_left",{x:0,y:.8}).build();var My=e(j).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Cy=e(j).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 Wy=e(j).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 Ny={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:By,bounds:pe,refblocks:Iy,circles:S3}=Ny,B=x({primitives:[By.path11,By.path12,{type:"path",points:[{x:-.12,y:.14},{x:.12,y:.14}],color:"primary",fill:!1},...Object.values(S3),{type:"text",text:"{REF}",x:0,y:.3594553499999995,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.35,anchor:"middle_top"},{type:"path",points:[{x:-.095,y:-.16},{x:0,y:.09}],color:"primary",fill:!1},{type:"path",points:[{x:0,y:.09},{x:.095,y:-.16}],color:"primary",fill:!1},{type:"path",points:[{x:-.048,y:-.045},{x:.048,y:-.045}],color:"primary",fill:!1}],ports:[{...Iy.left1,labels:["1"]},{...Iy.right1,labels:["2"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}});var fr=structuredClone(B);fr.primitives=fr.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:-.16,y:.3594553499999995,anchor:"middle_bottom"}:t.text==="{VAL}"?{...t,x:.16,y:.35,anchor:"middle_bottom"}:t);var ft=q(fr,{newOrientation:"down"});var Dy=b(B);var qy=B;var cr=structuredClone(B);cr.primitives=cr.primitives.map(t=>t.type!=="text"?t:t.text==="{REF}"?{...t,x:.16,y:-.3594553499999995,anchor:"middle_top"}:t.text==="{VAL}"?{...t,x:-.16,y:-.35,anchor:"middle_top"}:t);var Gy=q(cr,{newOrientation:"up"});var O={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:P3,texts:IA,bounds:ye,refblocks:Hy,circles:R3}=O,Uy=e({primitives:[...Object.values(P3),...Object.values(R3),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Hy.left1,labels:["1"]},{...Hy.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:F3,texts:HA,bounds:se,refblocks:Zy,circles:T3}=O,Ky=e({primitives:[...Object.values(F3),...Object.values(T3),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Zy.left1,labels:["1"]},{...Zy.right1,labels:["2"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:E3,texts:QA,bounds:me,refblocks:Qy,circles:V3}=O,ts=e({primitives:[...Object.values(E3),...Object.values(V3),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...Qy.left1,labels:["1"]},{...Qy.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:L3,texts:rP,bounds:xe,refblocks:es,circles:Y3}=O,os=e({primitives:[...Object.values(L3),...Object.values(Y3),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...es.left1,labels:["1"]},{...es.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:X3,texts:pP,bounds:ne,refblocks:rs,circles:k3}=O,is=e({primitives:[...Object.values(X3),...Object.values(k3),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...rs.left1,labels:["1"]},{...rs.right1,labels:["2"]}],size:{width:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:z3,texts:xP,bounds:fe,refblocks:ls,circles:j3}=O,as=e({primitives:[...Object.values(z3),...Object.values(j3),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ls.left1,labels:["1"]},{...ls.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 J={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 ps=e(J).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 ys=e(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var ss=e(J).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 ms=e(J).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var xs=e(J).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 ns=e(J).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 s0={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:$3,bounds:fs,refblocks:M3}=s0,cs=e({primitives:[...Object.values($3),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...M3.left1,labels:["1"]}],center:{x:fs.centerX,y:fs.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:C3,bounds:hs,refblocks:W3}=s0,ds=e({primitives:[...Object.values(C3),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...W3.left1,labels:["1"]}],center:{x:hs.centerX,y:hs.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:N3,bounds:_s,refblocks:B3}=s0,bs=e({primitives:[...Object.values(N3),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...B3.left1,labels:["1"]}],center:{x:_s.centerX,y:_s.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:I3,bounds:gs,refblocks:D3}=s0,us=e({primitives:[...Object.values(I3),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...D3.left1,labels:["1"]}],center:{x:gs.centerX,y:gs.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var vs={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 m0=e(vs).labelPort("left1",["1","pos","anode"]).labelPort("right1",["2","neg","cathode"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ws=o(m0,"down");var Ss=o(m0,"left");var x0={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,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:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var As=i(x0,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Ps=i(x0,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Rs=i(x0,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Fs=i(x0,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Ts=o(m0,"up");var n0={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,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:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.25,maxY:.25,width:.34999999999999987,height:.5,centerX:11102230246251565e-32,centerY:0},circles:{}};var Es=i(n0,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Vs=i(n0,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Ls=i(n0,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Ys=i(n0,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Xs={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 f0=e(Xs).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 hr=o(f0,"down"),dr=hr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_r=hr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dr.anchor="middle_bottom";_r.anchor="middle_top";dr.x=0;dr.y+=.537;_r.y-=.5375;_r.x=0;var ks=hr;var br=o(f0,"left"),gr=br.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ur=br.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gr.anchor="middle_bottom";ur.anchor="middle_top";gr.x=0;gr.y+=1;ur.y-=1;ur.x=0;var zs=br;var vr=o(f0,"up"),wr=vr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sr=vr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wr.anchor="middle_bottom";Sr.anchor="middle_top";wr.x=0;wr.y+=.537;Sr.y-=.5375;Sr.x=0;var js=vr;var Os={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 c0=e(Os).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 Ar=o(c0,"down"),Pr=Ar.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rr=Ar.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pr.anchor="middle_bottom";Rr.anchor="middle_top";Pr.x=0;Pr.y+=.565;Rr.y-=.555;Rr.x=0;var Js=Ar;var Fr=o(c0,"left"),Tr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Er=Fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tr.anchor="middle_bottom";Er.anchor="middle_top";Tr.x=0;Tr.y+=1.09;Er.y-=1.09;Er.x=0;var $s=Fr;var Vr=o(c0,"up"),Lr=Vr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yr=Vr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lr.anchor="middle_bottom";Yr.anchor="middle_top";Lr.x=0;Lr.y+=.565;Yr.y-=.555;Yr.x=0;var Ms=Vr;var Cs={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 h0=e(Cs).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Xr=o(h0,"down"),kr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zr=Xr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kr.anchor="middle_bottom";zr.anchor="middle_top";kr.x=.4;kr.y+=.265;zr.y-=.265;zr.x=.4;var Ws=Xr;var jr=o(h0,"left"),Or=jr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jr=jr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Or.anchor="middle_bottom";Jr.anchor="middle_top";Or.x=0;Or.y+=.67;Jr.y-=.67;Jr.x=0;var Ns=jr;var $r=o(h0,"up"),Mr=$r.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cr=$r.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mr.anchor="middle_bottom";Cr.anchor="middle_top";Mr.x=.46;Mr.y+=.265;Cr.y-=.265;Cr.x=.46;var Bs=$r;var Is={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 d0=e(Is).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Wr=o(d0,"down"),Nr=Wr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Br=Wr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nr.anchor="middle_bottom";Br.anchor="middle_top";Nr.x=.4;Nr.y+=.295;Br.y-=.295;Br.x=.42;var Ds=Wr;var Ir=o(d0,"left"),Dr=Ir.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),qr=Ir.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dr.anchor="middle_bottom";qr.anchor="middle_top";Dr.x=0;Dr.y+=.795;qr.y-=.795;qr.x=0;var qs=Ir;var Gr=o(d0,"up"),Hr=Gr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ur=Gr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hr.anchor="middle_bottom";Ur.anchor="middle_top";Hr.x=.46;Hr.y+=.315;Ur.y-=.315;Ur.x=.46;var Gs=Gr;var ct={paths:{"left-terminal-lead":{type:"path",points:[{x:-.7,y:.06000000000000005},{x:-.3938805999999999,y:.06000000000000005}],color:"primary",fill:!1},"diode-bridge":{type:"path",points:[{x:-.2763954999999998,y:.06000000000000005},{x:.27446270000000017,y:.06000000000000005}],color:"primary",fill:!1},"right-terminal-lead":{type:"path",points:[{x:.39193030000000006,y:.06000000000000005},{x:.7000000000000002,y:.06000000000000005}],color:"primary",fill:!1},"junction-lead":{type:"path",points:[{x:0,y:.06000000000000005},{x:0,y:-.2200000000000002}],color:"primary",fill:!1},"first-diode-body":{type:"path",points:[{x:-.3938805999999999,y:.12609950000000003},{x:-.2783806,y:.05897259999999993},{x:-.3938805999999999,y:-.007179100000000105},{x:-.3938805999999999,y:.12609950000000003}],color:"primary",fill:!1},"first-cathode-bar":{type:"path",points:[{x:-.2763954999999998,y:.1754652000000001},{x:-.2763954999999998,y:-.05455969999999999},{x:-.23000749999999992,y:-.05455969999999999},{x:-.23000749999999992,y:-.027900499999999884}],color:"primary",fill:!1},"first-cathode-upper-hook":{type:"path",points:[{x:-.32379350000000007,y:.13499749999999988},{x:-.3228009999999999,y:.1754652000000001},{x:-.2763954999999998,y:.1754652000000001}],color:"primary",fill:!1},"second-diode-body":{type:"path",points:[{x:.27446270000000017,y:.12609950000000003},{x:.3899626999999999,y:.05897259999999993},{x:.27446270000000017,y:-.007179100000000105},{x:.27446270000000017,y:.12609950000000003}],color:"primary",fill:!1},"second-cathode-bar":{type:"path",points:[{x:.39193030000000006,y:.1754652000000001},{x:.39193030000000006,y:-.05455969999999999},{x:.43931089999999995,y:-.05455969999999999},{x:.43931089999999995,y:-.027900499999999884}],color:"primary",fill:!1},"second-cathode-upper-hook":{type:"path",points:[{x:.3455249,y:.13499749999999988},{x:.3465174000000002,y:.1754652000000001},{x:.39193030000000006,y:.1754652000000001}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3400000000000001},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3400000000000001}},refblocks:{bottom1:{x:0,y:-.2200000000000002},left1:{x:-.7,y:.06000000000000005},right1:{x:.7000000000000002,y:.06000000000000005}},bounds:{minX:-.7,maxX:.7000000000000002,minY:-.3400000000000001,maxY:.3400000000000001,width:1.4000000000000001,height:.6800000000000002,centerX:11102230246251565e-32,centerY:0},circles:{"junction-dot":{type:"circle",x:0,y:.06000000000000005,radius:.024291,color:"primary",fill:!0}}};var e5={right:{reference:{x:0,y:.34},value:{x:0,y:-.34}},up:{reference:{x:.17,y:-.34},value:{x:-.17,y:-.34}},down:{reference:{x:-.17,y:.34},value:{x:.17,y:.34}}},q0=t=>{let l=e5[t],r=t==="up"||t==="down";return e({...ct,texts:{...ct.texts,top1:{...ct.texts.top1,...l.reference},bottom1:{...ct.texts.bottom1,...l.value}}}).labelPort("left1",["1","anode"]).labelPort("bottom1",["2","junction","common"]).labelPort("right1",["3","cathode"]).rotateRightFacingSymbol(t).changeTextAnchor("{REF}",r?"middle_left":"middle_bottom").changeTextAnchor("{VAL}",r?"middle_left":"middle_top").build()};var Hs=q0("down");var ce=q0("right");var Us=b(ce);var Zs=q0("up");var he={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:r5,texts:BF,bounds:de,refblocks:Ks,circles:i5}=he,_e=e({primitives:[...Object.values(r5),...Object.values(i5),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...Ks.left1,labels:["1"]},{...Ks.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Zr=Y(_e),Kr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Kr.anchor="middle_left";Qr.anchor="middle_left";Kr.y+=.4;Kr.x=.32;Qr.y-=.45;Qr.x=.32;var Qs=Zr;var be=e(he).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var tm=b(be);var $={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:a5,texts:lT,bounds:ge,refblocks:em,circles:p5}=$,om=e({primitives:[...Object.values(a5),...Object.values(p5),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...em.left1,labels:["1"]},{...em.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:y5,texts:sT,bounds:ue,refblocks:rm,circles:s5}=$,im=e({primitives:[...Object.values(y5),...Object.values(s5),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...rm.left1,labels:["1"]},{...rm.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:m5,texts:fT,bounds:ve,refblocks:lm,circles:x5}=$,am=e({primitives:[...Object.values(m5),...Object.values(x5),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...lm.left1,labels:["1"]},{...lm.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:n5,texts:_T,bounds:we,refblocks:pm,circles:f5}=$,ym=e({primitives:[...Object.values(n5),...Object.values(f5),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...pm.left1,labels:["1"]},{...pm.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:c5,texts:vT,bounds:Se,refblocks:sm,circles:h5}=$,mm=e({primitives:[...Object.values(c5),...Object.values(h5),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...sm.left1,labels:["1"]},{...sm.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:d5,texts:PT,bounds:Ae,refblocks:xm,circles:_5}=$,nm=e({primitives:[...Object.values(d5),...Object.values(_5),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...xm.left1,labels:["1"]},{...xm.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var fm={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:g5,texts:u5,bounds:Pe,refblocks:cm,circles:v5}=fm,ht=x({primitives:[...Object.values(g5),...Object.values(v5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...u5.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...cm.left1,labels:["1"]},{...cm.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}});var{5:w5,...S5}=ht.primitives;function A5(t){return typeof t=="object"}var hm=o({...ht,primitives:Object.values(S5).filter(A5)}),dm={...hm,primitives:[...hm.primitives,w5]};var _m={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:R5,texts:F5,bounds:Re,refblocks:bm}=_m,Fe=x({primitives:[...Object.values(R5),{...F5.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...bm.left1,labels:["1"]},{...bm.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}});var gm=o(Fe);var M={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 um=e(M).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var vm=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var wm=e(M).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Sm=e(M).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Am=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Pm=e(M).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var dt={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:sE,texts:mE,bounds:xE,refblocks:nE,circles:fE}=dt,Rm=e(dt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Fm=e(dt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Tm={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 _0=e(Tm).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 Em=o(_0,"down");var Vm=b(_0);var ti=o(_0,"up"),ei=ti.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),oi=ti.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ei.anchor="middle_left";oi.anchor="middle_left";ei.y+=.21;ei.x=.44;oi.y-=.21;oi.x=.44;var Lm=ti;var Ym={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 Te=e(Ym).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var ri=o(Te),ii=ri.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xm=ri.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ii.anchor="middle_left";Xm.anchor="middle_right";ii.x=.45;ii.y+=.065;Xm.y+=.065;var km=ri;var zm={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 Ee=e(zm).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var jm=o(Ee),Om=jm.primitives.filter(t=>t.type==="text"),li=Om.find(t=>t.text==="{VAL}");li.x=-.35;li.y=0;li.anchor="middle_right";var ai=Om.find(t=>t.text==="{REF}");ai.y=0;ai.x=.35;ai.anchor="middle_left";var Jm=jm;var b0={paths:{path8698:{type:"path",points:[{x:-.19796749999999919,y:-.023826854587889912},{x:-.2004570399999992,y:-.018993393814014044},{x:-.2029465799999992,y:-.014174384106555204},{x:-.20543611999999922,y:-.009384187436300498},{x:-.20792565999999923,y:-.004636988132081332},{x:-.21041519999999925,y:5329457033053167e-20},{x:-.21290473999999926,y:.004673092344940184},{x:-.21539427999999927,y:.009209271428771242},{x:-.21788381999999928,y:.013649213595881985},{x:-.2203733599999993,y:.01798089395292432},{x:-.2228628999999993,y:.022192955076609913},{x:-.22535243999999932,y:.02627477703600152},{x:-.22784197999999933,y:.030216542867918667},{x:-.23033151999999935,y:.03400929910178016},{x:-.23282105999999936,y:.03764501096072756},{x:-.23531059999999937,y:.04111661189869628},{x:-.23780013999999938,y:.04441804716802203},{x:-.2402896799999994,y:.04754431114897349},{x:-.2427792199999994,y:.05049147821106258},{x:-.24526875999999942,y:.053256726915861724},{x:-.24775829999999943,y:.05583835741211009},{x:-.25024783999999944,y:.05823580191586174},{x:-.25273737999999946,y:.060449628211062575},{x:-.25522691999999947,y:.0624815361489735},{x:-.2577164599999995,y:.06433434716802203},{x:-.2602059999999995,y:.06601198689869628},{x:-.2626955399999995,y:.06751946096072757},{x:-.2651850799999995,y:.06886282410178016},{x:-.26767461999999953,y:.07004914286791866},{x:-.27016415999999954,y:.0710864520360015},{x:-.27265369999999955,y:.07198370507660991},{x:-.27514323999999957,y:.07275071895292433},{x:-.2776327799999996,y:.07339811359588198},{x:-.2801223199999996,y:.07393724642877124},{x:-.2826118599999996,y:.07438014234494018},{x:-.2851013999999996,y:.07473941957033053},{x:-.28759093999999963,y:.07502821186791866},{x:-.29008047999999964,y:.07526008756369952},{x:-.29257001999999965,y:.07544896589344477},{x:-.29505955999999967,y:.07560903118598594},{x:-.2975490999999997,y:.07575464541211008},{x:-.30003863749999965,y:.07560903118598594},{x:-.3025281749999997,y:.07544896589344477},{x:-.30501771249999965,y:.07526008756369951},{x:-.3075072499999996,y:.07502821186791866},{x:-.30999678749999965,y:.07473941957033052},{x:-.3124863249999996,y:.07438014234494018},{x:-.3149758624999996,y:.07393724642877124},{x:-.31746539999999956,y:.07339811359588198},{x:-.3199549374999996,y:.07275071895292431},{x:-.32244447499999956,y:.07198370507660991},{x:-.32493401249999954,y:.0710864520360015},{x:-.32742354999999956,y:.07004914286791866},{x:-.32991308749999954,y:.06886282410178016},{x:-.3324026249999995,y:.06751946096072756},{x:-.33489216249999954,y:.06601198689869628},{x:-.3373816999999995,y:.06433434716802203},{x:-.3398712374999995,y:.06248153614897349},{x:-.3423607749999995,y:.06044962821106258},{x:-.3448503124999994,y:.05823580191586174},{x:-.34733984999999945,y:.05583835741211009},{x:-.3498293874999995,y:.053256726915861724},{x:-.35231892499999945,y:.050491478211062576},{x:-.3548084624999994,y:.0475443111489735},{x:-.3572979999999994,y:.04441804716802203},{x:-.35978753749999937,y:.04111661189869628},{x:-.3622770749999994,y:.03764501096072756},{x:-.36476661249999937,y:.03400929910178016},{x:-.36725614999999934,y:.030216542867918673},{x:-.36974568749999936,y:.02627477703600152},{x:-.37223522499999934,y:.022192955076609917},{x:-.3747247624999993,y:.017980893952924324},{x:-.37721429999999934,y:.013649213595881985},{x:-.3797038374999993,y:.00920927142877125},{x:-.3821933749999993,y:.004673092344940191},{x:-.3846829124999993,y:5329457033053514e-20},{x:-.3871724499999993,y:-.004636988132081328},{x:-.38966198749999925,y:-.009384187436300498},{x:-.3921515249999992,y:-.014174384106555197},{x:-.39464106249999925,y:-.01899339381401404},{x:-.3971305999999992,y:-.023826854587889912}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:.0011955000000007932,y:-.02382615458789039},{x:-.00129403749999919,y:-.01899269131401453},{x:-.0037835749999991734,y:-.014173679106555696},{x:-.006273112499999156,y:-.009383479936300985},{x:-.00876264999999914,y:-.004636278132081827},{x:-.011252187499999122,y:5400707033003174e-20},{x:-.013741724999999105,y:.004673807344939681},{x:-.016231262499999087,y:.009209988928770731},{x:-.018720799999999073,y:.013649933595881476},{x:-.021210337499999055,y:.017981616452923805},{x:-.023699874999999038,y:.022193680076609393},{x:-.026189412499999024,y:.026275504536001},{x:-.028678949999999002,y:.030217272867918137},{x:-.03116848749999899,y:.034010031601779636},{x:-.03365802499999897,y:.03764574596072702},{x:-.03614756249999895,y:.04111734939869574},{x:-.03863709999999894,y:.04441878716802149},{x:-.04112663749999892,y:.04754505364897295},{x:-.043616174999998904,y:.05049222321106203},{x:-.04610571249999888,y:.05325747441586117},{x:-.04859524999999887,y:.055839107412109526},{x:-.051084787499998854,y:.05823655441586117},{x:-.05357432499999884,y:.06045038321106201},{x:-.05606386249999881,y:.06248229364897292},{x:-.0585533999999988,y:.06433510716802145},{x:-.061042937499998784,y:.0660127493986957},{x:-.06353247499999877,y:.06752022596072697},{x:-.06602201249999876,y:.06886359160177957},{x:-.06851154999999873,y:.07004991286791806},{x:-.07100108749999871,y:.07108722453600091},{x:-.0734906249999987,y:.0719844800766093},{x:-.07598016249999869,y:.07275149645292371},{x:-.07846969999999867,y:.07339889359588138},{x:-.08095923749999864,y:.07393802892877062},{x:-.08344877499999863,y:.07438092734493956},{x:-.08593831249999861,y:.07474020707032991},{x:-.0884278499999986,y:.07502900186791804},{x:-.09091738749999859,y:.07526088006369888},{x:-.09340692499999856,y:.07544976089344414},{x:-.09589646249999854,y:.0756098286859853},{x:-.09838599999999853,y:.07575544541210943},{x:-.10087553999999854,y:.0756098286859853},{x:-.10336507999999855,y:.07544976089344414},{x:-.10585461999999857,y:.07526088006369887},{x:-.10834415999999858,y:.07502900186791804},{x:-.11083369999999859,y:.0747402070703299},{x:-.1133232399999986,y:.07438092734493956},{x:-.11581277999999862,y:.07393802892877062},{x:-.11830231999999863,y:.07339889359588138},{x:-.12079185999999864,y:.07275149645292371},{x:-.12328139999999865,y:.0719844800766093},{x:-.12577093999999867,y:.07108722453600091},{x:-.12826047999999868,y:.07004991286791806},{x:-.1307500199999987,y:.06886359160177957},{x:-.1332395599999987,y:.06752022596072697},{x:-.13572909999999871,y:.0660127493986957},{x:-.13821863999999873,y:.06433510716802145},{x:-.14070817999999874,y:.06248229364897291},{x:-.14319771999999875,y:.06045038321106202},{x:-.14568725999999876,y:.05823655441586117},{x:-.14817679999999878,y:.055839107412109526},{x:-.1506663399999988,y:.05325747441586117},{x:-.1531558799999988,y:.05049222321106202},{x:-.1556454199999988,y:.047545053648972956},{x:-.15813495999999883,y:.04441878716802149},{x:-.16062449999999884,y:.04111734939869574},{x:-.16311403999999885,y:.03764574596072702},{x:-.16560357999999886,y:.034010031601779636},{x:-.16809311999999887,y:.03021727286791814},{x:-.1705826599999989,y:.026275504536001},{x:-.1730721999999989,y:.022193680076609396},{x:-.1755617399999989,y:.017981616452923805},{x:-.17805127999999892,y:.013649933595881474},{x:-.18054081999999894,y:.00920998892877074},{x:-.18303035999999895,y:.0046738073449396865},{x:-.18551989999999896,y:5400707033003521e-20},{x:-.18800943999999897,y:-.004636278132081827},{x:-.19049897999999899,y:-.009383479936300985},{x:-.192988519999999,y:-.01417367910655569},{x:-.19547805999999898,y:-.018992691314014522},{x:-.19796759999999902,y:-.02382615458789039}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2003586000000006,y:-.02382615458789039},{x:.19786906000000057,y:-.01899269131401453},{x:.19537952000000058,y:-.014173679106555696},{x:.19288998000000057,y:-.009383479936300985},{x:.1904004400000006,y:-.004636278132081827},{x:.18791090000000055,y:5400707033003174e-20},{x:.1854213600000005,y:.004673807344939681},{x:.18293182000000052,y:.009209988928770731},{x:.1804422800000005,y:.013649933595881476},{x:.17795274000000053,y:.017981616452923805},{x:.17546320000000049,y:.022193680076609393},{x:.17297366000000047,y:.026275504536001},{x:.17048412000000046,y:.030217272867918137},{x:.16799458000000045,y:.034010031601779636},{x:.16550504000000044,y:.03764574596072702},{x:.16301550000000042,y:.04111734939869574},{x:.1605259600000004,y:.04441878716802149},{x:.1580364200000004,y:.04754505364897295},{x:.1555468800000004,y:.05049222321106203},{x:.15305734000000037,y:.05325747441586117},{x:.15056780000000036,y:.055839107412109526},{x:.14807826000000035,y:.05823655441586117},{x:.14558872000000034,y:.06045038321106201},{x:.14309918000000033,y:.06248229364897292},{x:.1406096400000003,y:.06433510716802145},{x:.1381201000000003,y:.0660127493986957},{x:.1356305600000003,y:.06752022596072697},{x:.13314102000000028,y:.06886359160177957},{x:.13065148000000026,y:.07004991286791806},{x:.12816194000000025,y:.07108722453600091},{x:.12567240000000024,y:.0719844800766093},{x:.12318286000000023,y:.07275149645292371},{x:.12069332000000021,y:.07339889359588138},{x:.1182037800000002,y:.07393802892877062},{x:.11571424000000019,y:.07438092734493956},{x:.11322470000000018,y:.07474020707032991},{x:.11073516000000017,y:.07502900186791804},{x:.10824562000000015,y:.07526088006369888},{x:.10575608000000014,y:.07544976089344414},{x:.10326654000000013,y:.0756098286859853},{x:.10077700000000012,y:.07575544541210943},{x:.09828746250000013,y:.0756098286859853},{x:.09579792500000014,y:.07544976089344414},{x:.09330838750000017,y:.07526088006369887},{x:.09081885000000019,y:.07502900186791804},{x:.0883293125000002,y:.0747402070703299},{x:.08583977500000022,y:.07438092734493956},{x:.08335023750000023,y:.07393802892877062},{x:.08086070000000026,y:.07339889359588138},{x:.07837116250000027,y:.07275149645292371},{x:.07588162500000029,y:.0719844800766093},{x:.0733920875000003,y:.07108722453600091},{x:.07090255000000031,y:.07004991286791806},{x:.06841301250000034,y:.06886359160177957},{x:.06592347500000036,y:.06752022596072697},{x:.06343393750000037,y:.0660127493986957},{x:.060944400000000384,y:.06433510716802145},{x:.0584548625000004,y:.06248229364897291},{x:.05596532500000043,y:.06045038321106202},{x:.05347578750000044,y:.05823655441586117},{x:.050986250000000455,y:.055839107412109526},{x:.04849671250000047,y:.05325747441586117},{x:.04600717500000048,y:.05049222321106202},{x:.04351763750000051,y:.047545053648972956},{x:.041028100000000525,y:.04441878716802149},{x:.03853856250000054,y:.04111734939869574},{x:.036049025000000554,y:.03764574596072702},{x:.03355948750000057,y:.034010031601779636},{x:.031069950000000596,y:.03021727286791814},{x:.02858041250000061,y:.026275504536001},{x:.026090875000000624,y:.022193680076609396},{x:.023601337500000638,y:.017981616452923805},{x:.021111800000000652,y:.013649933595881474},{x:.01862226250000068,y:.00920998892877074},{x:.016132725000000694,y:.0046738073449396865},{x:.013643187500000709,y:5400707033003521e-20},{x:.011153650000000723,y:-.004636278132081827},{x:.008664112500000737,y:-.009383479936300985},{x:.006174575000000764,y:-.01417367910655569},{x:.0036850375000007786,y:-.018992691314014522},{x:.0011955000000007932,y:-.02382615458789039}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.3995216000000006,y:-.02382615458789039},{x:.39703206250000056,y:-.01899269131401453},{x:.3945425250000006,y:-.014173679106555696},{x:.3920529875000006,y:-.009383479936300985},{x:.38956345000000064,y:-.004636278132081827},{x:.38707391250000067,y:5400707033003174e-20},{x:.3845843750000007,y:.004673807344939681},{x:.38209483750000073,y:.009209988928770731},{x:.37960530000000076,y:.013649933595881476},{x:.3771157625000008,y:.017981616452923805},{x:.37462622500000076,y:.022193680076609393},{x:.37213668750000073,y:.026275504536001},{x:.36964715000000076,y:.030217272867918137},{x:.3671576125000008,y:.034010031601779636},{x:.3646680750000008,y:.03764574596072702},{x:.36217853750000084,y:.04111734939869574},{x:.3596890000000008,y:.04441878716802149},{x:.3571994625000009,y:.04754505364897295},{x:.35470992500000087,y:.05049222321106203},{x:.35222038750000095,y:.05325747441586117},{x:.3497308500000009,y:.055839107412109526},{x:.3472413125000009,y:.05823655441586117},{x:.344751775000001,y:.06045038321106201},{x:.34226223750000095,y:.06248229364897292},{x:.33977270000000104,y:.06433510716802145},{x:.337283162500001,y:.0660127493986957},{x:.334793625000001,y:.06752022596072697},{x:.33230408750000107,y:.06886359160177957},{x:.3298145500000011,y:.07004991286791806},{x:.32732501250000107,y:.07108722453600091},{x:.3248354750000011,y:.0719844800766093},{x:.3223459375000011,y:.07275149645292371},{x:.3198564000000011,y:.07339889359588138},{x:.3173668625000012,y:.07393802892877062},{x:.31487732500000115,y:.07438092734493956},{x:.3123877875000012,y:.07474020707032991},{x:.3098982500000012,y:.07502900186791804},{x:.30740871250000124,y:.07526088006369888},{x:.30491917500000126,y:.07544976089344414},{x:.30242963750000124,y:.0756098286859853},{x:.29994010000000126,y:.07575544541210943},{x:.29745056000000125,y:.0756098286859853},{x:.29496102000000124,y:.07544976089344414},{x:.2924714800000012,y:.07526088006369887},{x:.2899819400000012,y:.07502900186791804},{x:.2874924000000012,y:.0747402070703299},{x:.2850028600000012,y:.07438092734493956},{x:.2825133200000012,y:.07393802892877062},{x:.28002378000000117,y:.07339889359588138},{x:.27753424000000115,y:.07275149645292371},{x:.27504470000000114,y:.0719844800766093},{x:.27255516000000113,y:.07108722453600091},{x:.2700656200000011,y:.07004991286791806},{x:.2675760800000011,y:.06886359160177957},{x:.2650865400000011,y:.06752022596072697},{x:.2625970000000011,y:.0660127493986957},{x:.26010746000000107,y:.06433510716802145},{x:.25761792000000105,y:.06248229364897291},{x:.25512838000000104,y:.06045038321106202},{x:.25263884000000103,y:.05823655441586117},{x:.250149300000001,y:.055839107412109526},{x:.247659760000001,y:.05325747441586117},{x:.245170220000001,y:.05049222321106202},{x:.24268068000000098,y:.047545053648972956},{x:.24019114000000097,y:.04441878716802149},{x:.23770160000000096,y:.04111734939869574},{x:.23521206000000094,y:.03764574596072702},{x:.23272252000000093,y:.034010031601779636},{x:.23023298000000092,y:.03021727286791814},{x:.2277434400000009,y:.026275504536001},{x:.2252539000000009,y:.022193680076609396},{x:.22276436000000088,y:.017981616452923805},{x:.22027482000000087,y:.013649933595881474},{x:.21778528000000086,y:.00920998892877074},{x:.21529574000000085,y:.0046738073449396865},{x:.21280620000000083,y:5400707033003521e-20},{x:.21031666000000082,y:-.004636278132081827},{x:.2078271200000008,y:-.009383479936300985},{x:.2053375800000008,y:-.01417367910655569},{x:.20284804000000078,y:-.018992691314014522},{x:.20035850000000077,y:-.02382615458789039}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.40026109999999937,y:-.022544054587890106},{x:-.5272914999999991,y:-.022544054587890106}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.5282280000000006,y:-.027111054587890093},{x:.4011975999999997,y:-.027111054587890093}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.0020145999999989783,y:.22997364541210996},bottom1:{type:"text",text:"{VAL}",x:-.002185205294839676,y:-.22997364541210996}},refblocks:{left1:{x:-.5279125,y:-.021272154587890446},right1:{x:.5279125,y:-.026521254587889898}},bounds:{minX:-.556070941,maxX:.556070941,minY:-.22997364541210996,maxY:.22997364541210996,width:1.112141882,height:.4599472908242199,centerX:0,centerY:0},circles:{}};var $m=e(b0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right",{x:-.5,y:0}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:0}).build();var Mm=e(b0).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.5}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.5}).build();var Cm=e(b0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Wm=e(b0).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_left").build();var pi={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}}};pi.bounds.width+=.2;var g0=e(pi).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","anode","pos"]).labelPort("right1",["2","cathode","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var yi=o(g0,"down"),si=yi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mi=yi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");si.anchor="middle_left";mi.anchor="middle_left";si.y+=.9;si.x=.3;mi.y-=.1;mi.x=.3;var Nm=yi;var xi=o(g0,"left"),ni=xi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fi=xi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ni.anchor="middle_left";fi.anchor="middle_left";ni.y+=.71;ni.x=.44;fi.y-=.71;fi.x=.44;var Bm=xi;var ci=o(g0,"up"),hi=ci.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),di=ci.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hi.anchor="middle_left";di.anchor="middle_left";hi.y+=.1;hi.x=.3;di.y-=.71;di.x=.3;var Im=ci;var Dm={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:j5,texts:qm,bounds:Ve,refblocks:Gm,circles:O5}=Dm,G0=x({primitives:[...Object.values(j5),...Object.values(O5),{...qm.bottom1,anchor:"middle_top"},{...qm.right1,anchor:"middle_bottom"}],ports:[{...Gm.left1,labels:["1","anode","pos"]},{...Gm.right1,labels:["2","cathode","neg"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}});var _i=o(G0,"up"),bi=_i.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gi=_i.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bi.anchor="middle_left";gi.anchor="middle_left";bi.y+=.21;bi.x=.21;gi.y-=.21;gi.x=.21;var Le=_i;var ui=Y(Le),vi=ui.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wi=ui.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vi.anchor="middle_left";wi.anchor="middle_left";vi.y+=.4;vi.x=.2;wi.y-=.41;wi.x=.2;var Hm=ui;var Um=b(G0);var u0={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,y:0}],color:"primary",fill:!1},"emission-0-shaft":{type:"path",points:[{x:-.11999999999999988,y:.15999999999999992},{x:-.030000000000000027,y:.29000000000000004}],color:"primary",fill:!1},"emission-0-head":{type:"path",points:[{x:-.08499999999999996,y:.2699999999999998},{x:-.030000000000000027,y:.29000000000000004},{x:-.030000000000000027,y:.22999999999999998}],color:"primary",fill:!1},"emission-1-shaft":{type:"path",points:[{x:0,y:.15999999999999992},{x:.09000000000000008,y:.29000000000000004}],color:"primary",fill:!1},"emission-1-head":{type:"path",points:[{x:.03500000000000014,y:.2699999999999998},{x:.09000000000000008,y:.29000000000000004},{x:.09000000000000008,y:.22999999999999998}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3999999999999999},bottom1:{type:"text",text:"{VAL}",x:0,y:-.40000000000000013}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.40000000000000013,maxY:.3999999999999999,width:.5,height:.8,centerX:0,centerY:-11102230246251565e-32},circles:{}};var Zm=i(u0,{kind:"led",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Km=i(u0,{kind:"led",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Qm=i(u0,{kind:"led",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var tx=i(u0,{kind:"led",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var v0={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,y:0}],color:"primary",fill:!1},"emission-0-shaft":{type:"path",points:[{x:-.11999999999999988,y:.15999999999999992},{x:-.030000000000000027,y:.29000000000000004}],color:"primary",fill:!1},"emission-0-head":{type:"path",points:[{x:-.08499999999999996,y:.2699999999999998},{x:-.030000000000000027,y:.29000000000000004},{x:-.030000000000000027,y:.22999999999999998}],color:"primary",fill:!1},"emission-1-shaft":{type:"path",points:[{x:0,y:.15999999999999992},{x:.09000000000000008,y:.29000000000000004}],color:"primary",fill:!1},"emission-1-head":{type:"path",points:[{x:.03500000000000014,y:.2699999999999998},{x:.09000000000000008,y:.29000000000000004},{x:.09000000000000008,y:.22999999999999998}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3999999999999999},bottom1:{type:"text",text:"{VAL}",x:0,y:-.40000000000000013}},refblocks:{left1:{x:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.40000000000000013,maxY:.3999999999999999,width:.34999999999999987,height:.8,centerX:11102230246251565e-32,centerY:-11102230246251565e-32},circles:{}};var ex=i(v0,{kind:"led",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var ox=i(v0,{kind:"led",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var rx=i(v0,{kind:"led",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var ix=i(v0,{kind:"led",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var lx={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:C5,texts:ax,bounds:Ye,refblocks:px,circles:W5}=lx,Xe=x({primitives:[...Object.values(C5),...Object.values(W5),{...ax.top1,anchor:"middle_left",x:0},{...ax.bottom1,anchor:"middle_left",x:0}],ports:[{...px.left1,labels:["1"]},{...px.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}});var yx=o(Xe),sx=yx.primitives.filter(t=>t.type==="text"),Si=sx.find(t=>t.text==="{VAL}");Si.x=-.35;Si.y=0;Si.anchor="middle_right";var Ai=sx.find(t=>t.text==="{REF}");Ai.y=0;Ai.x=.35;Ai.anchor="middle_left";var mx=yx;var xx={paths:{path208:{type:"path",points:[{x:.38,y:.13},{x:.52,y:-.13}],color:"primary",fill:!1},path209:{type:"path",points:[{x:.25,y:-.13},{x:.38,y:.13}],color:"primary",fill:!1},path210:{type:"path",points:[{x:.52,y:-.13},{x:.25,y:-.13}],color:"primary",fill:!1},path211:{type:"path",points:[{x:.25,y:.13},{x:.52,y:.13}],color:"primary",fill:!1},path212:{type:"path",points:[{x:.12,y:-.4},{x:.38,y:-.4}],color:"primary",fill:!1},path213:{type:"path",points:[{x:.38,y:.4},{x:.12,y:.4}],color:"primary",fill:!1},path214:{type:"path",points:[{x:.12,y:.54},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.54},{x:.12,y:0}],color:"primary",fill:!1},path216:{type:"path",points:[{x:.38,y:-.4},{x:.38,y:.4}],color:"primary",fill:!1},path217:{type:"path",points:[{x:-.14,y:.26},{x:-.14,y:-.27}],color:"primary",fill:!1},path218:{type:"path",points:[{x:-.22,y:-.27},{x:-.22,y:.26}],color:"primary",fill:!1},path219:{type:"path",points:[{x:-.54,y:-.27},{x:-.22,y:-.27}],color:"primary",fill:!1},path220:{type:"path",points:[{x:-.14,y:-.19},{x:.12,y:-.19}],color:"primary",fill:!1},path221:{type:"path",points:[{x:-.14,y:.18},{x:.12,y:.18}],color:"primary",fill:!1},path222:{type:"path",points:[{x:-.07,y:0},{x:.12,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{VAL}",x:.57,y:.02},right2:{type:"text",text:"{REF}",x:.57,y:.21}},refblocks:{top1:{x:.12,y:.54},bottom1:{x:.12,y:-.54},left1:{x:-.54,y:-.27}},bounds:{minX:-.57,maxX:.57,minY:-.57,maxY:.57,width:1.14,height:1.14,centerX:0,centerY:0},circles:{}};function I(t,l){return{width:Math.max(...l.map(r=>Math.abs(r.x-t.x)))*2,height:Math.max(...l.map(r=>Math.abs(r.y-t.y)))*2}}var{paths:B5,texts:nx,bounds:fx,refblocks:H0}=xx,cx={x:fx.centerX+.2,y:fx.centerY},ke=x({primitives:[...Object.values(B5),{...nx.right1,anchor:"middle_left"},{...nx.right2,anchor:"middle_left"}],ports:[{...H0.top1,labels:["1"]},{...H0.bottom1,labels:["2"]},{...H0.left1,labels:["3"]}],size:I(cx,[H0.top1,H0.bottom1,H0.left1]),center:cx});var Pi=o(ke),hx=Pi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ri=Pi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hx.anchor="middle_top";Ri.anchor="middle_top";hx.x=Ri.x;Ri.y+=.15;var dx=Pi;var _x={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:D5,texts:bx,bounds:ze,refblocks:gx,circles:q5}=_x,je=x({primitives:[...Object.values(D5),...Object.values(q5),{...bx.top1,anchor:"middle_bottom",x:0},{...bx.bottom1,anchor:"middle_top",x:0}],ports:[{...gx.left1,labels:["1"]},{...gx.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX+.006,y:ze.centerY+.06}});var Fi=o(je),_t=Fi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Oe=Fi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_t.anchor="middle_left";Oe.anchor="middle_right";_t.x=_t.x-.03;_t.y=_t.y;Oe.x=Oe.x;Oe.y=0;var ux=Fi;var n=({horizontalSymbol:t,verticalSymbol:l,gateSide:r,drainSide:y})=>{let s=r==="left"||r==="right",p=y==="left"||y==="right";if(s===p)throw new Error(`Invalid MOSFET orientation: gate ${r}, drain ${y}. Gate and drain must be perpendicular.`);let c=s?t:l;return(r==="right"||p&&y==="left")&&(c=b(c)),(r==="bottom"||!p&&y==="bottom")&&(c=Y(c)),c};var vx={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:H5,texts:wx,bounds:Sx,refblocks:W0,circles:U5}=vx,Ax={x:Sx.centerX,y:Sx.centerY},Z5={x:Ax.x,y:W0.left1.y},u=x({primitives:[...Object.values(H5),...Object.values(U5),{...wx.top1,anchor:"middle_right",x:0},{...wx.bottom1,anchor:"middle_right",x:0}],ports:[{...W0.top1,labels:["1","drain"]},{...W0.bottom1,labels:["2","source"]},{...W0.left1,labels:["3","gate"]}],size:I(Ax,[W0.top1,W0.bottom1,W0.left1]),center:Z5});var Px=o(u),Rx=Px.primitives.filter(t=>t.type==="text"),Ti=Rx.find(t=>t.text==="{VAL}");Ti.x=-.35;Ti.y=0;Ti.anchor="middle_right";var Ei=Rx.find(t=>t.text==="{REF}");Ei.y=0;Ei.x=.35;Ei.anchor="middle_left";var P=Px;var Fx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"left"});var Tx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"bottom",drainSide:"right"});var Ex=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"bottom"});var Vx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"left",drainSide:"top"});var Lx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"bottom"});var Yx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"right",drainSide:"top"});var Xx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"left"});var kx=n({horizontalSymbol:u,verticalSymbol:P,gateSide:"top",drainSide:"right"});var zx={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:Q5,texts:jx,bounds:Ox,refblocks:U0,circles:td}=zx,Jx={x:Ox.centerX,y:Ox.centerY},v=x({primitives:[...Object.values(Q5),...Object.values(td),{...jx.top1,anchor:"middle_right",x:0},{...jx.bottom1,anchor:"middle_right",x:0}],ports:[{...U0.top1,labels:["1","drain"]},{...U0.bottom1,labels:["2","source"]},{...U0.left1,labels:["3","gate"]}],size:I(Jx,[U0.top1,U0.bottom1,U0.left1]),center:Jx});var $x=o(v),Mx=$x.primitives.filter(t=>t.type==="text"),Vi=Mx.find(t=>t.text==="{VAL}");Vi.x=-.35;Vi.y=0;Vi.anchor="middle_right";var Li=Mx.find(t=>t.text==="{REF}");Li.y=0;Li.x=.35;Li.anchor="middle_left";var R=$x;var Cx=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"bottom",drainSide:"left"});var Wx=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"bottom",drainSide:"right"});var Nx=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"left",drainSide:"bottom"});var Bx=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"left",drainSide:"top"});var Ix=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"right",drainSide:"bottom"});var Dx=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"right",drainSide:"top"});var qx=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"top",drainSide:"left"});var Gx=n({horizontalSymbol:v,verticalSymbol:R,gateSide:"top",drainSide:"right"});var Hx={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:od,texts:Ux,bounds:Je,refblocks:Yi,circles:rd}=Hx,$e=x({primitives:[...Object.values(od),...Object.values(rd),{...Ux.top1,anchor:"middle_right",x:0},{...Ux.bottom1,anchor:"middle_right",x:0}],ports:[{...Yi.top1,labels:["1","drain"]},{...Yi.bottom1,labels:["2","source"]},{...Yi.left1,labels:["3","gate"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}});var Zx=o($e),Kx=Zx.primitives.filter(t=>t.type==="text"),Xi=Kx.find(t=>t.text==="{VAL}");Xi.x=-.35;Xi.y=0;Xi.anchor="middle_right";var ki=Kx.find(t=>t.text==="{REF}");ki.y=0;ki.x=.35;ki.anchor="middle_left";var Qx=Zx;var t1={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:ld,bounds:e1,refblocks:ad}=t1,w0=e({primitives:[...Object.values(ld)],ports:[{...ad.left1,labels:["1"]}],center:{x:e1.centerX,y:e1.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var o1=o(w0,"down");var r1=o(w0,"left");var i1=o(w0,"up");var C={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:yd,texts:AX,bounds:Me,refblocks:zi,circles:sd}=C,l1=e({primitives:[...Object.values(yd),...Object.values(sd),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...zi.top1,labels:["1","collector"]},{...zi.bottom1,labels:["3","emitter"]},{...zi.left1,labels:["2","base"]}],size:{width:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:md,texts:TX,bounds:Ce,refblocks:ji,circles:xd}=C,a1=e({primitives:[...Object.values(md),...Object.values(xd),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...ji.top1,labels:["1","collector"]},{...ji.bottom1,labels:["3","emitter"]},{...ji.left1,labels:["2","base"]}],size:{width:Ce.width,height:Ce.height},center:{x:Ce.centerX,y:Ce.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:nd,texts:YX,bounds:We,refblocks:Oi,circles:fd}=C,p1=e({primitives:[...Object.values(nd),...Object.values(fd),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...Oi.top1,labels:["1","collector"]},{...Oi.bottom1,labels:["3","emitter"]},{...Oi.left1,labels:["2","base"]}],size:{width:We.width,height:We.height},center:{x:We.centerX,y:We.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:cd,texts:jX,bounds:Ne,refblocks:Ji,circles:hd}=C,y1=e({primitives:[...Object.values(cd),...Object.values(hd),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Ji.top1,labels:["1","collector"]},{...Ji.bottom1,labels:["3","emitter"]},{...Ji.left1,labels:["2","base"]}],size:{width:Ne.width,height:Ne.height},center:{x:Ne.centerX,y:Ne.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:dd,texts:MX,bounds:Be,refblocks:$i,circles:_d}=C,s1=e({primitives:[...Object.values(dd),...Object.values(_d),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...$i.top1,labels:["1","collector"]},{...$i.bottom1,labels:["3","emitter"]},{...$i.left1,labels:["2","base"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:bd,texts:BX,bounds:Ie,refblocks:Mi,circles:gd}=C,m1=e({primitives:[...Object.values(bd),...Object.values(gd),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...Mi.top1,labels:["1","collector"]},{...Mi.bottom1,labels:["3","emitter"]},{...Mi.left1,labels:["2","base"]}],size:{width:Ie.width,height:Ie.height},center:{x:Ie.centerX,y:Ie.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var x1={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var S0=e(x1).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var n1=o(S0,"down");var f1=Y(o(S0,"left"));var c1=o(S0,"up");var h1={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.57,maxX:.43,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:-.07,centerY:.05},circles:{}};var A0=e(h1).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 d1=o(A0,"down");var _1=Y(o(A0,"left"));var b1=o(A0,"up");var g1={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:Sd,texts:u1,bounds:v1,refblocks:Z0,circles:Ad}=g1,w1={x:v1.centerX,y:v1.centerY},w=x({primitives:[...Object.values(Sd),...Object.values(Ad),{...u1.top1,anchor:"middle_right",x:0},{...u1.bottom1,anchor:"middle_right",x:0}],ports:[{...Z0.top1,labels:["1","drain"]},{...Z0.bottom1,labels:["2","source"]},{...Z0.left1,labels:["3","gate"]}],size:I(w1,[Z0.top1,Z0.bottom1,Z0.left1]),center:w1});var S1=o(w),A1=S1.primitives.filter(t=>t.type==="text"),Ci=A1.find(t=>t.text==="{VAL}");Ci.x=-.35;Ci.y=0;Ci.anchor="middle_right";var Wi=A1.find(t=>t.text==="{REF}");Wi.y=0;Wi.x=.35;Wi.anchor="middle_left";var F=S1;var P1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"bottom",drainSide:"left"});var R1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"bottom",drainSide:"right"});var F1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"left",drainSide:"bottom"});var T1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"left",drainSide:"top"});var E1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"right",drainSide:"bottom"});var V1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"right",drainSide:"top"});var L1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"top",drainSide:"left"});var Y1=n({horizontalSymbol:w,verticalSymbol:F,gateSide:"top",drainSide:"right"});var X1={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:Rd,texts:k1,bounds:z1,refblocks:K0,circles:Fd}=X1,j1={x:z1.centerX,y:z1.centerY},S=x({primitives:[...Object.values(Rd),...Object.values(Fd),{...k1.top1,anchor:"middle_right",x:0},{...k1.bottom1,anchor:"middle_right",x:0}],ports:[{...K0.top1,labels:["1","drain"]},{...K0.bottom1,labels:["2","source"]},{...K0.left1,labels:["3","gate"]}],size:I(j1,[K0.top1,K0.bottom1,K0.left1]),center:j1});var O1=o(S),J1=O1.primitives.filter(t=>t.type==="text"),Ni=J1.find(t=>t.text==="{VAL}");Ni.x=-.35;Ni.y=0;Ni.anchor="middle_right";var Bi=J1.find(t=>t.text==="{REF}");Bi.y=0;Bi.x=.35;Bi.anchor="middle_left";var T=O1;var $1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"bottom",drainSide:"left"});var M1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"bottom",drainSide:"right"});var C1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"left",drainSide:"bottom"});var W1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"left",drainSide:"top"});var N1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"right",drainSide:"bottom"});var B1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"right",drainSide:"top"});var I1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"top",drainSide:"left"});var D1=n({horizontalSymbol:S,verticalSymbol:T,gateSide:"top",drainSide:"right"});var q1={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 De=e(q1).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var G1=o(De),Ed=G1.primitives.filter(t=>t.type==="text"),H1=Ed.find(t=>t.text==="{REF}");H1.y=0;H1.anchor="middle_left";var U1=G1;var Q0={paths:{enclosure:{type:"path",points:[{x:-.5,y:.2749999999999999},{x:.5,y:.2749999999999999},{x:.5,y:-.27500000000000013},{x:-.5,y:-.27500000000000013},{x:-.5,y:.2749999999999999}],color:"primary",fill:!1},"pin-one-lead":{type:"path",points:[{x:-.6499999999999999,y:.10833329999999997},{x:-.5,y:.10833329999999997}],color:"primary",fill:!1},"pin-two-lead":{type:"path",points:[{x:-.6499999999999999,y:-.10833329999999997},{x:-.5,y:-.10833329999999997}],color:"primary",fill:!1},"pin-four-lead":{type:"path",points:[{x:.5,y:.10833329999999997},{x:.6499999999999999,y:.10833329999999997}],color:"primary",fill:!1},"pin-three-lead":{type:"path",points:[{x:.5,y:-.10833329999999997},{x:.6499999999999999,y:-.10833329999999997}],color:"primary",fill:!1},"led-anode-lead":{type:"path",points:[{x:-.5,y:.10833329999999997},{x:-.2749999999999999,y:.10833329999999997},{x:-.2749999999999999,y:.04999999999999982}],color:"primary",fill:!1},"led-body":{type:"path",points:[{x:-.32499999999999996,y:.04999999999999982},{x:-.22499999999999987,y:.04999999999999982},{x:-.2749999999999999,y:-.050000000000000044},{x:-.32499999999999996,y:.04999999999999982}],color:"primary",fill:!1},"led-cathode":{type:"path",points:[{x:-.32499999999999996,y:-.050000000000000044},{x:-.22499999999999987,y:-.050000000000000044}],color:"primary",fill:!1},"led-cathode-lead":{type:"path",points:[{x:-.2749999999999999,y:-.050000000000000044},{x:-.2749999999999999,y:-.10833329999999997},{x:-.5,y:-.10833329999999997}],color:"primary",fill:!1},collector:{type:"path",points:[{x:.5,y:.10833329999999997},{x:.3700000000000001,y:.10833329999999997},{x:.28000000000000025,y:.05499999999999994}],color:"primary",fill:!1},"transistor-base":{type:"path",points:[{x:.28000000000000025,y:.08499999999999996},{x:.28000000000000025,y:-.08499999999999996}],color:"primary",fill:!1},emitter:{type:"path",points:[{x:.28000000000000025,y:-.05500000000000016},{x:.375,y:-.10833329999999997},{x:.5,y:-.10833329999999997}],color:"primary",fill:!1},"emitter-arrow":{type:"path",points:[{x:.31620000000000004,y:-.09600000000000009},{x:.365,y:-.10270000000000024},{x:.3338000000000001,y:-.06460000000000021}],color:"primary",fill:!1},"light-ray-one":{type:"path",points:[{x:-.1299999999999999,y:.10499999999999998},{x:.1050000000000002,y:.009999999999999787}],color:"primary",fill:!1},"light-ray-one-head":{type:"path",points:[{x:.04700000000000015,y:.014000000000000012},{x:.1050000000000002,y:.009999999999999787},{x:.06099999999999994,y:.04699999999999993}],color:"primary",fill:!1},"light-ray-two":{type:"path",points:[{x:-.1299999999999999,y:-.0050000000000001155},{x:.1050000000000002,y:-.10000000000000009}],color:"primary",fill:!1},"light-ray-two-head":{type:"path",points:[{x:.04700000000000015,y:-.09600000000000009},{x:.1050000000000002,y:-.10000000000000009},{x:.06099999999999994,y:-.06300000000000017}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.3800000000000001},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3800000000000001}},refblocks:{left1:{x:-.6499999999999999,y:-.10833333333330031},left2:{x:-.6499999999999999,y:.10833333333329986},right1:{x:.6499999999999999,y:-.10833333333330031},right2:{x:.6499999999999999,y:.10833333333329986}},bounds:{minX:-.6499999999999999,maxX:.6499999999999999,minY:-.3800000000000001,maxY:.3800000000000001,width:1.2999999999999998,height:.7600000000000002,centerX:0,centerY:0},circles:{}};var Z1=e(Q0).labelPort("left1",["2","cathode","input_cathode"]).labelPort("left2",["1","anode","input_anode"]).labelPort("right1",["3","emitter","output_emitter"]).labelPort("right2",["4","collector","output_collector"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("down").build();var qe=e(Q0).labelPort("left1",["2","cathode","input_cathode"]).labelPort("left2",["1","anode","input_anode"]).labelPort("right1",["3","emitter","output_emitter"]).labelPort("right2",["4","collector","output_collector"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").build();var K1=b(qe);var Q1=e(Q0).labelPort("left1",["2","cathode","input_cathode"]).labelPort("left2",["1","anode","input_anode"]).labelPort("right1",["3","emitter","output_emitter"]).labelPort("right2",["4","collector","output_collector"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").build();var tn={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:Yd,texts:en,bounds:Ge,refblocks:Ii,circles:Xd}=tn,He=x({primitives:[...Object.values(Yd),...Object.values(Xd),{...en.top1,anchor:"middle_right",x:0},{...en.bottom1,anchor:"middle_right"}],ports:[{...Ii.top1,labels:["1","drain"]},{...Ii.bottom1,labels:["2","source"]},{...Ii.left1,labels:["3","gate"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX,y:Ge.centerY}});var on=o(He),rn=on.primitives.filter(t=>t.type==="text"),Di=rn.find(t=>t.text==="{VAL}");Di.x=-.35;Di.y=0;Di.anchor="middle_right";var qi=rn.find(t=>t.text==="{REF}");qi.y=0;qi.x=.35;qi.anchor="middle_left";var ln=on;var L={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:zd,texts:uj,bounds:Ue,refblocks:Gi,circles:jd}=L,an=e({primitives:[...Object.values(zd),...Object.values(jd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Gi.top1,labels:["1","collector"]},{...Gi.bottom1,labels:["3","emitter"]},{...Gi.left1,labels:["2","base"]}],size:{width:Ue.width,height:Ue.height},center:{x:Ue.centerX,y:Ue.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:Aj,texts:Pj,bounds:Rj,refblocks:Fj,circles:Tj}=L,pn=e(L).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["2","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["3","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Od,texts:Yj,bounds:Ze,refblocks:Hi,circles:Jd}=L,yn=e({primitives:[...Object.values(Od),...Object.values(Jd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Hi.top1,labels:["1","collector"]},{...Hi.bottom1,labels:["3","emitter"]},{...Hi.left1,labels:["2","base"]}],size:{width:Ze.width,height:Ze.height},center:{x:Ze.centerX,y:Ze.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:$d,texts:jj,bounds:Ke,refblocks:Ui,circles:Md}=L,sn=e({primitives:[...Object.values($d),...Object.values(Md),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Ui.top1,labels:["1","collector"]},{...Ui.bottom1,labels:["3","emitter"]},{...Ui.left1,labels:["2","base"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:Cd,texts:Mj,bounds:Qe,refblocks:Zi,circles:Wd}=L,mn=e({primitives:[...Object.values(Cd),...Object.values(Wd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Zi.top1,labels:["1","collector"]},{...Zi.bottom1,labels:["3","emitter"]},{...Zi.left1,labels:["2","base"]}],size:{width:Qe.width,height:Qe.height},center:{x:Qe.centerX,y:Qe.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Nd,texts:Bj,bounds:to,refblocks:Ki,circles:Bd}=L,xn=e({primitives:[...Object.values(Nd),...Object.values(Bd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Ki.top1,labels:["1","collector"]},{...Ki.bottom1,labels:["3","emitter"]},{...Ki.left1,labels:["2","base"]}],size:{width:to.width,height:to.height},center:{x:to.centerX,y:to.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var nn={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:Dd,texts:fn,bounds:eo,refblocks:cn}=nn,oo=x({primitives:[...Object.values(Dd),{...fn.bottom1,y:.35,anchor:"middle_top"},{...fn.top1,anchor:"middle_left"}],ports:[{...cn.left1,labels:["1"]},{...cn.right1,labels:["2"]}],size:{width:eo.width+.05,height:eo.height},center:{x:eo.centerX,y:eo.centerY}});var qd=o(oo),hn=qd;var dn={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path24:{type:"path",points:[{x:.29,y:-.29},{x:.26,y:-.16},{x:.16,y:-.26},{x:.29,y:-.29}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.2,y:-.2}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:Hd,texts:_n,bounds:ro,refblocks:bn}=dn,P0=x({primitives:[...Object.values(Hd),{..._n.bottom1,x:0,y:-.35,anchor:"middle_top"},{..._n.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...bn.left1,labels:["1"]},{...bn.right1,labels:["2"]}],size:{width:ro.width+.05,height:ro.height},center:{x:ro.centerX,y:ro.centerY}});var Qi=o(P0,"down"),t9=Qi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),e9=Qi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");t9.anchor="middle_left";e9.anchor="middle_left";t9.y+=.31;t9.x=.34;e9.y-=.31;e9.x=.34;var gn=Qi;var o9=o(P0,"left"),r9=o9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),i9=o9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");r9.anchor="middle_bottom";i9.anchor="middle_top";r9.y+=.73;r9.x=0;i9.y-=.7;i9.x=0;var un=o9;var l9=o(P0,"up"),a9=l9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),p9=l9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");a9.anchor="middle_left";p9.anchor="middle_left";a9.y+=.21;a9.x=.34;p9.y-=.21;p9.x=.34;var vn=l9;var R0={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:Zd,texts:hO,bounds:io,refblocks:y9,circles:Kd}=R0,wn=e({primitives:[...Object.values(Zd),...Object.values(Kd),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...y9.left,labels:["1"]},{...y9.right,labels:["3"]},{...y9.bottom,labels:["2"]}],size:{width:io.width,height:io.height},center:{x:io.centerX,y:io.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Qd,texts:gO,bounds:lo,refblocks:s9,circles:t4}=R0,Sn=e({primitives:[...Object.values(Qd),...Object.values(t4),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...s9.left,labels:["1"]},{...s9.right,labels:["3"]},{...s9.bottom,labels:["2"]}],size:{width:lo.width,height:lo.height},center:{x:lo.centerX,y:lo.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var An=e(R0).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:e4,texts:RO,bounds:ao,refblocks:m9,circles:o4}=R0,Pn=e({primitives:[...Object.values(e4),...Object.values(o4),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...m9.left,labels:["1"]},{...m9.right,labels:["3"]},{...m9.bottom,labels:["2"]}],size:{width:ao.width,height:ao.height},center:{x:ao.centerX,y:ao.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Rn={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:i4,texts:LO,bounds:po,refblocks:Fn,circles:l4}=Rn,yo=x({primitives:[...Object.values(i4),...Object.values(l4),{type:"text",text:"{REF}",x:0,y:.43330070000000065,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.43330070000000065,anchor:"middle_top"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...Fn.left1,labels:["1"]},{...Fn.right1,labels:["2"]}],size:{width:po.width,height:po.height},center:{x:po.centerX,y:po.centerY}});var Tn=o(yo),f9=Tn.primitives.filter(t=>t.type==="text"),x9=f9.find(t=>t.text==="{REF}"),c9=f9.find(t=>t.text==="{VAL}"),n9=f9.find(t=>t.text==="COS \u03C6");x9.x=.35;x9.y=.4279000000000375,x9.anchor="middle_left";c9.anchor="middle_left";c9.x=.35;c9.y=-.4279000000000375,n9.x=0;n9.y=.014279000000000375,n9.anchor="center";var En=Tn;var Vn={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:p4,texts:Ln,bounds:Yn,refblocks:Xn,circles:y4}=Vn,so=x({primitives:[...Object.values(p4),...Object.values(y4),{...Ln.top1,anchor:"middle_left"},{...Ln.bottom1,anchor:"middle_left"}],ports:[{...Xn.left1,labels:["1"]},{...Xn.right1,labels:["2"]}],center:{x:Yn.centerX,y:Yn.centerY}});var kn=o(so,"up");var mo={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:m4,texts:zn,bounds:x4,refblocks:h9,circles:n4}=mo,D=x({primitives:[...Object.values(m4),...Object.values(n4),{...zn.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...zn.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...h9.left1,labels:["1"]},{...h9.right1,labels:["2"]}],center:{x:x4.centerX,y:h9.left1.y}});var d9=o(D,"down"),_9=d9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),b9=d9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_9.anchor="middle_bottom";b9.anchor="middle_top";_9.y=.4;_9.x=.35;b9.y=-.4;b9.x=.35;var jn=d9;var{paths:f4,texts:On,bounds:c4,refblocks:g9,circles:h4}=mo,Jn=x({primitives:[...Object.values(f4),...Object.values(h4),{...On.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...On.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...g9.left1,labels:["1"]},{...g9.right1,labels:["2"]}],center:{x:c4.centerX,y:g9.left1.y}});var u9=o(D,"left"),v9=u9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),w9=u9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");v9.anchor="middle_bottom";w9.anchor="middle_top";v9.y=.4;v9.x=0;w9.y=-.4;w9.x=0;var $n=u9;var S9=o(D,"up"),A9=S9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),P9=S9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");A9.anchor="middle_left";P9.anchor="middle_left";A9.y+=.4;A9.x=.34;P9.y-=.41;P9.x=.34;var Mn=S9;var R9=o(D,"up"),F9=R9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),T9=R9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");F9.anchor="middle_left";T9.anchor="middle_left";F9.y+=.4;F9.x=.34;T9.y-=.41;T9.x=.34;var Cn=R9;var F0={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:_4,texts:xJ,bounds:Wn,refblocks:b4,circles:g4}=F0,Nn=e({primitives:[...Object.values(_4),...Object.values(g4),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...b4.left1,labels:["1"]}],center:{x:Wn.centerX,y:Wn.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:u4,texts:hJ,bounds:Bn,refblocks:v4,circles:w4}=F0,In=e({primitives:[...Object.values(u4),...Object.values(w4),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...v4.left1,labels:["1"]}],center:{x:Bn.centerX,y:Bn.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:S4,texts:gJ,bounds:Dn,refblocks:A4,circles:P4}=F0,qn=e({primitives:[...Object.values(S4),...Object.values(P4),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...A4.left1,labels:["1"]}],center:{x:Dn.centerX,y:Dn.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:R4,texts:SJ,bounds:Gn,refblocks:F4}=F0,Hn=e({primitives:[...Object.values(R4),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...F4.left1,labels:["1"]}],center:{x:Gn.centerX,y:Gn.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Un={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:E4,texts:Zn,bounds:xo,refblocks:no,circles:V4}=Un,fo=x({primitives:[...Object.values(E4),...Object.values(V4),{...Zn.top1,anchor:"middle_right"},{...Zn.bottom1,anchor:"middle_right"}],ports:[{...no.top1,labels:["1"]},{...no.bottom1,labels:["2"]},{...no.left1,labels:["3"]},{...no.right1,labels:["4"]}],size:{width:xo.width,height:xo.height},center:{x:xo.centerX,y:xo.centerY}});var E9=o(fo),L4=E9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Y4=E9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");L4.anchor="middle_left";Y4.anchor="middle_right";var Kn=E9;var T0={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:k4,texts:zJ,bounds:co,refblocks:Qn,circles:z4}=T0,t2=e({primitives:[...Object.values(k4),...Object.values(z4),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Qn.left1,labels:["1"]},{...Qn.right1,labels:["2"]}],size:{width:co.width,height:co.height},center:{x:co.centerX,y:co.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:j4,texts:$J,bounds:ho,refblocks:e2,circles:O4}=T0,o2=e({primitives:[...Object.values(j4),...Object.values(O4),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...e2.left1,labels:["1"]},{...e2.right1,labels:["2"]}],size:{width:ho.width,height:ho.height},center:{x:ho.centerX,y:ho.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:J4,texts:NJ,bounds:_o,refblocks:r2,circles:$4}=T0,i2=e({primitives:[...Object.values(J4),...Object.values($4),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...r2.left1,labels:["1"]},{...r2.right1,labels:["2"]}],size:{width:_o.width,height:_o.height},center:{x:_o.centerX,y:_o.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var E0={paths:{"left-lead":{type:"path",points:[{x:-.25,y:0},{x:-.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.16,y:0},{x:-.12,y:.095},{x:-.07,y:-.095},{x:-.02,y:.095},{x:.02,y:-.095},{x:.07,y:.095},{x:.12,y:-.095},{x:.16,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.16,y:0},{x:.25,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var l2=i(E0,{kind:"resistor",orientation:"down"});var a2=i(E0,{kind:"resistor",orientation:"left"});var p2=i(E0,{kind:"resistor",orientation:"right"});var y2=i(E0,{kind:"resistor",orientation:"up"});var{paths:C4,texts:a$,bounds:bo,refblocks:s2,circles:W4}=T0,m2=e({primitives:[...Object.values(C4),...Object.values(W4),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...s2.left1,labels:["1"]},{...s2.right1,labels:["2"]}],size:{width:bo.width,height:bo.height},center:{x:bo.centerX,y:bo.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var V0={paths:{"left-lead":{type:"path",points:[{x:-.175,y:0},{x:-.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},zigzag:{type:"path",points:[{x:-.115,y:0},{x:-.07,y:.095},{x:-.025,y:-.095},{x:.025,y:.095},{x:.07,y:-.095},{x:.115,y:0}],color:"primary",fill:!1,strokeWidth:.02},"right-lead":{type:"path",points:[{x:.115,y:0},{x:.175,y:0}],color:"primary",fill:!1,strokeWidth:.02}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25,anchor:"middle_bottom"},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25,anchor:"middle_top"}},refblocks:{left1:{x:-.175,y:0},right1:{x:.175,y:0}},bounds:{minX:-.175,maxX:.175,minY:-.25,maxY:.25,width:.35,height:.5,centerX:0,centerY:0},circles:{}};var x2=i(V0,{kind:"resistor",orientation:"down"});var n2=i(V0,{kind:"resistor",orientation:"left"});var f2=i(V0,{kind:"resistor",orientation:"right"});var c2=i(V0,{kind:"resistor",orientation:"up"});var go={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:I4,texts:h2,bounds:uo,refblocks:V9,circles:D4}=go,L0=x({primitives:[...Object.values(I4),...Object.values(D4),{...h2.top1,anchor:"middle_bottom"},{...h2.bottom1,anchor:"middle_top"}],ports:[{...V9.left1,labels:["1"]},{...V9.right1,labels:["2"]},{...V9.right2,labels:["3"]}],size:{width:uo.width,height:uo.height},center:{x:uo.centerX,y:uo.centerY}});var L9=o(L0,"down"),Y9=L9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),X9=L9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Y9.anchor="middle_bottom";X9.anchor="middle_top";Y9.y+=.3;Y9.x+=.101;X9.y-=.49999;X9.x+=1.19999;var d2=L9;var{paths:q4,texts:V$,bounds:vo,refblocks:k9,circles:G4}=go,wo=x({primitives:[...Object.values(q4),...Object.values(G4),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...k9.left1,labels:["1"]},{...k9.right1,labels:["2"]},{...k9.right2,labels:["3"]}],size:{width:vo.width,height:vo.height},center:{x:vo.centerX,y:vo.centerY}});var z9=o(L0,"left"),j9=z9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),O9=z9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");j9.anchor="middle_bottom";O9.anchor="middle_top";j9.y+=.99;j9.x-=0;O9.y-=1.10999;O9.x=0;var _2=z9;var J9=o(L0,"up"),$9=J9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),M9=J9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$9.anchor="middle_bottom";M9.anchor="middle_top";$9.y+=.499;$9.x=.62;M9.y-=.29999;M9.x+=.1;var b2=J9;var g2=o(wo);var tt={paths:{"input-lead":{type:"path",points:[{x:-.65,y:.010000000000000231},{x:-.30000000000000004,y:.010000000000000231}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.30000000000000004,y:.3600000000000001},{x:.25,y:.010000000000000231},{x:-.30000000000000004,y:-.33999999999999986},{x:-.30000000000000004,y:.3600000000000001}],color:"primary",fill:!1},"schmitt-marker":{type:"path",points:[{x:-.17999999999999994,y:-.08999999999999986},{x:-.09999999999999987,y:-.08999999999999986},{x:-.09999999999999987,y:.1100000000000001},{x:-.019999999999999796,y:.1100000000000001}],color:"primary",fill:!1},"output-lead":{type:"path",points:[{x:.3800000000000001,y:.010000000000000231},{x:.6500000000000001,y:.010000000000000231}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4700000000000002},bottom1:{type:"text",text:"{VAL}",x:0,y:-.47}},refblocks:{left1:{x:-.65,y:.010000000000000231},right1:{x:.6500000000000001,y:.010000000000000231}},bounds:{minX:-.65,maxX:.6500000000000001,minY:-.47,maxY:.4700000000000002,width:1.3000000000000003,height:.9400000000000002,centerX:5551115123125783e-32,centerY:11102230246251565e-32},circles:{"inversion-bubble":{type:"circle",x:.31499999999999995,y:.010000000000000231,radius:.065,color:"primary",fill:!1}}};var u2=e(tt).labelPort("left1",["1","in","input","a"]).labelPort("right1",["2","out","output","y"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("down").build();var So=e(tt).labelPort("left1",["1","in","input","a"]).labelPort("right1",["2","out","output","y"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").build();var v2=b(So);var w2=e(tt).labelPort("left1",["1","in","input","a"]).labelPort("right1",["2","out","output","y"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").build();var S2={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 Y0=e(S2).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var C9=o(Y0,"down"),W9=C9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),N9=C9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");W9.anchor="middle_left";N9.anchor="middle_left";W9.y+=.3;W9.x=.3;N9.y-=.3;N9.x=.3;var A2=C9;var B9=o(Y0,"left"),I9=B9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),D9=B9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");I9.anchor="middle_bottom";D9.anchor="middle_top";I9.y+=.5;I9.x=0;D9.y-=.55;D9.x=0;var P2=B9;var q9=o(Y0,"up"),G9=q9.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),H9=q9.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");G9.anchor="middle_left";H9.anchor="middle_left";G9.y+=.3;G9.x=.3;H9.y-=.3;H9.x=.3;var R2=q9;var U9={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:dM,texts:_M,bounds:bM,refblocks:gM,circles:uM}=U9,Ao=e(U9).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var F2=o(Ao),K4=F2.primitives.filter(t=>t.type==="text"),T2=K4.find(t=>t.text==="{REF}");T2.y=0;T2.anchor="middle_left";var E2=F2;var Po={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.025},{x:-.07,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.4458008,y:-.025023700000000426},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var V2=e(Po).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var et=e(Po).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var L2=o(et,"left"),Z9=L2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Z9.anchor="middle_bottom";Z9.y+=.4;Z9.x=0;var Y2=L2;var X2=o(et,"up"),K9=X2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");K9.anchor="middle_left";K9.y+=0;K9.x=.2;var k2=X2;var Ro={paths:{path44:{type:"path",points:[{x:-.195,y:-.025},{x:-.45,y:-.025}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.025},{x:.195,y:-.025}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:.1},{x:-.082252,y:.099398},{x:-.094386,y:.097598},{x:-.106286,y:.094618},{x:-.117835,y:.090485},{x:-.128925,y:.08524},{x:-.139446,y:.078934},{x:-.149299,y:.071626},{x:-.158388,y:.063388},{x:-.166626,y:.054299},{x:-.173934,y:.044446},{x:-.18024,y:.033925},{x:-.185485,y:.022835},{x:-.189618,y:.011286},{x:-.192598,y:-614e-6},{x:-.194398,y:-.012748},{x:-.195,y:-.025},{x:-.194398,y:-.037252},{x:-.192598,y:-.049386},{x:-.189618,y:-.061286},{x:-.185485,y:-.072835},{x:-.18024,y:-.083925},{x:-.173934,y:-.094446},{x:-.166626,y:-.104299},{x:-.158388,y:-.113388},{x:-.149299,y:-.121626},{x:-.139446,y:-.128934},{x:-.128925,y:-.13524},{x:-.117835,y:-.140485},{x:-.106286,y:-.144618},{x:-.094386,y:-.147598},{x:-.082252,y:-.149398},{x:-.07,y:-.15}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:.1},{x:.082252,y:.099398},{x:.094386,y:.097598},{x:.106286,y:.094618},{x:.117835,y:.090485},{x:.128925,y:.08524},{x:.139446,y:.078934},{x:.149299,y:.071626},{x:.158388,y:.063388},{x:.166626,y:.054299},{x:.173934,y:.044446},{x:.18024,y:.033925},{x:.185485,y:.022835},{x:.189618,y:.011286},{x:.192598,y:-614e-6},{x:.194398,y:-.012748},{x:.195,y:-.025},{x:.194398,y:-.037252},{x:.192598,y:-.049386},{x:.189618,y:-.061286},{x:.185485,y:-.072835},{x:.18024,y:-.083925},{x:.173934,y:-.094446},{x:.166626,y:-.104299},{x:.158388,y:-.113388},{x:.149299,y:-.121626},{x:.139446,y:-.128934},{x:.128925,y:-.13524},{x:.117835,y:-.140485},{x:.106286,y:-.144618},{x:.094386,y:-.147598},{x:.082252,y:-.149398},{x:.07,y:-.15}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.44,y:-.02},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.45,maxX:.45,minY:-.15,maxY:.1,width:.9,height:.25,centerX:0,centerY:-.025},circles:{}};var z2=e(Ro).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var ot=e(Ro).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var j2=o(ot,"left"),Q9=j2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Q9.anchor="middle_bottom";Q9.y+=.4;Q9.x=0;var O2=j2;var J2=o(ot,"up"),tl=J2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");tl.anchor="middle_left";tl.y+=.05;tl.x=.2;var $2=J2;var Fo={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var M2=e(Fo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var rt=e(Fo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var C2=o(rt,"left"),el=C2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");el.anchor="middle_left";el.y+=.5;el.x=.2;var W2=C2;var N2=o(rt,"up"),ol=N2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");ol.anchor="middle_left";ol.y+=.3;ol.x=.2;var B2=N2;var To={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.045,y:.1},{x:-.125,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var I2=e(To).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var it=e(To).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var D2=o(it,"left"),rl=D2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");rl.anchor="middle_left";rl.y+=.5;rl.x=.2;var q2=D2;var G2=o(it,"up"),il=G2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");il.anchor="middle_left";il.y+=.4;il.x=.2;var H2=G2;var Eo={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.125,y:.1},{x:.045,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.28}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var U2=e(Eo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var lt=e(Eo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Z2=o(lt,"left"),ll=Z2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");ll.anchor="middle_left";ll.y+=.6;ll.x=.3;var K2=Z2;var Q2=o(lt,"up"),al=Q2.primitives.find(t=>t.type==="text"&&t.text==="{REF}");al.anchor="middle_left";al.y+=.4;al.x=.2;var tf=Q2;var Vo={paths:{path44:{type:"path",points:[{x:-.25,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.25,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.025},{x:0,y:-.275}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.125,y:.225},{x:.125,y:-.025}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.045,y:.225},{x:.045,y:-.025}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.045,y:.225},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.045,y:.225},{x:-.045,y:.225}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.045,y:-.025},{x:-.045,y:-.025}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.125,y:.225},{x:-.125,y:-.025}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.125,y:.225},{x:-.137252,y:.224398},{x:-.149386,y:.222598},{x:-.161286,y:.219618},{x:-.172835,y:.215485},{x:-.183925,y:.21024},{x:-.194446,y:.203934},{x:-.204299,y:.196626},{x:-.213388,y:.188388},{x:-.221626,y:.179299},{x:-.228934,y:.169446},{x:-.23524,y:.158925},{x:-.240485,y:.147835},{x:-.244618,y:.136286},{x:-.247598,y:.124386},{x:-.249398,y:.112252},{x:-.25,y:.1},{x:-.249398,y:.087748},{x:-.247598,y:.075614},{x:-.244618,y:.063714},{x:-.240485,y:.052165},{x:-.23524,y:.041075},{x:-.228934,y:.030554},{x:-.221626,y:.020701},{x:-.213388,y:.011612},{x:-.204299,y:.003374},{x:-.194446,y:-.003934},{x:-.183925,y:-.01024},{x:-.172835,y:-.015485},{x:-.161286,y:-.019618},{x:-.149386,y:-.022598},{x:-.137252,y:-.024398},{x:-.125,y:-.025}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.125,y:.225},{x:.137252,y:.224398},{x:.149386,y:.222598},{x:.161286,y:.219618},{x:.172835,y:.215485},{x:.183925,y:.21024},{x:.194446,y:.203934},{x:.204299,y:.196626},{x:.213388,y:.188388},{x:.221626,y:.179299},{x:.228934,y:.169446},{x:.23524,y:.158925},{x:.240485,y:.147835},{x:.244618,y:.136286},{x:.247598,y:.124386},{x:.249398,y:.112252},{x:.25,y:.1},{x:.249398,y:.087748},{x:.247598,y:.075614},{x:.244618,y:.063714},{x:.240485,y:.052165},{x:.23524,y:.041075},{x:.228934,y:.030554},{x:.221626,y:.020701},{x:.213388,y:.011612},{x:.204299,y:.003374},{x:.194446,y:-.003934},{x:.183925,y:-.01024},{x:.172835,y:-.015485},{x:.161286,y:-.019618},{x:.149386,y:-.022598},{x:.137252,y:-.024398},{x:.125,y:-.025}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.28075747049999955}},refblocks:{left1:{x:-.45,y:.1},right1:{x:.45,y:.1},bottom1:{x:0,y:-.275}},bounds:{minX:-.45,maxX:.45,minY:-.28,maxY:.28,width:.9,height:.56,centerX:0,centerY:0},circles:{}};var ef=e(Vo).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var at=e(Vo).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var of=o(at,"left"),pl=of.primitives.find(t=>t.type==="text"&&t.text==="{REF}");pl.anchor="middle_left";pl.y+=.5;pl.x=.3;var rf=of;var lf=o(at,"up"),yl=lf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");yl.anchor="middle_left";yl.y+=.3;yl.x=.2;var af=lf;var pf={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 X0=e(pf).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var sl=o(X0,"down"),ml=sl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xl=sl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ml.anchor="middle_bottom";xl.anchor="middle_top";ml.x=.44;ml.y+=.28;xl.y-=.28;xl.x=.44;var yf=sl;var nl=o(X0,"left"),fl=nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cl=nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";cl.anchor="middle_top";fl.x=0;fl.y+=.625;cl.y-=.695;cl.x=0;var sf=nl;var hl=o(X0,"up"),dl=hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_l=hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_bottom";_l.anchor="middle_top";dl.x=.4;dl.y+=.28;_l.y-=.28;_l.x=.4;var mf=hl;var xf={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 k0=e(xf).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var bl=o(k0,"down"),gl=bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ul=bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gl.anchor="middle_bottom";ul.anchor="middle_top";gl.x=.44;gl.y+=.28;ul.y-=.28;ul.x=.44;var nf=bl;var vl=o(k0,"left"),wl=vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sl=vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wl.anchor="middle_bottom";Sl.anchor="middle_top";wl.x=0;wl.y+=.625;Sl.y-=.695;Sl.x=0;var ff=vl;var Al=o(k0,"up"),Pl=Al.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Al.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pl.anchor="middle_bottom";Rl.anchor="middle_top";Pl.x=.4;Pl.y+=.28;Rl.y-=.28;Rl.x=.4;var cf=Al;var W={paths:{"lead-positive":{type:"path",points:[{x:-.4,y:.19999999999999996},{x:-.20000000000000007,y:.19999999999999996}],color:"primary",fill:!1},"lead-negative":{type:"path",points:[{x:-.4,y:-.20000000000000018},{x:-.20000000000000007,y:-.20000000000000018}],color:"primary",fill:!1},"voice-coil":{type:"path",points:[{x:-.20000000000000007,y:.19999999999999996},{x:0,y:.19999999999999996},{x:0,y:-.20000000000000018},{x:-.20000000000000007,y:-.20000000000000018},{x:-.20000000000000007,y:.19999999999999996}],color:"primary",fill:!1},cone:{type:"path",points:[{x:0,y:.19999999999999996},{x:.3999999999999999,y:.3999999999999999},{x:.3999999999999999,y:-.40000000000000013},{x:0,y:-.20000000000000018},{x:0,y:.19999999999999996}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.6},bottom1:{type:"text",text:"{VAL}",x:0,y:-.6000000000000001}},refblocks:{left1:{x:-.4,y:-.20000000000000018},left2:{x:-.4,y:.19999999999999996}},bounds:{minX:-.4,maxX:.3999999999999999,minY:-.6000000000000001,maxY:.6,width:.7999999999999999,height:1.2000000000000002,centerX:-5551115123125783e-32,centerY:-5551115123125783e-32},circles:{}};var hf=e(W).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Lo=A(hf.primitives),df={...hf,center:{x:(Lo.minX+Lo.maxX)/2,y:(Lo.minY+Lo.maxY)/2}};var _f=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Yo=A(_f.primitives),bf={..._f,center:{x:(Yo.minX+Yo.maxX)/2,y:(Yo.minY+Yo.maxY)/2}};var gf=e(W).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),Xo=A(gf.primitives),uf={...gf,center:{x:(Xo.minX+Xo.maxX)/2,y:(Xo.minY+Xo.maxY)/2}};var vf=e(W).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),ko=A(vf.primitives),wf={...vf,center:{x:(ko.minX+ko.maxX)/2,y:(ko.minY+ko.maxY)/2}};var Sf=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),zo=A(Sf.primitives),Af={...Sf,center:{x:(zo.minX+zo.maxX)/2,y:(zo.minY+zo.maxY)/2}};var Pf=e(W).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("left2",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build(),jo=A(Pf.primitives),Rf={...Pf,center:{x:(jo.minX+jo.maxX)/2,y:(jo.minY+jo.maxY)/2}};var bt={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 bt.refblocks.left1;delete bt.refblocks.right1;bt.bounds.width+=.2;var z0=e(bt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Fl=o(z0,"down"),Tl=Fl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),El=Fl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tl.anchor="middle_bottom";El.anchor="middle_top";Tl.x=.3;Tl.y+=.265;El.y-=.265;El.x=.3;var Ff=Fl;var Vl=o(z0,"left"),Ll=Vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ll.anchor="middle_bottom";Yl.anchor="middle_top";Ll.x=0;Ll.y+=.57;Yl.y-=.57;Yl.x=0;var Tf=Vl;var Xl=o(z0,"up"),kl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kl.anchor="middle_bottom";zl.anchor="middle_top";kl.x=.3;kl.y+=.265;zl.y-=.265;zl.x=.3;var Ef=Xl;var gt={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 gt.refblocks.left1;delete gt.refblocks.right1;gt.bounds.width+=.2;var j0=e(gt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var jl=o(j0,"down"),Ol=jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_bottom";Jl.anchor="middle_top";Ol.x=.3;Ol.y+=.265;Jl.y-=.265;Jl.x=.3;var Vf=jl;var $l=o(j0,"left"),Ml=$l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cl=$l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ml.anchor="middle_bottom";Cl.anchor="middle_top";Ml.x=0;Ml.y+=.57;Cl.y-=.57;Cl.x=0;var Lf=$l;var Wl=o(j0,"up"),Nl=Wl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bl=Wl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nl.anchor="middle_bottom";Bl.anchor="middle_top";Nl.x=.3;Nl.y+=.265;Bl.y-=.265;Bl.x=.3;var Yf=Wl;var O0={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 Xf=e(O0).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 kf=e(O0).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 zf=e(O0).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var jf=e(O0).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 Il={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:kN,texts:zN,bounds:jN,refblocks:ON,circles:JN}=Il,Oo=e(Il).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Of=o(Oo);var Jf={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:f_,texts:c_,bounds:Jo,refblocks:$f,circles:h_}=Jf,ut=x({primitives:[...Object.values(f_),...Object.values(h_),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...c_.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...$f.left1,labels:["1"]},{...$f.right1,labels:["2"]}],size:{width:Jo.width,height:Jo.height},center:{x:Jo.centerX,y:Jo.centerY}});var{5:d_,...__}=ut.primitives;function b_(t){return typeof t=="object"}var Mf=o({...ut,primitives:Object.values(__).filter(b_)}),Cf={...Mf,primitives:[...Mf.primitives,d_]};var J0=x({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:32},(t,l)=>{let r=Math.PI/2-l*Math.PI/31,y=.1;return{x:.1-y*Math.cos(r),y:y*Math.sin(r)}}),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 Nf=o(J0,"down"),Wf=Nf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Wf&&(Wf.anchor="middle_top");var Bf=Nf;var If=o(J0,"left");var qf=o(J0,"up"),Df=qf.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Df&&(Df.anchor="middle_bottom");var Gf=qf;var Hf={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 pt=e(Hf).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Dl=o(pt,"up"),ql=Dl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gl=Dl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ql.anchor="middle_bottom";Gl.anchor="middle_top";ql.x=.4;ql.y+=.2;Gl.y-=.3;Gl.x=.4;var $o=Dl;var Hl=Y($o),Ul=Hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zl=Hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ul.anchor="middle_bottom";Zl.anchor="middle_top";Ul.x=.35;Ul.y+=.4;Zl.y-=.4;Zl.x=.35;var Uf=Hl;var Kl=o(pt,"left"),Ql=Kl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ta=Kl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ql.anchor="middle_bottom";ta.anchor="middle_top";Ql.x=0;Ql.y+=.5;ta.y-=.6;ta.x=0;var Zf=Kl;var yt={paths:{"primary-winding":{type:"path",points:[{x:-.6666666666666999,y:.6000000000000001},{x:-.1419999999999999,y:.6000000000000001},{x:-.1419999999999999,y:.6000000000000001},{x:-.13426666666666656,y:.5976565925925927},{x:-.12706666666666658,y:.5950394074074075},{x:-.12039999999999991,y:.5921680000000001},{x:-.11426666666666657,y:.5890619259259261},{x:-.10866666666666656,y:.5857407407407409},{x:-.10359999999999989,y:.5822240000000002},{x:-.09906666666666655,y:.5785312592592594},{x:-.09506666666666656,y:.5746820740740743},{x:-.09159999999999985,y:.5706959999999999},{x:-.08866666666666653,y:.5665925925925928},{x:-.08626666666666649,y:.5623914074074075},{x:-.08439999999999986,y:.5581120000000002},{x:-.08306666666666651,y:.5537739259259259},{x:-.08226666666666653,y:.5493967407407409},{x:-.08199999999999985,y:.5449999999999999},{x:-.08226666666666652,y:.5406032592592593},{x:-.08306666666666651,y:.5362260740740741},{x:-.08439999999999986,y:.5318880000000001},{x:-.08626666666666652,y:.5276085925925926},{x:-.08866666666666652,y:.5234074074074074},{x:-.09159999999999985,y:.519304},{x:-.09506666666666652,y:.515317925925926},{x:-.09906666666666653,y:.5114687407407408},{x:-.10359999999999986,y:.507776},{x:-.10866666666666652,y:.5042592592592593},{x:-.11426666666666653,y:.5009380740740741},{x:-.12039999999999987,y:.49783200000000005},{x:-.12706666666666652,y:.4949605925925927},{x:-.1342666666666665,y:.49234340740740745},{x:-.14199999999999988,y:.4900000000000001},{x:-.1419999999999999,y:.4900000000000001},{x:-.1419999999999999,y:.4900000000000001},{x:-.13426666666666656,y:.48765659259259264},{x:-.12706666666666658,y:.48503940740740753},{x:-.12039999999999991,y:.4821680000000002},{x:-.11426666666666657,y:.4790619259259261},{x:-.10866666666666656,y:.47574074074074085},{x:-.10359999999999989,y:.4722240000000002},{x:-.09906666666666655,y:.46853125925925937},{x:-.09506666666666656,y:.46468207407407425},{x:-.09159999999999985,y:.46069599999999994},{x:-.08866666666666653,y:.45659259259259266},{x:-.08626666666666649,y:.45239140740740735},{x:-.08439999999999986,y:.4481120000000001},{x:-.08306666666666651,y:.4437739259259259},{x:-.08226666666666653,y:.43939674074074087},{x:-.08199999999999985,y:.43499999999999994},{x:-.08226666666666652,y:.4306032592592593},{x:-.08306666666666651,y:.42622607407407415},{x:-.08439999999999986,y:.42188800000000015},{x:-.08626666666666652,y:.41760859259259264},{x:-.08866666666666652,y:.4134074074074075},{x:-.09159999999999985,y:.40930400000000006},{x:-.09506666666666652,y:.40531792592592597},{x:-.09906666666666653,y:.4014687407407408},{x:-.10359999999999986,y:.3977760000000001},{x:-.10866666666666652,y:.3942592592592593},{x:-.11426666666666653,y:.3909380740740741},{x:-.12039999999999987,y:.38783200000000007},{x:-.12706666666666652,y:.3849605925925927},{x:-.1342666666666665,y:.38234340740740747},{x:-.14199999999999988,y:.3800000000000001},{x:-.1419999999999999,y:.3800000000000001},{x:-.1419999999999999,y:.3800000000000001},{x:-.13426666666666656,y:.37765659259259265},{x:-.12706666666666658,y:.3750394074074076},{x:-.12039999999999991,y:.3721680000000001},{x:-.11426666666666657,y:.36906192592592607},{x:-.10866666666666656,y:.36574074074074087},{x:-.10359999999999989,y:.36222400000000016},{x:-.09906666666666655,y:.3585312592592594},{x:-.09506666666666656,y:.35468207407407426},{x:-.09159999999999985,y:.350696},{x:-.08866666666666653,y:.34659259259259273},{x:-.08626666666666649,y:.3423914074074074},{x:-.08439999999999986,y:.33811200000000013},{x:-.08306666666666651,y:.3337739259259259},{x:-.08226666666666653,y:.3293967407407409},{x:-.08199999999999985,y:.325},{x:-.08226666666666652,y:.3206032592592593},{x:-.08306666666666651,y:.31622607407407416},{x:-.08439999999999986,y:.3118880000000001},{x:-.08626666666666652,y:.30760859259259266},{x:-.08866666666666652,y:.30340740740740746},{x:-.09159999999999985,y:.299304},{x:-.09506666666666652,y:.29531792592592593},{x:-.09906666666666653,y:.2914687407407408},{x:-.10359999999999986,y:.28777600000000003},{x:-.10866666666666652,y:.28425925925925927},{x:-.11426666666666653,y:.2809380740740741},{x:-.12039999999999987,y:.277832},{x:-.12706666666666652,y:.27496059259259265},{x:-.1342666666666665,y:.2723434074074074},{x:-.14199999999999988,y:.27},{x:-.1419999999999999,y:.27},{x:-.1419999999999999,y:.27},{x:-.13426666666666656,y:.2676565925925926},{x:-.12706666666666658,y:.26503940740740745},{x:-.12039999999999991,y:.2621680000000001},{x:-.11426666666666657,y:.25906192592592603},{x:-.10866666666666656,y:.25574074074074093},{x:-.10359999999999989,y:.25222400000000017},{x:-.09906666666666655,y:.2485312592592594},{x:-.09506666666666656,y:.24468207407407425},{x:-.09159999999999985,y:.24069600000000008},{x:-.08866666666666653,y:.23659259259259274},{x:-.08626666666666649,y:.2323914074074075},{x:-.08439999999999986,y:.2281120000000002},{x:-.08306666666666651,y:.22377392592592601},{x:-.08226666666666653,y:.2193967407407409},{x:-.08199999999999985,y:.2150000000000001},{x:-.08226666666666652,y:.21060325925925938},{x:-.08306666666666651,y:.20622607407407423},{x:-.08439999999999986,y:.20188800000000012},{x:-.08626666666666652,y:.1976085925925927},{x:-.08866666666666652,y:.19340740740740753},{x:-.09159999999999985,y:.18930400000000008},{x:-.09506666666666652,y:.185317925925926},{x:-.09906666666666653,y:.18146874074074082},{x:-.10359999999999986,y:.17777600000000005},{x:-.10866666666666652,y:.17425925925925928},{x:-.11426666666666653,y:.17093807407407408},{x:-.12039999999999987,y:.16783199999999998},{x:-.12706666666666652,y:.16496059259259258},{x:-.1342666666666665,y:.16234340740740733},{x:-.14199999999999988,y:.15999999999999992},{x:-.1419999999999999,y:.15999999999999992},{x:-.1419999999999999,y:.15999999999999992},{x:-.13426666666666656,y:.1577116296296296},{x:-.12706666666666658,y:.15525451851851865},{x:-.12039999999999991,y:.15264066666666695},{x:-.11426666666666657,y:.1498820740740747},{x:-.10866666666666656,y:.1469907407407417},{x:-.10359999999999989,y:.14397866666666803},{x:-.09906666666666655,y:.14085785185185365},{x:-.09506666666666656,y:.1376402962962987},{x:-.09159999999999985,y:.13433800000000298},{x:-.08866666666666653,y:.1309629629629667},{x:-.08626666666666649,y:.12752718518518963},{x:-.08439999999999986,y:.12404266666667203},{x:-.08306666666666651,y:.12052140740741364},{x:-.08226666666666653,y:.11697540740741469},{x:-.08199999999999985,y:.11341666666667499},{x:-.08226666666666652,y:.10985718518519466},{x:-.08306666666666651,y:.10630896296297365},{x:-.08439999999999986,y:.10278400000001198},{x:-.08626666666666652,y:.09929429629630965},{x:-.08866666666666652,y:.09585185185186663},{x:-.09159999999999985,y:.09246866666668296},{x:-.09506666666666652,y:.08915674074075862},{x:-.09906666666666653,y:.08592807407409363},{x:-.10359999999999986,y:.08279466666668796},{x:-.10866666666666652,y:.07976851851854162},{x:-.11426666666666653,y:.07686162962965462},{x:-.12039999999999987,y:.07408600000002696},{x:-.12706666666666652,y:.07145362962965862},{x:-.1342666666666665,y:.06897651851854962},{x:-.14199999999999988,y:.06666666666669996},{x:-.1419999999999999,y:.06666666666669996},{x:-.6666666666666999,y:.06666666666669996}],color:"primary",fill:!1},"auxiliary-winding":{type:"path",points:[{x:-.6666666666666999,y:-.06666666666669996},{x:-.1419999999999999,y:-.06666666666669996},{x:-.1419999999999999,y:-.06666666666669996},{x:-.13426666666666656,y:-.0689765185185496},{x:-.12706666666666658,y:-.07145362962965864},{x:-.12039999999999991,y:-.07408600000002695},{x:-.11426666666666657,y:-.07686162962965463},{x:-.10866666666666656,y:-.07976851851854162},{x:-.10359999999999989,y:-.08279466666668797},{x:-.09906666666666655,y:-.08592807407409363},{x:-.09506666666666656,y:-.08915674074075866},{x:-.09159999999999985,y:-.09246866666668294},{x:-.08866666666666653,y:-.09585185185186663},{x:-.08626666666666649,y:-.09929429629630962},{x:-.08439999999999986,y:-.10278400000001198},{x:-.08306666666666651,y:-.10630896296297361},{x:-.08226666666666653,y:-.10985718518519468},{x:-.08199999999999985,y:-.11341666666667496},{x:-.08226666666666652,y:-.11697540740741467},{x:-.08306666666666651,y:-.12052140740741367},{x:-.08439999999999986,y:-.124042666666672},{x:-.08626666666666652,y:-.12752718518518966},{x:-.08866666666666652,y:-.13096296296296667},{x:-.09159999999999985,y:-.134338000000003},{x:-.09506666666666652,y:-.13764029629629865},{x:-.09906666666666653,y:-.14085785185185368},{x:-.10359999999999986,y:-.14397866666666798},{x:-.10866666666666652,y:-.14699074074074164},{x:-.11426666666666653,y:-.1498820740740746},{x:-.12039999999999987,y:-.15264066666666695},{x:-.12706666666666652,y:-.15525451851851862},{x:-.1342666666666665,y:-.1577116296296296},{x:-.14199999999999988,y:-.15999999999999992},{x:-.1419999999999999,y:-.15999999999999992},{x:-.1419999999999999,y:-.15999999999999992},{x:-.13426666666666656,y:-.16234340740740733},{x:-.12706666666666658,y:-.16496059259259252},{x:-.12039999999999991,y:-.16783199999999995},{x:-.11426666666666657,y:-.17093807407407402},{x:-.10866666666666656,y:-.17425925925925922},{x:-.10359999999999989,y:-.17777599999999996},{x:-.09906666666666655,y:-.18146874074074068},{x:-.09506666666666656,y:-.1853179259259259},{x:-.09159999999999985,y:-.18930399999999992},{x:-.08866666666666653,y:-.19340740740740736},{x:-.08626666666666649,y:-.19760859259259247},{x:-.08439999999999986,y:-.20188799999999998},{x:-.08306666666666651,y:-.20622607407407395},{x:-.08226666666666653,y:-.2106032592592592},{x:-.08199999999999985,y:-.21499999999999986},{x:-.08226666666666652,y:-.21939674074074067},{x:-.08306666666666651,y:-.22377392592592585},{x:-.08439999999999986,y:-.22811199999999995},{x:-.08626666666666652,y:-.23239140740740732},{x:-.08866666666666652,y:-.23659259259259252},{x:-.09159999999999985,y:-.2406959999999999},{x:-.09506666666666652,y:-.244682074074074},{x:-.09906666666666653,y:-.24853125925925917},{x:-.10359999999999986,y:-.2522239999999999},{x:-.10866666666666652,y:-.2557407407407406},{x:-.11426666666666653,y:-.2590619259259258},{x:-.12039999999999987,y:-.26216799999999985},{x:-.12706666666666652,y:-.2650394074074072},{x:-.1342666666666665,y:-.2676565925925924},{x:-.14199999999999988,y:-.26999999999999974},{x:-.1419999999999999,y:-.2699999999999998},{x:-.1419999999999999,y:-.2699999999999998},{x:-.13426666666666656,y:-.2723434074074072},{x:-.12706666666666658,y:-.2749605925925925},{x:-.12039999999999991,y:-.27783199999999986},{x:-.11426666666666657,y:-.280938074074074},{x:-.10866666666666656,y:-.28425925925925916},{x:-.10359999999999989,y:-.2877759999999999},{x:-.09906666666666655,y:-.29146874074074064},{x:-.09506666666666656,y:-.295317925925926},{x:-.09159999999999985,y:-.29930399999999985},{x:-.08866666666666653,y:-.30340740740740735},{x:-.08626666666666649,y:-.30760859259259243},{x:-.08439999999999986,y:-.311888},{x:-.08306666666666651,y:-.31622607407407394},{x:-.08226666666666653,y:-.32060325925925925},{x:-.08199999999999985,y:-.3249999999999999},{x:-.08226666666666652,y:-.3293967407407407},{x:-.08306666666666651,y:-.33377392592592586},{x:-.08439999999999986,y:-.338112},{x:-.08626666666666652,y:-.3423914074074074},{x:-.08866666666666652,y:-.34659259259259256},{x:-.09159999999999985,y:-.35069599999999995},{x:-.09506666666666652,y:-.35468207407407404},{x:-.09906666666666653,y:-.35853125925925927},{x:-.10359999999999986,y:-.362224},{x:-.10866666666666652,y:-.3657407407407407},{x:-.11426666666666653,y:-.3690619259259259},{x:-.12039999999999987,y:-.37216800000000005},{x:-.12706666666666652,y:-.37503940740740743},{x:-.1342666666666665,y:-.37765659259259265},{x:-.14199999999999988,y:-.3800000000000001},{x:-.1419999999999999,y:-.3800000000000001},{x:-.1419999999999999,y:-.3800000000000001},{x:-.13426666666666656,y:-.38234340740740747},{x:-.12706666666666658,y:-.38496059259259274},{x:-.12039999999999991,y:-.38783200000000007},{x:-.11426666666666657,y:-.39093807407407416},{x:-.10866666666666656,y:-.3942592592592593},{x:-.10359999999999989,y:-.3977760000000001},{x:-.09906666666666655,y:-.40146874074074074},{x:-.09506666666666656,y:-.40531792592592597},{x:-.09159999999999985,y:-.40930399999999995},{x:-.08866666666666653,y:-.41340740740740745},{x:-.08626666666666649,y:-.4176085925925925},{x:-.08439999999999986,y:-.4218880000000001},{x:-.08306666666666651,y:-.4262260740740739},{x:-.08226666666666653,y:-.43060325925925924},{x:-.08199999999999985,y:-.4349999999999999},{x:-.08226666666666652,y:-.4393967407407407},{x:-.08306666666666651,y:-.4437739259259258},{x:-.08439999999999986,y:-.44811199999999995},{x:-.08626666666666652,y:-.4523914074074073},{x:-.08866666666666652,y:-.45659259259259244},{x:-.09159999999999985,y:-.4606959999999999},{x:-.09506666666666652,y:-.46468207407407397},{x:-.09906666666666653,y:-.4685312592592591},{x:-.10359999999999986,y:-.47222399999999987},{x:-.10866666666666652,y:-.4757407407407406},{x:-.11426666666666653,y:-.4790619259259258},{x:-.12039999999999987,y:-.4821679999999998},{x:-.12706666666666652,y:-.4850394074074072},{x:-.1342666666666665,y:-.4876565925925923},{x:-.14199999999999988,y:-.48999999999999977},{x:-.1419999999999999,y:-.48999999999999977},{x:-.1419999999999999,y:-.48999999999999977},{x:-.13426666666666656,y:-.4923434074074071},{x:-.12706666666666658,y:-.49496059259259245},{x:-.12039999999999991,y:-.4978319999999999},{x:-.11426666666666657,y:-.500938074074074},{x:-.10866666666666656,y:-.5042592592592593},{x:-.10359999999999989,y:-.507776},{x:-.09906666666666655,y:-.5114687407407407},{x:-.09506666666666656,y:-.5153179259259261},{x:-.09159999999999985,y:-.5193039999999998},{x:-.08866666666666653,y:-.5234074074074074},{x:-.08626666666666649,y:-.5276085925925925},{x:-.08439999999999986,y:-.531888},{x:-.08306666666666651,y:-.536226074074074},{x:-.08226666666666653,y:-.5406032592592593},{x:-.08199999999999985,y:-.5449999999999999},{x:-.08226666666666652,y:-.5493967407407407},{x:-.08306666666666651,y:-.5537739259259259},{x:-.08439999999999986,y:-.558112},{x:-.08626666666666652,y:-.5623914074074075},{x:-.08866666666666652,y:-.5665925925925925},{x:-.09159999999999985,y:-.5706959999999999},{x:-.09506666666666652,y:-.574682074074074},{x:-.09906666666666653,y:-.5785312592592593},{x:-.10359999999999986,y:-.582224},{x:-.10866666666666652,y:-.5857407407407407},{x:-.11426666666666653,y:-.5890619259259259},{x:-.12039999999999987,y:-.5921679999999998},{x:-.12706666666666652,y:-.5950394074074072},{x:-.1342666666666665,y:-.5976565925925924},{x:-.14199999999999988,y:-.5999999999999999},{x:-.1419999999999999,y:-.5999999999999999},{x:-.6666666666666999,y:-.5999999999999999}],color:"primary",fill:!1},"secondary-one-winding":{type:"path",points:[{x:.6666666666666998,y:.4666666666667001},{x:.133,y:.4666666666667001},{x:.133,y:.4666666666667001},{x:.12449333333333333,y:.46512612345682036},{x:.11657333333333333,y:.4634445432099042},{x:.10923999999999999,y:.4616320000000254},{x:.10249333333333334,y:.45969856790125796},{x:.09633333333333331,y:.45765432098767606},{x:.09075999999999998,y:.4555093333333538},{x:.0857733333333333,y:.45327367901236504},{x:.08137333333333331,y:.450957432098784},{x:.07755999999999993,y:.44857066666668444},{x:.0743333333333333,y:.4461234567901409},{x:.07169333333333326,y:.4436258765432269},{x:.06963999999999997,y:.44108800000001697},{x:.06817333333333327,y:.4385199012345847},{x:.06729333333333329,y:.43593165432100456},{x:.06699999999999995,y:.43333333333335006},{x:.06729333333333329,y:.4307350123456958},{x:.06817333333333328,y:.4281467654321155},{x:.06963999999999995,y:.42557866666668337},{x:.07169333333333328,y:.4230407901234733},{x:.07433333333333328,y:.42054320987655935},{x:.07755999999999996,y:.4180960000000157},{x:.08137333333333328,y:.4157092345679163},{x:.08577333333333328,y:.4133929876543353},{x:.09075999999999997,y:.4111573333333466},{x:.0963333333333333,y:.4090123456790242},{x:.10249333333333328,y:.40696809876544227},{x:.10923999999999996,y:.405034666666675},{x:.1165733333333333,y:.4032221234567961},{x:.12449333333333329,y:.40154054320987975},{x:.13299999999999998,y:.40000000000000013},{x:.133,y:.40000000000000013},{x:.133,y:.40000000000000013},{x:.12449333333333333,y:.39845945679012046},{x:.11657333333333333,y:.3967778765432042},{x:.10923999999999999,y:.39496533333332534},{x:.10249333333333334,y:.39303190123455795},{x:.09633333333333331,y:.3909876543209761},{x:.09075999999999998,y:.3888426666666537},{x:.0857733333333333,y:.386607012345665},{x:.08137333333333331,y:.38429076543208396},{x:.07755999999999993,y:.3819039999999844},{x:.0743333333333333,y:.37945679012344086},{x:.07169333333333326,y:.37695920987652687},{x:.06963999999999997,y:.37442133333331695},{x:.06817333333333327,y:.37185323456788455},{x:.06729333333333329,y:.36926498765430443},{x:.06699999999999995,y:.36666666666665004},{x:.06729333333333329,y:.3640683456789958},{x:.06817333333333328,y:.3614800987654155},{x:.06963999999999995,y:.35891199999998336},{x:.07169333333333328,y:.3563741234567732},{x:.07433333333333328,y:.35387654320985934},{x:.07755999999999996,y:.3514293333333157},{x:.08137333333333328,y:.3490425679012163},{x:.08577333333333328,y:.34672632098763523},{x:.09075999999999997,y:.3444906666666465},{x:.0963333333333333,y:.34234567901232416},{x:.10249333333333328,y:.3403014320987423},{x:.10923999999999996,y:.3383679999999749},{x:.1165733333333333,y:.33655545679009613},{x:.12449333333333329,y:.3348738765431798},{x:.13299999999999998,y:.3333333333333002},{x:.133,y:.3333333333333002},{x:.6666666666666998,y:.3333333333333002}],color:"primary",fill:!1},"secondary-two-winding":{type:"path",points:[{x:.6666666666666998,y:-.19999999999999996},{x:.133,y:-.19999999999999996},{x:.133,y:-.19999999999999996},{x:.12449333333333333,y:-.2015405432098796},{x:.11657333333333333,y:-.2032221234567959},{x:.10923999999999999,y:-.20503466666667475},{x:.10249333333333334,y:-.20696809876544214},{x:.09633333333333331,y:-.20901234567902405},{x:.09075999999999998,y:-.21115733333334635},{x:.0857733333333333,y:-.21339298765433506},{x:.08137333333333331,y:-.2157092345679162},{x:.07755999999999993,y:-.21809600000001547},{x:.0743333333333333,y:-.2205432098765592},{x:.07169333333333326,y:-.22304079012347303},{x:.06963999999999997,y:-.22557866666668316},{x:.06817333333333327,y:-.22814676543211523},{x:.06729333333333329,y:-.23073501234569563},{x:.06699999999999995,y:-.23333333333334982},{x:.06729333333333329,y:-.2359316543210042},{x:.06817333333333328,y:-.2385199012345845},{x:.06963999999999995,y:-.24108800000001673},{x:.07169333333333328,y:-.24362587654322676},{x:.07433333333333328,y:-.2461234567901406},{x:.07755999999999996,y:-.24857066666668426},{x:.08137333333333328,y:-.25095743209878363},{x:.08577333333333328,y:-.25327367901236475},{x:.09075999999999997,y:-.25550933333335346},{x:.0963333333333333,y:-.2576543209876757},{x:.10249333333333328,y:-.25969856790125756},{x:.10923999999999996,y:-.26163200000002496},{x:.1165733333333333,y:-.2634445432099038},{x:.12449333333333329,y:-.26512612345682},{x:.13299999999999998,y:-.2666666666666997},{x:.133,y:-.2666666666666997},{x:.133,y:-.2666666666666997},{x:.12449333333333333,y:-.26820720987657004},{x:.11657333333333333,y:-.2698887901234782},{x:.10923999999999999,y:-.27170133333335017},{x:.10249333333333334,y:-.2736347654321117},{x:.09633333333333331,y:-.2756790123456887},{x:.09075999999999998,y:-.27782400000000707},{x:.0857733333333333,y:-.2800596543209926},{x:.08137333333333331,y:-.2823759012345713},{x:.07755999999999993,y:-.28476266666666866},{x:.0743333333333333,y:-.28720987654321106},{x:.07169333333333326,y:-.28970745679012394},{x:.06963999999999997,y:-.2922453333333336},{x:.06817333333333327,y:-.29481343209876537},{x:.06729333333333329,y:-.29740167901234577},{x:.06699999999999995,y:-.3},{x:.06729333333333329,y:-.3025983209876544},{x:.06817333333333328,y:-.30518656790123455},{x:.06963999999999995,y:-.3077546666666665},{x:.07169333333333328,y:-.310292543209876},{x:.07433333333333328,y:-.31279012345678897},{x:.07755999999999996,y:-.31523733333333126},{x:.08137333333333328,y:-.31762409876542885},{x:.08577333333333328,y:-.3199403456790074},{x:.09075999999999997,y:-.32217599999999297},{x:.0963333333333333,y:-.3243209876543113},{x:.10249333333333328,y:-.32636523456788824},{x:.10923999999999996,y:-.32829866666664975},{x:.1165733333333333,y:-.33011120987652165},{x:.12449333333333329,y:-.3317927901234298},{x:.13299999999999998,y:-.3333333333333002},{x:.133,y:-.3333333333333002},{x:.6666666666666998,y:-.3333333333333002}],color:"primary",fill:!1},"core-left":{type:"path",points:[{x:-.03599999999999981,y:.66},{x:-.03599999999999981,y:-.6599999999999999}],color:"primary",fill:!1},"core-right":{type:"path",points:[{x:.028999999999999915,y:.66},{x:.028999999999999915,y:-.6599999999999999}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.7200000000000001},bottom1:{type:"text",text:"{VAL}",x:0,y:-.72}},refblocks:{left1:{x:-.6666666666666999,y:-.5999999999999999},left2:{x:-.6666666666666999,y:-.06666666666669996},left3:{x:-.6666666666666999,y:.06666666666669996},left4:{x:-.6666666666666999,y:.6000000000000001},right1:{x:.6666666666666998,y:-.3333333333333002},right2:{x:.6666666666666998,y:-.19999999999999996},right3:{x:.6666666666666998,y:.3333333333333002},right4:{x:.6666666666666998,y:.4666666666667001}},bounds:{minX:-.6666666666666999,maxX:.6666666666666998,minY:-.72,maxY:.7200000000000001,width:1.3333333333333997,height:1.44,centerX:-5551115123125783e-32,centerY:5551115123125783e-32},circles:{"primary-polarity-dot":{type:"circle",x:-.19599999999999995,y:.535,radius:.0172,color:"primary",fill:!0},"auxiliary-polarity-dot":{type:"circle",x:-.19599999999999995,y:-.1316666666666999,radius:.0172,color:"primary",fill:!0},"secondary-one-polarity-dot":{type:"circle",x:.18999999999999995,y:.42700000000000005,radius:.0172,color:"primary",fill:!0},"secondary-two-polarity-dot":{type:"circle",x:.18999999999999995,y:-.23999999999999977,radius:.0172,color:"primary",fill:!0}}};var Kf=e(yt).labelPort("left1",["1","primary_end"]).labelPort("left2",["2","primary_start"]).labelPort("left3",["3","auxiliary_end"]).labelPort("left4",["4","auxiliary_start"]).labelPort("right1",["8","secondary1_end"]).labelPort("right2",["7","secondary1_start"]).labelPort("right3",["6","secondary2_end"]).labelPort("right4",["5","secondary2_start"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("down").build();var Mo=e(yt).labelPort("left1",["1","primary_end"]).labelPort("left2",["2","primary_start"]).labelPort("left3",["3","auxiliary_end"]).labelPort("left4",["4","auxiliary_start"]).labelPort("right1",["8","secondary1_end"]).labelPort("right2",["7","secondary1_start"]).labelPort("right3",["6","secondary2_end"]).labelPort("right4",["5","secondary2_start"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").build();var Qf=b(Mo);var t6=e(yt).labelPort("left1",["1","primary_end"]).labelPort("left2",["2","primary_start"]).labelPort("left3",["3","auxiliary_end"]).labelPort("left4",["4","auxiliary_start"]).labelPort("right1",["8","secondary1_end"]).labelPort("right2",["7","secondary1_start"]).labelPort("right3",["6","secondary2_end"]).labelPort("right4",["5","secondary2_start"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").build();var ea={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:jB,texts:OB,bounds:JB,refblocks:$B,circles:MB}=ea,Co=e(ea).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var e6=o(Co),o6=e6.primitives.filter(t=>t.type==="text"),w_=o6.find(t=>t.text==="{REF}"),S_=o6.find(t=>t.text==="{VAL}");w_.y=0;S_.y=0;var r6=e6;var i6={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:P_,texts:l6,bounds:Wo,refblocks:a6,circles:R_}=i6,No=x({primitives:[...Object.values(P_),...Object.values(R_),{...l6.top1,anchor:"middle_bottom"},{...l6.bottom1,anchor:"middle_top"}],ports:[{...a6.left1,labels:["1"]},{...a6.right1,labels:["2"]}],size:{width:Wo.width,height:Wo.height},center:{x:Wo.centerX,y:Wo.centerY}});var oa=o(No),F_=oa.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),T_=oa.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");F_.anchor="middle_left";T_.anchor="middle_right";var p6=oa;var y6={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:V_,texts:s6,bounds:Bo,refblocks:ra,circles:L_}=y6,Io=x({primitives:[...Object.values(V_),...Object.values(L_),{...s6.top1,anchor:"middle_left"},{...s6.bottom1,anchor:"middle_right"}],ports:[{...ra.top1,labels:["1"]},{...ra.bottom1,labels:["2"]},{...ra.left1,labels:["3"]}],size:{width:Bo.width,height:Bo.height},center:{x:Bo.centerX,y:Bo.centerY}});var m6=o(Io),x6=m6.primitives.filter(t=>t.type==="text"),Y_=x6.find(t=>t.text==="{REF}");Y_.y=.1;var n6=x6.find(t=>t.text==="{VAL}");n6.y=.1;n6.x=-.4;var f6=m6;var c6={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 h6=e(c6).changeTextAnchor("{REF}","middle_bottom").build();var d6={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:z_,texts:ia,bounds:Do,refblocks:_6,circles:j_}=d6,qo=x({primitives:[...Object.values(z_),...Object.values(j_),{...ia.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...ia.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...ia.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{..._6.left1,labels:["1"]},{..._6.right1,labels:["2"]}],size:{width:Do.width,height:Do.height},center:{x:Do.centerX,y:Do.centerY}});var b6=o(qo);var g6={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:J_,texts:u6,bounds:Go,refblocks:v6,circles:$_}=g6,Ho=x({primitives:[...Object.values(J_),...Object.values($_),{...u6.top1,anchor:"middle_bottom"},{...u6.bottom1,anchor:"middle_top"}],ports:[{...v6.left1,labels:["1"]},{...v6.right1,labels:["2"]}],size:{width:Go.width,height:Go.height},center:{x:Go.centerX,y:Go.centerY}});var la=o(Ho),M_=la.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),C_=la.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");M_.anchor="middle_left";C_.anchor="middle_right";var w6=la;var S6={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:0}],color:"primary",fill:!1},path7:{type:"path",points:[{x:.27,y:-.23},{x:-.26,y:.24}],color:"primary",fill:!1},path8:{type:"path",points:[{x:.38,y:-.23},{x:.27,y:-.23}],color:"primary",fill:!1},path9:{type:"path",points:[{x:0,y:.14},{x:.27,y:.14},{x:.27,y:-.13},{x:-.26,y:-.13},{x:-.26,y:.14},{x:0,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.06,y:.25},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.25}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:N_,texts:A6,bounds:Uo,refblocks:P6}=S6,Zo=x({primitives:[...Object.values(N_),{...A6.top1,x:0,anchor:"middle_bottom"},{...A6.bottom1,x:0,anchor:"middle_top"}],ports:[{...P6.left1,labels:["1","-"]},{...P6.right1,labels:["2","+"]}],size:{width:Uo.width,height:Uo.height},center:{x:Uo.centerX,y:Uo.centerY}});var R6=o(Zo),F6=R6.primitives.filter(t=>t.type==="text"),aa=F6.find(t=>t.text==="{REF}"),pa=F6.find(t=>t.text==="{VAL}");aa.x=.3;aa.y=.15;aa.anchor="middle_left";pa.x=.3;pa.y=-.15;pa.anchor="middle_left";var T6=R6;var E6={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:I_,texts:D_,bounds:Ko,refblocks:V6,circles:q_}=E6,vt=x({primitives:[...Object.values(I_),...Object.values(q_),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...D_.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...V6.left1,labels:["1"]},{...V6.right1,labels:["2"]}],size:{width:Ko.width,height:Ko.height},center:{x:Ko.centerX,y:Ko.centerY}});var{5:G_,...H_}=vt.primitives;function U_(t){return typeof t=="object"}var L6=o({...vt,primitives:Object.values(H_).filter(U_)}),Y6={...L6,primitives:[...L6.primitives,G_]};var $0={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 G(t,l){let{width:r,height:y}=t.size,s=1,p=1;l.width!==void 0&&l.height!==void 0?(s=l.width/r,p=l.height/y):l.width!==void 0?s=p=l.width/r:l.height!==void 0&&(s=p=l.height/y);let c=t.primitives.map(f=>{switch(f.type){case"path":return{...f,points:f.points.map(d=>({x:d.x*s,y:d.y*p}))};case"text":return{...f,x:f.x*s,y:f.y*p,fontSize:f.fontSize?f.fontSize*s:void 0};case"circle":return{...f,x:f.x*s,y:f.y*p,radius:f.radius*s};case"box":return{...f,x:f.x*s,y:f.y*p,width:f.width*s,height:f.height*p};default:return f}});return{...t,primitives:c,center:{x:t.center.x*s,y:t.center.y*p},ports:t.ports.map(f=>({...f,x:f.x*s,y:f.y*p})),size:{width:r*s,height:y*p}}}var K_=e($0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),X6=G(K_,{width:.24,height:.23});var Q_=e($0).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),k6=G(Q_,{width:.23,height:.24});var t8=e($0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),z6=G(t8,{width:.23,height:.24});var e8=e($0).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),j6=G(e8,{width:.24,height:.23});var wt={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:iD,texts:lD,bounds:aD,circles:pD,refblocks:yD}=wt,O6=e(wt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:r8,texts:nD,bounds:J6,circles:i8,refblocks:$6}=wt,l8=e({primitives:[...Object.values(r8),...Object.values(i8),{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{...$6.left1,labels:["left1"]},{...$6.right1,labels:["right1"]}],center:{x:J6.centerX,y:J6.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build(),M6=l8;var C6={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:p8,texts:y8,bounds:Qo,refblocks:W6,circles:s8}=C6,St=x({primitives:[...Object.values(p8),...Object.values(s8),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...y8.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...W6.left1,labels:["1"]},{...W6.right1,labels:["2"]}],size:{width:Qo.width,height:Qo.height},center:{x:Qo.centerX,y:Qo.centerY}});var{5:m8,...x8}=St.primitives;function n8(t){return typeof t=="object"}var N6=o({...St,primitives:Object.values(x8).filter(n8)}),B6={...N6,primitives:[...N6.primitives,m8]};var I6={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:c8,texts:h8,bounds:tr,refblocks:D6,circles:d8}=I6,At=x({primitives:[...Object.values(c8),...Object.values(d8),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...h8.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...D6.left1,labels:["1"]},{...D6.right1,labels:["2"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}});var{5:_8,...b8}=At.primitives;function g8(t){return typeof t=="object"}var q6=o({...At,primitives:Object.values(b8).filter(g8)}),G6={...q6,primitives:[...q6.primitives,_8]};var er={paths:{path40:{type:"path",points:[{x:.14458890000000002,y:.04403629999999992},{x:-.1199943999999995,y:-.08825540000000043}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.1199943999999995,y:.17632800000000026},{x:.14458890000000002,y:.04403629999999992}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.1199943999999995,y:-.0882553999999991},{x:-.1199943999999995,y:.17632800000000026}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14458890000000002,y:.17632800000000026},{x:.14458890000000002,y:-.0882553999999991}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12219909999999956,y:.04403629999999992},{x:-.5168693999999996,y:.04403629999999992}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.5233797000000002,y:.043951100000000354},{x:.1496715999999998,y:.043951100000000354}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14458890000000002,y:.17632800000000026},{x:.21069330000000042,y:.17632800000000026}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14458890000000002,y:-.0882553999999991},{x:.07848449999999962,y:-.0882553999999991}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384530000000007},bottom1:{type:"text",text:"{VAL}",x:-.00011179999999977319,y:-.27384529999999985}},refblocks:{left1:{x:-.5191471000000001,y:.044920700000000924},right1:{x:.5191470999999999,y:.04389609999999999}},bounds:{minX:-.5473055410000001,maxX:.5473055409999998,minY:-.27384529999999985,maxY:.27384530000000007,width:1.094611082,height:.5476905999999999,centerX:-11102230246251565e-32,centerY:11102230246251565e-32},circles:{}};var H6=e(er).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var M0={paths:{"anode-lead":{type:"path",points:[{x:-.25,y:0},{x:-.11999999999999988,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.11999999999999988,y:.11999999999999988},{x:.1200000000000001,y:0},{x:-.11999999999999988,y:-.1200000000000001},{x:-.11999999999999988,y:.11999999999999988}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.16999999999999993,y:.11999999999999988},{x:.1200000000000001,y:.11999999999999988},{x:.1200000000000001,y:-.1200000000000001},{x:.07000000000000006,y:-.1200000000000001}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.1200000000000001,y:0},{x:.25,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:-.25,y:0},right1:{x:.25,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.25,maxY:.25,width:.5,height:.5,centerX:0,centerY:0},circles:{}};var U6=i(M0,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Z6=i(M0,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var K6=i(M0,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var Q6=i(M0,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var{paths:w8,bounds:or,refblocks:tc,circles:S8}=er,ec=e({primitives:[...Object.values(w8),...Object.values(S8),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...tc.left1,labels:["1"]},{...tc.right1,labels:["2"]}],size:{width:or.width,height:or.height},center:{x:or.centerX,y:or.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var C0={paths:{"anode-lead":{type:"path",points:[{x:-.17499999999999982,y:0},{x:-.09999999999999987,y:0}],color:"primary",fill:!1},body:{type:"path",points:[{x:-.09999999999999987,y:.09999999999999987},{x:.10000000000000009,y:0},{x:-.09999999999999987,y:-.10000000000000009},{x:-.09999999999999987,y:.09999999999999987}],color:"primary",fill:!1},"cathode-bar":{type:"path",points:[{x:.15000000000000013,y:.09999999999999987},{x:.10000000000000009,y:.09999999999999987},{x:.10000000000000009,y:-.10000000000000009},{x:.050000000000000044,y:-.10000000000000009}],color:"primary",fill:!1},"cathode-lead":{type:"path",points:[{x:.10000000000000009,y:0},{x:.17500000000000004,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:-.17499999999999982,y:0},right1:{x:.17500000000000004,y:0}},bounds:{minX:-.17499999999999982,maxX:.17500000000000004,minY:-.25,maxY:.25,width:.34999999999999987,height:.5,centerX:11102230246251565e-32,centerY:0},circles:{}};var oc=i(C0,{kind:"diode",orientation:"down",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var rc=i(C0,{kind:"diode",orientation:"left",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var ic=i(C0,{kind:"diode",orientation:"right",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var lc=i(C0,{kind:"diode",orientation:"up",pin1Labels:["1","pos","anode"],pin2Labels:["2","neg","cathode"]});var ac={ac_voltmeter_down:fa,ac_voltmeter_horz:ha,ac_voltmeter_left:_a,ac_voltmeter_right:ga,ac_voltmeter_up:va,ac_voltmeter_vert:Sa,and_gate_down:Aa,and_gate_left:Pa,and_gate_right:Xt,and_gate_up:Ra,avalanche_diode_down:Ta,avalanche_diode_horz:Ea,avalanche_diode_left:La,avalanche_diode_right:Ya,avalanche_diode_sm_down:Xa,avalanche_diode_sm_left:ka,avalanche_diode_sm_right:za,avalanche_diode_sm_up:ja,avalanche_diode_up:Ja,avalanche_diode_vert:Ma,avalanche_diode_xs_down:Ca,avalanche_diode_xs_left:Wa,avalanche_diode_xs_right:Na,avalanche_diode_xs_up:Ba,backward_diode_down:Da,backward_diode_left:Mt,backward_diode_right:Ha,backward_diode_up:Ua,battery_down:Qa,battery_horz:Nt,battery_left:ip,battery_right:pp,battery_up:mp,battery_vert:xp,boxresistor_down:cp,boxresistor_left:_p,boxresistor_right:up,boxresistor_sm_down:vp,boxresistor_sm_left:wp,boxresistor_sm_right:Sp,boxresistor_sm_up:Ap,boxresistor_small_down:Rp,boxresistor_small_left:Tp,boxresistor_small_right:Vp,boxresistor_small_up:Yp,boxresistor_up:zp,boxresistor_xs_down:jp,boxresistor_xs_left:Op,boxresistor_xs_right:Jp,boxresistor_xs_up:$p,bridged_ground_down:Wp,bridged_ground_left:Ip,bridged_ground_right:Gt,bridged_ground_up:Gp,capacitor_down:Up,capacitor_left:Zp,capacitor_polarized_down:Kp,capacitor_polarized_left:Qp,capacitor_polarized_right:ty,capacitor_polarized_up:ey,capacitor_right:oy,capacitor_sm_down:ry,capacitor_sm_left:iy,capacitor_sm_right:ly,capacitor_sm_up:ay,capacitor_up:yy,capacitor_xs_down:sy,capacitor_xs_left:my,capacitor_xs_right:xy,capacitor_xs_up:ny,constant_current_diode_down:cy,constant_current_diode_horz:hy,constant_current_diode_left:_y,constant_current_diode_right:by,constant_current_diode_up:uy,constant_current_diode_vert:wy,crystal_4pin_down:Sy,crystal_4pin_left:Ay,crystal_4pin_right:Py,crystal_4pin_up:Ry,crystal_down:Ty,crystal_left:Ey,crystal_right:Vy,crystal_up:Yy,current_source_down:Xy,current_source_left:ky,current_source_right:zy,current_source_up:jy,darlington_pair_transistor_down:Oy,darlington_pair_transistor_horz:Jy,darlington_pair_transistor_left:$y,darlington_pair_transistor_right:My,darlington_pair_transistor_up:Cy,darlington_pair_transistor_vert:Wy,dc_ammeter_down:ft,dc_ammeter_horz:B,dc_ammeter_left:Dy,dc_ammeter_right:qy,dc_ammeter_up:Gy,dc_ammeter_vert:ft,dc_voltmeter_down:Uy,dc_voltmeter_horz:Ky,dc_voltmeter_left:ts,dc_voltmeter_right:os,dc_voltmeter_up:is,dc_voltmeter_vert:as,diac_down:ps,diac_horz:ys,diac_left:ss,diac_right:ms,diac_up:xs,diac_vert:ns,digital_ground_down:cs,digital_ground_left:ds,digital_ground_right:bs,digital_ground_up:us,diode_down:ws,diode_left:Ss,diode_right:m0,diode_sm_down:As,diode_sm_left:Ps,diode_sm_right:Rs,diode_sm_up:Fs,diode_up:Ts,diode_xs_down:Es,diode_xs_left:Vs,diode_xs_right:Ls,diode_xs_up:Ys,dpdt_normally_closed_switch_down:ks,dpdt_normally_closed_switch_left:zs,dpdt_normally_closed_switch_right:f0,dpdt_normally_closed_switch_up:js,dpdt_switch_down:Js,dpdt_switch_left:$s,dpdt_switch_right:c0,dpdt_switch_up:Ms,dpst_normally_closed_switch_down:Ws,dpst_normally_closed_switch_left:Ns,dpst_normally_closed_switch_right:h0,dpst_normally_closed_switch_up:Bs,dpst_switch_down:Ds,dpst_switch_left:qs,dpst_switch_right:d0,dpst_switch_up:Gs,dual_series_schottky_diode_down:Hs,dual_series_schottky_diode_left:Us,dual_series_schottky_diode_right:ce,dual_series_schottky_diode_up:Zs,ferrite_bead_down:Qs,ferrite_bead_left:tm,ferrite_bead_right:be,ferrite_bead_up:_e,filled_diode_down:om,filled_diode_horz:im,filled_diode_left:am,filled_diode_right:ym,filled_diode_up:mm,filled_diode_vert:nm,frequency_meter_horz:ht,frequency_meter_vert:dm,fuse_horz:Fe,fuse_vert:gm,ground_down:um,ground_horz:vm,ground_left:wm,ground_right:Sm,ground_up:Am,ground_vert:Pm,gunn_diode_horz:Rm,gunn_diode_vert:Fm,icled_down:Em,icled_left:Vm,icled_right:_0,icled_up:Lm,igbt_transistor_horz:Te,igbt_transistor_vert:km,illuminated_push_button_normally_open_horz:Ee,illuminated_push_button_normally_open_vert:Jm,inductor_down:$m,inductor_left:Mm,inductor_right:Cm,inductor_up:Wm,laser_diode_down:Nm,laser_diode_left:Bm,laser_diode_right:g0,laser_diode_up:Im,led_down:Hm,led_left:Um,led_right:G0,led_sm_down:Zm,led_sm_left:Km,led_sm_right:Qm,led_sm_up:tx,led_up:Le,led_xs_down:ex,led_xs_left:ox,led_xs_right:rx,led_xs_up:ix,light_dependent_resistor_horz:Xe,light_dependent_resistor_vert:mx,mosfet_depletion_normally_on_horz:ke,mosfet_depletion_normally_on_vert:dx,mushroom_head_normally_open_momentary_horz:je,mushroom_head_normally_open_momentary_vert:ux,n_channel_d_mosfet_transistor_gate_bottom_drain_left:Fx,n_channel_d_mosfet_transistor_gate_bottom_drain_right:Tx,n_channel_d_mosfet_transistor_gate_left_drain_bottom:Ex,n_channel_d_mosfet_transistor_gate_left_drain_top:Vx,n_channel_d_mosfet_transistor_gate_right_drain_bottom:Lx,n_channel_d_mosfet_transistor_gate_right_drain_top:Yx,n_channel_d_mosfet_transistor_gate_top_drain_left:Xx,n_channel_d_mosfet_transistor_gate_top_drain_right:kx,n_channel_d_mosfet_transistor_horz:u,n_channel_d_mosfet_transistor_vert:P,n_channel_e_mosfet_transistor_gate_bottom_drain_left:Cx,n_channel_e_mosfet_transistor_gate_bottom_drain_right:Wx,n_channel_e_mosfet_transistor_gate_left_drain_bottom:Nx,n_channel_e_mosfet_transistor_gate_left_drain_top:Bx,n_channel_e_mosfet_transistor_gate_right_drain_bottom:Ix,n_channel_e_mosfet_transistor_gate_right_drain_top:Dx,n_channel_e_mosfet_transistor_gate_top_drain_left:qx,n_channel_e_mosfet_transistor_gate_top_drain_right:Gx,n_channel_e_mosfet_transistor_horz:v,n_channel_e_mosfet_transistor_vert:R,njfet_transistor_horz:$e,njfet_transistor_vert:Qx,not_connected_down:o1,not_connected_left:r1,not_connected_right:w0,not_connected_up:i1,npn_bipolar_transistor_down:l1,npn_bipolar_transistor_horz:a1,npn_bipolar_transistor_left:p1,npn_bipolar_transistor_right:y1,npn_bipolar_transistor_up:s1,npn_bipolar_transistor_vert:m1,opamp_no_power_down:n1,opamp_no_power_left:f1,opamp_no_power_right:S0,opamp_no_power_up:c1,opamp_with_power_down:d1,opamp_with_power_left:_1,opamp_with_power_right:A0,opamp_with_power_up:b1,p_channel_d_mosfet_transistor_gate_bottom_drain_left:P1,p_channel_d_mosfet_transistor_gate_bottom_drain_right:R1,p_channel_d_mosfet_transistor_gate_left_drain_bottom:F1,p_channel_d_mosfet_transistor_gate_left_drain_top:T1,p_channel_d_mosfet_transistor_gate_right_drain_bottom:E1,p_channel_d_mosfet_transistor_gate_right_drain_top:V1,p_channel_d_mosfet_transistor_gate_top_drain_left:L1,p_channel_d_mosfet_transistor_gate_top_drain_right:Y1,p_channel_d_mosfet_transistor_horz:w,p_channel_d_mosfet_transistor_vert:F,p_channel_e_mosfet_transistor_gate_bottom_drain_left:$1,p_channel_e_mosfet_transistor_gate_bottom_drain_right:M1,p_channel_e_mosfet_transistor_gate_left_drain_bottom:C1,p_channel_e_mosfet_transistor_gate_left_drain_top:W1,p_channel_e_mosfet_transistor_gate_right_drain_bottom:N1,p_channel_e_mosfet_transistor_gate_right_drain_top:B1,p_channel_e_mosfet_transistor_gate_top_drain_left:I1,p_channel_e_mosfet_transistor_gate_top_drain_right:D1,p_channel_e_mosfet_transistor_horz:S,p_channel_e_mosfet_transistor_vert:T,photodiode_horz:De,photodiode_vert:U1,phototransistor_optocoupler_down:Z1,phototransistor_optocoupler_left:K1,phototransistor_optocoupler_right:qe,phototransistor_optocoupler_up:Q1,pjfet_transistor_horz:He,pjfet_transistor_vert:ln,pnp_bipolar_transistor_down:an,pnp_bipolar_transistor_horz:pn,pnp_bipolar_transistor_left:yn,pnp_bipolar_transistor_right:sn,pnp_bipolar_transistor_up:mn,pnp_bipolar_transistor_vert:xn,potentiometer_horz:oo,potentiometer_vert:hn,potentiometer2_down:gn,potentiometer2_left:un,potentiometer2_right:P0,potentiometer2_up:vn,potentiometer3_down:wn,potentiometer3_left:Sn,potentiometer3_right:An,potentiometer3_up:Pn,power_factor_meter_horz:yo,power_factor_meter_vert:En,push_button_normally_closed_momentary_horz:so,push_button_normally_closed_momentary_vert:kn,push_button_normally_open_momentary_down:jn,push_button_normally_open_momentary_horz:Jn,push_button_normally_open_momentary_left:$n,push_button_normally_open_momentary_right:D,push_button_normally_open_momentary_up:Mn,push_button_normally_open_momentary_vert:Cn,rail_down:Nn,rail_left:In,rail_right:qn,rail_up:Hn,rectifier_diode_horz:fo,rectifier_diode_vert:Kn,resistor_down:t2,resistor_left:o2,resistor_right:i2,resistor_sm_down:l2,resistor_sm_left:a2,resistor_sm_right:p2,resistor_sm_up:y2,resistor_up:m2,resistor_xs_down:x2,resistor_xs_left:n2,resistor_xs_right:f2,resistor_xs_up:c2,resonator_down:d2,resonator_horz:wo,resonator_left:_2,resonator_right:L0,resonator_up:b2,resonator_vert:g2,schmitt_trigger_inverter_down:u2,schmitt_trigger_inverter_left:v2,schmitt_trigger_inverter_right:So,schmitt_trigger_inverter_up:w2,schottky_diode_down:A2,schottky_diode_left:P2,schottky_diode_right:Y0,schottky_diode_up:R2,silicon_controlled_rectifier_horz:Ao,silicon_controlled_rectifier_vert:E2,solderjumper2_bridged12_down:V2,solderjumper2_bridged12_left:Y2,solderjumper2_bridged12_right:et,solderjumper2_bridged12_up:k2,solderjumper2_down:z2,solderjumper2_left:O2,solderjumper2_right:ot,solderjumper2_up:$2,solderjumper3_bridged12_down:M2,solderjumper3_bridged12_left:W2,solderjumper3_bridged12_right:rt,solderjumper3_bridged12_up:B2,solderjumper3_bridged123_down:I2,solderjumper3_bridged123_left:q2,solderjumper3_bridged123_right:it,solderjumper3_bridged123_up:H2,solderjumper3_bridged23_down:U2,solderjumper3_bridged23_left:K2,solderjumper3_bridged23_right:lt,solderjumper3_bridged23_up:tf,solderjumper3_down:ef,solderjumper3_left:rf,solderjumper3_right:at,solderjumper3_up:af,spdt_normally_closed_switch_down:yf,spdt_normally_closed_switch_left:sf,spdt_normally_closed_switch_right:X0,spdt_normally_closed_switch_up:mf,spdt_switch_down:nf,spdt_switch_left:ff,spdt_switch_right:k0,spdt_switch_up:cf,speaker_down:df,speaker_horz:bf,speaker_left:uf,speaker_right:wf,speaker_up:Af,speaker_vert:Rf,spst_normally_closed_switch_down:Ff,spst_normally_closed_switch_left:Tf,spst_normally_closed_switch_right:z0,spst_normally_closed_switch_up:Ef,spst_switch_down:Vf,spst_switch_left:Lf,spst_switch_right:j0,spst_switch_up:Yf,square_wave_down:Xf,square_wave_left:kf,square_wave_right:zf,square_wave_up:jf,step_recovery_diode_horz:Oo,step_recovery_diode_vert:Of,tachometer_horz:ut,tachometer_vert:Cf,testpoint_down:Bf,testpoint_left:If,testpoint_right:J0,testpoint_up:Gf,tilted_ground_down:Uf,tilted_ground_left:Zf,tilted_ground_right:pt,tilted_ground_up:$o,transformer_4_winding_down:Kf,transformer_4_winding_left:Qf,transformer_4_winding_right:Mo,transformer_4_winding_up:t6,triac_horz:Co,triac_vert:r6,tunnel_diode_horz:No,tunnel_diode_vert:p6,unijunction_transistor_horz:Io,unijunction_transistor_vert:f6,usbc:h6,var_meter_horz:qo,var_meter_vert:b6,varactor_diode_horz:Ho,varactor_diode_vert:w6,varistor_horz:Zo,varistor_vert:T6,varmeter_horz:vt,varmeter_vert:Y6,vcc_down:X6,vcc_left:k6,vcc_right:z6,vcc_up:j6,volt_meter_horz:O6,volt_meter_vert:M6,watt_hour_meter_horz:St,watt_hour_meter_vert:B6,wattmeter_horz:At,wattmeter_vert:G6,zener_diode_horz:H6,zener_diode_sm_down:U6,zener_diode_sm_left:Z6,zener_diode_sm_right:K6,zener_diode_sm_up:Q6,zener_diode_vert:ec,zener_diode_xs_down:oc,zener_diode_xs_left:rc,zener_diode_xs_right:ic,zener_diode_xs_up:lc};var E=(t,l=!0)=>l?-t:t;var N0=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function pc(t,{closed:l=!1,yUpPositive:r=!0}){let y=t.map((s,p)=>`${p===0?"M":"L"}${s.x},${E(s.y,r)}`).join(" ");return l?`${y} Z`:y}function P8(t,l=.05,r=!0){let{x:y,y:s}=t,p=l/2;return`<path d="M ${y} ${E(s,r)-p} L ${y+p} ${E(s,r)} L ${y} ${E(s,r)+p} L ${y-p} ${E(s,r)} Z" fill="green" />`}function R8(t,{yUpPositive:l}){let{x:r,y,text:s,fontSize:p=.1,anchor:c}=t,f,d=0,a=0,m=p*.75;switch(c){case"top_left":f="start",a=p;break;case"top_right":f="end",a=p;break;case"bottom_left":f="start";break;case"bottom_right":f="end";break;case"center":f="middle",a=p/2;break;case"middle_top":f="middle",a=m;break;case"middle_bottom":f="middle";break;case"middle_left":f="start",a=m/2;break;case"middle_right":f="end",a=m/2;break}return{text:`<text x="${r}" y="${E(y,l)}" dx="${d}" dy="${a}" text-anchor="${f}" style="font: ${p??.1}px monospace; fill: ${N0("primary")}">${s}</text>`,anchor:`<rect x="${r-.025/2}" y="${E(y,l)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function F8(t,{yUpPositive:l}){let{x:r,y,labels:s}=t,p=.05,c=.08,f=s[0]||"";return`
7
7
  ${`
8
- <line x1="${i-p/2}" y1="${T(s,l)-p/2}" x2="${i+p/2}" y2="${T(s,l)+p/2}" stroke="red" stroke-width="0.004" />
9
- <line x1="${i-p/2}" y1="${T(s,l)+p/2}" x2="${i+p/2}" y2="${T(s,l)-p/2}" stroke="red" stroke-width="0.004" />
8
+ <line x1="${r-p/2}" y1="${E(y,l)-p/2}" x2="${r+p/2}" y2="${E(y,l)+p/2}" stroke="red" stroke-width="0.004" />
9
+ <line x1="${r-p/2}" y1="${E(y,l)+p/2}" x2="${r+p/2}" y2="${E(y,l)-p/2}" stroke="red" stroke-width="0.004" />
10
10
  `}
11
- <text x="${i-c/2}" y="${T(s,l)+p+c/2}"
11
+ <text x="${r-c/2}" y="${E(y,l)+p+c/2}"
12
12
  text-anchor="middle" style="font: ${c}px monospace; fill: #833;">${f}</text>
13
- `}function jh(t,l={}){let{debug:i=!1}=l,{primitives:s,size:y,ports:p}=t,c=s.map(m=>{switch(m.type){case"path":return`<path d="${kh(m.points,{closed:m.closed,yUpPositive:!0})}" fill="${m.fill?Nt(m.color):"none"}" stroke="${Nt(m.color)}" stroke-width="${m.strokeWidth??.02}" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let h=Hb(m,{yUpPositive:!0});return h.text+(i?h.anchor:"");case"circle":return`<circle cx="${m.x}" cy="${T(m.y,!0)}" r="${m.radius}" fill="${m.fill?Nt(m.color):"none"}" ${m.fill?"":`stroke="${Nt(m.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${m.x}" y="${T(m.y)}" width="${m.width}" height="${m.height}" fill="${Nt("primary")}" />`;default:return""}}),f=p.map(m=>Gb(m,{yUpPositive:!0})).join(`
14
- `),d=qb(t.center),a=[];if(i){let m={x:t.center.x-y.width/2,y:t.center.y-y.height/2};a.push(`<text x="${m.x}" y="${m.y}" style="font: 0.05px monospace; fill: #833;">${y.width.toFixed(2)} x ${y.height.toFixed(2)}</text>`),p.forEach((h,b)=>{if(h.labels.length>1){let _=h.labels.slice(1).join(", ");a.push(`<text x="${m.x}" y="${m.y-(b+1)*.05}" dy="-0.15" style="font: 0.05px monospace; fill: #833;">${h.labels[0]} [${_}]</text>`)}}),a.push(...a)}return[c.join(`
13
+ `}function yc(t,l={}){let{debug:r=!1}=l,{primitives:y,size:s,ports:p}=t,c=y.map(m=>{switch(m.type){case"path":return`<path d="${pc(m.points,{closed:m.closed,yUpPositive:!0})}" fill="${m.fill?N0(m.color):"none"}" stroke="${N0(m.color)}" stroke-width="${m.strokeWidth??.02}" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let h=R8(m,{yUpPositive:!0});return h.text+(r?h.anchor:"");case"circle":return`<circle cx="${m.x}" cy="${E(m.y,!0)}" r="${m.radius}" fill="${m.fill?N0(m.color):"none"}" ${m.fill?"":`stroke="${N0(m.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${m.x}" y="${E(m.y)}" width="${m.width}" height="${m.height}" fill="${N0("primary")}" />`;default:return""}}),f=p.map(m=>F8(m,{yUpPositive:!0})).join(`
14
+ `),d=P8(t.center),a=[];if(r){let m={x:t.center.x-s.width/2,y:t.center.y-s.height/2};a.push(`<text x="${m.x}" y="${m.y}" style="font: 0.05px monospace; fill: #833;">${s.width.toFixed(2)} x ${s.height.toFixed(2)}</text>`),p.forEach((h,g)=>{if(h.labels.length>1){let _=h.labels.slice(1).join(", ");a.push(`<text x="${m.x}" y="${m.y-(g+1)*.05}" dy="-0.15" style="font: 0.05px monospace; fill: #833;">${h.labels[0]} [${_}]</text>`)}}),a.push(...a)}return[c.join(`
15
15
  `),f,d,...a].join(`
16
- `)}function Ub(t,l={}){let{size:i}=t,s=jh(t,l),{width:y,height:p}=l,c=1.2,f=i.width*c,d=i.height*c,a={x:t.center.x-f/2,y:T(t.center.y,!0)-d/2,width:f,height:d};return y&&!p?p=y*(a.height/a.width):!y&&p?y=p*(a.width/a.height):!y&&!p&&(y=a.width,p=a.height),`<svg width="${y}" height="${p}" viewBox="${a.x} ${a.y} ${a.width} ${a.height}" xmlns="http://www.w3.org/2000/svg">${s}</svg>`}var jQ=Object.fromEntries(Object.keys(zh).map(t=>[t,t]));export{jQ as BASE_SYMBOLS,jh as getInnerSvg,Ub as getSvg,H as resizeSymbol,zh as symbols};
16
+ `)}function T8(t,l={}){let{size:r}=t,y=yc(t,l),{width:s,height:p}=l,c=1.2,f=r.width*c,d=r.height*c,a={x:t.center.x-f/2,y:E(t.center.y,!0)-d/2,width:f,height:d};return s&&!p?p=s*(a.height/a.width):!s&&p?s=p*(a.width/a.height):!s&&!p&&(s=a.width,p=a.height),`<svg width="${s}" height="${p}" viewBox="${a.x} ${a.y} ${a.width} ${a.height}" xmlns="http://www.w3.org/2000/svg">${y}</svg>`}var It0=Object.fromEntries(Object.keys(ac).map(t=>[t,t]));export{It0 as BASE_SYMBOLS,yc as getInnerSvg,T8 as getSvg,G as resizeSymbol,ac as symbols};
17
17
  //# sourceMappingURL=index.js.map