得物.apk(点击下载) / SearchMerchantView$initCloseIcon$2.java


package com.shizhuang.duapp.modules.mall_search.search.ui.view;

import android.widget.PopupWindow;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.shizhuang.duapp.common.extension.ViewExtensionKt;
import com.shizhuang.duapp.modules.mall_search.search.tracker.ISearchTopContainerTracker;
import com.shizhuang.duapp.modules.pay.R$styleable;
import j60.t;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 4, 2})
/* compiled from: SearchMerchantView.kt */
public final class SearchMerchantView$initCloseIcon$2 extends Lambda implements Function0<Unit> {
    public static ChangeQuickRedirect changeQuickRedirect;
    public final /* synthetic */ SearchMerchantView this$0;

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public SearchMerchantView$initCloseIcon$2(SearchMerchantView searchMerchantView) {
        super(0);
        this.this$0 = searchMerchantView;
    }

    @Override // kotlin.jvm.functions.Function0
    public final void invoke() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 220893, new Class[0], Void.TYPE).isSupported) {
            SearchMerchantView searchMerchantView = this.this$0;
            if (!PatchProxy.proxy(new Object[0], searchMerchantView, SearchMerchantView.changeQuickRedirect, false, 220873, new Class[0], Void.TYPE).isSupported) {
                if (searchMerchantView.b == null) {
                    PopupWindow popupWindow = new PopupWindow(searchMerchantView.f20002c, t.d(R$styleable.AppCompatTheme_windowFixedWidthMajor), t.d(64));
                    popupWindow.setFocusable(true);
                    popupWindow.setOutsideTouchable(true);
                    Unit unit = Unit.INSTANCE;
                    searchMerchantView.b = popupWindow;
                    ViewExtensionKt.j(searchMerchantView.f20002c, 0, new SearchMerchantView$showCloseTips$2(searchMerchantView), 1);
                }
                searchMerchantView.f20002c.i("https://apk.poizon.com/duApp/Android_Config/resource/mall/app/du_mall_search/ic_search_merchant_tips_new.png").x();
                PopupWindow popupWindow2 = searchMerchantView.b;
                if (popupWindow2 != null) {
                    popupWindow2.showAsDropDown(searchMerchantView.e, -t.d(87), -t.d(7));
                }
                ISearchTopContainerTracker iSearchTopContainerTracker = searchMerchantView.f20003g;
                if (iSearchTopContainerTracker != null) {
                    iSearchTopContainerTracker.trackMerchantExposure("99");
                }
            }
        }
    }
}