package hanson.xyz.vpnhotspotmod.net.wifi;

/**
 * This parser is based on:
 *  https://android.googlesource.com/platform/external/wpa_supplicant_8/+/d2986c2/wpa_supplicant/config.c#488
 *  https://android.googlesource.com/platform/external/wpa_supplicant_8/+/6fa46df/wpa_supplicant/config_file.c#182
 */
@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00008\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u0000 \u001a2\u00020\u0001:\u0004\u001a\u001b\u001c\u001dB\u0011\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\u0002\u0010\u0004J\u001d\u0010\u0012\u001a\u00020\u00132\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\u000eH\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0015J+\u0010\u0016\u001a\u00020\u00132\u0006\u0010\u0017\u001a\u00020\u00182\u0006\u0010\r\u001a\u00020\u000e2\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006H\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0019R\u001d\u0010\u0005\u001a\u0004\u0018\u00010\u00068FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\t\u0010\n\u001a\u0004\b\u0007\u0010\bR\u000e\u0010\u000b\u001a\u00020\fX\u0082.\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001b\u0010\r\u001a\u00020\u000e8FX\u0086\u0084\u0002\u00a2\u0006\f\n\u0004\b\u0011\u0010\n\u001a\u0004\b\u000f\u0010\u0010\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006\u001e"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration;", "", "group", "Landroid/net/wifi/p2p/WifiP2pGroup;", "(Landroid/net/wifi/p2p/WifiP2pGroup;)V", "bssid", "Landroid/net/MacAddress;", "getBssid", "()Landroid/net/MacAddress;", "bssid$delegate", "Lkotlin/Lazy;", "content", "Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$Content;", "psk", "", "getPsk", "()Ljava/lang/String;", "psk$delegate", "init", "", "ownerAddress", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "update", "ssid", "Lhanson/xyz/vpnhotspotmod/net/wifi/WifiSsidCompat;", "(Lhanson/xyz/vpnhotspotmod/net/wifi/WifiSsidCompat;Ljava/lang/String;Landroid/net/MacAddress;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Companion", "Content", "NetworkBlock", "Parser", "mobile_freedomDebug"})
public final class P2pSupplicantConfiguration {
    @org.jetbrains.annotations.Nullable
    private final android.net.wifi.p2p.WifiP2pGroup group = null;
    @org.jetbrains.annotations.NotNull
    private static final java.lang.String TAG = "P2pSupplicantConfiguration";
    @org.jetbrains.annotations.NotNull
    private static final java.lang.String PERSISTENT_MAC = "p2p_device_persistent_mac_addr=";
    @org.jetbrains.annotations.NotNull
    private static final kotlin.text.Regex networkParser = null;
    private hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.Content content;
    @org.jetbrains.annotations.NotNull
    private final kotlin.Lazy psk$delegate = null;
    @org.jetbrains.annotations.NotNull
    private final kotlin.Lazy bssid$delegate = null;
    @org.jetbrains.annotations.NotNull
    public static final hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.Companion Companion = null;
    
    public P2pSupplicantConfiguration(@org.jetbrains.annotations.Nullable
    android.net.wifi.p2p.WifiP2pGroup group) {
        super();
    }
    
    @org.jetbrains.annotations.Nullable
    public final java.lang.Object init(@org.jetbrains.annotations.Nullable
    java.lang.String ownerAddress, @org.jetbrains.annotations.NotNull
    kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.lang.String getPsk() {
        return null;
    }
    
    @org.jetbrains.annotations.Nullable
    public final android.net.MacAddress getBssid() {
        return null;
    }
    
    @org.jetbrains.annotations.Nullable
    public final java.lang.Object update(@org.jetbrains.annotations.NotNull
    hanson.xyz.vpnhotspotmod.net.wifi.WifiSsidCompat ssid, @org.jetbrains.annotations.NotNull
    java.lang.String psk, @org.jetbrains.annotations.Nullable
    android.net.MacAddress bssid, @org.jetbrains.annotations.NotNull
    kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
        return null;
    }
    
    public P2pSupplicantConfiguration() {
        super();
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\b"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$Companion;", "", "()V", "PERSISTENT_MAC", "", "TAG", "networkParser", "Lkotlin/text/Regex;", "mobile_freedomDebug"})
    public static final class Companion {
        
        private Companion() {
            super();
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u001a\n\u0002\u0010\u000e\n\u0000\b\u0082\b\u0018\u00002\u00020\u0001B7\u0012\u0016\u0010\u0002\u001a\u0012\u0012\u0004\u0012\u00020\u00010\u0003j\b\u0012\u0004\u0012\u00020\u0001`\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\b\u0010\u0007\u001a\u0004\u0018\u00010\b\u0012\u0006\u0010\t\u001a\u00020\n\u00a2\u0006\u0002\u0010\u000bJ\u0019\u0010\u001b\u001a\u0012\u0012\u0004\u0012\u00020\u00010\u0003j\b\u0012\u0004\u0012\u00020\u0001`\u0004H\u00c6\u0003J\t\u0010\u001c\u001a\u00020\u0006H\u00c6\u0003J\u0010\u0010\u001d\u001a\u0004\u0018\u00010\bH\u00c6\u0003\u00a2\u0006\u0002\u0010\u0013J\t\u0010\u001e\u001a\u00020\nH\u00c6\u0003JH\u0010\u001f\u001a\u00020\u00002\u0018\b\u0002\u0010\u0002\u001a\u0012\u0012\u0004\u0012\u00020\u00010\u0003j\b\u0012\u0004\u0012\u00020\u0001`\u00042\b\b\u0002\u0010\u0005\u001a\u00020\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\b\b\u0002\u0010\t\u001a\u00020\nH\u00c6\u0001\u00a2\u0006\u0002\u0010 J\u0013\u0010!\u001a\u00020\n2\b\u0010\"\u001a\u0004\u0018\u00010\u0001H\u00d6\u0003J\t\u0010#\u001a\u00020\bH\u00d6\u0001J\t\u0010$\u001a\u00020%H\u00d6\u0001R\u001a\u0010\t\u001a\u00020\nX\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR!\u0010\u0002\u001a\u0012\u0012\u0004\u0012\u00020\u00010\u0003j\b\u0012\u0004\u0012\u00020\u0001`\u0004\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u001e\u0010\u0007\u001a\u0004\u0018\u00010\bX\u0086\u000e\u00a2\u0006\u0010\n\u0002\u0010\u0016\u001a\u0004\b\u0012\u0010\u0013\"\u0004\b\u0014\u0010\u0015R\u001a\u0010\u0005\u001a\u00020\u0006X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0017\u0010\u0018\"\u0004\b\u0019\u0010\u001a\u00a8\u0006&"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$Content;", "", "lines", "Ljava/util/ArrayList;", "Lkotlin/collections/ArrayList;", "target", "Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$NetworkBlock;", "persistentMacLine", "", "legacy", "", "(Ljava/util/ArrayList;Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$NetworkBlock;Ljava/lang/Integer;Z)V", "getLegacy", "()Z", "setLegacy", "(Z)V", "getLines", "()Ljava/util/ArrayList;", "getPersistentMacLine", "()Ljava/lang/Integer;", "setPersistentMacLine", "(Ljava/lang/Integer;)V", "Ljava/lang/Integer;", "getTarget", "()Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$NetworkBlock;", "setTarget", "(Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$NetworkBlock;)V", "component1", "component2", "component3", "component4", "copy", "(Ljava/util/ArrayList;Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$NetworkBlock;Ljava/lang/Integer;Z)Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$Content;", "equals", "other", "hashCode", "toString", "", "mobile_freedomDebug"})
    static final class Content {
        @org.jetbrains.annotations.NotNull
        private final java.util.ArrayList<java.lang.Object> lines = null;
        @org.jetbrains.annotations.NotNull
        private hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.NetworkBlock target;
        @org.jetbrains.annotations.Nullable
        private java.lang.Integer persistentMacLine;
        private boolean legacy;
        
        public Content(@org.jetbrains.annotations.NotNull
        java.util.ArrayList<java.lang.Object> lines, @org.jetbrains.annotations.NotNull
        hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.NetworkBlock target, @org.jetbrains.annotations.Nullable
        java.lang.Integer persistentMacLine, boolean legacy) {
            super();
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.ArrayList<java.lang.Object> getLines() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.NetworkBlock getTarget() {
            return null;
        }
        
        public final void setTarget(@org.jetbrains.annotations.NotNull
        hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.NetworkBlock p0) {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Integer getPersistentMacLine() {
            return null;
        }
        
        public final void setPersistentMacLine(@org.jetbrains.annotations.Nullable
        java.lang.Integer p0) {
        }
        
        public final boolean getLegacy() {
            return false;
        }
        
        public final void setLegacy(boolean p0) {
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.ArrayList<java.lang.Object> component1() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.NetworkBlock component2() {
            return null;
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Integer component3() {
            return null;
        }
        
        public final boolean component4() {
            return false;
        }
        
        @org.jetbrains.annotations.NotNull
        public final hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.Content copy(@org.jetbrains.annotations.NotNull
        java.util.ArrayList<java.lang.Object> lines, @org.jetbrains.annotations.NotNull
        hanson.xyz.vpnhotspotmod.net.wifi.P2pSupplicantConfiguration.NetworkBlock target, @org.jetbrains.annotations.Nullable
        java.lang.Integer persistentMacLine, boolean legacy) {
            return null;
        }
        
        @java.lang.Override
        public boolean equals(@org.jetbrains.annotations.Nullable
        java.lang.Object other) {
            return false;
        }
        
        @java.lang.Override
        public int hashCode() {
            return 0;
        }
        
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public java.lang.String toString() {
            return null;
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0002\b\u000f\b\u0002\u0018\u00002\u0012\u0012\u0004\u0012\u00020\u00020\u0001j\b\u0012\u0004\u0012\u00020\u0002`\u0003B\u0005\u00a2\u0006\u0002\u0010\u0004J\b\u0010 \u001a\u00020\u0002H\u0016R\u001c\u0010\u0005\u001a\u0004\u0018\u00010\u0002X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0004\b\b\u0010\tR\u001e\u0010\n\u001a\u0004\u0018\u00010\u000bX\u0086\u000e\u00a2\u0006\u0010\n\u0002\u0010\u0010\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR\u001a\u0010\u0011\u001a\u00020\u0012X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0013\u0010\u0014\"\u0004\b\u0015\u0010\u0016R\u001c\u0010\u0017\u001a\u0004\u0018\u00010\u0002X\u0086\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0018\u0010\u0007\"\u0004\b\u0019\u0010\tR\u001e\u0010\u001a\u001a\u0004\u0018\u00010\u000bX\u0086\u000e\u00a2\u0006\u0010\n\u0002\u0010\u0010\u001a\u0004\b\u001b\u0010\r\"\u0004\b\u001c\u0010\u000fR\u001e\u0010\u001d\u001a\u0004\u0018\u00010\u000bX\u0086\u000e\u00a2\u0006\u0010\n\u0002\u0010\u0010\u001a\u0004\b\u001e\u0010\r\"\u0004\b\u001f\u0010\u000f\u00a8\u0006!"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$NetworkBlock;", "Ljava/util/ArrayList;", "", "Lkotlin/collections/ArrayList;", "()V", "bssid", "getBssid", "()Ljava/lang/String;", "setBssid", "(Ljava/lang/String;)V", "bssidLine", "", "getBssidLine", "()Ljava/lang/Integer;", "setBssidLine", "(Ljava/lang/Integer;)V", "Ljava/lang/Integer;", "groupOwner", "", "getGroupOwner", "()Z", "setGroupOwner", "(Z)V", "psk", "getPsk", "setPsk", "pskLine", "getPskLine", "setPskLine", "ssidLine", "getSsidLine", "setSsidLine", "toString", "mobile_freedomDebug"})
    static final class NetworkBlock extends java.util.ArrayList<java.lang.String> {
        @org.jetbrains.annotations.Nullable
        private java.lang.Integer ssidLine;
        @org.jetbrains.annotations.Nullable
        private java.lang.Integer pskLine;
        @org.jetbrains.annotations.Nullable
        private java.lang.Integer bssidLine;
        @org.jetbrains.annotations.Nullable
        private java.lang.String psk;
        private boolean groupOwner = false;
        @org.jetbrains.annotations.Nullable
        private java.lang.String bssid;
        
        public NetworkBlock() {
            super(0);
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Integer getSsidLine() {
            return null;
        }
        
        public final void setSsidLine(@org.jetbrains.annotations.Nullable
        java.lang.Integer p0) {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Integer getPskLine() {
            return null;
        }
        
        public final void setPskLine(@org.jetbrains.annotations.Nullable
        java.lang.Integer p0) {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Integer getBssidLine() {
            return null;
        }
        
        public final void setBssidLine(@org.jetbrains.annotations.Nullable
        java.lang.Integer p0) {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.String getPsk() {
            return null;
        }
        
        public final void setPsk(@org.jetbrains.annotations.Nullable
        java.lang.String p0) {
        }
        
        public final boolean getGroupOwner() {
            return false;
        }
        
        public final void setGroupOwner(boolean p0) {
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.String getBssid() {
            return null;
        }
        
        public final void setBssid(@org.jetbrains.annotations.Nullable
        java.lang.String p0) {
        }
        
        @java.lang.Override
        @org.jetbrains.annotations.NotNull
        public java.lang.String toString() {
            return null;
        }
        
        @java.lang.Override
        public final boolean contains(java.lang.Object element) {
            return false;
        }
        
        @java.lang.Override
        public boolean contains(java.lang.String element) {
            return false;
        }
        
        @java.lang.Override
        public int getSize() {
            return 0;
        }
        
        @java.lang.Override
        public final int indexOf(java.lang.Object element) {
            return 0;
        }
        
        @java.lang.Override
        public int indexOf(java.lang.String element) {
            return 0;
        }
        
        @java.lang.Override
        public final int lastIndexOf(java.lang.Object element) {
            return 0;
        }
        
        @java.lang.Override
        public int lastIndexOf(java.lang.String element) {
            return 0;
        }
        
        public final java.lang.String remove(int index) {
            return null;
        }
        
        @java.lang.Override
        public final boolean remove(java.lang.Object element) {
            return false;
        }
        
        @java.lang.Override
        public boolean remove(java.lang.String element) {
            return false;
        }
        
        @java.lang.Override
        public java.lang.String removeAt(int p0) {
            return null;
        }
        
        @java.lang.Override
        public final int size() {
            return 0;
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010(\n\u0002\u0010\u000e\n\u0002\b\f\n\u0002\u0010\u000b\n\u0000\b\u0002\u0018\u00002\u00020\u0001B\u0013\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003\u00a2\u0006\u0002\u0010\u0005J\u0006\u0010\u0010\u001a\u00020\u0011R\u001a\u0010\u0006\u001a\u00020\u0004X\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\nR\u0017\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u001a\u0010\r\u001a\u00020\u0004X\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u000e\u0010\b\"\u0004\b\u000f\u0010\n\u00a8\u0006\u0012"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/wifi/P2pSupplicantConfiguration$Parser;", "", "lines", "", "", "(Ljava/util/Iterator;)V", "line", "getLine", "()Ljava/lang/String;", "setLine", "(Ljava/lang/String;)V", "getLines", "()Ljava/util/Iterator;", "trimmed", "getTrimmed", "setTrimmed", "next", "", "mobile_freedomDebug"})
    static final class Parser {
        @org.jetbrains.annotations.NotNull
        private final java.util.Iterator<java.lang.String> lines = null;
        public java.lang.String line;
        public java.lang.String trimmed;
        
        public Parser(@org.jetbrains.annotations.NotNull
        java.util.Iterator<java.lang.String> lines) {
            super();
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.util.Iterator<java.lang.String> getLines() {
            return null;
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.lang.String getLine() {
            return null;
        }
        
        public final void setLine(@org.jetbrains.annotations.NotNull
        java.lang.String p0) {
        }
        
        @org.jetbrains.annotations.NotNull
        public final java.lang.String getTrimmed() {
            return null;
        }
        
        public final void setTrimmed(@org.jetbrains.annotations.NotNull
        java.lang.String p0) {
        }
        
        public final boolean next() {
            return false;
        }
    }
}