hunk.code_window:   agHelper = ObjectsRegistry.AggregateHelper;
   const containerShadowElement = `${widgetsPage.containerWidget} [data-testid^="container-wrapper-"]`;
   describe("App Theming funtionality", function () {
     before(() => {
       cy.addDsl(dsl);
     });
     let themesSection = (sectionName, themeName) =>
       "//*[text()='" +
       sectionName +
       "']/following-sibling::div//*[text()='" +
  
hunk.labels: keep keep keep keep keep replace replace replace replace keep keep keep keep
hunk.file_path: app/client/cypress/integration/Regression_TestSuite/ClientSideTests/ThemingTests/Basic_spec.js
hunk.type: replace
file: import { ResponsiveBehavior } from "utils/autoLayout/constants";
  import IconSVG from "./icon.svg";
  import Widget from "./widget";
  import { isAirgapped } from "@appsmith/utils/airgapHelpers";
  
  const isAirgappedInstance = isAirgapped();
  
  export const CONFIG = {
    type: Widget.getWidgetType(),
    name: "Document Viewer", // The display name which will be made in uppercase and show in the widgets panel ( can have spaces )
    iconSVG: IconSVG,
    needsMeta: false, // Defines if this widget adds any meta properties
    isCanvas: false, // Defines if this widget has a canvas within in which we can drop other widgets
    searchTags: ["pdf"],
    defaults: {
      widgetName: "DocumentViewer",
      docUrl: !isAirgappedInstance
        ? "https://www.learningcontainer.com/wp-content/uploads/2019/09/sample-pdf-file.pdf"
        : "",
      rows: 40,
      columns: 24,
      version: 1,
      animateLoading: true,
      responsiveBehavior: ResponsiveBehavior.Fill,
    },
    properties: {
      derived: Widget.getDerivedPropertiesMap(),
      default: Widget.getDefaultPropertiesMap(),
      meta: Widget.getMetaPropertiesMap(),
      config: Widget.getPropertyPaneConfig(),
      contentConfig: Widget.getPropertyPaneContentConfig(),
      autocompleteDefinitions: Widget.getAutocompleteDefinitions(),
    },
    autoLayout: {
      widgetSize: [
        {
          viewportMinWidth: 0,
          configuration: () => {
            return {
              minWidth: "280px",
              minHeight: "280px",
            };
          },
        },
      ],
    },
  };
  
  export default Widget;
  