"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("react/jsx-runtime"),n=require("../../effects/useDelayedDcFullscreenElemOpen.js");require("../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js");var o=require("../DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js"),l=require("./CorvaModal.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=c(e),i=c(r),u=["open"];function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?p(Object(t),!0).forEach((function(r){s.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}exports.DcCorvaModal=function(e){var r=e.open,c=i.default(e,u),s=n.useDelayedDcFullscreenElemOpen({isOpen:null!=r&&r},!0).delayedIsOpen;return t.jsx(o.IsInsideDcFullscreenElemProvider,{children:t.jsx(l.CorvaModal,a({open:null!=s&&s},c))})};
//# sourceMappingURL=DcCorvaModal.js.map
