/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={500:(e,r)=>{var t;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",r=0;r<arguments.length;r++){var t=arguments[r];t&&(e=i(e,a(t)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var t in e)n.call(e,t)&&e[t]&&(r=i(r,t));return r}function i(e,r){return r?e?e+" "+r:e+r:e}e.exports?(o.default=o,e.exports=o):void 0===(t=function(){return o}.apply(r,[]))||(e.exports=t)}()}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";t.r(n),t.d(n,{Modal:()=>i});const e=window.wp.element;var r=t(500),o=t.n(r);const a=window.wp.components,i=({title:r,show:t,onClose:n,children:i,className:l,__experimentalHideHeader:u=!1})=>{const p=(0,e.useRef)();return(0,e.useEffect)((()=>{const e=e=>{t&&p?.current&&p.current===e.target&&n(e)};return p?.current?.addEventListener("click",e),()=>{p?.current?.removeEventListener("click",e)}}),[p,t]),t?(0,e.createElement)(a.Modal,{ref:p,title:r,onRequestClose:n,shouldCloseOnClickOutside:!1,className:o()("wp-whatsapp-chat__modal media-modal wp-core-ui upload-php",l),__experimentalHideHeader:u},i):null}})(),(window.qlwapp=window.qlwapp||{}).components=n})();