hunk.code_window: if (isBrowser) {
     log("Embed SDK loaded", { isEmbed: window?.isEmbed?.() || false });
     // Exposes certain global variables/fns that are used by the app to get interface with the embed.
     embedInit();
     const url = new URL(document.URL);
     embedStore.theme = (window?.getEmbedTheme?.() || "auto") as UiConfig["theme"];
     if (url.searchParams.get("prerender") !== "true" && window?.isEmbed?.()) {
       log("Initializing embed-iframe");
       // HACK
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:   embedStore.theme = window?.getEmbedTheme?.() as UiConfig["theme"];
  
hunk.file_path: packages/embeds/embed-core/src/embed-iframe.ts
hunk.type: replace
file: import type { Rule } from "eslint";
  
  const rule: Rule.RuleModule = {
    meta: {
      docs: {
        description: "This rule is run on typescript!",
      },
    },
    create: (context) => {
      return {
        VariableDeclarator: (node) => {
          if (node.id.type === "Identifier" && node.id.name !== "bla") {
            context.report({
              node,
              message: 'All variabled should be named "bla"!',
            });
          }
        },
      };
    },
  };
  
  export default rule;
  