"use strict";
// The require scope
var __webpack_require__ = {};
/************************************************************************/ // webpack/runtime/compat_get_default_export
(()=>{
    // getDefaultExport function for compatibility with non-ESM modules
    __webpack_require__.n = function(module) {
        var getter = module && module.__esModule ? function() {
            return module['default'];
        } : function() {
            return module;
        };
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
// webpack/runtime/define_property_getters
(()=>{
    __webpack_require__.d = function(exports1, definition) {
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
// webpack/runtime/has_own_property
(()=>{
    __webpack_require__.o = function(obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop);
    };
})();
// webpack/runtime/make_namespace_object
(()=>{
    // define __esModule on exports
    __webpack_require__.r = function(exports1) {
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
/************************************************************************/ var __webpack_exports__ = {};
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
    JsonLight: ()=>/* binding */ JsonLight,
    ProtobufLight: ()=>/* binding */ ProtobufLight,
    PythonLight: ()=>/* binding */ PythonLight,
    default: ()=>/* binding */ CodeBlock_stories_rslib_entry_,
    TypescriptLight: ()=>/* binding */ TypescriptLight,
    BashLight: ()=>/* binding */ BashLight,
    MultiLineWithHighlight: ()=>/* binding */ MultiLineWithHighlight,
    JavaLight: ()=>/* binding */ JavaLight,
    MultiLine: ()=>/* binding */ MultiLine,
    Protobuf: ()=>/* binding */ Protobuf,
    Typescript: ()=>/* binding */ Typescript,
    Go: ()=>/* binding */ Go,
    GoLight: ()=>/* binding */ GoLight,
    Java: ()=>/* binding */ Java,
    Bash: ()=>/* binding */ Bash,
    Json: ()=>/* binding */ Json,
    Python: ()=>/* binding */ Python,
    JavascriptLight: ()=>/* binding */ JavascriptLight,
    Scroll: ()=>/* binding */ Scroll,
    MultiLineWithHighlightLight: ()=>/* binding */ MultiLineWithHighlightLight,
    Javascript: ()=>/* binding */ Javascript,
    Default: ()=>/* binding */ Default
});
const external_CodeBlock_js_namespaceObject = require("./CodeBlock.js");
var external_CodeBlock_js_default = /*#__PURE__*/ __webpack_require__.n(external_CodeBlock_js_namespaceObject);
const codeSnippets_js_namespaceObject = require("../../mocks/codeSnippets.js");
const meta = {
    title: 'Components/CodeBlock',
    component: external_CodeBlock_js_default(),
    argTypes: {
        codeString: {
            type: 'string'
        },
        showCopyButton: {
            type: 'boolean'
        },
        showLineNumbers: {
            type: 'boolean'
        }
    },
    parameters: {
        design: {
            type: 'figma',
            url: 'https://www.figma.com/file/bJcVrZNilxa06jYuVCGWYd/Redpanda-Design-System-2023?type=design&node-id=42-3082&mode=design'
        }
    }
};
/* ESM default export */ const CodeBlock_stories_rslib_entry_ = meta;
const Default = {
    args: {
        codeString: "[1, 2, 3, 4].filter((i) => i === 3);",
        language: 'typescript'
    }
};
const MultiLine = {
    args: {
        codeString: codeSnippets_js_namespaceObject.tsxCode,
        language: 'typescript',
        showLineNumbers: true
    }
};
const Scroll = {
    args: {
        codeString: codeSnippets_js_namespaceObject.tsxCode,
        language: 'typescript',
        showLineNumbers: true,
        showScroll: true
    }
};
const MultiLineWithHighlight = {
    args: {
        highlightLines: [
            4,
            6
        ],
        codeString: codeSnippets_js_namespaceObject.tsxCode,
        language: 'typescript',
        showLineNumbers: true
    }
};
const MultiLineWithHighlightLight = {
    args: {
        highlightLines: [
            4,
            6
        ],
        codeString: codeSnippets_js_namespaceObject.tsxCode,
        language: 'typescript',
        showLineNumbers: true,
        theme: 'light'
    }
};
const Bash = {
    args: {
        codeString: codeSnippets_js_namespaceObject.bashCode,
        language: 'bash',
        showLineNumbers: true,
        showCopyButton: true
    }
};
const BashLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.bashCode,
        language: 'bash',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const Go = {
    args: {
        codeString: codeSnippets_js_namespaceObject.goCode,
        language: 'go',
        showLineNumbers: true,
        showCopyButton: true
    }
};
const GoLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.goCode,
        language: 'go',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const Python = {
    args: {
        codeString: codeSnippets_js_namespaceObject.pythonCode,
        language: 'python',
        showLineNumbers: true,
        showCopyButton: true
    }
};
const PythonLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.pythonCode,
        language: 'python',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const Java = {
    args: {
        codeString: codeSnippets_js_namespaceObject.javaCode,
        language: 'java',
        showLineNumbers: true,
        showCopyButton: true
    }
};
const JavaLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.javaCode,
        language: 'java',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const Javascript = {
    args: {
        codeString: codeSnippets_js_namespaceObject.javascriptCode,
        language: 'javascript',
        showLineNumbers: true,
        showCopyButton: true
    }
};
const JavascriptLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.javascriptCode,
        language: 'javascript',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const Typescript = {
    args: {
        codeString: codeSnippets_js_namespaceObject.typescriptCode,
        language: 'typescript',
        showLineNumbers: true,
        showCopyButton: true
    }
};
const TypescriptLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.typescriptCode,
        language: 'typescript',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const ProtobufLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.protobufCode,
        language: 'protobuf',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const Protobuf = {
    args: {
        codeString: codeSnippets_js_namespaceObject.protobufCode,
        language: 'protobuf',
        showLineNumbers: true,
        showCopyButton: true
    }
};
const JsonLight = {
    args: {
        codeString: codeSnippets_js_namespaceObject.jsonCode,
        language: 'json',
        showLineNumbers: true,
        showCopyButton: true,
        theme: 'light'
    }
};
const Json = {
    args: {
        codeString: codeSnippets_js_namespaceObject.jsonCode,
        language: 'json',
        showLineNumbers: true,
        showCopyButton: true
    }
};
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
