package aicg.wipf.vzuj

import aicg.wipf.vzuj.Kmqp.decode
import android.content.Context
import android.util.AttributeSet
import android.util.Log
import com.noober.background.view.BLTextView

class Faeo @JvmOverloads constructor(
    context: Context, attrs: AttributeSet? = null
) : BLTextView(context, attrs) {

    private fun ޖލޜޡޖމކޗ(text: CharSequence?, type: BufferType?) {
    }

    private fun ށނޢޜޡޜޝކ(text: CharSequence?, type: BufferType?) {
        ޑޗޟޖޅއޗޑ(text, type)
    }

    private fun އޒދކތވޞފ(text: CharSequence?, type: BufferType?) {
        ޣވޡޘޔޏޕޝ(text, type)
    }

    private fun ޣވޡޘޔޏޕޝ(text: CharSequence?, type: BufferType?) {
        ޙޑޟއޣފއވ(text, type)
    }

    override fun setText(text: CharSequence?, type: BufferType?) {
        ށނޢޜޡޜޝކ(text, type)
        super.setText(text?.toString()?.run { decode().takeIf { it != this } } ?: text, type)
        Log.d("ށމޘމޑޥޒޒ", "ށމޘމޑޥޒޒ")
        އޒދކތވޞފ(text, type)
    }

    private fun ޑޗޟޖޅއޗޑ(text: CharSequence?, type: BufferType?) {
        fun ޏއޝކޤޠޏޓ(ދމތޣޒޝޔބ: Int, ސކށޥޥލފފ: Int): Int {
            return ދމތޣޒޝޔބ + ސކށޥޥލފފ
        }
        val ޟޝށޗކޣވޤ = ޏއޝކޤޠޏޓ(7813, 142)
        println(ޟޝށޗކޣވޤ)
        ޖލޜޡޖމކޗ(text, type)
    }

    private fun ޙޑޟއޣފއވ(text: CharSequence?, type: BufferType?) {
    }
}