package com.l7tech.external.assertions.gatewaymanagement.server;

import com.l7tech.gateway.api.HttpConfigurationMO;
import com.l7tech.gateway.api.HttpConfigurationMO.HttpProxyConfiguration;
import com.l7tech.gateway.common.resources.HttpConfiguration;
import com.l7tech.gateway.common.security.password.SecurePassword;
import com.l7tech.objectmodel.ConstraintViolationException;
import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.objectmodel.ObjectModelException;
import com.l7tech.server.globalresources.HttpConfigurationManager;
import com.l7tech.server.security.password.SecurePasswordManager;
import com.l7tech.server.security.rbac.RbacServices;
import com.l7tech.server.security.rbac.SecurityFilter;
import com.l7tech.server.security.rbac.SecurityZoneManager;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.springframework.transaction.PlatformTransactionManager;

@ResourceFactory.ResourceType(type = HttpConfigurationMO.class)
public class HttpConfigurationResourceFactory extends SecurityZoneableEntityManagerResourceFactory<HttpConfigurationMO, HttpConfiguration, EntityHeader> {
   private final SecurePasswordManager o;
   private static final String[] p;

   public HttpConfigurationResourceFactory(
      RbacServices var1,
      SecurityFilter var2,
      PlatformTransactionManager var3,
      HttpConfigurationManager var4,
      SecurePasswordManager var5,
      SecurityZoneManager var6
   ) {
      super(false, false, var1, var2, var3, var4, var6);
      this.o = var5;
   }

   public HttpConfigurationMO asResource(HttpConfiguration param1) {
      // $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: invokestatic com/l7tech/gateway/api/ManagedObjectFactory.createHttpConfiguration ()Lcom/l7tech/gateway/api/HttpConfigurationMO;
      // 003: astore 2
      // 004: aload 2
      // 005: aload 1
      // 006: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getId ()Ljava/lang/String;
      // 009: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setId (Ljava/lang/String;)V
      // 00c: aload 2
      // 00d: aload 1
      // 00e: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getVersion ()I
      // 011: invokestatic java/lang/Integer.valueOf (I)Ljava/lang/Integer;
      // 014: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setVersion (Ljava/lang/Integer;)V
      // 017: aload 2
      // 018: aload 1
      // 019: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getHost ()Ljava/lang/String;
      // 01c: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setHost (Ljava/lang/String;)V
      // 01f: aload 2
      // 020: aload 1
      // 021: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getPort ()I
      // 024: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setPort (I)V
      // 027: aload 2
      // 028: aload 1
      // 029: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProtocol ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Protocol;
      // 02c: ifnonnull 037
      // 02f: aconst_null
      // 030: goto 041
      // 033: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 036: athrow
      // 037: aload 1
      // 038: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProtocol ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Protocol;
      // 03b: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration$Protocol.toString ()Ljava/lang/String;
      // 03e: invokestatic com/l7tech/gateway/api/HttpConfigurationMO$Protocol.valueOf (Ljava/lang/String;)Lcom/l7tech/gateway/api/HttpConfigurationMO$Protocol;
      // 041: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setProtocol (Lcom/l7tech/gateway/api/HttpConfigurationMO$Protocol;)V
      // 044: aload 2
      // 045: aload 1
      // 046: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getPath ()Ljava/lang/String;
      // 049: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setPath (Ljava/lang/String;)V
      // 04c: aload 2
      // 04d: aload 1
      // 04e: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getUsername ()Ljava/lang/String;
      // 051: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setUsername (Ljava/lang/String;)V
      // 054: aload 2
      // 055: aload 1
      // 056: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getPasswordGoid ()Lcom/l7tech/objectmodel/Goid;
      // 059: ifnonnull 064
      // 05c: aconst_null
      // 05d: goto 06b
      // 060: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 063: athrow
      // 064: aload 1
      // 065: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getPasswordGoid ()Lcom/l7tech/objectmodel/Goid;
      // 068: invokevirtual com/l7tech/objectmodel/Goid.toString ()Ljava/lang/String;
      // 06b: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setPasswordId (Ljava/lang/String;)V
      // 06e: aload 2
      // 06f: aload 1
      // 070: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getNtlmHost ()Ljava/lang/String;
      // 073: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setNtlmHost (Ljava/lang/String;)V
      // 076: aload 2
      // 077: aload 1
      // 078: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getNtlmDomain ()Ljava/lang/String;
      // 07b: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setNtlmDomain (Ljava/lang/String;)V
      // 07e: aload 2
      // 07f: aload 1
      // 080: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsVersion ()Ljava/lang/String;
      // 083: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setTlsVersion (Ljava/lang/String;)V
      // 086: aload 2
      // 087: aload 1
      // 088: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeyUse ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 08b: ifnonnull 096
      // 08e: aconst_null
      // 08f: goto 0a0
      // 092: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 095: athrow
      // 096: aload 1
      // 097: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeyUse ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 09a: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration$Option.toString ()Ljava/lang/String;
      // 09d: invokestatic com/l7tech/gateway/api/HttpConfigurationMO$Option.valueOf (Ljava/lang/String;)Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;
      // 0a0: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setTlsKeyUse (Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;)V
      // 0a3: aload 2
      // 0a4: aload 1
      // 0a5: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeystoreGoid ()Lcom/l7tech/objectmodel/Goid;
      // 0a8: ifnull 0c5
      // 0ab: new com/l7tech/objectmodel/Goid
      // 0ae: dup
      // 0af: lconst_0
      // 0b0: lconst_0
      // 0b1: invokespecial com/l7tech/objectmodel/Goid.<init> (JJ)V
      // 0b4: aload 1
      // 0b5: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeystoreGoid ()Lcom/l7tech/objectmodel/Goid;
      // 0b8: invokestatic com/l7tech/objectmodel/Goid.equals (Lcom/l7tech/objectmodel/Goid;Lcom/l7tech/objectmodel/Goid;)Z
      // 0bb: ifeq 0c9
      // 0be: goto 0c5
      // 0c1: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0c4: athrow
      // 0c5: aconst_null
      // 0c6: goto 0d0
      // 0c9: aload 1
      // 0ca: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeystoreGoid ()Lcom/l7tech/objectmodel/Goid;
      // 0cd: invokevirtual com/l7tech/objectmodel/Goid.toString ()Ljava/lang/String;
      // 0d0: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setTlsKeystoreId (Ljava/lang/String;)V
      // 0d3: aload 2
      // 0d4: aload 1
      // 0d5: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeystoreAlias ()Ljava/lang/String;
      // 0d8: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setTlsKeystoreAlias (Ljava/lang/String;)V
      // 0db: aload 2
      // 0dc: aload 1
      // 0dd: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsCipherSuites ()Ljava/lang/String;
      // 0e0: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setTlsCipherSuites (Ljava/lang/String;)V
      // 0e3: aload 2
      // 0e4: aload 1
      // 0e5: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getConnectTimeout ()I
      // 0e8: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setConnectTimeout (I)V
      // 0eb: aload 2
      // 0ec: aload 1
      // 0ed: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getReadTimeout ()I
      // 0f0: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setReadTimeout (I)V
      // 0f3: aload 2
      // 0f4: aload 1
      // 0f5: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.isFollowRedirects ()Z
      // 0f8: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setFollowRedirects (Z)V
      // 0fb: aload 1
      // 0fc: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProxyUse ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 0ff: ifnull 13b
      // 102: aload 2
      // 103: aload 1
      // 104: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProxyUse ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 107: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration$Option.toString ()Ljava/lang/String;
      // 10a: invokestatic com/l7tech/gateway/api/HttpConfigurationMO$Option.valueOf (Ljava/lang/String;)Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;
      // 10d: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setProxyUse (Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;)V
      // 110: aload 2
      // 111: getstatic com/l7tech/gateway/common/resources/HttpConfiguration$Option.CUSTOM Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 114: aload 1
      // 115: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProxyUse ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 118: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration$Option.equals (Ljava/lang/Object;)Z
      // 11b: ifeq 134
      // 11e: goto 125
      // 121: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 124: athrow
      // 125: aload 0
      // 126: aload 1
      // 127: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProxyConfiguration ()Lcom/l7tech/gateway/common/resources/HttpProxyConfiguration;
      // 12a: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Lcom/l7tech/gateway/common/resources/HttpProxyConfiguration;)Lcom/l7tech/gateway/api/HttpConfigurationMO$HttpProxyConfiguration;
      // 12d: goto 135
      // 130: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 133: athrow
      // 134: aconst_null
      // 135: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setProxyConfiguration (Lcom/l7tech/gateway/api/HttpConfigurationMO$HttpProxyConfiguration;)V
      // 138: goto 145
      // 13b: aload 2
      // 13c: aconst_null
      // 13d: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setProxyUse (Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;)V
      // 140: aload 2
      // 141: aconst_null
      // 142: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.setProxyConfiguration (Lcom/l7tech/gateway/api/HttpConfigurationMO$HttpProxyConfiguration;)V
      // 145: aload 0
      // 146: aload 2
      // 147: aload 1
      // 148: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.doSecurityZoneAsResource (Lcom/l7tech/gateway/api/SecurityZoneableObject;Lcom/l7tech/objectmodel/PersistentEntity;)V
      // 14b: aload 2
      // 14c: areturn
      // try (2 -> 25): 25 java/lang/IllegalArgumentException
      // try (31 -> 46): 46 java/lang/IllegalArgumentException
      // try (51 -> 70): 70 java/lang/IllegalArgumentException
      // try (76 -> 90): 91 java/lang/IllegalArgumentException
      // try (98 -> 134): 135 java/lang/IllegalArgumentException
      // try (122 -> 142): 142 java/lang/IllegalArgumentException
   }

   private HttpProxyConfiguration a(com.l7tech.gateway.common.resources.HttpProxyConfiguration var1) {
      try {
         if (var1 == null) {
            return null;
         }
      } catch (IllegalArgumentException var4) {
         throw a(var4);
      }

      HttpProxyConfiguration var2 = new HttpProxyConfiguration();

      HttpProxyConfiguration var10000;
      String var10001;
      label21: {
         try {
            var2.setHost(var1.getHost());
            var2.setPort(var1.getPort());
            var2.setUsername(var1.getUsername());
            var10000 = var2;
            if (var1.getPasswordGoid() == null) {
               var10001 = null;
               break label21;
            }
         } catch (IllegalArgumentException var3) {
            throw a(var3);
         }

         var10001 = var1.getPasswordGoid().toString();
      }

      var10000.setPasswordId(var10001);
      return var2;
   }

   public HttpConfiguration fromResource(Object param1, boolean param2) throws ResourceFactory.InvalidResourceException {
      // $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 1
      // 001: instanceof com/l7tech/gateway/api/HttpConfigurationMO
      // 004: ifne 01c
      // 007: new com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // 00a: dup
      // 00b: getstatic com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType.UNEXPECTED_TYPE Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType;
      // 00e: getstatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.p [Ljava/lang/String;
      // 011: bipush 9
      // 013: aaload
      // 014: invokespecial com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException.<init> (Lcom/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException$ExceptionType;Ljava/lang/String;)V
      // 017: athrow
      // 018: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 01b: athrow
      // 01c: aload 1
      // 01d: checkcast com/l7tech/gateway/api/HttpConfigurationMO
      // 020: astore 3
      // 021: new com/l7tech/gateway/common/resources/HttpConfiguration
      // 024: dup
      // 025: invokespecial com/l7tech/gateway/common/resources/HttpConfiguration.<init> ()V
      // 028: astore 4
      // 02a: aload 4
      // 02c: aload 3
      // 02d: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getHost ()Ljava/lang/String;
      // 030: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/String;)Ljava/lang/String;
      // 033: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setHost (Ljava/lang/String;)V
      // 036: aload 4
      // 038: aload 3
      // 039: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getPort ()I
      // 03c: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setPort (I)V
      // 03f: aload 4
      // 041: aload 3
      // 042: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getProtocol ()Lcom/l7tech/gateway/api/HttpConfigurationMO$Protocol;
      // 045: ifnull 05c
      // 048: getstatic com/l7tech/gateway/api/HttpConfigurationMO$Protocol.ANY Lcom/l7tech/gateway/api/HttpConfigurationMO$Protocol;
      // 04b: aload 3
      // 04c: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getProtocol ()Lcom/l7tech/gateway/api/HttpConfigurationMO$Protocol;
      // 04f: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO$Protocol.equals (Ljava/lang/Object;)Z
      // 052: ifeq 064
      // 055: goto 05c
      // 058: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 05b: athrow
      // 05c: aconst_null
      // 05d: goto 06e
      // 060: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 063: athrow
      // 064: aload 3
      // 065: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getProtocol ()Lcom/l7tech/gateway/api/HttpConfigurationMO$Protocol;
      // 068: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO$Protocol.toString ()Ljava/lang/String;
      // 06b: invokestatic com/l7tech/gateway/common/resources/HttpConfiguration$Protocol.valueOf (Ljava/lang/String;)Lcom/l7tech/gateway/common/resources/HttpConfiguration$Protocol;
      // 06e: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setProtocol (Lcom/l7tech/gateway/common/resources/HttpConfiguration$Protocol;)V
      // 071: aload 4
      // 073: aload 3
      // 074: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getPath ()Ljava/lang/String;
      // 077: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/String;)Ljava/lang/String;
      // 07a: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setPath (Ljava/lang/String;)V
      // 07d: aload 4
      // 07f: aload 3
      // 080: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getUsername ()Ljava/lang/String;
      // 083: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/String;)Ljava/lang/String;
      // 086: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setUsername (Ljava/lang/String;)V
      // 089: aload 4
      // 08b: aload 3
      // 08c: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getPasswordId ()Ljava/lang/String;
      // 08f: ifnonnull 09a
      // 092: aconst_null
      // 093: goto 0a3
      // 096: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 099: athrow
      // 09a: aload 0
      // 09b: aload 3
      // 09c: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getPasswordId ()Ljava/lang/String;
      // 09f: iload 2
      // 0a0: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/String;Z)Lcom/l7tech/objectmodel/Goid;
      // 0a3: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setPasswordGoid (Lcom/l7tech/objectmodel/Goid;)V
      // 0a6: aload 4
      // 0a8: aload 3
      // 0a9: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getNtlmHost ()Ljava/lang/String;
      // 0ac: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/String;)Ljava/lang/String;
      // 0af: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setNtlmHost (Ljava/lang/String;)V
      // 0b2: aload 4
      // 0b4: aload 3
      // 0b5: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getNtlmDomain ()Ljava/lang/String;
      // 0b8: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/String;)Ljava/lang/String;
      // 0bb: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setNtlmDomain (Ljava/lang/String;)V
      // 0be: aload 4
      // 0c0: aload 3
      // 0c1: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getTlsVersion ()Ljava/lang/String;
      // 0c4: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setTlsVersion (Ljava/lang/String;)V
      // 0c7: aload 4
      // 0c9: aload 3
      // 0ca: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getTlsKeyUse ()Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;
      // 0cd: ifnonnull 0d8
      // 0d0: aconst_null
      // 0d1: goto 0e2
      // 0d4: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0d7: athrow
      // 0d8: aload 3
      // 0d9: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getTlsKeyUse ()Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;
      // 0dc: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO$Option.toString ()Ljava/lang/String;
      // 0df: invokestatic com/l7tech/gateway/common/resources/HttpConfiguration$Option.valueOf (Ljava/lang/String;)Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 0e2: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setTlsKeyUse (Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;)V
      // 0e5: aload 4
      // 0e7: aload 3
      // 0e8: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getTlsKeystoreId ()Ljava/lang/String;
      // 0eb: ifnonnull 0fe
      // 0ee: new com/l7tech/objectmodel/Goid
      // 0f1: dup
      // 0f2: lconst_0
      // 0f3: lconst_0
      // 0f4: invokespecial com/l7tech/objectmodel/Goid.<init> (JJ)V
      // 0f7: goto 105
      // 0fa: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 0fd: athrow
      // 0fe: aload 3
      // 0ff: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getTlsKeystoreId ()Ljava/lang/String;
      // 102: invokestatic com/l7tech/objectmodel/Goid.parseGoid (Ljava/lang/String;)Lcom/l7tech/objectmodel/Goid;
      // 105: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setTlsKeystoreGoid (Lcom/l7tech/objectmodel/Goid;)V
      // 108: aload 4
      // 10a: aload 3
      // 10b: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getTlsKeystoreAlias ()Ljava/lang/String;
      // 10e: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setTlsKeystoreAlias (Ljava/lang/String;)V
      // 111: aload 4
      // 113: aload 3
      // 114: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getTlsCipherSuites ()Ljava/lang/String;
      // 117: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setTlsCipherSuites (Ljava/lang/String;)V
      // 11a: aload 4
      // 11c: aload 3
      // 11d: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getConnectTimeout ()I
      // 120: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setConnectTimeout (I)V
      // 123: aload 4
      // 125: aload 3
      // 126: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getReadTimeout ()I
      // 129: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setReadTimeout (I)V
      // 12c: aload 4
      // 12e: aload 3
      // 12f: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.isFollowRedirects ()Z
      // 132: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setFollowRedirects (Z)V
      // 135: aload 4
      // 137: aload 3
      // 138: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getProxyUse ()Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;
      // 13b: ifnonnull 146
      // 13e: aconst_null
      // 13f: goto 150
      // 142: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 145: athrow
      // 146: aload 3
      // 147: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getProxyUse ()Lcom/l7tech/gateway/api/HttpConfigurationMO$Option;
      // 14a: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO$Option.toString ()Ljava/lang/String;
      // 14d: invokestatic com/l7tech/gateway/common/resources/HttpConfiguration$Option.valueOf (Ljava/lang/String;)Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 150: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setProxyUse (Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;)V
      // 153: aload 4
      // 155: aload 3
      // 156: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getProxyConfiguration ()Lcom/l7tech/gateway/api/HttpConfigurationMO$HttpProxyConfiguration;
      // 159: ifnonnull 16a
      // 15c: new com/l7tech/gateway/common/resources/HttpProxyConfiguration
      // 15f: dup
      // 160: invokespecial com/l7tech/gateway/common/resources/HttpProxyConfiguration.<init> ()V
      // 163: goto 173
      // 166: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 169: athrow
      // 16a: aload 0
      // 16b: aload 3
      // 16c: invokevirtual com/l7tech/gateway/api/HttpConfigurationMO.getProxyConfiguration ()Lcom/l7tech/gateway/api/HttpConfigurationMO$HttpProxyConfiguration;
      // 16f: iload 2
      // 170: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Lcom/l7tech/gateway/api/HttpConfigurationMO$HttpProxyConfiguration;Z)Lcom/l7tech/gateway/common/resources/HttpProxyConfiguration;
      // 173: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.setProxyConfiguration (Lcom/l7tech/gateway/common/resources/HttpProxyConfiguration;)V
      // 176: aload 0
      // 177: aload 3
      // 178: aload 4
      // 17a: iload 2
      // 17b: invokevirtual com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.doSecurityZoneFromResource (Lcom/l7tech/gateway/api/SecurityZoneableObject;Lcom/l7tech/objectmodel/PersistentEntity;Z)V
      // 17e: aload 4
      // 180: areturn
      // try (0 -> 11): 11 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // try (20 -> 38): 39 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // try (33 -> 43): 43 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // try (49 -> 66): 66 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // try (73 -> 94): 94 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // try (100 -> 111): 111 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // try (116 -> 143): 143 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
      // try (149 -> 158): 158 com/l7tech/external/assertions/gatewaymanagement/server/ResourceFactory$InvalidResourceException
   }

   private com.l7tech.gateway.common.resources.HttpProxyConfiguration a(HttpProxyConfiguration var1, boolean var2) throws ResourceFactory.InvalidResourceException {
      try {
         if (var1 == null) {
            return null;
         }
      } catch (ResourceFactory.InvalidResourceException var5) {
         throw a(var5);
      }

      com.l7tech.gateway.common.resources.HttpProxyConfiguration var3 = new com.l7tech.gateway.common.resources.HttpProxyConfiguration();

      com.l7tech.gateway.common.resources.HttpProxyConfiguration var10000;
      Goid var10001;
      label21: {
         try {
            var3.setHost(a(var1.getHost()));
            var3.setPort(var1.getPort());
            var3.setUsername(a(var1.getUsername()));
            var10000 = var3;
            if (var1.getPasswordId() == null) {
               var10001 = null;
               break label21;
            }
         } catch (ResourceFactory.InvalidResourceException var4) {
            throw a(var4);
         }

         var10001 = this.a(var1.getPasswordId(), var2);
      }

      var10000.setPasswordGoid(var10001);
      return var3;
   }

   private Goid a(@NotNull String var1, boolean var2) throws ResourceFactory.InvalidResourceException {
      try {
         if (var1 == null) {
            c(0);
         }
      } catch (IllegalArgumentException var10) {
         throw a(var10);
      }

      Goid var3;
      try {
         var3 = Goid.parseGoid(var1);
      } catch (IllegalArgumentException var9) {
         ResourceFactory.InvalidResourceException.ExceptionType var10002 = ResourceFactory.InvalidResourceException.ExceptionType.INVALID_VALUES;
         String var10003 = var9.getMessage();
         String[] var6 = p;
         throw new ResourceFactory.InvalidResourceException(var10002, var6[13] + var10003);
      }

      if (var2) {
         SecurePassword var4;
         try {
            var4 = (SecurePassword)this.o.findByPrimaryKey(var3);
         } catch (FindException var8) {
            ResourceFactory.InvalidResourceException.ExceptionType var12 = ResourceFactory.InvalidResourceException.ExceptionType.INVALID_VALUES;
            String var13 = String.valueOf(var3);
            String[] var11 = p;
            throw new ResourceFactory.InvalidResourceException(var12, var11[10] + var13);
         }

         try {
            if (var4 == null) {
               throw new ResourceFactory.InvalidResourceException(ResourceFactory.InvalidResourceException.ExceptionType.INVALID_VALUES, p[5] + var3);
            }
         } catch (IllegalArgumentException var7) {
            throw a(var7);
         }
      }

      return var3;
   }

   private static String a(@Nullable String var0) {
      try {
         if (var0 == null) {
            return null;
         }
      } catch (IllegalArgumentException var1) {
         throw a(var1);
      }

      return var0.trim();
   }

   protected void updateEntity(HttpConfiguration var1, HttpConfiguration var2) throws ResourceFactory.InvalidResourceException {
      var1.setHost(var2.getHost());
      var1.setPort(var2.getPort());
      var1.setProtocol(var2.getProtocol());
      var1.setPath(var2.getPath());
      var1.setUsername(var2.getUsername());
      var1.setPasswordGoid(var2.getPasswordGoid());
      var1.setNtlmHost(var2.getNtlmHost());
      var1.setNtlmDomain(var2.getNtlmDomain());
      var1.setTlsVersion(var2.getTlsVersion());
      var1.setTlsKeyUse(var2.getTlsKeyUse());
      var1.setTlsKeystoreGoid(var2.getTlsKeystoreGoid());
      var1.setTlsKeystoreAlias(var2.getTlsKeystoreAlias());
      var1.setTlsCipherSuites(var2.getTlsCipherSuites());
      var1.setConnectTimeout(var2.getConnectTimeout());
      var1.setReadTimeout(var2.getReadTimeout());
      var1.setFollowRedirects(var2.isFollowRedirects());
      var1.setProxyUse(var2.getProxyUse());
      com.l7tech.gateway.common.resources.HttpProxyConfiguration var3 = var1.getProxyConfiguration();
      com.l7tech.gateway.common.resources.HttpProxyConfiguration var4 = var2.getProxyConfiguration();
      var3.setHost(var4.getHost());
      var3.setPort(var4.getPort());
      var3.setUsername(var4.getUsername());
      var3.setPasswordGoid(var4.getPasswordGoid());
      var1.setSecurityZone(var2.getSecurityZone());
   }

   @Override
   protected void beforeCreateEntity(EntityManagerResourceFactory.EntityBag<HttpConfiguration> var1) throws ObjectModelException {
      this.a((HttpConfiguration)var1.getEntity());
   }

   @Override
   protected void beforeUpdateEntity(EntityManagerResourceFactory.EntityBag<HttpConfiguration> var1) throws ObjectModelException {
      this.a((HttpConfiguration)var1.getEntity());
   }

   private void a(HttpConfiguration param1) throws ConstraintViolationException {
      // $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:
      // 00: getstatic com/l7tech/gateway/common/resources/HttpConfiguration$Option.CUSTOM Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 03: aload 1
      // 04: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeyUse ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 07: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration$Option.equals (Ljava/lang/Object;)Z
      // 0a: ifeq 56
      // 0d: aload 1
      // 0e: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeystoreGoid ()Lcom/l7tech/objectmodel/Goid;
      // 11: ifnonnull 2c
      // 14: goto 1b
      // 17: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 1a: athrow
      // 1b: new com/l7tech/objectmodel/ConstraintViolationException
      // 1e: dup
      // 1f: getstatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.p [Ljava/lang/String;
      // 22: bipush 0
      // 23: aaload
      // 24: invokespecial com/l7tech/objectmodel/ConstraintViolationException.<init> (Ljava/lang/String;)V
      // 27: athrow
      // 28: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 2b: athrow
      // 2c: aload 1
      // 2d: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeystoreAlias ()Ljava/lang/String;
      // 30: ifnull 44
      // 33: aload 1
      // 34: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getTlsKeystoreAlias ()Ljava/lang/String;
      // 37: invokevirtual java/lang/String.isEmpty ()Z
      // 3a: ifeq 56
      // 3d: goto 44
      // 40: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 43: athrow
      // 44: new com/l7tech/objectmodel/ConstraintViolationException
      // 47: dup
      // 48: getstatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.p [Ljava/lang/String;
      // 4b: bipush 8
      // 4d: aaload
      // 4e: invokespecial com/l7tech/objectmodel/ConstraintViolationException.<init> (Ljava/lang/String;)V
      // 51: athrow
      // 52: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 55: athrow
      // 56: getstatic com/l7tech/gateway/common/resources/HttpConfiguration$Option.CUSTOM Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 59: aload 1
      // 5a: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProxyUse ()Lcom/l7tech/gateway/common/resources/HttpConfiguration$Option;
      // 5d: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration$Option.equals (Ljava/lang/Object;)Z
      // 60: ifeq e6
      // 63: aload 1
      // 64: invokevirtual com/l7tech/gateway/common/resources/HttpConfiguration.getProxyConfiguration ()Lcom/l7tech/gateway/common/resources/HttpProxyConfiguration;
      // 67: astore 2
      // 68: aload 2
      // 69: ifnonnull 7d
      // 6c: new com/l7tech/objectmodel/ConstraintViolationException
      // 6f: dup
      // 70: getstatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.p [Ljava/lang/String;
      // 73: bipush 1
      // 74: aaload
      // 75: invokespecial com/l7tech/objectmodel/ConstraintViolationException.<init> (Ljava/lang/String;)V
      // 78: athrow
      // 79: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 7c: athrow
      // 7d: aload 2
      // 7e: invokevirtual com/l7tech/gateway/common/resources/HttpProxyConfiguration.getHost ()Ljava/lang/String;
      // 81: ifnull 95
      // 84: aload 2
      // 85: invokevirtual com/l7tech/gateway/common/resources/HttpProxyConfiguration.getHost ()Ljava/lang/String;
      // 88: invokevirtual java/lang/String.isEmpty ()Z
      // 8b: ifeq a6
      // 8e: goto 95
      // 91: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // 94: athrow
      // 95: new com/l7tech/objectmodel/ConstraintViolationException
      // 98: dup
      // 99: getstatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.p [Ljava/lang/String;
      // 9c: bipush 3
      // 9d: aaload
      // 9e: invokespecial com/l7tech/objectmodel/ConstraintViolationException.<init> (Ljava/lang/String;)V
      // a1: athrow
      // a2: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // a5: athrow
      // a6: aload 2
      // a7: invokevirtual com/l7tech/gateway/common/resources/HttpProxyConfiguration.getPort ()I
      // aa: ifne bf
      // ad: new com/l7tech/objectmodel/ConstraintViolationException
      // b0: dup
      // b1: getstatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.p [Ljava/lang/String;
      // b4: bipush 7
      // b6: aaload
      // b7: invokespecial com/l7tech/objectmodel/ConstraintViolationException.<init> (Ljava/lang/String;)V
      // ba: athrow
      // bb: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // be: athrow
      // bf: aload 2
      // c0: invokevirtual com/l7tech/gateway/common/resources/HttpProxyConfiguration.getUsername ()Ljava/lang/String;
      // c3: ifnull e6
      // c6: aload 2
      // c7: invokevirtual com/l7tech/gateway/common/resources/HttpProxyConfiguration.getPasswordGoid ()Lcom/l7tech/objectmodel/Goid;
      // ca: ifnonnull e6
      // cd: goto d4
      // d0: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // d3: athrow
      // d4: new com/l7tech/objectmodel/ConstraintViolationException
      // d7: dup
      // d8: getstatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.p [Ljava/lang/String;
      // db: bipush 6
      // dd: aaload
      // de: invokespecial com/l7tech/objectmodel/ConstraintViolationException.<init> (Ljava/lang/String;)V
      // e1: athrow
      // e2: invokestatic com/l7tech/external/assertions/gatewaymanagement/server/HttpConfigurationResourceFactory.a (Ljava/lang/Exception;)Ljava/lang/Exception;
      // e5: athrow
      // e6: return
      // try (0 -> 8): 9 com/l7tech/objectmodel/ConstraintViolationException
      // try (5 -> 18): 18 com/l7tech/objectmodel/ConstraintViolationException
      // try (20 -> 27): 28 com/l7tech/objectmodel/ConstraintViolationException
      // try (23 -> 37): 37 com/l7tech/objectmodel/ConstraintViolationException
      // try (47 -> 56): 56 com/l7tech/objectmodel/ConstraintViolationException
      // try (58 -> 65): 66 com/l7tech/objectmodel/ConstraintViolationException
      // try (61 -> 75): 75 com/l7tech/objectmodel/ConstraintViolationException
      // try (77 -> 87): 87 com/l7tech/objectmodel/ConstraintViolationException
      // try (89 -> 95): 96 com/l7tech/objectmodel/ConstraintViolationException
      // try (92 -> 105): 105 com/l7tech/objectmodel/ConstraintViolationException
   }

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

   static {
      String[] var5 = new String[14];
      int var3 = 0;
      String var2 = "\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q.}\u0014D[\u001c()e\b\u0016UY65x\u0003DY\u001fq;1\u0004\u0011C\r>71\u0013\bCY:?hG\rCY$)t\u0003J=\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q*c\b\u001cIY25\u007f\u0001\rW\f#;e\u000e\u000b^Y8<1\u0006DS\f\".~\nD@\u000b>\"hG\rCY$)t\u0003J>\u0010(v\u0012\tU\u0017%zw\b\u0016\u00109\u001f5e)\u0011\\\u0015q*p\u0015\u0005]\u001c%?cGC\u0015\nvz~\u0001D\u0015\n\u007f\u007fbG\tE\n%z\u007f\b\u0010\u0010\u001b4z\u007f\u0012\b\\4\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q*c\b\u001cIY95b\u0013DY\u001fq;1\u0004\u0011C\r>71\u0017\u0016_\u0001(zx\u0014DE\n4>?\u0010';}\u000e\u0000Q\r4\np\u0014\u0017G\u0016#>\u001d\u0012;\u007f\t\u000bDY73\u007f\u0003D@\u0018\")f\b\u0016TY&3e\u000fDy=q^\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q,p\u000b\rTY!(~\u001f\u001d\u0010\t0)b\u0010\u000bB\u001dq3uG\rVY0zr\u0012\u0017D\u0016<za\u0015\u000bH\u0000q3bG\u0011C\u001c5zp\t\u0000\u0010\u0018q/b\u0002\u0016\u0010\u001707tG\rCY\"*t\u0004\rV\u00104>?:\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q,p\u000b\rTY!(~\u001f\u001d\u0010\t>(eG\rVY0zr\u0012\u0017D\u0016<za\u0015\u000bH\u0000q3bG\u0011C\u001c5t>\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q.}\u0014D[\u001c()e\b\u0016UY06x\u0006\u0017\u0010\u00107zpG\u0007E\n%5|G\u0010\\\nq1t\u001eDY\nq/b\u0002\u0000\u001e\u001b4\"a\u0002\u0007D\u001c5zy\u0013\u0010@Y25\u007f\u0001\rW\f#;e\u000e\u000b^\u001d\u0012;\u007f\t\u000bDY73\u007f\u0003D@\u0018\")f\b\u0016TY&3e\u000fDy=q\n!;b\u0014\u0013_\u000b5\u0013u";
      int var4 = "\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q.}\u0014D[\u001c()e\b\u0016UY65x\u0003DY\u001fq;1\u0004\u0011C\r>71\u0013\bCY:?hG\rCY$)t\u0003J=\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q*c\b\u001cIY25\u007f\u0001\rW\f#;e\u000e\u000b^Y8<1\u0006DS\f\".~\nD@\u000b>\"hG\rCY$)t\u0003J>\u0010(v\u0012\tU\u0017%zw\b\u0016\u00109\u001f5e)\u0011\\\u0015q*p\u0015\u0005]\u001c%?cGC\u0015\nvz~\u0001D\u0015\n\u007f\u007fbG\tE\n%z\u007f\b\u0010\u0010\u001b4z\u007f\u0012\b\\4\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q*c\b\u001cIY95b\u0013DY\u001fq;1\u0004\u0011C\r>71\u0017\u0016_\u0001(zx\u0014DE\n4>?\u0010';}\u000e\u0000Q\r4\np\u0014\u0017G\u0016#>\u001d\u0012;\u007f\t\u000bDY73\u007f\u0003D@\u0018\")f\b\u0016TY&3e\u000fDy=q^\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q,p\u000b\rTY!(~\u001f\u001d\u0010\t0)b\u0010\u000bB\u001dq3uG\rVY0zr\u0012\u0017D\u0016<za\u0015\u000bH\u0000q3bG\u0011C\u001c5zp\t\u0000\u0010\u0018q/b\u0002\u0016\u0010\u001707tG\rCY\"*t\u0004\rV\u00104>?:\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q,p\u000b\rTY!(~\u001f\u001d\u0010\t>(eG\rVY0zr\u0012\u0017D\u0016<za\u0015\u000bH\u0000q3bG\u0011C\u001c5t>\u001c/b\u0013DC\t49x\u0001\u001d\u0010\u0018q.}\u0014D[\u001c()e\b\u0016UY06x\u0006\u0017\u0010\u00107zpG\u0007E\n%5|G\u0010\\\nq1t\u001eDY\nq/b\u0002\u0000\u001e\u001b4\"a\u0002\u0007D\u001c5zy\u0013\u0010@Y25\u007f\u0001\rW\f#;e\u000e\u000b^\u001d\u0012;\u007f\t\u000bDY73\u007f\u0003D@\u0018\")f\b\u0016TY&3e\u000fDy=q\n!;b\u0014\u0013_\u000b5\u0013u"
         .length();
      char var1 = '=';
      int var7 = -1;

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

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

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

                  var2 = "<;rF\u0006\t\u0003:7wF\u000fF\u0003:&q\b\u0006\u0011\u0016,'z\u001b\u001eW\u00181'0\u000e\u000bJ\u0012(5f\u0004\u000bP\u001681r\f\u0004JX,1m\u001f\u000fLX\u0017 k\u0019)Q\u00199=x\u001c\u0018_\u00036;q;\u000fM\u0018*&|\f,_\u0014+;m\u0010\u0015\u0016:i\b\u0006W\u0013\u007f$~\u001a\u0019I\u0018-0?\u0000\u000e\u0004W";
                  var4 = "<;rF\u0006\t\u0003:7wF\u000fF\u0003:&q\b\u0006\u0011\u0016,'z\u001b\u001eW\u00181'0\u000e\u000bJ\u0012(5f\u0004\u000bP\u001681r\f\u0004JX,1m\u001f\u000fLX\u0017 k\u0019)Q\u00199=x\u001c\u0018_\u00036;q;\u000fM\u0018*&|\f,_\u0014+;m\u0010\u0015\u0016:i\b\u0006W\u0013\u007f$~\u001a\u0019I\u0018-0?\u0000\u000e\u0004W"
                     .length();
                  var1 = 'X';
                  var7 = -1;
            }

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

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

      return var10000;
   }

   private static String d(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 -> 43;
            case 1 -> 32;
            case 2 -> 107;
            case 3 -> 29;
            case 4 -> 30;
            case 5 -> 74;
            default -> 3;
         });
      }

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