text: import { StorybookUtilities } from "@lrnwebcomponents/storybook-utilities/storybook-utilities.js";
  import { AframePlayer } from "./aframe-player.js";
  
  window.StorybookUtilities.requestAvailability();
  
  /**
   * add to the pattern library
   */
  const AframePattern = {
    of: "Pattern Library/Molecules/Media",
    name: "3D",
    file: require("raw-loader!./demo/index.html"),
    replacements: [
      {
        find: "./animatedbox.gltf",
        replace: require("file-loader!./demo/animatedbox.gltf")
      }
    ]
  };
  window.StorybookUtilities.instance.addPattern(AframePattern);
  
  /**
   * add the live demo
   */
  const props = AframePlayer.properties;
  props.source.value = require("file-loader!./demo/animatedbox.gltf");
  const AframeStory = {
    of: "Web Components",
    name: "aframe-player",
    props: props,
    slots: {},
    attr: ``,
    slotted: ``
  };
  window.StorybookUtilities.instance.addLiveDemo(AframeStory);
  