import java.awt.Container;
import java.awt.Insets;

public abstract class Class290 {

   static int[] anIntArray3412;
   static int anInt3413;


   abstract int method5280(long var1);

   final int method5281(long var1) {
      long var3 = this.method5300((byte)106);
      if(var3 > 0L) {
         Class75.method1619(var3);
      }

      return this.method5294(var1);
   }

   abstract void method5282(byte var1);

   abstract long method5283();

   abstract int method5284(long var1);

   abstract long method5285(int var1);

   abstract void method5286();

   abstract void method5287();

   abstract void method5288();

   abstract void method5289();

   abstract long method5290();

   final int method5291(long var1) {
      long var3 = this.method5300((byte)48);
      if(var3 > 0L) {
         Class75.method1619(var3);
      }

      return this.method5294(var1);
   }

   abstract long method5292();

   final int method5293(long var1) {
      long var3 = this.method5300((byte)47);
      if(var3 > 0L) {
         Class75.method1619(var3);
      }

      return this.method5294(var1);
   }

   abstract int method5294(long var1);

   public static Class290 method5295() {
      try {
         return new Class290_Sub2();
      } catch (Throwable var1) {
         return new Class290_Sub1();
      }
   }

   public static Class290 method5296() {
      try {
         return new Class290_Sub2();
      } catch (Throwable var1) {
         return new Class290_Sub1();
      }
   }

   public static Class290 method5297() {
      try {
         return new Class290_Sub2();
      } catch (Throwable var1) {
         return new Class290_Sub1();
      }
   }

   public static Class290 method5298() {
      try {
         return new Class290_Sub2();
      } catch (Throwable var1) {
         return new Class290_Sub1();
      }
   }

   abstract int method5299(long var1);

   abstract long method5300(byte var1);

   static final void method5301(Class508 var0, int var1) {
      Class505 var2 = var0.aBool6014?var0.aClass505_6011:var0.aClass505_6010;
      Class124 var3 = var2.aClass124_5977;
      int var4 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      --var4;
      if(null != var3.aStringArray1456 && var4 < var3.aStringArray1456.length && null != var3.aStringArray1456[var4]) {
         var0.anObjectArray6004[(var0.anInt6005 += -46848683) * 639741949 - 1] = var3.aStringArray1456[var4];
      } else {
         var0.anObjectArray6004[(var0.anInt6005 += -46848683) * 639741949 - 1] = "";
      }

   }

   static final void method5302(Class508 var0, byte var1) {
      int var2 = var0.anIntArray6027[(var0.anInt6003 -= 98312473) * -937710807];
      Class124 var3 = Class97.method1903(var2, 999851345);
      Class121 var4 = Class18.aClass121Array188[var2 >> 16];
      Class118_Sub23.method14955(var3, var4, var0, (short)-20492);
   }

   public static void method5303(int var0) {
      client var1 = Class391.aclient4857;
      synchronized(var1) {
         if(Class254.aFrame3020 == null) {
            Container var2 = Class274.method4851(1377233926);
            if(var2 != null) {
               client.anInt3305 = var2.getSize().width * 1597763337;
               Class463_Sub14.anInt8016 = var2.getSize().height * -1419086691;
               Insets var3;
               if(var2 == Class268.aFrame3105) {
                  var3 = Class268.aFrame3105.getInsets();
                  client.anInt3305 -= (var3.left + var3.right) * 1597763337;
                  Class463_Sub14.anInt8016 -= -1419086691 * (var3.bottom + var3.top);
               }

               if(2059685689 * client.anInt3305 <= 0) {
                  client.anInt3305 = 1597763337;
               }

               if(Class463_Sub14.anInt8016 * -854085195 <= 0) {
                  Class463_Sub14.anInt8016 = -1419086691;
               }

               if(Class461.method7786((byte)38) != 1) {
                  Class118_Sub13.method13200((byte)-45);
               } else {
                  Class563.anInt7495 = client.anInt7796 * -287113347;
                  client.anInt3325 = -1490729669 * ((client.anInt3305 * 2059685689 - client.anInt7796 * 533440115) / 2);
                  Class440.anInt5458 = 354637443 * client.anInt7797;
                  client.anInt3317 = 0;
               }

               if(Class487.aClass487_5903 != Class502.aClass487_5957 && Class563.anInt7495 * 759890095 < 1024 && 1404657485 * Class440.anInt5458 < 768) {
                  ;
               }

               Class572.aCanvas7591.setSize(Class563.anInt7495 * 759890095, Class440.anInt5458 * 1404657485);
               if(null != Class428.aClass545_5383) {
                  Class428.aClass545_5383.method11450(Class572.aCanvas7591, 759890095 * Class563.anInt7495, Class440.anInt5458 * 1404657485, -1205166295);
               }

               if(Class268.aFrame3105 == var2) {
                  var3 = Class268.aFrame3105.getInsets();
                  Class572.aCanvas7591.setLocation(1402293235 * client.anInt3325 + var3.left, client.anInt3317 * -1285172503 + var3.top);
               } else {
                  Class572.aCanvas7591.setLocation(1402293235 * client.anInt3325, -1285172503 * client.anInt3317);
               }

               Class479.method8074(1477348219);
               if(-1 != client.anInt7831 * 1231941283) {
                  Class70_Sub1.method13064(true, -1477229295);
               }

               Class373.method6544(57235290);
            }
         }
      }
   }

   public static Class447[] method5304(int var0) {
      return new Class447[]{Class447.aClass447_5576, Class447.aClass447_5571, Class447.aClass447_5577, Class447.aClass447_5572, Class447.aClass447_5573, Class447.aClass447_5574};
   }
}
