hunk.code_window:   const { extension, hasExtension, validExtension } = checkUrlExtension(url);
     if (hasExtension) {
       if (validExtension) {
         if (!(extension === "txt" || extension === "pdf")) {
           viewer = "office";
           renderer = Renderers.DOCUMENT_VIEWER;
         }
       } else {
         errorMessage = "Current file type is not supported";
         renderer = Renderers.ERROR;
  
hunk.labels: keep keep keep replace replace replace keep keep keep keep
hunk.after_edit:       renderer = Renderers.DOCUMENT_VIEWER;
         switch (extension) {
           case "pdf": {
             viewer = "pdf";
             break;
           }
           case "txt": {
             viewer = "url";
             break;
           }
           default: {
             viewer = "office";
             break;
           }
  
hunk.file_path: app/client/src/widgets/DocumentViewerWidget/component/index.tsx
hunk.type: replace
file: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="24" height="24" fill="#262626"/><rect width="4" height="4" x="10" y="4" fill="#EAEAEA"/><rect width="4" height="4" x="10" y="10" fill="#EAEAEA"/><rect width="4" height="4" x="10" y="16" fill="#EAEAEA"/></svg>