{
    "version": "1.0.0",
    "layout_name": "plugin_settings",
    "permissions": [
        "core.plugins.update"
    ],
    "extends": "_admin_base",
    "meta": {
        "title": "$t:sirsoft-pay_kginicis.settings.title",
        "description": "$t:sirsoft-pay_kginicis.settings.description"
    },
    "data_sources": [
        {
            "id": "settings",
            "label_key": "$t:sirsoft-pay_kginicis.editor.data_source.settings",
            "type": "api",
            "endpoint": "/api/admin/plugins/{{route.identifier}}/settings",
            "method": "GET",
            "auto_fetch": true,
            "auth_required": true,
            "initLocal": "form",
            "refetchOnMount": true
        },
        {
            "id": "vbank_info",
            "label_key": "$t:sirsoft-pay_kginicis.editor.data_source.vbank_info",
            "type": "api",
            "endpoint": "/api/plugins/sirsoft-pay_kginicis/admin/vbank-notify-url",
            "method": "GET",
            "auto_fetch": true,
            "auth_required": true,
            "initLocal": "vbankInfo"
        }
    ],
    "slots": {
        "content": [
            {
                "id": "plugin_settings_content",
                "type": "basic",
                "name": "Div",
                "dataKey": "form",
                "trackChanges": true,
                "props": {
                    "className": "p-4 sm:p-6 lg:p-8 min-h-screen bg-gray-50 dark:bg-gray-900"
                },
                "children": [
                    {
                        "id": "page_header",
                        "type": "composite",
                        "name": "PageHeader",
                        "props": {
                            "title": "$t:sirsoft-pay_kginicis.settings.title",
                            "description": "$t:sirsoft-pay_kginicis.settings.description",
                            "backPath": "/admin/plugins",
                            "backLabel": "$t:admin.plugins.back_to_list"
                        }
                    },
                    {
                        "id": "validation_error",
                        "type": "basic",
                        "name": "Div",
                        "if": "{{_local.errors}}",
                        "props": {
                            "id": "kginicis_settings_validation_error",
                            "role": "alert",
                            "aria-live": "assertive",
                            "tabIndex": -1,
                            "className": "alert-danger scroll-mt-32"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex gap-3"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Icon",
                                        "props": {
                                            "name": "triangle-exclamation",
                                            "className": "w-5 h-5 text-red-600 dark:text-red-400 flex-shrink-0 mt-0.5"
                                        }
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "H3",
                                                "props": {
                                                    "className": "text-error-soft"
                                                },
                                                "text": "$t:admin.plugins.settings.validation_error"
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Ul",
                                                "if": "{{typeof _local.errors === 'object' && Object.keys(_local.errors).length > 0}}",
                                                "props": {
                                                    "className": "mt-2 list-disc list-inside space-y-1"
                                                },
                                                "iteration": {
                                                    "source": "Object.entries(_local.errors ?? {}).flatMap(([field, messages]) => Array.isArray(messages) ? messages : [messages])",
                                                    "item_var": "message"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Li",
                                                        "props": {
                                                            "className": "grid-3col-responsive"
                                                        },
                                                        "text": "{{message}}"
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "test_mode_card",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "p-6"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "flex items-center justify-between"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.test_mode"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.test_mode_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "is_test_mode"
                                                }
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "live_mode_warning",
                        "type": "basic",
                        "name": "Div",
                        "if": "{{_local.form && !_local.form.is_test_mode}}",
                        "props": {
                            "className": "mt-6 bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-700 rounded-lg p-4"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex gap-3"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Icon",
                                        "props": {
                                            "name": "triangle-exclamation",
                                            "className": "w-5 h-5 text-amber-600 dark:text-amber-400 flex-shrink-0 mt-0.5"
                                        }
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "H3",
                                                "props": {
                                                    "className": "text-sm font-semibold text-warning-soft"
                                                },
                                                "text": "$t:sirsoft-pay_kginicis.settings.live_mode_warning_title"
                                            },
                                            {
                                                "type": "basic",
                                                "name": "P",
                                                "props": {
                                                    "className": "text-success-soft font-medium"
                                                },
                                                "text": "$t:sirsoft-pay_kginicis.settings.live_mode_warning_body"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "live_keys_section",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex-start justify-between px-6 py-4"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "H3",
                                        "props": {
                                            "className": "text-error-strong"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_live_keys"
                                    },
                                    {
                                        "type": "basic",
                                        "name": "P",
                                        "props": {
                                            "className": "form-hint"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_live_keys_hint"
                                    }
                                ]
                            },
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "p-6 space-y-6"
                                },
                                "children": [
                                    {
                                        "id": "field_live_mid",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "section-heading-md"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-1"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_mid"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_mid_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "flex rounded-lg border border-gray-300 dark:border-gray-600 overflow-hidden focus-within:ring-2 focus-within:ring-blue-500 dark:focus-within:ring-blue-400 focus-within:border-transparent"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Span",
                                                                "props": {
                                                                    "className": "inline-flex items-center px-3 bg-gray-100 dark:bg-gray-600 border-r border-gray-300 dark:border-gray-600 text-body font-mono font-bold select-none"
                                                                },
                                                                "text": "SIR"
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Input",
                                                                "props": {
                                                                    "type": "text",
                                                                    "name": "live_mid",
                                                                    "placeholder": "shoptest",
                                                                    "className": "text-primary flex-1 px-3 py-2 bg-white dark:bg-gray-700 font-mono text-sm outline-none border-0"
                                                                }
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "mt-1.5 text-tertiary"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_mid_example"
                                                    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "id": "field_live_sign_key",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "section-heading-md"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-1"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_sign_key"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_sign_key_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "relative"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Input",
                                                                "props": {
                                                                    "type": "{{_local._show_live_sign_key ? 'text' : 'password'}}",
                                                                    "name": "live_sign_key",
                                                                    "placeholder": "••••••••••••••••",
                                                                    "className": "text-primary w-full pl-3 pr-10 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent font-mono text-sm"
                                                                }
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Button",
                                                                "props": {
                                                                    "type": "button",
                                                                    "className": "absolute right-2 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200"
                                                                },
                                                                "actions": [
                                                                    {
                                                                        "type": "click",
                                                                        "handler": "setState",
                                                                        "params": {
                                                                            "target": "local",
                                                                            "_show_live_sign_key": "{{!_local._show_live_sign_key}}"
                                                                        }
                                                                    }
                                                                ],
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{!_local._show_live_sign_key}}",
                                                                        "props": {
                                                                            "name": "eye",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{_local._show_live_sign_key}}",
                                                                        "props": {
                                                                            "name": "eye-slash",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "id": "field_live_iniapi_key",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "section-heading-md"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-1"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_iniapi_key"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_iniapi_key_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "relative"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Input",
                                                                "props": {
                                                                    "type": "{{_local._show_live_iniapi_key ? 'text' : 'password'}}",
                                                                    "name": "live_iniapi_key",
                                                                    "placeholder": "••••••••••••••••",
                                                                    "className": "text-primary w-full pl-3 pr-10 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent font-mono text-sm"
                                                                }
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Button",
                                                                "props": {
                                                                    "type": "button",
                                                                    "className": "absolute right-2 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200"
                                                                },
                                                                "actions": [
                                                                    {
                                                                        "type": "click",
                                                                        "handler": "setState",
                                                                        "params": {
                                                                            "target": "local",
                                                                            "_show_live_iniapi_key": "{{!_local._show_live_iniapi_key}}"
                                                                        }
                                                                    }
                                                                ],
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{!_local._show_live_iniapi_key}}",
                                                                        "props": {
                                                                            "name": "eye",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{_local._show_live_iniapi_key}}",
                                                                        "props": {
                                                                            "name": "eye-slash",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "id": "field_live_iniapi_iv",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "section-heading-md"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-1"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_iniapi_iv"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_iniapi_iv_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "relative"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Input",
                                                                "props": {
                                                                    "type": "{{_local._show_live_iniapi_iv ? 'text' : 'password'}}",
                                                                    "name": "live_iniapi_iv",
                                                                    "placeholder": "••••••••••••••••",
                                                                    "className": "text-primary w-full pl-3 pr-10 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent font-mono text-sm"
                                                                }
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Button",
                                                                "props": {
                                                                    "type": "button",
                                                                    "className": "absolute right-2 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200"
                                                                },
                                                                "actions": [
                                                                    {
                                                                        "type": "click",
                                                                        "handler": "setState",
                                                                        "params": {
                                                                            "target": "local",
                                                                            "_show_live_iniapi_iv": "{{!_local._show_live_iniapi_iv}}"
                                                                        }
                                                                    }
                                                                ],
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{!_local._show_live_iniapi_iv}}",
                                                                        "props": {
                                                                            "name": "eye",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{_local._show_live_iniapi_iv}}",
                                                                        "props": {
                                                                            "name": "eye-slash",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "id": "field_live_mobile_hash_key",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "section-heading-md"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-1"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_mobile_hash_key"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.live_mobile_hash_key_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "relative"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Input",
                                                                "props": {
                                                                    "type": "{{_local._show_live_mobile_hash_key ? 'text' : 'password'}}",
                                                                    "name": "live_mobile_hash_key",
                                                                    "placeholder": "••••••••••••••••",
                                                                    "className": "text-primary w-full pl-3 pr-10 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent font-mono text-sm"
                                                                }
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Button",
                                                                "props": {
                                                                    "type": "button",
                                                                    "className": "absolute right-2 top-1/2 -translate-y-1/2 p-1 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200"
                                                                },
                                                                "actions": [
                                                                    {
                                                                        "type": "click",
                                                                        "handler": "setState",
                                                                        "params": {
                                                                            "target": "local",
                                                                            "_show_live_mobile_hash_key": "{{!_local._show_live_mobile_hash_key}}"
                                                                        }
                                                                    }
                                                                ],
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{!_local._show_live_mobile_hash_key}}",
                                                                        "props": {
                                                                            "name": "eye",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{_local._show_live_mobile_hash_key}}",
                                                                        "props": {
                                                                            "name": "eye-slash",
                                                                            "className": "w-4 h-4"
                                                                        }
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "easy_pay_section",
                        "_comment_hidden": "간편결제 토글은 이커머스 admin/ecommerce/settings 의 결제수단 목록으로 이동됨 (RegisterEasyPayMethodsListener). 본 카드는 차후 별도 보강 시 if 키 제거하면 복원.",
                        "if": "{{false}}",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex-start justify-between px-6 py-4"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "H3",
                                        "props": {
                                            "className": "text-error-strong"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_easy_pay"
                                    },
                                    {
                                        "type": "basic",
                                        "name": "P",
                                        "props": {
                                            "className": "form-hint"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_easy_pay_hint"
                                    }
                                ]
                            },
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "divide-y divide-gray-100 dark:divide-gray-700"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "flex items-center justify-between px-6 py-4 bg-blue-50 dark:bg-blue-900/20"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_allow_with_other_pg"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_allow_with_other_pg_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "easy_pay_allow_with_other_pg"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "panel-header-row"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_naverpay"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_naverpay_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "easy_pay_naverpay"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "panel-header-row"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_samsung_pay"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_samsung_pay_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "easy_pay_samsung_pay"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "panel-header-row"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_lpay"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_lpay_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "easy_pay_lpay"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "panel-header-row"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_kakaopay"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "mt-1 text-xs text-amber-600 dark:text-amber-400"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.easy_pay_kakaopay_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "easy_pay_kakaopay"
                                                }
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "general_options_section",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex-start justify-between px-6 py-4"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "H3",
                                        "props": {
                                            "className": "text-error-strong"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_general_options"
                                    }
                                ]
                            },
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "panel-header-row"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Label",
                                                "props": {
                                                    "className": "form-label"
                                                },
                                                "text": "$t:sirsoft-pay_kginicis.settings.use_credit_point"
                                            },
                                            {
                                                "type": "basic",
                                                "name": "P",
                                                "props": {
                                                    "className": "form-hint"
                                                },
                                                "text": "$t:sirsoft-pay_kginicis.settings.use_credit_point_hint"
                                            }
                                        ]
                                    },
                                    {
                                        "type": "composite",
                                        "name": "Toggle",
                                        "props": {
                                            "name": "use_credit_point"
                                        }
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "japan_section",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex-start justify-between px-6 py-4"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "H3",
                                        "props": {
                                            "className": "text-error-strong"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_japan"
                                    },
                                    {
                                        "type": "basic",
                                        "name": "P",
                                        "props": {
                                            "className": "form-hint"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_japan_hint"
                                    }
                                ]
                            },
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "p-6 space-y-6"
                                },
                                "children": [
                                    {
                                        "id": "field_japan_enabled",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "flex items-center justify-between"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_enabled"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_enabled_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "japan_enabled"
                                                }
                                            }
                                        ]
                                    },
                                    {
                                        "id": "japan_fields",
                                        "type": "basic",
                                        "name": "Div",
                                        "if": "{{_local.form && _local.form.japan_enabled}}",
                                        "props": {
                                            "className": "space-y-6 pt-4 border-t border-gray-100 dark:border-gray-700"
                                        },
                                        "children": [
                                            {
                                                "id": "field_japan_restrict_jpy_payment_methods",
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "flex items-center justify-between rounded-lg border border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-900/40 p-4"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Label",
                                                                "props": {
                                                                    "className": "block text-body font-medium"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.japan_restrict_jpy_payment_methods"
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "P",
                                                                "props": {
                                                                    "className": "text-tertiary mt-1"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.japan_restrict_jpy_payment_methods_hint"
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "composite",
                                                        "name": "Toggle",
                                                        "props": {
                                                            "name": "japan_restrict_jpy_payment_methods"
                                                        }
                                                    }
                                                ]
                                            },
                                            {
                                                "id": "cbt_test_helper_card",
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "rounded-lg border border-blue-200 dark:border-blue-700 bg-blue-50 dark:bg-blue-900/20 p-4"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "flex-start gap-3 mb-3"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Icon",
                                                                "props": {
                                                                    "name": "flask-conical",
                                                                    "className": "w-5 h-5 text-blue-600 dark:text-blue-400 flex-shrink-0 mt-0.5"
                                                                }
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "H4",
                                                                        "props": {
                                                                            "className": "text-sm font-semibold text-blue-900 dark:text-blue-200"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_helper_title"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "P",
                                                                        "props": {
                                                                            "className": "mt-1 text-warning-soft leading-relaxed"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_helper_description"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "flex-center flex-wrap gap-2"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Button",
                                                                "props": {
                                                                    "type": "button",
                                                                    "disabled": "{{_local.cbtTestProductCreating}}",
                                                                    "className": "inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-blue-600 hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600 text-white rounded-md transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
                                                                },
                                                                "actions": [
                                                                    {
                                                                        "type": "click",
                                                                        "handler": "sequence",
                                                                        "actions": [
                                                                            {
                                                                                "handler": "setState",
                                                                                "params": {
                                                                                    "target": "local",
                                                                                    "cbtTestProductCreating": true,
                                                                                    "cbtTestProductError": null,
                                                                                    "cbtTestProductResult": null
                                                                                }
                                                                            },
                                                                            {
                                                                                "handler": "apiCall",
                                                                                "auth_required": true,
                                                                                "target": "/api/plugins/sirsoft-pay_kginicis/admin/cbt-test-product",
                                                                                "params": {
                                                                                    "method": "POST"
                                                                                },
                                                                                "onSuccess": [
                                                                                    {
                                                                                        "handler": "setState",
                                                                                        "params": {
                                                                                            "target": "local",
                                                                                            "cbtTestProductCreating": false,
                                                                                            "cbtTestProductResult": "{{response.data}}"
                                                                                        }
                                                                                    }
                                                                                ],
                                                                                "onError": [
                                                                                    {
                                                                                        "handler": "setState",
                                                                                        "params": {
                                                                                            "target": "local",
                                                                                            "cbtTestProductCreating": false,
                                                                                            "cbtTestProductError": "$t:sirsoft-pay_kginicis.settings.cbt_helper_create_error"
                                                                                        }
                                                                                    }
                                                                                ]
                                                                            }
                                                                        ]
                                                                    }
                                                                ],
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{_local.cbtTestProductCreating}}",
                                                                        "props": {
                                                                            "name": "spinner",
                                                                            "className": "w-3 h-3 animate-spin"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{!_local.cbtTestProductCreating}}",
                                                                        "props": {
                                                                            "name": "plus",
                                                                            "className": "w-3 h-3"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Span",
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_helper_create_button"
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "A",
                                                                "props": {
                                                                    "href": "/admin/ecommerce/products",
                                                                    "target": "_blank",
                                                                    "rel": "noopener",
                                                                    "className": "text-info-soft inline-flex items-center gap-1.5 px-3 py-1.5 font-medium border border-blue-300 dark:border-blue-700 hover:bg-blue-100 dark:hover:bg-blue-900/40 rounded-md transition-colors"
                                                                },
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "props": {
                                                                            "name": "external-link-alt",
                                                                            "className": "w-3 h-3"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Span",
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_helper_products_link"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "if": "{{_local.cbtTestProductResult}}",
                                                        "props": {
                                                            "className": "mt-3 p-3 rounded-md bg-green-100 dark:bg-green-900/30 border border-green-200 dark:border-green-700 text-xs space-y-1"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "P",
                                                                "props": {
                                                                    "className": "font-semibold text-success-soft"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_helper_create_success"
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "props": {
                                                                    "className": "flex flex-wrap gap-3 text-success-soft"
                                                                },
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "A",
                                                                        "props": {
                                                                            "href": "{{_local.cbtTestProductResult?.admin_url}}",
                                                                            "target": "_blank",
                                                                            "rel": "noopener",
                                                                            "className": "underline hover:text-green-900 dark:hover:text-green-200"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_helper_admin_edit_link"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "A",
                                                                        "props": {
                                                                            "href": "{{_local.cbtTestProductResult?.shop_url}}",
                                                                            "target": "_blank",
                                                                            "rel": "noopener",
                                                                            "className": "underline hover:text-green-900 dark:hover:text-green-200"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_helper_shop_link"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "if": "{{_local.cbtTestProductError}}",
                                                        "props": {
                                                            "className": "mt-3 p-3 rounded-md bg-red-100 dark:bg-red-900/30 border border-red-200 dark:border-red-700 text-danger-soft"
                                                        },
                                                        "text": "{{_local.cbtTestProductError}}"
                                                    }
                                                ]
                                            },
                                            {
                                                "id": "cbt_connectivity_card",
                                                "comment": "CBT 호스트 연결 진단 — egress IP + DNS + TCP 443 도달성",
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "rounded-lg border border-amber-200 dark:border-amber-700 bg-amber-50 dark:bg-amber-900/20 p-4"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "flex-start gap-3 mb-3"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Icon",
                                                                "props": {
                                                                    "name": "shield-alt",
                                                                    "className": "w-5 h-5 text-amber-600 dark:text-amber-400 flex-shrink-0 mt-0.5"
                                                                }
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "H4",
                                                                        "props": {
                                                                            "className": "text-sm font-semibold text-amber-900 dark:text-amber-200"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_title"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "P",
                                                                        "props": {
                                                                            "className": "mt-1 text-info-soft leading-relaxed"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_description"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "flex-center flex-wrap gap-2"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Button",
                                                                "props": {
                                                                    "type": "button",
                                                                    "disabled": "{{_local.cbtConnCheckRunning}}",
                                                                    "className": "inline-flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-amber-600 hover:bg-amber-700 dark:bg-amber-500 dark:hover:bg-amber-600 text-white rounded-md transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
                                                                },
                                                                "actions": [
                                                                    {
                                                                        "type": "click",
                                                                        "handler": "sequence",
                                                                        "actions": [
                                                                            {
                                                                                "handler": "setState",
                                                                                "params": {
                                                                                    "target": "local",
                                                                                    "cbtConnCheckRunning": true,
                                                                                    "cbtConnCheckError": null,
                                                                                    "cbtConnCheckResult": null
                                                                                }
                                                                            },
                                                                            {
                                                                                "handler": "apiCall",
                                                                                "auth_required": true,
                                                                                "target": "/api/plugins/sirsoft-pay_kginicis/admin/cbt-connectivity-check",
                                                                                "params": {
                                                                                    "method": "GET"
                                                                                },
                                                                                "onSuccess": [
                                                                                    {
                                                                                        "handler": "setState",
                                                                                        "params": {
                                                                                            "target": "local",
                                                                                            "cbtConnCheckRunning": false,
                                                                                            "cbtConnCheckResult": "{{response.data}}"
                                                                                        }
                                                                                    }
                                                                                ],
                                                                                "onError": [
                                                                                    {
                                                                                        "handler": "setState",
                                                                                        "params": {
                                                                                            "target": "local",
                                                                                            "cbtConnCheckRunning": false,
                                                                                            "cbtConnCheckError": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_check_error"
                                                                                        }
                                                                                    }
                                                                                ]
                                                                            }
                                                                        ]
                                                                    }
                                                                ],
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{_local.cbtConnCheckRunning}}",
                                                                        "props": {
                                                                            "name": "spinner",
                                                                            "className": "w-3 h-3 animate-spin"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Icon",
                                                                        "if": "{{!_local.cbtConnCheckRunning}}",
                                                                        "props": {
                                                                            "name": "satellite-dish",
                                                                            "className": "w-3 h-3"
                                                                        }
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Span",
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_check_button"
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "comment": "진단 결과 — egress IP + server IP + 호스트별 DNS/TCP",
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "if": "{{_local.cbtConnCheckResult}}",
                                                        "props": {
                                                            "className": "mt-3 space-y-3"
                                                        },
                                                        "children": [
                                                            {
                                                                "comment": "IP 정보 카드",
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "props": {
                                                                    "className": "p-3 rounded-md bg-white dark:bg-gray-800 border border-amber-200 dark:border-amber-700 text-xs space-y-2"
                                                                },
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Div",
                                                                        "props": {
                                                                            "className": "flex items-baseline gap-2"
                                                                        },
                                                                        "children": [
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "font-semibold text-gray-700 dark:text-gray-300 min-w-[180px]"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_egress_ip_label"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "font-mono text-warning-soft font-bold select-all"
                                                                                },
                                                                                "text": "{{_local.cbtConnCheckResult?.egress_ip ?? '$t:sirsoft-pay_kginicis.settings.cbt_connectivity_unknown'}}"
                                                                            }
                                                                        ]
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "P",
                                                                        "props": {
                                                                            "className": "text-[11px] text-gray-500 dark:text-gray-400 pl-[180px]"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_hint_egress"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Div",
                                                                        "props": {
                                                                            "className": "flex items-baseline gap-2"
                                                                        },
                                                                        "children": [
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "font-semibold text-gray-700 dark:text-gray-300 min-w-[180px]"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_server_ip_label"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "text-secondary font-mono select-all"
                                                                                },
                                                                                "text": "{{_local.cbtConnCheckResult?.server_ip ?? '-'}}"
                                                                            }
                                                                        ]
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "comment": "APP_URL / callback URL 사전 점검",
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "props": {
                                                                    "className": "p-3 rounded-md bg-white dark:bg-gray-800 border border-amber-200 dark:border-amber-700 text-xs space-y-2"
                                                                },
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Div",
                                                                        "props": {
                                                                            "className": "font-semibold text-gray-800 dark:text-gray-200"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_title"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Div",
                                                                        "props": {
                                                                            "className": "grid grid-cols-[150px_1fr] gap-x-3 gap-y-1.5"
                                                                        },
                                                                        "children": [
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "text-gray-500 dark:text-gray-400"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_app_url_label"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "font-mono text-gray-700 dark:text-gray-300 break-all select-all"
                                                                                },
                                                                                "text": "{{_local.cbtConnCheckResult?.callback?.app_url ?? '-'}}"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "text-gray-500 dark:text-gray-400"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_url_label"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "font-mono text-gray-700 dark:text-gray-300 break-all select-all"
                                                                                },
                                                                                "text": "{{_local.cbtConnCheckResult?.callback?.callback_url ?? '-'}}"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "text-gray-500 dark:text-gray-400"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_https_label"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "if": "{{_local.cbtConnCheckResult?.callback?.app_url_https && _local.cbtConnCheckResult?.callback?.callback_url_https}}",
                                                                                "props": {
                                                                                    "className": "mt-1 text-warning-soft"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_ok"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "if": "{{!(_local.cbtConnCheckResult?.callback?.app_url_https && _local.cbtConnCheckResult?.callback?.callback_url_https)}}",
                                                                                "props": {
                                                                                    "className": "font-semiboldtext-danger-soft"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_check"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "text-gray-500 dark:text-gray-400"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_public_label"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "if": "{{_local.cbtConnCheckResult?.callback?.app_url_public && _local.cbtConnCheckResult?.callback?.callback_url_public}}",
                                                                                "props": {
                                                                                    "className": "mt-1 text-warning-soft"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_ok"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "if": "{{!(_local.cbtConnCheckResult?.callback?.app_url_public && _local.cbtConnCheckResult?.callback?.callback_url_public)}}",
                                                                                "props": {
                                                                                    "className": "font-semiboldtext-danger-soft"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_check"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "props": {
                                                                                    "className": "text-gray-500 dark:text-gray-400"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_host_match_label"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "if": "{{_local.cbtConnCheckResult?.callback?.host_matches_app_url}}",
                                                                                "props": {
                                                                                    "className": "mt-1 text-warning-soft"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_ok"
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Span",
                                                                                "if": "{{!_local.cbtConnCheckResult?.callback?.host_matches_app_url}}",
                                                                                "props": {
                                                                                    "className": "font-semiboldtext-danger-soft"
                                                                                },
                                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_check"
                                                                            }
                                                                        ]
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "P",
                                                                        "props": {
                                                                            "className": "text-[11px] text-gray-500 dark:text-gray-400 leading-relaxed"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_callback_hint"
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "comment": "호스트별 진단 결과 (devcbt / cbt)",
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "props": {
                                                                    "className": "flex flex-col gap-2"
                                                                },
                                                                "iteration": {
                                                                    "source": "{{_local.cbtConnCheckResult?.hosts ?? []}}",
                                                                    "item_var": "host",
                                                                    "index_var": "idx"
                                                                },
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Div",
                                                                        "props": {
                                                                            "className": "p-3 rounded-md bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 text-xs space-y-1.5"
                                                                        },
                                                                        "children": [
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Div",
                                                                                "props": {
                                                                                    "className": "flex items-center justify-between"
                                                                                },
                                                                                "children": [
                                                                                    {
                                                                                        "type": "basic",
                                                                                        "name": "Span",
                                                                                        "props": {
                                                                                            "className": "font-mono font-semibold text-gray-800 dark:text-gray-200"
                                                                                        },
                                                                                        "text": "{{host.name}}"
                                                                                    },
                                                                                    {
                                                                                        "type": "basic",
                                                                                        "name": "Span",
                                                                                        "props": {
                                                                                            "className": "text-[10px] px-2 py-0.5 rounded bg-gray-100 dark:bg-gray-700 text-gray-600 dark:text-gray-300"
                                                                                        },
                                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_env_test"
                                                                                    }
                                                                                ]
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Div",
                                                                                "props": {
                                                                                    "className": "flex items-baseline gap-2"
                                                                                },
                                                                                "children": [
                                                                                    {
                                                                                        "type": "basic",
                                                                                        "name": "Span",
                                                                                        "props": {
                                                                                            "className": "text-gray-500 dark:text-gray-400 min-w-[60px]"
                                                                                        },
                                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_dns_label"
                                                                                    },
                                                                                    {
                                                                                        "type": "basic",
                                                                                        "name": "Span",
                                                                                        "props": {
                                                                                            "className": "font-mono text-gray-700 dark:text-gray-300"
                                                                                        },
                                                                                        "text": "{{host.dns_resolved_ip ?? '-'}}"
                                                                                    }
                                                                                ]
                                                                            },
                                                                            {
                                                                                "type": "basic",
                                                                                "name": "Div",
                                                                                "props": {
                                                                                    "className": "flex items-baseline gap-2"
                                                                                },
                                                                                "children": [
                                                                                    {
                                                                                        "type": "basic",
                                                                                        "name": "Span",
                                                                                        "props": {
                                                                                            "className": "text-gray-500 dark:text-gray-400 min-w-[60px]"
                                                                                        },
                                                                                        "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_tcp_label"
                                                                                    },
                                                                                    {
                                                                                        "type": "basic",
                                                                                        "name": "Span",
                                                                                        "if": "{{host.tcp_443_reachable}}",
                                                                                        "props": {
                                                                                            "className": "px-1.5 py-0.5 rounded bg-green-100 dark:bg-green-900/40 text-success-soft font-medium"
                                                                                        },
                                                                                        "text": "✓ {{host.tcp_443_latency_ms}}ms"
                                                                                    },
                                                                                    {
                                                                                        "type": "basic",
                                                                                        "name": "Span",
                                                                                        "if": "{{!host.tcp_443_reachable}}",
                                                                                        "props": {
                                                                                            "className": "px-1.5 py-0.5 rounded bg-red-100 dark:bg-red-900/40text-danger-soft font-medium"
                                                                                        },
                                                                                        "text": "✗ {{host.tcp_443_error ?? '$t:sirsoft-pay_kginicis.settings.cbt_connectivity_unreachable'}}"
                                                                                    }
                                                                                ]
                                                                            }
                                                                        ]
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "P",
                                                                "props": {
                                                                    "className": "text-[11px] text-amber-700 dark:text-amber-400 italic"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.cbt_connectivity_hint_whitelist"
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "if": "{{_local.cbtConnCheckError}}",
                                                        "props": {
                                                            "className": "mt-3 p-3 rounded-md bg-red-100 dark:bg-red-900/30 border border-red-200 dark:border-red-700 text-danger-soft"
                                                        },
                                                        "text": "{{_local.cbtConnCheckError}}"
                                                    }
                                                ]
                                            },
                                            {
                                                "id": "field_live_japan_mid",
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "section-heading-md"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "lg:col-span-1"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Label",
                                                                "props": {
                                                                    "className": "form-label"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.live_japan_mid"
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "P",
                                                                "props": {
                                                                    "className": "form-hint"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.live_japan_mid_hint"
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "lg:col-span-2"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Input",
                                                                "props": {
                                                                    "type": "text",
                                                                    "name": "live_japan_mid",
                                                                    "placeholder": "",
                                                                    "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent font-mono text-sm"
                                                                }
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "id": "field_live_japan_cbt_key",
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "section-heading-md"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "lg:col-span-1"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Label",
                                                                "props": {
                                                                    "className": "form-label"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.live_japan_cbt_key"
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "P",
                                                                "props": {
                                                                    "className": "form-hint"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.live_japan_cbt_key_hint"
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "lg:col-span-2"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Input",
                                                                "props": {
                                                                    "type": "password",
                                                                    "name": "live_japan_sign_key",
                                                                    "placeholder": "••••••••••••••••",
                                                                    "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent font-mono text-sm"
                                                                }
                                                            }
                                                        ]
                                                    }
                                                ]
                                            },
                                            {
                                                "id": "jppg_merchant_info",
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "rounded-lg border border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-900/30 p-4 space-y-4"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "H4",
                                                                "props": {
                                                                    "className": "text-sm font-semibold text-gray-900 dark:text-gray-100"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.jppg_merchant_info_title"
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "P",
                                                                "props": {
                                                                    "className": "form-hint"
                                                                },
                                                                "text": "$t:sirsoft-pay_kginicis.settings.jppg_merchant_info_hint"
                                                            }
                                                        ]
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Div",
                                                        "props": {
                                                            "className": "grid-2col-responsive"
                                                        },
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_merchant_name"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "text",
                                                                            "name": "japan_merchant_name",
                                                                            "placeholder": "サンプルストア",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_merchant_name_kana"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "text",
                                                                            "name": "japan_merchant_name_kana",
                                                                            "placeholder": "サンプルストア",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_merchant_name_alphabet"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "text",
                                                                            "name": "japan_merchant_name_alphabet",
                                                                            "placeholder": "Sample Store",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_merchant_name_short"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "text",
                                                                            "name": "japan_merchant_name_short",
                                                                            "placeholder": "サンプル",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_contact_name"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "text",
                                                                            "name": "japan_contact_name",
                                                                            "placeholder": "サポート窓口",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_contact_email"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "email",
                                                                            "name": "japan_contact_email",
                                                                            "placeholder": "support@example.com",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_contact_phone"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "text",
                                                                            "name": "japan_contact_phone",
                                                                            "placeholder": "0120-123-456",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Div",
                                                                "children": [
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Label",
                                                                        "props": {
                                                                            "className": "block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1"
                                                                        },
                                                                        "text": "$t:sirsoft-pay_kginicis.settings.japan_contact_opening_hours"
                                                                    },
                                                                    {
                                                                        "type": "basic",
                                                                        "name": "Input",
                                                                        "props": {
                                                                            "type": "text",
                                                                            "name": "japan_contact_opening_hours",
                                                                            "placeholder": "10:00-18:00",
                                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                                        }
                                                                    }
                                                                ]
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "escrow_section",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex-start justify-between px-6 py-4"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "H3",
                                        "props": {
                                            "className": "text-error-strong"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_escrow"
                                    },
                                    {
                                        "type": "basic",
                                        "name": "P",
                                        "props": {
                                            "className": "form-hint"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_escrow_hint"
                                    }
                                ]
                            },
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "p-6"
                                },
                                "children": [
                                    {
                                        "id": "field_use_escrow",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "flex items-center justify-between"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.use_escrow"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.use_escrow_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "composite",
                                                "name": "Toggle",
                                                "props": {
                                                    "name": "use_escrow"
                                                }
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "redirect_section",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "flex-start justify-between px-6 py-4"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "H3",
                                        "props": {
                                            "className": "text-error-strong"
                                        },
                                        "text": "$t:sirsoft-pay_kginicis.settings.section_redirect"
                                    }
                                ]
                            },
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "p-6 space-y-6"
                                },
                                "children": [
                                    {
                                        "id": "field_redirect_success_url",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "section-heading-md"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-1"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.redirect_success_url"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.redirect_success_url_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Input",
                                                        "props": {
                                                            "type": "text",
                                                            "name": "redirect_success_url",
                                                            "placeholder": "/shop/orders/{orderId}/complete",
                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                        }
                                                    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "id": "field_redirect_fail_url",
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "section-heading-md"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-1"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Label",
                                                        "props": {
                                                            "className": "form-label"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.redirect_fail_url"
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "P",
                                                        "props": {
                                                            "className": "form-hint"
                                                        },
                                                        "text": "$t:sirsoft-pay_kginicis.settings.redirect_fail_url_hint"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "lg:col-span-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Input",
                                                        "props": {
                                                            "type": "text",
                                                            "name": "redirect_fail_url",
                                                            "placeholder": "/shop/checkout",
                                                            "className": "text-primary w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400 focus:border-transparent text-sm"
                                                        }
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "vbank_notify_section",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-blue-200 dark:border-blue-800"
                        },
                        "children": [
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "px-6 py-4 border-b border-blue-200 dark:border-blue-800 bg-blue-50 dark:bg-blue-900/20 rounded-t-lg"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "props": {
                                            "className": "flex-center gap-2"
                                        },
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "Icon",
                                                "props": {
                                                    "name": "bell",
                                                    "className": "w-4 h-4 text-blue-600 dark:text-blue-400"
                                                }
                                            },
                                            {
                                                "type": "basic",
                                                "name": "H3",
                                                "props": {
                                                    "className": "text-base font-semibold text-blue-900 dark:text-blue-100"
                                                },
                                                "text": "$t:sirsoft-pay_kginicis.settings.section_vbank_notify"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "basic",
                                "name": "Div",
                                "props": {
                                    "className": "p-6 space-y-4"
                                },
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Div",
                                        "children": [
                                            {
                                                "type": "basic",
                                                "name": "P",
                                                "props": {
                                                    "className": "text-label mb-2"
                                                },
                                                "text": "$t:sirsoft-pay_kginicis.settings.vbank_notify_hint"
                                            },
                                            {
                                                "type": "basic",
                                                "name": "Div",
                                                "props": {
                                                    "className": "flex-center gap-2"
                                                },
                                                "children": [
                                                    {
                                                        "type": "basic",
                                                        "name": "Input",
                                                        "props": {
                                                            "type": "text",
                                                            "readOnly": true,
                                                            "value": "{{_local.vbankInfo?.url ?? '/plugins/sirsoft-pay_kginicis/payment/vbank-notify'}}",
                                                            "className": "input-readonly flex-1 font-mono"
                                                        }
                                                    },
                                                    {
                                                        "type": "basic",
                                                        "name": "Button",
                                                        "props": {
                                                            "className": "flex-center gap-1.5 px-3 py-2 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 text-body border border-gray-300 dark:border-gray-600 rounded-lg font-medium transition-colors whitespace-nowrap"
                                                        },
                                                        "actions": [
                                                            {
                                                                "type": "click",
                                                                "handler": "sequence",
                                                                "actions": [
                                                                    {
                                                                        "handler": "copyToClipboard",
                                                                        "params": {
                                                                            "text": "{{_local.vbankInfo?.url ?? '/plugins/sirsoft-pay_kginicis/payment/vbank-notify'}}"
                                                                        }
                                                                    },
                                                                    {
                                                                        "handler": "toast",
                                                                        "params": {
                                                                            "type": "success",
                                                                            "message": "$t:sirsoft-pay_kginicis.settings.vbank_notify_copied"
                                                                        }
                                                                    }
                                                                ]
                                                            }
                                                        ],
                                                        "children": [
                                                            {
                                                                "type": "basic",
                                                                "name": "Icon",
                                                                "props": {
                                                                    "name": "copy",
                                                                    "className": "w-4 h-4"
                                                                }
                                                            },
                                                            {
                                                                "type": "basic",
                                                                "name": "Span",
                                                                "text": "$t:sirsoft-pay_kginicis.settings.copy"
                                                            }
                                                        ]
                                                    }
                                                ]
                                            }
                                        ]
                                    },
                                    {
                                        "_comment_removed": "KG 이니시스 PC 에스크로 매뉴얼에는 '에스크로 상태변경 통보 URL' webhook 채널이 존재하지 않음 (samples/escrow_pc 검증). 가맹점이 outbound API (배송등록/구매결정/구매거절확인) 만 호출. 잘못 추가된 UI 제거.",
                                        "type": "basic",
                                        "name": "Div",
                                        "if": "{{false}}"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "id": "footer_buttons",
                        "type": "basic",
                        "name": "Div",
                        "props": {
                            "className": "sticky bottom-0 z-10 flex justify-end items-center gap-3 mt-6 px-4 py-3 bg-gray-50 border border-gray-200 rounded-lg dark:bg-gray-800 dark:border-gray-700"
                        },
                        "children": [
                            {
                                "id": "cancel_button",
                                "type": "basic",
                                "name": "Button",
                                "props": {
                                    "className": "btn btn-secondary"
                                },
                                "actions": [
                                    {
                                        "type": "click",
                                        "handler": "navigate",
                                        "params": {
                                            "path": "/admin/plugins"
                                        }
                                    }
                                ],
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Span",
                                        "text": "$t:common.cancel"
                                    }
                                ]
                            },
                            {
                                "id": "save_button",
                                "type": "basic",
                                "name": "Button",
                                "props": {
                                    "disabled": "{{!_local.hasChanges || _local.isSaving}}",
                                    "className": "btn btn-primary flex-center gap-1.5"
                                },
                                "actions": [
                                    {
                                        "type": "click",
                                        "handler": "sequence",
                                        "actions": [
                                            {
                                                "handler": "setState",
                                                "params": {
                                                    "target": "local",
                                                    "isSaving": true,
                                                    "errors": null
                                                }
                                            },
                                            {
                                                "handler": "apiCall",
                                                "auth_required": true,
                                                "target": "/api/admin/plugins/{{route.identifier}}/settings",
                                                "params": {
                                                    "method": "PUT",
                                                    "body": "{{_local.form}}"
                                                },
                                                "onSuccess": [
                                                    {
                                                        "handler": "setState",
                                                        "params": {
                                                            "target": "local",
                                                            "isSaving": false,
                                                            "hasChanges": false
                                                        }
                                                    },
                                                    {
                                                        "handler": "toast",
                                                        "params": {
                                                            "type": "success",
                                                            "message": "$t:admin.plugins.settings.save_success"
                                                        }
                                                    },
                                                    {
                                                        "handler": "refetchDataSource",
                                                        "params": {
                                                            "dataSourceId": "settings"
                                                        }
                                                    }
                                                ],
                                                "onError": [
                                                    {
                                                        "handler": "setState",
                                                        "params": {
                                                            "target": "local",
                                                            "isSaving": false,
                                                            "errors": "{{error.errors ?? { _general: error.message }}}"
                                                        }
                                                    },
                                                    {
                                                        "handler": "scrollIntoView",
                                                        "params": {
                                                            "selector": "#kginicis_settings_validation_error",
                                                            "behavior": "smooth",
                                                            "block": "start",
                                                            "waitForElement": true,
                                                            "timeout": 2000
                                                        }
                                                    },
                                                    {
                                                        "handler": "toast",
                                                        "params": {
                                                            "type": "error",
                                                            "message": "$t:admin.plugins.settings.save_error"
                                                        }
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ],
                                "children": [
                                    {
                                        "type": "basic",
                                        "name": "Icon",
                                        "if": "{{_local.isSaving}}",
                                        "props": {
                                            "name": "spinner",
                                            "className": "spinner-sm"
                                        }
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Span",
                                        "if": "{{!_local.isSaving}}",
                                        "text": "$t:common.save"
                                    },
                                    {
                                        "type": "basic",
                                        "name": "Span",
                                        "if": "{{_local.isSaving}}",
                                        "text": "$t:common.saving"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    }
}
