/*!
 * Built by ShiftSoftware
 * Copyright (c)
 */
import{h as i}from"./index.js";import{c as e}from"./p-BK16Cn81.js";const n=(n,o)=>n.coreOnly?i("div",{class:e({loading:n.isLoading})},o):i("div",{dir:n.direction,part:"vehicle-info-container",class:e("vehicle-info-container",{loading:n.isLoading})},i("div",{part:"vehicle-info-header",class:"vehicle-info-header"},i("strong",{part:"vehicle-info-header-vin",class:"vehicle-info-header-vin load-animation"},n.isError?i("span",{dir:n.direction,style:{color:"red"}},n.errorMessage):n.header),n.headerRight&&i("div",{class:"vehicle-info-header-action"},n.headerRight)),i("div",{part:"vehicle-info-body",class:"vehicle-info-body"},i("div",{part:"vehicle-info-content",class:"vehicle-info-content"},o)));async function o(i,...e){var n;if(i){if("string"!=typeof i)return await i(...e);if(null==this?void 0:this.blazorRef)return await(null===(n=this.blazorRef)||void 0===n?void 0:n.invokeMethodAsync(i,...e))}}export{n as V,o as s}