schematic-symbols 0.0.101 → 0.0.102

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -954,6 +954,1840 @@ var capacitor_down_default = rotateSymbol(capacitor_horz_default, "down");
954
954
  // symbols/capacitor_left.ts
955
955
  var capacitor_left_default = rotateSymbol(capacitor_horz_default, "left");
956
956
 
957
+ // drawing/modify-symbol/modify-symbol.ts
958
+ var SymbolModifier = class {
959
+ symbol;
960
+ constructor(symbol) {
961
+ this.symbol = JSON.parse(JSON.stringify(symbol));
962
+ }
963
+ changeTextAnchor(text, newAnchor) {
964
+ this.symbol = {
965
+ ...this.symbol,
966
+ primitives: this.symbol.primitives.map((primitive) => {
967
+ if (primitive.type === "text" && primitive.text === text) {
968
+ return {
969
+ ...primitive,
970
+ anchor: newAnchor
971
+ };
972
+ }
973
+ return primitive;
974
+ })
975
+ };
976
+ return this;
977
+ }
978
+ labelPort(currentLabel, newLabels) {
979
+ this.symbol = {
980
+ ...this.symbol,
981
+ ports: this.symbol.ports.map((port) => {
982
+ return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
983
+ })
984
+ };
985
+ return this;
986
+ }
987
+ rotateRightFacingSymbol(newOrientation) {
988
+ this.symbol = rotateRightFacingSymbol(this.symbol, {
989
+ newOrientation
990
+ });
991
+ return this;
992
+ }
993
+ build() {
994
+ return this.symbol;
995
+ }
996
+ };
997
+ var modifySymbol = (symbol) => {
998
+ return new SymbolModifier({
999
+ ...symbol,
1000
+ primitives: symbol.primitives ?? [
1001
+ ...Object.values(symbol.paths ?? {}),
1002
+ ...Object.values(symbol.texts ?? {}),
1003
+ ...Object.values(symbol.circles ?? {}),
1004
+ ...Object.values(symbol.rects ?? {})
1005
+ ],
1006
+ ports: symbol.ports ?? Object.entries(symbol.refblocks).flatMap(([key, refblock]) => {
1007
+ return [{ ...refblock, labels: [key] }];
1008
+ }),
1009
+ center: symbol.center ?? {
1010
+ x: symbol.bounds.centerX,
1011
+ y: symbol.bounds.centerY
1012
+ },
1013
+ size: symbol.size ?? {
1014
+ width: symbol.bounds.width,
1015
+ height: symbol.bounds.height
1016
+ }
1017
+ });
1018
+ };
1019
+
1020
+ // assets/generated/capacitor_polarized.json
1021
+ var capacitor_polarized_default = {
1022
+ paths: {
1023
+ "path27-5": {
1024
+ type: "path",
1025
+ points: [
1026
+ {
1027
+ x: 0.5229378000000007,
1028
+ y: 0.017283050000003186
1029
+ },
1030
+ {
1031
+ x: 0.001333100000000531,
1032
+ y: 0.017283050000003186
1033
+ }
1034
+ ],
1035
+ color: "primary",
1036
+ fill: false
1037
+ },
1038
+ "path28-5": {
1039
+ type: "path",
1040
+ points: [
1041
+ {
1042
+ x: -0.08560379999999945,
1043
+ y: 0.017283050000003186
1044
+ },
1045
+ {
1046
+ x: -0.5353954999999995,
1047
+ y: 0.017283050000003186
1048
+ }
1049
+ ],
1050
+ color: "primary",
1051
+ fill: false
1052
+ },
1053
+ "path30-7": {
1054
+ type: "path",
1055
+ points: [
1056
+ {
1057
+ x: -0.0024798999999995353,
1058
+ y: 0.28420285000000334
1059
+ },
1060
+ {
1061
+ x: -0.0024798999999995353,
1062
+ y: -0.247479349999999
1063
+ }
1064
+ ],
1065
+ color: "primary",
1066
+ fill: false
1067
+ },
1068
+ path8704: {
1069
+ type: "path",
1070
+ points: [
1071
+ {
1072
+ x: -0.1433630999999993,
1073
+ y: -0.24400714999999806
1074
+ },
1075
+ {
1076
+ x: -0.1433630999999993,
1077
+ y: -0.24400714999999806
1078
+ },
1079
+ {
1080
+ x: -0.14262848833929928,
1081
+ y: -0.24277205092349807
1082
+ },
1083
+ {
1084
+ x: -0.1418975396743993,
1085
+ y: -0.2415360290679981
1086
+ },
1087
+ {
1088
+ x: -0.14117026348109932,
1089
+ y: -0.24029908349449816
1090
+ },
1091
+ {
1092
+ x: -0.14044666923519933,
1093
+ y: -0.23906121326399818
1094
+ },
1095
+ {
1096
+ x: -0.13972676641249931,
1097
+ y: -0.2378224174374982
1098
+ },
1099
+ {
1100
+ x: -0.1390105644887993,
1101
+ y: -0.23658269507599822
1102
+ },
1103
+ {
1104
+ x: -0.13829807293989932,
1105
+ y: -0.2353420452404983
1106
+ },
1107
+ {
1108
+ x: -0.13758930124159935,
1109
+ y: -0.23410046699199832
1110
+ },
1111
+ {
1112
+ x: -0.13688425886969938,
1113
+ y: -0.23285795939149836
1114
+ },
1115
+ {
1116
+ x: -0.13618295529999938,
1117
+ y: -0.23161452149999842
1118
+ },
1119
+ {
1120
+ x: -0.13548540000829937,
1121
+ y: -0.23037015237849842
1122
+ },
1123
+ {
1124
+ x: -0.13479160247039934,
1125
+ y: -0.22912485108799843
1126
+ },
1127
+ {
1128
+ x: -0.13410157216209936,
1129
+ y: -0.22787861668949844
1130
+ },
1131
+ {
1132
+ x: -0.1334153185591994,
1133
+ y: -0.22663144824399842
1134
+ },
1135
+ {
1136
+ x: -0.13273285113749936,
1137
+ y: -0.22538334481249844
1138
+ },
1139
+ {
1140
+ x: -0.13205417937279937,
1141
+ y: -0.22413430545599844
1142
+ },
1143
+ {
1144
+ x: -0.1313793127408994,
1145
+ y: -0.2228843292354985
1146
+ },
1147
+ {
1148
+ x: -0.1307082607175994,
1149
+ y: -0.22163341521199847
1150
+ },
1151
+ {
1152
+ x: -0.13004103277869938,
1153
+ y: -0.2203815624464985
1154
+ },
1155
+ {
1156
+ x: -0.1293776383999994,
1157
+ y: -0.21912876999999853
1158
+ },
1159
+ {
1160
+ x: -0.12871808705729942,
1161
+ y: -0.21787503693349855
1162
+ },
1163
+ {
1164
+ x: -0.12806238822639943,
1165
+ y: -0.21662036230799855
1166
+ },
1167
+ {
1168
+ x: -0.12741055138309942,
1169
+ y: -0.21536474518449858
1170
+ },
1171
+ {
1172
+ x: -0.12676258600319942,
1173
+ y: -0.21410818462399858
1174
+ },
1175
+ {
1176
+ x: -0.12611850156249946,
1177
+ y: -0.21285067968749863
1178
+ },
1179
+ {
1180
+ x: -0.12547830753679945,
1181
+ y: -0.21159222943599865
1182
+ },
1183
+ {
1184
+ x: -0.12484201340189946,
1185
+ y: -0.21033283293049862
1186
+ },
1187
+ {
1188
+ x: -0.12420962863359947,
1189
+ y: -0.20907248923199864
1190
+ },
1191
+ {
1192
+ x: -0.12358116270769948,
1193
+ y: -0.20781119740149864
1194
+ },
1195
+ {
1196
+ x: -0.12295662509999947,
1197
+ y: -0.20654895649999866
1198
+ },
1199
+ {
1200
+ x: -0.12233602528629947,
1201
+ y: -0.20528576558849868
1202
+ },
1203
+ {
1204
+ x: -0.12171937274239948,
1205
+ y: -0.20402162372799865
1206
+ },
1207
+ {
1208
+ x: -0.12110667694409948,
1209
+ y: -0.20275652997949864
1210
+ },
1211
+ {
1212
+ x: -0.12049794736719947,
1213
+ y: -0.2014904834039986
1214
+ },
1215
+ {
1216
+ x: -0.11989319348749948,
1217
+ y: -0.20022348306249865
1218
+ },
1219
+ {
1220
+ x: -0.11929242478079949,
1221
+ y: -0.19895552801599864
1222
+ },
1223
+ {
1224
+ x: -0.11869565072289952,
1225
+ y: -0.19768661732549864
1226
+ },
1227
+ {
1228
+ x: -0.11810288078959952,
1229
+ y: -0.19641675005199866
1230
+ },
1231
+ {
1232
+ x: -0.11751412445669952,
1233
+ y: -0.19514592525649863
1234
+ },
1235
+ {
1236
+ x: -0.1169293911999995,
1237
+ y: -0.1938741419999986
1238
+ },
1239
+ {
1240
+ x: -0.11634869049529953,
1241
+ y: -0.19260139934349865
1242
+ },
1243
+ {
1244
+ x: -0.11577203181839951,
1245
+ y: -0.1913276963479986
1246
+ },
1247
+ {
1248
+ x: -0.11519942464509951,
1249
+ y: -0.1900530320744986
1250
+ },
1251
+ {
1252
+ x: -0.11463087845119951,
1253
+ y: -0.18877740558399858
1254
+ },
1255
+ {
1256
+ x: -0.11406640271249952,
1257
+ y: -0.1875008159374986
1258
+ },
1259
+ {
1260
+ x: -0.11350600690479953,
1261
+ y: -0.18622326219599858
1262
+ },
1263
+ {
1264
+ x: -0.11294970050389953,
1265
+ y: -0.18494474342049858
1266
+ },
1267
+ {
1268
+ x: -0.11239749298559953,
1269
+ y: -0.1836652586719986
1270
+ },
1271
+ {
1272
+ x: -0.11184939382569953,
1273
+ y: -0.18238480701149856
1274
+ },
1275
+ {
1276
+ x: -0.11130541249999952,
1277
+ y: -0.18110338749999852
1278
+ },
1279
+ {
1280
+ x: -0.11076555848429954,
1281
+ y: -0.17982099919849853
1282
+ },
1283
+ {
1284
+ x: -0.11022984125439952,
1285
+ y: -0.1785376411679985
1286
+ },
1287
+ {
1288
+ x: -0.10969827028609953,
1289
+ y: -0.1772533124694985
1290
+ },
1291
+ {
1292
+ x: -0.10917085505519954,
1293
+ y: -0.17596801216399852
1294
+ },
1295
+ {
1296
+ x: -0.10864760503749954,
1297
+ y: -0.17468173931249847
1298
+ },
1299
+ {
1300
+ x: -0.10812852970879953,
1301
+ y: -0.17339449297599843
1302
+ },
1303
+ {
1304
+ x: -0.10761363854489954,
1305
+ y: -0.17210627221549843
1306
+ },
1307
+ {
1308
+ x: -0.10710294102159955,
1309
+ y: -0.17081707609199845
1310
+ },
1311
+ {
1312
+ x: -0.10659644661469955,
1313
+ y: -0.16952690366649845
1314
+ },
1315
+ {
1316
+ x: -0.10609416479999954,
1317
+ y: -0.1682357539999984
1318
+ },
1319
+ {
1320
+ x: -0.10559610505329955,
1321
+ y: -0.1669436261534984
1322
+ },
1323
+ {
1324
+ x: -0.10510227685039954,
1325
+ y: -0.1656505191879984
1326
+ },
1327
+ {
1328
+ x: -0.10461268966709955,
1329
+ y: -0.16435643216449838
1330
+ },
1331
+ {
1332
+ x: -0.10412735297919956,
1333
+ y: -0.16306136414399838
1334
+ },
1335
+ {
1336
+ x: -0.10364627626249956,
1337
+ y: -0.16176531418749837
1338
+ },
1339
+ {
1340
+ x: -0.10316946899279957,
1341
+ y: -0.16046828135599833
1342
+ },
1343
+ {
1344
+ x: -0.10269694064589956,
1345
+ y: -0.15917026471049833
1346
+ },
1347
+ {
1348
+ x: -0.10222870069759955,
1349
+ y: -0.1578712633119983
1350
+ },
1351
+ {
1352
+ x: -0.10176475862369955,
1353
+ y: -0.1565712762214983
1354
+ },
1355
+ {
1356
+ x: -0.10130512389999956,
1357
+ y: -0.1552703024999983
1358
+ },
1359
+ {
1360
+ x: -0.10084980600229956,
1361
+ y: -0.15396834120849828
1362
+ },
1363
+ {
1364
+ x: -0.10039881440639958,
1365
+ y: -0.15266539140799829
1366
+ },
1367
+ {
1368
+ x: -0.09995215858809957,
1369
+ y: -0.15136145215949826
1370
+ },
1371
+ {
1372
+ x: -0.09950984802319957,
1373
+ y: -0.15005652252399826
1374
+ },
1375
+ {
1376
+ x: -0.09907189218749957,
1377
+ y: -0.14875060156249825
1378
+ },
1379
+ {
1380
+ x: -0.09863830055679956,
1381
+ y: -0.14744368833599825
1382
+ },
1383
+ {
1384
+ x: -0.09820908260689958,
1385
+ y: -0.14613578190549825
1386
+ },
1387
+ {
1388
+ x: -0.09778424781359957,
1389
+ y: -0.14482688133199823
1390
+ },
1391
+ {
1392
+ x: -0.09736380565269957,
1393
+ y: -0.1435169856764982
1394
+ },
1395
+ {
1396
+ x: -0.09694776559999957,
1397
+ y: -0.1422060939999982
1398
+ },
1399
+ {
1400
+ x: -0.09653613713129958,
1401
+ y: -0.1408942053634982
1402
+ },
1403
+ {
1404
+ x: -0.09612892972239956,
1405
+ y: -0.13958131882799818
1406
+ },
1407
+ {
1408
+ x: -0.09572615284909958,
1409
+ y: -0.13826743345449818
1410
+ },
1411
+ {
1412
+ x: -0.09532781598719958,
1413
+ y: -0.13695254830399817
1414
+ },
1415
+ {
1416
+ x: -0.09493392861249958,
1417
+ y: -0.13563666243749817
1418
+ },
1419
+ {
1420
+ x: -0.09454450020079957,
1421
+ y: -0.13431977491599817
1422
+ },
1423
+ {
1424
+ x: -0.09415954022789956,
1425
+ y: -0.13300188480049818
1426
+ },
1427
+ {
1428
+ x: -0.09377905816959958,
1429
+ y: -0.13168299115199816
1430
+ },
1431
+ {
1432
+ x: -0.09340306350169958,
1433
+ y: -0.13036309303149818
1434
+ },
1435
+ {
1436
+ x: -0.09303156569999958,
1437
+ y: -0.12904218949999818
1438
+ },
1439
+ {
1440
+ x: -0.09266457424029959,
1441
+ y: -0.12772027961849816
1442
+ },
1443
+ {
1444
+ x: -0.09230209859839958,
1445
+ y: -0.12639736244799815
1446
+ },
1447
+ {
1448
+ x: -0.09194414825009957,
1449
+ y: -0.12507343704949817
1450
+ },
1451
+ {
1452
+ x: -0.09159073267119958,
1453
+ y: -0.12374850248399819
1454
+ },
1455
+ {
1456
+ x: -0.09124186133749958,
1457
+ y: -0.12242255781249818
1458
+ },
1459
+ {
1460
+ x: -0.09089754372479958,
1461
+ y: -0.12109560209599818
1462
+ },
1463
+ {
1464
+ x: -0.09055778930889957,
1465
+ y: -0.11976763439549819
1466
+ },
1467
+ {
1468
+ x: -0.09022260756559956,
1469
+ y: -0.11843865377199818
1470
+ },
1471
+ {
1472
+ x: -0.08989200797069956,
1473
+ y: -0.11710865928649819
1474
+ },
1475
+ {
1476
+ x: -0.08956599999999959,
1477
+ y: -0.11577764999999829
1478
+ },
1479
+ {
1480
+ x: -0.08956599999999959,
1481
+ y: -0.11577764999999829
1482
+ },
1483
+ {
1484
+ x: -0.08916166532269958,
1485
+ y: -0.1141015840276983
1486
+ },
1487
+ {
1488
+ x: -0.08876332646159957,
1489
+ y: -0.11242441110159831
1490
+ },
1491
+ {
1492
+ x: -0.08837097017289958,
1493
+ y: -0.11074614170789834
1494
+ },
1495
+ {
1496
+ x: -0.08798458321279957,
1497
+ y: -0.10906678633279836
1498
+ },
1499
+ {
1500
+ x: -0.08760415233749957,
1501
+ y: -0.10738635546249836
1502
+ },
1503
+ {
1504
+ x: -0.08722966430319957,
1505
+ y: -0.10570485958319836
1506
+ },
1507
+ {
1508
+ x: -0.08686110586609956,
1509
+ y: -0.10402230918109837
1510
+ },
1511
+ {
1512
+ x: -0.08649846378239957,
1513
+ y: -0.10233871474239843
1514
+ },
1515
+ {
1516
+ x: -0.0861417248082996,
1517
+ y: -0.10065408675329846
1518
+ },
1519
+ {
1520
+ x: -0.08579087569999959,
1521
+ y: -0.09896843569999846
1522
+ },
1523
+ {
1524
+ x: -0.08544590321369959,
1525
+ y: -0.09728177206869845
1526
+ },
1527
+ {
1528
+ x: -0.08510679410559958,
1529
+ y: -0.09559410634559845
1530
+ },
1531
+ {
1532
+ x: -0.08477353513189957,
1533
+ y: -0.09390544901689848
1534
+ },
1535
+ {
1536
+ x: -0.08444611304879956,
1537
+ y: -0.09221581056879849
1538
+ },
1539
+ {
1540
+ x: -0.08412451461249956,
1541
+ y: -0.0905252014874985
1542
+ },
1543
+ {
1544
+ x: -0.08380872657919955,
1545
+ y: -0.0888336322591985
1546
+ },
1547
+ {
1548
+ x: -0.08349873570509957,
1549
+ y: -0.08714111337009853
1550
+ },
1551
+ {
1552
+ x: -0.08319452874639957,
1553
+ y: -0.08544765530639854
1554
+ },
1555
+ {
1556
+ x: -0.08289609245929955,
1557
+ y: -0.08375326855429854
1558
+ },
1559
+ {
1560
+ x: -0.08260341359999955,
1561
+ y: -0.08205796359999856
1562
+ },
1563
+ {
1564
+ x: -0.08231647892469955,
1565
+ y: -0.08036175092969856
1566
+ },
1567
+ {
1568
+ x: -0.08203527518959956,
1569
+ y: -0.07866464102959857
1570
+ },
1571
+ {
1572
+ x: -0.08175978915089956,
1573
+ y: -0.07696664438589859
1574
+ },
1575
+ {
1576
+ x: -0.08149000756479956,
1577
+ y: -0.07526777148479862
1578
+ },
1579
+ {
1580
+ x: -0.08122591718749958,
1581
+ y: -0.07356803281249863
1582
+ },
1583
+ {
1584
+ x: -0.08096750477519957,
1585
+ y: -0.07186743885519864
1586
+ },
1587
+ {
1588
+ x: -0.08071475708409956,
1589
+ y: -0.07016600009909864
1590
+ },
1591
+ {
1592
+ x: -0.08046766087039958,
1593
+ y: -0.06846372703039866
1594
+ },
1595
+ {
1596
+ x: -0.08022620289029957,
1597
+ y: -0.06676063013529866
1598
+ },
1599
+ {
1600
+ x: -0.07999036989999955,
1601
+ y: -0.06505671989999867
1602
+ },
1603
+ {
1604
+ x: -0.07976014865569958,
1605
+ y: -0.06335200681069868
1606
+ },
1607
+ {
1608
+ x: -0.07953552591359955,
1609
+ y: -0.061646501353598705
1610
+ },
1611
+ {
1612
+ x: -0.07931648842989956,
1613
+ y: -0.0599402140148987
1614
+ },
1615
+ {
1616
+ x: -0.07910302296079955,
1617
+ y: -0.0582331552807987
1618
+ },
1619
+ {
1620
+ x: -0.07889511626249955,
1621
+ y: -0.05652533563749871
1622
+ },
1623
+ {
1624
+ x: -0.07869275509119955,
1625
+ y: -0.05481676557119872
1626
+ },
1627
+ {
1628
+ x: -0.07849592620309954,
1629
+ y: -0.053107455568098726
1630
+ },
1631
+ {
1632
+ x: -0.07830461635439954,
1633
+ y: -0.05139741611439873
1634
+ },
1635
+ {
1636
+ x: -0.07811881230129955,
1637
+ y: -0.049686657696298736
1638
+ },
1639
+ {
1640
+ x: -0.07793850079999953,
1641
+ y: -0.04797519079999873
1642
+ },
1643
+ {
1644
+ x: -0.07776366860669955,
1645
+ y: -0.04626302591169874
1646
+ },
1647
+ {
1648
+ x: -0.07759430247759955,
1649
+ y: -0.04455017351759874
1650
+ },
1651
+ {
1652
+ x: -0.07743038916889955,
1653
+ y: -0.042836644103898744
1654
+ },
1655
+ {
1656
+ x: -0.07727191543679954,
1657
+ y: -0.04112244815679875
1658
+ },
1659
+ {
1660
+ x: -0.07711886803749955,
1661
+ y: -0.039407596162498754
1662
+ },
1663
+ {
1664
+ x: -0.07697123372719955,
1665
+ y: -0.03769209860719875
1666
+ },
1667
+ {
1668
+ x: -0.07682899926209953,
1669
+ y: -0.035975965977098755
1670
+ },
1671
+ {
1672
+ x: -0.07669215139839955,
1673
+ y: -0.03425920875839876
1674
+ },
1675
+ {
1676
+ x: -0.07656067689229953,
1677
+ y: -0.032541837437298764
1678
+ },
1679
+ {
1680
+ x: -0.07643456249999953,
1681
+ y: -0.03082386249999876
1682
+ },
1683
+ {
1684
+ x: -0.07631379497769952,
1685
+ y: -0.029105294432698766
1686
+ },
1687
+ {
1688
+ x: -0.07619836108159952,
1689
+ y: -0.02738614372159877
1690
+ },
1691
+ {
1692
+ x: -0.07608824756789952,
1693
+ y: -0.02566642085289876
1694
+ },
1695
+ {
1696
+ x: -0.07598344119279953,
1697
+ y: -0.023946136312798766
1698
+ },
1699
+ {
1700
+ x: -0.07588392871249951,
1701
+ y: -0.02222530058749876
1702
+ },
1703
+ {
1704
+ x: -0.0757896968831995,
1705
+ y: -0.020503924163198756
1706
+ },
1707
+ {
1708
+ x: -0.07570073246109951,
1709
+ y: -0.01878201752609876
1710
+ },
1711
+ {
1712
+ x: -0.07561702220239952,
1713
+ y: -0.017059591162398753
1714
+ },
1715
+ {
1716
+ x: -0.07553855286329951,
1717
+ y: -0.015336655558298754
1718
+ },
1719
+ {
1720
+ x: -0.07546531119999951,
1721
+ y: -0.01361322119999875
1722
+ },
1723
+ {
1724
+ x: -0.07539728396869952,
1725
+ y: -0.011889298573698748
1726
+ },
1727
+ {
1728
+ x: -0.07533445792559951,
1729
+ y: -0.010164898165598747
1730
+ },
1731
+ {
1732
+ x: -0.07527681982689952,
1733
+ y: -0.008440030461898743
1734
+ },
1735
+ {
1736
+ x: -0.07522435642879952,
1737
+ y: -0.006714705948798734
1738
+ },
1739
+ {
1740
+ x: -0.07517705448749952,
1741
+ y: -0.004988935112498731
1742
+ },
1743
+ {
1744
+ x: -0.07513490075919951,
1745
+ y: -0.0032627284391987255
1746
+ },
1747
+ {
1748
+ x: -0.07509788200009951,
1749
+ y: -0.0015360964150987165
1750
+ },
1751
+ {
1752
+ x: -0.07506598496639952,
1753
+ y: 1909504736012889e-19
1754
+ },
1755
+ {
1756
+ x: -0.0750391964142995,
1757
+ y: 0.0019184017407012956
1758
+ },
1759
+ {
1760
+ x: -0.07501750309999951,
1761
+ y: 0.003646246900001303
1762
+ },
1763
+ {
1764
+ x: -0.07500089177969951,
1765
+ y: 0.00537447546530131
1766
+ },
1767
+ {
1768
+ x: -0.07498934920959952,
1769
+ y: 0.00710307695040132
1770
+ },
1771
+ {
1772
+ x: -0.0749828621458995,
1773
+ y: 0.00883204086910133
1774
+ },
1775
+ {
1776
+ x: -0.0749814173447995,
1777
+ y: 0.010561356735201338
1778
+ },
1779
+ {
1780
+ x: -0.07498500156249951,
1781
+ y: 0.012291014062501347
1782
+ },
1783
+ {
1784
+ x: -0.0749936015551995,
1785
+ y: 0.014021002364801359
1786
+ },
1787
+ {
1788
+ x: -0.07500720407909953,
1789
+ y: 0.015751311155901372
1790
+ },
1791
+ {
1792
+ x: -0.07502579589039951,
1793
+ y: 0.017481929949601384
1794
+ },
1795
+ {
1796
+ x: -0.0750493637452995,
1797
+ y: 0.01921284825970139
1798
+ },
1799
+ {
1800
+ x: -0.07507789439999951,
1801
+ y: 0.0209440556000014
1802
+ },
1803
+ {
1804
+ x: -0.0751113746106995,
1805
+ y: 0.022675541484301412
1806
+ },
1807
+ {
1808
+ x: -0.0751497911335995,
1809
+ y: 0.024407295426401427
1810
+ },
1811
+ {
1812
+ x: -0.07519313072489951,
1813
+ y: 0.02613930694010145
1814
+ },
1815
+ {
1816
+ x: -0.07524138014079951,
1817
+ y: 0.027871565539201462
1818
+ },
1819
+ {
1820
+ x: -0.07529452613749951,
1821
+ y: 0.029604060737501478
1822
+ },
1823
+ {
1824
+ x: -0.07535255547119951,
1825
+ y: 0.031336782048801484
1826
+ },
1827
+ {
1828
+ x: -0.0754154548980995,
1829
+ y: 0.0330697189869015
1830
+ },
1831
+ {
1832
+ x: -0.07548321117439952,
1833
+ y: 0.03480286106560152
1834
+ },
1835
+ {
1836
+ x: -0.07555581105629952,
1837
+ y: 0.03653619779870154
1838
+ },
1839
+ {
1840
+ x: -0.07563324129999952,
1841
+ y: 0.038269718700001565
1842
+ },
1843
+ {
1844
+ x: -0.07571548866169951,
1845
+ y: 0.04000341328330158
1846
+ },
1847
+ {
1848
+ x: -0.07580253989759951,
1849
+ y: 0.04173727106240159
1850
+ },
1851
+ {
1852
+ x: -0.07589438176389952,
1853
+ y: 0.043471281551101616
1854
+ },
1855
+ {
1856
+ x: -0.07599100101679952,
1857
+ y: 0.04520543426320164
1858
+ },
1859
+ {
1860
+ x: -0.07609238441249952,
1861
+ y: 0.04693971871250166
1862
+ },
1863
+ {
1864
+ x: -0.07619851870719953,
1865
+ y: 0.048674124412801674
1866
+ },
1867
+ {
1868
+ x: -0.07630939065709953,
1869
+ y: 0.0504086408779017
1870
+ },
1871
+ {
1872
+ x: -0.07642498701839952,
1873
+ y: 0.05214325762160172
1874
+ },
1875
+ {
1876
+ x: -0.07654529454729952,
1877
+ y: 0.05387796415770175
1878
+ },
1879
+ {
1880
+ x: -0.07667029999999952,
1881
+ y: 0.055612750000001654
1882
+ },
1883
+ {
1884
+ x: -0.07667029999999952,
1885
+ y: 0.055612750000001654
1886
+ },
1887
+ {
1888
+ x: -0.07680210846969952,
1889
+ y: 0.05708314936460168
1890
+ },
1891
+ {
1892
+ x: -0.07693595411759954,
1893
+ y: 0.05855396299680169
1894
+ },
1895
+ {
1896
+ x: -0.07707186730189955,
1897
+ y: 0.06002517220420173
1898
+ },
1899
+ {
1900
+ x: -0.07720987838079954,
1901
+ y: 0.06149675829440175
1902
+ },
1903
+ {
1904
+ x: -0.07735001771249954,
1905
+ y: 0.06296870257500178
1906
+ },
1907
+ {
1908
+ x: -0.07749231565519954,
1909
+ y: 0.06444098635360178
1910
+ },
1911
+ {
1912
+ x: -0.07763680256709955,
1913
+ y: 0.0659135909378018
1914
+ },
1915
+ {
1916
+ x: -0.07778350880639956,
1917
+ y: 0.06738649763520185
1918
+ },
1919
+ {
1920
+ x: -0.07793246473129956,
1921
+ y: 0.06885968775340187
1922
+ },
1923
+ {
1924
+ x: -0.07808370069999958,
1925
+ y: 0.07033314260000188
1926
+ },
1927
+ {
1928
+ x: -0.07823724707069958,
1929
+ y: 0.07180684348260188
1930
+ },
1931
+ {
1932
+ x: -0.07839313420159956,
1933
+ y: 0.07328077170880191
1934
+ },
1935
+ {
1936
+ x: -0.07855139245089958,
1937
+ y: 0.07475490858620194
1938
+ },
1939
+ {
1940
+ x: -0.07871205217679958,
1941
+ y: 0.07622923542240194
1942
+ },
1943
+ {
1944
+ x: -0.07887514373749958,
1945
+ y: 0.07770373352500196
1946
+ },
1947
+ {
1948
+ x: -0.07904069749119959,
1949
+ y: 0.07917838420160196
1950
+ },
1951
+ {
1952
+ x: -0.07920874379609959,
1953
+ y: 0.080653168759802
1954
+ },
1955
+ {
1956
+ x: -0.07937931301039959,
1957
+ y: 0.082128068507202
1958
+ },
1959
+ {
1960
+ x: -0.07955243549229958,
1961
+ y: 0.08360306475140203
1962
+ },
1963
+ {
1964
+ x: -0.0797281415999996,
1965
+ y: 0.085078138800002
1966
+ },
1967
+ {
1968
+ x: -0.0799064616916996,
1969
+ y: 0.08655327196060203
1970
+ },
1971
+ {
1972
+ x: -0.08008742612559962,
1973
+ y: 0.08802844554080204
1974
+ },
1975
+ {
1976
+ x: -0.08027106525989962,
1977
+ y: 0.08950364084820207
1978
+ },
1979
+ {
1980
+ x: -0.08045740945279962,
1981
+ y: 0.09097883919040207
1982
+ },
1983
+ {
1984
+ x: -0.08064648906249965,
1985
+ y: 0.0924540218750021
1986
+ },
1987
+ {
1988
+ x: -0.08083833444719964,
1989
+ y: 0.0939291702096021
1990
+ },
1991
+ {
1992
+ x: -0.08103297596509963,
1993
+ y: 0.09540426550180209
1994
+ },
1995
+ {
1996
+ x: -0.08123044397439966,
1997
+ y: 0.09687928905920212
1998
+ },
1999
+ {
2000
+ x: -0.08143076883329967,
2001
+ y: 0.09835422218940212
2002
+ },
2003
+ {
2004
+ x: -0.08163398089999965,
2005
+ y: 0.09982904620000212
2006
+ },
2007
+ {
2008
+ x: -0.08184011053269966,
2009
+ y: 0.10130374239860213
2010
+ },
2011
+ {
2012
+ x: -0.08204918808959966,
2013
+ y: 0.10277829209280215
2014
+ },
2015
+ {
2016
+ x: -0.08226124392889968,
2017
+ y: 0.10425267659020215
2018
+ },
2019
+ {
2020
+ x: -0.08247630840879966,
2021
+ y: 0.10572687719840214
2022
+ },
2023
+ {
2024
+ x: -0.08269441188749967,
2025
+ y: 0.10720087522500214
2026
+ },
2027
+ {
2028
+ x: -0.08291558472319968,
2029
+ y: 0.10867465197760214
2030
+ },
2031
+ {
2032
+ x: -0.0831398572740997,
2033
+ y: 0.11014818876380215
2034
+ },
2035
+ {
2036
+ x: -0.08336725989839969,
2037
+ y: 0.11162146689120216
2038
+ },
2039
+ {
2040
+ x: -0.0835978229542997,
2041
+ y: 0.11309446766740217
2042
+ },
2043
+ {
2044
+ x: -0.0838315767999997,
2045
+ y: 0.11456717240000215
2046
+ },
2047
+ {
2048
+ x: -0.08406855179369971,
2049
+ y: 0.11603956239660215
2050
+ },
2051
+ {
2052
+ x: -0.0843087782935997,
2053
+ y: 0.11751161896480215
2054
+ },
2055
+ {
2056
+ x: -0.08455228665789971,
2057
+ y: 0.11898332341220215
2058
+ },
2059
+ {
2060
+ x: -0.0847991072447997,
2061
+ y: 0.12045465704640215
2062
+ },
2063
+ {
2064
+ x: -0.08504927041249971,
2065
+ y: 0.12192560117500215
2066
+ },
2067
+ {
2068
+ x: -0.0853028065191997,
2069
+ y: 0.12339613710560214
2070
+ },
2071
+ {
2072
+ x: -0.08555974592309973,
2073
+ y: 0.12486624614580213
2074
+ },
2075
+ {
2076
+ x: -0.08582011898239973,
2077
+ y: 0.12633590960320215
2078
+ },
2079
+ {
2080
+ x: -0.08608395605529973,
2081
+ y: 0.12780510878540213
2082
+ },
2083
+ {
2084
+ x: -0.08635128749999971,
2085
+ y: 0.1292738250000021
2086
+ },
2087
+ {
2088
+ x: -0.08662214367469973,
2089
+ y: 0.1307420395546021
2090
+ },
2091
+ {
2092
+ x: -0.08689655493759973,
2093
+ y: 0.1322097337568021
2094
+ },
2095
+ {
2096
+ x: -0.08717455164689972,
2097
+ y: 0.13367688891420207
2098
+ },
2099
+ {
2100
+ x: -0.08745616416079972,
2101
+ y: 0.13514348633440207
2102
+ },
2103
+ {
2104
+ x: -0.08774142283749972,
2105
+ y: 0.13660950732500204
2106
+ },
2107
+ {
2108
+ x: -0.08803035803519974,
2109
+ y: 0.13807493319360203
2110
+ },
2111
+ {
2112
+ x: -0.08832300011209973,
2113
+ y: 0.13953974524780205
2114
+ },
2115
+ {
2116
+ x: -0.08861937942639975,
2117
+ y: 0.14100392479520202
2118
+ },
2119
+ {
2120
+ x: -0.08891952633629974,
2121
+ y: 0.14246745314340203
2122
+ },
2123
+ {
2124
+ x: -0.08922347119999974,
2125
+ y: 0.14393031160000203
2126
+ },
2127
+ {
2128
+ x: -0.08953124437569973,
2129
+ y: 0.145392481472602
2130
+ },
2131
+ {
2132
+ x: -0.08984287622159975,
2133
+ y: 0.14685394406880198
2134
+ },
2135
+ {
2136
+ x: -0.09015839709589976,
2137
+ y: 0.148314680696202
2138
+ },
2139
+ {
2140
+ x: -0.09047783735679976,
2141
+ y: 0.149774672662402
2142
+ },
2143
+ {
2144
+ x: -0.09080122736249976,
2145
+ y: 0.15123390127500197
2146
+ },
2147
+ {
2148
+ x: -0.09112859747119977,
2149
+ y: 0.15269234784160193
2150
+ },
2151
+ {
2152
+ x: -0.09145997804109976,
2153
+ y: 0.15414999366980195
2154
+ },
2155
+ {
2156
+ x: -0.09179539943039977,
2157
+ y: 0.15560682006720195
2158
+ },
2159
+ {
2160
+ x: -0.09213489199729977,
2161
+ y: 0.1570628083414019
2162
+ },
2163
+ {
2164
+ x: -0.09247848609999976,
2165
+ y: 0.1585179398000019
2166
+ },
2167
+ {
2168
+ x: -0.09282621209669975,
2169
+ y: 0.1599721957506019
2170
+ },
2171
+ {
2172
+ x: -0.09317810034559978,
2173
+ y: 0.1614255575008019
2174
+ },
2175
+ {
2176
+ x: -0.09353418120489977,
2177
+ y: 0.16287800635820185
2178
+ },
2179
+ {
2180
+ x: -0.09389448503279976,
2181
+ y: 0.16432952363040182
2182
+ },
2183
+ {
2184
+ x: -0.09425904218749978,
2185
+ y: 0.16578009062500182
2186
+ },
2187
+ {
2188
+ x: -0.09462788302719977,
2189
+ y: 0.1672296886496018
2190
+ },
2191
+ {
2192
+ x: -0.09500103791009978,
2193
+ y: 0.1686782990118018
2194
+ },
2195
+ {
2196
+ x: -0.09537853719439979,
2197
+ y: 0.17012590301920177
2198
+ },
2199
+ {
2200
+ x: -0.09576041123829979,
2201
+ y: 0.17157248197940175
2202
+ },
2203
+ {
2204
+ x: -0.09614669039999979,
2205
+ y: 0.17301801720000176
2206
+ },
2207
+ {
2208
+ x: -0.09653740503769978,
2209
+ y: 0.17446248998860173
2210
+ },
2211
+ {
2212
+ x: -0.0969325855095998,
2213
+ y: 0.17590588165280172
2214
+ },
2215
+ {
2216
+ x: -0.09733226217389979,
2217
+ y: 0.17734817350020168
2218
+ },
2219
+ {
2220
+ x: -0.09773646538879979,
2221
+ y: 0.1787893468384017
2222
+ },
2223
+ {
2224
+ x: -0.0981452255124998,
2225
+ y: 0.18022938297500168
2226
+ },
2227
+ {
2228
+ x: -0.0985585729031998,
2229
+ y: 0.18166826321760166
2230
+ },
2231
+ {
2232
+ x: -0.09897653791909979,
2233
+ y: 0.1831059688738016
2234
+ },
2235
+ {
2236
+ x: -0.09939915091839979,
2237
+ y: 0.1845424812512016
2238
+ },
2239
+ {
2240
+ x: -0.0998264422592998,
2241
+ y: 0.1859777816574016
2242
+ },
2243
+ {
2244
+ x: -0.1002584422999998,
2245
+ y: 0.1874118514000016
2246
+ },
2247
+ {
2248
+ x: -0.1006951813986998,
2249
+ y: 0.18884467178660155
2250
+ },
2251
+ {
2252
+ x: -0.1011366899135998,
2253
+ y: 0.19027622412480152
2254
+ },
2255
+ {
2256
+ x: -0.10158299820289979,
2257
+ y: 0.19170648972220153
2258
+ },
2259
+ {
2260
+ x: -0.1020341366247998,
2261
+ y: 0.1931354498864015
2262
+ },
2263
+ {
2264
+ x: -0.1024901355374998,
2265
+ y: 0.1945630859250015
2266
+ },
2267
+ {
2268
+ x: -0.1029510252991998,
2269
+ y: 0.19598937914560147
2270
+ },
2271
+ {
2272
+ x: -0.10341683626809982,
2273
+ y: 0.19741431085580147
2274
+ },
2275
+ {
2276
+ x: -0.1038875988023998,
2277
+ y: 0.19883786236320142
2278
+ },
2279
+ {
2280
+ x: -0.1043633432602998,
2281
+ y: 0.20026001497540138
2282
+ },
2283
+ {
2284
+ x: -0.10484409999999977,
2285
+ y: 0.2016807500000013
2286
+ },
2287
+ {
2288
+ x: -0.10484409999999977,
2289
+ y: 0.2016807500000013
2290
+ },
2291
+ {
2292
+ x: -0.10512829034499978,
2293
+ y: 0.20251255364660126
2294
+ },
2295
+ {
2296
+ x: -0.10541452131999979,
2297
+ y: 0.2033439212528012
2298
+ },
2299
+ {
2300
+ x: -0.10570279283499981,
2301
+ y: 0.2041748478182012
2302
+ },
2303
+ {
2304
+ x: -0.10599310479999982,
2305
+ y: 0.20500532834240115
2306
+ },
2307
+ {
2308
+ x: -0.10628545712499982,
2309
+ y: 0.20583535782500112
2310
+ },
2311
+ {
2312
+ x: -0.10657984971999983,
2313
+ y: 0.20666493126560112
2314
+ },
2315
+ {
2316
+ x: -0.10687628249499985,
2317
+ y: 0.2074940436638011
2318
+ },
2319
+ {
2320
+ x: -0.10717475535999986,
2321
+ y: 0.20832269001920106
2322
+ },
2323
+ {
2324
+ x: -0.10747526822499989,
2325
+ y: 0.2091508653314011
2326
+ },
2327
+ {
2328
+ x: -0.1077778209999999,
2329
+ y: 0.20997856460000103
2330
+ },
2331
+ {
2332
+ x: -0.10808241359499988,
2333
+ y: 0.21080578282460102
2334
+ },
2335
+ {
2336
+ x: -0.10838904591999989,
2337
+ y: 0.21163251500480096
2338
+ },
2339
+ {
2340
+ x: -0.10869771788499989,
2341
+ y: 0.212458756140201
2342
+ },
2343
+ {
2344
+ x: -0.10900842939999988,
2345
+ y: 0.21328450123040094
2346
+ },
2347
+ {
2348
+ x: -0.10932118037499987,
2349
+ y: 0.21410974527500093
2350
+ },
2351
+ {
2352
+ x: -0.10963597071999989,
2353
+ y: 0.21493448327360093
2354
+ },
2355
+ {
2356
+ x: -0.10995280034499992,
2357
+ y: 0.21575871022580093
2358
+ },
2359
+ {
2360
+ x: -0.1102716691599999,
2361
+ y: 0.2165824211312009
2362
+ },
2363
+ {
2364
+ x: -0.1105925770749999,
2365
+ y: 0.21740561098940095
2366
+ },
2367
+ {
2368
+ x: -0.11091552399999992,
2369
+ y: 0.21822827480000093
2370
+ },
2371
+ {
2372
+ x: -0.1112405098449999,
2373
+ y: 0.2190504075626009
2374
+ },
2375
+ {
2376
+ x: -0.11156753451999993,
2377
+ y: 0.21987200427680093
2378
+ },
2379
+ {
2380
+ x: -0.11189659793499994,
2381
+ y: 0.22069305994220095
2382
+ },
2383
+ {
2384
+ x: -0.11222769999999993,
2385
+ y: 0.22151356955840096
2386
+ },
2387
+ {
2388
+ x: -0.11256084062499995,
2389
+ y: 0.222333528125001
2390
+ },
2391
+ {
2392
+ x: -0.11289601971999996,
2393
+ y: 0.223152930641601
2394
+ },
2395
+ {
2396
+ x: -0.11323323719499996,
2397
+ y: 0.223971772107801
2398
+ },
2399
+ {
2400
+ x: -0.11357249295999995,
2401
+ y: 0.22479004752320103
2402
+ },
2403
+ {
2404
+ x: -0.11391378692499997,
2405
+ y: 0.22560775188740104
2406
+ },
2407
+ {
2408
+ x: -0.11425711899999995,
2409
+ y: 0.22642488020000104
2410
+ },
2411
+ {
2412
+ x: -0.11460248909499995,
2413
+ y: 0.22724142746060105
2414
+ },
2415
+ {
2416
+ x: -0.11494989711999995,
2417
+ y: 0.2280573886688011
2418
+ },
2419
+ {
2420
+ x: -0.11529934298499996,
2421
+ y: 0.22887275882420108
2422
+ },
2423
+ {
2424
+ x: -0.11565082659999995,
2425
+ y: 0.22968753292640107
2426
+ },
2427
+ {
2428
+ x: -0.11600434787499994,
2429
+ y: 0.23050170597500114
2430
+ },
2431
+ {
2432
+ x: -0.11635990671999996,
2433
+ y: 0.23131527296960114
2434
+ },
2435
+ {
2436
+ x: -0.11671750304499996,
2437
+ y: 0.23212822890980117
2438
+ },
2439
+ {
2440
+ x: -0.11707713675999995,
2441
+ y: 0.23294056879520117
2442
+ },
2443
+ {
2444
+ x: -0.11743880777499995,
2445
+ y: 0.2337522876254012
2446
+ },
2447
+ {
2448
+ x: -0.11780251599999993,
2449
+ y: 0.2345633804000012
2450
+ },
2451
+ {
2452
+ x: -0.11816826134499994,
2453
+ y: 0.23537384211860124
2454
+ },
2455
+ {
2456
+ x: -0.11853604371999993,
2457
+ y: 0.23618366778080127
2458
+ },
2459
+ {
2460
+ x: -0.11890586303499992,
2461
+ y: 0.2369928523862013
2462
+ },
2463
+ {
2464
+ x: -0.11927771919999992,
2465
+ y: 0.23780139093440128
2466
+ },
2467
+ {
2468
+ x: -0.11965161212499995,
2469
+ y: 0.23860927842500138
2470
+ },
2471
+ {
2472
+ x: -0.12002754171999992,
2473
+ y: 0.23941650985760138
2474
+ },
2475
+ {
2476
+ x: -0.12040550789499993,
2477
+ y: 0.24022308023180142
2478
+ },
2479
+ {
2480
+ x: -0.12078551055999992,
2481
+ y: 0.24102898454720142
2482
+ },
2483
+ {
2484
+ x: -0.12116754962499991,
2485
+ y: 0.24183421780340145
2486
+ },
2487
+ {
2488
+ x: -0.12155162499999989,
2489
+ y: 0.24263877500000142
2490
+ },
2491
+ {
2492
+ x: -0.1219377365949999,
2493
+ y: 0.2434426511366015
2494
+ },
2495
+ {
2496
+ x: -0.1223258843199999,
2497
+ y: 0.2442458412128015
2498
+ },
2499
+ {
2500
+ x: -0.1227160680849999,
2501
+ y: 0.24504834022820154
2502
+ },
2503
+ {
2504
+ x: -0.12310828779999988,
2505
+ y: 0.24585014318240156
2506
+ },
2507
+ {
2508
+ x: -0.12350254337499987,
2509
+ y: 0.24665124507500158
2510
+ },
2511
+ {
2512
+ x: -0.12389883471999988,
2513
+ y: 0.24745164090560162
2514
+ },
2515
+ {
2516
+ x: -0.12429716174499987,
2517
+ y: 0.24825132567380165
2518
+ },
2519
+ {
2520
+ x: -0.12469752435999987,
2521
+ y: 0.2490502943792017
2522
+ },
2523
+ {
2524
+ x: -0.12509992247499988,
2525
+ y: 0.2498485420214017
2526
+ },
2527
+ {
2528
+ x: -0.12550435599999984,
2529
+ y: 0.25064606360000175
2530
+ },
2531
+ {
2532
+ x: -0.12591082484499985,
2533
+ y: 0.25144285411460177
2534
+ },
2535
+ {
2536
+ x: -0.12631932891999986,
2537
+ y: 0.2522389085648018
2538
+ },
2539
+ {
2540
+ x: -0.12672986813499987,
2541
+ y: 0.25303422195020187
2542
+ },
2543
+ {
2544
+ x: -0.12714244239999986,
2545
+ y: 0.25382878927040187
2546
+ },
2547
+ {
2548
+ x: -0.12755705162499986,
2549
+ y: 0.25462260552500193
2550
+ },
2551
+ {
2552
+ x: -0.12797369571999986,
2553
+ y: 0.25541566571360197
2554
+ },
2555
+ {
2556
+ x: -0.12839237459499983,
2557
+ y: 0.256207964835802
2558
+ },
2559
+ {
2560
+ x: -0.12881308815999984,
2561
+ y: 0.256999497891202
2562
+ },
2563
+ {
2564
+ x: -0.12923583632499985,
2565
+ y: 0.2577902598794021
2566
+ },
2567
+ {
2568
+ x: -0.12966061899999984,
2569
+ y: 0.2585802458000021
2570
+ },
2571
+ {
2572
+ x: -0.13008743609499984,
2573
+ y: 0.25936945065260214
2574
+ },
2575
+ {
2576
+ x: -0.13051628751999986,
2577
+ y: 0.2601578694368022
2578
+ },
2579
+ {
2580
+ x: -0.13094717318499982,
2581
+ y: 0.26094549715220217
2582
+ },
2583
+ {
2584
+ x: -0.13138009299999984,
2585
+ y: 0.26173232879840225
2586
+ },
2587
+ {
2588
+ x: -0.13181504687499984,
2589
+ y: 0.2625183593750023
2590
+ },
2591
+ {
2592
+ x: -0.13225203471999986,
2593
+ y: 0.2633035838816023
2594
+ },
2595
+ {
2596
+ x: -0.13269105644499984,
2597
+ y: 0.26408799731780236
2598
+ },
2599
+ {
2600
+ x: -0.13313211195999985,
2601
+ y: 0.26487159468320237
2602
+ },
2603
+ {
2604
+ x: -0.13357520117499982,
2605
+ y: 0.2656543709774024
2606
+ },
2607
+ {
2608
+ x: -0.13402032399999986,
2609
+ y: 0.26643632120000244
2610
+ },
2611
+ {
2612
+ x: -0.13446748034499983,
2613
+ y: 0.26721744035060246
2614
+ },
2615
+ {
2616
+ x: -0.13491667011999983,
2617
+ y: 0.26799772342880246
2618
+ },
2619
+ {
2620
+ x: -0.13536789323499984,
2621
+ y: 0.2687771654342025
2622
+ },
2623
+ {
2624
+ x: -0.13582114959999986,
2625
+ y: 0.2695557613664026
2626
+ },
2627
+ {
2628
+ x: -0.13627643912499987,
2629
+ y: 0.27033350622500263
2630
+ },
2631
+ {
2632
+ x: -0.13673376171999985,
2633
+ y: 0.27111039500960266
2634
+ },
2635
+ {
2636
+ x: -0.13719311729499983,
2637
+ y: 0.2718864227198026
2638
+ },
2639
+ {
2640
+ x: -0.13765450575999985,
2641
+ y: 0.2726615843552027
2642
+ },
2643
+ {
2644
+ x: -0.13811792702499986,
2645
+ y: 0.2734358749154028
2646
+ },
2647
+ {
2648
+ x: -0.1385833809999999,
2649
+ y: 0.2742092894000028
2650
+ },
2651
+ {
2652
+ x: -0.13905086759499988,
2653
+ y: 0.2749818228086028
2654
+ },
2655
+ {
2656
+ x: -0.1395203867199999,
2657
+ y: 0.2757534701408028
2658
+ },
2659
+ {
2660
+ x: -0.1399919382849999,
2661
+ y: 0.27652422639620283
2662
+ },
2663
+ {
2664
+ x: -0.14046552219999991,
2665
+ y: 0.27729408657440285
2666
+ },
2667
+ {
2668
+ x: -0.1409411383749999,
2669
+ y: 0.2780630456750029
2670
+ },
2671
+ {
2672
+ x: -0.1414187867199999,
2673
+ y: 0.2788310986976029
2674
+ },
2675
+ {
2676
+ x: -0.14189846714499993,
2677
+ y: 0.27959824064180294
2678
+ },
2679
+ {
2680
+ x: -0.14238017955999993,
2681
+ y: 0.2803644665072029
2682
+ },
2683
+ {
2684
+ x: -0.1428639238749999,
2685
+ y: 0.28112977129340294
2686
+ },
2687
+ {
2688
+ x: -0.1433496999999999,
2689
+ y: 0.28189415000000295
2690
+ }
2691
+ ],
2692
+ color: "primary",
2693
+ fill: false
2694
+ },
2695
+ "rect1577-4": {
2696
+ type: "path",
2697
+ points: [
2698
+ {
2699
+ x: 0.26345180000000035,
2700
+ y: 0.2455934500000012
2701
+ },
2702
+ {
2703
+ x: 0.12298460000000011,
2704
+ y: 0.2455934500000012
2705
+ },
2706
+ {
2707
+ x: 0.12298460000000011,
2708
+ y: 0.2505664500000009
2709
+ },
2710
+ {
2711
+ x: 0.26345180000000035,
2712
+ y: 0.2505664500000009
2713
+ }
2714
+ ],
2715
+ color: "primary",
2716
+ fill: true
2717
+ },
2718
+ "rect1577-4-7": {
2719
+ type: "path",
2720
+ points: [
2721
+ {
2722
+ x: 0.19576130000000003,
2723
+ y: 0.31834525000000014
2724
+ },
2725
+ {
2726
+ x: 0.19576130000000003,
2727
+ y: 0.17787805000000034
2728
+ },
2729
+ {
2730
+ x: 0.1907882999999999,
2731
+ y: 0.17787805000000034
2732
+ },
2733
+ {
2734
+ x: 0.1907882999999999,
2735
+ y: 0.31834525000000014
2736
+ }
2737
+ ],
2738
+ color: "primary",
2739
+ fill: true
2740
+ }
2741
+ },
2742
+ texts: {
2743
+ top1: {
2744
+ type: "text",
2745
+ text: "{REF}",
2746
+ x: -0.012864499999999612,
2747
+ y: 0.4200086500000033
2748
+ },
2749
+ bottom1: {
2750
+ type: "text",
2751
+ text: "{VAL}",
2752
+ x: -0.003850499999999979,
2753
+ y: -0.42000864999999976
2754
+ }
2755
+ },
2756
+ refblocks: {
2757
+ left1: {
2758
+ x: -0.5512093,
2759
+ y: 0.016380250000000984
2760
+ },
2761
+ right1: {
2762
+ x: 0.5512093,
2763
+ y: 0.016926950000001995
2764
+ }
2765
+ },
2766
+ bounds: {
2767
+ minX: -0.579367741,
2768
+ maxX: 0.579367741,
2769
+ minY: -0.42000864999999976,
2770
+ maxY: 0.4200086500000033,
2771
+ width: 1.158735482,
2772
+ height: 0.8400173000000031,
2773
+ centerX: 0,
2774
+ centerY: 17763568394002505e-31
2775
+ },
2776
+ circles: {}
2777
+ };
2778
+
2779
+ // symbols/capacitor_polarized_right.ts
2780
+ var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
2781
+
2782
+ // symbols/capacitor_polarized_down.ts
2783
+ var capacitor_polarized_down_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_left").build();
2784
+
2785
+ // symbols/capacitor_polarized_left.ts
2786
+ var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_top").build();
2787
+
2788
+ // symbols/capacitor_polarized_up.ts
2789
+ var capacitor_polarized_up_default = modifySymbol(capacitor_polarized_right_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_right").build();
2790
+
957
2791
  // symbols/capacitor_right.ts
958
2792
  var capacitor_right_default = capacitor_horz_default;
959
2793
 
@@ -2219,69 +4053,6 @@ var diode_default = {
2219
4053
  circles: {}
2220
4054
  };
2221
4055
 
2222
- // drawing/modify-symbol/modify-symbol.ts
2223
- var SymbolModifier = class {
2224
- symbol;
2225
- constructor(symbol) {
2226
- this.symbol = JSON.parse(JSON.stringify(symbol));
2227
- }
2228
- changeTextAnchor(text, newAnchor) {
2229
- this.symbol = {
2230
- ...this.symbol,
2231
- primitives: this.symbol.primitives.map((primitive) => {
2232
- if (primitive.type === "text" && primitive.text === text) {
2233
- return {
2234
- ...primitive,
2235
- anchor: newAnchor
2236
- };
2237
- }
2238
- return primitive;
2239
- })
2240
- };
2241
- return this;
2242
- }
2243
- labelPort(currentLabel, newLabels) {
2244
- this.symbol = {
2245
- ...this.symbol,
2246
- ports: this.symbol.ports.map((port) => {
2247
- return port.labels.includes(currentLabel) ? { ...port, labels: newLabels } : port;
2248
- })
2249
- };
2250
- return this;
2251
- }
2252
- rotateRightFacingSymbol(newOrientation) {
2253
- this.symbol = rotateRightFacingSymbol(this.symbol, {
2254
- newOrientation
2255
- });
2256
- return this;
2257
- }
2258
- build() {
2259
- return this.symbol;
2260
- }
2261
- };
2262
- var modifySymbol = (symbol) => {
2263
- return new SymbolModifier({
2264
- ...symbol,
2265
- primitives: symbol.primitives ?? [
2266
- ...Object.values(symbol.paths ?? {}),
2267
- ...Object.values(symbol.texts ?? {}),
2268
- ...Object.values(symbol.circles ?? {}),
2269
- ...Object.values(symbol.rects ?? {})
2270
- ],
2271
- ports: symbol.ports ?? Object.entries(symbol.refblocks).flatMap(([key, refblock]) => {
2272
- return [{ ...refblock, labels: [key] }];
2273
- }),
2274
- center: symbol.center ?? {
2275
- x: symbol.bounds.centerX,
2276
- y: symbol.bounds.centerY
2277
- },
2278
- size: symbol.size ?? {
2279
- width: symbol.bounds.width,
2280
- height: symbol.bounds.height
2281
- }
2282
- });
2283
- };
2284
-
2285
4056
  // symbols/diode_right.ts
2286
4057
  var diode_right_default = modifySymbol(diode_default).labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "middle_bottom").changeTextAnchor("{VAL}", "middle_top").build();
2287
4058
 
@@ -13263,6 +15034,10 @@ var symbols_index_default = {
13263
15034
  "capacitor_down": capacitor_down_default,
13264
15035
  "capacitor_horz": capacitor_horz_default,
13265
15036
  "capacitor_left": capacitor_left_default,
15037
+ "capacitor_polarized_down": capacitor_polarized_down_default,
15038
+ "capacitor_polarized_left": capacitor_polarized_left_default,
15039
+ "capacitor_polarized_right": capacitor_polarized_right_default,
15040
+ "capacitor_polarized_up": capacitor_polarized_up_default,
13266
15041
  "capacitor_right": capacitor_right_default,
13267
15042
  "capacitor_up": capacitor_up_default,
13268
15043
  "capacitor_vert": capacitor_vert_default,