/home/cp072267/public_html/pornpukdee-group.com/wp-content/plugins/elementor/assets/js
NameSizeModeActions
packages/-0755rm
0bc41c4656ca54cf2aca.bundle.min.js1690644editdlrm
1e658f1f0d7790a8e5d5.bundle.js18550644editdlrm
2bac2875cdf51a1f8140.bundle.min.js6640644editdlrm
3c838288a9b7ddd2aea4.bundle.min.js5780644editdlrm
3d410a099008411bb011.bundle.js633750644editdlrm
4c96eab5a48ee097dcb2.bundle.js17940644editdlrm
4da0f59f644453c5778f.bundle.js18160644editdlrm
4fba6dc68de19bf14ed6.bundle.min.js14800644editdlrm
5b575dffd21b0cec15a5.bundle.js10740644editdlrm
6a19e86dd8c1f9165dbe.bundle.js449010644editdlrm
6caa76d2f6eec6c4e665.bundle.js644110644editdlrm
06dbd869189450c5db6c.bundle.js59710644editdlrm
7dae73b622bebe8a5d94.bundle.js6430644editdlrm
7f03d97d8f12b0e62c20.bundle.min.js13600644editdlrm
8ad22e7ba800b096313c.bundle.min.js52210644editdlrm
8c20eb5e96967d3016b2.bundle.js51140644editdlrm
8c595e27c4832221c639.bundle.min.js13140644editdlrm
8e8b47ad5b4e4d038c80.bundle.js6360644editdlrm
8ecfd8495b7ec419862a.bundle.js6130644editdlrm
9aabe8efbe6be85f9b03.bundle.js18760644editdlrm
9b0cc3aa93cf287cd0a2.bundle.min.js6070644editdlrm
9dcd9e88237da6496816.bundle.min.js1140644editdlrm
9ffe53753902b9aca176.bundle.js50810644editdlrm
14bcbc91620c14a7112c.bundle.min.js46160644editdlrm
24dc90de724d8d2211e7.bundle.js18870644editdlrm
29c342e9c10e3f13f498.bundle.js57330644editdlrm
40d841f4b4ce7b1928f5.bundle.js10300644editdlrm
73f63f9507c306870586.bundle.min.js48490644editdlrm
77b60be7dc925a32f560.bundle.min.js6960644editdlrm
87abe5f6e10f360edaa2.bundle.min.js14000644editdlrm
220e9c3d1caa01726b1a.bundle.js54270644editdlrm
397f2d183c19202777d6.bundle.min.js239330644editdlrm
397f2d183c19202777d6.bundle.min.js.LICENSE.txt1880644editdlrm
425e7653a6beca0ca547.bundle.min.js68410644editdlrm
463aee37e06b67916b81.bundle.js19780644editdlrm
481dd84bfd172b56f2c9.bundle.js664050644editdlrm
620a14a68e8c9da1ef28.bundle.js73390644editdlrm
733e5d484a31a515a18e.bundle.min.js13770644editdlrm
831aea236b1ddda24f0c.bundle.js11210644editdlrm
0982f37bec0944fbcb10.bundle.js6130644editdlrm
1564d2bfa4591bf857f3.bundle.min.js1140644editdlrm
6936b079b4e7c28cd901.bundle.min.js7540644editdlrm
012778ff5828d0d1739f.bundle.js11480644editdlrm
16864f39793c3475fda1.bundle.min.js14810644editdlrm
20866d9d9e34bf3cb0a7.bundle.min.js6940644editdlrm
35423d812dc1d52fdb27.bundle.min.js1690644editdlrm
39845c9a7f0477e3323d.bundle.js18620644editdlrm
59845ab5a628d2b79f57.bundle.js11110644editdlrm
197583acd246fea0e25d.bundle.js112220644editdlrm
600430d4fe11ccbb856b.bundle.js18800644editdlrm
687979ffbcfd58352c29.bundle.min.js48620644editdlrm
845418a5488e9937fc99.bundle.min.js49300644editdlrm
8277989eebcfba278cb0.bundle.min.js368230644editdlrm
65955179c51c059f89dd.bundle.js19130644editdlrm
6273709440e0031100bc.bundle.min.js14760644editdlrm
a0f667abb781daab8e48.bundle.js53590644editdlrm
a9c3d5b02d26399aebfb.bundle.js11310644editdlrm
aae1dc723585a57c406a.bundle.min.js318940644editdlrm
accordion.8b0db5058afeb74622f5.bundle.min.js37390644editdlrm
accordion.b9a0ab19c7c872c405d7.bundle.js79270644editdlrm
admin-feedback.js45720644editdlrm
admin-feedback.min.js19130644editdlrm
admin-feedback.strings.js14680644editdlrm
admin-modules.js399440644editdlrm
admin-modules.min.js157360644editdlrm
admin-modules.min.js.LICENSE.txt1630644editdlrm
admin-modules.strings.js14680644editdlrm
admin-notifications.js781240644editdlrm
admin-notifications.min.js153280644editdlrm
admin-notifications.strings.js1000644editdlrm
admin-top-bar.js682980644editdlrm
admin-top-bar.min.js118030644editdlrm
admin-top-bar.strings.js3200644editdlrm
admin.js1970880644editdlrm
admin.min.js903360644editdlrm
admin.min.js.LICENSE.txt1630644editdlrm
admin.strings.js14680644editdlrm
aee13673e923469c3275.bundle.min.js1140644editdlrm
af05aac2eb23e7438265.bundle.js51820644editdlrm
ai-admin.js11528430644editdlrm
ai-admin.min.js4746270644editdlrm
ai-admin.min.js.LICENSE.txt1630644editdlrm
ai-admin.strings.js00644editdlrm
ai-form-code.88e99d22c799e35838c3.bundle.min.js93920644editdlrm
ai-form-code.f1fc9ab9d55b03c0a95d.bundle.js227410644editdlrm
ai-gutenberg.js12874170644editdlrm
ai-gutenberg.min.js5038220644editdlrm
ai-gutenberg.min.js.LICENSE.txt3240644editdlrm
ai-gutenberg.strings.js1910644editdlrm
ai-layout.js5447730644editdlrm
ai-layout.min.js2083880644editdlrm
ai-layout.min.js.LICENSE.txt1630644editdlrm
ai-layout.strings.js217820644editdlrm
ai-media-library.js12697850644editdlrm
ai-media-library.min.js4984600644editdlrm
ai-media-library.min.js.LICENSE.txt3240644editdlrm
ai-media-library.strings.js1380644editdlrm
ai-react-markdown.6230542471e5145001f3.bundle.min.js1287950644editdlrm
ai-react-markdown.6230542471e5145001f3.bundle.min.js.LICENSE.txt3610644editdlrm
ai-react-markdown.cf9412823b81e9b583aa.bundle.js8189930644editdlrm
ai-unify-product-images.js12661090644editdlrm
ai-unify-product-images.min.js4956640644editdlrm
ai-unify-product-images.min.js.LICENSE.txt3240644editdlrm
ai-unify-product-images.strings.js450644editdlrm
ai.js13286050644editdlrm
ai.min.js5224940644editdlrm
ai.min.js.LICENSE.txt3240644editdlrm
ai.strings.js217820644editdlrm
alert.b4336601ffdb6086d1b5.bundle.min.js6180644editdlrm
alert.fd509aa768e7b35a8e32.bundle.js14050644editdlrm
announcements-app.js1216440644editdlrm
announcements-app.min.js384160644editdlrm
announcements-app.min.js.LICENSE.txt1630644editdlrm
announcements-app.strings.js350644editdlrm
app-loader.js1012700644editdlrm
app-loader.min.js390690644editdlrm
app-loader.strings.js392500644editdlrm
app-packages.js3690860644editdlrm
app-packages.min.js1254980644editdlrm
app-packages.min.js.LICENSE.txt1630644editdlrm
app-packages.strings.js392500644editdlrm
app.js14571220644editdlrm
app.min.js5351940644editdlrm
app.min.js.LICENSE.txt1630644editdlrm
app.strings.js392500644editdlrm
assets-manager.js284420644editdlrm
assets-manager.min.js119800644editdlrm
assets-manager.min.js.LICENSE.txt1630644editdlrm
assets-manager.strings.js00644editdlrm
atomic-widgets-action-link-handler.js1091400644editdlrm
atomic-widgets-action-link-handler.min.js203880644editdlrm
atomic-widgets-editor.js1641600644editdlrm
atomic-widgets-editor.min.js687660644editdlrm
atomic-widgets-editor.min.js.LICENSE.txt1630644editdlrm
atomic-widgets-editor.strings.js3560644editdlrm
atomic-widgets-form-handler.js6888880644editdlrm
atomic-widgets-form-handler.min.js1174790644editdlrm
atomic-widgets-form-handler.min.js.LICENSE.txt3360644editdlrm
b1e33a4cb2c6d38a6baa.bundle.min.js15600644editdlrm
b4d39e5186d768f79598.bundle.js12240644editdlrm
b96d70044d0d67c2df19.bundle.min.js234150644editdlrm
beta-tester.js214180644editdlrm
beta-tester.min.js88220644editdlrm
beta-tester.strings.js690644editdlrm
bf2fa9f81b3d78f5858f.bundle.min.js6690644editdlrm
c13d205fa26f8af1ce7c.bundle.js1141020644editdlrm
c73a7d15e48e3305780a.bundle.min.js13070644editdlrm
cb2834c8227e56659152.bundle.min.js14260644editdlrm
cf6ec600fcf4e08ba6d3.bundle.js6130644editdlrm
checklist.js1631830644editdlrm
checklist.min.js509530644editdlrm
checklist.min.js.LICENSE.txt1630644editdlrm
checklist.strings.js5510644editdlrm
cloud-library-screenshot.js889920644editdlrm
cloud-library-screenshot.min.js329690644editdlrm
cloud-library-screenshot.min.js.LICENSE.txt1630644editdlrm
cloud-library-screenshot.strings.js00644editdlrm
common-modules.js1522710644editdlrm
common-modules.min.js583480644editdlrm
common-modules.strings.js4310644editdlrm
common.js12041560644editdlrm
common.min.js4908440644editdlrm
common.min.js.LICENSE.txt1630644editdlrm
common.strings.js4310644editdlrm
contact-buttons.086261d3e9c4d8037686.bundle.js148480644editdlrm
contact-buttons.e98d0220ce8c38404e7e.bundle.min.js86630644editdlrm
container-converter.js519710644editdlrm
container-converter.min.js182800644editdlrm
container-converter.strings.js2080644editdlrm
container-editor-handlers.49d65af3a7e15d2d67e8.bundle.min.js132320644editdlrm
container-editor-handlers.b45e73e31bdb50fb2cd1.bundle.js242160644editdlrm
counter.7310c276bc7865a3d438.bundle.js18930644editdlrm
counter.12335f45aaa79d244f24.bundle.min.js9060644editdlrm
d8a330693f9211e2166e.bundle.min.js45840644editdlrm
d39cd4cb3d5b09b11c14.bundle.min.js54590644editdlrm
d42de03ef4a0f50e39ca.bundle.min.js1760644editdlrm
d52aa05c75af56327744.bundle.js144790644editdlrm
d67ddd6f08b08392c42f.bundle.js150550644editdlrm
d69d9b30e379355f1464.bundle.min.js13740644editdlrm
d84c0b1bbfe78744e722.bundle.js19670644editdlrm
d224ff58c11185a05291.bundle.js19680644editdlrm
daedc6797eaad5c82711.bundle.min.js40600644editdlrm
de7511b88f9ec0968921.bundle.js11160644editdlrm
design-system-sync.js23470644editdlrm
design-system-sync.min.js10300644editdlrm
design-system-sync.strings.js00644editdlrm
dev-tools.js238160644editdlrm
dev-tools.min.js75770644editdlrm
dev-tools.strings.js00644editdlrm
df4ff09f2b412abf0cd3.bundle.js53480644editdlrm
dff865a4d52c12bcf996.bundle.min.js6620644editdlrm
e-conversion-banner.js215290644editdlrm
e-conversion-banner.min.js85690644editdlrm
e-conversion-banner.min.js.LICENSE.txt1630644editdlrm
e-conversion-banner.strings.js00644editdlrm
e-home-screen.js2632490644editdlrm
e-home-screen.min.js958050644editdlrm
e-home-screen.min.js.LICENSE.txt1630644editdlrm
e-home-screen.strings.js4450644editdlrm
e-react-promotions.js13483340644editdlrm
e-react-promotions.min.js9261260644editdlrm
e-react-promotions.min.js.LICENSE.txt690644editdlrm
e-react-promotions.strings.js1270644editdlrm
e-wc-product-editor.js1069900644editdlrm
e-wc-product-editor.min.js171410644editdlrm
e-wc-product-editor.min.js.LICENSE.txt1600644editdlrm
e-wc-product-editor.strings.js410644editdlrm
e1c444bff8c609679f7a.bundle.js20630644editdlrm
e1cb4d726bb59646c677.bundle.min.js53920644editdlrm
e9a764dcd37c06162942.bundle.js11460644editdlrm
e459c6c89c0c0899c850.bundle.js919990644editdlrm
ec1ee92b2a471389c7b9.bundle.min.js6590644editdlrm
editor-document.js715760644editdlrm
editor-document.min.js258410644editdlrm
editor-document.strings.js192070644editdlrm
editor-environment-v2.js6000644editdlrm
editor-environment-v2.min.js2060644editdlrm
editor-environment-v2.strings.js00644editdlrm
editor-interactions.js440370644editdlrm
editor-interactions.min.js190910644editdlrm
editor-interactions.strings.js00644editdlrm
editor-loader-v1.js3320644editdlrm
editor-loader-v1.min.js480644editdlrm
editor-loader-v1.strings.js00644editdlrm
editor-loader-v2.js8210644editdlrm
editor-loader-v2.min.js4000644editdlrm
editor-loader-v2.strings.js00644editdlrm
editor-modules.js1209590644editdlrm
editor-modules.min.js495440644editdlrm
editor-modules.min.js.LICENSE.txt1630644editdlrm
editor-modules.strings.js192070644editdlrm
editor-notifications.js886370644editdlrm
editor-notifications.min.js191520644editdlrm
editor-notifications.strings.js1000644editdlrm
editor-one-admin.js6350644editdlrm
editor-one-admin.min.js2750644editdlrm
editor-one-admin.strings.js00644editdlrm
editor-one-menu.js734870644editdlrm
editor-one-menu.min.js326470644editdlrm
editor-one-menu.strings.js00644editdlrm
editor-one-sidebar-navigation.js2708940644editdlrm
editor-one-sidebar-navigation.min.js680540644editdlrm
editor-one-sidebar-navigation.min.js.LICENSE.txt1600644editdlrm
editor-one-sidebar-navigation.strings.js00644editdlrm
editor-one-top-bar.js12637360644editdlrm
editor-one-top-bar.min.js10502600644editdlrm
editor-one-top-bar.min.js.LICENSE.txt4100644editdlrm
editor-one-top-bar.strings.js00644editdlrm
editor-v4-opt-in-alphachip.js607110644editdlrm
editor-v4-opt-in-alphachip.min.js87580644editdlrm
editor-v4-opt-in-alphachip.strings.js2060644editdlrm
editor-v4-opt-in.js1709530644editdlrm
editor-v4-opt-in.min.js530720644editdlrm
editor-v4-opt-in.min.js.LICENSE.txt3520644editdlrm
editor-v4-opt-in.strings.js24260644editdlrm
editor.js29621680644editdlrm
editor.min.js12730770644editdlrm
editor.min.js.LICENSE.txt3520644editdlrm
editor.strings.js18570644editdlrm
ef35c83e4628f0a5c328.bundle.js6360644editdlrm
ef2100ac3eda1a957819.bundle.min.js50500644editdlrm
element-manager-admin.js2471280644editdlrm
element-manager-admin.min.js618080644editdlrm
element-manager-admin.min.js.LICENSE.txt3240644editdlrm
element-manager-admin.strings.js20980644editdlrm
elementor-admin-bar.js186030644editdlrm
elementor-admin-bar.min.js73130644editdlrm
elementor-admin-bar.strings.js00644editdlrm
f3b4453f66034a6655a7.bundle.min.js46700644editdlrm
fd59b90c4d338489adcc.bundle.min.js13680644editdlrm
floating-bars.740d06d17cea5cebdb61.bundle.min.js78790644editdlrm
floating-bars.a6e6a043444b62f64f82.bundle.js149890644editdlrm
floating-elements-modal.js354560644editdlrm
floating-elements-modal.min.js151090644editdlrm
floating-elements-modal.strings.js430644editdlrm
frontend-modules.js1937580644editdlrm
frontend-modules.min.js506020644editdlrm
frontend.js974350644editdlrm
frontend.min.js320980644editdlrm
gutenberg.js76130644editdlrm
gutenberg.min.js40460644editdlrm
gutenberg.strings.js14680644editdlrm
image-carousel.8b25f3674c29b829a867.bundle.js9050644editdlrm
image-carousel.6167d20b95b33386757b.bundle.min.js4080644editdlrm
import-export-admin.js153040644editdlrm
import-export-admin.min.js65290644editdlrm
import-export-admin.strings.js125130644editdlrm
import-export-customization-admin.js795240644editdlrm
import-export-customization-admin.min.js387590644editdlrm
import-export-customization-admin.min.js.LICENSE.txt1630644editdlrm
import-export-customization-admin.strings.js134210644editdlrm
interactions-shared-utils.js273310644editdlrm
interactions-shared-utils.min.js107440644editdlrm
interactions-shared-utils.strings.js00644editdlrm
interactions.js407920644editdlrm
interactions.min.js170960644editdlrm
interactions.strings.js00644editdlrm
kit-elements-defaults-editor.js871390644editdlrm
kit-elements-defaults-editor.min.js327120644editdlrm
kit-elements-defaults-editor.min.js.LICENSE.txt1630644editdlrm
kit-elements-defaults-editor.strings.js6870644editdlrm
kit-library.38e1af453464e7ef7a6e.bundle.min.js1770260644editdlrm
kit-library.816d964bf4c39d277a8e.bundle.js3739760644editdlrm
lightbox.3f9b3a051b2336dd5372.bundle.min.js294960644editdlrm
lightbox.21984471d5ca0db94445.bundle.js510150644editdlrm
media-hints.js119420644editdlrm
media-hints.min.js61220644editdlrm
media-hints.strings.js00644editdlrm
nested-accordion.294d40984397351fd0f5.bundle.min.js97610644editdlrm
nested-accordion.4340b64226322f36bcc0.bundle.js193100644editdlrm
nested-accordion.js296240644editdlrm
nested-accordion.min.js108590644editdlrm
nested-accordion.min.js.LICENSE.txt1630644editdlrm
nested-accordion.strings.js00644editdlrm
nested-elements.js206600644editdlrm
nested-elements.min.js63960644editdlrm
nested-elements.strings.js1500644editdlrm
nested-tabs.7a338e6d7e060c473993.bundle.js211590644editdlrm
nested-tabs.a2401356d329f179475e.bundle.min.js113540644editdlrm
nested-tabs.js295840644editdlrm
nested-tabs.min.js108540644editdlrm
nested-tabs.min.js.LICENSE.txt1630644editdlrm
nested-tabs.strings.js00644editdlrm
nested-title-keyboard-handler.0c2b498e3e0695a1dc19.bundle.js79180644editdlrm
nested-title-keyboard-handler.2a67d3cc630e11815acc.bundle.min.js43210644editdlrm
new-template.js160100644editdlrm
new-template.min.js70440644editdlrm
new-template.strings.js340644editdlrm
notes.js241210644editdlrm
notes.min.js90700644editdlrm
notes.strings.js2760644editdlrm
pro-free-trial-popup.js593400644editdlrm
pro-free-trial-popup.min.js84940644editdlrm
pro-free-trial-popup.strings.js00644editdlrm
pro-install-events.js31220644editdlrm
pro-install-events.min.js17500644editdlrm
pro-install-events.strings.js00644editdlrm
progress.0ea083b809812c0e3aa1.bundle.min.js7890644editdlrm
progress.b1057ba870016558bce1.bundle.js19400644editdlrm
responsive-bar.js253860644editdlrm
responsive-bar.min.js115530644editdlrm
responsive-bar.strings.js760644editdlrm
section-editor-handlers.53ffedef32043348b99b.bundle.min.js17440644editdlrm
section-editor-handlers.d65899d232b5339510d7.bundle.js34600644editdlrm
section-frontend-handlers.c3950c6b190ca134bc8d.bundle.js10070644editdlrm
section-frontend-handlers.d85ab872da118940910d.bundle.min.js4490644editdlrm
shared-editor-handlers.3023894100138e442ab0.bundle.js20170644editdlrm
shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js11740644editdlrm
shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js84810644editdlrm
shared-frontend-handlers.3b079824c37a5fe2bdaa.bundle.js162300644editdlrm
styleguide-app-initiator.js374190644editdlrm
styleguide-app-initiator.min.js133440644editdlrm
styleguide-app-initiator.min.js.LICENSE.txt1630644editdlrm
styleguide-app-initiator.strings.js3720644editdlrm
styleguide-app.04340244193733d78622.bundle.min.js262170644editdlrm
styleguide-app.36ecabae74d9b87fc5a8.bundle.js678360644editdlrm
styleguide.js989600644editdlrm
styleguide.min.js449310644editdlrm
styleguide.strings.js3720644editdlrm
tabs-handler.js1111710644editdlrm
tabs-handler.min.js214250644editdlrm
tabs-preview-handler.js1097840644editdlrm
tabs-preview-handler.min.js205920644editdlrm
tabs.18344b05d8d1ea0702bc.bundle.min.js37010644editdlrm
tabs.40498fa771d612162c53.bundle.js78540644editdlrm
text-editor.0c9960167105139d27c9.bundle.js30670644editdlrm
text-editor.45609661e409413f1cef.bundle.min.js13480644editdlrm
text-path.6db73cc0a10a70f128eb.bundle.js85600644editdlrm
text-path.a67c1f3a78d208bc7e1b.bundle.min.js33260644editdlrm
toggle.2a177a3ef4785d3dfbc5.bundle.min.js37690644editdlrm
toggle.b75e66d2aca6f6ee742e.bundle.js79580644editdlrm
vendors-redux.js2760930644editdlrm
vendors-redux.min.js691280644editdlrm
vendors-redux.min.js.LICENSE.txt10190644editdlrm
vendors-redux.strings.js4310644editdlrm
video.6e96510afa701d1f2ebc.bundle.js64790644editdlrm
video.86d44e46e43d0807e708.bundle.min.js32230644editdlrm
web-cli.js3360460644editdlrm
web-cli.min.js1192270644editdlrm
web-cli.min.js.LICENSE.txt1630644editdlrm
web-cli.strings.js00644editdlrm
webpack.runtime.js170650644editdlrm
webpack.runtime.min.js58190644editdlrm
wp-audio.0ba9114964acf4c37ca2.bundle.js7570644editdlrm
wp-audio.c9624cb6e5dc9de86abd.bundle.min.js3260644editdlrm
youtube-handler.js48020644editdlrm
youtube-handler.min.js18590644editdlrm
Edit: /home/cp072267/public_html/pornpukdee-group.com/wp-content/plugins/elementor/assets/js/ai-layout.js (544773B)
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../assets/dev/js/editor/utils/editor-one-events.js": /*!**********************************************************!*\ !*** ../assets/dev/js/editor/utils/editor-one-events.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = exports.createDebouncedWidgetPanelSearch = exports.createDebouncedFinderSearch = exports.EditorOneEventManager = void 0; var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } var EditorOneEventManager = exports.EditorOneEventManager = /*#__PURE__*/function () { function EditorOneEventManager() { (0, _classCallCheck2.default)(this, EditorOneEventManager); } return (0, _createClass2.default)(EditorOneEventManager, null, [{ key: "getEventsManager", value: function getEventsManager() { var _elementorCommon; return (_elementorCommon = elementorCommon) === null || _elementorCommon === void 0 ? void 0 : _elementorCommon.eventsManager; } }, { key: "getConfig", value: function getConfig() { var _this$getEventsManage; return (_this$getEventsManage = this.getEventsManager()) === null || _this$getEventsManage === void 0 ? void 0 : _this$getEventsManage.config; } }, { key: "canSendEvents", value: function canSendEvents() { var _elementorCommon2; return ((_elementorCommon2 = elementorCommon) === null || _elementorCommon2 === void 0 || (_elementorCommon2 = _elementorCommon2.config) === null || _elementorCommon2 === void 0 || (_elementorCommon2 = _elementorCommon2.editor_events) === null || _elementorCommon2 === void 0 ? void 0 : _elementorCommon2.can_send_events) || false; } }, { key: "isEventsManagerAvailable", value: function isEventsManagerAvailable() { var eventsManager = this.getEventsManager(); return eventsManager && 'function' === typeof eventsManager.dispatchEvent; } }, { key: "dispatchEvent", value: function dispatchEvent(eventName, payload) { try { if (!this.isEventsManagerAvailable() || !this.canSendEvents()) { return false; } this.getEventsManager().dispatchEvent(eventName, payload); return true; } catch (error) { return false; } } }, { key: "toLowerSnake", value: function toLowerSnake(value) { if (!value || 'string' !== typeof value) { return value; } return value.replace(/\s+/g, '_').toLowerCase(); } }, { key: "decodeHtmlEntities", value: function decodeHtmlEntities(text) { if (!text || 'string' !== typeof text) { return text; } var doc = new DOMParser().parseFromString(text, 'text/html'); return doc.body.textContent || text; } }, { key: "isInEditorContext", value: function isInEditorContext() { var _window$elementor; return 'undefined' !== typeof window.elementor && !!((_window$elementor = window.elementor) !== null && _window$elementor !== void 0 && _window$elementor.documents); } }, { key: "getFinderContext", value: function getFinderContext() { var _config$appTypes, _config$appTypes2, _config$locations, _config$locations2; var config = this.getConfig(); var isEditor = this.isInEditorContext(); return { windowName: isEditor ? config === null || config === void 0 || (_config$appTypes = config.appTypes) === null || _config$appTypes === void 0 ? void 0 : _config$appTypes.editor : config === null || config === void 0 || (_config$appTypes2 = config.appTypes) === null || _config$appTypes2 === void 0 ? void 0 : _config$appTypes2.wpAdmin, targetLocation: this.toLowerSnake(isEditor ? config === null || config === void 0 || (_config$locations = config.locations) === null || _config$locations === void 0 ? void 0 : _config$locations.topBar : config === null || config === void 0 || (_config$locations2 = config.locations) === null || _config$locations2 === void 0 ? void 0 : _config$locations2.sidebar) }; } }, { key: "createBasePayload", value: function createBasePayload() { var _config$appTypes$edit, _config$appTypes3, _config$appTypes$edit2, _config$appTypes4; var overrides = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var config = this.getConfig(); return _objectSpread({ app_type: (_config$appTypes$edit = config === null || config === void 0 || (_config$appTypes3 = config.appTypes) === null || _config$appTypes3 === void 0 ? void 0 : _config$appTypes3.editor) !== null && _config$appTypes$edit !== void 0 ? _config$appTypes$edit : 'editor', window_name: (_config$appTypes$edit2 = config === null || config === void 0 || (_config$appTypes4 = config.appTypes) === null || _config$appTypes4 === void 0 ? void 0 : _config$appTypes4.editor) !== null && _config$appTypes$edit2 !== void 0 ? _config$appTypes$edit2 : 'editor' }, overrides); } }, { key: "sendTopBarPublishDropdown", value: function sendTopBarPublishDropdown(targetName) { var _config$names, _config$triggers, _config$targetTypes, _config$interactionRe, _config$locations3, _config$secondaryLoca, _config$targetTypes2; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names = config.names) === null || _config$names === void 0 || (_config$names = _config$names.editorOne) === null || _config$names === void 0 ? void 0 : _config$names.topBarPublishDropdown, this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers = config.triggers) === null || _config$triggers === void 0 ? void 0 : _config$triggers.click), target_type: config === null || config === void 0 || (_config$targetTypes = config.targetTypes) === null || _config$targetTypes === void 0 ? void 0 : _config$targetTypes.dropdownItem, target_name: targetName, interaction_result: config === null || config === void 0 || (_config$interactionRe = config.interactionResults) === null || _config$interactionRe === void 0 ? void 0 : _config$interactionRe.actionSelected, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations3 = config.locations) === null || _config$locations3 === void 0 ? void 0 : _config$locations3.topBar), location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca = config.secondaryLocations) === null || _config$secondaryLoca === void 0 ? void 0 : _config$secondaryLoca.publishDropdown), location_l2: config === null || config === void 0 || (_config$targetTypes2 = config.targetTypes) === null || _config$targetTypes2 === void 0 ? void 0 : _config$targetTypes2.dropdownItem, interaction_description: 'User selected an action from the publish dropdown' })); } }, { key: "sendTopBarPageList", value: function sendTopBarPageList(targetName) { var _config$names2, _config$triggers2, _config$targetTypes3, _config$interactionRe2, _config$interactionRe3, _config$locations4, _config$secondaryLoca2, _config$targetTypes4; var isCreate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names2 = config.names) === null || _config$names2 === void 0 || (_config$names2 = _config$names2.editorOne) === null || _config$names2 === void 0 ? void 0 : _config$names2.topBarPageList, this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers2 = config.triggers) === null || _config$triggers2 === void 0 ? void 0 : _config$triggers2.click), target_type: config === null || config === void 0 || (_config$targetTypes3 = config.targetTypes) === null || _config$targetTypes3 === void 0 ? void 0 : _config$targetTypes3.dropdownItem, target_name: targetName, interaction_result: isCreate ? config === null || config === void 0 || (_config$interactionRe2 = config.interactionResults) === null || _config$interactionRe2 === void 0 ? void 0 : _config$interactionRe2.create : config === null || config === void 0 || (_config$interactionRe3 = config.interactionResults) === null || _config$interactionRe3 === void 0 ? void 0 : _config$interactionRe3.navigate, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations4 = config.locations) === null || _config$locations4 === void 0 ? void 0 : _config$locations4.topBar), location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca2 = config.secondaryLocations) === null || _config$secondaryLoca2 === void 0 ? void 0 : _config$secondaryLoca2.pageListDropdown), location_l2: config === null || config === void 0 || (_config$targetTypes4 = config.targetTypes) === null || _config$targetTypes4 === void 0 ? void 0 : _config$targetTypes4.dropdownItem, interaction_description: 'User selected an action from the page list dropdown' })); } }, { key: "sendSiteSettingsSession", value: function sendSiteSettingsSession(_ref) { var _config$names3, _config$triggers3, _config$interactionRe4, _config$locations5, _config$secondaryLoca3; var targetType = _ref.targetType, _ref$visitedItems = _ref.visitedItems, visitedItems = _ref$visitedItems === void 0 ? [] : _ref$visitedItems, _ref$savedItems = _ref.savedItems, savedItems = _ref$savedItems === void 0 ? [] : _ref$savedItems, state = _ref.state; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names3 = config.names) === null || _config$names3 === void 0 || (_config$names3 = _config$names3.editorOne) === null || _config$names3 === void 0 ? void 0 : _config$names3.siteSettingsSession, this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers3 = config.triggers) === null || _config$triggers3 === void 0 ? void 0 : _config$triggers3.click), target_type: targetType, target_name: 'site_settings', interaction_result: config === null || config === void 0 || (_config$interactionRe4 = config.interactionResults) === null || _config$interactionRe4 === void 0 ? void 0 : _config$interactionRe4.sessionEnd, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations5 = config.locations) === null || _config$locations5 === void 0 ? void 0 : _config$locations5.leftPanel), location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca3 = config.secondaryLocations) === null || _config$secondaryLoca3 === void 0 ? void 0 : _config$secondaryLoca3.siteSettings), interaction_description: 'Records areas visited as part of the site setting session', metadata: { visited_items: visitedItems, saved_items: savedItems }, state: state })); } }, { key: "sendELibraryNav", value: function sendELibraryNav(tabName) { var _config$names4, _config$triggers4, _config$targetTypes5, _config$interactionRe5, _config$locations6, _config$secondaryLoca4; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names4 = config.names) === null || _config$names4 === void 0 || (_config$names4 = _config$names4.editorOne) === null || _config$names4 === void 0 ? void 0 : _config$names4.eLibraryNav, this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers4 = config.triggers) === null || _config$triggers4 === void 0 ? void 0 : _config$triggers4.tabSelect), target_type: config === null || config === void 0 || (_config$targetTypes5 = config.targetTypes) === null || _config$targetTypes5 === void 0 ? void 0 : _config$targetTypes5.tab, target_name: this.toLowerSnake(tabName), interaction_result: config === null || config === void 0 || (_config$interactionRe5 = config.interactionResults) === null || _config$interactionRe5 === void 0 ? void 0 : _config$interactionRe5.tabChanged, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations6 = config.locations) === null || _config$locations6 === void 0 ? void 0 : _config$locations6.elementorLibrary), location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca4 = config.secondaryLocations) === null || _config$secondaryLoca4 === void 0 ? void 0 : _config$secondaryLoca4.libraryTabs), interaction_description: 'User navigates within elementor library' })); } }, { key: "sendELibraryInsert", value: function sendELibraryInsert(_ref2) { var _config$triggers5, _config$targetTypes6, _config$interactionRe6, _config$locations7, _config$secondaryLoca5, _config$names5; var assetId = _ref2.assetId, assetName = _ref2.assetName, libraryType = _ref2.libraryType, _ref2$proRequired = _ref2.proRequired, proRequired = _ref2$proRequired === void 0 ? false : _ref2$proRequired; var config = this.getConfig(); var payload = this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers5 = config.triggers) === null || _config$triggers5 === void 0 ? void 0 : _config$triggers5.insert), target_type: config === null || config === void 0 || (_config$targetTypes6 = config.targetTypes) === null || _config$targetTypes6 === void 0 ? void 0 : _config$targetTypes6.button, target_name: String(assetId), interaction_result: config === null || config === void 0 || (_config$interactionRe6 = config.interactionResults) === null || _config$interactionRe6 === void 0 ? void 0 : _config$interactionRe6.assetInserted, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations7 = config.locations) === null || _config$locations7 === void 0 ? void 0 : _config$locations7.elementorLibrary), location_l1: this.toLowerSnake(libraryType), location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca5 = config.secondaryLocations) === null || _config$secondaryLoca5 === void 0 ? void 0 : _config$secondaryLoca5.assetCard), interaction_description: 'User inserts block/pages from elementor library', metadata: { template_id: String(assetId), template_name: this.decodeHtmlEntities(assetName) || '' } }); if (proRequired) { payload.state = 'pro_plan_required'; } return this.dispatchEvent(config === null || config === void 0 || (_config$names5 = config.names) === null || _config$names5 === void 0 || (_config$names5 = _config$names5.editorOne) === null || _config$names5 === void 0 ? void 0 : _config$names5.eLibraryInsert, payload); } }, { key: "sendELibraryFavorite", value: function sendELibraryFavorite(_ref3) { var _config$triggers6, _config$targetTypes7, _config$interactionRe7, _config$locations8, _config$secondaryLoca6, _config$names6; var assetId = _ref3.assetId, assetName = _ref3.assetName, libraryType = _ref3.libraryType, isFavorite = _ref3.isFavorite, _ref3$proRequired = _ref3.proRequired, proRequired = _ref3$proRequired === void 0 ? false : _ref3$proRequired; var config = this.getConfig(); var payload = this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers6 = config.triggers) === null || _config$triggers6 === void 0 ? void 0 : _config$triggers6.click), target_type: config === null || config === void 0 || (_config$targetTypes7 = config.targetTypes) === null || _config$targetTypes7 === void 0 ? void 0 : _config$targetTypes7.toggle, target_name: String(assetId), interaction_result: config === null || config === void 0 || (_config$interactionRe7 = config.interactionResults) === null || _config$interactionRe7 === void 0 ? void 0 : _config$interactionRe7.assetFavorite, target_value: Boolean(isFavorite), target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations8 = config.locations) === null || _config$locations8 === void 0 ? void 0 : _config$locations8.elementorLibrary), location_l1: this.toLowerSnake(libraryType), location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca6 = config.secondaryLocations) === null || _config$secondaryLoca6 === void 0 ? void 0 : _config$secondaryLoca6.assetCard), interaction_description: 'User favorite block/pages from elementor library', metadata: { template_id: String(assetId), template_name: this.decodeHtmlEntities(assetName) || '' } }); if (proRequired) { payload.state = 'pro_plan_required'; } return this.dispatchEvent(config === null || config === void 0 || (_config$names6 = config.names) === null || _config$names6 === void 0 || (_config$names6 = _config$names6.editorOne) === null || _config$names6 === void 0 ? void 0 : _config$names6.eLibraryFavorite, payload); } }, { key: "sendELibraryGenerateAi", value: function sendELibraryGenerateAi(_ref4) { var _config$names7, _config$triggers7, _config$targetTypes8, _config$interactionRe8, _config$locations9, _config$secondaryLoca7; var assetId = _ref4.assetId, assetName = _ref4.assetName, libraryType = _ref4.libraryType; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names7 = config.names) === null || _config$names7 === void 0 || (_config$names7 = _config$names7.editorOne) === null || _config$names7 === void 0 ? void 0 : _config$names7.eLibraryGenerateAi, this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers7 = config.triggers) === null || _config$triggers7 === void 0 ? void 0 : _config$triggers7.click), target_type: config === null || config === void 0 || (_config$targetTypes8 = config.targetTypes) === null || _config$targetTypes8 === void 0 ? void 0 : _config$targetTypes8.button, target_name: String(assetId), interaction_result: config === null || config === void 0 || (_config$interactionRe8 = config.interactionResults) === null || _config$interactionRe8 === void 0 ? void 0 : _config$interactionRe8.aiGenerate, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations9 = config.locations) === null || _config$locations9 === void 0 ? void 0 : _config$locations9.elementorLibrary), location_l1: this.toLowerSnake(libraryType), location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca7 = config.secondaryLocations) === null || _config$secondaryLoca7 === void 0 ? void 0 : _config$secondaryLoca7.assetCard), interaction_description: 'User generated block/page based on a library asset', metadata: { template_id: String(assetId), template_name: this.decodeHtmlEntities(assetName) || '' } })); } }, { key: "sendFinderSearchInput", value: function sendFinderSearchInput(_ref5) { var _config$triggers8, _config$targetTypes9, _config$interactionRe9, _config$interactionRe0, _config$secondaryLoca8, _config$names8; var resultsCount = _ref5.resultsCount, _ref5$searchTerm = _ref5.searchTerm, searchTerm = _ref5$searchTerm === void 0 ? null : _ref5$searchTerm; var config = this.getConfig(); var hasResults = resultsCount > 0; var finderContext = this.getFinderContext(); var payload = this.createBasePayload({ window_name: finderContext.windowName, interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers8 = config.triggers) === null || _config$triggers8 === void 0 ? void 0 : _config$triggers8.typing), target_type: config === null || config === void 0 || (_config$targetTypes9 = config.targetTypes) === null || _config$targetTypes9 === void 0 ? void 0 : _config$targetTypes9.searchInput, target_name: 'finder', interaction_result: hasResults ? config === null || config === void 0 || (_config$interactionRe9 = config.interactionResults) === null || _config$interactionRe9 === void 0 ? void 0 : _config$interactionRe9.resultsUpdated : config === null || config === void 0 || (_config$interactionRe0 = config.interactionResults) === null || _config$interactionRe0 === void 0 ? void 0 : _config$interactionRe0.noResults, target_location: finderContext.targetLocation, location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca8 = config.secondaryLocations) === null || _config$secondaryLoca8 === void 0 ? void 0 : _config$secondaryLoca8.finder), interaction_description: 'Finder search input, follows debounce behavior', metadata: { results_count: resultsCount } }); if (!hasResults && searchTerm) { payload.metadata.search_term = searchTerm; } return this.dispatchEvent(config === null || config === void 0 || (_config$names8 = config.names) === null || _config$names8 === void 0 || (_config$names8 = _config$names8.editorOne) === null || _config$names8 === void 0 ? void 0 : _config$names8.finderSearchInput, payload); } }, { key: "sendFinderResultSelect", value: function sendFinderResultSelect(choice) { var _config$names9, _config$triggers9, _config$targetTypes0, _config$interactionRe1, _config$secondaryLoca9, _config$secondaryLoca0; var config = this.getConfig(); var finderContext = this.getFinderContext(); return this.dispatchEvent(config === null || config === void 0 || (_config$names9 = config.names) === null || _config$names9 === void 0 || (_config$names9 = _config$names9.editorOne) === null || _config$names9 === void 0 ? void 0 : _config$names9.finderResultSelect, this.createBasePayload({ window_name: finderContext.windowName, interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers9 = config.triggers) === null || _config$triggers9 === void 0 ? void 0 : _config$triggers9.click), target_type: config === null || config === void 0 || (_config$targetTypes0 = config.targetTypes) === null || _config$targetTypes0 === void 0 ? void 0 : _config$targetTypes0.searchResult, target_name: choice, interaction_result: config === null || config === void 0 || (_config$interactionRe1 = config.interactionResults) === null || _config$interactionRe1 === void 0 ? void 0 : _config$interactionRe1.selected, target_location: finderContext.targetLocation, location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca9 = config.secondaryLocations) === null || _config$secondaryLoca9 === void 0 ? void 0 : _config$secondaryLoca9.finder), location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca0 = config.secondaryLocations) === null || _config$secondaryLoca0 === void 0 ? void 0 : _config$secondaryLoca0.finderResults), interaction_description: 'Finder search results was selected' })); } }, { key: "sendCanvasEmptyBoxAction", value: function sendCanvasEmptyBoxAction(_ref6) { var _config$triggers0, _config$targetTypes1, _config$interactionRe10, _config$locations0, _config$secondaryLoca1, _config$names0; var targetName = _ref6.targetName, _ref6$metadata = _ref6.metadata, metadata = _ref6$metadata === void 0 ? {} : _ref6$metadata, _ref6$containerCreate = _ref6.containerCreated, containerCreated = _ref6$containerCreate === void 0 ? null : _ref6$containerCreate; var config = this.getConfig(); var payload = this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers0 = config.triggers) === null || _config$triggers0 === void 0 ? void 0 : _config$triggers0.click), target_type: config === null || config === void 0 || (_config$targetTypes1 = config.targetTypes) === null || _config$targetTypes1 === void 0 ? void 0 : _config$targetTypes1.buttons, target_name: targetName, interaction_result: config === null || config === void 0 || (_config$interactionRe10 = config.interactionResults) === null || _config$interactionRe10 === void 0 ? void 0 : _config$interactionRe10.selected, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations0 = config.locations) === null || _config$locations0 === void 0 ? void 0 : _config$locations0.canvas), location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca1 = config.secondaryLocations) === null || _config$secondaryLoca1 === void 0 ? void 0 : _config$secondaryLoca1.emptyBox), interaction_description: 'Empty box on canvas actions' }); if (Object.keys(metadata).length > 0) { payload.metadata = metadata; } if (containerCreated !== null) { payload.state = containerCreated; } return this.dispatchEvent(config === null || config === void 0 || (_config$names0 = config.names) === null || _config$names0 === void 0 || (_config$names0 = _config$names0.editorOne) === null || _config$names0 === void 0 ? void 0 : _config$names0.canvasEmptyBoxAction, payload); } }, { key: "sendWidgetPanelSearch", value: function sendWidgetPanelSearch(_ref7) { var _config$triggers1, _config$targetTypes10, _config$interactionRe11, _config$interactionRe12, _config$locations1, _config$locations10, _config$secondaryLoca10, _config$names1; var resultsCount = _ref7.resultsCount, _ref7$userInput = _ref7.userInput, userInput = _ref7$userInput === void 0 ? null : _ref7$userInput; var config = this.getConfig(); var hasResults = resultsCount > 0; var payload = this.createBasePayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers1 = config.triggers) === null || _config$triggers1 === void 0 ? void 0 : _config$triggers1.typing), target_type: config === null || config === void 0 || (_config$targetTypes10 = config.targetTypes) === null || _config$targetTypes10 === void 0 ? void 0 : _config$targetTypes10.searchWidget, target_name: 'search_widget', interaction_result: hasResults ? config === null || config === void 0 || (_config$interactionRe11 = config.interactionResults) === null || _config$interactionRe11 === void 0 ? void 0 : _config$interactionRe11.resultsUpdated : config === null || config === void 0 || (_config$interactionRe12 = config.interactionResults) === null || _config$interactionRe12 === void 0 ? void 0 : _config$interactionRe12.noResults, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations1 = config.locations) === null || _config$locations1 === void 0 ? void 0 : _config$locations1.leftPanel), location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$locations10 = config.locations) === null || _config$locations10 === void 0 ? void 0 : _config$locations10.widgetPanel), location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca10 = config.secondaryLocations) === null || _config$secondaryLoca10 === void 0 ? void 0 : _config$secondaryLoca10.searchBar), interaction_description: 'Widget search input, follows debounce behavior' }); if (!hasResults && userInput) { payload.metadata = { user_input: userInput }; } return this.dispatchEvent(config === null || config === void 0 || (_config$names1 = config.names) === null || _config$names1 === void 0 || (_config$names1 = _config$names1.editorOne) === null || _config$names1 === void 0 ? void 0 : _config$names1.widgetPanelSearch, payload); } }, { key: "createWpDashPayload", value: function createWpDashPayload() { var _config$appTypes$wpDa, _config$appTypes5, _config$locations11; var overrides = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var config = this.getConfig(); return this.createBasePayload(_objectSpread({ window_name: (_config$appTypes$wpDa = config === null || config === void 0 || (_config$appTypes5 = config.appTypes) === null || _config$appTypes5 === void 0 ? void 0 : _config$appTypes5.wpDash) !== null && _config$appTypes$wpDa !== void 0 ? _config$appTypes$wpDa : 'wpdash', target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations11 = config.locations) === null || _config$locations11 === void 0 ? void 0 : _config$locations11.wpDashAdmin), location_l2: '' }, overrides)); } }, { key: "sendWpDashElementorMenuClick", value: function sendWpDashElementorMenuClick() { var _config$names10, _config$triggers10, _config$targetTypes11, _config$interactionRe13, _config$secondaryLoca11; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names10 = config.names) === null || _config$names10 === void 0 || (_config$names10 = _config$names10.editorOne) === null || _config$names10 === void 0 ? void 0 : _config$names10.wpDashElementorMenuClick, this.createWpDashPayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers10 = config.triggers) === null || _config$triggers10 === void 0 ? void 0 : _config$triggers10.click), target_type: config === null || config === void 0 || (_config$targetTypes11 = config.targetTypes) === null || _config$targetTypes11 === void 0 ? void 0 : _config$targetTypes11.wpDashAdminMenuItem, target_name: 'elementor_menu_item', interaction_result: config === null || config === void 0 || (_config$interactionRe13 = config.interactionResults) === null || _config$interactionRe13 === void 0 ? void 0 : _config$interactionRe13.elementorSideMenuOpened, location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca11 = config.secondaryLocations) === null || _config$secondaryLoca11 === void 0 ? void 0 : _config$secondaryLoca11.wpDashElementorCoreMenu), interaction_description: 'core_user_clicked_elementor_menu_item' })); } }, { key: "sendWpDashEditorSubMenuHover", value: function sendWpDashEditorSubMenuHover() { var _config$names11, _config$triggers11, _config$targetTypes12, _config$interactionRe14, _config$secondaryLoca12; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names11 = config.names) === null || _config$names11 === void 0 || (_config$names11 = _config$names11.editorOne) === null || _config$names11 === void 0 ? void 0 : _config$names11.wpDashEditorSubMenuHover, this.createWpDashPayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers11 = config.triggers) === null || _config$triggers11 === void 0 ? void 0 : _config$triggers11.hover), target_type: config === null || config === void 0 || (_config$targetTypes12 = config.targetTypes) === null || _config$targetTypes12 === void 0 ? void 0 : _config$targetTypes12.wpDashEditorMenu, target_name: 'wpdash_editor_sub_menu', interaction_result: config === null || config === void 0 || (_config$interactionRe14 = config.interactionResults) === null || _config$interactionRe14 === void 0 ? void 0 : _config$interactionRe14.editorSubMenuOpened, location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca12 = config.secondaryLocations) === null || _config$secondaryLoca12 === void 0 ? void 0 : _config$secondaryLoca12.wpDashElementorCoreSubMenu), interaction_description: 'core_user_hovered_sub_menu' })); } }, { key: "sendWpDashThemeBuilderClick", value: function sendWpDashThemeBuilderClick() { var _config$names12, _config$triggers12, _config$targetTypes13, _config$interactionRe15, _config$secondaryLoca13; var config = this.getConfig(); return this.dispatchEvent(config === null || config === void 0 || (_config$names12 = config.names) === null || _config$names12 === void 0 || (_config$names12 = _config$names12.editorOne) === null || _config$names12 === void 0 ? void 0 : _config$names12.wpDashThemeBuilderClick, this.createWpDashPayload({ interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers12 = config.triggers) === null || _config$triggers12 === void 0 ? void 0 : _config$triggers12.click), target_type: config === null || config === void 0 || (_config$targetTypes13 = config.targetTypes) === null || _config$targetTypes13 === void 0 ? void 0 : _config$targetTypes13.wpDashSubMenuItem, target_name: 'theme_builder_menu_item', interaction_result: config === null || config === void 0 || (_config$interactionRe15 = config.interactionResults) === null || _config$interactionRe15 === void 0 ? void 0 : _config$interactionRe15.themeBuilderPromotionWindow, location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca13 = config.secondaryLocations) === null || _config$secondaryLoca13 === void 0 ? void 0 : _config$secondaryLoca13.wpDashThemeBuilder), interaction_description: 'core_user_clicked_theme_builder_menu_item' })); } }, { key: "sendSidebarMenuItemClicked", value: function sendSidebarMenuItemClicked(_ref8) { var eventId = _ref8.eventId, groupEventId = _ref8.groupEventId; try { var _config$windowNames, _config$triggers13, _config$targetTypes14, _config$interactionRe16, _config$locations12, _config$names13; var config = this.getConfig(); var payload = this.createBasePayload({ window_name: config === null || config === void 0 || (_config$windowNames = config.windowNames) === null || _config$windowNames === void 0 ? void 0 : _config$windowNames.sidebarMenu, interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers13 = config.triggers) === null || _config$triggers13 === void 0 ? void 0 : _config$triggers13.click), target_type: config === null || config === void 0 || (_config$targetTypes14 = config.targetTypes) === null || _config$targetTypes14 === void 0 ? void 0 : _config$targetTypes14.link, target_name: eventId, interaction_result: config === null || config === void 0 || (_config$interactionRe16 = config.interactionResults) === null || _config$interactionRe16 === void 0 ? void 0 : _config$interactionRe16.pageOpened, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations12 = config.locations) === null || _config$locations12 === void 0 ? void 0 : _config$locations12.sidebar) }); if (groupEventId) { payload.location_l1 = groupEventId; } return this.dispatchEvent(config === null || config === void 0 || (_config$names13 = config.names) === null || _config$names13 === void 0 || (_config$names13 = _config$names13.editorOne) === null || _config$names13 === void 0 ? void 0 : _config$names13.sidebarMenuItemClicked, payload); } catch (error) { return false; } } }, { key: "sendSidebarMenuGroupToggled", value: function sendSidebarMenuGroupToggled(_ref9) { var eventId = _ref9.eventId, isExpanded = _ref9.isExpanded; try { var _config$interactionRe17, _config$interactionRe18, _config$names14, _config$windowNames2, _config$triggers14, _config$targetTypes15, _config$locations13; var config = this.getConfig(); var interactionResult = isExpanded ? config === null || config === void 0 || (_config$interactionRe17 = config.interactionResults) === null || _config$interactionRe17 === void 0 ? void 0 : _config$interactionRe17.expanded : config === null || config === void 0 || (_config$interactionRe18 = config.interactionResults) === null || _config$interactionRe18 === void 0 ? void 0 : _config$interactionRe18.collapsed; return this.dispatchEvent(config === null || config === void 0 || (_config$names14 = config.names) === null || _config$names14 === void 0 || (_config$names14 = _config$names14.editorOne) === null || _config$names14 === void 0 ? void 0 : _config$names14.sidebarMenuGroupToggled, this.createBasePayload({ window_name: config === null || config === void 0 || (_config$windowNames2 = config.windowNames) === null || _config$windowNames2 === void 0 ? void 0 : _config$windowNames2.sidebarMenu, interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers14 = config.triggers) === null || _config$triggers14 === void 0 ? void 0 : _config$triggers14.click), target_type: config === null || config === void 0 || (_config$targetTypes15 = config.targetTypes) === null || _config$targetTypes15 === void 0 ? void 0 : _config$targetTypes15.toggle, target_name: eventId, interaction_result: interactionResult, target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations13 = config.locations) === null || _config$locations13 === void 0 ? void 0 : _config$locations13.sidebar) })); } catch (error) { return false; } } }]); }(); var createDebouncedFinderSearch = exports.createDebouncedFinderSearch = function createDebouncedFinderSearch() { var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 300; return _.debounce(function (resultsCount, searchTerm) { EditorOneEventManager.sendFinderSearchInput({ resultsCount: resultsCount, searchTerm: searchTerm }); }, delay); }; var createDebouncedWidgetPanelSearch = exports.createDebouncedWidgetPanelSearch = function createDebouncedWidgetPanelSearch() { var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 2000; return _.debounce(function (resultsCount, userInput) { EditorOneEventManager.sendWidgetPanelSearch({ resultsCount: resultsCount, userInput: userInput }); }, delay); }; var _default = exports["default"] = EditorOneEventManager; /***/ }), /***/ "../assets/dev/js/utils/react.js": /*!***************************************!*\ !*** ../assets/dev/js/utils/react.js ***! \***************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom")); var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js"); function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); } /** * Support conditional rendering of a React App to the DOM, based on the React version. * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions. * * @param { React.ReactElement } app The app to render. * @param { HTMLElement } domElement The DOM element to render the app into. * * @return {{ unmount: () => void }} The unmount function. */ function render(app, domElement) { var unmountFunction; try { var root = (0, _client.createRoot)(domElement); root.render(app); unmountFunction = function unmountFunction() { root.unmount(); }; } catch (e) { // eslint-disable-next-line react/no-deprecated ReactDOM.render(app, domElement); unmountFunction = function unmountFunction() { // eslint-disable-next-line react/no-deprecated ReactDOM.unmountComponentAtNode(domElement); }; } return { unmount: unmountFunction }; } var _default = exports["default"] = { render: render }; /***/ }), /***/ "../modules/ai/assets/js/editor/ai-layout-behavior.js": /*!************************************************************!*\ !*** ../modules/ai/assets/js/editor/ai-layout-behavior.js ***! \************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", ({ value: true })); exports["default"] = void 0; var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); var _editorIntegration = __webpack_require__(/*! ./utils/editor-integration */ "../modules/ai/assets/js/editor/utils/editor-integration.js"); var _config = __webpack_require__(/*! ./pages/form-layout/context/config */ "../modules/ai/assets/js/editor/pages/form-layout/context/config.js"); var _editorOneEvents = __webpack_require__(/*! elementor-editor-utils/editor-one-events */ "../assets/dev/js/editor/utils/editor-one-events.js"); function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } var AiLayoutBehavior = exports["default"] = /*#__PURE__*/function (_Marionette$Behavior) { function AiLayoutBehavior() { var _this; (0, _classCallCheck2.default)(this, AiLayoutBehavior); for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _callSuper(this, AiLayoutBehavior, [].concat(args)); (0, _defineProperty2.default)(_this, "previewContainer", null); return _this; } (0, _inherits2.default)(AiLayoutBehavior, _Marionette$Behavior); return (0, _createClass2.default)(AiLayoutBehavior, [{ key: "ui", value: function ui() { return { aiButton: '.e-ai-layout-button', addTemplateButton: '.elementor-add-template-button' }; } }, { key: "events", value: function events() { return { 'click @ui.aiButton': 'onAiButtonClick' }; } }, { key: "onAiButtonClick", value: function onAiButtonClick(e) { e.stopPropagation(); _editorOneEvents.EditorOneEventManager.sendCanvasEmptyBoxAction({ targetName: 'generate_with_ai' }); window.elementorAiCurrentContext = this.getOption('context'); (0, _editorIntegration.renderLayoutApp)({ parentContainer: elementor.getPreviewContainer(), mode: _config.MODE_LAYOUT, at: this.view.getOption('at'), onInsert: this.onInsert.bind(this), onRenderApp: function onRenderApp(args) { args.previewContainer.init(); }, onGenerate: function onGenerate(args) { args.previewContainer.reset(); } }); } }, { key: "hideDropArea", value: function hideDropArea() { this.view.onCloseButtonClick(); } }, { key: "onInsert", value: function onInsert(template) { this.hideDropArea(); (0, _editorIntegration.importToEditor)({ parentContainer: elementor.getPreviewContainer(), at: this.view.getOption('at'), template: template, historyTitle: (0, _i18n.__)('AI Layout', 'elementor') }); } }, { key: "onRender", value: function onRender() { var $button = jQuery('