Implement the functionality of converting an integer and a fractional component into a Roman numeral representation according to the specified guidelines. Your implementation should be concise, adhering to the constraints of Roman numeral formatting.
integer_component (int): An integer value representing the whole number part of the Roman numeral. It must be within the range of 0 to 5000, inclusive.
fractional_component (int, optional): An integer value representing the fractional part of the Roman numeral. It must be within the range of 0 to 11, inclusive. The default value is 0.
Output Requirements
The function should return:
A string representing the Roman numeral equivalent of the given integer and fractional components.
If both integer_component and fractional_component are 0, return "N".
If integer_component is out of the specified range or fractional_component is out of its range, return "NaR".
Implementation Guidelines
Utilize arrays for Roman numeral representations of different magnitude (thousands, hundreds, tens, and units).
Incorporate specific fractional representations as detailed in the implementation.
Ensure proper concatenation of both integer and fractional components for the final Roman numeral output.
File Requirement
The solution must be implemented in a file named /app/solution.py.