�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`� 0x0x
PHP 8.1.34
Preview: editor.min.js Size: 1.14 MB
//home2/astrociv/public_html/gotransit.in/wp-content/plugins/elementor/assets/js/editor.min.js
(function(r,c,l,u){var p=Object.create,m=Object.defineProperty,__name=(r,c)=>m(r,`name`,{value:c,configurable:!0}),h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,v=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,__esmMin=(r,c,l)=>()=>{if(l)throw l[0];try{return r&&(c=r(r=0)),c}catch(r){throw l=[r],r}},__commonJSMin=(r,c)=>()=>(c||(r((c={exports:{}}).exports,c),r=null),c.exports),__exportAll=(r,c)=>{let l={};for(var u in r)m(l,u,{get:r[u],enumerable:!0});return c||m(l,Symbol.toStringTag,{value:`Module`}),l},__copyProps=(r,c,l,u)=>{if(c&&typeof c==`object`||typeof c==`function`)for(var p=g(c),v=0,b=p.length,x;v<b;v++)x=p[v],!y.call(r,x)&&x!==l&&m(r,x,{get:(r=>c[r]).bind(null,x),enumerable:!(u=h(c,x))||u.enumerable});return r},__toESM=(r,c,l)=>(l=r==null?{}:p(v(r)),__copyProps(c||!r||!r.__esModule?m(l,`default`,{value:r,enumerable:!0}):l,r)),__toCommonJS=r=>y.call(r,`module.exports`)?r[`module.exports`]:__copyProps(m({},`__esModule`,{value:!0}),r);l=__toESM(l),u=__toESM(u),(function(r){r.fn.elementorSerializeObject=function(){var c=this.serializeArray(),l={},u=function parseObject(r,c,l){var p=/^[^\[\]]+\[]/.test(c),m=/^[^\[\]]+\[[^\[\]]+]/.test(c),h=c.replace(/\[.*/,``);if(p)r[h]||(r[h]=[]);else{if(!m){r.push?r.push(l):r[h]=l;return}r[h]||(r[h]={})}var g=c.match(/\[[^\[\]]*]/g);return g[0]=g[0].replace(/\[|]/g,``),u(r[h],g.join(``),l)};return r.each(c,function(){u(l,this.name,this.value)}),l}})(jQuery),(function(r){var c=function hasFullDataTransferSupport(r){try{return r.originalEvent.dataTransfer.setData(`test`,`test`),r.originalEvent.dataTransfer.clearData(`test`),!0}catch(r){return!1}};r.each({html5Draggable:function Draggable(l){var u=this,p={},m={},h={element:``,groups:null,onDragStart:null,onDragEnd:null},g=function initSettings(){r.extend(!0,p,h,l)},v=function initElementsCache(){m.$element=r(p.element)},y=function buildElements(){m.$element.attr(`draggable`,!0)},b=function onDragEnd(r){typeof p.onDragEnd==`function`&&p.onDragEnd.call(m.$element,r,u)},x=function onDragStart(r){var l={groups:p.groups||[]};c(r)&&r.originalEvent.dataTransfer.setData(JSON.stringify(l),!0),typeof p.onDragStart==`function`&&p.onDragStart.call(m.$element,r,u)},S=function attachEvents(){m.$element.on(`dragstart`,x).on(`dragend`,b)},C=function init(){g(),v(),y(),S()};this.destroy=function(){m.$element.off(`dragstart`,x),m.$element.removeAttr(`draggable`)},C()},html5Droppable:function Droppable(l){var u=this,p={},m={},h,g,v=!1,y=null,b={},x={element:``,items:`>`,horizontalThreshold:0,horizontalSensitivity:`10%`,axis:[`vertical`,`horizontal`],placeholder:!0,currentElementClass:`html5dnd-current-element`,placeholderClass:`html5dnd-placeholder`,hasDraggingOnChildClass:`html5dnd-has-dragging-on-child`,groups:null,isDroppingAllowed:null,onDragEnter:null,onDragging:null,onDropping:null,onDragLeave:null},S=function initSettings(){r.extend(p,x,l)},C=function initElementsCache(){m.$element=r(p.element),m.$placeholder=r(`<div>`,{class:p.placeholderClass})},w=function hasHorizontalDetection(){return p.axis?p.axis.indexOf(`horizontal`)!==-1:b.isFlexRowContainer},T=function hasVerticalDetection(){return p.axis?p.axis.indexOf(`vertical`)!==-1:!b.isFlexRowContainer},E=function checkHorizontal(r,c,l){var u,m;if(!w())return!1;if(!T()){var h=p.horizontalThreshold,g=b.placeholderTarget.getBoundingClientRect(),v=g.left,y=g.right;return c-h<=v?`left`:c+h>=y||r>l/2?`right`:`left`}return m=p.horizontalSensitivity.match(/\d+/),m?(m=m[0],u=/%$/.test(p.horizontalSensitivity),u&&(m=l/m),r>l-m?`right`:r<m&&`left`):!1},D=function setSide(c){var l=b.placeholderTarget,u=r(l),p=u.outerHeight()-m.$placeholder.outerHeight(),h=u.outerWidth();if(c=c.originalEvent,g=E(c.offsetX,c.clientX,h),!g){if(!T()){g=null;return}var v=l.getBoundingClientRect();g=c.clientY>v.top+p/2?`bottom`:`top`}},O=function insertPlaceholder(){if(p.placeholder)switch(te(),A()){case`atomicGrid`:P();break;case`gridRow`:ae();break;case`flexRow`:oe();break;default:se();break}},k=function createPlaceholderContext(){if(!(!h||!h.nodeType)){var c=r(h),l=getComputedStyle(h).display===`contents`,u=h.closest(`.e-con`),p=u?getComputedStyle(u).display:null,m=u==null?void 0:u.querySelector(`:scope > .e-con-inner`),g=u?getComputedStyle(m||u):null,v=!!u&&[`flex`,`inline-flex`].includes(g.display),y=!!u&&[`row`,`row-reverse`].includes(g.flexDirection);return ee(u),{$currentElement:c,placeholderTarget:l?h.querySelector(`:scope > :not(.elementor-widget-placeholder)`):h,$parentContainer:c.closest(`.e-con`).parent().closest(`.e-con`),isFirstInsert:c.hasClass(`elementor-first-add`),isInnerContainer:c.hasClass(`e-con-inner`),isGridRowContainer:c.parents(`.e-grid.e-con--row`).length!==0,isAtomicGridContainer:c.closest(`.e-grid-base`).length!==0,isFlexContainer:v,isRowDirection:y,isFlexRowContainer:v&&y,isBlockContainer:[`block`,`inline-block`].includes(p),hasLogicalWrapper:l,isAtomicContainer:[`e-div-block`,`e-flexbox`,`e-grid`].includes(h.dataset.element_type)}}},ee=function maybeAddFlexRowClass(r){if(!(!r||r.classList.contains(`e-grid`))){if(b.isFlexRowContainer){r.classList.add(`e-con--row`);return}r.classList.remove(`e-con--row`)}},A=function getInsertMode(){return b.isFirstInsert?`default`:b.isAtomicGridContainer?`atomicGrid`:b.isGridRowContainer?`gridRow`:b.isFlexRowContainer?`flexRow`:b.isBlockContainer?`block`:`default`},te=function clearPreviousPlaceholder(){b.$parentContainer.find(`.elementor-widget-placeholder`).remove(),m.$placeholder.removeClass(`e-dragging-left e-dragging-right e-dragging-top e-dragging-bottom is-logical`),m.$placeholder.css(`--e-placeholder-margin-top`,``),m.$placeholder.css(`--e-placeholder-margin-bottom`,``),m.$placeholder.css(`--e-placeholder-margin-inline-start`,``),m.$placeholder.css(`--e-placeholder-width`,``)},ne=function insertPlaceholderInsideElement(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;r||(r=h);var c=[`bottom`,`right`].includes(g)?`appendTo`:`prependTo`;m.$placeholder[c](r)},re=function insertPlaceholderOutsideElement(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;c||(c=h);var l=[`bottom`,`right`].includes(g)?`after`:`before`;r(c)[l](m.$placeholder)},ie=new Set([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`param`,`source`,`track`,`wbr`]),j=function isVoidPlaceholderTarget(r){return!!(r!=null&&r.tagName)&&ie.has(r.tagName.toLowerCase())},M=function insertPlaceholderOutsideLogicalWrapperChild(){var r=b,c=r.hasLogicalWrapper,l=r.placeholderTarget;return!c||!l?!1:(re(l),!0)},N=function getDefaultPlaceholderInsertPlan(){var r=b,c=r.placeholderTarget,l=r.hasLogicalWrapper,u=r.isAtomicContainer,p=c||h;return{insertTarget:p,insertOutside:l||j(p),useLogicalAttributes:l||u}},P=function insertAtomicGridPlaceholder(){if([`top`,`bottom`].includes(g)){var r=b.placeholderTarget;m.$placeholder.addClass(`e-dragging-`+g),ne(r)}},ae=function insertGridRowPlaceholder(){var r=b,c=r.hasLogicalWrapper,l=r.placeholderTarget;c||m.$placeholder.addClass(`e-dragging-`+g),ne(l)},oe=function insertFlexRowPlaceholder(){var r=b,c=r.$currentElement,l=r.isInnerContainer;M()||re((l?c.closest(`.e-con`):c)[0])},se=function insertDefaultPlaceholder(){var r=N(),c=r.insertTarget,l=r.insertOutside;if(r.useLogicalAttributes&&ce(),l){re(c);return}ne(c)},ce=function addLogicalAttributesToPlaceholder(){var r=10,c=b.placeholderTarget,l=m.$placeholder[0];l.classList.add(`is-logical`);var u=getComputedStyle(c),p=parseFloat(u.paddingTop)||0,h=parseFloat(u.borderTopWidth)||0,v=parseFloat(u.paddingBottom)||0,y=parseFloat(u.borderBottomWidth)||0,x=parseFloat(u.paddingInlineStart)||0,S=parseFloat(u.borderInlineStartWidth)||0,C=parseFloat(u.width)||`100%`,w=p+h,T=v+y,E=x+S;l.style.setProperty(`--e-placeholder-width`,`${C}px`),l.style.setProperty(`--e-placeholder-margin-inline-start`,`-${E}px`),g===`top`?(l.style.setProperty(`--e-placeholder-margin-top`,`-${w}px`),l.style.setProperty(`--e-placeholder-margin-bottom`,`${r}px`)):g===`bottom`&&(l.style.setProperty(`--e-placeholder-margin-bottom`,`-${T}px`),l.style.setProperty(`--e-placeholder-margin-top`,`${r}px`))},le=function isDroppingAllowed(r){var l,m,v,y;return!(p.groups&&c(r)&&(l=r.originalEvent.dataTransfer.types,v=!1,l=Array.prototype.slice.apply(l),l.forEach(function(r){try{if(m=JSON.parse(r),!m.groups.slice)return;p.groups.forEach(function(r){if(m.groups.indexOf(r)!==-1)return v=!0,!1})}catch(r){}}),!v)||typeof p.isDroppingAllowed==`function`&&(y=p.isDroppingAllowed.call(h,g,r,u),!y))},ue=function onDragEnter(c){if(c.stopPropagation(),!h){h=this;var l=m.$element.parents(),x=m.$element.children();x.find(`.`+p.currentElementClass).removeClass(p.currentElementClass),l.add(x).each(function(){var c=r(this).data(`html5Droppable`);c&&c.doDragLeave()}),b=k(),D(c),$e.internal(`editor/browser-import/validate`,{input:c.originalEvent.dataTransfer.items}).then(function(l){var b,x,S;v=le(c)||l,v&&((b=h)!=null&&(b=b.classList)!=null&&b.contains(`elementor-first-add`)&&(x=(S=h).closest)!=null&&x.call(S,`.e-grid-base`)&&(y=h.style.opacity||``,h.style.opacity=`1`,r(document).on(`dragend`,L)),O(),m.$element.addClass(p.hasDraggingOnChildClass),r(h).addClass(p.currentElementClass),typeof p.onDragEnter==`function`&&p.onDragEnter.call(h,g,c,u))})}},I=function onDragOver(r){r.stopPropagation(),h||ue.call(this,r);var c=g;D(r),v&&(r.preventDefault(),c!==g&&O(),typeof p.onDragging==`function`&&p.onDragging.call(this,g,r,u))},de=function restoreFirstAddOpacity(){var r;y!==null&&(r=h)!=null&&r.style&&(h.style.opacity=y,y=null)},L=function onDocumentDragEnd(){r(document).off(`dragend`,L),de()},fe=function onDragLeave(c){var l=this.getBoundingClientRect();c.type===`dragleave`&&!(c.clientX<l.left||c.clientX>=l.right||c.clientY<l.top||c.clientY>=l.bottom)||(r(h).removeClass(p.currentElementClass),u.doDragLeave(),v=!1)},R=function onDrop(r){r.preventDefault(),D(r),v&&p.onDropping&&p.onDropping(g,r)},pe=function attachEvents(){m.$element.on(`dragenter`,p.items,ue).on(`dragover`,p.items,I).on(`drop`,p.items,R).on(`dragleave drop`,p.items,fe)},me=function init(){S(),C(),pe()};this.doDragLeave=function(){p.placeholder&&m.$placeholder.remove(),m.$element.removeClass(p.hasDraggingOnChildClass),r(document).off(`dragend`,L),de(),typeof p.onDragLeave==`function`&&p.onDragLeave.call(h,event,u),h=g=null},this.destroy=function(){m.$element.off(`dragenter`,p.items,ue).off(`dragover`,p.items,I).off(`drop`,p.items,R).off(`dragleave drop`,p.items,fe)},me()}},function(c,l){r.fn[c]=function(u){return u=u||{},this.each(function(){var p=r.data(this,c);if(p instanceof l){u===`destroy`&&(p.destroy(),r.removeData(this,c));return}else if(u===`destroy`)return;u.element=this,r.data(this,c,new l(u))}),this}})})(jQuery);function _classCallCheck(r,c){if(!(r instanceof c))throw TypeError(`Cannot call a class as a function`)}var b=__esmMin((()=>{}));function _typeof(r){"@babel/helpers - typeof";return _typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(r){return typeof r}:function(r){return r&&typeof Symbol==`function`&&r.constructor===Symbol&&r!==Symbol.prototype?`symbol`:typeof r},_typeof(r)}var x=__esmMin((()=>{}));function toPrimitive(r,c){if(_typeof(r)!=`object`||!r)return r;var l=r[Symbol.toPrimitive];if(l!==void 0){var u=l.call(r,c||`default`);if(_typeof(u)!=`object`)return u;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(c===`string`?String:Number)(r)}var S=__esmMin((()=>{x()}));function toPropertyKey(r){var c=toPrimitive(r,`string`);return _typeof(c)==`symbol`?c:c+``}var C=__esmMin((()=>{x(),S()}));function _defineProperties(r,c){for(var l=0;l<c.length;l++){var u=c[l];u.enumerable=u.enumerable||!1,u.configurable=!0,`value`in u&&(u.writable=!0),Object.defineProperty(r,toPropertyKey(u.key),u)}}function _createClass(r,c,l){return c&&_defineProperties(r.prototype,c),l&&_defineProperties(r,l),Object.defineProperty(r,"prototype",{writable:!1}),r}var w=__esmMin((()=>{C()}));function _assertThisInitialized(r){if(r===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return r}var T=__esmMin((()=>{}));function _possibleConstructorReturn(r,c){if(c&&(_typeof(c)==`object`||typeof c==`function`))return c;if(c!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return _assertThisInitialized(r)}var E=__esmMin((()=>{x(),T()}));function _getPrototypeOf(r){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_getPrototypeOf(r)}var D=__esmMin((()=>{}));function _superPropBase(r,c){for(;!{}.hasOwnProperty.call(r,c)&&(r=_getPrototypeOf(r))!==null;);return r}var O=__esmMin((()=>{D()}));function _get(){return _get=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(r,c,l){var u=_superPropBase(r,c);if(u){var p=Object.getOwnPropertyDescriptor(u,c);return p.get?p.get.call(arguments.length<3?r:l):p.value}},_get.apply(null,arguments)}var k=__esmMin((()=>{O()}));function _setPrototypeOf(r,c){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,c){return r.__proto__=c,r},_setPrototypeOf(r,c)}var ee=__esmMin((()=>{}));function _inherits(r,c){if(typeof c!=`function`&&c!==null)throw TypeError(`Super expression must either be null or a function`);r.prototype=Object.create(c&&c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&&_setPrototypeOf(r,c)}var A=__esmMin((()=>{ee()}));function _arrayWithHoles(r){if(Array.isArray(r))return r}var te=__esmMin((()=>{}));function _iterableToArrayLimit(r,c){var l=r==null?null:typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(l!=null){var u,p,m,h,g=[],v=!0,y=!1;try{if(m=(l=l.call(r)).next,c===0){if(Object(l)!==l)return;v=!1}else for(;!(v=(u=m.call(l)).done)&&(g.push(u.value),g.length!==c);v=!0);}catch(r){y=!0,p=r}finally{try{if(!v&&l.return!=null&&(h=l.return(),Object(h)!==h))return}finally{if(y)throw p}}return g}}var ne=__esmMin((()=>{}));function _arrayLikeToArray$10(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}var re=__esmMin((()=>{__name(_arrayLikeToArray$10,`_arrayLikeToArray`)}));function _unsupportedIterableToArray$10(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$10(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$10(r,c):void 0}}var ie=__esmMin((()=>{re(),__name(_unsupportedIterableToArray$10,`_unsupportedIterableToArray`)}));function _nonIterableRest(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var j=__esmMin((()=>{}));function _slicedToArray(r,c){return _arrayWithHoles(r)||_iterableToArrayLimit(r,c)||_unsupportedIterableToArray$10(r,c)||_nonIterableRest()}var M=__esmMin((()=>{te(),ne(),ie(),j()}));function asyncGeneratorStep(r,c,l,u,p,m,h){try{var g=r[m](h),v=g.value}catch(r){l(r);return}g.done?c(v):Promise.resolve(v).then(u,p)}function _asyncToGenerator(r){return function(){var c=this,l=arguments;return new Promise(function(u,p){var m=r.apply(c,l);function _next(r){asyncGeneratorStep(m,u,p,_next,_throw,`next`,r)}function _throw(r){asyncGeneratorStep(m,u,p,_next,_throw,`throw`,r)}_next(void 0)})}}var N=__esmMin((()=>{}));function _defineProperty(r,c,l){return(c=toPropertyKey(c))in r?Object.defineProperty(r,c,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[c]=l,r}var P=__esmMin((()=>{C()})),ae=__commonJSMin(((r,c)=>{function _OverloadYield(r,c){this.v=r,this.k=c}c.exports=_OverloadYield,c.exports.__esModule=!0,c.exports.default=c.exports})),oe=__commonJSMin(((r,c)=>{function _regeneratorDefine(r,l,u,p){var m=Object.defineProperty;try{m({},``,{})}catch(r){m=0}c.exports=_regeneratorDefine=function regeneratorDefine(r,c,l,u){function o(c,l){_regeneratorDefine(r,c,function(r){return this._invoke(c,l,r)})}c?m?m(r,c,{value:l,enumerable:!u,configurable:!u,writable:!u}):r[c]=l:(o(`next`,0),o(`throw`,1),o(`return`,2))},c.exports.__esModule=!0,c.exports.default=c.exports,_regeneratorDefine(r,l,u,p)}c.exports=_regeneratorDefine,c.exports.__esModule=!0,c.exports.default=c.exports})),se=__commonJSMin(((r,c)=>{var l=oe();function _regenerator(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var r,u,p=typeof Symbol==`function`?Symbol:{},m=p.iterator||`@@iterator`,h=p.toStringTag||`@@toStringTag`;function i(c,p,m,h){var v=p&&p.prototype instanceof Generator?p:Generator,y=Object.create(v.prototype);return l(y,`_invoke`,function(c,l,p){var m,h,v,y=0,b=p||[],x=!1,S={p:0,n:0,v:r,a:d,f:d.bind(r,4),d:function d(c,l){return m=c,h=0,v=r,S.n=l,g}};function d(c,l){for(h=c,v=l,u=0;!x&&y&&!p&&u<b.length;u++){var p,m=b[u],C=S.p,w=m[2];c>3?(p=w===l)&&(v=m[(h=m[4])?5:(h=3,3)],m[4]=m[5]=r):m[0]<=C&&((p=c<2&&C<m[1])?(h=0,S.v=l,S.n=m[1]):C<w&&(p=c<3||m[0]>l||l>w)&&(m[4]=c,m[5]=l,S.n=w,h=0))}if(p||c>1)return g;throw x=!0,l}return function(p,b,C){if(y>1)throw TypeError(`Generator is already running`);for(x&&b===1&&d(b,C),h=b,v=C;(u=h<2?r:v)||!x;){m||(h?h<3?(h>1&&(S.n=-1),d(h,v)):S.n=v:S.v=v);try{if(y=2,m){if(h||(p=`next`),u=m[p]){if(!(u=u.call(m,v)))throw TypeError(`iterator result is not an object`);if(!u.done)return u;v=u.value,h<2&&(h=0)}else h===1&&(u=m.return)&&u.call(m),h<2&&(v=TypeError(`The iterator does not provide a '`+p+`' method`),h=1);m=r}else if((u=(x=S.n<0)?v:c.call(l,S))!==g)break}catch(c){m=r,h=1,v=c}finally{y=1}}return{value:u,done:x}}}(c,m,h),!0),y}var g={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}u=Object.getPrototypeOf;var v=[][m]?u(u([][m]())):(l(u={},m,function(){return this}),u),y=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(v);function f(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,l(r,h,`GeneratorFunction`)),r.prototype=Object.create(y),r}return GeneratorFunction.prototype=GeneratorFunctionPrototype,l(y,`constructor`,GeneratorFunctionPrototype),l(GeneratorFunctionPrototype,`constructor`,GeneratorFunction),GeneratorFunction.displayName=`GeneratorFunction`,l(GeneratorFunctionPrototype,h,`GeneratorFunction`),l(y),l(y,h,`Generator`),l(y,m,function(){return this}),l(y,`toString`,function(){return`[object Generator]`}),(c.exports=_regenerator=function _regenerator(){return{w:i,m:f}},c.exports.__esModule=!0,c.exports.default=c.exports)()}c.exports=_regenerator,c.exports.__esModule=!0,c.exports.default=c.exports})),ce=__commonJSMin(((r,c)=>{var l=ae(),u=oe();function AsyncIterator(r,c){function n(u,p,m,h){try{var g=r[u](p),v=g.value;return v instanceof l?c.resolve(v.v).then(function(r){n(`next`,r,m,h)},function(r){n(`throw`,r,m,h)}):c.resolve(v).then(function(r){g.value=r,m(g)},function(r){return n(`throw`,r,m,h)})}catch(r){h(r)}}var p;this.next||(u(AsyncIterator.prototype),u(AsyncIterator.prototype,typeof Symbol==`function`&&Symbol.asyncIterator||`@asyncIterator`,function(){return this})),u(this,`_invoke`,function(r,l,u){function f(){return new c(function(c,l){n(r,u,c,l)})}return p=p?p.then(f,f):f()},!0)}c.exports=AsyncIterator,c.exports.__esModule=!0,c.exports.default=c.exports})),le=__commonJSMin(((r,c)=>{var l=se(),u=ce();function _regeneratorAsyncGen(r,c,p,m,h){return new u(l().w(r,c,p,m),h||Promise)}c.exports=_regeneratorAsyncGen,c.exports.__esModule=!0,c.exports.default=c.exports})),ue=__commonJSMin(((r,c)=>{var l=le();function _regeneratorAsync(r,c,u,p,m){var h=l(r,c,u,p,m);return h.next().then(function(r){return r.done?r.value:h.next()})}c.exports=_regeneratorAsync,c.exports.__esModule=!0,c.exports.default=c.exports})),I=__commonJSMin(((r,c)=>{function _regeneratorKeys(r){var c=Object(r),l=[];for(var u in c)l.unshift(u);return function e(){for(;l.length;)if((u=l.pop())in c)return e.value=u,e.done=!1,e;return e.done=!0,e}}c.exports=_regeneratorKeys,c.exports.__esModule=!0,c.exports.default=c.exports})),de=__commonJSMin(((r,c)=>{function _typeof(r){"@babel/helpers - typeof";return c.exports=_typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(r){return typeof r}:function(r){return r&&typeof Symbol==`function`&&r.constructor===Symbol&&r!==Symbol.prototype?`symbol`:typeof r},c.exports.__esModule=!0,c.exports.default=c.exports,_typeof(r)}c.exports=_typeof,c.exports.__esModule=!0,c.exports.default=c.exports})),L=__commonJSMin(((r,c)=>{var l=de().default;function _regeneratorValues(r){if(r!=null){var c=r[typeof Symbol==`function`&&Symbol.iterator||`@@iterator`],u=0;if(c)return c.call(r);if(typeof r.next==`function`)return r;if(!isNaN(r.length))return{next:function next(){return r&&u>=r.length&&(r=void 0),{value:r&&r[u++],done:!r}}}}throw TypeError(l(r)+` is not iterable`)}c.exports=_regeneratorValues,c.exports.__esModule=!0,c.exports.default=c.exports})),fe=__commonJSMin(((r,c)=>{var l=ae(),u=se(),p=ue(),m=le(),h=ce(),g=I(),v=L();function _regeneratorRuntime(){"use strict";var r=u(),y=r.m(_regeneratorRuntime),b=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function n(r){var c=typeof r==`function`&&r.constructor;return!!c&&(c===b||(c.displayName||c.name)===`GeneratorFunction`)}var x={throw:1,return:2,break:3,continue:3};function a(r){var c,l;return function(u){c||(c={stop:function stop(){return l(u.a,2)},catch:function _catch(){return u.v},abrupt:function abrupt(r,c){return l(u.a,x[r],c)},delegateYield:function delegateYield(r,p,m){return c.resultName=p,l(u.d,v(r),m)},finish:function finish(r){return l(u.f,r)}},l=function t(r,l,p){u.p=c.prev,u.n=c.next;try{return r(l,p)}finally{c.next=u.n}}),c.resultName&&(c[c.resultName]=u.v,c.resultName=void 0),c.sent=u.v,c.next=u.n;try{return r.call(this,c)}finally{u.p=c.prev,u.n=c.next}}}return(c.exports=_regeneratorRuntime=function _regeneratorRuntime(){return{wrap:function wrap(c,l,u,p){return r.w(a(c),l,u,p&&p.reverse())},isGeneratorFunction:n,mark:r.m,awrap:function awrap(r,c){return new l(r,c)},AsyncIterator:h,async:function async(r,c,l,u,h){return(n(c)?m:p)(a(r),c,l,u,h)},keys:g,values:v}},c.exports.__esModule=!0,c.exports.default=c.exports)()}c.exports=_regeneratorRuntime,c.exports.__esModule=!0,c.exports.default=c.exports})),R=__commonJSMin(((r,c)=>{var l=fe()();c.exports=l;try{regeneratorRuntime=l}catch(r){typeof globalThis==`object`?globalThis.regeneratorRuntime=l:Function(`r`,`regeneratorRuntime = r`)(l)}}));function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray$10(r)}var pe=__esmMin((()=>{re()}));function _iterableToArray(r){if(typeof Symbol<`u`&&r[Symbol.iterator]!=null||r[`@@iterator`]!=null)return Array.from(r)}var me=__esmMin((()=>{}));function _nonIterableSpread(){throw TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var he=__esmMin((()=>{}));function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray$10(r)||_nonIterableSpread()}var ge=__esmMin((()=>{pe(),me(),ie(),he()})),_e=__commonJSMin(((r,c)=>{c.exports=elementorModules.Module.extend({errors:[],__construct:function __construct(r){var c=r.customValidationMethod;c&&(this.validationMethod=c)},getDefaultSettings:function getDefaultSettings(){return{validationTerms:{}}},isValid:function isValid(){var r=this.validationMethod.apply(this,arguments);return r.length?(this.errors=r,!1):!0},validationMethod:function validationMethod(r){var c=this.getSettings(`validationTerms`),l=[];return c.required&&((``+r).length||l.push(`Required value is empty`)),l}})})),ve=__commonJSMin(((r,c)=>{c.exports=_e().extend({validationMethod:function validationMethod(r){var c=this.getSettings(`validationTerms`),l=[];return _.isFinite(r)&&(c.min!==void 0&&r<c.min&&l.push(`Value is less than minimum`),c.max!==void 0&&r>c.max&&l.push(`Value is greater than maximum`)),l}})}));function _callSuper$321(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$322()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$322(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$322=function _isNativeReflectConstruct(){return!!r})()}var ye,be,xe=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$321,`_callSuper`),__name(_isNativeReflectConstruct$322,`_isNativeReflectConstruct`),ye=ve(),be=function(r){function BreakpointValidator(){return _classCallCheck(this,BreakpointValidator),_callSuper$321(this,BreakpointValidator,arguments)}return _inherits(BreakpointValidator,r),_createClass(BreakpointValidator,[{key:`getDefaultSettings`,value:function getDefaultSettings(){return{validationTerms:{max:5120}}}},{key:`getPanelActiveBreakpoints`,value:function getPanelActiveBreakpoints(){var r=elementor.documents.currentDocument.config.settings.settings.active_breakpoints.map(function(r){return r.replace(`viewport_`,``)}),c={};return r.forEach(function(r){c[r]=elementorFrontend.config.responsive.breakpoints[r]}),c}},{key:`initBreakpointProperties`,value:function initBreakpointProperties(){var r,c,l=this.getSettings(`validationTerms`),u=this.getPanelActiveBreakpoints(),p=Object.keys(u);this.breakpointIndex=p.indexOf(l.breakpointName),this.topBreakpoint=(r=u[p[this.breakpointIndex+1]])==null?void 0:r.value,this.bottomBreakpoint=(c=u[p[this.breakpointIndex-1]])==null?void 0:c.value}},{key:`validationMethod`,value:function validationMethod(r){var c=this.getSettings(`validationTerms`),l=ye.prototype.validationMethod.call(this,r);return(_.isFinite(r)||r===``)&&(this.validateMinMaxForBreakpoint(r,c)||l.push(`Value is not between the breakpoints above or under the edited breakpoint`)),l}},{key:`validateMinMaxForBreakpoint`,value:function validateMinMaxForBreakpoint(r,c){var l=elementorFrontend.config.responsive.breakpoints[c.breakpointName].default_value,u=!0;return this.initBreakpointProperties(),c.breakpointName===`mobile`&&this.bottomBreakpoint===320&&--this.bottomBreakpoint,this.bottomBreakpoint&&(r!==``&&r<=this.bottomBreakpoint&&(u=!1),r===``&&l<=this.bottomBreakpoint&&(u=!1)),this.topBreakpoint&&(r!==``&&r>=this.topBreakpoint&&(u=!1),r===``&&l>=this.topBreakpoint&&(u=!1)),u}}])}(ye)})),Se=__commonJSMin(((r,c)=>{P();function ownKeys(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}c.exports=Marionette.CompositeView.extend({ui:function ui(){return{controlTitle:`.elementor-control-title`}},behaviors:function behaviors(){return elementor.hooks.applyFilters(`controls/base/behaviors`,{},this)},getBehavior:function getBehavior(r){return this._behaviors[Object.keys(this.behaviors()).indexOf(r)]},className:function className(){var r=`elementor-control elementor-control-`+this.model.get(`name`)+` elementor-control-type-`+this.model.get(`type`),c=this.model.get(`classes`),l=this.model.get(`responsive`);if(_.isEmpty(c)||(r+=` `+c),!_.isEmpty(l)){var u=l.max||l.min;r+=` elementor-control-responsive-`+u}return r},templateHelpers:function templateHelpers(){var r={_cid:this.model.cid};return{view:this,data:_.extend({},this.model.toJSON(),r)}},getTemplate:function getTemplate(){return Marionette.TemplateCache.get(`#tmpl-elementor-control-`+this.model.get(`type`)+`-content`)},initialize:function initialize(r){var c=this.model.get(`label`);Object.defineProperty(this,"container",{get:function get(){if(!r.container){var l=r.elementSettingsModel,u=$e.components.get(`document`).utils.findViewById(l.id);u&&u.getContainer?r.container=u.getContainer():(l.id||(l.id=`bc-`+elementorCommon.helpers.getUniqueId()),r.container=new elementorModules.editor.Container({type:`bc-container`,id:l.id,model:l,settings:l,label:c,view:!1,parent:!1,renderer:!1,controls:l.options.controls}))}return r.container}}),Object.defineProperty(this,"elementSettingsModel",{get:function get(){return elementorDevTools.deprecation.deprecated(`elementSettingsModel`,`2.8.0`,`container.settings`),r.container?r.container.settings:r.elementSettingsModel}});var l=this.model.get(`type`),u=jQuery.extend(!0,{},elementor.config.controls[l],this.model.attributes);this.model.set(u);var p=this.container?this.container.settings:this.elementSettingsModel;this.listenTo(p,`change`,this.onAfterChange),this.model.attributes.responsive&&(this.onDeviceModeChange=this.onDeviceModeChange.bind(this),elementor.listenTo(elementor.channels.deviceMode,`change`,this.onDeviceModeChange))},onDestroy:function onDestroy(){elementor.stopListening(elementor.channels.deviceMode,`change`,this.onDeviceModeChange)},onDeviceModeChange:function onDeviceModeChange(){this.toggleControlVisibility()},onAfterChange:function onAfterChange(){this.toggleControlVisibility()},toggleControlVisibility:function toggleControlVisibility(){var r=this.container?this.container.settings:this.elementSettingsModel,c=elementor.helpers.isActiveControl(this.model,r.attributes,r.controls);this.$el.toggleClass(`elementor-hidden-control`,!c),elementor.getPanelView().updateScrollbar()},onRender:function onRender(){var r=this.model.get(`label_block`)?`block`:`inline`,c=this.model.get(`show_label`),l=`elementor-label-`+r;l+=` elementor-control-separator-`+this.model.get(`separator`),c||(l+=` elementor-control-hidden-label`),this.$el.addClass(l),this.toggleControlVisibility()},reRoute:function reRoute(r){$e.route($e.routes.getCurrent(`panel`),this.getControlInRouteArgs(r?this.getControlPath():``),{history:!1})},getControlInRouteArgs:function getControlInRouteArgs(r){return _objectSpread(_objectSpread({},$e.routes.getCurrentArgs(`panel`)),{},{activeControl:r})},getControlPath:function getControlPath(){for(var r=this.model.get(`name`),c=this._parent;!c.$el.hasClass(`elementor-controls-stack`);)r=(c.model.get(`name`)||c.model.get(`_id`))+`/`+r,c=c._parent;return r}})})),Ce=__commonJSMin(((r,c)=>{c.exports=Marionette.ItemView.extend({className:`elementor-tag-controls-stack-empty`,template:`#tmpl-elementor-tag-controls-stack-empty`})})),we=__commonJSMin(((r,c)=>{var l=Ce();c.exports=elementorModules.editor.views.ControlsStack.extend({activeTab:`content`,template:_.noop,emptyView:l,isEmpty:function isEmpty(){return this.collection.length<2},childViewOptions:function childViewOptions(){return{container:this.options.container}},getNamespaceArray:function getNamespaceArray(){var r=elementor.getPanelView().getCurrentPageView(),c=r.getNamespaceArray();return c.push(r.activeSection),c.push(this.getOption(`controlName`)),c.push(this.getOption(`name`)),c},onRenderTemplate:function onRenderTemplate(){this.activateFirstSection()}})})),Te=__commonJSMin(((r,c)=>{var l=we();c.exports=Marionette.ItemView.extend({className:`elementor-dynamic-cover e-input-style`,tagControlsStack:null,templateHelpers:function templateHelpers(){var r={};return this.model&&(r.controls=this.model.options.controls),r},ui:{remove:`.elementor-dynamic-cover__remove`},events:function events(){var r={"click @ui.remove":`onRemoveClick`};return this.hasSettings()&&(r.click=`onClick`),r},getTemplate:function getTemplate(){var r=this.getTagConfig(),c=Marionette.TemplateCache.get(`#tmpl-elementor-control-dynamic-cover`),l=Marionette.Renderer.render(c,{hasSettings:this.hasSettings(),isRemovable:!this.getOption(`dynamicSettings`).default,title:r.title,content:r.panel_template});return Marionette.TemplateCache.prototype.compileTemplate(l.trim())},getTagConfig:function getTagConfig(){return elementor.dynamicTags.getConfig(`tags.`+this.getOption(`name`))},initSettingsPopup:function initSettingsPopup(){var r={className:`elementor-tag-settings-popup`,position:{my:`left top+5`,at:`left bottom`,of:this.$el,autoRefresh:!0},hide:{ignore:`.select2-container`}},c=elementorCommon.dialogsManager.createWidget(`buttons`,r);this.getSettingsPopup=function(){return c}},hasSettings:function hasSettings(){return!!Object.values(this.getTagConfig().controls).length},showSettingsPopup:function showSettingsPopup(){this.tagControlsStack||this.initTagControlsStack();var r=this.getSettingsPopup();r.isVisible()||r.show()},initTagControlsStack:function initTagControlsStack(){this.tagControlsStack=new l({model:this.model,controls:this.model.controls,name:this.options.name,controlName:this.options.controlName,container:this.options.container,el:this.getSettingsPopup().getElements(`message`)[0]}),this.tagControlsStack.render()},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getOption(`settings`),{controls:this.getTagConfig().controls})},initialize:function initialize(){this.initModel(),this.hasSettings()&&(this.initSettingsPopup(),this.listenTo(this.model,`change`,this.render))},onClick:function onClick(){this.showSettingsPopup()},onRemoveClick:function onRemoveClick(r){r.stopPropagation(),this.destroy(),this.trigger(`remove`)},onDestroy:function onDestroy(){this.hasSettings()&&this.getSettingsPopup().destroy(),this.tagControlsStack&&this.tagControlsStack.destroy()}})})),Ee=__commonJSMin(((c,l)=>{P();var u=Te();l.exports=Marionette.Behavior.extend({tagView:null,listenerAttached:!1,initialize:function initialize(){this.listenerAttached||(this.listenTo(this.view.options.container.settings,`change:external:__dynamic__`,this.onAfterExternalChange),this.listenerAttached=!0)},shouldRenderTools:function shouldRenderTools(){if(this.getOption(`dynamicSettings`).default)return!1;var r=elementor.helpers.hasPro()&&!elementor.helpers.hasProAndNotConnected(),c=this.getOption(`tags`).length>0;return!r||c},renderTools:function renderTools(){var r=this;if(this.shouldRenderTools()){var c=jQuery(Marionette.Renderer.render(`#tmpl-elementor-control-dynamic-switcher`));c.on(`click`,function(c){return r.onDynamicSwitcherClick(c)}),this.$el.find(`.elementor-control-dynamic-switcher-wrapper`).append(c),this.ui.dynamicSwitcher=c,this.view.model.get(`type`)===`color`&&(this.view.colorPicker?this.moveDynamicSwitcherToColorPicker():setTimeout(function(){return r.moveDynamicSwitcherToColorPicker()})),this.ui.dynamicSwitcher.tipsy({title:function title(){return this.getAttribute(`data-tooltip`)},gravity:`s`})}},moveDynamicSwitcherToColorPicker:function moveDynamicSwitcherToColorPicker(){var r=this.view.colorPicker.$pickerToolsContainer;this.ui.dynamicSwitcher.removeClass(`elementor-control-unit-1`).addClass(`e-control-tool`);var c=r.find(`.elementor-control-element-color-picker`);c.length?this.ui.dynamicSwitcher.insertBefore(c):r.append(this.ui.dynamicSwitcher)},toggleDynamicClass:function toggleDynamicClass(){this.$el.toggleClass(`elementor-control-dynamic-value`,this.isDynamicMode())},isDynamicMode:function isDynamicMode(){var r=this.view.container.settings.get(`__dynamic__`);return!!(r&&r[this.view.model.get(`name`)])},createTagsList:function createTagsList(){var r=_.groupBy(this.getOption(`tags`),`group`),c=elementor.dynamicTags.getConfig(`groups`),l=this.ui.tagsList=jQuery(`<div>`,{class:`elementor-tags-list`}),u=jQuery(`<div>`,{class:`elementor-tags-list__inner`});if(l.append(u),jQuery.each(c,function(c){var l=r[c];if(l){var p=this,m=jQuery(`<div>`,{class:`elementor-tags-list__group-title`}).text(p.title);u.append(m),l.forEach(function(r){var c=jQuery(`<div>`,{class:`elementor-tags-list__item`});c.text(r.title).attr(`data-tag-name`,r.name),u.append(c)})}}),!elementor.helpers.hasPro()&&Object.keys(r).length){var p=Marionette.Renderer.render(`#tmpl-elementor-dynamic-tags-promo`,{promotionUrl:elementor.config.dynamicPromotionURL.replace(`%s`,this.view.model.get(`name`))});u.append(p)}u.on(`click`,`.elementor-tags-list__item`,this.onTagsListItemClick.bind(this)),elementorCommon.elements.$body.append(l)},getTagsList:function getTagsList(){return this.ui.tagsList||this.createTagsList(),this.ui.tagsList},toggleTagsList:function toggleTagsList(){var r=this.getTagsList();if(r.is(`:visible`)){r.hide();return}var c=elementorCommon.config.isRTL?`left`:`right`;r.show().position({my:`${c} top`,at:`${c} bottom+5`,of:this.ui.dynamicSwitcher})},setTagView:function setTagView(r,c,l){this.tagView&&this.tagView.destroy();var p=this.tagView=new u({id:r,name:c,settings:l,controlName:this.view.model.get(`name`),dynamicSettings:this.getOption(`dynamicSettings`)}),m=this.view.options.container,h=m.controls[p.options.controlName].label;p.options.container=new elementorModules.editor.Container({type:`dynamic`,id:r,model:p.model,settings:p.model,view:p,parent:m,label:m.label+` `+h,controls:p.model.options.controls,renderer:m}),p.render(),this.$el.find(`.elementor-control-tag-area`).after(p.el),this.listenTo(p,`remove`,this.onTagViewRemove.bind(this))},setDefaultTagView:function setDefaultTagView(){var r=elementor.dynamicTags.tagTextToTagData(this.getDynamicValue());this.setTagView(r.id,r.name,r.settings)},tagViewToTagText:function tagViewToTagText(){var r=this.tagView;return elementor.dynamicTags.tagDataToTagText(r.getOption(`id`),r.getOption(`name`),r.model)},getDynamicValue:function getDynamicValue(){return this.view.container.dynamic.get(this.view.model.get(`name`))},destroyTagView:function destroyTagView(){this.tagView&&(this.tagView.destroy(),this.tagView=null)},showPromotion:function showPromotion(){var c=elementor.helpers.hasProAndNotConnected(),l={title:(0,r.__)(`Dynamic Content`,`elementor`),content:(0,r.__)(`Create more personalized and dynamic sites by populating data from various sources with dozens of dynamic tags to choose from.`,`elementor`),targetElement:this.ui.dynamicSwitcher,position:{blockStart:`-10`},actionButton:{url:c?elementorProEditorConfig.urls.connect:elementor.config.dynamicPromotionURL.replace(`%s`,this.view.model.get(`name`)),text:c?(0,r.__)(`Connect & Activate`,`elementor`):(0,r.__)(`Upgrade`,`elementor`)}};elementor.promotion.showDialog(l)},onRender:function onRender(){this.$el.addClass(`elementor-control-dynamic`),this.renderTools(),this.toggleDynamicClass(),this.isDynamicMode()&&this.setDefaultTagView()},onDynamicSwitcherClick:function onDynamicSwitcherClick(r){r.stopPropagation(),this.getOption(`tags`).length?this.toggleTagsList():this.showPromotion()},onTagsListItemClick:function onTagsListItemClick(r){var c=jQuery(r.currentTarget);this.setTagView(elementorCommon.helpers.getUniqueId(),c.data(`tagName`),{}),this.view.getGlobalKey()&&this.view.triggerMethod(`unset:global:value`),this.isDynamicMode()?$e.run(`document/dynamic/settings`,{container:this.view.options.container,settings:_defineProperty({},this.view.model.get(`name`),this.tagViewToTagText())}):$e.run(`document/dynamic/enable`,{container:this.view.options.container,settings:_defineProperty({},this.view.model.get(`name`),this.tagViewToTagText())}),this.toggleDynamicClass(),this.toggleTagsList(),this.tagView.getTagConfig().settings_required&&this.tagView.showSettingsPopup()},onTagViewRemove:function onTagViewRemove(){$e.run(`document/dynamic/disable`,{container:this.view.options.container,settings:_defineProperty({},this.view.model.get(`name`),this.tagViewToTagText())}),this.toggleDynamicClass()},onAfterExternalChange:function onAfterExternalChange(){this.destroyTagView(),this.isDynamicMode()&&this.setDefaultTagView(),this.toggleDynamicClass()},onDestroy:function onDestroy(){this.destroyTagView(),this.ui.tagsList&&this.ui.tagsList.remove()}})})),z=__commonJSMin(((r,c)=>{M(),P(),xe();function _createForOfIteratorHelper(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}function _unsupportedIterableToArray(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray(r,c):void 0}}function _arrayLikeToArray(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}var l=Se(),u=Ee(),p=_e(),m=ve();c.exports=l.extend({validatorTypes:{Base:p,Number:m,Breakpoint:be},ui:function ui(){var r=l.prototype.ui.apply(this,arguments);return _.extend(r,{input:`input[data-setting][type!="checkbox"][type!="radio"]`,checkbox:`input[data-setting][type="checkbox"]`,radio:`input[data-setting][type="radio"]`,select:`select[data-setting]`,textarea:`textarea[data-setting]`,responsiveSwitchersSibling:`${r.controlTitle}[data-e-responsive-switcher-sibling!="false"]`,responsiveSwitchers:`.elementor-responsive-switcher`,contentEditable:`[contenteditable="true"]`}),r},templateHelpers:function templateHelpers(){var r=l.prototype.templateHelpers.apply(this,arguments);return r.data.controlValue=this.getControlValue(),r},events:function events(){return{"input @ui.input":`onBaseInputTextChange`,"change @ui.checkbox":`onBaseInputChange`,"change @ui.radio":`onBaseInputChange`,"input @ui.textarea":`onBaseInputTextChange`,"change @ui.select":`onBaseInputChange`,"input @ui.contentEditable":`onBaseInputTextChange`,"click @ui.responsiveSwitchers":`onResponsiveSwitchersClick`}},behaviors:function behaviors(){var r=l.prototype.behaviors.apply(this,arguments),c=this.options.model.get(`dynamic`);if(c&&c.active){var p=_.filter(elementor.dynamicTags.getConfig(`tags`),function(r){return r.editable&&_.intersection(r.categories,c.categories).length});(p.length||elementor.config.user.is_administrator)&&(r.tags={behaviorClass:u,tags:p,dynamicSettings:c})}return r},initialize:function initialize(){l.prototype.initialize.apply(this,arguments),this.registerValidators(),this.model.get(`responsive`)&&this.setPlaceholderFromParent(),this.model.get(`inherit_placeholders`)===void 0&&this.model.set(`inherit_placeholders`,!0);var r=this.container?this.container.settings:this.elementSettingsModel;this.listenTo(r,`change:external:`+this.model.get(`name`),this.onAfterExternalChange)},getControlValue:function getControlValue(){return this.container.settings.get(this.model.get(`name`))},getGlobalKey:function getGlobalKey(){return this.container.globals.get(this.model.get(`name`))},getGlobalValue:function getGlobalValue(){return this.globalValue},getGlobalDefault:function getGlobalDefault(){var r=this.model.get(`global`);if(r!=null&&r.default){if(!elementor.config.globals.defaults_enabled[this.getGlobalMeta().controlType])return``;var c=$e.data.commandExtractArgs(r.default),l=c.command,u=c.args,p=$e.data.getCache($e.components.get(`globals`),l,u.query);return p==null?void 0:p.value}return``},getCurrentValue:function getCurrentValue(){return this.getGlobalKey()&&!this.globalValue?``:this.globalValue?this.globalValue:this.getControlValue()||this.getGlobalDefault()},isGlobalActive:function isGlobalActive(){var r;return(r=this.options.model.get(`global`))==null?void 0:r.active},setValue:function setValue(r){this.setSettingsModel(r)},setSettingsModel:function setSettingsModel(r){var c=this.model.get(`name`);$e.run(`document/elements/settings`,{container:this.options.container,settings:_defineProperty({},c,r)}),this.triggerMethod(`settings:change`)},applySavedValue:function applySavedValue(){this.setInputValue(`[data-setting="`+this.model.get(`name`)+`"]`,this.getControlValue())},getEditSettings:function getEditSettings(r){var c=this.getOption(`elementEditSettings`).toJSON();return r?c[r]:c},setEditSetting:function setEditSetting(r,c){(this.getOption(`elementEditSettings`)||this.getOption(`container`).settings).set(r,c)},getControlPlaceholder:function getControlPlaceholder(){var r=this.model.get(`placeholder`);return this.model.get(`responsive`)&&this.model.get(`inherit_placeholders`)&&(r=r||this.container.placeholders[this.model.get(`name`)]),r},getResponsiveParentView:function getResponsiveParentView(){var r=this.model.get(`parent`);try{return r&&this.container.panel.getControlView(r)}catch(r){}},getResponsiveChildrenViews:function getResponsiveChildrenViews(){var r=this.model.get(`inheritors`),c=[];try{var l=_createForOfIteratorHelper(r),u;try{for(l.s();!(u=l.n()).done;){var p=u.value;c.push(this.container.panel.getControlView(p))}}catch(r){l.e(r)}finally{l.f()}}catch(r){}return c},setPlaceholderFromParent:function setPlaceholderFromParent(){var r=this.getResponsiveParentView();r&&(this.container.placeholders[this.model.get(`name`)]=r.preparePlaceholderForChildren())},preparePlaceholderForChildren:function preparePlaceholderForChildren(){var r,c=this.getCleanControlValue(),l=(r=this.getResponsiveParentView())==null?void 0:r.preparePlaceholderForChildren();return c instanceof Object?Object.assign({},l,c):c||l},propagatePlaceholder:function propagatePlaceholder(){var r=_createForOfIteratorHelper(this.getResponsiveChildrenViews()),c;try{for(r.s();!(c=r.n()).done;)c.value.renderWithChildren()}catch(c){r.e(c)}finally{r.f()}},renderWithChildren:function renderWithChildren(){this.render(),this.propagatePlaceholder()},getCleanControlValue:function getCleanControlValue(){var r=this.getControlValue();return r&&r!==this.model.get(`default`)?r:void 0},onAfterChange:function onAfterChange(r){Object.keys(r.changed).includes(this.model.get(`name`))&&this.propagatePlaceholder(),l.prototype.onAfterChange.apply(this,arguments)},getInputValue:function getInputValue(r){var c=this.$(r);if(c.is(`[contenteditable="true"]`))return c.html();var l=c.val(),u=c.attr(`type`);return[`radio`,`checkbox`].indexOf(u)===-1?u===`number`&&_.isFinite(l)?+l:(r.tagName===`SELECT`&&c.prop(`multiple`)&&l===null&&(l=[]),l):c.prop(`checked`)?l:``},setInputValue:function setInputValue(r,c){var l=this.$(r),u=l.attr(`type`);u===`checkbox`?l.prop(`checked`,!!c):u===`radio`?l.filter(`[value="`+c+`"]`).prop(`checked`,!0):l.val(c)},addValidator:function addValidator(r){this.validators.push(r)},registerValidators:function registerValidators(){var r=this;this.validators=[];var c={};this.model.get(`required`)&&(c.required=!0),jQuery.isEmptyObject(c)||this.addValidator(new this.validatorTypes.Base({validationTerms:c}));var l=this.model.get(`validators`);l&&Object.entries(l).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];r.addValidator(new r.validatorTypes[u]({validationTerms:p}))})},onBeforeRender:function onBeforeRender(){this.setPlaceholderFromParent()},onRender:function onRender(){l.prototype.onRender.apply(this,arguments),this.model.get(`responsive`)&&this.renderResponsiveSwitchers(),this.applySavedValue(),this.triggerMethod(`ready`),this.toggleControlVisibility(),this.addTooltip()},onBaseInputTextChange:function onBaseInputTextChange(r){this.onBaseInputChange(r)},onBaseInputChange:function onBaseInputChange(r){clearTimeout(this.correctionTimeout);var c=r.currentTarget,l=this.getInputValue(c),u=this.validators.slice(0),p=this.container.settings.validators[this.model.get(`name`)];if(p&&(u=u.concat(p)),u){var m=this.getControlValue(c.dataset.setting);if(!u.every(function(r){return r.isValid(l,m)})){this.correctionTimeout=setTimeout(this.setInputValue.bind(this,c,m),1200);return}}this.updateElementModel(l,c),this.triggerMethod(`input:change`,r)},onResponsiveSwitchersClick:function onResponsiveSwitchersClick(r){var c=jQuery(r.currentTarget),l=c.data(`device`),u=this.ui.responsiveSwitchersWrapper,p=c.index();u.toggleClass(`elementor-responsive-switchers-open`),u[0].style.setProperty(`--selected-option`,p),this.triggerMethod(`responsive:switcher:click`,l),elementor.changeDeviceMode(l)},renderResponsiveSwitchers:function renderResponsiveSwitchers(){var r=Marionette.Renderer.render(`#tmpl-elementor-control-responsive-switchers`,this.model.attributes);this.ui.responsiveSwitchersSibling.after(r),this.ui.responsiveSwitchersWrapper=this.$el.find(`.elementor-control-responsive-switchers`)},onAfterExternalChange:function onAfterExternalChange(){this.hideTooltip(),this.applySavedValue()},addTooltip:function addTooltip(){this.ui.tooltipTargets=this.$el.find(`.tooltip-target`),this.ui.tooltipTargets.length&&this.ui.tooltipTargets.tipsy({gravity:function gravity(){var r=jQuery(this).data(`tooltip-pos`);return r===void 0?`s`:r},title:function title(){return this.getAttribute(`data-tooltip`)}})},hideTooltip:function hideTooltip(){this.ui.tooltipTargets.length&&this.ui.tooltipTargets.tipsy(`hide`)},updateElementModel:function updateElementModel(r){this.setValue(r)}},{getStyleValue:function getStyleValue(r,c,l){return r===`DEFAULT`?l.default:c},onPasteStyle:function onPasteStyle(){return!0}})}));function _callSuper$320(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$321()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$321(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$321=function _isNativeReflectConstruct(){return!!r})()}var De,Oe=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$320,`_callSuper`),__name(_isNativeReflectConstruct$321,`_isNativeReflectConstruct`),De=function(c){function ColorPicker(){var r;_classCallCheck(this,ColorPicker);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$320(this,ColorPicker,[].concat(l)),r.createPicker(),r}return _inherits(ColorPicker,c),_createClass(ColorPicker,[{key:`getDefaultSettings`,value:function getDefaultSettings(){return{picker:{theme:`monolith`,position:`bottom-middle`,components:{opacity:!0,hue:!0,interaction:{input:!0,hex:!0,rgba:!0,hsla:!0}}},classes:{active:`elementor-active`,pickerHeader:`elementor-color-picker__header`,pickerToolsContainer:`e-color-picker__tools`,pickerTool:`e-control-tool`,clearButton:`e-color-picker__clear`,plusIcon:`eicon-plus`}}}},{key:`createPicker`,value:function createPicker(){var r=this,c=this.getSettings(`picker`);c.default=c.default||null,this.picker=new Pickr(c),this.picker.setColor(c.default||`#020101`),this.color=this.processColor(),this.picker.on(`change`,function(){return r.onPickerChange()}).on(`clear`,function(){return r.onPickerClear()}).on(`show`,function(){return r.onPickerShow()}).on(`hide`,function(){return r.onPickerHide()}),this.$pickerAppContainer=jQuery(this.picker.getRoot().app),this.createPickerHeader()}},{key:`addTipsyToClearButton`,value:function addTipsyToClearButton(){this.$clearButton.tipsy({title:function title(){return(0,r.__)(`Clear`,`elementor`)},gravity:function gravity(){return`s`}})}},{key:`processColor`,value:function processColor(){var r=this.picker.getColor();return(r.a===1?r.toHEXA():r.toRGBA()).toString()}},{key:`getColor`,value:function getColor(){return this.color}},{key:`createPickerHeader`,value:function createPickerHeader(){var c=this.getSettings().classes,l=jQuery(`<div>`,{class:c.pickerHeader}).text((0,r.__)(`Color Picker`,`elementor`)),u=jQuery(`<div>`,{class:c.pickerToolsContainer}),p=this.getSettings(`addButton`);this.$pickerToolsContainer=u,p&&this.createAddButton(),this.createClearButton(),u.append(this.$clearButton,this.$addButton),l.append(u),this.$pickerAppContainer.prepend(l)}},{key:`createAddButton`,value:function createAddButton(){var c=this,l=this.getSettings().classes;this.$addButton=jQuery(`<button>`,{class:l.pickerTool}).html(jQuery(`<i>`,{class:l.plusIcon})),this.$addButton.on(`click`,function(){return c.onAddButtonClick()}),this.$addButton.tipsy({title:function title(){return(0,r.__)(`Create New Global Color`,`elementor`)},gravity:function gravity(){return`s`}})}},{key:`createClearButton`,value:function createClearButton(){var r=this,c=this.getSettings().classes;this.$clearButton=jQuery(`<button>`,{class:c.clearButton+` `+c.pickerTool}).html(`<i class="eicon-undo"></i>`),this.$clearButton.on(`click`,function(){return r.picker._clearColor()}),this.addTipsyToClearButton()}},{key:`destroy`,value:function destroy(){this.picker.destroyAndRemove()}},{key:`fixTipsyForFF`,value:function fixTipsyForFF(r){r.data(`tipsy`).hide()}},{key:`introductionViewed`,value:function introductionViewed(){return ColorPicker.droppingIntroductionViewed||elementor.config.user.introduction.colorPickerDropping}},{key:`toggleClearButtonState`,value:function toggleClearButtonState(r){this.$clearButton.toggleClass(`e-control-tool-disabled`,!r)}},{key:`onPickerChange`,value:function onPickerChange(){this.picker.applyColor();var r=this.processColor();if(r!==this.color){this.color=r;var c=this.getSettings(`onChange`);c&&c()}}},{key:`onPickerClear`,value:function onPickerClear(){this.color=``;var r=this.getSettings(`onClear`);r&&r()}},{key:`onPickerShow`,value:function onPickerShow(){var r=this.picker.getRoot().interaction.result,c=this.getSettings(`onPickerShow`);c&&c(),setTimeout(function(){r.select()},100)}},{key:`onPickerHide`,value:function onPickerHide(){var r=this.getSettings(`onPickerHide`);r&&r()}},{key:`onAddButtonClick`,value:function onAddButtonClick(){this.picker.hide();var r=this.getSettings(`onAddButtonClick`);r&&r(),this.fixTipsyForFF(this.$addButton)}}])}(elementorModules.Module)}));N(),ge(),b(),w(),E(),D(),k(),A();var B=__toESM(R()),ke=__toESM(z());Oe();function _callSuper$319(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$320()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$319,`_callSuper`);function _isNativeReflectConstruct$320(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$320=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$320,`_isNativeReflectConstruct`);function _superPropGet$37(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$37,`_superPropGet`);var Ae=function(c){function _default(){return _classCallCheck(this,_default),_callSuper$319(this,_default,arguments)}return _inherits(_default,c),_createClass(_default,[{key:`ui`,value:function ui(){var r=_superPropGet$37(_default,`ui`,this,3)([]);return r.pickerContainer=`.elementor-color-picker-placeholder`,r}},{key:`applySavedValue`,value:function applySavedValue(){var r=this.getCurrentValue();if(this.colorPicker)if(r){var c,l=this.colorPicker.picker._parseLocalColor(r);(c=this.colorPicker.picker).setHSVA.apply(c,_toConsumableArray(l.values).concat([!1]))}else this.colorPicker.picker._clearColor(!0);else this.initPicker();this.$el.toggleClass(`e-control-color--no-value`,!r)}},{key:`initPicker`,value:function initPicker(){var r,c=this,l={picker:{el:this.ui.pickerContainer[0],default:this.getCurrentValue(),components:{opacity:this.model.get(`alpha`)},defaultRepresentation:`HEX`},addButton:(r=this.model.get(`global`))==null?void 0:r.active,onChange:function onChange(){return c.onPickerChange()},onClear:function onClear(){return c.onPickerClear()},onAddButtonClick:function onAddButtonClick(){return c.onAddGlobalButtonClick()},onPickerShow:function onPickerShow(){return c.reRoute(!0)},onPickerHide:function onPickerHide(){return c.reRoute(!1)}};this.colorPicker=new De(l),this.hidePickerOnPreviewClick(),this.$pickerButton=jQuery(this.colorPicker.picker.getRoot().button),this.addTipsyToPickerButton(),this.addEyedropper(),this.$pickerButton.on(`click`,function(){return c.onPickerButtonClick()}),jQuery(this.colorPicker.picker.getRoot().root).addClass(`elementor-control-unit-1 elementor-control-tag-area`)}},{key:`hidePickerOnPreviewClick`,value:function hidePickerOnPreviewClick(){var r=this.colorPicker.picker,c=r.constructor.utils;r._eventBindings.push(c.on(elementorFrontend.elements.window.document,[`touchstart`,`pointerdown`],function(){r.isOpen()&&r.hide()}))}},{key:`addTipsyToPickerButton`,value:function addTipsyToPickerButton(){var c=this;this.$pickerButton.tipsy({title:function title(){var l=c.getCurrentValue();return c.getGlobalKey()&&!l&&(l=`${(0,r.__)(`Invalid Global Color`,`elementor`)}`),l||``},offset:4,gravity:function gravity(){return`s`}})}},{key:`addEyedropper`,value:function addEyedropper(){var c=this,l=jQuery(Marionette.Renderer.render(`#tmpl-elementor-control-element-color-picker`)),u=this.colorPicker.$pickerToolsContainer,p=this.getOption(`container`),m=null;p.document.config.type===`kit`&&(m=p.document),l.tipsy({title:function title(){return(0,r.__)(`Color Sampler`,`elementor`)},gravity:`s`}),l.on(`click`,function(){$e.run(`elements-color-picker/start`,{container:p,kit:m,control:c.model.get(`name`),trigger:l[0]})}),u.append(l)}},{key:`getGlobalMeta`,value:function getGlobalMeta(){return{commandName:this.getGlobalCommand(),key:this.model.get(`name`),controlType:`colors`,route:`panel/global/global-colors`}}},{key:`getNameAlreadyExistsMessage`,value:function getNameAlreadyExistsMessage(){return`<i class="eicon-info-circle"></i> `+(0,r.__)(`Please note that the same exact color already exists in your Global Colors list. Are you sure you want to create it?`,`elementor`)}},{key:`getConfirmTextMessage`,value:function getConfirmTextMessage(){return(0,r.__)(`Are you sure you want to create a new Global Color?`,`elementor`)}},{key:`getAddGlobalConfirmMessage`,value:function getAddGlobalConfirmMessage(c){for(var l=(0,r.__)(`New Global Color`,`elementor`),u=this.getCurrentValue(),p=jQuery(`<div>`,{class:`e-global__confirm-message`}),m=jQuery(`<div>`,{class:`e-global__confirm-message-text`}),h=jQuery(`<div>`,{class:`e-global__confirm-input-wrapper`}),g=this.createColorPreviewBox(u),v=jQuery(`<input>`,{type:`text`,name:`global-name`,placeholder:l}).val(l),y,b=0,x=Object.values(c);b<x.length;b++){var S=x[b];if(u===S.value){y=this.getNameAlreadyExistsMessage();break}else if(l===S.title){y=this.getConfirmTextMessage();break}else y=(0,r.__)(`Are you sure you want to create a new Global Color?`,`elementor`)}return m.html(y),h.append(g,v),p.append(m,h),p}},{key:`getGlobalCommand`,value:function getGlobalCommand(){return`globals/colors`}},{key:`createGlobalItemMarkup`,value:function createGlobalItemMarkup(r){var c=jQuery(`<div>`,{class:`e-global__preview-item e-global__color`,"data-global-id":r.id}),l=this.createColorPreviewBox(r.value),u=jQuery(`<span>`,{class:`e-global__color-title`}).html(_.escape(r.title)),p=jQuery(`<span>`,{class:`e-global__color-hex`}).text(r.value);return c.append(l,u,p),c}},{key:`createHeaderItemMarkup`,value:function createHeaderItemMarkup(r){return jQuery(`<div>`,{class:`e-global__group-header`}).text(r)}},{key:`createColorPreviewBox`,value:function createColorPreviewBox(r){var c=jQuery(`<div>`,{class:`e-global__color-preview-container`}),l=jQuery(`<div>`,{class:`e-global__color-preview-color`,style:`background-color: `+r}),u=jQuery(`<div>`,{class:`e-global__color-preview-transparent-bg`});return c.append(u,l),c}},{key:`getGlobalsList`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){var r;return B.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=1,$e.data.get(this.getGlobalCommand());case 1:return r=c.sent,c.abrupt(`return`,r.data);case 2:case`end`:return c.stop()}},_callee,this)}));function getGlobalsList(){return r.apply(this,arguments)}return getGlobalsList}()},{key:`buildGlobalsList`,value:function buildGlobalsList(c,l){var u=this,p=[],m=[];Object.values(c).forEach(function(r){r.value&&(r.group===`v4`?p.push(r):m.push(r))}),p.length&&(l.append(this.createHeaderItemMarkup((0,r.__)(`Atomic Variables`,`elementor`))),p.forEach(function(r){l.append(u.createGlobalItemMarkup(r))}),l.append(this.createHeaderItemMarkup((0,r.__)(`Global Colors`,`elementor`)))),m.forEach(function(r){l.append(u.createGlobalItemMarkup(r))})}},{key:`onPickerChange`,value:function onPickerChange(){this.setValue(this.colorPicker.picker.getColor().toHEXA().toString()),this.isCustom||(this.triggerMethod(`value:type:change`),this.colorPicker.toggleClearButtonState(!0),this.$el.hasClass(`e-control-color--no-value`)&&this.$el.removeClass(`e-control-color--no-value`),this.isCustom=!0)}},{key:`onPickerClear`,value:function onPickerClear(){this.isCustom=!1,this.setValue(``),this.triggerMethod(`value:type:change`),this.applySavedValue(),this.colorPicker.toggleClearButtonState(!1)}},{key:`onPickerButtonClick`,value:function onPickerButtonClick(){this.getGlobalKey()?this.triggerMethod(`unset:global:value`):this.isGlobalActive()&&!this.getControlValue()&&this.getGlobalDefault()&&this.triggerMethod(`unlink:global:default`),this.colorPicker.toggleClearButtonState(!!this.getCurrentValue())}},{key:`onAddGlobalButtonClick`,value:function onAddGlobalButtonClick(){var r=this;this.getGlobalsList().then(function(c){r.globalsList=c,r.triggerMethod(`add:global:to:list`,r.getAddGlobalConfirmMessage(c))})}},{key:`activate`,value:function activate(){this.colorPicker.picker.show()}},{key:`onBeforeDestroy`,value:function onBeforeDestroy(){this.colorPicker&&this.colorPicker.destroy()}}])}(ke.default);b(),w(),E(),D(),k(),A();function _callSuper$318(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$319()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$318,`_callSuper`);function _isNativeReflectConstruct$319(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$319=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$319,`_isNativeReflectConstruct`);function _superPropGet$36(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$36,`_superPropGet`);var je=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$318(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`onReady`,value:function onReady(){var r=_.extend({enableTime:!0,minuteIncrement:1},this.model.get(`picker_options`));this.ui.input.flatpickr(r)}},{key:`onBaseInputChange`,value:function onBaseInputChange(){var r;_superPropGet$36(_default,`onBaseInputChange`,this,3)(arguments),(r=this.model.get(`validation`))!=null&&r.date_time&&this.validateDateTime()}},{key:`validateDateTime`,value:function validateDateTime(){var r=this.model.get(`validation`).date_time,c=r.control_name,l=r.operator,u=this.options.container.settings.get(c),p=this.ui.input.val();if(!(!u||!p)){var m=new Date(u).getTime(),h=new Date(p).getTime();elementor.conditions.compare(m,h,l)&&this.ui.input.val(``)}}},{key:`onBeforeDestroy`,value:function onBeforeDestroy(){this.ui.input.flatpickr().destroy()}}])}(z());function _superPropGet$35(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}var Me,Ne=__esmMin((()=>{b(),w(),D(),k(),__name(_superPropGet$35,`_superPropGet`),Me=function(){function InstanceType(){var r=this;_classCallCheck(this,InstanceType);for(var c=this instanceof InstanceType?this.constructor:void 0,l=[];c.__proto__&&c.__proto__.name;)l.push(c.__proto__),c=c.__proto__;l.reverse().forEach(function(c){return r instanceof c})}return _createClass(InstanceType,null,[{key:Symbol.hasInstance,value:function value(r){var c=_superPropGet$35(InstanceType,Symbol.hasInstance,this,2)([r]);if(r&&!r.constructor.getInstanceType)return c;if(r&&(r.instanceTypes||(r.instanceTypes=[]),c||this.getInstanceType()===r.constructor.getInstanceType()&&(c=!0),c)){var l=this.getInstanceType===InstanceType.getInstanceType?`BaseInstanceType`:this.getInstanceType();r.instanceTypes.indexOf(l)===-1&&r.instanceTypes.push(l)}return!c&&r&&(c=r.instanceTypes&&Array.isArray(r.instanceTypes)&&r.instanceTypes.indexOf(this.getInstanceType())!==-1),c}},{key:`getInstanceType`,value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}])}()}));function _createForOfIteratorHelper$9(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$9(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}function _unsupportedIterableToArray$9(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$9(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$9(r,c):void 0}}function _arrayLikeToArray$9(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}var Pe,Fe=__esmMin((()=>{__name(_createForOfIteratorHelper$9,`_createForOfIteratorHelper`),__name(_unsupportedIterableToArray$9,`_unsupportedIterableToArray`),__name(_arrayLikeToArray$9,`_arrayLikeToArray`),Pe=__name((function(r,c){c=Array.isArray(c)?c:[c];var l=_createForOfIteratorHelper$9(c),u;try{for(l.s();!(u=l.n()).done;){var p=u.value;if(r.constructor.name===p.prototype[Symbol.toStringTag])return!0}}catch(r){l.e(r)}finally{l.f()}return!1}),`default`)}));function _callSuper$317(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$318()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$318(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$318=function _isNativeReflectConstruct(){return!!r})()}var Ie,Le=__esmMin((()=>{x(),b(),w(),E(),D(),A(),Ne(),Fe(),__name(_callSuper$317,`_callSuper`),__name(_isNativeReflectConstruct$318,`_isNativeReflectConstruct`),Ie=function(r){function ArgsObject(r){var c;return _classCallCheck(this,ArgsObject),c=_callSuper$317(this,ArgsObject),c.args=r,c}return _inherits(ArgsObject,r),_createClass(ArgsObject,[{key:`requireArgument`,value:function requireArgument(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(c,r))throw Error(`${r} is required.`)}},{key:`requireArgumentType`,value:function requireArgumentType(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(r,l),_typeof(l[r])!==c)throw Error(`${r} invalid type: ${c}.`)}},{key:`requireArgumentInstance`,value:function requireArgumentInstance(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(r,l),!(l[r]instanceof c)&&!Pe(l[r],c))throw Error(`${r} invalid instance.`)}},{key:`requireArgumentConstructor`,value:function requireArgumentConstructor(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.args;if(this.requireArgument(r,l),l[r].constructor.toString()!==c.prototype.constructor.toString())throw Error(`${r} invalid constructor type.`)}}],[{key:`getInstanceType`,value:function getInstanceType(){return`ArgsObject`}}])}(Me)})),Re,ze=__esmMin((()=>{b(),w(),Re=function(){function Console(){_classCallCheck(this,Console)}return _createClass(Console,null,[{key:`error`,value:function error(r){$e.devTools&&$e.devTools.log.error(r),r instanceof $e.modules.HookBreak||console.error(r)}},{key:`warn`,value:function warn(){for(var r,c=`font-size: 12px; background-image: url("${elementorWebCliConfig.urls.assets}images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;`,l=arguments.length,u=Array(l),p=0;p<l;p++)u[p]=arguments[p];u.unshift(`%c  %c`,c,``),(r=console).warn.apply(r,u)}}])}()})),Be,Ve,He,Ue,We=__esmMin((()=>{M(),b(),w(),ze(),Be=function softDeprecated(r,c,l){elementorWebCliConfig.isDebug&&He(`soft`,r,c,l)},Ve=function hardDeprecated(r,c,l){He(`hard`,r,c,l)},He=function deprecatedMessage(r,c,l,u){var p=`\`${c}\` is ${r} deprecated since ${l}`;u&&(p+=` - Use \`${u}\` instead`),Re.warn(p)},Ue=function(){function Deprecation(){_classCallCheck(this,Deprecation)}return _createClass(Deprecation,null,[{key:`deprecated`,value:function deprecated(r,c,l){this.isHardDeprecated(c)?Ve(r,c,l):Be(r,c,l)}},{key:`parseVersion`,value:function parseVersion(r){var c=r.split(`.`);if(c.length<3||c.length>4)throw RangeError(`Invalid Semantic Version string provided`);var l=_slicedToArray(c,4),u=l[0],p=l[1],m=l[2],h=l[3];return{major1:parseInt(u),major2:parseInt(p),minor:parseInt(m),build:h===void 0?``:h}}},{key:`getTotalMajor`,value:function getTotalMajor(r){var c=parseInt(`${r.major1}${r.major2}0`);return c=Number((c/10).toFixed(0)),r.major2>9&&(c=r.major2-9),c}},{key:`compareVersion`,value:function compareVersion(r,c){var l=this;return[this.parseVersion(r),this.parseVersion(c)].map(function(r){return l.getTotalMajor(r)}).reduce(function(r,c){return r-c})}},{key:`isSoftDeprecated`,value:function isSoftDeprecated(r){return this.compareVersion(r,elementorWebCliConfig.version)<=4}},{key:`isHardDeprecated`,value:function isHardDeprecated(r){var c=this.compareVersion(r,elementorWebCliConfig.version);return c<0||c>=8}}])}()}));function _callSuper$316(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$317()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$317(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$317=function _isNativeReflectConstruct(){return!!r})()}var Ge,Ke=__esmMin((()=>{b(),w(),E(),D(),A(),P(),Le(),We(),__name(_callSuper$316,`_callSuper`),__name(_isNativeReflectConstruct$317,`_isNativeReflectConstruct`),Ge=function(r){function CommandInfra(){var r,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(_classCallCheck(this,CommandInfra),r=_callSuper$316(this,CommandInfra,[c]),!r.constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return r.command=r.constructor.getCommand(),r.component=r.constructor.getComponent(),r.initialize(c),c=r.args,r.validateArgs(c),r}return _inherits(CommandInfra,r),_createClass(CommandInfra,[{key:`currentCommand`,get:function get(){return Ue.deprecated(`this.currentCommand`,`3.7.0`,`this.command`),this.command}},{key:`initialize`,value:function initialize(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`validateArgs`,value:function validateArgs(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`apply`,value:function apply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],elementorModules.ForceMethodImplementation()}},{key:`run`,value:function run(){return this.apply(this.args)}},{key:`onBeforeRun`,value:function onBeforeRun(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`onAfterRun`,value:function onAfterRun(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1]}},{key:`onBeforeApply`,value:function onBeforeApply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0]}},{key:`onAfterApply`,value:function onAfterApply(){arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1]}},{key:`onCatchApply`,value:function onCatchApply(r){}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandInfra`}},{key:`getInfo`,value:function getInfo(){return{}}},{key:`getCommand`,value:function getCommand(){return this.registerConfig.command}},{key:`getComponent`,value:function getComponent(){return this.registerConfig.component}},{key:`setRegisterConfig`,value:function setRegisterConfig(r){this.registerConfig=Object.freeze(r)}}])}(Ie),_defineProperty(Ge,`registerConfig`,null)}));function _callSuper$315(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$316()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$316(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$316=function _isNativeReflectConstruct(){return!!r})()}var qe,Je=__esmMin((()=>{b(),w(),E(),D(),A(),Ke(),We(),__name(_callSuper$315,`_callSuper`),__name(_isNativeReflectConstruct$316,`_isNativeReflectConstruct`),qe=function(r){function CommandBase(){return _classCallCheck(this,CommandBase),_callSuper$315(this,CommandBase,arguments)}return _inherits(CommandBase,r),_createClass(CommandBase,[{key:`onBeforeRun`,value:function onBeforeRun(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$e.hooks.runUIBefore(this.command,r)}},{key:`onAfterRun`,value:function onAfterRun(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,r,c)}},{key:`onBeforeApply`,value:function onBeforeApply(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$e.hooks.runDataDependency(this.command,r)}},{key:`onAfterApply`,value:function onAfterApply(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0;return $e.hooks.runDataAfter(this.command,r,c)}},{key:`onCatchApply`,value:function onCatchApply(r){this.runCatchHooks(r)}},{key:`runCatchHooks`,value:function runCatchHooks(r){$e.hooks.runDataCatch(this.command,this.args,r),$e.hooks.runUICatch(this.command,this.args,r)}},{key:`requireContainer`,value:function requireContainer(){var r=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.args;if(Ue.deprecated(`requireContainer()`,`3.7.0`,"Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!c.container&&!c.containers)throw Error(`container or containers are required.`);if(c.container&&c.containers)throw Error(`container and containers cannot go together please select one of them.`);(c.containers||[c.container]).forEach(function(c){r.requireArgumentInstance(`container`,elementorModules.editor.Container,{container:c})})}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandBase`}}])}(Ge)}));function _callSuper$314(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$315()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$315(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$315=function _isNativeReflectConstruct(){return!!r})()}var V,Ye=__esmMin((()=>{b(),w(),E(),D(),A(),Je(),__name(_callSuper$314,`_callSuper`),__name(_isNativeReflectConstruct$315,`_isNativeReflectConstruct`),V=function(r){function CommandCallbackBase(){return _classCallCheck(this,CommandCallbackBase),_callSuper$314(this,CommandCallbackBase,arguments)}return _inherits(CommandCallbackBase,r),_createClass(CommandCallbackBase,[{key:`apply`,value:function apply(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.constructor.getCallback()(r)}}],[{key:`getInstanceType`,value:function getInstanceType(){return`CommandCallbackBase`}},{key:`getCallback`,value:function getCallback(){return this.registerConfig.callback}}])}(qe)})),Xe=__commonJSMin(((r,c)=>{x();var l=function Module(){var r=jQuery,c=arguments,l=this,u={},p,m=function ensureClosureMethods(){r.each(l,function(r){var c=l[r];typeof c==`function`&&(l[r]=function(){return c.apply(l,arguments)})})},h=function initSettings(){p=l.getDefaultSettings();var u=c[0];u&&r.extend(!0,p,u)},g=function init(){l.__construct.apply(l,c),m(),h(),l.trigger(`init`)};this.getItems=function(r,c){if(c){var l=c.split(`.`),u=l.splice(0,1);return l.length?r[u]?this.getItems(r[u],l.join(`.`)):void 0:r[u]}return r},this.getSettings=function(r){return this.getItems(p,r)},this.setSettings=function(c,u,m){if(m||(m=p),_typeof(c)===`object`)return r.extend(m,c),l;var h=c.split(`.`),g=h.splice(0,1);return h.length?(m[g]||(m[g]={}),l.setSettings(h.join(`.`),u,m[g])):(m[g]=u,l)},this.getErrorMessage=function(r,c){var l;switch(r){case`forceMethodImplementation`:l=`The method '${c}' must to be implemented in the inheritor child.`;break;default:l=`An error occurs`}return l},this.forceMethodImplementation=function(r){throw Error(this.getErrorMessage(`forceMethodImplementation`,r))},this.on=function(c,p){return _typeof(c)===`object`?(r.each(c,function(r){l.on(r,this)}),l):(c.split(` `).forEach(function(r){u[r]||(u[r]=[]),u[r].push(p)}),l)},this.off=function(r,c){if(!u[r])return l;if(!c)return delete u[r],l;var p=u[r].indexOf(c);return p!==-1&&(delete u[r][p],u[r]=u[r].filter(function(r){return r})),l},this.trigger=function(c){var p=`on`+c[0].toUpperCase()+c.slice(1),m=Array.prototype.slice.call(arguments,1);l[p]&&l[p].apply(l,m);var h=u[c];return h&&r.each(h,function(r,c){c.apply(l,m)}),l},g()};l.prototype.__construct=function(){},l.prototype.getDefaultSettings=function(){return{}},l.prototype.getConstructorID=function(){return this.constructor.name},l.extend=function(r){var c=jQuery,l=this,u=function child(){return l.apply(this,arguments)};return c.extend(u,l),u.prototype=Object.create(c.extend({},l.prototype,r)),u.prototype.constructor=u,u.__super__=l.prototype,u},c.exports=l}));function _isNativeFunction(r){try{return Function.toString.call(r).indexOf(`[native code]`)!==-1}catch(c){return typeof r==`function`}}var Ze=__esmMin((()=>{}));function _isNativeReflectConstruct$314(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$314=function _isNativeReflectConstruct(){return!!r})()}var Qe=__esmMin((()=>{__name(_isNativeReflectConstruct$314,`_isNativeReflectConstruct`)}));function _construct(r,c,l){if(_isNativeReflectConstruct$314())return Reflect.construct.apply(null,arguments);var u=[null];u.push.apply(u,c);var p=new(r.bind.apply(r,u));return l&&_setPrototypeOf(p,l.prototype),p}var et=__esmMin((()=>{Qe(),ee()}));function _wrapNativeSuper(r){var c=typeof Map==`function`?new Map:void 0;return _wrapNativeSuper=function _wrapNativeSuper(r){if(r===null||!_isNativeFunction(r))return r;if(typeof r!=`function`)throw TypeError(`Super expression must either be null or a function`);if(c!==void 0){if(c.has(r))return c.get(r);c.set(r,Wrapper)}function Wrapper(){return _construct(r,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(r.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,r)},_wrapNativeSuper(r)}var tt=__esmMin((()=>{D(),ee(),Ze(),et()}));function _callSuper$313(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$313()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$313(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$313=function _isNativeReflectConstruct(){return!!r})()}var nt,H,rt=__esmMin((()=>{w(),b(),E(),D(),A(),tt(),__name(_callSuper$313,`_callSuper`),__name(_isNativeReflectConstruct$313,`_isNativeReflectConstruct`),nt=function(r){function ForceMethodImplementation(){var r,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return _classCallCheck(this,ForceMethodImplementation),r=_callSuper$313(this,ForceMethodImplementation,[`${c.isStatic?`static `:``}${c.fullName}() should be implemented, please provide '${c.functionName||c.fullName}' functionality.`]),Error.captureStackTrace(r,ForceMethodImplementation),r}return _inherits(ForceMethodImplementation,r),_createClass(ForceMethodImplementation)}(_wrapNativeSuper(Error)),H=__name((function(){var r=Error().stack.split(`
`)[2].trim(),c=r.startsWith(`at new`)?`constructor`:r.split(` `)[1],l={};if(l.functionName=c,l.fullName=c,l.functionName.includes(`.`)){var u=l.functionName.split(`.`);l.className=u[0],l.functionName=u[1]}else l.isStatic=!0;throw new nt(l)}),`default`)}));function ownKeys$22(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$22(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$22(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$22(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}function _callSuper$312(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$312()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$312(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$312=function _isNativeReflectConstruct(){return!!r})()}var it,U,W=__esmMin((()=>{P(),M(),b(),w(),E(),D(),A(),Ye(),it=__toESM(Xe()),rt(),We(),__name(ownKeys$22,`ownKeys`),__name(_objectSpread$22,`_objectSpread`),__name(_callSuper$312,`_callSuper`),__name(_isNativeReflectConstruct$312,`_isNativeReflectConstruct`),U=function(r){function ComponentBase(){return _classCallCheck(this,ComponentBase),_callSuper$312(this,ComponentBase,arguments)}return _inherits(ComponentBase,r),_createClass(ComponentBase,[{key:`__construct`,value:function __construct(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.manager&&(this.manager=r.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute=``,this.currentTab=``}},{key:`registerAPI`,value:function registerAPI(){var r=this;Object.entries(this.getTabs()).forEach(function(c){return r.registerTabRoute(c[0])}),Object.entries(this.getRoutes()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerRoute(u,p)}),Object.entries(this.getCommands()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerCommand(u,p)}),Object.entries(this.getCommandsInternal()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerCommandInternal(u,p)}),Object.values(this.getHooks()).forEach(function(c){return r.registerHook(c)}),Object.entries(this.getData()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerData(u,p)}),Object.values(this.getUiStates()).forEach(function(c){return r.registerUiState(c)}),Object.entries(this.getStates()).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];return r.registerState(u,p)})}},{key:`getNamespace`,value:function getNamespace(){H()}},{key:`getRootContainer`,value:function getRootContainer(){return Ue.deprecated(`getRootContainer()`,`3.7.0`,`getServiceName()`),this.getServiceName()}},{key:`getServiceName`,value:function getServiceName(){return this.getNamespace().split(`/`)[0]}},{key:`store`,get:function get(){return $e.store.get(this.getNamespace())}},{key:`defaultTabs`,value:function defaultTabs(){return{}}},{key:`defaultRoutes`,value:function defaultRoutes(){return{}}},{key:`defaultCommands`,value:function defaultCommands(){return{}}},{key:`defaultCommandsInternal`,value:function defaultCommandsInternal(){return{}}},{key:`defaultHooks`,value:function defaultHooks(){return{}}},{key:`defaultUiStates`,value:function defaultUiStates(){return{}}},{key:`defaultStates`,value:function defaultStates(){return{}}},{key:`defaultShortcuts`,value:function defaultShortcuts(){return{}}},{key:`defaultUtils`,value:function defaultUtils(){return{}}},{key:`defaultData`,value:function defaultData(){return{}}},{key:`getCommands`,value:function getCommands(){return this.commands}},{key:`getCommandsInternal`,value:function getCommandsInternal(){return this.commandsInternal}},{key:`getHooks`,value:function getHooks(){return this.hooks}},{key:`getUiStates`,value:function getUiStates(){return this.uiStates}},{key:`getStates`,value:function getStates(){return this.states}},{key:`getRoutes`,value:function getRoutes(){return this.routes}},{key:`getTabs`,value:function getTabs(){return this.tabs}},{key:`getShortcuts`,value:function getShortcuts(){return this.shortcuts}},{key:`getData`,value:function getData(){return this.data}},{key:`registerCommand`,value:function registerCommand(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`default`,u;switch(l){case`default`:u=$e.commands;break;case`internal`:u=$e.commandsInternal;break;case`data`:u=$e.data;break;default:throw Error(`Invalid commands type: '${r}'`)}var p=this.getNamespace()+`/`+r,m=c.getInstanceType?c.getInstanceType():!1,h={command:p,component:this};m||($e.devTools&&$e.devTools.log.warn(`Attach command-callback-base, on command: '${p}', context is unknown type.`),h.callback=c,c=function(r){function context(){return _classCallCheck(this,context),_callSuper$312(this,context,arguments)}return _inherits(context,r),_createClass(context)}(V)),c.setRegisterConfig(h),u.register(this,r,c)}},{key:`registerHook`,value:function registerHook(r){return r.register()}},{key:`registerCommandInternal`,value:function registerCommandInternal(r,c){this.registerCommand(r,c,`internal`)}},{key:`registerUiState`,value:function registerUiState(r){$e.uiStates.register(r)}},{key:`registerState`,value:function registerState(r,l){r=this.getNamespace()+(r?`/${r}`:``);var u=(0,c.createSlice)(_objectSpread$22(_objectSpread$22({},l),{},{name:r}));$e.store.register(r,u)}},{key:`registerRoute`,value:function registerRoute(r,c){$e.routes.register(this,r,c)}},{key:`registerData`,value:function registerData(r,c){this.registerCommand(r,c,`data`)}},{key:`unregisterRoute`,value:function unregisterRoute(r){$e.routes.unregister(this,r)}},{key:`registerTabRoute`,value:function registerTabRoute(r){var c=this;this.registerRoute(r,function(l){return c.activateTab(r,l)})}},{key:`dependency`,value:function dependency(){return!0}},{key:`open`,value:function open(){return!0}},{key:`close`,value:function close(){return this.isOpen?(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0):!1}},{key:`activate`,value:function activate(){$e.components.activate(this.getNamespace())}},{key:`inactivate`,value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:`isActive`,value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:`onRoute`,value:function onRoute(r){this.toggleRouteClass(r,!0),this.toggleHistoryClass(),this.activate(),this.trigger(`route/open`,r)}},{key:`onCloseRoute`,value:function onCloseRoute(r){this.toggleRouteClass(r,!1),this.inactivate(),this.trigger(`route/close`,r)}},{key:`setDefaultRoute`,value:function setDefaultRoute(r){this.defaultRoute=this.getNamespace()+`/`+r}},{key:`getDefaultRoute`,value:function getDefaultRoute(){return this.defaultRoute}},{key:`removeTab`,value:function removeTab(r){delete this.tabs[r],this.unregisterRoute(r)}},{key:`hasTab`,value:function hasTab(r){return!!this.tabs[r]}},{key:`addTab`,value:function addTab(r,c,l){var u=this;if(this.tabs[r]=c,l!==void 0){var p={},m=Object.keys(this.tabs);m.pop(),m.splice(l,0,r),m.forEach(function(r){p[r]=u.tabs[r]}),this.tabs=p}this.registerTabRoute(r)}},{key:`getTabsWrapperSelector`,value:function getTabsWrapperSelector(){return``}},{key:`getTabRoute`,value:function getTabRoute(r){return this.getNamespace()+`/`+r}},{key:`renderTab`,value:function renderTab(r){}},{key:`activateTab`,value:function activateTab(r,c){var l=this;this.renderTab(r,c),jQuery(this.getTabsWrapperSelector()+` .elementor-component-tab`).off(`click`).on(`click`,function(r){$e.route(l.getTabRoute(r.currentTarget.dataset.tab),c)}).removeClass(`elementor-active`).filter(`[data-tab="`+r+`"]`).addClass(`elementor-active`)}},{key:`getActiveTabConfig`,value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:`getBodyClass`,value:function getBodyClass(r){return`e-route-`+r.replace(/\//g,`-`)}},{key:`normalizeCommandName`,value:function normalizeCommandName(r){return r.replace(/[A-Z]/g,function(r,c){return(c>0?`-`:``)+r.toLowerCase()})}},{key:`importCommands`,value:function importCommands(r){var c=this,l={};return Object.entries(r).forEach(function(r){var u=_slicedToArray(r,2),p=u[0],m=u[1],h=c.normalizeCommandName(p);l[h]=m}),l}},{key:`importHooks`,value:function importHooks(r){var c={};for(var l in r){var u=new r[l];c[u.getId()]=u}return c}},{key:`importUiStates`,value:function importUiStates(r){var c=this,l={};return Object.values(r).forEach(function(r){var u=new r(c);l[u.getId()]=u}),l}},{key:`setUiState`,value:function setUiState(r,c){$e.uiStates.set(`${this.getNamespace()}/${r}`,c)}},{key:`toggleRouteClass`,value:function toggleRouteClass(r,c){document.body.classList.toggle(this.getBodyClass(r),c)}},{key:`toggleHistoryClass`,value:function toggleHistoryClass(){document.body.classList.toggle(`e-routes-has-history`,!!$e.routes.getHistory(this.getServiceName()).length)}}])}(it.default)})),at=__commonJSMin(((r,c)=>{c.exports=Backbone.Model.extend({defaults:{id:0,type:``,status:`not_applied`,title:``,subTitle:``,action:``,history:{}},initialize:function initialize(){this.set(`items`,new Backbone.Collection)}})}));W(),b(),w(),P();var ot=__toESM(at()),st=function(){function HistoryManager(c){_classCallCheck(this,HistoryManager),_defineProperty(this,`currentItemID`,null),_defineProperty(this,`items`,new Backbone.Collection([],{model:ot.default})),_defineProperty(this,`active`,!0),_defineProperty(this,`translations`,{add:(0,r.__)(`Added`,`elementor`),change:(0,r.__)(`Edited`,`elementor`),disable:(0,r.__)(`Disabled`,`elementor`),duplicate:(0,r.__)(`Duplicate`,`elementor`),enable:(0,r.__)(`Enabled`,`elementor`),import:(0,r.__)(`Imported`,`elementor`),move:(0,r.__)(`Moved`,`elementor`),paste:(0,r.__)(`Pasted`,`elementor`),paste_style:(0,r.__)(`Style Pasted`,`elementor`),remove:(0,r.__)(`Removed`,`elementor`),reset_settings:(0,r.__)(`Settings Reset`,`elementor`),reset_style:(0,r.__)(`Style Reset`,`elementor`),selected:(0,r.__)(`Selected`,`elementor`)}),this.document=c,this.currentItem=new Backbone.Model({id:0})}return _createClass(HistoryManager,[{key:`getActionLabel`,value:function getActionLabel(r){return this.translations[r.type]?this.translations[r.type]:r.type}},{key:`navigate`,value:function navigate(r){var c=this.items.find(function(r){return r.get(`status`)===`not_applied`}),l=this.items.indexOf(c),u=r?l-1:l+1;if(!(!r&&!c||u<0||u>=this.items.length))return this.doItem(u),r?this.items.at(u):this.items.at(u-1)}},{key:`setActive`,value:function setActive(r){this.active=r}},{key:`getActive`,value:function getActive(){return this.active}},{key:`getItems`,value:function getItems(){return this.items}},{key:`startItem`,value:function startItem(r){return this.currentItemID=this.addItem(r),this.currentItemID}},{key:`endItem`,value:function endItem(r){this.currentItemID===r&&(this.currentItemID=null)}},{key:`deleteItem`,value:function deleteItem(r){var c=this.items.findWhere({id:r});this.items.remove(c),this.currentItemID=null}},{key:`isItemStarted`,value:function isItemStarted(){return this.currentItemID!==null}},{key:`getCurrentId`,value:function getCurrentId(){return this.currentItemID}},{key:`addItem`,value:function addItem(c){if(this.getActive()){for(this.items.length||this.items.add({status:`not_applied`,title:(0,r.__)(`Editing Started`,`elementor`),subTitle:``,action:``,editing_started:!0});this.items.length&&this.items.first().get(`status`)===`applied`;)this.items.shift();var l=this.currentItemID?this.currentItemID:new Date().getTime(),u=this.items.findWhere({id:l});return u||(u=new ot.default({id:l,title:c.title,subTitle:c.subTitle,action:this.getActionLabel(c),type:c.type}),this.startItemTitle=``,this.startItemAction=``),u.get(`items`).add(c,{at:0}),this.items.add(u,{at:0}),this.updateCurrentItem(u),l}}},{key:`doItem`,value:function doItem(r){this.setActive(!1);var c=this.items.at(r);c.get(`status`)===`not_applied`?this.undoItem(r):this.redoItem(r),this.setActive(!0);var l=elementor.getPanelView().getCurrentPageView().getOption(`editedElementView`),u;if($e.routes.isPartOf(`panel/editor`)&&l)l.isDestroyed?$e.route(`panel/history/actions`):u=l;else if(c instanceof Backbone.Model&&c.get(`items`).length){var p=c.get(`items`).first();if(p.get(`restore`)){var m=p.get(`type`)===`sub-add`?p.get(`data`).containerToRestore:p.get(`container`)||p.get(`containers`);Array.isArray(m)&&(m=m[0]),m&&(u=m.lookup().view)}}$e.internal(`document/save/set-is-modified`,{status:c.get(`id`)!==this.document.editor.lastSaveHistoryId}),this.updateCurrentItem(c),u&&!elementor.helpers.isInViewport(u.$el[0],elementor.$previewContents.find(`html`)[0])&&elementor.helpers.scrollToView(u.$el)}},{key:`undoItem`,value:function undoItem(r){for(var c=0;c<r;c++){var l=this.items.at(c);l.get(`status`)===`not_applied`&&(l.get(`items`).each(function(r){var c=r.get(`restore`);c&&c(r)}),l.set(`status`,`applied`))}}},{key:`redoItem`,value:function redoItem(r){for(var c=this.items.length-1;c>=r;c--){var l=this.items.at(c);if(l.get(`status`)===`applied`){var u=_.toArray(l.get(`items`).models).reverse();_(u).each(function(r){var c=r.get(`restore`);c&&c(r,!0)}),l.set(`status`,`not_applied`)}}}},{key:`updateCurrentItem`,value:function updateCurrentItem(r){this.currentItem=r,this.updatePanelPageCurrentItem()}},{key:`updatePanelPageCurrentItem`,value:function updatePanelPageCurrentItem(){$e.routes.is(`panel/history/actions`)&&elementor.getPanelView().getCurrentPageView().getCurrentTab().updateCurrentItem()}}])}(),ct=__commonJSMin(((r,c)=>{var l=Backbone.Model.extend();l.prototype.sync=function(){return null},c.exports=l})),lt=__commonJSMin(((r,c)=>{var l=ct();c.exports=Backbone.Collection.extend({model:l,comparator:function comparator(r){return-r.get(`timestamp`)}})}));b(),w(),P();var ut=lt(),dt=function(){function RevisionsManager(r){_classCallCheck(this,RevisionsManager),_defineProperty(this,`document`,void 0),_defineProperty(this,`revisions`,void 0),this.document=r}return _createClass(RevisionsManager,[{key:`getItems`,value:function getItems(){return this.revisions}},{key:`requestRevisions`,value:function requestRevisions(r){var c=this;if(this.revisions){r(this.revisions);return}elementorCommon.ajax.addRequest(`get_revisions`,{success:function success(l){c.revisions=new ut(l),c.revisions.on(`update`,c.onRevisionsUpdate.bind(c)),r(c.revisions)}})}},{key:`setEditorData`,value:function setEditorData(r){elementor.getPreviewView().collection.reset(r)}},{key:`getRevisionDataAsync`,value:function getRevisionDataAsync(r,c){return _.extend(c,{data:{id:r}}),elementorCommon.ajax.addRequest(`get_revision_data`,c)}},{key:`addRevisions`,value:function addRevisions(r){var c=this;this.requestRevisions(function(){r.forEach(function(r){var l=c.revisions.findWhere({id:r.id});l&&c.revisions.remove(l,{silent:!0}),c.revisions.add(r,{silent:!0})}),c.revisions.trigger(`update`)})}},{key:`deleteRevision`,value:function deleteRevision(r,c){var l={data:{id:r.get(`id`)},success:function success(){c.success&&c.success(),r.destroy()}};c.error&&(l.error=c.error),elementorCommon.ajax.addRequest(`delete_revision`,l)}},{key:`onRevisionsUpdate`,value:function onRevisionsUpdate(){$e.routes.is(`panel/history/revisions`)&&$e.routes.refreshContainer(`panel`)}}])}();w(),b(),P();var ft=_createClass(function Editor(){_classCallCheck(this,Editor),_defineProperty(this,`status`,`closed`),_defineProperty(this,`isSaving`,!1),_defineProperty(this,`isChanged`,!1),_defineProperty(this,`isChangedDuringSave`,!1),_defineProperty(this,`isSaved`,!0),_defineProperty(this,`lastSaveHistoryId`,0)});b(),w(),P();var pt=function(){function Document(r){_classCallCheck(this,Document),_defineProperty(this,`id`,null),_defineProperty(this,`history`,null),_defineProperty(this,`revisions`,null),_defineProperty(this,`container`,null),_defineProperty(this,`editor`,new ft),this.config=r,this.id=r.id,this.history=new st(this),this.revisions=new dt(this)}return _createClass(Document,[{key:`isDraft`,value:function isDraft(){return this.config.revisions.current_id!==this.config.id}}])}();N(),b(),w(),E(),D(),A();function _callSuper$311(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$311()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$311,`_callSuper`);function _isNativeReflectConstruct$311(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$311=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$311,`_isNativeReflectConstruct`);var mt=function(c){function Close(){return _classCallCheck(this,Close),_callSuper$311(this,Close,arguments)}return _inherits(Close,c),_createClass(Close,[{key:`validateArgs`,value:function validateArgs(r){this.requireArgument(`id`,r)}},{key:`apply`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(r){var c,l,u,p,m,h;return B.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(c=r.id,l=r.mode,u=r.onClose,p=elementor.documents.get(c),p.editor.status!==`closed`){g.next=1;break}return g.abrupt(`return`,jQuery.Deferred().resolve());case 1:if(!(!l&&(p.editor.isChanged||p.isDraft()))){g.next=2;break}return m=jQuery.Deferred(),this.getConfirmDialog(m).show(),g.abrupt(`return`,m.promise());case 2:h=l,g.next=h===`autosave`?3:h===`save`?5:h===`discard`?7:9;break;case 3:return g.next=4,$e.run(`document/save/auto`);case 4:return g.abrupt(`continue`,9);case 5:return g.next=6,$e.run(`document/save/update`);case 6:return g.abrupt(`continue`,9);case 7:return g.next=8,$e.run(`document/save/discard`,{document:p});case 8:return g.abrupt(`continue`,9);case 9:return $e.run(`document/elements/deselect-all`),g.next=10,$e.internal(`editor/documents/unload`,{document:p});case 10:if(!u){g.next=11;break}return g.next=11,u(p);case 11:return g.abrupt(`return`,jQuery.Deferred().resolve());case 12:case`end`:return g.stop()}},_callee,this)}));function apply(c){return r.apply(this,arguments)}return apply}()},{key:`getConfirmDialog`,value:function getConfirmDialog(c){var l=this;return this.confirmDialog||(this.confirmDialog=elementorCommon.dialogsManager.createWidget(`confirm`,{id:`elementor-document-save-on-close`,headerMessage:(0,r.__)(`You are leaving to a separate site part.`,`elementor`),message:(0,r.__)(`Save your changes before moving on because the current document and the one you’re moving to are separate site parts.`,`elementor`),position:{my:`center center`,at:`center center`},strings:{confirm:(0,r.__)(`Save & leave`,`elementor`),cancel:(0,r.__)(`Don't leave`,`elementor`)},onHide:function onHide(){_.defer(function(){l.args.mode||c.reject(`Close document has been canceled.`)})},onCancel:function onCancel(){window.top.$e.internal(`panel/state-ready`),c.reject(`Close document has been canceled.`)},onConfirm:function onConfirm(){l.args.mode=`save`,$e.run(`editor/documents/close`,l.args).then(function(){c.resolve()})}})),this.confirmDialog}}])}($e.modules.CommandBase);b(),w(),E(),D(),A();function _callSuper$310(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$310()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$310,`_callSuper`);function _isNativeReflectConstruct$310(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$310=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$310,`_isNativeReflectConstruct`);var ht=function(r){function Open(){return _classCallCheck(this,Open),_callSuper$310(this,Open,arguments)}return _inherits(Open,r),_createClass(Open,[{key:`validateArgs`,value:function validateArgs(r){this.requireArgument(`id`,r)}},{key:`apply`,value:function apply(r){var c=r.id,l=r.selector,u=r.shouldScroll,p=u===void 0||u,m=r.shouldNavigateToDefaultRoute,h=m===void 0||m,g=r.setAsInitial,v=g!==void 0&&g,y=elementor.documents.getCurrent();return y&&c===y.id?jQuery.Deferred().resolve():(elementor.loaded&&elementor.$previewContents.find(`.elementor-${c}`).addClass(`loading`),v&&(elementorCommon.ajax.addRequestConstant(`initial_document_id`,c),elementor.documents.invalidateCache()),elementor.documents.request(c).then(function(r){return elementorCommon.elements.$body.addClass(`elementor-editor-${r.type}`),$e.internal(`editor/documents/load`,{config:r,selector:l,setAsInitial:v,shouldScroll:p,shouldNavigateToDefaultRoute:h})}).always(function(){elementor.loaded&&elementor.$previewContents.find(`.elementor-${c}`).removeClass(`loading`)}))}}])}($e.modules.CommandBase);N(),b(),w(),E(),D(),A();function _callSuper$309(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$309()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$309,`_callSuper`);function _isNativeReflectConstruct$309(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$309=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$309,`_isNativeReflectConstruct`);var gt=function(r){function Preview(){return _classCallCheck(this,Preview),_callSuper$309(this,Preview,arguments)}return _inherits(Preview,r),_createClass(Preview,[{key:`validateArgs`,value:function validateArgs(r){this.requireArgument(`id`,r)}},{key:`apply`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(r){var c,l,u,p;return B.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(c=r.id,l=$e.components.get(`document/save`),u=l.footerSaver,p=elementor.documents.get(c),!p.editor.isChanged){m.next=1;break}return m.next=1,$e.run(`document/save/auto`,{force:!0});case 1:u.previewWindow=open(p.config.urls.wp_preview,`wp-preview-${p.id}`);case 2:case`end`:return m.stop()}},_callee)}));function apply(c){return r.apply(this,arguments)}return apply}()}])}($e.modules.CommandBase);N(),b(),w(),E(),D(),A();function _callSuper$308(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$308()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$308,`_callSuper`);function _isNativeReflectConstruct$308(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$308=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$308,`_isNativeReflectConstruct`);var _t=function(r){function View(){return _classCallCheck(this,View),_callSuper$308(this,View,arguments)}return _inherits(View,r),_createClass(View,[{key:`validateArgs`,value:function validateArgs(r){this.requireArgument(`id`,r)}},{key:`apply`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(r){var c,l;return B.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:c=r.id,l=elementor.documents.get(c),open(l.config.urls.permalink,`wp-view-${l.id}`);case 1:case`end`:return u.stop()}},_callee)}));function apply(c){return r.apply(this,arguments)}return apply}()}])}($e.modules.CommandBase);b(),w(),E(),D(),A();function _callSuper$307(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$307()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$307,`_callSuper`);function _isNativeReflectConstruct$307(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$307=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$307,`_isNativeReflectConstruct`);var vt=function(r){function Switch(){return _classCallCheck(this,Switch),_callSuper$307(this,Switch,arguments)}return _inherits(Switch,r),_createClass(Switch,[{key:`validateArgs`,value:function validateArgs(r){this.requireArgument(`id`,r)}},{key:`apply`,value:function apply(r){var c=r.id,l=r.mode,u=r.onClose,p=r.shouldScroll,m=p===void 0||p,h=r.shouldNavigateToDefaultRoute,g=h===void 0||h,v=r.setAsInitial,y=v!==void 0&&v;return y&&jQuery(`#elementor-preview-loading`).show(),$e.run(`editor/documents/close`,{id:elementor.documents.getCurrentId(),mode:l,onClose:u,selector:r.selector}).then(function(){return $e.run(`editor/documents/open`,{id:c,shouldScroll:m,shouldNavigateToDefaultRoute:g,selector:r.selector,setAsInitial:y})}).then(function(){elementor.getPanelView().getPages(`menu`).view.addExitItem()})}}])}($e.modules.CommandBase),yt=__exportAll({Close:()=>mt,Open:()=>ht,Preview:()=>gt,Switch:()=>vt,View:()=>_t});function _objectWithoutPropertiesLoose(r,c){if(r==null)return{};var l={};for(var u in r)if({}.hasOwnProperty.call(r,u)){if(c.indexOf(u)!==-1)continue;l[u]=r[u]}return l}function _objectWithoutProperties(r,c){if(r==null)return{};var l,u,p=_objectWithoutPropertiesLoose(r,c);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(r);for(u=0;u<m.length;u++)l=m[u],c.indexOf(l)===-1&&{}.propertyIsEnumerable.call(r,l)&&(p[l]=r[l])}return p}b(),w(),E(),D(),A();var bt=[`shouldNavigateToDefaultRoute`];function _callSuper$306(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$306()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$306,`_callSuper`);function _isNativeReflectConstruct$306(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$306=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$306,`_isNativeReflectConstruct`);var xt=function(r){function AttachPreview(){return _classCallCheck(this,AttachPreview),_callSuper$306(this,AttachPreview,arguments)}return _inherits(AttachPreview,r),_createClass(AttachPreview,[{key:`validateArgs`,value:function validateArgs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(r.selector&&(this.requireArgumentType(`selector`,`string`),elementor.$previewContents.find(r.selector).length===0))throw Error("Invalid argument. The `selector` argument must be existed selector.")}},{key:`apply`,value:function apply(){var r=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=c.shouldNavigateToDefaultRoute,u=l===void 0||l,p=_objectWithoutProperties(c,bt),m=elementor.documents.getCurrent();return $e.data.get(`globals/index`).then(function(){return elementor.trigger(`globals:loaded`),r.attachDocumentToPreview(m,p)}).then(function(){if(elementor.toggleDocumentCssFiles(m,!1),elementor.onEditModeSwitched(),elementor.checkPageStatus(),elementor.trigger(`document:loaded`,m),u)return $e.internal(`panel/open-default`,{refresh:!0})})}},{key:`attachDocumentToPreview`,value:function attachDocumentToPreview(r,c){var l=c.selector,u=l===void 0?`.elementor-`+r.id:l,p=c.shouldScroll,m=p===void 0||p;return new Promise(function(c,l){if(!r)return l(`Can't attach preview, there is no open document.`);if(!r.config.elements)return c();r.$element=elementor.$previewContents.find(u);var p=r.id===elementor.config.initial_document.id;if(!r.$element.length)return p&&elementor.onPreviewElNotFound(),l(`Can't attach preview to document '${r.id}', element '${u}' was not found.`);r.$element.addClass(`elementor-edit-area elementor-edit-mode`),p||elementor.documents.getCurrent().$element.addClass(`elementor-embedded-editor`),elementor.initElements(),elementor.initPreviewView(r),r.container.view=elementor.getPreviewView(),r.container.model.attributes.elements=elementor.elements,m&&elementor.helpers.scrollToView(r.$element),r.$element.addClass(`elementor-edit-area-active`).removeClass(`elementor-editor-preview`),c()})}}])}($e.modules.CommandInternalBase);b(),w(),P();function ownKeys$21(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}__name(ownKeys$21,`ownKeys`);function _objectSpread$21(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$21(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$21(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}__name(_objectSpread$21,`_objectSpread`);var St=function(){function Heartbeat(r){var c=this;_classCallCheck(this,Heartbeat),_defineProperty(this,`modal`,null),_defineProperty(this,`externalChangeModal`,null),_defineProperty(this,`document`,null),_defineProperty(this,`lastSyncedAt`,0),_defineProperty(this,`pendingSyncTime`,!0),_defineProperty(this,`lastStateOfDocumentChange`,!1),_defineProperty(this,`getModal`,function(){return c.modal||(c.modal=c.initModal()),c.modal}),this.document=r,this.lastStateOfDocumentChange=r.editor.isChanged,this.onSend=this.onSend.bind(this),this.onTick=this.onTick.bind(this),this.onRefreshNonce=this.onRefreshNonce.bind(this),this.onDocumentChanged=this.onDocumentChanged.bind(this),this.onDocumentLoaded=this.onDocumentLoaded.bind(this),this.bindEvents(),wp.heartbeat.connectNow()}return _createClass(Heartbeat,[{key:`initModal`,value:function initModal(){return elementorCommon.dialogsManager.createWidget(`confirm`,{headerMessage:(0,r.__)(`Take Over`,`elementor`),strings:{confirm:(0,r.__)(`Take Over`,`elementor`),cancel:(0,r.__)(`Go Back`,`elementor`)},defaultOption:`confirm`,onConfirm:function onConfirm(){wp.heartbeat.enqueue(`elementor_force_post_lock`,!0),wp.heartbeat.connectNow()},onCancel:function onCancel(){parent.history.go(-1)}})}},{key:`showLockMessage`,value:function showLockMessage(c){this.getModal().setMessage((0,r.sprintf)((0,r.__)(`%s has taken over and is currently editing. Do you want to take over this page editing?`,`elementor`),c)).show()}},{key:`onSend`,value:function onSend(r,c){c.elementor_post_lock={post_ID:this.document.id},c.elementor_has_unsaved=this.document.editor.isChanged?this.document.id:null}},{key:`onTick`,value:function onTick(r,c){var l;this.pendingSyncTime&&c.elementor_server_time&&(this.lastSyncedAt=c.elementor_server_time,this.pendingSyncTime=!1),c.locked_user?(this.document.editor.isChanged&&$e.run(`document/save/auto`,{document:this.document}),this.showLockMessage(c.locked_user)):this.getModal().hide();var u=(l=c.elementor_mcp_mutation)==null?void 0:l.mutated_at;u&&u>this.lastSyncedAt&&this.showExternalChangeModal(),elementorCommon.ajax.addRequestConstant(`_nonce`,c.elementorNonce)}},{key:`onRefreshNonce`,value:function onRefreshNonce(r,c){var l=c[`elementor-refresh-nonces`];l&&(l.heartbeatNonce&&elementorCommon.ajax.addRequestConstant(`_nonce`,l.elementorNonce),l.heartbeatNonce&&(window.heartbeatSettings.nonce=l.heartbeatNonce))}},{key:`onDocumentLoaded`,value:function onDocumentLoaded(){this.pendingSyncTime=!0}},{key:`reloadDocument`,value:function reloadDocument(){$e.internal(`document/save/set-is-modified`,{status:!1}),this._doReload()}},{key:`_doReload`,value:function _doReload(){window.location.reload()}},{key:`forceSave`,value:function forceSave(){this.pendingSyncTime=!0,$e.run(`document/save/save`,{document:this.document})}},{key:`showExternalChangeModal`,value:function showExternalChangeModal(){var c=this;if(!this.externalChangeModal){var l=this.document.editor.isChanged,u={headerMessage:(0,r.__)(`Page Updated by AI`,`elementor`),defaultOption:`confirm`,onConfirm:function onConfirm(){return c.reloadDocument()}},p=l?_objectSpread$21(_objectSpread$21({},u),{},{message:(0,r.__)(`This page was changed externally. Save your changes or reload to get the latest version.`,`elementor`),strings:{confirm:(0,r.__)(`Force Save`,`elementor`),cancel:(0,r.__)(`Reload`,`elementor`)},onConfirm:function onConfirm(){return c.forceSave()},onCancel:function onCancel(){return c.reloadDocument()}}):_objectSpread$21(_objectSpread$21({},u),{},{message:(0,r.__)(`This page was changed externally. Reload to get the latest version.`,`elementor`),strings:{confirm:(0,r.__)(`Reload`,`elementor`)}});this.externalChangeModal=elementorCommon.dialogsManager.createWidget(l?`confirm`:`alert`,_objectSpread$21(_objectSpread$21({},p),{},{closeButton:!1,hide:{onOutsideClick:!1,onEscKeyPress:!1,onBackgroundClick:!1}})),this.externalChangeModal.show()}}},{key:`onDocumentChanged`,value:function onDocumentChanged(){var r=this.document.editor.isChanged;r!==this.lastStateOfDocumentChange&&(r&&wp.heartbeat.connectNow(),this.lastStateOfDocumentChange=r)}},{key:`bindEvents`,value:function bindEvents(){jQuery(document).on({"heartbeat-send":this.onSend,"heartbeat-tick":this.onTick,"heartbeat-tick.wp-refresh-nonces":this.onRefreshNonce}),elementor.channels.editor.on(`status:change`,this.onDocumentChanged),elementor.on(`document:loaded`,this.onDocumentLoaded)}},{key:`destroy`,value:function destroy(){jQuery(document).off({"heartbeat-send":this.onSend,"heartbeat-tick":this.onTick,"heartbeat-tick.wp-refresh-nonces":this.onRefreshNonce}),elementor.channels.editor.off(`status:change`,this.onDocumentChanged),elementor.off(`document:loaded`,this.onDocumentLoaded)}}])}();b(),w(),E(),D(),A();function _callSuper$305(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$305()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$305,`_callSuper`);function _isNativeReflectConstruct$305(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$305=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$305,`_isNativeReflectConstruct`);var Ct=function(r){function Load(){return _classCallCheck(this,Load),_callSuper$305(this,Load,arguments)}return _inherits(Load,r),_createClass(Load,[{key:`validateArgs`,value:function validateArgs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.requireArgument(`config`,r)}},{key:`apply`,value:function apply(r){var c=r.config,l=r.setAsInitial,u=l!==void 0&&l,p=r.shouldScroll,m=p===void 0||p,h=r.shouldNavigateToDefaultRoute,g=h===void 0||h;elementorCommon.config.experimentalFeatures.additional_custom_breakpoints&&(c.settings.controls=elementor.generateResponsiveControls(c.settings.controls)),elementor.config.document=c,elementor.setAjax(),elementor.addWidgetsCache(c.widgets),elementor.templates.init();var v=new pt(c);elementor.documents.add(v),elementor.documents.setCurrent(v),u&&elementor.documents.setInitialById(v.id),elementor.settings.page=new elementor.settings.modules.page(c.settings),v.container=elementor.settings.page.getEditedView().getContainer(),v.container.document=v,elementor.heartbeat=new St(v);var y=elementor.config.document.version&&elementor.helpers.compareVersions(elementor.config.document.version,`2.5.0`,`<`);return!elementor.config.user.introduction.flexbox&&y&&elementor.showFlexBoxAttentionDialog(),elementor.loaded?$e.data.get(`globals/index`).then(function(){return u?(elementor.reloadPreview(),Promise.resolve()):$e.internal(`editor/documents/attach-preview`,{shouldScroll:m,shouldNavigateToDefaultRoute:g,selector:r.selector})}):Promise.resolve(v)}}])}($e.modules.CommandInternalBase);b(),w(),E(),D(),A();function _callSuper$304(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$304()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$304,`_callSuper`);function _isNativeReflectConstruct$304(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$304=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$304,`_isNativeReflectConstruct`);var wt=function(r){function Unload(){return _classCallCheck(this,Unload),_callSuper$304(this,Unload,arguments)}return _inherits(Unload,r),_createClass(Unload,[{key:`validateArgs`,value:function validateArgs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.requireArgumentConstructor(`document`,pt,r)}},{key:`apply`,value:function apply(r){return new Promise(function(c,l){var u=r.document;u.id!==elementor.config.document.id&&l(),elementor.elements=[],elementor.saver.stopAutoSave(u),elementor.channels.dataEditMode.trigger(`switch`,`preview`),u.$element&&u.$element.removeClass(`elementor-edit-area-active elementor-edit-mode`).addClass(`elementor-editor-preview`),elementorCommon.elements.$body.removeClass(`elementor-editor-${u.config.type}`),elementor.settings.page.destroy(),elementor.heartbeat.destroy(),u.editor.status=`closed`,elementor.config.document={},elementor.documents.unsetCurrent(),elementor.trigger(`document:unloaded`,u),c()})}}])}($e.modules.CommandInternalBase),Tt=__exportAll({AttachPreview:()=>xt,Load:()=>Ct,Unload:()=>wt});function getQueryParam(r){return new URLSearchParams(window.location.search).get(r)}function setQueryParam(r,c){var l=new URL(window.location.href);c===null?l.searchParams.delete(r):l.searchParams.set(r,c),history.replaceState({},``,l)}function removeQueryParam(r){setQueryParam(r,null)}b(),w(),E(),D(),A();function _callSuper$303(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$303()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$303,`_callSuper`);function _isNativeReflectConstruct$303(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$303=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$303,`_isNativeReflectConstruct`);var Et=function(r){function RemoveActiveDocumentQueryParam(){return _classCallCheck(this,RemoveActiveDocumentQueryParam),_callSuper$303(this,RemoveActiveDocumentQueryParam,arguments)}return _inherits(RemoveActiveDocumentQueryParam,r),_createClass(RemoveActiveDocumentQueryParam,[{key:`getCommand`,value:function getCommand(){return`editor/documents/close`}},{key:`getId`,value:function getId(){return`remove-active-document-query-param`}},{key:`apply`,value:function apply(r){var c=parseInt(getQueryParam(`active-document`));c===parseInt(r.id)&&removeQueryParam(`active-document`),r.previous_active_document_id=c}}])}($e.modules.hookUI.After);b(),w(),E(),D(),A();function _callSuper$302(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$302()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$302,`_callSuper`);function _isNativeReflectConstruct$302(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$302=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$302,`_isNativeReflectConstruct`);var Dt=function(r){function SetActiveDocumentQueryParam(){return _classCallCheck(this,SetActiveDocumentQueryParam),_callSuper$302(this,SetActiveDocumentQueryParam,arguments)}return _inherits(SetActiveDocumentQueryParam,r),_createClass(SetActiveDocumentQueryParam,[{key:`getCommand`,value:function getCommand(){return`editor/documents/open`}},{key:`getId`,value:function getId(){return`set-active-document-query-param`}},{key:`getConditions`,value:function getConditions(r){return parseInt(r.id)!==parseInt(elementor.config.initial_document.id)}},{key:`apply`,value:function apply(r){var c=parseInt(r.id);isNaN(c)||setQueryParam(`active-document`,r.id)}}])}($e.modules.hookUI.After);b(),w(),E(),D(),A();function _callSuper$301(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$301()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$301,`_callSuper`);function _isNativeReflectConstruct$301(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$301=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$301,`_isNativeReflectConstruct`);var Ot=function(r){function ClearDynamicTagsCache(){return _classCallCheck(this,ClearDynamicTagsCache),_callSuper$301(this,ClearDynamicTagsCache,arguments)}return _inherits(ClearDynamicTagsCache,r),_createClass(ClearDynamicTagsCache,[{key:`getCommand`,value:function getCommand(){return`editor/documents/open`}},{key:`getId`,value:function getId(){return`clear-dynamic-tags-cache-on-document-open`}},{key:`apply`,value:function apply(){elementor.dynamicTags.cleanCache()}}])}($e.modules.hookUI.Before);N(),b(),w(),E(),D(),A(),P();function _callSuper$300(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$300()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$300,`_callSuper`);function _isNativeReflectConstruct$300(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$300=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$300,`_isNativeReflectConstruct`);var kt=function(r){function SwitchToActiveDocument(){return _classCallCheck(this,SwitchToActiveDocument),_callSuper$300(this,SwitchToActiveDocument,arguments)}return _inherits(SwitchToActiveDocument,r),_createClass(SwitchToActiveDocument,[{key:`getCommand`,value:function getCommand(){return`editor/documents/attach-preview`}},{key:`getId`,value:function getId(){return`switch-to-active-document`}},{key:`getConditions`,value:function getConditions(){return!this.constructor.calledOnce&&elementor.documents.getCurrentId()===elementor.config.initial_document.id}},{key:`apply`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){var r,c;return B.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(this.constructor.calledOnce=!0,r=parseInt(getQueryParam(`active-document`)),c=r===elementor.documents.getCurrentId(),!(isNaN(r)||c)){l.next=1;break}return l.abrupt(`return`);case 1:return l.prev=1,l.next=2,$e.run(`editor/documents/switch`,{id:r,mode:`autosave`});case 2:l.next=4;break;case 3:l.prev=3,l.catch(1),$e.run(`editor/documents/switch`,{id:elementor.config.initial_document.id,mode:`autosave`}),removeQueryParam(`active-document`);case 4:case`end`:return l.stop()}},_callee,this,[[1,3]])}));function apply(){return r.apply(this,arguments)}return apply}()}])}($e.modules.hookUI.After);_defineProperty(kt,`calledOnce`,!1),b(),w(),E(),D(),A(),P();function _callSuper$299(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$299()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$299,`_callSuper`);function _isNativeReflectConstruct$299(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$299=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$299,`_isNativeReflectConstruct`);var At=function(r){function SwitchToActiveTab(){return _classCallCheck(this,SwitchToActiveTab),_callSuper$299(this,SwitchToActiveTab,arguments)}return _inherits(SwitchToActiveTab,r),_createClass(SwitchToActiveTab,[{key:`getCommand`,value:function getCommand(){return`editor/documents/switch`}},{key:`getId`,value:function getId(){return`switch-to-active-tab`}},{key:`getConditions`,value:function getConditions(){return!this.constructor.calledOnce}},{key:`apply`,value:function apply(){this.constructor.calledOnce=!0;try{var r=getQueryParam(`active-tab`);r&&$e.route(`panel/global/`+r)}catch(r){removeQueryParam(`active-tab`)}}}])}($e.modules.hookUI.After);_defineProperty(At,`calledOnce`,!1),b(),w(),E(),D(),A();function _callSuper$298(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$298()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$298,`_callSuper`);function _isNativeReflectConstruct$298(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$298=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$298,`_isNativeReflectConstruct`);var jt=function(r){function RemoveActiveTabQueryParam(){return _classCallCheck(this,RemoveActiveTabQueryParam),_callSuper$298(this,RemoveActiveTabQueryParam,arguments)}return _inherits(RemoveActiveTabQueryParam,r),_createClass(RemoveActiveTabQueryParam,[{key:`getCommand`,value:function getCommand(){return`editor/documents/close`}},{key:`getId`,value:function getId(){return`remove-active-tab-query-param`}},{key:`apply`,value:function apply(r){var c=getQueryParam(`active-tab`);parseInt(r.previous_active_document_id)===parseInt(r.id)&&c&&removeQueryParam(`active-tab`)}}])}($e.modules.hookUI.After);b(),w(),E(),D(),A();function _callSuper$297(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$297()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$297,`_callSuper`);function _isNativeReflectConstruct$297(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$297=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$297,`_isNativeReflectConstruct`);var Mt=function(r){function RemoveActiveTabQueryParamBack(){return _classCallCheck(this,RemoveActiveTabQueryParamBack),_callSuper$297(this,RemoveActiveTabQueryParamBack,arguments)}return _inherits(RemoveActiveTabQueryParamBack,r),_createClass(RemoveActiveTabQueryParamBack,[{key:`getCommand`,value:function getCommand(){return`panel/global/back`}},{key:`getId`,value:function getId(){return`remove-active-tab-query-param-back`}},{key:`apply`,value:function apply(){getQueryParam(`active-tab`)&&removeQueryParam(`active-tab`)}}])}($e.modules.hookUI.After),Nt=__exportAll({ClearDynamicTagsCache:()=>Ot,RemoveActiveDocumentQueryParam:()=>Et,RemoveActiveTabQueryParam:()=>jt,RemoveActiveTabQueryParamBack:()=>Mt,SetActiveDocumentQueryParam:()=>Dt,SwitchToActiveDocument:()=>kt,SwitchToActiveTab:()=>At});b(),w(),E(),D(),k(),A();function _callSuper$296(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$296()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$296,`_callSuper`);function _isNativeReflectConstruct$296(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$296=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$296,`_isNativeReflectConstruct`);function _superPropGet$34(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$34,`_superPropGet`);var Pt=function(c){function Component(){return _classCallCheck(this,Component),_callSuper$296(this,Component,arguments)}return _inherits(Component,c),_createClass(Component,[{key:`__construct`,value:function __construct(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_superPropGet$34(Component,`__construct`,this,3)([r]),this.documents={},this.currentDocument=null,this.saveInitialDocumentToCache()}},{key:`getNamespace`,value:function getNamespace(){return`editor/documents`}},{key:`defaultCommands`,value:function defaultCommands(){return this.importCommands(yt)}},{key:`defaultHooks`,value:function defaultHooks(){return this.importHooks(Nt)}},{key:`defaultCommandsInternal`,value:function defaultCommandsInternal(){return this.importCommands(Tt)}},{key:`add`,value:function add(r){var c=r.id;return this.documents[c]=r,r}},{key:`addDocumentByConfig`,value:function addDocumentByConfig(r){return this.add(new pt(r))}},{key:`get`,value:function get(r){return this.documents[r]!==void 0&&this.documents[r]}},{key:`getCurrent`,value:function getCurrent(){return this.currentDocument}},{key:`getCurrentId`,value:function getCurrentId(){return this.currentDocument.id}},{key:`getInitialId`,value:function getInitialId(){return elementor.config.initial_document.id}},{key:`setInitialById`,value:function setInitialById(r){var c=this.get(r);c&&(elementor.config.initial_document=c.config,elementorCommon.ajax.addRequestConstant(`initial_document_id`,c.id))}},{key:`setCurrent`,value:function setCurrent(r){if(this.documents[r.id]===void 0)throw Error(`The document with id: '${r.id}' does not exist/loaded`);this.currentDocument&&(this.currentDocument.editor.status=`closed`),this.currentDocument=this.documents[r.id],this.currentDocument.editor.status=`open`,elementorCommon.ajax.addRequestConstant(`editor_post_id`,r.id)}},{key:`isCurrent`,value:function isCurrent(r){return parseInt(r)===this.currentDocument.id}},{key:`unsetCurrent`,value:function unsetCurrent(){this.currentDocument=null,elementorCommon.ajax.addRequestConstant(`editor_post_id`,null)}},{key:`request`,value:function request(r){return elementorCommon.ajax.load(this.getRequestArgs(r),!0)}},{key:`invalidateCache`,value:function invalidateCache(){var r=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(c){elementorCommon.ajax.invalidateCache(this.getRequestArgs(c));return}Object.keys(this.documents).forEach(function(c){elementorCommon.ajax.invalidateCache(r.getRequestArgs(c))})}},{key:`getRequestArgs`,value:function getRequestArgs(c){return c=parseInt(c),{action:`get_document_config`,unique_id:`document-${c}`,data:{id:c},success:function success(r){return r},error:function error(c){var l;_.isString(c)?l=c:c.statusText?(l=elementor.createAjaxErrorMessage(c),c.readyState===0&&(l+=` `+(0,r.__)(`Cannot load editor`,`elementor`))):c[0]&&c[0].code&&(l=(0,r.__)(`Server Error`,`elementor`)+` `+c[0].code),alert(l)}}}},{key:`saveInitialDocumentToCache`,value:function saveInitialDocumentToCache(){var r=elementor.config.initial_document;elementorCommon.ajax.addRequestCache(this.getRequestArgs(r.id),r)}}])}(U),Ft,It,Lt,Rt,zt,Bt,Vt,Ht,Ut,Wt,Gt,Kt=__esmMin((()=>{Ft=function matchUserAgent(r){return It.indexOf(r)>=0},It=navigator.userAgent,Lt=!!window.opr&&!!opr.addons||!!window.opera||Ft(` OPR/`),Rt=Ft(`Firefox`),zt=/^((?!chrome|android).)*safari/i.test(It)||/constructor/i.test(window.HTMLElement)||function(r){return r.toString()===`[object SafariRemoteNotification]`}(!window.safari||typeof safari<`u`&&safari.pushNotification),Bt=/Trident|MSIE/.test(It)&&!!document.documentMode,Vt=!Bt&&!!window.StyleMedia||Ft(`Edg`),Ht=!!window.chrome&&Ft(`Chrome`)&&!(Vt||Lt),Ut=Ft(`Chrome`)&&!!window.CSS,Wt=Ft(`AppleWebKit`)&&!Ut,Gt={isTouchDevice:`ontouchstart`in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,appleWebkit:Wt,blink:Ut,chrome:Ht,edge:Vt,firefox:Rt,ie:Bt,mac:Ft(`Macintosh`),opera:Lt,safari:zt,webkit:Ft(`AppleWebKit`)}})),qt,Jt=__esmMin((()=>{b(),w(),qt=function(){function ElementBase(){_classCallCheck(this,ElementBase)}return _createClass(ElementBase,[{key:`getType`,value:function getType(){elementorModules.ForceMethodImplementation()}},{key:`getView`,value:function getView(){elementorModules.ForceMethodImplementation()}},{key:`getEmptyView`,value:function getEmptyView(){elementorModules.ForceMethodImplementation()}},{key:`getModel`,value:function getModel(){elementorModules.ForceMethodImplementation()}}])}()}));function _callSuper$295(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$295()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$295(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$295=function _isNativeReflectConstruct(){return!!r})()}var Yt,Xt=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$295,`_callSuper`),__name(_isNativeReflectConstruct$295,`_isNativeReflectConstruct`),Yt=function(r){function BaseElementModel(){return _classCallCheck(this,BaseElementModel),_callSuper$295(this,BaseElementModel,arguments)}return _inherits(BaseElementModel,r),_createClass(BaseElementModel,[{key:`isValidChild`,value:function isValidChild(r){elementorModules.ForceMethodImplementation({attributes:this.attributes})}}])}(Backbone.Model)})),Zt=__commonJSMin(((r,c)=>{c.exports=elementorModules.editor.elements.models.BaseSettings.extend({defaults:{_column_size:100}})}));function _callSuper$294(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$294()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$294(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$294=function _isNativeReflectConstruct(){return!!r})()}var Qt,$t=__esmMin((()=>{w(),b(),E(),D(),A(),tt(),__name(_callSuper$294,`_callSuper`),__name(_isNativeReflectConstruct$294,`_isNativeReflectConstruct`),Qt=function(r){function ElementTypeNotFound(r){return _classCallCheck(this,ElementTypeNotFound),_callSuper$294(this,ElementTypeNotFound,[`Element type not found: '${r}'`])}return _inherits(ElementTypeNotFound,r),_createClass(ElementTypeNotFound)}(_wrapNativeSuper(Error))})),en=__commonJSMin(((r,c)=>{$t();var l=Backbone.Collection.extend({add:function add(r,c,l){if((!c||!c.silent)&&!l)throw`Call Error: Adding model to element collection is allowed only by the dedicated addChildModel() method.`;return Backbone.Collection.prototype.add.call(this,r,c)},model:function model(r,c){var l=Backbone.Model;if(r.elType){var u=r.widgetType||r.elType,p=elementor.elementsManager.getElementTypeClass(u);if(!p)throw new Qt(u);l=elementor.hooks.applyFilters(`element/model`,p.getModel(),r)}return new l(r,c)},clone:function clone(){var r=Backbone.Collection.prototype.clone.apply(this,arguments),c=new l;return r.forEach(function(r){c.add(r.clone(),null,!0)}),c}});l.prototype.sync=l.prototype.fetch=l.prototype.save=_.noop,c.exports=l})),tn=__commonJSMin(((r,c)=>{x(),P(),Xt();function ownKeys(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}var l=Zt(),u=Yt.extend({defaults:{id:``,elType:``,isInner:!1,isLocked:!1,settings:{},defaultEditSettings:{defaultEditRoute:`content`},interactions:{}},remoteRender:!1,_htmlCache:null,_jqueryXhr:null,renderOnLeave:!1,initialize:function initialize(r){var c=this.get(`elType`),l=this.get(`elements`);if(l!==void 0){var u=en();this.set(`elements`,new u(l))}c===`widget`&&(this.remoteRender=!0,this.setHtmlCache(r.htmlCache||``)),delete r.htmlCache,this.renderRemoteServer=_.throttle(this.renderRemoteServer,1e3),this.initSettings(),this.initEditSettings(),this.on({destroy:this.onDestroy,"editor:close":this.onCloseEditor})},initSettings:function initSettings(){var r=this.get(`elType`),c=this.get(`settings`),u={column:l}[r]||elementorModules.editor.elements.models.BaseSettings;jQuery.isEmptyObject(c)&&(c=structuredClone(c)),r===`widget`&&(c.widgetType=this.get(`widgetType`)),c=_objectSpread(_objectSpread({},c),{},{elType:r}),c.isInner=this.get(`isInner`);var p=this.get(`_title`);p&&(c._title=p),c=new u(c,{controls:elementor.getElementControls(this)}),this.set(`settings`,c),elementorFrontend.config.elements.data[this.cid]=c},initEditSettings:function initEditSettings(){var r=new Backbone.Model(this.get(`defaultEditSettings`));this.set(`editSettings`,r),elementorFrontend.config.elements.editSettings[this.cid]=r},setSetting:function setSetting(r,c){var l=this.get(`settings`);if(_typeof(r)!==`object`){var u=r.split(`.`),p=u.length===3;r=u[0],p&&(l=l.get(r).models[u[1]],r=u[2])}l.setExternalChange(r,c)},getSetting:function getSetting(r){var c=r.split(`.`),l=c.length===3,u=this.get(`settings`);r=c[0];var p=u.get(r);return p===void 0?``:(l&&(p=p.models[c[1]].get(c[2])),p)},setHtmlCache:function setHtmlCache(r){this._htmlCache=r},getHtmlCache:function getHtmlCache(){return this._htmlCache},getDefaultTitle:function getDefaultTitle(){return elementor.getElementData(this).title},getTitle:function getTitle(){var r,c=this.get(`editor_settings`),l=(c==null?void 0:c.title)||this.getSetting(`_title`)||this.getSetting(`presetTitle`),u=this.get(`custom`);return!l&&(r=u==null?void 0:u.isPreset)!=null&&r?this.get(`title`)||l:(l||(l=this.getDefaultTitle()),l)},getVisibility:function getVisibility(){if(elementor.helpers.isAtomicWidget(this)){var r;return!!((r=this.get(`editor_settings`))!=null&&r.is_hidden)}return!!this.get(`hidden`)},setVisibility:function setVisibility(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(elementor.helpers.isAtomicWidget(this)){var c=this.get(`editor_settings`)||{};this.set(`editor_settings`,_objectSpread(_objectSpread({},c),{},{is_hidden:r}))}else this.set(`hidden`,r)},toggleVisibility:function toggleVisibility(){var r=this.getVisibility();this.setVisibility(!r)},getIcon:function getIcon(){var r,c=elementor.getElementData(this).icon,l=this.get(`custom`);if((r=l==null?void 0:l.isPreset)!=null&&r)return this.attributes.custom.preset_settings.presetIcon||c;var u=this.getSetting(`presetIcon`);return typeof u==`string`&&u.trim()!==``?u:c},createRemoteRenderRequest:function createRemoteRenderRequest(){var r=this.toJSON();return elementorCommon.ajax.addRequest(`render_widget`,{unique_id:this.cid,data:{data:r},success:this.onRemoteGetHtml.bind(this)},!0).jqXhr},renderRemoteServer:function renderRemoteServer(){this.remoteRender&&(this.renderOnLeave=!1,this.trigger(`before:remote:render`),this.isRemoteRequestActive()&&this._jqueryXhr.abort(),this._jqueryXhr=this.createRemoteRenderRequest())},isRemoteRequestActive:function isRemoteRequestActive(){return this._jqueryXhr&&this._jqueryXhr.readyState!==4},onRemoteGetHtml:function onRemoteGetHtml(r){this.setHtmlCache(r.render),this.trigger(`remote:render`)},clone:function clone(){var r=new this.constructor(elementorCommon.helpers.cloneObject(this.attributes));r.set(`id`,elementorCommon.helpers.getUniqueId()),r.setHtmlCache(this.getHtmlCache());var c=this.get(`elements`);return _.isEmpty(c)||r.set(`elements`,c.clone()),r},toJSON:function toJSON(r){r=r||{};var c=Backbone.Model.prototype.toJSON.call(this);return _.each(c,function(l,u){l&&l.toJSON&&(c[u]=l.toJSON(r))}),r.copyHtmlCache?c.htmlCache=this.getHtmlCache():delete c.htmlCache,r.remove&&r.remove.forEach(function(r){return delete c[r]}),c},onCloseEditor:function onCloseEditor(){this.renderOnLeave&&this.renderRemoteServer()},onDestroy:function onDestroy(){var r=this.get(`settings`),c=this.get(`elements`);c!==void 0&&_.each(_.clone(c.models),function(r){r.destroy()}),r.destroy()}});u.prototype.sync=u.prototype.fetch=u.prototype.save=_.noop,c.exports=u}));Kt(),Jt(),b(),w(),E(),D(),A();var nn=__toESM(tn());function _callSuper$293(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$293()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$293,`_callSuper`);function _isNativeReflectConstruct$293(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$293=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$293,`_isNativeReflectConstruct`);var rn=function(r){function Column(){return _classCallCheck(this,Column),_callSuper$293(this,Column,arguments)}return _inherits(Column,r),_createClass(Column,[{key:`isValidChild`,value:function isValidChild(r){var c=r.get(`elType`);return c===`section`&&r.get(`isInner`)?!0:[`widget`,`container`].includes(c)}}])}(nn.default);function buildModel(r,c,l){var u={id:elementorCommon.helpers.getUniqueId(),elType:r,elements:[]},p=c&&Object.keys(c).length>0,m=l&&Object.keys(l).length>0;if(!p&&!m)return u;var h=`e-${elementorCommon.helpers.getUniqueId()}`,g=[{meta:{breakpoint:`desktop`,state:null},props:c==null?{}:c,custom_css:null}];return m&&g.push({meta:{breakpoint:`mobile`,state:null},props:l,custom_css:null}),u.styles=_defineProperty({},h,{id:h,label:`local`,type:`class`,variants:g}),u.settings={classes:{$$type:`classes`,value:[h]}},u}function insertElementFromModel(r,c,l){var u,p=(u=elementorModules)==null||(u=u.editor)==null?void 0:u.Container,m=function getDocumentUtils(){var r,c;return(r=$e)==null||(r=r.components)==null||(c=r.get)==null||(c=c.call(r,`document`))==null?void 0:c.utils},h=function getContainerById(r){var c,l,u;return(c=(l=m())==null||(u=l.findContainerById)==null?void 0:u.call(l,r))==null?null:c},g=function isContainerInstance(r){var c,l;return!p||!r?!1:r instanceof p||((c=r.constructor)==null?void 0:c.name)===((l=p.prototype)==null?void 0:l[Symbol.toStringTag])},v=function resolveContainer(r){var c;if(!p||g(r))return r;var l=r==null||(c=r.lookup)==null?void 0:c.call(r);if(g(l))return l;var u=r!=null&&r.id?h(r.id):null;return g(u)?u:null},y=v(r);if(!y&&p&&r!=null&&r.id){var b,x;return(b=m())==null||(x=b.addModelToParent)==null||x.call(b,r.id,c,l),h(c.id)||{id:c.id,lookup:function lookup(){return h(c.id)}}}var S=$e.run(`document/elements/create`,{container:y==null?r:y,model:c,options:l}),C=v(S);return C||!p?C==null?S:C:{id:c.id,lookup:function lookup(){return h(c.id)}}}function runWithHistory(r,c){var l=$e.internal(`document/history/start-log`,{type:`add`,title:r}),u;try{u=c(),$e.internal(`document/history/end-log`,{id:l})}catch(r){$e.internal(`document/history/delete-log`,{id:l})}return u}var an=__esmMin((()=>{P()}));function ownKeys$20(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$20(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$20(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$20(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}function getPresetDefinition(r){return bn[r]?bn[r]:yn(r.split(`-`))}function buildTreeModel(r){var c=r.parent,l=r.parentMobile,u=r.children,p=u===void 0?[]:u,m=buildModel(on,c,l);return m.elements=p.map(function(r){return buildTreeModel(r)}),m}function buildNode(r,c,l,u){var p,m,h=r.parent,g=r.parentMobile,v=r.children,y=u&&!1===l.createWrapper?(p=c==null||(m=c.lookup)==null?void 0:m.call(c))==null?c:p:insertElementFromModel(c,buildModel(on,h,g),u?l:{edit:!1});return v.forEach(function(r){var c;if((c=r.children)!=null&&c.length){insertElementFromModel(y,buildTreeModel(r),{edit:!1});return}buildNode(r,y,l,!1)}),y}function createV4FlexboxFromPreset(c){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:elementor.getPreviewContainer(),u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return runWithHistory((0,r.__)(`Container`,`elementor`),function(){return buildNode(getPresetDefinition(c),l,u,!0)})}var on,sn,cn,ln,un,dn,fn,pn,mn,hn,gn,_n,vn,yn,bn,xn=__esmMin((()=>{P(),an(),__name(ownKeys$20,`ownKeys`),__name(_objectSpread$20,`_objectSpread`),on=`e-flexbox`,sn=`row`,cn=`column`,ln={33:`33.3333`,66:`66.6666`},un=function sizeProp(r){return{$$type:`size`,value:{size:r,unit:arguments.length>1&&arguments[1]!==void 0?arguments[1]:`px`}}},dn=function stringProp(r){return{$$type:`string`,value:r}},fn=function widthPercent(r){var c;return{width:un(Number((c=ln[r])==null?r:c),`%`)}},pn={width:un(100,`%`)},mn={"flex-direction":dn(sn)},hn={"flex-direction":dn(cn)},gn=_objectSpread$20(_objectSpread$20({},mn),{},{"flex-wrap":dn(`wrap`)}),_n=function widthChild(r){return{parent:_objectSpread$20(_objectSpread$20({},hn),fn(r)),parentMobile:pn,children:[]}},vn=function bareChild(){return{parent:hn,children:[]}},yn=function rowOfSizes(r){return{parent:r.reduce(function(r,c){return r+Number(c)},0)>100?gn:mn,children:r.map(_n)}},bn={c100:{parent:hn,children:[]},r100:{parent:mn,children:[]},"c100-c50-50":{parent:mn,children:[_n(`50`),{parent:_objectSpread$20(_objectSpread$20(_objectSpread$20({},hn),fn(`50`)),{},{padding:un(0,`px`)}),parentMobile:pn,children:[vn(),vn()]}]}}}));function getGridPresetProps(r){var c=elementor.presetsFactory.getParsedGridStructure(r);return{desktop:{"grid-template-columns":Cn(c.columns),"grid-template-rows":Cn(c.rows)},mobile:{"grid-template-columns":Cn(1),"grid-template-rows":Cn(c.rows)}}}function createV4GridFromPreset(c){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:elementor.getPreviewContainer(),u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return runWithHistory((0,r.__)(`Grid`,`elementor`),function(){var r=getGridPresetProps(c),p=r.desktop,m=r.mobile;return insertElementFromModel(l,buildModel(Sn,p,m),u)})}var Sn,Cn,wn=__esmMin((()=>{an(),Sn=`e-grid`,Cn=function gridTrackSizeProp(r){return{$$type:`grid-track-size`,value:{size:Number(r),unit:`fr`}}}}));function ownKeys$19(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$19(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$19(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$19(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}var Tn,G,En=__esmMin((()=>{b(),w(),P(),xn(),wn(),__name(ownKeys$19,`ownKeys`),__name(_objectSpread$19,`_objectSpread`),G=function(){function ContainerHelper(){_classCallCheck(this,ContainerHelper)}return _createClass(ContainerHelper,null,[{key:`isV4OptIn`,value:function isV4OptIn(){var r;return!!((r=elementorCommon)!=null&&(r=r.config)!=null&&(r=r.experimentalFeatures)!=null&&r.e_opt_in_v4)}},{key:`createContainers`,value:function createContainers(r,c){for(var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},p=[],m=0;m<r;m++)p.push(this.createContainer(c,l,u));return p}},{key:`createContainer`,value:function createContainer(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return $e.run(`document/elements/create`,{container:c,model:_objectSpread$19({elType:`container`,settings:r},u),options:l})}},{key:`setContainerSettings`,value:function setContainerSettings(r,c){$e.run(`document/elements/settings`,{container:c,settings:r,options:{external:!0}})}},{key:`createContainerFromSizes`,value:function createContainerFromSizes(r,c){var l=this,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},p=u.createWrapper,m=p===void 0||p,h={33:`33.3333`,66:`66.6666`},g=r.reduce(function(r,c){return r+parseInt(c)},0)>100,v=_objectSpread$19(_objectSpread$19({flex_direction:this.DIRECTION_ROW},g?{flex_wrap:`wrap`}:{}),{},{flex_gap:{unit:`px`,size:0,column:`0`,row:`0`}}),y;return m?y=this.createContainer(v,c,u):($e.run(`document/elements/settings`,{container:c,settings:v}),y=c),r.forEach(function(r){r=h[r]||r,l.createContainer({flex_direction:l.DIRECTION_COLUMN,content_width:`full`,width:{unit:`%`,size:r}},y,{edit:!1})}),y}},{key:`createContainerFromGridPreset`,value:function createContainerFromGridPreset(c){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:elementor.getPreviewContainer(),u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(ContainerHelper.isV4OptIn())return createV4GridFromPreset(c,l,u);var m=elementor.presetsFactory.getParsedGridStructure(c);return ContainerHelper.createContainer({container_type:ContainerHelper.CONTAINER_TYPE_GRID,grid_columns_grid:{unit:`fr`,size:m.columns},grid_rows_grid:{unit:`fr`,size:m.rows},grid_rows_grid_mobile:{unit:`fr`,size:m.rows}},l,u,_objectSpread$19({title:(0,r.__)(`Grid`,`elementor`),custom:{isPreset:!0,preset_settings:{presetIcon:`eicon-container-grid`}}},p))}},{key:`createContainerFromPreset`,value:function createContainerFromPreset(c){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:elementor.getPreviewContainer(),u=arguments.length>2?arguments[2]:void 0;if(ContainerHelper.isV4OptIn())return createV4FlexboxFromPreset(c,l,u);var p=$e.internal(`document/history/start-log`,{type:`add`,title:(0,r.__)(`Container`,`elementor`)}),m=u.createWrapper,h=m===void 0||m,g,v;try{switch(c){case`c100`:g=ContainerHelper.createContainer({flex_direction:ContainerHelper.DIRECTION_COLUMN},l,u);break;case`r100`:g=ContainerHelper.createContainer({flex_direction:ContainerHelper.DIRECTION_ROW},l,u);break;case`c100-c50-50`:v={flex_direction:ContainerHelper.DIRECTION_ROW,flex_gap:{unit:`px`,size:0,column:`0`,row:`0`}},h?g=ContainerHelper.createContainer(v,l,u):($e.run(`document/elements/settings`,{container:l,settings:v}),g=l),v={content_width:`full`,width:{unit:`%`,size:`50`}},ContainerHelper.createContainer(v,g,{edit:!1});var y=ContainerHelper.createContainer(_objectSpread$19(_objectSpread$19({},v),{},{padding:{unit:`px`,top:0,right:0,bottom:0,left:0,isLinked:!0},flex_gap:{unit:`px`,size:0,column:`0`,row:`0`}}),g,{edit:!1});ContainerHelper.createContainers(2,{},y,{edit:!1});break;default:var b=c.split(`-`);g=ContainerHelper.createContainerFromSizes(b,l,u)}$e.internal(`document/history/end-log`,{id:p})}catch(r){$e.internal(`document/history/delete-log`,{id:p})}return g}},{key:`openEditMode`,value:function openEditMode(r){$e.run(`document/elements/select`,{container:r})}},{key:`createContainerFromModel`,value:function createContainerFromModel(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return $e.run(`document/elements/create`,_objectSpread$19({model:r,container:c},l))}}])}(),Tn=G,_defineProperty(G,`DIRECTION_ROW`,`row`),_defineProperty(G,`DIRECTION_COLUMN`,`column`),_defineProperty(G,`DIRECTION_ROW_REVERSED`,`row-reverse`),_defineProperty(G,`DIRECTION_COLUMN_REVERSED`,`column-reverse`),_defineProperty(G,`DIRECTION_DEFAULT`,Tn.DIRECTION_COLUMN),_defineProperty(G,`CONTAINER_TYPE_GRID`,`grid`),_defineProperty(G,`V4_DEFAULT_CONTAINER_TYPE`,`e-flexbox`)}));function ownKeys$18(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$18(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$18(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$18(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}var Dn,On,kn=__esmMin((()=>{P(),b(),w(),__name(ownKeys$18,`ownKeys`),__name(_objectSpread$18,`_objectSpread`),Dn=function(){function EditorOneEventManager(){_classCallCheck(this,EditorOneEventManager)}return _createClass(EditorOneEventManager,null,[{key:`getEventsManager`,value:function getEventsManager(){var r;return(r=elementorCommon)==null?void 0:r.eventsManager}},{key:`getConfig`,value:function getConfig(){var r;return(r=this.getEventsManager())==null?void 0:r.config}},{key:`canSendEvents`,value:function canSendEvents(){var r;return((r=elementorCommon)==null||(r=r.config)==null||(r=r.editor_events)==null?void 0:r.can_send_events)||!1}},{key:`isEventsManagerAvailable`,value:function isEventsManagerAvailable(){var r=this.getEventsManager();return r&&typeof r.dispatchEvent==`function`}},{key:`dispatchEvent`,value:function dispatchEvent(r,c){try{return!this.isEventsManagerAvailable()||!this.canSendEvents()?!1:(this.getEventsManager().dispatchEvent(r,c),!0)}catch(r){return!1}}},{key:`toLowerSnake`,value:function toLowerSnake(r){return!r||typeof r!=`string`?r:r.replace(/\s+/g,`_`).toLowerCase()}},{key:`decodeHtmlEntities`,value:function decodeHtmlEntities(r){return!r||typeof r!=`string`?r:new DOMParser().parseFromString(r,`text/html`).body.textContent||r}},{key:`isInEditorContext`,value:function isInEditorContext(){var r;return window.elementor!==void 0&&!!((r=window.elementor)!=null&&r.documents)}},{key:`getFinderContext`,value:function getFinderContext(){var r,c,l,u,p=this.getConfig(),m=this.isInEditorContext();return{windowName:m?p==null||(r=p.appTypes)==null?void 0:r.editor:p==null||(c=p.appTypes)==null?void 0:c.wpAdmin,targetLocation:this.toLowerSnake(m?p==null||(l=p.locations)==null?void 0:l.topBar:p==null||(u=p.locations)==null?void 0:u.sidebar)}}},{key:`createBasePayload`,value:function createBasePayload(){var r,c,l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=this.getConfig();return _objectSpread$18({window_name:(r=u==null||(c=u.appTypes)==null?void 0:c.editor)==null?`editor`:r},l)}},{key:`sendTopBarPublishDropdown`,value:function sendTopBarPublishDropdown(r){var c,l,u,p,m,h,g,v=this.getConfig();return this.dispatchEvent(v==null||(c=v.names)==null||(c=c.editorOne)==null?void 0:c.topBarPublishDropdown,this.createBasePayload({interaction_type:this.toLowerSnake(v==null||(l=v.triggers)==null?void 0:l.click),target_type:v==null||(u=v.targetTypes)==null?void 0:u.dropdownItem,target_name:r,interaction_result:v==null||(p=v.interactionResults)==null?void 0:p.actionSelected,target_location:this.toLowerSnake(v==null||(m=v.locations)==null?void 0:m.topBar),location_l1:this.toLowerSnake(v==null||(h=v.secondaryLocations)==null?void 0:h.publishDropdown),location_l2:v==null||(g=v.targetTypes)==null?void 0:g.dropdownItem,interaction_description:`User selected an action from the publish dropdown`}))}},{key:`sendTopBarPageList`,value:function sendTopBarPageList(r){var c,l,u,p,m,h,g,v,y=arguments.length>1&&arguments[1]!==void 0&&arguments[1],b=this.getConfig();return this.dispatchEvent(b==null||(c=b.names)==null||(c=c.editorOne)==null?void 0:c.topBarPageList,this.createBasePayload({interaction_type:this.toLowerSnake(b==null||(l=b.triggers)==null?void 0:l.click),target_type:b==null||(u=b.targetTypes)==null?void 0:u.dropdownItem,target_name:r,interaction_result:y?b==null||(p=b.interactionResults)==null?void 0:p.create:b==null||(m=b.interactionResults)==null?void 0:m.navigate,target_location:this.toLowerSnake(b==null||(h=b.locations)==null?void 0:h.topBar),location_l1:this.toLowerSnake(b==null||(g=b.secondaryLocations)==null?void 0:g.pageListDropdown),location_l2:b==null||(v=b.targetTypes)==null?void 0:v.dropdownItem,interaction_description:`User selected an action from the page list dropdown`}))}},{key:`sendSiteSettingsSession`,value:function sendSiteSettingsSession(r){var c,l,u,p,m,h=r.targetType,g=r.visitedItems,v=g===void 0?[]:g,y=r.savedItems,b=y===void 0?[]:y,x=r.state,S=this.getConfig();return this.dispatchEvent(S==null||(c=S.names)==null||(c=c.editorOne)==null?void 0:c.siteSettingsSession,this.createBasePayload({interaction_type:this.toLowerSnake(S==null||(l=S.triggers)==null?void 0:l.click),target_type:h,target_name:`site_settings`,interaction_result:S==null||(u=S.interactionResults)==null?void 0:u.sessionEnd,target_location:this.toLowerSnake(S==null||(p=S.locations)==null?void 0:p.leftPanel),location_l1:this.toLowerSnake(S==null||(m=S.secondaryLocations)==null?void 0:m.siteSettings),interaction_description:`Records areas visited as part of the site setting session`,metadata:{visited_items:v,saved_items:b},state:x}))}},{key:`sendELibraryNav`,value:function sendELibraryNav(r){var c,l,u,p,m,h,g=this.getConfig();return this.dispatchEvent(g==null||(c=g.names)==null||(c=c.editorOne)==null?void 0:c.eLibraryNav,this.createBasePayload({interaction_type:this.toLowerSnake(g==null||(l=g.triggers)==null?void 0:l.tabSelect),target_type:g==null||(u=g.targetTypes)==null?void 0:u.tab,target_name:this.toLowerSnake(r),interaction_result:g==null||(p=g.interactionResults)==null?void 0:p.tabChanged,target_location:this.toLowerSnake(g==null||(m=g.locations)==null?void 0:m.elementorLibrary),location_l1:this.toLowerSnake(g==null||(h=g.secondaryLocations)==null?void 0:h.libraryTabs),interaction_description:`User navigates within elementor library`}))}},{key:`sendELibraryInsert`,value:function sendELibraryInsert(r){var c,l,u,p,m,h,g=r.assetId,v=r.assetName,y=r.libraryType,b=r.proRequired,x=b!==void 0&&b,S=this.getConfig(),C=this.createBasePayload({interaction_type:this.toLowerSnake(S==null||(c=S.triggers)==null?void 0:c.insert),target_type:S==null||(l=S.targetTypes)==null?void 0:l.button,target_name:String(g),interaction_result:S==null||(u=S.interactionResults)==null?void 0:u.assetInserted,target_location:this.toLowerSnake(S==null||(p=S.locations)==null?void 0:p.elementorLibrary),location_l1:this.toLowerSnake(y),location_l2:this.toLowerSnake(S==null||(m=S.secondaryLocations)==null?void 0:m.assetCard),interaction_description:`User inserts block/pages from elementor library`,metadata:{template_id:String(g),template_name:this.decodeHtmlEntities(v)||``}});return x&&(C.state=`pro_plan_required`),this.dispatchEvent(S==null||(h=S.names)==null||(h=h.editorOne)==null?void 0:h.eLibraryInsert,C)}},{key:`sendELibraryFavorite`,value:function sendELibraryFavorite(r){var c,l,u,p,m,h,g=r.assetId,v=r.assetName,y=r.libraryType,b=r.isFavorite,x=r.proRequired,S=x!==void 0&&x,C=this.getConfig(),w=this.createBasePayload({interaction_type:this.toLowerSnake(C==null||(c=C.triggers)==null?void 0:c.click),target_type:C==null||(l=C.targetTypes)==null?void 0:l.toggle,target_name:String(g),interaction_result:C==null||(u=C.interactionResults)==null?void 0:u.assetFavorite,target_value:!!b,target_location:this.toLowerSnake(C==null||(p=C.locations)==null?void 0:p.elementorLibrary),location_l1:this.toLowerSnake(y),location_l2:this.toLowerSnake(C==null||(m=C.secondaryLocations)==null?void 0:m.assetCard),interaction_description:`User favorite block/pages from elementor library`,metadata:{template_id:String(g),template_name:this.decodeHtmlEntities(v)||``}});return S&&(w.state=`pro_plan_required`),this.dispatchEvent(C==null||(h=C.names)==null||(h=h.editorOne)==null?void 0:h.eLibraryFavorite,w)}},{key:`sendELibraryGenerateAi`,value:function sendELibraryGenerateAi(r){var c,l,u,p,m,h,g=r.assetId,v=r.assetName,y=r.libraryType,b=this.getConfig();return this.dispatchEvent(b==null||(c=b.names)==null||(c=c.editorOne)==null?void 0:c.eLibraryGenerateAi,this.createBasePayload({interaction_type:this.toLowerSnake(b==null||(l=b.triggers)==null?void 0:l.click),target_type:b==null||(u=b.targetTypes)==null?void 0:u.button,target_name:String(g),interaction_result:b==null||(p=b.interactionResults)==null?void 0:p.aiGenerate,target_location:this.toLowerSnake(b==null||(m=b.locations)==null?void 0:m.elementorLibrary),location_l1:this.toLowerSnake(y),location_l2:this.toLowerSnake(b==null||(h=b.secondaryLocations)==null?void 0:h.assetCard),interaction_description:`User generated block/page based on a library asset`,metadata:{template_id:String(g),template_name:this.decodeHtmlEntities(v)||``}}))}},{key:`sendFinderSearchInput`,value:function sendFinderSearchInput(r){var c,l,u,p,m,h,g=r.resultsCount,v=r.searchTerm,y=v===void 0?null:v,b=this.getConfig(),x=g>0,S=this.getFinderContext(),C=this.createBasePayload({window_name:S.windowName,interaction_type:this.toLowerSnake(b==null||(c=b.triggers)==null?void 0:c.typing),target_type:b==null||(l=b.targetTypes)==null?void 0:l.searchInput,target_name:`finder`,interaction_result:x?b==null||(u=b.interactionResults)==null?void 0:u.resultsUpdated:b==null||(p=b.interactionResults)==null?void 0:p.noResults,target_location:S.targetLocation,location_l1:this.toLowerSnake(b==null||(m=b.secondaryLocations)==null?void 0:m.finder),interaction_description:`Finder search input, follows debounce behavior`,metadata:{results_count:g}});return!x&&y&&(C.metadata.search_term=y),this.dispatchEvent(b==null||(h=b.names)==null||(h=h.editorOne)==null?void 0:h.finderSearchInput,C)}},{key:`sendFinderResultSelect`,value:function sendFinderResultSelect(r){var c,l,u,p,m,h,g=this.getConfig(),v=this.getFinderContext();return this.dispatchEvent(g==null||(c=g.names)==null||(c=c.editorOne)==null?void 0:c.finderResultSelect,this.createBasePayload({window_name:v.windowName,interaction_type:this.toLowerSnake(g==null||(l=g.triggers)==null?void 0:l.click),target_type:g==null||(u=g.targetTypes)==null?void 0:u.searchResult,target_name:r,interaction_result:g==null||(p=g.interactionResults)==null?void 0:p.selected,target_location:v.targetLocation,location_l1:this.toLowerSnake(g==null||(m=g.secondaryLocations)==null?void 0:m.finder),location_l2:this.toLowerSnake(g==null||(h=g.secondaryLocations)==null?void 0:h.finderResults),interaction_description:`Finder search results was selected`}))}},{key:`sendCanvasEmptyBoxAction`,value:function sendCanvasEmptyBoxAction(r){var c,l,u,p,m,h,g=r.targetName,v=r.metadata,y=v===void 0?{}:v,b=r.containerCreated,x=b===void 0?null:b,S=this.getConfig(),C=this.createBasePayload({interaction_type:this.toLowerSnake(S==null||(c=S.triggers)==null?void 0:c.click),target_type:S==null||(l=S.targetTypes)==null?void 0:l.buttons,target_name:g,interaction_result:S==null||(u=S.interactionResults)==null?void 0:u.selected,target_location:this.toLowerSnake(S==null||(p=S.locations)==null?void 0:p.canvas),location_l1:this.toLowerSnake(S==null||(m=S.secondaryLocations)==null?void 0:m.emptyBox),interaction_description:`Empty box on canvas actions`});return Object.keys(y).length>0&&(C.metadata=y),x!==null&&(C.state=x),this.dispatchEvent(S==null||(h=S.names)==null||(h=h.editorOne)==null?void 0:h.canvasEmptyBoxAction,C)}},{key:`sendWidgetPanelSearch`,value:function sendWidgetPanelSearch(r){var c,l,u,p,m,h,g,v,y=r.resultsCount,b=r.userInput,x=b===void 0?null:b,S=this.getConfig(),C=y>0,w=this.createBasePayload({interaction_type:this.toLowerSnake(S==null||(c=S.triggers)==null?void 0:c.typing),target_type:S==null||(l=S.targetTypes)==null?void 0:l.searchWidget,target_name:`search_widget`,interaction_result:C?S==null||(u=S.interactionResults)==null?void 0:u.resultsUpdated:S==null||(p=S.interactionResults)==null?void 0:p.noResults,target_location:this.toLowerSnake(S==null||(m=S.locations)==null?void 0:m.leftPanel),location_l1:this.toLowerSnake(S==null||(h=S.locations)==null?void 0:h.widgetPanel),location_l2:this.toLowerSnake(S==null||(g=S.secondaryLocations)==null?void 0:g.searchBar),interaction_description:`Widget search input, follows debounce behavior`});return!C&&x&&(w.metadata={user_input:x}),this.dispatchEvent(S==null||(v=S.names)==null||(v=v.editorOne)==null?void 0:v.widgetPanelSearch,w)}},{key:`createWpDashPayload`,value:function createWpDashPayload(){var r,c,l,u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=this.getConfig();return this.createBasePayload(_objectSpread$18({window_name:(r=p==null||(c=p.appTypes)==null?void 0:c.wpDash)==null?`wpdash`:r,target_location:this.toLowerSnake(p==null||(l=p.locations)==null?void 0:l.wpDashAdmin),location_l2:``},u))}},{key:`sendWpDashElementorMenuClick`,value:function sendWpDashElementorMenuClick(){var r,c,l,u,p,m=this.getConfig();return this.dispatchEvent(m==null||(r=m.names)==null||(r=r.editorOne)==null?void 0:r.wpDashElementorMenuClick,this.createWpDashPayload({interaction_type:this.toLowerSnake(m==null||(c=m.triggers)==null?void 0:c.click),target_type:m==null||(l=m.targetTypes)==null?void 0:l.wpDashAdminMenuItem,target_name:`elementor_menu_item`,interaction_result:m==null||(u=m.interactionResults)==null?void 0:u.elementorSideMenuOpened,location_l1:this.toLowerSnake(m==null||(p=m.secondaryLocations)==null?void 0:p.wpDashElementorCoreMenu),interaction_description:`core_user_clicked_elementor_menu_item`}))}},{key:`sendWpDashEditorSubMenuHover`,value:function sendWpDashEditorSubMenuHover(){var r,c,l,u,p,m=this.getConfig();return this.dispatchEvent(m==null||(r=m.names)==null||(r=r.editorOne)==null?void 0:r.wpDashEditorSubMenuHover,this.createWpDashPayload({interaction_type:this.toLowerSnake(m==null||(c=m.triggers)==null?void 0:c.hover),target_type:m==null||(l=m.targetTypes)==null?void 0:l.wpDashEditorMenu,target_name:`wpdash_editor_sub_menu`,interaction_result:m==null||(u=m.interactionResults)==null?void 0:u.editorSubMenuOpened,location_l1:this.toLowerSnake(m==null||(p=m.secondaryLocations)==null?void 0:p.wpDashElementorCoreSubMenu),interaction_description:`core_user_hovered_sub_menu`}))}},{key:`sendWpDashThemeBuilderClick`,value:function sendWpDashThemeBuilderClick(){var r,c,l,u,p,m=this.getConfig();return this.dispatchEvent(m==null||(r=m.names)==null||(r=r.editorOne)==null?void 0:r.wpDashThemeBuilderClick,this.createWpDashPayload({interaction_type:this.toLowerSnake(m==null||(c=m.triggers)==null?void 0:c.click),target_type:m==null||(l=m.targetTypes)==null?void 0:l.wpDashSubMenuItem,target_name:`theme_builder_menu_item`,interaction_result:m==null||(u=m.interactionResults)==null?void 0:u.themeBuilderPromotionWindow,location_l1:this.toLowerSnake(m==null||(p=m.secondaryLocations)==null?void 0:p.wpDashThemeBuilder),interaction_description:`core_user_clicked_theme_builder_menu_item`}))}},{key:`sendSidebarMenuItemClicked`,value:function sendSidebarMenuItemClicked(r){var c=r.eventId,l=r.groupEventId;try{var u,p,m,h,g,v,y=this.getConfig(),b=this.createBasePayload({window_name:y==null||(u=y.windowNames)==null?void 0:u.sidebarMenu,interaction_type:this.toLowerSnake(y==null||(p=y.triggers)==null?void 0:p.click),target_type:y==null||(m=y.targetTypes)==null?void 0:m.link,target_name:c,interaction_result:y==null||(h=y.interactionResults)==null?void 0:h.pageOpened,target_location:this.toLowerSnake(y==null||(g=y.locations)==null?void 0:g.sidebar)});return l&&(b.location_l1=l),this.dispatchEvent(y==null||(v=y.names)==null||(v=v.editorOne)==null?void 0:v.sidebarMenuItemClicked,b)}catch(r){return!1}}},{key:`sendSidebarMenuGroupToggled`,value:function sendSidebarMenuGroupToggled(r){var c=r.eventId,l=r.isExpanded;try{var u,p,m,h,g,v,y,b=this.getConfig(),x=l?b==null||(u=b.interactionResults)==null?void 0:u.expanded:b==null||(p=b.interactionResults)==null?void 0:p.collapsed;return this.dispatchEvent(b==null||(m=b.names)==null||(m=m.editorOne)==null?void 0:m.sidebarMenuGroupToggled,this.createBasePayload({window_name:b==null||(h=b.windowNames)==null?void 0:h.sidebarMenu,interaction_type:this.toLowerSnake(b==null||(g=b.triggers)==null?void 0:g.click),target_type:b==null||(v=b.targetTypes)==null?void 0:v.toggle,target_name:c,interaction_result:x,target_location:this.toLowerSnake(b==null||(y=b.locations)==null?void 0:y.sidebar)}))}catch(r){return!1}}}])}(),On=function createDebouncedWidgetPanelSearch(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:2e3;return _.debounce(function(r,c){Dn.sendWidgetPanelSearch({resultsCount:r,userInput:c})},r)}})),An=__commonJSMin(((r,c)=>{c.exports=elementorModules.Module.extend({openMenuEvent:null,location:null,getDefaultSettings:function getDefaultSettings(){return{context:`preview`,actions:{},classes:{list:`elementor-context-menu-list`,group:`elementor-context-menu-list__group`,groupPrefix:`elementor-context-menu-list__group-`,item:`elementor-context-menu-list__item`,itemTypePrefix:`elementor-context-menu-list__item-`,itemTitle:`elementor-context-menu-list__item__title`,itemShortcut:`elementor-context-menu-list__item__shortcut`,iconShortcut:`elementor-context-menu-list__item__icon`,itemDisabled:`elementor-context-menu-list__item--disabled`,itemHasShortcutAction:`elementor-context-menu-list__item--has-shortcut-action`,divider:`elementor-context-menu-list__divider`,hidden:`elementor-hidden`,promotionLink:`elementor-context-menu-list__item__shortcut--link-fullwidth`}}},buildActionItem:function buildActionItem(r){var c=this,l=c.getSettings(`classes`),u=jQuery(`<div>`,{class:l.item+` `+l.itemTypePrefix+r.name,role:`menuitem`,tabindex:`0`}),p=jQuery(`<div>`,{class:l.itemTitle}).text(r.title),m=jQuery(`<div>`,{class:l.iconShortcut});if(r.icon&&m.html(jQuery(`<i>`,{class:r.icon})),u.append(m,p),r.shortcut){var h=jQuery(`<div>`,{class:l.itemShortcut}).html(r.shortcut);u.append(h)}return r.callback&&(u.on(`click`,function(){c.runAction(r)}),u.on(`keyup`,function(l){(l.keyCode===13||l.keyCode===32)&&c.runAction(r)})),r.$item=u,u},buildActionsList:function buildActionsList(){var r=this,c=r.getSettings(`classes`),l=r.getSettings(`groups`),u=jQuery(`<div>`,{class:c.list,role:`menu`});return l.forEach(function(l){var p=jQuery(`<div>`,{class:c.group+` `+c.groupPrefix+l.name,role:`group`});l.actions.forEach(function(c){p.append(r.buildActionItem(c))}),u.append(p),l.$item=p}),u},toggleGroupVisibility:function toggleGroupVisibility(r,c){r.$item.toggleClass(this.getSettings(`classes.hidden`),!c)},toggleActionVisibility:function toggleActionVisibility(r,c){r.$item.toggleClass(this.getSettings(`classes.hidden`),!c)},toggleActionUsability:function toggleActionUsability(r,c){this.maybeAddPromotionLink(r),r.$item.toggleClass(this.getSettings(`classes.itemDisabled`),!c),r.hasShortcutAction&&r.$item.toggleClass(this.getSettings(`classes.itemHasShortcutAction`),!c)},maybeAddPromotionLink:function maybeAddPromotionLink(r){this.shouldAddPromotionLink(r)&&r.$item.find(`div.elementor-context-menu-list__item__shortcut`)[0].insertAdjacentHTML(`beforeend`,`<a href='${r.promotionURL}' target="_blank" class="${this.getSettings(`classes.promotionLink`)}"></a>`)},shouldAddPromotionLink:function shouldAddPromotionLink(r){return!!(r.promotionURL&&!r.$item.find(`a.elementor-context-menu-list__item__shortcut--link-fullwidth`)[0]&&r.$item.find(`i.eicon-pro-icon`)[0])},updateActionTitle:function updateActionTitle(r){typeof r.title==`function`&&r.$item.find(`.`+this.getSettings(`classes`).itemTitle).text(r.title())},isActionEnabled:function isActionEnabled(r){return!r.callback&&!r.groups?!1:!r.isEnabled||r.isEnabled()},isActionVisible:function isActionVisible(r){return typeof r.isVisible==`function`?r.isVisible():!1!==r.isVisible},runAction:function runAction(r){!this.isActionEnabled(r)||!this.isActionVisible(r)||(r.callback(this.openMenuEvent,{location:this.location,secondaryLocation:elementorCommon.eventsManager.config.secondaryLocations.contextMenu,trigger:elementorCommon.eventsManager.config.triggers.rightClick}),this.getModal().hide())},initModal:function initModal(){var r;this.getModal=function(){return r||(r=elementorCommon.dialogsManager.createWidget(`simple`,{className:`elementor-context-menu`,message:this.buildActionsList(),iframe:this.getSettings(`context`)===`preview`?elementor.$preview:null,effects:{hide:`hide`,show:`show`},hide:{onOutsideContextMenu:!0},position:{my:(elementorCommon.config.isRTL?`right`:`left`)+` top`,collision:`fit`}})),r}},show:function show(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=this,u=l.getModal();this.openMenuEvent=r,this.location=c.location,u.setSettings(`position`,{of:r}),l.getSettings(`groups`).forEach(function(r){var c=!1!==r.isVisible;l.toggleGroupVisibility(r,c),c&&r.actions.forEach(function(r){var c=l.isActionVisible(r);l.toggleActionVisibility(r,c),l.updateActionTitle(r),c&&l.toggleActionUsability(r,l.isActionEnabled(r))})}),u.show(),elementor.templates.eventManager.sendContextMenuExposureEvent()},destroy:function destroy(){this.getModal().destroy()},onInit:function onInit(){this.initModal()}})})),jn=__commonJSMin(((c,l)=>{Nn();var u=An();l.exports=Marionette.Behavior.extend({defaults:{context:`preview`,groups:[],eventTargets:[`el`]},events:function events(){var r={};return this.getOption(`eventTargets`).forEach(function(c){var l=`contextmenu`;c!==`el`&&(l+=` `+c),r[l]=`onContextMenu`}),r},initialize:function initialize(){this.listenTo(this.view.options.model,`request:contextmenu`,this.onRequestContextMenu)},initContextMenu:function initContextMenu(){var c=this,l=Gt.mac?`&#8984;`:`^`,p=this.getOption(`groups`),m=_.findWhere(p,{name:`delete`}),h=p.indexOf(m);h===-1&&(h=p.length),this.getOption(`context`)===`preview`&&$e.components.get(`document/elements`).utils.showNavigator()&&p.splice(h,0,{name:`tools`,actions:[{name:`navigator`,icon:`eicon-navigator`,title:(0,r.__)(`Structure`,`elementor`),shortcut:l+`+I`,callback:function callback(){return $e.route(`navigator`,{reOpen:!0,model:c.view.model})}}]}),this.contextMenu=new u({groups:p,context:this.getOption(`context`)}),this.contextMenu.getModal().on(`hide`,function(){return c.onContextMenuHide()})},getContextMenu:function getContextMenu(){var r,c;return this.contextMenu||this.initContextMenu(),this.getOption(`context`)===`preview`&&!elementor.selection.has((r=(c=this.view).getContainer)==null?void 0:r.call(c))&&$e.run(`document/elements/deselect-all`),this.contextMenu},onContextMenu:function onContextMenu(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$e.shortcuts.isControlEvent(r)&&!(this.getOption(`context`)===`preview`&&!(this.view instanceof Mn)&&(!this.view.container||!this.view.container.isDesignable()))){r.preventDefault(),r.stopPropagation(),this.view._parent&&this.view._parent.triggerMethod(`toggleSortMode`,!1);var l=c.location||elementorCommon.eventsManager.config.locations.canvas;this.getContextMenu().show(r,{location:l}),elementor.channels.editor.reply(`contextMenu:targetView`,this.view)}},onRequestContextMenu:function onRequestContextMenu(r,c){var l=this.getContextMenu().getModal(),u=l.getSettings(`iframe`),p=_.findWhere(this.contextMenu.getSettings(`groups`),{name:`tools`});p.isVisible=!1,l.setSettings(`iframe`,null),this.onContextMenu(r,c),p.isVisible=!0,l.setSettings(`iframe`,u)},onContextMenuHide:function onContextMenuHide(){this.view._parent&&this.view._parent.triggerMethod(`toggleSortMode`,!0),elementor.channels.editor.reply(`contextMenu:targetView`,null)},onDestroy:function onDestroy(){this.contextMenu&&this.contextMenu.destroy()}})}));function ownKeys$17(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$17(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$17(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$17(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}function _callSuper$292(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$292()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$292(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$292=function _isNativeReflectConstruct(){return!!r})()}var Mn,Nn=__esmMin((()=>{b(),w(),E(),D(),A(),P(),En(),Kt(),kn(),__name(ownKeys$17,`ownKeys`),__name(_objectSpread$17,`_objectSpread`),__name(_callSuper$292,`_callSuper`),__name(_isNativeReflectConstruct$292,`_isNativeReflectConstruct`),Mn=function(c){function AddSectionBase(){return _classCallCheck(this,AddSectionBase),_callSuper$292(this,AddSectionBase,arguments)}return _inherits(AddSectionBase,c),_createClass(AddSectionBase,[{key:`template`,value:function template(){return Marionette.TemplateCache.get(`#tmpl-elementor-add-section`)}},{key:`attributes`,value:function attributes(){return{"aria-label":(0,r.__)(`Add new layout element`,`elementor`),"data-view":AddSectionBase.VIEW_CHOOSE_ACTION}}},{key:`ui`,value:function ui(){return{addNewSection:`.elementor-add-new-section`,closeButton:`.elementor-add-section-close`,backButton:`.elementor-add-section-back`,addSectionButton:`.elementor-add-section-button`,addTemplateButton:`.elementor-add-template-button`,selectPreset:`.elementor-select-preset`,presets:`.elementor-preset`,flexPresetButton:`.flex-preset-button`,gridPresetButton:`.grid-preset-button`,chooseFlexPreset:`.e-con-select-preset-flex .e-con-preset`,chooseGridPreset:`.e-con-select-preset-grid .e-con-preset`}}},{key:`events`,value:function events(){var r=this;return{"click @ui.addSectionButton":`onAddSectionButtonClick`,"click @ui.addTemplateButton":`onAddTemplateButtonClick`,"click @ui.closeButton":`onCloseButtonClick`,"click @ui.backButton":function click_UiBackButton(){return r.setView(AddSectionBase.getSelectType())},"click @ui.presets":`onPresetSelected`,"click @ui.flexPresetButton":function click_UiFlexPresetButton(){return r.setView(AddSectionBase.VIEW_CONTAINER_FLEX_PRESET)},"click @ui.gridPresetButton":function click_UiGridPresetButton(){return r.setView(AddSectionBase.VIEW_CONTAINER_GRID_PRESET)},"click @ui.chooseFlexPreset":`onFlexPresetSelected`,"click @ui.chooseGridPreset":`onGridPresetSelected`}}},{key:`behaviors`,value:function behaviors(){var r={contextMenu:{behaviorClass:jn(),groups:this.getContextMenuGroups(),eventTargets:[`.elementor-add-section-inner`]}};return elementor.hooks.applyFilters(`views/add-section/behaviors`,r,this)}},{key:`tagName`,value:function tagName(){return`section`}},{key:`className`,value:function className(){return`elementor-add-section elementor-visible-desktop`}},{key:`setView`,value:function setView(r){this.$el.attr(`data-view`,r)}},{key:`showSelectPresets`,value:function showSelectPresets(){this.setView(AddSectionBase.getSelectType())}},{key:`closeSelectPresets`,value:function closeSelectPresets(){this.setView(AddSectionBase.VIEW_CHOOSE_ACTION)}},{key:`getTemplatesModalOptions`,value:function getTemplatesModalOptions(){return{importOptions:{at:this.getOption(`at`)}}}},{key:`getContextMenuGroups`,value:function getContextMenuGroups(){var c=this,l=function hasContent(){return elementor.elements.length>0},u=Gt.mac?`&#8984;`:`^`;return[{name:`paste`,actions:[{name:`paste`,title:(0,r.__)(`Paste`,`elementor`),shortcut:u+`+V`,isEnabled:function isEnabled(){return $e.components.get(`document/elements`).utils.isPasteEnabled(elementor.getPreviewContainer())},callback:function callback(){return $e.run(`document/ui/paste`,{container:elementor.getPreviewContainer(),options:{at:c.getOption(`at`),rebuild:!0},onAfter:function onAfter(){return c.onAfterPaste()}})}},{name:`paste_area`,icon:`eicon-import-export`,title:(0,r.__)(`Paste from other site`,`elementor`),callback:function callback(){return $e.run(`document/elements/paste-area`,{container:elementor.getPreviewContainer(),options:{at:c.getOption(`at`),rebuild:!0}})}}]},{name:`content`,actions:[{name:`copy_all_content`,title:(0,r.__)(`Copy All Content`,`elementor`),isEnabled:l,callback:function callback(){return $e.run(`document/elements/copy-all`)}},{name:`delete_all_content`,title:(0,r.__)(`Delete All Content`,`elementor`),isEnabled:l,callback:function callback(){return $e.run(`document/elements/empty`)}}]}]}},{key:`onAddSectionButtonClick`,value:function onAddSectionButtonClick(){this.showSelectPresets()}},{key:`onAddTemplateButtonClick`,value:function onAddTemplateButtonClick(){Dn.sendCanvasEmptyBoxAction({targetName:`e_library`}),$e.run(`library/open`,this.getTemplatesModalOptions())}},{key:`onRender`,value:function onRender(){this.$el.html5Droppable(_objectSpread$17({axis:[`vertical`],groups:[`elementor-element`],placeholder:!1,currentElementClass:`elementor-html5dnd-current-element`,hasDraggingOnChildClass:`elementor-dragging-on-child`},this.getDroppableOptions()))}},{key:`getDroppableOptions`,value:function getDroppableOptions(){var r=this;return{isDroppingAllowed:function isDroppingAllowed(){var r;return!((r=elementor.channels.editor.request(`element:dragged`))!=null&&(r=r.el)!=null&&(r=r.dataset)!=null&&r.id)},onDropping:function onDropping(c,l){elementor.getPreviewView().onDrop(l,{side:c,at:r.getOption(`at`)})}}}},{key:`onGridPresetSelected`,value:function onGridPresetSelected(r){this.closeSelectPresets();var c=r.currentTarget.dataset.structure,l=!!this.options.at||this.options.at===0;Dn.sendCanvasEmptyBoxAction({targetName:`add_container`,metadata:{container_type:`grid`,structure_type:c},containerCreated:!0});var u=G.createContainerFromGridPreset(c,elementor.getPreviewContainer(),this.options);return l&&this.destroy(),u}},{key:`onPresetSelected`,value:function onPresetSelected(r){this.closeSelectPresets();var c=r.currentTarget.dataset.structure,l=elementor.presetsFactory.getParsedStructure(c);$e.run(`document/elements/create`,{model:{elType:`section`},container:elementor.getPreviewContainer(),columns:l.columnsCount,structure:c,options:Object.assign({},this.options)})}},{key:`onFlexPresetSelected`,value:function onFlexPresetSelected(r){this.closeSelectPresets();var c=r.currentTarget.dataset.preset;return Dn.sendCanvasEmptyBoxAction({targetName:`add_container`,metadata:{container_type:`flexbox`,structure_type:c},containerCreated:!0}),G.createContainerFromPreset(c,elementor.getPreviewContainer(),this.options)}},{key:`onDropping`,value:function onDropping(){elementor.getPreviewView().addElementFromPanel()}},{key:`onAfterPaste`,value:function onAfterPaste(){}}],[{key:`getSelectType`,value:function getSelectType(){return AddSectionBase.IS_CONTAINER_ACTIVE?AddSectionBase.getSelectTypePreset():`select-preset`}},{key:`getSelectTypePreset`,value:function getSelectTypePreset(){return AddSectionBase.IS_CONTAINER_ACTIVE?`select-type`:`select-container-preset`}}])}(Marionette.ItemView),_defineProperty(Mn,`IS_CONTAINER_ACTIVE`,!!elementorCommon.config.experimentalFeatures.container),_defineProperty(Mn,`VIEW_CHOOSE_ACTION`,`choose-action`),_defineProperty(Mn,`VIEW_CONTAINER_FLEX_PRESET`,`select-container-preset`),_defineProperty(Mn,`VIEW_CONTAINER_GRID_PRESET`,`select-container-preset-grid`)})),Pn=__exportAll({default:()=>Fn});function _callSuper$291(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$291()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$291(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$291=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet$33(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}var Fn,In=__esmMin((()=>{b(),w(),E(),D(),k(),A(),Nn(),kn(),__name(_callSuper$291,`_callSuper`),__name(_isNativeReflectConstruct$291,`_isNativeReflectConstruct`),__name(_superPropGet$33,`_superPropGet`),Fn=function(r){function AddSectionView(){return _classCallCheck(this,AddSectionView),_callSuper$291(this,AddSectionView,arguments)}return _inherits(AddSectionView,r),_createClass(AddSectionView,[{key:`className`,value:function className(){return _superPropGet$33(AddSectionView,`className`,this,3)([])+` elementor-add-section-inline`}},{key:`fadeToDeath`,value:function fadeToDeath(){var r=this;r.$el.slideUp(function(){r.destroy()})}},{key:`onAfterPaste`,value:function onAfterPaste(){_superPropGet$33(AddSectionView,`onAfterPaste`,this,3)([]),this.destroy()}},{key:`onCloseButtonClick`,value:function onCloseButtonClick(){Dn.sendCanvasEmptyBoxAction({targetName:`close`,containerCreated:!1}),this.fadeToDeath()}},{key:`onPresetSelected`,value:function onPresetSelected(r){_superPropGet$33(AddSectionView,`onPresetSelected`,this,3)([r]),this.destroy()}},{key:`onFlexPresetSelected`,value:function onFlexPresetSelected(r){_superPropGet$33(AddSectionView,`onFlexPresetSelected`,this,3)([r]),this.destroy()}},{key:`onAddTemplateButtonClick`,value:function onAddTemplateButtonClick(){_superPropGet$33(AddSectionView,`onAddTemplateButtonClick`,this,3)([]),this.destroy()}},{key:`getDroppableOptions`,value:function getDroppableOptions(){var r=this;return{onDropping:function onDropping(c,l){_superPropGet$33(AddSectionView,`getDroppableOptions`,r,3)([]).onDropping(c,l),r.destroy()}}}},{key:`onDropping`,value:function onDropping(){var r=this.getDroppableOptions();_superPropGet$33(AddSectionView,`onDropping`,this,3)([]),r.onDropping&&r.onDropping()}}])}(Mn)}));function _OverloadYield(r,c){this.v=r,this.k=c}var Ln=__esmMin((()=>{}));function _awaitAsyncGenerator(r){return new _OverloadYield(r,0)}var Rn=__esmMin((()=>{Ln()}));function _wrapAsyncGenerator(r){return function(){return new AsyncGenerator(r.apply(this,arguments))}}function AsyncGenerator(r){var c,l;function resume(c,l){try{var u=r[c](l),p=u.value,m=p instanceof _OverloadYield;Promise.resolve(m?p.v:p).then(function(l){if(m){var h=c===`return`?`return`:`next`;if(!p.k||l.done)return resume(h,l);l=r[h](l).value}settle(u.done?`return`:`normal`,l)},function(r){resume(`throw`,r)})}catch(r){settle(`throw`,r)}}function settle(r,u){switch(r){case`return`:c.resolve({value:u,done:!0});break;case`throw`:c.reject(u);break;default:c.resolve({value:u,done:!1})}(c=c.next)?resume(c.key,c.arg):l=null}this._invoke=function(r,u){return new Promise(function(p,m){var h={key:r,arg:u,resolve:p,reject:m,next:null};l?l=l.next=h:(c=l=h,resume(r,u))})},typeof r.return!=`function`&&(this.return=void 0)}var zn=__esmMin((()=>{Ln(),AsyncGenerator.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},AsyncGenerator.prototype.next=function(r){return this._invoke(`next`,r)},AsyncGenerator.prototype.throw=function(r){return this._invoke(`throw`,r)},AsyncGenerator.prototype.return=function(r){return this._invoke(`return`,r)}})),Bn=__commonJSMin(((r,c)=>{c.exports={getAllElementTypes:function getAllElementTypes(){return Object.keys(elementor.getConfig().elements)},isCompoundAtomicType:function isCompoundAtomicType(r){var c;return!!((c=elementor.getConfig().elements[r])!=null&&(c=c.meta)!=null&&c.is_compound)}}})),Vn=__commonJSMin(((r,c)=>{(function(r){var l=function Stylesheet(){var c=this,u={},p={},m={},h=function queryToHash(c){var l=[];return r.each(c,function(r){l.push(r+`_`+this)}),l.join(`-`)},g=function hashToQuery(r){var c={};return r=r.split(`-`).filter(String),r.forEach(function(r){var l=r.split(/_(.+)/),u=l[0],p=l[1];c[u]=u===`max`?m[p]:elementorFrontend.breakpoints.getDeviceMinBreakpoint(p)}),c},v=function addQueryHash(r){u[r]={};var c=Object.keys(u);if(!(c.length<2)){c.sort(function(r,c){var l,u;if(r===`all`)return-1;if(c===`all`)return 1;var p=g(r),m=g(c);if(p.max&&m.max)return m.max-p.max;if(p.min&&m.min)return m.min-p.min;var h=(l=p.max)==null?p.min:l;return((u=m.max)==null?m.min:u)-h});var l={};c.forEach(function(r){l[r]=u[r]}),u=l}},y=function getQueryHashStyleFormat(c){var l=g(c),u=[];return r.each(l,function(r){u.push(`(`+r+`-width:`+this+`px)`)}),`@media`+u.join(` and `)};this.addDevice=function(r,l){m[r]=l;var u=Object.keys(m);if(u.length<2)return c;u.sort(function(r,c){return m[r]-m[c]});var p={};return u.forEach(function(r){p[r]=m[r]}),m=p,c},this.addRawCSS=function(r,c){p[r]=c},this.addRules=function(l,p,m){var g=`all`;if(_.isEmpty(m)||(g=h(m)),u[g]||v(g),!p){var y=l.match(/[^{]+\{[^}]+}/g);r.each(y,function(){var r=this.match(/([^{]+)\{([^}]+)}/);r&&c.addRules(r[1].trim(),r[2].trim(),m)});return}if(u[g][l]||(u[g][l]={}),typeof p==`string`){p=p.split(`;`).filter(String);var b={};try{r.each(p,function(){var r=this.split(/:(.*)?/);b[r[0].trim()]=r[1].trim().replace(`;`,``)})}catch(r){return}p=b}return r.extend(u[g][l],p),c},this.getRules=function(){return u},this.empty=function(){u={},p={}},this.toString=function(){var c=``;return r.each(u,function(r){var u=l.parseRules(this);r!==`all`&&(u=y(r)+`{`+u+`}`),c+=u}),r.each(p,function(){c+=this}),c}};l.parseRules=function(c){var u=``;return r.each(c,function(r){var c=l.parseProperties(this);c&&(u+=r+`{`+c+`}`)}),u},l.parseProperties=function(c){var l=``;return r.each(c,function(r){this&&(l+=r+`:`+this+`;`)}),l},c.exports=l})(jQuery)})),Hn=__commonJSMin(((r,c)=>{M();var l=Vn();c.exports=elementorModules.ViewModule.extend({stylesheet:null,getDefaultSettings:function getDefaultSettings(){return{id:0,context:null,settingsModel:null,dynamicParsing:{}}},getDefaultElements:function getDefaultElements(){var r=`elementor-style-${this.getSettings(`id`)}`,c=elementor.$previewContents.find(`#${r}`);return c.length||(c=jQuery(`<style>`,{id:r})),{$stylesheetElement:c}},initStylesheet:function initStylesheet(){var r=this,c=elementorFrontend.config.responsive.activeBreakpoints;this.stylesheet=new l,Object.entries(c).forEach(function(c){var l=_slicedToArray(c,2),u=l[0],p=l[1];r.stylesheet.addDevice(u,p.value)})},addStyleRules:function addStyleRules(r,c,l,u,p){var m=this,h=this.getSettings(`settingsModel`).parseDynamicSettings(c,this.getSettings(`dynamicParsing`),r);_.each(r,function(r){var g,v;if(r.styleFields&&r.styleFields.length&&m.addRepeaterControlsStyleRules(c[r.name],r.styleFields,r.fields,u,p),(g=r.dynamic)!=null&&g.active&&(v=c.__dynamic__)!=null&&v[r.name]&&m.addDynamicControlStyleRules(c.__dynamic__[r.name],r),r.selectors){var y=m.getSettings(`context`),b;y&&(b=y.model.get(`settings`).get(`__globals__`)),m.addControlStyleRules(r,h,l,u,p,b)}})},addControlStyleRules:function addControlStyleRules(r,c,l,u,p,m){var h=this,g;if(m){var v=r.name;r.groupType&&(v=r.groupPrefix+r.groupType),g=m[v]}var y;!g&&(y=this.getStyleControlValue(r,c),y===void 0)||_.each(r.selectors,function(m,v){var b;if(g){var x=h.getSelectorGlobalValue(r,g);x&&(r.type===`font`&&$e.data.get(g).then(function(r){elementor.helpers.enqueueFont(r.data.value.typography_font_family)}),b=m.replace(/(:)[^;]+(;?)/g,`$1`+x+`$2`))}else try{if(h.unitHasCustomSelector(r,y)&&(m=r.unit_selectors_dictionary[y.unit]),h.shouldDoUpgradeMap(r,y)){var S;(S=r.upgrade_conversion_map)==null||S.new_keys.forEach(function(c){y[c]=``+y[r.upgrade_conversion_map.old_key]})}b=m.replace(/{{(?:([^.}]+)\.)?([^}| ]*)(?: *\|\| *(?:([^.}]+)\.)?([^}| ]*) *)*}}/g,function(u,p,m,g,v){var b=p&&!l[p],x=``;if(b||(x=h.parsePropertyPlaceholder(r,y,l,c,m,p)),!x&&x!==0){if(v){x=v;var S=x.match(/^(['"])(.*)\1$/);if(S)x=S[2];else if(!isFinite(x)){if(g&&!l[g])return``;x=h.parsePropertyPlaceholder(r,y,l,c,v,g)}}if(!x&&x!==0){if(b)return``;throw``}}return r.type===`font`&&elementor.helpers.enqueueFont(x),x===`__EMPTY__`&&(x=``),x})}catch(r){return}if(!_.isEmpty(b)){var C=/^(?:\([^)]+\)){1,2}/,w=v.match(C),T={};if(w){w=w[0],v=v.replace(C,``);for(var E=/\(([^)]+)\)/g,D=[],O=E.exec(w);O;)D.push(O[1]),O=E.exec(w);_.each(D,function(r){if(r!==`desktop`){var c=r.replace(/\+$/,``),l=c===r?`max`:`min`;T[l]=c}})}_.each(u,function(r,c){var l=r.source?r.source:r,u=new RegExp(l,`g`);v=v.replace(u,p[c])}),!Object.keys(T).length&&r.responsive&&(T=_.pick(elementorCommon.helpers.cloneObject(r.responsive),[`min`,`max`]),T.max===`desktop`&&delete T.max),h.stylesheet.addRules(v,b,T)}})},unitHasCustomSelector:function unitHasCustomSelector(r,c){return r.unit_selectors_dictionary&&r.unit_selectors_dictionary[c.unit]!==void 0},shouldDoUpgradeMap:function shouldDoUpgradeMap(r,c){return r.upgrade_conversion_map&&!!c.hasOwnProperty(r.upgrade_conversion_map.old_key)&&c[r.upgrade_conversion_map.old_key]!==``&&!c.hasOwnProperty(r.upgrade_conversion_map.new_keys[0])},parsePropertyPlaceholder:function parsePropertyPlaceholder(r,c,l,u,p,m){if(m){if(r.responsive&&l[m]){var h,g=elementor.conditions.getResponsiveControlDeviceSuffix(r.responsive);r=(h=_.findWhere(l,{name:m+g}))==null?_.findWhere(l,{name:m}):h}else r=_.findWhere(l,{name:m});c=this.getStyleControlValue(r,u)}return elementor.getControlView(r.type).getStyleValue(p,c,r)},getStyleControlValue:function getStyleControlValue(r,c){var l,u,p,m=(l=this.getSettings())==null||(l=l.context)==null?void 0:l.container,h=m==null?void 0:m.isGlobalApplied(r.name),g=((u=c.__globals__)==null?void 0:u[r.name])||((p=r.global)==null?void 0:p.default);if(h&&g)return this.getSelectorGlobalValue(r,g);var v=c[r.name];if(r.selectors_dictionary&&(v=r.selectors_dictionary[v]||v),!(!_.isNumber(v)&&_.isEmpty(v)))return v},getSelectorGlobalValue:function getSelectorGlobalValue(r,c){var l=$e.data.commandExtractArgs(c),u=$e.data.getCache($e.components.get(`globals`),l.command,l.args.query);if(u!=null&&u.value){var p=u.id,m;if(r.groupType){var h=elementor.breakpoints.getActiveMatchRegex(),g=r.name.replace(r.groupPrefix,``).replace(h,``);if(!u.value[elementor.config.kit_config.typography_prefix+g])return;g=g.replace(`_`,`-`),m=`var( --e-global-${r.groupType}-${p}-${g} )`,elementor.config.ui.defaultGenericFonts&&r.groupPrefix+`font_family`===r.name&&(m+=`, ${elementor.config.ui.defaultGenericFonts}`)}else m=`var( --e-global-${r.type}-${p} )`;return m}},addRepeaterControlsStyleRules:function addRepeaterControlsStyleRules(r,c,l,u,p){var m=this;c.forEach(function(c,h){var g=r.models[h];m.addStyleRules(c,g.attributes,l,u.concat([`{{CURRENT_ITEM}}`]),p.concat([`.elementor-repeater-item-`+g.get(`_id`)]))})},addDynamicControlStyleRules:function addDynamicControlStyleRules(r,c){var l=this;elementor.dynamicTags.parseTagsText(r,c.dynamic,function(r,c,u){var p=elementor.dynamicTags.createTag(r,c,u);if(p){var m=p.model;m.getStyleControls().length&&l.addStyleRules(m.getStyleControls(),m.attributes,m.controls,[`{{WRAPPER}}`],[`#elementor-tag-`+r])}})},addStyleToDocument:function addStyleToDocument(r){var c=elementor.$previewContents.find(`head`),l=`append`,u=c;if(r){var p=c.children(r.of);p.length&&(l=r.at,u=p)}u[l](this.elements.$stylesheetElement);var m=elementor.hooks.applyFilters(`editor/style/styleText`,``,this.getSettings(`context`));this.elements.$stylesheetElement.text(this.stylesheet+m)},removeStyleFromDocument:function removeStyleFromDocument(){this.elements.$stylesheetElement.remove()},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.initStylesheet()}})})),Un=__commonJSMin(((r,c)=>{M(),En();var l=Bn();c.exports=Marionette.CompositeView.extend({templateHelpers:function templateHelpers(){return{view:this}},getBehavior:function getBehavior(r){return this._behaviors[Object.keys(this.behaviors()).indexOf(r)]},initialize:function initialize(){this.collection=this.model.get(`elements`)},addChildModel:function addChildModel(r,c){return this.collection.add(r,c,!0)},findFirstViewAccepting:function findFirstViewAccepting(r){var c=null,l=null;return this.children.each(function(u){if(u!=null&&u.getChildType){if(u.getChildType().indexOf(r)!==-1){c||(c=u);return}!l&&u.findFirstViewAccepting&&(l=u.findFirstViewAccepting(r))}}),c||l},addElement:function addElement(r,c){if(!this.isCollectionFilled()){c=jQuery.extend({trigger:!1,edit:!0,onBeforeAdd:null,onAfterAdd:null},c);var l=this.getChildType(),u,p;if(r instanceof Backbone.Model?(u=r,p=u.get(`elType`)):(u={id:elementorCommon.helpers.getUniqueId(),elType:l[0],settings:{},elements:[]},r&&jQuery.extend(u,r),p=u.elType),l.indexOf(p)===-1)return(this.findFirstViewAccepting(p)||this.children.last()).addElement(u,c);c.clone&&(u=this.cloneItem(u)),c.trigger&&elementor.channels.data.trigger(c.trigger.beforeAdd,u),c.onBeforeAdd&&c.onBeforeAdd(),this.filterSettings&&this.filterSettings(u);var m=this.addChildModel(u,{at:c.at}),h=this.children.findByModel(m);return c.onAfterAdd&&c.onAfterAdd(m,h),c.trigger&&elementor.channels.data.trigger(c.trigger.afterAdd,u),c.edit&&elementor.documents.getCurrent().history.getActive()&&(h.getContainer(),h._openEditingPanel(c)),h}},_openEditingPanel:function _openEditingPanel(r){this.model.trigger(`request:edit`,{scrollIntoView:r.scrollIntoView})},createElementFromContainer:function createElementFromContainer(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.createElementFromModel(r.model,c)},createElementFromModel:function createElementFromModel(r){var c,l,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(r instanceof Backbone.Model&&(r=r.toJSON()),!elementor.helpers.maybeDisableWidget(r.widgetType)){r=Object.assign(r,r.custom),r.elType===`section`&&(r.isInner=!0),(c=(l=r)==null?void 0:l.isPreset)!=null&&c&&(r.settings=r.preset_settings);var p=u.useHistory,m=p===void 0||p,h;m&&(h=$e.internal(`document/history/start-log`,{type:this.getHistoryType(u.event),title:elementor.helpers.getModelLabel(r)}));var g=this.getContainer();u.shouldWrap&&(g=this.getWrappingContainer(g,r,u));var v=$e.run(`document/elements/create`,{container:g,model:r,options:u});return m&&$e.internal(`document/history/end-log`,{id:h}),v}},getWrappingContainer:function getWrappingContainer(r,c,u){var p,m=elementor.helpers.isAtomicWidget(c)||(0,l.isCompoundAtomicType)(c.elType),h={at:u.at,scrollIntoView:u.scrollIntoView,useHistory:(p=u==null?void 0:u.useHistory)==null||p};return m?G.createContainerFromModel({elType:G.V4_DEFAULT_CONTAINER_TYPE},r,{options:h}):this.getV3Container(r,h)},getV3Container:function getV3Container(r,c){var l=elementorCommon.config.experimentalFeatures.container;return r=G.createContainerFromModel({elType:l?`container`:`section`},r,{columns:Number(!l),options:c}),l||(r=r.view.children.findByIndex(0).getContainer()),r},onDrop:function onDrop(r,c){var l,u,p=r.originalEvent.dataTransfer.files;if(p.length){$e.run(`editor/browser-import/import`,{input:p,target:this.getContainer(),options:{event:r,target:{at:c.at}}});return}var m={};if(m.model=Object.fromEntries(Object.entries((l=elementor.channels.panelElements.request(`element:selected`))==null?void 0:l.model.attributes).filter(function(r){var c=_slicedToArray(r,1)[0];return[`elType`,`widgetType`,`custom`,`editor_settings`].includes(c)})),m.container=this.getContainer(),m.options=c,$e.run(`preview/drop`,m),(u=elementorCommon)!=null&&(u=u.eventsManager)!=null&&u.dispatchEvent&&m!=null&&m.model){var h,g,v,y,b=(h=(g=m.model)==null?void 0:g.elType)==null?``:h,x=(v=(y=m.model)==null?void 0:y.widgetType)==null?``:v,S=b===`widget`?x:b;elementorCommon.eventsManager.dispatchEvent(`add_element`,{location:`editor_panel`,element_name:S,element_type:b,widget_type:x})}},getHistoryType:function getHistoryType(r){if(r)switch(r.originalEvent&&(r=r.originalEvent),r.constructor.name){case`DragEvent`:return`import`;case`ClipboardEvent`:return`paste`}return`add`},cloneItem:function cloneItem(r){var c=this;return r instanceof Backbone.Model?r.clone():(r.id=elementorCommon.helpers.getUniqueId(),r.settings._element_id=``,r.elements.forEach(function(l,u){r.elements[u]=c.cloneItem(l)}),r)},lookup:function lookup(){var r=this;return r.isDisconnected()&&(r=$e.components.get(`document`).utils.findViewById(r.model.id)),r},isDisconnected:function isDisconnected(){return this.isDestroyed||!this.el.isConnected},isCollectionFilled:function isCollectionFilled(){return!1}}),Marionette.CollectionView.prototype.buildChildView=function(r,c,l){var u=new c(_.extend({model:r},l));return u._parent=this,Marionette.MonitorDOMRefresh(u),u},Marionette.CompositeView.prototype.attachBuffer=function(r,c){var l,u,p=this.getChildViewContainer(r);if((l=this.model)!=null&&(l=l.config)!=null&&l.support_improved_repeaters&&(u=this.model)!=null&&(u=u.config)!=null&&u.is_interlaced){var m,h=p.find((m=this.model)==null||(m=m.config)==null||(m=m.defaults)==null?void 0:m.child_container_placeholder_selector);_.each(h,function(r){r.appendChild(c.childNodes[0]),c.appendChild(r)})}p.append(c)}})),Wn=__commonJSMin(((c,l)=>{M(),N(),x(),ge(),Rn(),zn();var u=__toESM(R());Kt(),$t();var p=Bn();function _createForOfIteratorHelper(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}function _unsupportedIterableToArray(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray(r,c):void 0}}function _arrayLikeToArray(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}function _asyncIterator(r){var c,l,u,p=2;for(typeof Symbol<`u`&&(l=Symbol.asyncIterator,u=Symbol.iterator);p--;){if(l&&(c=r[l])!=null)return c.call(r);if(u&&(c=r[u])!=null)return new AsyncFromSyncIterator(c.call(r));l=`@@asyncIterator`,u=`@@iterator`}throw TypeError(`Object is not async iterable`)}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(TypeError(r+` is not an object.`));var c=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:c}})}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function _return(r){var c=this.s.return;return c===void 0?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(c.apply(this.s,arguments))},throw:function _throw(r){var c=this.s.return;return c===void 0?Promise.reject(r):AsyncFromSyncIteratorContinuation(c.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}var m=Hn(),h=_e(),g=Un();l.exports=g.extend({tagName:`div`,controlsCSSParser:null,allowRender:!0,toggleEditTools:!1,renderAttributes:{},isRendering:!1,className:function className(){var r=`elementor-element elementor-element-edit-mode `+this.getElementUniqueID();return this.toggleEditTools&&(r+=` elementor-element--toggle-edit-tools`),r},attributes:function attributes(){return{"data-id":this.getID(),"data-element_type":this.model.get(`elType`),"data-model-cid":this.model.cid}},ui:function ui(){return{tools:`> .elementor-element-overlay > .elementor-editor-element-settings`,editButton:`> .elementor-element-overlay .elementor-editor-element-edit`,duplicateButton:`> .elementor-element-overlay .elementor-editor-element-duplicate`,addButton:`> .elementor-element-overlay .elementor-editor-element-add`,removeButton:`> .elementor-element-overlay .elementor-editor-element-remove`}},behaviors:function behaviors(){var r=this.options.model.get(`elType`),c=elementor.hooks.applyFilters(`elements/${r}/contextMenuGroups`,this.getContextMenuGroups(),this),l={contextMenu:{behaviorClass:jn(),groups:c}};return elementor.hooks.applyFilters(`elements/base/behaviors`,l,this)},getBehavior:function getBehavior(r){return this._behaviors[Object.keys(this.behaviors()).indexOf(r)]},events:function events(){return{mousedown:`onMouseDown`,click:`handleAnchorClick`,"click @ui.editButton":`onEditButtonClick`,"click @ui.duplicateButton":`onDuplicateButtonClick`,"click @ui.addButton":`onAddButtonClick`,"click @ui.removeButton":`onRemoveButtonClick`}},getElementType:function getElementType(){return this.model.get(`elType`)},getIDInt:function getIDInt(){return parseInt(this.getID(),16)},getChildType:function getChildType(){return elementor.helpers.getElementChildType(this.getElementType())},getChildView:function getChildView(r){var c=r.get(`widgetType`)||r.get(`elType`),l=elementor.elementsManager.getElementTypeClass(c);if(!l)throw new Qt(c);return elementor.hooks.applyFilters(`element/view`,l.getView(),r,this)},getTemplateType:function getTemplateType(){return`js`},getEditModel:function getEditModel(){return this.model},getContainer:function getContainer(){if(!this.container){var r=this.model.get(`settings`);this.container=new elementorModules.editor.Container({type:this.model.get(`elType`),id:this.model.id,model:this.model,settings:r,view:this,parent:this._parent?this._parent.getContainer():!1,label:elementor.helpers.getModelLabel(this.model),controls:r.options.controls})}return this.container},getContextMenuGroups:function getContextMenuGroups(){var c=this,l=Gt.mac?`&#8984;`:`^`,u=[{name:`general`,actions:[{name:`edit`,icon:`eicon-edit`,title:function title(){return(0,r.sprintf)((0,r.__)(`Edit %s`,`elementor`),elementor.selection.isMultiple()?``:c.options.model.getTitle())},isEnabled:function isEnabled(){return!elementor.selection.isMultiple()},callback:function callback(){return $e.run(`document/elements/select`,{container:c.getContainer()})}},{name:`duplicate`,icon:`eicon-clone`,title:(0,r.__)(`Duplicate`,`elementor`),shortcut:l+`+D`,isEnabled:function isEnabled(){return elementor.selection.isSameType()&&!c.getContainer().isLocked()},callback:function callback(){return $e.run(`document/elements/duplicate`,{containers:elementor.selection.getElements(c.getContainer())})}}]},{name:`clipboard`,actions:[{name:`copy`,title:(0,r.__)(`Copy`,`elementor`),shortcut:l+`+C`,isEnabled:function isEnabled(){return elementor.selection.isSameType()&&!c.getContainer().isLocked()},callback:function callback(){return $e.run(`document/elements/copy`,{containers:elementor.selection.getElements(c.getContainer())})}},{name:`paste`,title:(0,r.__)(`Paste`,`elementor`),shortcut:l+`+V`,isEnabled:function isEnabled(){return $e.components.get(`document/elements`).utils.isPasteEnabled(c.getContainer())&&elementor.selection.isSameType()},callback:function callback(){return $e.run(`document/ui/paste`,{container:c.getContainer()})}},{name:`pasteStyle`,title:(0,r.__)(`Paste style`,`elementor`),shortcut:l+`+⇧+V`,isEnabled:function isEnabled(){return!!elementorCommon.storage.get(`clipboard`)},callback:function callback(){return $e.run(`document/elements/paste-style`,{containers:elementor.selection.getElements(c.getContainer())})}},{name:`pasteInteractions`,title:(0,r.__)(`Paste interactions`,`elementor`),isEnabled:function isEnabled(){if(!elementorCommon.storage.get(`clipboard`))return!1;var r=elementor.selection.getElements(c.getContainer());return r.length>0&&r.every(function(r){return elementor.helpers.isAtomicWidget(r.model)})},callback:function callback(){$e.run(`document/elements/paste-interactions`,{containers:elementor.selection.getElements(c.getContainer())})}},{name:`pasteArea`,icon:`eicon-import-export`,title:(0,r.__)(`Paste from other site`,`elementor`),callback:function callback(){return $e.run(`document/elements/paste-area`,{container:c.getContainer()})}},{name:`resetStyle`,title:(0,r.__)(`Reset style`,`elementor`),callback:function callback(){return $e.run(`document/elements/reset-style`,{containers:elementor.selection.getElements(c.getContainer())})}}]}],p=[];return p=elementor.hooks.applyFilters(`elements/context-menu/groups`,p,this.options.model.get(`elType`)),p.length&&(u=[].concat(_toConsumableArray(u),_toConsumableArray(p))),u.push({name:`delete`,actions:[{name:`delete`,icon:`eicon-trash`,title:function title(){return elementor.selection.isMultiple()?(0,r.sprintf)((0,r.__)(`Delete %d items`,`elementor`),elementor.selection.getElements().length):(0,r.__)(`Delete`,`elementor`)},shortcut:`⌦`,callback:function callback(){return $e.run(`document/elements/delete`,{containers:elementor.selection.getElements(c.getContainer()),callerName:`context_menu`})},isEnabled:function isEnabled(){return!c.getContainer().isLocked()}}]}),u},getEditButtons:function getEditButtons(){return{}},initialize:function initialize(){var r=this;g.prototype.initialize.apply(this,arguments);var c=this.getEditModel();this.collection&&this.onCollectionChanged&&(elementorDevTools.deprecation.deprecated(`onCollectionChanged`,`2.8.0`,`$e.hooks`),this.listenTo(this.collection,`add remove reset`,this.onCollectionChanged,this)),this.onSettingsChanged&&(elementorDevTools.deprecation.deprecated(`onSettingsChanged`,`2.8.0`,`$e.hooks`),this.listenTo(c.get(`settings`),`change`,this.onSettingsChanged)),this.listenTo(c.get(`editSettings`),`change`,this.onEditSettingsChanged).listenTo(this.model,`request:edit`,this.onEditRequest).listenTo(this.model,`request:toggleVisibility`,this.toggleVisibility),this.initControlsCSSParser(),this.onDynamicServerRequestEnd||(this.onDynamicServerRequestEnd=_.debounce(function(){r.render(),r.$el.removeClass(`elementor-loading`)},100))},getHandlesOverlay:function getHandlesOverlay(){var c=this.getElementType();if(!(!elementor.userCan(`design`)&&c!==`widget`)&&this.getContainer().isEditable()){var l=(0,p.getAllElementTypes)().includes(c),u=jQuery(`<div>`,{class:`elementor-element-overlay`}),m=jQuery(`<ul>`,{class:`elementor-editor-element-settings elementor-editor-${c}-settings ${l?`elementor-editor-element-overlay-settings`:``}`}),h=elementor.getPreferences(`edit_buttons`),g=elementor.getElementData(this.model),v=this.getEditButtons();return(h||c===`widget`)&&(v=elementor.hooks.applyFilters(`elements/edit-buttons`,v),v=elementor.hooks.applyFilters(`elements/edit-buttons/${c}`,v)),(c===`section`||h)&&(v.remove={title:(0,r.sprintf)((0,r.__)(`Delete %s`,`elementor`),g.title),icon:`close`}),jQuery.each(v,function(r,c){var l=jQuery(`<li>`,{class:`elementor-editor-element-setting elementor-editor-element-${r}`,title:c.title,"aria-label":c.title}),u=jQuery(`<i>`,{class:`eicon-${c.icon}`,"aria-hidden":!0});l.append(u),m.append(l)}),u.append(m),u}},attachElContent:function attachElContent(r){this.$el.empty().append(this.getHandlesOverlay(),r)},isStyleTransferControl:function isStyleTransferControl(r){return r.style_transfer===void 0?r.tab!==`content`||r.selectors||r.prefix_class:r.style_transfer},toggleVisibility:function toggleVisibility(){this.model.toggleVisibility(),this.toggleVisibilityClass()},toggleVisibilityClass:function toggleVisibilityClass(){var r=this.model.getVisibility();if(!elementor.helpers.isAtomicWidget(this.model)){this.$el.toggleClass(`elementor-edit-hidden`,r);return}var c=this.$el.parent().is(`div[data-type="hide-atomic-widget"]`);if(r){c||this.$el.wrap(`<div data-type="hide-atomic-widget" style="display: none" />`);return}c&&this.$el.unwrap()},addElementFromPanel:function addElementFromPanel(r){r=r||{};var c=elementor.channels.panelElements.request(`element:selected`),l={elType:c.model.get(`elType`)};if(!elementor.helpers.maybeDisableWidget()){if(l.elType===`widget`)l.widgetType=c.model.get(`widgetType`);else if(l.elType===`section`)l.isInner=!0;else if(l.elType!==`container`)return;if(!(l.elType===`section`&&this.isInner())){var u=c.model.get(`custom`);return u&&jQuery.extend(l,u),elementor.channels.panelElements.reply(`element:selected`,null),$e.run(`document/elements/create`,{container:this.getContainer(),model:l,options:r})}}},addControlValidator:function addControlValidator(r,c){c=c.bind(this);var l=new h({customValidationMethod:c}),u=this.getEditModel().get(`settings`).validators;u[r]||(u[r]=[]),u[r].push(l)},addRenderAttribute:function addRenderAttribute(r,c,l,u){var p=this;if(_typeof(r)===`object`)return jQuery.each(r,function(r,c){p.addRenderAttribute(r,c,null,u)}),p;if(_typeof(c)===`object`)return jQuery.each(c,function(c,l){p.addRenderAttribute(r,c,l,u)}),p;p.renderAttributes[r]||(p.renderAttributes[r]={}),p.renderAttributes[r][c]||(p.renderAttributes[r][c]=[]),Array.isArray(l)||(l=[l]),u?p.renderAttributes[r][c]=l:p.renderAttributes[r][c]=p.renderAttributes[r][c].concat(l)},getRenderAttributeString:function getRenderAttributeString(r){if(!this.renderAttributes[r])return``;var c=this.renderAttributes[r],l=[];return jQuery.each(c,function(r,c){l.push(r+`="`+_.escape(c.join(` `))+`"`)}),l.join(` `)},isInner:function isInner(){return!!this.model.get(`isInner`)},initControlsCSSParser:function initControlsCSSParser(){this.controlsCSSParser=new m({id:this.model.get(`id`),context:this,settingsModel:this.getEditModel().get(`settings`),dynamicParsing:this.getDynamicParsingSettings()})},enqueueFonts:function enqueueFonts(){var r=this.getEditModel(),c=r.get(`settings`);jQuery.each(c.getIconsControls(),function(c,l){var u=r.getSetting(l.name);!u||!u.library||elementor.helpers.enqueueIconFonts(u.library)})},renderStyles:function renderStyles(r){r||(r=this.getEditModel().get(`settings`)),this.controlsCSSParser.stylesheet.empty(),this.controlsCSSParser.addStyleRules(r.getStyleControls(),r.attributes,this.getEditModel().get(`settings`).controls,[/{{ID}}/g,/{{WRAPPER}}/g],[this.getID(),`.elementor-`+elementor.config.document.id+` .elementor-element.`+this.getElementUniqueID()]),this.controlsCSSParser.addStyleToDocument()},renderCustomClasses:function renderCustomClasses(){var r=this,c=r.getEditModel().get(`settings`),l=c.getClassControls();_.each(l,function(l){var u=c.previous(l.name);l.classes_dictionary&&l.classes_dictionary[u]!==void 0&&(u=l.classes_dictionary[u]),r.$el.removeClass(l.prefix_class+u)}),_.each(l,function(l){var u=c.attributes[l.name],p=u;l.classes_dictionary&&l.classes_dictionary[u]!==void 0&&(p=l.classes_dictionary[u]),elementor.helpers.isActiveControl(l,c.attributes,c.controls)&&(p||p===0)&&r.$el.addClass(l.prefix_class+p)}),r.$el.addClass(_.result(r,`className`)),r.toggleVisibilityClass()},renderCustomElementID:function renderCustomElementID(){var r=this.getEditModel().get(`settings`).get(`_element_id`);r&&this.$el.attr(`id`,r)},renderUI:function renderUI(){this.renderStyles(),this.renderCustomClasses(),this.renderCustomElementID(),this.enqueueFonts()},runReadyTrigger:function runReadyTrigger(){var r=this;_.defer(function(){elementorFrontend.elementsHandler.runReadyTrigger(r.el),elementorFrontend.isEditMode()&&r.$el.find(`.elementor-element.elementor-`+r.model.get(`elType`)+`:not(.elementor-element-edit-mode)`).each(function(){elementorFrontend.elementsHandler.runReadyTrigger(this)})})},getID:function getID(){return this.model.get(`id`)},getElementUniqueID:function getElementUniqueID(){return`elementor-element-`+this.getID()},renderHTML:function renderHTML(){var r=this.getTemplateType(),c=this.getEditModel();r===`js`?(this.getEditModel().setHtmlCache(),this.render(),c.renderOnLeave=!0):c.renderRemoteServer()},renderChanges:function renderChanges(r){if(r instanceof elementorModules.editor.elements.models.BaseSettings){var c=r.hasChanged(),l=!c,u=!c;if(_.each(r.changedAttributes(),function(c,p){if(p===`_column_size`){u=!0;return}var m=r.getControl(p);if(!m){u=!0,l=!0;return}m.render_type!==`none`&&(u=!0),[`none`,`ui`].indexOf(m.render_type)===-1&&(m.render_type===`template`||!r.isStyleControl(p)&&!r.isClassControl(p)&&p!==`_element_id`)&&(l=!0)}),!u)return;if(!l){this.renderUI();return}}this.renderHTML()},isAtomicDynamic:function isAtomicDynamic(r,c,l,u){return`__dynamic__`in r&&c.el.hasAttribute(`data-binding-dynamic`)&&(c.el.getAttribute(`data-binding-setting`)===l||this.isCssIdControl(l,u))},getDynamicValue:function getDynamicValue(r,c,l){var p=this;return _asyncToGenerator(u.default.mark(function _callee(){var m,h;return u.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(m={active:!0},h=p.getChangedData(r,c,l),h){u.next=1;break}return u.abrupt(`return`,r.attributes[c]);case 1:return u.next=2,p.getDataFromCacheOrBackend(h,m);case 2:return u.abrupt(`return`,u.sent);case 3:case`end`:return u.stop()}},_callee)}))()},findUniqueKey:function findUniqueKey(r,c){if(_typeof(r)!==`object`||_typeof(c)!==`object`)return!1;var l=Object.keys(r),u=Object.keys(c);return l.concat(u).filter(function(r,c,l){return l.indexOf(r)===l.lastIndexOf(r)})},linkDataBindings:function linkDataBindings(){var r=this;this.dataBindings=[];var c=this.$el.data(`id`);if(c){var l=this.$el.find(`[data-binding-type]`);l.length&&l.each(function(l,u){jQuery(u).closest(`.elementor-element`).data(`id`)===c&&u.dataset.bindingType&&r.dataBindings.push({el:u,dataset:u.dataset})})}},renderDataBindings:function renderDataBindings(r,c){var l,p=this;if(!((l=this.dataBindings)!=null&&l.length))return!1;var m=!1,h=function(){var c=_asyncToGenerator(u.default.mark(function _callee2(c){var l,m,h,g,v,y,b,x,S,C,w,T,E,D,O;return u.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:l=c.dataset,m=l.bindingSetting,h=l.bindingConfig,g=m.split(` `),v=JSON.parse(h),y=!1,b=!1,x=!1,u.prev=1,C=_asyncIterator(p.bindingChangesGenerator(r,g,v));case 2:return u.next=3,C.next();case 3:if(!(b=!(w=u.sent).done)){u.next=5;break}T=w.value,E=T.key,D=T.value,typeof D==`string`&&(p.renderDataBoundChange(D,c.el,v[E]),y=!0);case 4:b=!1,u.next=2;break;case 5:u.next=7;break;case 6:u.prev=6,O=u.catch(1),x=!0,S=O;case 7:if(u.prev=7,u.prev=8,!(b&&C.return!=null)){u.next=9;break}return u.next=9,C.return();case 9:if(u.prev=9,!x){u.next=10;break}throw S;case 10:return u.finish(9);case 11:return u.finish(7);case 12:return u.abrupt(`return`,y);case 13:case`end`:return u.stop()}},_callee2,null,[[1,6,7,12],[8,,9,11]])}));return function renderDataBinding(r){return c.apply(this,arguments)}}(),g=_createForOfIteratorHelper(c),v;try{for(g.s();!(v=g.n()).done;){var y=v.value;switch(y.dataset.bindingType){case`repeater-item`:var b,x=this.container.repeaters[y.dataset.bindingRepeaterName];if(!x)break;var S=x.children.find(function(c){return c.id===r.attributes._id});(S==null||(b=S.parent)==null?void 0:b.children.indexOf(S))+1===parseInt(y.dataset.bindingIndex)?m=h(y):c.indexOf(y)+1===this.getRepeaterItemActiveIndex()&&(m=this.tryHandleDynamicCoverSettings(y,r));break;case`content`:m=h(y);break}if(m)break}}catch(r){g.e(r)}finally{g.f()}return m},bindingChangesGenerator:function bindingChangesGenerator(r,c,l){var p=this;return _wrapAsyncGenerator(u.default.mark(function _callee3(){var m,h,g,v,y,b,x,S,C;return u.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:m=0,h=Object.entries(r.changed);case 1:if(!(m<h.length)){u.next=9;break}if(g=_slicedToArray(h[m],2),v=g[0],y=g[1],!(v!==`__dynamic__`&&!p.isHandledAsDatabinding(v,c,l))){u.next=2;break}return u.abrupt(`continue`,8);case 2:if(v===`__dynamic__`){u.next=4;break}return u.next=3,{key:v,value:y};case 3:return u.abrupt(`continue`,8);case 4:b=0,x=Object.keys(y);case 5:if(!(b<x.length)){u.next=8;break}if(S=x[b],!p.isHandledAsDatabinding(S,c,l)){u.next=7;break}return u.next=6,_awaitAsyncGenerator(p.getDynamicValue(r,S,S));case 6:return C=u.sent,u.next=7,{key:S,value:C};case 7:b++,u.next=5;break;case 8:m++,u.next=1;break;case 9:case`end`:return u.stop()}},_callee3)}))()},isHandledAsDatabinding:function isHandledAsDatabinding(r,c,l){return c.some(function(c){return c===r})||l[r]!==void 0},renderDataBoundChange:function renderDataBoundChange(r,c,l){switch(l==null?void 0:l.editType){case`attribute`:c.closest(l.selector).setAttribute(l.attr,r);break;case`text`:c.innerHTML=r;break;default:c.innerHTML=r}},renderOnChange:function renderOnChange(r){var c=this;if(this.allowRender){if(this.isRendering){this.isRendering=!1;return}var l=this.renderDataBindings(r,this.dataBindings);l instanceof Promise&&l.then(function(l){l||c.renderChanges(r)}),l||this.renderChanges(r)}},getDynamicParsingSettings:function getDynamicParsingSettings(){var r=this;return{onServerRequestStart:function onServerRequestStart(){r.$el.addClass(`elementor-loading`)},onServerRequestEnd:r.onDynamicServerRequestEnd}},serializeData:function serializeData(){var r=g.prototype.serializeData.apply(this,arguments);return r.settings=this.getEditModel().get(`settings`).parseDynamicSettings(r.settings,this.getDynamicParsingSettings()),r},save:function save(){elementor.templates.eventManager.sendNewSaveTemplateClickedEvent(),$e.route(`library/save-template`,{model:this.model})},onBeforeRender:function onBeforeRender(){this.renderAttributes={}},render:function render(){this.getContainer(),g.prototype.render.apply(this,arguments)},onRender:function onRender(){var r=this;if(this.linkDataBindings(),this.renderUI(),this.runReadyTrigger(),this.toggleEditTools){var c=this.ui.editButton;this.ui.tools&&this.ui.tools.hoverIntent(function(){c.addClass(`elementor-active`)},function(){c.removeClass(`elementor-active`)},{timeout:500})}setTimeout(function(){r.initDraggable(),r.dispatchElementLifeCycleEvent(`rendered`),elementorFrontend.elements.$window.on(`elementor/elements/link-data-bindings`,r.linkDataBindings.bind(r))})},dispatchElementLifeCycleEvent:function dispatchElementLifeCycleEvent(r){var c;switch(r){case`rendered`:c=`elementor/editor/element-rendered`;break;case`destroyed`:c=`elementor/editor/element-destroyed`;break}var l=new CustomEvent(c,{detail:{elementView:this}});elementor.$preview[0].contentWindow.dispatchEvent(l),window.top.dispatchEvent(l)},onEditSettingsChanged:function onEditSettingsChanged(r){elementor.channels.editor.trigger(`change:editSettings`,r,this)},onEditButtonClick:function onEditButtonClick(r){this.model.trigger(`request:edit`,{append:r.ctrlKey||r.metaKey})},onEditRequest:function onEditRequest(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this.container.isEditable()){var c=this.getEditModel(),l=elementor.getPanelView();$e.routes.isPartOf(`panel/editor`)&&l.getCurrentPageView().model===c||(r.scrollIntoView&&elementor.helpers.scrollToView(this.getDomElement(),200),$e.run(`document/elements/toggle-selection`,{container:this.getContainer(),append:r.append}))}},select:function select(){this.$el.addClass(`elementor-element-editable`)},deselect:function deselect(){this.$el.removeClass(`elementor-element-editable`)},onDuplicateButtonClick:function onDuplicateButtonClick(r){r.stopPropagation(),$e.run(`document/elements/duplicate`,{container:this.getContainer()})},onRemoveButtonClick:function onRemoveButtonClick(r){r.stopPropagation(),this.handleAnchorClick(r),$e.run(`document/elements/delete`,{container:this.getContainer(),callerName:`remove_button`})},handleAnchorClick:function handleAnchorClick(r){var c,l=r.target.closest(`a`),u=(l==null?void 0:l.getAttribute(`href`))||((c=this.model)==null||(c=c.get(`settings`))==null||(c=c.get(`link`))==null?void 0:c.url)||``;if(u&&u.startsWith(`#`)&&!u.includes(`elementor-action`)){var p,m=(p=r.target)==null?void 0:p.ownerDocument.querySelector(u);m&&m.scrollIntoView()}elementor.helpers.isElementAtomic(this.getContainer().id)&&r.preventDefault()},onMouseDown:function onMouseDown(r){jQuery(r.target).closest(`.elementor-inline-editing`).length||elementorFrontend.elements.window.document.activeElement.blur()},onDestroy:function onDestroy(){var r=this;this.dataBindings&&delete this.dataBindings,this.controlsCSSParser.removeStyleFromDocument(),this.getEditModel().get(`settings`).validators={},elementor.channels.data.trigger(`element:destroy`,this.model),setTimeout(function(){return r.dispatchElementLifeCycleEvent(`destroyed`)})},onDragStart:function onDragStart(){},onDragEnd:function onDragEnd(){},getDraggableHelper:function getDraggableHelper(){var r=this.getEditModel(),c=document.createElement(`div`);return c.classList.add(`elementor-sortable-helper`,`elementor-sortable-helper-${r.get(`elType`)}`),c.innerHTML=`
			<div class="icon">
				<i class="${r.getIcon()}"></i>
			</div>
			<div class="title-wrapper">
				<div class="title">${r.getTitle()}</div>
			</div>
		`,c},getDomElement:function getDomElement(){return this.$el},initDraggable:function initDraggable(){var r=this;elementor.userCan(`design`)&&(!this.$el.hasClass(`.e-con`)&&!this.$el.parents(`.e-con`).length||this.getContainer().isEditable()&&this.getDomElement().html5Draggable({onDragStart:function onDragStart(c){var l;if(c.stopPropagation(),r.getContainer().isLocked()){c.originalEvent.preventDefault();return}if(!((l=r.options.draggable)!=null&&l.isActive)){var u=r.getDraggableHelper();r.$el[0].appendChild(u),c.originalEvent.dataTransfer.setDragImage(u,25,20),setTimeout(function(){u.remove()}),r.onDragStart(c),elementor.channels.editor.reply(`element:dragged`,r)}},onDragEnd:function onDragEnd(c){c.stopPropagation(),r.onDragEnd(c)},groups:[`elementor-element`]}))},getDataFromCacheOrBackend:function getDataFromCacheOrBackend(r,c){return _asyncToGenerator(u.default.mark(function _callee4(){return u.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.abrupt(`return`,elementor.dynamicTags.parseTagsText(r,c,elementor.dynamicTags.getTagDataContent));case 1:return l.prev=1,l.catch(0),l.next=2,new Promise(function(r){elementor.dynamicTags.refreshCacheFromServer(function(){r()})});case 2:return l.abrupt(`return`,!_.isEmpty(elementor.dynamicTags.cache)&&elementor.dynamicTags.parseTagsText(r,c,elementor.dynamicTags.getTagDataContent));case 3:case`end`:return l.stop()}},_callee4,null,[[0,1]])}))()},getChangedDynamicControlKey:function getChangedDynamicControlKey(r){var c,l;return this.findUniqueKey(r==null||(c=r.changed)==null?void 0:c.__dynamic__,r==null||(l=r._previousAttributes)==null?void 0:l.__dynamic__)[0]||(Object.keys(r.changed)[0]===`__dynamic__`?Object.keys(r.changed.__dynamic__)[0]:Object.keys(r.changed)[0])},getChangedDataForRemovedItem:function getChangedDataForRemovedItem(r,c,l){var u,p;return((u=r.attributes)==null||(u=u[c])==null?void 0:u[l])||((p=r.attributes)==null?void 0:p[c])},getChangedDataForAddedItem:function getChangedDataForAddedItem(r,c,l){var u,p;return((u=r.attributes)==null||(u=u.__dynamic__)==null||(u=u[c])==null?void 0:u[l])||((p=r.attributes)==null||(p=p.__dynamic__)==null?void 0:p[c])},getChangedData:function getChangedData(r,c,l){var u=this.getChangedDataForRemovedItem(r,c,l);return this.getChangedDataForAddedItem(r,c,l)||u},getTitleWithAdvancedValues:function getTitleWithAdvancedValues(r,c){var l=r.attributes,u=r._previousAttributes;if(this.compareSettings(l,u,`fallback`)&&(c=c.replace(new RegExp(u.fallback),``)),!c||l.fallback===c||(this.compareSettings(l,u,`before`)&&(c=c.replace(u.before,``)),this.compareSettings(l,u,`after`)&&(c=c.replace(RegExp(u.after+`$`),``)),!c))return l.fallback||``;var p=this.getNewSettingsValue(l,u,`before`),m=this.getNewSettingsValue(l,u,`after`);return c=p+c,c+=m,c},compareSettings:function compareSettings(r,c,l){return c[l]&&c[l]!==r[l]},getNewSettingsValue:function getNewSettingsValue(r,c,l){return c[l]===r[l]?``:r[l]||``},getRepeaterItemActiveIndex:function getRepeaterItemActiveIndex(){return this.getContainer().renderer.view.model.changed.editSettings.changed.activeItemIndex||this.getContainer().renderer.view.model.changed.editSettings.attributes.activeItemIndex},tryHandleDynamicCoverSettings:function tryHandleDynamicCoverSettings(r,c){return this.isAdvancedDynamicSettings(c.attributes)?(this.isRendering=!0,r.el.textContent=this.getTitleWithAdvancedValues(c,r.el.textContent),!0):!1},isAdvancedDynamicSettings:function isAdvancedDynamicSettings(r){return`before`in r&&`after`in r&&`fallback`in r}})})),Gn=__commonJSMin(((r,c)=>{P();function ownKeys(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}c.exports=Marionette.Behavior.extend({defaults:{elChildType:`widget`},events:{sortstart:`onSortStart`,sortreceive:`onSortReceive`,sortupdate:`onSortUpdate`,sortover:`onSortOver`,sortout:`onSortOut`},initialize:function initialize(){this.listenTo(elementor.channels.dataEditMode,`switch`,this.onEditModeSwitched).listenTo(this.view.options.model,`request:sort:start`,this.startSort).listenTo(this.view.options.model,`request:sort:update`,this.updateSort).listenTo(this.view.options.model,`request:sort:receive`,this.receiveSort)},onEditModeSwitched:function onEditModeSwitched(r){this.onToggleSortMode(r===`edit`)},refresh:function refresh(){this.onEditModeSwitched(elementor.channels.dataEditMode.request(`activeMode`))},onRender:function onRender(){var r=this;this.view.collection.on(`update`,function(){return r.refresh()}),_.defer(function(){return r.refresh()})},onDestroy:function onDestroy(){this.deactivate()},createPlaceholder:function createPlaceholder(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;r.css(`display`,``);var u=r[0],p=u.clientWidth,m=u.clientHeight;l&&r.css(`display`,`none`),jQuery(`<div />`).css(_objectSpread(_objectSpread({},r.css([`flex-basis`,`flex-grow`,`flex-shrink`,`position`])),{},{width:p,height:m})).addClass(c).insertAfter(r)},getSwappableOptions:function getSwappableOptions(){var r=this,c=this.getChildViewContainer(),l=`e-swappable--item-placeholder`;return{start:function start(u,p){c.sortable(`refreshPositions`),r.createPlaceholder(p.item,l)},stop:function stop(){c.find(`.${l}`).remove()}}},onToggleSortMode:function onToggleSortMode(r){r?this.activate():this.deactivate()},applySortable:function applySortable(){if(elementor.userCan(`design`)){var r=this.getChildViewContainer(),c={placeholder:`elementor-sortable-placeholder elementor-`+this.getOption(`elChildType`)+`-placeholder`,cursorAt:{top:20,left:25},helper:this._getSortableHelper.bind(this),cancel:`input, textarea, button, select, option, .elementor-inline-editing, .elementor-tab-title`,start:function start(){r.sortable(`refreshPositions`)}},l=_.extend(c,this.view.getSortableOptions());this.isSwappable()&&(r.addClass(`e-swappable`),l=_.extend(l,this.getSwappableOptions())),!l.preventInit&&r.sortable(l)}},activate:function activate(){if(!this.getChildViewContainer().sortable(`instance`)){this.applySortable();return}this.getChildViewContainer().sortable(`enable`)},_getSortableHelper:function _getSortableHelper(r,c){var l=this.view.collection.get({cid:c.data(`model-cid`)});return`<div style="height: 84px; width: 125px;" class="elementor-sortable-helper elementor-sortable-helper-`+l.get(`elType`)+`"><div class="icon"><i class="`+l.getIcon()+`"></i></div><div class="title-wrapper"><div class="title">`+l.getTitle()+`</div></div></div>`},getChildViewContainer:function getChildViewContainer(){return this.view.getChildViewContainer(this.view)},getSortedElementNewIndex:function getSortedElementNewIndex(r){return Object.values(r.parent().find(`> .elementor-element`)).indexOf(r[0])},deactivate:function deactivate(){var r=this.getChildViewContainer();r.sortable(`instance`)&&r.sortable(`disable`)},isSwappable:function isSwappable(){return!!this.view.getSortableOptions().swappable},startSort:function startSort(r,c){r.stopPropagation();var l=elementor.getContainer(c.item.attr(`data-id`));elementor.channels.data.reply(`dragging:model`,l.model).reply(`dragging:view`,l.view).reply(`dragging:parent:view`,this.view).trigger(`drag:start`,l.model).trigger(l.model.get(`elType`)+`:drag:start`)},updateSort:function updateSort(r,c){c===void 0&&(c=r.item.index());var l=elementor.channels.data.request(`dragging:view`).getContainer();this.moveChild(l,c)||jQuery(r.sender).sortable(`cancel`)},receiveSort:function receiveSort(r,c,l){if(r.stopPropagation(),this.view.isCollectionFilled()){jQuery(c.sender).sortable(`cancel`);return}var u=elementor.channels.data.request(`dragging:model`),p=u.get(`elType`)===`section`&&u.get(`isInner`),m=this.view.getElementType()===`column`&&this.view.isInner();if(p&&m){jQuery(c.sender).sortable(`cancel`);return}l===void 0&&(l=c.item.index());var h=elementor.channels.data.request(`dragging:view`).getContainer();this.moveChild(h,l)||jQuery(c.sender).sortable(`cancel`)},onSortStart:function onSortStart(r,c){if(this.options.elChildType===`column`){var l=c.item.data(`sortableItem`).items,u=0;l.forEach(function(r){if(r.item[0]===c.item[0])return u=r.height,!1}),c.placeholder.height(u)}this.startSort(r,c)},onSortOver:function onSortOver(r){r.stopPropagation();var c=elementor.channels.data.request(`dragging:model`);jQuery(r.target).addClass(`elementor-draggable-over`).attr({"data-dragged-element":c.get(`elType`),"data-dragged-is-inner":c.get(`isInner`)}),this.$el.addClass(`elementor-dragging-on-child`)},onSortOut:function onSortOut(r){r.stopPropagation(),jQuery(r.target).removeClass(`elementor-draggable-over`).removeAttr(`data-dragged-element data-dragged-is-inner`),this.$el.removeClass(`elementor-dragging-on-child`)},onSortReceive:function onSortReceive(r,c){this.receiveSort(r,c,this.getSortedElementNewIndex(c.item))},onSortUpdate:function onSortUpdate(r,c){r.stopPropagation(),this.getChildViewContainer()[0]===c.item.parent()[0]&&this.updateSort(c,this.getSortedElementNewIndex(c.item))},onAddChild:function onAddChild(r){r.$el.attr(`data-model-cid`,r.model.cid)},moveChild:function moveChild(r,c){return $e.run(`document/elements/move`,{container:r,target:this.view.getContainer(),options:{at:c}})}})})),Kn=__commonJSMin(((c,l)=>{In();var u=Wn(),p=2,m=2,h=10;l.exports=u.extend({childViewContainer:function childViewContainer(){return`> .elementor-container`},template:Marionette.TemplateCache.get(`#tmpl-elementor-section-content`),addSectionView:null,_checkIsFull:function _checkIsFull(){this.toggleSectionIsFull(),elementorDevTools.deprecation.deprecated(`_checkIsFull()`,`2.9.0`,`toggleSectionIsFull()`)},toggleSectionIsFull:function toggleSectionIsFull(){this.$el.toggleClass(`elementor-section-filled`,this.isCollectionFilled())},addChildModel:function addChildModel(r){var c=r instanceof Backbone.Model,l=this.isInner();return c?r.set(`isInner`,l):r.isInner=l,u.prototype.addChildModel.apply(this,arguments)},className:function className(){var r=u.prototype.className.apply(this,arguments),c=this.isInner()?`inner`:`top`;return r+` elementor-section elementor-`+c+`-section`},tagName:function tagName(){return this.model.getSetting(`html_tag`)||`section`},behaviors:function behaviors(){var r=u.prototype.behaviors.apply(this,arguments);return _.extend(r,{Sortable:{behaviorClass:Gn(),elChildType:`column`}}),elementor.hooks.applyFilters(`elements/section/behaviors`,r,this)},initialize:function initialize(){u.prototype.initialize.apply(this,arguments),this.model.get(`editSettings`).set(`defaultEditRoute`,`layout`)},getEditButtons:function getEditButtons(){if(!$e.components.get(`document/elements`).utils.allowAddingWidgets())return{};var c=elementor.getElementData(this.model),l={};return this.isInner()||(l.add={title:(0,r.sprintf)((0,r.__)(`Add %s`,`elementor`),c.title),icon:`plus`}),l.edit={title:(0,r.sprintf)((0,r.__)(`Edit %s`,`elementor`),c.title),icon:`handle`},elementor.getPreferences(`edit_buttons`)&&(l.duplicate={title:(0,r.sprintf)((0,r.__)(`Duplicate %s`,`elementor`),c.title),icon:`clone`}),l},getContextMenuGroups:function getContextMenuGroups(){var c=u.prototype.getContextMenuGroups.apply(this,arguments),l=c.indexOf(_.findWhere(c,{name:`clipboard`}));return c.splice(l+1,0,{name:`save`,actions:[{name:`save`,title:(0,r.__)(`Save as a template`,`elementor`),shortcut:`<span class="elementor-context-menu-list__item__shortcut__new-badge">${(0,r.__)(`New`,`elementor`)}</span>`,isEnabled:function isEnabled(){return!elementor.selection.isMultiple()},callback:this.save.bind(this)}]}),c},getSortableOptions:function getSortableOptions(){return{connectWith:(this.isInner()?`.elementor-inner-section`:`.elementor-top-section`)+this.childViewContainer(),handle:`> .elementor-element-overlay .elementor-editor-element-edit`,items:`> .elementor-column`,forcePlaceholderSize:!0,tolerance:`pointer`}},getColumnPercentSize:function getColumnPercentSize(r,c){return+(c/r.parent().width()*100).toFixed(3)},getDefaultStructure:function getDefaultStructure(){return this.collection.length+`0`},getStructure:function getStructure(){return this.model.getSetting(`structure`)},getColumnAt:function getColumnAt(r){var c=this.collection.at(r);return c?this.children.findByModelCid(c.cid):null},getNextColumn:function getNextColumn(r){return this.getColumnAt(this.collection.indexOf(r.model)+1)},getPreviousColumn:function getPreviousColumn(r){return this.getColumnAt(this.collection.indexOf(r.model)-1)},getNeighborContainer:function getNeighborContainer(r){var c=r.parent.view,l=c.getNextColumn(r.view)||c.getPreviousColumn(r.view);return l?l.getContainer():!1},setStructure:function setStructure(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(+elementor.presetsFactory.getParsedStructure(r).columnsCount!==this.collection.length)throw TypeError(`The provided structure doesn't match the columns count.`);$e.run(`document/elements/settings`,{container:this.getContainer(),settings:{structure:r},options:{external:!0}}),c&&this.adjustColumns()},adjustColumns:function adjustColumns(){var r=elementor.presetsFactory.getPresetByStructure(this.getStructure());this.children.each(function(c,l){var u=c.getContainer();$e.run(`document/elements/settings`,{container:u,settings:{_column_size:r.preset[l],_inline_size:null}})})},resetLayout:function resetLayout(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.setStructure(this.getDefaultStructure(),r)},resetColumnsCustomSize:function resetColumnsCustomSize(){this.children.each(function(r){$e.run(`document/elements/settings`,{container:r.getContainer(),settings:{_inline_size:null},options:{external:!0}})})},isCollectionFilled:function isCollectionFilled(){return h<=this.collection.length},showChildrenPercentsTooltip:function showChildrenPercentsTooltip(r,c){r.ui.percentsTooltip.show(),r.ui.percentsTooltip.attr(`data-side`,elementorCommon.config.isRTL?`right`:`left`),c.ui.percentsTooltip.show(),c.ui.percentsTooltip.attr(`data-side`,elementorCommon.config.isRTL?`left`:`right`)},hideChildrenPercentsTooltip:function hideChildrenPercentsTooltip(r,c){r.ui.percentsTooltip.hide(),c.ui.percentsTooltip.hide()},destroyAddSectionView:function destroyAddSectionView(){this.addSectionView&&!this.addSectionView.isDestroyed&&this.addSectionView.destroy()},onRender:function onRender(){u.prototype.onRender.apply(this,arguments),this.toggleSectionIsFull()},onAddButtonClick:function onAddButtonClick(){if(this.addSectionView&&!this.addSectionView.isDestroyed){this.addSectionView.fadeToDeath();return}var r=new Fn({at:this.model.collection.indexOf(this.model)});r.render(),this.$el.before(r.$el),r.$el.hide(),setTimeout(function(){r.$el.slideDown(null,function(){jQuery(this).css(`display`,``)})}),this.addSectionView=r},onChildviewRequestResizeStart:function onChildviewRequestResizeStart(r){var c=this.getNextColumn(r);if(c){this.showChildrenPercentsTooltip(r,c);var l=r.$el.find(`iframe`).add(c.$el.find(`iframe`));elementor.helpers.disableElementEvents(l)}},onChildviewRequestResizeStop:function onChildviewRequestResizeStop(r){var c=this.getNextColumn(r);if(c){this.hideChildrenPercentsTooltip(r,c);var l=r.$el.find(`iframe`).add(c.$el.find(`iframe`));elementor.helpers.enableElementEvents(l)}},onChildviewRequestResize:function onChildviewRequestResize(r,c){c.element.css({width:``,left:`initial`}),$e.run(`document/elements/settings`,{container:r.getContainer(),settings:{_inline_size:this.getColumnPercentSize(c.element,c.size.width)}})},onDestroy:function onDestroy(){u.prototype.onDestroy.apply(this,arguments),this.destroyAddSectionView()}}),l.exports.DEFAULT_INNER_SECTION_COLUMNS=p,l.exports.DEFAULT_MIN_COLUMN_SIZE=m,l.exports.DEFAULT_MAX_COLUMNS=h})),qn=__commonJSMin(((c,l)=>{l.exports=Marionette.ItemView.extend({template:`#tmpl-elementor-empty-preview`,className:`elementor-empty-view`,events:{click:`onClickAdd`},behaviors:function behaviors(){return{contextMenu:{behaviorClass:jn(),groups:this.getContextMenuGroups()}}},getContextMenuGroups:function getContextMenuGroups(){var c=this;return[{name:`general`,actions:[{name:`paste`,title:(0,r.__)(`Paste`,`elementor`),isEnabled:function isEnabled(){return $e.components.get(`document/elements`).utils.isPasteEnabled(c._parent.getContainer())},callback:function callback(){return $e.run(`document/ui/paste`,{container:c._parent.getContainer()})}}]}]},onClickAdd:function onClickAdd(){$e.route(`panel/elements/categories`)}})})),Jn=__commonJSMin(((r,c)=>{c.exports=Marionette.Behavior.extend({defaults:{handles:elementorCommon.config.isRTL?`w`:`e`},events:{resizestart:`onResizeStart`,resizestop:`onResizeStop`,resize:`onResize`},initialize:function initialize(){Marionette.Behavior.prototype.initialize.apply(this,arguments),this.listenTo(elementor.channels.dataEditMode,`switch`,this.onEditModeSwitched)},active:function active(){if(elementor.userCan(`design`)){this.deactivate();var r=_.clone(this.options);delete r.behaviorClass;var c=this.getChildViewContainer(),l=_.extend({},r);c.resizable(l)}},deactivate:function deactivate(){this.getChildViewContainer().resizable(`instance`)&&this.getChildViewContainer().resizable(`destroy`)},onEditModeSwitched:function onEditModeSwitched(r){r===`edit`?this.active():this.deactivate()},onRender:function onRender(){var r=this;_.defer(function(){r.onEditModeSwitched(elementor.channels.dataEditMode.request(`activeMode`))})},onDestroy:function onDestroy(){this.deactivate()},onResizeStart:function onResizeStart(r){r.stopPropagation(),this.view.$el.data(`originalWidth`,this.view.el.getBoundingClientRect().width),this.view.triggerMethod(`request:resize:start`,r)},onResizeStop:function onResizeStop(r){r.stopPropagation(),this.view.triggerMethod(`request:resize:stop`)},onResize:function onResize(r,c){r.stopPropagation(),this.view.triggerMethod(`request:resize`,c,r)},getChildViewContainer:function getChildViewContainer(){return this.$el}})})),Yn=__commonJSMin(((c,l)=>{var u=__toESM(Kn()),p=Wn(),m=qn();l.exports=p.extend({template:Marionette.TemplateCache.get(`#tmpl-elementor-column-content`),emptyView:m,childViewContainer:`> .elementor-widget-wrap`,toggleEditTools:!0,behaviors:function behaviors(){var r=p.prototype.behaviors.apply(this,arguments);return _.extend(r,{Sortable:{behaviorClass:Gn(),elChildType:`widget`},Resizable:{behaviorClass:Jn()}}),elementor.hooks.applyFilters(`elements/column/behaviors`,r,this)},className:function className(){var r=p.prototype.className.apply(this,arguments),c=this.isInner()?`inner`:`top`;return r+` elementor-column elementor-`+c+`-column`},tagName:function tagName(){return this.model.getSetting(`html_tag`)||`div`},ui:function ui(){var r=p.prototype.ui.apply(this,arguments);return r.columnInner=`> .elementor-widget-wrap`,r.percentsTooltip=`> .elementor-element-overlay .elementor-column-percents-tooltip`,r},getEditButtons:function getEditButtons(){var c=elementor.getElementData(this.model),l={};return l.edit={title:(0,r.sprintf)((0,r.__)(`Edit %s`,`elementor`),c.title),icon:`column`},elementor.getPreferences(`edit_buttons`)&&(l.duplicate={title:(0,r.sprintf)((0,r.__)(`Duplicate %s`,`elementor`),c.title),icon:`clone`},l.add={title:(0,r.sprintf)((0,r.__)(`Add %s`,`elementor`),c.title),icon:`plus`}),l},initialize:function initialize(){p.prototype.initialize.apply(this,arguments),this.model.get(`editSettings`).set(`defaultEditRoute`,`layout`)},attachElContent:function attachElContent(){p.prototype.attachElContent.apply(this,arguments);var r=jQuery(`<div>`,{class:`elementor-column-percents-tooltip`});this.$el.children(`.elementor-element-overlay`).append(r)},getContextMenuGroups:function getContextMenuGroups(){var c=this,l=p.prototype.getContextMenuGroups.apply(this,arguments),m=l.indexOf(_.findWhere(l,{name:`general`}));return l.splice(m+1,0,{name:`addNew`,actions:[{name:`addNew`,icon:`eicon-plus`,title:(0,r.__)(`Add New Column`,`elementor`),callback:this.addNewColumn.bind(this),isEnabled:function isEnabled(){return c.model.collection.length<u.DEFAULT_MAX_COLUMNS&&!elementor.selection.isMultiple()}}]}),l},isDroppingAllowed:function isDroppingAllowed(){if(!this.getContainer().isEditable())return!1;var r=elementor.channels.panelElements.request(`element:selected`);if(!r)return!1;var c=r.model.get(`elType`);return c===`container`?!0:c===`section`?!this.isInner():c===`widget`},getPercentsForDisplay:function getPercentsForDisplay(){return(+this.model.getSetting(`_inline_size`)||this.getPercentSize()).toFixed(1)+`%`},changeSizeUI:function changeSizeUI(){var r=this,c=r.model.getSetting(`_column_size`);r.$el.attr(`data-col`,c),_.defer(function(){r.ui.percentsTooltip&&r.ui.percentsTooltip.text(r.getPercentsForDisplay())})},getPercentSize:function getPercentSize(r){return r||(r=this.el.getBoundingClientRect().width),+(r/this.$el.parent().width()*100).toFixed(3)},getSortableOptions:function getSortableOptions(){return{connectWith:`.elementor-widget-wrap`,items:`> .elementor-element`}},changeChildContainerClasses:function changeChildContainerClasses(){var r=`elementor-element-empty`,c=`elementor-element-populated`;this.ui.columnInner&&(this.collection.isEmpty()?this.ui.columnInner.removeClass(c).addClass(r):this.ui.columnInner.removeClass(r).addClass(c))},addNewColumn:function addNewColumn(){$e.run(`document/elements/create`,{model:{elType:`column`},container:this.getContainer().parent,options:{at:this.$el.index()+1}})},onRender:function onRender(){var r=this,c=function getDropIndex(r,c){var l=jQuery(c.currentTarget).index();return r===`top`&&l--,l};p.prototype.onRender.apply(this,arguments),this.changeChildContainerClasses(),this.changeSizeUI(),this.$el.html5Droppable({items:` > .elementor-widget-wrap > .elementor-element, >.elementor-widget-wrap > .elementor-empty-view > .elementor-first-add`,axis:[`vertical`],groups:[`elementor-element`],isDroppingAllowed:this.isDroppingAllowed.bind(this),currentElementClass:`elementor-html5dnd-current-element`,placeholderClass:`elementor-sortable-placeholder elementor-widget-placeholder`,hasDraggingOnChildClass:`elementor-dragging-on-child`,onDropping:function onDropping(l,u){elementor.getPreviewView().onPanelElementDragEnd(),r.onDrop(u,{side:l,at:c(l,u)})}})},onAddButtonClick:function onAddButtonClick(r){r.stopPropagation(),this.addNewColumn()}})}));b(),w(),E(),D(),A();var Xn=__toESM(Yn());function _callSuper$290(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$290()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$290,`_callSuper`);function _isNativeReflectConstruct$290(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$290=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$290,`_isNativeReflectConstruct`);var Zn=function(r){function Column(){return _classCallCheck(this,Column),_callSuper$290(this,Column,arguments)}return _inherits(Column,r),_createClass(Column,[{key:`getType`,value:function getType(){return`column`}},{key:`getView`,value:function getView(){return Xn.default}},{key:`getModel`,value:function getModel(){return rn}}])}(qt);b(),w(),E(),D(),A(),Xt();var Qn=Bn();function _callSuper$289(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$289()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$289,`_callSuper`);function _isNativeReflectConstruct$289(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$289=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$289,`_isNativeReflectConstruct`);var $n=function(r){function Document(){return _classCallCheck(this,Document),_callSuper$289(this,Document,arguments)}return _inherits(Document,r),_createClass(Document,[{key:`isValidChild`,value:function isValidChild(r){var c=r.get(`elType`);return(0,Qn.getAllElementTypes)().includes(c)}}])}(Yt);b(),w(),E(),D(),A(),Jt();function _callSuper$288(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$288()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$288,`_callSuper`);function _isNativeReflectConstruct$288(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$288=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$288,`_isNativeReflectConstruct`);var er=function(r){function Document(){return _classCallCheck(this,Document),_callSuper$288(this,Document,arguments)}return _inherits(Document,r),_createClass(Document,[{key:`getType`,value:function getType(){return`document`}},{key:`getModel`,value:function getModel(){return $n}}])}(qt);b(),w(),E(),D(),A();function _callSuper$287(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$287()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$287,`_callSuper`);function _isNativeReflectConstruct$287(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$287=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$287,`_isNativeReflectConstruct`);var tr=function(r){function Section(){return _classCallCheck(this,Section),_callSuper$287(this,Section,arguments)}return _inherits(Section,r),_createClass(Section,[{key:`isValidChild`,value:function isValidChild(r){return r.get(`elType`)===`column`}}])}(nn.default);b(),w(),E(),D(),A(),Jt();var nr=__toESM(Kn());function _callSuper$286(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$286()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$286,`_callSuper`);function _isNativeReflectConstruct$286(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$286=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$286,`_isNativeReflectConstruct`);var rr=function(r){function Section(){return _classCallCheck(this,Section),_callSuper$286(this,Section,arguments)}return _inherits(Section,r),_createClass(Section,[{key:`getType`,value:function getType(){return`section`}},{key:`getView`,value:function getView(){return nr.default}},{key:`getModel`,value:function getModel(){return tr}}])}(qt);b(),w(),E(),D(),A();function _callSuper$285(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$285()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$285,`_callSuper`);function _isNativeReflectConstruct$285(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$285=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$285,`_isNativeReflectConstruct`);var ir=function(r){function InnerSection(){return _classCallCheck(this,InnerSection),_callSuper$285(this,InnerSection,arguments)}return _inherits(InnerSection,r),_createClass(InnerSection,[{key:`getType`,value:function getType(){return`inner-section`}}])}(rr);b(),w(),E(),D(),A();function _callSuper$284(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$284()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$284,`_callSuper`);function _isNativeReflectConstruct$284(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$284=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$284,`_isNativeReflectConstruct`);var ar=function(r){function Widget(){return _classCallCheck(this,Widget),_callSuper$284(this,Widget,arguments)}return _inherits(Widget,r),_createClass(Widget,[{key:`isValidChild`,value:function isValidChild(){return!1}}])}(nn.default);function _callSuper$283(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$283()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$283(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$283=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet$32(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}var or,sr=__esmMin((()=>{b(),w(),E(),D(),k(),A(),__name(_callSuper$283,`_callSuper`),__name(_isNativeReflectConstruct$283,`_isNativeReflectConstruct`),__name(_superPropGet$32,`_superPropGet`),or=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$283(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`events`,value:function events(){return{dragstart:`onDragStart`,dragstop:`onDragStop`}}},{key:`initialize`,value:function initialize(){_superPropGet$32(_default,`initialize`,this,3)([]),this.listenTo(elementor.channels.dataEditMode,`switch`,this.toggle),this.view.options.draggable=this,this.isActive=!1}},{key:`activate`,value:function activate(){this.isActive=!0,this.$el.draggable({addClasses:!1})}},{key:`deactivate`,value:function deactivate(){this.$el.draggable(`instance`)&&(this.isActive=!1,this.$el.draggable(`destroy`))}},{key:`toggle`,value:function toggle(){var r=this.view.getEditModel().getSetting(`_position`);this.deactivate(),r&&this.view.getContainer().isDesignable()&&this.activate()}},{key:`onRender`,value:function onRender(){var r=this;_.defer(function(){return r.toggle()})}},{key:`onDestroy`,value:function onDestroy(){this.deactivate()}},{key:`onDragStart`,value:function onDragStart(r){r.stopPropagation(),this.view.model.trigger(`request:edit`)}},{key:`onDragStop`,value:function onDragStop(r,c){var l=this;r.stopPropagation();var u=elementorFrontend.getCurrentDeviceMode(),p=u===`desktop`?``:`_`+u,m=this.view.getEditModel(),h=m.getSetting(`_offset_orientation_h`),g=m.getSetting(`_offset_orientation_v`),v={},y=elementorFrontend.config.is_rtl,b=this.$el.offsetParent().width(),x=this.$el.outerWidth(!0),S=c.position.left,C=b-S-x,w=y?C:S,T=c.position.top,E=`_offset_x`,D=`_offset_y`;h===`end`&&(w=b-w-x,E=`_offset_x_end`);var O=m.getSetting(E+p).unit;w=elementor.helpers.elementSizeToUnit(this.$el,w,O);var k=this.$el.offsetParent().height(),ee=this.$el.outerHeight(!0);g===`end`&&(T=k-T-ee,D=`_offset_y_end`);var A=m.getSetting(D+p).unit;T=elementor.helpers.elementSizeToUnit(this.$el,T,A),v[E+p]={size:w,unit:O},v[D+p]={size:T,unit:A},$e.run(`document/elements/settings`,{container:this.view.container,settings:v,options:{external:!0}}),setTimeout(function(){l.$el.css({top:``,left:``,right:``,bottom:``,width:``,height:``})},250)}}])}(Marionette.Behavior)}));function ownKeys$16(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$16(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$16(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$16(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}function _callSuper$282(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$282()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$282(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$282=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet$31(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}var cr,lr=__esmMin((()=>{P(),b(),w(),E(),D(),k(),A(),__name(ownKeys$16,`ownKeys`),__name(_objectSpread$16,`_objectSpread`),__name(_callSuper$282,`_callSuper`),__name(_isNativeReflectConstruct$282,`_isNativeReflectConstruct`),__name(_superPropGet$31,`_superPropGet`),cr=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$282(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`events`,value:function events(){return{resizestart:`onResizeStart`,resizestop:`onResizeStop`,resize:`onResize`}}},{key:`initialize`,value:function initialize(){_superPropGet$31(_default,`initialize`,this,3)([]),this.listenTo(elementor.channels.dataEditMode,`switch`,this.toggle),this.view.options.resizeable=this}},{key:`getOptions`,value:function getOptions(){var r=`e, w`;return this.isContainerItem()&&(r=elementorCommon.config.isRTL?`w`:`e`),{handles:r}}},{key:`activate`,value:function activate(){this.$el.resizable(this.getOptions())}},{key:`deactivate`,value:function deactivate(){this.$el.resizable(`instance`)&&this.$el.resizable(`destroy`)}},{key:`toggle`,value:function toggle(){this.deactivate(),this.view.container.isDesignable()&&!this.view.container.isGridContainer()&&this.activate()}},{key:`isContainer`,value:function isContainer(){return this.view.model.get(`elType`)===`container`}},{key:`isContainerItem`,value:function isContainerItem(){var r;return((r=this.view.getContainer().parent)==null||(r=r.model)==null?void 0:r.get(`elType`))===`container`}},{key:`isContainerActive`,value:function isContainerActive(){return!!elementorCommon.config.experimentalFeatures.container}},{key:`getWidthKey`,value:function getWidthKey(){return this.isContainer()?`width`:`_element_custom_width`}},{key:`getDeviceSetting`,value:function getDeviceSetting(r){var c=elementorFrontend.getCurrentDeviceMode();return r+(c===`desktop`?``:`_`+c)}},{key:`getSetting`,value:function getSetting(r){return this.view.getEditModel().getSetting(r)}},{key:`onRender`,value:function onRender(){var r=this;_.defer(function(){return r.toggle()})}},{key:`onDestroy`,value:function onDestroy(){this.deactivate()}},{key:`onResizeStart`,value:function onResizeStart(r){r.stopPropagation(),this.view.onResizeStart&&this.view.onResizeStart(r),this.isContainerItem()||this.view.model.trigger(`request:edit`)}},{key:`onResizeStop`,value:function onResizeStop(r,c){var l=this;r.stopPropagation(),this.view.onResizeStop&&this.view.onResizeStop(r,c);var u=this.getDeviceSetting(`_element_width`),p=this.getDeviceSetting(this.getWidthKey()),m=this.getSetting(p).unit,h=elementor.helpers.elementSizeToUnit(this.$el,c.size.width,m),g=_objectSpread$16(_objectSpread$16(_objectSpread$16({},this.isContainerActive()?{_flex_size:`none`}:{}),this.isContainer()?{content_width:`full`}:{}),{},_defineProperty(_defineProperty({},u,`initial`),p,{unit:m,size:h}));$e.run(`document/elements/settings`,{container:this.view.container,settings:g,options:{external:!0}}),setTimeout(function(){l.$el.css({width:``,height:``,left:``,"flex-shrink":``,"flex-grow":``,"flex-basis":``})})}},{key:`onResize`,value:function onResize(r,c){r.stopPropagation(),this.view.onResize&&this.view.onResize(r,c),this.isContainerItem()&&this.$el.css({left:``,right:``,"flex-shrink":0,"flex-grow":0})}}])}(Marionette.Behavior)})),ur=__commonJSMin(((c,l)=>{b(),w(),E(),D(),k(),A();function _callSuper(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}l.exports=function(c){function BaseWidgetView(){return _classCallCheck(this,BaseWidgetView),_callSuper(this,BaseWidgetView,arguments)}return _inherits(BaseWidgetView,c),_createClass(BaseWidgetView,[{key:`initialize`,value:function initialize(r){var c=this;_superPropGet(BaseWidgetView,`initialize`,this,3)([r]);var l=this.getEditModel();l.on({"before:remote:render":this.onModelBeforeRemoteRender.bind(this),"remote:render":this.onModelRemoteRender.bind(this),"settings:loaded":function settingsLoaded(){return setTimeout(c.render.bind(c))}}),this.getTemplateType()===`remote`&&!this.getEditModel().getHtmlCache()&&l.renderRemoteServer();var u=this.onRender;this.render=_.throttle(this.render,300),this.onRender=function(){_.defer(u.bind(this))}}},{key:`className`,value:function className(){return _superPropGet(BaseWidgetView,`className`,this,3)([])+` elementor-widget `+elementor.getElementData(this.getEditModel()).html_wrapper_class}},{key:`normalizeAttributes`,value:function normalizeAttributes(){var r=this.getEditModel(),c=r.getSetting(`_skin`)||`default`;this.$el.attr(`data-widget_type`,r.get(`widgetType`)+`.`+c).removeClass(`elementor-widget-empty`).children(`.elementor-widget-empty-icon`).remove()}},{key:`getTemplate`,value:function getTemplate(){var r=this.getEditModel();return this.getTemplateType()===`remote`?_.template(``):Marionette.TemplateCache.get(`#tmpl-elementor-`+r.get(`widgetType`)+`-content`)}},{key:`getEditButtons`,value:function getEditButtons(){var c=elementor.getElementData(this.model),l={};return l.edit={title:(0,r.sprintf)((0,r.__)(`Edit %s`,`elementor`),c.title),icon:`edit`},elementor.getPreferences(`edit_buttons`)&&(l.duplicate={title:(0,r.sprintf)((0,r.__)(`Duplicate %s`,`elementor`),c.title),icon:`clone`}),l}},{key:`getRepeaterSettingKey`,value:function getRepeaterSettingKey(r,c,l){return[c,l,r].join(`.`)}},{key:`onModelBeforeRemoteRender`,value:function onModelBeforeRemoteRender(){this.$el.addClass(`elementor-loading`)}},{key:`onModelRemoteRender`,value:function onModelRemoteRender(){this.isDestroyed||(this.$el.removeClass(`elementor-loading`),this.getContainer().document.id===elementor.documents.getCurrent().id&&this.render())}},{key:`onBeforeDestroy`,value:function onBeforeDestroy(){elementor.$previewContents.find(`#elementor-style-`+this.model.get(`id`)).remove()}}])}(Wn())})),dr=__commonJSMin(((c,l)=>{P(),l.exports=Marionette.Behavior.extend({editing:!1,$currentEditingArea:null,ui:function ui(){return{inlineEditingArea:`.`+this.getOption(`inlineEditingClass`)}},events:function events(){return{"click @ui.inlineEditingArea":`onInlineEditingClick`,"input @ui.inlineEditingArea":`onInlineEditingUpdate`}},initialize:function initialize(){this.onInlineEditingBlur=this.onInlineEditingBlur.bind(this)},getEditingSettingKey:function getEditingSettingKey(){return this.$currentEditingArea.data().elementorSettingKey},startEditing:function startEditing(c){if(!(this.editing||!this.view.container.isEditable()||this.view.model.isRemoteRequestActive())){var l=c.data().elementorSettingKey,u=l,p=l.split(`.`),m=p.length===3,h=this.view.getEditModel().get(`settings`);m&&(h=h.get(p[0]).models[p[1]],u=p[2]);var g=h.get(`__dynamic__`);if(!(g&&g[u])){this.$currentEditingArea=c;var v=this.$currentEditingArea.data().elementorInlineEditingToolbar,y=v===`advanced`?`advanced`:`basic`,b=this.view.getEditModel(),x=elementor.config.inlineEditing,S=b.getSetting(this.getEditingSettingKey());y===`advanced`&&(S=wp.editor.autop(S)),this.$currentEditingArea.html(S);var C=elementorFrontend.elements.window.ElementorInlineEditor;this.editing=!0,this.view.allowRender=!1,this.view.model.setHtmlCache(``),this.editor=new C({linksInNewWindow:!0,stay:!1,editor:this.$currentEditingArea[0],mode:y,list:v===`none`?[]:x.toolbar[v||`basic`],cleanAttrs:[`id`,`class`,`name`],placeholder:(0,r.__)(`Type Here`,`elementor`)+`...`,toolbarIconsPrefix:`eicon-editor-`,toolbarIconsDictionary:{externalLink:{className:`eicon-editor-external-link`},list:{className:`eicon-editor-list-ul`},insertOrderedList:{className:`eicon-editor-list-ol`},insertUnorderedList:{className:`eicon-editor-list-ul`},createlink:{className:`eicon-editor-link`},unlink:{className:`eicon-editor-unlink`},blockquote:{className:`eicon-editor-quote`},p:{className:`eicon-editor-paragraph`},pre:{className:`eicon-editor-code`}}}),jQuery(this.editor._menu).children().on(`mousedown`,function(r){r.preventDefault()}),this.$currentEditingArea.on(`blur`,this.onInlineEditingBlur),elementorCommon.elements.$body.on(`mousedown`,this.onInlineEditingBlur)}}},stopEditing:function stopEditing(){this.editing=!1,this.$currentEditingArea.off(`blur`,this.onInlineEditingBlur),elementorCommon.elements.$body.off(`mousedown`,this.onInlineEditingBlur),this.editor.destroy(),this.view.allowRender=!0,this.$currentEditingArea.data().elementorInlineEditingToolbar===`advanced`&&this.view.getEditModel().renderRemoteServer()},onInlineEditingClick:function onInlineEditingClick(r){var c=this,l=jQuery(r.currentTarget);setTimeout(function(){c.startEditing(l)},30)},onInlineEditingBlur:function onInlineEditingBlur(r){var c=this;if(r.type===`mousedown`){this.stopEditing();return}setTimeout(function(){var r=elementorFrontend.elements.window.getSelection();jQuery(r.focusNode).closest(`.pen-input-wrapper`).length||c.stopEditing()},20)},onInlineEditingUpdate:function onInlineEditingUpdate(){var r=this.getEditingSettingKey(),c=this.view.getContainer(),l=r.split(`.`);if(l.length===3){var u=l[0],p=c.repeaters[u],m=l[1];c=p.children[m],r=l[2]}$e.run(`document/elements/settings`,{container:c,settings:_defineProperty({},r,this.editor.getContent()),options:{external:!0}})}})})),fr=__commonJSMin(((c,l)=>{sr(),lr();var u=__toESM(ur()),p=Wn();l.exports=u.default.extend({_templateType:null,toggleEditTools:!0,events:function events(){var r=u.default.prototype.events.apply(this,arguments);return r.click=`onClickEdit`,r},behaviors:function behaviors(){var r=u.default.prototype.behaviors.apply(this,arguments);return _.extend(r,{InlineEditing:{behaviorClass:dr(),inlineEditingClass:`elementor-inline-editing`},Draggable:{behaviorClass:or},Resizable:{behaviorClass:cr}}),elementor.hooks.applyFilters(`elements/widget/behaviors`,r,this)},getContextMenuGroups:function getContextMenuGroups(){var c=this,l=u.default.prototype.getContextMenuGroups.apply(this,arguments),p=l.indexOf(_.findWhere(l,{name:`clipboard`}));return l.splice(p+1,0,{name:`save`,actions:[{name:`save`,title:(0,r.__)(`Save as a global`,`elementor`),shortcut:jQuery(`<i>`,{class:`eicon-pro-icon`}),promotionURL:`https://go.elementor.com/go-pro-global-widget-context-menu/`,isEnabled:function isEnabled(){return c.options.model.get(`widgetType`)!==`global`&&!elementor.selection.isMultiple()}}]}),l},render:function render(){if(this.model.isRemoteRequestActive()){this.handleEmptyWidget(),this.$el.addClass(`elementor-element`);return}this.isDestroyed||p.prototype.render.apply(this,arguments)},handleEmptyWidget:function handleEmptyWidget(){this.$el.addClass(`elementor-widget-empty`).append(`<i class="elementor-widget-empty-icon `+this.getEditModel().getIcon()+`"></i>`)},getTemplateType:function getTemplateType(){if(this._templateType===null){var r=this.getEditModel(),c=jQuery(`#tmpl-elementor-`+r.get(`widgetType`)+`-content`);this._templateType=c.length?`js`:`remote`}return this._templateType},getHTMLContent:function getHTMLContent(r){return this.getEditModel().getHtmlCache()||r},attachElContent:function attachElContent(r){var c=this;return _.defer(function(){elementorFrontend.elements.window.jQuery(c.el).empty().append(c.getHandlesOverlay(),c.getHTMLContent(r)),c.bindUIElements()}),this},addInlineEditingAttributes:function addInlineEditingAttributes(r,c){this.addRenderAttribute(r,{class:`elementor-inline-editing`,"data-elementor-setting-key":r}),c&&this.addRenderAttribute(r,{"data-elementor-inline-editing-toolbar":c})},onRender:function onRender(){var r=this;u.default.prototype.onRender.apply(r,arguments),this.normalizeAttributes(),r.$el.imagesLoaded().always(function(){setTimeout(function(){var c=r.$el.children(`.elementor-widget-container`).length?r.$el.children(`.elementor-widget-container`):r.$el;r.shouldGetEmptyView(c)&&r.handleEmptyWidget()},200)})},shouldGetEmptyView:function shouldGetEmptyView(r){if(!r.is(`:visible`))return!1;var c=!r.outerHeight(),l=r.is(`:empty`);return c||l},onClickEdit:function onClickEdit(r){var c;(c=this.container)!=null&&c.isEditable()&&this.onEditButtonClick(r)}})}));b(),w(),E(),D(),A(),Jt();var pr=__toESM(fr());function _callSuper$281(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$281()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$281,`_callSuper`);function _isNativeReflectConstruct$281(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$281=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$281,`_isNativeReflectConstruct`);var mr=function(r){function Widget(){return _classCallCheck(this,Widget),_callSuper$281(this,Widget,arguments)}return _inherits(Widget,r),_createClass(Widget,[{key:`getType`,value:function getType(){return`widget`}},{key:`getView`,value:function getView(){return pr.default}},{key:`getModel`,value:function getModel(){return ar}}])}(qt),hr=__exportAll({Column:()=>Zn,Document:()=>er,InnerSection:()=>ir,Section:()=>rr,Widget:()=>mr}),gr=__commonJSMin(((r,c)=>{c.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),_r=__commonJSMin(((r,c)=>{var l=gr();function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,c.exports=function(){function shim(r,c,u,p,m,h){if(h!==l){var g=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name=`Invariant Violation`,g}}shim.isRequired=shim;function getShim(){return shim}var r={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return r.PropTypes=r,r}})),vr=__commonJSMin(((r,c)=>{c.exports=_r()()}));function EmptyComponent(){var r=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).container;return l.default.createElement(`div`,{className:`elementor-first-add`},l.default.createElement(`div`,{className:`elementor-icon eicon-plus`,onClick:function handleClick(){r&&$e.run(`document/elements/select`,{container:r}),Dn.sendCanvasEmptyBoxAction({targetName:`add_container`}),$e.route(`panel/elements/categories`)}}))}var yr,br=__esmMin((()=>{yr=__toESM(vr()),kn(),EmptyComponent.propTypes={container:yr.default.object}}));function _callSuper$280(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$280()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$280(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$280=function _isNativeReflectConstruct(){return!!r})()}var xr,Sr,Cr=__esmMin((()=>{b(),w(),E(),D(),A(),xr=__toESM(tn()),__name(_callSuper$280,`_callSuper`),__name(_isNativeReflectConstruct$280,`_isNativeReflectConstruct`),Sr=function(r){function Container(){return _classCallCheck(this,Container),_callSuper$280(this,Container,arguments)}return _inherits(Container,r),_createClass(Container,[{key:`isValidChild`,value:function isValidChild(r){var c=r.get(`elType`);return c!==`section`&&c!==`column`}}])}(xr.default)})),wr=__commonJSMin((r=>{var c=globalThis.ReactDOM;r.createRoot=c.createRoot,r.hydrateRoot=c.hydrateRoot}));function render(r,c){var l;try{var p=(0,Tr.createRoot)(c);p.render(r),l=function unmountFunction(){p.unmount()}}catch(p){u.render(r,c),l=function unmountFunction(){u.unmountComponentAtNode(c)}}return{unmount:l}}var Tr,Er,Dr=__esmMin((()=>{Tr=wr(),Er={render}}));function _callSuper$279(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$279()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$279(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$279=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet$30(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}var Or,kr=__esmMin((()=>{b(),w(),E(),D(),k(),A(),P(),Dr(),br(),__name(_callSuper$279,`_callSuper`),__name(_isNativeReflectConstruct$279,`_isNativeReflectConstruct`),__name(_superPropGet$30,`_superPropGet`),Or=function(r){function EmptyView(){var r;_classCallCheck(this,EmptyView);for(var c=arguments.length,l=Array(c),u=0;u<c;u++)l[u]=arguments[u];return r=_callSuper$279(this,EmptyView,[].concat(l)),_defineProperty(r,`template`,`<div></div>`),_defineProperty(r,`className`,`elementor-empty-view`),r}return _inherits(EmptyView,r),_createClass(EmptyView,[{key:`initialize`,value:function initialize(r){_superPropGet$30(EmptyView,`initialize`,this,3)([r]),this.ownerView=r.emptyViewOwner}},{key:`renderReactDefaultElement`,value:function renderReactDefaultElement(r){var c=r.parent,u;if(c.model.get(`elType`)===`widget`){var p=elementor.elementsManager.getElementTypeClass(c.model.get(`widgetType`));if(p){var m=p.getEmptyView();u=l.default.createElement(m,{container:r})}}else u=l.default.createElement(EmptyComponent,{container:r});var h=Er.render(u,this.el).unmount;this.unmount=h}},{key:`onRender`,value:function onRender(){this.$el.addClass(this.className),this.renderReactDefaultElement(this.ownerView.container)}},{key:`onDestroy`,value:function onDestroy(){this.unmount()}}])}(Marionette.ItemView)})),Ar,jr=__esmMin((()=>{b(),w(),P(),rt(),Ar=function(){function HookBase(){_classCallCheck(this,HookBase),_defineProperty(this,`type`,void 0),_defineProperty(this,`command`,void 0),_defineProperty(this,`id`,void 0),this.initialize(),this.type=this.getType(),this.command=this.getCommand(),this.id=this.getId()}return _createClass(HookBase,[{key:`initialize`,value:function initialize(){}},{key:`register`,value:function register(){H()}},{key:`getType`,value:function getType(){H()}},{key:`getCommand`,value:function getCommand(){H()}},{key:`getId`,value:function getId(){H()}},{key:`getContainerType`,value:function getContainerType(){}},{key:`getConditions`,value:function getConditions(){return arguments.length>0&&arguments[0]!==void 0&&arguments[0],arguments.length>1&&arguments[1],!0}},{key:`apply`,value:function apply(r){H()}},{key:`run`,value:function run(){var r=(arguments.length<=0?void 0:arguments[0]).options,c=r===void 0?{}:r;return c.callbacks&&!1===c.callbacks[this.id]?!0:this.getConditions.apply(this,arguments)?($e.devTools&&$e.devTools.log.callbacks().active(this.type,this.command,this.id),this.apply.apply(this,arguments)):!0}}])}()}));function _callSuper$278(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$278()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$278(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$278=function _isNativeReflectConstruct(){return!!r})()}var Mr,Nr=__esmMin((()=>{b(),w(),E(),D(),A(),jr(),__name(_callSuper$278,`_callSuper`),__name(_isNativeReflectConstruct$278,`_isNativeReflectConstruct`),Mr=function(r){function Base(){return _classCallCheck(this,Base),_callSuper$278(this,Base,arguments)}return _inherits(Base,r),_createClass(Base,[{key:`getType`,value:function getType(){return`data`}}])}(Ar)}));function _callSuper$277(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$277()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$277(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$277=function _isNativeReflectConstruct(){return!!r})()}var Pr,Fr=__esmMin((()=>{b(),w(),E(),D(),A(),Nr(),__name(_callSuper$277,`_callSuper`),__name(_isNativeReflectConstruct$277,`_isNativeReflectConstruct`),Pr=function(r){function After(){return _classCallCheck(this,After),_callSuper$277(this,After,arguments)}return _inherits(After,r),_createClass(After,[{key:`register`,value:function register(){$e.hooks.registerDataAfter(this)}}])}(Mr)}));function _callSuper$276(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$276()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$276(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$276=function _isNativeReflectConstruct(){return!!r})()}var Ir,Lr=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),__name(_callSuper$276,`_callSuper`),__name(_isNativeReflectConstruct$276,`_isNativeReflectConstruct`),Ir=function(r){function ResetLayoutBase(){return _classCallCheck(this,ResetLayoutBase),_callSuper$276(this,ResetLayoutBase,arguments)}return _inherits(ResetLayoutBase,r),_createClass(ResetLayoutBase,[{key:`getConditions`,value:function getConditions(){return!$e.commands.isCurrentFirstTrace(`document/elements/move`)}},{key:`apply`,value:function apply(r,c){Array.isArray(c)||(c=[c]),c.forEach(function(r){return r.parent.view.resetLayout(!1)})}}])}(Pr)}));function _callSuper$275(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$275()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$275(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$275=function _isNativeReflectConstruct(){return!!r})()}var Rr,zr=__esmMin((()=>{b(),w(),E(),D(),A(),Lr(),__name(_callSuper$275,`_callSuper`),__name(_isNativeReflectConstruct$275,`_isNativeReflectConstruct`),Rr=function(r){function CreateSectionColumnsResetLayout(){return _classCallCheck(this,CreateSectionColumnsResetLayout),_callSuper$275(this,CreateSectionColumnsResetLayout,arguments)}return _inherits(CreateSectionColumnsResetLayout,r),_createClass(CreateSectionColumnsResetLayout,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`section-columns-reset-layout--document/elements/create`}},{key:`getContainerType`,value:function getContainerType(){return`section`}}])}(Ir)}));function _callSuper$274(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$274()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$274(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$274=function _isNativeReflectConstruct(){return!!r})()}var Br,Vr=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$274,`_callSuper`),__name(_isNativeReflectConstruct$274,`_isNativeReflectConstruct`),Br=function(c){function Copy(){return _classCallCheck(this,Copy),_callSuper$274(this,Copy,arguments)}return _inherits(Copy,c),_createClass(Copy,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`apply`,value:function apply(c){var l=c.storageKey,u=l===void 0?`clipboard`:l,p=c.containers,m=p===void 0?[c.container]:p;if(!elementor.selection.isSameType())return elementor.notifications.showToast({message:(0,r.__)(`That didn’t work. Try copying one kind of element at a time.`,`elementor`),buttons:[{name:`got_it`,text:(0,r.__)(`Got it`,`elementor`)}]}),!1;var h=elementor.getPreviewView().$el.find(`.elementor-element`),g=m.sort(function(r,c){return h.index(r.view.el)-h.index(c.view.el)}).map(function(r){return r.model.toJSON({copyHtmlCache:!0})}),v={type:`elementor`,siteurl:elementorCommon.config.urls.rest,elements:g};elementorCommon.storage.set(u,v);var y=document.createElement(`textarea`);y.value=JSON.stringify(v),document.body.appendChild(y),y.select(),document.execCommand(`copy`),document.body.removeChild(y)}}])}($e.modules.editor.CommandContainerBase)}));function _callSuper$273(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$273()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$273(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$273=function _isNativeReflectConstruct(){return!!r})()}var Hr,Ur=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$273,`_callSuper`),__name(_isNativeReflectConstruct$273,`_isNativeReflectConstruct`),Hr=function(r){function CopyAll(){return _classCallCheck(this,CopyAll),_callSuper$273(this,CopyAll,arguments)}return _inherits(CopyAll,r),_createClass(CopyAll,[{key:`apply`,value:function apply(){$e.run(`document/elements/copy`,{containers:Object.values(elementor.getPreviewView().children._views).map(function(r){return r.getContainer()})})}}])}($e.modules.CommandBase)}));function _callSuper$272(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$272()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$272(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$272=function _isNativeReflectConstruct(){return!!r})()}var Wr,Gr=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$272,`_callSuper`),__name(_isNativeReflectConstruct$272,`_isNativeReflectConstruct`),Wr=function(r){function Create(){return _classCallCheck(this,Create),_callSuper$272(this,Create,arguments)}return _inherits(Create,r),_createClass(Create,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r),this.requireArgumentConstructor(`model`,Object,r)}},{key:`getHistory`,value:function getHistory(r){var c=r.model,l=r.containers;return{containers:l===void 0?[r.container]:l,model:c,type:`add`,title:elementor.helpers.getModelLabel(c)}}},{key:`apply`,value:function apply(r){var c=this,l=r.model,u=r.options,p=u===void 0?{}:u,m=r.containers,h=m===void 0?[r.container]:m,g=[];return h.forEach(function(r){var u,m;if(r=r.lookup(),!((u=r)!=null&&u.view)||r.view.isDestroyed){var h;r=(h=$e.components.get(`document`).utils.findContainerById(r.id))==null?r:h}if(!((m=r)!=null&&m.view)||r.view.isDestroyed){$e.components.get(`document`).utils.addModelToParent(r.id,l,p);return}var v=r.view.addElement(l,p).getContainer();g.push(v),c.isHistoryActive()&&c.history&&$e.internal(`document/history/log-sub-item`,{container:r,type:`sub-add`,restore:c.constructor.restore,options:p,data:{containerToRestore:v,modelToRestore:v.model.toJSON()}})}),g.length===1&&(g=g[0]),g}}],[{key:`restore`,value:function restore(r,c){var l,u,p,m,h,g,v,y=r.get(`data`),b=r.get(`container`),x=r.get(`options`)||{};if(x.clone&&(x.clone=!1),c){$e.run(`document/elements/create`,{container:b,model:y.modelToRestore,options:x});return}if(!elementor.helpers.isAtomicWidget(y.modelToRestore)){$e.run(`document/elements/delete`,{container:y.containerToRestore});return}var S=(l=(u=y.containerToRestore)==null||(p=u.lookup)==null?void 0:p.call(u))==null?y.containerToRestore:l;if(S instanceof elementorModules.editor.Container){$e.run(`document/elements/delete`,{container:S});return}var C=(m=y.containerToRestore)==null||(m=m.parent)==null?void 0:m.id,w=(h=(g=y.containerToRestore)==null?void 0:g.id)==null?(v=y.modelToRestore)==null?void 0:v.id:h;C&&w&&$e.components.get(`document`).utils.removeModelFromParent(C,w)}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$271(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$271()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$271(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$271=function _isNativeReflectConstruct(){return!!r})()}var Kr,qr=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$271,`_callSuper`),__name(_isNativeReflectConstruct$271,`_isNativeReflectConstruct`),Kr=function(r){function Delete(){return _classCallCheck(this,Delete),_callSuper$271(this,Delete,arguments)}return _inherits(Delete,r),_createClass(Delete,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`getHistory`,value:function getHistory(r){var c=r.containers;return{containers:c===void 0?[r.container]:c,type:`remove`}}},{key:`apply`,value:function apply(r){var c=this,l=r.containers,u=l===void 0?[r.container]:l;return u.forEach(function(l){var u,p;if(l=l.lookup(),!((u=l)!=null&&u.view)||l.view.isDestroyed){var m;l=(m=$e.components.get(`document`).utils.findContainerById(l.id))==null?l:m}if(!((p=l)!=null&&p.view)||l.view.isDestroyed){var h;(h=l)!=null&&h.parent&&$e.components.get(`document`).utils.removeModelFromParent(l.parent.id,l.id);return}c.isHistoryActive()&&c.history&&$e.internal(`document/history/log-sub-item`,{container:l,type:`sub-remove`,restore:c.constructor.restore,data:{model:l.model.toJSON(),parent:l.parent,at:l.view._index}}),c.dispatchDeleteEvent(l,r.callerName),c.deselectRecursive(l.model.get(`id`)),l.model.destroy(),l.panel.refresh()}),u.length===1?u[0]:u}},{key:`dispatchDeleteEvent`,value:function dispatchDeleteEvent(r,c){var l,u,p,m,h,g;if((l=elementorCommon)!=null&&(l=l.eventsManager)!=null&&l.dispatchEvent){var v=(u=r.model.get(`elType`))==null?``:u,y=(p=r.model.get(`widgetType`))==null?``:p,b=v===`widget`?y:v,x=((m=(h=r.parent)==null||(h=h.model)==null?void 0:h.get(`widgetType`))==null?``:m)||((g=r.parent)==null?void 0:g.type)||``,S={window_name:`editor`,interaction_type:`click`,target_type:v,target_name:`delete`,interaction_result:`${v}_deleted`,target_location:`canvas`,location_l1:x,location_l2:b,interaction_description:`user_deleted_${b}_from_canvas`};c&&(S.trigger=c),elementorCommon.eventsManager.dispatchEvent(`delete_element`,S)}}},{key:`deselectRecursive`,value:function deselectRecursive(r){var c=this,l=elementor.getContainer(r);elementor.selection.has(l)&&$e.run(`document/elements/deselect`,{container:l}),l==null||l.model.get(`elements`).forEach(function(r){c.deselectRecursive(r.get(`id`))})}}],[{key:`restore`,value:function restore(r,c){var l=r.get(`container`),u=r.get(`data`);c?$e.run(`document/elements/delete`,{container:l}):$e.run(`document/elements/create`,{container:u.parent,model:u.model,options:{at:u.at}})}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$270(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$270()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$270(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$270=function _isNativeReflectConstruct(){return!!r})()}var Jr,Yr=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$270,`_callSuper`),__name(_isNativeReflectConstruct$270,`_isNativeReflectConstruct`),Jr=function(r){function Deselect(){return _classCallCheck(this,Deselect),_callSuper$270(this,Deselect,arguments)}return _inherits(Deselect,r),_createClass(Deselect,[{key:`validateArgs`,value:function validateArgs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.all||this.requireContainer(r)}},{key:`apply`,value:function apply(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.all,p=u!==void 0&&u;elementor.selection.remove(l,p)}}])}($e.modules.editor.CommandContainerBase)}));function _callSuper$269(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$269()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$269(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$269=function _isNativeReflectConstruct(){return!!r})()}var Xr,Zr=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$269,`_callSuper`),__name(_isNativeReflectConstruct$269,`_isNativeReflectConstruct`),Xr=function(r){function DeselectAll(){return _classCallCheck(this,DeselectAll),_callSuper$269(this,DeselectAll,arguments)}return _inherits(DeselectAll,r),_createClass(DeselectAll,[{key:`apply`,value:function apply(){elementor.selection.remove([],!0)}}])}($e.modules.CommandBase)}));function ownKeys$15(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$15(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$15(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$15(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}function _callSuper$268(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$268()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$268(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$268=function _isNativeReflectConstruct(){return!!r})()}var Qr,$r=__esmMin((()=>{P(),b(),w(),E(),D(),A(),__name(ownKeys$15,`ownKeys`),__name(_objectSpread$15,`_objectSpread`),__name(_callSuper$268,`_callSuper`),__name(_isNativeReflectConstruct$268,`_isNativeReflectConstruct`),Qr=function(c){function Duplicate(){return _classCallCheck(this,Duplicate),_callSuper$268(this,Duplicate,arguments)}return _inherits(Duplicate,c),_createClass(Duplicate,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`getHistory`,value:function getHistory(r){var c=r.containers;return{containers:c===void 0?[r.container]:c,type:`duplicate`}}},{key:`apply`,value:function apply(c){var l=c.containers,u=l===void 0?[c.container]:l,p=c.options,m=p===void 0?{}:p,h=[],g=u[u.length-1].view._index;return elementor.selection.isSameType()?(u.forEach(function(r){var c=r.parent;h.push($e.run(`document/elements/create`,{container:c,model:r.model.toJSON(),options:_objectSpread$15(_objectSpread$15({},m),{},{at:++g,clone:!0})}))}),h.length===1?h[0]:h):(elementor.notifications.showToast({message:(0,r.__)(`That didn’t work. Try duplicating one kind of element at a time.`,`elementor`),buttons:[{name:`got_it`,text:(0,r.__)(`Got it`,`elementor`)}]}),!1)}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$267(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$267()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$267(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$267=function _isNativeReflectConstruct(){return!!r})()}var ei,ti=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$267,`_callSuper`),__name(_isNativeReflectConstruct$267,`_isNativeReflectConstruct`),ei=function(c){function Empty(){return _classCallCheck(this,Empty),_callSuper$267(this,Empty,arguments)}return _inherits(Empty,c),_createClass(Empty,[{key:`getHistory`,value:function getHistory(c){return c.force?{type:`remove`,title:(0,r.__)(`All Content`,`elementor`),data:elementor.elements?elementor.elements.toJSON():null,restore:this.constructor.restore}:!1}},{key:`apply`,value:function apply(r){if(r.force&&elementor.elements){elementor.elements.reset(),elementor.getPreviewContainer().panel.closeEditor();return}elementor.getClearPageDialog().show()}},{key:`isDataChanged`,value:function isDataChanged(){return this.args.force}}],[{key:`restore`,value:function restore(r,c){if(c)$e.run(`document/elements/empty`,{force:!0});else{var l=r.get(`data`);l&&elementor.getPreviewView().addChildModel(l),$e.internal(`document/save/set-is-modified`,{status:!0})}}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$266(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$266()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$266(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$266=function _isNativeReflectConstruct(){return!!r})()}var ni,ri=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$266,`_callSuper`),__name(_isNativeReflectConstruct$266,`_isNativeReflectConstruct`),ni=function(c){function Import(){return _classCallCheck(this,Import),_callSuper$266(this,Import,arguments)}return _inherits(Import,c),_createClass(Import,[{key:`validateArgs`,value:function validateArgs(r){if(this.requireArgumentInstance(`model`,Backbone.Model,r),this.requireArgumentConstructor(`data`,Object,r),r.containers)throw TypeError(`Multi containers are not supported`);r.container&&this.requireContainer()}},{key:`getHistory`,value:function getHistory(c){var l=c.model;return{type:`add`,title:(0,r.__)(`Template`,`elementor`),subTitle:l.get(`title`)}}},{key:`apply`,value:function apply(r){var c=r.data,l=r.options,u=l===void 0?r.options||{}:l,p=r.container,m=p===void 0?r.container||elementor.getPreviewContainer():p,h=[],g=isNaN(u.at)?m.view.collection.length:u.at;return Object.values(c.content).forEach(function(r){h.push($e.run(`document/elements/create`,{container:m,model:r,options:Object.assign(u,{at:g})})),g++}),u.withPageSettings&&$e.run(`document/elements/settings`,{container:elementor.settings.page.getEditedView().getContainer(),settings:c.page_settings,options:{external:!0}}),h}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$265(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$265()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$265(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$265=function _isNativeReflectConstruct(){return!!r})()}var ii,ai,oi=__esmMin((()=>{N(),b(),w(),E(),D(),A(),ii=__toESM(R()),En(),__name(_callSuper$265,`_callSuper`),__name(_isNativeReflectConstruct$265,`_isNativeReflectConstruct`),ai=function(c){function Paste(){return _classCallCheck(this,Paste),_callSuper$265(this,Paste,arguments)}return _inherits(Paste,c),_createClass(Paste,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`getHistory`,value:function getHistory(){return{type:`paste`,title:(0,r.__)(`Elements`,`elementor`)}}},{key:`getStorageData`,value:function getStorageData(r){var c=r.storageType,l=c===void 0?`localstorage`:c,u=r.storageKey,p=u===void 0?`clipboard`:u,m=r.data,h=m===void 0?``:m;if(l===`localstorage`)return elementorCommon.storage.get(p)||{};try{return JSON.parse(h)||{}}catch(r){return{}}}},{key:`apply`,value:function(){var r=_asyncToGenerator(ii.default.mark(function _callee(r){var c,l,u,p,m,h,g,v,y,b,x;return ii.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:if(l=r.at,u=r.rebuild,p=u!==void 0&&u,m=r.containers,h=m===void 0?[r.container]:m,g=r.options,v=g===void 0?{}:g,y=this.getStorageData(r),!(!y||!(y!=null&&(c=y.elements)!=null&&c.length)||(y==null?void 0:y.type)!==`elementor`)){S.next=1;break}return S.abrupt(`return`,!1);case 1:if(b=y.elements,y.siteurl===elementorCommon.config.urls.rest){S.next=5;break}return S.prev=2,S.next=3,new Promise(function(r,c){return elementorCommon.ajax.addRequest(`import_from_json`,{data:{elements:JSON.stringify(b)},success:r,error:c})});case 3:b=S.sent,S.next=5;break;case 4:return S.prev=4,S.catch(2),S.abrupt(`return`,!1);case 5:if(x=[],p?x=this.rebuild(h,b,l):(l!==void 0&&(v.at=l),x.push(this.pasteTo(h,b,v))),x.length!==1){S.next=6;break}return S.abrupt(`return`,x[0]);case 6:return S.abrupt(`return`,x);case 7:case`end`:return S.stop()}},_callee,this,[[2,4]])}));function apply(c){return r.apply(this,arguments)}return apply}()},{key:`rebuild`,value:function rebuild(r,c,l){var u=this,p=[];return r.forEach(function(r){var m=l===void 0,h=m?r.view.collection.length:l;c.forEach(function(c){switch(c.elType){case`container`:case`e-flexbox`:case`e-div-block`:case`e-grid`:p.push(u.pasteTo([r],[c],{at:m?++h:h}));break;case`section`:c.isInner&&(r=$e.run(`document/elements/create`,{container:r,model:{elType:`section`},columns:1,options:{at:h,edit:!1}}).view.children.findByIndex(0).getContainer()),p.push(u.pasteTo([r],[c],{at:h,edit:!1})),h++;break;case`column`:var l=$e.run(`document/elements/create`,{container:r,model:{elType:`section`},columns:0,options:{at:++h,edit:!1}});p.push(u.pasteTo([l],[c]));break;default:var g,v=elementor.helpers.isAtomicWidget(c);if(r.model.get(`elType`)===`section`)g=[r.view.children.findByIndex(0).getContainer()];else if(r.model.get(`elType`)===`container`)g=[r];else if(v){var y={at:m?++h:h,useHistory:!1};g=G.createContainerFromModel({elType:G.V4_DEFAULT_CONTAINER_TYPE},r,{options:y}),g=[g]}else elementorCommon.config.experimentalFeatures.container?(g=$e.run(`document/elements/create`,{container:r,model:{elType:`container`},options:{at:m?++h:h}}),g=[g]):g=[$e.run(`document/elements/create`,{container:r,model:{elType:`section`},columns:1,options:{at:m?++h:h}}).view.children.first().getContainer()];p.push(u.pasteTo(g,[c]))}})}),p}},{key:`pasteTo`,value:function pasteTo(r,c){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};l=Object.assign({at:null,clone:!0},l);var u=[];return c.forEach(function(c){u.push($e.run(`document/elements/create`,{containers:r,model:c,options:l})),l.at!==null&&l.at++}),u.length===1?u[0]:u}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$264(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$264()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$264(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$264=function _isNativeReflectConstruct(){return!!r})()}var si,ci,li=__esmMin((()=>{N(),b(),w(),E(),D(),A(),P(),si=__toESM(R()),Kt(),__name(_callSuper$264,`_callSuper`),__name(_isNativeReflectConstruct$264,`_isNativeReflectConstruct`),ci=function(c){function PasteArea(){return _classCallCheck(this,PasteArea),_callSuper$264(this,PasteArea,arguments)}return _inherits(PasteArea,c),_createClass(PasteArea,[{key:`getHistory`,value:function getHistory(){return!1}},{key:`getDialog`,value:function getDialog(){var c=this;if(this.dialog)return this.dialog;var l=jQuery(`<div>`,{class:`e-dialog-description`}).html((0,r.__)(`To paste the element from your other site.`,`elementor`)),u=jQuery(`<input>`,{id:`elementor-paste-area-dialog__input`,type:`text`}).attr(`autocomplete`,`off`).on(`keypress`,function(r){r.preventDefault()}).on(`blur`,function(){_.defer(function(){return u.trigger(`focus`)})}).on(`paste`,function(){var r=_asyncToGenerator(si.default.mark(function _callee(r){var l,u;return si.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return r.preventDefault(),l=c.getDialog().getElements(`widgetContent`),l.addClass(`e-state-loading`),m.next=1,$e.run(`document/ui/paste`,{container:c.container,storageType:`rawdata`,data:r.originalEvent.clipboardData.getData(`text`),options:c.options});case 1:if(u=m.sent,l.removeClass(`e-state-loading`),!u){m.next=2;break}return c.dialog.hide(),m.abrupt(`return`);case 2:p.show();case 3:case`end`:return m.stop()}},_callee)}));return function(c){return r.apply(this,arguments)}}()),p=jQuery(`<div>`,{id:`elementor-paste-area-dialog__error`,style:`display: none`}).html((0,r.__)(`Make sure that both sites are updated to last version of Elementor and have enabled the features relevant to the copied element before trying again.`,`elementor`)),m=jQuery(`<i>`,{class:`eicon-loading eicon-animation-spin`});l.append(u).append(p).append(m);var h=Gt.mac?`&#8984;`:`Ctrl`;return this.dialog=elementorCommon.dialogsManager.createWidget(`lightbox`,{id:`elementor-paste-area-dialog`,headerMessage:`${h} + V`,message:l,position:{my:`center center`,at:`center center`},closeButton:!0,closeButtonOptions:{iconClass:`eicon-close`},onShow:function onShow(){u.trigger(`focus`),c.getDialog().getElements(`widgetContent`).on(`click`,function(){u.trigger(`focus`)})}}),this.dialog}},{key:`apply`,value:function apply(r){this.container=r.container,r.options&&(this.options=r.options),this.getDialog().show()}}])}($e.modules.editor.document.CommandHistoryBase),_defineProperty(ci,`dialog`,null),_defineProperty(ci,`container`,null),_defineProperty(ci,`options`,{})}));function _callSuper$263(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$263()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$263(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$263=function _isNativeReflectConstruct(){return!!r})()}var di,fi=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$263,`_callSuper`),__name(_isNativeReflectConstruct$263,`_isNativeReflectConstruct`),di=function(r){function PasteInteractions(){return _classCallCheck(this,PasteInteractions),_callSuper$263(this,PasteInteractions,arguments)}return _inherits(PasteInteractions,r),_createClass(PasteInteractions,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r);var c=r.storageKey,l=c===void 0?`clipboard`:c,u=elementorCommon.storage.get(l);this.requireArgumentType(`storageData`,`object`,{storageData:u})}},{key:`apply`,value:function apply(){}}])}($e.modules.editor.CommandContainerBase)}));function _callSuper$262(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$262()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$262(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$262=function _isNativeReflectConstruct(){return!!r})()}var pi,mi=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$262,`_callSuper`),__name(_isNativeReflectConstruct$262,`_isNativeReflectConstruct`),pi=function(r){function Move(){return _classCallCheck(this,Move),_callSuper$262(this,Move,arguments)}return _inherits(Move,r),_createClass(Move,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r),this.requireArgumentInstance(`target`,elementorModules.editor.Container,r)}},{key:`getHistory`,value:function getHistory(r){var c=r.containers;return{containers:c===void 0?[r.container]:c,type:`move`}}},{key:`apply`,value:function apply(r){var c=r.target,l=r.options,u=l===void 0?{}:l,p=r.containers,m=p===void 0?[r.container]:p,h=[];m.forEach(function(r){h.push(r.model.toJSON()),$e.run(`document/elements/delete`,{container:r})});var g=0,v=[];return h.forEach(function(r){Object.prototype.hasOwnProperty.call(u,`at`)&&h.length>1&&g!==0&&(u.at+=g);var l=$e.run(`document/elements/create`,{container:c,model:r,options:u});v.push(l),g++}),v.length===1?v[0]:v}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$261(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$261()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$261(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$261=function _isNativeReflectConstruct(){return!!r})()}var hi,gi=__esmMin((()=>{M(),x(),b(),w(),E(),D(),A(),__name(_callSuper$261,`_callSuper`),__name(_isNativeReflectConstruct$261,`_isNativeReflectConstruct`),hi=function(r){function PasteStyle(){return _classCallCheck(this,PasteStyle),_callSuper$261(this,PasteStyle,arguments)}return _inherits(PasteStyle,r),_createClass(PasteStyle,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r);var c=r.storageKey,l=c===void 0?`clipboard`:c,u=elementorCommon.storage.get(l);this.requireArgumentType(`storageData`,`object`,{storageData:u})}},{key:`validateControls`,value:function validateControls(r,c){var l=!0;return(r===null||c===null||r===void 0||c===void 0||_typeof(r)===`object`^_typeof(c)===`object`)&&(l=!1),l}},{key:`getHistory`,value:function getHistory(r){var c=r.containers;return{containers:c===void 0?[r.container]:c,type:`paste_style`}}},{key:`apply`,value:function apply(r){var c,l=r.containers,u=l===void 0?[r.container]:l,p=r.storageKey,m=p===void 0?`clipboard`:p,h=elementorCommon.storage.get(m);if(!h||!(h!=null&&(c=h.elements)!=null&&c.length)||(h==null?void 0:h.type)!==`elementor`)return!1;this.applyPasteStyleData(u,h.elements)}},{key:`applyPasteStyleData`,value:function applyPasteStyleData(r,c){var l=this;r.forEach(function(r){var u=r.settings,p=u.attributes,m=u.controls,h={},g=function addExtraControls(c,l){c[l]&&Object.entries(c[l]).forEach(function(c){var u=_slicedToArray(c,2),p=u[0],g=u[1],v=m[p];r.view.isStyleTransferControl(v)&&(h[l]=h[l]||{},h[l][p]=g)})};c.forEach(function(c){var u=c.settings;g(u,`__globals__`),g(u,`__dynamic__`),Object.entries(m).forEach(function(c){var m=_slicedToArray(c,2),g=m[0],v=m[1];if(r.view.isStyleTransferControl(v)){var y=u[g],b=p[g];l.validateControls(y,b)&&(_typeof(y)===`object`&&Object.keys(y).some(function(r){if(y[r]!==b[r])return!1})||y===b||!elementor.getControlView(v.type).onPasteStyle(v,y)||(h[g]=y))}}),l.pasteStyle(r,h)})})}},{key:`pasteStyle`,value:function pasteStyle(r,c){var l=c.__globals__;l&&delete c.__globals__,$e.run(`document/elements/settings`,{container:r,settings:c,options:{external:!0,render:!1}}),l&&($e.run(`document/globals/settings`,{container:r,settings:l,options:{external:!0,render:!1}}),r.panel.refresh()),r.render()}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$260(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$260()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$260(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$260=function _isNativeReflectConstruct(){return!!r})()}var _i,vi=__esmMin((()=>{M(),b(),w(),E(),D(),A(),__name(_callSuper$260,`_callSuper`),__name(_isNativeReflectConstruct$260,`_isNativeReflectConstruct`),_i=function(r){function ResetSettings(){return _classCallCheck(this,ResetSettings),_callSuper$260(this,ResetSettings,arguments)}return _inherits(ResetSettings,r),_createClass(ResetSettings,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`getHistory`,value:function getHistory(r){var c=r.containers;return{containers:c===void 0?[r.container]:c,type:`reset_settings`}}},{key:`apply`,value:function apply(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.options,p=u===void 0?{}:u,m=r.settings,h=m===void 0?[]:m;l.forEach(function(r){var c=Object.entries(r.settings.controls),l={};c.forEach(function(r){var c=_slicedToArray(r,2),u=c[0],p=c[1];h&&h.length&&!h.find(function(r){return r===u})||(l[u]=p.default)}),l.__globals__={},$e.run(`document/elements/settings`,{container:r,options:p,settings:l}),r.render()})}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$259(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$259()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$259(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$259=function _isNativeReflectConstruct(){return!!r})()}var yi,bi=__esmMin((()=>{M(),b(),w(),E(),D(),A(),__name(_callSuper$259,`_callSuper`),__name(_isNativeReflectConstruct$259,`_isNativeReflectConstruct`),yi=function(r){function ResetStyle(){return _classCallCheck(this,ResetStyle),_callSuper$259(this,ResetStyle,arguments)}return _inherits(ResetStyle,r),_createClass(ResetStyle,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`getHistory`,value:function getHistory(r){var c=r.containers;return{containers:c===void 0?[r.container]:c,type:`reset_style`}}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){var c=r.settings.controls,l=[];r.view.allowRender=!1,Object.entries(c).forEach(function(c){var u=_slicedToArray(c,2),p=u[0],m=u[1];r.view.isStyleTransferControl(m)&&l.push(p)}),$e.run(`document/elements/reset-settings`,{container:r,settings:l,options:{external:!0}}),r.view.allowRender=!0,r.render()})}}])}($e.modules.editor.document.CommandHistoryBase)}));function _callSuper$258(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$258()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$258(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$258=function _isNativeReflectConstruct(){return!!r})()}var xi,Si=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$258,`_callSuper`),__name(_isNativeReflectConstruct$258,`_isNativeReflectConstruct`),xi=function(r){function Select(){return _classCallCheck(this,Select),_callSuper$258(this,Select,arguments)}return _inherits(Select,r),_createClass(Select,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`apply`,value:function apply(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.append,p=u!==void 0&&u;elementor.selection.add(l,p)}}])}($e.modules.editor.CommandContainerBase)}));function _createForOfIteratorHelper$8(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$8(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}function _unsupportedIterableToArray$8(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$8(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$8(r,c):void 0}}function _arrayLikeToArray$8(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}function _callSuper$257(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$257()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$257(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$257=function _isNativeReflectConstruct(){return!!r})()}var Ci,wi=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_createForOfIteratorHelper$8,`_createForOfIteratorHelper`),__name(_unsupportedIterableToArray$8,`_unsupportedIterableToArray`),__name(_arrayLikeToArray$8,`_arrayLikeToArray`),__name(_callSuper$257,`_callSuper`),__name(_isNativeReflectConstruct$257,`_isNativeReflectConstruct`),Ci=function(r){function SelectAll(){return _classCallCheck(this,SelectAll),_callSuper$257(this,SelectAll,arguments)}return _inherits(SelectAll,r),_createClass(SelectAll,[{key:`apply`,value:function apply(){elementor.selection.add(this.flattenContainersList(elementor.elementsModel.get(`elements`).map(function(r){return elementor.getContainer(r.id)})))}},{key:`flattenContainersList`,value:function flattenContainersList(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=[],l=_createForOfIteratorHelper$8(r),u;try{for(l.s();!(u=l.n()).done;){var p=u.value;c.push(p),p.children.length&&(c=c.concat(this.flattenContainersList(p.children)))}}catch(r){l.e(r)}finally{l.f()}return c}}])}($e.modules.CommandBase)}));function _callSuper$256(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$256()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$256(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$256=function _isNativeReflectConstruct(){return!!r})()}var Ti,Ei=__esmMin((()=>{P(),b(),w(),E(),D(),A(),__name(_callSuper$256,`_callSuper`),__name(_isNativeReflectConstruct$256,`_isNativeReflectConstruct`),Ti=function(r){function Settings(){return _classCallCheck(this,Settings),_callSuper$256(this,Settings,arguments)}return _inherits(Settings,r),_createClass(Settings,[{key:`addToHistory`,value:function addToHistory(r,c,l){var u=_defineProperty({},r.id,{old:l,new:c}),p={containers:[r],data:{changes:u},type:`change`,restore:Settings.restore};$e.internal(`document/history/add-transaction`,p)}},{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r),this.requireArgumentConstructor(`settings`,Object,r)}},{key:`getHistory`,value:function getHistory(r){var c=r.containers;return{containers:c===void 0?[r.container]:c,subTitle:this.constructor.getSubTitle(r),type:`change`}}},{key:`apply`,value:function apply(r){var c=this,l=r.containers,u=l===void 0?[r.container]:l,p=r.settings,m=p===void 0?{}:p,h=r.isMultiSettings,g=h!==void 0&&h,v=r.options,y=v===void 0?{}:v;u.forEach(function(r){r=r.lookup();var l=g?m[r.id]:m,u=r.settings.toJSON();r.oldValues={},Object.keys(l).forEach(function(c){r.oldValues[c]=u[c]}),c.isHistoryActive()&&c.addToHistory(r,l,r.oldValues),$e.internal(`document/elements/set-settings`,{container:r,options:y,settings:l})})}}],[{key:`getSubTitle`,value:function getSubTitle(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.settings,p=u===void 0?{}:u,m=r.isMultiSettings,h=Object.keys(p),g=l[0].controls,v=h[0],y=``;return!m&&h.length===1&&g&&g[v]&&(y=g[v].label),y}},{key:`restore`,value:function restore(r,c){var l=r.get(`data`);r.get(`containers`).forEach(function(r){var u=l.changes[r.id];$e.run(`document/elements/settings`,{container:r,settings:c?u.new:u.old,options:{external:!0}})})}}])}($e.modules.editor.document.CommandHistoryDebounceBase)}));function _callSuper$255(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$255()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$255(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$255=function _isNativeReflectConstruct(){return!!r})()}var Di,Oi=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$255,`_callSuper`),__name(_isNativeReflectConstruct$255,`_isNativeReflectConstruct`),Di=function(r){function ToggleSelection(){return _classCallCheck(this,ToggleSelection),_callSuper$255(this,ToggleSelection,arguments)}return _inherits(ToggleSelection,r),_createClass(ToggleSelection,[{key:`validateArgs`,value:function validateArgs(r){this.requireContainer(r)}},{key:`apply`,value:function apply(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.append,p=u!==void 0&&u;l.forEach(function(c){$e.run(elementor.selection.has(c)&&p?`document/elements/deselect`:`document/elements/select`,r)})}}])}($e.modules.editor.CommandContainerBase)})),ki=__exportAll({Copy:()=>Br,CopyAll:()=>Hr,Create:()=>Wr,Delete:()=>Kr,Deselect:()=>Jr,DeselectAll:()=>Xr,Duplicate:()=>Qr,Empty:()=>ei,Import:()=>ni,Move:()=>pi,Paste:()=>ai,PasteArea:()=>ci,PasteInteractions:()=>di,PasteStyle:()=>hi,ResetSettings:()=>_i,ResetStyle:()=>yi,Select:()=>xi,SelectAll:()=>Ci,Settings:()=>Ti,ToggleSelection:()=>Di}),Ai=__esmMin((()=>{Vr(),Ur(),Gr(),qr(),Yr(),Zr(),$r(),ti(),ri(),oi(),li(),fi(),mi(),gi(),vi(),bi(),Si(),wi(),Ei(),Oi()})),ji,Mi=__esmMin((()=>{b(),w(),Ai(),ji=function(){function Helper(){_classCallCheck(this,Helper)}return _createClass(Helper,null,[{key:`createSectionColumns`,value:function createSectionColumns(r,c,l){var u=arguments.length>3&&arguments[3]!==void 0&&arguments[3];r.forEach(function(r){for(var u=0;u<c;u++){var p={id:elementorCommon.helpers.getUniqueId(),elType:`column`,settings:{},elements:[]};r.view.addElement(p,{edit:!1}),$e.internal(`document/history/log-sub-item`,{container:r,type:`sub-add`,restore:Wr.restore,options:l,data:{containerToRestore:r,modelToRestore:p}})}}),u?r.forEach(function(r){r.view.setStructure(u,!1)}):c&&(r.forEach(function(r){return r.view.resetLayout()}),r[r.length-1].model.trigger(`request:edit`))}}])}()}));function _callSuper$254(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$254()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$254(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$254=function _isNativeReflectConstruct(){return!!r})()}var Ni,Pi,Fi=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),Mi(),Ni=__toESM(Kn()),__name(_callSuper$254,`_callSuper`),__name(_isNativeReflectConstruct$254,`_isNativeReflectConstruct`),Pi=function(r){function InnerSectionColumns(){return _classCallCheck(this,InnerSectionColumns),_callSuper$254(this,InnerSectionColumns,arguments)}return _inherits(InnerSectionColumns,r),_createClass(InnerSectionColumns,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`create-inner-section-columns`}},{key:`getContainerType`,value:function getContainerType(){return`column`}},{key:`getConditions`,value:function getConditions(r){return r.model.isInner&&!r.model.elements}},{key:`apply`,value:function apply(r,c){var l=r.structure,u=l===void 0?`20`:l,p=r.options,m=p===void 0?{}:p;Array.isArray(c)||(c=[c]),ji.createSectionColumns(c,Ni.DEFAULT_INNER_SECTION_COLUMNS,m,u)}}])}(Pr)}));function _callSuper$253(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$253()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$253(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$253=function _isNativeReflectConstruct(){return!!r})()}var Ii,Li=__esmMin((()=>{b(),w(),E(),D(),A(),Nr(),__name(_callSuper$253,`_callSuper`),__name(_isNativeReflectConstruct$253,`_isNativeReflectConstruct`),Ii=function(r){function Dependency(){return _classCallCheck(this,Dependency),_callSuper$253(this,Dependency,arguments)}return _inherits(Dependency,r),_createClass(Dependency,[{key:`register`,value:function register(){$e.hooks.registerDataDependency(this)}}])}(Mr)}));function _callSuper$252(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$252()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$252(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$252=function _isNativeReflectConstruct(){return!!r})()}var Ri,zi=__esmMin((()=>{b(),w(),E(),D(),A(),Li(),__name(_callSuper$252,`_callSuper`),__name(_isNativeReflectConstruct$252,`_isNativeReflectConstruct`),Ri=function(r){function IsValidChild(){return _classCallCheck(this,IsValidChild),_callSuper$252(this,IsValidChild,arguments)}return _inherits(IsValidChild,r),_createClass(IsValidChild,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`is-valid-child`}},{key:`apply`,value:function apply(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.model,p=u===void 0?{}:u,m=new Backbone.Model(p);return l.some(function(r){return r.model.isValidChild(m)})}}])}(Ii)}));function _callSuper$251(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$251()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$251(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$251=function _isNativeReflectConstruct(){return!!r})()}var Bi,Vi,Hi=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),Mi(),Bi=__toESM(Kn()),__name(_callSuper$251,`_callSuper`),__name(_isNativeReflectConstruct$251,`_isNativeReflectConstruct`),Vi=function(r){function SectionColumns(){return _classCallCheck(this,SectionColumns),_callSuper$251(this,SectionColumns,arguments)}return _inherits(SectionColumns,r),_createClass(SectionColumns,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`create-section-columns`}},{key:`getContainerType`,value:function getContainerType(){return`document`}},{key:`getConditions`,value:function getConditions(r){return!r.model.elements&&r.model.elType===`section`}},{key:`apply`,value:function apply(r,c){var l=r.structure,u=l!==void 0&&l,p=r.options,m=p===void 0?{}:p;Array.isArray(c)||(c=[c]);var h=r.columns,g=h===void 0?1:h;r.model.isInner&&g===1&&(g=Bi.DEFAULT_INNER_SECTION_COLUMNS),ji.createSectionColumns(c,g,m,u)}}])}(Pr)}));function _callSuper$250(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$250()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$250(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$250=function _isNativeReflectConstruct(){return!!r})()}var Ui,Wi=__esmMin((()=>{b(),w(),E(),D(),A(),Li(),__name(_callSuper$250,`_callSuper`),__name(_isNativeReflectConstruct$250,`_isNativeReflectConstruct`),Ui=function(r){function SectionColumnsLimit(){return _classCallCheck(this,SectionColumnsLimit),_callSuper$250(this,SectionColumnsLimit,arguments)}return _inherits(SectionColumnsLimit,r),_createClass(SectionColumnsLimit,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`section-columns-limit`}},{key:`getContainerType`,value:function getContainerType(){return`section`}},{key:`apply`,value:function apply(r){var c=r.containers;return!(c===void 0?[r.container]:c).some(function(r){return r.view.isCollectionFilled()})}}])}(Ii)})),Gi=__esmMin((()=>{zr(),Fi(),zi(),Hi(),Wi()}));function _callSuper$249(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$249()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$249(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$249=function _isNativeReflectConstruct(){return!!r})()}var Ki,qi=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),__name(_callSuper$249,`_callSuper`),__name(_isNativeReflectConstruct$249,`_isNativeReflectConstruct`),Ki=function(r){function CreateColumnForEmptySection(){return _classCallCheck(this,CreateColumnForEmptySection),_callSuper$249(this,CreateColumnForEmptySection,arguments)}return _inherits(CreateColumnForEmptySection,r),_createClass(CreateColumnForEmptySection,[{key:`getCommand`,value:function getCommand(){return`document/elements/delete`}},{key:`getId`,value:function getId(){return`create-column-for-empty-section--document/elements/delete`}},{key:`getContainerType`,value:function getContainerType(){return`column`}},{key:`getConditions`,value:function getConditions(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return r.parent.type===`section`&&r.parent.children.length===0})}},{key:`apply`,value:function apply(r,c){Array.isArray(c)||(c=[c]),c.forEach(function(r){var c=r.parent;c.children.length===0&&$e.run(`document/elements/create`,{container:c,model:{elType:`column`}})})}}])}(Pr)}));function _callSuper$248(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$248()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$248(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$248=function _isNativeReflectConstruct(){return!!r})()}var Ji,Yi=__esmMin((()=>{b(),w(),E(),D(),A(),Lr(),__name(_callSuper$248,`_callSuper`),__name(_isNativeReflectConstruct$248,`_isNativeReflectConstruct`),Ji=function(r){function DeleteColumnColumnsResetLayout(){return _classCallCheck(this,DeleteColumnColumnsResetLayout),_callSuper$248(this,DeleteColumnColumnsResetLayout,arguments)}return _inherits(DeleteColumnColumnsResetLayout,r),_createClass(DeleteColumnColumnsResetLayout,[{key:`getCommand`,value:function getCommand(){return`document/elements/delete`}},{key:`getId`,value:function getId(){return`section-columns-reset-layout--document/elements/delete`}},{key:`getContainerType`,value:function getContainerType(){return`column`}}])}(Ir)})),Xi=__esmMin((()=>{qi(),Yi()}));function _callSuper$247(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$247()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$247(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$247=function _isNativeReflectConstruct(){return!!r})()}var Zi,Qi=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),__name(_callSuper$247,`_callSuper`),__name(_isNativeReflectConstruct$247,`_isNativeReflectConstruct`),Zi=function(r){function SectionColumnsSetStructure(){return _classCallCheck(this,SectionColumnsSetStructure),_callSuper$247(this,SectionColumnsSetStructure,arguments)}return _inherits(SectionColumnsSetStructure,r),_createClass(SectionColumnsSetStructure,[{key:`getCommand`,value:function getCommand(){return`document/elements/move`}},{key:`getId`,value:function getId(){return`section-columns-set-structure`}},{key:`getContainerType`,value:function getContainerType(){return`column`}},{key:`getConditions`,value:function getConditions(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.target;return l.some(function(r){return r.parent!==u})}},{key:`apply`,value:function apply(r){var c=r.containers,l=c===void 0?[r.container]:c,u=r.target;return l.forEach(function(r){return r.parent.view.resetLayout()}),u.view.resetLayout(),!0}}])}(Pr)})),$i=__esmMin((()=>{Qi()}));function _callSuper$246(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$246()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$246(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$246=function _isNativeReflectConstruct(){return!!r})()}var ea,ta=__esmMin((()=>{b(),w(),E(),D(),A(),Li(),__name(_callSuper$246,`_callSuper`),__name(_isNativeReflectConstruct$246,`_isNativeReflectConstruct`),ea=function(r){function IsPasteEnabled(){return _classCallCheck(this,IsPasteEnabled),_callSuper$246(this,IsPasteEnabled,arguments)}return _inherits(IsPasteEnabled,r),_createClass(IsPasteEnabled,[{key:`getCommand`,value:function getCommand(){return`document/elements/paste`}},{key:`getId`,value:function getId(){return`is-paste-enabled`}},{key:`getConditions`,value:function getConditions(r){return!r.rebuild}},{key:`apply`,value:function apply(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return $e.components.get(`document/elements`).utils.isPasteEnabled(r)})}}])}(Ii)})),na=__esmMin((()=>{ta()}));function _callSuper$245(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$245()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$245(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$245=function _isNativeReflectConstruct(){return!!r})()}var ra,ia=__esmMin((()=>{P(),b(),w(),E(),D(),A(),Fr(),__name(_callSuper$245,`_callSuper`),__name(_isNativeReflectConstruct$245,`_isNativeReflectConstruct`),ra=function(r){function HandleDynamic(){return _classCallCheck(this,HandleDynamic),_callSuper$245(this,HandleDynamic,arguments)}return _inherits(HandleDynamic,r),_createClass(HandleDynamic,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`handle-dynamic`}},{key:`getContainerType`,value:function getContainerType(){return`dynamic`}},{key:`getConditions`,value:function getConditions(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return r.type===`dynamic`})}},{key:`apply`,value:function apply(r){var c=r.containers;return(c===void 0?[r.container]:c).forEach(function(r){if(r.type===`dynamic`){var c=elementor.dynamicTags.tagContainerToTagText(r),l={container:r.parent,settings:_defineProperty({},r.view.options.controlName,c)};$e.run(`document/dynamic/settings`,l)}}),!0}}])}(Pr)}));function _callSuper$244(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$244()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$244(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$244=function _isNativeReflectConstruct(){return!!r})()}var aa,oa=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),__name(_callSuper$244,`_callSuper`),__name(_isNativeReflectConstruct$244,`_isNativeReflectConstruct`),aa=function(r){function ResizeColumn(){return _classCallCheck(this,ResizeColumn),_callSuper$244(this,ResizeColumn,arguments)}return _inherits(ResizeColumn,r),_createClass(ResizeColumn,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`resize-column`}},{key:`getContainerType`,value:function getContainerType(){return`column`}},{key:`getConditions`,value:function getConditions(r){return r.settings._inline_size}},{key:`apply`,value:function apply(r){var c=this,l=r.containers;return(l===void 0?[r.container]:l).forEach(function(l){c.resizeColumn(l,r.settings._inline_size)}),!0}},{key:`resizeColumn`,value:function resizeColumn(r,c){var l=r.parent.view.getNeighborContainer(r);if(!l)return!1;var u=r.parent.view,p=r.view,m=null;if(r.oldValues===void 0||r.oldValues._inline_size===null)m=r.settings.get(`_column_size`);else{var h=u.$el.find(` > .elementor-container`)[0].getBoundingClientRect().width;m=+(r.oldValues._inline_size||p.el.getBoundingClientRect().width/h*100)}var g=l.view,v=g.$el,y=+g.model.getSetting(`_inline_size`)||r.parent.view.getColumnPercentSize(v,v[0].getBoundingClientRect().width),b=+(m+y-c).toFixed(3);return $e.run(`document/elements/settings`,{containers:[l],settings:{_inline_size:b},options:{callbacks:{"resize-column-limit":!1},history:{title:elementor.config.elements.column.controls._inline_size.label},external:!0,debounce:!0}}),!0}}])}(Pr)}));function _callSuper$243(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$243()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$243(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$243=function _isNativeReflectConstruct(){return!!r})()}var sa,ca,la=__esmMin((()=>{b(),w(),E(),D(),A(),Li(),sa=__toESM(Kn()),__name(_callSuper$243,`_callSuper`),__name(_isNativeReflectConstruct$243,`_isNativeReflectConstruct`),ca=function(r){function ResizeColumnLimit(){return _classCallCheck(this,ResizeColumnLimit),_callSuper$243(this,ResizeColumnLimit,arguments)}return _inherits(ResizeColumnLimit,r),_createClass(ResizeColumnLimit,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`resize-column-limit`}},{key:`getContainerType`,value:function getContainerType(){return`column`}},{key:`getConditions`,value:function getConditions(r){return r.settings._inline_size}},{key:`apply`,value:function apply(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(c){var l=c.parent.view,u=c.view,p=c.settings.get(`_inline_size`)||c.settings.get(`_column_size`),m=r.settings._inline_size,h=l.getNextColumn(u)||l.getPreviousColumn(u);if(!h)return $e.devTools&&$e.devTools.log.error(`There is not any next column`),!1;var g=h.$el;return+(p+(+h.model.getSetting(`_inline_size`)||l.getColumnPercentSize(g,g[0].getBoundingClientRect().width))-m).toFixed(3)<sa.DEFAULT_INNER_SECTION_COLUMNS?($e.devTools&&$e.devTools.log.error(`New column width is too large`),!1):m<sa.DEFAULT_INNER_SECTION_COLUMNS?($e.devTools&&$e.devTools.log.error(`New column width is too small`),!1):!0})}}])}(Ii)}));function _callSuper$242(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$242()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$242(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$242=function _isNativeReflectConstruct(){return!!r})()}var ua,da=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),__name(_callSuper$242,`_callSuper`),__name(_isNativeReflectConstruct$242,`_isNativeReflectConstruct`),ua=function(r){function SetStructure(){return _classCallCheck(this,SetStructure),_callSuper$242(this,SetStructure,arguments)}return _inherits(SetStructure,r),_createClass(SetStructure,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`set-structure`}},{key:`getContainerType`,value:function getContainerType(){return`section`}},{key:`getConditions`,value:function getConditions(r){return!!r.settings.structure}},{key:`apply`,value:function apply(r){var c=r.containers;return(c===void 0?[r.container]:c).forEach(function(r){r.view.adjustColumns()}),!0}}])}(Pr)})),fa=__esmMin((()=>{ia(),oa(),la(),da()})),pa=__esmMin((()=>{Gi(),Xi(),$i(),na(),fa()}));function _callSuper$241(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$241()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$241(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$241=function _isNativeReflectConstruct(){return!!r})()}var ma,ha=__esmMin((()=>{b(),w(),E(),D(),A(),jr(),__name(_callSuper$241,`_callSuper`),__name(_isNativeReflectConstruct$241,`_isNativeReflectConstruct`),ma=function(r){function Base(){return _classCallCheck(this,Base),_callSuper$241(this,Base,arguments)}return _inherits(Base,r),_createClass(Base,[{key:`getType`,value:function getType(){return`ui`}}])}(Ar)}));function _callSuper$240(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$240()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$240(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$240=function _isNativeReflectConstruct(){return!!r})()}var K,q=__esmMin((()=>{b(),w(),E(),D(),A(),ha(),__name(_callSuper$240,`_callSuper`),__name(_isNativeReflectConstruct$240,`_isNativeReflectConstruct`),K=function(r){function After(){return _classCallCheck(this,After),_callSuper$240(this,After,arguments)}return _inherits(After,r),_createClass(After,[{key:`register`,value:function register(){$e.hooks.registerUIAfter(this)}}])}(ma)}));function _callSuper$239(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$239()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$239(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$239=function _isNativeReflectConstruct(){return!!r})()}var ga,_a=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$239,`_callSuper`),__name(_isNativeReflectConstruct$239,`_isNativeReflectConstruct`),ga=function(r){function ColumnIsPopulated(){return _classCallCheck(this,ColumnIsPopulated),_callSuper$239(this,ColumnIsPopulated,arguments)}return _inherits(ColumnIsPopulated,r),_createClass(ColumnIsPopulated,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`column-is-populated`}},{key:`getConditions`,value:function getConditions(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return r.model.get(`elType`)===`column`})}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){r.model.get(`elType`)===`column`&&r.view.changeChildContainerClasses()})}}])}(K)}));function _callSuper$238(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$238()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$238(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$238=function _isNativeReflectConstruct(){return!!r})()}var va,ya=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$238,`_callSuper`),__name(_isNativeReflectConstruct$238,`_isNativeReflectConstruct`),va=function(r){function CreateSectionIsFull(){return _classCallCheck(this,CreateSectionIsFull),_callSuper$238(this,CreateSectionIsFull,arguments)}return _inherits(CreateSectionIsFull,r),_createClass(CreateSectionIsFull,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`create-section-is-full`}},{key:`getConditions`,value:function getConditions(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return r.model.get(`elType`)===`section`})}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){r.model.get(`elType`)===`section`&&r.view.toggleSectionIsFull()})}}])}(K)})),ba=__esmMin((()=>{_a(),ya()}));function _callSuper$237(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$237()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$237(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$237=function _isNativeReflectConstruct(){return!!r})()}var xa,Sa=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$237,`_callSuper`),__name(_isNativeReflectConstruct$237,`_isNativeReflectConstruct`),xa=function(r){function ColumnIsEmpty(){return _classCallCheck(this,ColumnIsEmpty),_callSuper$237(this,ColumnIsEmpty,arguments)}return _inherits(ColumnIsEmpty,r),_createClass(ColumnIsEmpty,[{key:`getCommand`,value:function getCommand(){return`document/elements/delete`}},{key:`getId`,value:function getId(){return`column-is-empty`}},{key:`getConditions`,value:function getConditions(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return r.parent.model.get(`elType`)===`column`})}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){r.parent.model.get(`elType`)===`column`&&r.parent.view.changeChildContainerClasses()})}}])}(K)}));function _callSuper$236(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$236()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$236(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$236=function _isNativeReflectConstruct(){return!!r})()}var Ca,wa=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$236,`_callSuper`),__name(_isNativeReflectConstruct$236,`_isNativeReflectConstruct`),Ca=function(r){function DeleteSectionIsFull(){return _classCallCheck(this,DeleteSectionIsFull),_callSuper$236(this,DeleteSectionIsFull,arguments)}return _inherits(DeleteSectionIsFull,r),_createClass(DeleteSectionIsFull,[{key:`getCommand`,value:function getCommand(){return`document/elements/delete`}},{key:`getId`,value:function getId(){return`delete-section-is-full`}},{key:`getConditions`,value:function getConditions(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return r.model.get(`elType`)===`column`})}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){r.model.get(`elType`)===`column`&&r.parent.view.toggleSectionIsFull()})}}])}(K)})),Ta=__esmMin((()=>{Sa(),wa()}));function _callSuper$235(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$235()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$235(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$235=function _isNativeReflectConstruct(){return!!r})()}var Ea,Da=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$235,`_callSuper`),__name(_isNativeReflectConstruct$235,`_isNativeReflectConstruct`),Ea=function(r){function MoveResizeableHandle(){return _classCallCheck(this,MoveResizeableHandle),_callSuper$235(this,MoveResizeableHandle,arguments)}return _inherits(MoveResizeableHandle,r),_createClass(MoveResizeableHandle,[{key:`getCommand`,value:function getCommand(){return`document/elements/create`}},{key:`getId`,value:function getId(){return`move-resizeable-handle`}},{key:`getConditions`,value:function getConditions(r){var c=r.containers;return(c===void 0?[r.container]:c).some(function(r){return r.model.get(`elType`)===`container`})}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){var c=r.view.$el,l=c.find(`> .ui-resizable-handle`).first();l&&c.append(l)})}}])}(K)})),Oa=__esmMin((()=>{Da()}));function _callSuper$234(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$234()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$234(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$234=function _isNativeReflectConstruct(){return!!r})()}var ka,Aa=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$234,`_callSuper`),__name(_isNativeReflectConstruct$234,`_isNativeReflectConstruct`),ka=function(r){function ChangePostTitle(){return _classCallCheck(this,ChangePostTitle),_callSuper$234(this,ChangePostTitle,arguments)}return _inherits(ChangePostTitle,r),_createClass(ChangePostTitle,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`change-post-title`}},{key:`getContainerType`,value:function getContainerType(){return`document`}},{key:`getConditions`,value:function getConditions(r){return r.settings.post_title!==void 0}},{key:`apply`,value:function apply(r){elementorFrontend.elements.$document.find(elementor.config.page_title_selector).text(r.settings.post_title)}}])}(K)}));function _callSuper$233(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$233()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$233(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$233=function _isNativeReflectConstruct(){return!!r})()}var ja,Ma=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$233,`_callSuper`),__name(_isNativeReflectConstruct$233,`_isNativeReflectConstruct`),ja=function(r){function ColumnChangeSize(){return _classCallCheck(this,ColumnChangeSize),_callSuper$233(this,ColumnChangeSize,arguments)}return _inherits(ColumnChangeSize,r),_createClass(ColumnChangeSize,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`column-change-size`}},{key:`getConditions`,value:function getConditions(r){return r.settings._inline_size!==void 0||r.settings._column_size!==void 0}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){r.view.changeSizeUI()})}}])}(K)}));function _callSuper$232(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$232()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$232(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$232=function _isNativeReflectConstruct(){return!!r})()}var Na,Pa=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$232,`_callSuper`),__name(_isNativeReflectConstruct$232,`_isNativeReflectConstruct`),Na=function(r){function Draggable(){return _classCallCheck(this,Draggable),_callSuper$232(this,Draggable,arguments)}return _inherits(Draggable,r),_createClass(Draggable,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`draggable`}},{key:`getConditions`,value:function getConditions(r){return r.settings._position!==void 0}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){r.view.options.draggable&&r.view.options.draggable.toggle()})}}])}(K)}));function _callSuper$231(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$231()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$231(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$231=function _isNativeReflectConstruct(){return!!r})()}var Fa,Ia=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$231,`_callSuper`),__name(_isNativeReflectConstruct$231,`_isNativeReflectConstruct`),Fa=function(r){function ExitTo(){return _classCallCheck(this,ExitTo),_callSuper$231(this,ExitTo,arguments)}return _inherits(ExitTo,r),_createClass(ExitTo,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`exit-to`}},{key:`getContainerType`,value:function getContainerType(){return`editorPreferences_settings`}},{key:`getConditions`,value:function getConditions(r){return r.settings.exit_to!==void 0}},{key:`apply`,value:function apply(){elementor.getPanelView().getPages(`menu`).view.addExitItem()}}])}(K)}));function _callSuper$230(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$230()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$230(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$230=function _isNativeReflectConstruct(){return!!r})()}var La,Ra=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$230,`_callSuper`),__name(_isNativeReflectConstruct$230,`_isNativeReflectConstruct`),La=function(r){function Resizeable(){return _classCallCheck(this,Resizeable),_callSuper$230(this,Resizeable,arguments)}return _inherits(Resizeable,r),_createClass(Resizeable,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`resizeable`}},{key:`getConditions`,value:function getConditions(r){return r.settings._position!==void 0||r.settings._element_width!==void 0}},{key:`apply`,value:function apply(r){var c=r.containers;(c===void 0?[r.container]:c).forEach(function(r){r.view.options.resizeable&&r.view.options.resizeable.toggle()})}}])}(K)}));function _callSuper$229(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$229()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$229(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$229=function _isNativeReflectConstruct(){return!!r})()}var za,Ba=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$229,`_callSuper`),__name(_isNativeReflectConstruct$229,`_isNativeReflectConstruct`),za=function(r){function ReloadPreview(){return _classCallCheck(this,ReloadPreview),_callSuper$229(this,ReloadPreview,arguments)}return _inherits(ReloadPreview,r),_createClass(ReloadPreview,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`save-layout`}},{key:`getContainerType`,value:function getContainerType(){return`document`}},{key:`getConditions`,value:function getConditions(r){return!!r.settings.template}},{key:`apply`,value:function apply(){return $e.run(`document/save/auto`,{force:!0}).then(function(){elementor.reloadPreview(),elementor.once(`preview:loaded`,function(){$e.route(`panel/page-settings/settings`)})})}}])}(K)}));function _callSuper$228(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$228()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$228(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$228=function _isNativeReflectConstruct(){return!!r})()}var Va,Ha=__esmMin((()=>{b(),w(),E(),D(),A(),q(),__name(_callSuper$228,`_callSuper`),__name(_isNativeReflectConstruct$228,`_isNativeReflectConstruct`),Va=function(r){function SetDirectionMode(){return _classCallCheck(this,SetDirectionMode),_callSuper$228(this,SetDirectionMode,arguments)}return _inherits(SetDirectionMode,r),_createClass(SetDirectionMode,[{key:`getCommand`,value:function getCommand(){return`document/elements/settings`}},{key:`getId`,value:function getId(){return`set-direction-mode--document/elements/settings`}},{key:`hasUiStates`,value:function hasUiStates(r){var c;return!!((c=r.renderer)!=null&&(c=c.view)!=null&&c.getCurrentUiStates)}},{key:`getConditions`,value:function getConditions(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(r.container?[r.container]:r.containers).some(this.hasUiStates)}},{key:`apply`,value:function apply(r){(r.container?[r.container]:r.containers).filter(this.hasUiStates).forEach(function(r){return SetDirectionMode.set(r)})}}],[{key:`set`,value:function set(r){var c;r=$e.routes.getCurrent(`panel`)===`panel/editor/advanced`?r.parent:r;var l=r.renderer.view,u=(c=l.getCurrentUiStates)==null?void 0:c.call(l).directionMode;if(u){$e.uiStates.set(`document/direction-mode`,u);return}$e.uiStates.remove(`document/direction-mode`)}}])}(K)})),Ua=__esmMin((()=>{Aa(),Ma(),Pa(),Ia(),Ra(),Ba(),Ha()})),Wa=__esmMin((()=>{ba(),Ta(),Oa(),Ua()})),Ga=__exportAll({ChangePostTitle:()=>ka,ColumnChangeSize:()=>ja,ColumnIsEmpty:()=>xa,ColumnIsPopulated:()=>ga,CreateColumnForEmptySection:()=>Ki,CreateSectionColumnsResetLayout:()=>Rr,CreateSectionIsFull:()=>va,DeleteColumnColumnsResetLayout:()=>Ji,DeleteSectionIsFull:()=>Ca,Draggable:()=>Na,ExitTo:()=>Fa,HandleDynamic:()=>ra,InnerSectionColumns:()=>Pi,IsPasteEnabled:()=>ea,IsValidChild:()=>Ri,MoveResizeableHandle:()=>Ea,ReloadPreview:()=>za,ResizeColumn:()=>aa,ResizeColumnLimit:()=>ca,Resizeable:()=>La,SectionColumns:()=>Vi,SectionColumnsLimit:()=>Ui,SectionColumnsSetStructure:()=>Zi,SetDirectionMode:()=>Va,SetStructure:()=>ua}),Ka=__esmMin((()=>{pa(),Wa()}));function isWidgetSupportNesting(r){var c=elementor.widgetsCache[r];return c?c.support_nesting:!1}function isWidgetSupportAtomicRepeaters(r){var c=elementor.widgetsCache[r];return c?c.support_improved_repeaters:!1}function widgetNodes(r){var c=elementor.widgetsCache[r];return c?{targetContainer:c.target_container,node:c.node}:!1}function shouldUseAtomicRepeaters(r){return isWidgetSupportNesting(r)&&isWidgetSupportAtomicRepeaters(r)}var qa=__esmMin((()=>{})),Ja=__commonJSMin(((c,l)=>{P(),ge(),In(),lr(),En(),kr(),Ka(),qa();var u=Bn(),p=Wn();l.exports=p.extend({template:Marionette.TemplateCache.get(`#tmpl-elementor-container-content`),emptyView:Or,destroyEmptyView:function destroyEmptyView(){if(this.isFlexContainer())return Marionette.CompositeView.prototype.destroyEmptyView.apply(this,arguments)},getChildViewContainer:function getChildViewContainer(){return this.childViewContainer=this.isBoxedWidth()?`> .e-con-inner`:``,Marionette.CompositeView.prototype.getChildViewContainer.apply(this,arguments)},getChildType:function getChildType(){var r=(0,u.getAllElementTypes)().filter(function(r){return r!==`section`&&r!==`column`});return[].concat(_toConsumableArray(r),[`widget`])},className:function className(){var r=this.model.get(`isInner`)?`e-child`:`e-parent`;return`${p.prototype.className.apply(this)} e-con ${r}`},filterSettings:function filterSettings(r){if((0,u.getAllElementTypes)().includes(r.elType)){var c=this;(c.isBoxedWidth()||c.getNestingLevel()!==0)&&(r.settings.content_width=`full`)}},childViewOptions:function childViewOptions(){return{emptyViewOwner:this}},tagName:function tagName(){return this.model.getSetting(`html_tag`)||`div`},ui:function ui(){var r=p.prototype.ui.apply(this,arguments);return r.percentsTooltip=`> .elementor-element-overlay .elementor-column-percents-tooltip`,r},getCurrentUiStates:function getCurrentUiStates(){var r=elementor.channels.deviceMode.request(`currentMode`),c=r===`desktop`?``:`_`+r,l=this.getDirectionSettingKey()+c;return{directionMode:this.container.settings.get(l)||G.DIRECTION_DEFAULT}},onDeviceModeChange:function onDeviceModeChange(){Va.set(this.getContainer())},getDirectionSettingKey:function getDirectionSettingKey(){return this.container.settings.get(`container_type`)===`grid`?`grid_auto_flow`:`flex_direction`},behaviors:function behaviors(){var r=p.prototype.behaviors.apply(this,arguments);return _.extend(r,{Sortable:{behaviorClass:Gn(),elChildType:`widget`},Resizable:{behaviorClass:cr}}),elementor.hooks.applyFilters(`elements/container/behaviors`,r,this)},initialize:function initialize(){p.prototype.initialize.apply(this,arguments),this.model.get(`editSettings`).set(`defaultEditRoute`,`layout`),this.onDeviceModeChange=this.onDeviceModeChange.bind(this),elementor.listenTo(elementor.channels.deviceMode,`change`,this.onDeviceModeChange)},onDestroy:function onDestroy(){p.prototype.onDestroy.apply(this,arguments),elementor.stopListening(elementor.channels.deviceMode,`change`,this.onDeviceModeChange)},getSortableOptions:function getSortableOptions(){return{preventInit:!0}},getNestingLevel:function getNestingLevel(){if(this.nestingLevel)return this.nestingLevel;var r=this.container.parent;return r.type===`container`?r.view.getNestingLevel()+1:0},isNestedElementContentContainer:function isNestedElementContentContainer(){var r=this.container.parent.model.get(`widgetType`);return r&&r.trim()!==``&&isWidgetSupportNesting(r)},getDroppableAxis:function getDroppableAxis(){var r=G.DIRECTION_DEFAULT===G.DIRECTION_COLUMN,c=this.getContainer().settings.get(this.getDirectionSettingKey());return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},G.DIRECTION_COLUMN,`vertical`),G.DIRECTION_COLUMN_REVERSED,`vertical`),G.DIRECTION_ROW,`horizontal`),G.DIRECTION_ROW_REVERSED,`horizontal`),``,r?`vertical`:`horizontal`)[c]},getDroppableOptions:function getDroppableOptions(){var r=this,c=this.isBoxedWidth()?`> .elementor-widget, > .e-con-full, > .e-con > .e-con-inner, > .elementor-empty-view > .elementor-first-add`:`> .elementor-element, > .elementor-empty-view .elementor-first-add`;return{axis:this.getDroppableAxis(),items:c,groups:[`elementor-element`],horizontalThreshold:5,isDroppingAllowed:this.isDroppingAllowed.bind(this),currentElementClass:`elementor-html5dnd-current-element`,placeholderClass:`elementor-sortable-placeholder elementor-widget-placeholder`,hasDraggingOnChildClass:`e-dragging-over`,getDropContainer:function getDropContainer(){return r.getContainer()},onDropping:function onDropping(c,l){l.stopPropagation(),elementor.getPreviewView().onPanelElementDragEnd();var u=elementor.channels.editor.request(`element:dragged`),p=(u==null?void 0:u.parent)===r,m=jQuery(l.currentTarget).hasClass(`e-con-inner`),h=m?l.currentTarget.parentElement.parentElement:l.currentTarget.parentElement,g=jQuery(h).find(`> .elementor-element`);p&&(g=g.not(u.$el));var v=Object.values(g),y=m?v.indexOf(l.currentTarget.parentElement):v.indexOf(l.currentTarget);if(r.shouldIncrementIndex(c)&&y++,u){for(var b=u.getContainer().id,x=r.container;x;){if(x.id===b)return;x=x.parent}elementor.channels.editor.reply(`element:dragged`,null),$e.run(`document/elements/move`,{container:u.getContainer(),target:r.getContainer(),options:{at:y}});return}r.onDrop(l,{at:y})}}},saveAsTemplate:function saveAsTemplate(){elementor.templates.eventManager.sendNewSaveTemplateClickedEvent(),$e.route(`library/save-template`,{model:this.model})},addNewContainer:function addNewContainer(){var r=this.getContainer().getParentAncestry()[1].type===`container`?this.getContainer().parent:this.getContainer();$e.run(`document/elements/create`,{model:{elType:`container`,settings:{content_width:`full`}},container:r})},getContextMenuGroups:function getContextMenuGroups(){var c=this,l=p.prototype.getContextMenuGroups.apply(this,arguments),u=l.indexOf(_.findWhere(l,{name:`clipboard`})),m=l.indexOf(_.findWhere(l,{name:`general`}));return l.splice(u+1,0,{name:`save`,actions:[{name:`save`,title:(0,r.__)(`Save as a template`,`elementor`),shortcut:`<span class="elementor-context-menu-list__item__shortcut__new-badge">${(0,r.__)(`New`,`elementor`)}</span>`,callback:this.saveAsTemplate.bind(this),isEnabled:function isEnabled(){return!c.getContainer().isLocked()}}]}),l.splice(m+1,0,{name:`newContainerGroup`,actions:[{name:`newContainer`,icon:`eicon-plus`,title:(0,r.__)(`Add New Container`,`elementor`),callback:this.addNewContainer.bind(this)}]}),l},isDroppingAllowed:function isDroppingAllowed(){if(!this.getContainer().isEditable())return!1;var r=elementor.channels.panelElements.request(`element:selected`)||elementor.channels.editor.request(`element:dragged`);return r?[].concat(_toConsumableArray((0,u.getAllElementTypes)()),[`widget`]).includes(r.model.get(`elType`)):!1},isNested:function isNested(){return this.getContainer().parent.model.get(`elType`)!==`document`},getEditButtons:function getEditButtons(){var c=elementor.getElementData(this.model),l={};return $e.components.get(`document/elements`).utils.allowAddingWidgets()&&(l.add={title:(0,r.sprintf)((0,r.__)(`Add %s`,`elementor`),c.title),icon:`plus`},l.edit={title:(0,r.sprintf)((0,r.__)(`Edit %s`,`elementor`),c.title),icon:`handle`}),this.getContainer().isLocked()||(elementor.getPreferences(`edit_buttons`)&&$e.components.get(`document/elements`).utils.allowAddingWidgets()&&(l.duplicate={title:(0,r.sprintf)((0,r.__)(`Duplicate %s`,`elementor`),c.title),icon:`clone`}),l.remove={title:(0,r.sprintf)((0,r.__)(`Delete %s`,`elementor`),c.title),icon:`close`}),l},onAddButtonClick:function onAddButtonClick(){if(this.addSectionView&&!this.addSectionView.isDestroyed){this.addSectionView.fadeToDeath();return}var r=new Fn({at:this.model.collection.indexOf(this.model)});r.render(),this.$el.before(r.$el),r.$el.hide(),setTimeout(function(){r.$el.slideDown(null,function(){jQuery(this).css(`display`,``)})}),this.addSectionView=r},onRender:function onRender(){var r=this;p.prototype.onRender.apply(this,arguments),setTimeout(function(){r.nestingLevel=r.getNestingLevel(),r.$el[0].dataset.nestingLevel=r.nestingLevel;var c=r.model.get(`isInner`)||r.isNestedElementContentContainer()||r.getNestingLevel()>0;r.model.set(`isInner`,c),r.$el.toggleClass(`e-child`,c).toggleClass(`e-parent`,!c),r.isGridContainer()&&r.reInitEmptyView(),r.droppableInitialize(r.container.settings)})},onRenderEmpty:function onRenderEmpty(){this.$el.addClass(`e-empty`)},onAddChild:function onAddChild(){this.$el.removeClass(`e-empty`),this.isGridContainer()&&this.handleGridEmptyView()},renderOnChange:function renderOnChange(r){p.prototype.renderOnChange.apply(this,arguments),(r.changed.flex_direction||r.changed.content_width||r.changed.grid_auto_flow||r.changed.container_type)&&(this.isGridContainer()&&this.reInitEmptyView(),this.isFlexContainer()&&!this.isEmpty()&&this.getCorrectContainerElement().find(`> .elementor-empty-view`).remove(),this.droppableDestroy(),this.droppableInitialize(r)),r.changed.container_type&&this.updatePanelTitlesAndIcons()},updatePanelTitlesAndIcons:function updatePanelTitlesAndIcons(){var c=this.getPanelTitle(),l=this.getPanelIcon();this.model.set(`icon`,l),this.model.set(`title`,c),this.model.get(`settings`).set(`presetTitle`,c),this.model.get(`settings`).set(`presetIcon`,l),jQuery(`#elementor-panel-header-title`).html((0,r.sprintf)((0,r.__)(`Edit %s`,`elementor`),c)),this.updateNeedHelpLink()},getPanelTitle:function getPanelTitle(){return this.isFlexContainer()?(0,r.__)(`Container`,`elementor`):(0,r.__)(`Grid`,`elementor`)},getPanelIcon:function getPanelIcon(){return this.isFlexContainer()?`eicon-container`:`eicon-container-grid`},onDragStart:function onDragStart(){this.droppableDestroy()},onDragEnd:function onDragEnd(){this.droppableInitialize(this.container.settings)},attachElContent:function attachElContent(){p.prototype.attachElContent.apply(this,arguments);var r=jQuery(`<div>`,{class:`elementor-column-percents-tooltip`,"data-side":elementorCommon.config.isRTL?`right`:`left`});this.$el.children(`.elementor-element-overlay`).append(r)},getPercentSize:function getPercentSize(r){return r||(r=this.el.getBoundingClientRect().width),+(r/this.$el.parent().width()*100).toFixed(3)},getPercentsForDisplay:function getPercentsForDisplay(){return(+this.model.getSetting(`width`)||this.getPercentSize()).toFixed(1)+`%`},onResizeStart:function onResizeStart(){this.ui.percentsTooltip&&this.ui.percentsTooltip.show()},onResize:function onResize(){this.ui.percentsTooltip&&this.ui.percentsTooltip.text(this.getPercentsForDisplay())},onResizeStop:function onResizeStop(){this.ui.percentsTooltip&&this.ui.percentsTooltip.hide()},droppableDestroy:function droppableDestroy(){this.$el.html5Droppable(`destroy`),this.$el.find(`> .e-con-inner`).html5Droppable(`destroy`)},droppableInitialize:function droppableInitialize(r){r.get(`content_width`)===`boxed`?this.$el.find(`> .e-con-inner`).html5Droppable(this.getDroppableOptions()):this.$el.html5Droppable(this.getDroppableOptions())},handleGridEmptyView:function handleGridEmptyView(){var r=this.getCorrectContainerElement(),c=r.find(`> .elementor-empty-view`);this.moveElementToLastChild(r,c)},moveElementToLastChild:function moveElementToLastChild(r,c){var l=r.get(0),u=c.get(0);!l||!u||l.lastChild!==u&&l.appendChild(u)},getCorrectContainerElement:function getCorrectContainerElement(){return this.isBoxedWidth()?this.$el.find(`> .e-con-inner`):this.$el},shouldIncrementIndex:function shouldIncrementIndex(r){return this.draggingOnBottomOrRightSide(r)?!(this.isGridContainer()&&this.emptyViewIsCurrentlyBeingDraggedOver()):!1},draggingOnBottomOrRightSide:function draggingOnBottomOrRightSide(r){return[`bottom`,`right`].includes(r)},isGridContainer:function isGridContainer(){return this.getContainer().settings.get(`container_type`)===`grid`},isFlexContainer:function isFlexContainer(){return this.getContainer().settings.get(`container_type`)===`flex`},isBoxedWidth:function isBoxedWidth(){return this.getContainer().settings.get(`content_width`)===`boxed`},emptyViewIsCurrentlyBeingDraggedOver:function emptyViewIsCurrentlyBeingDraggedOver(){return this.getCorrectContainerElement().find(`> .elementor-empty-view > .elementor-first-add.elementor-html5dnd-current-element`).length>0},reInitEmptyView:function reInitEmptyView(){this.getCorrectContainerElement().find(`> .elementor-empty-view`).length||(delete this._showingEmptyView,this.showEmptyView(),this.handleGridEmptyView())},updateNeedHelpLink:function updateNeedHelpLink(){var r=jQuery(`#elementor-panel__editor__help__link`),c=this.isGridContainer()?`https://go.elementor.com/widget-container-grid`:`https://go.elementor.com/widget-container`;r&&r.attr(`href`,c)}})})),Ya=__exportAll({default:()=>Za});function _callSuper$227(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$227()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$227(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$227=function _isNativeReflectConstruct(){return!!r})()}var Xa,Za,Qa=__esmMin((()=>{b(),w(),E(),D(),A(),Jt(),br(),Cr(),Xa=__toESM(Ja()),__name(_callSuper$227,`_callSuper`),__name(_isNativeReflectConstruct$227,`_isNativeReflectConstruct`),Za=function(r){function Container(){return _classCallCheck(this,Container),_callSuper$227(this,Container,arguments)}return _inherits(Container,r),_createClass(Container,[{key:`getType`,value:function getType(){return`container`}},{key:`getView`,value:function getView(){return Xa.default}},{key:`getEmptyView`,value:function getEmptyView(){return EmptyComponent}},{key:`getModel`,value:function getModel(){return Sr}}])}(qt)}));b(),w(),P(),Jt();var $a=function(){function ElementsManager(){_classCallCheck(this,ElementsManager),_defineProperty(this,`elementTypes`,{}),this.registerElements()}return _createClass(ElementsManager,[{key:`getElementTypeClass`,value:function getElementTypeClass(r){var c=this.elementTypes[r];return!c&&elementor.widgetsCache[r]&&(c=this.elementTypes.widget),c}},{key:`registerElementType`,value:function registerElementType(r){if(!(r instanceof qt))throw TypeError(`The element argument must be an instance of ElementBase.`);var c=r.getType();if(this.elementTypes[c])throw Error(`Element type already registered`);this.elementTypes[c]=r}},{key:`registerElements`,value:function registerElements(){var r=this;if(Object.values(hr).forEach(function(c){var l=new c;r.registerElementType(l)}),elementorCommon.config.experimentalFeatures.container){var c=(Qa(),__toCommonJS(Ya)).default;this.registerElementType(new c)}}}])}();b(),w(),P();var eo=function(){function GlobalColorIntroduction(r){_classCallCheck(this,GlobalColorIntroduction),_defineProperty(this,`introductionKey`,void 0),this.introductionKey=r}return _createClass(GlobalColorIntroduction,[{key:`bindEvent`,value:function bindEvent(){var r=this;$e.routes.on(`run:after`,function(c,l,u){var p;if($e.routes.isPartOf(`panel/editor`)){var m=r.getControlView(u.activeControl);(m==null||(p=m.model)==null||(p=p.attributes)==null?void 0:p.type)===`color`&&(r.tooltip.show(m.el),r.tooltip.setViewed())}})}},{key:`getControlView`,value:function getControlView(r){if(!r)return null;var c=elementor.getPanelView().getCurrentPageView(),l=c.content?c.content.currentView:c;return $e.components.get(`panel`).getControlViewByPath(l,r)}},{key:`initTooltip`,value:function initTooltip(){var c=this;this.tooltip=new elementorModules.editor.utils.Introduction({introductionKey:this.introductionKey,dialogType:`tooltip`,dialogOptions:{headerMessage:(0,r.__)(`Check out Global Colors`,`elementor`),message:(0,r.sprintf)((0,r.__)(`Save time by applying Global Colors to change the style of multiple elements at once. Click %s to see what Global Colors you already have.`,`elementor`),`<i class='eicon-globe'></i>`),position:{my:(elementorCommon.config.isRTL?`left`:`right`)+`0 top0`,at:(elementorCommon.config.isRTL?`left`:`right`)+` top-10`},hide:{onOutsideClick:!1,onBackgroundClick:!1,onEscKeyPress:!1}}}),this.tooltip.getDialog().addButton({name:`action`,text:(0,r.__)(`Got it!`,`elementor`),classes:`elementor-button e-primary`,callback:function callback(){return c.tooltip.getDialog().hide()}})}}])}();b(),w(),P();var no=function(){function GlobalFontIntroduction(r){_classCallCheck(this,GlobalFontIntroduction),_defineProperty(this,`introductionKey`,void 0),this.introductionKey=r}return _createClass(GlobalFontIntroduction,[{key:`bindEvent`,value:function bindEvent(){var r=this;$e.routes.on(`run:after`,function(c,l,u){var p;if($e.routes.isPartOf(`panel/editor`)){var m=r.getControlView(u.activeControl);(m==null||(p=m.model)==null||(p=p.attributes)==null?void 0:p.type)===`popover_toggle`&&(r.tooltip.show(m.el),r.tooltip.setViewed())}})}},{key:`getControlView`,value:function getControlView(r){if(!r)return null;var c=elementor.getPanelView().getCurrentPageView(),l=c.content?c.content.currentView:c;return $e.components.get(`panel`).getControlViewByPath(l,r)}},{key:`initTooltip`,value:function initTooltip(){var c=this;this.tooltip=new elementorModules.editor.utils.Introduction({introductionKey:this.introductionKey,dialogType:`tooltip`,dialogOptions:{headerMessage:(0,r.__)(`Check out Global Fonts`,`elementor`),message:(0,r.sprintf)((0,r.__)(`Save time by applying Global Fonts to change the style of multiple elements at once. Click %s to see what Global Fonts you already have.`,`elementor`),`<i class='eicon-globe'></i>`),position:{my:(elementorCommon.config.isRTL?`left`:`right`)+`0 top0`,at:(elementorCommon.config.isRTL?`left`:`right`)+` top-10`},hide:{onOutsideClick:!1,onBackgroundClick:!1,onEscKeyPress:!1}}}),this.tooltip.getDialog().addButton({name:`action`,text:(0,r.__)(`Got it!`,`elementor`),classes:`elementor-button e-primary`,callback:function callback(){return c.tooltip.getDialog().hide()}})}}])}();b(),w();var ro=function(){function IntroductionTooltipsManager(){_classCallCheck(this,IntroductionTooltipsManager),this.registerTooltipWidget(),this.registerTooltips()}return _createClass(IntroductionTooltipsManager,[{key:`registerTooltipWidget`,value:function registerTooltipWidget(){DialogsManager.addWidgetType(`tooltip`,DialogsManager.getWidgetType(`buttons`).extend(`tooltip`,{buildWidget:function buildWidget(){var r=this;DialogsManager.getWidgetType(`buttons`).prototype.buildWidget.apply(this,arguments);var c=this.getElements();c.$title=jQuery(`<div>`,{class:`dialog-tooltip-widget__title`}),c.$closeButton=jQuery(`<i>`,{class:`eicon-close`}),c.$closeButton.on(`click`,function(){return r.hide()}),c.header.append(c.$title,c.$closeButton)}}))}},{key:`registerTooltips`,value:function registerTooltips(){[new eo(`globals_introduction`),new no(`globals_introduction`)].forEach(function(r){elementor.config.user.introduction[r.introductionKey]||(r.initTooltip(),r.bindEvent())})}}])}();b(),w(),E(),D(),A();function _callSuper$226(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$226()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$226,`_callSuper`);function _isNativeReflectConstruct$226(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$226=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$226,`_isNativeReflectConstruct`);var io=function(r){function CommandsBase(){return _classCallCheck(this,CommandsBase),_callSuper$226(this,CommandsBase,arguments)}return _inherits(CommandsBase,r),_createClass(CommandsBase,[{key:`validateArgs`,value:function validateArgs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.requireArgumentType(`type`,`string`,r),this.requireArgumentType(`favorite`,`string`,r)}}])}($e.modules.CommandBase);b(),w(),E(),D(),A();function _callSuper$225(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$225()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$225,`_callSuper`);function _isNativeReflectConstruct$225(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$225=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$225,`_isNativeReflectConstruct`);var ao=function(r){function Create(){return _classCallCheck(this,Create),_callSuper$225(this,Create,arguments)}return _inherits(Create,r),_createClass(Create,[{key:`apply`,value:function apply(r){var c;return(c=this.component.manager.typeInstance(r.type))==null?void 0:c.create(r.favorite)}}])}(io);b(),w(),E(),D(),A();function _callSuper$224(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$224()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$224,`_callSuper`);function _isNativeReflectConstruct$224(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$224=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$224,`_isNativeReflectConstruct`);var oo=function(r){function Delete(){return _classCallCheck(this,Delete),_callSuper$224(this,Delete,arguments)}return _inherits(Delete,r),_createClass(Delete,[{key:`apply`,value:function apply(r){var c;return(c=this.component.manager.typeInstance(r.type))==null?void 0:c.delete(r.favorite)}}])}(io);b(),w(),E(),D(),A();function _callSuper$223(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$223()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$223,`_callSuper`);function _isNativeReflectConstruct$223(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$223=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$223,`_isNativeReflectConstruct`);var so=function(r){function Toggle(){return _classCallCheck(this,Toggle),_callSuper$223(this,Toggle,arguments)}return _inherits(Toggle,r),_createClass(Toggle,[{key:`apply`,value:function apply(r){var c;return(c=this.component.manager.typeInstance(r.type))==null?void 0:c.toggle(r.favorite)}}])}($e.modules.CommandBase),co=__exportAll({Create:()=>ao,Delete:()=>oo,Toggle:()=>so}),lo=__exportAll({Index:()=>uo});b(),w(),E(),D(),A();function _callSuper$222(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$222()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$222,`_callSuper`);function _isNativeReflectConstruct$222(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$222=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$222,`_isNativeReflectConstruct`);var uo=function(r){function Index(){return _classCallCheck(this,Index),_callSuper$222(this,Index,arguments)}return _inherits(Index,r),_createClass(Index,null,[{key:`getEndpointFormat`,value:function getEndpointFormat(){return`favorites/{type}`}}])}($e.modules.CommandData);b(),w(),E(),D(),A();function _callSuper$221(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$221()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$221,`_callSuper`);function _isNativeReflectConstruct$221(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$221=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$221,`_isNativeReflectConstruct`);var fo=function(r){function Component(){return _classCallCheck(this,Component),_callSuper$221(this,Component,arguments)}return _inherits(Component,r),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return`favorites`}},{key:`defaultCommands`,value:function defaultCommands(){return this.importCommands(co)}},{key:`defaultData`,value:function defaultData(){return this.importCommands(lo)}}])}($e.modules.ComponentBase);b(),w();var po=function(){function FavoriteType(){_classCallCheck(this,FavoriteType)}return _createClass(FavoriteType,[{key:`getName`,value:function getName(){}},{key:`create`,value:function create(r){}},{key:`delete`,value:function _delete(r){}},{key:`toggle`,value:function toggle(r){}}])}();b(),w(),E(),D(),A();function _callSuper$220(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$220()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$220,`_callSuper`);function _isNativeReflectConstruct$220(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$220=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$220,`_isNativeReflectConstruct`);var mo=function(r){function PanelCategoryBehavior(){return _classCallCheck(this,PanelCategoryBehavior),_callSuper$220(this,PanelCategoryBehavior,arguments)}return _inherits(PanelCategoryBehavior,r),_createClass(PanelCategoryBehavior,[{key:`onRender`,value:function onRender(){this.isFavoritesCategory()&&(this.view.collection.length||this.$el.hide())}},{key:`isFavoritesCategory`,value:function isFavoritesCategory(){return this.view.options.model.get(`name`)===`favorites`}}])}(Marionette.Behavior);b(),w(),E(),D(),A();function _callSuper$219(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$219()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$219,`_callSuper`);function _isNativeReflectConstruct$219(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$219=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$219,`_isNativeReflectConstruct`);var ho=function(c){function Widgets(){var r;return _classCallCheck(this,Widgets),r=_callSuper$219(this,Widgets),elementor.hooks.addFilter(`panel/category/behaviors`,r.addCategoryBehavior.bind(r)),elementor.hooks.addFilter(`panel/element/contextMenuGroups`,r.addContextMenuGroups.bind(r)),r}return _inherits(Widgets,c),_createClass(Widgets,[{key:`getName`,value:function getName(){return`widgets`}},{key:`create`,value:function create(r){var c=this.getWidgetCache(r);if(c!==void 0){c.categories.push(this.getCategorySlug());var l=$e.data.create(`favorites/index`,{},{type:this.getName(),favorite:r});return this.refreshCategories(),l}return!1}},{key:`delete`,value:function _delete(r){var c=this.getWidgetCache(r);if(c!==void 0){c.categories.splice(c.categories.indexOf(this.getCategorySlug()),1);var l=$e.data.delete(`favorites/index`,{type:this.getName(),favorite:r});return this.refreshCategories(),l}return!1}},{key:`toggle`,value:function toggle(r){if(this.getWidgetCache(r)!==void 0){var c={type:this.getName(),favorite:r};return this.isFavorite(r)?$e.run(`favorites/delete`,c):$e.run(`favorites/create`,c)}return!1}},{key:`isFavorite`,value:function isFavorite(r){var c=this.getWidgetCache(r);return c!==void 0&&c.categories.includes(this.getCategorySlug())}},{key:`getCategorySlug`,value:function getCategorySlug(){return`favorites`}},{key:`addCategoryBehavior`,value:function addCategoryBehavior(r){return Object.assign({},r,{favoriteWidgets:{behaviorClass:mo}})}},{key:`addContextMenuGroups`,value:function addContextMenuGroups(c,l){var u=this,p=l.options.model.get(`widgetType`)||l.options.model.get(`elType`);return c.concat([{name:`favorite-toggle`,actions:[{name:`toggle`,icon:this.isFavorite(p)?`eicon-heart-o`:`eicon-heart`,title:this.isFavorite(p)?(0,r.__)(`Remove from Favorites`,`elementor`):(0,r.__)(`Add to Favorites`,`elementor`),callback:function callback(){u.toggle(p),u.isFavorite(p)&&elementor.notifications.showToast({message:(0,r.__)(`Added`,`elementor`)})}}]}])}},{key:`refreshCategories`,value:function refreshCategories(){var r=elementor.getPanelView().perfectScrollbar.element,c=r.scrollTop,l=r.scrollHeight;$e.route(`panel/elements/categories`,{refresh:!0,onAfter:function onAfter(){r.scrollTop=c+(r.scrollHeight-l)}})}},{key:`getWidgetCache`,value:function getWidgetCache(r){return elementor.widgetsCache[r]}}])}(po);b(),w(),E(),D(),A(),P();function _callSuper$218(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$218()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$218,`_callSuper`);function _isNativeReflectConstruct$218(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$218=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$218,`_isNativeReflectConstruct`);var go=function(r){function FavoritesModule(){var r;return _classCallCheck(this,FavoritesModule),r=_callSuper$218(this,FavoritesModule),_defineProperty(r,`types`,{}),[ho].forEach(function(c){return r.register(c)}),r}return _inherits(FavoritesModule,r),_createClass(FavoritesModule,[{key:`onElementorLoaded`,value:function onElementorLoaded(){this.component=$e.components.register(new fo({manager:this}))}},{key:`typeInstance`,value:function typeInstance(r){if(this.types[r]===void 0)throw Error(`Type '${r}' is not found`);return this.types[r]}},{key:`register`,value:function register(r){var c=new r;this.types[c.getName()]=c}}])}(elementorModules.editor.utils.Module);function _callSuper$217(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$217()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$217(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$217=function _isNativeReflectConstruct(){return!!r})()}var _o,vo=__esmMin((()=>{b(),w(),E(),D(),A(),W(),__name(_callSuper$217,`_callSuper`),__name(_isNativeReflectConstruct$217,`_isNativeReflectConstruct`),_o=function(c){function Component(){return _classCallCheck(this,Component),_callSuper$217(this,Component,arguments)}return _inherits(Component,c),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return`panel/history`}},{key:`defaultTabs`,value:function defaultTabs(){return{actions:{title:(0,r.__)(`Actions`,`elementor`)},revisions:{title:(0,r.__)(`Revisions`,`elementor`)}}}},{key:`defaultShortcuts`,value:function defaultShortcuts(){return{actions:{keys:`ctrl+shift+h`,dependency:function dependency(){return elementor.channels.dataEditMode.request(`activeMode`)===`edit`}}}}},{key:`renderTab`,value:function renderTab(r){elementor.getPanelView().setPage(`historyPage`).showView(r)}},{key:`activate`,value:function activate(){$e.components.activate(this.getTabRoute(this.currentTab))}},{key:`getTabsWrapperSelector`,value:function getTabsWrapperSelector(){return`#elementor-panel-elements-navigation`}}])}(U)}));function _callSuper$216(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$216()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$216(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$216=function _isNativeReflectConstruct(){return!!r})()}var yo,bo=__esmMin((()=>{b(),w(),E(),D(),A(),W(),__name(_callSuper$216,`_callSuper`),__name(_isNativeReflectConstruct$216,`_isNativeReflectConstruct`),yo=function(r){function Component(){return _classCallCheck(this,Component),_callSuper$216(this,Component,arguments)}return _inherits(Component,r),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return`panel/history/actions`}},{key:`defaultCommands`,value:function defaultCommands(){return{do:function _do(r){return $e.run(`document/history/do`,r)},undo:function undo(){return $e.run(`document/history/undo`)},redo:function redo(){return $e.run(`document/history/redo`)}}}},{key:`defaultShortcuts`,value:function defaultShortcuts(){return{undo:{keys:`ctrl+z`,exclude:[`input`],scopes:[`panel`,`navigator`]},redo:{keys:`ctrl+shift+z, ctrl+y`,exclude:[`input`],scopes:[`panel`,`navigator`]}}}}])}(U)}));function _callSuper$215(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$215()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$215(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$215=function _isNativeReflectConstruct(){return!!r})()}var xo,So=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$215,`_callSuper`),__name(_isNativeReflectConstruct$215,`_isNativeReflectConstruct`),xo=function(r){function Down(){return _classCallCheck(this,Down),_callSuper$215(this,Down,arguments)}return _inherits(Down,r),_createClass(Down,[{key:`apply`,value:function apply(){this.component.navigate()}}])}($e.modules.CommandBase)}));function _callSuper$214(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$214()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$214(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$214=function _isNativeReflectConstruct(){return!!r})()}var Co,wo=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$214,`_callSuper`),__name(_isNativeReflectConstruct$214,`_isNativeReflectConstruct`),Co=function(r){function Up(){return _classCallCheck(this,Up),_callSuper$214(this,Up,arguments)}return _inherits(Up,r),_createClass(Up,[{key:`apply`,value:function apply(){this.component.navigate(!0)}}])}($e.modules.CommandBase)})),To=__exportAll({Down:()=>xo,Up:()=>Co}),Eo=__esmMin((()=>{So(),wo()}));function _callSuper$213(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$213()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$213(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$213=function _isNativeReflectConstruct(){return!!r})()}var Oo,ko=__esmMin((()=>{b(),w(),E(),D(),A(),Fr(),__name(_callSuper$213,`_callSuper`),__name(_isNativeReflectConstruct$213,`_isNativeReflectConstruct`),Oo=function(r){function RevisionsAfterSave(){return _classCallCheck(this,RevisionsAfterSave),_callSuper$213(this,RevisionsAfterSave,arguments)}return _inherits(RevisionsAfterSave,r),_createClass(RevisionsAfterSave,[{key:`getCommand`,value:function getCommand(){return`document/save/save`}},{key:`getId`,value:function getId(){return`revisions-after-save`}},{key:`apply`,value:function apply(r,c){var l=c.data,u=elementor.documents.getCurrent().revisions;l.latest_revisions&&u.addRevisions(l.latest_revisions),u.requestRevisions(function(){if(l.revisions_ids){var r=u.revisions.filter(function(r){return l.revisions_ids.indexOf(r.get(`id`))!==-1});u.revisions.reset(r)}})}}])}(Pr)})),Ao=__exportAll({RevisionsAfterSave:()=>Oo}),jo=__esmMin((()=>{ko()}));function _callSuper$212(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$212()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$212(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$212=function _isNativeReflectConstruct(){return!!r})()}var Mo,No=__esmMin((()=>{b(),w(),E(),D(),A(),W(),Eo(),jo(),__name(_callSuper$212,`_callSuper`),__name(_isNativeReflectConstruct$212,`_isNativeReflectConstruct`),Mo=function(r){function Component(){return _classCallCheck(this,Component),_callSuper$212(this,Component,arguments)}return _inherits(Component,r),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return`panel/history/revisions`}},{key:`defaultCommands`,value:function defaultCommands(){return this.importCommands(To)}},{key:`defaultHooks`,value:function defaultHooks(){return this.importHooks(Ao)}},{key:`defaultShortcuts`,value:function defaultShortcuts(){return{up:{keys:`up`,scopes:[this.getNamespace()]},down:{keys:`down`,scopes:[this.getNamespace()]}}}},{key:`navigate`,value:function navigate(r){elementor.documents.getCurrent().revisions.getItems().length>1&&elementor.getPanelView().getCurrentPageView().currentTab.navigate(r)}}])}(U)}));function _callSuper$211(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$211()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$211(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$211=function _isNativeReflectConstruct(){return!!r})()}var Po,Fo=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$211,`_callSuper`),__name(_isNativeReflectConstruct$211,`_isNativeReflectConstruct`),Po=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$211(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`getTemplate`,value:function getTemplate(){return`#tmpl-elementor-panel-revisions-loading`}},{key:`id`,value:function id(){return`elementor-panel-revisions-loading`}},{key:`onRender`,value:function onRender(){this.options.document.revisions.requestRevisions(function(){setTimeout(function(){return $e.routes.refreshContainer(`panel`)})})}}])}(Marionette.ItemView)}));function ownKeys$14(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}function _objectSpread$14(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$14(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$14(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}function filterChildren(r){return r.reduce(function(r,c){var l,u;if(!c||!elementor.elementsManager.getElementTypeClass((l=c.widgetType)==null?c.elType:l))return r;var p=(u=c.elements)!=null&&u.length?_objectSpread$14(_objectSpread$14({},c),{},{elements:filterChildren(c.elements)}):c;return r.push(p),r},[])}var Io,Lo=__esmMin((()=>{P(),__name(ownKeys$14,`ownKeys`),__name(_objectSpread$14,`_objectSpread`),Io=function filterUnknownElements(r){var c;return r!=null&&(c=r.elements)!=null&&c.length?_objectSpread$14(_objectSpread$14({},r),{},{elements:filterChildren(r.elements)}):r}})),Ro=__commonJSMin(((r,c)=>{c.exports=Marionette.ItemView.extend({template:`#tmpl-elementor-panel-revisions-revision-item`,className:`elementor-revision-item`,ui:{detailsArea:`.elementor-revision-item__details`},triggers:{"click @ui.detailsArea":`detailsArea:click`}})})),zo,Bo=__esmMin((()=>{Lo(),zo=Marionette.CompositeView.extend({id:`elementor-panel-revisions`,template:`#tmpl-elementor-panel-revisions`,childView:Ro(),childViewContainer:`#elementor-revisions-list`,ui:{discard:`.elementor-button.e-revision-discard`,apply:`.elementor-button.e-revision-save`},events:{"click @ui.discard":`onDiscardClick`,"click @ui.apply":`onApplyClick`},isRevisionApplied:!1,currentPreviewId:null,currentPreviewItem:null,document:null,initialize:function initialize(r){this.document=r.document,this.collection=this.document.revisions.getItems(),this.listenTo(elementor.channels.editor,`saved`,this.onEditorSaved),this.currentPreviewId=elementor.config.document.revisions.current_id},getRevisionViewData:function getRevisionViewData(r){var c=this;this.document.revisions.getRevisionDataAsync(r.model.get(`id`),{success:function success(l){var u=Io(l);c.document.config.panel.has_elements&&c.document.revisions.setEditorData(u.elements),elementor.settings.page.model.set(u.settings),c.setRevisionsButtonsActive(!0),r.$el.removeClass(`elementor-revision-item-loading`),c.enterReviewMode()},error:function error(l){r.$el.removeClass(`elementor-revision-item-loading`),c.currentPreviewItem=null,c.currentPreviewId=null,alert(l)}})},setRevisionsButtonsActive:function setRevisionsButtonsActive(r){this.isDestroyed||this.ui.apply.add(this.ui.discard).prop(`disabled`,!r)},deleteRevision:function deleteRevision(r){var c=this;r.$el.addClass(`elementor-revision-item-loading`),this.document.revisions.deleteRevision(r.model,{success:function success(){r.model.get(`id`)===c.currentPreviewId&&c.onDiscardClick(),c.currentPreviewId=null},error:function error(){r.$el.removeClass(`elementor-revision-item-loading`),alert(`An error occurred.`)}})},enterReviewMode:function enterReviewMode(){elementor.changeEditMode(`review`)},exitReviewMode:function exitReviewMode(){elementor.changeEditMode(`edit`)},navigate:function navigate(r){if(!(!this.currentPreviewId||!this.currentPreviewItem||this.children.length<=1)){var c=this.collection.indexOf(this.currentPreviewItem.model),l=r?c-1:c+1;l<0&&(l=this.collection.length-1),l>=this.collection.length&&(l=0),this.children.findByIndex(l).ui.detailsArea.trigger(`click`)}},onEditorSaved:function onEditorSaved(){this.exitReviewMode(),this.setRevisionsButtonsActive(!1),this.currentPreviewId=elementor.config.document.revisions.current_id},onApplyClick:function onApplyClick(){$e.internal(`document/save/set-is-modified`,{status:!0}),$e.run(`document/save/auto`,{force:!0}),this.isRevisionApplied=!0,this.currentPreviewId=null,this.document.history.getItems().reset()},onDiscardClick:function onDiscardClick(){this.document.config.panel.has_elements&&this.document.revisions.setEditorData(elementor.config.document.elements),$e.internal(`document/save/set-is-modified`,{status:this.isRevisionApplied}),this.isRevisionApplied=!1,this.setRevisionsButtonsActive(!1),this.currentPreviewId=null,this.exitReviewMode()},onDestroy:function onDestroy(){this.currentPreviewId&&this.currentPreviewId!==elementor.config.document.revisions.current_id&&this.onDiscardClick()},onRenderCollection:function onRenderCollection(){if(this.currentPreviewId){var r=this.collection.findWhere({id:this.currentPreviewId});r&&(this.currentPreviewItem=this.children.findByModelCid(r.cid),this.currentPreviewItem.$el.addClass(`elementor-revision-current-preview`))}},onChildviewDetailsAreaClick:function onChildviewDetailsAreaClick(r){var c=this,l=r.model.get(`id`);l!==this.currentPreviewId&&(this.currentPreviewItem&&this.currentPreviewItem.$el.removeClass(`elementor-revision-current-preview elementor-revision-item-loading`),r.$el.addClass(`elementor-revision-current-preview elementor-revision-item-loading`),(this.currentPreviewId===null||elementor.config.document.revisions.current_id===this.currentPreviewId)&&elementor.saver.isEditorChanged()?$e.internal(`document/save/save`,{status:`autosave`,onSuccess:function onSuccess(){c.getRevisionViewData(r)}}):this.getRevisionViewData(r),this.currentPreviewItem=r,this.currentPreviewId=l)}})})),Vo=__commonJSMin(((r,c)=>{c.exports=Marionette.ItemView.extend({template:`#tmpl-elementor-panel-revisions-no-revisions`,id:`elementor-panel-revisions-no-revisions`,className:`elementor-nerd-box`})}));function _callSuper$210(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$210()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$210(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$210=function _isNativeReflectConstruct(){return!!r})()}var Ho,Uo=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$210,`_callSuper`),__name(_isNativeReflectConstruct$210,`_isNativeReflectConstruct`),Ho=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$210(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`tagName`,value:function tagName(){return`button`}},{key:`getTemplate`,value:function getTemplate(){return`#tmpl-elementor-panel-history-item`}},{key:`className`,value:function className(){return`elementor-history-item elementor-history-item-`+this.model.get(`status`)}},{key:`triggers`,value:function triggers(){return{click:`click`}}}])}(Marionette.ItemView)}));function _callSuper$209(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$209()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$209(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$209=function _isNativeReflectConstruct(){return!!r})()}var Wo,Go=__esmMin((()=>{b(),w(),E(),D(),A(),__name(_callSuper$209,`_callSuper`),__name(_isNativeReflectConstruct$209,`_isNativeReflectConstruct`),Wo=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$209(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`getTemplate`,value:function getTemplate(){return`#tmpl-elementor-panel-history-no-items`}},{key:`id`,value:function id(){return`elementor-panel-history-no-items`}},{key:`onDestroy`,value:function onDestroy(){this._parent.$el.removeClass(`elementor-empty`)}}])}(Marionette.ItemView)})),Ko=__commonJSMin(((r,c)=>{Uo(),Go(),c.exports=Marionette.CompositeView.extend({id:`elementor-panel-history`,template:`#tmpl-elementor-panel-history-tab`,childView:Ho,childViewContainer:`#elementor-history-list`,emptyView:Wo,currentItem:null,updateCurrentItem:function updateCurrentItem(){var r=this;this.children.length<=1||_.defer(function(){var c=r.collection.find(function(r){return r.get(`status`)===`not_applied`}),l=r.children.findByModel(c);if(l){var u=`elementor-history-item-current`;r.currentItem&&r.currentItem.removeClass(u),r.currentItem=l.$el,r.currentItem.addClass(u)}})},onRender:function onRender(){this.updateCurrentItem()},onRenderEmpty:function onRenderEmpty(){this.$el.addClass(`elementor-empty`)},onChildviewClick:function onChildviewClick(r,c){if(r.$el!==this.currentItem){var l=c.model.collection.findIndex(c.model);$e.run(`panel/history/actions/do`,{index:l})}}})})),qo,Jo,Yo,Xo=__esmMin((()=>{Fo(),Bo(),qo=__toESM(Vo()),Jo=Ko(),Yo=Marionette.LayoutView.extend({template:`#tmpl-elementor-panel-history-page`,regions:{content:`#elementor-panel-history-content`},ui:{tabs:`.elementor-panel-navigation-tab`},regionViews:{},currentTab:null,document:null,initialize:function initialize(r){this.document=r.document||elementor.documents.getCurrent(),this.initRegionViews()},initRegionViews:function initRegionViews(){var r=this,c=this.document.history.getItems();this.regionViews={actions:{view:function view(){return Jo},options:{collection:c,history:this.document.history}},revisions:{view:function view(){var c=r.document.revisions.getItems();return c?c.length===1&&c.models[0].get(`type`)===`current`?qo.default:zo:Po},options:{document:this.document}}}},getCurrentTab:function getCurrentTab(){return this.currentTab},showView:function showView(r){var c=this.regionViews[r],l=c.options||{},u=c.view();this.currentTab&&this.currentTab.constructor===u||(this.currentTab=new u(l),this.content.show(this.currentTab))}})})),Zo=__exportAll({default:()=>Qo}),Qo,$o=__esmMin((()=>{b(),w(),vo(),bo(),No(),Xo(),Qo=function(){function Manager(){_classCallCheck(this,Manager),elementorCommon.elements.$window.on(`elementor:loaded`,this.init)}return _createClass(Manager,[{key:`init`,value:function init(){$e.components.register(new _o),$e.components.register(new yo),$e.components.register(new Mo),elementor.on(`panel:init`,function(){elementor.getPanelView().addPage(`historyPage`,{view:Yo,title:(0,r.__)(`History`,`elementor`)})})}},{key:`history`,get:function get(){return elementorDevTools.deprecation.deprecated(`elementor.history.history`,`2.9.0`,`elementor.documents.getCurrent().history`),elementor.documents.getCurrent().history}},{key:`revisions`,get:function get(){return elementorDevTools.deprecation.deprecated(`elementor.history.revisions`,`2.9.0`,`elementor.documents.getCurrent().revisions`),elementor.documents.getCurrent().revisions}}])}()}));function _callSuper$208(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$208()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$208(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$208=function _isNativeReflectConstruct(){return!!r})()}var es,ts=__esmMin((()=>{b(),w(),E(),D(),A(),Je(),__name(_callSuper$208,`_callSuper`),__name(_isNativeReflectConstruct$208,`_isNativeReflectConstruct`),es=function(r){function Close(){return _classCallCheck(this,Close),_callSuper$208(this,Close,arguments)}return _inherits(Close,r),_createClass(Close,[{key:`apply`,value:function apply(){this.component.close()}}])}(qe)}));function _callSuper$207(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$207()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$207(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$207=function _isNativeReflectConstruct(){return!!r})()}var ns,rs=__esmMin((()=>{b(),w(),E(),D(),A(),Je(),__name(_callSuper$207,`_callSuper`),__name(_isNativeReflectConstruct$207,`_isNativeReflectConstruct`),ns=function(r){function Open(){return _classCallCheck(this,Open),_callSuper$207(this,Open,arguments)}return _inherits(Open,r),_createClass(Open,[{key:`apply`,value:function apply(){$e.route(this.component.getNamespace())}}])}(qe)}));function _callSuper$206(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$206()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$206(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$206=function _isNativeReflectConstruct(){return!!r})()}var is,as=__esmMin((()=>{b(),w(),E(),D(),A(),Je(),__name(_callSuper$206,`_callSuper`),__name(_isNativeReflectConstruct$206,`_isNativeReflectConstruct`),is=function(r){function Toggle(){return _classCallCheck(this,Toggle),_callSuper$206(this,Toggle,arguments)}return _inherits(Toggle,r),_createClass(Toggle,[{key:`apply`,value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}])}(qe)})),os=__exportAll({Close:()=>es,Open:()=>ns,Toggle:()=>is}),ss=__esmMin((()=>{ts(),rs(),as()}));function _callSuper$205(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$205()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}function _isNativeReflectConstruct$205(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$205=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet$29(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}var cs,ls=__esmMin((()=>{b(),w(),E(),D(),k(),A(),W(),ss(),rt(),__name(_callSuper$205,`_callSuper`),__name(_isNativeReflectConstruct$205,`_isNativeReflectConstruct`),__name(_superPropGet$29,`_superPropGet`),cs=function(r){function ComponentModalBase(){return _classCallCheck(this,ComponentModalBase),_callSuper$205(this,ComponentModalBase,arguments)}return _inherits(ComponentModalBase,r),_createClass(ComponentModalBase,[{key:`registerAPI`,value:function registerAPI(){var r=this;_superPropGet$29(ComponentModalBase,`registerAPI`,this,3)([]),$e.shortcuts.register(`esc`,{scopes:[this.getNamespace()],callback:function callback(){return r.close()}})}},{key:`defaultCommands`,value:function defaultCommands(){return this.importCommands(os)}},{key:`defaultRoutes`,value:function defaultRoutes(){return{"":function _(){}}}},{key:`open`,value:function open(){var r=this;if(!this.layout){var c=this.getModalLayout();this.layout=new c({component:this}),this.layout.getModal().on(`hide`,function(){return r.close()})}return this.layout.showModal(),!0}},{key:`close`,value:function close(){return _superPropGet$29(ComponentModalBase,`close`,this,3)([])?(elementor.hooks.applyFilters(`component/modal/close`,this.layout.getModal().hide.bind(this.layout.getModal()),this)(),!0):!1}},{key:`getModalLayout`,value:function getModalLayout(){H()}}])}(U)}));$o(),ls(),b(),w(),E(),D(),A(),Kt();function _callSuper$204(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$204()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$204,`_callSuper`);function _isNativeReflectConstruct$204(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$204=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$204,`_isNativeReflectConstruct`);var us=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$204(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`id`,value:function id(){return`elementor-hotkeys`}},{key:`templateHelpers`,value:function templateHelpers(){return{environment:Gt}}},{key:`getTemplate`,value:function getTemplate(){return`#tmpl-elementor-hotkeys`}}])}(Marionette.LayoutView);b(),w(),E(),D(),k(),A();function _callSuper$203(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$203()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$203,`_callSuper`);function _isNativeReflectConstruct$203(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$203=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$203,`_isNativeReflectConstruct`);function _superPropGet$28(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$28,`_superPropGet`);var ds=function(c){function _default(){return _classCallCheck(this,_default),_callSuper$203(this,_default,arguments)}return _inherits(_default,c),_createClass(_default,[{key:`getModalOptions`,value:function getModalOptions(){return{id:`elementor-hotkeys__modal`}}},{key:`getLogoOptions`,value:function getLogoOptions(){return{title:(0,r.__)(`Keyboard Shortcuts`,`elementor`)}}},{key:`initialize`,value:function initialize(){for(var r=arguments.length,c=Array(r),l=0;l<r;l++)c[l]=arguments[l];_superPropGet$28(_default,`initialize`,this,3)(c),this.showLogo(),this.showContentView()}},{key:`showContentView`,value:function showContentView(){this.modalContent.show(new us)}}])}(elementorModules.common.views.modal.Layout);b(),w(),E(),D(),A();function _callSuper$202(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$202()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$202,`_callSuper`);function _isNativeReflectConstruct$202(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$202=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$202,`_isNativeReflectConstruct`);var fs=function(r){function Component(){return _classCallCheck(this,Component),_callSuper$202(this,Component,arguments)}return _inherits(Component,r),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return`shortcuts`}},{key:`defaultShortcuts`,value:function defaultShortcuts(){return{"":{keys:`ctrl+?, shift+?`,exclude:[`input`]}}}},{key:`getModalLayout`,value:function getModalLayout(){return ds}}])}(cs);b(),w(),E(),D(),A();function _callSuper$201(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$201()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$201,`_callSuper`);function _isNativeReflectConstruct$201(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$201=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$201,`_isNativeReflectConstruct`);var ps=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$201(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`onInit`,value:function onInit(){$e.components.register(new fs({manager:this}))}}])}(elementorModules.Module);b(),w(),E(),D(),A();function _callSuper$200(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$200()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$200,`_callSuper`);function _isNativeReflectConstruct$200(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$200=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$200,`_isNativeReflectConstruct`);var ms=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$200(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`tagName`,value:function tagName(){return`header`}},{key:`className`,value:function className(){return`elementor-templates-modal__header`}},{key:`getTemplate`,value:function getTemplate(){return`#tmpl-elementor-templates-modal__header`}},{key:`regions`,value:function regions(){return{logoArea:`.elementor-templates-modal__header__logo-area`,tools:`#elementor-template-library-header-tools`,menuArea:`.elementor-templates-modal__header__menu-area`}}},{key:`ui`,value:function ui(){return{closeModal:`.elementor-templates-modal__header__close`}}},{key:`events`,value:function events(){return{"click @ui.closeModal":`onCloseModalClick`}}},{key:`onRender`,value:function onRender(){this.bindEscapeKey()}},{key:`bindEscapeKey`,value:function bindEscapeKey(){var r=this;this.onDocumentKeyDown=function(c){c.key===`Escape`&&r.onCloseModalClick()},document.addEventListener(`keydown`,this.onDocumentKeyDown)}},{key:`onDestroy`,value:function onDestroy(){this.onDocumentKeyDown&&document.removeEventListener(`keydown`,this.onDocumentKeyDown)}},{key:`templateHelpers`,value:function templateHelpers(){return{closeType:this.getOption(`closeType`)}}},{key:`onCloseModalClick`,value:function onCloseModalClick(){this._parent._parent._parent.hideModal();var r=this.getDocumentType(),c=new CustomEvent(`core/modal/close/${r}`);window.dispatchEvent(c),this.isFloatingButtonLibraryClose()&&($e.internal(`document/save/set-is-modified`,{status:!1}),window.location.href=elementor.config.admin_floating_button_admin_url)}},{key:`getDocumentType`,value:function getDocumentType(){var r,c;return window.elementor===void 0||(r=(c=elementor)==null||(c=c.config)==null||(c=c.document)==null?void 0:c.type)==null?`default`:r}},{key:`isFloatingButtonLibraryClose`,value:function isFloatingButtonLibraryClose(){var r,c;return window.elementor&&((r=elementor.config)==null?void 0:r.admin_floating_button_admin_url)&&((c=elementor.config)==null||(c=c.document)==null?void 0:c.type)===`floating-buttons`&&(this.$el.closest(`.dialog-lightbox-widget-content`).find(`.elementor-template-library-template-floating_button`).length||this.$el.closest(`.dialog-lightbox-widget-content`).find(`#elementor-template-library-preview`).length||this.$el.closest(`.dialog-lightbox-widget-content`).find(`#elementor-template-library-templates-empty`).length)}}])}(Marionette.LayoutView);b(),w(),E(),D(),A();function _callSuper$199(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$199()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$199,`_callSuper`);function _isNativeReflectConstruct$199(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$199=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$199,`_isNativeReflectConstruct`);var hs=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$199(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`getTemplate`,value:function getTemplate(){return`#tmpl-elementor-templates-modal__header__logo`}},{key:`className`,value:function className(){return`elementor-templates-modal__header__logo`}},{key:`events`,value:function events(){return{click:`onClick`}}},{key:`templateHelpers`,value:function templateHelpers(){return{title:this.getOption(`title`)}}},{key:`onClick`,value:function onClick(){var r=this.getOption(`click`);r&&r()}}])}(Marionette.ItemView);b(),w(),E(),D(),A();function _callSuper$198(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$198()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$198,`_callSuper`);function _isNativeReflectConstruct$198(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$198=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$198,`_isNativeReflectConstruct`);var gs=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$198(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`id`,value:function id(){return`elementor-template-library-loading`}},{key:`getTemplate`,value:function getTemplate(){return`#tmpl-elementor-template-library-loading`}}])}(Marionette.ItemView);b(),w(),E(),D(),A();function _callSuper$197(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$197()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$197,`_callSuper`);function _isNativeReflectConstruct$197(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$197=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$197,`_isNativeReflectConstruct`);var _s=function(r){function _default(){return _classCallCheck(this,_default),_callSuper$197(this,_default,arguments)}return _inherits(_default,r),_createClass(_default,[{key:`el`,value:function el(){return this.getModal().getElements(`widget`)}},{key:`regions`,value:function regions(){return{modalHeader:`.dialog-header`,modalContent:`.dialog-lightbox-content`,modalLoading:`.dialog-lightbox-loading`}}},{key:`initialize`,value:function initialize(){this.modalHeader.show(new ms(this.getHeaderOptions()))}},{key:`getModal`,value:function getModal(){return this.modal||this.initModal(),this.modal}},{key:`initModal`,value:function initModal(){var r={className:`elementor-templates-modal`,closeButton:!1,draggable:!1,hide:{onOutsideClick:!1,onEscKeyPress:!1}};jQuery.extend(!0,r,this.getModalOptions()),this.modal=elementorCommon.dialogsManager.createWidget(`lightbox`,r),this.modal.getElements(`message`).append(this.modal.addElement(`content`),this.modal.addElement(`loading`)),r.draggable&&this.draggableModal()}},{key:`showModal`,value:function showModal(){this.getModal().show()}},{key:`hideModal`,value:function hideModal(){this.getModal().hide()}},{key:`draggableModal`,value:function draggableModal(){var r=this.getModal().getElements(`widgetContent`);r.draggable({containment:`parent`,stop:function stop(){r.height(``)}}),r.css(`position`,`absolute`)}},{key:`getModalOptions`,value:function getModalOptions(){return{}}},{key:`getLogoOptions`,value:function getLogoOptions(){return{}}},{key:`getHeaderOptions`,value:function getHeaderOptions(){return{closeType:`normal`}}},{key:`getHeaderView`,value:function getHeaderView(){return this.modalHeader.currentView}},{key:`showLoadingView`,value:function showLoadingView(){this.modalLoading.show(new gs),this.modalLoading.$el.show(),this.modalContent.$el.hide()}},{key:`hideLoadingView`,value:function hideLoadingView(){this.modalContent.$el.show(),this.modalLoading.$el.hide()}},{key:`showLogo`,value:function showLogo(){this.getHeaderView().logoArea.show(new hs(this.getLogoOptions()))}}])}(Marionette.LayoutView);b(),w(),E(),D(),k(),A();function _callSuper$196(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$196()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$196,`_callSuper`);function _isNativeReflectConstruct$196(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$196=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$196,`_isNativeReflectConstruct`);function _superPropGet$27(r,c,l,u){var p=_get(_getPrototypeOf(1&u?r.prototype:r),c,l);return 2&u&&typeof p==`function`?function(r){return p.apply(l,r)}:p}__name(_superPropGet$27,`_superPropGet`);var vs=function(c){function _default(){return _classCallCheck(this,_default),_callSuper$196(this,_default,arguments)}return _inherits(_default,c),_createClass(_default,[{key:`getModalOptions`,value:function getModalOptions(){return{id:`elementor-icons-manager-modal`}}},{key:`getLogoOptions`,value:function getLogoOptions(){return{title:(0,r.__)(`Icon Library`,`elementor`)}}},{key:`initialize`,value:function initialize(){for(var r=arguments.length,c=Array(r),l=0;l<r;l++)c[l]=arguments[l];_superPropGet$27(_default,`initialize`,this,3)(c),this.showLogo()}}])}(_s);function _extends(){return _extends=Object.assign?Object.assign.bind():function(r){for(var c=1;c<arguments.length;c++){var l=arguments[c];for(var u in l)({}).hasOwnProperty.call(l,u)&&(r[u]=l[u])}return r},_extends.apply(null,arguments)}b(),w(),E(),D(),A(),P();var J=__toESM(vr());function _callSuper$195(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$195()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$195,`_callSuper`);function _isNativeReflectConstruct$195(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$195=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$195,`_isNativeReflectConstruct`);var ys=function(r){function LazyIconList(){var r;_classCallCheck(this,LazyIconList);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return r=_callSuper$195(this,LazyIconList,[].concat(u)),_defineProperty(r,`state`,{itemSize:{width:0,height:0},wrapperSize:{width:0,height:0},firstRowInView:0}),_defineProperty(r,`selectors`,{item:`.elementor-icons-manager__tab__item`,wrapper:`elementor-icons-manager__tab__wrapper`}),_defineProperty(r,`attachScrollListener`,function(){var c=document.getElementById(r.selectors.wrapper);c&&c.addEventListener(`scroll`,r.handleScroll)}),_defineProperty(r,`maybeMeasureItem`,function(){if(!r.state.itemSize.width){var c=20,l=document.querySelector(r.selectors.item);if(l){var u=document.getElementById(r.selectors.wrapper),p={itemSize:{width:l.offsetWidth+c,height:l.offsetHeight+c},wrapperSize:{width:u.offsetWidth,height:u.clientHeight}};return r.setState(p,function(){r.maybeScrollToSelected()})}}}),_defineProperty(r,`maybeScrollToSelected`,function(){if(r.hasSelected()){var c=r.props.selectedIndex,l=r.state,u=l.wrapperSize,p=l.itemSize,m=Math.floor(u.width/p.width),h=(Math.ceil(c/m)-1)*p.height;setTimeout(function(){r.props.parentRef.current.scrollTo({top:h,left:0,behavior:`auto`})},0)}}),_defineProperty(r,`handleScroll`,function(){r.clearDebounceScrollCallback(),r._debounce=setTimeout(function(){var c=document.getElementById(r.selectors.wrapper),l=r.state.itemSize;r.setState({firstRowInView:Math.floor(c.scrollTop/l.height)})},10)}),_defineProperty(r,`render`,function(){var c=r.state,u=c.itemSize,p=c.wrapperSize,m=r.state.firstRowInView;if(!u.width)return r.renderFirstElementForMeasurement();var h=r.props.items,g=Math.floor(p.width/u.width),v=Math.ceil(h.length/g),y=Math.ceil(p.height/u.height)+4;y>v&&(y=v),m>v-y&&(m=v-y);var b=v-m-y,x=m*g,S=(m+y)*g-1,C=h.slice(x,S+1),w={height:`${m*u.height}px`},T={height:`${b*u.height}px`};return l.default.createElement(l.Fragment,null,l.default.createElement(`div`,{className:`elementor-icons-manager__tab__content__offset`,style:w}),l.default.createElement(`div`,{id:`elementor-icons-manager__tab__content`},C),l.default.createElement(`div`,{className:`elementor-icons-manager__tab__content__tail`,style:T}))}),r}return _inherits(LazyIconList,r),_createClass(LazyIconList,[{key:`componentDidMount`,value:function componentDidMount(){this.attachScrollListener(),this.maybeMeasureItem()}},{key:`componentWillUnmount`,value:function componentWillUnmount(){this.clearDebounceScrollCallback();var r=document.getElementById(this.selectors.wrapper);r&&r.removeEventListener(`scroll`,this.handleScroll)}},{key:`clearDebounceScrollCallback`,value:function clearDebounceScrollCallback(){clearTimeout(this._debounce)}},{key:`renderFirstElementForMeasurement`,value:function renderFirstElementForMeasurement(){return l.default.createElement(`div`,{id:`elementor-icons-manager__tab__content`},this.props.items[0])}},{key:`hasSelected`,value:function hasSelected(){return this.props.selectedIndex!==-1}}])}(l.Component);ys.propTypes={items:J.default.array,selectedIndex:J.default.number,parentRef:J.default.any},w(),b(),E(),D(),A(),P();function _callSuper$194(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$194()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$194,`_callSuper`);function _isNativeReflectConstruct$194(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$194=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$194,`_isNativeReflectConstruct`);var bs=function(r){function Icon(){var r;_classCallCheck(this,Icon);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return r=_callSuper$194(this,Icon,[].concat(u)),_defineProperty(r,`setSelected`,function(){r.props.setSelectedHandler({value:r.props.data.displayPrefix+` `+r.props.data.selector,library:r.props.library})}),_defineProperty(r,`render`,function(){return l.default.createElement(`div`,{className:r.props.containerClass,key:r.props.keyID,onClick:r.setSelected,filter:r.props.data.filter},l.default.createElement(`div`,{className:`elementor-icons-manager__tab__item__content`},l.default.createElement(`i`,{className:`elementor-icons-manager__tab__item__icon `+r.props.className}),l.default.createElement(`div`,{className:`elementor-icons-manager__tab__item__name`,title:r.props.data.name},r.props.data.name)))}),r}return _inherits(Icon,r),_createClass(Icon)}(l.Component);bs.propTypes={className:J.default.string,containerClass:J.default.string,data:J.default.object,keyID:J.default.string,library:J.default.string,selector:J.default.string,setSelectedHandler:J.default.func},M(),ge(),b(),w(),E(),D(),A(),P();function _createForOfIteratorHelper$7(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$7(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}__name(_createForOfIteratorHelper$7,`_createForOfIteratorHelper`);function _unsupportedIterableToArray$7(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$7(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$7(r,c):void 0}}__name(_unsupportedIterableToArray$7,`_unsupportedIterableToArray`);function _arrayLikeToArray$7(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}__name(_arrayLikeToArray$7,`_arrayLikeToArray`);function _callSuper$193(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$193()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$193,`_callSuper`);function _isNativeReflectConstruct$193(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$193=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$193,`_isNativeReflectConstruct`);var xs=function(r){function Tab(){var r;_classCallCheck(this,Tab);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return r=_callSuper$193(this,Tab,[].concat(u)),_defineProperty(r,`componentDidMount`,function(){r.props.selected&&r.props.selected.value&&setTimeout(function(){var r=document.querySelector(`.elementor-selected`);r&&r.scrollIntoView(!1)},0)}),_defineProperty(r,`handleFullIconList`,function(){var c=[];return Object.entries(r.props.icons).forEach(function(l){l[0]!==`recommended`&&(c=[].concat(_toConsumableArray(c),_toConsumableArray(r.getIconsOfType(l[0],l[1]))))}),c.sort(function(r,c){return r.filter===c.filter?0:+(r.filter>c.filter)||-1})}),_defineProperty(r,`getLibrary`,function(r){return elementor.config.icons.libraries.filter(function(c){return r===c.name})}),_defineProperty(r,`handleRecommendedList`,function(){var c=[];return Object.entries(r.props.icons).forEach(function(l){var u=r.getLibrary(l[0])[0].icons,p={};l[1].forEach(function(r){u[r]&&(p[r]=u[r])}),c=[].concat(_toConsumableArray(c),_toConsumableArray(r.getIconsOfType(l[0],p)))}),c}),_defineProperty(r,`getIconsComponentList`,function(){var c=[],l=r.props,u=l.name,p=l.icons,m=l.filter;switch(u){case`all`:c=r.handleFullIconList();break;case`recommended`:c=r.handleRecommendedList();break;default:c=r.getIconsOfType(u,p);break}return m&&(c=Object.values(c).filter(function(r){return r.props.data.name.toLowerCase().indexOf(m)>-1})),c}),_defineProperty(r,`render`,function(){var c=r.getIconsComponentList(),u=-1,p=_createForOfIteratorHelper$7(c.entries()),m;try{for(p.s();!(m=p.n()).done;){var h=_slicedToArray(m.value,2),g=h[0];if(h[1].props.containerClass.includes(`elementor-selected`)){u=g;break}}}catch(r){p.e(r)}finally{p.f()}return l.default.createElement(ys,{selectedIndex:u,items:c,parentRef:r.props.parentRef})}),r}return _inherits(Tab,r),_createClass(Tab,[{key:`getIconsOfType`,value:function getIconsOfType(r,c){var u=this,p=this.props,m=p.selected,h=p.filter;return Object.entries(c).map(function(c){var p=c[1],g=c[0],v=p.displayPrefix+` `+p.selector,y=`elementor-icons-manager__tab__item`;m.value===v&&(y+=` elementor-selected`);var b=y+r+`-`+g+h;return l.default.createElement(bs,{key:b,library:r,keyID:g,containerClass:y,className:v,setSelectedHandler:u.props.setSelected,data:p})})}}])}(l.Component);xs.propTypes={data:J.default.any,filter:J.default.any,icons:J.default.object,name:J.default.string,selected:J.default.object,setSelected:J.default.func,parentRef:J.default.any},w(),b(),E(),D(),A(),P();function _callSuper$192(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$192()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$192,`_callSuper`);function _isNativeReflectConstruct$192(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$192=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$192,`_isNativeReflectConstruct`);var Ss=function(c){function IconsGoPro(){var c;_classCallCheck(this,IconsGoPro);for(var u=arguments.length,p=Array(u),m=0;m<u;m++)p[m]=arguments[m];return c=_callSuper$192(this,IconsGoPro,[].concat(p)),_defineProperty(c,`render`,function(){return l.default.createElement(`div`,{id:`elementor-icons-manager__promotion`},l.default.createElement(`i`,{id:`elementor-icons-manager__promotion__icon`,className:`eicon-nerd`}),l.default.createElement(`div`,{id:`elementor-icons-manager__promotion__text`},(0,r.__)(`Become a Pro user to upload unlimited font icon folders to your website.`,`elementor`)),l.default.createElement(`a`,{href:elementor.config.icons.goProURL,id:`elementor-icons-manager__promotion__link`,className:`elementor-button go-pro`,target:`_blank`,rel:`noopener noreferrer`},(0,r.__)(`Upgrade Now`,`elementor`)))}),c}return _inherits(IconsGoPro,c),_createClass(IconsGoPro)}(l.Component);b(),w(),E(),D(),A(),P(),Dr();function ownKeys$13(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}__name(ownKeys$13,`ownKeys`);function _objectSpread$13(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$13(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$13(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}__name(_objectSpread$13,`_objectSpread`);function _callSuper$191(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$191()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$191,`_callSuper`);function _isNativeReflectConstruct$191(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$191=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$191,`_isNativeReflectConstruct`);var Cs=function(c){function IconsManager(){var r;_classCallCheck(this,IconsManager);for(var c=arguments.length,u=Array(c),p=0;p<c;p++)u[p]=arguments[p];return r=_callSuper$191(this,IconsManager,[].concat(u)),_defineProperty(r,`scrollViewRef`,(0,l.createRef)()),_defineProperty(r,`state`,{activeTab:r.props.activeTab,selected:{library:``,value:``},iconTabs:elementor.config.icons.libraries,loaded:r.props.loaded,filter:``}),_defineProperty(r,`cache`,{}),_defineProperty(r,`loadAllTabs`,function(){var c=r.state.loaded;r.props.icons.forEach(function(l){c[l.name]||-1<[`all`,`recommended`].indexOf(l.name)||elementor.iconManager.library.initIconType(_objectSpread$13({},l),function(u){r.cache[u.name]=u,c[l.name]=!0})}),c.all=!0,c.recommended=!0,r.setState({loaded:c})}),_defineProperty(r,`getActiveTab`,function(){var c=r.state.activeTab,l=r.state.loaded,u=r.props.icons;if(c||r.props.activeTab&&(c=r.props.activeTab),c===`GoPro`)return c;if(!l[c])return!1;var p=_objectSpread$13({},u.filter(function(r){return r.name===c})[0]);return l[c]?_objectSpread$13({},p):p.name===`all`&&!l.all?r.loadAllTabs():(elementor.iconManager.library.initIconType(_objectSpread$13({},p),function(c){r.cache[c.name]=c,r.updateLoaded(c.name)}),!1)}),_defineProperty(r,`getIconTabsLinks`,function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return r.props.icons.map(function(u){if(c^r.isNativeTab(u))return``;var p=u.name===r.state.activeTab,m=`elementor-icons-manager__tab-link`;return p&&(m+=` elementor-active`),l.default.createElement(`div`,{className:m,key:u.name,onClick:function onClick(){p||r.setState({activeTab:u.name})}},l.default.createElement(`i`,{className:u.labelIcon}),u.label)})}),_defineProperty(r,`getActiveTabIcons`,function(c){if(c.name)return r.getActiveTabIcons(c.name);if(r.cache[c])return r.cache[c].icons;if(c===`recommended`)return r.state.iconTabs[0].icons;if(c===`all`)return r.getAllIcons();if(!r.state.loaded[c]){var l=r.props.icons.filter(function(r){return c===r.name});return elementor.iconManager.library.initIconType(_objectSpread$13({},l[0]),function(c){r.cache[c.name]=c,r.updateLoaded(c.name)})}return elementor.iconManager.store.getIcons(c)}),_defineProperty(r,`getAllIcons`,function(){if(r.cache.all)return r.cache.all.icons;var c={};return r.props.icons.forEach(function(l){l.name!==`all`&&l.name!==`recommended`&&(c[l.name]=r.getActiveTabIcons(l.name))}),r.cache.all={icons:c},c}),_defineProperty(r,`handleSearch`,function(c){var l=c.target.value;if(l&&l!==``){if(l=l.toLocaleLowerCase(),r.state.filter===l)return}else l=``;r.setState({filter:l})}),_defineProperty(r,`setSelected`,function(c){elementor.iconManager.setSettings(`selectedIcon`,c),r.setState({selected:c})}),_defineProperty(r,`getSelected`,function(){var c=r.state.selected;return c.value===``&&r.props.selected&&r.props.selected.value&&(c={value:r.props.selected.value,library:r.props.selected.library}),c}),_defineProperty(r,`render`,function(){var c=r.getActiveTab(),u=c.name?c.name:c,p=r.props.showSearch,m=p===void 0||p,h=r.state.filter;if(c!==`GoPro`){if(!u||!r.state.loaded[u])return`Loading`;c&&(c.icons=r.getActiveTabIcons(c))}var g=r.getSelected();return l.default.createElement(l.Fragment,null,l.default.createElement(`div`,{id:`elementor-icons-manager__sidebar`,className:`elementor-templates-modal__sidebar`},l.default.createElement(`div`,{id:`elementor-icons-manager__tab-links`},r.getIconTabsLinks(),r.getUploadCustomButton(),r.getIconTabsLinks(!1))),l.default.createElement(`div`,{id:`elementor-icons-manager__main`,className:`elementor-templates-modal__content`},u===`GoPro`?l.default.createElement(Ss,null):l.default.createElement(l.Fragment,null,m?r.getSearchHTML():``,l.default.createElement(`div`,{id:`elementor-icons-manager__tab__wrapper`,ref:r.scrollViewRef},l.default.createElement(`div`,{id:`elementor-icons-manager__tab__title`},c.label),l.default.createElement(`div`,{id:`elementor-icons-manager__tab__content_wrapper`},l.default.createElement(`input`,{type:`hidden`,name:`icon_value`,id:`icon_value`,value:g.value}),l.default.createElement(`input`,{type:`hidden`,name:`icon_type`,id:`icon_type`,value:g.library}),r.state.loaded[c.name]?l.default.createElement(xs,_extends({setSelected:r.setSelected,selected:g,filter:h,key:c.name,parentRef:r.scrollViewRef},c)):`Loading`)))))}),r}return _inherits(IconsManager,c),_createClass(IconsManager,[{key:`updateLoaded`,value:function updateLoaded(r){var c=this.state.loaded;c[r]=!0,this.setState({loaded:c})}},{key:`isNativeTab`,value:function isNativeTab(r){return(r.name===`all`||r.name===`recommended`||r.name.substr(0,3)===`fa-`)&&r.native}},{key:`getUploadCustomButton`,value:function getUploadCustomButton(){var c=this,u=function onClick(){c.state.activeTab!==`GoPro`&&c.setState({activeTab:`GoPro`})};return this.props.customIconsURL&&(u=function onClick(){window.open(c.props.customIconsURL,`_blank`)}),l.default.createElement(`div`,{id:`elementor-icons-manager__upload`},l.default.createElement(`div`,{id:`elementor-icons-manager__upload__title`},(0,r.__)(`My Libraries`,`elementor`)),l.default.createElement(`button`,{id:`elementor-icons-manager__upload__button`,className:`elementor-button`,onClick:u},(0,r.__)(`Upload`,`elementor`)))}},{key:`getSearchHTML`,value:function getSearchHTML(){return l.default.createElement(`div`,{id:`elementor-icons-manager__search`},l.default.createElement(`input`,{placeholder:`Filter by name...`,onInput:this.handleSearch}),l.default.createElement(`i`,{className:`eicon-search`}))}}])}(l.Component),ws=function renderIconManager(r){var c=document.querySelector(`#elementor-icons-manager-modal .dialog-content`);return Er.render(l.default.createElement(Cs,_extends({},r,{containerElement:c})),c)};Cs.propTypes={activeTab:J.default.any,customIconsURL:J.default.string,icons:J.default.any,loaded:J.default.any,modalView:J.default.any,recommended:J.default.oneOfType([J.default.bool,J.default.object]),selected:J.default.any,showSearch:J.default.bool},x(),b(),w(),P();var Ts=function(){function _default(){var r=this;_classCallCheck(this,_default),_defineProperty(this,`loaded`,{}),_defineProperty(this,`notifyCallback`,null),_defineProperty(this,`fetchIcons`,function(c){fetch(c.fetchJson,{mode:`cors`}).then(function(r){return r.json()}).then(function(l){return c.icons=l.icons,r.normalizeIconList(c)})}),_defineProperty(this,`runCallback`,function(c){return typeof r.notifyCallback==`function`?r.notifyCallback(c):c}),_defineProperty(this,`initIconType`,function(c,l){r.notifyCallback=l;var u=elementor.iconManager.store;if(r.loaded[c.name])return c.icons=u.getIcons(c),r.runCallback(c);if(c.enqueue&&c.enqueue.forEach(function(r){var l=`${r}${c!=null&&c.ver?`?ver=`+c.ver:``}`;elementor.helpers.enqueueEditorStylesheet(l)}),c.url){var p=`${c.url}${c!=null&&c.ver?`?ver=`+c.ver:``}`;elementor.helpers.enqueueEditorStylesheet(p)}if(u.isValid(c)){var m=u.get(u.getKey(c));return r.normalizeIconList(m)}if(c.icons&&c.icons.length)return r.normalizeIconList(c);if(c.fetchJson)return r.fetchIcons(c)})}return _createClass(_default,[{key:`normalizeIconList`,value:function normalizeIconList(r){var c={},l;jQuery.each(r.icons,function(u,p){l=p,_typeof(l)===`object`&&(l=Object.entries(l)[0][0]),l&&(c[l]={prefix:r.prefix,selector:r.prefix+l.trim(`:`),name:elementorCommon.helpers.upperCaseWords(l).trim(`:`).split(`-`).join(` `),filter:l.trim(`:`),displayPrefix:r.displayPrefix||r.prefix.replace(`-`,``)})}),Object.keys(c).length&&(r.icons=c,this.loaded[r.name]=!0,elementor.iconManager.store.save(r),this.runCallback(r))}}])}();b(),w();var Es=function(){function Store(){_classCallCheck(this,Store)}return _createClass(Store,[{key:`save`,value:function save(r){elementorCommon.storage.set(Es.getKey(r),r)}},{key:`getIcons`,value:function getIcons(r){var c=this.get(Es.getKey(r));return c&&c.icons?c.icons:!1}},{key:`get`,value:function get(r){return elementorCommon.storage.get(r)}},{key:`isValid`,value:function isValid(r){var c=this.get(Es.getKey(r));return!c||c.ver!==r.ver?!1:c.icons&&c.icons.length}}],[{key:`getKey`,value:function getKey(r){return`elementor_${r.name?r.name:r}_icons`}}])}();b(),w(),E(),D(),A();function _callSuper$190(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$190()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$190,`_callSuper`);function _isNativeReflectConstruct$190(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$190=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$190,`_isNativeReflectConstruct`);var Ds=function(c){function _default(){return _classCallCheck(this,_default),_callSuper$190(this,_default,arguments)}return _inherits(_default,c),_createClass(_default,[{key:`onInit`,value:function onInit(){this.library=new Ts,this.store=new Es,elementor.helpers.fetchFa4ToFa5Mapping(),this.cache={}}},{key:`getLayout`,value:function getLayout(){var c=this;if(!this.layout){this.layout=new vs;var l=this.layout.getModal();l.addButton({name:`insert_icon`,text:(0,r.__)(`Insert`,`elementor`),classes:`elementor-button e-primary`,callback:function callback(){c.updateControlValue(),c.unMountIconManager()}}),l.on(`show`,this.onPickerShow.bind(this)).on(`hide`,this.unMountIconManager.bind(this))}return this.layout}},{key:`getDefaultSettings`,value:function getDefaultSettings(){return{selectedIcon:{}}}},{key:`unMountIconManager`,value:function unMountIconManager(){this.unmount()}},{key:`loadIconLibraries`,value:function loadIconLibraries(){this.cache.loaded||(elementor.config.icons.libraries.forEach(function(r){r.name!==`all`&&elementor.iconManager.library.initIconType(r)}),this.cache.loaded=!0)}},{key:`onPickerShow`,value:function onPickerShow(){var r=this.getSettings(`controlView`),c={GoPro:!0},l={recommended:r.model.get(`recommended`)||!1},u=r.getControlValue(),p=elementor.config.icons.libraries;if((!u.library||!u.value)&&(u={value:``,library:``}),l.selected=u,this.setSettings(`selectedIcon`,u),l.recommended){var m=!1;p.forEach(function(r,c){r.name===`recommended`&&(m=!0,p[c].icons=l.recommended)}),m||p.unshift({name:`recommended`,label:`Recommended`,icons:l.recommended,labelIcon:`eicon-star-o`,native:!0})}else p=p.filter(function(r){return r.name!==`recommended`});p.forEach(function(r,l){[`all`,`recommended`].indexOf(r.name)===-1&&elementor.iconManager.library.initIconType(r,function(r){p[l]=r}),c[r.name]=!0}),l.loaded=c,l.icons=p;var h=u.library||p[0].name;if(u.library===`svg`&&(h=p[0].name),Object.keys(p).some(function(r){return r===h})||(h=p[0].name),l.recommended&&u.library!==``&&u.value!==``&&Object.prototype.hasOwnProperty.call(l.recommended,u.library)){var g=p.filter(function(r){return u.library===r.name}),v=u.value.replace(g[0].displayPrefix+` `+g[0].prefix,``);l.recommended[u.library].some(function(r){return-1<r.indexOf(v)})&&(h=p[0].name)}l.customIconsURL=elementor.config.customIconsURL,l.activeTab=h;var y=ws(l).unmount;this.unmount=y}},{key:`updateControlValue`,value:function updateControlValue(){var r=this.getSettings();r.controlView.setValue(r.selectedIcon),r.controlView.applySavedValue()}},{key:`show`,value:function show(r){this.setSettings(`controlView`,r.view),this.getLayout().showModal(r)}}])}(elementorModules.Module);N(),b(),w(),E(),D(),A();function _callSuper$189(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$189()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$189,`_callSuper`);function _isNativeReflectConstruct$189(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$189=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$189,`_isNativeReflectConstruct`);var Os=function(r){function Import(){return _classCallCheck(this,Import),_callSuper$189(this,Import,arguments)}return _inherits(Import,r),_createClass(Import,[{key:`validateArgs`,value:function validateArgs(){this.requireArgumentInstance(`target`,elementorModules.editor.Container)}},{key:`apply`,value:function apply(r){var c=this,l=r.targets,u=l===void 0?[r.target]:l,p=r.input,m=r.options,h=m===void 0?{}:m,g=[];return u.forEach(function(r){g.push(c.component.manager.createSession(p,r,h).then(function(){var r=_asyncToGenerator(B.default.mark(function _callee(r){return B.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=1,r.validate();case 1:if(!c.sent){c.next=2;break}r.apply();case 2:case`end`:return c.stop()}},_callee)}));return function(c){return r.apply(this,arguments)}}()))}),Promise.all(g)}}])}($e.modules.CommandBase),ks=__exportAll({Import:()=>Os});b(),w(),E(),D(),A();function _callSuper$188(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$188()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$188,`_callSuper`);function _isNativeReflectConstruct$188(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$188=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$188,`_isNativeReflectConstruct`);var As=function(r){function Validate(){return _classCallCheck(this,Validate),_callSuper$188(this,Validate,arguments)}return _inherits(Validate,r),_createClass(Validate,[{key:`apply`,value:function apply(r){var c=r.input,l=r.options,u=l===void 0?{}:l;return this.component.manager.createSession(c,elementor.getPreviewContainer(),u).then(function(r){return r.validate()})}}])}($e.modules.CommandBase),js=__exportAll({Validate:()=>As});b(),w(),E(),D(),A();function _callSuper$187(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$187()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$187,`_callSuper`);function _isNativeReflectConstruct$187(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$187=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$187,`_isNativeReflectConstruct`);var Ms=function(r){function Component(){return _classCallCheck(this,Component),_callSuper$187(this,Component,arguments)}return _inherits(Component,r),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return`editor/browser-import`}},{key:`defaultCommands`,value:function defaultCommands(){return this.importCommands(ks)}},{key:`defaultCommandsInternal`,value:function defaultCommandsInternal(){return this.importCommands(js)}}])}($e.modules.ComponentBase);N(),b(),w(),P();var Ns=function(){function FileReaderBase(r){_classCallCheck(this,FileReaderBase),_defineProperty(this,`file`,void 0),this.file=r}return _createClass(FileReaderBase,[{key:`getFile`,value:function getFile(){return this.file}},{key:`getContent`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){var r,c;return B.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return r=new FileReader,c=new Promise(function(c){r.onloadend=function(){return c(r.result)}}),r.readAsText(this.getFile()),l.abrupt(`return`,c);case 1:case`end`:return l.stop()}},_callee,this)}));function getContent(){return r.apply(this,arguments)}return getContent}()},{key:`getDataUrl`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(){var r,c;return B.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return r=new FileReader,c=new Promise(function(c){r.onloadend=function(){return c(r.result)}}),r.readAsDataURL(this.getFile()),l.abrupt(`return`,c);case 1:case`end`:return l.stop()}},_callee2,this)}));function getDataUrl(){return r.apply(this,arguments)}return getDataUrl}()}],[{key:`getName`,value:function getName(){return``}},{key:`isActive`,value:function isActive(){return!0}},{key:`mimeTypes`,get:function get(){return[]}},{key:`resolve`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee3(r){return B.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt(`return`,!1);case 1:case`end`:return r.stop()}},_callee3)}));function resolve(c){return r.apply(this,arguments)}return resolve}()},{key:`validate`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee4(r){return B.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return this.validator||(this.validator=new RegExp(this.mimeTypes.join(`|`),`i`)),c.abrupt(`return`,this.validator.test(r.type));case 1:case`end`:return c.stop()}},_callee4,this)}));function validate(c){return r.apply(this,arguments)}return validate}()}])}();b(),w(),E(),D(),A();function _callSuper$186(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$186()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$186,`_callSuper`);function _isNativeReflectConstruct$186(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$186=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$186,`_isNativeReflectConstruct`);var Ps=function(r){function Image(){return _classCallCheck(this,Image),_callSuper$186(this,Image,arguments)}return _inherits(Image,r),_createClass(Image,null,[{key:`getName`,value:function getName(){return`image`}},{key:`mimeTypes`,get:function get(){return[`image\\/\\w+`]}}])}(Ns);b(),w(),E(),D(),A();function _callSuper$185(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$185()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$185,`_callSuper`);function _isNativeReflectConstruct$185(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$185=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$185,`_isNativeReflectConstruct`);var Fs=function(r){function Video(){return _classCallCheck(this,Video),_callSuper$185(this,Video,arguments)}return _inherits(Video,r),_createClass(Video,null,[{key:`getName`,value:function getName(){return`video`}},{key:`mimeTypes`,get:function get(){return[`video\\/\\w+`]}}])}(Ns);N(),b(),w(),E(),D(),A();function _callSuper$184(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$184()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$184,`_callSuper`);function _isNativeReflectConstruct$184(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$184=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$184,`_isNativeReflectConstruct`);var Is=function(r){function Json(){return _classCallCheck(this,Json),_callSuper$184(this,Json,arguments)}return _inherits(Json,r),_createClass(Json,[{key:`getData`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){return B.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(this._data){r.next=2;break}return r.next=1,this.getContent().then(function(r){return JSON.parse(r)});case 1:this._data=r.sent;case 2:return r.abrupt(`return`,this._data);case 3:case`end`:return r.stop()}},_callee,this)}));function getData(){return r.apply(this,arguments)}return getData}()}],[{key:`getName`,value:function getName(){return`json`}},{key:`isActive`,value:function isActive(){var r,c;return elementor.config.user.is_administrator||(r=(c=elementor.config.user.restrictions)==null?void 0:c.includes(`json-upload`))!=null&&r}},{key:`mimeTypes`,get:function get(){return[`application/json`]}},{key:`resolve`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(r){return B.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,JSON.parse(r),c.abrupt(`return`,`application/json`);case 1:return c.prev=1,c.catch(0),c.abrupt(`return`,!1);case 2:case`end`:return c.stop()}},_callee2,null,[[0,1]])}));function resolve(c){return r.apply(this,arguments)}return resolve}()}])}(Ns),Ls=__exportAll({Image:()=>Ps,Json:()=>Is,Video:()=>Fs});N(),b(),w(),P();var Rs=function(){function FileParserBase(r){_classCallCheck(this,FileParserBase),_defineProperty(this,`reader`,void 0),_defineProperty(this,`tasks`,[]),this.reader=r}return _createClass(FileParserBase,[{key:`parse`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){return B.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:case`end`:return r.stop()}},_callee)}));function parse(){return r.apply(this,arguments)}return parse}()}],[{key:`getName`,value:function getName(){return``}},{key:`getReaders`,value:function getReaders(){return[]}},{key:`validate`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(r){return B.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt(`return`,!1);case 1:case`end`:return r.stop()}},_callee2)}));function validate(c){return r.apply(this,arguments)}return validate}()}])}();P(),b(),w(),E(),D(),A();function ownKeys$12(r,c){var l=Object.keys(r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(r);c&&(u=u.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),l.push.apply(l,u)}return l}__name(ownKeys$12,`ownKeys`);function _objectSpread$12(r){for(var c=1;c<arguments.length;c++){var l=arguments[c]==null?{}:arguments[c];c%2?ownKeys$12(Object(l),!0).forEach(function(c){_defineProperty(r,c,l[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(l)):ownKeys$12(Object(l)).forEach(function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(l,c))})}return r}__name(_objectSpread$12,`_objectSpread`);function _callSuper$183(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$183()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$183,`_callSuper`);function _isNativeReflectConstruct$183(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$183=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$183,`_isNativeReflectConstruct`);var zs=function(r){function MediaParser(){return _classCallCheck(this,MediaParser),_callSuper$183(this,MediaParser,arguments)}return _inherits(MediaParser,r),_createClass(MediaParser,[{key:`upload`,value:function upload(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return $e.data.run(`create`,`wp/media`,{file:r,options:_objectSpread$12({progress:!0},c)}).catch(function(r){return elementor.notifications.showToast({message:r.message}),Promise.reject(r)})}}])}(Rs),Bs=__exportAll({MediaParser:()=>zs});b(),w();function _createForOfIteratorHelper$6(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$6(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}__name(_createForOfIteratorHelper$6,`_createForOfIteratorHelper`);function _unsupportedIterableToArray$6(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$6(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$6(r,c):void 0}}__name(_unsupportedIterableToArray$6,`_unsupportedIterableToArray`);function _arrayLikeToArray$6(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}__name(_arrayLikeToArray$6,`_arrayLikeToArray`);var Vs=function(){function ContainerFactory(){_classCallCheck(this,ContainerFactory)}return _createClass(ContainerFactory,null,[{key:`createElementContainer`,value:function createElementContainer(r){var c=new nn.default(this.regenerateIds([Object.assign({elType:(r==null?void 0:r.elType)||`widget`},r)])[0]);return new elementorModules.editor.Container({id:c.get(`id`),type:c.get(`elType`),settings:c.get(`settings`),model:c,parent:!1})}},{key:`regenerateIds`,value:function regenerateIds(r){var c=_createForOfIteratorHelper$6(r),l;try{for(c.s();!(l=c.n()).done;){var u=l.value;u.id=elementorCommon.helpers.getUniqueId().toString(),u.elements&&this.regenerateIds(u.elements)}}catch(r){c.e(r)}finally{c.f()}return r}}])}();N(),b(),w(),E(),D(),A();function _callSuper$182(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$182()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$182,`_callSuper`);function _isNativeReflectConstruct$182(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$182=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$182,`_isNativeReflectConstruct`);var Hs=function(r){function Widget(){return _classCallCheck(this,Widget),_callSuper$182(this,Widget,arguments)}return _inherits(Widget,r),_createClass(Widget,[{key:`parse`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){var r,c,l,u,p,m,h;return B.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=this.reader.getFile(),l=Vs,g.next=1,this.reader.getDataUrl();case 1:return u=g.sent,p=r.name.split(`.`)[0],m={url:u,alt:p,source:`library`},h={image:m},c=l.createElementContainer.call(l,{widgetType:`image`,settings:h}),this.upload(r).then(function(r){var l=r.data;$e.internal(`document/elements/set-settings`,{container:elementor.getContainer(c.id),settings:{image:{url:l.source_url,id:l.id}}})}).catch(function(){elementor.documents.getCurrent().history.setActive(!1),$e.run(`document/elements/reset-settings`,{container:elementor.getContainer(c.id),options:{external:!0}}),elementor.documents.getCurrent().history.setActive(!0)}),g.abrupt(`return`,c);case 2:case`end`:return g.stop()}},_callee,this)}));function parse(){return r.apply(this,arguments)}return parse}()}],[{key:`getName`,value:function getName(){return`widget`}},{key:`getReaders`,value:function getReaders(){return[`image`]}},{key:`validate`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(){return B.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt(`return`,!0);case 1:case`end`:return r.stop()}},_callee2)}));function validate(){return r.apply(this,arguments)}return validate}()}])}(zs),Us=__exportAll({Widget:()=>Hs}),Ws,Gs=__esmMin((()=>{b(),w(),Ws=function(){function FilesUploadHandler(){_classCallCheck(this,FilesUploadHandler)}return _createClass(FilesUploadHandler,null,[{key:`isUploadEnabled`,value:function isUploadEnabled(r){return![`svg`,`application/json`].includes(r)||elementorCommon.config.filesUpload.unfilteredFiles}},{key:`setUploadTypeCaller`,value:function setUploadTypeCaller(r){r.uploader.uploader.param(`uploadTypeCaller`,`elementor-wp-media-upload`)}},{key:`getUnfilteredFilesNonAdminDialog`,value:function getUnfilteredFilesNonAdminDialog(){return elementorCommon.dialogsManager.createWidget(`alert`,{id:`e-unfiltered-files-disabled-dialog`,headerMessage:(0,r.__)(`Sorry, you can't upload that file yet`,`elementor`),message:(0,r.__)(`This is because JSON files may pose a security risk.`,`elementor`)+`<br><br>`+(0,r.__)(`To upload them anyway, ask the site administrator to enable unfiltered file uploads.`,`elementor`),strings:{confirm:(0,r.__)(`Got it`,`elementor`)}})}},{key:`getUnfilteredFilesNotEnabledDialog`,value:function getUnfilteredFilesNotEnabledDialog(c){var l=window.elementorAdmin||window.elementor;return l.config.user.is_administrator?l.helpers.getSimpleDialog(`e-enable-unfiltered-files-dialog`,(0,r.__)(`Enable Unfiltered File Uploads`,`elementor`),(0,r.__)(`Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.`,`elementor`),(0,r.__)(`Enable`,`elementor`),function onConfirm(){elementorCommon.ajax.addRequest(`enable_unfiltered_files_upload`,{},!0),elementorCommon.config.filesUpload.unfilteredFiles=!0,c()}):this.getUnfilteredFilesNonAdminDialog()}},{key:`getUnfilteredFilesNotEnabledImportTemplateDialog`,value:function getUnfilteredFilesNotEnabledImportTemplateDialog(c){return(window.elementorAdmin||window.elementor).config.user.is_administrator?elementorCommon.dialogsManager.createWidget(`confirm`,{id:`e-enable-unfiltered-files-dialog-import-template`,headerMessage:(0,r.__)(`Enable Unfiltered File Uploads`,`elementor`),message:(0,r.__)(`Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.`,`elementor`)+`<br /><br />`+(0,r.__)(`If you do not enable uploading unfiltered files, any SVG or JSON (including lottie) files used in the uploaded template will not be imported.`,`elementor`),position:{my:`center center`,at:`center center`},strings:{confirm:(0,r.__)(`Enable and Import`,`elementor`),cancel:(0,r.__)(`Import Without Enabling`,`elementor`)},onConfirm:function onConfirm(){elementorCommon.ajax.addRequest(`enable_unfiltered_files_upload`,{success:function success(){elementorCommon.config.filesUpload.unfilteredFiles=!0,c()}},!0)},onCancel:function onCancel(){return c()}}):this.getUnfilteredFilesNonAdminDialog()}}])}()}));N(),b(),w(),E(),D(),A(),Gs();function _callSuper$181(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$181()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$181,`_callSuper`);function _isNativeReflectConstruct$181(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$181=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$181,`_isNativeReflectConstruct`);var Ks=function(r){function Elements(){return _classCallCheck(this,Elements),_callSuper$181(this,Elements,arguments)}return _inherits(Elements,r),_createClass(Elements,[{key:`parse`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){return B.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=1,this.reader.getData();case 1:return r.abrupt(`return`,r.sent.content.map(function(r){return Vs.createElementContainer(r)}));case 2:case`end`:return r.stop()}},_callee,this)}));function parse(){return r.apply(this,arguments)}return parse}()}],[{key:`getName`,value:function getName(){return`elements`}},{key:`getReaders`,value:function getReaders(){return[`json`]}},{key:`validate`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee3(r){var c=this;return B.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(elementorCommon.config.filesUpload.unfilteredFiles){l.next=1;break}return l.abrupt(`return`,new Promise(function(l){Ws.getUnfilteredFilesNotEnabledImportTemplateDialog(_asyncToGenerator(B.default.mark(function _callee2(){var u;return B.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=1,c.validateData(r);case 1:u=p.sent,l(u);case 2:case`end`:return p.stop()}},_callee2)}))).show()}));case 1:return l.next=2,this.validateData(r);case 2:return l.abrupt(`return`,l.sent);case 3:case`end`:return l.stop()}},_callee3,this)}));function validate(c){return r.apply(this,arguments)}return validate}()},{key:`validateData`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee4(r){var c;return B.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=1,r.getData();case 1:return c=l.sent,l.abrupt(`return`,c.version&&c.type&&Array.isArray(c.content));case 2:case`end`:return l.stop()}},_callee4)}));function validateData(c){return r.apply(this,arguments)}return validateData}()}])}(Rs),qs=__exportAll({Elements:()=>Ks});N(),b(),w(),E(),D(),A();function _callSuper$180(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$180()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$180,`_callSuper`);function _isNativeReflectConstruct$180(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$180=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$180,`_isNativeReflectConstruct`);var Js=function(r){function Widget(){return _classCallCheck(this,Widget),_callSuper$180(this,Widget,arguments)}return _inherits(Widget,r),_createClass(Widget,[{key:`parse`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){var r,c,l,u,p,m,h;return B.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=this.reader.getFile(),l=Vs,g.next=1,this.reader.getDataUrl();case 1:return u=g.sent,p=r.name.split(`.`)[0],m={url:u,alt:p,source:`library`},h={video_type:`hosted`,hosted_url:m},c=l.createElementContainer.call(l,{widgetType:`video`,settings:h}),this.upload(r).then(function(r){var l=r.data;$e.internal(`document/elements/set-settings`,{container:elementor.getContainer(c.id),settings:{hosted_url:{url:l.source_url,id:l.id}}})}).catch(function(){elementor.documents.getCurrent().history.setActive(!1),$e.run(`document/elements/reset-settings`,{container:elementor.getContainer(c.id),options:{external:!0}}),elementor.documents.getCurrent().history.setActive(!0)}),g.abrupt(`return`,c);case 2:case`end`:return g.stop()}},_callee,this)}));function parse(){return r.apply(this,arguments)}return parse}()}],[{key:`getName`,value:function getName(){return`widget`}},{key:`getReaders`,value:function getReaders(){return[`video`]}},{key:`validate`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(){return B.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt(`return`,!0);case 1:case`end`:return r.stop()}},_callee2)}));function validate(){return r.apply(this,arguments)}return validate}()}])}(zs),Ys=__exportAll({Widget:()=>Js}),Xs=__exportAll({base:()=>Bs,image:()=>Us,json:()=>qs,video:()=>Ys});x();var Zs=function recursiveValues(r){return Object.values(r).map(function(r){return _typeof(r)===`object`?Object.values(r):r})},Qs={readers:Zs(Ls),parsers:Zs(Xs).flat()},$s=__commonJSMin(((r,c)=>{function Mime(){this._types=Object.create(null),this._extensions=Object.create(null);for(let r=0;r<arguments.length;r++)this.define(arguments[r]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}Mime.prototype.define=function(r,c){for(let l in r){let u=r[l].map(function(r){return r.toLowerCase()});l=l.toLowerCase();for(let r=0;r<u.length;r++){let p=u[r];if(p[0]!==`*`){if(!c&&p in this._types)throw Error(`Attempt to change mapping for "`+p+`" extension from "`+this._types[p]+`" to "`+l+'". Pass `force=true` to allow this, otherwise remove "'+p+`" from the list of extensions for "`+l+`".`);this._types[p]=l}}if(c||!this._extensions[l]){let r=u[0];this._extensions[l]=r[0]===`*`?r.substr(1):r}}},Mime.prototype.getType=function(r){r=String(r);let c=r.replace(/^.*[/\\]/,``).toLowerCase(),l=c.replace(/^.*\./,``).toLowerCase(),u=c.length<r.length;return(l.length<c.length-1||!u)&&this._types[l]||null},Mime.prototype.getExtension=function(r){return r=/^\s*([^;\s]*)/.test(r)&&RegExp.$1,r&&this._extensions[r.toLowerCase()]||null},c.exports=Mime})),ec=__commonJSMin(((r,c)=>{c.exports={"application/andrew-inset":[`ez`],"application/applixware":[`aw`],"application/atom+xml":[`atom`],"application/atomcat+xml":[`atomcat`],"application/atomdeleted+xml":[`atomdeleted`],"application/atomsvc+xml":[`atomsvc`],"application/atsc-dwd+xml":[`dwd`],"application/atsc-held+xml":[`held`],"application/atsc-rsat+xml":[`rsat`],"application/bdoc":[`bdoc`],"application/calendar+xml":[`xcs`],"application/ccxml+xml":[`ccxml`],"application/cdfx+xml":[`cdfx`],"application/cdmi-capability":[`cdmia`],"application/cdmi-container":[`cdmic`],"application/cdmi-domain":[`cdmid`],"application/cdmi-object":[`cdmio`],"application/cdmi-queue":[`cdmiq`],"application/cu-seeme":[`cu`],"application/dash+xml":[`mpd`],"application/davmount+xml":[`davmount`],"application/docbook+xml":[`dbk`],"application/dssc+der":[`dssc`],"application/dssc+xml":[`xdssc`],"application/ecmascript":[`es`,`ecma`],"application/emma+xml":[`emma`],"application/emotionml+xml":[`emotionml`],"application/epub+zip":[`epub`],"application/exi":[`exi`],"application/express":[`exp`],"application/fdt+xml":[`fdt`],"application/font-tdpfr":[`pfr`],"application/geo+json":[`geojson`],"application/gml+xml":[`gml`],"application/gpx+xml":[`gpx`],"application/gxf":[`gxf`],"application/gzip":[`gz`],"application/hjson":[`hjson`],"application/hyperstudio":[`stk`],"application/inkml+xml":[`ink`,`inkml`],"application/ipfix":[`ipfix`],"application/its+xml":[`its`],"application/java-archive":[`jar`,`war`,`ear`],"application/java-serialized-object":[`ser`],"application/java-vm":[`class`],"application/javascript":[`js`,`mjs`],"application/json":[`json`,`map`],"application/json5":[`json5`],"application/jsonml+json":[`jsonml`],"application/ld+json":[`jsonld`],"application/lgr+xml":[`lgr`],"application/lost+xml":[`lostxml`],"application/mac-binhex40":[`hqx`],"application/mac-compactpro":[`cpt`],"application/mads+xml":[`mads`],"application/manifest+json":[`webmanifest`],"application/marc":[`mrc`],"application/marcxml+xml":[`mrcx`],"application/mathematica":[`ma`,`nb`,`mb`],"application/mathml+xml":[`mathml`],"application/mbox":[`mbox`],"application/mediaservercontrol+xml":[`mscml`],"application/metalink+xml":[`metalink`],"application/metalink4+xml":[`meta4`],"application/mets+xml":[`mets`],"application/mmt-aei+xml":[`maei`],"application/mmt-usd+xml":[`musd`],"application/mods+xml":[`mods`],"application/mp21":[`m21`,`mp21`],"application/mp4":[`mp4s`,`m4p`],"application/msword":[`doc`,`dot`],"application/mxf":[`mxf`],"application/n-quads":[`nq`],"application/n-triples":[`nt`],"application/node":[`cjs`],"application/octet-stream":[`bin`,`dms`,`lrf`,`mar`,`so`,`dist`,`distz`,`pkg`,`bpk`,`dump`,`elc`,`deploy`,`exe`,`dll`,`deb`,`dmg`,`iso`,`img`,`msi`,`msp`,`msm`,`buffer`],"application/oda":[`oda`],"application/oebps-package+xml":[`opf`],"application/ogg":[`ogx`],"application/omdoc+xml":[`omdoc`],"application/onenote":[`onetoc`,`onetoc2`,`onetmp`,`onepkg`],"application/oxps":[`oxps`],"application/p2p-overlay+xml":[`relo`],"application/patch-ops-error+xml":[`xer`],"application/pdf":[`pdf`],"application/pgp-encrypted":[`pgp`],"application/pgp-signature":[`asc`,`sig`],"application/pics-rules":[`prf`],"application/pkcs10":[`p10`],"application/pkcs7-mime":[`p7m`,`p7c`],"application/pkcs7-signature":[`p7s`],"application/pkcs8":[`p8`],"application/pkix-attr-cert":[`ac`],"application/pkix-cert":[`cer`],"application/pkix-crl":[`crl`],"application/pkix-pkipath":[`pkipath`],"application/pkixcmp":[`pki`],"application/pls+xml":[`pls`],"application/postscript":[`ai`,`eps`,`ps`],"application/provenance+xml":[`provx`],"application/pskc+xml":[`pskcxml`],"application/raml+yaml":[`raml`],"application/rdf+xml":[`rdf`,`owl`],"application/reginfo+xml":[`rif`],"application/relax-ng-compact-syntax":[`rnc`],"application/resource-lists+xml":[`rl`],"application/resource-lists-diff+xml":[`rld`],"application/rls-services+xml":[`rs`],"application/route-apd+xml":[`rapd`],"application/route-s-tsid+xml":[`sls`],"application/route-usd+xml":[`rusd`],"application/rpki-ghostbusters":[`gbr`],"application/rpki-manifest":[`mft`],"application/rpki-roa":[`roa`],"application/rsd+xml":[`rsd`],"application/rss+xml":[`rss`],"application/rtf":[`rtf`],"application/sbml+xml":[`sbml`],"application/scvp-cv-request":[`scq`],"application/scvp-cv-response":[`scs`],"application/scvp-vp-request":[`spq`],"application/scvp-vp-response":[`spp`],"application/sdp":[`sdp`],"application/senml+xml":[`senmlx`],"application/sensml+xml":[`sensmlx`],"application/set-payment-initiation":[`setpay`],"application/set-registration-initiation":[`setreg`],"application/shf+xml":[`shf`],"application/sieve":[`siv`,`sieve`],"application/smil+xml":[`smi`,`smil`],"application/sparql-query":[`rq`],"application/sparql-results+xml":[`srx`],"application/srgs":[`gram`],"application/srgs+xml":[`grxml`],"application/sru+xml":[`sru`],"application/ssdl+xml":[`ssdl`],"application/ssml+xml":[`ssml`],"application/swid+xml":[`swidtag`],"application/tei+xml":[`tei`,`teicorpus`],"application/thraud+xml":[`tfi`],"application/timestamped-data":[`tsd`],"application/toml":[`toml`],"application/trig":[`trig`],"application/ttml+xml":[`ttml`],"application/ubjson":[`ubj`],"application/urc-ressheet+xml":[`rsheet`],"application/urc-targetdesc+xml":[`td`],"application/voicexml+xml":[`vxml`],"application/wasm":[`wasm`],"application/widget":[`wgt`],"application/winhlp":[`hlp`],"application/wsdl+xml":[`wsdl`],"application/wspolicy+xml":[`wspolicy`],"application/xaml+xml":[`xaml`],"application/xcap-att+xml":[`xav`],"application/xcap-caps+xml":[`xca`],"application/xcap-diff+xml":[`xdf`],"application/xcap-el+xml":[`xel`],"application/xcap-ns+xml":[`xns`],"application/xenc+xml":[`xenc`],"application/xhtml+xml":[`xhtml`,`xht`],"application/xliff+xml":[`xlf`],"application/xml":[`xml`,`xsl`,`xsd`,`rng`],"application/xml-dtd":[`dtd`],"application/xop+xml":[`xop`],"application/xproc+xml":[`xpl`],"application/xslt+xml":[`*xsl`,`xslt`],"application/xspf+xml":[`xspf`],"application/xv+xml":[`mxml`,`xhvml`,`xvml`,`xvm`],"application/yang":[`yang`],"application/yin+xml":[`yin`],"application/zip":[`zip`],"audio/3gpp":[`*3gpp`],"audio/adpcm":[`adp`],"audio/amr":[`amr`],"audio/basic":[`au`,`snd`],"audio/midi":[`mid`,`midi`,`kar`,`rmi`],"audio/mobile-xmf":[`mxmf`],"audio/mp3":[`*mp3`],"audio/mp4":[`m4a`,`mp4a`],"audio/mpeg":[`mpga`,`mp2`,`mp2a`,`mp3`,`m2a`,`m3a`],"audio/ogg":[`oga`,`ogg`,`spx`,`opus`],"audio/s3m":[`s3m`],"audio/silk":[`sil`],"audio/wav":[`wav`],"audio/wave":[`*wav`],"audio/webm":[`weba`],"audio/xm":[`xm`],"font/collection":[`ttc`],"font/otf":[`otf`],"font/ttf":[`ttf`],"font/woff":[`woff`],"font/woff2":[`woff2`],"image/aces":[`exr`],"image/apng":[`apng`],"image/avif":[`avif`],"image/bmp":[`bmp`],"image/cgm":[`cgm`],"image/dicom-rle":[`drle`],"image/emf":[`emf`],"image/fits":[`fits`],"image/g3fax":[`g3`],"image/gif":[`gif`],"image/heic":[`heic`],"image/heic-sequence":[`heics`],"image/heif":[`heif`],"image/heif-sequence":[`heifs`],"image/hej2k":[`hej2`],"image/hsj2":[`hsj2`],"image/ief":[`ief`],"image/jls":[`jls`],"image/jp2":[`jp2`,`jpg2`],"image/jpeg":[`jpeg`,`jpg`,`jpe`],"image/jph":[`jph`],"image/jphc":[`jhc`],"image/jpm":[`jpm`],"image/jpx":[`jpx`,`jpf`],"image/jxr":[`jxr`],"image/jxra":[`jxra`],"image/jxrs":[`jxrs`],"image/jxs":[`jxs`],"image/jxsc":[`jxsc`],"image/jxsi":[`jxsi`],"image/jxss":[`jxss`],"image/ktx":[`ktx`],"image/ktx2":[`ktx2`],"image/png":[`png`],"image/sgi":[`sgi`],"image/svg+xml":[`svg`,`svgz`],"image/t38":[`t38`],"image/tiff":[`tif`,`tiff`],"image/tiff-fx":[`tfx`],"image/webp":[`webp`],"image/wmf":[`wmf`],"message/disposition-notification":[`disposition-notification`],"message/global":[`u8msg`],"message/global-delivery-status":[`u8dsn`],"message/global-disposition-notification":[`u8mdn`],"message/global-headers":[`u8hdr`],"message/rfc822":[`eml`,`mime`],"model/3mf":[`3mf`],"model/gltf+json":[`gltf`],"model/gltf-binary":[`glb`],"model/iges":[`igs`,`iges`],"model/mesh":[`msh`,`mesh`,`silo`],"model/mtl":[`mtl`],"model/obj":[`obj`],"model/step+xml":[`stpx`],"model/step+zip":[`stpz`],"model/step-xml+zip":[`stpxz`],"model/stl":[`stl`],"model/vrml":[`wrl`,`vrml`],"model/x3d+binary":[`*x3db`,`x3dbz`],"model/x3d+fastinfoset":[`x3db`],"model/x3d+vrml":[`*x3dv`,`x3dvz`],"model/x3d+xml":[`x3d`,`x3dz`],"model/x3d-vrml":[`x3dv`],"text/cache-manifest":[`appcache`,`manifest`],"text/calendar":[`ics`,`ifb`],"text/coffeescript":[`coffee`,`litcoffee`],"text/css":[`css`],"text/csv":[`csv`],"text/html":[`html`,`htm`,`shtml`],"text/jade":[`jade`],"text/jsx":[`jsx`],"text/less":[`less`],"text/markdown":[`markdown`,`md`],"text/mathml":[`mml`],"text/mdx":[`mdx`],"text/n3":[`n3`],"text/plain":[`txt`,`text`,`conf`,`def`,`list`,`log`,`in`,`ini`],"text/richtext":[`rtx`],"text/rtf":[`*rtf`],"text/sgml":[`sgml`,`sgm`],"text/shex":[`shex`],"text/slim":[`slim`,`slm`],"text/spdx":[`spdx`],"text/stylus":[`stylus`,`styl`],"text/tab-separated-values":[`tsv`],"text/troff":[`t`,`tr`,`roff`,`man`,`me`,`ms`],"text/turtle":[`ttl`],"text/uri-list":[`uri`,`uris`,`urls`],"text/vcard":[`vcard`],"text/vtt":[`vtt`],"text/xml":[`*xml`],"text/yaml":[`yaml`,`yml`],"video/3gpp":[`3gp`,`3gpp`],"video/3gpp2":[`3g2`],"video/h261":[`h261`],"video/h263":[`h263`],"video/h264":[`h264`],"video/iso.segment":[`m4s`],"video/jpeg":[`jpgv`],"video/jpm":[`*jpm`,`jpgm`],"video/mj2":[`mj2`,`mjp2`],"video/mp2t":[`ts`],"video/mp4":[`mp4`,`mp4v`,`mpg4`],"video/mpeg":[`mpeg`,`mpg`,`mpe`,`m1v`,`m2v`],"video/ogg":[`ogv`],"video/quicktime":[`qt`,`mov`],"video/webm":[`webm`]}})),tc=__commonJSMin(((r,c)=>{c.exports={"application/prs.cww":[`cww`],"application/vnd.1000minds.decision-model+xml":[`1km`],"application/vnd.3gpp.pic-bw-large":[`plb`],"application/vnd.3gpp.pic-bw-small":[`psb`],"application/vnd.3gpp.pic-bw-var":[`pvb`],"application/vnd.3gpp2.tcap":[`tcap`],"application/vnd.3m.post-it-notes":[`pwn`],"application/vnd.accpac.simply.aso":[`aso`],"application/vnd.accpac.simply.imp":[`imp`],"application/vnd.acucobol":[`acu`],"application/vnd.acucorp":[`atc`,`acutc`],"application/vnd.adobe.air-application-installer-package+zip":[`air`],"application/vnd.adobe.formscentral.fcdt":[`fcdt`],"application/vnd.adobe.fxp":[`fxp`,`fxpl`],"application/vnd.adobe.xdp+xml":[`xdp`],"application/vnd.adobe.xfdf":[`xfdf`],"application/vnd.ahead.space":[`ahead`],"application/vnd.airzip.filesecure.azf":[`azf`],"application/vnd.airzip.filesecure.azs":[`azs`],"application/vnd.amazon.ebook":[`azw`],"application/vnd.americandynamics.acc":[`acc`],"application/vnd.amiga.ami":[`ami`],"application/vnd.android.package-archive":[`apk`],"application/vnd.anser-web-certificate-issue-initiation":[`cii`],"application/vnd.anser-web-funds-transfer-initiation":[`fti`],"application/vnd.antix.game-component":[`atx`],"application/vnd.apple.installer+xml":[`mpkg`],"application/vnd.apple.keynote":[`key`],"application/vnd.apple.mpegurl":[`m3u8`],"application/vnd.apple.numbers":[`numbers`],"application/vnd.apple.pages":[`pages`],"application/vnd.apple.pkpass":[`pkpass`],"application/vnd.aristanetworks.swi":[`swi`],"application/vnd.astraea-software.iota":[`iota`],"application/vnd.audiograph":[`aep`],"application/vnd.balsamiq.bmml+xml":[`bmml`],"application/vnd.blueice.multipass":[`mpm`],"application/vnd.bmi":[`bmi`],"application/vnd.businessobjects":[`rep`],"application/vnd.chemdraw+xml":[`cdxml`],"application/vnd.chipnuts.karaoke-mmd":[`mmd`],"application/vnd.cinderella":[`cdy`],"application/vnd.citationstyles.style+xml":[`csl`],"application/vnd.claymore":[`cla`],"application/vnd.cloanto.rp9":[`rp9`],"application/vnd.clonk.c4group":[`c4g`,`c4d`,`c4f`,`c4p`,`c4u`],"application/vnd.cluetrust.cartomobile-config":[`c11amc`],"application/vnd.cluetrust.cartomobile-config-pkg":[`c11amz`],"application/vnd.commonspace":[`csp`],"application/vnd.contact.cmsg":[`cdbcmsg`],"application/vnd.cosmocaller":[`cmc`],"application/vnd.crick.clicker":[`clkx`],"application/vnd.crick.clicker.keyboard":[`clkk`],"application/vnd.crick.clicker.palette":[`clkp`],"application/vnd.crick.clicker.template":[`clkt`],"application/vnd.crick.clicker.wordbank":[`clkw`],"application/vnd.criticaltools.wbs+xml":[`wbs`],"application/vnd.ctc-posml":[`pml`],"application/vnd.cups-ppd":[`ppd`],"application/vnd.curl.car":[`car`],"application/vnd.curl.pcurl":[`pcurl`],"application/vnd.dart":[`dart`],"application/vnd.data-vision.rdz":[`rdz`],"application/vnd.dbf":[`dbf`],"application/vnd.dece.data":[`uvf`,`uvvf`,`uvd`,`uvvd`],"application/vnd.dece.ttml+xml":[`uvt`,`uvvt`],"application/vnd.dece.unspecified":[`uvx`,`uvvx`],"application/vnd.dece.zip":[`uvz`,`uvvz`],"application/vnd.denovo.fcselayout-link":[`fe_launch`],"application/vnd.dna":[`dna`],"application/vnd.dolby.mlp":[`mlp`],"application/vnd.dpgraph":[`dpg`],"application/vnd.dreamfactory":[`dfac`],"application/vnd.ds-keypoint":[`kpxx`],"application/vnd.dvb.ait":[`ait`],"application/vnd.dvb.service":[`svc`],"application/vnd.dynageo":[`geo`],"application/vnd.ecowin.chart":[`mag`],"application/vnd.enliven":[`nml`],"application/vnd.epson.esf":[`esf`],"application/vnd.epson.msf":[`msf`],"application/vnd.epson.quickanime":[`qam`],"application/vnd.epson.salt":[`slt`],"application/vnd.epson.ssf":[`ssf`],"application/vnd.eszigno3+xml":[`es3`,`et3`],"application/vnd.ezpix-album":[`ez2`],"application/vnd.ezpix-package":[`ez3`],"application/vnd.fdf":[`fdf`],"application/vnd.fdsn.mseed":[`mseed`],"application/vnd.fdsn.seed":[`seed`,`dataless`],"application/vnd.flographit":[`gph`],"application/vnd.fluxtime.clip":[`ftc`],"application/vnd.framemaker":[`fm`,`frame`,`maker`,`book`],"application/vnd.frogans.fnc":[`fnc`],"application/vnd.frogans.ltf":[`ltf`],"application/vnd.fsc.weblaunch":[`fsc`],"application/vnd.fujitsu.oasys":[`oas`],"application/vnd.fujitsu.oasys2":[`oa2`],"application/vnd.fujitsu.oasys3":[`oa3`],"application/vnd.fujitsu.oasysgp":[`fg5`],"application/vnd.fujitsu.oasysprs":[`bh2`],"application/vnd.fujixerox.ddd":[`ddd`],"application/vnd.fujixerox.docuworks":[`xdw`],"application/vnd.fujixerox.docuworks.binder":[`xbd`],"application/vnd.fuzzysheet":[`fzs`],"application/vnd.genomatix.tuxedo":[`txd`],"application/vnd.geogebra.file":[`ggb`],"application/vnd.geogebra.tool":[`ggt`],"application/vnd.geometry-explorer":[`gex`,`gre`],"application/vnd.geonext":[`gxt`],"application/vnd.geoplan":[`g2w`],"application/vnd.geospace":[`g3w`],"application/vnd.gmx":[`gmx`],"application/vnd.google-apps.document":[`gdoc`],"application/vnd.google-apps.presentation":[`gslides`],"application/vnd.google-apps.spreadsheet":[`gsheet`],"application/vnd.google-earth.kml+xml":[`kml`],"application/vnd.google-earth.kmz":[`kmz`],"application/vnd.grafeq":[`gqf`,`gqs`],"application/vnd.groove-account":[`gac`],"application/vnd.groove-help":[`ghf`],"application/vnd.groove-identity-message":[`gim`],"application/vnd.groove-injector":[`grv`],"application/vnd.groove-tool-message":[`gtm`],"application/vnd.groove-tool-template":[`tpl`],"application/vnd.groove-vcard":[`vcg`],"application/vnd.hal+xml":[`hal`],"application/vnd.handheld-entertainment+xml":[`zmm`],"application/vnd.hbci":[`hbci`],"application/vnd.hhe.lesson-player":[`les`],"application/vnd.hp-hpgl":[`hpgl`],"application/vnd.hp-hpid":[`hpid`],"application/vnd.hp-hps":[`hps`],"application/vnd.hp-jlyt":[`jlt`],"application/vnd.hp-pcl":[`pcl`],"application/vnd.hp-pclxl":[`pclxl`],"application/vnd.hydrostatix.sof-data":[`sfd-hdstx`],"application/vnd.ibm.minipay":[`mpy`],"application/vnd.ibm.modcap":[`afp`,`listafp`,`list3820`],"application/vnd.ibm.rights-management":[`irm`],"application/vnd.ibm.secure-container":[`sc`],"application/vnd.iccprofile":[`icc`,`icm`],"application/vnd.igloader":[`igl`],"application/vnd.immervision-ivp":[`ivp`],"application/vnd.immervision-ivu":[`ivu`],"application/vnd.insors.igm":[`igm`],"application/vnd.intercon.formnet":[`xpw`,`xpx`],"application/vnd.intergeo":[`i2g`],"application/vnd.intu.qbo":[`qbo`],"application/vnd.intu.qfx":[`qfx`],"application/vnd.ipunplugged.rcprofile":[`rcprofile`],"application/vnd.irepository.package+xml":[`irp`],"application/vnd.is-xpr":[`xpr`],"application/vnd.isac.fcs":[`fcs`],"application/vnd.jam":[`jam`],"application/vnd.jcp.javame.midlet-rms":[`rms`],"application/vnd.jisp":[`jisp`],"application/vnd.joost.joda-archive":[`joda`],"application/vnd.kahootz":[`ktz`,`ktr`],"application/vnd.kde.karbon":[`karbon`],"application/vnd.kde.kchart":[`chrt`],"application/vnd.kde.kformula":[`kfo`],"application/vnd.kde.kivio":[`flw`],"application/vnd.kde.kontour":[`kon`],"application/vnd.kde.kpresenter":[`kpr`,`kpt`],"application/vnd.kde.kspread":[`ksp`],"application/vnd.kde.kword":[`kwd`,`kwt`],"application/vnd.kenameaapp":[`htke`],"application/vnd.kidspiration":[`kia`],"application/vnd.kinar":[`kne`,`knp`],"application/vnd.koan":[`skp`,`skd`,`skt`,`skm`],"application/vnd.kodak-descriptor":[`sse`],"application/vnd.las.las+xml":[`lasxml`],"application/vnd.llamagraphics.life-balance.desktop":[`lbd`],"application/vnd.llamagraphics.life-balance.exchange+xml":[`lbe`],"application/vnd.lotus-1-2-3":[`123`],"application/vnd.lotus-approach":[`apr`],"application/vnd.lotus-freelance":[`pre`],"application/vnd.lotus-notes":[`nsf`],"application/vnd.lotus-organizer":[`org`],"application/vnd.lotus-screencam":[`scm`],"application/vnd.lotus-wordpro":[`lwp`],"application/vnd.macports.portpkg":[`portpkg`],"application/vnd.mapbox-vector-tile":[`mvt`],"application/vnd.mcd":[`mcd`],"application/vnd.medcalcdata":[`mc1`],"application/vnd.mediastation.cdkey":[`cdkey`],"application/vnd.mfer":[`mwf`],"application/vnd.mfmp":[`mfm`],"application/vnd.micrografx.flo":[`flo`],"application/vnd.micrografx.igx":[`igx`],"application/vnd.mif":[`mif`],"application/vnd.mobius.daf":[`daf`],"application/vnd.mobius.dis":[`dis`],"application/vnd.mobius.mbk":[`mbk`],"application/vnd.mobius.mqy":[`mqy`],"application/vnd.mobius.msl":[`msl`],"application/vnd.mobius.plc":[`plc`],"application/vnd.mobius.txf":[`txf`],"application/vnd.mophun.application":[`mpn`],"application/vnd.mophun.certificate":[`mpc`],"application/vnd.mozilla.xul+xml":[`xul`],"application/vnd.ms-artgalry":[`cil`],"application/vnd.ms-cab-compressed":[`cab`],"application/vnd.ms-excel":[`xls`,`xlm`,`xla`,`xlc`,`xlt`,`xlw`],"application/vnd.ms-excel.addin.macroenabled.12":[`xlam`],"application/vnd.ms-excel.sheet.binary.macroenabled.12":[`xlsb`],"application/vnd.ms-excel.sheet.macroenabled.12":[`xlsm`],"application/vnd.ms-excel.template.macroenabled.12":[`xltm`],"application/vnd.ms-fontobject":[`eot`],"application/vnd.ms-htmlhelp":[`chm`],"application/vnd.ms-ims":[`ims`],"application/vnd.ms-lrm":[`lrm`],"application/vnd.ms-officetheme":[`thmx`],"application/vnd.ms-outlook":[`msg`],"application/vnd.ms-pki.seccat":[`cat`],"application/vnd.ms-pki.stl":[`*stl`],"application/vnd.ms-powerpoint":[`ppt`,`pps`,`pot`],"application/vnd.ms-powerpoint.addin.macroenabled.12":[`ppam`],"application/vnd.ms-powerpoint.presentation.macroenabled.12":[`pptm`],"application/vnd.ms-powerpoint.slide.macroenabled.12":[`sldm`],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":[`ppsm`],"application/vnd.ms-powerpoint.template.macroenabled.12":[`potm`],"application/vnd.ms-project":[`mpp`,`mpt`],"application/vnd.ms-word.document.macroenabled.12":[`docm`],"application/vnd.ms-word.template.macroenabled.12":[`dotm`],"application/vnd.ms-works":[`wps`,`wks`,`wcm`,`wdb`],"application/vnd.ms-wpl":[`wpl`],"application/vnd.ms-xpsdocument":[`xps`],"application/vnd.mseq":[`mseq`],"application/vnd.musician":[`mus`],"application/vnd.muvee.style":[`msty`],"application/vnd.mynfc":[`taglet`],"application/vnd.neurolanguage.nlu":[`nlu`],"application/vnd.nitf":[`ntf`,`nitf`],"application/vnd.noblenet-directory":[`nnd`],"application/vnd.noblenet-sealer":[`nns`],"application/vnd.noblenet-web":[`nnw`],"application/vnd.nokia.n-gage.ac+xml":[`*ac`],"application/vnd.nokia.n-gage.data":[`ngdat`],"application/vnd.nokia.n-gage.symbian.install":[`n-gage`],"application/vnd.nokia.radio-preset":[`rpst`],"application/vnd.nokia.radio-presets":[`rpss`],"application/vnd.novadigm.edm":[`edm`],"application/vnd.novadigm.edx":[`edx`],"application/vnd.novadigm.ext":[`ext`],"application/vnd.oasis.opendocument.chart":[`odc`],"application/vnd.oasis.opendocument.chart-template":[`otc`],"application/vnd.oasis.opendocument.database":[`odb`],"application/vnd.oasis.opendocument.formula":[`odf`],"application/vnd.oasis.opendocument.formula-template":[`odft`],"application/vnd.oasis.opendocument.graphics":[`odg`],"application/vnd.oasis.opendocument.graphics-template":[`otg`],"application/vnd.oasis.opendocument.image":[`odi`],"application/vnd.oasis.opendocument.image-template":[`oti`],"application/vnd.oasis.opendocument.presentation":[`odp`],"application/vnd.oasis.opendocument.presentation-template":[`otp`],"application/vnd.oasis.opendocument.spreadsheet":[`ods`],"application/vnd.oasis.opendocument.spreadsheet-template":[`ots`],"application/vnd.oasis.opendocument.text":[`odt`],"application/vnd.oasis.opendocument.text-master":[`odm`],"application/vnd.oasis.opendocument.text-template":[`ott`],"application/vnd.oasis.opendocument.text-web":[`oth`],"application/vnd.olpc-sugar":[`xo`],"application/vnd.oma.dd2+xml":[`dd2`],"application/vnd.openblox.game+xml":[`obgx`],"application/vnd.openofficeorg.extension":[`oxt`],"application/vnd.openstreetmap.data+xml":[`osm`],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[`pptx`],"application/vnd.openxmlformats-officedocument.presentationml.slide":[`sldx`],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":[`ppsx`],"application/vnd.openxmlformats-officedocument.presentationml.template":[`potx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":[`xlsx`],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":[`xltx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[`docx`],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":[`dotx`],"application/vnd.osgeo.mapguide.package":[`mgp`],"application/vnd.osgi.dp":[`dp`],"application/vnd.osgi.subsystem":[`esa`],"application/vnd.palm":[`pdb`,`pqa`,`oprc`],"application/vnd.pawaafile":[`paw`],"application/vnd.pg.format":[`str`],"application/vnd.pg.osasli":[`ei6`],"application/vnd.picsel":[`efif`],"application/vnd.pmi.widget":[`wg`],"application/vnd.pocketlearn":[`plf`],"application/vnd.powerbuilder6":[`pbd`],"application/vnd.previewsystems.box":[`box`],"application/vnd.proteus.magazine":[`mgz`],"application/vnd.publishare-delta-tree":[`qps`],"application/vnd.pvi.ptid1":[`ptid`],"application/vnd.quark.quarkxpress":[`qxd`,`qxt`,`qwd`,`qwt`,`qxl`,`qxb`],"application/vnd.rar":[`rar`],"application/vnd.realvnc.bed":[`bed`],"application/vnd.recordare.musicxml":[`mxl`],"application/vnd.recordare.musicxml+xml":[`musicxml`],"application/vnd.rig.cryptonote":[`cryptonote`],"application/vnd.rim.cod":[`cod`],"application/vnd.rn-realmedia":[`rm`],"application/vnd.rn-realmedia-vbr":[`rmvb`],"application/vnd.route66.link66+xml":[`link66`],"application/vnd.sailingtracker.track":[`st`],"application/vnd.seemail":[`see`],"application/vnd.sema":[`sema`],"application/vnd.semd":[`semd`],"application/vnd.semf":[`semf`],"application/vnd.shana.informed.formdata":[`ifm`],"application/vnd.shana.informed.formtemplate":[`itp`],"application/vnd.shana.informed.interchange":[`iif`],"application/vnd.shana.informed.package":[`ipk`],"application/vnd.simtech-mindmapper":[`twd`,`twds`],"application/vnd.smaf":[`mmf`],"application/vnd.smart.teacher":[`teacher`],"application/vnd.software602.filler.form+xml":[`fo`],"application/vnd.solent.sdkm+xml":[`sdkm`,`sdkd`],"application/vnd.spotfire.dxp":[`dxp`],"application/vnd.spotfire.sfs":[`sfs`],"application/vnd.stardivision.calc":[`sdc`],"application/vnd.stardivision.draw":[`sda`],"application/vnd.stardivision.impress":[`sdd`],"application/vnd.stardivision.math":[`smf`],"application/vnd.stardivision.writer":[`sdw`,`vor`],"application/vnd.stardivision.writer-global":[`sgl`],"application/vnd.stepmania.package":[`smzip`],"application/vnd.stepmania.stepchart":[`sm`],"application/vnd.sun.wadl+xml":[`wadl`],"application/vnd.sun.xml.calc":[`sxc`],"application/vnd.sun.xml.calc.template":[`stc`],"application/vnd.sun.xml.draw":[`sxd`],"application/vnd.sun.xml.draw.template":[`std`],"application/vnd.sun.xml.impress":[`sxi`],"application/vnd.sun.xml.impress.template":[`sti`],"application/vnd.sun.xml.math":[`sxm`],"application/vnd.sun.xml.writer":[`sxw`],"application/vnd.sun.xml.writer.global":[`sxg`],"application/vnd.sun.xml.writer.template":[`stw`],"application/vnd.sus-calendar":[`sus`,`susp`],"application/vnd.svd":[`svd`],"application/vnd.symbian.install":[`sis`,`sisx`],"application/vnd.syncml+xml":[`xsm`],"application/vnd.syncml.dm+wbxml":[`bdm`],"application/vnd.syncml.dm+xml":[`xdm`],"application/vnd.syncml.dmddf+xml":[`ddf`],"application/vnd.tao.intent-module-archive":[`tao`],"application/vnd.tcpdump.pcap":[`pcap`,`cap`,`dmp`],"application/vnd.tmobile-livetv":[`tmo`],"application/vnd.trid.tpt":[`tpt`],"application/vnd.triscape.mxs":[`mxs`],"application/vnd.trueapp":[`tra`],"application/vnd.ufdl":[`ufd`,`ufdl`],"application/vnd.uiq.theme":[`utz`],"application/vnd.umajin":[`umj`],"application/vnd.unity":[`unityweb`],"application/vnd.uoml+xml":[`uoml`],"application/vnd.vcx":[`vcx`],"application/vnd.visio":[`vsd`,`vst`,`vss`,`vsw`],"application/vnd.visionary":[`vis`],"application/vnd.vsf":[`vsf`],"application/vnd.wap.wbxml":[`wbxml`],"application/vnd.wap.wmlc":[`wmlc`],"application/vnd.wap.wmlscriptc":[`wmlsc`],"application/vnd.webturbo":[`wtb`],"application/vnd.wolfram.player":[`nbp`],"application/vnd.wordperfect":[`wpd`],"application/vnd.wqd":[`wqd`],"application/vnd.wt.stf":[`stf`],"application/vnd.xara":[`xar`],"application/vnd.xfdl":[`xfdl`],"application/vnd.yamaha.hv-dic":[`hvd`],"application/vnd.yamaha.hv-script":[`hvs`],"application/vnd.yamaha.hv-voice":[`hvp`],"application/vnd.yamaha.openscoreformat":[`osf`],"application/vnd.yamaha.openscoreformat.osfpvg+xml":[`osfpvg`],"application/vnd.yamaha.smaf-audio":[`saf`],"application/vnd.yamaha.smaf-phrase":[`spf`],"application/vnd.yellowriver-custom-menu":[`cmp`],"application/vnd.zul":[`zir`,`zirz`],"application/vnd.zzazz.deck+xml":[`zaz`],"application/x-7z-compressed":[`7z`],"application/x-abiword":[`abw`],"application/x-ace-compressed":[`ace`],"application/x-apple-diskimage":[`*dmg`],"application/x-arj":[`arj`],"application/x-authorware-bin":[`aab`,`x32`,`u32`,`vox`],"application/x-authorware-map":[`aam`],"application/x-authorware-seg":[`aas`],"application/x-bcpio":[`bcpio`],"application/x-bdoc":[`*bdoc`],"application/x-bittorrent":[`torrent`],"application/x-blorb":[`blb`,`blorb`],"application/x-bzip":[`bz`],"application/x-bzip2":[`bz2`,`boz`],"application/x-cbr":[`cbr`,`cba`,`cbt`,`cbz`,`cb7`],"application/x-cdlink":[`vcd`],"application/x-cfs-compressed":[`cfs`],"application/x-chat":[`chat`],"application/x-chess-pgn":[`pgn`],"application/x-chrome-extension":[`crx`],"application/x-cocoa":[`cco`],"application/x-conference":[`nsc`],"application/x-cpio":[`cpio`],"application/x-csh":[`csh`],"application/x-debian-package":[`*deb`,`udeb`],"application/x-dgc-compressed":[`dgc`],"application/x-director":[`dir`,`dcr`,`dxr`,`cst`,`cct`,`cxt`,`w3d`,`fgd`,`swa`],"application/x-doom":[`wad`],"application/x-dtbncx+xml":[`ncx`],"application/x-dtbook+xml":[`dtb`],"application/x-dtbresource+xml":[`res`],"application/x-dvi":[`dvi`],"application/x-envoy":[`evy`],"application/x-eva":[`eva`],"application/x-font-bdf":[`bdf`],"application/x-font-ghostscript":[`gsf`],"application/x-font-linux-psf":[`psf`],"application/x-font-pcf":[`pcf`],"application/x-font-snf":[`snf`],"application/x-font-type1":[`pfa`,`pfb`,`pfm`,`afm`],"application/x-freearc":[`arc`],"application/x-futuresplash":[`spl`],"application/x-gca-compressed":[`gca`],"application/x-glulx":[`ulx`],"application/x-gnumeric":[`gnumeric`],"application/x-gramps-xml":[`gramps`],"application/x-gtar":[`gtar`],"application/x-hdf":[`hdf`],"application/x-httpd-php":[`php`],"application/x-install-instructions":[`install`],"application/x-iso9660-image":[`*iso`],"application/x-iwork-keynote-sffkey":[`*key`],"application/x-iwork-numbers-sffnumbers":[`*numbers`],"application/x-iwork-pages-sffpages":[`*pages`],"application/x-java-archive-diff":[`jardiff`],"application/x-java-jnlp-file":[`jnlp`],"application/x-keepass2":[`kdbx`],"application/x-latex":[`latex`],"application/x-lua-bytecode":[`luac`],"application/x-lzh-compressed":[`lzh`,`lha`],"application/x-makeself":[`run`],"application/x-mie":[`mie`],"application/x-mobipocket-ebook":[`prc`,`mobi`],"application/x-ms-application":[`application`],"application/x-ms-shortcut":[`lnk`],"application/x-ms-wmd":[`wmd`],"application/x-ms-wmz":[`wmz`],"application/x-ms-xbap":[`xbap`],"application/x-msaccess":[`mdb`],"application/x-msbinder":[`obd`],"application/x-mscardfile":[`crd`],"application/x-msclip":[`clp`],"application/x-msdos-program":[`*exe`],"application/x-msdownload":[`*exe`,`*dll`,`com`,`bat`,`*msi`],"application/x-msmediaview":[`mvb`,`m13`,`m14`],"application/x-msmetafile":[`*wmf`,`*wmz`,`*emf`,`emz`],"application/x-msmoney":[`mny`],"application/x-mspublisher":[`pub`],"application/x-msschedule":[`scd`],"application/x-msterminal":[`trm`],"application/x-mswrite":[`wri`],"application/x-netcdf":[`nc`,`cdf`],"application/x-ns-proxy-autoconfig":[`pac`],"application/x-nzb":[`nzb`],"application/x-perl":[`pl`,`pm`],"application/x-pilot":[`*prc`,`*pdb`],"application/x-pkcs12":[`p12`,`pfx`],"application/x-pkcs7-certificates":[`p7b`,`spc`],"application/x-pkcs7-certreqresp":[`p7r`],"application/x-rar-compressed":[`*rar`],"application/x-redhat-package-manager":[`rpm`],"application/x-research-info-systems":[`ris`],"application/x-sea":[`sea`],"application/x-sh":[`sh`],"application/x-shar":[`shar`],"application/x-shockwave-flash":[`swf`],"application/x-silverlight-app":[`xap`],"application/x-sql":[`sql`],"application/x-stuffit":[`sit`],"application/x-stuffitx":[`sitx`],"application/x-subrip":[`srt`],"application/x-sv4cpio":[`sv4cpio`],"application/x-sv4crc":[`sv4crc`],"application/x-t3vm-image":[`t3`],"application/x-tads":[`gam`],"application/x-tar":[`tar`],"application/x-tcl":[`tcl`,`tk`],"application/x-tex":[`tex`],"application/x-tex-tfm":[`tfm`],"application/x-texinfo":[`texinfo`,`texi`],"application/x-tgif":[`*obj`],"application/x-ustar":[`ustar`],"application/x-virtualbox-hdd":[`hdd`],"application/x-virtualbox-ova":[`ova`],"application/x-virtualbox-ovf":[`ovf`],"application/x-virtualbox-vbox":[`vbox`],"application/x-virtualbox-vbox-extpack":[`vbox-extpack`],"application/x-virtualbox-vdi":[`vdi`],"application/x-virtualbox-vhd":[`vhd`],"application/x-virtualbox-vmdk":[`vmdk`],"application/x-wais-source":[`src`],"application/x-web-app-manifest+json":[`webapp`],"application/x-x509-ca-cert":[`der`,`crt`,`pem`],"application/x-xfig":[`fig`],"application/x-xliff+xml":[`*xlf`],"application/x-xpinstall":[`xpi`],"application/x-xz":[`xz`],"application/x-zmachine":[`z1`,`z2`,`z3`,`z4`,`z5`,`z6`,`z7`,`z8`],"audio/vnd.dece.audio":[`uva`,`uvva`],"audio/vnd.digital-winds":[`eol`],"audio/vnd.dra":[`dra`],"audio/vnd.dts":[`dts`],"audio/vnd.dts.hd":[`dtshd`],"audio/vnd.lucent.voice":[`lvp`],"audio/vnd.ms-playready.media.pya":[`pya`],"audio/vnd.nuera.ecelp4800":[`ecelp4800`],"audio/vnd.nuera.ecelp7470":[`ecelp7470`],"audio/vnd.nuera.ecelp9600":[`ecelp9600`],"audio/vnd.rip":[`rip`],"audio/x-aac":[`aac`],"audio/x-aiff":[`aif`,`aiff`,`aifc`],"audio/x-caf":[`caf`],"audio/x-flac":[`flac`],"audio/x-m4a":[`*m4a`],"audio/x-matroska":[`mka`],"audio/x-mpegurl":[`m3u`],"audio/x-ms-wax":[`wax`],"audio/x-ms-wma":[`wma`],"audio/x-pn-realaudio":[`ram`,`ra`],"audio/x-pn-realaudio-plugin":[`rmp`],"audio/x-realaudio":[`*ra`],"audio/x-wav":[`*wav`],"chemical/x-cdx":[`cdx`],"chemical/x-cif":[`cif`],"chemical/x-cmdf":[`cmdf`],"chemical/x-cml":[`cml`],"chemical/x-csml":[`csml`],"chemical/x-xyz":[`xyz`],"image/prs.btif":[`btif`],"image/prs.pti":[`pti`],"image/vnd.adobe.photoshop":[`psd`],"image/vnd.airzip.accelerator.azv":[`azv`],"image/vnd.dece.graphic":[`uvi`,`uvvi`,`uvg`,`uvvg`],"image/vnd.djvu":[`djvu`,`djv`],"image/vnd.dvb.subtitle":[`*sub`],"image/vnd.dwg":[`dwg`],"image/vnd.dxf":[`dxf`],"image/vnd.fastbidsheet":[`fbs`],"image/vnd.fpx":[`fpx`],"image/vnd.fst":[`fst`],"image/vnd.fujixerox.edmics-mmr":[`mmr`],"image/vnd.fujixerox.edmics-rlc":[`rlc`],"image/vnd.microsoft.icon":[`ico`],"image/vnd.ms-dds":[`dds`],"image/vnd.ms-modi":[`mdi`],"image/vnd.ms-photo":[`wdp`],"image/vnd.net-fpx":[`npx`],"image/vnd.pco.b16":[`b16`],"image/vnd.tencent.tap":[`tap`],"image/vnd.valve.source.texture":[`vtf`],"image/vnd.wap.wbmp":[`wbmp`],"image/vnd.xiff":[`xif`],"image/vnd.zbrush.pcx":[`pcx`],"image/x-3ds":[`3ds`],"image/x-cmu-raster":[`ras`],"image/x-cmx":[`cmx`],"image/x-freehand":[`fh`,`fhc`,`fh4`,`fh5`,`fh7`],"image/x-icon":[`*ico`],"image/x-jng":[`jng`],"image/x-mrsid-image":[`sid`],"image/x-ms-bmp":[`*bmp`],"image/x-pcx":[`*pcx`],"image/x-pict":[`pic`,`pct`],"image/x-portable-anymap":[`pnm`],"image/x-portable-bitmap":[`pbm`],"image/x-portable-graymap":[`pgm`],"image/x-portable-pixmap":[`ppm`],"image/x-rgb":[`rgb`],"image/x-tga":[`tga`],"image/x-xbitmap":[`xbm`],"image/x-xpixmap":[`xpm`],"image/x-xwindowdump":[`xwd`],"message/vnd.wfa.wsc":[`wsc`],"model/vnd.collada+xml":[`dae`],"model/vnd.dwf":[`dwf`],"model/vnd.gdl":[`gdl`],"model/vnd.gtw":[`gtw`],"model/vnd.mts":[`mts`],"model/vnd.opengex":[`ogex`],"model/vnd.parasolid.transmit.binary":[`x_b`],"model/vnd.parasolid.transmit.text":[`x_t`],"model/vnd.sap.vds":[`vds`],"model/vnd.usdz+zip":[`usdz`],"model/vnd.valve.source.compiled-map":[`bsp`],"model/vnd.vtu":[`vtu`],"text/prs.lines.tag":[`dsc`],"text/vnd.curl":[`curl`],"text/vnd.curl.dcurl":[`dcurl`],"text/vnd.curl.mcurl":[`mcurl`],"text/vnd.curl.scurl":[`scurl`],"text/vnd.dvb.subtitle":[`sub`],"text/vnd.fly":[`fly`],"text/vnd.fmi.flexstor":[`flx`],"text/vnd.graphviz":[`gv`],"text/vnd.in3d.3dml":[`3dml`],"text/vnd.in3d.spot":[`spot`],"text/vnd.sun.j2me.app-descriptor":[`jad`],"text/vnd.wap.wml":[`wml`],"text/vnd.wap.wmlscript":[`wmls`],"text/x-asm":[`s`,`asm`],"text/x-c":[`c`,`cc`,`cxx`,`cpp`,`h`,`hh`,`dic`],"text/x-component":[`htc`],"text/x-fortran":[`f`,`for`,`f77`,`f90`],"text/x-handlebars-template":[`hbs`],"text/x-java-source":[`java`],"text/x-lua":[`lua`],"text/x-markdown":[`mkd`],"text/x-nfo":[`nfo`],"text/x-opml":[`opml`],"text/x-org":[`*org`],"text/x-pascal":[`p`,`pas`],"text/x-processing":[`pde`],"text/x-sass":[`sass`],"text/x-scss":[`scss`],"text/x-setext":[`etx`],"text/x-sfv":[`sfv`],"text/x-suse-ymp":[`ymp`],"text/x-uuencode":[`uu`],"text/x-vcalendar":[`vcs`],"text/x-vcard":[`vcf`],"video/vnd.dece.hd":[`uvh`,`uvvh`],"video/vnd.dece.mobile":[`uvm`,`uvvm`],"video/vnd.dece.pd":[`uvp`,`uvvp`],"video/vnd.dece.sd":[`uvs`,`uvvs`],"video/vnd.dece.video":[`uvv`,`uvvv`],"video/vnd.dvb.file":[`dvb`],"video/vnd.fvt":[`fvt`],"video/vnd.mpegurl":[`mxu`,`m4u`],"video/vnd.ms-playready.media.pyv":[`pyv`],"video/vnd.uvvu.mp4":[`uvu`,`uvvu`],"video/vnd.vivo":[`viv`],"video/x-f4v":[`f4v`],"video/x-fli":[`fli`],"video/x-flv":[`flv`],"video/x-m4v":[`m4v`],"video/x-matroska":[`mkv`,`mk3d`,`mks`],"video/x-mng":[`mng`],"video/x-ms-asf":[`asf`,`asx`],"video/x-ms-vob":[`vob`],"video/x-ms-wm":[`wm`],"video/x-ms-wmv":[`wmv`],"video/x-ms-wmx":[`wmx`],"video/x-ms-wvx":[`wvx`],"video/x-msvideo":[`avi`],"video/x-sgi-movie":[`movie`],"video/x-smv":[`smv`],"x-conference/x-cooltalk":[`ice`]}})),nc=__commonJSMin(((r,c)=>{c.exports=new($s())(ec(),tc())}));b(),w(),P(),Fe();var rc=__toESM(nc()),ic=function(){function Item(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_classCallCheck(this,Item),_defineProperty(this,`file`,void 0),_defineProperty(this,`options`,{}),this.file=this.toFile(r),this.options=c}return _createClass(Item,[{key:`toFile`,value:function toFile(r){if(!Pe(r,File)){var c=this.options,l=c.fileName,u={type:c.type||r.type};r=new File(Array.isArray(r)?r:[r],l||this.constructor.createFileName(u),u)}return r}},{key:`getFile`,value:function getFile(){return this.file}},{key:`getReader`,value:function getReader(){return this.options.reader}},{key:`getParser`,value:function getParser(){return this.options.parser}},{key:`setReader`,value:function setReader(r){this.options.reader=r}},{key:`setParser`,value:function setParser(r){this.options.parser=r}}],[{key:`createFileName`,value:function createFileName(r){return[elementorCommon.helpers.getUniqueId(),rc.default.getExtension(r.type)].join(`.`)}}])}();b(),w(),P();function _createForOfIteratorHelper$5(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$5(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}__name(_createForOfIteratorHelper$5,`_createForOfIteratorHelper`);function _unsupportedIterableToArray$5(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$5(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$5(r,c):void 0}}__name(_unsupportedIterableToArray$5,`_unsupportedIterableToArray`);function _arrayLikeToArray$5(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}__name(_arrayLikeToArray$5,`_arrayLikeToArray`);var ac=function(){function ItemCollection(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck(this,ItemCollection),_defineProperty(this,`items`,void 0),this.setItems(r)}return _createClass(ItemCollection,[{key:`setItems`,value:function setItems(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],c=_createForOfIteratorHelper$5(r),l;try{for(c.s();!(l=c.n()).done;)if(!(l.value instanceof ic))throw Error(`ItemCollection can only contain Item objects`)}catch(r){c.e(r)}finally{c.f()}this.items=r}},{key:`getItems`,value:function getItems(){return this.items}},{key:`getFiles`,value:function getFiles(){return this.items.map(function(r){return r.getFile()})}}])}();N(),b(),w(),Fe();var oc=function(){function Normalizer(r){_classCallCheck(this,Normalizer),this.manager=r}return _createClass(Normalizer,[{key:`normalize`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(r){return B.default.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return r instanceof ac||(r=this.toItemCollection(r)),c.abrupt(`return`,r);case 1:case`end`:return c.stop()}},_callee,this)}));function normalize(c){return r.apply(this,arguments)}return normalize}()},{key:`toItemCollection`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(r){var c=this;return B.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return Array.isArray(r)||(r=Pe(r,FileList)||Pe(r,DataTransferItemList)?Array.from(r):[r]),l.abrupt(`return`,Promise.all(r.map(function(r){return r instanceof ic||(r=c.toItem(r)),r})).then(function(r){return new ac(r)}));case 1:case`end`:return l.stop()}},_callee2)}));function toItemCollection(c){return r.apply(this,arguments)}return toItemCollection}()},{key:`toItem`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee3(r){var c;return B.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(Pe(r,[Blob,File,DataTransferItem])){l.next=7;break}l.prev=1,window.atob(r.split(`,`)[1]),l.next=5;break;case 2:return l.prev=2,l.catch(1),l.next=3,this.manager.getMimeTypeOf(r);case 3:if(c=l.sent,!c){l.next=4;break}r=this.constructor.createDataUrl(r,c),l.next=5;break;case 4:throw Error(`The input provided cannot be resolved`);case 5:return l.next=6,fetch(r).then(function(r){return r.blob()});case 6:r=l.sent;case 7:return l.abrupt(`return`,new ic(r));case 8:case`end`:return l.stop()}},_callee3,this,[[1,2]])}));function toItem(c){return r.apply(this,arguments)}return toItem}()}],[{key:`createDataUrl`,value:function createDataUrl(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(!(arguments.length>2&&arguments[2]!==void 0)||arguments[2])&&(r=`base64,${btoa(r)}`),c&&(c+=`;`),`data:${c||``}${r}`}}])}();N(),b(),w(),P();function _createForOfIteratorHelper$4(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$4(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}__name(_createForOfIteratorHelper$4,`_createForOfIteratorHelper`);function _unsupportedIterableToArray$4(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$4(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$4(r,c):void 0}}__name(_unsupportedIterableToArray$4,`_unsupportedIterableToArray`);function _arrayLikeToArray$4(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}__name(_arrayLikeToArray$4,`_arrayLikeToArray`);var sc=function(){function Session(r){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};_classCallCheck(this,Session),_defineProperty(this,`manager`,void 0),_defineProperty(this,`itemCollection`,void 0),_defineProperty(this,`target`,void 0),_defineProperty(this,`options`,{target:{}}),this.manager=r,this.itemCollection=c,this.target=l,Object.assign(this.options,u)}return _createClass(Session,[{key:`validate`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(){var r,c,l,u;return B.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:r=_createForOfIteratorHelper$4(this.itemCollection.getItems()),p.prev=1,r.s();case 2:if((c=r.n()).done){p.next=5;break}return l=c.value,p.next=3,this.manager.getReaderOf(l);case 3:if(p.sent){p.next=4;break}return p.abrupt(`return`,!1);case 4:p.next=2;break;case 5:p.next=7;break;case 6:p.prev=6,u=p.catch(1),r.e(u);case 7:return p.prev=7,r.f(),p.finish(7);case 8:return p.abrupt(`return`,!0);case 9:case`end`:return p.stop()}},_callee,this,[[1,6,7,8]])}));function validate(){return r.apply(this,arguments)}return validate}()},{key:`apply`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(){var r=this,c,l,u,p,m,h;return B.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:c=[],l=_createForOfIteratorHelper$4(this.itemCollection.getItems()),g.prev=1,l.s();case 2:if((u=l.n()).done){g.next=6;break}return p=u.value,g.next=3,this.manager.getParserOf(p,!0);case 3:if(m=g.sent,!m){g.next=4;break}c.push(m.parse()),g.next=5;break;case 4:throw Error(`An error occurred when trying to parse the input`);case 5:g.next=2;break;case 6:g.next=8;break;case 7:g.prev=7,h=g.catch(1),l.e(h);case 8:return g.prev=8,l.f(),g.finish(8);case 9:return g.abrupt(`return`,Promise.all(c).then(function(c){return r.resolve(c.flat())}));case 10:case`end`:return g.stop()}},_callee2,this,[[1,7,8,9]])}));function apply(){return r.apply(this,arguments)}return apply}()},{key:`resolve`,value:function resolve(r){var c=this;return Object.values(r).some(function(r){return r.model.get(`elType`)===`section`})&&(this.target=elementor.getPreviewContainer()),r.map(function(l){switch(l.type){case`container`:case`section`:case`column`:case`e-div-block`:case`widget`:return c.target.view.createElementFromModel(l.model,Object.assign(c.options.target,{event:c.options.event,scrollIntoView:r.indexOf(l)===0}))}})}}])}();N(),b(),w(),E(),D(),A(),P();function _createForOfIteratorHelper$3(r,c){var l=typeof Symbol<`u`&&r[Symbol.iterator]||r[`@@iterator`];if(!l){if(Array.isArray(r)||(l=_unsupportedIterableToArray$3(r))||c&&r&&typeof r.length==`number`){l&&(r=l);var u=0,p=function F(){};return{s:p,n:function n(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function e(r){throw r},f:p}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m,h=!0,g=!1;return{s:function s(){l=l.call(r)},n:function n(){var r=l.next();return h=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{h||l.return==null||l.return()}finally{if(g)throw m}}}}__name(_createForOfIteratorHelper$3,`_createForOfIteratorHelper`);function _unsupportedIterableToArray$3(r,c){if(r){if(typeof r==`string`)return _arrayLikeToArray$3(r,c);var l={}.toString.call(r).slice(8,-1);return l===`Object`&&r.constructor&&(l=r.constructor.name),l===`Map`||l===`Set`?Array.from(r):l===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?_arrayLikeToArray$3(r,c):void 0}}__name(_unsupportedIterableToArray$3,`_unsupportedIterableToArray`);function _arrayLikeToArray$3(r,c){(c==null||c>r.length)&&(c=r.length);for(var l=0,u=Array(c);l<c;l++)u[l]=r[l];return u}__name(_arrayLikeToArray$3,`_arrayLikeToArray`);function _callSuper$179(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$179()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$179,`_callSuper`);function _isNativeReflectConstruct$179(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$179=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$179,`_isNativeReflectConstruct`);var cc=function(r){function Manager(){var r;return _classCallCheck(this,Manager),r=_callSuper$179(this,Manager),_defineProperty(r,`readers`,{}),_defineProperty(r,`parsers`,{}),r.normalizer=new oc(r),$e.components.register(new Ms({manager:r})),r.parseConfig(Qs),r}return _inherits(Manager,r),_createClass(Manager,[{key:`parseConfig`,value:function parseConfig(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=_createForOfIteratorHelper$3(r.readers||{}),l;try{for(c.s();!(l=c.n()).done;){var u,p,m=l.value;((u=(p=m.isActive)==null?void 0:p.call(m))==null||u)&&this.registerFileReader(m)}}catch(r){c.e(r)}finally{c.f()}var h=_createForOfIteratorHelper$3(r.parsers||{}),g;try{for(h.s();!(g=h.n()).done;){var v=g.value;this.registerFileParser(v)}}catch(r){h.e(r)}finally{h.f()}}},{key:`createSession`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee(r,c){var l,u=arguments;return B.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(l=u.length>2&&u[2]!==void 0?u[2]:{},r instanceof ac){p.next=2;break}return p.next=1,this.getNormalizer().normalize(r);case 1:r=p.sent;case 2:return p.abrupt(`return`,new sc(this,r,c,l));case 3:case`end`:return p.stop()}},_callee,this)}));function createSession(c,l){return r.apply(this,arguments)}return createSession}()},{key:`registerFileReader`,value:function registerFileReader(r){this.readers[r.getName()]=r}},{key:`registerFileParser`,value:function registerFileParser(r){var c=_createForOfIteratorHelper$3(r.getReaders()),l;try{for(c.s();!(l=c.n()).done;){var u=l.value;if(this.readers[u])this.parsers[u]||(this.parsers[u]={});else continue;this.parsers[u][r.getName()]=r}}catch(r){c.e(r)}finally{c.f()}}},{key:`getReaderOf`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee2(r){var c,l,u,p,m,h,g,v=arguments;return B.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:c=v.length>1&&v[1]!==void 0&&v[1],l=r.getFile(),u=r.getReader(),p=this.getReaders(u),m=0,h=Object.values(p);case 1:if(!(m<h.length)){y.next=4;break}return g=h[m],y.next=2,g.validate(l);case 2:if(!y.sent){y.next=3;break}return u||r.setReader(g.getName()),y.abrupt(`return`,c?new g(l):g);case 3:m++,y.next=1;break;case 4:return y.abrupt(`return`,!1);case 5:case`end`:return y.stop()}},_callee2,this)}));function getReaderOf(c){return r.apply(this,arguments)}return getReaderOf}()},{key:`getParserOf`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee3(r){var c,l,u,p,m,h,g,v=arguments;return B.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return c=v.length>1&&v[1]!==void 0&&v[1],y.next=1,this.getReaderOf(r,!0);case 1:if(l=y.sent,u=r.getParser(),!l){y.next=5;break}p=this.getParsers(l.constructor.getName(),u),m=0,h=Object.values(p);case 2:if(!(m<h.length)){y.next=5;break}return g=h[m],y.next=3,g.validate(l);case 3:if(!y.sent){y.next=4;break}return u||r.setParser(g.getName()),y.abrupt(`return`,c?new g(l):g);case 4:m++,y.next=2;break;case 5:return y.abrupt(`return`,!1);case 6:case`end`:return y.stop()}},_callee3,this)}));function getParserOf(c){return r.apply(this,arguments)}return getParserOf}()},{key:`getMimeTypeOf`,value:function(){var r=_asyncToGenerator(B.default.mark(function _callee4(r){var c,l,u,p;return B.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:c=0,l=Object.values(this.getReaders());case 1:if(!(c<l.length)){m.next=4;break}return u=l[c],m.next=2,u.resolve(r);case 2:if(p=m.sent,!p){m.next=3;break}return m.abrupt(`return`,p);case 3:c++,m.next=1;break;case 4:return m.abrupt(`return`,!1);case 5:case`end`:return m.stop()}},_callee4,this)}));function getMimeTypeOf(c){return r.apply(this,arguments)}return getMimeTypeOf}()},{key:`getNormalizer`,value:function getNormalizer(){return this.normalizer}},{key:`getReaders`,value:function getReaders(){var r=this,c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return c=Array.isArray(c)?c:[c],c.length?Object.fromEntries(c.filter(function(c){return c in r.readers}).map(function(c){return[c,r.readers[c]]})):this.readers}},{key:`getParsers`,value:function getParsers(r){var c=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return l=Array.isArray(l)?l:[l],l.length?Object.fromEntries(l.filter(function(l){return l in c.parsers[r]}).map(function(l){return[l,c.parsers[r][l]]})):this.parsers[r]||{}}}])}(elementorModules.editor.utils.Module);b(),w(),E(),D(),A();function _callSuper$178(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$178()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$178,`_callSuper`);function _isNativeReflectConstruct$178(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$178=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$178,`_isNativeReflectConstruct`);var lc=function(r){function Drop(){return _classCallCheck(this,Drop),_callSuper$178(this,Drop,arguments)}return _inherits(Drop,r),_createClass(Drop,[{key:`validateArgs`,value:function validateArgs(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.requireContainer(r),this.requireArgumentType(`model`,`object`,r)}},{key:`apply`,value:function apply(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=r.containers,l=c===void 0?[r.container]:c,u=r.options,p=u===void 0?{}:u,m=[];return l.forEach(function(c){m.push(c.view.createElementFromModel(r.model,p))}),l.length===1?m[0]:m}}])}($e.modules.editor.CommandContainerBase);b(),w(),E(),D(),A();function _callSuper$177(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$177()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$177,`_callSuper`);function _isNativeReflectConstruct$177(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$177=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$177,`_isNativeReflectConstruct`);var uc=function(r){function Reload(){return _classCallCheck(this,Reload),_callSuper$177(this,Reload,arguments)}return _inherits(Reload,r),_createClass(Reload,[{key:`apply`,value:function apply(){elementor.reloadPreview()}}])}($e.modules.CommandBase),dc=__exportAll({Drop:()=>lc,Reload:()=>uc});b(),w(),E(),D(),A();function _callSuper$176(r,c,l){return c=_getPrototypeOf(c),_possibleConstructorReturn(r,_isNativeReflectConstruct$176()?Reflect.construct(c,l||[],_getPrototypeOf(r).constructor):c.apply(r,l))}__name(_callSuper$176,`_callSuper`);function _isNativeReflectConstruct$176(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct$176=function _isNativeReflectConstruct(){return!!r})()}__name(_isNativeReflectConstruct$176,`_isNativeReflectConstruct`);var fc=function(r){function Component(){return _classCallCheck(this,Component),_callSuper$176(this,Component,arguments)}return _inherits(Component,r),_createClass(Component,[{key:`getNamespace`,value:function getNamespace(){return`preview`}},{key:`defaultCommands`,value:function defaultCommands(){return this.importCommands(dc)}}])}($e.modules.ComponentBase),pc=__commonJSMin(((r,c)=>{c.exports=Marionette.ItemView.extend({template:`#tmpl-elementor-panel-menu-item`,tagName:`button`,className:function className(){return`elementor-panel-menu-item elementor-panel-menu-item-
Showing 512.00 KB of 1.14 MB. Use Edit/Download for full content.

Directory Contents

Dirs: 3 × Files: 397
Name Size Perms Modified Actions
chunks DIR
- drwxr-xr-x 2026-10-13 07:18:06
Edit Download
locales DIR
- drwxr-xr-x 2026-10-13 07:18:06
Edit Download
packages DIR
- drwxr-xr-x 2026-10-29 02:31:40
Edit Download
169 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.23 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
664 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
578 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
61.89 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.42 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.75 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.05 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
43.85 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
62.90 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.83 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.40 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
643 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.10 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
4.99 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.24 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
636 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.80 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
613 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
607 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.33 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
114 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.77 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
4.96 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
4.51 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.60 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.87 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.01 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
60.92 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
4.74 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
696 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.43 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.30 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.81 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
23.37 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
188 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.09 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.83 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
613 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
114 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.83 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.89 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.82 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
754 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.71 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
29.52 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.12 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
694 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
169 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.08 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
10.96 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
4.75 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
4.81 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.30 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
35.96 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.32 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.23 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.10 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
75.91 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
23.23 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
3.65 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
7.74 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
2.77 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.70 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.58 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
24.69 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
14.59 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.58 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
60.74 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
17.34 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
100 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
43.72 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
7.71 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
320 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
137.14 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
83.80 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.58 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
114 B lrw-r--r-- 2026-06-24 12:18:22
Edit Download
5.06 KB lrw-r--r-- 2026-06-24 12:18:22
Edit Download
1.01 MB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
481.68 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
525 B lrw-r--r-- 2026-06-24 12:18:23
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
1.03 MB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
495.12 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
686 B lrw-r--r-- 2026-06-24 12:18:24
Edit Download
191 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
374.12 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
184.73 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:25
Edit Download
21.27 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.02 MB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
489.16 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
686 B lrw-r--r-- 2026-06-24 12:18:26
Edit Download
138 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.02 MB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
489.37 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
686 B lrw-r--r-- 2026-06-24 12:18:27
Edit Download
45 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
1.06 MB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
511.13 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
686 B lrw-r--r-- 2026-06-24 12:18:26
Edit Download
21.27 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
618 B lrw-r--r-- 2026-06-24 12:18:27
Edit Download
1.37 KB lrw-r--r-- 2026-06-24 12:18:27
Edit Download
66.55 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
21.27 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:27
Edit Download
35 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
56.37 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
34.78 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
46.64 KB lrw-r--r-- 2026-09-24 14:32:38
Edit Download
203.75 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
101.92 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:28
Edit Download
46.64 KB lrw-r--r-- 2026-09-24 14:32:38
Edit Download
1.94 MB lrw-r--r-- 2026-09-24 14:32:38
Edit Download
1.01 MB lrw-r--r-- 2026-09-24 14:32:38
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:28
Edit Download
46.64 KB lrw-r--r-- 2026-09-24 14:32:38
Edit Download
22.48 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
11.76 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2026-07-20 08:24:42
Edit Download
63.15 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
20.98 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
155.57 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
66.55 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:29
Edit Download
356 B lrw-r--r-- 2026-03-30 04:19:26
Edit Download
585.62 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
118.97 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
336 B lrw-r--r-- 2026-06-24 12:18:29
Edit Download
1.20 KB lrw-r--r-- 2026-06-24 12:18:29
Edit Download
22.87 KB lrw-r--r-- 2026-06-24 12:18:29
Edit Download
5.94 KB lrw-r--r-- 2026-09-17 03:34:38
Edit Download
2.83 KB lrw-r--r-- 2026-09-17 03:34:38
Edit Download
7.01 KB lrw-r--r-- 2026-09-17 03:34:38
Edit Download
3.32 KB lrw-r--r-- 2026-09-17 03:34:38
Edit Download
1.36 KB lrw-r--r-- 2026-06-24 12:18:29
Edit Download
10.09 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
7.01 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
69 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
669 B lrw-r--r-- 2026-06-24 12:18:29
Edit Download
111.43 KB lrw-r--r-- 2026-06-24 12:18:29
Edit Download
1.28 KB lrw-r--r-- 2026-06-24 12:18:29
Edit Download
613 B lrw-r--r-- 2026-06-24 12:18:29
Edit Download
97.05 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
39.54 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:29
Edit Download
551 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
58.35 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
34.81 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:29
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
82.02 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
50.87 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
431 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
867.81 KB lrw-r--r-- 2026-09-24 14:32:38
Edit Download
472.26 KB lrw-r--r-- 2026-09-24 14:32:38
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:30
Edit Download
431 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
14.50 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
8.46 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
23.65 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
14.22 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
208 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
9.37 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
17.94 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
1.85 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
906 B lrw-r--r-- 2026-06-24 12:18:30
Edit Download
1.73 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
4.48 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
5.33 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
176 B lrw-r--r-- 2026-06-24 12:18:30
Edit Download
14.14 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
14.70 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
3.96 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
1.09 KB lrw-r--r-- 2026-06-24 12:18:30
Edit Download
2.09 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.06 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2026-03-30 04:19:26
Edit Download
9.88 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
5.35 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
1.93 KB lrw-r--r-- 2026-06-24 12:18:31
Edit Download
5.22 KB lrw-r--r-- 2026-06-24 12:18:31
Edit Download
662 B lrw-r--r-- 2026-06-24 12:18:31
Edit Download
16.14 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
8.75 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:31
Edit Download
0 B lrw-r--r-- 2026-06-08 07:18:02
Edit Download
119.35 KB lrw-r--r-- 2026-09-30 04:58:56
Edit Download
53.41 KB lrw-r--r-- 2026-09-30 04:58:56
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:34
Edit Download
381 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.47 MB lrw-r--r-- 2026-10-05 07:19:28
Edit Download
882.18 KB lrw-r--r-- 2026-10-05 07:19:28
Edit Download
69 B lrw-r--r-- 2026-06-24 12:18:35
Edit Download
127 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
5.70 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
3.03 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
160 B lrw-r--r-- 2026-06-24 12:18:35
Edit Download
41 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
5.27 KB lrw-r--r-- 2026-06-24 12:18:31
Edit Download
1.12 KB lrw-r--r-- 2026-06-24 12:18:31
Edit Download
89.84 KB lrw-r--r-- 2026-06-24 12:18:31
Edit Download
1.40 KB lrw-r--r-- 2026-06-24 12:18:31
Edit Download
659 B lrw-r--r-- 2026-06-24 12:18:31
Edit Download
35.49 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
22.26 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
18.95 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
600 B lrw-r--r-- 2026-06-24 12:18:31
Edit Download
206 B lrw-r--r-- 2026-06-24 12:18:31
Edit Download
0 B lrw-r--r-- 2026-06-24 12:18:31
Edit Download
407 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
182 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
25.98 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
13.84 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
332 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
48 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
0 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
821 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
400 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
0 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
816 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
378 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
79.30 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
45.74 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
18.95 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
64.72 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
19.08 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
100 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
595 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
268 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
57.69 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
27.66 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
113.27 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
40.23 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
160 B lrw-r--r-- 2026-06-24 12:18:33
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
1.44 MB lrw-r--r-- 2026-09-23 09:08:12
Edit Download
1,017.18 KB lrw-r--r-- 2026-09-23 09:08:12
Edit Download
410 B lrw-r--r-- 2026-06-24 12:18:34
Edit Download
0 B lrw-r--r-- 2026-01-20 02:52:36
Edit Download
42.94 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
7.45 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
206 B lrw-r--r-- 2026-03-30 04:19:26
Edit Download
120.05 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
46.98 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
352 B lrw-r--r-- 2026-06-24 12:18:34
Edit Download
2.37 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.93 MB lrw-r--r-- 2026-09-30 04:58:56
Edit Download
1.14 MB lrw-r--r-- 2026-09-30 04:58:56
Edit Download
352 B lrw-r--r-- 2026-06-24 12:18:32
Edit Download
2.19 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
636 B lrw-r--r-- 2026-06-24 12:18:34
Edit Download
4.93 KB lrw-r--r-- 2026-06-24 12:18:34
Edit Download
105.90 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
41.72 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
324 B lrw-r--r-- 2026-06-24 12:18:34
Edit Download
2.05 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
8.43 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
5.38 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
4.56 KB lrw-r--r-- 2026-06-24 12:18:35
Edit Download
1.36 KB lrw-r--r-- 2026-06-24 12:18:35
Edit Download
1.90 KB lrw-r--r-- 2026-06-24 12:18:35
Edit Download
1.31 KB lrw-r--r-- 2026-06-24 12:18:35
Edit Download
7.69 KB lrw-r--r-- 2026-06-24 12:18:35
Edit Download
14.64 KB lrw-r--r-- 2026-06-24 12:18:35
Edit Download
18.33 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
12.49 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
43 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
127.60 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
51.84 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
149.16 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
58.62 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
5.29 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
3.83 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
1.58 KB lrw-r--r-- 2026-09-08 05:46:58
Edit Download
905 B lrw-r--r-- 2026-06-24 12:18:35
Edit Download
408 B lrw-r--r-- 2026-06-24 12:18:35
Edit Download
8.65 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
5.41 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
12.22 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
53.11 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
34.63 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:35
Edit Download
13.11 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
15.67 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
8.35 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2026-03-30 04:19:26
Edit Download
24.69 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
13.00 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
47.80 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
28.41 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:35
Edit Download
687 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
364.67 KB lrw-r--r-- 2026-06-24 12:18:35
Edit Download
28.46 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
49.36 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
6.56 KB lrw-r--r-- 2026-09-22 08:33:08
Edit Download
4.09 KB lrw-r--r-- 2026-09-22 08:33:08
Edit Download
231 B lrw-r--r-- 2026-10-05 07:19:28
Edit Download
4.03 KB lrw-r--r-- 2026-10-05 07:19:28
Edit Download
2.08 KB lrw-r--r-- 2026-10-05 07:19:28
Edit Download
231 B lrw-r--r-- 2026-10-05 07:19:28
Edit Download
7.08 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
5.06 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
9.53 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
18.86 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
24.72 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
12.94 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
122.12 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
48.03 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
150 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
20.66 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
11.09 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
25.31 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
13.26 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
7.73 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
4.22 KB lrw-r--r-- 2026-06-24 12:18:36
Edit Download
10.13 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
6.10 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
34 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
10.07 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
6.38 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
276 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
57.95 KB lrw-r--r-- 2026-06-24 12:18:42
Edit Download
8.29 KB lrw-r--r-- 2026-06-24 12:18:42
Edit Download
0 B lrw-r--r-- 2026-06-24 12:18:42
Edit Download
2.85 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.58 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
789 B lrw-r--r-- 2026-06-24 12:18:42
Edit Download
1.89 KB lrw-r--r-- 2026-06-24 12:18:42
Edit Download
14.13 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
9.71 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
76 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
1.70 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
3.38 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
1007 B lrw-r--r-- 2026-06-24 12:18:43
Edit Download
449 B lrw-r--r-- 2026-06-24 12:18:43
Edit Download
1.97 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
1.15 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
8.28 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
15.85 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
156.83 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
63.02 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:43
Edit Download
372 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
25.60 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
66.25 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
65.49 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
41.18 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
372 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
64.26 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
21.82 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
62.93 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
21.04 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
3.61 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
7.67 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
3.00 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
1.32 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
8.36 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
3.25 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
3.68 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
7.77 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
174.99 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
68.38 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
431 B lrw-r--r-- 2026-07-20 08:24:42
Edit Download
6.33 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
3.15 KB lrw-r--r-- 2026-06-24 12:18:43
Edit Download
182.25 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
106.96 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
163 B lrw-r--r-- 2026-06-24 12:18:43
Edit Download
0 B lrw-r--r-- 2025-12-22 06:55:58
Edit Download
103 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
103 B lrw-r--r-- 2026-09-01 06:17:36
Edit Download
757 B lrw-r--r-- 2026-06-24 12:18:43
Edit Download
326 B lrw-r--r-- 2026-06-24 12:18:43
Edit Download
3.40 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
1.69 KB lrw-r--r-- 2026-09-01 06:17:36
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 0xNothings — Secure File Manager. All rights reserved. Built with ❤️ & Tailwind x Dark UI