!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={6689:e=>{e.exports=require("react")}},t={};function a(o){var r=t[o];if(void 0!==r)return r.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,a),n.exports}(()=>{a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t}})(),(()=>{a.d=(e,t)=>{for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};return(()=>{a.r(o),a.d(o,{default:()=>r});var e=a(6689),t=a.n(e);class r extends t().Component{render(){let{children:e,show:a,title:o,handleClick:r,className:n,id:l}=this.props,s=this.props.hasOwnProperty("id")?l:`id_${o}`,i=this.props.hasOwnProperty("className")?n:"";return t().createElement("div",{className:"panel-group "+i,id:s},t().createElement("div",{className:"panel panel-default"},t().createElement("a",{className:a?"collapsed":"",onClick:r},t().createElement("div",{className:"panel-heading"},t().createElement("h4",{className:"panel-title"},o))),t().createElement("div",{className:"panel-collapse collapse in"},a&&t().createElement("div",{className:"panel-body"},e))))}}})(),o})()));
//# sourceMappingURL=panel.js.map