Read ModeLaw Library document viewerHolder v TeohPreserved legal sourcePreparing source documentDetecting the document format and preparing the appropriate viewer…