{"ast":null,"code":"function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nimport React from 'react';\nimport { useLocation } from '@reach/router';\nimport { Badge, CodeBlock, CodeBlockCode, debounce, Switch } from '@patternfly/react-core';\nimport * as reactCoreModule from '@patternfly/react-core';\nimport * as reactTableModule from '@patternfly/react-table';\nimport { css } from '@patternfly/react-styles';\nimport { getParameters } from 'codesandbox/lib/api/define';\nimport { ExampleToolbar } from './exampleToolbar';\nimport { AutoLinkHeader } from '../autoLinkHeader/autoLinkHeader';\nimport { slugger, getStaticParams, getReactParams, getExampleClassName, getExampleId, liveCodeTypes } from '../../helpers';\nimport { convertToReactComponent } from '@patternfly/ast-helpers';\nimport missingThumbnail from './missing-thumbnail.jpg';\n\nvar errorComponent = function errorComponent(err) {\n  return React.createElement(\"pre\", null, err.toString());\n};\n\nvar ErrorBoundary = /*#__PURE__*/function (_React$Component) {\n  _inheritsLoose(ErrorBoundary, _React$Component);\n\n  function ErrorBoundary(props) {\n    var _this;\n\n    _this = _React$Component.call(this, props) || this;\n    _this.state = {\n      error: null,\n      errorInfo: null\n    };\n    return _this;\n  }\n\n  var _proto = ErrorBoundary.prototype;\n\n  _proto.componentDidCatch = function componentDidCatch(error, errorInfo) {\n    errorInfo._suppressLogging = true;\n    this.setState({\n      error: error,\n      errorInfo: errorInfo\n    });\n  };\n\n  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n    if (prevProps.children !== this.props.children) {\n      this.setState({\n        error: null,\n        errorInfo: null\n      });\n    }\n  };\n\n  _proto.render = function render() {\n    if (this.state.errorInfo) {\n      return errorComponent(this.state.error);\n    }\n\n    return this.props.children;\n  };\n\n  return ErrorBoundary;\n}(React.Component); // Props come from mdx-ast-to-mdx-hast.js\n\n\nexport var Example = function Example(_ref) {\n  var code = _ref.code,\n      _ref$lang = _ref.lang,\n      lang = _ref$lang === void 0 ? '' : _ref$lang,\n      source = _ref.source,\n      _ref$noLive = _ref.noLive,\n      noLive = _ref$noLive === void 0 ? !liveCodeTypes.includes(lang) : _ref$noLive,\n      _ref$title = _ref.title,\n      title = _ref$title === void 0 ? 'Untitled' : _ref$title,\n      isFullscreen = _ref.isFullscreen,\n      isFullscreenPreview = _ref.isFullscreenPreview,\n      _ref$thumbnail = _ref.thumbnail,\n      thumbnail = _ref$thumbnail === void 0 ? missingThumbnail : _ref$thumbnail,\n      isBeta = _ref.isBeta,\n      id = _ref.id,\n      section = _ref.section,\n      liveContext = _ref.liveContext,\n      children = _ref.children,\n      _ref$hasDarkThemeSwit = _ref.hasDarkThemeSwitcher,\n      hasDarkThemeSwitcher = _ref$hasDarkThemeSwit === void 0 ? process.env.hasDarkThemeSwitcher : _ref$hasDarkThemeSwit;\n\n  if (isFullscreenPreview) {\n    isFullscreen = false;\n  }\n\n  if (!lang) {\n    // Inline code\n    return React.createElement(\"code\", {\n      className: \"ws-code\"\n    }, code);\n  } else if (noLive) {\n    // Code block\n    return React.createElement(CodeBlock, null, React.createElement(CodeBlockCode, null, code));\n  }\n\n  var _React$useState = React.useState(code),\n      editorCode = _React$useState[0],\n      setEditorCode = _React$useState[1];\n\n  var loc = useLocation();\n  var scope = Object.assign({}, liveContext, reactCoreModule, reactTableModule);\n  var livePreview = null;\n\n  if (lang === 'html') {\n    livePreview = React.createElement(\"div\", {\n      className: css('ws-preview-html', isFullscreenPreview && 'pf-u-h-100'),\n      dangerouslySetInnerHTML: {\n        __html: editorCode\n      }\n    });\n  } else {\n    try {\n      var _convertToReactCompon = convertToReactComponent(editorCode),\n          transformedCode = _convertToReactCompon.code,\n          hasTS = _convertToReactCompon.hasTS;\n\n      if (hasTS) {\n        lang = 'ts';\n      } else {\n        lang = 'js';\n      }\n\n      var getPreviewComponent = _construct(Function, ['React'].concat(Object.keys(scope), [transformedCode]));\n\n      var PreviewComponent = getPreviewComponent.apply(void 0, [React].concat(Object.values(scope)));\n      livePreview = React.createElement(ErrorBoundary, null, React.createElement(PreviewComponent, null));\n    } catch (err) {\n      livePreview = errorComponent(err);\n    }\n  }\n\n  var previewId = getExampleId(source, section[0], id, title);\n  var className = getExampleClassName(source, section[0], id);\n\n  if (isFullscreenPreview) {\n    return React.createElement(\"div\", {\n      id: previewId,\n      className: css(className, 'pf-u-h-100')\n    }, livePreview, hasDarkThemeSwitcher && React.createElement(\"div\", {\n      className: \"ws-theme-switch-full-page\"\n    }, React.createElement(Switch, {\n      id: \"ws-theme-switch\",\n      label: \"Dark theme\",\n      defaultChecked: false,\n      onChange: function onChange() {\n        return document.querySelector('html').classList.toggle('pf-theme-dark');\n      }\n    })));\n  }\n\n  var codeBoxParams = getParameters(lang === 'html' ? getStaticParams(title, editorCode) : getReactParams(title, editorCode, scope, lang));\n  var fullscreenLink = loc.pathname.replace(/\\/$/, '') + (loc.pathname.endsWith(source) ? '' : \"/\" + source) + '/' + slugger(title);\n  return React.createElement(\"div\", {\n    className: \"ws-example\"\n  }, React.createElement(\"div\", {\n    className: \"ws-example-header\"\n  }, React.createElement(AutoLinkHeader, {\n    metaText: isBeta && React.createElement(Badge, {\n      className: \"ws-beta-badge pf-u-ml-xs\"\n    }, \"Beta\"),\n    size: \"h4\",\n    headingLevel: \"h3\",\n    className: \"ws-example-heading\"\n  }, title), children), isFullscreen ? React.createElement(\"div\", {\n    className: \"ws-preview\"\n  }, React.createElement(\"a\", {\n    className: \"ws-preview__thumbnail-link\",\n    href: fullscreenLink,\n    target: \"_blank\",\n    \"aria-label\": \"Open fullscreen \" + title + \" example\"\n  }, React.createElement(\"img\", {\n    src: thumbnail.src,\n    width: thumbnail.width,\n    height: thumbnail.height,\n    alt: title + \" screenshot\"\n  }))) : React.createElement(\"div\", {\n    id: previewId,\n    className: css(className, isFullscreen ? 'ws-preview-fullscreen' : 'ws-preview')\n  }, livePreview), React.createElement(ExampleToolbar, {\n    lang: lang,\n    isFullscreen: isFullscreen,\n    fullscreenLink: fullscreenLink,\n    originalCode: code,\n    code: editorCode,\n    setCode: debounce(setEditorCode, 300),\n    codeBoxParams: codeBoxParams,\n    exampleTitle: title\n  }));\n};","map":{"version":3,"names":["React","useLocation","Badge","CodeBlock","CodeBlockCode","debounce","Switch","reactCoreModule","reactTableModule","css","getParameters","ExampleToolbar","AutoLinkHeader","slugger","getStaticParams","getReactParams","getExampleClassName","getExampleId","liveCodeTypes","convertToReactComponent","missingThumbnail","errorComponent","err","toString","ErrorBoundary","props","state","error","errorInfo","componentDidCatch","_suppressLogging","setState","componentDidUpdate","prevProps","children","render","Component","Example","code","lang","source","noLive","includes","title","isFullscreen","isFullscreenPreview","thumbnail","isBeta","id","section","liveContext","hasDarkThemeSwitcher","process","env","useState","editorCode","setEditorCode","loc","scope","livePreview","__html","transformedCode","hasTS","getPreviewComponent","Function","Object","keys","PreviewComponent","values","previewId","className","document","querySelector","classList","toggle","codeBoxParams","fullscreenLink","pathname","replace","endsWith","src","width","height"],"sources":["/Users/ausulliv/repos/temp/patternfly-react/node_modules/@patternfly/documentation-framework/components/example/example.js"],"sourcesContent":["import React from 'react';\nimport { useLocation } from '@reach/router';\nimport { Badge, CodeBlock, CodeBlockCode, debounce, Switch } from '@patternfly/react-core';\nimport * as reactCoreModule from '@patternfly/react-core';\nimport * as reactTableModule from '@patternfly/react-table';\nimport { css } from '@patternfly/react-styles';\nimport { getParameters } from 'codesandbox/lib/api/define';\nimport { ExampleToolbar } from './exampleToolbar';\nimport { AutoLinkHeader } from '../autoLinkHeader/autoLinkHeader';\nimport {\n  slugger,\n  getStaticParams,\n  getReactParams,\n  getExampleClassName,\n  getExampleId,\n  liveCodeTypes\n} from '../../helpers';\nimport { convertToReactComponent } from '@patternfly/ast-helpers';\nimport missingThumbnail from './missing-thumbnail.jpg';\n\nconst errorComponent = err => <pre>{err.toString()}</pre>;\n\nclass ErrorBoundary extends React.Component {\n  constructor(props) {\n    super(props);\n    this.state = { error: null, errorInfo: null };\n  }\n  \n  componentDidCatch(error, errorInfo) {\n    errorInfo._suppressLogging = true;\n    this.setState({\n      error: error,\n      errorInfo: errorInfo\n    });\n  }\n\n  componentDidUpdate(prevProps) {\n    if (prevProps.children !== this.props.children) {\n      this.setState({ error: null, errorInfo: null });\n    }\n  }\n  \n  render() {\n    if (this.state.errorInfo) {\n      return errorComponent(this.state.error);\n    }\n    return this.props.children;\n  }  \n}\n\n// Props come from mdx-ast-to-mdx-hast.js\nexport const Example = ({\n  // The ts/js/html code for the example\n  code,\n  // The language of the code\n  lang = '',\n  // Second parameter to sourceMD for file containing this code\n  // Should match tab name\n  source,\n  // Whether to disable the live code editor\n  noLive = !liveCodeTypes.includes(lang),\n  // Nearest parent h3\n  title = 'Untitled',\n  // Whether the example is fullscreen only and we should show a thumbnail\n  isFullscreen,\n  // Whether the example is open on the fullscreen page\n  isFullscreenPreview,\n  // The image src thumbnail for the example\n  thumbnail = missingThumbnail,\n  // Whether the example shows demo capability\n  isBeta,\n  // Slugified source + title\n  id,\n  // Section in frontmatter of MD file (components, demos, etc)\n  section,\n  // Extra constants for example (images, extra JS files, etc)\n  liveContext,\n  // Content that appears between h3 and code block to explain example\n  children,\n  // Show dark theme switcher on full page examples\n  hasDarkThemeSwitcher = process.env.hasDarkThemeSwitcher\n}) => {\n  if (isFullscreenPreview) {\n    isFullscreen = false;\n  }\n  if (!lang) {\n    // Inline code\n    return <code className=\"ws-code\">{code}</code>;\n  } else if (noLive) {\n    // Code block\n    return (\n      <CodeBlock>\n        <CodeBlockCode>{code}</CodeBlockCode>\n      </CodeBlock>\n    );\n  }\n\n  const [editorCode, setEditorCode] = React.useState(code);\n  const loc = useLocation();\n\n  const scope = {\n    ...liveContext,\n    // These 2 are in the bundle anyways for the site since we dogfood\n    ...reactCoreModule,\n    ...reactTableModule,\n  };\n  let livePreview = null;\n  if (lang === 'html') {\n    livePreview = (\n      <div\n        className={css('ws-preview-html', isFullscreenPreview && 'pf-u-h-100')}\n        dangerouslySetInnerHTML={{ __html: editorCode }}\n      />\n    );\n  } else {\n    try {\n      const { code: transformedCode, hasTS } = convertToReactComponent(editorCode);\n      if (hasTS) {\n        lang = 'ts';\n      } else {\n        lang = 'js';\n      }\n      const getPreviewComponent = new Function('React', ...Object.keys(scope), transformedCode);\n      const PreviewComponent = getPreviewComponent(React, ...Object.values(scope));\n      livePreview = (\n        <ErrorBoundary>\n          <PreviewComponent />\n        </ErrorBoundary>\n      );\n    } catch (err) {\n      livePreview = errorComponent(err);\n    }\n  }\n  const previewId = getExampleId(source, section[0], id, title);\n  const className = getExampleClassName(source, section[0], id);\n\n  if (isFullscreenPreview) {\n    return (\n      <div id={previewId} className={css(className, 'pf-u-h-100')}>\n        {livePreview}\n        {hasDarkThemeSwitcher && (\n          <div className=\"ws-theme-switch-full-page\">\n            <Switch id=\"ws-theme-switch\" label=\"Dark theme\" defaultChecked={false} onChange={() =>\n            document.querySelector('html').classList.toggle('pf-theme-dark')} />\n          </div>\n        )}\n      </div>\n    );\n  }\n\n  const codeBoxParams = getParameters(\n    lang === 'html'\n      ? getStaticParams(title, editorCode)\n      : getReactParams(title, editorCode, scope, lang)\n  );\n  const fullscreenLink = loc.pathname.replace(/\\/$/, '')\n    + (loc.pathname.endsWith(source) ? '' : `/${source}`)\n    + '/'\n    + slugger(title);\n\n  return (\n    <div className=\"ws-example\">\n      <div className=\"ws-example-header\">\n        <AutoLinkHeader\n          metaText={isBeta && <Badge className=\"ws-beta-badge pf-u-ml-xs\">Beta</Badge>}\n          size=\"h4\"\n          headingLevel=\"h3\"\n          className=\"ws-example-heading\"\n        >\n          {title}\n        </AutoLinkHeader>\n        {children}\n      </div>\n      {isFullscreen\n        ? <div className=\"ws-preview\">\n            <a\n              className=\"ws-preview__thumbnail-link\"\n              href={fullscreenLink}\n              target=\"_blank\"\n              aria-label={`Open fullscreen ${title} example`}\n            >\n              <img src={thumbnail.src} width={thumbnail.width} height={thumbnail.height} alt={`${title} screenshot`} />\n            </a>\n          </div>\n        : <div\n            id={previewId}\n            className={css(className, isFullscreen ? 'ws-preview-fullscreen' : 'ws-preview')}\n          >\n            {livePreview}\n          </div>\n      }\n      <ExampleToolbar\n        lang={lang}\n        isFullscreen={isFullscreen}\n        fullscreenLink={fullscreenLink}\n        originalCode={code}\n        code={editorCode}\n        setCode={debounce(setEditorCode, 300)}\n        codeBoxParams={codeBoxParams}\n        exampleTitle={title}\n      />\n    </div>\n  );\n}\n"],"mappings":";;;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,WAAT,QAA4B,eAA5B;AACA,SAASC,KAAT,EAAgBC,SAAhB,EAA2BC,aAA3B,EAA0CC,QAA1C,EAAoDC,MAApD,QAAkE,wBAAlE;AACA,OAAO,KAAKC,eAAZ,MAAiC,wBAAjC;AACA,OAAO,KAAKC,gBAAZ,MAAkC,yBAAlC;AACA,SAASC,GAAT,QAAoB,0BAApB;AACA,SAASC,aAAT,QAA8B,4BAA9B;AACA,SAASC,cAAT,QAA+B,kBAA/B;AACA,SAASC,cAAT,QAA+B,kCAA/B;AACA,SACEC,OADF,EAEEC,eAFF,EAGEC,cAHF,EAIEC,mBAJF,EAKEC,YALF,EAMEC,aANF,QAOO,eAPP;AAQA,SAASC,uBAAT,QAAwC,yBAAxC;AACA,O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