hunk.code_window:     @Autowired
       private PluginRepository pluginRepository;
       @MockBean
       private PluginExecutorHelper pluginExecutorHelper;
       private Plugin installedPlugin;
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:     @Autowired
       private EncryptionService encryptionService;
  
hunk.file_path: app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ExamplesOrganizationClonerTests.java
hunk.type: add
file: import generate from "nanoid/generate";
  
  const ALPHANUMERIC = "1234567890abcdefghijklmnopqrstuvwxyz";
  // const ALPHABET = "abcdefghijklmnopqrstuvwxyz";
  
  export const generateReactKey = ({
    prefix = "",
  }: { prefix?: string } = {}): string => {
    return prefix + generate(ALPHANUMERIC, 10);
  };
  
  // Before you change how this works
  // This className is used for the following:
  // 1. Resize bounds
  // 2. Property pane reference for positioning
  export const generateClassName = (seed?: string) => {
    return `appsmith_widget_${seed}`;
  };
  
  export const getCanvasClassName = () => "canvas";
  
  export const getNearestParentCanvas = (el: Element | null) => {
    const canvasQuerySelector = `.${getCanvasClassName()}`;
    if (el) return el.closest(canvasQuerySelector);
    return null;
  };
  
  export default {
    generateReactKey,
    generateClassName,
  };
  