package com.l7tech.common.http;

import com.l7tech.common.io.failover.FailoverStrategy;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;

public class FailoverHttpClient implements GenericHttpClient {
   private final GenericHttpClient a;
   private final FailoverStrategy<String> b;
   private final int c;
   private final Logger d;
   private static final String e;

   // $VF: Handled exception range with multiple entry points by splitting it
   // $VF: Duplicated exception handlers to handle obfuscated exceptions
   public FailoverHttpClient(GenericHttpClient var1, FailoverStrategy<String> var2, int var3, Logger var4) {
      label27:
      if (var1 != null) {
         try {
            if (var2 == null) {
               break label27;
            }
         } catch (NullPointerException var7) {
            throw a(var7);
         }

         try {
            if (var3 < 1) {
               throw new IllegalArgumentException(e);
            }
         } catch (NullPointerException var6) {
            throw a(var6);
         }

         this.a = var1;
         this.b = var2;
         this.c = var3;
         this.d = var4;
         return;
      }

      try {
         throw new NullPointerException();
      } catch (NullPointerException var5) {
         throw a(var5);
      }
   }

   @Override
   public GenericHttpRequest createRequest(HttpMethod var1, GenericHttpRequestParams var2) throws GenericHttpException {
      return new FailoverHttpClient.FailoverHttpRequest(this.a, this.b, this.c, this.d, var1, var2);
   }

   public FailoverHttpClient.FailoverHttpRequest createFailoverRequest(HttpMethod var1, GenericHttpRequestParams var2) throws GenericHttpException {
      return new FailoverHttpClient.FailoverHttpRequest(this.a, this.b, this.c, this.d, var1, var2);
   }

   private static NullPointerException a(NullPointerException var0) {
      return var0;
   }

   static {
      String var10002 = a(112, a("QI\rlr\u0005\u001eS^\u0010XR\u0018\u0006YE\u0005^`L\u001fI[\u0001\nq\tRLG\u0006Cg\u0005\u0004Y"));
      byte var10001 = -1;
      e = var10002;
   }

   private static char[] a(String var0) {
      char[] var10000 = var0.toCharArray();
      if (var10000.length < 2) {
         var10000[0] = (char)(var10000[0] ^ 2);
      }

      return var10000;
   }

   private static String a(int var0, char[] var1) {
      int var10003 = var1.length;
      int var10002 = var0;
      char[] var10001 = var1;
      int var10000 = var10003;

      for (int var2 = 0; var10000 > var2; var2++) {
         var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
            case 0 -> 76;
            case 1 -> 88;
            case 2 -> 5;
            case 3 -> 90;
            case 4 -> 99;
            case 5 -> 28;
            default -> 2;
         });
      }

      return new String(var10001).intern();
   }

   public static class FailoverHttpRequest implements RerunnableHttpRequest {
      private final GenericHttpClient a;
      private final FailoverStrategy<String> b;
      private final int c;
      private final Logger d;
      private final HttpMethod e;
      private final GenericHttpRequestParams f;
      private RerunnableHttpRequest.InputStreamFactory g = null;
      private InputStream h = null;
      private String i = null;
      private List<String[]> j = new ArrayList<>();
      private static final String[] k;

      private FailoverHttpRequest(GenericHttpClient var1, FailoverStrategy<String> var2, int var3, Logger var4, HttpMethod var5, GenericHttpRequestParams var6) {
         this.a = var1;
         this.b = var2;
         this.c = var3;
         this.d = var4;
         this.e = var5;
         this.f = var6;
      }

      @Override
      public void setInputStreamFactory(RerunnableHttpRequest.InputStreamFactory var1) {
         this.g = var1;
      }

      @Override
      public void setInputStream(InputStream var1) {
         this.h = var1;
      }

      @Override
      public GenericHttpResponse getResponse() throws GenericHttpException {
         // $VF: Couldn't be decompiled
         // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
         // java.lang.RuntimeException: parsing failure!
         //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
         //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
         //
         // Bytecode:
         // 000: aload 0
         // 001: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.f Lcom/l7tech/common/http/GenericHttpRequestParams;
         // 004: invokevirtual com/l7tech/common/http/GenericHttpRequestParams.getTargetUrl ()Ljava/net/URL;
         // 007: astore 1
         // 008: aload 0
         // 009: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.f Lcom/l7tech/common/http/GenericHttpRequestParams;
         // 00c: astore 2
         // 00d: aconst_null
         // 00e: astore 3
         // 00f: aconst_null
         // 010: astore 4
         // 012: bipush 0
         // 013: istore 5
         // 015: iload 5
         // 017: aload 0
         // 018: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.c I
         // 01b: if_icmpge 309
         // 01e: aconst_null
         // 01f: astore 6
         // 021: aconst_null
         // 022: astore 7
         // 024: aload 0
         // 025: aload 0
         // 026: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.b Lcom/l7tech/common/io/failover/FailoverStrategy;
         // 029: invokeinterface com/l7tech/common/io/failover/FailoverStrategy.selectService ()Ljava/lang/Object; 1
         // 02e: checkcast java/lang/String
         // 031: putfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 034: aload 2
         // 035: new java/net/URL
         // 038: dup
         // 039: aload 1
         // 03a: invokevirtual java/net/URL.getProtocol ()Ljava/lang/String;
         // 03d: aload 0
         // 03e: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 041: aload 1
         // 042: invokevirtual java/net/URL.getPort ()I
         // 045: aload 1
         // 046: invokevirtual java/net/URL.getFile ()Ljava/lang/String;
         // 049: invokespecial java/net/URL.<init> (Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
         // 04c: invokevirtual com/l7tech/common/http/GenericHttpRequestParams.setTargetUrl (Ljava/net/URL;)V
         // 04f: aload 0
         // 050: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a Lcom/l7tech/common/http/GenericHttpClient;
         // 053: aload 0
         // 054: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.e Lcom/l7tech/common/http/HttpMethod;
         // 057: aload 2
         // 058: invokeinterface com/l7tech/common/http/GenericHttpClient.createRequest (Lcom/l7tech/common/http/HttpMethod;Lcom/l7tech/common/http/GenericHttpRequestParams;)Lcom/l7tech/common/http/GenericHttpRequest; 3
         // 05d: astore 6
         // 05f: aload 2
         // 060: aload 0
         // 061: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.e Lcom/l7tech/common/http/HttpMethod;
         // 064: invokevirtual com/l7tech/common/http/GenericHttpRequestParams.needsRequestBody (Lcom/l7tech/common/http/HttpMethod;)Z
         // 067: ifeq 1d6
         // 06a: aload 0
         // 06b: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.j Ljava/util/List;
         // 06e: ifnull 09d
         // 071: goto 078
         // 074: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 077: athrow
         // 078: aload 0
         // 079: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.j Ljava/util/List;
         // 07c: invokeinterface java/util/List.size ()I 1
         // 081: ifle 09d
         // 084: goto 08b
         // 087: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 08a: athrow
         // 08b: aload 6
         // 08d: aload 0
         // 08e: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.j Ljava/util/List;
         // 091: invokeinterface com/l7tech/common/http/GenericHttpRequest.addParameters (Ljava/util/List;)V 2
         // 096: goto 1d6
         // 099: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 09c: athrow
         // 09d: aload 4
         // 09f: ifnull 0b5
         // 0a2: aload 4
         // 0a4: astore 9
         // 0a6: new com/l7tech/common/http/c
         // 0a9: dup
         // 0aa: aload 0
         // 0ab: aload 9
         // 0ad: invokespecial com/l7tech/common/http/c.<init> (Lcom/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest;[B)V
         // 0b0: astore 8
         // 0b2: goto 1ad
         // 0b5: aload 0
         // 0b6: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.g Lcom/l7tech/common/http/RerunnableHttpRequest$InputStreamFactory;
         // 0b9: ifnull 0c5
         // 0bc: aload 0
         // 0bd: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.g Lcom/l7tech/common/http/RerunnableHttpRequest$InputStreamFactory;
         // 0c0: astore 8
         // 0c2: goto 1ad
         // 0c5: aload 0
         // 0c6: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.h Ljava/io/InputStream;
         // 0c9: ifnull 181
         // 0cc: new com/l7tech/util/PoolByteArrayOutputStream
         // 0cf: dup
         // 0d0: invokespecial com/l7tech/util/PoolByteArrayOutputStream.<init> ()V
         // 0d3: astore 9
         // 0d5: aload 0
         // 0d6: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 0d9: ifnull 0f0
         // 0dc: aload 0
         // 0dd: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 0e0: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 0e3: bipush 10
         // 0e5: aaload
         // 0e6: invokevirtual java/util/logging/Logger.finer (Ljava/lang/String;)V
         // 0e9: goto 0f0
         // 0ec: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 0ef: athrow
         // 0f0: aload 0
         // 0f1: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.h Ljava/io/InputStream;
         // 0f4: aload 9
         // 0f6: invokestatic com/l7tech/util/IOUtils.copyStream (Ljava/io/InputStream;Ljava/io/OutputStream;)J
         // 0f9: pop2
         // 0fa: aload 0
         // 0fb: aconst_null
         // 0fc: putfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.h Ljava/io/InputStream;
         // 0ff: aload 9
         // 101: invokevirtual com/l7tech/util/PoolByteArrayOutputStream.toByteArray ()[B
         // 104: astore 4
         // 106: aload 4
         // 108: astore 10
         // 10a: new com/l7tech/common/http/d
         // 10d: dup
         // 10e: aload 0
         // 10f: aload 10
         // 111: invokespecial com/l7tech/common/http/d.<init> (Lcom/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest;[B)V
         // 114: astore 8
         // 116: aload 9
         // 118: invokevirtual com/l7tech/util/PoolByteArrayOutputStream.close ()V
         // 11b: goto 17e
         // 11e: astore 10
         // 120: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 123: astore 14
         // 125: aload 14
         // 127: bipush 6
         // 129: aaload
         // 12a: astore 11
         // 12c: aload 0
         // 12d: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 130: ifnull 14a
         // 133: aload 0
         // 134: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 137: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
         // 13a: aload 14
         // 13c: bipush 3
         // 13d: aaload
         // 13e: aload 10
         // 140: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
         // 143: goto 14a
         // 146: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 149: athrow
         // 14a: new com/l7tech/common/http/GenericHttpException
         // 14d: dup
         // 14e: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 151: astore 14
         // 153: aload 14
         // 155: bipush 3
         // 156: aaload
         // 157: invokespecial com/l7tech/common/http/GenericHttpException.<init> (Ljava/lang/String;)V
         // 15a: astore 3
         // 15b: aload 9
         // 15d: invokevirtual com/l7tech/util/PoolByteArrayOutputStream.close ()V
         // 160: bipush 2
         // 161: anewarray 280
         // 164: dup
         // 165: bipush 0
         // 166: aload 6
         // 168: aastore
         // 169: dup
         // 16a: bipush 1
         // 16b: aload 7
         // 16d: aastore
         // 16e: invokestatic com/l7tech/util/ResourceUtils.closeQuietly ([Ljava/io/Closeable;)V
         // 171: goto 309
         // 174: astore 12
         // 176: aload 9
         // 178: invokevirtual com/l7tech/util/PoolByteArrayOutputStream.close ()V
         // 17b: aload 12
         // 17d: athrow
         // 17e: goto 1ad
         // 181: aload 0
         // 182: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 185: ifnull 19b
         // 188: aload 0
         // 189: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 18c: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 18f: bipush 2
         // 190: aaload
         // 191: invokevirtual java/util/logging/Logger.warning (Ljava/lang/String;)V
         // 194: goto 19b
         // 197: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 19a: athrow
         // 19b: aload 2
         // 19c: lconst_0
         // 19d: invokestatic java/lang/Long.valueOf (J)Ljava/lang/Long;
         // 1a0: invokevirtual com/l7tech/common/http/GenericHttpRequestParams.setContentLength (Ljava/lang/Long;)V
         // 1a3: new com/l7tech/common/http/e
         // 1a6: dup
         // 1a7: aload 0
         // 1a8: invokespecial com/l7tech/common/http/e.<init> (Lcom/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest;)V
         // 1ab: astore 8
         // 1ad: aload 6
         // 1af: instanceof com/l7tech/common/http/RerunnableHttpRequest
         // 1b2: ifeq 1c8
         // 1b5: aload 6
         // 1b7: checkcast com/l7tech/common/http/RerunnableHttpRequest
         // 1ba: aload 8
         // 1bc: invokeinterface com/l7tech/common/http/RerunnableHttpRequest.setInputStreamFactory (Lcom/l7tech/common/http/RerunnableHttpRequest$InputStreamFactory;)V 2
         // 1c1: goto 1d6
         // 1c4: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 1c7: athrow
         // 1c8: aload 6
         // 1ca: aload 8
         // 1cc: invokeinterface com/l7tech/common/http/RerunnableHttpRequest$InputStreamFactory.getInputStream ()Ljava/io/InputStream; 1
         // 1d1: invokeinterface com/l7tech/common/http/GenericHttpRequest.setInputStream (Ljava/io/InputStream;)V 2
         // 1d6: aload 0
         // 1d7: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 1da: ifnull 1fb
         // 1dd: aload 0
         // 1de: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 1e1: aload 0
         // 1e2: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 1e5: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 1e8: bipush 9
         // 1ea: aaload
         // 1eb: swap
         // 1ec: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
         // 1f1: invokevirtual java/util/logging/Logger.finer (Ljava/lang/String;)V
         // 1f4: goto 1fb
         // 1f7: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 1fa: athrow
         // 1fb: aload 6
         // 1fd: invokeinterface com/l7tech/common/http/GenericHttpRequest.getResponse ()Lcom/l7tech/common/http/GenericHttpResponse; 1
         // 202: astore 7
         // 204: aload 0
         // 205: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.b Lcom/l7tech/common/io/failover/FailoverStrategy;
         // 208: aload 0
         // 209: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 20c: invokeinterface com/l7tech/common/io/failover/FailoverStrategy.reportSuccess (Ljava/lang/Object;)V 2
         // 211: aload 7
         // 213: astore 8
         // 215: aconst_null
         // 216: astore 7
         // 218: aload 8
         // 21a: astore 9
         // 21c: bipush 2
         // 21d: anewarray 280
         // 220: dup
         // 221: bipush 0
         // 222: aload 6
         // 224: aastore
         // 225: dup
         // 226: bipush 1
         // 227: aload 7
         // 229: aastore
         // 22a: invokestatic com/l7tech/util/ResourceUtils.closeQuietly ([Ljava/io/Closeable;)V
         // 22d: aload 9
         // 22f: areturn
         // 230: astore 8
         // 232: aload 0
         // 233: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 236: ifnull 26b
         // 239: aload 0
         // 23a: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 23d: getstatic java/util/logging/Level.INFO Ljava/util/logging/Level;
         // 240: aload 0
         // 241: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 244: aload 8
         // 246: invokevirtual com/l7tech/common/http/GenericHttpException.getMessage ()Ljava/lang/String;
         // 249: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 24c: bipush 7
         // 24e: aaload
         // 24f: dup_x2
         // 250: pop
         // 251: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 254: bipush 5
         // 255: aaload
         // 256: swap
         // 257: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001" ]
         // 25c: aload 8
         // 25e: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
         // 261: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
         // 264: goto 26b
         // 267: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 26a: athrow
         // 26b: aload 0
         // 26c: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.b Lcom/l7tech/common/io/failover/FailoverStrategy;
         // 26f: aload 0
         // 270: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 273: invokeinterface com/l7tech/common/io/failover/FailoverStrategy.reportFailure (Ljava/lang/Object;)V 2
         // 278: aload 8
         // 27a: astore 3
         // 27b: bipush 2
         // 27c: anewarray 280
         // 27f: dup
         // 280: bipush 0
         // 281: aload 6
         // 283: aastore
         // 284: dup
         // 285: bipush 1
         // 286: aload 7
         // 288: aastore
         // 289: invokestatic com/l7tech/util/ResourceUtils.closeQuietly ([Ljava/io/Closeable;)V
         // 28c: goto 303
         // 28f: astore 8
         // 291: aload 0
         // 292: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 295: ifnull 2c9
         // 298: aload 0
         // 299: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.d Ljava/util/logging/Logger;
         // 29c: getstatic java/util/logging/Level.INFO Ljava/util/logging/Level;
         // 29f: aload 0
         // 2a0: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 2a3: aload 8
         // 2a5: invokevirtual java/net/MalformedURLException.getMessage ()Ljava/lang/String;
         // 2a8: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 2ab: bipush 0
         // 2ac: aaload
         // 2ad: dup_x2
         // 2ae: pop
         // 2af: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 2b2: bipush 4
         // 2b3: aaload
         // 2b4: swap
         // 2b5: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001\u0001" ]
         // 2ba: aload 8
         // 2bc: invokestatic com/l7tech/util/ExceptionUtils.getDebugException (Ljava/lang/Throwable;)Ljava/lang/Throwable;
         // 2bf: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
         // 2c2: goto 2c9
         // 2c5: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 2c8: athrow
         // 2c9: aload 0
         // 2ca: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.b Lcom/l7tech/common/io/failover/FailoverStrategy;
         // 2cd: aload 0
         // 2ce: getfield com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.i Ljava/lang/String;
         // 2d1: invokeinterface com/l7tech/common/io/failover/FailoverStrategy.reportFailure (Ljava/lang/Object;)V 2
         // 2d6: aload 8
         // 2d8: astore 3
         // 2d9: bipush 2
         // 2da: anewarray 280
         // 2dd: dup
         // 2de: bipush 0
         // 2df: aload 6
         // 2e1: aastore
         // 2e2: dup
         // 2e3: bipush 1
         // 2e4: aload 7
         // 2e6: aastore
         // 2e7: invokestatic com/l7tech/util/ResourceUtils.closeQuietly ([Ljava/io/Closeable;)V
         // 2ea: goto 303
         // 2ed: astore 13
         // 2ef: bipush 2
         // 2f0: anewarray 280
         // 2f3: dup
         // 2f4: bipush 0
         // 2f5: aload 6
         // 2f7: aastore
         // 2f8: dup
         // 2f9: bipush 1
         // 2fa: aload 7
         // 2fc: aastore
         // 2fd: invokestatic com/l7tech/util/ResourceUtils.closeQuietly ([Ljava/io/Closeable;)V
         // 300: aload 13
         // 302: athrow
         // 303: iinc 5 1
         // 306: goto 015
         // 309: aload 3
         // 30a: ifnull 329
         // 30d: new com/l7tech/common/http/GenericHttpException
         // 310: dup
         // 311: aload 3
         // 312: invokevirtual java/lang/Throwable.getMessage ()Ljava/lang/String;
         // 315: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 318: bipush 1
         // 319: aaload
         // 31a: swap
         // 31b: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001" ]
         // 320: aload 3
         // 321: invokespecial com/l7tech/common/http/GenericHttpException.<init> (Ljava/lang/String;Ljava/lang/Throwable;)V
         // 324: athrow
         // 325: invokestatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.a (Ljava/io/IOException;)Ljava/io/IOException;
         // 328: athrow
         // 329: new com/l7tech/common/http/GenericHttpException
         // 32c: dup
         // 32d: getstatic com/l7tech/common/http/FailoverHttpClient$FailoverHttpRequest.k [Ljava/lang/String;
         // 330: bipush 8
         // 332: aaload
         // 333: invokespecial com/l7tech/common/http/GenericHttpException.<init> (Ljava/lang/String;)V
         // 336: athrow
         // try (97 -> 106): 107 java/io/IOException
         // try (58 -> 70): 70 java/io/IOException
         // try (52 -> 62): 63 java/io/IOException
         // try (47 -> 55): 56 java/io/IOException
         // try (109 -> 128): 131 java/io/IOException
         // try (109 -> 128): 175 null
         // try (138 -> 149): 150 java/io/IOException
         // try (131 -> 161): 175 null
         // try (175 -> 176): 175 null
         // try (21 -> 163): 259 com/l7tech/common/http/GenericHttpException
         // try (216 -> 229): 230 java/io/IOException
         // try (202 -> 210): 210 java/io/IOException
         // try (181 -> 190): 191 java/io/IOException
         // try (175 -> 246): 259 com/l7tech/common/http/GenericHttpException
         // try (21 -> 163): 305 java/net/MalformedURLException
         // try (175 -> 246): 305 java/net/MalformedURLException
         // try (21 -> 163): 351 null
         // try (175 -> 246): 351 null
         // try (260 -> 283): 284 java/io/IOException
         // try (259 -> 293): 351 null
         // try (306 -> 329): 330 java/io/IOException
         // try (305 -> 339): 351 null
         // try (351 -> 352): 351 null
         // try (367 -> 381): 381 java/io/IOException
      }

      @Override
      public void addParameters(List<String[]> var1) throws IllegalArgumentException, IllegalStateException {
         this.j.addAll(var1);
      }

      @Override
      public void close() {
      }

      private static IOException a(IOException var0) {
         return var0;
      }

      static {
         String[] var5 = new String[11];
         int var3 = 0;
         String var2 = "\u0012$2\u001aq\n\u0001+\u0005\u00039%X\u00105P-\u000e\u001f\tj<\u0019\n#P\u0000+8\u0014\u0011(\u0015\u0015qq\u001f\r,\u0019\b-q\r\u0014tPF\u00060\u000b\u0010z\u0016\u0007#=\r\u0016?JFB\u0014\u001fF84\t\u0011?\u0003\u0012j\u0018\u0016\u0014/\u00045>#\u001d\u00057P\u00168>\u000e\r>\u0015\u0002j|UD.\u0002\u0007$\"\u0015\r.\u0004\u000f$6X\u00017\u0000\u00123q\u001a\u000b>\tF84\t\u0011?\u0003\u00129\u000f\u001e\u0007(=\u001dD.\u001fF84\u0019\u0000z\u0002\u0003;$\u001d\u0017.P/$!\r\u0010\t\u0004\u0014/0\u0015Dw]F,0\u0011\b5\u0006\u00038q\f\u0001(\u001d\u000f$0\f\u0001>\tz\u0016\u0007#=\u001d\u0000`P\tz\u0016\u0007#=\u001d\u0000`P9\u000f\u001e\u0007(=\u001dD.\u001fF84\u0019\u0000z\u0002\u0003;$\u001d\u0017.P/$!\r\u0010\t\u0004\u0014/0\u0015Dw]F,0\u0011\b5\u0006\u00038q\f\u0001(\u001d\u000f$0\f\u0001>\u0010\u0012$2\u001aq\n\u0001+\u0005\u00039%X\u00105P\u001d\u000e\u001f\tj<\u0019\n#P\u0000+8\u0014\u0011(\u0015\u0015qq\u001f\r,\u0019\b-q\r\u0014t";
         int var4 = "\u0012$2\u001aq\n\u0001+\u0005\u00039%X\u00105P-\u000e\u001f\tj<\u0019\n#P\u0000+8\u0014\u0011(\u0015\u0015qq\u001f\r,\u0019\b-q\r\u0014tPF\u00060\u000b\u0010z\u0016\u0007#=\r\u0016?JFB\u0014\u001fF84\t\u0011?\u0003\u0012j\u0018\u0016\u0014/\u00045>#\u001d\u00057P\u00168>\u000e\r>\u0015\u0002j|UD.\u0002\u0007$\"\u0015\r.\u0004\u000f$6X\u00017\u0000\u00123q\u001a\u000b>\tF84\t\u0011?\u0003\u00129\u000f\u001e\u0007(=\u001dD.\u001fF84\u0019\u0000z\u0002\u0003;$\u001d\u0017.P/$!\r\u0010\t\u0004\u0014/0\u0015Dw]F,0\u0011\b5\u0006\u00038q\f\u0001(\u001d\u000f$0\f\u0001>\tz\u0016\u0007#=\u001d\u0000`P\tz\u0016\u0007#=\u001d\u0000`P9\u000f\u001e\u0007(=\u001dD.\u001fF84\u0019\u0000z\u0002\u0003;$\u001d\u0017.P/$!\r\u0010\t\u0004\u0014/0\u0015Dw]F,0\u0011\b5\u0006\u00038q\f\u0001(\u001d\u000f$0\f\u0001>\u0010\u0012$2\u001aq\n\u0001+\u0005\u00039%X\u00105P\u001d\u000e\u001f\tj<\u0019\n#P\u0000+8\u0014\u0011(\u0015\u0015qq\u001f\r,\u0019\b-q\r\u0014t"
            .length();
         char var1 = 16;
         int var7 = -1;

         label24:
         while (true) {
            byte var10000 = 118;
            String var10001 = var2.substring(++var7, var7 + var1);
            byte var10002 = -1;

            while (true) {
               String var8 = a(var10000, a(var10001));
               switch (var10002) {
                  case 0:
                     var5[var3++] = var8;
                     if ((var7 += var1) >= var4) {
                        k = var5;
                        return;
                     }

                     var1 = var2.charAt(var7);
                     break;
                  default:
                     var5[var3++] = var8;
                     if ((var7 += var1) < var4) {
                        var1 = var2.charAt(var7);
                        continue label24;
                     }

                     var2 = "xgqL_ksP}b\tzOSi3wLCnbJg%]];\u0016{fcOWinWt%[Wjr\\`q\tPtc@";
                     var4 = "xgqL_ksP}b\tzOSi3wLCnbJg%]];\u0016{fcOWinWt%[Wjr\\`q\tPtc@".length();
                     var1 = 27;
                     var7 = -1;
               }

               var10000 = 21;
               var10001 = var2.substring(++var7, var7 + var1);
               var10002 = 0;
            }
         }
      }

      private static char[] a(String var0) {
         char[] var10000 = var0.toCharArray();
         if (var10000.length < 2) {
            var10000[0] = (char)(var10000[0] ^ 18);
         }

         return var10000;
      }

      private static String a(int var0, char[] var1) {
         int var10003 = var1.length;
         int var10002 = var0;
         char[] var10001 = var1;
         int var10000 = var10003;

         for (int var2 = 0; var10000 > var2; var2++) {
            var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
               case 0 -> 44;
               case 1 -> 6;
               case 2 -> 16;
               case 3 -> 60;
               case 4 -> 39;
               case 5 -> 14;
               default -> 18;
            });
         }

         return new String(var10001).intern();
      }
   }
}
