Read ModeLaw Library document viewerCarter v MassaquoiSupreme Court of LiberiaPreparing source documentDetecting the document format and preparing the appropriate viewer…