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