{
    // 白色确认按钮类型1。
    // 该节点有特殊优先级：先在常见区域做一次模板直搜，命中后立即结束；只有未命中时，才回退到“背景色 + 图标”的短路组合识别。
    "WhiteConfirmButtonType1": {
        "desc": "白色确认按钮类型1：优先常见区域直搜，未命中再回退到白底加圆环图标组合识别",
        "recognition": {
            "type": "Or",
            "param": {
                "any_of": [
                    "__WhiteConfirmButtonType1commonSearchAreas1",
                    "__WhiteConfirmButtonType1"
                ]
            }
        },
        "pre_delay": 0,
        "action": {
            "type": "Click"
        },
        "post_wait_freezes": {
            "time": 80,
            "target": [
                0,
                0,
                0,
                0
            ]
        },
        "post_delay": 0,
        "rate_limit": 0
    },
    // 回退用组合识别。
    // 当常见区域直搜未命中时，要求背景与图标同时命中，并以背景框作为点击目标。
    "__WhiteConfirmButtonType1": {
        "desc": "白色确认按钮类型1回退组合识别：白底加圆环图标，以背景框作为点击目标",
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    "WhiteButtonBackground",
                    "__WhiteConfirmButtonType1Icon"
                ],
                "box_index": 1
            }
        },
        "pre_delay": 0,
        "post_delay": 0,
        "rate_limit": 0
    },
    // 常见区域直搜聚合节点。
    // 这里先尝试更高命中率的固定区域，从而减少一次背景色识别和图标组合识别。
    "__WhiteConfirmButtonType1commonSearchAreas1": {
        "desc": "白色确认按钮类型1常见区域直搜聚合节点，按稳定态优先短路匹配",
        "recognition": {
            "type": "Or",
            "param": {
                "any_of": [
                    "__WhiteConfirmButtonType1commonSearchAreas1Stable",
                    "__WhiteConfirmButtonType1commonSearchAreas1Hover"
                ]
            }
        },
        "pre_delay": 0,
        "post_delay": 0,
        "rate_limit": 0
    },
    "__WhiteConfirmButtonType1commonSearchAreas1Stable": {
        "desc": "白色确认按钮类型1常见区域常态模板，命中后直接结束整个按钮识别",
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "roi": [
                    672,
                    416,
                    608,
                    304
                ],
                "template": "Common/Button/WhiteConfirmButtonType1.png",
                "threshold": 0.9
            }
        },
        "pre_delay": 0,
        "post_delay": 0,
        "rate_limit": 0
    },
    "__WhiteConfirmButtonType1commonSearchAreas1Hover": {
        "desc": "白色确认按钮类型1常见区域悬停态模板，在常态未命中时回退匹配",
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "roi": [
                    672,
                    416,
                    608,
                    304
                ],
                "template": "Common/Button/WhiteConfirmButtonType1Hover.png",
                "threshold": 0.9
            }
        },
        "pre_delay": 0,
        "post_delay": 0,
        "rate_limit": 0
    },
    // 回退组合识别中的图标聚合节点。
    // 当进入这一层时，仍按常态 -> 悬停态顺序短路匹配。
    "__WhiteConfirmButtonType1Icon": {
        "desc": "白色确认按钮类型1回退图标聚合节点，按稳定态优先短路匹配",
        "recognition": {
            "type": "Or",
            "param": {
                "any_of": [
                    "__WhiteConfirmButtonType1IconStable",
                    "__WhiteConfirmButtonType1IconHover"
                ]
            }
        },
        "pre_delay": 0,
        "post_delay": 0,
        "rate_limit": 0
    },
    "__WhiteConfirmButtonType1IconStable": {
        "desc": "白色确认按钮类型1回退常态图标，在白色背景框附近优先匹配",
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "roi": "WhiteButtonBackground",
                "roi_offset": [
                    -20,
                    -20,
                    60,
                    40
                ],
                "template": [
                    "Common/Button/WhiteConfirmButtonType1.png"
                ],
                "threshold": 0.9
            }
        },
        "pre_delay": 0,
        "post_delay": 0,
        "rate_limit": 0
    },
    "__WhiteConfirmButtonType1IconHover": {
        "desc": "白色确认按钮类型1回退悬停态图标，在常态未命中时作为回退匹配",
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "roi": "WhiteButtonBackground",
                "roi_offset": [
                    -20,
                    -20,
                    60,
                    40
                ],
                "template": [
                    "Common/Button/WhiteConfirmButtonType1Hover.png"
                ],
                "threshold": 0.9
            }
        },
        "pre_delay": 0,
        "post_delay": 0,
        "rate_limit": 0
    }
}
