Skip to content

Instantly share code, notes, and snippets.

@praeclarum
Created July 19, 2011 17:48
Show Gist options
  • Save praeclarum/1093246 to your computer and use it in GitHub Desktop.
Save praeclarum/1093246 to your computer and use it in GitHub Desktop.
The core of iCircuit when compiled with Microsoft's Project Volta
var CurrentAssembly = Assemblies["CircuitWebLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"];CurrentAssembly.TypeDefs["Circuit.CirSim"] = (function(){
var Ret = {};var Assembly = CurrentAssembly;var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetInstanceDef(oA, "System.Nullable`1", [kA]);var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Assembly, "System.Drawing.Size");var kE = GetTypeDef(Assembly, "System.Drawing.Rectangle");var kF = GetTypeDef(Assembly, "System.Drawing.PointF");var kG = GetTypeDef(oA, "System.Object");var kH = GetTypeDef(oA, "System.Object");var kI = GetTypeDef(oA, "System.DateTime");var lA = GetTypeRef(oA, "System.Action");var lB = GetTypeRef(oA, "System.Void");var lC = GetInstanceRef(GetTypeRef(oA, "System.Action`1"), [lA]);var lD = GetTypeRef(oA, "System.Boolean");var lE = GetTypeRef(oA, "System.Int32");var lF = GetTypeRef(oA, "System.Double");var lG = GetTypeRef(oA, "System.Int64");var lH = GetTypeRef(Assembly, "Circuit.Theme");var lI = GetTypeRef(Assembly, "System.Drawing.Size");var lJ = GetTypeRef(oA, "System.Action`2");var lK = GetTypeRef(Assembly, "Circuit.CircuitElm");var lL = GetTypeRef(Assembly, "System.Drawing.Rectangle");var lM = GetTypeRef(Assembly, "Circuit.CircuitNode");var lN = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lM]);var lO = GetTypeRef(Assembly, "Circuit.ICircuitRepository");var lP = GetArrayRef(lF, 1);var lQ = GetInstanceRef(GetTypeRef(oA, "System.Action`1"), [lP]);var lR = GetTypeRef(oA, "System.Func`2");var lS = GetTypeRef(oA, "System.Func`1");var lT = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lK]);var lU = GetTypeRef(Assembly, "CrossGraphics.IGraphics");var lV = GetTypeRef(Assembly, "Circuit.Scope");var lW = GetTypeRef(oA, "System.String");var lX = GetTypeRef(Assembly, "System.Drawing.PointF");var lY = GetTypeRef(oA, "System.Single");var lZ = GetTypeRef(Assembly, "Circuit.CirSim$2b$Hit");var lAA = GetTypeRef(oA, "System.IO.TextReader");var lAB = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lAC = GetTypeRef(Assembly, "Circuit.Elements.SwitchElm");var lAD = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lAB]);var lAE = GetTypeRef(Assembly, "Circuit.EditInfo");var lAF = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lAE]);var lAG = GetTypeRef(oA, "System.Object");var lAH = GetTypeRef(TypeParameters, "T");var lAI = GetTypeRef(TypeParameters, "T");var lAJ = GetTypeRef(oA, "System.Type");var lAK = GetTypeRef(Assembly, "Circuit.StringTokenizer");var lAL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lX]);var lAM = GetTypeRef(Assembly, "Circuit.CirSim");var lAN = GetTypeRef(Assembly, "Circuit.IEditable");var lAO = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lAP = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lAQ = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kC, "Box", [lAO, lAP, lAG]);var mB = GetMethodDef(kG, "ToString", [lW]);var mC = GetMethodDef(kH, "Equals", [lAG, lD]);var mD = GetMethodDef(kH, "GetHashCode", [lE]);var mE = GetMethodDef(kG, "Finalize", [lB]);var nA = GetMethodRef(lAM, "GetEditValue", [lAG, lE, lAE]);var nB = GetMethodRef(lAN, "GetEditValue", [lAG, lE, lAE]);var nC = GetMethodRef(lAM, "SetEditValue", [lAE, lB]);var nD = GetMethodRef(lAN, "SetEditValue", [lAE, lB]);var nE = GetMethodRef(lAM, "BeginEdit", [lW, lB]);var nF = GetMethodRef(lAN, "BeginEdit", [lW, lB]);var nG = GetMethodRef(lAM, "EndEdit", [lB]);var nH = GetMethodRef(lAN, "EndEdit", [lB]);var nI = GetMethodRef(lAQ, "ToString", [lW]);var nJ = GetMethodRef(lAQ, "Equals", [lAG, lD]);var nK = GetMethodRef(lAQ, "GetHashCode", [lE]);var nL = GetMethodRef(lAQ, "Finalize", [lB]);var Methods = {};Methods["eOR"] = function(instance, iKZ){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Combine", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gIV;var gIW;var gIX;var $next;$next = 0;while (true) switch($next){case 0:
{
gIV = instance.fEH;$next = 7;}case 7:
{
gIW = gIV;gIX = mB(kB, mA(gIW, iKZ));gIV = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fEH", kB), gIX, gIW);var br1 = gIV != gIW;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["eOS"] = function(instance, iK0){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Remove", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gIY;var gIZ;var gI0;var $next;$next = 0;while (true) switch($next){case 0:
{
gIY = instance.fEH;$next = 7;}case 7:
{
gIZ = gIY;gI0 = mB(kB, mA(gIZ, iK0));gIY = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fEH", kB), gI0, gIZ);var br1 = gIY != gIZ;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["eOT"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Action");var kB = GetInstanceDef(oA, "System.Action`1", [kA]);var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = GetMethodDef(kC, "OneLevelCloneForStruct", [lA, lB, lA]);return mA(instance.fEI, kB);};Methods["eOU"] = function(instance, iK1){
instance.fEI = iK1;return;};Methods["eI6"] = function(instance){
return instance.fEJ;};Methods["eH"] = function(instance, iK2){
instance.fEJ = iK2;return;};Methods["eIY"] = function(instance){
return instance.fEK;};Methods["eOV"] = function(instance, iK3){
instance.fEK = iK3;return;};Methods["eI5"] = function(instance){
return instance.fEL;};Methods["eOW"] = function(instance, iK4){
instance.fEL = iK4;return;};Methods["eHK"] = function(instance){
return instance.fEM;};Methods["eL"] = function(instance, iK5){
instance.fEM = iK5;return;};Methods["eJB"] = function(instance){
return instance.fEN;};Methods["eOX"] = function(instance, iK6){
instance.fEN = iK6;return;};Methods["eOY"] = function(instance){
return instance.fEO;};Methods["eK"] = function(instance, iK7){
instance.fEO = iK7;return;};Methods["eOZ"] = function(instance){
return instance.fEP;};Methods["eI"] = function(instance, iK8){
instance.fEP = iK8;return;};Methods["eO0"] = function(instance){
return instance.fEQ;};Methods["eJ"] = function(instance, iK9){
instance.fEQ = iK9;return;};Methods["eO1"] = function(instance){
return instance.fER;};Methods["eO2"] = function(instance, iLA){
instance.fER = iLA;return;};Methods["eO3"] = function(instance){
return instance.fES;};Methods["eO4"] = function(instance, iLB){
instance.fES = iLB;return;};Methods["eO5"] = function(instance){
return instance.fET;};Methods["eO6"] = function(instance, iLC){
instance.fET = iLC;return;};Methods["eO7"] = function(instance){
return instance.fEU;};Methods["eO8"] = function(instance, iLD){
instance.fEU = iLD;return;};Methods["eO9"] = function(instance){
return instance.fEV;};Methods["ePA"] = function(instance, iLE){
instance.fEV = iLE;return;};Methods["ePB"] = function(instance){
return instance.fEW;};Methods["ePC"] = function(instance, iLF){
instance.fEW = iLF;return;};Methods["ePD"] = function(instance){
return instance.fEX;};Methods["ePE"] = function(instance, iLG){
instance.fEX = iLG;return;};Methods["ePF"] = function(instance){
return instance.fEY;};Methods["ePG"] = function(instance, iLH){
instance.fEY = iLH;return;};Methods["ePH"] = function(instance){
return instance.fEZ;};Methods["eM"] = function(instance){
return instance.fE0;};Methods["ePI"] = function(instance, iLI){
instance.fE0 = iLI;instance.fE1 = !(instance.fE0 - 1);instance.fE2 = (instance.fE0 / 2 - 1);return;};Methods["ePJ"] = function(instance, iLJ){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Combine", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gI1;var gI2;var gI3;var $next;$next = 0;while (true) switch($next){case 0:
{
gI1 = instance.fE3;$next = 7;}case 7:
{
gI2 = gI1;gI3 = mB(kB, mA(gI2, iLJ));gI1 = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fE3", kB), gI3, gI2);var br1 = gI1 != gI2;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["ePK"] = function(instance, iLK){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Remove", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gI4;var gI5;var gI6;var $next;$next = 0;while (true) switch($next){case 0:
{
gI4 = instance.fE3;$next = 7;}case 7:
{
gI5 = gI4;gI6 = mB(kB, mA(gI5, iLK));gI4 = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fE3", kB), gI6, gI5);var br1 = gI4 != gI5;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["ePL"] = function(instance, iLL){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Combine", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gI7;var gI8;var gI9;var $next;$next = 0;while (true) switch($next){case 0:
{
gI7 = instance.fE4;$next = 7;}case 7:
{
gI8 = gI7;gI9 = mB(kB, mA(gI8, iLL));gI7 = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fE4", kB), gI9, gI8);var br1 = gI7 != gI8;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["ePM"] = function(instance, iLM){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Remove", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gJA;var gJB;var gJC;var $next;$next = 0;while (true) switch($next){case 0:
{
gJA = instance.fE4;$next = 7;}case 7:
{
gJB = gJA;gJC = mB(kB, mA(gJB, iLM));gJA = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fE4", kB), gJC, gJB);var br1 = gJA != gJB;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["eG9"] = function(instance){
return instance.fE5;};Methods["ePN"] = function(instance, iLN){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Action");var lA = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kA, "Invoke", [lA]);var gJD;var $next;$next = 0;while (true) switch($next){case 0:
{
instance.fE5 = iLN;gJD = instance.fE3;var br1 = !gJD;if (br1 || br1 === "") {
$next = 23;continue; }mA(gJD);$next = 23;}case 23:
{
return;}}};Methods["ePO"] = function(instance, iLO){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Combine", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gJE;var gJF;var gJG;var $next;$next = 0;while (true) switch($next){case 0:
{
gJE = instance.fE6;$next = 7;}case 7:
{
gJF = gJE;gJG = mB(kB, mA(gJF, iLO));gJE = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fE6", kB), gJG, gJF);var br1 = gJE != gJF;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["ePP"] = function(instance, iLP){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Delegate");var kB = GetTypeDef(oA, "System.Action");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kE = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kA, "Remove", [lA, lA, lA]);var mB = GetMethodDef(kC, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kE, "CompareExchange", [lE, lD, lD, lD]);var gJH;var gJI;var gJJ;var $next;$next = 0;while (true) switch($next){case 0:
{
gJH = instance.fE6;$next = 7;}case 7:
{
gJI = gJH;gJJ = mB(kB, mA(gJI, iLP));gJH = mC(kB)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kD}, instance, "fE6", kB), gJJ, gJI);var br1 = gJH != gJI;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["ePQ"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = GetMethodDef(kA, "OneLevelClone", [lA, lA]);return mB(mA(instance.fE7));};Methods["ePR"] = function(instance, iLQ){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = GetMethodDef(kA, "OneLevelClone", [lA, lA]);instance.fE7 = mB(mA(iLQ));return;};Methods["ePS"] = function(instance, iLR){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Boolean");var kB = GetTypeDef(oA, "System.Delegate");var kC = GetTypeDef(oA, "System.Action`2");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kF = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kB, "Combine", [lA, lA, lA]);var mB = GetMethodDef(kD, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kF, "CompareExchange", [lE, lD, lD, lD]);var gJK;var gJL = kA.Initializer({});var gJM;var $next;$next = 0;while (true) switch($next){case 0:
{
gJK = instance.fE8;$next = 7;}case 7:
{
gJL = gJK;gJM = mB(kC, mA(gJL, iLR));gJK = mC(kC)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kE}, instance, "fE8", kC), gJM, gJL);var br1 = gJK != gJL;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["ePT"] = function(instance, iLS){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Boolean");var kB = GetTypeDef(oA, "System.Delegate");var kC = GetTypeDef(oA, "System.Action`2");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kF = GetTypeDef(oA, "System.Threading.Interlocked");var lA = GetTypeRef(oA, "System.Delegate");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(TypeParameters, "T");var lE = ReferenceTo(lD);var mA = GetMethodDef(kB, "Remove", [lA, lA, lA]);var mB = GetMethodDef(kD, "CastClass", [lB, lC, lC]);var mC = GetMethodDef(kF, "CompareExchange", [lE, lD, lD, lD]);var gJN;var gJO = kA.Initializer({});var gJP;var $next;$next = 0;while (true) switch($next){case 0:
{
gJN = instance.fE8;$next = 7;}case 7:
{
gJO = gJN;gJP = mB(kC, mA(gJO, iLS));gJN = mC(kC)(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kE}, instance, "fE8", kC), gJP, gJO);var br1 = gJN != gJO;if (br1 || br1 === "") {
$next = 7;continue; }return;}}};Methods["eI9"] = function(instance){
return instance.fE9;};Methods["ePU"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = GetMethodDef(kA, "OneLevelClone", [lA, lA]);return mB(mA(instance.fFA));};Methods["ePV"] = function(instance, iLT){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = GetMethodDef(kA, "OneLevelClone", [lA, lA]);instance.fFA = mB(mA(iLT));return;};Methods["ePW"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitNode");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = GetMethodDef(kC, "OneLevelCloneForStruct", [lA, lB, lA]);return mA(instance.fFB, kB);};Methods["eI3"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetInstanceDef(oA, "System.Nullable`1", [kA]);var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var lA = GetTypeRef(oA, "System.Boolean");var lB = GetTypeRef(oA, "System.Double");var mA = GetMethodDef(kB, "get_HasValue", [lA]);var mB = GetMethodDef(kB, "get_Value", [lB]);var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = mA(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kC}, instance, "fFC", kB));if (br1 || br1 === "") {
$next = 23;continue; }return 0;$next = 23;}case 23:
{
return mB(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kC}, instance, "fFC", kB));}}};Methods["ePX"] = function(instance){
return instance.fFD;};Methods["ePY"] = function(instance, iLU){
instance.fFD = iLU;return;};Methods["ePZ"] = function(instance){
return instance.fFE;};Methods["eP0"] = function(instance, iLV){
instance.fFE = iLV;return;};Methods["eP1"] = function(instance, iLW){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var lA = GetTypeRef(oA, "System.Random");var lB = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lA, "Next", [lB]);var gJQ = kA.Initializer({});var $next;$next = 0;while (true) switch($next){case 0:
{
var aH8 = instance.fFF;var bEQ = aH8._vT.VTable[nA](aH8);gJQ = bEQ;var br1 = gJQ >= 0;if (br1 || br1 === "") {
$next = 19;continue; }gJQ = -gJQ;$next = 19;}case 19:
{
return gJQ % iLW;}}};Methods["eP2"] = function(iLX){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(oA, "System.String");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Assembly, "Circuit.Log");var kF = GetTypeDef(oA, "System.Type");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Type");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(oA, "System.String");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lG = GetTypeRef(oA, "System.Boolean");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lI = GetArrayRef(lD, 1);var mA = GetMethodDef(kB, "GetType", [lC]);var mB = GetMethodDef(kC, "Concat", [lD, lD, lE]);var mC = GetMethodDef(kD, "NewArray", [lF, lB, lD]);var mD = kE.Methods.eP4;var mE = GetMethodDef(kF, "op_Equality", [lC, lC, lG]);var mF = GetMethodDef(kD, "Box", [lH, lF, lD]);var mG = GetMethodDef(kC, "Concat", [lI, lE]);var nA = GetMethodRef(lA, "GetTypeId", [lB]);var gJR;var gJS = kA.Initializer({});var gJT;var gJU;var $next;$next = 0;while (true) switch($next){case 0:
{
gJR = Methods.eP3(iLX);var aH9 = gJR;var bER = aH9._vT.VTable[nA](aH9);gJS = bER;var br1 = gJS;if (br1 || br1 === "") {
$next = 45;continue; }mD(mB("No dump type: ", mA(gJR)), mC(kB, 0));return;$next = 45;}case 45:
{
var br2 = !mE(Ret.Fields.fD7[gJS], null);if (br2 || br2 === "") {
$next = 76;continue; }gJT = mA(gJR);Ret.Fields.fD7[gJS] = gJT;return;$next = 76;}case 76:
{
gJU = mC(kB, 6);gJU[0] = "Dupe dump type: ";gJU[1] = mF(gJS, kA);gJU[2] = ": ";gJU[3] = mA(gJR);gJU[4] = " and ";gJU[5] = Ret.Fields.fD7[gJS];mD(mG(gJU), mC(kB, 0));return;}}};Methods["eP7"] = function(){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.DateTime");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(oA, "System.Type");var kE = GetTypeDef(Assembly, "Circuit.Elements.ResistorElm");var kF = GetTypeDef(Assembly, "Circuit.CircuitElm");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(oA, "System.Int32");var lE = GetTypeRef(oA, "System.Void");var lF = GetTypeRef(oA, "System.Type");var lG = GetTypeRef(oA, "System.Reflection.Assembly");var lH = GetTypeRef(oA, "System.Boolean");var mA = GetMethodDef(kC, "Box", [lA, lB, lC]);var mB = GetMethodDef(kB, ".ctor", [lD, lD, lD, lE]);var mC = GetMethodDef(kC, "Unbox", [lC, lC]);var mD = GetMethodDef(kC, "OneLevelClone", [lC, lC]);var mE = GetMethodDef(kC, "NewArray", [lB, lD, lC]);var nA = GetMethodRef(lF, "get_Assembly", [lG]);var nB = GetMethodRef(lF, "IsSubclassOf", [lF, lH]);var nC = GetMethodRef(lF, "get_IsAbstract", [lH]);var gJV;var gJW;var gJX;var gJY = kA.Initializer({});var $next;$next = 0;while (true) switch($next){case 0:
{
Ret.Fields.fD6 = "";Ret.Fields.fD8 = mD(mC(mC(mB(mA({}, kB), 1970, 1, 1))));Ret.Fields.fD9 = 2048;Ret.Fields.fD7 = mE(kD, 300);var aIA = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetTypeForTypeDef", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Type")])(kE);var bES = aIA._vT.VTable[nA](aIA);var aIB = bES;var bET = aIB._vT.VTable[NSErr(0, "System.Reflection.Assembly.GetTypes")](aIB);gJV = bET;gJX = gJV;gJY = 0;$next = 119;continue; $next = 79;}case 79:
{
gJW = gJX[gJY];var aIC = gJW;var bEU = aIC._vT.VTable[nB](aIC, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetTypeForTypeDef", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Type")])(kF));var br1 = !bEU;if (br1 || br1 === "") {
$next = 115;continue; }var aID = gJW;var bEV = aID._vT.VTable[nC](aID);var br2 = bEV;if (br2 || br2 === "") {
$next = 115;continue; }Methods.eP2(gJW);$next = 115;}case 115:
{
gJY = (gJY + 1);$next = 119;}case 119:
{
var br3 = gJY < gJX.length;if (br3 || br3 === "") {
$next = 79;continue; }return;}}};Methods["eG"] = function(instance, iLY){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kE = GetTypeDef(oA, "System.Random");var kF = GetTypeDef(oA, "System.Action");var kG = GetInstanceDef(oA, "System.Action`1", [kF]);var kH = GetTypeDef(Assembly, "Circuit.WhiteTheme");var kI = GetTypeDef(Assembly, "Circuit.CircuitElm");var kJ = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kI]);var kK = GetTypeDef(Assembly, "Circuit.CircuitNode");var kL = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kK]);var kM = GetTypeDef(Assembly, "Circuit.Scope");var kN = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kM]);var kO = Ret;var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(oA, "System.Object");var lC = GetTypeRef(oA, "System.IntPtr");var mA = kA.Methods.eQA;var mB = GetMethodDef(kB, ".ctor", [lA]);var mC = GetMethodDef(kD, ".ctor", [lA]);var mD = GetMethodDef(kE, ".ctor", [lA]);var mE = GetMethodDef(kG, ".ctor", [lB, lC, lA]);var mF = kH.Methods.eQE;var mG = GetMethodDef(kJ, ".ctor", [lA]);var mH = GetMethodDef(kL, ".ctor", [lA]);var mI = GetMethodDef(kN, ".ctor", [lA]);var $next;kO.Initializer(instance);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
instance.fFG = -1;instance.fFH = mA({
_vT:kA});instance.fFI = mB({
_vT:kB});instance.fFJ = mB({
_vT:kB});instance.fFK = 0.1;instance.fFL = mC({
_vT:kD});instance.fFM = "";instance.fFN = "";stack.push(instance);instance.fFF = mD({
_vT:kE});stack.push(instance);var br1 = Ret.Fields.fEA;if (br1 || br1 === "") {
$next = 130;continue; }Ret.Fields.fEA = mE(null, null, Methods.eQC);$next = 130;}case 130:
{
Methods.eOU(pop(1), Ret.Fields.fEA);instance.fFO = iLY;Methods.ePN(instance, mF({
_vT:kH}));instance.fFP = mG({
_vT:kJ});instance.fFB = mH({
_vT:kL});instance.fFQ = mI({
_vT:kN});instance.fFR = 1;instance.fFS = null;instance.fFT = 0;Methods.eQF(instance);Methods.eQG(instance, 0);return instance;}}};Methods["eQF"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetTypeDef(Assembly, "System.Drawing.Size");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kC, "Box", [lA, lB, lC]);var mB = kB.Methods.eQH;var mC = GetMethodDef(kC, "Unbox", [lC, lC]);var mD = GetMethodDef(kC, "OneLevelClone", [lC, lC]);instance.fFG = -1;Methods.ePE(instance, 0.000244140625);Methods.ePG(instance, 0);Methods.eO6(instance, 1);Methods.eJ(instance, 1);Methods.eI(instance, 1);Methods.eH(instance, 1);Methods.eOV(instance, 1);Methods.eOX(instance, 0);Methods.eL(instance, 1);Methods.eK(instance, 1);Methods.eI(instance, 1);Methods.eO2(instance, 1);Methods.eO8(instance, 1);Methods.ePI(instance, 32);Methods.ePA(instance, 50);kA.Fields.fA3 = 5;Methods.ePR(instance, mD(mC(mB(mA({}, kB), 1024, 1024))));return;};Methods["eI2"] = function(instance){
return instance.fFU;};Methods["eQG"] = function(instance, iLZ){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Boolean");var kB = GetTypeDef(Assembly, "Circuit.CirSim$2b$$3c$$3e$c__DisplayClass4");var kC = GetTypeDef(oA, "System.Action");var kD = GetInstanceDef(oA, "System.Action`1", [kC]);var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(oA, "System.IntPtr");var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(oA, "System.Action");var mA = kB.Methods.eQI;var mB = kB.Methods.eQK;var mC = GetMethodDef(kC, ".ctor", [lA, lB, lC]);var mD = GetMethodDef(kD, "Invoke", [lD, lC]);var gJZ = kA.Initializer({});var gJ0;var gJ1;var gJ2;var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gJZ = instance.fFU;var br1 = gJZ == iLZ;if (br1 || br1 === "") {
$next = 88;continue; }gJ1 = null;gJ2 = mA({
_vT:kB});instance.fFU = iLZ;var br2 = gJZ;if (br2 || br2 === "") {
$next = 35;continue; }Methods.eQJ(instance);$next = 35;}case 35:
{
gJ2.fFV = instance.fE8;gJ0 = Methods.eOT(instance);var br3 = !gJ2.fFV;if (br3 || br3 === "") {
$next = 88;continue; }var br4 = !gJ0;if (br4 || br4 === "") {
$next = 88;continue; }stack.push(gJ0);var br5 = gJ1;if (br5 || br5 === "") {
$next = 82;continue; }gJ1 = mC({
_vT:kC}, gJ2, mB);$next = 82;}case 82:
{
mD(pop(1), gJ1);$next = 88;}case 88:
{
return;}}};Methods["eQJ"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(oA, "System.Boolean");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lG = GetTypeRef(oA, "System.IDisposable");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = GetMethodDef(kB, "MoveNext", [lD]);var mE = GetMethodDef(kE, "Constrained", [lE, lF, lE]);var mF = kC.Methods.eQM;var nA = GetMethodRef(lA, "reset", [lC]);var nB = GetMethodRef(lG, "Dispose", [lC]);var gJ3;var gJ4 = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hAD = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gJ4;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gJ4 = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
Methods.eMM(instance);mA(instance.fFH);$next = 17;}case 17:
{
gJ4 = mB(instance.fFP);$next = 29;}case 29:
{
$next = 45;continue; $next = 31;}case 31:
{
gJ3 = mC(hAD);var aIE = gJ3;aIE._vT.VTable[nA](aIE);$next = 45;}case 45:
{
var br1 = mD(hAD);if (br1 || br1 === "") {
$next = 31;continue; }stack = [];$next = 56;$leaveTarget = 70;continue; $next = 56;}case 56:
{
var aIF = mE(hAD, kB);aIF._vT.VTable[nB](aIF);if ($exception) throw $exception;if (17 <= $leaveTarget && $leaveTarget < 72) $next = $leaveTarget; else $next = 72;continue; $next = 70;}case 70:
{
stack = [];$next = 72;$leaveTarget = 84;continue; $next = 72;}case 72:
{
mF(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 84;}case 84:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 17:
{
$next = 72;continue; }case 29:
{
$next = 56;continue; }case 31:
{
$next = 56;continue; }case 45:
{
$next = 56;continue; }case 56:
{
$next = 72;continue; }case 70:
{
$next = 72;continue; }default:
throw Catcher;}}};Methods["eQN"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(oA, "System.Boolean");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lG = GetTypeRef(oA, "System.IDisposable");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = GetMethodDef(kB, "MoveNext", [lD]);var mE = GetMethodDef(kE, "Constrained", [lE, lF, lE]);var mF = kC.Methods.eQM;var nA = GetMethodRef(lA, "delete", [lC]);var nB = GetMethodRef(lG, "Dispose", [lC]);var gJ5;var gJ6 = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hAE = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gJ6;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gJ6 = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
instance.fFW = 1;mA(instance.fFH);$next = 18;}case 18:
{
gJ6 = mB(instance.fFP);$next = 30;}case 30:
{
$next = 46;continue; $next = 32;}case 32:
{
gJ5 = mC(hAE);var aIG = gJ5;aIG._vT.VTable[nA](aIG);$next = 46;}case 46:
{
var br1 = mD(hAE);if (br1 || br1 === "") {
$next = 32;continue; }stack = [];$next = 57;$leaveTarget = 71;continue; $next = 57;}case 57:
{
var aIH = mE(hAE, kB);aIH._vT.VTable[nB](aIH);if ($exception) throw $exception;if (18 <= $leaveTarget && $leaveTarget < 73) $next = $leaveTarget; else $next = 73;continue; $next = 71;}case 71:
{
stack = [];$next = 73;$leaveTarget = 85;continue; $next = 73;}case 73:
{
mF(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 85;}case 85:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 18:
{
$next = 73;continue; }case 30:
{
$next = 57;continue; }case 32:
{
$next = 57;continue; }case 46:
{
$next = 57;continue; }case 57:
{
$next = 73;continue; }case 71:
{
$next = 73;continue; }default:
throw Catcher;}}};Methods["eQO"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetArrayDef", [GetTypeRef(Assembly.References.cA(), "System.Int32"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef")])(kA, 1);var kC = GetInstanceDef(oA, "System.Action`1", [kB]);var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = GetMethodDef(kD, "OneLevelCloneForStruct", [lA, lB, lA]);return mA(instance.fFX, kC);};Methods["eQP"] = function(instance, iL0){
instance.fFX = iL0;return;};Methods["eQQ"] = function(instance){
return instance.fFY;};Methods["eQR"] = function(instance, iL1){
instance.fFY = iL1;return;};Methods["eQS"] = function(instance){
return instance.fFZ;};Methods["eQT"] = function(instance, iL2){
instance.fFZ = iL2;return;};Methods["eQU"] = function(instance){
return instance.fF0;};Methods["eQV"] = function(instance, iL3){
instance.fF0 = iL3;return;};Methods["eBC"] = function(instance, iL4){
var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var mA = kA.Methods.eQW;var mB = kA.Methods.eQY;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
Methods.eQX(instance, iL4);stack = [];$next = 20;$leaveTarget = 32;continue; $next = 20;}case 20:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 32;}case 32:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 20;continue; }default:
throw Catcher;}}};Methods["eQX"] = function(instance, iL5){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Void");var mA = kA.Methods.eD5;var mB = kA.Methods.eD7;var mC = kA.Methods.eD9;var mD = kA.Methods.eEB;var mE = kA.Methods.eFO;var nA = GetMethodRef(lB, "Add", [lA, lC]);var aII = instance.fFP;aII._vT.VTable[nA](aII, iL5);mE(iL5, Methods.eGJ(instance, mA(iL5)), Methods.eGJ(instance, mB(iL5)), Methods.eGJ(instance, mC(iL5)), Methods.eGJ(instance, mD(iL5)));Methods.eMM(instance);return;};Methods["eQZ"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var mA = kB.Methods.eQL;var mB = kB.Methods.eQM;var nA = GetMethodRef(lB, "get_Count", [lC]);var gJ7 = kA.Initializer({});var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
var aIJ = instance.fFP;var bEW = aIJ._vT.VTable[nA](aIJ);gJ7 = bEW;stack = [];$next = 25;$leaveTarget = 37;continue; $next = 25;}case 25:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 37;}case 37:
{
return gJ7;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 25;continue; }default:
throw Catcher;}}};Methods["eQ0"] = function(instance, iL6){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var mA = kB.Methods.eQL;var mB = kB.Methods.eQM;var nA = GetMethodRef(lB, "get_Item", [lC, lA]);var nB = GetMethodRef(lB, "get_Count", [lC]);var gJ8 = kA.Initializer({});var gJ9 = kA.Initializer({});var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
var br1 = iL6;if (br1 || br1 === "") {
$next = 5;continue; }return -1;$next = 5;}case 5:
{
mA(instance.fFH);$next = 16;}case 16:
{
gJ8 = 0;$next = 43;continue; $next = 20;}case 20:
{
var aIK = instance.fFP;var bEX = aIK._vT.VTable[nA](aIK, gJ8);var br2 = bEX != iL6;if (br2 || br2 === "") {
$next = 39;continue; }gJ9 = gJ8;stack = [];$next = 61;$leaveTarget = 73;continue; $next = 39;}case 39:
{
gJ8 = (gJ8 + 1);$next = 43;}case 43:
{
stack.push(gJ8);var aIL = instance.fFP;var bEY = aIL._vT.VTable[nB](aIL);var br3 = pop(1) < bEY;if (br3 || br3 === "") {
$next = 20;continue; }gJ9 = -1;stack = [];$next = 61;$leaveTarget = 73;continue; $next = 61;}case 61:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 73;}case 73:
{
return gJ9;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 16:
{
$next = 61;continue; }case 20:
{
$next = 61;continue; }case 39:
{
$next = 61;continue; }case 43:
{
$next = 61;continue; }default:
throw Catcher;}}};Methods["eQ1"] = function(instance, iL7){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var mA = kA.Methods.eQL;var mB = kA.Methods.eQM;var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var gKA;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
var br1 = iL7 >= 0;if (br1 || br1 === "") {
$next = 6;continue; }return null;$next = 6;}case 6:
{
mA(instance.fFH);$next = 17;}case 17:
{
stack.push(iL7);var aIM = instance.fFP;var bEZ = aIM._vT.VTable[nA](aIM);var br2 = pop(1) >= bEZ;if (br2 || br2 === "") {
$next = 46;continue; }var aIN = instance.fFP;var bE0 = aIN._vT.VTable[nB](aIN, iL7);gKA = bE0;stack = [];$next = 50;$leaveTarget = 62;continue; $next = 46;}case 46:
{
gKA = null;stack = [];$next = 50;$leaveTarget = 62;continue; $next = 50;}case 50:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 62;}case 62:
{
return gKA;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 17:
{
$next = 50;continue; }case 46:
{
$next = 50;continue; }default:
throw Catcher;}}};Methods["eK4"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var mA = kD.Methods.eQL;var mB = GetMethodDef(kE, "GetEnumerator", [lB]);var mC = GetMethodDef(kC, "get_Current", [lA]);var mD = kB.Methods.eEG;var mE = GetMethodDef(kC, "MoveNext", [lC]);var mF = GetMethodDef(kF, "Constrained", [lD, lE, lD]);var mG = kD.Methods.eQM;var nA = GetMethodRef(lF, "Dispose", [lG]);var gKB = kA.Initializer({});var gKC;var gKD = kA.Initializer({});var gKE = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hAF = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gKE;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gKE = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gKB = 0;gKE = mB(instance.fFP);$next = 25;}case 25:
{
$next = 50;continue; $next = 27;}case 27:
{
gKC = mC(hAF);stack.push(gKB);var br1 = mD(gKC);if (br1 || br1 === "") {
$next = 47;continue; }stack.push(0);$next = 48;continue; $next = 47;}case 47:
{
stack.push(1);$next = 48;}case 48:
{
gKB = (pop(2) + pop(1));$next = 50;}case 50:
{
var br2 = mE(hAF);if (br2 || br2 === "") {
$next = 27;continue; }stack = [];$next = 61;$leaveTarget = 75;continue; $next = 61;}case 61:
{
var aIO = mF(hAF, kC);aIO._vT.VTable[nA](aIO);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 79) $next = $leaveTarget; else $next = 79;continue; $next = 75;}case 75:
{
gKD = gKB;stack = [];$next = 79;$leaveTarget = 91;continue; $next = 79;}case 79:
{
mG(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 91;}case 91:
{
return gKD;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 79;continue; }case 25:
{
$next = 61;continue; }case 27:
{
$next = 61;continue; }case 47:
{
$next = 61;continue; }case 48:
{
$next = 61;continue; }case 50:
{
$next = 61;continue; }case 61:
{
$next = 79;continue; }case 75:
{
$next = 79;continue; }default:
throw Catcher;}}};Methods["eK5"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lB]);var lD = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lB]);var lE = GetTypeRef(oA, "System.Boolean");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, ".ctor", [lA]);var mC = GetMethodDef(kD, "GetEnumerator", [lC]);var mD = GetMethodDef(kB, "get_Current", [lB]);var mE = kA.Methods.eEG;var mF = GetMethodDef(kB, "MoveNext", [lE]);var mG = GetMethodDef(kE, "Constrained", [lF, lG, lF]);var mH = kC.Methods.eQM;var mI = GetMethodDef(kE, "OneLevelCloneForStruct", [lF, lG, lF]);var nA = GetMethodRef(lD, "Add", [lB, lA]);var nB = GetMethodRef(lH, "Dispose", [lA]);var gKF;var gKG;var gKH;var gKI = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hAG = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gKI;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gKI = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gKF = mB({
_vT:kD});gKI = mC(instance.fFP);$next = 29;}case 29:
{
$next = 54;continue; $next = 31;}case 31:
{
gKG = mD(hAG);var br1 = !mE(gKG);if (br1 || br1 === "") {
$next = 54;continue; }var aIP = gKF;aIP._vT.VTable[nA](aIP, gKG);$next = 54;}case 54:
{
var br2 = mF(hAG);if (br2 || br2 === "") {
$next = 31;continue; }stack = [];$next = 65;$leaveTarget = 79;continue; $next = 65;}case 65:
{
var aIQ = mG(hAG, kB);aIQ._vT.VTable[nB](aIQ);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 83) $next = $leaveTarget; else $next = 83;continue; $next = 79;}case 79:
{
gKH = gKF;stack = [];$next = 83;$leaveTarget = 95;continue; $next = 83;}case 83:
{
mH(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 95;}case 95:
{
return mI(gKH, kD);}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 83;continue; }case 29:
{
$next = 65;continue; }case 31:
{
$next = 65;continue; }case 54:
{
$next = 65;continue; }case 65:
{
$next = 83;continue; }case 79:
{
$next = 83;continue; }default:
throw Catcher;}}};Methods["eLG"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lA]);var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = kA.Methods.eQL;var mB = GetMethodDef(kC, ".ctor", [lB, lC]);var mC = kA.Methods.eQM;var mD = GetMethodDef(kD, "OneLevelCloneForStruct", [lD, lE, lD]);var gKJ;var gKK;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gKJ = mB({
_vT:kC}, instance.fFP);gKK = gKJ;stack = [];$next = 27;$leaveTarget = 39;continue; $next = 27;}case 27:
{
mC(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 39;}case 39:
{
return mD(gKK, kC);}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 27;continue; }default:
throw Catcher;}}};Methods["eQ2"] = function(instance, iL8){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Drawing.Size");var kB = GetTypeDef(oA, "System.Int32");var kC = GetTypeDef(Assembly, "Circuit.Theme");var kD = GetTypeDef(oA, "System.String");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "CrossGraphics.IGraphics");var lB = GetTypeRef(oA, "System.Object");var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(oA, "System.Int32");var lE = GetTypeRef(oA, "System.String");var lF = GetTypeRef(Assembly, "CrossGraphics.IImage");var lG = GetTypeRef(oA, "System.Single");var lH = GetTypeRef(Assembly, "CrossGraphics.Color");var mA = kC.Methods.eQ3;var mB = GetMethodDef(kD, "get_Length", [lD]);var mC = GetMethodDef(kD, "Concat", [lE, lE, lE]);var mD = GetMethodDef(kE, "Unbox", [lB, lB]);var mE = kC.Methods.eQ4;var mF = kC.Methods.eQ5;var mG = kC.Methods.eQ6;var nA = GetMethodRef(lA, "BeginEntity", [lB, lC]);var nB = GetMethodRef(lA, "ImageFromFile", [lE, lF]);var nC = GetMethodRef(lA, "DrawImage", [lF, lG, lG, lG, lG, lC]);var nD = GetMethodRef(lA, "SetColor", [lH, lC]);var nE = GetMethodRef(lA, "FillRect", [lG, lG, lG, lG, lC]);var nF = GetMethodRef(lA, "DrawLine", [lG, lG, lG, lG, lG, lC]);var gKL = kA.Initializer({});var gKM = kB.Initializer({});var gKN = kB.Initializer({});var gKO = kB.Initializer({});var gKP = kB.Initializer({});var gKQ = kB.Initializer({});var gKR = kB.Initializer({});var gKS = kB.Initializer({});var gKT = kB.Initializer({});var gKU = kB.Initializer({});var gKV = kB.Initializer({});var gKW = kB.Initializer({});var gKX = kB.Initializer({});var $next;var hAH = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gKL;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gKL = Value;})), kA);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
var aIR = iL8;aIR._vT.VTable[nA](aIR, instance.fFI);gKL = Methods.ePQ(instance);var br1 = instance.fF1;if (br1 || br1 === "") {
$next = 79;continue; }var br2 = mB(mA(Methods.eG9(instance))) <= 0;if (br2 || br2 === "") {
$next = 79;continue; }stack.push(instance);var aIS = iL8;var bE1 = aIS._vT.VTable[nB](aIS, mC(mA(Methods.eG9(instance)), ".png"));pop(1).fF1 = bE1;$next = 79;}case 79:
{
var br3 = !instance.fF1;if (br3 || br3 === "") {
$next = 146;continue; }var br4 = mB(mA(Methods.eG9(instance))) <= 0;if (br4 || br4 === "") {
$next = 146;continue; }var aIT = iL8;aIT._vT.VTable[nC](aIT, instance.fF1, 0, 0, mD(hAH).fF2, mD(hAH).fF3);$next = 195;continue; $next = 146;}case 146:
{
var aIU = iL8;aIU._vT.VTable[nD](aIU, mE(Methods.eG9(instance)));var aIV = iL8;aIV._vT.VTable[nE](aIV, 0, 0, mD(hAH).fF2, mD(hAH).fF3);$next = 195;}case 195:
{
var br5 = !Methods.eO0(instance);if (br5 || br5 === "") {
$next = 648;continue; }gKM = mD(hAH).fF2;gKN = mD(hAH).fF3;gKO = Methods.eGJ(instance, 0);gKP = Methods.eGJ(instance, 0);gKQ = Methods.eGJ(instance, gKM);gKR = Methods.eGJ(instance, gKN);var br6 = gKO >= 0;if (br6 || br6 === "") {
$next = 273;continue; }gKO = 0;$next = 273;}case 273:
{
var br7 = gKO <= gKM;if (br7 || br7 === "") {
$next = 279;continue; }gKO = gKM;$next = 279;}case 279:
{
var br8 = gKQ >= 0;if (br8 || br8 === "") {
$next = 287;continue; }gKQ = 0;$next = 287;}case 287:
{
var br9 = gKQ <= gKM;if (br9 || br9 === "") {
$next = 295;continue; }gKQ = gKM;$next = 295;}case 295:
{
var br10 = gKP >= 0;if (br10 || br10 === "") {
$next = 303;continue; }gKP = 0;$next = 303;}case 303:
{
var br11 = gKP <= gKN;if (br11 || br11 === "") {
$next = 311;continue; }gKP = gKN;$next = 311;}case 311:
{
var br12 = gKR >= 0;if (br12 || br12 === "") {
$next = 319;continue; }gKR = 0;$next = 319;}case 319:
{
var br13 = gKR <= gKN;if (br13 || br13 === "") {
$next = 327;continue; }gKR = gKN;$next = 327;}case 327:
{
var br14 = gKO >= 2 * Methods.eM(instance);if (br14 || br14 === "") {
$next = 347;continue; }gKO = 2 * Methods.eM(instance);$next = 347;}case 347:
{
var br15 = gKQ <= (gKM - 2 * Methods.eM(instance));if (br15 || br15 === "") {
$next = 373;continue; }gKQ = (gKM - 2 * Methods.eM(instance));$next = 373;}case 373:
{
var br16 = gKP >= 2 * Methods.eM(instance);if (br16 || br16 === "") {
$next = 395;continue; }gKP = 2 * Methods.eM(instance);$next = 395;}case 395:
{
gKS = (gKM - Methods.eM(instance));gKT = (gKN - Methods.eM(instance));gKU = Methods.eM(instance);gKV = Methods.eM(instance);var aIW = iL8;aIW._vT.VTable[nD](aIW, mF(Methods.eG9(instance)));gKW = gKO;$next = 487;continue; $next = 453;}case 453:
{
var aIX = iL8;aIX._vT.VTable[nF](aIX, gKW, gKU, gKW, gKT, 1);gKW = (gKW + Methods.eM(instance));$next = 487;}case 487:
{
var br17 = gKW <= gKQ;if (br17 || br17 === "") {
$next = 453;continue; }gKX = gKP;$next = 533;continue; $next = 499;}case 499:
{
var aIY = iL8;aIY._vT.VTable[nF](aIY, gKV, gKX, gKS, gKX, 1);gKX = (gKX + Methods.eM(instance));$next = 533;}case 533:
{
var br18 = gKX <= gKT;if (br18 || br18 === "") {
$next = 499;continue; }var aIZ = iL8;aIZ._vT.VTable[nD](aIZ, mG(Methods.eG9(instance)));var aI0 = iL8;aI0._vT.VTable[nF](aI0, gKV, gKU, gKV, gKT, 1);var aI1 = iL8;aI1._vT.VTable[nF](aI1, gKS, gKU, gKS, gKT, 1);var aI2 = iL8;aI2._vT.VTable[nF](aI2, gKV, gKU, gKS, gKU, 1);var aI3 = iL8;aI3._vT.VTable[nF](aI3, gKV, gKT, gKS, gKT, 1);$next = 648;}case 648:
{
return;}}};Methods["eI4"] = function(instance){
return instance.fF4;};Methods["eQ7"] = function(instance, iL9){
instance.fF4 = iL9;return;};Methods["eA8"] = function(instance, iMA){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int64");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kD]);var kF = GetTypeDef(oA, "System.Math");var kG = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kH = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kI = GetTypeDef(Assembly, "CrossGraphics.Colors");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kK = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kD]);var kL = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kM = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kN = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Double");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lB]);var lD = GetTypeRef(Assembly, "CrossGraphics.IGraphics");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(oA, "System.Void");var lG = GetTypeRef(Assembly, "CrossGraphics.Color");var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lJ = GetTypeRef(oA, "System.IDisposable");var lK = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lK]);var lM = GetTypeRef(oA, "System.Single");var mA = GetMethodDef(kF, "Exp", [lA, lA]);var mB = kG.Methods.eQL;var mC = GetMethodDef(kH, "GetEnumerator", [lC]);var mD = GetMethodDef(kC, "get_Current", [lB]);var mE = kB.Methods.eIX;var mF = GetMethodDef(kC, "MoveNext", [lH]);var mG = GetMethodDef(kJ, "Constrained", [lE, lI, lE]);var mH = GetMethodDef(kK, "GetEnumerator", [lL]);var mI = GetMethodDef(kE, "get_Current", [lK]);var mJ = GetMethodDef(kE, "MoveNext", [lH]);var mK = kG.Methods.eQM;var nA = GetMethodRef(lD, "BeginEntity", [lE, lF]);var nB = GetMethodRef(lD, "SetColor", [lG, lF]);var nC = GetMethodRef(lJ, "Dispose", [lF]);var nD = GetMethodRef(lD, "FillOval", [lM, lM, lM, lM, lF]);var gKY = kA.Initializer({});var gKZ;var gK0;var gK1 = kC.Initializer({});var gK2 = kE.Initializer({});var $next;var $leaveTarget;var $exception;var hAI = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kN}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gK1;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gK1 = Value;})), kC);var hAJ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kN}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gK2;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gK2 = Value;})), kE);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gKY = Methods.eQ8();var br1 = Methods.eI2(instance);if (br1 || br1 === "") {
$next = 71;continue; }Methods.eQ7(instance, (gKY - instance.fF5) / 1000);var br2 = Methods.eI4(instance) <= 1;if (br2 || br2 === "") {
$next = 71;continue; }Methods.eQ7(instance, 0);$next = 71;}case 71:
{
kB.Fields.fA4 = mA(Methods.eO9(instance) / 4.762 - 7);mB(instance.fFH);$next = 119;}case 119:
{
gK1 = mC(instance.fFP);$next = 131;}case 131:
{
$next = 174;continue; $next = 133;}case 133:
{
gKZ = mD(hAI);var aI4 = iMA;aI4._vT.VTable[nA](aI4, gKZ);var br3 = !Methods.eJB(instance);if (br3 || br3 === "") {
$next = 167;continue; }var aI5 = iMA;aI5._vT.VTable[nB](aI5, kI.Fields.fF6);$next = 167;}case 167:
{
mE(gKZ, iMA);$next = 174;}case 174:
{
var br4 = mF(hAI);if (br4 || br4 === "") {
$next = 133;continue; }stack = [];$next = 185;$leaveTarget = 199;continue; $next = 185;}case 185:
{
var aI6 = mG(hAI, kC);aI6._vT.VTable[nC](aI6);if ($exception) throw $exception;if (119 <= $leaveTarget && $leaveTarget < 305) $next = $leaveTarget; else $next = 305;continue; $next = 199;}case 199:
{
var aI7 = iMA;aI7._vT.VTable[nB](aI7, kI.Fields.fF7);gK2 = mH(instance.fFL);$next = 223;}case 223:
{
$next = 263;continue; $next = 225;}case 225:
{
gK0 = mI(hAJ);var aI8 = iMA;aI8._vT.VTable[nD](aI8, gK0.fE, gK0.fS, 4, 4);$next = 263;}case 263:
{
var br5 = mJ(hAJ);if (br5 || br5 === "") {
$next = 225;continue; }stack = [];$next = 274;$leaveTarget = 288;continue; $next = 274;}case 274:
{
var aI9 = mG(hAJ, kE);aI9._vT.VTable[nC](aI9);if ($exception) throw $exception;if (119 <= $leaveTarget && $leaveTarget < 305) $next = $leaveTarget; else $next = 305;continue; $next = 288;}case 288:
{
var br6 = !Methods.eOZ(instance);if (br6 || br6 === "") {
$next = 303;continue; }Methods.eRA(instance, iMA);$next = 303;}case 303:
{
stack = [];$next = 305;$leaveTarget = 317;continue; $next = 305;}case 305:
{
mK(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 317;}case 317:
{
instance.fF5 = gKY;return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 119:
{
$next = 305;continue; }case 131:
{
$next = 185;continue; }case 133:
{
$next = 185;continue; }case 167:
{
$next = 185;continue; }case 174:
{
$next = 185;continue; }case 185:
{
$next = 305;continue; }case 199:
{
$next = 305;continue; }case 223:
{
$next = 274;continue; }case 225:
{
$next = 274;continue; }case 263:
{
$next = 274;continue; }case 274:
{
$next = 305;continue; }case 288:
{
$next = 305;continue; }case 303:
{
$next = 305;continue; }default:
throw Catcher;}}};Methods["eRA"] = function(instance, iMB){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Single");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kE = GetTypeDef(Assembly, "System.Drawing.Rectangle");var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetTypeDef(Assembly, "CrossGraphics.Colors");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "CrossGraphics.IGraphics");var lB = GetTypeRef(oA, "System.Object");var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(Assembly, "Circuit.CircuitNodeLink");var lE = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lD]);var lF = GetTypeRef(oA, "System.Int32");var lG = GetTypeRef(Assembly, "Circuit.CircuitElm");var lH = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lG]);var lI = GetTypeRef(oA, "System.Boolean");var lJ = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lK = GetTypeRef(oA, "System.IDisposable");var lL = GetTypeRef(Assembly, "CrossGraphics.Color");var lM = GetTypeRef(oA, "System.Single");var lN = GetTypeRef(Assembly, "Circuit.CircuitNode");var lO = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lN]);var mA = GetMethodDef(kF, "GetEnumerator", [lH]);var mB = GetMethodDef(kD, "get_Current", [lG]);var mC = kC.Methods.eBR;var mD = kE.Methods.eB6;var mE = GetMethodDef(kD, "MoveNext", [lI]);var mF = GetMethodDef(kG, "Constrained", [lB, lJ, lB]);var nA = GetMethodRef(lA, "BeginEntity", [lB, lC]);var nB = GetMethodRef(lE, "get_Count", [lF]);var nC = GetMethodRef(lE, "get_Item", [lF, lD]);var nD = GetMethodRef(lK, "Dispose", [lC]);var nE = GetMethodRef(lA, "SetColor", [lL, lC]);var nF = GetMethodRef(lA, "FillOval", [lM, lM, lM, lM, lC]);var nG = GetMethodRef(lO, "get_Count", [lF]);var gK3 = kA.Initializer({});var gK4 = kA.Initializer({});var gK5;var gK6 = kA.Initializer({});var gK7;var gK8;var gK9 = kB.Initializer({});var gLA = kD.Initializer({});var gLB = kE.Initializer({});var $next;var $leaveTarget;var $exception;var hAK = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gLA;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gLA = Value;})), kD);var hAL = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gLB;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gLB = Value;})), kE);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
var aJA = iMB;aJA._vT.VTable[nA](aJA, instance.fFJ);gK3 = 0;gK4 = 0;$next = 239;continue; $next = 21;}case 21:
{
gK5 = Methods.eHJ(instance, gK4);var br1 = gK5.fDP;if (br1 || br1 === "") {
$next = 235;continue; }var aJB = gK5.fB6;var bE2 = aJB._vT.VTable[nB](aJB);var br2 = bE2 != 1;if (br2 || br2 === "") {
$next = 235;continue; }gK6 = 0;var aJC = gK5.fB6;var bE3 = aJC._vT.VTable[nC](aJC, 0);gK7 = bE3;gLA = mA(instance.fFP);$next = 86;}case 86:
{
$next = 142;continue; $next = 88;}case 88:
{
gK8 = mB(hAK);var br3 = gK7.fB7 == gK8;if (br3 || br3 === "") {
$next = 142;continue; }gLB = mC(gK8);var br4 = !mD(hAL, gK5.fDN, gK5.fDO);if (br4 || br4 === "") {
$next = 142;continue; }gK6 = (gK6 + 1);$next = 142;}case 142:
{
var br5 = mE(hAK);if (br5 || br5 === "") {
$next = 88;continue; }stack = [];$next = 153;$leaveTarget = 167;continue; $next = 153;}case 153:
{
var aJD = mF(hAK, kD);aJD._vT.VTable[nD](aJD);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 167;}case 167:
{
var br6 = gK6 <= 0;if (br6 || br6 === "") {
$next = 235;continue; }var aJE = iMB;aJE._vT.VTable[nE](aJE, kH.Fields.fF8);gK9 = 4;var aJF = iMB;aJF._vT.VTable[nF](aJF, gK5.fDN - gK9, gK5.fDO - gK9, 2 * gK9, 2 * gK9);gK3 = (gK3 + 1);$next = 235;}case 235:
{
gK4 = (gK4 + 1);$next = 239;}case 239:
{
stack.push(gK4);var aJG = instance.fFB;var bE4 = aJG._vT.VTable[nG](aJG);var br7 = pop(1) != bE4;if (br7 || br7 === "") {
$next = 21;continue; }return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 86:
{
$next = 153;continue; }case 88:
{
$next = 153;continue; }case 142:
{
$next = 153;continue; }default:
throw Catcher;}}};Methods["eRB"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Assembly, "Circuit.ScopeTrack");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.ScopeTrack");var lD = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lC]);var lE = GetTypeRef(oA, "System.Int32");var lF = GetTypeRef(oA, "System.Boolean");var lG = GetTypeRef(oA, "System.Object");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lI = GetTypeRef(oA, "System.IDisposable");var lJ = GetTypeRef(oA, "System.Void");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kE.Methods.eRD;var mE = kA.Methods.eEN;var mF = GetMethodDef(kB, "MoveNext", [lF]);var mG = GetMethodDef(kF, "Constrained", [lG, lH, lG]);var mH = kC.Methods.eQM;var nA = GetMethodRef(lD, "get_Count", [lE]);var nB = GetMethodRef(lD, "get_Item", [lE, lC]);var nC = GetMethodRef(lI, "Dispose", [lJ]);var gLC;var gLD;var gLE = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hAM = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gLE;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gLE = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gLE = mB(instance.fFP);$next = 23;}case 23:
{
$next = 77;continue; $next = 25;}case 25:
{
gLC = mC(hAM);gLD = Methods.eRC(instance, gLC);var aJH = gLD;var bE5 = aJH._vT.VTable[nA](aJH);var br1 = bE5 <= 0;if (br1 || br1 === "") {
$next = 70;continue; }stack.push(gLC);var aJI = gLD;var bE6 = aJI._vT.VTable[nB](aJI, 0);mE(pop(1), mD(bE6));$next = 77;continue; $next = 70;}case 70:
{
mE(gLC, null);$next = 77;}case 77:
{
var br2 = mF(hAM);if (br2 || br2 === "") {
$next = 25;continue; }stack = [];$next = 88;$leaveTarget = 102;continue; $next = 88;}case 88:
{
var aJJ = mG(hAM, kB);aJJ._vT.VTable[nC](aJJ);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 104) $next = $leaveTarget; else $next = 104;continue; $next = 102;}case 102:
{
stack = [];$next = 104;$leaveTarget = 116;continue; $next = 104;}case 104:
{
mH(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 116;}case 116:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 104;continue; }case 23:
{
$next = 88;continue; }case 25:
{
$next = 88;continue; }case 70:
{
$next = 88;continue; }case 77:
{
$next = 88;continue; }case 88:
{
$next = 104;continue; }case 102:
{
$next = 104;continue; }default:
throw Catcher;}}};Methods["eRE"] = function(instance, iMC){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Assembly, "Circuit.Log");var lA = GetTypeRef(Assembly, "Circuit.Scope");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lE = GetTypeRef(oA, "System.Int32");var lF = GetTypeRef(oA, "System.Object");var mA = kA.Methods.eQW;var mB = GetMethodDef(kC, "NewArray", [lD, lE, lF]);var mC = kD.Methods.eP4;var mD = kA.Methods.eQY;var nA = GetMethodRef(lB, "Add", [lA, lC]);var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
instance.fF9 = iMC;var aJK = instance.fFQ;aJK._vT.VTable[nA](aJK, iMC);mC("ADDED SCOPE", mB(kB, 0));stack = [];$next = 48;$leaveTarget = 60;continue; $next = 48;}case 48:
{
mD(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 60;}case 60:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 48;continue; }default:
throw Catcher;}}};Methods["eRF"] = function(instance, iMD){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Assembly, "Circuit.Log");var lA = GetTypeRef(Assembly, "Circuit.Scope");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Int32");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.Object");var mA = kA.Methods.eQW;var mB = GetMethodDef(kC, "NewArray", [lE, lD, lF]);var mC = kD.Methods.eP4;var mD = kA.Methods.eQY;var nA = GetMethodRef(lB, "Remove", [lA, lC]);var nB = GetMethodRef(lB, "get_Count", [lD]);var nC = GetMethodRef(lB, "get_Item", [lD, lA]);var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
var aJL = instance.fFQ;var bE7 = aJL._vT.VTable[nA](aJL, iMD);bE7;var br1 = instance.fF9 != iMD;if (br1 || br1 === "") {
$next = 84;continue; }instance.fF9 = null;var aJM = instance.fFQ;var bE8 = aJM._vT.VTable[nB](aJM);var br2 = bE8 <= 0;if (br2 || br2 === "") {
$next = 84;continue; }stack.push(instance);stack.push(instance.fFQ);var aJN = instance.fFQ;var bE9 = aJN._vT.VTable[nB](aJN);var aJO = pop(1);var bFA = aJO._vT.VTable[nC](aJO, bE9 - 1);pop(1).fF9 = bFA;$next = 84;}case 84:
{
mC("REMOVED SCOPE", mB(kB, 0));stack = [];$next = 102;$leaveTarget = 114;continue; $next = 102;}case 102:
{
mD(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 114;}case 114:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 102;continue; }case 84:
{
$next = 102;continue; }default:
throw Catcher;}}};Methods["eRG"] = function(instance){
return instance.fF9;};Methods["eRH"] = function(instance, iME){
instance.fF9 = iME;return;};Methods["eRI"] = function(instance){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = !instance.fFR;if (br1 || br1 === "") {
$next = 23;continue; }instance.fFR = 0;NSErr(0, "Circuit.CirSim.AnalyzeCircuit")(instance);return 1;$next = 23;}case 23:
{
return 0;}}};Methods["eRJ"] = function(instance){
var kA = GetTypeDef(Assembly, "Circuit.Log");var mA = kA.Methods.eRL;var gLF;var $next;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
Methods.eRI(instance);var br1 = Methods.eI2(instance);if (br1 || br1 === "") {
$next = 59;continue; }var br2 = instance.fEZ != 0;if (br2 || br2 === "") {
$next = 36;continue; }instance.fEZ = Methods.eQ8();$next = 36;}case 36:
{
Methods.eRK(instance);stack = [];$next = 93;continue; $next = 44;}case 44:
{
if (false) {
throw $exception;}gLF = pop(1);mA(gLF);Methods.eMM(instance);stack = [];$next = 93;continue; $next = 59;}case 59:
{
Methods.ePC(instance, 0);instance.fEZ = Methods.eQ8();instance.fGA = 0;$next = 93;}case 93:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 36:
{
$next = 44;continue; }default:
throw Catcher;}}};Methods["eQ8"] = function(){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.TimeSpan");var kB = GetTypeDef(oA, "System.DateTime");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.DateTime");var lB = GetTypeRef(oA, "System.Object");var lC = GetTypeRef(oA, "System.TimeSpan");var lD = GetTypeRef(oA, "System.Double");var mA = GetMethodDef(kB, "get_UtcNow", [lA]);var mB = GetMethodDef(kC, "OneLevelClone", [lB, lB]);var mC = GetMethodDef(kB, "op_Subtraction", [lA, lA, lC]);var mD = GetMethodDef(kA, "get_TotalMilliseconds", [lD]);var gLG = kA.Initializer({});var hAN = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kF}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gLG;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gLG = Value;})), kA);gLG = mC(mB(mA()), mB(Ret.Fields.fD8));return mD(hAN);};Methods["eRO"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CirSim$2b$$3c$$3e$c__DisplayClass9");var kB = GetTypeDef(Assembly, "Circuit.CirSim$2b$$3c$$3e$c__DisplayClassc");var kC = GetTypeDef(oA, "System.Action");var kD = GetInstanceDef(oA, "System.Action`1", [kC]);var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(oA, "System.IntPtr");var lC = GetTypeRef(oA, "System.Void");var lD = GetTypeRef(oA, "System.Action");var mA = kA.Methods.eRP;var mB = kB.Methods.eRQ;var mC = kB.Methods.eRR;var mD = GetMethodDef(kC, ".ctor", [lA, lB, lC]);var mE = GetMethodDef(kD, "Invoke", [lD, lC]);var mF = kA.Methods.eRS;var gLH;var gLI;var gLJ;var gLK;var gLL;var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gLK = null;gLL = mA({
_vT:kA});gLL.fGB = instance.fE8;gLL.fGC = instance.fEH;gLH = Methods.eOT(instance);var br1 = !instance.fFT;if (br1 || br1 === "") {
$next = 147;continue; }gLI = null;gLJ = mB({
_vT:kB});gLJ.fGD = gLL;gLJ.fGE = instance.fFS;gLJ.fGF = instance.fE9;instance.fFT = 0;var br2 = !gLL.fGB;if (br2 || br2 === "") {
$next = 132;continue; }var br3 = !gLH;if (br3 || br3 === "") {
$next = 132;continue; }stack.push(gLH);var br4 = gLI;if (br4 || br4 === "") {
$next = 126;continue; }gLI = mD({
_vT:kC}, gLJ, mC);$next = 126;}case 126:
{
mE(pop(1), gLI);$next = 132;}case 132:
{
instance.fFS = null;instance.fE9 = null;return;$next = 147;}case 147:
{
var br5 = !gLL.fGC;if (br5 || br5 === "") {
$next = 183;continue; }var br6 = !gLH;if (br6 || br6 === "") {
$next = 183;continue; }stack.push(gLH);var br7 = gLK;if (br7 || br7 === "") {
$next = 177;continue; }gLK = mD({
_vT:kC}, gLL, mF);$next = 177;}case 177:
{
mE(pop(1), gLK);$next = 183;}case 183:
{
return;}}};Methods["eRT"] = function(instance, iMF, iMG){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.String");var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Assembly, "Circuit.Log");var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(oA, "System.String");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lD = GetTypeRef(oA, "System.Int32");var mA = GetMethodDef(kA, "Concat", [lA, lA, lA, lB]);var mB = GetMethodDef(kC, "NewArray", [lC, lD, lA]);var mC = kD.Methods.eP4;mC(mA(iMG, " ", iMF), mB(kB, 0));return;};Methods["eRV"] = function(instance, iMH, iMI){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Object");var kB = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kC = GetTypeDef(Assembly, "Circuit.Log");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kB, "NewArray", [lA, lB, lC]);var mB = kC.Methods.eP4;var $next;$next = 0;while (true) switch($next){case 0:
{
instance.fFR = 0;var br1 = Methods.eRW(instance);if (br1 || br1 === "") {
$next = 62;continue; }mB(iMH, mA(kA, 0));instance.fFS = iMH;instance.fGG = null;instance.fE9 = iMI;instance.fFU = 1;instance.fFT = 1;$next = 62;}case 62:
{
return;}}};Methods["eRX"] = function(instance, iMJ, iMK, iML, iMM){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var lA = GetTypeRef(Assembly, "Circuit.CircuitNode");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lB, "get_Count", [lC]);var gLM = kA.Initializer({});var aJP = instance.fFB;var bFB = aJP._vT.VTable[nA](aJP);gLM = (bFB + iMM);Methods.eRY(instance, gLM, iMJ, iML);Methods.eRY(instance, gLM, iMK, -iML);return;};Methods["eRZ"] = function(instance, iMN, iMO, iMP, iMQ){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var lA = GetTypeRef(Assembly, "Circuit.CircuitNode");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lB, "get_Count", [lC]);var gLN = kA.Initializer({});var aJQ = instance.fFB;var bFC = aJQ._vT.VTable[nA](aJQ);gLN = (bFC + iMP);Methods.eRY(instance, gLN, iMN, -1);Methods.eRY(instance, gLN, iMO, 1);Methods.eR0(instance, gLN, iMQ);Methods.eRY(instance, iMN, gLN, 1);Methods.eRY(instance, iMO, gLN, -1);return;};Methods["eR1"] = function(instance, iMR, iMS, iMT){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var lA = GetTypeRef(Assembly, "Circuit.CircuitNode");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lB, "get_Count", [lC]);var gLO = kA.Initializer({});var aJR = instance.fFB;var bFD = aJR._vT.VTable[nA](aJR);gLO = (bFD + iMT);Methods.eRY(instance, gLO, iMR, -1);Methods.eRY(instance, gLO, iMS, 1);Methods.eR2(instance, gLO);Methods.eRY(instance, iMR, gLO, 1);Methods.eRY(instance, iMS, gLO, -1);return;};Methods["eR3"] = function(instance, iMU, iMV, iMW, iMX){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var lA = GetTypeRef(Assembly, "Circuit.CircuitNode");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lB, "get_Count", [lC]);var gLP = kA.Initializer({});var aJS = instance.fFB;var bFE = aJS._vT.VTable[nA](aJS);gLP = (bFE + iMW);Methods.eR0(instance, gLP, iMX);return;};Methods["eR4"] = function(instance, iMY, iMZ, iM0){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(oA, "System.String");var kE = GetTypeDef(Assembly, "Circuit.Log");var lA = GetTypeRef(oA, "System.Double");var lB = GetTypeRef(oA, "System.Boolean");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lD = GetTypeRef(oA, "System.Int32");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lG = GetArrayRef(lE, 1);var lH = GetTypeRef(oA, "System.String");var mA = GetMethodDef(kA, "IsNaN", [lA, lB]);var mB = GetMethodDef(kA, "IsInfinity", [lA, lB]);var mC = GetMethodDef(kC, "NewArray", [lC, lD, lE]);var mD = GetMethodDef(kC, "Box", [lF, lC, lE]);var mE = GetMethodDef(kD, "Concat", [lG, lH]);var mF = kE.Methods.eP4;var gLQ = kA.Initializer({});var gLR;var $next;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gLQ = 1;$next = 10;}case 10:
{
gLQ = 1 / iM0;stack = [];$next = 37;continue; $next = 24;}case 24:
{
if (false) {
throw $exception;}pop(1);gLQ = 1;stack = [];$next = 37;continue; $next = 37;}case 37:
{
var br1 = mA(gLQ);if (br1 || br1 === "") {
$next = 53;continue; }var br2 = !mB(gLQ);if (br2 || br2 === "") {
$next = 121;continue; }$next = 53;}case 53:
{
gLR = mC(kB, 4);gLR[0] = "Bad resistance ";gLR[1] = mD(iM0, kA);gLR[2] = " ";gLR[3] = mD(gLQ, kA);mF(mE(gLR), mC(kB, 0));gLQ = 1;$next = 121;}case 121:
{
Methods.eRY(instance, iMY, iMY, gLQ);Methods.eRY(instance, iMZ, iMZ, gLQ);Methods.eRY(instance, iMY, iMZ, -gLQ);Methods.eRY(instance, iMZ, iMY, -gLQ);return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 10:
{
$next = 24;continue; }default:
throw Catcher;}}};Methods["eR7"] = function(instance, iM1, iM2, iM3){
Methods.eRY(instance, iM1, iM1, iM3);Methods.eRY(instance, iM2, iM2, iM3);Methods.eRY(instance, iM1, iM2, -iM3);Methods.eRY(instance, iM2, iM1, -iM3);return;};Methods["eR8"] = function(instance, iM4, iM5, iM6, iM7, iM8){
Methods.eRY(instance, iM4, iM6, iM8);Methods.eRY(instance, iM5, iM7, iM8);Methods.eRY(instance, iM4, iM7, -iM8);Methods.eRY(instance, iM5, iM6, -iM8);return;};Methods["eR9"] = function(instance, iM9, iNA, iNB){
Methods.eR0(instance, iM9, -iNB);Methods.eR0(instance, iNA, iNB);return;};Methods["eSA"] = function(instance, iNC, iND, iNE, iNF){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var lA = GetTypeRef(Assembly, "Circuit.CircuitNode");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lB, "get_Count", [lC]);var gLS = kA.Initializer({});var aJT = instance.fFB;var bFF = aJT._vT.VTable[nA](aJT);gLS = (bFF + iNE);Methods.eRY(instance, iNC, gLS, iNF);Methods.eRY(instance, iND, gLS, -iNF);return;};Methods["eRY"] = function(instance, iNG, iNH, iNI){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToArrayElement");var kB = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kC = GetTypeDef(oA, "System.Double");var kD = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetArrayDef", [GetTypeRef(Assembly.References.cA(), "System.Int32"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef")])(kC, 2);var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Double");var lD = ReferenceTo(lC);var mA = GetMethodDef(kB, "Unbox", [lA, lA]);var mB = GetMethodDef(kD, "Address", [lB, lB, lD]);var gLT;var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iNG <= 0;if (br1 || br1 === "") {
$next = 135;continue; }var br2 = iNH <= 0;if (br2 || br2 === "") {
$next = 135;continue; }var br3 = !instance.fGH;if (br3 || br3 === "") {
$next = 99;continue; }iNG = instance.fGI[iNG - 1].fGJ;gLT = instance.fGI[iNH - 1];var br4 = gLT.fGK != 1;if (br4 || br4 === "") {
$next = 89;continue; }var dup10 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToArrayElement"), ".ctor", [GetArrayRef(GetTypeRef(Assembly.References.cA(), "System.Object"), 1), GetTypeRef(Assembly.References.cA(), "System.Int32"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kA}, instance.fGL, iNG);GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), "Invoke", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.Void")])(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.Box"), "get_Write", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter")])(dup10), mA(dup10) - iNI * gLT.fGM);return;$next = 89;}case 89:
{
iNH = gLT.fGN;$next = 109;continue; $next = 99;}case 99:
{
iNG = (iNG - 1);iNH = (iNH - 1);$next = 109;}case 109:
{
var dup11 = mB(instance.fGG, iNG, iNH);GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), "Invoke", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.Void")])(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.Box"), "get_Write", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter")])(dup11), mA(dup11) + iNI);$next = 135;}case 135:
{
return;}}};Methods["eR0"] = function(instance, iNJ, iNK){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToArrayElement");var kB = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kB, "Unbox", [lA, lA]);var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iNJ <= 0;if (br1 || br1 === "") {
$next = 61;continue; }var br2 = !instance.fGH;if (br2 || br2 === "") {
$next = 31;continue; }iNJ = instance.fGI[iNJ - 1].fGJ;$next = 36;continue; $next = 31;}case 31:
{
iNJ = (iNJ - 1);$next = 36;}case 36:
{
var dup12 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToArrayElement"), ".ctor", [GetArrayRef(GetTypeRef(Assembly.References.cA(), "System.Object"), 1), GetTypeRef(Assembly.References.cA(), "System.Int32"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kA}, instance.fGL, iNJ);GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), "Invoke", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.Void")])(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.Box"), "get_Write", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter")])(dup12), mA(dup12) + iNK);$next = 61;}case 61:
{
return;}}};Methods["eR2"] = function(instance, iNL){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iNL <= 0;if (br1 || br1 === "") {
$next = 20;continue; }instance.fGI[iNL - 1].fGO = 1;$next = 20;}case 20:
{
return;}}};Methods["eSC"] = function(instance, iNM){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iNM <= 0;if (br1 || br1 === "") {
$next = 20;continue; }instance.fGI[iNM - 1].fGP = 1;$next = 20;}case 20:
{
return;}}};Methods["eSD"] = function(instance, iNN){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(oA, "System.Math");var lA = GetTypeRef(oA, "System.Double");var mA = GetMethodDef(kB, "Abs", [lA, lA]);var mB = GetMethodDef(kB, "Log", [lA, lA]);var mC = GetMethodDef(kB, "Ceiling", [lA, lA]);var mD = GetMethodDef(kB, "Pow", [lA, lA, lA]);var gLU = kA.Initializer({});var gLV = kA.Initializer({});var $next;$next = 0;while (true) switch($next){case 0:
{
gLU = mA(iNN);var br1 = gLU >= 256;if (br1 || br1 === "") {
$next = 29;continue; }gLU = 256;$next = 29;}case 29:
{
var br2 = gLU <= 281474976710656;if (br2 || br2 === "") {
$next = 51;continue; }gLU = 281474976710656;$next = 51;}case 51:
{
gLV = mC(mB(gLU) / mB(2));gLU = mD(2, gLV);var br3 = gLU <= 281474976710656;if (br3 || br3 === "") {
$next = 116;continue; }gLU = 281474976710656;$next = 116;}case 116:
{
Methods.ePE(instance, 1 / gLU);return;}}};Methods["eSH"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Assembly, "Circuit.Elements.VoltageElm");var kG = GetTypeDef(oA, "System.Math");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.Elements.VoltageElm");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lF = GetTypeRef(oA, "System.Double");var lG = GetTypeRef(oA, "System.Boolean");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lI = GetTypeRef(oA, "System.IDisposable");var lJ = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kD, "GetEnumerator", [lB]);var mB = GetMethodDef(kC, "get_Current", [lA]);var mC = GetMethodDef(kE, "IsInst", [lD, lE, lD]);var mD = kF.Methods.eSI;var mE = kF.Methods.eSJ;var mF = GetMethodDef(kG, "Max", [lF, lF, lF]);var mG = GetMethodDef(kC, "MoveNext", [lG]);var mH = GetMethodDef(kE, "Constrained", [lD, lH, lD]);var nA = GetMethodRef(lI, "Dispose", [lJ]);var gLW = kA.Initializer({});var gLX;var gLY;var gLZ;var gL0 = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hAO = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gL0;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gL0 = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gLW = 4096;gLX = Methods.eLG(instance);gL0 = mA(gLX);$next = 25;}case 25:
{
$next = 76;continue; $next = 27;}case 27:
{
gLY = mB(hAO);gLZ = mC(gLY, lC);var br1 = !gLZ;if (br1 || br1 === "") {
$next = 76;continue; }var br2 = mD(gLZ);if (br2 || br2 === "") {
$next = 76;continue; }gLW = mF(gLW, 8 * mE(gLZ));$next = 76;}case 76:
{
var br3 = mG(hAO);if (br3 || br3 === "") {
$next = 27;continue; }stack = [];$next = 87;$leaveTarget = 101;continue; $next = 87;}case 87:
{
var aJU = mH(hAO, kC);aJU._vT.VTable[nA](aJU);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 101;}case 101:
{
var br4 = gLW <= 1 / Methods.ePD(instance);if (br4 || br4 === "") {
$next = 127;continue; }Methods.eSD(instance, gLW);$next = 127;}case 127:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 25:
{
$next = 87;continue; }case 27:
{
$next = 87;continue; }case 76:
{
$next = 87;continue; }default:
throw Catcher;}}};Methods["eSL"] = function(instance){
return instance.fGQ;};Methods["eSM"] = function(instance, iNO){
instance.fGQ = iNO;return;};Methods["eSN"] = function(instance){
return instance.fGR;};Methods["eSO"] = function(instance, iNP){
instance.fGR = iNP;return;};Methods["eSP"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(oA, "System.Boolean");var kC = GetTypeDef(oA, "System.Int32");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(oA, "System.String");var kF = GetTypeDef(oA, "System.Object");var kG = GetTypeDef(Assembly, "Circuit.Log");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(oA, "System.String");var lE = GetTypeRef(oA, "System.Int32");var mA = GetMethodDef(kD, "Box", [lA, lB, lC]);var mB = GetMethodDef(kE, "Concat", [lC, lC, lD]);var mC = GetMethodDef(kD, "NewArray", [lB, lE, lC]);var mD = kG.Methods.eP4;var gL1 = kA.Initializer({});var gL2 = kB.Initializer({});var gL3 = kA.Initializer({});var gL4 = kA.Initializer({});var gL5 = kA.Initializer({});var gL6 = kC.Initializer({});var gL7 = kA.Initializer({});var gL8;var gL9;var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gL1 = (instance.fGS - instance.fEZ) / 1000;gL2 = 0;gL3 = (gL1 - Methods.ePB(instance));var br1 = gL3 <= 0.4;if (br1 || br1 === "") {
$next = 103;continue; }gL4 = (gL3 - 0.1);mD(mB("CHOP ", mA(gL4, kA)), mC(kF, 0));gL2 = 1;var dup13 = instance;Methods.ePC(dup13, Methods.ePB(dup13) + gL4);$next = 103;}case 103:
{
gL5 = (Methods.ePD(instance) - instance.fGT);var br2 = gL5 > 0;if (br2 || br2 === "") {
$next = 141;continue; }gL2 = 1;gL5 = Methods.ePD(instance);$next = 141;}case 141:
{
var br3 = !gL2;if (br3 || br3 === "") {
$next = 160;continue; }var dup14 = instance;dup14.fGU = (dup14.fGU + 1);$next = 167;continue; $next = 160;}case 160:
{
instance.fGU = 0;$next = 167;}case 167:
{
var br4 = instance.fGU < 2;if (br4 || br4 === "") {
$next = 347;continue; }var br5 = Methods.ePD(instance) * 2 >= 0.00390625;if (br5 || br5 === "") {
$next = 310;continue; }stack.push("Decreased bandwidth from {0:0} to {1:0}");gL8 = mC(kF, 2);gL8[0] = mA(1 / Methods.ePD(instance), kA);gL8[1] = mA(1 / (Methods.ePD(instance) * 2), kA);mD(pop(1), gL8);var dup15 = instance;Methods.ePE(dup15, Methods.ePD(dup15) * 2);$next = 325;continue; $next = 310;}case 310:
{
Methods.ePE(instance, 0.00390625);$next = 325;}case 325:
{
instance.fGU = 0;gL5 = (Methods.ePD(instance) - instance.fGT);$next = 347;}case 347:
{
gL6 = ((gL1 - Methods.ePB(instance)) + instance.fFK) / gL5;var br6 = gL6 > 0;if (br6 || br6 === "") {
$next = 376;continue; }gL6 = 1;$next = 376;}case 376:
{
gL7 = 2;var br7 = !gL2;if (br7 || br7 === "") {
$next = 483;continue; }var br8 = instance.fGT <= 0;if (br8 || br8 === "") {
$next = 483;continue; }var br9 = gL6 * instance.fGT <= gL7;if (br9 || br9 === "") {
$next = 483;continue; }stack.push("Capped from {0} to {1}");gL9 = mC(kF, 2);gL9[0] = mA(gL6 * instance.fGT, kA);gL9[1] = mA(gL7, kA);mD(pop(1), gL9);gL6 = gL7 / instance.fGT;$next = 483;}case 483:
{
return gL6;}}};Methods["eSQ"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(oA, "System.Int32");var kC = GetTypeDef(oA, "System.Math");var lA = GetTypeRef(oA, "System.Int32");var mA = GetMethodDef(kC, "Min", [lA, lA, lA]);var gMA = kA.Initializer({});var gMB = kA.Initializer({});var gMC = kB.Initializer({});var $next;$next = 0;while (true) switch($next){case 0:
{
gMA = (instance.fGS - instance.fEZ) / 1000;gMB = (gMA - Methods.ePB(instance));gMC = 100;var br1 = gMB > 0;if (br1 || br1 === "") {
$next = 53;continue; }gMC = 1;$next = 122;continue; $next = 53;}case 53:
{
gMC = (gMB / Methods.ePD(instance) + 0.5);var br2 = instance.fGT <= 0;if (br2 || br2 === "") {
$next = 114;continue; }gMC = mA(1 / instance.fGT, gMC);$next = 114;}case 114:
{
var br3 = gMC >= 100;if (br3 || br3 === "") {
$next = 122;continue; }gMC = 100;$next = 122;}case 122:
{
var br4 = !Methods.eRW(instance);if (br4 || br4 === "") {
$next = 140;continue; }var br5 = gMC < 100;if (br5 || br5 === "") {
$next = 140;continue; }gMC = gMC / 10;$next = 140;}case 140:
{
return gMC;}}};Methods["eRK"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Double");var kC = GetTypeDef(oA, "System.Int64");var kD = GetTypeDef(oA, "System.Boolean");var kE = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kF = GetTypeDef(Assembly, "Circuit.CircuitElm");var kG = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kF]);var kH = GetTypeDef(Assembly, "Circuit.CircuitNode");var kI = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kH]);var kJ = GetTypeDef(Assembly, "Circuit.Scope");var kK = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kJ]);var kL = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kM = GetTypeDef(oA, "System.Array");var kN = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetArrayDef", [GetTypeRef(Assembly.References.cA(), "System.Int32"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef")])(kB, 2);var kO = GetTypeDef(oA, "System.Math");var kP = GetInstanceDef(oA, "System.Nullable`1", [kB]);var kQ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetArrayRef(lA, 1);var lC = GetTypeRef(Assembly, "Circuit.CircuitNode");var lD = GetArrayRef(lC, 1);var lE = GetTypeRef(Assembly, "Circuit.Scope");var lF = GetArrayRef(lE, 1);var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.Int32");var lI = GetTypeRef(oA, "System.Object");var lJ = GetTypeRef(oA, "System.Void");var lK = GetTypeRef(oA, "System.Array");var lL = GetTypeRef(oA, "System.Double");var lM = GetTypeRef(Assembly, "Circuit.CircuitNodeLink");var lN = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lM]);var lO = GetTypeRef(oA, "System.Boolean");var lP = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var mA = kE.Methods.eQL;var mB = GetMethodDef(kG, "ToArray", [lB]);var mC = GetMethodDef(kI, "ToArray", [lD]);var mD = GetMethodDef(kK, "ToArray", [lF]);var mE = kE.Methods.eQM;var mF = GetMethodDef(kL, "NewArray", [lG, lH, lI]);var mG = kJ.Methods.eSS;var mH = GetMethodDef(kM, "Copy", [lK, lK, lH, lJ]);var mI = GetMethodDef(kN, "Get", [lH, lH, lL]);var mJ = GetMethodDef(kN, "Set", [lH, lH, lL, lJ]);var mK = GetMethodDef(kO, "Abs", [lL, lL]);var mL = GetMethodDef(kO, "Max", [lL, lL, lL]);var mM = GetMethodDef(kP, "get_HasValue", [lO]);var mN = GetMethodDef(kP, "get_Value", [lL]);var mO = GetMethodDef(kL, "Box", [lP, lG, lI]);var mP = GetMethodDef(kP, ".ctor", [lL, lJ]);var mQ = GetMethodDef(kL, "Unbox", [lI, lI]);var mR = GetMethodDef(kL, "OneLevelClone", [lI, lI]);var nA = GetMethodRef(lA, "startIteration", [lJ]);var nB = GetMethodRef(lA, "doStep", [lJ]);var nC = GetMethodRef(lN, "get_Count", [lH]);var nD = GetMethodRef(lN, "get_Item", [lH, lM]);var nE = GetMethodRef(lA, "setNodeVoltage", [lH, lL, lJ]);var nF = GetMethodRef(lA, "setCurrent", [lH, lL, lJ]);var nG = GetMethodRef(lA, "getCurrent", [lL]);var gMD;var gME;var gMF;var gMG = kA.Initializer({});var gMH = kA.Initializer({});var gMI = kA.Initializer({});var gMJ;var gMK = kB.Initializer({});var gML = kA.Initializer({});var gMM = kA.Initializer({});var gMN = kA.Initializer({});var gMO = kA.Initializer({});var gMP = kA.Initializer({});var gMQ = kA.Initializer({});var gMR = kA.Initializer({});var gMS;var gMT = kB.Initializer({});var gMU;var gMV = kA.Initializer({});var gMW;var gMX = kA.Initializer({});var gMY = kC.Initializer({});var gMZ = kB.Initializer({});var gM0 = kB.Initializer({});var gM1 = kB.Initializer({});var gM2 = kB.Initializer({});var gM3 = kD.Initializer({});var gM4 = kB.Initializer({});var gM5;var gM6;var gM7 = kA.Initializer({});var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gMD = null;gME = null;gMF = null;mA(instance.fFH);$next = 17;}case 17:
{
gMD = mB(instance.fFP);gME = mC(instance.fFB);gMF = mD(instance.fFQ);stack = [];$next = 55;$leaveTarget = 67;continue; $next = 55;}case 55:
{
mE(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 67;}case 67:
{
gMG = gMD.length;gMH = gME.length;gMI = gMF.length;var br1 = !instance.fGG;if (br1 || br1 === "") {
$next = 92;continue; }var br2 = gMG;if (br2 || br2 === "") {
$next = 100;continue; }$next = 92;}case 92:
{
instance.fGG = null;return;$next = 100;}case 100:
{
gMJ = mF(kB, instance.fGV);instance.fGS = Methods.eQ8();var br3 = instance.fGA == 0;if (br3 || br3 === "") {
$next = 195;continue; }gMK = (instance.fGS - instance.fGA) / 1000;instance.fFK = (0.9 * instance.fFK + 0.1 * gMK);$next = 195;}case 195:
{
instance.fGA = 0;gML = 0;var br4 = !Methods.ePF(instance);if (br4 || br4 === "") {
$next = 224;continue; }gML = Methods.eSP(instance);$next = 232;continue; $next = 224;}case 224:
{
gML = Methods.eSQ(instance);$next = 232;}case 232:
{
gMM = 1;$next = 863;continue; $next = 240;}case 240:
{
var br5 = instance.fFW;if (br5 || br5 === "") {
$next = 256;continue; }var br6 = !instance.fFU;if (br6 || br6 === "") {
$next = 257;continue; }$next = 256;}case 256:
{
return;$next = 257;}case 257:
{
var br7 = !Methods.eRI(instance);if (br7 || br7 === "") {
$next = 266;continue; }return;$next = 266;}case 266:
{
gMN = 0;$next = 286;continue; $next = 271;}case 271:
{
var aJV = gMD[gMN];aJV._vT.VTable[nA](aJV);gMN = (gMN + 1);$next = 286;}case 286:
{
var br8 = gMN != gMG;if (br8 || br8 === "") {
$next = 271;continue; }gMN = 0;$next = 312;continue; $next = 296;}case 296:
{
mG(gMF[gMN], instance);gMN = (gMN + 1);$next = 312;}case 312:
{
var br9 = gMN != gMI;if (br9 || br9 === "") {
$next = 296;continue; }gMR = 5000;gMQ = 0;$next = 809;continue; $next = 333;}case 333:
{
Methods.eSM(instance, 1);Methods.eSO(instance, gMQ);mH(instance.fGW, instance.fGL, instance.fGV);var br10 = !instance.fGX;if (br10 || br10 === "") {
$next = 451;continue; }gMN = 0;$next = 441;continue; $next = 384;}case 384:
{
gMO = 0;$next = 425;continue; $next = 389;}case 389:
{
mJ(instance.fGG, gMN, gMO, mI(instance.fGY, gMN, gMO));gMO = (gMO + 1);$next = 425;}case 425:
{
var br11 = gMO != instance.fGV;if (br11 || br11 === "") {
$next = 389;continue; }gMN = (gMN + 1);$next = 441;}case 441:
{
var br12 = gMN != instance.fGV;if (br12 || br12 === "") {
$next = 384;continue; }$next = 451;}case 451:
{
gMN = 0;$next = 471;continue; $next = 456;}case 456:
{
var aJW = gMD[gMN];aJW._vT.VTable[nB](aJW);gMN = (gMN + 1);$next = 471;}case 471:
{
var br13 = gMN != gMG;if (br13 || br13 === "") {
$next = 456;continue; }var br14 = !instance.fFT;if (br14 || br14 === "") {
$next = 485;continue; }return;$next = 485;}case 485:
{
var br15 = !instance.fGX;if (br15 || br15 === "") {
$next = 549;continue; }var br16 = !Methods.eSL(instance);if (br16 || br16 === "") {
$next = 509;continue; }var br17 = gMQ > 0;if (br17 || br17 === "") {
$next = 818;continue; }$next = 509;}case 509:
{
var br18 = NSErr(0, "Circuit.CirSim.lu_factor(System.Double[,],System.Int32,System.Int32[],System.Double[])")(instance.fGG, instance.fGV, instance.fGZ, gMJ);if (br18 || br18 === "") {
$next = 549;continue; }Methods.eRV(instance, "Singular matrix!", null);return;$next = 549;}case 549:
{
NSErr(0, "Circuit.CirSim.lu_solve(System.Double[,],System.Int32,System.Int32[],System.Double[])")(instance.fGG, instance.fGV, instance.fGZ, instance.fGL);gMO = 0;$next = 782;continue; $next = 586;}case 586:
{
gMS = instance.fGI[gMO];gMT = 0;var br19 = gMS.fGK != 1;if (br19 || br19 === "") {
$next = 629;continue; }gMT = gMS.fGM;$next = 645;continue; $next = 629;}case 629:
{
gMT = instance.fGL[gMS.fGN];$next = 645;}case 645:
{
var br20 = gMT == gMT;if (br20 || br20 === "") {
$next = 663;continue; }Methods.eSM(instance, 0);$next = 795;continue; $next = 663;}case 663:
{
var br21 = gMO >= (gMH - 1);if (br21 || br21 === "") {
$next = 749;continue; }gMU = gME[gMO + 1];var aJX = gMU.fB6;var bFG = aJX._vT.VTable[nC](aJX);gMV = bFG;gMP = 0;$next = 741;continue; $next = 698;}case 698:
{
var aJY = gMU.fB6;var bFH = aJY._vT.VTable[nD](aJY, gMP);gMW = bFH;var aJZ = gMW.fB7;aJZ._vT.VTable[nE](aJZ, gMW.fDM, gMT);gMP = (gMP + 1);$next = 741;}case 741:
{
var br22 = gMP != gMV;if (br22 || br22 === "") {
$next = 698;continue; }$next = 776;continue; $next = 749;}case 749:
{
gMX = (gMO - (gMH - 1));var aJ0 = instance.fG0[gMX];aJ0._vT.VTable[nF](aJ0, gMX, gMT);$next = 776;}case 776:
{
gMO = (gMO + 1);$next = 782;}case 782:
{
var br23 = gMO != instance.fG1;if (br23 || br23 === "") {
$next = 586;continue; }$next = 795;}case 795:
{
var br24 = !instance.fGX;if (br24 || br24 === "") {
$next = 818;continue; }gMQ = (gMQ + 1);$next = 809;}case 809:
{
var br25 = gMQ != gMR;if (br25 || br25 === "") {
$next = 333;continue; }$next = 818;}case 818:
{
var br26 = gMQ != gMR;if (br26 || br26 === "") {
$next = 838;continue; }Methods.eRV(instance, "Convergence failed!", null);$next = 872;continue; $next = 838;}case 838:
{
var dup16 = instance;Methods.ePC(dup16, Methods.ePB(dup16) + Methods.ePD(instance));gMM = (gMM + 1);$next = 863;}case 863:
{
var br27 = gMM <= gML;if (br27 || br27 === "") {
$next = 240;continue; }$next = 872;}case 872:
{
gMY = Methods.eQ8();gMZ = (gMY - instance.fGS) / 1000;var br28 = gMZ > 1;if (br28 || br28 === "") {
$next = 935;continue; }var br29 = gML * Methods.ePB(instance) <= 0.25;if (br29 || br29 === "") {
$next = 1022;continue; }$next = 935;}case 935:
{
var br30 = gML <= 30;if (br30 || br30 === "") {
$next = 1022;continue; }gM0 = 0.8;gM1 = gMZ / gML;var br31 = instance.fGT >= 1E-06;if (br31 || br31 === "") {
$next = 987;continue; }instance.fGT = gM1;$next = 1022;continue; $next = 987;}case 987:
{
gM2 = (gM0 * instance.fGT + (1 - gM0) * gM1);instance.fGT = gM2;$next = 1022;}case 1022:
{
instance.fGA = gMY;gM3 = 0;gM4 = 0;gM6 = gMD;gM7 = 0;$next = 1106;continue; $next = 1052;}case 1052:
{
gM5 = gM6[gM7];var br32 = !gM3;if (br32 || br32 === "") {
$next = 1079;continue; }var aJ1 = gM5;var bFI = aJ1._vT.VTable[nG](aJ1);gM4 = mK(bFI);$next = 1100;continue; $next = 1079;}case 1079:
{
stack.push(gM4);var aJ2 = gM5;var bFJ = aJ2._vT.VTable[nG](aJ2);gM4 = mL(pop(1), mK(bFJ));$next = 1100;}case 1100:
{
gM7 = (gM7 + 1);$next = 1106;}case 1106:
{
var br33 = gM7 < gM6.length;if (br33 || br33 === "") {
$next = 1052;continue; }var br34 = !mM(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kQ}, instance, "fFC", kP));if (br34 || br34 === "") {
$next = 1157;continue; }instance.fFC = mR(mQ(mQ(mP(mO({}, kP), mL(mN(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kQ}, instance, "fFC", kP)), gM4)))));return;$next = 1157;}case 1157:
{
instance.fFC = mR(mQ(mQ(mP(mO({}, kP), gM4))));return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 17:
{
$next = 55;continue; }default:
throw Catcher;}}};Methods["eSW"] = function(iNQ, iNR){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iNQ < iNR;if (br1 || br1 === "") {
$next = 6;continue; }return iNR;$next = 6;}case 6:
{
return iNQ;}}};Methods["eSX"] = function(iNS, iNT){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iNS > iNT;if (br1 || br1 === "") {
$next = 6;continue; }return iNT;$next = 6;}case 6:
{
return iNS;}}};Methods["eSY"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kB = GetTypeDef(Assembly, "Circuit.Elements.InductorElm");var kC = GetTypeDef(Assembly, "Circuit.Elements.CapacitorElm");var kD = GetTypeDef(oA, "System.Math");var kE = GetTypeDef(Assembly, "Circuit.CircuitElm");var kF = GetTypeDef(oA, "System.String");var kG = GetTypeDef(Assembly, "Circuit.Elements.ResistorElm");var lA = GetTypeRef(Assembly, "Circuit.Elements.InductorElm");var lB = GetTypeRef(oA, "System.Object");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lD = GetTypeRef(Assembly, "Circuit.Elements.CapacitorElm");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.Double");var lG = GetTypeRef(oA, "System.String");var lH = GetTypeRef(Assembly, "Circuit.Elements.ResistorElm");var mA = GetMethodDef(kA, "IsInst", [lB, lC, lB]);var mB = GetMethodDef(kA, "CastClass", [lE, lB, lB]);var mC = kC.Methods.eS0;var mD = GetMethodDef(kD, "Sqrt", [lF, lF]);var mE = kE.Methods.eIN;var mF = GetMethodDef(kF, "Concat", [lG, lG, lG]);var mG = kG.Methods.eS1;var gM8;var gM9;var gNA;var gNB;var gNC;var gND;var gNE;var gNF;var gNG;var gNH;var gNI;var gNJ;var $next;$next = 0;while (true) switch($next){case 0:
{
gM8 = Methods.eSZ(instance, instance.fG2);gM9 = Methods.eSZ(instance, instance.fG3);var br1 = !gM8;if (br1 || br1 === "") {
$next = 32;continue; }var br2 = gM9;if (br2 || br2 === "") {
$next = 34;continue; }$next = 32;}case 32:
{
return null;$next = 34;}case 34:
{
var br3 = instance.fFG != 1;if (br3 || br3 === "") {
$next = 136;continue; }var br4 = mA(gM8, lA);if (br4 || br4 === "") {
$next = 53;continue; }return null;$next = 53;}case 53:
{
var br5 = mA(gM9, lD);if (br5 || br5 === "") {
$next = 63;continue; }return null;$next = 63;}case 63:
{
gNA = mB(kB, gM8);gNB = mB(kC, gM9);return mF("res.f = ", mE(1 / (6.28318530717959 * mD(gNA.fG4 * mC(gNB))), "Hz"));$next = 136;}case 136:
{
var br6 = instance.fFG != 2;if (br6 || br6 === "") {
$next = 217;continue; }var br7 = mA(gM8, lH);if (br7 || br7 === "") {
$next = 155;continue; }return null;$next = 155;}case 155:
{
var br8 = mA(gM9, lD);if (br8 || br8 === "") {
$next = 165;continue; }return null;$next = 165;}case 165:
{
gNC = mB(kG, gM8);gND = mB(kC, gM9);return mF("RC = ", mE(mG(gNC) * mC(gND), "s"));$next = 217;}case 217:
{
var br9 = instance.fFG != 3;if (br9 || br9 === "") {
$next = 318;continue; }var br10 = mA(gM8, lH);if (br10 || br10 === "") {
$next = 236;continue; }return null;$next = 236;}case 236:
{
var br11 = mA(gM9, lD);if (br11 || br11 === "") {
$next = 246;continue; }return null;$next = 246;}case 246:
{
gNE = mB(kG, gM8);gNF = mB(kC, gM9);return mF("f.3db = ", mE(1 / ((6.28318530717959 * mG(gNE)) * mC(gNF)), "Hz"));$next = 318;}case 318:
{
var br12 = instance.fFG != 5;if (br12 || br12 === "") {
$next = 409;continue; }var br13 = mA(gM8, lH);if (br13 || br13 === "") {
$next = 337;continue; }return null;$next = 337;}case 337:
{
var br14 = mA(gM9, lA);if (br14 || br14 === "") {
$next = 347;continue; }return null;$next = 347;}case 347:
{
gNG = mB(kG, gM8);gNH = mB(kB, gM9);return mF("f.3db = ", mE(mG(gNG) / (6.28318530717959 * gNH.fG4), "Hz"));$next = 409;}case 409:
{
var br15 = instance.fFG != 4;if (br15 || br15 === "") {
$next = 510;continue; }var br16 = mA(gM8, lH);if (br16 || br16 === "") {
$next = 428;continue; }return null;$next = 428;}case 428:
{
var br17 = mA(gM9, lD);if (br17 || br17 === "") {
$next = 438;continue; }return null;$next = 438;}case 438:
{
gNI = mB(kG, gM8);gNJ = mB(kC, gM9);return mF("fc = ", mE(1 / ((6.28318530717959 * mG(gNI)) * mC(gNJ)), "Hz"));$next = 510;}case 510:
{
return null;}}};Methods["eHM"] = function(instance){
return instance.fFR;};Methods["eMM"] = function(instance){
instance.fFR = 1;return;};Methods["eHJ"] = function(instance, iNU){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.CircuitNode");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
stack.push(iNU);var aJ3 = instance.fFB;var bFK = aJ3._vT.VTable[nA](aJ3);var br1 = pop(1) < bFK;if (br1 || br1 === "") {
$next = 16;continue; }return null;$next = 16;}case 16:
{
var aJ4 = instance.fFB;var bFL = aJ4._vT.VTable[nB](aJ4, iNU);return bFL;}}};Methods["eSZ"] = function(instance, iNV){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var mA = kA.Methods.eQL;var mB = kA.Methods.eQM;var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var gNK;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
stack.push(iNV);var aJ5 = instance.fFP;var bFM = aJ5._vT.VTable[nA](aJ5);var br1 = pop(1) < bFM;if (br1 || br1 === "") {
$next = 29;continue; }gNK = null;stack = [];$next = 44;$leaveTarget = 56;continue; $next = 29;}case 29:
{
var aJ6 = instance.fFP;var bFN = aJ6._vT.VTable[nB](aJ6, iNV);gNK = bFN;stack = [];$next = 44;$leaveTarget = 56;continue; $next = 44;}case 44:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 56;}case 56:
{
return gNK;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 44;continue; }case 29:
{
$next = 44;continue; }default:
throw Catcher;}}};Methods["eKY"] = function(instance, iNW, iNX){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(oA, "System.Int32");var kC = GetTypeDef(oA, "System.Single");var kD = GetTypeDef(Assembly, "Circuit.CircuitElm");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kD]);var kF = GetTypeDef(Assembly, "System.Drawing.Rectangle");var kG = GetTypeDef(Assembly, "Circuit.CirSim$2b$Hit");var kH = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kI = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kD]);var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kK = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kL = GetInstanceDef(oA, "System.Nullable`1", [kB]);var kM = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField");var kN = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kO = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kP = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var kQ = GetTypeDef(Assembly, "System.Drawing.PointF");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.Void");var lI = GetTypeRef(oA, "System.Boolean");var lJ = GetTypeRef(oA, "System.IDisposable");var mA = kG.Methods.eS2;var mB = kH.Methods.eQL;var mC = GetMethodDef(kI, "GetEnumerator", [lB]);var mD = GetMethodDef(kE, "get_Current", [lA]);var mE = kD.Methods.eEG;var mF = GetMethodDef(kJ, "OneLevelClone", [lE, lE]);var mG = kK.Methods.eS3;var mH = GetMethodDef(kJ, "Box", [lF, lG, lE]);var mI = GetMethodDef(kL, ".ctor", [lC, lH]);var mJ = GetMethodDef(kJ, "Unbox", [lE, lE]);var mK = kD.Methods.eG3;var mL = GetMethodDef(kE, "MoveNext", [lI]);var mM = GetMethodDef(kJ, "Constrained", [lE, lG, lE]);var mN = GetMethodDef(kL, "get_HasValue", [lI]);var mO = kD.Methods.eBR;var mP = kF.Methods.eB6;var mQ = kH.Methods.eQM;var nA = GetMethodRef(lA, "getPostCount", [lC]);var nB = GetMethodRef(lA, "getPost", [lC, lD]);var nC = GetMethodRef(lE, "Equals", [lE, lI]);var nD = GetMethodRef(lJ, "Dispose", [lH]);var gNL;var gNM = kA.Initializer({});var gNN = kB.Initializer({});var gNO;var gNP = kB.Initializer({});var gNQ = kB.Initializer({});var gNR;var gNS = kC.Initializer({});var gNT;var gNU = kB.Initializer({});var gNV;var gNW = kC.Initializer({});var gNX;var gNY = kE.Initializer({});var gNZ = kE.Initializer({});var gN0 = kF.Initializer({});var $next;var $leaveTarget;var $exception;var hAP = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kP}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gNY;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gNY = Value;})), kE);var hAQ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kP}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gNZ;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gNZ = Value;})), kE);var hAR = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kP}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gN0;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gN0 = Value;})), kF);var hAS = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kP}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return iNW;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
iNW = Value;})), kQ);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gNL = mA({
_vT:kG});mB(instance.fFH);$next = 17;}case 17:
{
gNM = 1.79769313486232E+308;gNN = 0;$next = 344;continue; $next = 34;}case 34:
{
gNY = mC(instance.fFP);$next = 47;}case 47:
{
$next = 312;continue; $next = 52;}case 52:
{
gNO = mD(hAP);var br1 = gNN;if (br1 || br1 === "") {
$next = 74;continue; }var br2 = !mE(gNO);if (br2 || br2 === "") {
$next = 312;continue; }$next = 74;}case 74:
{
var br3 = gNN != 1;if (br3 || br3 === "") {
$next = 89;continue; }var br4 = mE(gNO);if (br4 || br4 === "") {
$next = 312;continue; }$next = 89;}case 89:
{
var br5 = gNN > 1;if (br5 || br5 === "") {
$next = 229;continue; }var aJ7 = gNO;var bFO = aJ7._vT.VTable[nA](aJ7);gNP = bFO;gNQ = 0;$next = 221;continue; $next = 109;}case 109:
{
var aJ8 = gNO;var bFP = aJ8._vT.VTable[nB](aJ8, gNQ);gNR = bFP;gNS = mG(gNR, mF(iNW));var br6 = gNS >= iNX;if (br6 || br6 === "") {
$next = 215;continue; }var br7 = gNS >= gNM;if (br7 || br7 === "") {
$next = 215;continue; }gNL.fCP = gNO;GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), "Invoke", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.Void")])(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.Box"), "get_Write", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter")])(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kM}, gNL, "fCS", kL)), kL.Initializer(mH({}, kL)));gNL.fC2 = mF(mJ(mJ(mI(mH({}, kL), gNQ))));gNM = gNS;var br8 = gNQ >= 2;if (br8 || br8 === "") {
$next = 215;continue; }gNT = mK(gNO, gNQ);var aJ9 = gNT;var bFQ = aJ9._vT.VTable[nC](aJ9, gNR);var br9 = !bFQ;if (br9 || br9 === "") {
$next = 215;continue; }gNL.fCS = mF(mJ(mJ(mI(mH({}, kL), gNQ))));$next = 215;}case 215:
{
gNQ = (gNQ + 1);$next = 221;}case 221:
{
var br10 = gNQ < gNP;if (br10 || br10 === "") {
$next = 109;continue; }$next = 312;continue; $next = 229;}case 229:
{
gNU = 0;$next = 307;continue; $next = 234;}case 234:
{
gNV = mK(gNO, gNU);gNW = mG(gNV, mF(iNW));var br11 = gNW >= iNX;if (br11 || br11 === "") {
$next = 301;continue; }var br12 = gNW >= gNM;if (br12 || br12 === "") {
$next = 301;continue; }gNL.fCP = gNO;gNL.fCS = mF(mJ(mJ(mI(mH({}, kL), gNU))));GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), "Invoke", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.Void")])(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.Box"), "get_Write", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter")])(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kM}, gNL, "fC2", kL)), kL.Initializer(mH({}, kL)));gNM = gNW;$next = 301;}case 301:
{
gNU = (gNU + 1);$next = 307;}case 307:
{
var br13 = gNU < 2;if (br13 || br13 === "") {
$next = 234;continue; }$next = 312;}case 312:
{
var br14 = mL(hAP);if (br14 || br14 === "") {
$next = 52;continue; }stack = [];$next = 326;$leaveTarget = 340;continue; $next = 326;}case 326:
{
var aKA = mM(hAP, kE);aKA._vT.VTable[nD](aKA);if ($exception) throw $exception;if (17 <= $leaveTarget && $leaveTarget < 480) $next = $leaveTarget; else $next = 480;continue; $next = 340;}case 340:
{
gNN = (gNN + 1);$next = 344;}case 344:
{
var br15 = gNN > 2;if (br15 || br15 === "") {
$next = 377;continue; }var br16 = mN(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kM}, gNL, "fCS", kL));if (br16 || br16 === "") {
$next = 377;continue; }var br17 = !mN(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToObjectField"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kM}, gNL, "fC2", kL));if (br17 || br17 === "") {
$next = 34;continue; }$next = 377;}case 377:
{
var br18 = gNL.fCP;if (br18 || br18 === "") {
$next = 478;continue; }gNZ = mC(instance.fFP);$next = 398;}case 398:
{
$next = 453;continue; $next = 400;}case 400:
{
gNX = mD(hAQ);gN0 = mO(gNX);var br19 = !mP(hAR, mJ(hAS).fCG, mJ(hAS).fCH);if (br19 || br19 === "") {
$next = 453;continue; }gNL.fCP = gNX;$next = 462;continue; $next = 453;}case 453:
{
var br20 = mL(hAQ);if (br20 || br20 === "") {
$next = 400;continue; }$next = 462;}case 462:
{
stack = [];$next = 464;$leaveTarget = 478;continue; $next = 464;}case 464:
{
var aKB = mM(hAQ, kE);aKB._vT.VTable[nD](aKB);if ($exception) throw $exception;if (17 <= $leaveTarget && $leaveTarget < 480) $next = $leaveTarget; else $next = 480;continue; $next = 478;}case 478:
{
stack = [];$next = 480;$leaveTarget = 492;continue; $next = 480;}case 480:
{
mQ(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 492;}case 492:
{
return gNL;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 17:
{
$next = 480;continue; }case 34:
{
$next = 480;continue; }case 47:
{
$next = 326;continue; }case 52:
{
$next = 326;continue; }case 74:
{
$next = 326;continue; }case 89:
{
$next = 326;continue; }case 109:
{
$next = 326;continue; }case 215:
{
$next = 326;continue; }case 221:
{
$next = 326;continue; }case 229:
{
$next = 326;continue; }case 234:
{
$next = 326;continue; }case 301:
{
$next = 326;continue; }case 307:
{
$next = 326;continue; }case 312:
{
$next = 326;continue; }case 326:
{
$next = 480;continue; }case 340:
{
$next = 480;continue; }case 344:
{
$next = 480;continue; }case 377:
{
$next = 480;continue; }case 398:
{
$next = 464;continue; }case 400:
{
$next = 464;continue; }case 453:
{
$next = 464;continue; }case 462:
{
$next = 464;continue; }case 464:
{
$next = 480;continue; }case 478:
{
$next = 480;continue; }default:
throw Catcher;}}};Methods["eS4"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Double");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kE = GetTypeDef(Assembly, "Circuit.Scope");var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kE]);var kG = GetTypeDef(oA, "System.Text.StringBuilder");var kH = GetTypeDef(oA, "System.Globalization.CultureInfo");var kI = GetTypeDef(oA, "System.Object");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToStaticField");var kL = GetTypeDef(oA, "System.String");var kM = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kN = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kO = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kE]);var kP = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kQ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kR = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(oA, "System.Globalization.CultureInfo");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lD = GetTypeRef(oA, "System.Int32");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(oA, "System.IFormatProvider");var lG = GetTypeRef(oA, "System.String");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lI = GetArrayRef(lE, 1);var lJ = GetTypeRef(oA, "System.Text.StringBuilder");var lK = GetTypeRef(Assembly, "Circuit.CircuitElm");var lL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lK]);var lM = GetTypeRef(oA, "System.Boolean");var lN = GetTypeRef(oA, "System.IDisposable");var lO = GetTypeRef(Assembly, "Circuit.Scope");var lP = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lO]);var lQ = GetTypeRef(Assembly, "Circuit.ScopeTrack");var lR = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lQ]);var mA = GetMethodDef(kG, ".ctor", [lA]);var mB = GetMethodDef(kH, "get_InvariantCulture", [lB]);var mC = GetMethodDef(kJ, "NewArray", [lC, lD, lE]);var mD = GetMethodDef(kA, "ToString", [lF, lG]);var mE = GetMethodDef(kB, "ToString", [lF, lG]);var mF = GetMethodDef(kJ, "Box", [lH, lC, lE]);var mG = GetMethodDef(kJ, "Unbox", [lE, lE]);var mH = GetMethodDef(kL, "Concat", [lI, lG]);var mI = GetMethodDef(kG, "AppendLine", [lG, lJ]);var mJ = kM.Methods.eQL;var mK = GetMethodDef(kN, "GetEnumerator", [lL]);var mL = GetMethodDef(kD, "get_Current", [lK]);var mM = kC.Methods.eDK;var mN = GetMethodDef(kL, "get_Length", [lD]);var mO = GetMethodDef(kL, "Concat", [lG, lG, lG]);var mP = GetMethodDef(kD, "MoveNext", [lM]);var mQ = GetMethodDef(kJ, "Constrained", [lE, lC, lE]);var mR = GetMethodDef(kO, "GetEnumerator", [lP]);var mS = GetMethodDef(kF, "get_Current", [lO]);var mT = kE.Methods.eS9;var mU = kE.Methods.eTA;var mV = GetMethodDef(kF, "MoveNext", [lM]);var mW = kM.Methods.eQM;var nA = GetMethodRef(lK, "dump", [lG]);var nB = GetMethodRef(lN, "Dispose", [lA]);var nC = GetMethodRef(lR, "get_Count", [lD]);var nD = GetMethodRef(lE, "ToString", [lG]);var gN1 = kA.Initializer({});var gN2;var gN3;var gN4;var gN5;var gN6;var gN7;var gN8 = kA.Initializer({});var gN9 = kB.Initializer({});var gOA = kA.Initializer({});var gOB = kA.Initializer({});var gOC = kA.Initializer({});var gOD = kD.Initializer({});var gOE = kF.Initializer({});var gOF;var $next;var $leaveTarget;var $exception;var hAT = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gN1;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gN1 = Value;})), kA);var hAU = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gN8;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gN8 = Value;})), kA);var hAV = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gN9;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gN9 = Value;})), kB);var hAW = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gOA;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gOA = Value;})), kA);var hAX = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gOB;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gOB = Value;})), kA);var hAY = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gOC;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gOC = Value;})), kA);var hAZ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gOD;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gOD = Value;})), kD);var hA0 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kR}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gOE;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gOE = Value;})), kF);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
var br1 = Methods.eI6(instance);if (br1 || br1 === "") {
$next = 11;continue; }stack.push(0);$next = 12;continue; $next = 11;}case 11:
{
stack.push(1);$next = 12;}case 12:
{
gN1 = pop(1);stack.push(gN1);var br2 = Methods.eHK(instance);if (br2 || br2 === "") {
$next = 25;continue; }stack.push(4);$next = 26;continue; $next = 25;}case 25:
{
stack.push(0);$next = 26;}case 26:
{
gN1 = pop(2) | pop(1);stack.push(gN1);var br3 = Methods.eJB(instance);if (br3 || br3 === "") {
$next = 40;continue; }stack.push(0);$next = 41;continue; $next = 40;}case 40:
{
stack.push(8);$next = 41;}case 41:
{
gN1 = pop(2) | pop(1);stack.push(gN1);var br4 = Methods.eOY(instance);if (br4 || br4 === "") {
$next = 56;continue; }stack.push(16);$next = 57;continue; $next = 56;}case 56:
{
stack.push(0);$next = 57;}case 57:
{
gN1 = pop(2) | pop(1);stack.push(gN1);var br5 = Methods.eO7(instance);if (br5 || br5 === "") {
$next = 72;continue; }stack.push(32);$next = 73;continue; $next = 72;}case 72:
{
stack.push(0);$next = 73;}case 73:
{
gN1 = pop(2) | pop(1);stack.push(gN1);var br6 = Methods.eI5(instance);if (br6 || br6 === "") {
$next = 87;continue; }stack.push(0);$next = 89;continue; $next = 87;}case 87:
{
stack.push(64);$next = 89;}case 89:
{
gN1 = pop(2) | pop(1);gN2 = mA({
_vT:kG});gN3 = mB();stack.push(gN2);gN7 = mC(kI, 21);gN7[0] = "$ ";gN7[1] = mD(hAT, gN3);gN7[2] = " ";stack.push(gN7);stack.push(3);gN8 = Methods.eM(instance);pop(2)[pop(1)] = mD(hAU, gN3);gN7[4] = " ";stack.push(gN7);stack.push(5);gN9 = Methods.ePD(instance);pop(2)[pop(1)] = mE(hAV, gN3);gN7[6] = " ";gN7[7] = mF(0, kA);gN7[8] = " ";gN7[9] = mE(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToStaticField"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.String"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, kC, "fA3", kB), gN3);gN7[10] = " ";stack.push(gN7);stack.push(11);gOA = Methods.eO9(instance);pop(2)[pop(1)] = mD(hAW, gN3);gN7[12] = " ";gN7[13] = Methods.eS7(instance);gN7[14] = " ";stack.push(gN7);stack.push(15);gOB = mG(Methods.ePQ(instance)).fF2;pop(2)[pop(1)] = mD(hAX, gN3);gN7[16] = " ";stack.push(gN7);stack.push(17);gOC = mG(Methods.ePQ(instance)).fF3;pop(2)[pop(1)] = mD(hAY, gN3);gN7[18] = " ";stack.push(gN7);stack.push(19);var br7 = Methods.ePF(instance);if (br7 || br7 === "") {
$next = 389;continue; }stack.push("false");$next = 394;continue; $next = 389;}case 389:
{
stack.push("true");$next = 394;}case 394:
{
pop(3)[pop(2)] = pop(1);gN7[20] = "\n";mI(pop(1), mH(gN7));mJ(instance.fFH);$next = 429;}case 429:
{
gOD = mK(instance.fFP);$next = 442;}case 442:
{
$next = 502;continue; $next = 444;}case 444:
{
gN4 = mL(hAZ);stack.push(gN2);var aKC = gN4;var bFR = aKC._vT.VTable[nA](aKC);mI(pop(1), bFR);var br8 = mN(mM(gN4)) <= 0;if (br8 || br8 === "") {
$next = 502;continue; }mI(gN2, mO("> ", mM(gN4)));$next = 502;}case 502:
{
var br9 = mP(hAZ);if (br9 || br9 === "") {
$next = 444;continue; }stack = [];$next = 513;$leaveTarget = 527;continue; $next = 513;}case 513:
{
var aKD = mQ(hAZ, kD);aKD._vT.VTable[nB](aKD);if ($exception) throw $exception;if (429 <= $leaveTarget && $leaveTarget < 621) $next = $leaveTarget; else $next = 621;continue; $next = 527;}case 527:
{
gOE = mR(instance.fFQ);$next = 540;}case 540:
{
$next = 594;continue; $next = 542;}case 542:
{
gN5 = mS(hA0);var aKE = mT(gN5);var bFS = aKE._vT.VTable[nC](aKE);var br10 = bFS <= 0;if (br10 || br10 === "") {
$next = 594;continue; }gN6 = mU(gN5, instance.fFP);var br11 = !gN6;if (br11 || br11 === "") {
$next = 594;continue; }mI(gN2, gN6);$next = 594;}case 594:
{
var br12 = mV(hA0);if (br12 || br12 === "") {
$next = 542;continue; }stack = [];$next = 605;$leaveTarget = 619;continue; $next = 605;}case 605:
{
var aKF = mQ(hA0, kF);aKF._vT.VTable[nB](aKF);if ($exception) throw $exception;if (429 <= $leaveTarget && $leaveTarget < 621) $next = $leaveTarget; else $next = 621;continue; $next = 619;}case 619:
{
stack = [];$next = 621;$leaveTarget = 633;continue; $next = 621;}case 621:
{
mW(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 633;}case 633:
{
var br13 = instance.fFG == -1;if (br13 || br13 === "") {
$next = 736;continue; }stack.push(gN2);gOF = mC(kI, 6);gOF[0] = "h ";gOF[1] = mF(instance.fFG, kA);gOF[2] = " ";gOF[3] = mF(instance.fG2, kA);gOF[4] = " ";gOF[5] = mF(instance.fG3, kA);mI(pop(1), mH(gOF));$next = 736;}case 736:
{
var aKG = gN2;var bFT = aKG._vT.VTable[nD](aKG);return bFT;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 429:
{
$next = 621;continue; }case 442:
{
$next = 513;continue; }case 444:
{
$next = 513;continue; }case 502:
{
$next = 513;continue; }case 513:
{
$next = 621;continue; }case 527:
{
$next = 621;continue; }case 540:
{
$next = 605;continue; }case 542:
{
$next = 605;continue; }case 594:
{
$next = 605;continue; }case 605:
{
$next = 621;continue; }case 619:
{
$next = 621;continue; }default:
throw Catcher;}}};Methods["eTB"] = function(instance, iNY, iNZ){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.IO.StringReader");var lA = GetTypeRef(oA, "System.String");var lB = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kA, ".ctor", [lA, lB]);Methods.eTD(instance, mA({
_vT:kA}, iNY), iNZ);return;};Methods["eTD"] = function(instance, iN0, iN1){
var oA = Assembly.References.cA();var oB = Assembly.References.cB();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Void");var kC = GetTypeDef(oA, "System.String");var kD = GetTypeDef(Assembly, "Circuit.CircuitElm");var kE = GetInstanceDef(oA, "System.Collections.Generic.KeyValuePair`2", [kC, kD]);var kF = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kG = GetInstanceDef(oA, "System.Collections.Generic.Dictionary`2", [kC, kD]);var kH = GetTypeDef(Assembly, "Circuit.Scope");var kI = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kH]);var kJ = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kD]);var kK = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kD]);var kL = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kM = GetTypeDef(oA, "System.Globalization.CultureInfo");var kN = GetTypeDef(Assembly, "Circuit.StringTokenizer");var kO = GetTypeDef(oA, "System.Func`1");var kP = GetTypeDef(oB, "System.Linq.Enumerable");var kQ = GetTypeDef(oA, "System.Globalization.NumberFormatInfo");var kR = GetTypeDef(oA, "System.Object");var kS = GetTypeDef(Assembly, "Circuit.Log");var kT = GetInstanceDef(oA, "System.Collections.Generic.Dictionary`2$2b$Enumerator", [kC, kD]);var kU = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kV = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kW = GetTypeDef(oA, "System.Exception");var kX = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.Scope");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lB]);var lD = GetTypeRef(Assembly, "Circuit.CircuitElm");var lE = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lD]);var lF = GetTypeRef(oA, "System.String");var lG = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.Dictionary`2"), [lF, lD]);var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(oA, "System.Object");var lJ = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lK = GetTypeRef(oA, "System.IDisposable");var lL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lD]);var lM = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lB]);var lN = GetTypeRef(oA, "System.Globalization.CultureInfo");var lO = GetTypeRef(oA, "System.IO.TextReader");var lP = GetTypeRef(oA, "System.Int32");var lQ = GetTypeRef(oA, "System.Char");var lR = ToRef(dF);var lS = GetTypeRef(TypeParameters, "TSource");var lT = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lS]);var lU = ReferenceTo(lD);var lV = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.Dictionary`2$2b$Enumerator"), [lF, lD]);var lW = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.KeyValuePair`2"), [lF, lD]);var mA = kF.Methods.eQW;var mB = GetMethodDef(kG, ".ctor", [lA]);var mC = GetMethodDef(kI, ".ctor", [lC, lA]);var mD = GetMethodDef(kJ, "GetEnumerator", [lE]);var mE = GetMethodDef(kK, "get_Current", [lD]);var mF = GetMethodDef(kK, "MoveNext", [lH]);var mG = GetMethodDef(kL, "Constrained", [lI, lJ, lI]);var mH = GetMethodDef(kM, "get_InvariantCulture", [lN]);var mI = GetMethodDef(kM, "get_CurrentCulture", [lN]);var mJ = kN.Methods.eTF;var mK = kN.Methods.eTG;var mL = GetMethodDef(kC, "get_Chars", [lP, lQ]);var mM = GetMethodDef(kO, "Invoke", [lR]);var mN = kH.Methods.eTJ;var mO = GetMethodDef(kP, "LastOrDefault", [lT, lS]);var mP = GetMethodDef(kQ, "get_NumberDecimalSeparator", [lF]);var mQ = GetMethodDef(kC, "op_Inequality", [lF, lF, lH]);var mR = GetMethodDef(kC, "IndexOf", [lF, lP]);var mS = GetMethodDef(kC, "Concat", [lF, lF, lF]);var mT = GetMethodDef(kL, "NewArray", [lJ, lP, lI]);var mU = kS.Methods.eP4;var mV = GetMethodDef(kC, "Substring", [lP, lF]);var mW = GetMethodDef(kC, "Trim", [lF]);var mX = kD.Methods.eBB;var mY = GetMethodDef(kA, "Parse", [lF, lP]);var mZ = kS.Methods.eRL;var mAA = kN.Methods.eTT;var mAB = GetMethodDef(kG, "GetEnumerator", [lV]);var mAC = GetMethodDef(kT, "get_Current", [lW]);var mAD = GetMethodDef(kE, "get_Value", [lD]);var mAE = GetMethodDef(kT, "MoveNext", [lH]);var mAF = kF.Methods.eQY;var nA = GetMethodRef(lD, "dump", [lF]);var nB = GetMethodRef(lG, "set_Item", [lF, lD, lA]);var nC = GetMethodRef(lK, "Dispose", [lA]);var nD = GetMethodRef(lL, "Clear", [lA]);var nE = GetMethodRef(lM, "Clear", [lA]);var nF = GetMethodRef(lO, "ReadLine", [lF]);var nG = GetMethodRef(lM, "get_Count", [lP]);var nH = GetMethodRef(lM, "get_Item", [lP, lB]);var nI = GetMethodRef(lM, "Add", [lB, lA]);var nJ = GetMethodRef(lN, "get_EnglishName", [lF]);var nK = GetMethodRef(lG, "TryGetValue", [lF, lU, lH]);var nL = GetMethodRef(lG, "Remove", [lF, lH]);var nM = GetMethodRef(lD, "delete", [lA]);var gOG;var gOH;var gOI = kA.Initializer({});var gOJ;var gOK;var gOL;var gOM;var gON;var gOO;var gOP;var gOQ;var gOR = kA.Initializer({});var gOS;var gOT = kB.Initializer({});var gOU;var gOV;var gOW = kA.Initializer({});var gOX = kA.Initializer({});var gOY = kA.Initializer({});var gOZ = kA.Initializer({});var gO0 = kA.Initializer({});var gO1;var gO2;var gO3 = kE.Initializer({});var $next;var $leaveTarget;var $exception;var hA1 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kX}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gO2;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gO2 = Value;})), kW);var hA2 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kX}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gOZ;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gOZ = Value;})), kA);var hA3 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kX}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gO3;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gO3 = Value;})), kE);var hA4 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kX}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gO1;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gO1 = Value;})), kD);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gOG = mB({
_vT:kG});gOH = mC({
_vT:kI}, instance.fFQ);gOI = 0;var br1 = iN1;if (br1 || br1 === "") {
$next = 130;continue; }gO2 = mD(instance.fFP);$next = 47;}case 47:
{
$next = 70;continue; $next = 49;}case 49:
{
gOJ = mE(hA1);stack.push(gOG);var aKH = gOJ;var bFU = aKH._vT.VTable[nA](aKH);var aKI = pop(1);aKI._vT.VTable[nB](aKI, bFU, gOJ);$next = 70;}case 70:
{
var br2 = mF(hA1);if (br2 || br2 === "") {
$next = 49;continue; }stack = [];$next = 81;$leaveTarget = 95;continue; $next = 81;}case 81:
{
var aKJ = mG(hA1, kK);aKJ._vT.VTable[nC](aKJ);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 806) $next = $leaveTarget; else $next = 806;continue; $next = 95;}case 95:
{
var aKK = instance.fFP;aKK._vT.VTable[nD](aKK);var aKL = instance.fFQ;aKL._vT.VTable[nE](aKL);instance.fF9 = null;Methods.eQF(instance);$next = 130;}case 130:
{
gOK = null;gOL = mH();gOM = mI();gON = gOL;var aKM = iN0;var bFV = aKM._vT.VTable[nF](aKM);gOO = bFV;$next = 702;continue; $next = 164;}case 164:
{
gOP = mJ({
_vT:kN}, gOO, gON);$next = 682;continue; $next = 180;}case 180:
{
gOQ = mK(gOP);gOR = mL(gOQ, 0);$next = 199;}case 199:
{
var br3 = gOR != 111;if (br3 || br3 === "") {
$next = 309;continue; }stack.push(gOI);var aKN = gOH;var bFW = aKN._vT.VTable[nG](aKN);var br4 = pop(1) >= bFW;if (br4 || br4 === "") {
$next = 238;continue; }stack.push(instance.fFQ);var aKO = gOH;var bFX = aKO._vT.VTable[nH](aKO, gOI);var aKP = pop(1);aKP._vT.VTable[nI](aKP, bFX);gOI = (gOI + 1);$next = 287;continue; $next = 238;}case 238:
{
gOS = Methods.eQU(instance);var br5 = !gOS;if (br5 || br5 === "") {
$next = 287;continue; }gOT = mM(gOS);mN(gOT, gOP, instance.fFP);var aKQ = instance.fFQ;aKQ._vT.VTable[nI](aKQ, gOT);$next = 287;}case 287:
{
instance.fF9 = mO(kH)(instance.fFQ);stack = [];$next = 694;continue; $next = 309;}case 309:
{
var br6 = gOR != 104;if (br6 || br6 === "") {
$next = 328;continue; }Methods.eTK(instance, gOP);stack = [];$next = 694;continue; $next = 328;}case 328:
{
var br7 = gOR != 36;if (br7 || br7 === "") {
$next = 451;continue; }var aKR = gOM;var bFY = aKR._vT.VTable[NSErr(0, "System.Globalization.CultureInfo.get_NumberFormat")](aKR);stack.push(mP(bFY));var aKS = gOL;var bFZ = aKS._vT.VTable[NSErr(0, "System.Globalization.CultureInfo.get_NumberFormat")](aKS);var br8 = !mQ(pop(1), mP(bFZ));if (br8 || br8 === "") {
$next = 438;continue; }stack.push(gOO);var aKT = gOM;var bF0 = aKT._vT.VTable[NSErr(0, "System.Globalization.CultureInfo.get_NumberFormat")](aKT);var br9 = mR(pop(1), mP(bF0)) <= 0;if (br9 || br9 === "") {
$next = 438;continue; }gON = gOM;gOP = mJ({
_vT:kN}, gOO, gON);mK(gOP);stack.push("CIRCUIT FILE IS ");var aKU = gOM;var bF1 = aKU._vT.VTable[nJ](aKU);mU(mS(pop(1), bF1), mT(kR, 0));$next = 438;}case 438:
{
Methods.eTO(instance, gOP);stack = [];$next = 694;continue; $next = 451;}case 451:
{
var br10 = gOR != 62;if (br10 || br10 === "") {
$next = 486;continue; }var br11 = !gOK;if (br11 || br11 === "") {
$next = 481;continue; }mX(gOK, mW(mV(gOO, 2)));$next = 481;}case 481:
{
stack = [];$next = 694;continue; $next = 486;}case 486:
{
var br12 = gOR == 37;if (br12 || br12 === "") {
$next = 504;continue; }var br13 = gOR == 63;if (br13 || br13 === "") {
$next = 504;continue; }var br14 = gOR != 66;if (br14 || br14 === "") {
$next = 509;continue; }$next = 504;}case 504:
{
stack = [];$next = 694;continue; $next = 509;}case 509:
{
var br15 = gOR < 48;if (br15 || br15 === "") {
$next = 530;continue; }var br16 = gOR > 57;if (br16 || br16 === "") {
$next = 530;continue; }gOR = mY(gOQ);$next = 530;}case 530:
{
gOU = mY(mK(gOP));gOV = mY(mK(gOP));gOW = mY(mK(gOP));gOX = mY(mK(gOP));gOY = mY(mK(gOP));gOZ = null;var aKV = gOG;var bF2 = aKV._vT.VTable[nK](aKV, gOO, hA2);bF2;var br17 = !gOZ;if (br17 || br17 === "") {
$next = 633;continue; }var aKW = gOG;var bF3 = aKW._vT.VTable[nL](aKW, gOO);bF3;gOK = gOZ;$next = 661;continue; $next = 633;}case 633:
{
gOK = Methods.eTS(instance, Ret.Fields.fD7[gOR], gOU, gOV, gOW, gOX, gOY, gOP);$next = 661;}case 661:
{
Methods.eQX(instance, gOK);stack = [];$next = 694;continue; $next = 671;}case 671:
{
if (false) {
throw $exception;}gO0 = pop(1);mZ(gO0);stack = [];$next = 694;continue; $next = 682;}case 682:
{
var br18 = mAA(gOP);if (br18 || br18 === "") {
$next = 180;continue; }$next = 694;}case 694:
{
var aKX = iN0;var bF4 = aKX._vT.VTable[nF](aKX);gOO = bF4;$next = 702;}case 702:
{
var br19 = gOO;if (br19 || br19 === "") {
$next = 164;continue; }$next = 733;continue; $next = 711;}case 711:
{
stack.push(instance.fFQ);var aKY = gOH;var bF5 = aKY._vT.VTable[nH](aKY, gOI);var aKZ = pop(1);aKZ._vT.VTable[nI](aKZ, bF5);gOI = (gOI + 1);$next = 733;}case 733:
{
stack.push(gOI);var aK0 = gOH;var bF6 = aK0._vT.VTable[nG](aK0);var br20 = pop(1) < bF6;if (br20 || br20 === "") {
$next = 711;continue; }gO3 = mAB(gOG);$next = 750;}case 750:
{
$next = 773;continue; $next = 752;}case 752:
{
gO1 = mAC(hA3);var aK1 = mAD(hA4);aK1._vT.VTable[nM](aK1);$next = 773;}case 773:
{
var br21 = mAE(hA3);if (br21 || br21 === "") {
$next = 752;continue; }stack = [];$next = 784;$leaveTarget = 798;continue; $next = 784;}case 784:
{
var aK2 = mG(hA3, kT);aK2._vT.VTable[nC](aK2);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 806) $next = $leaveTarget; else $next = 806;continue; $next = 798;}case 798:
{
Methods.eMM(instance);stack = [];$next = 806;$leaveTarget = 818;continue; $next = 806;}case 806:
{
mAF(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 818;}case 818:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 806;continue; }case 47:
{
$next = 81;continue; }case 49:
{
$next = 81;continue; }case 70:
{
$next = 81;continue; }case 81:
{
$next = 806;continue; }case 95:
{
$next = 806;continue; }case 130:
{
$next = 806;continue; }case 164:
{
$next = 806;continue; }case 180:
{
$next = 806;continue; }case 199:
{
$next = 671;continue; }case 238:
{
$next = 671;continue; }case 287:
{
$next = 671;continue; }case 309:
{
$next = 671;continue; }case 328:
{
$next = 671;continue; }case 438:
{
$next = 671;continue; }case 451:
{
$next = 671;continue; }case 481:
{
$next = 671;continue; }case 486:
{
$next = 671;continue; }case 504:
{
$next = 671;continue; }case 509:
{
$next = 671;continue; }case 530:
{
$next = 671;continue; }case 633:
{
$next = 671;continue; }case 661:
{
$next = 671;continue; }case 671:
{
$next = 806;continue; }case 682:
{
$next = 806;continue; }case 694:
{
$next = 806;continue; }case 702:
{
$next = 806;continue; }case 711:
{
$next = 806;continue; }case 733:
{
$next = 806;continue; }case 750:
{
$next = 784;continue; }case 752:
{
$next = 784;continue; }case 773:
{
$next = 784;continue; }case 784:
{
$next = 806;continue; }case 798:
{
$next = 806;continue; }default:
throw Catcher;}}};Methods["eTY"] = function(instance, iN2){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.String");var nA = GetMethodRef(lA, "dump", [lB]);var gO4;var aK3 = iN2;var bF7 = aK3._vT.VTable[nA](aK3);gO4 = bF7;return Methods.eTZ(instance, gO4);};Methods["eTZ"] = function(instance, iN3){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Globalization.CultureInfo");var kC = GetTypeDef(Assembly, "Circuit.StringTokenizer");var kD = GetTypeDef(oA, "System.String");var lA = GetTypeRef(oA, "System.Globalization.CultureInfo");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Char");var lD = GetTypeRef(oA, "System.String");var mA = GetMethodDef(kB, "get_InvariantCulture", [lA]);var mB = kC.Methods.eTF;var mC = kC.Methods.eTG;var mD = GetMethodDef(kD, "get_Chars", [lB, lC]);var mE = GetMethodDef(kA, "Parse", [lD, lB]);var mF = kC.Methods.eT0;var gO5;var gO6;var gO7 = kA.Initializer({});var gO8 = kA.Initializer({});var gO9 = kA.Initializer({});var gPA = kA.Initializer({});var gPB = kA.Initializer({});var gPC = kA.Initializer({});var $next;$next = 0;while (true) switch($next){case 0:
{
gO5 = mB({
_vT:kC}, iN3, mA());gO6 = mC(gO5);gO7 = mD(gO6, 0);var br1 = gO7 < 48;if (br1 || br1 === "") {
$next = 44;continue; }var br2 = gO7 > 57;if (br2 || br2 === "") {
$next = 44;continue; }gO7 = mE(gO6);$next = 44;}case 44:
{
gO8 = mF(gO5);gO9 = mF(gO5);gPA = mF(gO5);gPB = mF(gO5);gPC = mF(gO5);return Methods.eTS(instance, Ret.Fields.fD7[gO7], gO8, gO9, gPA, gPB, gPC, gO5);}}};Methods["eTK"] = function(instance, iN4){
var kA = GetTypeDef(Assembly, "Circuit.StringTokenizer");var mA = kA.Methods.eT0;instance.fFG = mA(iN4);instance.fG2 = mA(iN4);instance.fG3 = mA(iN4);return;};Methods["eTO"] = function(instance, iN5){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.StringTokenizer");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetTypeDef(oA, "System.String");var lA = GetTypeRef(oA, "System.String");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Boolean");var mA = kB.Methods.eT0;var mB = kB.Methods.eT1;var mC = kB.Methods.eTG;var mD = GetMethodDef(kA, "Parse", [lA, lB]);var mE = GetMethodDef(kD, "op_Equality", [lA, lA, lC]);var gPD = kA.Initializer({});var $next;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gPD = mA(iN5);Methods.eH(instance, ((gPD & 1) == 1?1:0));Methods.eL(instance, ((gPD & 4) == 0?1:0));Methods.eOX(instance, ((gPD & 8) == 8?1:0));Methods.eK(instance, ((gPD & 16) == 0?1:0));Methods.eO8(instance, ((gPD & 32) == 0?1:0));Methods.eOW(instance, ((((gPD & 64) == 0?1:0)) == 0?1:0));Methods.ePI(instance, mA(iN5));Methods.ePE(instance, mB(iN5));var br1 = Methods.ePD(instance) >= 3.5527136788005E-15;if (br1 || br1 === "") {
$next = 141;continue; }Methods.ePE(instance, 3.5527136788005E-15);$next = 141;}case 141:
{
var br2 = Methods.ePD(instance) <= 0.00390625;if (br2 || br2 === "") {
$next = 173;continue; }Methods.ePE(instance, 0.00390625);$next = 173;}case 173:
{
mB(iN5);kC.Fields.fA3 = mB(iN5);$next = 191;}case 191:
{
Methods.ePA(instance, mD(mC(iN5)));Methods.eT2(instance, mC(iN5));Methods.eT3(instance, mB(iN5), mB(iN5));Methods.ePG(instance, mE(mC(iN5), "true"));stack = [];$next = 265;continue; $next = 262;}case 262:
{
if (false) {
throw $exception;}pop(1);stack = [];$next = 265;continue; $next = 265;}case 265:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 191:
{
$next = 262;continue; }default:
throw Catcher;}}};Methods["eGJ"] = function(instance, iN6){
return ((iN6 + 0.5) + instance.fE2) & instance.fE1;};Methods["eK0"] = function(instance, iN7){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kB = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kE = GetTypeDef(Assembly, "System.Drawing.PointF");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = kB.Methods.eB4;var hA5 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kF}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return iN7;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
iN7 = Value;})), kE);return mB({
_vT:kB}, Methods.eGJ(instance, mA(hA5).fCG), Methods.eGJ(instance, mA(hA5).fCH));};Methods["eT5"] = function(instance, iN8){
iN8.fE = Methods.eGJ(instance, iN8.fE);iN8.fS = Methods.eGJ(instance, iN8.fS);return;};Methods["eK2"] = function(instance, iN9){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.Elements.SwitchElm");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lB]);var lD = GetTypeRef(oA, "System.Void");var nA = GetMethodRef(lA, "toggle", [lC, lD]);var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iN9;if (br1 || br1 === "") {
$next = 4;continue; }return;$next = 4;}case 4:
{
var aK4 = iN9;aK4._vT.VTable[nA](aK4, instance.fFP);Methods.eMM(instance);return;}}};Methods["eMB"] = function(instance, iOA, iOB){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Boolean");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kE = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kG = GetTypeDef(Assembly, "Circuit.LineSegment");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lE = GetTypeRef(oA, "System.Boolean");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.Void");var mA = kE.Methods.eQL;var mB = GetMethodDef(kF, "GetEnumerator", [lB]);var mC = GetMethodDef(kD, "get_Current", [lA]);var mD = kG.Methods.eB0;var mE = GetMethodDef(kD, "MoveNext", [lE]);var mF = GetMethodDef(kH, "Constrained", [lF, lG, lF]);var mG = kE.Methods.eQM;var nA = GetMethodRef(lA, "getPostCount", [lC]);var nB = GetMethodRef(lA, "getPost", [lC, lD]);var nC = GetMethodRef(lH, "Dispose", [lI]);var gPE;var gPF = kA.Initializer({});var gPG;var gPH;var gPI = kB.Initializer({});var gPJ = kD.Initializer({});var $next;var $leaveTarget;var $exception;var hA6 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gPJ;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gPJ = Value;})), kD);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gPJ = mB(instance.fFP);$next = 24;}case 24:
{
$next = 77;continue; $next = 26;}case 26:
{
gPE = mC(hA6);var aK5 = gPE;var bF8 = aK5._vT.VTable[nA](aK5);gPF = bF8;var br1 = gPF != 2;if (br1 || br1 === "") {
$next = 77;continue; }var aK6 = gPE;var bF9 = aK6._vT.VTable[nB](aK6, 0);gPG = bF9;var aK7 = gPE;var bGA = aK7._vT.VTable[nB](aK7, 1);gPH = bGA;var br2 = !mD(iOA, iOB, gPG, gPH);if (br2 || br2 === "") {
$next = 77;continue; }gPI = 1;stack = [];$next = 88;$leaveTarget = 118;continue; $next = 77;}case 77:
{
var br3 = mE(hA6);if (br3 || br3 === "") {
$next = 26;continue; }stack = [];$next = 88;$leaveTarget = 102;continue; $next = 88;}case 88:
{
var aK8 = mF(hA6, kD);aK8._vT.VTable[nC](aK8);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 104) $next = $leaveTarget; else $next = 104;continue; $next = 102;}case 102:
{
stack = [];$next = 104;$leaveTarget = 116;continue; $next = 104;}case 104:
{
mG(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 116;}case 116:
{
return 0;$next = 118;}case 118:
{
return gPI;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 104;continue; }case 24:
{
$next = 88;continue; }case 26:
{
$next = 88;continue; }case 77:
{
$next = 88;continue; }case 88:
{
$next = 104;continue; }case 102:
{
$next = 104;continue; }default:
throw Catcher;}}};Methods["eMK"] = function(instance, iOC){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kD]);var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kD]);var kG = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kH = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kJ = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kL = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kM = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lB]);var lD = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lG = GetTypeRef(oA, "System.Int32");var lH = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lI = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lD]);var lJ = GetTypeRef(oA, "System.Boolean");var lK = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lL = GetTypeRef(oA, "System.IDisposable");var lM = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lD]);var mA = GetMethodDef(kF, ".ctor", [lA]);var mB = kG.Methods.eQW;var mC = GetMethodDef(kH, "GetEnumerator", [lC]);var mD = GetMethodDef(kC, "get_Current", [lB]);var mE = GetMethodDef(kI, "IsInst", [lE, lF, lE]);var mF = kJ.Methods.eT6;var mG = kJ.Methods.eDR;var mH = kB.Methods.eFO;var mI = GetMethodDef(kC, "MoveNext", [lJ]);var mJ = GetMethodDef(kI, "Constrained", [lE, lK, lE]);var mK = GetMethodDef(kF, "GetEnumerator", [lM]);var mL = GetMethodDef(kE, "get_Current", [lD]);var mM = GetMethodDef(kE, "MoveNext", [lJ]);var mN = kG.Methods.eQY;var nA = GetMethodRef(lB, "getPost", [lG, lH]);var nB = GetMethodRef(lI, "Add", [lD, lA]);var nC = GetMethodRef(lL, "Dispose", [lA]);var gPK;var gPL;var gPM;var gPN;var gPO;var gPP = kA.Initializer({});var gPQ;var gPR;var gPS = kC.Initializer({});var gPT = kE.Initializer({});var $next;var $leaveTarget;var $exception;var hA7 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kM}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gPS;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gPS = Value;})), kC);var hA8 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kM}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gPT;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gPT = Value;})), kE);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gPK = mA({
_vT:kF});mB(instance.fFH);$next = 17;}case 17:
{
gPS = mC(instance.fFP);$next = 30;}case 30:
{
$next = 263;continue; $next = 35;}case 35:
{
gPL = mD(hA7);var br1 = !mE(gPL, lD);if (br1 || br1 === "") {
$next = 263;continue; }var aK9 = gPL;var bGB = aK9._vT.VTable[nA](aK9, 0);gPM = bGB;var aLA = gPL;var bGC = aLA._vT.VTable[nA](aLA, 1);gPN = bGC;var br2 = gPM.fE != gPN.fE;if (br2 || br2 === "") {
$next = 101;continue; }var br3 = gPM.fS == gPN.fS;if (br3 || br3 === "") {
$next = 263;continue; }$next = 101;}case 101:
{
var br4 = gPM.fE != iOC.fE;if (br4 || br4 === "") {
$next = 132;continue; }var br5 = gPM.fS == iOC.fS;if (br5 || br5 === "") {
$next = 263;continue; }$next = 132;}case 132:
{
var br6 = gPN.fE != iOC.fE;if (br6 || br6 === "") {
$next = 160;continue; }var br7 = gPN.fS == iOC.fS;if (br7 || br7 === "") {
$next = 263;continue; }$next = 160;}case 160:
{
gPO = mF(iOC, gPM, gPN);gPP = mG(gPO, iOC);var br8 = gPP >= 1;if (br8 || br8 === "") {
$next = 263;continue; }mH(gPL, gPM.fE, gPM.fS, iOC.fE, iOC.fS);gPQ = Methods.eMP(kD)(instance, iOC.fE, iOC.fS, gPN.fE, gPN.fS);var aLB = gPK;aLB._vT.VTable[nB](aLB, gPQ);$next = 263;}case 263:
{
var br9 = mI(hA7);if (br9 || br9 === "") {
$next = 35;continue; }stack = [];$next = 277;$leaveTarget = 291;continue; $next = 277;}case 277:
{
var aLC = mJ(hA7, kC);aLC._vT.VTable[nC](aLC);if ($exception) throw $exception;if (17 <= $leaveTarget && $leaveTarget < 345) $next = $leaveTarget; else $next = 345;continue; $next = 291;}case 291:
{
gPT = mK(gPK);$next = 299;}case 299:
{
$next = 318;continue; $next = 301;}case 301:
{
gPR = mL(hA8);Methods.eQX(instance, gPR);$next = 318;}case 318:
{
var br10 = mM(hA8);if (br10 || br10 === "") {
$next = 301;continue; }stack = [];$next = 329;$leaveTarget = 343;continue; $next = 329;}case 329:
{
var aLD = mJ(hA8, kE);aLD._vT.VTable[nC](aLD);if ($exception) throw $exception;if (17 <= $leaveTarget && $leaveTarget < 345) $next = $leaveTarget; else $next = 345;continue; $next = 343;}case 343:
{
stack = [];$next = 345;$leaveTarget = 357;continue; $next = 345;}case 345:
{
mN(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 357;}case 357:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 17:
{
$next = 345;continue; }case 30:
{
$next = 277;continue; }case 35:
{
$next = 277;continue; }case 101:
{
$next = 277;continue; }case 132:
{
$next = 277;continue; }case 160:
{
$next = 277;continue; }case 263:
{
$next = 277;continue; }case 277:
{
$next = 345;continue; }case 291:
{
$next = 345;continue; }case 299:
{
$next = 329;continue; }case 301:
{
$next = 329;continue; }case 318:
{
$next = 329;continue; }case 329:
{
$next = 345;continue; }case 343:
{
$next = 345;continue; }default:
throw Catcher;}}};Methods["eT7"] = function(instance, iOD, iOE){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.SimpleConnection");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(oA, "System.Boolean");var mA = kB.Methods.eDH;var nA = GetMethodRef(lA, "getPost", [lB, lC]);var nB = GetMethodRef(lD, "Equals", [lD, lE]);var nC = GetMethodRef(lA, "getPostCount", [lB]);var gPU = kA.Initializer({});var gPV = kA.Initializer({});var gPW;var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gPU = 0;$next = 95;continue; $next = 4;}case 4:
{
gPV = 0;$next = 82;continue; $next = 8;}case 8:
{
var aLE = iOD;var bGD = aLE._vT.VTable[nA](aLE, gPU);stack.push(bGD);var aLF = iOE;var bGE = aLF._vT.VTable[nA](aLF, gPV);var aLG = pop(1);var bGF = aLG._vT.VTable[nB](aLG, bGE);var br1 = !bGF;if (br1 || br1 === "") {
$next = 78;continue; }gPW = mA({
_vT:kB});gPW.fAJ = iOD;gPW.fAK = gPU;gPW.fAL = iOE;gPW.fAM = gPV;stack.push(gPW);var aLH = iOD;var bGG = aLH._vT.VTable[nA](aLH, gPU);pop(1).fAN = bGG;return gPW;$next = 78;}case 78:
{
gPV = (gPV + 1);$next = 82;}case 82:
{
stack.push(gPV);var aLI = iOE;var bGH = aLI._vT.VTable[nC](aLI);var br2 = pop(1) < bGH;if (br2 || br2 === "") {
$next = 8;continue; }gPU = (gPU + 1);$next = 95;}case 95:
{
stack.push(gPU);var aLJ = iOD;var bGI = aLJ._vT.VTable[nC](aLJ);var br3 = pop(1) < bGI;if (br3 || br3 === "") {
$next = 4;continue; }return null;}}};Methods["eT8"] = function(instance, iOF, iOG, iOH){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.PostRef");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(oA, "System.Boolean");var mA = kB.Methods.eC5;var nA = GetMethodRef(lA, "getPost", [lB, lC]);var nB = GetMethodRef(lD, "Equals", [lD, lE]);var nC = GetMethodRef(lA, "getPostCount", [lB]);var gPX = kA.Initializer({});var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gPX = 0;$next = 37;continue; $next = 4;}case 4:
{
var aLK = iOF;var bGJ = aLK._vT.VTable[nA](aLK, iOG);stack.push(bGJ);var aLL = iOH;var bGK = aLL._vT.VTable[nA](aLL, gPX);var aLM = pop(1);var bGL = aLM._vT.VTable[nB](aLM, bGK);var br1 = !bGL;if (br1 || br1 === "") {
$next = 33;continue; }return mA({
_vT:kB}, iOH, gPX);$next = 33;}case 33:
{
gPX = (gPX + 1);$next = 37;}case 37:
{
stack.push(gPX);var aLN = iOH;var bGM = aLN._vT.VTable[nC](aLN);var br2 = pop(1) < bGM;if (br2 || br2 === "") {
$next = 4;continue; }return null;}}};Methods["eT9"] = function(instance, iOI){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Void");var nA = GetMethodRef(lB, "Add", [lA, lC]);var aLO = instance.fFL;aLO._vT.VTable[nA](aLO, iOI);return;};Methods["eUA"] = function(instance){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Void");var nA = GetMethodRef(lB, "Clear", [lC]);var aLP = instance.fFL;aLP._vT.VTable[nA](aLP);return;};Methods["eUB"] = function(instance, iOJ){
return Methods.eUC(instance, iOJ.fE, iOJ.fS);};Methods["eBM"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kB = GetTypeDef(Assembly, "System.Drawing.Rectangle");var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = GetMethodDef(kA, "Box", [lB, lC, lA]);var mC = kB.Methods.eE9;var mD = GetMethodDef(kA, "OneLevelClone", [lA, lA]);return mD(mA(mA(mC(mB({}, kB), Methods.eUD(instance), Methods.eUD(instance), mA(Methods.ePQ(instance)).fF2, mA(Methods.ePQ(instance)).fF3))));};Methods["eUC"] = function(instance, iOK, iOL){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iOK < Methods.eUD(instance);if (br1 || br1 === "") {
$next = 66;continue; }var br2 = iOK > (mA(Methods.ePQ(instance)).fF2 - Methods.eUD(instance));if (br2 || br2 === "") {
$next = 66;continue; }var br3 = iOL < Methods.eUD(instance);if (br3 || br3 === "") {
$next = 64;continue; }return (((iOL > (mA(Methods.ePQ(instance)).fF3 - Methods.eUD(instance))?1:0)) == 0?1:0);$next = 64;}case 64:
{
return 0;$next = 66;}case 66:
{
return 0;}}};Methods["eLJ"] = function(instance, iOM, iON, iOO, iOP){
var oA = Assembly.References.cA();var oB = Assembly.References.cB();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CirSim$2b$PostKeepConnected");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetTypeDef(Assembly, "Circuit.CircuitElm");var kE = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kF = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kI = GetTypeDef(oA, "System.Func`2");var kJ = GetTypeDef(oB, "System.Linq.Enumerable");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kL = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kM = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lF = GetTypeRef(Assembly, "Circuit.CirSim$2b$PostKeepConnected");var lG = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lF]);var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(oA, "System.IDisposable");var lJ = GetTypeRef(oA, "System.Void");var lK = GetTypeRef(oA, "System.IntPtr");var lL = ToRef(dG);var lM = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lL]);var lN = GetTypeRef(oA, "System.Func`2");var lO = ToRef(dH);var lP = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lO]);var mA = kD.Methods.eGM;var mB = kE.Methods.eQW;var mC = GetMethodDef(kG, "NewArray", [lC, lB, lD]);var mD = GetMethodDef(kH, "GetEnumerator", [lG]);var mE = GetMethodDef(kC, "get_Current", [lF]);var mF = GetMethodDef(kC, "MoveNext", [lH]);var mG = GetMethodDef(kG, "Constrained", [lD, lC, lD]);var mH = GetMethodDef(kI, ".ctor", [lD, lK, lJ]);var mI = GetMethodDef(kJ, "Select", [lM, lN, lP]);var mJ = kE.Methods.eQY;var mK = kD.Methods.eG3;var nA = GetMethodRef(lA, "getPostCount", [lB]);var nB = GetMethodRef(lA, "getPost", [lB, lE]);var nC = GetMethodRef(lI, "Dispose", [lJ]);var gPY = kA.Initializer({});var gPZ;var gP0 = kA.Initializer({});var gP1;var gP2;var gP3 = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hA9 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kM}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gP3;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gP3 = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(iOM, iON, iOO, iOP);var br1 = !instance.fG5;if (br1 || br1 === "") {
$next = 211;continue; }mB(instance.fFH);$next = 32;}case 32:
{
var aLQ = iOM;var bGN = aLQ._vT.VTable[nA](aLQ);gPY = bGN;gPZ = mC(kF, gPY);gP0 = 0;$next = 64;continue; $next = 50;}case 50:
{
stack.push(gPZ);stack.push(gP0);var aLR = iOM;var bGO = aLR._vT.VTable[nB](aLR, gP0);pop(2)[pop(1)] = bGO;gP0 = (gP0 + 1);$next = 64;}case 64:
{
var br2 = gP0 < gPY;if (br2 || br2 === "") {
$next = 50;continue; }gP3 = mD(instance.fG5);$next = 81;}case 81:
{
$next = 119;continue; $next = 83;}case 83:
{
gP1 = mE(hA9);gP2 = gP1.fG6;gP2.fAP = gPZ[gP1.fG7.fAE];$next = 119;}case 119:
{
var br3 = mF(hA9);if (br3 || br3 === "") {
$next = 83;continue; }stack = [];$next = 130;$leaveTarget = 144;continue; $next = 130;}case 130:
{
var aLS = mG(hA9, kC);aLS._vT.VTable[nC](aLS);if ($exception) throw $exception;if (32 <= $leaveTarget && $leaveTarget < 199) $next = $leaveTarget; else $next = 199;continue; $next = 144;}case 144:
{
Methods.eUE(instance);stack.push(instance);stack.push(instance.fG5);var br4 = Ret.Fields.fEB;if (br4 || br4 === "") {
$next = 181;continue; }Ret.Fields.fEB = mH({
_vT:kI}, null, Methods.eUF);$next = 181;}case 181:
{
Methods.eUH(pop(2), mI(pop(1), Ret.Fields.fEB));stack = [];$next = 199;$leaveTarget = 211;continue; $next = 199;}case 199:
{
mJ(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 211;}case 211:
{
Methods.eMK(instance, mK(iOM, iON));return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 32:
{
$next = 199;continue; }case 50:
{
$next = 199;continue; }case 64:
{
$next = 199;continue; }case 81:
{
$next = 130;continue; }case 83:
{
$next = 130;continue; }case 119:
{
$next = 130;continue; }case 130:
{
$next = 199;continue; }case 144:
{
$next = 199;continue; }case 181:
{
$next = 199;continue; }default:
throw Catcher;}}};Methods["eLK"] = function(instance, iOQ, iOR, iOS, iOT){
var oA = Assembly.References.cA();var oB = Assembly.References.cB();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.ConnectionPath");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetTypeDef(Assembly, "Circuit.PostRef");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kD]);var kF = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kG = GetTypeDef(Assembly, "Circuit.Connections");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kI = GetTypeDef(Assembly, "Circuit.CircuitElm");var kJ = GetTypeDef(Assembly, "Circuit.CirSim$2b$PostKeepConnected");var kK = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kJ]);var kL = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kM = GetTypeDef(Assembly, "Circuit.AutoRoute");var kN = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kD]);var kO = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kP = GetTypeDef(oA, "System.Func`2");var kQ = GetTypeDef(oB, "System.Linq.Enumerable");var kR = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kS = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kT = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(oA, "System.Void");var lF = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lH = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lI = GetTypeRef(Assembly, "Circuit.ConnectionPath");var lJ = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lI]);var lK = GetTypeRef(Assembly, "Circuit.CirSim$2b$PostKeepConnected");var lL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lK]);var lM = GetTypeRef(Assembly, "Circuit.PostRef");var lN = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lM]);var lO = GetTypeRef(oA, "System.Boolean");var lP = GetTypeRef(oA, "System.IDisposable");var lQ = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lI]);var lR = GetTypeRef(oA, "System.IntPtr");var lS = ToRef(dG);var lT = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lS]);var lU = GetTypeRef(oA, "System.Func`2");var lV = ToRef(dH);var lW = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lV]);var mA = kF.Methods.eQW;var mB = GetMethodDef(kH, "NewArray", [lC, lB, lD]);var mC = kI.Methods.eGM;var mD = GetMethodDef(kK, ".ctor", [lE]);var mE = GetMethodDef(kH, "IsInst", [lD, lG, lD]);var mF = GetMethodDef(kL, "GetEnumerator", [lJ]);var mG = GetMethodDef(kC, "get_Current", [lI]);var mH = kJ.Methods.eUJ;var mI = kD.Methods.eC5;var mJ = kM.Methods.eDP;var mK = GetMethodDef(kN, "GetEnumerator", [lN]);var mL = GetMethodDef(kE, "get_Current", [lM]);var mM = GetMethodDef(kH, "CastClass", [lC, lD, lD]);var mN = GetMethodDef(kE, "MoveNext", [lO]);var mO = GetMethodDef(kH, "Constrained", [lD, lC, lD]);var mP = GetMethodDef(kC, "MoveNext", [lO]);var mQ = kB.Methods.eC2;var mR = GetMethodDef(kP, ".ctor", [lD, lR, lE]);var mS = GetMethodDef(kQ, "Select", [lT, lU, lW]);var mT = kF.Methods.eQY;var mU = kI.Methods.eG3;var nA = GetMethodRef(lA, "getPostCount", [lB]);var nB = GetMethodRef(lA, "getPost", [lB, lH]);var nC = GetMethodRef(lL, "Add", [lK, lE]);var nD = GetMethodRef(lP, "Dispose", [lE]);var nE = GetMethodRef(lQ, "get_Count", [lB]);var gP4 = kA.Initializer({});var gP5;var gP6 = kA.Initializer({});var gP7;var gP8;var gP9;var gQA;var gQB;var gQC;var gQD;var gQE = kA.Initializer({});var gQF;var gQG;var gQH;var gQI;var gQJ;var gQK;var gQL = kC.Initializer({});var gQM = kE.Initializer({});var gQN = kC.Initializer({});var gQO = kE.Initializer({});var $next;var $leaveTarget;var $exception;var hBA = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kT}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQL;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQL = Value;})), kC);var hBB = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kT}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQM;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQM = Value;})), kE);var hBC = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kT}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQN;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQN = Value;})), kC);var hBD = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kT}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQO;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQO = Value;})), kE);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
var br1 = !Methods.eO7(instance);if (br1 || br1 === "") {
$next = 628;continue; }var aLT = iOQ;var bGP = aLT._vT.VTable[nA](aLT);gP4 = bGP;gP5 = mB(kG, gP4);gP6 = 0;$next = 57;continue; $next = 40;}case 40:
{
gP5[gP6] = Methods.eUI(instance, iOQ, gP6, 0, 0);gP6 = (gP6 + 1);$next = 57;}case 57:
{
var br2 = gP6 < gP4;if (br2 || br2 === "") {
$next = 40;continue; }mC(iOQ, iOR, iOS, iOT);instance.fG5 = mD({
_vT:kK});var br3 = !mE(iOQ, lF);if (br3 || br3 === "") {
$next = 311;continue; }gP7 = gP5[iOR];var aLU = iOQ;var bGQ = aLU._vT.VTable[nB](aLU, iOR);gP8 = bGQ;gQL = mF(gP7.fAC);$next = 119;}case 119:
{
$next = 280;continue; $next = 124;}case 124:
{
gP9 = mG(hBA);gQD = mH({
_vT:kJ});gQD.fG7 = mI({
_vT:kD}, iOQ, iOR);gQD.fG6 = mJ({
_vT:kM}, gP9, gP8);gQA = gQD;var aLV = instance.fG5;aLV._vT.VTable[nC](aLV, gQA);gQM = mK(gP9.fAH);$next = 201;}case 201:
{
$next = 255;continue; $next = 203;}case 203:
{
gQB = mL(hBB);var br4 = !mE(gQB.fAD, lF);if (br4 || br4 === "") {
$next = 255;continue; }gQC = mM(kO, gQB.fAD);Methods.eUK(instance, gQC, gQA.fG6);$next = 255;}case 255:
{
var br5 = mN(hBB);if (br5 || br5 === "") {
$next = 203;continue; }stack = [];$next = 266;$leaveTarget = 280;continue; $next = 266;}case 266:
{
var aLW = mO(hBB, kE);aLW._vT.VTable[nD](aLW);if ($exception) throw $exception;if (119 <= $leaveTarget && $leaveTarget < 297) $next = $leaveTarget; else $next = 297;continue; $next = 280;}case 280:
{
var br6 = mP(hBA);if (br6 || br6 === "") {
$next = 124;continue; }stack = [];$next = 297;$leaveTarget = 573;continue; $next = 297;}case 297:
{
var aLX = mO(hBA, kC);aLX._vT.VTable[nD](aLX);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 652) $next = $leaveTarget; else $next = 652;continue; $next = 311;}case 311:
{
gQE = 0;$next = 565;continue; $next = 319;}case 319:
{
var aLY = iOQ;var bGR = aLY._vT.VTable[nB](aLY, gQE);gQF = bGR;gQG = gP5[gQE];var aLZ = gQG.fAC;var bGS = aLZ._vT.VTable[nE](aLZ);var br7 = !bGS;if (br7 || br7 === "") {
$next = 559;continue; }gQN = mF(gQG.fAC);$next = 366;}case 366:
{
$next = 531;continue; $next = 371;}case 371:
{
gQH = mG(hBC);var br8 = !mQ(gQH);if (br8 || br8 === "") {
$next = 531;continue; }gQI = mJ({
_vT:kM}, gQH, gQF);stack.push(instance.fG5);gQK = mH({
_vT:kJ});gQK.fG7 = mI({
_vT:kD}, iOQ, gQE);gQK.fG6 = gQI;var aL0 = pop(1);aL0._vT.VTable[nC](aL0, gQK);gQO = mK(gQH.fAH);$next = 461;}case 461:
{
$next = 506;continue; $next = 463;}case 463:
{
gQJ = mL(hBD);var br9 = !mE(gQJ.fAD, lF);if (br9 || br9 === "") {
$next = 506;continue; }Methods.eUK(instance, mM(kO, gQJ.fAD), gQI);$next = 506;}case 506:
{
var br10 = mN(hBD);if (br10 || br10 === "") {
$next = 463;continue; }stack = [];$next = 517;$leaveTarget = 531;continue; $next = 517;}case 517:
{
var aL1 = mO(hBD, kE);aL1._vT.VTable[nD](aL1);if ($exception) throw $exception;if (366 <= $leaveTarget && $leaveTarget < 545) $next = $leaveTarget; else $next = 545;continue; $next = 531;}case 531:
{
var br11 = mP(hBC);if (br11 || br11 === "") {
$next = 371;continue; }stack = [];$next = 545;$leaveTarget = 559;continue; $next = 545;}case 545:
{
var aL2 = mO(hBC, kC);aL2._vT.VTable[nD](aL2);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 652) $next = $leaveTarget; else $next = 652;continue; $next = 559;}case 559:
{
gQE = (gQE + 1);$next = 565;}case 565:
{
var br12 = gQE < gP4;if (br12 || br12 === "") {
$next = 319;continue; }$next = 573;}case 573:
{
Methods.eUE(instance);stack.push(instance);stack.push(instance.fG5);var br13 = Ret.Fields.fEC;if (br13 || br13 === "") {
$next = 610;continue; }Ret.Fields.fEC = mR({
_vT:kP}, null, Methods.eUL);$next = 610;}case 610:
{
Methods.eUH(pop(2), mS(pop(1), Ret.Fields.fEC));$next = 638;continue; $next = 628;}case 628:
{
mC(iOQ, iOR, iOS, iOT);$next = 638;}case 638:
{
Methods.eUM(instance);Methods.eMM(instance);stack = [];$next = 652;$leaveTarget = 664;continue; $next = 652;}case 652:
{
mT(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 664;}case 664:
{
Methods.eMK(instance, mU(iOQ, iOR));return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 652;continue; }case 40:
{
$next = 652;continue; }case 57:
{
$next = 652;continue; }case 119:
{
$next = 297;continue; }case 124:
{
$next = 297;continue; }case 201:
{
$next = 266;continue; }case 203:
{
$next = 266;continue; }case 255:
{
$next = 266;continue; }case 266:
{
$next = 297;continue; }case 280:
{
$next = 297;continue; }case 297:
{
$next = 652;continue; }case 311:
{
$next = 652;continue; }case 319:
{
$next = 652;continue; }case 366:
{
$next = 545;continue; }case 371:
{
$next = 545;continue; }case 461:
{
$next = 517;continue; }case 463:
{
$next = 517;continue; }case 506:
{
$next = 517;continue; }case 517:
{
$next = 545;continue; }case 531:
{
$next = 545;continue; }case 545:
{
$next = 652;continue; }case 559:
{
$next = 652;continue; }case 565:
{
$next = 652;continue; }case 573:
{
$next = 652;continue; }case 610:
{
$next = 652;continue; }case 628:
{
$next = 652;continue; }case 638:
{
$next = 652;continue; }default:
throw Catcher;}}};Methods["eUK"] = function(instance, iOU, iOV){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.ArgumentNullException");var kB = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var lA = GetTypeRef(oA, "System.String");var lB = GetTypeRef(oA, "System.Void");var lC = GetTypeRef(Assembly, "Circuit.ScopeTrack");var lD = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lC]);var lE = GetTypeRef(oA, "System.Int32");var mA = GetMethodDef(kA, ".ctor", [lA, lB]);var mB = kB.Methods.eUO;var nA = GetMethodRef(lD, "get_Count", [lE]);var gQP;var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iOV;if (br1 || br1 === "") {
$next = 14;continue; }throw mA({
_vT:kA}, "ar");$next = 14;}case 14:
{
mB(iOU, 1);gQP = Methods.eRC(instance, iOU);var aL3 = gQP;var bGT = aL3._vT.VTable[nA](aL3);var br2 = bGT <= 0;if (br2 || br2 === "") {
$next = 63;continue; }var br3 = !iOV;if (br3 || br3 === "") {
$next = 56;continue; }var br4 = iOV.fAT;if (br4 || br4 === "") {
$next = 56;continue; }iOV.fAT = gQP;$next = 56;}case 56:
{
Methods.eUP(instance, iOU);$next = 63;}case 63:
{
return;}}};Methods["eUP"] = function(instance, iOW){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.Scope");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.Scope");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var mA = kC.Methods.eEN;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kA.Methods.eUQ;var mE = GetMethodDef(kB, "MoveNext", [lC]);var mF = GetMethodDef(kE, "Constrained", [lD, lE, lD]);var nA = GetMethodRef(lF, "Dispose", [lG]);var gQQ;var gQR = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hBE = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQR;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQR = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(iOW, null);gQR = mB(instance.fFQ);$next = 19;}case 19:
{
$next = 36;continue; $next = 21;}case 21:
{
gQQ = mC(hBE);mD(gQQ, iOW);$next = 36;}case 36:
{
var br1 = mE(hBE);if (br1 || br1 === "") {
$next = 21;continue; }stack = [];$next = 47;$leaveTarget = 61;continue; $next = 47;}case 47:
{
var aL4 = mF(hBE, kB);aL4._vT.VTable[nA](aL4);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 61;}case 61:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 19:
{
$next = 47;continue; }case 21:
{
$next = 47;continue; }case 36:
{
$next = 47;continue; }default:
throw Catcher;}}};Methods["eUR"] = function(instance, iOX){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.ScopeTrack");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var nA = GetMethodRef(lB, "get_Count", [lC]);var gQS;gQS = Methods.eRC(instance, iOX);var aL5 = gQS;var bGU = aL5._vT.VTable[nA](aL5);return (bGU > 0?1:0);};Methods["eRC"] = function(instance, iOY){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.Scope");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "Circuit.ScopeTrack");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.Scope");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lB]);var lD = GetTypeRef(Assembly, "Circuit.ScopeTrack");var lE = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lD]);var lF = GetTypeRef(oA, "System.Int32");var lG = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lD]);var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(oA, "System.Object");var lJ = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lK = GetTypeRef(oA, "System.IDisposable");var mA = GetMethodDef(kE, ".ctor", [lA]);var mB = GetMethodDef(kF, "GetEnumerator", [lC]);var mC = GetMethodDef(kB, "get_Current", [lB]);var mD = kA.Methods.eUS;var mE = GetMethodDef(kE, "GetEnumerator", [lG]);var mF = GetMethodDef(kD, "get_Current", [lD]);var mG = kC.Methods.eUT;var mH = GetMethodDef(kD, "MoveNext", [lH]);var mI = GetMethodDef(kG, "Constrained", [lI, lJ, lI]);var mJ = GetMethodDef(kB, "MoveNext", [lH]);var mK = GetMethodDef(kG, "OneLevelCloneForStruct", [lI, lJ, lI]);var nA = GetMethodRef(lE, "get_Count", [lF]);var nB = GetMethodRef(lE, "Add", [lD, lA]);var nC = GetMethodRef(lK, "Dispose", [lA]);var gQT;var gQU;var gQV;var gQW;var gQX = kB.Initializer({});var gQY = kD.Initializer({});var $next;var $leaveTarget;var $exception;var hBF = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQX;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQX = Value;})), kB);var hBG = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQY;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQY = Value;})), kD);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gQT = mA({
_vT:kE});gQX = mB(instance.fFQ);$next = 19;}case 19:
{
$next = 104;continue; $next = 21;}case 21:
{
gQU = mC(hBF);gQV = mD(gQU, iOY);var aL6 = gQV;var bGV = aL6._vT.VTable[nA](aL6);var br1 = bGV <= 0;if (br1 || br1 === "") {
$next = 104;continue; }gQY = mE(gQV);$next = 54;}case 54:
{
$next = 79;continue; $next = 56;}case 56:
{
gQW = mF(hBG);var br2 = !mG(gQW);if (br2 || br2 === "") {
$next = 79;continue; }var aL7 = gQT;aL7._vT.VTable[nB](aL7, gQW);$next = 79;}case 79:
{
var br3 = mH(hBG);if (br3 || br3 === "") {
$next = 56;continue; }stack = [];$next = 90;$leaveTarget = 104;continue; $next = 90;}case 90:
{
var aL8 = mI(hBG, kD);aL8._vT.VTable[nC](aL8);if ($exception) throw $exception;if (19 <= $leaveTarget && $leaveTarget < 115) $next = $leaveTarget; else $next = 115;continue; $next = 104;}case 104:
{
var br4 = mJ(hBF);if (br4 || br4 === "") {
$next = 21;continue; }stack = [];$next = 115;$leaveTarget = 129;continue; $next = 115;}case 115:
{
var aL9 = mI(hBF, kB);aL9._vT.VTable[nC](aL9);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 129;}case 129:
{
return mK(gQT, kE);}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 19:
{
$next = 115;continue; }case 21:
{
$next = 115;continue; }case 54:
{
$next = 90;continue; }case 56:
{
$next = 90;continue; }case 79:
{
$next = 90;continue; }case 90:
{
$next = 115;continue; }case 104:
{
$next = 115;continue; }default:
throw Catcher;}}};Methods["eUU"] = function(instance, iOZ, iO0, iO1){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Drawing.Rectangle");var kB = GetTypeDef(oA, "System.Int32");var kC = GetTypeDef(oA, "System.Boolean");var kD = GetTypeDef(Assembly, "Circuit.CircuitElm");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kD]);var kF = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kD]);var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lF = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lG = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lI = GetTypeRef(oA, "System.Boolean");var lJ = GetTypeRef(oA, "System.IDisposable");var lK = GetTypeRef(oA, "System.Void");var mA = kD.Methods.eBR;var mB = kA.Methods.eUV;var mC = GetMethodDef(kG, "NewArray", [lC, lB, lD]);var mD = kF.Methods.eUW;var mE = GetMethodDef(kH, "GetEnumerator", [lF]);var mF = GetMethodDef(kE, "get_Current", [lA]);var mG = kD.Methods.eEG;var mH = kD.Methods.eEI;var mI = GetMethodDef(kG, "IsInst", [lD, lH, lD]);var mJ = GetMethodDef(kG, "OneLevelClone", [lD, lD]);var mK = kA.Methods.eJ2;var mL = GetMethodDef(kE, "MoveNext", [lI]);var mM = GetMethodDef(kG, "Constrained", [lD, lC, lD]);var nA = GetMethodRef(lA, "getPostCount", [lB]);var nB = GetMethodRef(lA, "getPost", [lB, lE]);var nC = GetMethodRef(lD, "Equals", [lD, lI]);var nD = GetMethodRef(lJ, "Dispose", [lK]);var gQZ = kA.Initializer({});var gQ0;var gQ1 = kB.Initializer({});var gQ2;var gQ3 = kA.Initializer({});var gQ4 = kC.Initializer({});var gQ5 = kB.Initializer({});var gQ6;var gQ7 = kB.Initializer({});var gQ8;var gQ9 = kC.Initializer({});var gRA = kE.Initializer({});var $next;var $leaveTarget;var $exception;var hBH = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQZ;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQZ = Value;})), kA);var hBI = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gRA;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gRA = Value;})), kE);var hBJ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gQ3;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gQ3 = Value;})), kA);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gQZ = mA(iOZ);mB(hBH, iO0, iO1);var aMA = iOZ;var bGW = aMA._vT.VTable[nA](aMA);gQ0 = mC(kF, bGW);gQ1 = 0;$next = 53;continue; $next = 32;}case 32:
{
stack.push(gQ0);stack.push(gQ1);var aMB = iOZ;var bGX = aMB._vT.VTable[nB](aMB, gQ1);pop(2)[pop(1)] = mD(bGX, iO0, iO1);gQ1 = (gQ1 + 1);$next = 53;}case 53:
{
var br1 = gQ1 < gQ0.length;if (br1 || br1 === "") {
$next = 32;continue; }gRA = mE(instance.fFP);$next = 72;}case 72:
{
$next = 220;continue; $next = 77;}case 77:
{
gQ2 = mF(hBI);var br2 = gQ2 == iOZ;if (br2 || br2 === "") {
$next = 220;continue; }var br3 = mG(gQ2);if (br3 || br3 === "") {
$next = 220;continue; }var br4 = mH(gQ2);if (br4 || br4 === "") {
$next = 220;continue; }var br5 = mI(gQ2, lG);if (br5 || br5 === "") {
$next = 220;continue; }gQ3 = mA(gQ2);var br6 = !mK(hBJ, mJ(gQZ));if (br6 || br6 === "") {
$next = 220;continue; }gQ4 = 0;gQ5 = 0;$next = 197;continue; $next = 142;}case 142:
{
var aMC = gQ2;var bGY = aMC._vT.VTable[nB](aMC, gQ5);gQ6 = bGY;gQ7 = 0;$next = 180;continue; $next = 157;}case 157:
{
gQ8 = gQ0[gQ7];var aMD = gQ6;var bGZ = aMD._vT.VTable[nC](aMD, gQ8);gQ4 = bGZ;gQ7 = (gQ7 + 1);$next = 180;}case 180:
{
var br7 = gQ4;if (br7 || br7 === "") {
$next = 191;continue; }var br8 = gQ7 < gQ0.length;if (br8 || br8 === "") {
$next = 157;continue; }$next = 191;}case 191:
{
gQ5 = (gQ5 + 1);$next = 197;}case 197:
{
var br9 = gQ4;if (br9 || br9 === "") {
$next = 211;continue; }stack.push(gQ5);var aME = gQ2;var bG0 = aME._vT.VTable[nA](aME);var br10 = pop(1) < bG0;if (br10 || br10 === "") {
$next = 142;continue; }$next = 211;}case 211:
{
var br11 = gQ4;if (br11 || br11 === "") {
$next = 220;continue; }gQ9 = 0;stack = [];$next = 234;$leaveTarget = 250;continue; $next = 220;}case 220:
{
var br12 = mL(hBI);if (br12 || br12 === "") {
$next = 77;continue; }stack = [];$next = 234;$leaveTarget = 248;continue; $next = 234;}case 234:
{
var aMF = mM(hBI, kE);aMF._vT.VTable[nD](aMF);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 248;}case 248:
{
return 1;$next = 250;}case 250:
{
return gQ9;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 72:
{
$next = 234;continue; }case 77:
{
$next = 234;continue; }case 142:
{
$next = 234;continue; }case 157:
{
$next = 234;continue; }case 180:
{
$next = 234;continue; }case 191:
{
$next = 234;continue; }case 197:
{
$next = 234;continue; }case 211:
{
$next = 234;continue; }case 220:
{
$next = 234;continue; }default:
throw Catcher;}}};Methods["eUX"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = GetMethodDef(kC, "OneLevelCloneForStruct", [lA, lB, lA]);return mA(instance.fG8, kB);};Methods["eUY"] = function(instance, iO2){
instance.fG8 = iO2;return;};Methods["eUZ"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = GetMethodDef(kA, "OneLevelClone", [lA, lA]);return mB(mA(instance.fG9));};Methods["eU0"] = function(instance, iO3){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kA, "Unbox", [lA, lA]);var mB = GetMethodDef(kA, "OneLevelClone", [lA, lA]);instance.fG9 = mB(mA(iO3));return;};Methods["eLL"] = function(instance, iO4, iO5){
var oA = Assembly.References.cA();var oB = Assembly.References.cB();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(oA, "System.Func`2");var kF = GetTypeDef(oB, "System.Linq.Enumerable");var kG = GetTypeDef(Assembly, "System.Drawing.PointF");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(oA, "System.IntPtr");var lE = GetTypeRef(oA, "System.Void");var lF = ToRef(dI);var lG = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lF]);var lH = GetTypeRef(oA, "System.Func`2");var lI = GetTypeRef(TypeParameters, "TSource");var lJ = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lI]);var lK = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lI]);var lL = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lM = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lN = GetTypeRef(oA, "System.Boolean");var lO = GetTypeRef(oA, "System.IDisposable");var mA = kC.Methods.eQW;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kA.Methods.eEG;var mE = GetMethodDef(kE, ".ctor", [lC, lD, lE]);var mF = GetMethodDef(kF, "Where", [lG, lH, lG]);var mG = GetMethodDef(kF, "ToList", [lJ, lK]);var mH = GetMethodDef(kH, "Box", [lL, lM, lC]);var mI = kG.Methods.eKB;var mJ = GetMethodDef(kH, "Unbox", [lC, lC]);var mK = GetMethodDef(kH, "OneLevelClone", [lC, lC]);var mL = GetMethodDef(kB, "MoveNext", [lN]);var mM = GetMethodDef(kH, "Constrained", [lC, lM, lC]);var mN = kA.Methods.eEI;var mO = kA.Methods.eGL;var mP = kC.Methods.eQY;var nA = GetMethodRef(lO, "Dispose", [lE]);var gRB;var gRC;var gRD = kB.Initializer({});var gRE = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hBK = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gRD;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gRD = Value;})), kB);var hBL = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gRE;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gRE = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
var dup17 = instance;dup17.fHA = (dup17.fHA + 1);var br1 = instance.fHA != 1;if (br1 || br1 === "") {
$next = 48;continue; }instance.fHB = 0;instance.fHC = 0;$next = 48;}case 48:
{
var br2 = !Methods.eO7(instance);if (br2 || br2 === "") {
$next = 71;continue; }var br3 = instance.fHA != 1;if (br3 || br3 === "") {
$next = 71;continue; }Methods.eU1(instance);$next = 71;}case 71:
{
gRD = mB(instance.fFP);$next = 83;}case 83:
{
$next = 183;continue; $next = 85;}case 85:
{
gRB = mC(hBK);var br4 = !mD(gRB);if (br4 || br4 === "") {
$next = 183;continue; }var br5 = Methods.eUU(instance, gRB, iO4, iO5);if (br5 || br5 === "") {
$next = 183;continue; }stack.push(instance);stack.push(instance.fFP);var br6 = Ret.Fields.fED;if (br6 || br6 === "") {
$next = 143;continue; }Ret.Fields.fED = mE({
_vT:kE}, null, Methods.eU2);$next = 143;}case 143:
{
Methods.eUY(pop(2), mG(kA)(mF(pop(1), Ret.Fields.fED)));Methods.eU0(instance, mK(mJ(mI(mH({}, kG), iO4, iO5))));stack = [];$next = 194;$leaveTarget = 356;continue; $next = 183;}case 183:
{
var br7 = mL(hBK);if (br7 || br7 === "") {
$next = 85;continue; }stack = [];$next = 194;$leaveTarget = 208;continue; $next = 194;}case 194:
{
var aMG = mM(hBK, kB);aMG._vT.VTable[nA](aMG);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 344) $next = $leaveTarget; else $next = 344;continue; $next = 208;}case 208:
{
Methods.eUY(instance, null);gRE = mB(instance.fFP);$next = 227;}case 227:
{
$next = 261;continue; $next = 229;}case 229:
{
gRC = mC(hBL);var br8 = mD(gRC);if (br8 || br8 === "") {
$next = 253;continue; }var br9 = !mN(gRC);if (br9 || br9 === "") {
$next = 261;continue; }$next = 253;}case 253:
{
mO(gRC, iO4, iO5);$next = 261;}case 261:
{
var br10 = mL(hBL);if (br10 || br10 === "") {
$next = 229;continue; }stack = [];$next = 272;$leaveTarget = 286;continue; $next = 272;}case 272:
{
var aMH = mM(hBL, kB);aMH._vT.VTable[nA](aMH);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 344) $next = $leaveTarget; else $next = 344;continue; $next = 286;}case 286:
{
var dup18 = instance;dup18.fHB = (dup18.fHB + iO4);var dup19 = instance;dup19.fHC = (dup19.fHC + iO5);var br11 = !Methods.eO7(instance);if (br11 || br11 === "") {
$next = 336;continue; }Methods.eUE(instance);Methods.eU5(instance, iO4, iO5);$next = 336;}case 336:
{
Methods.eMM(instance);stack = [];$next = 344;$leaveTarget = 356;continue; $next = 344;}case 344:
{
mP(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 356;}case 356:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 344;continue; }case 48:
{
$next = 344;continue; }case 71:
{
$next = 344;continue; }case 83:
{
$next = 194;continue; }case 85:
{
$next = 194;continue; }case 143:
{
$next = 194;continue; }case 183:
{
$next = 194;continue; }case 194:
{
$next = 344;continue; }case 208:
{
$next = 344;continue; }case 227:
{
$next = 272;continue; }case 229:
{
$next = 272;continue; }case 253:
{
$next = 272;continue; }case 261:
{
$next = 272;continue; }case 272:
{
$next = 344;continue; }case 286:
{
$next = 344;continue; }case 336:
{
$next = 344;continue; }default:
throw Catcher;}}};Methods["eU5"] = function(instance, iO6, iO7){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Double");var kC = GetTypeDef(Assembly, "Circuit.AutoRoute");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetInstanceDef(oA, "System.Comparison`1", [kC]);var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.AutoRoute");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lE = GetTypeRef(oA, "System.Boolean");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.Void");var lJ = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lA]);var lK = GetTypeRef(oA, "System.IntPtr");var lL = GetInstanceRef(GetTypeRef(oA, "System.Comparison`1"), [lA]);var mA = GetMethodDef(kE, "GetEnumerator", [lD]);var mB = GetMethodDef(kD, "get_Current", [lA]);var mC = kC.Methods.eDO;var mD = GetMethodDef(kD, "MoveNext", [lE]);var mE = GetMethodDef(kF, "Constrained", [lF, lG, lF]);var mF = GetMethodDef(kF, "NewArray", [lG, lC, lF]);var mG = GetMethodDef(kE, ".ctor", [lJ, lI]);var mH = GetMethodDef(kG, ".ctor", [lF, lK, lI]);var mI = GetMethodDef(kE, "Sort", [lL, lI]);var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lH, "Dispose", [lI]);var gRF;var gRG;var gRH = kA.Initializer({});var gRI;var gRJ;var gRK = kA.Initializer({});var gRL = kB.Initializer({});var gRM = kA.Initializer({});var gRN = kB.Initializer({});var gRO = kD.Initializer({});var $next;var $leaveTarget;var $exception;var hBM = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gRO;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gRO = Value;})), kD);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
var br1 = !instance.fHD;if (br1 || br1 === "") {
$next = 21;continue; }var aMI = instance.fHD;var bG1 = aMI._vT.VTable[nA](aMI);var br2 = bG1;if (br2 || br2 === "") {
$next = 22;continue; }$next = 21;}case 21:
{
return;$next = 22;}case 22:
{
gRF = instance.fHD;gRO = mA(gRF);$next = 37;}case 37:
{
$next = 55;continue; $next = 39;}case 39:
{
gRG = mB(hBM);mC(gRG, iO6, iO7);$next = 55;}case 55:
{
var br3 = mD(hBM);if (br3 || br3 === "") {
$next = 39;continue; }stack = [];$next = 66;$leaveTarget = 80;continue; $next = 66;}case 66:
{
var aMJ = mE(hBM, kD);aMJ._vT.VTable[nB](aMJ);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 80;}case 80:
{
gRH = 2;gRI = mF(kB, gRH);gRJ = mF(kE, gRH);gRK = -1;gRL = 0;gRM = 0;$next = 269;continue; $next = 119;}case 119:
{
gRJ[gRM] = mG({
_vT:kE}, gRF);var br4 = gRM;if (br4 || br4 === "") {
$next = 175;continue; }stack.push(gRJ[gRM]);var br5 = Ret.Fields.fEE;if (br5 || br5 === "") {
$next = 163;continue; }Ret.Fields.fEE = mH(null, null, Methods.eU6);$next = 163;}case 163:
{
mI(pop(1), Ret.Fields.fEE);$next = 219;continue; $next = 175;}case 175:
{
var br6 = gRM != 1;if (br6 || br6 === "") {
$next = 219;continue; }stack.push(gRJ[gRM]);var br7 = Ret.Fields.fEF;if (br7 || br7 === "") {
$next = 209;continue; }Ret.Fields.fEF = mH(null, null, Methods.eU9);$next = 209;}case 209:
{
mI(pop(1), Ret.Fields.fEF);$next = 219;}case 219:
{
Methods.eUE(instance);gRN = Methods.eUH(instance, gRJ[gRM]);gRI[gRM] = gRN;var br8 = gRK < 0;if (br8 || br8 === "") {
$next = 255;continue; }var br9 = gRN >= gRL;if (br9 || br9 === "") {
$next = 263;continue; }$next = 255;}case 255:
{
gRK = gRM;gRL = gRN;$next = 263;}case 263:
{
gRM = (gRM + 1);$next = 269;}case 269:
{
var br10 = gRM < gRH;if (br10 || br10 === "") {
$next = 119;continue; }Methods.eUE(instance);Methods.eUH(instance, gRJ[gRK]);return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 37:
{
$next = 66;continue; }case 39:
{
$next = 66;continue; }case 55:
{
$next = 66;continue; }default:
throw Catcher;}}};Methods["eUH"] = function(instance, iO8){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(Assembly, "Circuit.Astar");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.AutoRoute");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lA]);var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerator`1"), [lA]);var lD = GetTypeRef(oA, "System.Collections.IEnumerator");var lE = GetTypeRef(oA, "System.Boolean");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var mA = kB.Methods.eBL;var mB = kB.Methods.eCG;var nA = GetMethodRef(lB, "GetEnumerator", [lC]);var nB = GetMethodRef(lC, "get_Current", [lA]);var nC = GetMethodRef(lD, "MoveNext", [lE]);var nD = GetMethodRef(lF, "Dispose", [lG]);var gRP = kA.Initializer({});var gRQ;var gRR;var gRS = kA.Initializer({});var gRT;var gRU;var $next;var $leaveTarget;var $exception;var hBN = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kE}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gRS;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gRS = Value;})), kA);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gRP = 0;var aMK = iO8;var bG2 = aMK._vT.VTable[nA](aMK);gRU = bG2;$next = 18;}case 18:
{
$next = 130;continue; $next = 20;}case 20:
{
var aML = gRU;var bG3 = aML._vT.VTable[nB](aML);gRQ = bG3;gRR = mA({
_vT:kB}, instance, instance.fFP, gRQ.fAR, gRQ.fAS);Methods.eUA(instance);gRS = 0;gRT = mB(gRR, gRQ.fAP, gRQ.fAQ, hBN);gRP = (gRP + gRS);var br1 = !gRT;if (br1 || br1 === "") {
$next = 110;continue; }Methods.eVA(instance, gRT, gRQ);$next = 130;continue; $next = 110;}case 110:
{
Methods.eVB(instance, gRQ.fAP, gRQ.fAQ, gRQ);$next = 130;}case 130:
{
var aMM = gRU;var bG4 = aMM._vT.VTable[nC](aMM);var br2 = bG4;if (br2 || br2 === "") {
$next = 20;continue; }stack = [];$next = 141;$leaveTarget = 153;continue; $next = 141;}case 141:
{
var br3 = !gRU;if (br3 || br3 === "") {
$next = 152;continue; }var aMN = gRU;aMN._vT.VTable[nD](aMN);$next = 152;}case 152:
{
if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 153;}case 153:
{
return gRP;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 18:
{
$next = 141;continue; }case 20:
{
$next = 141;continue; }case 110:
{
$next = 141;continue; }case 130:
{
$next = 141;continue; }default:
throw Catcher;}}};Methods["eVA"] = function(instance, iO9, iPA){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Boolean");var kB = GetTypeDef(oA, "System.Double");var kC = GetTypeDef(oA, "System.Int32");var kD = GetTypeDef(Assembly, "Circuit.CircuitPoint");var lA = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var mA = kD.Methods.eDR;var nA = GetMethodRef(lB, "get_Item", [lC, lA]);var nB = GetMethodRef(lB, "get_Count", [lC]);var gRV = kA.Initializer({});var gRW = kB.Initializer({});var gRX;var gRY = kC.Initializer({});var gRZ;var gR0 = kB.Initializer({});var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gRV = 0;gRW = 0;gRX = null;gRY = 0;$next = 84;continue; $next = 18;}case 18:
{
stack.push(instance);var aMO = iO9;var bG5 = aMO._vT.VTable[nA](aMO, gRY);stack.push(bG5);var aMP = iO9;var bG6 = aMP._vT.VTable[nA](aMP, gRY + 1);gRZ = Methods.eVB(pop(2), pop(1), bG6, null);gR0 = mA(gRZ.fO, gRZ.fP);var br1 = !gRV;if (br1 || br1 === "") {
$next = 72;continue; }var br2 = gR0 <= gRW;if (br2 || br2 === "") {
$next = 80;continue; }$next = 72;}case 72:
{
gRW = gR0;gRX = gRZ;gRV = 1;$next = 80;}case 80:
{
gRY = (gRY + 1);$next = 84;}case 84:
{
stack.push(gRY);var aMQ = iO9;var bG7 = aMQ._vT.VTable[nB](aMQ);var br3 = pop(1) < (bG7 - 1);if (br3 || br3 === "") {
$next = 18;continue; }var br4 = !gRX;if (br4 || br4 === "") {
$next = 109;continue; }var br5 = !iPA;if (br5 || br5 === "") {
$next = 109;continue; }Methods.eVC(instance, gRX, iPA);$next = 109;}case 109:
{
return;}}};Methods["eVC"] = function(instance, iPB, iPC){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.ScopeTrack");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(oA, "System.String");var kD = GetTypeDef(Assembly, "Circuit.CircuitElm");var kE = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetTypeDef(Assembly, "Circuit.Scope");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.String");var lB = GetTypeRef(oA, "System.Boolean");var lC = GetTypeRef(Assembly, "Circuit.ScopeTrack");var lD = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lC]);var lE = GetTypeRef(Assembly, "Circuit.ScopeValueRef");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lI = GetTypeRef(oA, "System.IDisposable");var lJ = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kC, "IsNullOrEmpty", [lA, lB]);var mB = kD.Methods.eBB;var mC = kE.Methods.eVD;var mD = kE.Methods.eVE;var mE = GetMethodDef(kF, "GetEnumerator", [lD]);var mF = GetMethodDef(kB, "get_Current", [lC]);var mG = kA.Methods.eVF;var mH = GetMethodDef(kG, "IsInst", [lF, lG, lF]);var mI = kA.Methods.eVG;var mJ = kA.Methods.eRD;var mK = kH.Methods.eVH;var mL = kD.Methods.eEN;var mM = GetMethodDef(kB, "MoveNext", [lB]);var mN = GetMethodDef(kG, "Constrained", [lF, lH, lF]);var nA = GetMethodRef(lI, "Dispose", [lJ]);var gR1;var gR2;var gR3 = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hBO = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gR3;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gR3 = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
var br1 = mA(iPC.fAU);if (br1 || br1 === "") {
$next = 25;continue; }mB(iPB, iPC.fAU);$next = 25;}case 25:
{
mC(iPB, iPC.fAV);mD(iPB, iPC.fAW);var br2 = !iPC.fAT;if (br2 || br2 === "") {
$next = 157;continue; }gR3 = mE(iPC.fAT);$next = 69;}case 69:
{
$next = 132;continue; $next = 71;}case 71:
{
gR1 = mF(hBO);gR2 = mH(mG(gR1), lE);var br3 = !gR2;if (br3 || br3 === "") {
$next = 132;continue; }mK(mI(gR1), iPB, gR2.fHE, mJ(gR1), 1);mL(iPB, mJ(gR1));$next = 132;}case 132:
{
var br4 = mM(hBO);if (br4 || br4 === "") {
$next = 71;continue; }stack = [];$next = 143;$leaveTarget = 157;continue; $next = 143;}case 143:
{
var aMR = mN(hBO, kB);aMR._vT.VTable[nA](aMR);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 157;}case 157:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 69:
{
$next = 143;continue; }case 71:
{
$next = 143;continue; }case 132:
{
$next = 143;continue; }default:
throw Catcher;}}};Methods["eVI"] = function(instance, iPD){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kE = GetTypeDef(Assembly, "Circuit.PostRef");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(oA, "System.Boolean");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kD, "GetEnumerator", [lB]);var mB = GetMethodDef(kC, "get_Current", [lA]);var mC = kE.Methods.eC5;var mD = GetMethodDef(kC, "MoveNext", [lF]);var mE = GetMethodDef(kF, "Constrained", [lE, lG, lE]);var nA = GetMethodRef(lA, "getPost", [lC, lD]);var nB = GetMethodRef(lE, "Equals", [lE, lF]);var nC = GetMethodRef(lA, "getPostCount", [lC]);var nD = GetMethodRef(lH, "Dispose", [lI]);var gR4;var gR5 = kA.Initializer({});var gR6;var gR7;var gR8 = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hBP = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gR8;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gR8 = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gR8 = mA(instance.fFP);$next = 13;}case 13:
{
$next = 67;continue; $next = 15;}case 15:
{
gR4 = mB(hBP);gR5 = 0;$next = 58;continue; $next = 27;}case 27:
{
var aMS = gR4;var bG8 = aMS._vT.VTable[nA](aMS, gR5);gR6 = bG8;var aMT = gR6;var bG9 = aMT._vT.VTable[nB](aMT, iPD);var br1 = !bG9;if (br1 || br1 === "") {
$next = 54;continue; }gR7 = mC({
_vT:kE}, gR4, gR5);stack = [];$next = 78;$leaveTarget = 94;continue; $next = 54;}case 54:
{
gR5 = (gR5 + 1);$next = 58;}case 58:
{
stack.push(gR5);var aMU = gR4;var bHA = aMU._vT.VTable[nC](aMU);var br2 = pop(1) < bHA;if (br2 || br2 === "") {
$next = 27;continue; }$next = 67;}case 67:
{
var br3 = mD(hBP);if (br3 || br3 === "") {
$next = 15;continue; }stack = [];$next = 78;$leaveTarget = 92;continue; $next = 78;}case 78:
{
var aMV = mE(hBP, kC);aMV._vT.VTable[nD](aMV);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 92;}case 92:
{
return null;$next = 94;}case 94:
{
return gR7;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 13:
{
$next = 78;continue; }case 15:
{
$next = 78;continue; }case 27:
{
$next = 78;continue; }case 54:
{
$next = 78;continue; }case 58:
{
$next = 78;continue; }case 67:
{
$next = 78;continue; }default:
throw Catcher;}}};Methods["eMZ"] = function(instance, iPE, iPF){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Double");var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Assembly, "Circuit.Astar");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lG = GetTypeRef(Assembly, "Circuit.CircuitElm");var mA = kC.Methods.eQW;var mB = kD.Methods.eB2;var mC = GetMethodDef(kE, "IsInst", [lE, lF, lE]);var mD = kF.Methods.eBL;var mE = kF.Methods.eCG;var mF = kC.Methods.eQY;var nA = GetMethodRef(lB, "get_Item", [lC, lA]);var nB = GetMethodRef(lB, "get_Count", [lC]);var nC = GetMethodRef(lG, "GetPostDirection", [lC, lC]);var gR9 = kA.Initializer({});var gSA = kA.Initializer({});var gSB;var gSC;var gSD;var gSE;var gSF;var gSG = kB.Initializer({});var gSH;var gSI = kA.Initializer({});var $next;var $leaveTarget;var $exception;var hBQ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gSG;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gSG = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
Methods.eUA(instance);Methods.eUE(instance);var aMW = iPE;var bHB = aMW._vT.VTable[nA](aMW, 0);stack.push(bHB);stack.push(iPE);var aMX = iPE;var bHC = aMX._vT.VTable[nB](aMX);var aMY = pop(1);var bHD = aMY._vT.VTable[nA](aMY, bHC - 1);gR9 = mB(pop(1), bHD);gSA = 0;var aMZ = iPE;var bHE = aMZ._vT.VTable[nA](aMZ, 0);gSB = bHE;stack.push(iPE);var aM0 = iPE;var bHF = aM0._vT.VTable[nB](aM0);var aM1 = pop(1);var bHG = aM1._vT.VTable[nA](aM1, bHF - 1);gSC = bHG;gSD = Methods.eVI(instance, gSB);gSE = Methods.eVI(instance, gSC);var br1 = !gSD;if (br1 || br1 === "") {
$next = 131;continue; }var br2 = mC(gSD.fAD, lD);if (br2 || br2 === "") {
$next = 131;continue; }var aM2 = gSD.fAD;var bHH = aM2._vT.VTable[nC](aM2, gSD.fAE);gR9 = bHH;$next = 131;}case 131:
{
var br3 = !gSE;if (br3 || br3 === "") {
$next = 169;continue; }var br4 = mC(gSE.fAD, lD);if (br4 || br4 === "") {
$next = 169;continue; }var aM3 = gSE.fAD;var bHI = aM3._vT.VTable[nC](aM3, gSE.fAE);gSA = bHI;$next = 169;}case 169:
{
gSF = mD({
_vT:kF}, instance, instance.fFP, gR9, gSA);gSG = 0;gSH = mE(gSF, gSB, gSC, hBQ);var br5 = !gSH;if (br5 || br5 === "") {
$next = 267;continue; }gSI = 0;$next = 252;continue; $next = 218;}case 218:
{
stack.push(instance);var aM4 = gSH;var bHJ = aM4._vT.VTable[nA](aM4, gSI);stack.push(bHJ);var aM5 = gSH;var bHK = aM5._vT.VTable[nA](aM5, gSI + 1);Methods.eVB(pop(2), pop(1), bHK, null);gSI = (gSI + 1);$next = 252;}case 252:
{
stack.push(gSI);var aM6 = gSH;var bHL = aM6._vT.VTable[nB](aM6);var br6 = pop(1) < (bHL - 1);if (br6 || br6 === "") {
$next = 218;continue; }$next = 296;continue; $next = 267;}case 267:
{
stack.push(instance);var aM7 = iPE;var bHM = aM7._vT.VTable[nA](aM7, 0);stack.push(bHM);stack.push(iPE);var aM8 = iPE;var bHN = aM8._vT.VTable[nB](aM8);var aM9 = pop(1);var bHO = aM9._vT.VTable[nA](aM9, bHN - 1);Methods.eVB(pop(2), pop(1), bHO, null);$next = 296;}case 296:
{
stack = [];$next = 298;$leaveTarget = 310;continue; $next = 298;}case 298:
{
mF(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 310;}case 310:
{
var br7 = !iPF;if (br7 || br7 === "") {
$next = 319;continue; }Methods.eVJ(instance);$next = 319;}case 319:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 298;continue; }case 131:
{
$next = 298;continue; }case 169:
{
$next = 298;continue; }case 218:
{
$next = 298;continue; }case 252:
{
$next = 298;continue; }case 267:
{
$next = 298;continue; }case 296:
{
$next = 298;continue; }default:
throw Catcher;}}};Methods["eVB"] = function(instance, iPG, iPH, iPI){
var kA = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var mA = kA.Methods.eUO;var gSJ;var $next;$next = 0;while (true) switch($next){case 0:
{
gSJ = Methods.eMP(kA)(instance, iPG.fE, iPG.fS, iPH.fE, iPH.fS);mA(gSJ, 1);var br1 = !iPI;if (br1 || br1 === "") {
$next = 49;continue; }Methods.eVC(instance, gSJ, iPI);$next = 49;}case 49:
{
Methods.eQX(instance, gSJ);return gSJ;}}};Methods["eMY"] = function(instance, iPJ){
var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var mA = kA.Methods.eQW;var mB = kA.Methods.eQY;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
Methods.eUE(instance);stack = [];$next = 19;$leaveTarget = 31;continue; $next = 19;}case 19:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 31;}case 31:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 19;continue; }default:
throw Catcher;}}};Methods["eUE"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lB]);var lD = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lB]);var lI = GetTypeRef(oA, "System.Boolean");var lJ = GetTypeRef(oA, "System.IDisposable");var mA = GetMethodDef(kC, ".ctor", [lA]);var mB = GetMethodDef(kC, "GetEnumerator", [lC]);var mC = GetMethodDef(kB, "get_Current", [lB]);var mD = GetMethodDef(kD, "IsInst", [lE, lF, lE]);var mE = GetMethodDef(kD, "CastClass", [lG, lE, lE]);var mF = kE.Methods.eVK;var mG = GetMethodDef(kB, "MoveNext", [lI]);var mH = GetMethodDef(kD, "Constrained", [lE, lG, lE]);var nA = GetMethodRef(lB, "delete", [lA]);var nB = GetMethodRef(lH, "Add", [lB, lA]);var nC = GetMethodRef(lJ, "Dispose", [lA]);var gSK;var gSL;var gSM = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hBR = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gSM;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gSM = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gSK = mA({
_vT:kC});gSM = mB(instance.fFP);$next = 18;}case 18:
{
$next = 64;continue; $next = 20;}case 20:
{
gSL = mC(hBR);var br1 = !mD(gSL, lD);if (br1 || br1 === "") {
$next = 57;continue; }var br2 = !mF(mE(kE, gSL));if (br2 || br2 === "") {
$next = 57;continue; }var aNA = gSL;aNA._vT.VTable[nA](aNA);$next = 64;continue; $next = 57;}case 57:
{
var aNB = gSK;aNB._vT.VTable[nB](aNB, gSL);$next = 64;}case 64:
{
var br3 = mG(hBR);if (br3 || br3 === "") {
$next = 20;continue; }stack = [];$next = 75;$leaveTarget = 89;continue; $next = 75;}case 75:
{
var aNC = mH(hBR, kB);aNC._vT.VTable[nC](aNC);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 89;}case 89:
{
instance.fFP = gSK;return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 18:
{
$next = 75;continue; }case 20:
{
$next = 75;continue; }case 57:
{
$next = 75;continue; }case 64:
{
$next = 75;continue; }default:
throw Catcher;}}};Methods["eVJ"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lG = GetTypeRef(oA, "System.Boolean");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.Void");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = GetMethodDef(kE, "IsInst", [lD, lE, lD]);var mE = GetMethodDef(kE, "CastClass", [lF, lD, lD]);var mF = kF.Methods.eUO;var mG = GetMethodDef(kB, "MoveNext", [lG]);var mH = GetMethodDef(kE, "Constrained", [lD, lF, lD]);var mI = kC.Methods.eQM;var nA = GetMethodRef(lH, "Dispose", [lI]);var gSN;var gSO = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hBS = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gSO;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gSO = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gSO = mB(instance.fFP);$next = 23;}case 23:
{
$next = 53;continue; $next = 25;}case 25:
{
gSN = mC(hBS);var br1 = !mD(gSN, lC);if (br1 || br1 === "") {
$next = 53;continue; }mF(mE(kF, gSN), 0);$next = 53;}case 53:
{
var br2 = mG(hBS);if (br2 || br2 === "") {
$next = 25;continue; }stack = [];$next = 64;$leaveTarget = 78;continue; $next = 64;}case 64:
{
var aND = mH(hBS, kB);aND._vT.VTable[nA](aND);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 80) $next = $leaveTarget; else $next = 80;continue; $next = 78;}case 78:
{
stack = [];$next = 80;$leaveTarget = 92;continue; $next = 80;}case 80:
{
mI(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 92;}case 92:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 80;continue; }case 23:
{
$next = 64;continue; }case 25:
{
$next = 64;continue; }case 53:
{
$next = 64;continue; }case 64:
{
$next = 80;continue; }case 78:
{
$next = 80;continue; }default:
throw Catcher;}}};Methods["eU1"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "Circuit.PostRef");var kD = GetTypeDef(Assembly, "Circuit.Connections");var kE = GetInstanceDef(oA, "System.Collections.Generic.Dictionary`2$2b$ValueCollection$2b$Enumerator", [kC, kD]);var kF = GetTypeDef(Assembly, "Circuit.ConnectionPath");var kG = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kF]);var kH = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kI = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kK = GetInstanceDef(oA, "System.Collections.Generic.Dictionary`2", [kC, kD]);var kL = GetInstanceDef(oA, "System.Collections.Generic.Dictionary`2$2b$ValueCollection", [kC, kD]);var kM = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kF]);var kN = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kO = GetTypeDef(Assembly, "Circuit.AutoRoute");var kP = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kO]);var kQ = GetTypeDef(Assembly, "Circuit.CircuitPoint");var kR = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kS = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kT = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kU = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var lH = GetTypeRef(Assembly, "Circuit.PostRef");var lI = GetTypeRef(Assembly, "Circuit.Connections");var lJ = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.Dictionary`2$2b$ValueCollection"), [lH, lI]);var lK = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.Dictionary`2$2b$ValueCollection$2b$Enumerator"), [lH, lI]);var lL = GetTypeRef(Assembly, "Circuit.ConnectionPath");var lM = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lL]);var lN = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lL]);var lO = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lH]);var lP = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lQ = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lR = GetTypeRef(Assembly, "Circuit.AutoRoute");var lS = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lR]);var mA = GetMethodDef(kI, "GetEnumerator", [lB]);var mB = GetMethodDef(kB, "get_Current", [lA]);var mC = kA.Methods.eEJ;var mD = GetMethodDef(kB, "MoveNext", [lC]);var mE = GetMethodDef(kJ, "Constrained", [lD, lE, lD]);var mF = GetMethodDef(kK, ".ctor", [lG]);var mG = GetMethodDef(kK, "get_Values", [lJ]);var mH = GetMethodDef(kL, "GetEnumerator", [lK]);var mI = GetMethodDef(kE, "get_Current", [lI]);var mJ = GetMethodDef(kM, ".ctor", [lG]);var mK = GetMethodDef(kM, "GetEnumerator", [lM]);var mL = GetMethodDef(kG, "get_Current", [lL]);var mM = kF.Methods.eC2;var mN = kF.Methods.eDG;var mO = kA.Methods.eEG;var mP = kA.Methods.eG6;var mQ = GetMethodDef(kG, "MoveNext", [lC]);var mR = GetMethodDef(kN, "GetEnumerator", [lO]);var mS = GetMethodDef(kH, "get_Current", [lH]);var mT = GetMethodDef(kH, "MoveNext", [lC]);var mU = GetMethodDef(kE, "MoveNext", [lC]);var mV = GetMethodDef(kP, ".ctor", [lG]);var mW = kF.Methods.eDE;var mX = kQ.Methods.eUW;var mY = kO.Methods.eDP;var mZ = GetMethodDef(kJ, "IsInst", [lD, lQ, lD]);var mAA = GetMethodDef(kJ, "CastClass", [lE, lD, lD]);var mAB = kO.Methods.eDI;var nA = GetMethodRef(lF, "Dispose", [lG]);var nB = GetMethodRef(lN, "Add", [lL, lG]);var nC = GetMethodRef(lN, "Remove", [lL, lC]);var nD = GetMethodRef(lS, "Add", [lR, lG]);var gSP;var gSQ;var gSR;var gSS;var gST;var gSU;var gSV;var gSW;var gSX;var gSY;var gSZ;var gS0;var gS1;var gS2;var gS3 = kB.Initializer({});var gS4 = kE.Initializer({});var gS5 = kG.Initializer({});var gS6 = kB.Initializer({});var gS7 = kG.Initializer({});var gS8 = kH.Initializer({});var gS9 = kE.Initializer({});var gTA = kG.Initializer({});var gTB = kH.Initializer({});var $next;var $leaveTarget;var $exception;var hBT = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gS3;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gS3 = Value;})), kB);var hBU = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gS4;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gS4 = Value;})), kE);var hBV = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gS5;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gS5 = Value;})), kG);var hBW = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gS6;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gS6 = Value;})), kB);var hBX = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gS7;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gS7 = Value;})), kG);var hBY = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gS8;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gS8 = Value;})), kH);var hBZ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gS9;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gS9 = Value;})), kE);var hB0 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gTA;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gTA = Value;})), kG);var hB1 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kU}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gTB;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gTB = Value;})), kH);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gS3 = mA(instance.fFP);$next = 13;}case 13:
{
$next = 30;continue; $next = 15;}case 15:
{
gSP = mB(hBT);mC(gSP, 0);$next = 30;}case 30:
{
var br1 = mD(hBT);if (br1 || br1 === "") {
$next = 15;continue; }stack = [];$next = 41;$leaveTarget = 55;continue; $next = 41;}case 41:
{
var aNE = mE(hBT, kB);aNE._vT.VTable[nA](aNE);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 55;}case 55:
{
instance.fHF = mF({
_vT:kK});Methods.eVL(instance, 1);gS4 = mH(mG(instance.fHF));$next = 91;}case 91:
{
$next = 371;continue; $next = 96;}case 96:
{
gSQ = mI(hBU);gSR = mJ({
_vT:kM});gS5 = mK(gSQ.fAC);$next = 123;}case 123:
{
$next = 225;continue; $next = 125;}case 125:
{
gSS = mL(hBV);var br2 = !mM(gSS);if (br2 || br2 === "") {
$next = 225;continue; }gST = mN(gSS);gS6 = mA(instance.fFP);$next = 162;}case 162:
{
$next = 200;continue; $next = 164;}case 164:
{
gSU = mB(hBW);var br3 = !mO(gSU);if (br3 || br3 === "") {
$next = 200;continue; }var br4 = !mP(gSU, gST);if (br4 || br4 === "") {
$next = 200;continue; }var aNF = gSR;aNF._vT.VTable[nB](aNF, gSS);$next = 200;}case 200:
{
var br5 = mD(hBW);if (br5 || br5 === "") {
$next = 164;continue; }stack = [];$next = 211;$leaveTarget = 225;continue; $next = 211;}case 211:
{
var aNG = mE(hBW, kB);aNG._vT.VTable[nA](aNG);if ($exception) throw $exception;if (123 <= $leaveTarget && $leaveTarget < 236) $next = $leaveTarget; else $next = 236;continue; $next = 225;}case 225:
{
var br6 = mQ(hBV);if (br6 || br6 === "") {
$next = 125;continue; }stack = [];$next = 236;$leaveTarget = 250;continue; $next = 236;}case 236:
{
var aNH = mE(hBV, kG);aNH._vT.VTable[nA](aNH);if ($exception) throw $exception;if (91 <= $leaveTarget && $leaveTarget < 385) $next = $leaveTarget; else $next = 385;continue; $next = 250;}case 250:
{
gS7 = mK(gSR);$next = 258;}case 258:
{
$next = 346;continue; $next = 260;}case 260:
{
gSV = mL(hBX);var aNI = gSQ.fAC;var bHP = aNI._vT.VTable[nC](aNI, gSV);bHP;gS8 = mR(gSV.fAH);$next = 297;}case 297:
{
$next = 321;continue; $next = 299;}case 299:
{
gSW = mS(hBY);mC(gSW.fAD, 1);$next = 321;}case 321:
{
var br7 = mT(hBY);if (br7 || br7 === "") {
$next = 299;continue; }stack = [];$next = 332;$leaveTarget = 346;continue; $next = 332;}case 332:
{
var aNJ = mE(hBY, kH);aNJ._vT.VTable[nA](aNJ);if ($exception) throw $exception;if (258 <= $leaveTarget && $leaveTarget < 357) $next = $leaveTarget; else $next = 357;continue; $next = 346;}case 346:
{
var br8 = mQ(hBX);if (br8 || br8 === "") {
$next = 260;continue; }stack = [];$next = 357;$leaveTarget = 371;continue; $next = 357;}case 357:
{
var aNK = mE(hBX, kG);aNK._vT.VTable[nA](aNK);if ($exception) throw $exception;if (91 <= $leaveTarget && $leaveTarget < 385) $next = $leaveTarget; else $next = 385;continue; $next = 371;}case 371:
{
var br9 = mU(hBU);if (br9 || br9 === "") {
$next = 96;continue; }stack = [];$next = 385;$leaveTarget = 399;continue; $next = 385;}case 385:
{
var aNL = mE(hBU, kE);aNL._vT.VTable[nA](aNL);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 399;}case 399:
{
gSX = mV({
_vT:kP});gS9 = mH(mG(instance.fHF));$next = 424;}case 424:
{
$next = 700;continue; $next = 429;}case 429:
{
gSY = mI(hBZ);gTA = mK(gSY.fAC);$next = 452;}case 452:
{
$next = 672;continue; $next = 457;}case 457:
{
gSZ = mL(hB0);gS0 = mX(mW(gSZ), 0, 0);gS1 = null;var br10 = !mM(gSZ);if (br10 || br10 === "") {
$next = 589;continue; }gS1 = mY({
_vT:kO}, gSZ, gS0);gTB = mR(gSZ.fAH);$next = 519;}case 519:
{
$next = 564;continue; $next = 521;}case 521:
{
gS2 = mS(hB1);var br11 = !mZ(gS2.fAD, lP);if (br11 || br11 === "") {
$next = 564;continue; }Methods.eUK(instance, mAA(kR, gS2.fAD), gS1);$next = 564;}case 564:
{
var br12 = mT(hB1);if (br12 || br12 === "") {
$next = 521;continue; }stack = [];$next = 575;$leaveTarget = 607;continue; $next = 575;}case 575:
{
var aNM = mE(hB1, kH);aNM._vT.VTable[nA](aNM);if ($exception) throw $exception;if (452 <= $leaveTarget && $leaveTarget < 686) $next = $leaveTarget; else $next = 686;continue; $next = 589;}case 589:
{
gS1 = mAB({
_vT:kO}, gSZ, gS0, mN(gSZ));$next = 607;}case 607:
{
gS1.fAR = gSY.fAB.fAG;gS1.fAS = 0;var br13 = !gSZ.fAI;if (br13 || br13 === "") {
$next = 663;continue; }gS1.fAS = -gSZ.fAI.fAG;$next = 663;}case 663:
{
var aNN = gSX;aNN._vT.VTable[nD](aNN, gS1);$next = 672;}case 672:
{
var br14 = mQ(hB0);if (br14 || br14 === "") {
$next = 457;continue; }stack = [];$next = 686;$leaveTarget = 700;continue; $next = 686;}case 686:
{
var aNO = mE(hB0, kG);aNO._vT.VTable[nA](aNO);if ($exception) throw $exception;if (424 <= $leaveTarget && $leaveTarget < 714) $next = $leaveTarget; else $next = 714;continue; $next = 700;}case 700:
{
var br15 = mU(hBZ);if (br15 || br15 === "") {
$next = 429;continue; }stack = [];$next = 714;$leaveTarget = 728;continue; $next = 714;}case 714:
{
var aNP = mE(hBZ, kE);aNP._vT.VTable[nA](aNP);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 728;}case 728:
{
instance.fHD = gSX;return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 13:
{
$next = 41;continue; }case 15:
{
$next = 41;continue; }case 30:
{
$next = 41;continue; }case 91:
{
$next = 385;continue; }case 96:
{
$next = 385;continue; }case 123:
{
$next = 236;continue; }case 125:
{
$next = 236;continue; }case 162:
{
$next = 211;continue; }case 164:
{
$next = 211;continue; }case 200:
{
$next = 211;continue; }case 211:
{
$next = 236;continue; }case 225:
{
$next = 236;continue; }case 236:
{
$next = 385;continue; }case 250:
{
$next = 385;continue; }case 258:
{
$next = 357;continue; }case 260:
{
$next = 357;continue; }case 297:
{
$next = 332;continue; }case 299:
{
$next = 332;continue; }case 321:
{
$next = 332;continue; }case 332:
{
$next = 357;continue; }case 346:
{
$next = 357;continue; }case 357:
{
$next = 385;continue; }case 371:
{
$next = 385;continue; }case 424:
{
$next = 714;continue; }case 429:
{
$next = 714;continue; }case 452:
{
$next = 686;continue; }case 457:
{
$next = 686;continue; }case 519:
{
$next = 575;continue; }case 521:
{
$next = 575;continue; }case 564:
{
$next = 575;continue; }case 575:
{
$next = 686;continue; }case 589:
{
$next = 686;continue; }case 607:
{
$next = 686;continue; }case 663:
{
$next = 686;continue; }case 672:
{
$next = 686;continue; }case 686:
{
$next = 714;continue; }case 700:
{
$next = 714;continue; }default:
throw Catcher;}}};Methods["eVL"] = function(instance, iPK){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.PostRef");var lD = GetTypeRef(Assembly, "Circuit.Connections");var lE = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.Dictionary`2"), [lC, lD]);var lF = GetTypeRef(oA, "System.Void");var lG = GetTypeRef(oA, "System.Int32");var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(oA, "System.Object");var lJ = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lK = GetTypeRef(oA, "System.IDisposable");var mA = GetMethodDef(kD, "GetEnumerator", [lB]);var mB = GetMethodDef(kC, "get_Current", [lA]);var mC = kB.Methods.eEG;var mD = kB.Methods.eEI;var mE = GetMethodDef(kC, "MoveNext", [lH]);var mF = GetMethodDef(kE, "Constrained", [lI, lJ, lI]);var nA = GetMethodRef(lE, "set_Item", [lC, lD, lF]);var nB = GetMethodRef(lA, "getPostCount", [lG]);var nC = GetMethodRef(lK, "Dispose", [lF]);var gTC;var gTD = kA.Initializer({});var gTE;var gTF = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hB2 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gTF;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gTF = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gTF = mA(instance.fFP);$next = 12;}case 12:
{
$next = 84;continue; $next = 14;}case 14:
{
gTC = mB(hB2);var br1 = mC(gTC);if (br1 || br1 === "") {
$next = 38;continue; }var br2 = !mD(gTC);if (br2 || br2 === "") {
$next = 84;continue; }$next = 38;}case 38:
{
gTD = 0;$next = 75;continue; $next = 42;}case 42:
{
gTE = Methods.eUI(instance, gTC, gTD, 1, 1);var aNQ = instance.fHF;aNQ._vT.VTable[nA](aNQ, gTE.fAB, gTE);gTD = (gTD + 1);$next = 75;}case 75:
{
stack.push(gTD);var aNR = gTC;var bHQ = aNR._vT.VTable[nB](aNR);var br3 = pop(1) < bHQ;if (br3 || br3 === "") {
$next = 42;continue; }$next = 84;}case 84:
{
var br4 = mE(hB2);if (br4 || br4 === "") {
$next = 14;continue; }stack = [];$next = 95;$leaveTarget = 109;continue; $next = 95;}case 95:
{
var aNS = mF(hB2, kC);aNS._vT.VTable[nC](aNS);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 109;}case 109:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 12:
{
$next = 95;continue; }case 14:
{
$next = 95;continue; }case 38:
{
$next = 95;continue; }case 42:
{
$next = 95;continue; }case 75:
{
$next = 95;continue; }case 84:
{
$next = 95;continue; }default:
throw Catcher;}}};Methods["eUI"] = function(instance, iPL, iPM, iPN, iPO){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetTypeDef(Assembly, "Circuit.ConnectionPath");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kD]);var kF = GetTypeDef(Assembly, "Circuit.PostRef");var kG = GetTypeDef(Assembly, "Circuit.Connections");var kH = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kJ = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kD]);var kK = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kF]);var kL = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kM = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kN = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.ConnectionPath");var lD = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lC]);var lE = GetTypeRef(oA, "System.Void");var lF = GetTypeRef(oA, "System.Boolean");var lG = GetTypeRef(oA, "System.Object");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lI = GetTypeRef(oA, "System.IDisposable");var lJ = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lC]);var lK = GetTypeRef(Assembly, "Circuit.PostRef");var lL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lK]);var lM = GetTypeRef(oA, "System.Int32");var lN = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lO = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var mA = kF.Methods.eC5;var mB = kG.Methods.eCY;var mC = GetMethodDef(kH, "GetEnumerator", [lB]);var mD = GetMethodDef(kC, "get_Current", [lA]);var mE = kB.Methods.eEG;var mF = kB.Methods.eEI;var mG = kD.Methods.eDD;var mH = GetMethodDef(kC, "MoveNext", [lF]);var mI = GetMethodDef(kI, "Constrained", [lG, lH, lG]);var mJ = GetMethodDef(kJ, "GetEnumerator", [lJ]);var mK = GetMethodDef(kE, "get_Current", [lC]);var mL = kD.Methods.eDC;var mM = GetMethodDef(kK, "RemoveRange", [lM, lM, lE]);var mN = GetMethodDef(kI, "IsInst", [lG, lO, lG]);var mO = GetMethodDef(kE, "MoveNext", [lF]);var nA = GetMethodRef(lD, "Add", [lC, lE]);var nB = GetMethodRef(lI, "Dispose", [lE]);var nC = GetMethodRef(lL, "Add", [lK, lE]);var nD = GetMethodRef(lL, "get_Count", [lM]);var nE = GetMethodRef(lL, "RemoveAt", [lM, lE]);var gTG;var gTH;var gTI;var gTJ;var gTK;var gTL = kA.Initializer({});var gTM;var gTN = kA.Initializer({});var gTO;var gTP;var gTQ = kC.Initializer({});var gTR = kE.Initializer({});var gTS = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hB3 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kN}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gTQ;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gTQ = Value;})), kC);var hB4 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kN}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gTR;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gTR = Value;})), kE);var hB5 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kN}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gTS;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gTS = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gTG = mA({
_vT:kF}, iPL, iPM);gTH = mB({
_vT:kG}, gTG);gTQ = mC(instance.fFP);$next = 28;}case 28:
{
$next = 95;continue; $next = 30;}case 30:
{
gTI = mD(hB3);var br1 = !iPN;if (br1 || br1 === "") {
$next = 45;continue; }var br2 = gTI == iPL;if (br2 || br2 === "") {
$next = 95;continue; }$next = 45;}case 45:
{
var br3 = !iPO;if (br3 || br3 === "") {
$next = 65;continue; }var br4 = mE(gTI);if (br4 || br4 === "") {
$next = 95;continue; }var br5 = mF(gTI);if (br5 || br5 === "") {
$next = 95;continue; }$next = 65;}case 65:
{
gTJ = Methods.eT8(instance, iPL, iPM, gTI);var br6 = !gTJ;if (br6 || br6 === "") {
$next = 95;continue; }var aNT = gTH.fAC;aNT._vT.VTable[nA](aNT, mG({
_vT:kD}, gTJ));$next = 95;}case 95:
{
var br7 = mH(hB3);if (br7 || br7 === "") {
$next = 30;continue; }stack = [];$next = 106;$leaveTarget = 120;continue; $next = 106;}case 106:
{
var aNU = mI(hB3, kC);aNU._vT.VTable[nB](aNU);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 120;}case 120:
{
gTR = mJ(gTH.fAC);$next = 133;}case 133:
{
$next = 440;continue; $next = 138;}case 138:
{
gTK = mK(hB4);gTL = 1;$next = 413;continue; $next = 155;}case 155:
{
gTM = mL(gTK).fAD;gTN = mL(gTK).fAE;gTL = 0;gTS = mC(instance.fFP);$next = 199;}case 199:
{
$next = 282;continue; $next = 201;}case 201:
{
gTO = mD(hB5);var br8 = gTO == gTM;if (br8 || br8 === "") {
$next = 282;continue; }var br9 = !iPO;if (br9 || br9 === "") {
$next = 238;continue; }var br10 = mE(gTO);if (br10 || br10 === "") {
$next = 282;continue; }var br11 = mF(gTO);if (br11 || br11 === "") {
$next = 282;continue; }$next = 238;}case 238:
{
stack.push(instance);stack.push(gTM);var br12 = !gTN;if (br12 || br12 === "") {
$next = 248;continue; }stack.push(0);$next = 249;continue; $next = 248;}case 248:
{
stack.push(1);$next = 249;}case 249:
{
gTP = Methods.eT8(pop(3), pop(2), pop(1), gTO);var br13 = !gTP;if (br13 || br13 === "") {
$next = 282;continue; }var aNV = gTK.fAH;aNV._vT.VTable[nC](aNV, gTP);gTL = (gTL + 1);$next = 282;}case 282:
{
var br14 = mH(hB5);if (br14 || br14 === "") {
$next = 201;continue; }stack = [];$next = 293;$leaveTarget = 307;continue; $next = 293;}case 293:
{
var aNW = mI(hB5, kC);aNW._vT.VTable[nB](aNW);if ($exception) throw $exception;if (133 <= $leaveTarget && $leaveTarget < 454) $next = $leaveTarget; else $next = 454;continue; $next = 307;}case 307:
{
var br15 = gTL <= 1;if (br15 || br15 === "") {
$next = 346;continue; }stack.push(gTK.fAH);var aNX = gTK.fAH;var bHR = aNX._vT.VTable[nD](aNX);mM(pop(1), bHR - gTL, gTL);gTL = 0;$next = 413;continue; $next = 346;}case 346:
{
var br16 = gTL != 1;if (br16 || br16 === "") {
$next = 413;continue; }var br17 = mN(mL(gTK).fAD, lN);if (br17 || br17 === "") {
$next = 413;continue; }gTK.fAI = mL(gTK);stack.push(gTK.fAH);var aNY = gTK.fAH;var bHS = aNY._vT.VTable[nD](aNY);var aNZ = pop(1);aNZ._vT.VTable[nE](aNZ, bHS - 1);gTL = 0;$next = 413;}case 413:
{
var br18 = gTL <= 0;if (br18 || br18 === "") {
$next = 440;continue; }var br19 = mN(mL(gTK).fAD, lN);if (br19 || br19 === "") {
$next = 155;continue; }$next = 440;}case 440:
{
var br20 = mO(hB4);if (br20 || br20 === "") {
$next = 138;continue; }stack = [];$next = 454;$leaveTarget = 468;continue; $next = 454;}case 454:
{
var aN0 = mI(hB4, kE);aN0._vT.VTable[nB](aN0);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 468;}case 468:
{
return gTH;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 28:
{
$next = 106;continue; }case 30:
{
$next = 106;continue; }case 45:
{
$next = 106;continue; }case 65:
{
$next = 106;continue; }case 95:
{
$next = 106;continue; }case 133:
{
$next = 454;continue; }case 138:
{
$next = 454;continue; }case 155:
{
$next = 454;continue; }case 199:
{
$next = 293;continue; }case 201:
{
$next = 293;continue; }case 238:
{
$next = 293;continue; }case 248:
{
$next = 293;continue; }case 249:
{
$next = 293;continue; }case 282:
{
$next = 293;continue; }case 293:
{
$next = 454;continue; }case 307:
{
$next = 454;continue; }case 346:
{
$next = 454;continue; }case 413:
{
$next = 454;continue; }case 440:
{
$next = 454;continue; }default:
throw Catcher;}}};Methods["eLU"] = function(instance){
var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var mA = kA.Methods.eQW;var mB = kA.Methods.eQY;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
Methods.eUM(instance);Methods.eVR(instance);Methods.eUM(instance);Methods.eVS(instance);stack = [];$next = 37;$leaveTarget = 49;continue; $next = 37;}case 37:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 49;}case 49:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 37;continue; }default:
throw Catcher;}}};Methods["eUM"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(oA, "System.Void");var mA = kB.Methods.eD5;var mB = kB.Methods.eD9;var mC = kB.Methods.eD7;var mD = kB.Methods.eEB;var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var nC = GetMethodRef(lA, "delete", [lD]);var nD = GetMethodRef(lB, "RemoveAt", [lC, lD]);var gTT = kA.Initializer({});var gTU;var $next;$next = 0;while (true) switch($next){case 0:
{
var aN1 = instance.fFP;var bHT = aN1._vT.VTable[nA](aN1);gTT = (bHT - 1);$next = 79;continue; $next = 16;}case 16:
{
var aN2 = instance.fFP;var bHU = aN2._vT.VTable[nB](aN2, gTT);gTU = bHU;var br1 = mA(gTU) != mB(gTU);if (br1 || br1 === "") {
$next = 75;continue; }var br2 = mC(gTU) != mD(gTU);if (br2 || br2 === "") {
$next = 75;continue; }var aN3 = gTU;aN3._vT.VTable[nC](aN3);var aN4 = instance.fFP;aN4._vT.VTable[nD](aN4, gTT);$next = 75;}case 75:
{
gTT = (gTT - 1);$next = 79;}case 79:
{
var br3 = gTT >= 0;if (br3 || br3 === "") {
$next = 16;continue; }Methods.eMM(instance);return;}}};Methods["eVT"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lB]);var lD = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lG = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lD]);var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lJ = GetTypeRef(oA, "System.IDisposable");var mA = GetMethodDef(kD, ".ctor", [lA]);var mB = GetMethodDef(kE, "GetEnumerator", [lC]);var mC = GetMethodDef(kB, "get_Current", [lB]);var mD = GetMethodDef(kF, "IsInst", [lE, lF, lE]);var mE = GetMethodDef(kB, "MoveNext", [lH]);var mF = GetMethodDef(kF, "Constrained", [lE, lI, lE]);var mG = GetMethodDef(kF, "OneLevelCloneForStruct", [lE, lI, lE]);var nA = GetMethodRef(lG, "Add", [lD, lA]);var nB = GetMethodRef(lJ, "Dispose", [lA]);var gTV;var gTW;var gTX;var gTY = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hB6 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gTY;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gTY = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gTV = mA({
_vT:kD});gTY = mB(instance.fFP);$next = 18;}case 18:
{
$next = 45;continue; $next = 20;}case 20:
{
gTW = mC(hB6);gTX = mD(gTW, lD);var br1 = !gTX;if (br1 || br1 === "") {
$next = 45;continue; }var aN5 = gTV;aN5._vT.VTable[nA](aN5, gTX);$next = 45;}case 45:
{
var br2 = mE(hB6);if (br2 || br2 === "") {
$next = 20;continue; }stack = [];$next = 56;$leaveTarget = 70;continue; $next = 56;}case 56:
{
var aN6 = mF(hB6, kB);aN6._vT.VTable[nB](aN6);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 70;}case 70:
{
return mG(gTV, kD);}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 18:
{
$next = 56;continue; }case 20:
{
$next = 56;continue; }case 45:
{
$next = 56;continue; }default:
throw Catcher;}}};Methods["eVU"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lB]);var lD = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lG = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lB]);var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lJ = GetTypeRef(oA, "System.IDisposable");var mA = GetMethodDef(kC, ".ctor", [lA]);var mB = GetMethodDef(kC, "GetEnumerator", [lC]);var mC = GetMethodDef(kB, "get_Current", [lB]);var mD = GetMethodDef(kD, "IsInst", [lE, lF, lE]);var mE = GetMethodDef(kB, "MoveNext", [lH]);var mF = GetMethodDef(kD, "Constrained", [lE, lI, lE]);var mG = GetMethodDef(kD, "OneLevelCloneForStruct", [lE, lI, lE]);var nA = GetMethodRef(lG, "Add", [lB, lA]);var nB = GetMethodRef(lJ, "Dispose", [lA]);var gTZ;var gT0;var gT1;var gT2 = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hB7 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kG}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gT2;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gT2 = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gTZ = mA({
_vT:kC});gT2 = mB(instance.fFP);$next = 18;}case 18:
{
$next = 45;continue; $next = 20;}case 20:
{
gT0 = mC(hB7);gT1 = mD(gT0, lD);var br1 = gT1;if (br1 || br1 === "") {
$next = 45;continue; }var aN7 = gTZ;aN7._vT.VTable[nA](aN7, gT0);$next = 45;}case 45:
{
var br2 = mE(hB7);if (br2 || br2 === "") {
$next = 20;continue; }stack = [];$next = 56;$leaveTarget = 70;continue; $next = 56;}case 56:
{
var aN8 = mF(hB7, kB);aN8._vT.VTable[nB](aN8);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 70;}case 70:
{
return mG(gTZ, kC);}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 18:
{
$next = 56;continue; }case 20:
{
$next = 56;continue; }case 45:
{
$next = 56;continue; }default:
throw Catcher;}}};Methods["eVR"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kC, "GetEnumerator", [lB]);var mB = GetMethodDef(kB, "get_Current", [lA]);var mC = GetMethodDef(kB, "MoveNext", [lC]);var mD = GetMethodDef(kD, "Constrained", [lD, lE, lD]);var nA = GetMethodRef(lF, "Dispose", [lG]);var gT3;var gT4;var gT5 = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hB8 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kG}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gT5;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gT5 = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gT3 = Methods.eVU(instance);gT5 = mA(gT3);$next = 14;}case 14:
{
$next = 32;continue; $next = 16;}case 16:
{
gT4 = mB(hB8);Methods.eVV(instance, gT4);$next = 32;}case 32:
{
var br1 = mC(hB8);if (br1 || br1 === "") {
$next = 16;continue; }stack = [];$next = 43;$leaveTarget = 57;continue; $next = 43;}case 43:
{
var aN9 = mD(hB8, kB);aN9._vT.VTable[nA](aN9);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 57;}case 57:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 14:
{
$next = 43;continue; }case 16:
{
$next = 43;continue; }case 32:
{
$next = 43;continue; }default:
throw Catcher;}}};Methods["eVV"] = function(instance, iPP){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kD = GetTypeDef(Assembly, "Circuit.CircuitElm");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Void");var lB = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lC = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lB]);var lD = GetTypeRef(oA, "System.Int32");var lE = GetTypeRef(Assembly, "Circuit.CircuitElm");var lF = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lG = GetTypeRef(oA, "System.Object");var lH = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = GetMethodDef(kC, ".ctor", [lA]);var mB = kB.Methods.eVW;var mC = kD.Methods.eG3;var mD = GetMethodDef(kE, "OneLevelCloneForStruct", [lG, lH, lG]);var nA = GetMethodRef(lC, "get_Item", [lD, lB]);var nB = GetMethodRef(lE, "getPost", [lD, lF]);var nC = GetMethodRef(lC, "Add", [lB, lA]);var nD = GetMethodRef(lE, "SetPoint", [lD, lF, lA]);var nE = GetMethodRef(lE, "getPostCount", [lD]);var nF = GetMethodRef(lC, "get_Count", [lD]);var gT6;var gT7;var gT8 = kA.Initializer({});var gT9;var gUA = kA.Initializer({});var gUB;var gUC;var gUD;var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gT6 = mA({
_vT:kC});gT7 = Methods.eVT(instance);gT8 = 0;$next = 158;continue; $next = 20;}case 20:
{
var aOA = gT7;var bHV = aOA._vT.VTable[nA](aOA, gT8);gT9 = bHV;gUA = 0;$next = 144;continue; $next = 33;}case 33:
{
var aOB = iPP;var bHW = aOB._vT.VTable[nB](aOB, gUA);gUB = bHW;var br1 = !mB(gT9, gUB);if (br1 || br1 === "") {
$next = 138;continue; }var aOC = gT6;aOC._vT.VTable[nC](aOC, gT9);gUC = mC(gT9, 0);var aOD = gT9;aOD._vT.VTable[nD](aOD, 0, gUB);gUD = Methods.eMP(kB)(instance, gUC.fE, gUC.fS, gUB.fE, gUB.fS);Methods.eQX(instance, gUD);var aOE = gT7;aOE._vT.VTable[nC](aOE, gUD);var aOF = gT6;aOF._vT.VTable[nC](aOF, gUD);$next = 138;}case 138:
{
gUA = (gUA + 1);$next = 144;}case 144:
{
stack.push(gUA);var aOG = iPP;var bHX = aOG._vT.VTable[nE](aOG);var br2 = pop(1) < bHX;if (br2 || br2 === "") {
$next = 33;continue; }gT8 = (gT8 + 1);$next = 158;}case 158:
{
stack.push(gT8);var aOH = gT7;var bHY = aOH._vT.VTable[nF](aOH);var br3 = pop(1) < bHY;if (br3 || br3 === "") {
$next = 20;continue; }return mD(gT6, kC);}}};Methods["eLT"] = function(instance, iPQ){
var oA = Assembly.References.cA();var oB = Assembly.References.cB();var kA = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Assembly, "Circuit.CircuitElm");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(oA, "System.Func`2");var kH = GetTypeDef(oB, "System.Linq.Enumerable");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.CircuitElm");var lD = GetTypeRef(oA, "System.Void");var lE = GetTypeRef(oA, "System.Boolean");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.IntPtr");var lJ = ToRef(dI);var lK = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lJ]);var lL = GetTypeRef(oA, "System.Func`2");var lM = GetTypeRef(TypeParameters, "TSource");var lN = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lM]);var lO = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lM]);var mA = kC.Methods.eQW;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kE.Methods.eG6;var mE = kE.Methods.eFH;var mF = GetMethodDef(kB, "MoveNext", [lE]);var mG = GetMethodDef(kF, "Constrained", [lF, lG, lF]);var mH = GetMethodDef(kG, ".ctor", [lF, lI, lD]);var mI = GetMethodDef(kH, "Where", [lK, lL, lK]);var mJ = GetMethodDef(kH, "ToList", [lN, lO]);var mK = kC.Methods.eQY;var nA = GetMethodRef(lC, "delete", [lD]);var nB = GetMethodRef(lH, "Dispose", [lD]);var gUE;var gUF;var gUG = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hB9 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gUG;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gUG = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gUE = Methods.eVV(instance, iPQ);gUG = mB(gUE);$next = 26;}case 26:
{
$next = 78;continue; $next = 28;}case 28:
{
gUF = mC(hB9);var br1 = !mD(iPQ, gUF.fO);if (br1 || br1 === "") {
$next = 78;continue; }var br2 = !mD(iPQ, gUF.fP);if (br2 || br2 === "") {
$next = 78;continue; }var br3 = mE(gUF);if (br3 || br3 === "") {
$next = 78;continue; }var aOI = gUF;aOI._vT.VTable[nA](aOI);$next = 78;}case 78:
{
var br4 = mF(hB9);if (br4 || br4 === "") {
$next = 28;continue; }stack = [];$next = 89;$leaveTarget = 103;continue; $next = 89;}case 89:
{
var aOJ = mG(hB9, kB);aOJ._vT.VTable[nB](aOJ);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 156) $next = $leaveTarget; else $next = 156;continue; $next = 103;}case 103:
{
stack.push(instance);stack.push(instance.fFP);var br5 = Ret.Fields.fEG;if (br5 || br5 === "") {
$next = 134;continue; }Ret.Fields.fEG = mH({
_vT:kG}, null, Methods.eVX);$next = 134;}case 134:
{
pop(2).fFP = mJ(kE)(mI(pop(1), Ret.Fields.fEG));stack = [];$next = 156;$leaveTarget = 168;continue; $next = 156;}case 156:
{
mK(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 168;}case 168:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 156;continue; }case 26:
{
$next = 89;continue; }case 28:
{
$next = 89;continue; }case 78:
{
$next = 89;continue; }case 89:
{
$next = 156;continue; }case 103:
{
$next = 156;continue; }case 134:
{
$next = 156;continue; }default:
throw Catcher;}}};Methods["eVY"] = function(instance, iPR){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Assembly, "Circuit.Elements.WireElm");var kF = GetTypeDef(Assembly, "Circuit.CirSim$2b$WireSplit");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lF = GetTypeRef(oA, "System.Boolean");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kC, "GetEnumerator", [lB]);var mB = GetMethodDef(kB, "get_Current", [lA]);var mC = GetMethodDef(kD, "IsInst", [lD, lE, lD]);var mD = kE.Methods.eVW;var mE = kF.Methods.eVZ;var mF = GetMethodDef(kB, "MoveNext", [lF]);var mG = GetMethodDef(kD, "Constrained", [lD, lG, lD]);var nA = GetMethodRef(lH, "Dispose", [lI]);var gUH;var gUI;var gUJ;var gUK;var gUL = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hCA = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gUL;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gUL = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gUL = mA(instance.fFP);$next = 13;}case 13:
{
$next = 59;continue; $next = 15;}case 15:
{
gUH = mB(hCA);gUI = mC(gUH, lC);var br1 = !gUI;if (br1 || br1 === "") {
$next = 59;continue; }var br2 = !mD(gUI, iPR);if (br2 || br2 === "") {
$next = 59;continue; }gUJ = mE({
_vT:kF});gUJ.fHG = gUI;gUK = gUJ;stack = [];$next = 70;$leaveTarget = 86;continue; $next = 59;}case 59:
{
var br3 = mF(hCA);if (br3 || br3 === "") {
$next = 15;continue; }stack = [];$next = 70;$leaveTarget = 84;continue; $next = 70;}case 70:
{
var aOK = mG(hCA, kB);aOK._vT.VTable[nA](aOK);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 84;}case 84:
{
return null;$next = 86;}case 86:
{
return gUK;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 13:
{
$next = 70;continue; }case 15:
{
$next = 70;continue; }case 59:
{
$next = 70;continue; }default:
throw Catcher;}}};Methods["eVS"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Boolean");var kB = GetTypeDef(oA, "System.Int32");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(Assembly, "Circuit.LineSegment");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lF = GetTypeRef(oA, "System.Int32");var lG = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lJ = GetTypeRef(oA, "System.IDisposable");var lK = GetTypeRef(oA, "System.Void");var lL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var mA = GetMethodDef(kE, "GetEnumerator", [lB]);var mB = GetMethodDef(kD, "get_Current", [lA]);var mC = GetMethodDef(kF, "IsInst", [lD, lE, lD]);var mD = kG.Methods.eV0;var mE = GetMethodDef(kD, "MoveNext", [lH]);var mF = GetMethodDef(kF, "Constrained", [lD, lI, lD]);var mG = kC.Methods.eEH;var mH = kC.Methods.eG3;var mI = kC.Methods.eFP;var nA = GetMethodRef(lA, "getPost", [lF, lG]);var nB = GetMethodRef(lJ, "Dispose", [lK]);var nC = GetMethodRef(lA, "SetPoint", [lF, lG, lK]);var nD = GetMethodRef(lA, "delete", [lK]);var nE = GetMethodRef(lL, "Remove", [lA, lH]);var gUM = kA.Initializer({});var gUN;var gUO;var gUP;var gUQ;var gUR;var gUS;var gUT = kA.Initializer({});var gUU = kB.Initializer({});var gUV;var gUW;var gUX = kB.Initializer({});var gUY;var gUZ;var gU0 = kD.Initializer({});var gU1 = kD.Initializer({});var $next;var $leaveTarget;var $exception;var hCB = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gU0;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gU0 = Value;})), kD);var hCC = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gU1;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gU1 = Value;})), kD);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gUM = 1;$next = 449;continue; $next = 7;}case 7:
{
gUM = 0;gUN = null;gU0 = mA(instance.fFP);$next = 24;}case 24:
{
$next = 205;continue; $next = 29;}case 29:
{
gUO = mB(hCB);var br1 = gUN;if (br1 || br1 === "") {
$next = 217;continue; }gUP = mC(gUO, lC);var br2 = !gUP;if (br2 || br2 === "") {
$next = 205;continue; }gU1 = mA(instance.fFP);$next = 69;}case 69:
{
$next = 180;continue; $next = 71;}case 71:
{
gUQ = mB(hCC);var br3 = gUN;if (br3 || br3 === "") {
$next = 189;continue; }gUR = mC(gUQ, lC);var br4 = !gUR;if (br4 || br4 === "") {
$next = 180;continue; }var br5 = gUP == gUR;if (br5 || br5 === "") {
$next = 180;continue; }gUS = Methods.eT7(instance, gUP, gUR);var br6 = !gUS;if (br6 || br6 === "") {
$next = 180;continue; }var aOL = gUP;var bHZ = aOL._vT.VTable[nA](aOL, 0);stack.push(bHZ);var aOM = gUP;var bH0 = aOM._vT.VTable[nA](aOM, 1);stack.push(bH0);var aON = gUR;var bH1 = aON._vT.VTable[nA](aON, 0);stack.push(bH1);var aOO = gUR;var bH2 = aOO._vT.VTable[nA](aOO, 1);gUT = mD(pop(3), pop(2), pop(1), bH2);var br7 = !gUT;if (br7 || br7 === "") {
$next = 180;continue; }gUU = Methods.eV1(instance, gUS.fAN);var br8 = gUU != 2;if (br8 || br8 === "") {
$next = 180;continue; }gUN = gUS;$next = 180;}case 180:
{
var br9 = mE(hCC);if (br9 || br9 === "") {
$next = 71;continue; }$next = 189;}case 189:
{
stack = [];$next = 191;$leaveTarget = 205;continue; $next = 191;}case 191:
{
var aOP = mF(hCC, kD);aOP._vT.VTable[nB](aOP);if ($exception) throw $exception;if (24 <= $leaveTarget && $leaveTarget < 219) $next = $leaveTarget; else $next = 219;continue; $next = 205;}case 205:
{
var br10 = mE(hCB);if (br10 || br10 === "") {
$next = 29;continue; }$next = 217;}case 217:
{
stack = [];$next = 219;$leaveTarget = 233;continue; $next = 219;}case 219:
{
var aOQ = mF(hCB, kD);aOQ._vT.VTable[nB](aOQ);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 233;}case 233:
{
var br11 = !gUN;if (br11 || br11 === "") {
$next = 449;continue; }gUV = gUN.fAJ;gUW = gUN.fAL;mG(gUV, 0);mG(gUW, 0);var br12 = !gUN.fAM;if (br12 || br12 === "") {
$next = 282;continue; }stack.push(0);$next = 283;continue; $next = 282;}case 282:
{
stack.push(1);$next = 283;}case 283:
{
gUX = pop(1);var aOR = gUV;aOR._vT.VTable[nC](aOR, gUN.fAK, mH(gUW, gUX));gUY = gUV.fO;gUZ = gUV.fP;var br13 = !Methods.eUR(instance, gUV);if (br13 || br13 === "") {
$next = 366;continue; }Methods.eUP(instance, gUW);var aOS = gUW;aOS._vT.VTable[nD](aOS);var aOT = instance.fFP;var bH3 = aOT._vT.VTable[nE](aOT, gUW);bH3;$next = 447;continue; $next = 366;}case 366:
{
var br14 = !Methods.eUR(instance, gUW);if (br14 || br14 === "") {
$next = 418;continue; }mI(gUW, gUY, gUZ);Methods.eUP(instance, gUV);var aOU = gUV;aOU._vT.VTable[nD](aOU);var aOV = instance.fFP;var bH4 = aOV._vT.VTable[nE](aOV, gUV);bH4;$next = 447;continue; $next = 418;}case 418:
{
Methods.eUP(instance, gUW);var aOW = gUW;aOW._vT.VTable[nD](aOW);var aOX = instance.fFP;var bH5 = aOX._vT.VTable[nE](aOX, gUW);bH5;$next = 447;}case 447:
{
gUM = 1;$next = 449;}case 449:
{
var br15 = gUM;if (br15 || br15 === "") {
$next = 7;continue; }return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 24:
{
$next = 219;continue; }case 29:
{
$next = 219;continue; }case 69:
{
$next = 191;continue; }case 71:
{
$next = 191;continue; }case 180:
{
$next = 191;continue; }case 189:
{
$next = 191;continue; }case 191:
{
$next = 219;continue; }case 205:
{
$next = 219;continue; }case 217:
{
$next = 219;continue; }default:
throw Catcher;}}};Methods["eV1"] = function(instance, iPS){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lE = GetTypeRef(oA, "System.Boolean");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kD, "GetEnumerator", [lB]);var mB = GetMethodDef(kC, "get_Current", [lA]);var mC = GetMethodDef(kC, "MoveNext", [lE]);var mD = GetMethodDef(kE, "Constrained", [lF, lG, lF]);var nA = GetMethodRef(lA, "getPost", [lC, lD]);var nB = GetMethodRef(lA, "getPostCount", [lC]);var nC = GetMethodRef(lH, "Dispose", [lI]);var gU2 = kA.Initializer({});var gU3;var gU4 = kA.Initializer({});var gU5;var gU6 = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hCD = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gU6;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gU6 = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gU2 = 0;gU6 = mA(instance.fFP);$next = 15;}case 15:
{
$next = 82;continue; $next = 17;}case 17:
{
gU3 = mB(hCD);gU4 = 0;$next = 73;continue; $next = 29;}case 29:
{
var aOY = gU3;var bH6 = aOY._vT.VTable[nA](aOY, gU4);gU5 = bH6;var br1 = gU5.fE != iPS.fE;if (br1 || br1 === "") {
$next = 69;continue; }var br2 = gU5.fS != iPS.fS;if (br2 || br2 === "") {
$next = 69;continue; }gU2 = (gU2 + 1);$next = 69;}case 69:
{
gU4 = (gU4 + 1);$next = 73;}case 73:
{
stack.push(gU4);var aOZ = gU3;var bH7 = aOZ._vT.VTable[nB](aOZ);var br3 = pop(1) < bH7;if (br3 || br3 === "") {
$next = 29;continue; }$next = 82;}case 82:
{
var br4 = mC(hCD);if (br4 || br4 === "") {
$next = 17;continue; }stack = [];$next = 93;$leaveTarget = 107;continue; $next = 93;}case 93:
{
var aO0 = mD(hCD, kC);aO0._vT.VTable[nC](aO0);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 107;}case 107:
{
return gU2;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 15:
{
$next = 93;continue; }case 17:
{
$next = 93;continue; }case 29:
{
$next = 93;continue; }case 69:
{
$next = 93;continue; }case 73:
{
$next = 93;continue; }case 82:
{
$next = 93;continue; }default:
throw Catcher;}}};Methods["eS7"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Object");var kB = GetTypeDef(oA, "System.String");var lA = GetTypeRef(oA, "System.Type");var lB = GetTypeRef(oA, "System.Reflection.MemberInfo");var lC = GetTypeRef(oA, "System.String");var lD = GetTypeRef(oA, "System.Int32");var mA = GetMethodDef(kA, "GetType", [lA]);var mB = GetMethodDef(kB, "get_Length", [lD]);var mC = GetMethodDef(kB, "Substring", [lD, lD, lC]);var nA = GetMethodRef(lB, "get_Name", [lC]);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});var aO1 = mA(Methods.eG9(instance));var bH8 = aO1._vT.VTable[nA](aO1);stack.push(bH8);stack.push(0);var aO2 = mA(Methods.eG9(instance));var bH9 = aO2._vT.VTable[nA](aO2);return mC(pop(2), pop(1), mB(bH9) - 5);};Methods["eT2"] = function(instance, iPT){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.String");var kB = GetTypeDef(Assembly, "Circuit.WhiteTheme");var kC = GetTypeDef(Assembly, "Circuit.BlackTheme");var kD = GetTypeDef(Assembly, "Circuit.PaperTheme");var lA = GetTypeRef(oA, "System.String");var lB = GetTypeRef(oA, "System.Boolean");var mA = GetMethodDef(kA, "op_Equality", [lA, lA, lB]);var mB = kB.Methods.eQE;var mC = kC.Methods.eV3;var mD = kD.Methods.eV4;var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = !mA(iPT, "White");if (br1 || br1 === "") {
$next = 25;continue; }Methods.ePN(instance, mB({
_vT:kB}));return;$next = 25;}case 25:
{
var br2 = !mA(iPT, "Black");if (br2 || br2 === "") {
$next = 50;continue; }Methods.ePN(instance, mC({
_vT:kC}));return;$next = 50;}case 50:
{
var br3 = !mA(iPT, "Paper");if (br3 || br3 === "") {
$next = 74;continue; }Methods.ePN(instance, mD({
_vT:kD}));$next = 74;}case 74:
{
return;}}};Methods["eT3"] = function(instance, iPU, iPV){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Math");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Assembly, "System.Drawing.Size");var kE = GetTypeDef(oA, "System.Action");var lA = GetTypeRef(oA, "System.Double");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kB, "Ceiling", [lA, lA]);var mB = GetMethodDef(kB, "Min", [lB, lB, lB]);var mC = GetMethodDef(kB, "Max", [lB, lB, lB]);var mD = GetMethodDef(kC, "Unbox", [lC, lC]);var mE = GetMethodDef(kC, "Box", [lD, lE, lC]);var mF = kD.Methods.eQH;var mG = GetMethodDef(kC, "OneLevelClone", [lC, lC]);var mH = GetMethodDef(kE, "Invoke", [lF]);var gU7 = kA.Initializer({});var gU8 = kA.Initializer({});var $next;$next = 0;while (true) switch($next){case 0:
{
gU7 = mA(iPU / Methods.eM(instance)) * Methods.eM(instance);gU8 = mA(iPV / Methods.eM(instance)) * Methods.eM(instance);gU7 = mB(gU7, Ret.Fields.fD9);gU8 = mB(gU8, Ret.Fields.fD9);gU7 = mC(gU7, 128);gU8 = mC(gU8, 128);var br1 = gU7 <= 4 * Methods.eUD(instance);if (br1 || br1 === "") {
$next = 176;continue; }var br2 = gU8 <= 4 * Methods.eUD(instance);if (br2 || br2 === "") {
$next = 176;continue; }var br3 = gU7 != mD(Methods.ePQ(instance)).fF2;if (br3 || br3 === "") {
$next = 144;continue; }var br4 = gU8 == mD(Methods.ePQ(instance)).fF3;if (br4 || br4 === "") {
$next = 176;continue; }$next = 144;}case 144:
{
Methods.ePR(instance, mG(mD(mF(mE({}, kD), gU7, gU8))));var br5 = !instance.fE6;if (br5 || br5 === "") {
$next = 176;continue; }mH(instance.fE6);$next = 176;}case 176:
{
return;}}};Methods["eV5"] = function(instance, iPW){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CirSim$2b$$3c$GetEditValues$3e$d__1e");var kB = GetTypeDef(Assembly, "Circuit.EditInfo");var kC = GetInstanceDef(oA, "System.Collections.Generic.IEnumerable`1", [kB]);var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(oA, "System.Object");var lB = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var mA = kA.Methods.eV6;var mB = GetMethodDef(kD, "OneLevelCloneForStruct", [lA, lB, lA]);var gU9;gU9 = mA({
_vT:kA}, -2);gU9.fHH = instance;gU9.fHI = iPW;return mB(gU9, kC);};Methods["eV7"] = function(instance, iPX, iPY){
var oA = Assembly.References.cA();var kA = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetTypeDef(Assembly, "Circuit.EditInfo");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetTypeRef(oA, "System.Object");var lC = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lD = GetTypeRef(Assembly, "Circuit.EditInfo");var lE = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lD]);var lF = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerator`1"), [lD]);var lG = GetTypeRef(oA, "System.Collections.IEnumerator");var lH = GetTypeRef(oA, "System.Boolean");var lI = GetTypeRef(oA, "System.IDisposable");var lJ = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kA, "IsInst", [lB, lC, lB]);var mB = kB.Methods.eJO;var mC = kC.Methods.eV8;var nA = GetMethodRef(lE, "GetEnumerator", [lF]);var nB = GetMethodRef(lF, "get_Current", [lD]);var nC = GetMethodRef(lG, "MoveNext", [lH]);var nD = GetMethodRef(lI, "Dispose", [lJ]);var gVA;var gVB;var gVC;var gVD;var gVE;var gVF;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gVA = mA(iPX, lA);var br1 = !gVA;if (br1 || br1 === "") {
$next = 69;continue; }var aO3 = mB(gVA);var bIA = aO3._vT.VTable[nA](aO3);gVE = bIA;$next = 23;}case 23:
{
$next = 46;continue; $next = 25;}case 25:
{
var aO4 = gVE;var bIB = aO4._vT.VTable[nB](aO4);gVB = bIB;var br2 = mC(gVB) != iPY;if (br2 || br2 === "") {
$next = 46;continue; }gVD = gVB;stack = [];$next = 57;$leaveTarget = 131;continue; $next = 46;}case 46:
{
var aO5 = gVE;var bIC = aO5._vT.VTable[nC](aO5);var br3 = bIC;if (br3 || br3 === "") {
$next = 25;continue; }stack = [];$next = 57;$leaveTarget = 129;continue; $next = 57;}case 57:
{
var br4 = !gVE;if (br4 || br4 === "") {
$next = 68;continue; }var aO6 = gVE;aO6._vT.VTable[nD](aO6);$next = 68;}case 68:
{
if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 69;}case 69:
{
var aO7 = Methods.eV5(instance, 1);var bID = aO7._vT.VTable[nA](aO7);gVF = bID;$next = 83;}case 83:
{
$next = 106;continue; $next = 85;}case 85:
{
var aO8 = gVF;var bIE = aO8._vT.VTable[nB](aO8);gVC = bIE;var br5 = mC(gVC) != iPY;if (br5 || br5 === "") {
$next = 106;continue; }gVD = gVC;stack = [];$next = 117;$leaveTarget = 131;continue; $next = 106;}case 106:
{
var aO9 = gVF;var bIF = aO9._vT.VTable[nC](aO9);var br6 = bIF;if (br6 || br6 === "") {
$next = 85;continue; }stack = [];$next = 117;$leaveTarget = 129;continue; $next = 117;}case 117:
{
var br7 = !gVF;if (br7 || br7 === "") {
$next = 128;continue; }var aPA = gVF;aPA._vT.VTable[nD](aPA);$next = 128;}case 128:
{
if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 129;}case 129:
{
return null;$next = 131;}case 131:
{
return gVD;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 23:
{
$next = 57;continue; }case 25:
{
$next = 57;continue; }case 46:
{
$next = 57;continue; }case 83:
{
$next = 117;continue; }case 85:
{
$next = 117;continue; }case 106:
{
$next = 117;continue; }default:
throw Catcher;}}};Methods["eV9"] = function(instance, iPZ){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.EditInfo");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetTypeDef(oA, "System.String");var kD = GetTypeDef(Assembly, "Circuit.TextField");var kE = GetTypeDef(Assembly, "Circuit.CheckBox");var kF = GetTypeDef(Assembly, "Circuit.Choice");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetTypeDef(oA, "System.Action");var lA = GetTypeRef(oA, "System.String");var lB = GetTypeRef(Assembly, "Circuit.CircuitElm");var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.EditInfo");var lE = GetTypeRef(oA, "System.Void");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Assembly, "Circuit.ICircuitRepository");var lH = GetTypeRef(oA, "System.Boolean");var mA = kA.Methods.eWA;var mB = kB.Methods.eBA;var mC = GetMethodDef(kC, "Concat", [lA, lA, lA]);var mD = kA.Methods.eV8;var mE = kD.Methods.eWC;var mF = GetMethodDef(kC, "Trim", [lA]);var mG = kB.Methods.eBB;var mH = kE.Methods.eWD;var mI = kF.Methods.eWE;var mJ = kA.Methods.eWF;var mK = GetMethodDef(kG, "Unbox", [lF, lF]);var mL = kF.Methods.eWG;var mM = GetMethodDef(kC, "op_Inequality", [lA, lA, lH]);var mN = GetMethodDef(kH, "Invoke", [lE]);var nA = GetMethodRef(lB, "setEditValue", [lC, lD, lE]);var nB = GetMethodRef(lG, "set_Folder", [lA, lE]);var nC = GetMethodRef(lG, "get_Name", [lA]);var nD = GetMethodRef(lG, "set_Name", [lA, lE]);var gVG;var gVH;var gVI;var gVJ;var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gVG = mA(iPZ);var br1 = Methods.eRW(instance);if (br1 || br1 === "") {
$next = 47;continue; }stack.push(instance);var br2 = gVG;if (br2 || br2 === "") {
$next = 26;continue; }stack.push("Edit Settings");$next = 42;continue; $next = 26;}case 26:
{
stack.push(mC("Edit ", mB(gVG)));$next = 42;}case 42:
{
Methods.eWB(pop(2), pop(1));$next = 47;}case 47:
{
var br3 = !mA(iPZ);if (br3 || br3 === "") {
$next = 121;continue; }var br4 = mD(iPZ) != -1;if (br4 || br4 === "") {
$next = 98;continue; }gVH = mF(mE(iPZ.fCF));mG(mA(iPZ), gVH);$next = 511;continue; $next = 98;}case 98:
{
var aPB = mA(iPZ);aPB._vT.VTable[nA](aPB, mD(iPZ), iPZ);$next = 511;continue; $next = 121;}case 121:
{
var br5 = mD(iPZ);if (br5 || br5 === "") {
$next = 151;continue; }Methods.eL(instance, mH(iPZ.fHJ));$next = 511;continue; $next = 151;}case 151:
{
var br6 = mD(iPZ) != 1;if (br6 || br6 === "") {
$next = 182;continue; }Methods.eT2(instance, mI(iPZ.fHK));$next = 511;continue; $next = 182;}case 182:
{
var br7 = mD(iPZ) != 2;if (br7 || br7 === "") {
$next = 222;continue; }Methods.eT3(instance, mJ(iPZ), mK(Methods.ePQ(instance)).fF3);$next = 511;continue; $next = 222;}case 222:
{
var br8 = mD(iPZ) != 3;if (br8 || br8 === "") {
$next = 262;continue; }Methods.eT3(instance, mK(Methods.ePQ(instance)).fF2, mJ(iPZ));$next = 511;continue; $next = 262;}case 262:
{
var br9 = mD(iPZ) != 4;if (br9 || br9 === "") {
$next = 298;continue; }var aPC = instance.fFO;aPC._vT.VTable[nB](aPC, mI(iPZ.fHK));$next = 511;continue; $next = 298;}case 298:
{
var br10 = mD(iPZ) != 5;if (br10 || br10 === "") {
$next = 324;continue; }Methods.eSD(instance, mJ(iPZ));$next = 511;continue; $next = 324;}case 324:
{
var br11 = mD(iPZ) != 6;if (br11 || br11 === "") {
$next = 355;continue; }Methods.ePG(instance, mH(iPZ.fHJ));$next = 511;continue; $next = 355;}case 355:
{
var br12 = mD(iPZ) != 7;if (br12 || br12 === "") {
$next = 409;continue; }Methods.eH(instance, (((mL(iPZ.fHK) == 0?1:0)) == 0?1:0));Methods.eOW(instance, (mL(iPZ.fHK) == 2?1:0));$next = 511;continue; $next = 409;}case 409:
{
var br13 = mD(iPZ) != 8;if (br13 || br13 === "") {
$next = 484;continue; }gVI = mF(mE(iPZ.fCF));var aPD = instance.fFO;var bIG = aPD._vT.VTable[nC](aPD);var br14 = !mM(bIG, gVI);if (br14 || br14 === "") {
$next = 511;continue; }var aPE = instance.fFO;aPE._vT.VTable[nD](aPE, gVI);gVJ = instance.fE4;var br15 = !gVJ;if (br15 || br15 === "") {
$next = 511;continue; }mN(gVJ);$next = 511;continue; $next = 484;}case 484:
{
var br16 = mD(iPZ) != 9;if (br16 || br16 === "") {
$next = 511;continue; }Methods.eO8(instance, mH(iPZ.fHJ));$next = 511;}case 511:
{
Methods.eMM(instance);return;}}};Methods["eWH"] = function(instance, iP0, iP1, iP2, iP3){
iP2 = (iP2 - iP0);iP3 = (iP3 - iP1);return iP2 * iP2 + iP3 * iP3;};Methods["eMP"] = (function(dJ){
return function(instance, iP4, iP5, iP6, iP7){
var oA = Assembly.References.cA();var kA = dJ;var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(oA, "System.Int32");var kE = GetTypeDef(Assembly, "Circuit.StringTokenizer");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var mA = GetMethodDef(kC, "NewArray", [lA, lB, lC]);var mB = GetMethodDef(kC, "Box", [lD, lA, lC]);var mC = kE.Methods.eN;var mD = GetMethodDef(kC, "Unbox", [lC, lC]);var mE = GetMethodDef(kC, "OneLevelCloneForStruct", [lC, lA, lC]);var gVK;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});stack.push(instance);stack.push(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetTypeForTypeDef", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Type")])(kA));gVK = mA(kB, 7);gVK[0] = instance;gVK[1] = mB(iP4, kD);gVK[2] = mB(iP5, kD);gVK[3] = mB(iP6, kD);gVK[4] = mB(iP7, kD);gVK[5] = mB(0, kD);gVK[6] = mC({
_vT:kE}, "");return mE(mD(Methods.eWI(pop(2), pop(1), gVK)), kA);};});Methods["eWJ"] = (function(dK){
return function(instance, iP8, iP9){
var oA = Assembly.References.cA();var kA = dK;var kB = GetTypeDef(oA, "System.Object");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(oA, "System.Int32");var kE = GetTypeDef(Assembly, "Circuit.StringTokenizer");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var mA = GetMethodDef(kC, "NewArray", [lA, lB, lC]);var mB = GetMethodDef(kC, "Box", [lD, lA, lC]);var mC = kE.Methods.eN;var mD = GetMethodDef(kC, "Unbox", [lC, lC]);var mE = GetMethodDef(kC, "OneLevelCloneForStruct", [lC, lA, lC]);var gVL;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});stack.push(instance);stack.push(GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetTypeForTypeDef", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Type")])(kA));gVL = mA(kB, 7);gVL[0] = instance;gVL[1] = mB(iP8.fE, kD);gVL[2] = mB(iP8.fS, kD);gVL[3] = mB(iP9.fE, kD);gVL[4] = mB(iP9.fS, kD);gVL[5] = mB(0, kD);gVL[6] = mC({
_vT:kE}, "");return mE(mD(Methods.eWI(pop(2), pop(1), gVL)), kA);};});Methods["eWK"] = function(instance, iQA, iQB, iQC, iQD, iQE){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Object");var kB = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kC = GetTypeDef(oA, "System.Int32");var kD = GetTypeDef(Assembly, "Circuit.StringTokenizer");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var mA = GetMethodDef(kB, "NewArray", [lA, lB, lC]);var mB = GetMethodDef(kB, "Box", [lD, lA, lC]);var mC = kD.Methods.eN;var gVM;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});stack.push(instance);stack.push(iQA);gVM = mA(kA, 7);gVM[0] = instance;gVM[1] = mB(iQB, kC);gVM[2] = mB(iQC, kC);gVM[3] = mB(iQD, kC);gVM[4] = mB(iQE, kC);gVM[5] = mB(0, kC);gVM[6] = mC({
_vT:kD}, "");return Methods.eWI(pop(2), pop(1), gVM);};Methods["eP3"] = function(iQF){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Type");var kB = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kC = Ret;var kD = GetTypeDef(oA, "System.Int32");var kE = GetTypeDef(Assembly, "Circuit.StringTokenizer");var kF = GetTypeDef(oA, "System.Object");var kG = GetTypeDef(oA, "System.Reflection.ConstructorInfo");var kH = GetTypeDef(Assembly, "Circuit.CircuitElm");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(oA, "System.Type");var lE = GetArrayRef(lD, 1);var lF = GetTypeRef(oA, "System.Reflection.ConstructorInfo");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var lH = GetArrayRef(lC, 1);var mA = GetMethodDef(kB, "NewArray", [lA, lB, lC]);var mB = GetMethodDef(kB, "Box", [lG, lA, lC]);var mC = kE.Methods.eN;var mD = GetMethodDef(kG, "Invoke", [lH, lC]);var mE = GetMethodDef(kB, "CastClass", [lA, lC, lC]);var nA = GetMethodRef(lD, "GetConstructor", [lE, lF]);var gVN;var gVO;var gVP;var gVQ;var gVR;var gVS;var gVT;var gVU;var gVV;var gVW;var gVX;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});gVN = mA(kA, 7);gVN[0] = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetTypeForTypeDef", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Type")])(kC);var dup20 = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetTypeForTypeDef", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Type")])(kD);stack.push(gVN);stack.push(1);stack.push(gVN);stack.push(2);stack.push(gVN);stack.push(3);stack.push(gVN);stack.push(4);stack.push(gVN);stack.push(5);stack.push(dup20);gVQ = dup20;pop(3)[pop(2)] = pop(1);var dup21 = gVQ;stack.push(dup21);gVR = dup21;pop(3)[pop(2)] = pop(1);var dup22 = gVR;stack.push(dup22);gVS = dup22;pop(3)[pop(2)] = pop(1);var dup23 = gVS;stack.push(dup23);gVT = dup23;pop(3)[pop(2)] = pop(1);pop(2)[pop(1)] = gVT;gVN[6] = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), "GetTypeForTypeDef", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Type")])(kE);var aPF = iQF;var bIH = aPF._vT.VTable[nA](aPF, gVN);gVO = bIH;gVP = mA(kF, 7);gVP[0] = null;var dup24 = mB(1, kD);stack.push(gVP);stack.push(1);stack.push(gVP);stack.push(2);stack.push(gVP);stack.push(3);stack.push(gVP);stack.push(4);stack.push(gVP);stack.push(5);stack.push(dup24);gVU = dup24;pop(3)[pop(2)] = pop(1);var dup25 = gVU;stack.push(dup25);gVV = dup25;pop(3)[pop(2)] = pop(1);var dup26 = gVV;stack.push(dup26);gVW = dup26;pop(3)[pop(2)] = pop(1);var dup27 = gVW;stack.push(dup27);gVX = dup27;pop(3)[pop(2)] = pop(1);pop(2)[pop(1)] = gVX;gVP[6] = mC({
_vT:kE}, "");return mE(kH, mD(gVO, gVP));};Methods["eTS"] = function(instance, iQG, iQH, iQI, iQJ, iQK, iQL, iQM){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Object");var kB = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kC = GetTypeDef(oA, "System.Int32");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var mA = GetMethodDef(kB, "NewArray", [lA, lB, lC]);var mB = GetMethodDef(kB, "Box", [lD, lA, lC]);var gVY;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});stack.push(instance);stack.push(iQG);gVY = mA(kA, 7);gVY[0] = instance;gVY[1] = mB(iQH, kC);gVY[2] = mB(iQI, kC);gVY[3] = mB(iQJ, kC);gVY[4] = mB(iQK, kC);gVY[5] = mB(iQL, kC);gVY[6] = iQM;return Methods.eWI(pop(2), pop(1), gVY);};Methods["eWI"] = function(instance, iQN, iQO){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Type");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(oA, "System.Object");var kE = GetTypeDef(Assembly, "Circuit.Log");var kF = GetTypeDef(oA, "System.Reflection.ConstructorInfo");var kG = GetTypeDef(Assembly, "Circuit.CircuitElm");var lA = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lB = GetTypeRef(oA, "System.Int32");var lC = GetTypeRef(oA, "System.Object");var lD = GetTypeRef(oA, "System.Type");var lE = GetArrayRef(lD, 1);var lF = GetTypeRef(oA, "System.Reflection.ConstructorInfo");var lG = GetArrayRef(lC, 1);var lH = GetTypeRef(Assembly, "Circuit.CircuitElm");var lI = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kC, "NewArray", [lA, lB, lC]);var mB = GetMethodDef(kD, "GetType", [lD]);var mC = kE.Methods.eRL;var mD = GetMethodDef(kF, "Invoke", [lG, lC]);var mE = GetMethodDef(kC, "CastClass", [lA, lC, lC]);var nA = GetMethodRef(lD, "GetConstructor", [lE, lF]);var nB = GetMethodRef(lH, "UpdatePoints", [lI]);var gVZ;var gV0 = kA.Initializer({});var gV1;var gV2;var gV3;var gV4;var gV5;var $next;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gVZ = mA(kB, iQO.length);gV0 = 0;$next = 28;continue; $next = 13;}case 13:
{
gVZ[gV0] = mB(iQO[gV0]);gV0 = (gV0 + 1);$next = 28;}case 28:
{
var br1 = gV0 < gVZ.length;if (br1 || br1 === "") {
$next = 13;continue; }gV1 = null;$next = 36;}case 36:
{
var aPG = iQN;var bII = aPG._vT.VTable[nA](aPG, gVZ);gV1 = bII;stack = [];$next = 58;continue; $next = 46;}case 46:
{
if (false) {
throw $exception;}gV2 = pop(1);mC(gV2);gV5 = null;stack = [];$next = 98;continue; $next = 58;}case 58:
{
gV3 = mE(kG, mD(gV1, iQO));var aPH = gV3;aPH._vT.VTable[nB](aPH);gV5 = gV3;stack = [];$next = 98;continue; $next = 85;}case 85:
{
if (false) {
throw $exception;}gV4 = pop(1);mC(gV4);stack = [];$next = 96;continue; $next = 96;}case 96:
{
return null;$next = 98;}case 98:
{
return gV5;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 36:
{
$next = 46;continue; }case 58:
{
$next = 85;continue; }default:
throw Catcher;}}};Methods["eWM"] = function(instance){
return instance.fFO;};Methods["eWN"] = function(instance, iQP){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = iQP == instance.fFO;if (br1 || br1 === "") {
$next = 16;continue; }instance.fFO = iQP;$next = 16;}case 16:
{
return;}}};Methods["eRW"] = function(instance){
return instance.fHL;};Methods["eWO"] = function(instance, iQQ){
instance.fHL = iQQ;return;};Methods["eWB"] = function(instance, iQR){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = Methods.eRW(instance);if (br1 || br1 === "") {
$next = 41;continue; }Methods.eWO(instance, 1);instance.fFN = iQR;instance.fFM = Methods.eS4(instance);instance.fHA = 0;$next = 41;}case 41:
{
return;}}};Methods["eMN"] = function(instance){
var $next;$next = 0;while (true) switch($next){case 0:
{
var br1 = !Methods.eRW(instance);if (br1 || br1 === "") {
$next = 56;continue; }Methods.eTB(instance, instance.fFM, 0);instance.fG5 = null;instance.fHF = null;instance.fHD = null;Methods.eUY(instance, null);Methods.eWO(instance, 0);$next = 56;}case 56:
{
return;}}};Methods["eWP"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var lA = GetTypeRef(Assembly, "Circuit.ICircuitRepository");var lB = GetTypeRef(oA, "System.String");var lC = GetTypeRef(oA, "System.Void");var mA = kA.Methods.eQW;var mB = kA.Methods.eQY;var nA = GetMethodRef(lA, "Save", [lB, lB, lB, lC]);var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
var br1 = !Methods.eRW(instance);if (br1 || br1 === "") {
$next = 115;continue; }mA(instance.fFH);$next = 19;}case 19:
{
Methods.eUM(instance);stack = [];$next = 27;$leaveTarget = 39;continue; $next = 27;}case 27:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 39;}case 39:
{
Methods.eVJ(instance);Methods.eSH(instance);instance.fG5 = null;instance.fHF = null;instance.fHD = null;Methods.eUY(instance, null);Methods.eWO(instance, 0);var aPI = instance.fFO;aPI._vT.VTable[nA](aPI, instance.fFN, instance.fFM, Methods.eS4(instance));$next = 115;}case 115:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 19:
{
$next = 27;continue; }default:
throw Catcher;}}};Methods["eWQ"] = function(instance){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.ICircuitRepository");var lB = GetTypeRef(oA, "System.Boolean");var nA = GetMethodRef(lA, "get_CanUndo", [lB]);var aPJ = instance.fFO;var bIJ = aPJ._vT.VTable[nA](aPJ);return bIJ;};Methods["eWR"] = function(instance){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.ICircuitRepository");var lB = GetTypeRef(oA, "System.Boolean");var nA = GetMethodRef(lA, "get_CanRedo", [lB]);var aPK = instance.fFO;var bIK = aPK._vT.VTable[nA](aPK);return bIK;};Methods["eWS"] = function(instance){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.ICircuitRepository");var lB = GetTypeRef(oA, "System.Boolean");var lC = GetTypeRef(oA, "System.String");var nA = GetMethodRef(lA, "get_CanUndo", [lB]);var nB = GetMethodRef(lA, "Undo", [lC]);var gV6;var $next;$next = 0;while (true) switch($next){case 0:
{
var aPL = instance.fFO;var bIL = aPL._vT.VTable[nA](aPL);var br1 = bIL;if (br1 || br1 === "") {
$next = 14;continue; }return;$next = 14;}case 14:
{
var aPM = instance.fFO;var bIM = aPM._vT.VTable[nB](aPM);gV6 = bIM;Methods.eTB(instance, gV6, 0);return;}}};Methods["eWT"] = function(instance){
var oA = Assembly.References.cA();var lA = GetTypeRef(Assembly, "Circuit.ICircuitRepository");var lB = GetTypeRef(oA, "System.Boolean");var lC = GetTypeRef(oA, "System.String");var nA = GetMethodRef(lA, "get_CanRedo", [lB]);var nB = GetMethodRef(lA, "Redo", [lC]);var gV7;var $next;$next = 0;while (true) switch($next){case 0:
{
var aPN = instance.fFO;var bIN = aPN._vT.VTable[nA](aPN);var br1 = bIN;if (br1 || br1 === "") {
$next = 14;continue; }return;$next = 14;}case 14:
{
var aPO = instance.fFO;var bIO = aPO._vT.VTable[nB](aPO);gV7 = bIO;Methods.eTB(instance, gV7, 0);return;}}};Methods["eLV"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.String");var lA = GetTypeRef(oA, "System.Int32");var mA = GetMethodDef(kA, "get_Length", [lA]);return (mA(Ret.Fields.fD6) > 0?1:0);};Methods["eWU"] = function(instance){
return Ret.Fields.fD6;};Methods["eWV"] = function(instance, iQS){
Ret.Fields.fD6 = iQS;return;};Methods["eWW"] = function(instance){
Ret.Fields.fD6 = "";return;};Methods["eWX"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetTypeDef(oA, "System.String");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(oA, "System.String");var lE = GetTypeRef(oA, "System.Void");var mA = kB.Methods.eQW;var mB = kC.Methods.eEG;var mC = GetMethodDef(kD, "Concat", [lD, lD, lD, lD]);var mD = kB.Methods.eQY;var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var nC = GetMethodRef(lA, "dump", [lD]);var nD = GetMethodRef(lA, "delete", [lE]);var nE = GetMethodRef(lB, "RemoveAt", [lC, lE]);var gV8 = kA.Initializer({});var gV9;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
Methods.eWW(instance);var aPP = instance.fFP;var bIP = aPP._vT.VTable[nA](aPP);gV8 = (bIP - 1);$next = 102;continue; $next = 33;}case 33:
{
var aPQ = instance.fFP;var bIQ = aPQ._vT.VTable[nB](aPQ, gV8);gV9 = bIQ;var br1 = !mB(gV9);if (br1 || br1 === "") {
$next = 98;continue; }stack.push(Ret.Fields.fD6);var aPR = gV9;var bIR = aPR._vT.VTable[nC](aPR);Ret.Fields.fD6 = mC(pop(1), bIR, "\n");var aPS = gV9;aPS._vT.VTable[nD](aPS);var aPT = instance.fFP;aPT._vT.VTable[nE](aPT, gV8);$next = 98;}case 98:
{
gV8 = (gV8 - 1);$next = 102;}case 102:
{
var br2 = gV8 >= 0;if (br2 || br2 === "") {
$next = 33;continue; }Methods.eMM(instance);stack = [];$next = 114;$leaveTarget = 126;continue; $next = 114;}case 114:
{
mD(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 126;}case 126:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 114;continue; }case 33:
{
$next = 114;continue; }case 98:
{
$next = 114;continue; }case 102:
{
$next = 114;continue; }default:
throw Catcher;}}};Methods["eWY"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(oA, "System.Void");var mA = kB.Methods.eQW;var mB = kC.Methods.eEG;var mC = kB.Methods.eQY;var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var nC = GetMethodRef(lA, "delete", [lD]);var nD = GetMethodRef(lB, "RemoveAt", [lC, lD]);var gWA = kA.Initializer({});var gWB;var $next;var $leaveTarget;var $exception;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
var aPU = instance.fFP;var bIS = aPU._vT.VTable[nA](aPU);gWA = (bIS - 1);$next = 70;continue; $next = 27;}case 27:
{
var aPV = instance.fFP;var bIT = aPV._vT.VTable[nB](aPV, gWA);gWB = bIT;var br1 = !mB(gWB);if (br1 || br1 === "") {
$next = 66;continue; }var aPW = gWB;aPW._vT.VTable[nC](aPW);var aPX = instance.fFP;aPX._vT.VTable[nD](aPX, gWA);$next = 66;}case 66:
{
gWA = (gWA - 1);$next = 70;}case 70:
{
var br2 = gWA >= 0;if (br2 || br2 === "") {
$next = 27;continue; }Methods.eMM(instance);stack = [];$next = 82;$leaveTarget = 94;continue; $next = 82;}case 82:
{
mC(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 94;}case 94:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 82;continue; }case 27:
{
$next = 82;continue; }case 66:
{
$next = 82;continue; }case 70:
{
$next = 82;continue; }default:
throw Catcher;}}};Methods["eWZ"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(oA, "System.String");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.String");var lD = GetTypeRef(oA, "System.Boolean");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lG = GetTypeRef(oA, "System.IDisposable");var lH = GetTypeRef(oA, "System.Void");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kA.Methods.eEG;var mE = GetMethodDef(kE, "Concat", [lC, lC, lC, lC]);var mF = GetMethodDef(kB, "MoveNext", [lD]);var mG = GetMethodDef(kF, "Constrained", [lE, lF, lE]);var mH = kC.Methods.eQM;var nA = GetMethodRef(lA, "dump", [lC]);var nB = GetMethodRef(lG, "Dispose", [lH]);var gWC;var gWD = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hCE = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kI}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gWD;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gWD = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
Methods.eWW(instance);gWD = mB(instance.fFP);$next = 29;}case 29:
{
$next = 73;continue; $next = 31;}case 31:
{
gWC = mC(hCE);var br1 = !mD(gWC);if (br1 || br1 === "") {
$next = 73;continue; }stack.push(Ret.Fields.fD6);var aPY = gWC;var bIU = aPY._vT.VTable[nA](aPY);Ret.Fields.fD6 = mE(pop(1), bIU, "\n");$next = 73;}case 73:
{
var br2 = mF(hCE);if (br2 || br2 === "") {
$next = 31;continue; }stack = [];$next = 84;$leaveTarget = 98;continue; $next = 84;}case 84:
{
var aPZ = mG(hCE, kB);aPZ._vT.VTable[nB](aPZ);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 100) $next = $leaveTarget; else $next = 100;continue; $next = 98;}case 98:
{
stack = [];$next = 100;$leaveTarget = 112;continue; $next = 100;}case 100:
{
mH(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 112;}case 112:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 100;continue; }case 29:
{
$next = 84;continue; }case 31:
{
$next = 84;continue; }case 73:
{
$next = 84;continue; }case 84:
{
$next = 100;continue; }case 98:
{
$next = 100;continue; }default:
throw Catcher;}}};Methods["eW0"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "Circuit.CircuitElm");var kC = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kB]);var kD = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kE = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kB]);var kF = GetTypeDef(oA, "System.String");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetTypeDef(Assembly, "System.Drawing.PointF");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kK = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.String");var lD = GetTypeRef(oA, "System.Boolean");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lG = GetTypeRef(oA, "System.IDisposable");var lH = GetTypeRef(oA, "System.Void");var lI = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.JavaScript.Object");var mA = kD.Methods.eQL;var mB = GetMethodDef(kE, "GetEnumerator", [lB]);var mC = GetMethodDef(kC, "get_Current", [lA]);var mD = kB.Methods.eEG;var mE = GetMethodDef(kF, "Concat", [lC, lC, lC, lC]);var mF = kB.Methods.eD5;var mG = kB.Methods.eD7;var mH = GetMethodDef(kC, "MoveNext", [lD]);var mI = GetMethodDef(kG, "Constrained", [lE, lF, lE]);var mJ = kD.Methods.eQM;var mK = GetMethodDef(kG, "Box", [lI, lF, lE]);var mL = kH.Methods.eKB;var mM = GetMethodDef(kG, "Unbox", [lE, lE]);var mN = GetMethodDef(kG, "OneLevelClone", [lE, lE]);var nA = GetMethodRef(lA, "dump", [lC]);var nB = GetMethodRef(lG, "Dispose", [lH]);var gWE;var gWF = kA.Initializer({});var gWG = kA.Initializer({});var gWH = kA.Initializer({});var gWI;var gWJ = kC.Initializer({});var $next;var $leaveTarget;var $exception;var hCF = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kK}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gWJ;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gWJ = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gWE = "";gWF = 0;gWG = 0;gWH = 0;mA(instance.fFH);$next = 23;}case 23:
{
gWJ = mB(instance.fFP);$next = 36;}case 36:
{
$next = 99;continue; $next = 38;}case 38:
{
gWI = mC(hCF);var br1 = !mD(gWI);if (br1 || br1 === "") {
$next = 99;continue; }stack.push(gWE);var aP0 = gWI;var bIV = aP0._vT.VTable[nA](aP0);gWE = mE(pop(1), bIV, "\n");gWF = (gWF + mF(gWI));gWG = (gWG + mG(gWI));gWH = (gWH + 1);$next = 99;}case 99:
{
var br2 = mH(hCF);if (br2 || br2 === "") {
$next = 38;continue; }stack = [];$next = 110;$leaveTarget = 124;continue; $next = 110;}case 110:
{
var aP1 = mI(hCF, kC);aP1._vT.VTable[nB](aP1);if ($exception) throw $exception;if (23 <= $leaveTarget && $leaveTarget < 126) $next = $leaveTarget; else $next = 126;continue; $next = 124;}case 124:
{
stack = [];$next = 126;$leaveTarget = 138;continue; $next = 126;}case 126:
{
mJ(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 138;}case 138:
{
var br3 = gWH <= 0;if (br3 || br3 === "") {
$next = 168;continue; }Methods.eW1(instance, gWE, Methods.eK0(instance, mN(mM(mL(mK({}, kH), gWF / gWH, gWG / gWH)))));$next = 168;}case 168:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 23:
{
$next = 126;continue; }case 36:
{
$next = 110;continue; }case 38:
{
$next = 110;continue; }case 99:
{
$next = 110;continue; }case 110:
{
$next = 126;continue; }case 124:
{
$next = 126;continue; }default:
throw Catcher;}}};Methods["eW2"] = function(instance, iQT){
Methods.eW1(instance, Ret.Fields.fD6, iQT);return;};Methods["eW1"] = function(instance, iQU, iQV){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "System.Drawing.Rectangle");var kC = GetTypeDef(Assembly, "System.Drawing.Point");var kD = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kE = GetTypeDef(Assembly, "Circuit.CircuitElm");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kG = GetTypeDef(Assembly, "Circuit.RectangleEx");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(oA, "System.Object");var mA = kD.Methods.eQL;var mB = kD.Methods.eQM;var mC = kB.Methods.eE9;var mD = kE.Methods.eEH;var mE = kE.Methods.eBR;var mF = GetMethodDef(kF, "Unbox", [lD, lD]);var mG = GetMethodDef(kF, "OneLevelClone", [lD, lD]);var mH = kB.Methods.eW3;var mI = kG.Methods.eW4;var mJ = kB.Methods.eUV;var mK = kB.Methods.eHP;var mL = kB.Methods.eH3;var mM = kB.Methods.eHQ;var mN = kB.Methods.eH4;var mO = kE.Methods.eGL;var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var gWK = kA.Initializer({});var gWL = kB.Initializer({});var gWM = kA.Initializer({});var gWN;var gWO = kB.Initializer({});var gWP = kA.Initializer({});var gWQ = kA.Initializer({});var gWR = kC.Initializer({});var gWS = kA.Initializer({});var gWT = kA.Initializer({});var gWU = kA.Initializer({});var gWV;var $next;var $leaveTarget;var $exception;var hCG = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gWL;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gWL = Value;})), kB);var hCH = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gWR;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gWR = Value;})), kC);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
Methods.eK3(instance);gWK = 0;mA(instance.fFH);$next = 19;}case 19:
{
var aP2 = instance.fFP;var bIW = aP2._vT.VTable[nA](aP2);gWK = bIW;stack = [];$next = 33;$leaveTarget = 45;continue; $next = 33;}case 33:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 45;}case 45:
{
Methods.eTB(instance, iQU, 1);mA(instance.fFH);$next = 64;}case 64:
{
mC(hCG, 0, 0, 0, 0);gWM = gWK;$next = 134;continue; $next = 79;}case 79:
{
var aP3 = instance.fFP;var bIX = aP3._vT.VTable[nB](aP3, gWM);gWN = bIX;mD(gWN, 1);gWO = mE(gWN);var br1 = !mF(hCG).fB8;if (br1 || br1 === "") {
$next = 127;continue; }gWL = mH(mG(gWL), mG(gWO));$next = 130;continue; $next = 127;}case 127:
{
gWL = gWO;$next = 130;}case 130:
{
gWM = (gWM + 1);$next = 134;}case 134:
{
stack.push(gWM);var aP4 = instance.fFP;var bIY = aP4._vT.VTable[nA](aP4);var br2 = pop(1) != bIY;if (br2 || br2 === "") {
$next = 79;continue; }gWP = 0;gWQ = 0;var br3 = mF(hCG).fB8 <= 0;if (br3 || br3 === "") {
$next = 218;continue; }gWR = mI(mG(gWL));gWP = Methods.eGJ(instance, iQV.fE - mF(hCH).fHM);gWQ = Methods.eGJ(instance, iQV.fS - mF(hCH).fHN);$next = 218;}case 218:
{
mJ(hCG, gWP, gWQ);$next = 272;continue; $next = 231;}case 231:
{
gWP = (gWP + Methods.eM(instance));gWQ = (gWQ + Methods.eM(instance));mJ(hCG, Methods.eM(instance), Methods.eM(instance));$next = 272;}case 272:
{
var br4 = Methods.eW5(instance, mG(gWL), gWK);if (br4 || br4 === "") {
$next = 231;continue; }var br5 = mK(hCG) >= Methods.eUD(instance);if (br5 || br5 === "") {
$next = 338;continue; }gWP = (gWP + (Methods.eUD(instance) - mK(hCG)));mJ(hCG, Methods.eUD(instance) - mK(hCG), 0);$next = 338;}case 338:
{
var br6 = mL(hCG) <= (mF(Methods.ePQ(instance)).fF2 - Methods.eUD(instance));if (br6 || br6 === "") {
$next = 410;continue; }gWS = ((mF(Methods.ePQ(instance)).fF2 - Methods.eUD(instance)) - mL(hCG));gWP = (gWP + gWS);mJ(hCG, gWS, 0);$next = 410;}case 410:
{
var br7 = mM(hCG) >= Methods.eUD(instance);if (br7 || br7 === "") {
$next = 466;continue; }gWQ = (gWQ + (Methods.eUD(instance) - mM(hCG)));mJ(hCG, 0, Methods.eUD(instance) - mM(hCG));$next = 466;}case 466:
{
var br8 = mN(hCG) <= (mF(Methods.ePQ(instance)).fF3 - Methods.eUD(instance));if (br8 || br8 === "") {
$next = 538;continue; }gWT = ((mF(Methods.ePQ(instance)).fF3 - Methods.eUD(instance)) - mN(hCG));gWQ = (gWQ + gWT);mJ(hCG, 0, gWT);$next = 538;}case 538:
{
gWU = gWK;$next = 575;continue; $next = 543;}case 543:
{
var aP5 = instance.fFP;var bIZ = aP5._vT.VTable[nB](aP5, gWU);gWV = bIZ;mO(gWV, gWP, gWQ);gWU = (gWU + 1);$next = 575;}case 575:
{
stack.push(gWU);var aP6 = instance.fFP;var bI0 = aP6._vT.VTable[nA](aP6);var br9 = pop(1) != bI0;if (br9 || br9 === "") {
$next = 543;continue; }Methods.eMM(instance);stack = [];$next = 598;$leaveTarget = 610;continue; $next = 598;}case 598:
{
mB(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 610;}case 610:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 19:
{
$next = 33;continue; }case 64:
{
$next = 598;continue; }case 79:
{
$next = 598;continue; }case 127:
{
$next = 598;continue; }case 130:
{
$next = 598;continue; }case 134:
{
$next = 598;continue; }case 218:
{
$next = 598;continue; }case 231:
{
$next = 598;continue; }case 272:
{
$next = 598;continue; }case 338:
{
$next = 598;continue; }case 410:
{
$next = 598;continue; }case 466:
{
$next = 598;continue; }case 538:
{
$next = 598;continue; }case 543:
{
$next = 598;continue; }case 575:
{
$next = 598;continue; }default:
throw Catcher;}}};Methods["eUD"] = function(instance){
return Methods.eM(instance);};Methods["eW5"] = function(instance, iQW, iQX){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(Assembly, "System.Drawing.Rectangle");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(oA, "System.Object");var mA = kC.Methods.eBR;var mB = GetMethodDef(kD, "OneLevelClone", [lD, lD]);var mC = kB.Methods.eJ2;var nA = GetMethodRef(lB, "get_Item", [lC, lA]);var nB = GetMethodRef(lB, "get_Count", [lC]);var gWW = kA.Initializer({});var gWX;var gWY = kB.Initializer({});var $next;var hCI = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kG}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gWY;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gWY = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
gWW = 0;$next = 40;continue; $next = 4;}case 4:
{
var aP7 = instance.fFP;var bI1 = aP7._vT.VTable[nA](aP7, gWW);gWX = bI1;gWY = mA(gWX);var br1 = !mC(hCI, mB(iQW));if (br1 || br1 === "") {
$next = 36;continue; }return 1;$next = 36;}case 36:
{
gWW = (gWW + 1);$next = 40;}case 40:
{
stack.push(gWW);var aP8 = instance.fFP;var bI2 = aP8._vT.VTable[nB](aP8);var br2 = pop(1) >= bI2;if (br2 || br2 === "") {
$next = 58;continue; }var br3 = gWW < iQX;if (br3 || br3 === "") {
$next = 4;continue; }$next = 58;}case 58:
{
return 0;}}};Methods["eK3"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kA.Methods.eEH;var mE = GetMethodDef(kB, "MoveNext", [lC]);var mF = GetMethodDef(kE, "Constrained", [lD, lE, lD]);var mG = kC.Methods.eQM;var nA = GetMethodRef(lF, "Dispose", [lG]);var gWZ;var gW0 = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hCJ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gW0;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gW0 = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gW0 = mB(instance.fFP);$next = 23;}case 23:
{
$next = 40;continue; $next = 25;}case 25:
{
gWZ = mC(hCJ);mD(gWZ, 0);$next = 40;}case 40:
{
var br1 = mE(hCJ);if (br1 || br1 === "") {
$next = 25;continue; }stack = [];$next = 51;$leaveTarget = 65;continue; $next = 51;}case 51:
{
var aP9 = mF(hCJ, kB);aP9._vT.VTable[nA](aP9);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 67) $next = $leaveTarget; else $next = 67;continue; $next = 65;}case 65:
{
stack = [];$next = 67;$leaveTarget = 79;continue; $next = 67;}case 67:
{
mG(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 79;}case 79:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 67;continue; }case 23:
{
$next = 51;continue; }case 25:
{
$next = 51;continue; }case 40:
{
$next = 51;continue; }case 51:
{
$next = 67;continue; }case 65:
{
$next = 67;continue; }default:
throw Catcher;}}};Methods["eW6"] = function(instance){
var oA = Assembly.References.cA();var oB = Assembly.References.cB();var kA = GetTypeDef(oA, "System.Boolean");var kB = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kD = GetTypeDef(Assembly, "Circuit.CirSim$2b$$3c$$3e$c__DisplayClass24");var kE = GetTypeDef(Assembly, "Circuit.CircuitNode");var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kE]);var kG = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kE]);var kH = GetTypeDef(oA, "System.Func`2");var kI = GetTypeDef(oB, "System.Linq.Enumerable");var kJ = GetTypeDef(Assembly, "Circuit.CircuitNodeLink");var kK = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kJ]);var kL = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kJ]);var kM = GetTypeDef(Assembly, "Circuit.CircuitElm");var kN = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kO = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kP = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.Elements.WireElm");var lE = GetTypeRef(oA, "System.Object");var lF = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeRef");var lG = GetTypeRef(Assembly, "Circuit.CircuitNode");var lH = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lG]);var lI = GetTypeRef(oA, "System.IntPtr");var lJ = GetTypeRef(oA, "System.Void");var lK = ToRef(dL);var lL = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.IEnumerable`1"), [lK]);var lM = GetTypeRef(oA, "System.Func`2");var lN = GetTypeRef(oA, "System.Boolean");var lO = GetTypeRef(Assembly, "Circuit.CircuitNodeLink");var lP = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lO]);var lQ = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lR = GetTypeRef(oA, "System.IDisposable");var mA = kB.Methods.eQL;var mB = GetMethodDef(kC, "IsInst", [lE, lF, lE]);var mC = kD.Methods.eW7;var mD = GetMethodDef(kF, "GetEnumerator", [lH]);var mE = GetMethodDef(kG, "get_Current", [lG]);var mF = kD.Methods.eW8;var mG = GetMethodDef(kH, ".ctor", [lE, lI, lJ]);var mH = GetMethodDef(kI, "Any", [lL, lM, lN]);var mI = GetMethodDef(kK, "GetEnumerator", [lP]);var mJ = GetMethodDef(kL, "get_Current", [lO]);var mK = kM.Methods.eEH;var mL = GetMethodDef(kL, "MoveNext", [lN]);var mM = GetMethodDef(kC, "Constrained", [lE, lQ, lE]);var mN = GetMethodDef(kG, "MoveNext", [lN]);var mO = kB.Methods.eQM;var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var nC = GetMethodRef(lR, "Dispose", [lJ]);var gW1;var gW2;var gW3;var gW4;var gW5 = kA.Initializer({});var gW6;var gW7 = kA.Initializer({});var $next;var $leaveTarget;var $exception;var hCK = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kP}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gW6;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gW6 = Value;})), kJ);var hCL = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kP}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gW7;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gW7 = Value;})), kA);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
gW1 = Methods.eK5(instance);mA(instance.fFH);$next = 18;}case 18:
{
var aQA = gW1;var bI3 = aQA._vT.VTable[nA](aQA);var br1 = bI3 != 1;if (br1 || br1 === "") {
$next = 222;continue; }var aQB = gW1;var bI4 = aQB._vT.VTable[nB](aQB, 0);var br2 = !mB(bI4, lD);if (br2 || br2 === "") {
$next = 222;continue; }gW4 = null;gW5 = mC({
_vT:kD});stack.push(gW5);var aQC = gW1;var bI5 = aQC._vT.VTable[nB](aQC, 0);pop(1).fHO = bI5;gW6 = mD(instance.fFB);$next = 83;}case 83:
{
$next = 197;continue; $next = 85;}case 85:
{
gW2 = mE(hCK);stack.push(gW2.fB6);var br3 = gW4;if (br3 || br3 === "") {
$next = 116;continue; }gW4 = mG({
_vT:kH}, gW5, mF);$next = 116;}case 116:
{
var br4 = !mH(pop(1), gW4);if (br4 || br4 === "") {
$next = 197;continue; }gW7 = mI(gW2.fB6);$next = 137;}case 137:
{
$next = 172;continue; $next = 139;}case 139:
{
gW3 = mJ(hCL);var br5 = !mB(gW3.fB7, lD);if (br5 || br5 === "") {
$next = 172;continue; }mK(gW3.fB7, 1);$next = 172;}case 172:
{
var br6 = mL(hCL);if (br6 || br6 === "") {
$next = 139;continue; }stack = [];$next = 183;$leaveTarget = 197;continue; $next = 183;}case 183:
{
var aQD = mM(hCL, kL);aQD._vT.VTable[nC](aQD);if ($exception) throw $exception;if (83 <= $leaveTarget && $leaveTarget < 208) $next = $leaveTarget; else $next = 208;continue; $next = 197;}case 197:
{
var br7 = mN(hCK);if (br7 || br7 === "") {
$next = 85;continue; }stack = [];$next = 208;$leaveTarget = 222;continue; $next = 208;}case 208:
{
var aQE = mM(hCK, kG);aQE._vT.VTable[nC](aQE);if ($exception) throw $exception;if (18 <= $leaveTarget && $leaveTarget < 224) $next = $leaveTarget; else $next = 224;continue; $next = 222;}case 222:
{
stack = [];$next = 224;$leaveTarget = 236;continue; $next = 224;}case 224:
{
mO(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 236;}case 236:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 18:
{
$next = 224;continue; }case 83:
{
$next = 208;continue; }case 85:
{
$next = 208;continue; }case 116:
{
$next = 208;continue; }case 137:
{
$next = 183;continue; }case 139:
{
$next = 183;continue; }case 172:
{
$next = 183;continue; }case 183:
{
$next = 208;continue; }case 197:
{
$next = 208;continue; }case 208:
{
$next = 224;continue; }case 222:
{
$next = 224;continue; }default:
throw Catcher;}}};Methods["eLW"] = function(instance, iQY){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Boolean");var kC = GetTypeDef(Assembly, "Circuit.CircuitElm");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kC]);var kE = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kF = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kC]);var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kI = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kJ = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(Assembly, "Circuit.CircuitPoint");var lE = GetTypeRef(oA, "System.Boolean");var lF = GetTypeRef(oA, "System.Object");var lG = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lH = GetTypeRef(oA, "System.IDisposable");var lI = GetTypeRef(oA, "System.Void");var mA = kE.Methods.eQL;var mB = GetMethodDef(kF, "GetEnumerator", [lB]);var mC = GetMethodDef(kD, "get_Current", [lA]);var mD = kC.Methods.eG3;var mE = kC.Methods.eEH;var mF = GetMethodDef(kD, "MoveNext", [lE]);var mG = GetMethodDef(kG, "Constrained", [lF, lG, lF]);var mH = kE.Methods.eQM;var nA = GetMethodRef(lA, "getPostCount", [lC]);var nB = GetMethodRef(lA, "getPost", [lC, lD]);var nC = GetMethodRef(lH, "Dispose", [lI]);var gW8;var gW9 = kA.Initializer({});var gXA = kB.Initializer({});var gXB = kA.Initializer({});var gXC = kD.Initializer({});var $next;var $leaveTarget;var $exception;var hCM = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kJ}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gXC;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gXC = Value;})), kD);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gXC = mB(instance.fFP);$next = 24;}case 24:
{
$next = 120;continue; $next = 26;}case 26:
{
gW8 = mC(hCM);var aQF = gW8;var bI6 = aQF._vT.VTable[nA](aQF);gW9 = bI6;gXA = 1;var br1 = gW9 <= 0;if (br1 || br1 === "") {
$next = 79;continue; }gXB = 0;$next = 70;continue; $next = 51;}case 51:
{
stack.push(instance);var aQG = gW8;var bI7 = aQG._vT.VTable[nB](aQG, gXB);gXA = Methods.eXA(pop(1), bI7, iQY);gXB = (gXB + 1);$next = 70;}case 70:
{
var br2 = !gXA;if (br2 || br2 === "") {
$next = 113;continue; }var br3 = gXB < gW9;if (br3 || br3 === "") {
$next = 51;continue; }$next = 113;continue; $next = 79;}case 79:
{
var br4 = !Methods.eXA(instance, mD(gW8, 0), iQY);if (br4 || br4 === "") {
$next = 111;continue; }stack.push(Methods.eXA(instance, mD(gW8, 1), iQY));$next = 112;continue; $next = 111;}case 111:
{
stack.push(0);$next = 112;}case 112:
{
gXA = pop(1);$next = 113;}case 113:
{
mE(gW8, gXA);$next = 120;}case 120:
{
var br5 = mF(hCM);if (br5 || br5 === "") {
$next = 26;continue; }stack = [];$next = 131;$leaveTarget = 145;continue; $next = 131;}case 131:
{
var aQH = mG(hCM, kD);aQH._vT.VTable[nC](aQH);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 147) $next = $leaveTarget; else $next = 147;continue; $next = 145;}case 145:
{
stack = [];$next = 147;$leaveTarget = 159;continue; $next = 147;}case 147:
{
mH(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 159;}case 159:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 147;continue; }case 24:
{
$next = 131;continue; }case 26:
{
$next = 131;continue; }case 51:
{
$next = 131;continue; }case 70:
{
$next = 131;continue; }case 79:
{
$next = 131;continue; }case 111:
{
$next = 131;continue; }case 112:
{
$next = 131;continue; }case 113:
{
$next = 131;continue; }case 120:
{
$next = 131;continue; }case 131:
{
$next = 147;continue; }case 145:
{
$next = 147;continue; }default:
throw Catcher;}}};Methods["eXA"] = function(instance, iQZ, iQ0){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Int32");var kB = GetTypeDef(oA, "System.Boolean");var kC = GetTypeDef(oA, "System.Single");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var lA = GetTypeRef(Assembly, "System.Drawing.PointF");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1"), [lA]);var lC = GetTypeRef(oA, "System.Int32");var lD = GetTypeRef(oA, "System.Object");var mA = GetMethodDef(kD, "Unbox", [lD, lD]);var nA = GetMethodRef(lB, "get_Count", [lC]);var nB = GetMethodRef(lB, "get_Item", [lC, lA]);var gXD = kA.Initializer({});var gXE = kA.Initializer({});var gXF = kA.Initializer({});var gXG = kB.Initializer({});var gXH = kC.Initializer({});var gXI = kC.Initializer({});var $next;var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) switch($next){case 0:
{
var aQI = iQ0;var bI8 = aQI._vT.VTable[nA](aQI);gXD = bI8;gXE = 0;gXF = (gXD - 1);gXG = 0;gXH = iQZ.fE;gXI = iQZ.fS;gXE = 0;$next = 199;continue; $next = 40;}case 40:
{
var aQJ = iQ0;var bI9 = aQJ._vT.VTable[nB](aQJ, gXE);var br1 = mA(bI9).fCH >= gXI;if (br1 || br1 === "") {
$next = 72;continue; }var aQK = iQ0;var bJA = aQK._vT.VTable[nB](aQK, gXF);var br2 = mA(bJA).fCH >= gXI;if (br2 || br2 === "") {
$next = 104;continue; }$next = 72;}case 72:
{
var aQL = iQ0;var bJB = aQL._vT.VTable[nB](aQL, gXF);var br3 = mA(bJB).fCH >= gXI;if (br3 || br3 === "") {
$next = 193;continue; }var aQM = iQ0;var bJC = aQM._vT.VTable[nB](aQM, gXE);var br4 = mA(bJC).fCH < gXI;if (br4 || br4 === "") {
$next = 193;continue; }$next = 104;}case 104:
{
var aQN = iQ0;var bJD = aQN._vT.VTable[nB](aQN, gXE);stack.push(mA(bJD).fCG);stack.push(gXI);var aQO = iQ0;var bJE = aQO._vT.VTable[nB](aQO, gXE);stack.push(pop(1) - mA(bJE).fCH);var aQP = iQ0;var bJF = aQP._vT.VTable[nB](aQP, gXF);stack.push(mA(bJF).fCH);var aQQ = iQ0;var bJG = aQQ._vT.VTable[nB](aQQ, gXE);stack.push(pop(2) / (pop(1) - mA(bJG).fCH));var aQR = iQ0;var bJH = aQR._vT.VTable[nB](aQR, gXF);stack.push(mA(bJH).fCG);var aQS = iQ0;var bJI = aQS._vT.VTable[nB](aQS, gXE);var br5 = (pop(3) + pop(2) * (pop(1) - mA(bJI).fCG)) >= gXH;if (br5 || br5 === "") {
$next = 193;continue; }gXG = (gXG == 0?1:0);$next = 193;}case 193:
{
gXF = gXE;gXE = (gXE + 1);$next = 199;}case 199:
{
var br6 = gXE < gXD;if (br6 || br6 === "") {
$next = 40;continue; }return gXG;}}};Methods["eXB"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kA.Methods.eEH;var mE = GetMethodDef(kB, "MoveNext", [lC]);var mF = GetMethodDef(kE, "Constrained", [lD, lE, lD]);var mG = kC.Methods.eQM;var nA = GetMethodRef(lF, "Dispose", [lG]);var gXJ;var gXK = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hCN = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gXK;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gXK = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gXK = mB(instance.fFP);$next = 23;}case 23:
{
$next = 40;continue; $next = 25;}case 25:
{
gXJ = mC(hCN);mD(gXJ, 1);$next = 40;}case 40:
{
var br1 = mE(hCN);if (br1 || br1 === "") {
$next = 25;continue; }stack = [];$next = 51;$leaveTarget = 65;continue; $next = 51;}case 51:
{
var aQT = mF(hCN, kB);aQT._vT.VTable[nA](aQT);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 67) $next = $leaveTarget; else $next = 67;continue; $next = 65;}case 65:
{
stack = [];$next = 67;$leaveTarget = 79;continue; $next = 67;}case 67:
{
mG(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 79;}case 79:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 67;continue; }case 23:
{
$next = 51;continue; }case 25:
{
$next = 51;continue; }case 40:
{
$next = 51;continue; }case 51:
{
$next = 67;continue; }case 65:
{
$next = 67;continue; }default:
throw Catcher;}}};Methods["eXC"] = function(instance){
var oA = Assembly.References.cA();var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var kB = GetInstanceDef(oA, "System.Collections.Generic.List`1$2b$Enumerator", [kA]);var kC = GetTypeDef(Assembly, "System.Threading.Fake.ReaderWriterLockSlim");var kD = GetInstanceDef(oA, "System.Collections.Generic.List`1", [kA]);var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.RuntimeHelpers");var kF = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kG = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kH = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(Assembly, "Circuit.CircuitElm");var lB = GetInstanceRef(GetTypeRef(oA, "System.Collections.Generic.List`1$2b$Enumerator"), [lA]);var lC = GetTypeRef(oA, "System.Boolean");var lD = GetTypeRef(oA, "System.Object");var lE = GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef");var lF = GetTypeRef(oA, "System.IDisposable");var lG = GetTypeRef(oA, "System.Void");var mA = kC.Methods.eQL;var mB = GetMethodDef(kD, "GetEnumerator", [lB]);var mC = GetMethodDef(kB, "get_Current", [lA]);var mD = kA.Methods.eEH;var mE = GetMethodDef(kB, "MoveNext", [lC]);var mF = GetMethodDef(kE, "Constrained", [lD, lE, lD]);var mG = kC.Methods.eQM;var nA = GetMethodRef(lF, "Dispose", [lG]);var gXL;var gXM = kB.Initializer({});var $next;var $leaveTarget;var $exception;var hCO = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kH}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gXM;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gXM = Value;})), kB);var stack = [];var pop = (function(index){
return stack.splice(stack.length - index, 1)[0];});$next = 0;while (true) try {
while (true) {
switch($next){case 0:
{
mA(instance.fFH);$next = 11;}case 11:
{
gXM = mB(instance.fFP);$next = 23;}case 23:
{
$next = 40;continue; $next = 25;}case 25:
{
gXL = mC(hCO);mD(gXL, 0);$next = 40;}case 40:
{
var br1 = mE(hCO);if (br1 || br1 === "") {
$next = 25;continue; }stack = [];$next = 51;$leaveTarget = 65;continue; $next = 51;}case 51:
{
var aQU = mF(hCO, kB);aQU._vT.VTable[nA](aQU);if ($exception) throw $exception;if (11 <= $leaveTarget && $leaveTarget < 67) $next = $leaveTarget; else $next = 67;continue; $next = 65;}case 65:
{
stack = [];$next = 67;$leaveTarget = 79;continue; $next = 67;}case 67:
{
mG(instance.fFH);if ($exception) throw $exception;$next = $leaveTarget;$leaveTarget = null;continue; $next = 79;}case 79:
{
return;}}break;}} catch (Catcher) {
$exception = Catcher;stack = [Catcher];switch($next){case 11:
{
$next = 67;continue; }case 23:
{
$next = 51;continue; }case 25:
{
$next = 51;continue; }case 40:
{
$next = 51;continue; }case 51:
{
$next = 67;continue; }case 65:
{
$next = 67;continue; }default:
throw Catcher;}}};Methods["eQC"] = function(iQ1){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Action");var lA = GetTypeRef(oA, "System.Void");var mA = GetMethodDef(kA, "Invoke", [lA]);mA(iQ1);return;};Methods["eUF"] = function(iQ2){
return iQ2.fG6;};Methods["eUL"] = function(iQ3){
return iQ3.fG6;};Methods["eU2"] = function(iQ4){
var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var mA = kA.Methods.eEG;return mA(iQ4);};Methods["eU6"] = function(iQ5, iQ6){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(Assembly, "Circuit.AutoRoute");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Double");var lB = GetTypeRef(oA, "System.Int32");var mA = kB.Methods.eDQ;var mB = GetMethodDef(kA, "CompareTo", [lA, lB]);var gXN = kA.Initializer({});var hCP = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kE}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gXN;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gXN = Value;})), kA);gXN = mA(iQ5);return mB(hCP, mA(iQ6));};Methods["eU9"] = function(iQ7, iQ8){
var oA = Assembly.References.cA();var kA = GetTypeDef(oA, "System.Double");var kB = GetTypeDef(Assembly, "Circuit.AutoRoute");var kC = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader");var kD = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter");var kE = GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable");var lA = GetTypeRef(oA, "System.Double");var lB = GetTypeRef(oA, "System.Int32");var mA = kB.Methods.eDQ;var mB = GetMethodDef(kA, "CompareTo", [lA, lB]);var gXO = kA.Initializer({});var hCQ = GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.PointerToVariable"), ".ctor", [GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), GetTypeRef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.TypeDef"), GetTypeRef(Assembly.References.cA(), "System.Void")])({
_vT:kE}, GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxReader"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(){
return gXO;})), GetMethodDef(GetTypeDef(Prelude, "Microsoft.LiveLabs.Volta.Prelude.BoxWriter"), ".ctor", [GetTypeRef(Assembly.References.cA(), "System.Object"), GetTypeRef(Assembly.References.cA(), "System.IntPtr"), GetTypeRef(Assembly.References.cA(), "System.Void")])(null, null, (function(Value){
gXO = Value;})), kA);gXO = mA(iQ8);return mB(hCQ, mA(iQ7));};Methods["eVX"] = function(iQ9){
var kA = GetTypeDef(Assembly, "Circuit.CircuitElm");var mA = kA.Methods.eFH;return (mA(iQ9) == 0?1:0);};Ret["Methods"] = Methods;var VTable = {};VTable[nA] = Methods.eV7;VTable[nB] = Methods.eV7;VTable[nC] = Methods.eV9;VTable[nD] = Methods.eV9;VTable[nE] = Methods.eWB;VTable[nF] = Methods.eWB;VTable[nG] = Methods.eWP;VTable[nH] = Methods.eWP;VTable[nI] = mB;VTable[nJ] = mC;VTable[nK] = mD;VTable[nL] = mE;Ret["VTable"] = VTable;var Parents = {};Parents[lAM.Id] = true;Parents[lAN.Id] = true;Parents[lAG.Id] = true;Ret["Parents"] = Parents;Ret["PublicMethods"] = {};Ret["PublicMethods"]["add_OnAnalyzed"] = {};Ret["PublicMethods"]["add_OnAnalyzed"][GetSignature([lA, lB])] = "eOR";Ret["PublicMethods"]["remove_OnAnalyzed"] = {};Ret["PublicMethods"]["remove_OnAnalyzed"][GetSignature([lA, lB])] = "eOS";Ret["PublicMethods"]["get_RunOnMainThread"] = {};Ret["PublicMethods"]["get_RunOnMainThread"][GetSignature([lC])] = "eOT";Ret["PublicMethods"]["set_RunOnMainThread"] = {};Ret["PublicMethods"]["set_RunOnMainThread"][GetSignature([lC, lB])] = "eOU";Ret["PublicMethods"]["get_ShowDots"] = {};Ret["PublicMethods"]["get_ShowDots"][GetSignature([lD])] = "eI6";Ret["PublicMethods"]["set_ShowDots"] = {};Ret["PublicMethods"]["set_ShowDots"][GetSignature([lD, lB])] = "eH";Ret["PublicMethods"]["get_ShowHighlight"] = {};Ret["PublicMethods"]["get_ShowHighlight"][GetSignature([lD])] = "eIY";Ret["PublicMethods"]["set_ShowHighlight"] = {};Ret["PublicMethods"]["set_ShowHighlight"][GetSignature([lD, lB])] = "eOV";Ret["PublicMethods"]["get_ShowElectronFlow"] = {};Ret["PublicMethods"]["get_ShowElectronFlow"][GetSignature([lD])] = "eI5";Ret["PublicMethods"]["set_ShowElectronFlow"] = {};Ret["PublicMethods"]["set_ShowElectronFlow"][GetSignature([lD, lB])] = "eOW";Ret["PublicMethods"]["get_ShowVoltage"] = {};Ret["PublicMethods"]["get_ShowVoltage"][GetSignature([lD])] = "eHK";Ret["PublicMethods"]["set_ShowVoltage"] = {};Ret["PublicMethods"]["set_ShowVoltage"][GetSignature([lD, lB])] = "eL";Ret["PublicMethods"]["get_ShowPower"] = {};Ret["PublicMethods"]["get_ShowPower"][GetSignature([lD])] = "eJB";Ret["PublicMethods"]["set_ShowPower"] = {};Ret["PublicMethods"]["set_ShowPower"][GetSignature([lD, lB])] = "eOX";Ret["PublicMethods"]["get_ShowValues"] = {};Ret["PublicMethods"]["get_ShowValues"][GetSignature([lD])] = "eOY";Ret["PublicMethods"]["set_ShowValues"] = {};Ret["PublicMethods"]["set_ShowValues"][GetSignature([lD, lB])] = "eK";Ret["PublicMethods"]["get_ShowErrors"] = {};Ret["PublicMethods"]["get_ShowErrors"][GetSignature([lD])] = "eOZ";Ret["PublicMethods"]["set_ShowErrors"] = {};Ret["PublicMethods"]["set_ShowErrors"][GetSignature([lD, lB])] = "eI";Ret["PublicMethods"]["get_ShowGrid"] = {};Ret["PublicMethods"]["get_ShowGrid"][GetSignature([lD])] = "eO0";Ret["PublicMethods"]["set_ShowGrid"] = {};Ret["PublicMethods"]["set_ShowGrid"][GetSignature([lD, lB])] = "eJ";Ret["PublicMethods"]["get_ShowWireBackground"] = {};Ret["PublicMethods"]["get_ShowWireBackground"][GetSignature([lD])] = "eO1";Ret["PublicMethods"]["set_ShowWireBackground"] = {};Ret["PublicMethods"]["set_ShowWireBackground"][GetSignature([lD, lB])] = "eO2";Ret["PublicMethods"]["get_IsEuroResistor"] = {};Ret["PublicMethods"]["get_IsEuroResistor"][GetSignature([lD])] = "eO3";Ret["PublicMethods"]["set_IsEuroResistor"] = {};Ret["PublicMethods"]["set_IsEuroResistor"][GetSignature([lD, lB])] = "eO4";Ret["PublicMethods"]["get_IsConventional"] = {};Ret["PublicMethods"]["get_IsConventional"][GetSignature([lD])] = "eO5";Ret["PublicMethods"]["set_IsConventional"] = {};Ret["PublicMethods"]["set_IsConventional"][GetSignature([lD, lB])] = "eO6";Ret["PublicMethods"]["get_ShouldKeepConnected"] = {};Ret["PublicMethods"]["get_ShouldKeepConnected"][GetSignature([lD])] = "eO7";Ret["PublicMethods"]["set_ShouldKeepConnected"] = {};Ret["PublicMethods"]["set_ShouldKeepConnected"][GetSignature([lD, lB])] = "eO8";Ret["PublicMethods"]["get_PowerBarValue"] = {};Ret["PublicMethods"]["get_PowerBarValue"][GetSignature([lE])] = "eO9";Ret["PublicMethods"]["set_PowerBarValue"] = {};Ret["PublicMethods"]["set_PowerBarValue"][GetSignature([lE, lB])] = "ePA";Ret["PublicMethods"]["get_SimTime"] = {};Ret["PublicMethods"]["get_SimTime"][GetSignature([lF])] = "ePB";Ret["PublicMethods"]["get_SimTimeStep"] = {};Ret["PublicMethods"]["get_SimTimeStep"][GetSignature([lF])] = "ePD";Ret["PublicMethods"]["get_KeepInRealTime"] = {};Ret["PublicMethods"]["get_KeepInRealTime"][GetSignature([lD])] = "ePF";Ret["PublicMethods"]["set_KeepInRealTime"] = {};Ret["PublicMethods"]["set_KeepInRealTime"][GetSignature([lD, lB])] = "ePG";Ret["PublicMethods"]["get_WallTimeEpoch"] = {};Ret["PublicMethods"]["get_WallTimeEpoch"][GetSignature([lG])] = "ePH";Ret["PublicMethods"]["get_GridSize"] = {};Ret["PublicMethods"]["get_GridSize"][GetSignature([lE])] = "eM";Ret["PublicMethods"]["set_GridSize"] = {};Ret["PublicMethods"]["set_GridSize"][GetSignature([lE, lB])] = "ePI";Ret["PublicMethods"]["add_ThemeChanged"] = {};Ret["PublicMethods"]["add_ThemeChanged"][GetSignature([lA, lB])] = "ePJ";Ret["PublicMethods"]["remove_ThemeChanged"] = {};Ret["PublicMethods"]["remove_ThemeChanged"][GetSignature([lA, lB])] = "ePK";Ret["PublicMethods"]["add_NameChanged"] = {};Ret["PublicMethods"]["add_NameChanged"][GetSignature([lA, lB])] = "ePL";Ret["PublicMethods"]["remove_NameChanged"] = {};Ret["PublicMethods"]["remove_NameChanged"][GetSignature([lA, lB])] = "ePM";Ret["PublicMethods"]["get_Theme"] = {};Ret["PublicMethods"]["get_Theme"][GetSignature([lH])] = "eG9";Ret["PublicMethods"]["set_Theme"] = {};Ret["PublicMethods"]["set_Theme"][GetSignature([lH, lB])] = "ePN";Ret["PublicMethods"]["add_OnCanvasSizeChanged"] = {};Ret["PublicMethods"]["add_OnCanvasSizeChanged"][GetSignature([lA, lB])] = "ePO";Ret["PublicMethods"]["remove_OnCanvasSizeChanged"] = {};Ret["PublicMethods"]["remove_OnCanvasSizeChanged"][GetSignature([lA, lB])] = "ePP";Ret["PublicMethods"]["get_CanvasSizeInPixels"] = {};Ret["PublicMethods"]["get_CanvasSizeInPixels"][GetSignature([lI])] = "ePQ";Ret["PublicMethods"]["add_OnStopped"] = {};Ret["PublicMethods"]["add_OnStopped"][GetSignature([lJ, lB])] = "ePS";Ret["PublicMethods"]["remove_OnStopped"] = {};Ret["PublicMethods"]["remove_OnStopped"][GetSignature([lJ, lB])] = "ePT";Ret["PublicMethods"]["get_StopElement"] = {};Ret["PublicMethods"]["get_StopElement"][GetSignature([lK])] = "eI9";Ret["PublicMethods"]["get_CircuitBoundingBox"] = {};Ret["PublicMethods"]["get_CircuitBoundingBox"][GetSignature([lL])] = "ePU";Ret["PublicMethods"]["get_UnsafeNodeList"] = {};Ret["PublicMethods"]["get_UnsafeNodeList"][GetSignature([lN])] = "ePW";Ret["PublicMethods"]["get_MaxCurrent"] = {};Ret["PublicMethods"]["get_MaxCurrent"][GetSignature([lF])] = "eI3";Ret["PublicMethods"]["get_plotXElm"] = {};Ret["PublicMethods"]["get_plotXElm"][GetSignature([lK])] = "ePX";Ret["PublicMethods"]["set_plotXElm"] = {};Ret["PublicMethods"]["set_plotXElm"][GetSignature([lK, lB])] = "ePY";Ret["PublicMethods"]["get_plotYElm"] = {};Ret["PublicMethods"]["get_plotYElm"][GetSignature([lK])] = "ePZ";Ret["PublicMethods"]["set_plotYElm"] = {};Ret["PublicMethods"]["set_plotYElm"][GetSignature([lK, lB])] = "eP0";Ret["PublicMethods"]["getrand"] = {};Ret["PublicMethods"]["getrand"][GetSignature([lE, lE])] = "eP1";Ret["PublicMethods"][".ctor"] = {};Ret["PublicMethods"][".ctor"][GetSignature([lO, lB])] = "eG";Ret["PublicMethods"]["get_IsStopped"] = {};Ret["PublicMethods"]["get_IsStopped"][GetSignature([lD])] = "eI2";Ret["PublicMethods"]["set_IsStopped"] = {};Ret["PublicMethods"]["set_IsStopped"][GetSignature([lD, lB])] = "eQG";Ret["PublicMethods"]["FinalStop"] = {};Ret["PublicMethods"]["FinalStop"][GetSignature([lB])] = "eQN";Ret["PublicMethods"]["get_GetCurrentAccel"] = {};Ret["PublicMethods"]["get_GetCurrentAccel"][GetSignature([lQ])] = "eQO";Ret["PublicMethods"]["set_GetCurrentAccel"] = {};Ret["PublicMethods"]["set_GetCurrentAccel"][GetSignature([lQ, lB])] = "eQP";Ret["PublicMethods"]["get_NewAudioPlayer"] = {};Ret["PublicMethods"]["get_NewAudioPlayer"][GetSignature([lR])] = "eQQ";Ret["PublicMethods"]["set_NewAudioPlayer"] = {};Ret["PublicMethods"]["set_NewAudioPlayer"][GetSignature([lR, lB])] = "eQR";Ret["PublicMethods"]["get_NewAudioRecorder"] = {};Ret["PublicMethods"]["get_NewAudioRecorder"][GetSignature([lR])] = "eQS";Ret["PublicMethods"]["set_NewAudioRecorder"] = {};Ret["PublicMethods"]["set_NewAudioRecorder"][GetSignature([lR, lB])] = "eQT";Ret["PublicMethods"]["get_NewScope"] = {};Ret["PublicMethods"]["get_NewScope"][GetSignature([lS])] = "eQU";Ret["PublicMethods"]["set_NewScope"] = {};Ret["PublicMethods"]["set_NewScope"][GetSignature([lS, lB])] = "eQV";Ret["PublicMethods"]["AddElement"] = {};Ret["PublicMethods"]["AddElement"][GetSignature([lK, lB])] = "eBC";Ret["PublicMethods"]["get_NumElements"] = {};Ret["PublicMethods"]["get_NumElements"][GetSignature([lE])] = "eQZ";Ret["PublicMethods"]["GetElementIndex"] = {};Ret["PublicMethods"]["GetElementIndex"][GetSignature([lK, lE])] = "eQ0";Ret["PublicMethods"]["GetElementAtIndex"] = {};Ret["PublicMethods"]["GetElementAtIndex"][GetSignature([lE, lK])] = "eQ1";Ret["PublicMethods"]["get_NumSelectedElements"] = {};Ret["PublicMethods"]["get_NumSelectedElements"][GetSignature([lE])] = "eK4";Ret["PublicMethods"]["GetSelectedElements"] = {};Ret["PublicMethods"]["GetSelectedElements"][GetSignature([lT])] = "eK5";Ret["PublicMethods"]["GetAllElements"] = {};Ret["PublicMethods"]["GetAllElements"][GetSignature([lT])] = "eLG";Ret["PublicMethods"]["DrawBackground"] = {};Ret["PublicMethods"]["DrawBackground"][GetSignature([lU, lB])] = "eQ2";Ret["PublicMethods"]["get_TimeElapsedSinceDotsUpdated"] = {};Ret["PublicMethods"]["get_TimeElapsedSinceDotsUpdated"][GetSignature([lF])] = "eI4";Ret["PublicMethods"]["Draw"] = {};Ret["PublicMethods"]["Draw"][GetSignature([lU, lB])] = "eA8";Ret["PublicMethods"]["SetScopeHighlights"] = {};Ret["PublicMethods"]["SetScopeHighlights"][GetSignature([lB])] = "eRB";Ret["PublicMethods"]["AddScope"] = {};Ret["PublicMethods"]["AddScope"][GetSignature([lV, lB])] = "eRE";Ret["PublicMethods"]["RemoveScope"] = {};Ret["PublicMethods"]["RemoveScope"][GetSignature([lV, lB])] = "eRF";Ret["PublicMethods"]["get_ActiveScope"] = {};Ret["PublicMethods"]["get_ActiveScope"][GetSignature([lV])] = "eRG";Ret["PublicMethods"]["set_ActiveScope"] = {};Ret["PublicMethods"]["set_ActiveScope"][GetSignature([lV, lB])] = "eRH";Ret["PublicMethods"]["Update"] = {};Ret["PublicMethods"]["Update"][GetSignature([lB])] = "eRJ";Ret["PublicMethods"]["GetCurrentTimeMillis"] = {};Ret["PublicMethods"]["GetCurrentTimeMillis"][GetSignature([lG])] = "eQ8";Ret["PublicMethods"]["stop"] = {};Ret["PublicMethods"]["stop"][GetSignature([lW, lK, lB])] = "eRV";Ret["PublicMethods"]["stampVoltageSource"] = {};Ret["PublicMethods"]["stampVoltageSource"][GetSignature([lE, lE, lE, lF, lB])] = "eRZ";Ret["PublicMethods"]["stampVoltageSource"][GetSignature([lE, lE, lE, lB])] = "eR1";Ret["PublicMethods"]["updateVoltageSource"] = {};Ret["PublicMethods"]["updateVoltageSource"][GetSignature([lE, lE, lE, lF, lB])] = "eR3";Ret["PublicMethods"]["stampResistor"] = {};Ret["PublicMethods"]["stampResistor"][GetSignature([lE, lE, lF, lB])] = "eR4";Ret["PublicMethods"]["stampConductance"] = {};Ret["PublicMethods"]["stampConductance"][GetSignature([lE, lE, lF, lB])] = "eR7";Ret["PublicMethods"]["stampVCCurrentSource"] = {};Ret["PublicMethods"]["stampVCCurrentSource"][GetSignature([lE, lE, lE, lE, lF, lB])] = "eR8";Ret["PublicMethods"]["stampCurrentSource"] = {};Ret["PublicMethods"]["stampCurrentSource"][GetSignature([lE, lE, lF, lB])] = "eR9";Ret["PublicMethods"]["stampMatrix"] = {};Ret["PublicMethods"]["stampMatrix"][GetSignature([lE, lE, lF, lB])] = "eRY";Ret["PublicMethods"]["stampRightSide"] = {};Ret["PublicMethods"]["stampRightSide"][GetSignature([lE, lF, lB])] = "eR0";Ret["PublicMethods"]["stampRightSide"][GetSignature([lE, lB])] = "eR2";Ret["PublicMethods"]["stampNonLinear"] = {};Ret["PublicMethods"]["stampNonLinear"][GetSignature([lE, lB])] = "eSC";Ret["PublicMethods"]["AutoSetBandwidth"] = {};Ret["PublicMethods"]["AutoSetBandwidth"][GetSignature([lB])] = "eSH";Ret["PublicMethods"]["get_converged"] = {};Ret["PublicMethods"]["get_converged"][GetSignature([lD])] = "eSL";Ret["PublicMethods"]["set_converged"] = {};Ret["PublicMethods"]["set_converged"][GetSignature([lD, lB])] = "eSM";Ret["PublicMethods"]["get_subIterations"] = {};Ret["PublicMethods"]["get_subIterations"][GetSignature([lE])] = "eSN";Ret["PublicMethods"]["get_NeedsAnalysis"] = {};Ret["PublicMethods"]["get_NeedsAnalysis"][GetSignature([lD])] = "eHM";Ret["PublicMethods"]["SetNeedsAnalysis"] = {};Ret["PublicMethods"]["SetNeedsAnalysis"][GetSignature([lB])] = "eMM";Ret["PublicMethods"]["getCircuitNode"] = {};Ret["PublicMethods"]["getCircuitNode"][GetSignature([lE, lM])] = "eHJ";Ret["PublicMethods"]["getElm"] = {};Ret["PublicMethods"]["getElm"][GetSignature([lE, lK])] = "eSZ";Ret["PublicMethods"]["HitTest"] = {};Ret["PublicMethods"]["HitTest"][GetSignature([lX, lY, lZ])] = "eKY";Ret["PublicMethods"]["DumpCircuit"] = {};Ret["PublicMethods"]["DumpCircuit"][GetSignature([lW])] = "eS4";Ret["PublicMethods"]["ReadDump"] = {};Ret["PublicMethods"]["ReadDump"][GetSignature([lW, lD, lB])] = "eTB";Ret["PublicMethods"]["ReadDump"][GetSignature([lAA, lD, lB])] = "eTD";Ret["PublicMethods"]["Clone"] = {};Ret["PublicMethods"]["Clone"][GetSignature([lK, lK])] = "eTY";Ret["PublicMethods"]["SnapGrid"] = {};Ret["PublicMethods"]["SnapGrid"][GetSignature([lY, lE])] = "eGJ";Ret["PublicMethods"]["Snap"] = {};Ret["PublicMethods"]["Snap"][GetSignature([lX, lAB])] = "eK0";Ret["PublicMethods"]["Snap"][GetSignature([lAB, lB])] = "eT5";Ret["PublicMethods"]["DoSwitchDown"] = {};Ret["PublicMethods"]["DoSwitchDown"][GetSignature([lAC, lB])] = "eK2";Ret["PublicMethods"]["LineSegmentOverlapsElement"] = {};Ret["PublicMethods"]["LineSegmentOverlapsElement"][GetSignature([lAB, lAB, lD])] = "eMB";Ret["PublicMethods"]["SplitWiresContainingPoint"] = {};Ret["PublicMethods"]["SplitWiresContainingPoint"][GetSignature([lAB, lB])] = "eMK";Ret["PublicMethods"]["AddTestNode"] = {};Ret["PublicMethods"]["AddTestNode"][GetSignature([lAB, lB])] = "eT9";Ret["PublicMethods"]["ClearTestNodes"] = {};Ret["PublicMethods"]["ClearTestNodes"][GetSignature([lB])] = "eUA";Ret["PublicMethods"]["PointInBounds"] = {};Ret["PublicMethods"]["PointInBounds"][GetSignature([lAB, lD])] = "eUB";Ret["PublicMethods"]["PointInBounds"][GetSignature([lE, lE, lD])] = "eUC";Ret["PublicMethods"]["get_PointBoundary"] = {};Ret["PublicMethods"]["get_PointBoundary"][GetSignature([lL])] = "eBM";Ret["PublicMethods"]["ContinueMovePointTo"] = {};Ret["PublicMethods"]["ContinueMovePointTo"][GetSignature([lK, lE, lE, lE, lB])] = "eLJ";Ret["PublicMethods"]["MovePointTo"] = {};Ret["PublicMethods"]["MovePointTo"][GetSignature([lK, lE, lE, lE, lB])] = "eLK";Ret["PublicMethods"]["get_GhostElements"] = {};Ret["PublicMethods"]["get_GhostElements"][GetSignature([lT])] = "eUX";Ret["PublicMethods"]["get_GhostElementsOffset"] = {};Ret["PublicMethods"]["get_GhostElementsOffset"][GetSignature([lX])] = "eUZ";Ret["PublicMethods"]["MoveSelected"] = {};Ret["PublicMethods"]["MoveSelected"][GetSignature([lE, lE, lB])] = "eLL";Ret["PublicMethods"]["AutoRoutePath"] = {};Ret["PublicMethods"]["AutoRoutePath"][GetSignature([lAD, lD, lB])] = "eMZ";Ret["PublicMethods"]["DeleteAutoRouted"] = {};Ret["PublicMethods"]["DeleteAutoRouted"][GetSignature([lD, lB])] = "eMY";Ret["PublicMethods"]["CleanupWiring"] = {};Ret["PublicMethods"]["CleanupWiring"][GetSignature([lB])] = "eLU";Ret["PublicMethods"]["MergeElementIntoWires"] = {};Ret["PublicMethods"]["MergeElementIntoWires"][GetSignature([lK, lB])] = "eLT";Ret["PublicMethods"]["get_ThemeName"] = {};Ret["PublicMethods"]["get_ThemeName"][GetSignature([lW])] = "eS7";Ret["PublicMethods"]["set_ThemeName"] = {};Ret["PublicMethods"]["set_ThemeName"][GetSignature([lW, lB])] = "eT2";Ret["PublicMethods"]["SetCanvasSize"] = {};Ret["PublicMethods"]["SetCanvasSize"][GetSignature([lF, lF, lB])] = "eT3";Ret["PublicMethods"]["GetEditValues"] = {};Ret["PublicMethods"]["GetEditValues"][GetSignature([lD, lAF])] = "eV5";Ret["PublicMethods"]["GetEditValue"] = {};Ret["PublicMethods"]["GetEditValue"][GetSignature([lAG, lE, lAE])] = "eV7";Ret["PublicMethods"]["SetEditValue"] = {};Ret["PublicMethods"]["SetEditValue"][GetSignature([lAE, lB])] = "eV9";Ret["PublicMethods"]["ConstructElement"] = {};Ret["PublicMethods"]["ConstructElement"][GetSignature([lE, lE, lE, lE, lAH])] = "eMP";Ret["PublicMethods"]["ConstructElement"][GetSignature([lAB, lAB, lAI])] = "eWJ";Ret["PublicMethods"]["constructElement"] = {};Ret["PublicMethods"]["constructElement"][GetSignature([lAJ, lE, lE, lE, lE, lK])] = "eWK";Ret["PublicMethods"]["constructElement"][GetSignature([lAJ, lE, lE, lE, lE, lE, lAK, lK])] = "eTS";Ret["PublicMethods"]["get_Repository"] = {};Ret["PublicMethods"]["get_Repository"][GetSignature([lO])] = "eWM";Ret["PublicMethods"]["set_Repository"] = {};Ret["PublicMethods"]["set_Repository"][GetSignature([lO, lB])] = "eWN";Ret["PublicMethods"]["get_IsEditing"] = {};Ret["PublicMethods"]["get_IsEditing"][GetSignature([lD])] = "eRW";Ret["PublicMethods"]["BeginEdit"] = {};Ret["PublicMethods"]["BeginEdit"][GetSignature([lW, lB])] = "eWB";Ret["PublicMethods"]["CancelEdit"] = {};Ret["PublicMethods"]["CancelEdit"][GetSignature([lB])] = "eMN";Ret["PublicMethods"]["EndEdit"] = {};Ret["PublicMethods"]["EndEdit"][GetSignature([lB])] = "eWP";Ret["PublicMethods"]["get_CanUndo"] = {};Ret["PublicMethods"]["get_CanUndo"][GetSignature([lD])] = "eWQ";Ret["PublicMethods"]["get_CanRedo"] = {};Ret["PublicMethods"]["get_CanRedo"][GetSignature([lD])] = "eWR";Ret["PublicMethods"]["Undo"] = {};Ret["PublicMethods"]["Undo"][GetSignature([lB])] = "eWS";Ret["PublicMethods"]["Redo"] = {};Ret["PublicMethods"]["Redo"][GetSignature([lB])] = "eWT";Ret["PublicMethods"]["get_CanPaste"] = {};Ret["PublicMethods"]["get_CanPaste"][GetSignature([lD])] = "eLV";Ret["PublicMethods"]["get_Clipboard"] = {};Ret["PublicMethods"]["get_Clipboard"][GetSignature([lW])] = "eWU";Ret["PublicMethods"]["set_Clipboard"] = {};Ret["PublicMethods"]["set_Clipboard"][GetSignature([lW, lB])] = "eWV";Ret["PublicMethods"]["ClearClipboard"] = {};Ret["PublicMethods"]["ClearClipboard"][GetSignature([lB])] = "eWW";Ret["PublicMethods"]["CutSelection"] = {};Ret["PublicMethods"]["CutSelection"][GetSignature([lB])] = "eWX";Ret["PublicMethods"]["DeleteSelection"] = {};Ret["PublicMethods"]["DeleteSelection"][GetSignature([lB])] = "eWY";Ret["PublicMethods"]["CopySelection"] = {};Ret["PublicMethods"]["CopySelection"][GetSignature([lB])] = "eWZ";Ret["PublicMethods"]["DuplicateSelection"] = {};Ret["PublicMethods"]["DuplicateSelection"][GetSignature([lB])] = "eW0";Ret["PublicMethods"]["Paste"] = {};Ret["PublicMethods"]["Paste"][GetSignature([lAB, lB])] = "eW2";Ret["PublicMethods"]["get_MarginSize"] = {};Ret["PublicMethods"]["get_MarginSize"][GetSignature([lE])] = "eUD";Ret["PublicMethods"]["ClearSelection"] = {};Ret["PublicMethods"]["ClearSelection"][GetSignature([lB])] = "eK3";Ret["PublicMethods"]["ExpandSelection"] = {};Ret["PublicMethods"]["ExpandSelection"][GetSignature([lB])] = "eW6";Ret["PublicMethods"]["SelectArea"] = {};Ret["PublicMethods"]["SelectArea"][GetSignature([lAL, lB])] = "eLW";Ret["PublicMethods"]["SelectAll"] = {};Ret["PublicMethods"]["SelectAll"][GetSignature([lB])] = "eXB";Ret["PublicMethods"]["DeselectAll"] = {};Ret["PublicMethods"]["DeselectAll"][GetSignature([lB])] = "eXC";Ret["Assembly"] = CurrentAssembly;Ret["Name"] = "Circuit.CirSim";Ret["Fields"] = {
fDQ:null,
fDR:null,
fDS:null,
fDT:null,
fDU:null,
fDV:null,
fDW:null,
fDX:null,
fDY:null,
fDZ:null,
fD0:null,
fD1:null,
fD2:null,
fD3:null,
fD4:null,
fD5:null,
fD6:null,
fD7:null,
fD8:null,
fD9:null,
fEA:null,
fEB:null,
fEC:null,
fED:null,
fEE:null,
fEF:null,
fEG:null};Ret["PublicFields"] = {
"MuString":"fDX",
"OhmString":"fDY",
"DefaultSimBandwidth":"fDZ",
"DefaultSimTimeStep":"fD0",
"MinSimBandwidth":"fD1",
"MaxSimBandwidth":"fD2",
"MinSimTimeStep":"fD3",
"MaxSimTimeStep":"fD4",
"MinCanvasSize":"fD5",
"MaxCanvasSize":"fD9"};Ret["Initializer"] = (function(instance){
instance.fFF = null;instance.fEH = null;instance.fFU = 0;instance.fFR = 0;instance.fEZ = 0;instance.fGT = 0;instance.fE0 = 0;instance.fE1 = 0;instance.fE2 = 0;instance.fFG = 0;instance.fG2 = 0;instance.fG3 = 0;instance.fE3 = null;instance.fE4 = null;instance.fE5 = null;instance.fE6 = null;instance.fFS = null;instance.fE9 = null;instance.fFT = 0;instance.fE8 = null;instance.fFH = null;instance.fFP = null;instance.fFB = null;instance.fG0 = null;instance.fFQ = null;instance.fFC = kB.Initializer(mA({}, kB));instance.fGL = null;instance.fGW = null;instance.fGI = null;instance.fGZ = null;instance.fGX = 0;instance.fGV = 0;instance.fG1 = 0;instance.fGH = 0;instance.fFO = null;instance.fFW = 0;instance.fF1 = null;instance.fFI = null;instance.fF5 = 0;instance.fFJ = null;instance.fF9 = null;instance.fGS = 0;instance.fFK = 0;instance.fGA = 0;instance.fGU = 0;instance.fFL = null;instance.fG5 = null;instance.fHA = 0;instance.fHB = 0;instance.fHC = 0;instance.fHF = null;instance.fHD = null;instance.fFM = null;instance.fFN = null;instance.fEI = null;instance.fEJ = 0;instance.fEK = 0;instance.fEL = 0;instance.fEM = 0;instance.fEN = 0;instance.fEO = 0;instance.fEP = 0;instance.fEQ = 0;instance.fER = 0;instance.fES = 0;instance.fET = 0;instance.fEU = 0;instance.fEV = 0;instance.fEW = 0;instance.fEX = 0;instance.fEY = 0;instance.fE7 = kD.Initializer(mA({}, kD));instance.fFA = kE.Initializer(mA({}, kE));instance.fFD = null;instance.fFE = null;instance.fFX = null;instance.fFY = null;instance.fFZ = null;instance.fF0 = null;instance.fF4 = 0;instance.fGQ = 0;instance.fGR = 0;instance.fG8 = null;instance.fG9 = kF.Initializer(mA({}, kF));instance.fHL = 0;return instance;});Ret["TypeInitializer"] = (function(_vT){
_vT.Fields.fDQ = 3.14159265358979;_vT.Fields.fDR = 1;_vT.Fields.fDS = 2;_vT.Fields.fDT = 3;_vT.Fields.fDU = 4;_vT.Fields.fDV = 5;_vT.Fields.fDW = 6;_vT.Fields.fDX = "u";_vT.Fields.fDY = "\u3a9";_vT.Fields.fDZ = 4096;_vT.Fields.fD0 = 0.000244140625;_vT.Fields.fD1 = 256;_vT.Fields.fD2 = 281474976710656;_vT.Fields.fD3 = 3.5527136788005E-15;_vT.Fields.fD4 = 0.00390625;_vT.Fields.fD5 = 128;_vT.Fields.fD6 = null;_vT.Fields.fD7 = null;_vT.Fields.fD8 = kI.Initializer(mA({}, kI));_vT.Fields.fD9 = 0;_vT.Fields.fEA = null;_vT.Fields.fEB = null;_vT.Fields.fEC = null;_vT.Fields.fED = null;_vT.Fields.fEE = null;_vT.Fields.fEF = null;_vT.Fields.fEG = null;_vT.Methods.eP7();});return Ret;})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment