schematic-symbols 0.0.93 → 0.0.95

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -195,12 +195,46 @@ var ac_voltmeter_horz_default = defineSymbol({
195
195
 
196
196
  // drawing/rotateSymbol.ts
197
197
  import { rotate, applyToPoint } from "transformation-matrix";
198
- var rotateAnchor = (anchor) => {
199
- switch (anchor) {
200
- case "middle_top":
201
- return "middle_right";
202
- case "middle_bottom":
203
- return "middle_left";
198
+ var rotateAnchor = (anchor, orientation = "right") => {
199
+ switch (orientation) {
200
+ case "up":
201
+ switch (anchor) {
202
+ case "middle_top":
203
+ return "middle_left";
204
+ case "middle_bottom":
205
+ return "middle_right";
206
+ case "middle_left":
207
+ return "middle_bottom";
208
+ case "middle_right":
209
+ return "middle_top";
210
+ }
211
+ break;
212
+ case "down":
213
+ switch (anchor) {
214
+ case "middle_top":
215
+ return "middle_right";
216
+ case "middle_bottom":
217
+ return "middle_left";
218
+ case "middle_left":
219
+ return "middle_top";
220
+ case "middle_right":
221
+ return "middle_bottom";
222
+ }
223
+ break;
224
+ case "left":
225
+ switch (anchor) {
226
+ case "middle_top":
227
+ return "middle_bottom";
228
+ case "middle_bottom":
229
+ return "middle_top";
230
+ case "middle_left":
231
+ return "middle_right";
232
+ case "middle_right":
233
+ return "middle_left";
234
+ }
235
+ break;
236
+ case "right":
237
+ return anchor;
204
238
  }
205
239
  return anchor;
206
240
  };
@@ -232,7 +266,10 @@ var rotateSymbol = (symbol, orientation, overrides) => {
232
266
  x: primitive.x,
233
267
  y: primitive.y
234
268
  });
235
- primitive.anchor = rotateAnchor(primitive.anchor);
269
+ primitive.anchor = rotateAnchor(
270
+ primitive.anchor,
271
+ orientation ?? "right"
272
+ );
236
273
  return {
237
274
  ...primitive,
238
275
  x: rotatedPoint.x,
@@ -5120,37 +5157,33 @@ var led_default = {
5120
5157
  circles: {}
5121
5158
  };
5122
5159
 
5123
- // symbols/led_horz.ts
5124
- var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24 } = led_default;
5125
- var led_horz_default = defineSymbol({
5160
+ // symbols/led_right.ts
5161
+ var { paths: paths24, texts: texts28, bounds: bounds24, refblocks: refblocks24, circles: circles21 } = led_default;
5162
+ var led_right_default = defineSymbol({
5126
5163
  primitives: [
5127
5164
  ...Object.values(paths24),
5128
- { ...texts28.bottom1, anchor: "middle_right" },
5129
- { ...texts28.right1, anchor: "middle_left" }
5165
+ ...Object.values(circles21),
5166
+ { ...texts28.bottom1, anchor: "middle_top" },
5167
+ { ...texts28.right1, anchor: "middle_bottom" }
5130
5168
  ],
5131
5169
  ports: [
5132
- { ...refblocks24.left1, labels: ["1", "anode", "pos"] },
5133
- { ...refblocks24.right1, labels: ["2", "cathode", "neg"] }
5170
+ { ...refblocks24.left1, labels: ["1"] },
5171
+ // TODO add more "standard" labels
5172
+ { ...refblocks24.right1, labels: ["2"] }
5173
+ // TODO add more "standard" labels
5134
5174
  ],
5135
5175
  size: { width: bounds24.width, height: bounds24.height },
5136
- center: { x: bounds24.centerX, y: bounds24.centerY + 0.1 }
5176
+ center: { x: bounds24.centerX, y: bounds24.centerY }
5137
5177
  });
5138
5178
 
5139
- // symbols/led_vert.ts
5140
- var rotated3 = rotateSymbol(led_horz_default);
5141
- var ref10 = rotated3.primitives.find(
5142
- (p) => p.type === "text" && p.text === "{REF}"
5143
- );
5144
- var val9 = rotated3.primitives.find(
5145
- (p) => p.type === "text" && p.text === "{VAL}"
5146
- );
5147
- ref10.anchor = "middle_left";
5148
- val9.anchor = "middle_right";
5149
- ref10.x += 0.1;
5150
- ref10.y += 0.017;
5151
- val9.y = ref10.y;
5152
- val9.x = -0.3;
5153
- var led_vert_default = rotated3;
5179
+ // symbols/led_down.ts
5180
+ var led_down_default = rotateSymbol(led_right_default, "down");
5181
+
5182
+ // symbols/led_left.ts
5183
+ var led_left_default = rotateSymbol(led_right_default, "left");
5184
+
5185
+ // symbols/led_up.ts
5186
+ var led_up_default = rotateSymbol(led_right_default, "up");
5154
5187
 
5155
5188
  // assets/generated/light_dependent_resistor.json
5156
5189
  var light_dependent_resistor_default = {
@@ -5377,11 +5410,11 @@ var light_dependent_resistor_default = {
5377
5410
  };
5378
5411
 
5379
5412
  // symbols/light_dependent_resistor_horz.ts
5380
- var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles21 } = light_dependent_resistor_default;
5413
+ var { paths: paths25, texts: texts29, bounds: bounds25, refblocks: refblocks25, circles: circles22 } = light_dependent_resistor_default;
5381
5414
  var light_dependent_resistor_horz_default = defineSymbol({
5382
5415
  primitives: [
5383
5416
  ...Object.values(paths25),
5384
- ...Object.values(circles21),
5417
+ ...Object.values(circles22),
5385
5418
  { ...texts29.top1, anchor: "middle_left", x: 0 },
5386
5419
  { ...texts29.bottom1, anchor: "middle_left", x: 0 }
5387
5420
  ],
@@ -5398,14 +5431,14 @@ var light_dependent_resistor_horz_default = defineSymbol({
5398
5431
  // symbols/light_dependent_resistor_vert.ts
5399
5432
  var rotatedSymbol12 = rotateSymbol(light_dependent_resistor_horz_default);
5400
5433
  var texts30 = rotatedSymbol12.primitives.filter((p) => p.type === "text");
5401
- var val10 = texts30.find((t) => t.text === "{VAL}");
5402
- val10.x = -0.35;
5403
- val10.y = 0;
5404
- val10.anchor = "middle_right";
5405
- var ref11 = texts30.find((t) => t.text === "{REF}");
5406
- ref11.y = 0;
5407
- ref11.x = 0.35;
5408
- ref11.anchor = "middle_left";
5434
+ var val9 = texts30.find((t) => t.text === "{VAL}");
5435
+ val9.x = -0.35;
5436
+ val9.y = 0;
5437
+ val9.anchor = "middle_right";
5438
+ var ref10 = texts30.find((t) => t.text === "{REF}");
5439
+ ref10.y = 0;
5440
+ ref10.x = 0.35;
5441
+ ref10.anchor = "middle_left";
5409
5442
  var light_dependent_resistor_vert_default = rotatedSymbol12;
5410
5443
 
5411
5444
  // assets/generated/mosfet_depletion_normally_on.json
@@ -5699,18 +5732,18 @@ var mosfet_depletion_normally_on_horz_default = defineSymbol({
5699
5732
  });
5700
5733
 
5701
5734
  // symbols/mosfet_depletion_normally_on_vert.ts
5702
- var rotated4 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
5703
- var ref12 = rotated4.primitives.find(
5735
+ var rotated3 = rotateSymbol(mosfet_depletion_normally_on_horz_default);
5736
+ var ref11 = rotated3.primitives.find(
5704
5737
  (p) => p.type === "text" && p.text === "{REF}"
5705
5738
  );
5706
- var val11 = rotated4.primitives.find(
5739
+ var val10 = rotated3.primitives.find(
5707
5740
  (p) => p.type === "text" && p.text === "{VAL}"
5708
5741
  );
5709
- ref12.anchor = "middle_top";
5710
- val11.anchor = "middle_top";
5711
- ref12.x = val11.x;
5712
- val11.y += 0.15;
5713
- var mosfet_depletion_normally_on_vert_default = rotated4;
5742
+ ref11.anchor = "middle_top";
5743
+ val10.anchor = "middle_top";
5744
+ ref11.x = val10.x;
5745
+ val10.y += 0.15;
5746
+ var mosfet_depletion_normally_on_vert_default = rotated3;
5714
5747
 
5715
5748
  // assets/generated/mushroom_head_normally_open_momentary.json
5716
5749
  var mushroom_head_normally_open_momentary_default = {
@@ -6321,11 +6354,11 @@ var mushroom_head_normally_open_momentary_default = {
6321
6354
  };
6322
6355
 
6323
6356
  // symbols/mushroom_head_normally_open_momentary_horz.ts
6324
- var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles: circles22 } = mushroom_head_normally_open_momentary_default;
6357
+ var { paths: paths27, texts: texts32, bounds: bounds27, refblocks: refblocks27, circles: circles23 } = mushroom_head_normally_open_momentary_default;
6325
6358
  var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
6326
6359
  primitives: [
6327
6360
  ...Object.values(paths27),
6328
- ...Object.values(circles22),
6361
+ ...Object.values(circles23),
6329
6362
  { ...texts32.top1, anchor: "middle_bottom", x: 0 },
6330
6363
  { ...texts32.bottom1, anchor: "middle_top", x: 0 }
6331
6364
  ],
@@ -6338,20 +6371,20 @@ var mushroom_head_normally_open_momentary_horz_default = defineSymbol({
6338
6371
  });
6339
6372
 
6340
6373
  // symbols/mushroom_head_normally_open_momentary_vert.ts
6341
- var rotated5 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
6342
- var ref13 = rotated5.primitives.find(
6374
+ var rotated4 = rotateSymbol(mushroom_head_normally_open_momentary_horz_default);
6375
+ var ref12 = rotated4.primitives.find(
6343
6376
  (p) => p.type === "text" && p.text === "{REF}"
6344
6377
  );
6345
- var val12 = rotated5.primitives.find(
6378
+ var val11 = rotated4.primitives.find(
6346
6379
  (p) => p.type === "text" && p.text === "{VAL}"
6347
6380
  );
6348
- ref13.anchor = "middle_left";
6349
- val12.anchor = "middle_right";
6350
- ref13.x = ref13.x - 0.03;
6351
- ref13.y = ref13.y;
6352
- val12.x = val12.x;
6353
- val12.y = 0;
6354
- var mushroom_head_normally_open_momentary_vert_default = rotated5;
6381
+ ref12.anchor = "middle_left";
6382
+ val11.anchor = "middle_right";
6383
+ ref12.x = ref12.x - 0.03;
6384
+ ref12.y = ref12.y;
6385
+ val11.x = val11.x;
6386
+ val11.y = 0;
6387
+ var mushroom_head_normally_open_momentary_vert_default = rotated4;
6355
6388
 
6356
6389
  // assets/generated/n_channel_d_mosfet_transistor.json
6357
6390
  var n_channel_d_mosfet_transistor_default = {
@@ -6547,11 +6580,11 @@ var n_channel_d_mosfet_transistor_default = {
6547
6580
  };
6548
6581
 
6549
6582
  // symbols/n_channel_d_mosfet_transistor_horz.ts
6550
- var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles23 } = n_channel_d_mosfet_transistor_default;
6583
+ var { paths: paths28, texts: texts33, bounds: bounds28, refblocks: refblocks28, circles: circles24 } = n_channel_d_mosfet_transistor_default;
6551
6584
  var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
6552
6585
  primitives: [
6553
6586
  ...Object.values(paths28),
6554
- ...Object.values(circles23),
6587
+ ...Object.values(circles24),
6555
6588
  { ...texts33.top1, anchor: "middle_right", x: 0 },
6556
6589
  { ...texts33.bottom1, anchor: "middle_right", x: 0 }
6557
6590
  ],
@@ -6570,14 +6603,14 @@ var n_channel_d_mosfet_transistor_horz_default = defineSymbol({
6570
6603
  // symbols/n_channel_d_mosfet_transistor_vert.ts
6571
6604
  var rotatedSymbol13 = rotateSymbol(n_channel_d_mosfet_transistor_horz_default);
6572
6605
  var texts34 = rotatedSymbol13.primitives.filter((p) => p.type === "text");
6573
- var val13 = texts34.find((t) => t.text === "{VAL}");
6574
- val13.x = -0.35;
6575
- val13.y = 0;
6576
- val13.anchor = "middle_right";
6577
- var ref14 = texts34.find((t) => t.text === "{REF}");
6578
- ref14.y = 0;
6579
- ref14.x = 0.35;
6580
- ref14.anchor = "middle_left";
6606
+ var val12 = texts34.find((t) => t.text === "{VAL}");
6607
+ val12.x = -0.35;
6608
+ val12.y = 0;
6609
+ val12.anchor = "middle_right";
6610
+ var ref13 = texts34.find((t) => t.text === "{REF}");
6611
+ ref13.y = 0;
6612
+ ref13.x = 0.35;
6613
+ ref13.anchor = "middle_left";
6581
6614
  var n_channel_d_mosfet_transistor_vert_default = rotatedSymbol13;
6582
6615
 
6583
6616
  // assets/generated/n_channel_e_mosfet_transistor.json
@@ -6804,11 +6837,11 @@ var n_channel_e_mosfet_transistor_default = {
6804
6837
  };
6805
6838
 
6806
6839
  // symbols/n_channel_e_mosfet_transistor_horz.ts
6807
- var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles24 } = n_channel_e_mosfet_transistor_default;
6840
+ var { paths: paths29, texts: texts35, bounds: bounds29, refblocks: refblocks29, circles: circles25 } = n_channel_e_mosfet_transistor_default;
6808
6841
  var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
6809
6842
  primitives: [
6810
6843
  ...Object.values(paths29),
6811
- ...Object.values(circles24),
6844
+ ...Object.values(circles25),
6812
6845
  { ...texts35.top1, anchor: "middle_right", x: 0 },
6813
6846
  { ...texts35.bottom1, anchor: "middle_right", x: 0 }
6814
6847
  ],
@@ -6827,14 +6860,14 @@ var n_channel_e_mosfet_transistor_horz_default = defineSymbol({
6827
6860
  // symbols/n_channel_e_mosfet_transistor_vert.ts
6828
6861
  var rotatedSymbol14 = rotateSymbol(n_channel_e_mosfet_transistor_horz_default);
6829
6862
  var texts36 = rotatedSymbol14.primitives.filter((p) => p.type === "text");
6830
- var val14 = texts36.find((t) => t.text === "{VAL}");
6831
- val14.x = -0.35;
6832
- val14.y = 0;
6833
- val14.anchor = "middle_right";
6834
- var ref15 = texts36.find((t) => t.text === "{REF}");
6835
- ref15.y = 0;
6836
- ref15.x = 0.35;
6837
- ref15.anchor = "middle_left";
6863
+ var val13 = texts36.find((t) => t.text === "{VAL}");
6864
+ val13.x = -0.35;
6865
+ val13.y = 0;
6866
+ val13.anchor = "middle_right";
6867
+ var ref14 = texts36.find((t) => t.text === "{REF}");
6868
+ ref14.y = 0;
6869
+ ref14.x = 0.35;
6870
+ ref14.anchor = "middle_left";
6838
6871
  var n_channel_e_mosfet_transistor_vert_default = rotatedSymbol14;
6839
6872
 
6840
6873
  // assets/generated/njfet_transistor.json
@@ -7001,11 +7034,11 @@ var njfet_transistor_default = {
7001
7034
  };
7002
7035
 
7003
7036
  // symbols/njfet_transistor_horz.ts
7004
- var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles25 } = njfet_transistor_default;
7037
+ var { paths: paths30, texts: texts37, bounds: bounds30, refblocks: refblocks30, circles: circles26 } = njfet_transistor_default;
7005
7038
  var njfet_transistor_horz_default = defineSymbol({
7006
7039
  primitives: [
7007
7040
  ...Object.values(paths30),
7008
- ...Object.values(circles25),
7041
+ ...Object.values(circles26),
7009
7042
  { ...texts37.top1, anchor: "middle_right", x: 0 },
7010
7043
  { ...texts37.bottom1, anchor: "middle_right", x: 0 }
7011
7044
  ],
@@ -7024,14 +7057,14 @@ var njfet_transistor_horz_default = defineSymbol({
7024
7057
  // symbols/njfet_transistor_vert.ts
7025
7058
  var rotatedSymbol15 = rotateSymbol(njfet_transistor_horz_default);
7026
7059
  var texts38 = rotatedSymbol15.primitives.filter((p) => p.type === "text");
7027
- var val15 = texts38.find((t) => t.text === "{VAL}");
7028
- val15.x = -0.35;
7029
- val15.y = 0;
7030
- val15.anchor = "middle_right";
7031
- var ref16 = texts38.find((t) => t.text === "{REF}");
7032
- ref16.y = 0;
7033
- ref16.x = 0.35;
7034
- ref16.anchor = "middle_left";
7060
+ var val14 = texts38.find((t) => t.text === "{VAL}");
7061
+ val14.x = -0.35;
7062
+ val14.y = 0;
7063
+ val14.anchor = "middle_right";
7064
+ var ref15 = texts38.find((t) => t.text === "{REF}");
7065
+ ref15.y = 0;
7066
+ ref15.x = 0.35;
7067
+ ref15.anchor = "middle_left";
7035
7068
  var njfet_transistor_vert_default = rotatedSymbol15;
7036
7069
 
7037
7070
  // assets/generated/npn_bipolar_transistor.json
@@ -7198,11 +7231,11 @@ var npn_bipolar_transistor_default = {
7198
7231
  };
7199
7232
 
7200
7233
  // symbols/npn_bipolar_transistor_horz.ts
7201
- var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles26 } = npn_bipolar_transistor_default;
7234
+ var { paths: paths31, texts: texts39, bounds: bounds31, refblocks: refblocks31, circles: circles27 } = npn_bipolar_transistor_default;
7202
7235
  var npn_bipolar_transistor_horz_default = defineSymbol({
7203
7236
  primitives: [
7204
7237
  ...Object.values(paths31),
7205
- ...Object.values(circles26),
7238
+ ...Object.values(circles27),
7206
7239
  {
7207
7240
  type: "text",
7208
7241
  text: "{REF}",
@@ -7230,8 +7263,8 @@ var npn_bipolar_transistor_horz_default = defineSymbol({
7230
7263
  // symbols/npn_bipolar_transistor_vert.ts
7231
7264
  var rotatedSymbol16 = rotateSymbol(npn_bipolar_transistor_horz_default);
7232
7265
  var texts40 = rotatedSymbol16.primitives.filter((p) => p.type === "text");
7233
- var ref17 = texts40.find((t) => t.text === "{REF}");
7234
- ref17.anchor = "middle_left";
7266
+ var ref16 = texts40.find((t) => t.text === "{REF}");
7267
+ ref16.anchor = "middle_left";
7235
7268
  var npn_bipolar_transistor_vert_default = rotatedSymbol16;
7236
7269
 
7237
7270
  // assets/generated/p_channel_d_mosfet_transistor.json
@@ -7428,11 +7461,11 @@ var p_channel_d_mosfet_transistor_default = {
7428
7461
  };
7429
7462
 
7430
7463
  // symbols/p_channel_d_mosfet_transistor_horz.ts
7431
- var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles27 } = p_channel_d_mosfet_transistor_default;
7464
+ var { paths: paths32, texts: texts41, bounds: bounds32, refblocks: refblocks32, circles: circles28 } = p_channel_d_mosfet_transistor_default;
7432
7465
  var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
7433
7466
  primitives: [
7434
7467
  ...Object.values(paths32),
7435
- ...Object.values(circles27),
7468
+ ...Object.values(circles28),
7436
7469
  { ...texts41.top1, anchor: "middle_right", x: 0 },
7437
7470
  { ...texts41.bottom1, anchor: "middle_right", x: 0 }
7438
7471
  ],
@@ -7451,14 +7484,14 @@ var p_channel_d_mosfet_transistor_horz_default = defineSymbol({
7451
7484
  // symbols/p_channel_d_mosfet_transistor_vert.ts
7452
7485
  var rotatedSymbol17 = rotateSymbol(p_channel_d_mosfet_transistor_horz_default);
7453
7486
  var texts42 = rotatedSymbol17.primitives.filter((p) => p.type === "text");
7454
- var val16 = texts42.find((t) => t.text === "{VAL}");
7455
- val16.x = -0.35;
7456
- val16.y = 0;
7457
- val16.anchor = "middle_right";
7458
- var ref18 = texts42.find((t) => t.text === "{REF}");
7459
- ref18.y = 0;
7460
- ref18.x = 0.35;
7461
- ref18.anchor = "middle_left";
7487
+ var val15 = texts42.find((t) => t.text === "{VAL}");
7488
+ val15.x = -0.35;
7489
+ val15.y = 0;
7490
+ val15.anchor = "middle_right";
7491
+ var ref17 = texts42.find((t) => t.text === "{REF}");
7492
+ ref17.y = 0;
7493
+ ref17.x = 0.35;
7494
+ ref17.anchor = "middle_left";
7462
7495
  var p_channel_d_mosfet_transistor_vert_default = rotatedSymbol17;
7463
7496
 
7464
7497
  // assets/generated/p_channel_e_mosfet_transistor.json
@@ -7685,11 +7718,11 @@ var p_channel_e_mosfet_transistor_default = {
7685
7718
  };
7686
7719
 
7687
7720
  // symbols/p_channel_e_mosfet_transistor_horz.ts
7688
- var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles28 } = p_channel_e_mosfet_transistor_default;
7721
+ var { paths: paths33, texts: texts43, bounds: bounds33, refblocks: refblocks33, circles: circles29 } = p_channel_e_mosfet_transistor_default;
7689
7722
  var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
7690
7723
  primitives: [
7691
7724
  ...Object.values(paths33),
7692
- ...Object.values(circles28),
7725
+ ...Object.values(circles29),
7693
7726
  { ...texts43.top1, anchor: "middle_right", x: 0 },
7694
7727
  { ...texts43.bottom1, anchor: "middle_right", x: 0 }
7695
7728
  ],
@@ -7708,14 +7741,14 @@ var p_channel_e_mosfet_transistor_horz_default = defineSymbol({
7708
7741
  // symbols/p_channel_e_mosfet_transistor_vert.ts
7709
7742
  var rotatedSymbol18 = rotateSymbol(p_channel_e_mosfet_transistor_horz_default);
7710
7743
  var texts44 = rotatedSymbol18.primitives.filter((p) => p.type === "text");
7711
- var val17 = texts44.find((t) => t.text === "{VAL}");
7712
- val17.x = -0.35;
7713
- val17.y = 0;
7714
- val17.anchor = "middle_right";
7715
- var ref19 = texts44.find((t) => t.text === "{REF}");
7716
- ref19.y = 0;
7717
- ref19.x = 0.35;
7718
- ref19.anchor = "middle_left";
7744
+ var val16 = texts44.find((t) => t.text === "{VAL}");
7745
+ val16.x = -0.35;
7746
+ val16.y = 0;
7747
+ val16.anchor = "middle_right";
7748
+ var ref18 = texts44.find((t) => t.text === "{REF}");
7749
+ ref18.y = 0;
7750
+ ref18.x = 0.35;
7751
+ ref18.anchor = "middle_left";
7719
7752
  var p_channel_e_mosfet_transistor_vert_default = rotatedSymbol18;
7720
7753
 
7721
7754
  // assets/generated/photodiode.json
@@ -7943,11 +7976,11 @@ var photodiode_default = {
7943
7976
  };
7944
7977
 
7945
7978
  // symbols/photodiode_horz.ts
7946
- var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles29 } = photodiode_default;
7979
+ var { paths: paths34, texts: texts45, bounds: bounds34, refblocks: refblocks34, circles: circles30 } = photodiode_default;
7947
7980
  var photodiode_horz_default = defineSymbol({
7948
7981
  primitives: [
7949
7982
  ...Object.values(paths34),
7950
- ...Object.values(circles29),
7983
+ ...Object.values(circles30),
7951
7984
  {
7952
7985
  type: "text",
7953
7986
  text: "{REF}",
@@ -7976,9 +8009,9 @@ var photodiode_horz_default = defineSymbol({
7976
8009
  // symbols/photodiode_vert.ts
7977
8010
  var rotatedSymbol19 = rotateSymbol(photodiode_horz_default);
7978
8011
  var texts46 = rotatedSymbol19.primitives.filter((p) => p.type === "text");
7979
- var ref20 = texts46.find((t) => t.text === "{REF}");
7980
- ref20.y = 0;
7981
- ref20.anchor = "middle_left";
8012
+ var ref19 = texts46.find((t) => t.text === "{REF}");
8013
+ ref19.y = 0;
8014
+ ref19.anchor = "middle_left";
7982
8015
  var photodiode_vert_default = rotatedSymbol19;
7983
8016
 
7984
8017
  // assets/generated/pjfet_transistor.json
@@ -8145,11 +8178,11 @@ var pjfet_transistor_default = {
8145
8178
  };
8146
8179
 
8147
8180
  // symbols/pjfet_transistor_horz.ts
8148
- var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles30 } = pjfet_transistor_default;
8181
+ var { paths: paths35, texts: texts47, bounds: bounds35, refblocks: refblocks35, circles: circles31 } = pjfet_transistor_default;
8149
8182
  var pjfet_transistor_horz_default = defineSymbol({
8150
8183
  primitives: [
8151
8184
  ...Object.values(paths35),
8152
- ...Object.values(circles30),
8185
+ ...Object.values(circles31),
8153
8186
  { ...texts47.top1, anchor: "middle_right", x: 0 },
8154
8187
  { ...texts47.bottom1, anchor: "middle_right" }
8155
8188
  ],
@@ -8168,14 +8201,14 @@ var pjfet_transistor_horz_default = defineSymbol({
8168
8201
  // symbols/pjfet_transistor_vert.ts
8169
8202
  var rotatedSymbol20 = rotateSymbol(pjfet_transistor_horz_default);
8170
8203
  var texts48 = rotatedSymbol20.primitives.filter((p) => p.type === "text");
8171
- var val18 = texts48.find((t) => t.text === "{VAL}");
8172
- val18.x = -0.35;
8173
- val18.y = 0;
8174
- val18.anchor = "middle_right";
8175
- var ref21 = texts48.find((t) => t.text === "{REF}");
8176
- ref21.y = 0;
8177
- ref21.x = 0.35;
8178
- ref21.anchor = "middle_left";
8204
+ var val17 = texts48.find((t) => t.text === "{VAL}");
8205
+ val17.x = -0.35;
8206
+ val17.y = 0;
8207
+ val17.anchor = "middle_right";
8208
+ var ref20 = texts48.find((t) => t.text === "{REF}");
8209
+ ref20.y = 0;
8210
+ ref20.x = 0.35;
8211
+ ref20.anchor = "middle_left";
8179
8212
  var pjfet_transistor_vert_default = rotatedSymbol20;
8180
8213
 
8181
8214
  // assets/generated/pnp_bipolar_transistor.json
@@ -8342,11 +8375,11 @@ var pnp_bipolar_transistor_default = {
8342
8375
  };
8343
8376
 
8344
8377
  // symbols/pnp_bipolar_transistor_horz.ts
8345
- var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles: circles31 } = pnp_bipolar_transistor_default;
8378
+ var { paths: paths36, texts: texts49, bounds: bounds36, refblocks: refblocks36, circles: circles32 } = pnp_bipolar_transistor_default;
8346
8379
  var pnp_bipolar_transistor_horz_default = defineSymbol({
8347
8380
  primitives: [
8348
8381
  ...Object.values(paths36),
8349
- ...Object.values(circles31),
8382
+ ...Object.values(circles32),
8350
8383
  {
8351
8384
  type: "text",
8352
8385
  text: "{REF}",
@@ -8374,8 +8407,8 @@ var pnp_bipolar_transistor_horz_default = defineSymbol({
8374
8407
  // symbols/pnp_bipolar_transistor_vert.ts
8375
8408
  var rotatedSymbol21 = rotateSymbol(pnp_bipolar_transistor_horz_default);
8376
8409
  var texts50 = rotatedSymbol21.primitives.filter((p) => p.type === "text");
8377
- var ref22 = texts50.find((t) => t.text === "{REF}");
8378
- ref22.anchor = "middle_left";
8410
+ var ref21 = texts50.find((t) => t.text === "{REF}");
8411
+ ref21.anchor = "middle_left";
8379
8412
  var pnp_bipolar_transistor_vert_default = rotatedSymbol21;
8380
8413
 
8381
8414
  // assets/generated/potentiometer.json
@@ -8511,8 +8544,8 @@ var potentiometer_horz_default = defineSymbol({
8511
8544
  });
8512
8545
 
8513
8546
  // symbols/potentiometer_vert.ts
8514
- var rotated6 = rotateSymbol(potentiometer_horz_default);
8515
- var potentiometer_vert_default = rotated6;
8547
+ var rotated5 = rotateSymbol(potentiometer_horz_default);
8548
+ var potentiometer_vert_default = rotated5;
8516
8549
 
8517
8550
  // assets/generated/potentiometer2.json
8518
8551
  var potentiometer2_default = {
@@ -8777,11 +8810,11 @@ var power_factor_meter_default = {
8777
8810
  };
8778
8811
 
8779
8812
  // symbols/power_factor_meter_horz.ts
8780
- var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles32 } = power_factor_meter_default;
8813
+ var { paths: paths39, texts: texts53, bounds: bounds39, refblocks: refblocks39, circles: circles33 } = power_factor_meter_default;
8781
8814
  var power_factor_meter_horz_default = defineSymbol({
8782
8815
  primitives: [
8783
8816
  ...Object.values(paths39),
8784
- ...Object.values(circles32),
8817
+ ...Object.values(circles33),
8785
8818
  // { ...texts.top1, anchor: "middle_left" },
8786
8819
  {
8787
8820
  type: "text",
@@ -8820,13 +8853,13 @@ var power_factor_meter_horz_default = defineSymbol({
8820
8853
  // symbols/power_factor_meter_vert.ts
8821
8854
  var rotatedSymbol22 = rotateSymbol(power_factor_meter_horz_default);
8822
8855
  var texts54 = rotatedSymbol22.primitives.filter((p) => p.type === "text");
8823
- var ref23 = texts54.find((t) => t.text === "{REF}");
8824
- var val19 = texts54.find((t) => t.text === "{VAL}");
8856
+ var ref22 = texts54.find((t) => t.text === "{REF}");
8857
+ var val18 = texts54.find((t) => t.text === "{VAL}");
8825
8858
  var text_cos = texts54.find((t) => t.text === "COS \u03C6");
8826
- ref23.x = 0.35;
8827
- ref23.y = 0;
8828
- val19.x = -0.6;
8829
- val19.y = 0;
8859
+ ref22.x = 0.35;
8860
+ ref22.y = 0;
8861
+ val18.x = -0.6;
8862
+ val18.y = 0;
8830
8863
  text_cos.x = -0.1;
8831
8864
  text_cos.y = 0;
8832
8865
  var power_factor_meter_vert_default = rotatedSymbol22;
@@ -8951,20 +8984,20 @@ var push_button_normally_closed_momentary_horz_default = defineSymbol({
8951
8984
  });
8952
8985
 
8953
8986
  // symbols/push_button_normally_closed_momentary_vert.ts
8954
- var rotated7 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
8955
- var ref24 = rotated7.primitives.find(
8987
+ var rotated6 = rotateSymbol(push_button_normally_closed_momentary_horz_default);
8988
+ var ref23 = rotated6.primitives.find(
8956
8989
  (p) => p.type === "text" && p.text === "{REF}"
8957
8990
  );
8958
- var val20 = rotated7.primitives.find(
8991
+ var val19 = rotated6.primitives.find(
8959
8992
  (p) => p.type === "text" && p.text === "{VAL}"
8960
8993
  );
8961
- ref24.anchor = "middle_left";
8962
- val20.anchor = "middle_right";
8963
- ref24.x = ref24.x - 0.03;
8964
- ref24.y = ref24.y;
8965
- val20.x = val20.x;
8966
- val20.y = 0;
8967
- var push_button_normally_closed_momentary_vert_default = rotated7;
8994
+ ref23.anchor = "middle_left";
8995
+ val19.anchor = "middle_right";
8996
+ ref23.x = ref23.x - 0.03;
8997
+ ref23.y = ref23.y;
8998
+ val19.x = val19.x;
8999
+ val19.y = 0;
9000
+ var push_button_normally_closed_momentary_vert_default = rotated6;
8968
9001
 
8969
9002
  // assets/generated/push_button_normally_open_momentary.json
8970
9003
  var push_button_normally_open_momentary_default = {
@@ -9086,20 +9119,20 @@ var push_button_normally_open_momentary_horz_default = defineSymbol({
9086
9119
  });
9087
9120
 
9088
9121
  // symbols/push_button_normally_open_momentary_vert.ts
9089
- var rotated8 = rotateSymbol(push_button_normally_open_momentary_horz_default);
9090
- var ref25 = rotated8.primitives.find(
9122
+ var rotated7 = rotateSymbol(push_button_normally_open_momentary_horz_default);
9123
+ var ref24 = rotated7.primitives.find(
9091
9124
  (p) => p.type === "text" && p.text === "{REF}"
9092
9125
  );
9093
- var val21 = rotated8.primitives.find(
9126
+ var val20 = rotated7.primitives.find(
9094
9127
  (p) => p.type === "text" && p.text === "{VAL}"
9095
9128
  );
9096
- ref25.anchor = "middle_left";
9097
- val21.anchor = "middle_right";
9098
- ref25.x = ref25.x + 0.1;
9099
- ref25.y = ref25.y;
9100
- val21.x = val21.x;
9101
- val21.y = 0;
9102
- var push_button_normally_open_momentary_vert_default = rotated8;
9129
+ ref24.anchor = "middle_left";
9130
+ val20.anchor = "middle_right";
9131
+ ref24.x = ref24.x + 0.1;
9132
+ ref24.y = ref24.y;
9133
+ val20.x = val20.x;
9134
+ val20.y = 0;
9135
+ var push_button_normally_open_momentary_vert_default = rotated7;
9103
9136
 
9104
9137
  // assets/generated/rectifier_diode.json
9105
9138
  var rectifier_diode_default = {
@@ -9511,11 +9544,11 @@ var rectifier_diode_default = {
9511
9544
  };
9512
9545
 
9513
9546
  // symbols/rectifier_diode_horz.ts
9514
- var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles: circles33 } = rectifier_diode_default;
9547
+ var { paths: paths42, texts: texts57, bounds: bounds42, refblocks: refblocks42, circles: circles34 } = rectifier_diode_default;
9515
9548
  var rectifier_diode_horz_default = defineSymbol({
9516
9549
  primitives: [
9517
9550
  ...Object.values(paths42),
9518
- ...Object.values(circles33),
9551
+ ...Object.values(circles34),
9519
9552
  { ...texts57.top1, anchor: "middle_right" },
9520
9553
  { ...texts57.bottom1, anchor: "middle_right" }
9521
9554
  ],
@@ -9534,16 +9567,16 @@ var rectifier_diode_horz_default = defineSymbol({
9534
9567
  });
9535
9568
 
9536
9569
  // symbols/rectifier_diode_vert.ts
9537
- var rotated9 = rotateSymbol(rectifier_diode_horz_default);
9538
- var ref26 = rotated9.primitives.find(
9570
+ var rotated8 = rotateSymbol(rectifier_diode_horz_default);
9571
+ var ref25 = rotated8.primitives.find(
9539
9572
  (p) => p.type === "text" && p.text === "{REF}"
9540
9573
  );
9541
- var val22 = rotated9.primitives.find(
9574
+ var val21 = rotated8.primitives.find(
9542
9575
  (p) => p.type === "text" && p.text === "{VAL}"
9543
9576
  );
9544
- ref26.anchor = "middle_left";
9545
- val22.anchor = "middle_right";
9546
- var rectifier_diode_vert_default = rotated9;
9577
+ ref25.anchor = "middle_left";
9578
+ val21.anchor = "middle_right";
9579
+ var rectifier_diode_vert_default = rotated8;
9547
9580
 
9548
9581
  // assets/generated/resonator.json
9549
9582
  var resonator_default = {
@@ -9891,11 +9924,11 @@ var resonator_default = {
9891
9924
  };
9892
9925
 
9893
9926
  // symbols/resonator_horz.ts
9894
- var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles: circles34 } = resonator_default;
9927
+ var { paths: paths43, texts: texts58, bounds: bounds43, refblocks: refblocks43, circles: circles35 } = resonator_default;
9895
9928
  var resonator_horz_default = defineSymbol({
9896
9929
  primitives: [
9897
9930
  ...Object.values(paths43),
9898
- ...Object.values(circles34),
9931
+ ...Object.values(circles35),
9899
9932
  // { ...texts.top1, anchor: "middle_left" },
9900
9933
  // { ...texts.bottom1, anchor: "middle_left" },
9901
9934
  {
@@ -10120,11 +10153,11 @@ var schottky_diode_default = {
10120
10153
  };
10121
10154
 
10122
10155
  // symbols/schottky_diode_horz.ts
10123
- var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles: circles35 } = schottky_diode_default;
10156
+ var { paths: paths44, texts: texts59, bounds: bounds44, refblocks: refblocks44, circles: circles36 } = schottky_diode_default;
10124
10157
  var schottky_diode_horz_default = defineSymbol({
10125
10158
  primitives: [
10126
10159
  ...Object.values(paths44),
10127
- ...Object.values(circles35),
10160
+ ...Object.values(circles36),
10128
10161
  { ...texts59.top1, anchor: "middle_bottom" },
10129
10162
  { ...texts59.bottom1, anchor: "middle_top" }
10130
10163
  ],
@@ -10139,16 +10172,16 @@ var schottky_diode_horz_default = defineSymbol({
10139
10172
  });
10140
10173
 
10141
10174
  // symbols/schottky_diode_vert.ts
10142
- var rotated10 = rotateSymbol(schottky_diode_horz_default);
10143
- var ref27 = rotated10.primitives.find(
10175
+ var rotated9 = rotateSymbol(schottky_diode_horz_default);
10176
+ var ref26 = rotated9.primitives.find(
10144
10177
  (p) => p.type === "text" && p.text === "{REF}"
10145
10178
  );
10146
- var val23 = rotated10.primitives.find(
10179
+ var val22 = rotated9.primitives.find(
10147
10180
  (p) => p.type === "text" && p.text === "{VAL}"
10148
10181
  );
10149
- ref27.anchor = "middle_left";
10150
- val23.anchor = "middle_right";
10151
- var schottky_diode_vert_default = rotated10;
10182
+ ref26.anchor = "middle_left";
10183
+ val22.anchor = "middle_right";
10184
+ var schottky_diode_vert_default = rotated9;
10152
10185
 
10153
10186
  // assets/generated/silicon_controlled_rectifier.json
10154
10187
  var silicon_controlled_rectifier_default = {
@@ -10294,11 +10327,11 @@ var silicon_controlled_rectifier_default = {
10294
10327
  };
10295
10328
 
10296
10329
  // symbols/silicon_controlled_rectifier_horz.ts
10297
- var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles36 } = silicon_controlled_rectifier_default;
10330
+ var { paths: paths45, texts: texts60, bounds: bounds45, refblocks: refblocks45, circles: circles37 } = silicon_controlled_rectifier_default;
10298
10331
  var silicon_controlled_rectifier_horz_default = defineSymbol({
10299
10332
  primitives: [
10300
10333
  ...Object.values(paths45),
10301
- ...Object.values(circles36),
10334
+ ...Object.values(circles37),
10302
10335
  { ...texts60.top1, anchor: "middle_left" },
10303
10336
  { ...texts60.bottom1, anchor: "middle_top" }
10304
10337
  ],
@@ -10319,9 +10352,9 @@ var rotatedSymbol23 = rotateSymbol(silicon_controlled_rectifier_horz_default);
10319
10352
  var texts61 = rotatedSymbol23.primitives.filter(
10320
10353
  (primitive) => primitive.type === "text"
10321
10354
  );
10322
- var ref28 = texts61.find((text) => text.text === "{REF}");
10323
- ref28.y = 0;
10324
- ref28.anchor = "middle_left";
10355
+ var ref27 = texts61.find((text) => text.text === "{REF}");
10356
+ ref27.y = 0;
10357
+ ref27.anchor = "middle_left";
10325
10358
  var silicon_controlled_rectifier_vert_default = rotatedSymbol23;
10326
10359
 
10327
10360
  // assets/generated/SPDT_switch.json
@@ -10442,11 +10475,11 @@ var SPDT_switch_default = {
10442
10475
  };
10443
10476
 
10444
10477
  // symbols/SPDT_switch_horz.ts
10445
- var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles37 } = SPDT_switch_default;
10478
+ var { paths: paths46, texts: texts62, bounds: bounds46, refblocks: refblocks46, circles: circles38 } = SPDT_switch_default;
10446
10479
  var SPDT_switch_horz_default = defineSymbol({
10447
10480
  primitives: [
10448
10481
  ...Object.values(paths46),
10449
- ...Object.values(circles37),
10482
+ ...Object.values(circles38),
10450
10483
  { ...texts62.top1, anchor: "middle_bottom", x: -0.01 },
10451
10484
  { ...texts62.bottom1, anchor: "middle_top", x: -0.01 }
10452
10485
  ],
@@ -10465,14 +10498,14 @@ var SPDT_switch_horz_default = defineSymbol({
10465
10498
  // symbols/SPDT_switch_vert.ts
10466
10499
  var rotatedSymbol24 = rotateSymbol(SPDT_switch_horz_default);
10467
10500
  var texts63 = rotatedSymbol24.primitives.filter((p) => p.type === "text");
10468
- var val24 = texts63.find((t) => t.text === "{VAL}");
10469
- val24.anchor = "middle_right";
10470
- val24.x = -0.3;
10471
- val24.y = 0;
10472
- var ref29 = texts63.find((t) => t.text === "{REF}");
10473
- ref29.anchor = "middle_left";
10474
- ref29.x = 0.3;
10475
- ref29.y = 0;
10501
+ var val23 = texts63.find((t) => t.text === "{VAL}");
10502
+ val23.anchor = "middle_right";
10503
+ val23.x = -0.3;
10504
+ val23.y = 0;
10505
+ var ref28 = texts63.find((t) => t.text === "{REF}");
10506
+ ref28.anchor = "middle_left";
10507
+ ref28.x = 0.3;
10508
+ ref28.y = 0;
10476
10509
  var SPDT_switch_vert_default = rotatedSymbol24;
10477
10510
 
10478
10511
  // assets/generated/SPST_switch.json
@@ -10570,11 +10603,11 @@ var SPST_switch_default = {
10570
10603
  };
10571
10604
 
10572
10605
  // symbols/SPST_switch_horz.ts
10573
- var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles38 } = SPST_switch_default;
10606
+ var { paths: paths47, texts: texts64, bounds: bounds47, refblocks: refblocks47, circles: circles39 } = SPST_switch_default;
10574
10607
  var SPST_switch_horz_default = defineSymbol({
10575
10608
  primitives: [
10576
10609
  ...Object.values(paths47),
10577
- ...Object.values(circles38),
10610
+ ...Object.values(circles39),
10578
10611
  { ...texts64.top1, anchor: "middle_bottom", x: 0 },
10579
10612
  { ...texts64.bottom1, anchor: "middle_top", x: 0 }
10580
10613
  ],
@@ -10591,14 +10624,14 @@ var SPST_switch_horz_default = defineSymbol({
10591
10624
  // symbols/SPST_switch_vert.ts
10592
10625
  var rotatedSymbol25 = rotateSymbol(SPST_switch_horz_default);
10593
10626
  var texts65 = rotatedSymbol25.primitives.filter((p) => p.type === "text");
10594
- var val25 = texts65.find((t) => t.text === "{VAL}");
10595
- val25.anchor = "middle_right";
10596
- val25.x = -0.3;
10597
- val25.y = 0;
10598
- var ref30 = texts65.find((t) => t.text === "{REF}");
10599
- ref30.anchor = "middle_left";
10600
- ref30.x = 0.3;
10601
- ref30.y = 0;
10627
+ var val24 = texts65.find((t) => t.text === "{VAL}");
10628
+ val24.anchor = "middle_right";
10629
+ val24.x = -0.3;
10630
+ val24.y = 0;
10631
+ var ref29 = texts65.find((t) => t.text === "{REF}");
10632
+ ref29.anchor = "middle_left";
10633
+ ref29.x = 0.3;
10634
+ ref29.y = 0;
10602
10635
  var SPST_switch_vert_default = rotatedSymbol25;
10603
10636
 
10604
10637
  // assets/generated/step_recovery_diode.json
@@ -10763,11 +10796,11 @@ var step_recovery_diode_default = {
10763
10796
  };
10764
10797
 
10765
10798
  // symbols/step_recovery_diode_horz.ts
10766
- var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles: circles39 } = step_recovery_diode_default;
10799
+ var { paths: paths48, texts: texts66, bounds: bounds48, refblocks: refblocks48, circles: circles40 } = step_recovery_diode_default;
10767
10800
  var step_recovery_diode_horz_default = defineSymbol({
10768
10801
  primitives: [
10769
10802
  ...Object.values(paths48),
10770
- ...Object.values(circles39),
10803
+ ...Object.values(circles40),
10771
10804
  // { ...texts.top1, anchor: "middle_left" },
10772
10805
  // { ...texts.bottom1, anchor: "middle_left" },
10773
10806
  {
@@ -10885,11 +10918,11 @@ var tachometer_default = {
10885
10918
  };
10886
10919
 
10887
10920
  // symbols/tachometer_horz.ts
10888
- var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles: circles40 } = tachometer_default;
10921
+ var { paths: paths49, texts: texts67, bounds: bounds49, refblocks: refblocks49, circles: circles41 } = tachometer_default;
10889
10922
  var tachometer_horz_default = defineSymbol({
10890
10923
  primitives: [
10891
10924
  ...Object.values(paths49),
10892
- ...Object.values(circles40),
10925
+ ...Object.values(circles41),
10893
10926
  {
10894
10927
  type: "text",
10895
10928
  text: "{REF}",
@@ -11121,11 +11154,11 @@ var triac_default = {
11121
11154
  };
11122
11155
 
11123
11156
  // symbols/triac_horz.ts
11124
- var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles41 } = triac_default;
11157
+ var { paths: paths50, texts: texts68, bounds: bounds50, refblocks: refblocks50, circles: circles42 } = triac_default;
11125
11158
  var triac_horz_default = defineSymbol({
11126
11159
  primitives: [
11127
11160
  ...Object.values(paths50),
11128
- ...Object.values(circles41),
11161
+ ...Object.values(circles42),
11129
11162
  { ...texts68.top1, anchor: "middle_left" },
11130
11163
  { ...texts68.bottom1, anchor: "middle_top" }
11131
11164
  ],
@@ -11146,10 +11179,10 @@ var rotatedSymbol27 = rotateSymbol(triac_horz_default);
11146
11179
  var texts69 = rotatedSymbol27.primitives.filter(
11147
11180
  (primitive) => primitive.type === "text"
11148
11181
  );
11149
- var ref31 = texts69.find((text) => text.text === "{REF}");
11150
- var val26 = texts69.find((text) => text.text === "{VAL}");
11151
- ref31.y = 0;
11152
- val26.y = 0;
11182
+ var ref30 = texts69.find((text) => text.text === "{REF}");
11183
+ var val25 = texts69.find((text) => text.text === "{VAL}");
11184
+ ref30.y = 0;
11185
+ val25.y = 0;
11153
11186
  var triac_vert_default = rotatedSymbol27;
11154
11187
 
11155
11188
  // assets/generated/tunnel_diode.json
@@ -11314,11 +11347,11 @@ var tunnel_diode_default = {
11314
11347
  };
11315
11348
 
11316
11349
  // symbols/tunnel_diode_horz.ts
11317
- var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles42 } = tunnel_diode_default;
11350
+ var { paths: paths51, texts: texts70, bounds: bounds51, refblocks: refblocks51, circles: circles43 } = tunnel_diode_default;
11318
11351
  var tunnel_diode_horz_default = defineSymbol({
11319
11352
  primitives: [
11320
11353
  ...Object.values(paths51),
11321
- ...Object.values(circles42),
11354
+ ...Object.values(circles43),
11322
11355
  { ...texts70.top1, anchor: "middle_bottom" },
11323
11356
  { ...texts70.bottom1, anchor: "middle_top" }
11324
11357
  ],
@@ -11333,16 +11366,16 @@ var tunnel_diode_horz_default = defineSymbol({
11333
11366
  });
11334
11367
 
11335
11368
  // symbols/tunnel_diode_vert.ts
11336
- var rotated11 = rotateSymbol(tunnel_diode_horz_default);
11337
- var ref32 = rotated11.primitives.find(
11369
+ var rotated10 = rotateSymbol(tunnel_diode_horz_default);
11370
+ var ref31 = rotated10.primitives.find(
11338
11371
  (p) => p.type === "text" && p.text === "{REF}"
11339
11372
  );
11340
- var val27 = rotated11.primitives.find(
11373
+ var val26 = rotated10.primitives.find(
11341
11374
  (p) => p.type === "text" && p.text === "{VAL}"
11342
11375
  );
11343
- ref32.anchor = "middle_left";
11344
- val27.anchor = "middle_right";
11345
- var tunnel_diode_vert_default = rotated11;
11376
+ ref31.anchor = "middle_left";
11377
+ val26.anchor = "middle_right";
11378
+ var tunnel_diode_vert_default = rotated10;
11346
11379
 
11347
11380
  // assets/generated/unijunction_transistor.json
11348
11381
  var unijunction_transistor_default = {
@@ -11512,11 +11545,11 @@ var unijunction_transistor_default = {
11512
11545
  };
11513
11546
 
11514
11547
  // symbols/unijunction_transistor_horz.ts
11515
- var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles43 } = unijunction_transistor_default;
11548
+ var { paths: paths52, texts: texts71, bounds: bounds52, refblocks: refblocks52, circles: circles44 } = unijunction_transistor_default;
11516
11549
  var unijunction_transistor_horz_default = defineSymbol({
11517
11550
  primitives: [
11518
11551
  ...Object.values(paths52),
11519
- ...Object.values(circles43),
11552
+ ...Object.values(circles44),
11520
11553
  { ...texts71.top1, anchor: "middle_left" },
11521
11554
  { ...texts71.bottom1, anchor: "middle_right" }
11522
11555
  ],
@@ -11537,11 +11570,11 @@ var rotatedSymbol28 = rotateSymbol(unijunction_transistor_horz_default);
11537
11570
  var texts72 = rotatedSymbol28.primitives.filter(
11538
11571
  (primitive) => primitive.type === "text"
11539
11572
  );
11540
- var ref33 = texts72.find((text) => text.text === "{REF}");
11541
- ref33.y = 0.1;
11542
- var val28 = texts72.find((text) => text.text === "{VAL}");
11543
- val28.y = 0.1;
11544
- val28.x = -0.4;
11573
+ var ref32 = texts72.find((text) => text.text === "{REF}");
11574
+ ref32.y = 0.1;
11575
+ var val27 = texts72.find((text) => text.text === "{VAL}");
11576
+ val27.y = 0.1;
11577
+ val27.x = -0.4;
11545
11578
  var unijunction_transistor_vert_default = rotatedSymbol28;
11546
11579
 
11547
11580
  // assets/generated/var_meter.json
@@ -11631,11 +11664,11 @@ var var_meter_default = {
11631
11664
  };
11632
11665
 
11633
11666
  // symbols/var_meter_horz.ts
11634
- var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles44 } = var_meter_default;
11667
+ var { paths: paths53, texts: texts73, bounds: bounds53, refblocks: refblocks53, circles: circles45 } = var_meter_default;
11635
11668
  var var_meter_horz_default = defineSymbol({
11636
11669
  primitives: [
11637
11670
  ...Object.values(paths53),
11638
- ...Object.values(circles44),
11671
+ ...Object.values(circles45),
11639
11672
  {
11640
11673
  ...texts73.top1,
11641
11674
  x: 0,
@@ -11810,11 +11843,11 @@ var varactor_diode_default = {
11810
11843
  };
11811
11844
 
11812
11845
  // symbols/varactor_diode_horz.ts
11813
- var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles: circles45 } = varactor_diode_default;
11846
+ var { paths: paths54, texts: texts74, bounds: bounds54, refblocks: refblocks54, circles: circles46 } = varactor_diode_default;
11814
11847
  var varactor_diode_horz_default = defineSymbol({
11815
11848
  primitives: [
11816
11849
  ...Object.values(paths54),
11817
- ...Object.values(circles45),
11850
+ ...Object.values(circles46),
11818
11851
  { ...texts74.top1, anchor: "middle_bottom" },
11819
11852
  { ...texts74.bottom1, anchor: "middle_top" }
11820
11853
  ],
@@ -11829,16 +11862,16 @@ var varactor_diode_horz_default = defineSymbol({
11829
11862
  });
11830
11863
 
11831
11864
  // symbols/varactor_diode_vert.ts
11832
- var rotated12 = rotateSymbol(varactor_diode_horz_default);
11833
- var ref34 = rotated12.primitives.find(
11865
+ var rotated11 = rotateSymbol(varactor_diode_horz_default);
11866
+ var ref33 = rotated11.primitives.find(
11834
11867
  (p) => p.type === "text" && p.text === "{REF}"
11835
11868
  );
11836
- var val29 = rotated12.primitives.find(
11869
+ var val28 = rotated11.primitives.find(
11837
11870
  (p) => p.type === "text" && p.text === "{VAL}"
11838
11871
  );
11839
- ref34.anchor = "middle_left";
11840
- val29.anchor = "middle_right";
11841
- var varactor_diode_vert_default = rotated12;
11872
+ ref33.anchor = "middle_left";
11873
+ val28.anchor = "middle_right";
11874
+ var varactor_diode_vert_default = rotated11;
11842
11875
 
11843
11876
  // assets/generated/varistor.json
11844
11877
  var varistor_default = {
@@ -12085,11 +12118,11 @@ var varmeter_default = {
12085
12118
  };
12086
12119
 
12087
12120
  // symbols/varmeter_horz.ts
12088
- var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles: circles46 } = varmeter_default;
12121
+ var { paths: paths56, texts: texts76, bounds: bounds56, refblocks: refblocks56, circles: circles47 } = varmeter_default;
12089
12122
  var varmeter_horz_default = defineSymbol({
12090
12123
  primitives: [
12091
12124
  ...Object.values(paths56),
12092
- ...Object.values(circles46),
12125
+ ...Object.values(circles47),
12093
12126
  {
12094
12127
  type: "text",
12095
12128
  text: "{REF}",
@@ -12230,11 +12263,11 @@ var volt_meter_default = {
12230
12263
  };
12231
12264
 
12232
12265
  // symbols/volt_meter_horz.ts
12233
- var { paths: paths57, texts: texts77, bounds: bounds57, circles: circles47, refblocks: refblocks57 } = volt_meter_default;
12266
+ var { paths: paths57, texts: texts77, bounds: bounds57, circles: circles48, refblocks: refblocks57 } = volt_meter_default;
12234
12267
  var volt_meter_horz_default = defineSymbol({
12235
12268
  primitives: [
12236
12269
  ...Object.values(paths57),
12237
- ...Object.values(circles47),
12270
+ ...Object.values(circles48),
12238
12271
  {
12239
12272
  type: "text",
12240
12273
  text: "{REF}",
@@ -12350,11 +12383,11 @@ var watt_hour_meter_default = {
12350
12383
  };
12351
12384
 
12352
12385
  // symbols/watt_hour_meter_horz.ts
12353
- var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles: circles48 } = watt_hour_meter_default;
12386
+ var { paths: paths58, texts: texts78, bounds: bounds58, refblocks: refblocks58, circles: circles49 } = watt_hour_meter_default;
12354
12387
  var watt_hour_meter_horz_default = defineSymbol({
12355
12388
  primitives: [
12356
12389
  ...Object.values(paths58),
12357
- ...Object.values(circles48),
12390
+ ...Object.values(circles49),
12358
12391
  {
12359
12392
  type: "text",
12360
12393
  text: "{REF}",
@@ -12482,11 +12515,11 @@ var wattmeter_default = {
12482
12515
  };
12483
12516
 
12484
12517
  // symbols/wattmeter_horz.ts
12485
- var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles: circles49 } = wattmeter_default;
12518
+ var { paths: paths59, texts: texts79, bounds: bounds59, refblocks: refblocks59, circles: circles50 } = wattmeter_default;
12486
12519
  var wattmeter_horz_default = defineSymbol({
12487
12520
  primitives: [
12488
12521
  ...Object.values(paths59),
12489
- ...Object.values(circles49),
12522
+ ...Object.values(circles50),
12490
12523
  {
12491
12524
  type: "text",
12492
12525
  text: "{REF}",
@@ -12674,11 +12707,11 @@ var zener_diode_default = {
12674
12707
  };
12675
12708
 
12676
12709
  // symbols/zener_diode_horz.ts
12677
- var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles: circles50 } = zener_diode_default;
12710
+ var { paths: paths60, texts: texts80, bounds: bounds60, refblocks: refblocks60, circles: circles51 } = zener_diode_default;
12678
12711
  var zener_diode_horz_default = defineSymbol({
12679
12712
  primitives: [
12680
12713
  ...Object.values(paths60),
12681
- ...Object.values(circles50),
12714
+ ...Object.values(circles51),
12682
12715
  { ...texts80.top1, anchor: "middle_bottom" },
12683
12716
  { ...texts80.bottom1, anchor: "middle_top" }
12684
12717
  ],
@@ -12693,16 +12726,16 @@ var zener_diode_horz_default = defineSymbol({
12693
12726
  });
12694
12727
 
12695
12728
  // symbols/zener_diode_vert.ts
12696
- var rotated13 = rotateSymbol(zener_diode_horz_default);
12697
- var ref35 = rotated13.primitives.find(
12729
+ var rotated12 = rotateSymbol(zener_diode_horz_default);
12730
+ var ref34 = rotated12.primitives.find(
12698
12731
  (p) => p.type === "text" && p.text === "{REF}"
12699
12732
  );
12700
- var val30 = rotated13.primitives.find(
12733
+ var val29 = rotated12.primitives.find(
12701
12734
  (p) => p.type === "text" && p.text === "{VAL}"
12702
12735
  );
12703
- ref35.anchor = "middle_left";
12704
- val30.anchor = "middle_right";
12705
- var zener_diode_vert_default = rotated13;
12736
+ ref34.anchor = "middle_left";
12737
+ val29.anchor = "middle_right";
12738
+ var zener_diode_vert_default = rotated12;
12706
12739
 
12707
12740
  // generated/symbols-index.ts
12708
12741
  var symbols_index_default = {
@@ -12752,8 +12785,10 @@ var symbols_index_default = {
12752
12785
  "inductor_vert": inductor_vert_default,
12753
12786
  "laser_diode_horz": laser_diode_horz_default,
12754
12787
  "laser_diode_vert": laser_diode_vert_default,
12755
- "led_horz": led_horz_default,
12756
- "led_vert": led_vert_default,
12788
+ "led_down": led_down_default,
12789
+ "led_left": led_left_default,
12790
+ "led_right": led_right_default,
12791
+ "led_up": led_up_default,
12757
12792
  "light_dependent_resistor_horz": light_dependent_resistor_horz_default,
12758
12793
  "light_dependent_resistor_vert": light_dependent_resistor_vert_default,
12759
12794
  "mosfet_depletion_normally_on_horz": mosfet_depletion_normally_on_horz_default,