Read ModeLaw Library document viewerJohn et al v Kaidii et alPreserved legal sourcePreparing source documentDetecting the document format and preparing the appropriate viewer…