\r\n
{\r\n evt.stopPropagation();\r\n if(props.prevent) {\r\n evt.preventDefault();\r\n }\r\n }}\r\n style={{\r\n ...(props.styles || {}),\r\n width: props.width,\r\n height: props.height,\r\n }}\r\n >\r\n {\r\n canBeClosed &&\r\n \r\n }\r\n\r\n {props.children}\r\n
\r\n
\r\n )\r\n};\r\n\r\n/*\r\n max-height: 100vh;\r\n */\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { Popup } from '../../ui/popup/popup';\r\n\r\nconst initPopup = () => {\r\n\r\n const $btn = document.getElementById('wup-support-products-popup-btn');\r\n if(!$btn) return;\r\n\r\n const $content = document.getElementById('wup-support-products-popup-content');\r\n if(!$content) return;\r\n\r\n const $placeholder = document.getElementById('wup-support-products-popup-placeholder');\r\n if(!$placeholder) return;\r\n\r\n ReactDOM.render(\r\n