PageSourceSearch

https://my.dnb.com/vendor-node_modules_react-bootstrap_esm_Modal_js.58fd427166a1440c5cab.js

js dnb.com collected 2026-09-24 09:07:39 UTC 23,563 bytes, 2 lines download raw bytes

1/*! For license information please see vendor-node_modules_react-bootstrap_esm_Modal_js.58fd427166a1440c5cab.js.LICENSE.txt */
2"use strict";(self.webpackChunkmarketplace_portal_ui=self.webpackChunkmarketplace_portal_ui||[]).push([["vendor-node_modules_react-bootstrap_esm_Modal_js"],{61244(e,n,t){t.d(n,{A:()=>r});var o=t(96540);function r(){return(0,o.useState)(null)}},1942(e,n,t){t.d(n,{A:()=>r});var o=t(96540);function r(e){const n=function(e){const n=(0,o.useRef)(e);return(0,o.useEffect)(()=>{n.current=e},[e]),n}(e);return(0,o.useCallback)(function(...e){return n.current&&n.current(...e)},[n])}},48880(e,n,t){t.d(n,{A:()=>r});var o=t(96540);function r(){const e=(0,o.useRef)(!0),n=(0,o.useRef)(()=>e.current);return(0,o.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),n.current}},4103(e,n,t){t.d(n,{A:()=>r});var o=t(96540);function r(e){const n=(0,o.useRef)(null);return(0,o.useEffect)(()=>{n.current=e}),n.current}},88394(e,n,t){t.d(n,{Ay:()=>s});var o=t(87828),r=!1,a=!1;try{var i={get passive(){return r=!0},get once(){return a=r=!0}};o.A&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}const s=function(e,n,t,o){if(o&&"boolean"!=typeof o&&!a){var i=o.once,s=o.capture,c=t;!a&&i&&(c=t.__once||function e(o){this.removeEventListener(n,e,s),t.call(this,o)},t.__once=c),e.addEventListener(n,c,r?o:s)}e.addEventListener(n,t,o)}},87828(e,n,t){t.d(n,{A:()=>o});const o=!("undefined"==typeof window||!window.document||!window.document.createElement)},56406(e,n,t){function o(e,n){return e.contains?e.contains(n):e.compareDocumentPosition?e===n||!!(16&e.compareDocumentPosition(n)):void 0}t.d(n,{A:()=>o})},94243(e,n,t){function o(e,n){return e.classList?!!n&&e.classList.contains(n):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")}t.d(n,{A:()=>o})},1284(e,n,t){t.d(n,{A:()=>a});var o=t(88394),r=t(95019);const a=function(e,n,t,a){return(0,o.Ay)(e,n,t,a),function(){(0,r.A)(e,n,t,a)}}},91625(e,n,t){function o(e){return e&&e.ownerDocument||document}t.d(n,{A:()=>o})},55003(e,n,t){t.d(n,{A:()=>r});var o=Function.prototype.bind.call(Function.prototype.call,[].slice);function r(e,n){return o(e.querySelectorAll(n))}},95019(e,n,t){t.d(n,{A:()=>o});const o=function(e,n,t,o){var r=o&&"boolean"!=typeof o?o.capture:o;e.removeEventListener(n,t,r),t.__once&&e.removeEventListener(n,t.__once,r)}},84090(e,n,t){t.d(n,{A:()=>Ie});var o,r=t(98587),a=t(58168),i=t(46942),s=t.n(i),c=t(88394),l=t(87828),u=t(91625),d=t(95019);function f(e){if((!o&&0!==o||e)&&l.A){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),o=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return o}var p=t(61244),m=t(1942),h=t(96540);function v(e){const n=function(e){const n=(0,h.useRef)(e);return n.current=e,n}(e);(0,h.useEffect)(()=>()=>n.current(),[])}var E=/([A-Z])/g,g=/^ms-/;function b(e){return function(e){return e.replace(E,"-$1").toLowerCase()}(e).replace(g,"-ms-")}var y=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const x=function(e,n){var t="",o="";if("string"==typeof n)return e.style.getPropertyValue(b(n))||function(e,n){return function(e){var n=(0,u.A)(e);return n&&n.defaultView||window}(e).getComputedStyle(e,n)}(e).getPropertyValue(b(n));Object.keys(n).forEach(function(r){var a=n[r];a||0===a?function(e){return!(!e||!y.test(e))}(r)?o+=r+"("+a+") ":t+=b(r)+": "+a+";":e.style.removeProperty(b(r))}),o&&(t+="transform: "+o+";"),e.style.cssText+=";"+t};var A=t(1284);function N(e,n,t,o){var r,a;null==t&&(a=-1===(r=x(e,"transitionDuration")||"").indexOf("ms")?1e3:1,t=parseFloat(r)*a||0);var i=function(e,n,t){void 0===t&&(t=5);var o=!1,r=setTimeout(function(){o||function(e,n,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=!0),e){var r=document.createEvent("HTMLEvents");r.initEvent("transitionend",t,o),e.dispatchEvent(r)}}(e,0,!0)},n+t),a=(0,A.A)(e,"transitionend",function(){o=!0},{once:!0});return function(){clearTimeout(r),a()}}(e,t,o),s=(0,A.A)(e,"transitionend",n);return function(){i(),s()}}function w(e){void 0===e&&(e=(0,u.A)());try{var n=e.activeElement;return n&&n.nodeName?n:null}catch(n){return e.body}}var C=t(56406),k=t(5556),S=t.n(k),O=t(40961),R=t(48880),T=t(4103),F=t(94243);function D(e,n){e.classList?e.classList.add(n):(0,F.A)(e,n)||("string"==typeof e.className?e.className=e.className+" "+n:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+n))}function L(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function M(e,n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=L(e.className,n):e.setAttribute("class",L(e.className&&e.className.baseVal||"",n))}function P(e){return"window"in e&&e.window===e?e:"nodeType"in(n=e)&&n.nodeType===document.DOCUMENT_NODE&&e.defaultView||!1;var n}function _(e){var n;return P(e)||(n=e)&&"body"===n.tagName.toLowerCase()?function(e){var n=P(e)?(0,u.A)():(0,u.A)(e),t=P(e)||n.defaultView;return n.body.clientWidth<t.innerWidth}(e):e.scrollHeight>e.clientHeight}var H=["template","script","style"],I=function(e,n,t){[].forEach.call(e.children,function(e){var o,r,a;-1===n.indexOf(e)&&(r=(o=e).nodeType,a=o.tagName,1===r&&-1===H.indexOf(a.toLowerCase()))&&t(e)})};function B(e,n){n&&(e?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))}const U=function(){function e(e){var n=void 0===e?{}:e,t=n.hideSiblingNodes,o=void 0===t||t,r=n.handleContainerOverflow,a=void 0===r||r;this.hideSiblingNodes=void 0,this.handleContainerOverflow=void 0,this.modals=void 0,this.containers=void 0,this.data=void 0,this.scrollbarSize=void 0,this.hideSiblingNodes=o,this.handleContainerOverflow=a,this.modals=[],this.containers=[],this.data=[],this.scrollbarSize=f()}var n=e.prototype;return n.isContainerOverflowing=function(e){var n=this.data[this.containerIndexFromModal(e)];return n&&n.overflowing},n.containerIndexFromModal=function(e){return n=this.data,t=function(n){return-1!==n.modals.indexOf(e)},o=-1,n.some(function(e,n){return!!t(e)&&(o=n,!0)}),o;var n,t,o},n.setContainerStyle=function(e,n){var t={overflow:"hidden"};e.style={overflow:n.style.overflow,paddingRight:n.style.paddingRight},e.overflowing&&(t.paddingRight=parseInt(x(n,"paddingRight")||"0",10)+this.scrollbarSize+"px"),x(n,t)},n.removeContainerStyle=function(e,n){Object.assign(n.style,e.style)},n.add=function(e,n,t){var o=this.modals.indexOf(e),r=this.containers.indexOf(n);if(-1!==o)return o;if(o=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&function(e,n){var t=n.dialog,o=n.backdrop;I(e,[t,o],function(e){return B(!0,e)})}(n,e),-1!==r)return this.data[r].modals.push(e),o;var a={modals:[e],classes:t?t.split(/\s+/):[],overflowing:_(n)};return this.handleContainerOverflow&&this.setContainerStyle(a,n),a.classes.forEac
2h(D.bind(null,n)),this.containers.push(n),this.data.push(a),o},n.remove=function(e){var n=this.modals.indexOf(e);if(-1!==n){var t=this.containerIndexFromModal(e),o=this.data[t],r=this.containers[t];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.classes.forEach(M.bind(null,r)),this.handleContainerOverflow&&this.removeContainerStyle(o,r),this.hideSiblingNodes&&function(e,n){var t=n.dialog,o=n.backdrop;I(e,[t,o],function(e){return B(!1,e)})}(r,e),this.containers.splice(t,1),this.data.splice(t,1);else if(this.hideSiblingNodes){var a=o.modals[o.modals.length-1],i=a.backdrop;B(!1,a.dialog),B(!1,i)}}},n.isTopModal=function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e},e}();var j,z=function(e){var n;return"undefined"==typeof document?null:null==e?(0,u.A)().body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(n=e)&&n.nodeType&&e||null)};var V=(0,h.forwardRef)(function(e,n){var t=e.show,o=void 0!==t&&t,i=e.role,s=void 0===i?"dialog":i,c=e.className,u=e.style,d=e.children,f=e.backdrop,p=void 0===f||f,E=e.keyboard,g=void 0===E||E,b=e.onBackdropClick,y=e.onEscapeKeyDown,x=e.transition,N=e.backdropTransition,k=e.autoFocus,S=void 0===k||k,F=e.enforceFocus,D=void 0===F||F,L=e.restoreFocus,M=void 0===L||L,P=e.restoreFocusOptions,_=e.renderDialog,H=e.renderBackdrop,I=void 0===H?function(e){return h.createElement("div",e)}:H,B=e.manager,V=e.container,K=e.containerClassName,W=e.onShow,$=e.onHide,X=void 0===$?function(){}:$,q=e.onExit,G=e.onExited,Y=e.onExiting,Z=e.onEnter,J=e.onEntering,Q=e.onEntered,ee=(0,r.A)(e,["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","containerClassName","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"]),ne=function(e,n){var t=(0,h.useState)(function(){return z(e)}),o=t[0],r=t[1];if(!o){var a=z(e);a&&r(a)}return(0,h.useEffect)(function(){},[n,o]),(0,h.useEffect)(function(){var n=z(e);n!==o&&r(n)},[e,o]),o}(V),te=function(e){var n=e||(j||(j=new U),j),t=(0,h.useRef)({dialog:null,backdrop:null});return Object.assign(t.current,{add:function(e,o){return n.add(t.current,e,o)},remove:function(){return n.remove(t.current)},isTopModal:function(){return n.isTopModal(t.current)},setDialogRef:(0,h.useCallback)(function(e){t.current.dialog=e},[]),setBackdropRef:(0,h.useCallback)(function(e){t.current.backdrop=e},[])})}(B),oe=(0,R.A)(),re=(0,T.A)(o),ae=(0,h.useState)(!o),ie=ae[0],se=ae[1],ce=(0,h.useRef)(null);(0,h.useImperativeHandle)(n,function(){return te},[te]),l.A&&!re&&o&&(ce.current=w()),x||o||ie?o&&ie&&se(!1):se(!0);
2var le=(0,m.A)(function(){if(te.add(ne,K),he.current=(0,A.A)(document,"keydown",pe),me.current=(0,A.A)(document,"focus",function(){return setTimeout(de)},!0),W&&W(),S){var e=w(document);te.dialog&&e&&!(0,C.A)(te.dialog,e)&&(ce.current=e,te.dialog.focus())}}),ue=(0,m.A)(function(){var e;te.remove(),null==he.current||he.current(),null==me.current||me.current(),M&&(null==(e=ce.current)||null==e.focus||e.focus(P),ce.current=null)});(0,h.useEffect)(function(){o&&ne&&le()},[o,ne,le]),(0,h.useEffect)(function(){ie&&ue()},[ie,ue]),v(function(){ue()});var de=(0,m.A)(function(){if(D&&oe()&&te.isTopModal()){var e=w();te.dialog&&e&&!(0,C.A)(te.dialog,e)&&te.dialog.focus()}}),fe=(0,m.A)(function(e){e.target===e.currentTarget&&(null==b||b(e),!0===p&&X())}),pe=(0,m.A)(function(e){g&&27===e.keyCode&&te.isTopModal()&&(null==y||y(e),e.defaultPrevented||X())}),me=(0,h.useRef)(),he=(0,h.useRef)(),ve=x;if(!ne||!(o||ve&&!ie))return null;var Ee=(0,a.A)({role:s,ref:te.setDialogRef,"aria-modal":"dialog"===s||void 0},ee,{style:u,className:c,tabIndex:-1}),ge=_?_(Ee):h.createElement("div",Ee,h.cloneElement(d,{role:"document"}));ve&&(ge=h.createElement(ve,{appear:!0,unmountOnExit:!0,in:!!o,onExit:q,onExiting:Y,onExited:function(){se(!0);for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];null==G||G.apply(void 0,n)},onEnter:Z,onEntering:J,onEntered:Q},ge));var be=null;if(p){var ye=N;be=I({ref:te.setBackdropRef,onClick:fe}),ye&&(be=h.createElement(ye,{appear:!0,in:!!o},be))}return h.createElement(h.Fragment,null,O.createPortal(h.createElement(h.Fragment,null,be,ge),ne))}),K={show:S().bool,container:S().any,onShow:S().func,onHide:S().func,backdrop:S().oneOfType([S().bool,S().oneOf(["static"])]),renderDialog:S().func,renderBackdrop:S().func,onEscapeKeyDown:S().func,onBackdropClick:S().func,containerClassName:S().string,keyboard:S().bool,transition:S().elementType,backdropTransition:S().elementType,autoFocus:S().bool,enforceFocus:S().bool,restoreFocus:S().bool,restoreFocusOptions:S().shape({preventScroll:S().bool}),onEnter:S().func,onEntering:S().func,onEntered:S().func,onExit:S().func,onExiting:S().func,onExited:S().func,manager:S().instanceOf(U)};V.displayName="Modal",V.propTypes=K;const W=Object.assign(V,{Manager:U});t(9771);var $=t(25540),X=t(55003),q=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",G=".sticky-top",Y=".navbar-toggler",Z=function(e){function n(){return e.apply(this,arguments)||this}(0,$.A)(n,e);var t=n.prototype;return t.adjustAndStore=function(e,n,t){var o,r=n.style[e];n.dataset[e]=r,x(n,((o={})[e]=parseFloat(x(n,e))+t+"px",o))},t.restore=function(e,n){var t,o=n.dataset[e];void 0!==o&&(delete n.dataset[e],x(n,((t={})[e]=o,t)))},t.setContainerStyle=function(n,t){var o=this;if(e.prototype.setContainerStyle.call(this,n,t),n.overflowing){var r=f();(0,X.A)(t,q).forEach(function(e){return o.adjustAndStore("paddingRight",e,r)}),(0,X.A)(t,G).forEach(function(e){return o.adjustAndStore("marginRight",e,-r)}),(0,X.A)(t,Y).forEach(function(e){return o.adjustAndStore("marginRight",e,r)})}},t.removeContainerStyle=function(n,t){var o=this;e.prototype.removeContainerStyle.call(this,n,t),(0,X.A)(t,q).forEach(function(e){return o.restore("paddingRight",e)}),(0,X.A)(t,G).forEach(function(e){return o.restore("marginRight",e)}),(0,X.A)(t,Y).forEach(function(e){return o.restore("marginRight",e)})},n}(U);const J=h.createContext(null);var Q="unmounted",ee="exited",ne="entering",te="entered",oe="exiting",re=function(e){function n(n,t){var o;o=e.call(this,n,t)||this;var r,a=t&&!t.isMounting?n.enter:n.appear;return o.appearStatus=null,n.in?a?(r=ee,o.appearStatus=ne):r=te:r=n.unmountOnExit||n.mountOnEnter?Q:ee,o.state={status:r},o.nextCallback=null,o}(0,$.A)(n,e),n.getDerivedStateFromProps=function(e,n){return e.in&&n.status===Q?{status:ee}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var n=null;if(e!==this.props){var t=this.state.status;this.props.in?t!==ne&&t!==te&&(n=ne):t!==ne&&t!==te||(n=oe)}this.updateStatus(!1,n)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,n,t,o=this.props.timeout;return e=n=t=o,null!=o&&"number"!=typeof o&&(e=o.exit,n=o.enter,t=void 0!==o.appear?o.appear:n),{exit:e,enter:n,appear:t}},t.updateStatus=function(e,n){if(void 0===e&&(e=!1),null!==n)if(this.cancelNextCallback(),n===ne){if(this.props.unmountOnExit||this.props.mountOnEnter){var t=this.props.nodeRef?this.props.nodeRef.current:O.findDOMNode(this);t&&function(e){e.scrollTop}(t)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ee&&this.setState({status:Q})},t.performEnter=function(e){var n=this,t=this.props.enter,o=this.context?this.context.
2isMounting:e,r=this.props.nodeRef?[o]:[O.findDOMNode(this),o],a=r[0],i=r[1],s=this.getTimeouts(),c=o?s.appear:s.enter;e||t?(this.props.onEnter(a,i),this.safeSetState({status:ne},function(){n.props.onEntering(a,i),n.onTransitionEnd(c,function(){n.safeSetState({status:te},function(){n.props.onEntered(a,i)})})})):this.safeSetState({status:te},function(){n.props.onEntered(a)})},t.performExit=function(){var e=this,n=this.props.exit,t=this.getTimeouts(),o=this.props.nodeRef?void 0:O.findDOMNode(this);n?(this.props.onExit(o),this.safeSetState({status:oe},function(){e.props.onExiting(o),e.onTransitionEnd(t.exit,function(){e.safeSetState({status:ee},function(){e.props.onExited(o)})})})):this.safeSetState({status:ee},function(){e.props.onExited(o)})},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,n){n=this.setNextCallback(n),this.setState(e,n)},t.setNextCallback=function(e){var n=this,t=!0;return this.nextCallback=function(o){t&&(t=!1,n.nextCallback=null,e(o))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},t.onTransitionEnd=function(e,n){this.setNextCallback(n);var t=this.props.nodeRef?this.props.nodeRef.current:O.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(t&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[t,this.nextCallback],a=r[0],i=r[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},t.render=function(){var e=this.state.status;if(e===Q)return null;var n=this.props,t=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,r.A)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return h.createElement(J.Provider,{value:null},"function"==typeof t?t(e,o):h.cloneElement(h.Children.only(t),o))},n}(h.Component);function ae(){}re.contextType=J,re.propTypes={},re.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ae,onEntering:ae,onEntered:ae,onExit:ae,onExiting:ae,onExited:ae},re.UNMOUNTED=Q,re.EXITED=ee,re.ENTERING=ne,re.ENTERED=te,re.EXITING=oe;const ie=re;function se(e,n){var t=x(e,n)||"",o=-1===t.indexOf("ms")?1e3:1;return parseFloat(t)*o}function ce(e,n){var t=se(e,"transitionDuration"),o=se(e,"transitionDelay"),r=N(e,function(t){t.target===e&&(r(),n(t))},t+o)}var le,ue=["className","children"],de=((le={})[ne]="show",le[te]="show",le),fe=h.forwardRef(function(e,n){var t=e.className,o=e.children,i=(0,r.A)(e,ue),c=(0,h.useCallback)(function(e){!function(e){e.offsetHeight}(e),i.onEnter&&i.onEnter(e)},[i]);return h.createElement(ie,(0,a.A)({ref:n,addEndListener:ce},i,{onEnter:c}),function(e,n){return h.cloneElement(o,(0,a.A)({},n,{className:s()("fade",t,o.props.className,de[e])}))})});fe.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},fe.displayName="Fade";const pe=fe;var me=t(86261);const he=(0,me.A)("modal-body"),ve=h.createContext({onHide:function(){}});var Ee=t(36519),ge=["bsPrefix","className","contentClassName","centered","size","children","scrollable"],be=h.forwardRef(function(e,n){var t=e.bsPrefix,o=e.className,i=e.contentClassName,c=e.centered,l=e.size,u=e.children,d=e.scrollable,f=(0,r.A)(e,ge),p=(t=(0,Ee.oU)(t,"modal"))+"-dialog";return h.createElement("div",(0,a.A)({},f,{ref:n,className:s()(p,o,l&&t+"-"+l,c&&p+"-centered",d&&p+"-scrollable")}),h.createElement("div",{className:s()(t+"-content",i)},u))});be.displayName="ModalDialog";const ye=be,xe=(0,me.A)("modal-footer");var Ae=["label","onClick","className"],Ne={label:S().string.isRequired,onClick:S().func},we=h.forwardRef(function(e,n){var t=e.label,o=e.onClick,i=e.className,c=(0,r.A)(e,Ae);return h.createElement("button",(0,a.A)({ref:n,type:"button",className:s()("close",i),onClick:o},c),h.createElement("span",{"aria-hidden":"true"},"×"),h.createElement("span",{className:"sr-only"},t))});
2we.displayName="CloseButton",we.propTypes=Ne,we.defaultProps={label:"Close"};const Ce=we;var ke=["bsPrefix","closeLabel","closeButton","onHide","className","children"],Se=h.forwardRef(function(e,n){var t=e.bsPrefix,o=e.closeLabel,i=e.closeButton,c=e.onHide,l=e.className,u=e.children,d=(0,r.A)(e,ke);t=(0,Ee.oU)(t,"modal-header");var f=(0,h.useContext)(ve),p=(0,m.A)(function(){f&&f.onHide(),c&&c()});return h.createElement("div",(0,a.A)({ref:n},d,{className:s()(l,t)}),u,i&&h.createElement(Ce,{label:o,onClick:p}))});Se.displayName="ModalHeader",Se.defaultProps={closeLabel:"Close",closeButton:!1};const Oe=Se,Re=function(e){return h.forwardRef(function(n,t){return h.createElement("div",(0,a.A)({},n,{ref:t,className:s()(n.className,e)}))})};t.dn(Re);var Te=Re("h4");const Fe=(0,me.A)("modal-title",{Component:Te});var De,Le=["bsPrefix","className","style","dialogClassName","contentClassName","children","dialogAs","aria-labelledby","aria-describedby","aria-label","show","animation","backdrop","keyboard","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager"],Me={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:ye};function Pe(e){return h.createElement(pe,(0,a.A)({},e,{timeout:null}))}function _e(e){return h.createElement(pe,(0,a.A)({},e,{timeout:null}))}var He=h.forwardRef(function(e,n){var t=e.bsPrefix,o=e.className,i=e.style,E=e.dialogClassName,g=e.contentClassName,b=e.children,y=e.dialogAs,x=e["aria-labelledby"],A=e["aria-describedby"],w=e["aria-label"],C=e.show,k=e.animation,S=e.backdrop,O=e.keyboard,R=e.onEscapeKeyDown,T=e.onShow,F=e.onHide,D=e.container,L=e.autoFocus,M=e.enforceFocus,P=e.restoreFocus,_=e.restoreFocusOptions,H=e.onEntered,I=e.onExit,B=e.onExiting,U=e.onEnter,j=e.onEntering,z=e.onExited,V=e.backdropClassName,K=e.manager,$=(0,r.A)(e,Le),X=(0,h.useState)({}),q=X[0],G=X[1],Y=(0,h.useState)(!1),J=Y[0],Q=Y[1],ee=(0,h.useRef)(!1),ne=(0,h.useRef)(!1),te=(0,h.useRef)(null),oe=(0,p.A)(),re=oe[0],ae=oe[1],ie=(0,m.A)(F);t=(0,Ee.oU)(t,"modal"),(0,h.useImperativeHandle)(n,function(){return{get _modal(){return re}}},[re]);var se=(0,h.useMemo)(function(){return{onHide:ie}},[ie]);function ce(){return K||(De||(De=new Z),De)}function le(e){if(l.A){var n=ce().isContainerOverflowing(re),t=e.scrollHeight>(0,u.A)(e).documentElement.clientHeight;G({paddingRight:n&&!t?f():void 0,paddingLeft:!n&&t?f():void 0})}}var ue=(0,m.A)(function(){re&&le(re.dialog)});v(function(){(0,d.A)(window,"resize",ue),te.current&&te.current()});var de=function(){ee.current=!0},fe=function(e){ee.current&&re&&e.target===re.dialog&&(ne.current=!0),ee.current=!1},pe=function(){Q(!0),te.current=N(re.dialog,function(){Q(!1)})},me=function(e){"static"!==S?ne.current||e.target!==e.currentTarget?ne.current=!1:null==F||F():function(e){e.target===e.currentTarget&&pe()}(e)},he=(0,h.useCallback)(function(e){return h.createElement("div",(0,a.A)({},e,{className:s()(t+"-backdrop",V,!k&&"show")}))},[k,V,t]),ge=(0,a.A)({},i,q);return k||(ge.display="block"),h.createElement(ve.Provider,{value:se},h.createElement(W,{show:C,ref:ae,backdrop:S,container:D,keyboard:!0,autoFocus:L,enforceFocus:M,restoreFocus:P,restoreFocusOptions:_,onEscapeKeyDown:function(e){O||"static"!==S?O&&R&&R(e):(e.preventDefault(),pe())},onShow:T,onHide:F,onEnter:function(e,n){e&&(e.style.display="block",le(e)),null==U||U(e,n)}
2,onEntering:function(e,n){null==j||j(e,n),(0,c.Ay)(window,"resize",ue)},onEntered:H,onExit:function(e){null==te.current||te.current(),null==I||I(e)},onExiting:B,onExited:function(e){e&&(e.style.display=""),null==z||z(e),(0,d.A)(window,"resize",ue)},manager:ce(),containerClassName:t+"-open",transition:k?Pe:void 0,backdropTransition:k?_e:void 0,renderBackdrop:he,renderDialog:function(e){return h.createElement("div",(0,a.A)({role:"dialog"},e,{style:ge,className:s()(o,t,J&&t+"-static"),onClick:S?me:void 0,onMouseUp:fe,"aria-label":w,"aria-labelledby":x,"aria-describedby":A}),h.createElement(y,(0,a.A)({},$,{onMouseDown:de,className:E,contentClassName:g}),b))}}))});He.displayName="Modal",He.defaultProps=Me,He.Body=he,He.Header=Oe,He.Title=Fe,He.Footer=xe,He.Dialog=ye,He.TRANSITION_DURATION=300,He.BACKDROP_TRANSITION_DURATION=150;const Ie=He},86261(e,n,t){t.d(n,{A:()=>d});var o=t(58168),r=t(98587),a=t(46942),i=t.n(a),s=/-(.)/g,c=t(96540),l=t(36519),u=["className","bsPrefix","as"];function d(e,n){var t,a,d=void 0===n?{}:n,f=d.displayName,p=void 0===f?(t=e)[0].toUpperCase()+(a=t,a.replace(s,function(e,n){return n.toUpperCase()})).slice(1):f,m=d.Component,h=d.defaultProps,v=c.forwardRef(function(n,t){var a=n.className,s=n.bsPrefix,d=n.as,f=void 0===d?m||"div":d,p=(0,r.A)(n,u),h=(0,l.oU)(s,e);return c.createElement(f,(0,o.A)({ref:t,className:i()(a,h)},p))});return v.defaultProps=h,v.displayName=p,v}},9771(e){e.exports=function(){}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.