/*! For license information please see DialogContentContainer.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports["l3-style"]=t(require("react")):e["l3-style"]=t(e.react)}(this,(e=>(()=>{var t={94184:(e,t)=>{var r;!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var s=n.apply(null,r);s&&e.push(s)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var a in r)o.call(r,a)&&r[a]&&e.push(a)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},74352:(e,t,r)=>{"use strict";r.r(t)},42487:(e,t,r)=>{"use strict";r.r(t)},75251:(e,t,r)=>{"use strict";var o=r(8156),n=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;n=i("react.element"),t.Fragment=i("react.fragment")}var s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var o,i={},u=null,c=null;for(o in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,o)&&!l.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:n,type:e,key:u,ref:c,props:i,_owner:s.current}}t.jsx=u,t.jsxs=u},85893:(e,t,r)=>{"use strict";e.exports=r(75251)},70792:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(85893),i=r(8156),s=o(r(94184)),a=o(r(98649)),l=r(63118),u=r(41708);r(74352);const c=(0,l.BEMClass)("dialog-content-container"),f=(0,i.forwardRef)((({className:e="",ariaLabelledby:t="",ariaDescribedby:r="",type:o=u.DialogType.POPOVER,size:l=u.DialogSize.MEDIUM,children:f,style:p},d)=>{const y=(0,i.useRef)(null),v=(0,a.default)({refs:[d,y]});return(0,n.jsx)("div",Object.assign({role:"dialog","aria-labelledby":t,"aria-describedby":r,ref:v,style:p,className:(0,s.default)("dialog-content-container",e,c({state:o}),c({state:l}))},{children:f}))}));Object.assign(f,{types:u.DialogType,sizes:u.DialogSize}),t.default=f},41708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DialogSize=t.DialogType=void 0,function(e){e.MODAL="modal",e.POPOVER="popover"}(t.DialogType||(t.DialogType={})),function(e){e.NONE="none",e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(t.DialogSize||(t.DialogSize={}))},63118:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BEMClass=void 0,t.BEMClass=function(e){return({element:t,state:r})=>{let o=e;return t&&(o=`${o}_${t}`),r&&(o=`${o}--${r}`),o}}},98649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=r(8156);t.default=function({refs:e=[]}){return(0,o.useMemo)((()=>e.every((e=>null===e))?null:t=>{e.forEach((e=>{e&&function(e,t){if(null===e)return;if("function"==typeof e)return void e(t);try{e.current=t}catch(r){throw console.error(r),new Error(`Cannot assign value '${t}' to ref '${e}'`)}}(e,t)}))}),[e])}},41921:(e,t,r)=>{"use strict";r(42487)},8156:t=>{"use strict";t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}return o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(41921),o(70792)})()));
//# sourceMappingURL=DialogContentContainer.js.map