%PDF- %PDF-
Direktori : /home/tradesc/www/relax/wp-content/plugins/elementor-pro/assets/js/ |
Current File : /home/tradesc/www/relax/wp-content/plugins/elementor-pro/assets/js/editor.min.js |
/*! elementor-pro - v3.25.0 - 20-11-2024 */ /*! For license information please see editor.min.js.LICENSE.txt */ (()=>{var e,t,o={7842:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({elementType:null,__construct(e){this.elementType=e,this.addEditorListener()},updateOptions(e,t){const o=this.getEditorControlView(e);o&&(this.getEditorControlModel(e).set("options",t),o.render())},addEditorListener(){var e=this;if(e.onElementChange){var t="change";"global"!==e.elementType&&(t+=":"+e.elementType),elementor.channels.editor.on(t,(function(t,o){e.onElementChange(t.model.get("name"),t,o)}))}},addControlSpinner(e){const t=this.getEditorControlView(e).$el;if(t.find(".elementor-control-spinner").length)return;t.find(":input").attr("disabled",!0),t.find(".elementor-control-title").after('<span class="elementor-control-spinner"><i class="eicon-spinner eicon-animation-spin"></i> </span>')},removeControlSpinner(e){const t=this.getEditorControlView(e).$el;t.find(":input").attr("disabled",!1),t.find(".elementor-control-spinner").remove()},addControlError(e,t,o=".elementor-control-content"){const n=this.getEditorControlView(e).$el;n.find(".e-control-error").length&&n.find(".e-control-error").remove(),n.find(o).first().after(`<span class="elementor-control-field-description e-control-error">${t}</span>`)},removeControlError(e){this.getEditorControlView(e).$el.find(".e-control-error").remove()},resetControlIndicators(e){this.removeControlSpinner(e),this.removeControlError(e)},addSectionListener(e,t){const o=this;elementor.channels.editor.on("section:activated",(function(n,r){var i=r.getOption("editedElementView").getEditModel(),a=i.get("elType"),s=arguments;"widget"===a&&(a=i.get("widgetType")),o.elementType===a&&e===n&&setTimeout((function(){t.apply(o,s)}),10)}))}})},5184:e=>{"use strict";e.exports=elementorModules.editor.views.ControlsStack.extend({activeTab:"content",activeSection:"settings",initialize(){this.collection=new Backbone.Collection(_.values(this.options.controls))},filter(e){if("section"===e.get("type"))return!0;var t=e.get("section");return!t||t===this.activeSection},childViewOptions(){return{elementSettingsModel:this.model}}})},1570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTierAtLeast=t.TIERS_PRIORITY=void 0;const o=t.TIERS_PRIORITY=Object.freeze(["free","essential","essential-oct2023","advanced","expert","agency"]);t.isTierAtLeast=(e,t)=>{const n=o.indexOf(e),r=o.indexOf(t);return-1!==n&&-1!==r&&n>=r}},1521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybeAddHelperSanitizeUrl=void 0;var n=o(1234);t.maybeAddHelperSanitizeUrl=()=>{if(elementor.helpers.sanitizeUrl)return!1;elementor.helpers.sanitizeUrl=e=>!!e&&(0,n.isValidAttribute)("a","href",e)?e:""}},2098:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.SAVE_CONTEXT=t.EDIT_CONTEXT=void 0,t.createElement=createElement,t.default=function addDocumentHandle({element:e,id:t,title:o=n("Template","elementor-pro")},l=a,d=null,c=null){if(a===l){if(!t||!e)throw Error("`id` and `element` are required.");if(function isCurrentlyEditing(e){return e.classList.contains(i)}(e)||function hasHandle(e){return!!e.querySelector(`:scope > .${r}`)}(e))return}const u=function createHandleElement({title:e,onClick:t},o,i=null){const l=["header","footer"].includes(i?.dataset.elementorType)?"%s":n("Edit %s","elementor-pro"),d=createElement({tag:"div",classNames:[`${r}__inner`],children:[createElement({tag:"i",classNames:[getHandleIcon(o)]}),createElement({tag:"div",classNames:[`${a===o?r:s}__title`],children:[document.createTextNode(a===o?l.replace("%s",e):n("Save %s","elementor-pro").replace("%s",e))]})]}),c=[r];a!==o&&c.push(s);const u=createElement({tag:"div",classNames:c,children:[d]});return u.addEventListener("click",t),u}({title:o,onClick:()=>async function onDocumentClick(e,t,o=null,n=null){a===t?(window.top.$e.internal("panel/state-loading"),await window.top.$e.run("editor/documents/switch",{id:parseInt(e),onClose:o,selector:n}),window.top.$e.internal("panel/state-ready")):(elementorCommon.api.internal("panel/state-loading"),elementorCommon.api.run("editor/documents/switch",{id:elementor.config.initial_document.id,mode:"save",shouldScroll:!1,selector:n}).finally((()=>elementorCommon.api.internal("panel/state-ready"))))}(t,l,d,c)},l,e);e.prepend(u),a===l&&(e.dataset.editableElementorDocument=t)},o(5724);const r="elementor-document-handle",i="elementor-edit-mode",a=t.EDIT_CONTEXT="edit",s="elementor-document-save-back-handle",l=t.SAVE_CONTEXT="save";function getHandleIcon(e){let t="eicon-edit";return l===e&&(t=elementorFrontend.config.is_rtl?"eicon-arrow-right":"eicon-arrow-left"),t}function createElement({tag:e,classNames:t=[],children:o=[]}){const n=document.createElement(e);return n.classList.add(...t),o.forEach((e=>n.appendChild(e))),n}},7952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ConditionsConfig=void 0;class ConditionsConfig extends $e.modules.CommandData{static signature="site-editor/conditions-config";static getEndpointFormat(){return"site-editor/conditions-config/{id}"}}t.ConditionsConfig=ConditionsConfig;t.default=ConditionsConfig},5559:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConditionsConfig",{enumerable:!0,get:function(){return r.ConditionsConfig}}),Object.defineProperty(t,"Templates",{enumerable:!0,get:function(){return n.Templates}}),Object.defineProperty(t,"TemplatesConditions",{enumerable:!0,get:function(){return i.TemplatesConditions}}),Object.defineProperty(t,"TemplatesConditionsConflicts",{enumerable:!0,get:function(){return a.TemplatesConditionsConflicts}});var n=o(7636),r=o(7952),i=o(9591),a=o(7821)},7821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TemplatesConditionsConflicts=void 0;class TemplatesConditionsConflicts extends $e.modules.CommandData{static signature="site-editor/templates-conditions-conflicts";static getEndpointFormat(){return`${TemplatesConditionsConflicts.signature}/{id}`}}t.TemplatesConditionsConflicts=TemplatesConditionsConflicts;t.default=TemplatesConditionsConflicts},9591:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TemplatesConditions=void 0;class TemplatesConditions extends $e.modules.CommandData{static signature="site-editor/templates-conditions";static getEndpointFormat(){return"site-editor/templates-conditions/{id}"}}t.TemplatesConditions=TemplatesConditions;t.default=TemplatesConditions},7636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Templates=void 0;class Templates extends $e.modules.CommandData{static signature="site-editor/templates";static getEndpointFormat(){return"site-editor/templates/{id}"}}t.Templates=Templates;t.default=Templates},2239:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(5559));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentBase{static namespace="site-editor";getNamespace(){return this.constructor.namespace}defaultData(){return this.importCommands(n)}}t.default=Component},2146:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(2239)),i=o(5559);class Module extends elementorModules.editor.utils.Module{onElementorInit(){elementor.documents.getCurrent().config.support_site_editor&&($e.components.register(new r.default),$e.data.deleteCache($e.components.get(r.default.namespace),i.Templates.signature))}}t.default=Module},2100:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorInit(){var e=o(5334);this.assets={font:new e}}})},5334:(e,t,o)=>{"use strict";o(5724),e.exports=elementorModules.Module.extend({_enqueuedFonts:[],_enqueuedTypekit:!1,onFontChange(e,t){"custom"!==e&&"typekit"!==e&&"variable"!==e||-1===this._enqueuedFonts.indexOf(t)&&("typekit"===e&&this._enqueuedTypekit||this.getCustomFont(e,t))},getCustomFont(e,t){elementorPro.ajax.addRequest("assets_manager_panel_action_data",{unique_id:"font_"+e+t,data:{service:"font",type:e,font:t},success(e){e.font_face&&elementor.$previewContents.find("style").last().after('<style type="text/css">'+e.font_face+"</style>"),e.font_url&&elementor.$previewContents.find("link").last().after('<link href="'+e.font_url+'" rel="stylesheet" type="text/css">')}}),this._enqueuedFonts.push(t),"typekit"===e&&(this._enqueuedTypekit=!0)},onInit(){elementor.channels.editor.on("font:insertion",this.onFontChange.bind(this))}})},6714:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.editor.utils.Module{addCustomCss(e,t){if(!t)return;const o=t.model,n=o.get("settings").get("custom_css");let r=".elementor-element.elementor-element-"+o.get("id");return"document"===o.get("elType")&&(r=elementor.config.document.settings.cssWrapperSelector),n&&(e+=n.replace(/selector/g,r)),e}onElementorInit(){elementor.hooks.addFilter("editor/style/styleText",this.addCustomCss),elementor.on("navigator:init",this.onNavigatorInit.bind(this))}onNavigatorInit(){elementor.navigator.indicators.customCSS={icon:"code-bold",settingKeys:["custom_css"],title:n("Custom CSS","elementor-pro"),section:"section_custom_css"}}}t.default=_default},564:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorInit(){elementor.channels.editor.on("section:activated",this.onSectionActivated)},onSectionActivated(e,t){var o=t.getOption("editedElementView");if("flip-box"===o.model.get("widgetType")){var n=-1!==["section_side_b_content","section_style_b"].indexOf(e);o.$el.toggleClass("elementor-flip-box--flipped",n);var r=o.$el.find(".elementor-flip-box__back");n&&r.css("transition","none"),n||setTimeout((function(){r.css("transition","")}),10)}}})},1646:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(6570));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentBase{getNamespace(){return"forms"}defaultHooks(){return this.importHooks(n)}}t.default=Component},8619:(e,t,o)=>{"use strict";var n=o(2470).__;e.exports=elementor.modules.controls.Repeater.extend({onBeforeRender(){this.$el.hide()},updateMap(e){var t=this,o={};t.collection.each((function(e){o[e.get("remote_id")]=e.get("local_id")})),t.collection.reset(),_.each(e,(function(e){var n={remote_id:e.remote_id,remote_label:e.remote_label,remote_type:e.remote_type?e.remote_type:"",remote_required:!!e.remote_required&&e.remote_required,local_id:o[e.remote_id]?o[e.remote_id]:""};t.collection.add(n)})),t.render()},onRender(){elementor.modules.controls.Base.prototype.onRender.apply(this,arguments);var e=this;e.children.each((function(t){var o=t.children.last(),r={"":"- "+n("None","elementor")+" -"},i=t.model.get("remote_label");t.model.get("remote_required")&&(i+='<span class="elementor-required">*</span>'),_.each(e.elementSettingsModel.get("form_fields").models,(function(e,o){var n=t.model.get("remote_type");"text"!==n&&n!==e.get("field_type")||(r[e.get("custom_id")]=e.get("field_label")||"Field #"+(o+1))})),o.model.set("label",i),o.model.set("options",r),o.render(),t.$el.find(".elementor-repeater-row-tools").hide(),t.$el.find(".elementor-repeater-row-controls").removeClass("elementor-repeater-row-controls").find(".elementor-control").css({paddingBottom:0})})),e.$el.find(".elementor-button-wrapper").remove(),e.children.length&&e.$el.show()}})},3253:(e,t,o)=>{"use strict";var n=o(6784)(o(2988));e.exports=class extends elementor.modules.controls.Repeater{className(){let e=super.className();return e+=" elementor-control-type-repeater",e}getChildView(){return n.default}initialize(...e){super.initialize(...e);const t=this.container.settings.get("form_fields");this.listenTo(t,"change",(e=>this.onFormFieldChange(e))).listenTo(t,"remove",(e=>this.onFormFieldRemove(e)))}getFirstChild(){return this.children.findByModel(this.collection.models[0])}lockFirstStep(){const e=this.getFirstChild();if("step"!==e.model.get("field_type"))return;1<this.collection.where({field_type:"step"}).length&&(e.toggleFieldTypeControl(!1),e.toggleTools(!1)),e.toggleSort(!1)}onFormFieldChange(e){const t=e.changed.field_type;if(!t||"step"!==t&&"step"!==e._previousAttributes.field_type)return;const o="step"===t;this.children.findByModel(e).toggleStepField(o),this.onStepFieldChanged(o)}onFormFieldRemove(e){"step"===e.get("field_type")&&this.onStepFieldChanged(!1)}onStepFieldChanged(e){if(e)return void this.lockFirstStep();const t=this.collection.where({field_type:"step"});if(t.length>1)return;const o=this.getFirstChild();if(1===t.length)return o.toggleTools(!0),void o.toggleFieldTypeControl(!0);o.toggleSort(!0)}onAddChild(e){super.onAddChild(e),"step"===e.model.get("field_type")&&(this.lockFirstStep(),e.toggleStepField(!0))}}},2988:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementor.modules.controls.RepeaterRow{toggleFieldTypeControl(e){const t=this.collection.findWhere({name:"field_type"});this.children.findByModel(t).$el.toggle(e)}toggleStepField(e){this.$el.toggleClass("elementor-repeater-row--form-step",e)}toggleTools(e){this.ui.removeButton.add(this.ui.duplicateButton).toggle(e)}}t.default=_default},140:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,n){var r=_.escape(t.css_classes),i="",a="",s="";return t.required&&(i="required"),t.acceptance_text&&(a='<label for="form_field_'+o+'">'+t.acceptance_text+"</label>"),t.checked_by_default&&(s=' checked="checked"'),'<div class="elementor-field-subgroup"><span class="elementor-field-option"><input size="1" type="checkbox"'+s+' class="elementor-acceptance-field elementor-field elementor-size-'+n.input_size+" "+r+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" > "+a+"</span></div>"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/acceptance",this.renderField,10,4)}})},431:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,n){var r=_.escape(t.css_classes),i="",a="",s="",l="";return t.required&&(i="required"),t.min_date&&(a=' min="'+t.min_date+'"'),t.max_date&&(s=' max="'+t.max_date+'"'),t.placeholder&&(l=' placeholder="'+t.placeholder+'"'),"yes"===t.use_native_date&&(r+=" elementor-use-native"),'<input size="1"'+a+s+l+' pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}" type="date" class="elementor-field-textual elementor-date-field elementor-field elementor-size-'+n.input_size+" "+r+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" >"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/date",this.renderField,10,4)}})},9738:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,n){var r=_.escape(t.css_classes),i="",a="";return t.required&&(i="required"),t.placeholder&&(a=' placeholder="'+t.placeholder+'"'),r="elementor-field-textual "+r,'<input size="1" type="'+t.field_type+'" class="elementor-field-textual elementor-field elementor-size-'+n.input_size+" "+r+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" "+a+' pattern="[0-9()-]" >'},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/tel",this.renderField,10,4)}})},326:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,n){var r=_.escape(t.css_classes),i="",a="";return t.required&&(i="required"),t.placeholder&&(a=' placeholder="'+t.placeholder+'"'),"yes"===t.use_native_time&&(r+=" elementor-use-native"),'<input size="1" type="time"'+a+' class="elementor-field-textual elementor-time-field elementor-field elementor-size-'+n.input_size+" "+r+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" >"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/time",this.renderField,10,4)}})},7038:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,n){var r=_.escape(t.css_classes),i="",a="",s="form_field_";return t.required&&(i="required"),t.allow_multiple_upload&&(a=' multiple="multiple"',s+="[]"),'<input size="1" type="file" class="elementor-file-field elementor-field elementor-size-'+n.input_size+" "+r+'" name="'+s+'" id="form_field_'+o+'" '+i+a+" >"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/upload",this.renderField,10,4)}})},8636:(e,t,o)=>{"use strict";o(5724),e.exports=elementorModules.editor.utils.Module.extend({eventName:"site_mailer_forms_email_notice",suffix:"",control:null,onSectionActive(e){["section_email","section_email_2"].includes(e)&&(this.suffix="section_email_2"===e?"_2":"",this.control=null,this.hasPromoControl()&&(elementor.config.user.dismissed_editor_notices.includes("site_mailer_forms_email_notice")?this.getPromoControl().remove():this.registerEvents()))},registerEvents(){const e=this.getPromoControl().$el.find(".elementor-control-notice-dismiss"),onDismissBtnClick=t=>{e.off("click",onDismissBtnClick),t.preventDefault(),this.dismiss(),this.getPromoControl().remove()};e.on("click",onDismissBtnClick);const t=this.getPromoControl().$el.find(".e-btn-1"),onActionBtn=e=>{t.off("click",onActionBtn),e.preventDefault(),this.onAction(e),this.getPromoControl().remove()};t.on("click",onActionBtn)},getPromoControl(){return this.control||(this.control=this.getEditorControlView("site_mailer_promo"+this.suffix)),this.control},hasPromoControl(){return!!this.getPromoControl()},ajaxRequest(e,t){elementorCommon.ajax.addRequest(e,{data:t})},dismiss(){this.ajaxRequest("dismissed_editor_notices",{dismissId:this.eventName}),this.ensureNoPromoControlInSession()},ensureNoPromoControlInSession(){elementor.config.user.dismissed_editor_notices.push(this.eventName)},onAction(e){const{action_url:t=null}=JSON.parse(e.target.closest("button").dataset.settings);t&&window.open(t,"_blank"),this.ajaxRequest("elementor_site_mailer_campaign",{source:"sm-form-install"}),this.ensureNoPromoControlInSession()},onInit(){elementor.channels.editor.on("section:activated",(e=>this.onSectionActive(e)))}})},981:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsSanitizeCustomId=void 0;class FormFieldsSanitizeCustomId extends $e.modules.hookData.Dependency{ID_SANITIZE_FILTER=/[^\w]/g;getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-fields-sanitize-custom-id"}getContainerType(){return"repeater"}getConditions(e){return void 0!==e.settings.custom_id}apply(e){const{containers:t=[e.container],settings:o}=e,{custom_id:n}=o;return!n.match(this.ID_SANITIZE_FILTER)||(t.forEach((e=>{const t=e.panel.getControlView("form_fields").children.findByModel(e.settings).children.find((e=>"custom_id"===e.model.get("name")));t.render(),t.$el.find("input").trigger("focus")})),!1)}}t.FormFieldsSanitizeCustomId=FormFieldsSanitizeCustomId;t.default=FormFieldsSanitizeCustomId},752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsSetCustomId=void 0;class FormFieldsSetCustomId extends $e.modules.hookData.After{getCommand(){return"document/repeater/insert"}getId(){return"elementor-pro-forms-fields-set-custom-id"}getContainerType(){return"widget"}getConditions(e){return"form_fields"===e.name}apply(e,t){const{containers:o=[e.container]}=e,n=$e.commands.isCurrentFirstTrace("document/repeater/duplicate");return o.forEach((e=>{const o=e.repeaters.form_fields.children.find((e=>!!e&&t.get("_id")===e.id));!n&&o.settings.get("custom_id")||$e.run("document/elements/settings",{container:o,settings:{custom_id:"field_"+o.id},options:{external:!0}})})),!0}}t.FormFieldsSetCustomId=FormFieldsSetCustomId;t.default=FormFieldsSetCustomId},9642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsAddFirstStep=void 0;class FormFieldsAddFirstStep extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-fields-first-step"}getContainerType(){return"repeater"}getConditions(e){const{containers:t=[e.container]}=e;return"form"===t[0].parent.parent.model.get("widgetType")&&"step"===e.settings.field_type}apply(e){const{containers:t=[e.container]}=e;return t.forEach((e=>{"step"!==e.parent.children[0].settings.get("field_type")&&$e.run("document/repeater/insert",{container:e.parent.parent,name:"form_fields",model:{field_type:"step"},options:{at:0,external:!0}})})),!0}}t.FormFieldsAddFirstStep=FormFieldsAddFirstStep;t.default=FormFieldsAddFirstStep},4727:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormSanitizeId=void 0;class FormSanitizeId extends $e.modules.hookData.Dependency{ID_SANITIZE_FILTER=/[^\w]/g;getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-sanitize-id"}getContainerType(){return"widget"}getConditions(e){return void 0!==e.settings.form_id}apply(e){const{container:t,settings:o}=e,{form_id:n}=o;if(n.match(this.ID_SANITIZE_FILTER)){const e=t.panel.getControlView("form_id");return e.render(),e.$el.find("input").trigger("focus"),!1}return!0}}t.FormSanitizeId=FormSanitizeId;t.default=FormSanitizeId},735:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormFieldsAddFirstStep",{enumerable:!0,get:function(){return i.FormFieldsAddFirstStep}}),Object.defineProperty(t,"FormFieldsSanitizeCustomId",{enumerable:!0,get:function(){return n.FormFieldsSanitizeCustomId}}),Object.defineProperty(t,"FormFieldsSetCustomId",{enumerable:!0,get:function(){return r.FormFieldsSetCustomId}}),Object.defineProperty(t,"FormSanitizeId",{enumerable:!0,get:function(){return a.FormSanitizeId}});var n=o(981),r=o(752),i=o(9642),a=o(4727)},6570:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(735);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var r=o(473);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsUpdateShortCode=void 0;class FormFieldsUpdateShortCode extends $e.modules.hookUI.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-fields-update-shortcode"}getContainerType(){return"repeater"}getConditions(e){return!(!$e.routes.isPartOf("panel/editor")||void 0===e.settings.custom_id)}apply(e){const{containers:t=[e.container]}=e;t.forEach((e=>{e.panel.getControlView("form_fields").children.find((t=>e.id===t.model.get("_id"))).children.find((e=>"shortcode"===e.model.get("name"))).render()}))}}t.FormFieldsUpdateShortCode=FormFieldsUpdateShortCode;t.default=FormFieldsUpdateShortCode},473:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormFieldsUpdateShortCode",{enumerable:!0,get:function(){return n.FormFieldsUpdateShortCode}});var n=o(573)},4857:(e,t,o)=>{"use strict";var n=o(2470).__;o(5724);var r=o(6236);e.exports=r.extend({fields:{},getName:()=>"activecampaign",onElementChange(e){switch(e){case"activecampaign_api_credentials_source":case"activecampaign_api_key":case"activecampaign_api_url":this.onApiUpdate();break;case"activecampaign_list":this.onListUpdate()}},onApiUpdate(){const e=this,t=e.getEditorControlView("activecampaign_api_key"),o=e.getEditorControlView("activecampaign_api_url"),n=e.getEditorControlView("activecampaign_api_credentials_source");if("default"!==n.getControlValue()&&(""===t.getControlValue()||""===o.getControlValue()))return e.updateOptions("activecampaign_list",[]),void e.getEditorControlView("activecampaign_list").setValue("");e.addControlSpinner("activecampaign_list");const r=this.getCacheKey({controls:[n.getControlValue(),o.getControlValue(),t.getControlValue()]});e.getActiveCampaignCache("lists","activecampaign_list",r).done((function(t){e.updateOptions("activecampaign_list",t.lists),e.fields=t.fields}))},onListUpdate(){this.updateFieldsMapping()},updateFieldsMapping(){if(this.getEditorControlView("activecampaign_list").getControlValue()){var e=[{remote_label:n("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0},{remote_label:n("First Name","elementor"),remote_type:"text",remote_id:"first_name",remote_required:!1},{remote_label:n("Last Name","elementor"),remote_type:"text",remote_id:"last_name",remote_required:!1},{remote_label:n("Phone","elementor"),remote_type:"text",remote_id:"phone",remote_required:!1},{remote_label:n("Organization name","elementor"),remote_type:"text",remote_id:"orgname",remote_required:!1}];for(var t in this.fields)Object.prototype.hasOwnProperty.call(this.fields,t)&&e.push(this.fields[t]);this.getEditorControlView("activecampaign_fields_map").updateMap(e)}},getActiveCampaignCache(e,t,o,n){if(_.has(this.cache[e],o)){var r={};return r[e]=this.cache[e][o],jQuery.Deferred().resolve(r)}return n=_.extend({},n,{service:"activecampaign",activecampaign_action:t,api_key:this.getEditorControlView("activecampaign_api_key").getControlValue(),api_url:this.getEditorControlView("activecampaign_api_url").getControlValue(),api_cred:this.getEditorControlView("activecampaign_api_credentials_source").getControlValue()}),this.fetchCache(e,o,n)}})},6236:(e,t,o)=>{"use strict";var n=o(7842);e.exports=n.extend({__construct(){this.cache={},n.prototype.__construct.apply(this,arguments)},getName:()=>"",getCacheKey(e){return JSON.stringify({service:this.getName(),data:e})},fetchCache(e,t,o,n=!1){return elementorPro.ajax.addRequest("forms_panel_action_data",{unique_id:"integrations_"+this.getName(),data:o,success:o=>{this.cache[e]=_.extend({},this.cache[e]),this.cache[e][t]=o[e]}},n)},onInit(){this.addSectionListener("section_"+this.getName(),this.onSectionActive)},onSectionActive(){this.onApiUpdate()},onApiUpdate(){}})},2432:(e,t,o)=>{"use strict";var n=o(2470).__,r=o(6236);e.exports=r.extend({getName:()=>"convertkit",onElementChange(e){switch(e){case"convertkit_api_key_source":case"convertkit_custom_api_key":this.onApiUpdate();break;case"convertkit_form":this.onListUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("convertkit_api_key_source"),o=e.getEditorControlView("convertkit_custom_api_key");if("default"!==t.getControlValue()&&""===o.getControlValue())return e.updateOptions("convertkit_form",[]),void e.getEditorControlView("convertkit_form").setValue("");e.addControlSpinner("convertkit_form");const n=this.getCacheKey({type:"data",controls:[t.getControlValue(),o.getControlValue()]});e.getConvertKitCache("data","convertkit_get_forms",n).done((function(t){e.updateOptions("convertkit_form",t.data.forms),e.updateOptions("convertkit_tags",t.data.tags)}))},onListUpdate(){this.updateFieldsMapping()},updateFieldsMapping(){if(this.getEditorControlView("convertkit_form").getControlValue()){var e=[{remote_label:n("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0},{remote_label:n("First Name","elementor"),remote_type:"text",remote_id:"first_name",remote_required:!1}];this.getEditorControlView("convertkit_fields_map").updateMap(e)}},getConvertKitCache(e,t,o,n){if(_.has(this.cache[e],o)){var r={};return r[e]=this.cache[e][o],jQuery.Deferred().resolve(r)}return n=_.extend({},n,{service:"convertkit",convertkit_action:t,api_key:this.getEditorControlView("convertkit_api_key_source").getControlValue(),custom_api_key:this.getEditorControlView("convertkit_custom_api_key").getControlValue()}),this.fetchCache(e,o,n)}})},8058:(e,t,o)=>{"use strict";var n=o(2470).__,r=o(6236);e.exports=r.extend({getName:()=>"drip",onElementChange(e){switch(e){case"drip_api_token_source":case"drip_custom_api_token":this.onApiUpdate();break;case"drip_account":this.onDripAccountsUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("drip_api_token_source"),o=e.getEditorControlView("drip_custom_api_token");if("default"!==t.getControlValue()&&""===o.getControlValue())return e.updateOptions("drip_account",[]),void e.getEditorControlView("drip_account").setValue("");e.addControlSpinner("drip_account"),this.getCacheKey({type:"accounts",controls:[t.getControlValue(),o.getControlValue()]}),e.getDripCache("accounts","accounts",t.getControlValue()).done((function(t){e.updateOptions("drip_account",t.accounts)}))},onDripAccountsUpdate(){this.updateFieldsMapping()},updateFieldsMapping(){if(this.getEditorControlView("drip_account").getControlValue()){var e={remote_label:n("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0};this.getEditorControlView("drip_fields_map").updateMap([e])}},getDripCache(e,t,o,n){if(_.has(this.cache[e],o)){var r={};return r[e]=this.cache[e][o],jQuery.Deferred().resolve(r)}return n=_.extend({},n,{service:"drip",drip_action:t,api_token:this.getEditorControlView("drip_api_token_source").getControlValue(),custom_api_token:this.getEditorControlView("drip_custom_api_token").getControlValue()}),this.fetchCache(e,o,n)}})},5218:(e,t,o)=>{"use strict";var n=o(6236);e.exports=n.extend({getName:()=>"getresponse",onElementChange(e){switch(e){case"getresponse_custom_api_key":case"getresponse_api_key_source":this.onApiUpdate();break;case"getresponse_list":this.onGetResonseListUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("getresponse_api_key_source"),o=e.getEditorControlView("getresponse_custom_api_key");if("default"!==t.getControlValue()&&""===o.getControlValue())return e.updateOptions("getresponse_list",[]),void e.getEditorControlView("getresponse_list").setValue("");e.addControlSpinner("getresponse_list");const n=this.getCacheKey({type:"lists",controls:[t.getControlValue(),o.getControlValue()]});e.getCache("lists","lists",n).done((function(t){e.updateOptions("getresponse_list",t.lists)}))},onGetResonseListUpdate(){this.updatGetResonseList()},updatGetResonseList(){var e=this,t=e.getEditorControlView("getresponse_list");if(!t.getControlValue())return;e.addControlSpinner("getresponse_fields_map");const o=this.getCacheKey({type:"fields",controls:[t.getControlValue()]});e.getCache("fields","get_fields",o,{getresponse_list:t.getControlValue()}).done((function(t){e.getEditorControlView("getresponse_fields_map").updateMap(t.fields)}))},getCache(e,t,o,n){if(_.has(this.cache[e],o)){var r={};return r[e]=this.cache[e][o],jQuery.Deferred().resolve(r)}return n=_.extend({},n,{service:"getresponse",getresponse_action:t,api_key:this.getEditorControlView("getresponse_api_key_source").getControlValue(),custom_api_key:this.getEditorControlView("getresponse_custom_api_key").getControlValue()}),this.fetchCache(e,o,n)},onSectionActive(){n.prototype.onSectionActive.apply(this,arguments),this.updatGetResonseList()}})},5715:(e,t,o)=>{"use strict";var n=o(6236);e.exports=n.extend({getName:()=>"mailchimp",onElementChange(e){switch(e){case"mailchimp_api_key_source":case"mailchimp_api_key":this.onApiUpdate();break;case"mailchimp_list":this.onMailchimpListUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("mailchimp_api_key"),o=e.getEditorControlView("mailchimp_api_key_source");if("default"!==o.getControlValue()&&""===t.getControlValue())return e.updateOptions("mailchimp_list",[]),void e.getEditorControlView("mailchimp_list").setValue("");e.resetControlIndicators("mailchimp_list"),e.addControlSpinner("mailchimp_list");const n=this.getCacheKey({type:"lists",controls:[t.getControlValue(),o.getControlValue()]});e.getMailchimpCache("lists","lists",n).done((function(t){e.updateOptions("mailchimp_list",t.lists),e.updatMailchimpList()})).fail((function(t){e.addControlError("mailchimp_list",t)})).always((function(){e.removeControlSpinner("mailchimp_list")}))},onMailchimpListUpdate(){this.updateOptions("mailchimp_groups",[]),this.getEditorControlView("mailchimp_groups").setValue(""),this.updatMailchimpList()},updatMailchimpList(){var e=this,t=e.getEditorControlView("mailchimp_list");if(!t.getControlValue())return;e.resetControlIndicators("mailchimp_groups"),e.addControlSpinner("mailchimp_groups"),this.getCacheKey({type:"list_details",controls:[t.getControlValue()]}),e.getMailchimpCache("list_details","list_details",t.getControlValue(),{mailchimp_list:t.getControlValue()}).done((function(t){e.updateOptions("mailchimp_groups",t.list_details.groups),e.getEditorControlView("mailchimp_fields_map").updateMap(t.list_details.fields)})).fail((function(t){e.addControlError("mailchimp_groups",t)})).always((function(){e.removeControlSpinner("mailchimp_groups")}));const o={type:"fields",action:"fields",cacheKey:t.getControlValue(),args:{mailchimp_list:t.getControlValue()},immediately:!0};e.getMailchimpCache(...Object.values(o)).done((function(t){e.getEditorControlView("mailchimp_fields_map").updateMap(t.fields)}))},getMailchimpCache(e,t,o,n,r=!1){if(_.has(this.cache[e],o)){var i={};return i[e]=this.cache[e][o],jQuery.Deferred().resolve(i)}return n=_.extend({},n,{service:"mailchimp",mailchimp_action:t,api_key:this.getEditorControlView("mailchimp_api_key").getControlValue(),use_global_api_key:this.getEditorControlView("mailchimp_api_key_source").getControlValue()}),this.fetchCache(e,o,n,r)},onSectionActive(){n.prototype.onSectionActive.apply(this,arguments),this.onApiUpdate()}})},705:(e,t,o)=>{"use strict";var n=o(2470).__;o(5724);const r=o(6236);e.exports=r.extend({fields:{},getName:()=>"mailerlite",onElementChange(e){switch(e){case"mailerlite_api_key_source":case"mailerlite_custom_api_key":this.onMailerliteApiKeyUpdate();break;case"mailerlite_group":this.updateFieldsMapping()}},onMailerliteApiKeyUpdate(){var e=this,t=e.getEditorControlView("mailerlite_custom_api_key"),o=e.getEditorControlView("mailerlite_api_key_source");if("default"!==o.getControlValue()&&""===t.getControlValue())return e.updateOptions("mailerlite_group",[]),void e.getEditorControlView("mailerlite_group").setValue("");e.addControlSpinner("mailerlite_group");const n=this.getCacheKey({type:"groups",controls:[t.getControlValue(),o.getControlValue()]});e.getMailerliteCache("groups","groups",n).done((function(t){e.updateOptions("mailerlite_group",t.groups),e.fields=t.fields}))},updateFieldsMapping(){if(!this.getEditorControlView("mailerlite_group").getControlValue())return;const e=[{remote_label:n("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0},{remote_label:n("Name","elementor"),remote_type:"text",remote_id:"name",remote_required:!1},{remote_label:n("Last Name","elementor"),remote_type:"text",remote_id:"last_name",remote_required:!1},{remote_label:n("Company","elementor"),remote_type:"text",remote_id:"company",remote_required:!1},{remote_label:n("Phone","elementor"),remote_type:"text",remote_id:"phone",remote_required:!1},{remote_label:n("Country","elementor"),remote_type:"text",remote_id:"country",remote_required:!1},{remote_label:n("State","elementor"),remote_type:"text",remote_id:"state",remote_required:!1},{remote_label:n("City","elementor"),remote_type:"text",remote_id:"city",remote_required:!1},{remote_label:n("Zip","elementor"),remote_type:"text",remote_id:"zip",remote_required:!1}];for(const t in this.fields)Object.prototype.hasOwnProperty.call(this.fields,t)&&e.push(this.fields[t]);this.getEditorControlView("mailerlite_fields_map").updateMap(e)},getMailerliteCache(e,t,o,n){if(_.has(this.cache[e],o)){const t={};return t[e]=this.cache[e][o],jQuery.Deferred().resolve(t)}return n=_.extend({},n,{service:"mailerlite",mailerlite_action:t,custom_api_key:this.getEditorControlView("mailerlite_custom_api_key").getControlValue(),api_key:this.getEditorControlView("mailerlite_api_key_source").getControlValue()}),this.fetchCache(e,o,n)},onSectionActive(){r.prototype.onSectionActive.apply(this,arguments),this.onMailerliteApiKeyUpdate()}})},5341:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(1646));class FormsModule extends elementorModules.editor.utils.Module{onElementorInit(){const e=o(9022),t=o(1452),n=o(705),r=o(5715),i=o(8058),a=o(4857),s=o(5218),l=o(2432),d=o(8636);this.replyToField=new e,this.mailchimp=new r("form"),this.recaptcha=new t("form"),this.drip=new i("form"),this.activecampaign=new a("form"),this.getresponse=new s("form"),this.convertkit=new l("form"),this.mailerlite=new n("form");const c=o(326),u=o(431),m=o(140),p=o(7038),g=o(9738);this.Fields={time:new c("form"),date:new u("form"),tel:new g("form"),acceptance:new m("form"),upload:new p("form")},elementor.addControlView("Fields_map",o(8619)),elementor.addControlView("form-fields-repeater",o(3253)),this.hints={emailDeliverability:new d}}onElementorInitComponents(){$e.components.register(new r.default({manager:this}))}}t.default=FormsModule},1452:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({enqueueRecaptchaJs(e,t){elementorFrontend.elements.$body.find('[src="'+e+'"]').length||elementorFrontend.elements.$body.append('<script src="'+e+'" id="recaptcha-'+t+'"<\/script>')},renderField(e,t){return e+='<div class="elementor-field '+t.field_type+' ">',e+=this.getDataSettings(t),e+="</div>"},getDataSettings(e){const t=elementorPro.config.forms[e.field_type];if(!t.enabled)return'<div class="elementor-alert elementor-alert-info">'+t.setup_message+"</div>";let o='data-sitekey="'+t.site_key+'" data-type="'+t.type+'"';switch(t.type){case"v3":o+=' data-action="form" data-size="invisible" data-badge="'+e.recaptcha_badge+'"';break;case"v2_checkbox":o+=' data-theme="'+e.recaptcha_style+'"',o+=' data-size="'+e.recaptcha_size+'"'}return this.enqueueRecaptchaJs("https://www.google.com/recaptcha/api.js?render=explicit",t.type),'<div class="elementor-g-recaptcha'+_.escape(e.css_classes)+'" '+o+"></div>"},filterItem:e=>("recaptcha"===e.field_type&&(e.field_label=!1),e),onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/item",this.filterItem),elementor.hooks.addFilter("elementor_pro/forms/content_template/field/recaptcha",this.renderField,10,2),elementor.hooks.addFilter("elementor_pro/forms/content_template/field/recaptcha_v3",this.renderField,10,2)}})},9022:(e,t,o)=>{"use strict";var n=o(2470).sprintf,r=o(2470).__;e.exports=function(){var e,t,o,refreshReplyToElement=function(){var t=e.children.findByModelCid(o.cid);t&&t.render()},updateReplyToOptions=function(){var e,i=t.get("settings").get("form_fields").where({field_type:"email"});i=_.reject(i,{field_label:""}),e=_.map(i,(function(e){return{id:e.get("custom_id"),label:n(r("%s Field","elementor-pro"),e.get("field_label"))}})),o.set("options",{"":o.get("options")[""]}),_.each(e,(function(e){o.get("options")[e.id]=e.label})),refreshReplyToElement()},updateDefaultReplyTo=function(e){o.get("options")[""]=e.get("email_from"),refreshReplyToElement()},onFormFieldsChange=function(e){e.get("custom_id")&&"email"===e.get("field_type")&&updateReplyToOptions(),e.changed.email_from&&updateDefaultReplyTo(e)},onPanelShow=function(n,r){e=n.getCurrentPageView(),t=r,o=e.collection.findWhere({name:"email_reply_to"});var i=t.get("settings");i.on("change",onFormFieldsChange),updateDefaultReplyTo(i),updateReplyToOptions()};elementor.hooks.addAction("panel/open_editor/widget/form",onPanelShow)}},6404:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Templates",{enumerable:!0,get:function(){return n.Templates}});var n=o(3883)},3883:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Templates=void 0;class Templates extends $e.modules.CommandData{static getEndpointFormat(){return"global-widget/templates"}onAfterApply(e={},t){$e.data.deleteCache(this.component,"document/global/global-widget/templates",e.query),Object.entries(t.data).forEach((([e,t])=>{$e.data.setCache(this.component,`document/global/global-widget/templates/${e}`,{},t)}))}}t.Templates=Templates;t.default=Templates},7725:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SaveTemplates",{enumerable:!0,get:function(){return n.SaveTemplates}});var n=o(374)},374:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SaveTemplates=void 0,o(5724);class SaveTemplates extends $e.modules.CommandInternalBase{apply(){const e=this.getCurrentTemplatesModels(this.component.changedContainersId);if(e.length)return new Promise(((t,o)=>{elementorCommon.ajax.addRequest("update_templates",{data:{templates:e.map((e=>({id:e.get("id"),content:JSON.stringify([e.toJSON()]),source:"local",type:"widget"})))},error:o,success:()=>{this.component.changedContainersId={},e.forEach((e=>{const t=e.get("settings");$e.data.setCache(this.component,`document/global/global-widget/templates/${e.id}`,{},{settings:t})})),t(e)}})}))}getCurrentTemplatesModels(e){const t=[];return Object.entries(e).forEach((([e,o])=>{$e.data.getCache(this.component,`document/global/global-widget/templates/${e}`)||$e.devTools&&$e.devTools.log.warn(`$e.data.getCache( component, \`document/global/global-widget/templates/${e}\` ) - not found.`);const n=elementor.getContainer(o);n&&t.push(new Backbone.Model({id:e,elType:"widget",widgetType:n.model.get("widgetType"),settings:n.settings.toJSON({remove:"default"}),templateID:e}))})),t}}t.SaveTemplates=SaveTemplates;t.default=SaveTemplates},209:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return n.Link}}),Object.defineProperty(t,"Unlink",{enumerable:!0,get:function(){return r.Unlink}});var n=o(2157),r=o(7126)},2157:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Link=void 0;class Link extends $e.modules.editor.document.CommandHistoryBase{validateArgs(e){this.requireContainer(e),this.requireArgumentConstructor("data",Object,e);const{containers:t=[e.container]}=e;t.forEach((e=>{if("global"===e.model.get("widgetType"))throw Error(`Invalid container, id: '${e.id}' is already global.`)}))}getHistory(e){const{data:t}=e;return{title:elementor.widgetsCache[t.widgetType].title,subTitle:t.title,type:n("Linked to Global","elementor-pro")}}apply(e){const{data:t,containers:o=[e.container]}=e;o.forEach((e=>{const o=e.model,n=o.collection.indexOf(o);t.elType=t.type,t.settings=o.get("settings").attributes,t.widgetType=o.get("widgetType");const r=elementorPro.modules.globalWidget.addGlobalWidget(t.template_id,t).attributes;$e.data.setCache(this.component,`document/global/global-widget/templates/${t.template_id}`,{},t),$e.run("document/elements/create",{container:e.parent,model:{id:elementorCommon.helpers.getUniqueId(),elType:r.elType,widgetType:r.widgetType,templateID:t.template_id},options:{at:n}}),$e.run("document/elements/delete",{container:e})})),$e.route("panel/elements/global")}}t.Link=Link;t.default=Link},7126:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Unlink=void 0;class Unlink extends $e.modules.editor.document.CommandHistoryBase{validateArgs(e){this.requireContainer(e)}getHistory(e){const{containers:t=[e.container]}=e;return{title:elementor.helpers.getModelLabel(t[0].model),type:n("Unlink Widget","elementor-pro")}}async apply(e){const{containers:t=[e.container]}=e,o=t.map((e=>e.model.get("templateID"))),{data:n}=await $e.data.get("document/global/templates",{ids:o});t.forEach((e=>{const t=e.model.get("templateID"),o=elementorPro.modules.globalWidget.createGlobalModel(t,n[t]);$e.run("document/elements/create",{container:e.parent,model:{id:elementorCommon.helpers.getUniqueId(),elType:"widget",widgetType:o.get("widgetType"),settings:elementorCommon.helpers.cloneObject(o.get("settings").attributes),defaultEditSettings:elementorCommon.helpers.cloneObject(o.get("editSettings").attributes)},options:{at:e.model.collection.indexOf(e.model),edit:!0}}),$e.run("document/elements/delete",{container:e})}))}}t.Unlink=Unlink;t.default=Unlink},9217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=_interopRequireWildcard(o(209)),r=_interopRequireWildcard(o(7725)),i=_interopRequireWildcard(o(6404)),a=_interopRequireWildcard(o(5133));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}class Component extends $e.modules.ComponentBase{notLoadedTemplatesIds=[];lastChangedContainers=null;changedContainersId={};registerAPI(){super.registerAPI(),$e.routes.on("run:after",((e,t)=>{"panel/elements/global"===t&&this.onRoutePanelElementsGlobal()}))}getNamespace(){return"document/global"}defaultCommands(){return this.importCommands(n)}defaultCommandsInternal(){return this.importCommands(r)}defaultData(){return this.importCommands(i)}defaultHooks(){return this.importHooks(a)}onRoutePanelElementsGlobal(){this.notLoadedTemplatesIds.length&&$e.data.get("document/global/templates",{ids:this.notLoadedTemplatesIds}).then((()=>{this.notLoadedTemplatesIds=[]}))}updateGlobalsRecursive(e){const t=["dynamic","globals","settings"];elementor.getPreviewContainer().forEachChildrenRecursive((o=>{e!==o&&parseInt(o.model.get("templateID"))===parseInt(e.model.get("templateID"))&&(t.forEach((t=>{const n=e[t];if(n instanceof Backbone.Model){const r="settings"===t?e.settings.attributes:n.changed;Object.entries(r).forEach((([e,n])=>{o[t].set(e,n)}))}})),o.render())}))}}t.default=Component},8344:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseGlobalWidgetPrepareUpdate=void 0;class BaseGlobalWidgetPrepareUpdate extends $e.modules.hookData.After{getConditions(e){const{containers:t=[e.container]}=e;return t.some((e=>e.renderer?.model?.get("templateID")))}apply(e){const{containers:t=[e.container]}=e,o=$e.components.get("document/global"),n=t.filter((e=>e.renderer?.model?.get("templateID")));o.lastChangedContainers=n.map((e=>e.renderer)),n.forEach((e=>{o.changedContainersId[e.renderer.model.get("templateID")]=e.renderer.id}))}}t.BaseGlobalWidgetPrepareUpdate=BaseGlobalWidgetPrepareUpdate;t.default=BaseGlobalWidgetPrepareUpdate},4717:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetPrepareUpdateElementSetSettings=void 0;var n=o(8344);class GlobalWidgetPrepareUpdateElementSetSettings extends n.BaseGlobalWidgetPrepareUpdate{getCommand(){return"document/elements/set-settings"}getId(){return"elementor-pro-global-widget-prepare-update-element-set-settings"}}t.GlobalWidgetPrepareUpdateElementSetSettings=GlobalWidgetPrepareUpdateElementSetSettings;t.default=GlobalWidgetPrepareUpdateElementSetSettings},3946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetDoUpdate=void 0;class GlobalWidgetDoUpdate extends $e.modules.hookData.After{getCommand(){return"document/history/end-log"}getId(){return"elementor-pro-global-widget-do-update"}getConditions(){return $e.components.get("document/global").lastChangedContainers}apply(){const e=$e.components.get("document/global");e.lastChangedContainers.forEach((t=>e.updateGlobalsRecursive(t))),e.lastChangedContainers=null}}t.GlobalWidgetDoUpdate=GlobalWidgetDoUpdate;t.default=GlobalWidgetDoUpdate},1372:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetPrepareUpdateRepeaterInsert=void 0;var r=n(o(8344));class GlobalWidgetPrepareUpdateRepeaterInsert extends r.default{getCommand(){return"document/repeater/insert"}getId(){return"elementor-pro-global-widget-prepare-update-repeater-insert"}}t.GlobalWidgetPrepareUpdateRepeaterInsert=GlobalWidgetPrepareUpdateRepeaterInsert;t.default=GlobalWidgetPrepareUpdateRepeaterInsert},7722:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetPrepareUpdateRepeaterRemove=void 0;var n=o(8344);class GlobalWidgetPrepareUpdateRepeaterRemove extends n.BaseGlobalWidgetPrepareUpdate{getCommand(){return"document/repeater/remove"}getId(){return"elementor-pro-global-widget-prepare-update-repeater-remove"}}t.GlobalWidgetPrepareUpdateRepeaterRemove=GlobalWidgetPrepareUpdateRepeaterRemove;t.default=GlobalWidgetPrepareUpdateRepeaterRemove},750:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetSaveTemplates=void 0;class GlobalWidgetSaveTemplates extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-global-widget-save-templates"}getConditions(e){if(!Object.keys($e.components.get("document/global").changedContainersId).length)return!1;const{document:t=elementor.documents.getCurrent()}=e;return t.config.panel.has_elements&&e.status&&-1!==["private","publish"].indexOf(e.status)}apply(){$e.internal("document/global/save-templates")}}t.GlobalWidgetSaveTemplates=GlobalWidgetSaveTemplates;t.default=GlobalWidgetSaveTemplates},8209:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetLoadTemplates=void 0,o(5724);class GlobalWidgetLoadTemplates extends $e.modules.hookData.After{static calledOnce=!1;initialize(){setTimeout((()=>{this.component=$e.components.get("document/global")}))}getCommand(){return"editor/documents/attach-preview"}getId(){return"elementor-pro-global-widget-load-templates"}getConditions(){return!GlobalWidgetLoadTemplates.calledOnce}apply(){GlobalWidgetLoadTemplates.calledOnce=!0,Object.entries(elementorPro.config.widget_templates).forEach((([e,t])=>{elementorPro.modules.globalWidget.addGlobalWidget(e,t),this.addTemplateToCache(e)}))}addTemplateToCache(e){const t=elementor.getPreviewContainer().findChildrenRecursive((t=>parseInt(t.model.get("templateID"))===parseInt(e)));if(!t)return this.component.notLoadedTemplatesIds.push(e);const o={id:t.model.get("templateID"),elType:"widget",widgetType:t.model.get("widgetType"),settings:t.settings.toJSON({remove:"default"}),templateID:t.model.get("templateID")};$e.data.setCache(this.component,`document/global/global-widget/templates/${e}`,{},o)}}t.GlobalWidgetLoadTemplates=GlobalWidgetLoadTemplates;t.default=GlobalWidgetLoadTemplates},154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalWidgetDoUpdate",{enumerable:!0,get:function(){return a.GlobalWidgetDoUpdate}}),Object.defineProperty(t,"GlobalWidgetLoadTemplates",{enumerable:!0,get:function(){return l.GlobalWidgetLoadTemplates}}),Object.defineProperty(t,"GlobalWidgetPrepareUpdateElementSetSettings",{enumerable:!0,get:function(){return n.GlobalWidgetPrepareUpdateElementSetSettings}}),Object.defineProperty(t,"GlobalWidgetPrepareUpdateRepeaterInsert",{enumerable:!0,get:function(){return r.GlobalWidgetPrepareUpdateRepeaterInsert}}),Object.defineProperty(t,"GlobalWidgetPrepareUpdateRepeaterRemove",{enumerable:!0,get:function(){return i.GlobalWidgetPrepareUpdateRepeaterRemove}}),Object.defineProperty(t,"GlobalWidgetSaveTemplates",{enumerable:!0,get:function(){return s.GlobalWidgetSaveTemplates}});var n=o(4717),r=o(1372),i=o(7722),a=o(3946),s=o(750),l=o(8209)},5133:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(154);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var r=o(8608);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetHistoryUpdate=void 0;class GlobalWidgetHistoryUpdate extends $e.modules.hookUI.After{getCommand(){return"document/elements/set-settings"}getId(){return"elementor-pro-global-widget-history-update"}getContainerType(){return"widget"}getConditions(e){const{containers:t=[e.container]}=e;return!elementor.documents.getCurrent().history.getActive()&&t.some((e=>e.model.get("templateID")))}apply(e){const{containers:t=[e.container]}=e;t.forEach((e=>$e.components.get("document/global").updateGlobalsRecursive(e)))}}t.GlobalWidgetHistoryUpdate=GlobalWidgetHistoryUpdate;t.default=GlobalWidgetHistoryUpdate},8608:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalWidgetHistoryUpdate",{enumerable:!0,get:function(){return n.GlobalWidgetHistoryUpdate}});var n=o(492)},7652:(e,t,o)=>{"use strict";var n=o(2470).__,r=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(o(9217));class Module extends elementorModules.editor.utils.Module{panelWidgets=new Backbone.Collection;addGlobalWidget(e,t){return this.panelWidgets.add(this.createGlobalModel(e,t))}createGlobalModel(e,t){t=Object.assign({},t,{id:e,categories:[],icon:elementor.widgetsCache[t.widgetType].icon,widgetType:t.widgetType,custom:{templateID:e}});const o=new elementor.modules.elements.models.Element(t);return o.set("id",e),o}setWidgetType(){elementor.hooks.addFilter("element/view",(function(e,t){return t.get("templateID")?o(9926).A:e})),elementor.hooks.addFilter("element/model",(function(e,t){return t.templateID?o(4810).A:e}))}registerTemplateType(){elementor.templates.registerTemplateType("widget",{showInLibrary:!1,saveDialog:{title:n("Save your widget as a global widget","elementor-pro"),description:n("You'll be able to add this global widget to multiple areas on your site, and edit it from one single place.","elementor-pro")},prepareSavedData:e=>(e.widgetType=e.content[0].widgetType,e),ajaxParams:{success:this.onWidgetTemplateSaved.bind(this)}})}addPanelPage(){elementor.getPanelView().addPage("globalWidget",{view:o(6277)})}getGlobalModels(e){return elementorCommon.helpers.softDeprecated("elementorPro.modules.globalWidget.getGlobalModels( id )","3.5.0","$e.data.getCache( `document/global/global-widget/templates/${ id }` )"),$e.data.getCache(this.component,`document/global/global-widget/templates/${e}`)}saveTemplates(){elementorCommon.helpers.softDeprecated("elementorPro.modules.globalWidget.saveTemplates()","3.5.0","$e.internal( 'document/global/save-templates' )"),$e.internal("document/global/save-templates")}requestGlobalModelSettings(e,t){elementorCommon.helpers.softDeprecated("elementorPro.modules.globalWidget.requestGlobalModelSettings()","3.5.0","$e.data.get( 'document/global/templates' )"),$e.data.get("document/global/templates",{ids:e.id}).then((e=>{t(e)}))}setWidgetContextMenuSaveAction(){elementor.hooks.addFilter("elements/widget/contextMenuGroups",((e,t)=>{const o=_.findWhere(e,{name:"save"});if(!o)return e;const n=_.findWhere(o.actions,{name:"save"});if(elementorPro.config.should_show_promotion){const t='<i class="eicon-advanced"></i><a class="elementor-context-menu-list__item__shortcut--link-fullwidth" href="https://go.elementor.com/go-pro-advanced-global-widget-context-menu/" target="_blank" rel="noopener noreferrer"></a>';return n.shortcut=jQuery(t),n.isEnabled=()=>!1,delete n.callback,e}return n.callback=t.save.bind(t),delete n.shortcut,e}))}filterRegionViews(e){return elementorPro.config.should_show_promotion?(_.extend(e.global,{view:o(6626),options:{}}),e):(_.extend(e.global,{view:o(1230),options:{collection:this.panelWidgets}}),e)}onElementorInit(){elementor.on("panel:init",(()=>{elementor.hooks.addFilter("panel/elements/regionViews",this.filterRegionViews.bind(this))})),this.registerTemplateType(),this.setWidgetContextMenuSaveAction(),this.setWidgetType()}onElementorInitComponents(){$e.components.register(new i.default),$e.data.get("document/global/templates",{},{refresh:!0})}onElementorPreviewLoaded(e){e&&(this.addPanelPage(),$e.routes.register("panel/editor","global",(e=>{elementor.getPanelView().setPage("globalWidget","Global Editing",{editedView:e.view})})))}onWidgetTemplateSaved(e){elementor.templates.layout.hideModal();const t=elementor.getContainer(elementor.templates.layout.modalContent.currentView.model.id);$e.run("document/global/link",{container:t,data:e})}}t.default=Module},1230:(e,t,o)=>{"use strict";e.exports=elementor.modules.layouts.panel.pages.elements.views.Elements.extend({id:"elementor-global-templates",getEmptyView(){return this.collection.length?null:o(1962)},onFilterEmpty(){}})},1962:e=>{"use strict";var t=elementor.modules.layouts.panel.pages.elements.views.Global;e.exports=t.extend({template:"#tmpl-elementor-panel-global-widget-no-templates",id:"elementor-panel-global-widget-no-templates",className:"elementor-nerd-box elementor-panel-nerd-box e-responsive-panel-stretch"})},6277:(e,t,o)=>{"use strict";var n=o(2470).__;e.exports=Marionette.ItemView.extend({id:"elementor-panel-global-widget",template:"#tmpl-elementor-panel-global-widget",ui:{editButton:"#elementor-global-widget-locked-edit .elementor-button",unlinkButton:"#elementor-global-widget-locked-unlink .elementor-button",loading:"#elementor-global-widget-loading"},events:{"click @ui.editButton":"onEditButtonClick","click @ui.unlinkButton":"onUnlinkButtonClick"},initialize(){this.initUnlinkDialog()},buildUnlinkDialog(){var e=this;return elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-global-widget-unlink-dialog",headerMessage:n("Unlink Widget","elementor-pro"),message:n("This will make the widget stop being global. It'll be reverted into being just a regular widget.","elementor-pro"),position:{my:"center center",at:"center center"},strings:{confirm:n("Unlink","elementor-pro"),cancel:n("Cancel","elementor-pro")},onConfirm(){e.getOption("editedView").unlink()}})},initUnlinkDialog(){var e;this.getUnlinkDialog=function(){return e||(e=this.buildUnlinkDialog()),e}},editGlobalModel(){var e=this.getOption("editedView");$e.run("document/elements/select",{container:e.getContainer()})},onEditButtonClick(){this.editGlobalModel()},onUnlinkButtonClick(){this.getUnlinkDialog().show()}})},6626:e=>{"use strict";var t=elementor.modules.layouts.panel.pages.elements.views.Global;e.exports=t.extend({template:"#tmpl-elementor-promotion",id:"tmpl-elementor-promotion",className:"elementor-nerd-box elementor-panel-nerd-box e-responsive-panel-stretch"})},4810:(e,t)=>{"use strict";t.A=void 0;const o=elementor.modules.elements.models.Element;t.A=class Model extends o{initSettings(){if($e.commands.is("document/elements/create"))return this.initSettingsFromTemplate();super.initSettings()}initEditSettings(){super.initEditSettings(),this.get("editSettings").set("editTab","global")}initSettingsFromTemplate(){const e=this.get("templateID"),t=$e.components.get("document/global"),o=$e.data.getCache(t,`document/global/global-widget/templates/${e}`)||this.attributes,n=elementorPro.modules.globalWidget.createGlobalModel(e,o);this.set("settings",n.get("settings")),elementorFrontend.config.elements.data[this.cid]=this.get("settings")}}},9926:(e,t,o)=>{"use strict";var n=o(2470).__;t.A=void 0;const r=elementor.modules.elements.views.Widget;t.A=class View extends r{className(){return super.className()+" elementor-global-widget elementor-global-"+this.model.get("templateID")}addInlineEditingAttributes(){}unlink(){$e.run("document/global/unlink",{container:this.getContainer()})}onEditRequest(){$e.route("panel/editor/global",{view:this})}getContextMenuGroups(){return super.getContextMenuGroups().filter((e=>"save"!==e.name))}getContainer(){if(this.container)return this.container;const e=super.getContainer();return e.label=e.label+" ("+n("global","elementor-pro")+")",e}render(){super.render(),setTimeout(this.removeInlineAddingAttributes.bind(this))}removeInlineAddingAttributes(){const e=this.el.querySelector(".elementor-inline-editing");e&&e.classList.remove("elementor-inline-editing")}}},9286:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorPreviewLoaded(){var e=o(1122);this.editButton=new e}})},1122:(e,t,o)=>{"use strict";var n=o(2470).__;e.exports=function(){var e=this;e.onPanelShow=function(t){var o=t.content.currentView.collection.findWhere({name:"template_id"});e.templateIdView=t.content.currentView.children.findByModelCid(o.cid),e.templateIdView.elementSettingsModel.on("change",e.onTemplateIdChange),e.templateIdView.on("render",e.onTemplateIdChange)},e.onTemplateIdChange=function(){var t=e.templateIdView.elementSettingsModel.get("template_id"),o=e.templateIdView.$el.find(".elementor-edit-template");if(t){var r=ElementorConfig.home_url+"?p="+t+"&elementor";o.length?o.prop("href",r):(o=jQuery("<a />",{target:"_blank",class:"elementor-button elementor-edit-template",href:r,html:'<i class="eicon-pencil" /> '+n("Edit Template","elementor-pro")}),e.templateIdView.$el.find(".elementor-control-input-wrapper").after(o))}else o.remove()},e.init=function(){elementor.hooks.addAction("panel/open_editor/widget/template",e.onPanelShow)},e.init()}},6440:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class LoopBuilderBehavior extends Marionette.Behavior{ui(){return{postSourceControlSelector:'[data-setting="post_taxonomy_query_post_type"]',productSourceControlSelector:'[data-setting="product_taxonomy_query_post_type"]'}}events(){return{"change @ui.postSourceControlSelector":"onApplySourceChange","change @ui.productSourceControlSelector":"onApplySourceChange"}}onApplySourceChange(e){const t=e.target?.value||this.getDefaultSourceType();this.getOption("updateTaxonomyTabsIdControls")(t,!0)}onRender(){const e=this.getOption("getSourceControlValue")();this.getOption("updateTaxonomyTabsIdControls")(e)}getDefaultSourceType(){const e=this.getOption("getSkinType")();return this.getOption("getDefaultSourceType")(e)}}t.default=LoopBuilderBehavior},4451:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(2027));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class LoopBuilderComponent extends $e.modules.ComponentBase{getNamespace(){return"document/loop"}defaultHooks(){return this.importHooks(n)}}t.default=LoopBuilderComponent},2027:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoopBuilderAddLibraryTab",{enumerable:!0,get:function(){return n.LoopBuilderAddLibraryTab}}),Object.defineProperty(t,"LoopBuilderRemoveLibraryTab",{enumerable:!0,get:function(){return r.LoopBuilderRemoveLibraryTab}});var n=o(7637),r=o(7860)},7860:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LoopBuilderRemoveLibraryTab=void 0;class LoopBuilderRemoveLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-loop-items-remove-library-tab"}getConditions(e){const{document:t}=e;return"loop-item"===t?.config?.type}apply(){$e.components.get("library").removeTab("templates/loop-items"),$e.components.get("library").addTab("templates/blocks"),$e.components.get("library").addTab("templates/pages")}}t.LoopBuilderRemoveLibraryTab=LoopBuilderRemoveLibraryTab;t.default=LoopBuilderRemoveLibraryTab},7637:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LoopBuilderAddLibraryTab=void 0;class LoopBuilderAddLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-loop-items-add-library-tab"}getConditions(e){const t=elementor.documents?.get(e.id);return"loop-item"===t?.config?.type}apply(){$e.components.get("library").addTab("templates/loop-items",{title:n("Loop","elementor"),filter:{source:"remote",type:"lb",subtype:elementor.config.document.settings.settings.source}},0),$e.components.get("library").removeTab("templates/blocks"),$e.components.get("library").removeTab("templates/pages")}}t.LoopBuilderAddLibraryTab=LoopBuilderAddLibraryTab;t.default=LoopBuilderAddLibraryTab},1410:(e,t,o)=>{"use strict";var n=o(6784),r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(2098)),i=n(o(4451)),a=n(o(6440));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class loopBuilderModule extends elementorModules.editor.utils.Module{taxonomyQueryOptions=["post_taxonomy","product_taxonomy"];onElementorFrontendInit(){elementor.hooks.addFilter("controls/base/behaviors",this.registerControlBehavior),elementorFrontend.elements.$body.on("click",".e-loop-empty-view__box-cta",(()=>{this.createTemplate()})),this.createDocumentSaveHandles(),elementor.on("document:loaded",this.createDocumentSaveHandles.bind(this))}registerControlBehavior=(e={},t)=>["post_taxonomy_query_post_type","product_taxonomy_query_post_type"].includes(t.options.model.get("name"))?(e.loopBuilder={behaviorClass:a.default,getSourceControlValue:this.getSourceControlValue,updateTaxonomyTabsIdControls:this.updateTaxonomyTabsIdControls},e):e;createTemplate(){setTimeout((()=>{elementor.getPanelView().getCurrentPageView().activateSection("section_layout")._renderChildren(),this.getEditorControlView("template_id").createTemplate()}))}createDocumentSaveHandles(){Object.entries(elementorFrontend.config?.elements?.data).forEach((([e,t])=>{const o=elementor.getElementData(t);if(!o?.is_loop)return;const n=t.attributes.template_id;if(!n)return;const i=`.elementor-element[data-model-cid="${e}"]`,a=`[data-elementor-type="loop-item"].elementor-${n}`,s=elementorFrontend.elements.$body.find(`${i} ${a}`).first()[0];s&&(0,r.default)({element:s,id:0,title:"& Back"},r.SAVE_CONTEXT,null,".elementor-"+elementor.config.initial_document.id)}))}onElementorLoaded(){elementor.on("document:loaded",this.onDocumentLoaded.bind(this)),elementor.on("document:unload",this.onDocumentUnloaded.bind(this)),this.component=$e.components.register(new i.default({manager:this}))}onDocumentLoaded=e=>{e.config.theme_builder&&elementor.channels.editor.on("elementorLoopBuilder:ApplySourceChange",this.onApplySourceChange)};onDocumentUnloaded=e=>{e.config.theme_builder&&elementor.channels.editor.off("elementorLoopBuilder:ApplySourceChange",this.onApplySourceChange)};onApplySourceChange=()=>{this.saveAndRefresh().then((()=>{location.reload()}))};async saveAndRefresh(){await $e.run("document/save/update",{force:!0})}getCtaStyles=()=>{const e=document.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",`${elementorAppProConfig.baseUrl}/assets/css/modules/loop-grid-cta.min.css`),e};getCtaContent=e=>{const t=document.createElement("div");return t.classList.add("e-loop-empty-view__container","elementor-grid",e),t.innerHTML=Marionette.Renderer.render("#tmpl-"+e+"-cta"),t};getSourceControlValue=()=>{const e=this.getSkinType(),t=this.getEditorControlView(`${e}_query_post_type`);return t?t.getControlValue():e.includes("product")?"product_cat":"category"};getSkinType=()=>this.getEditorControlView("section_layout").options.container.settings.get("_skin");getTemplateType=e=>e.split("_")[0];onApplySkinChange=()=>{const e=this.getSkinType();if(!this.taxonomyQueryOptions.includes(e))return;const t=this.getDefaultSourceType(e);this.updateTaxonomyTabsIdControls(t,!0)};getDefaultSourceType=e=>({post:"post",product:"product",post_taxonomy:"category",product_taxonomy:"product_cat"}[e]);updateTaxonomyTabsIdControls=(e,t=!1)=>{const o=this.getSkinType();if(!this.taxonomyQueryOptions.includes(o))return;const n=elementorPro.modules.loopBuilder.getEditorControlView("section_query");[n.model.collection.findWhere({name:`${o}_posts_ids`}),n.model.collection.findWhere({name:`${o}_exclude_ids`})].forEach((o=>{const n=elementor.getPanelView()?.getCurrentPageView()?.children?.findByModel(o);this.updateControlQuery({control:o,controlView:n,postType:e,shouldResetControlValues:t})}))};updateControlQuery=({control:e,controlView:t,postType:o,shouldResetControlValues:n})=>{e.set({autocomplete:{object:"tax",query:{taxonomy:o}}}),t&&n&&(t.setValue([]),t.applySavedValue())}}e.exports=loopBuilderModule},7240:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.editor.utils.Module{onElementorInit(){elementor.on("navigator:init",this.onNavigatorInit.bind(this))}onNavigatorInit(){elementor.navigator.indicators.motionFX={icon:"flash",title:n("Motion Effects","elementor-pro"),settingKeys:["motion_fx_motion_fx_scrolling","motion_fx_motion_fx_mouse","background_motion_fx_motion_fx_scrolling","background_motion_fx_motion_fx_mouse"],section:"section_effects"}}}t.default=_default},8656:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.notesContextMenu=t.default=void 0;class notesContextMenu{constructor(){["widget","section","column","container"].forEach((e=>{elementor.hooks.addFilter(`elements/${e}/contextMenuGroups`,this.notesContextMenuAddGroup)}))}notesContextMenuAddGroup(e){const t=_.findWhere(e,{name:"notes"}),o=e.indexOf(t),r={name:"open_notes",title:n("Notes","elementor-pro"),shortcut:"⇧+C",isEnabled:()=>!0,callback:()=>$e.route("notes")};if(elementorPro.config.should_show_promotion){const e='<i class="eicon-advanced"></i><a class="elementor-context-menu-list__item__shortcut--link-fullwidth" href="https://go.elementor.com/go-pro-advanced-notes-context-menu/" target="_blank" rel="noopener noreferrer"></a>';r.shortcut=jQuery(e),r.isEnabled=()=>!1,delete r.callback}if(-1===o){const t=_.findWhere(e,{name:"delete"}),o=e.indexOf(t),n=-1!==o?o:e.length;return e.splice(n,0,{name:"notes",actions:[r]}),e}const i=_.findWhere(t.actions,{name:"open_notes"}),a=t.actions.indexOf(i);return e[o].actions[a]=r,e}}t.notesContextMenu=notesContextMenu;t.default=notesContextMenu},3530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Animate=void 0;class Animate extends $e.modules.CommandBase{apply(){const e=elementor.$previewContents[0].querySelector("e-page-transition");e&&e.animate()}}t.Animate=Animate;t.default=Animate},2713:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Animate",{enumerable:!0,get:function(){return n.Animate}});var n=o(3530)},6633:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireWildcard(o(2713)),i=_interopRequireWildcard(o(1829)),a=n(o(5660));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}class Component extends $e.modules.ComponentBase{constructor(){super(),this.routesHooks={},this.initRouteHooks()}initRouteHooks(){this.routesHooks.pageTransitionPreview=new a.default,$e.routes.on("run:after",((e,t)=>{this.routesHooks.pageTransitionPreview.run(e,t)}))}getNamespace(){return"page-transitions"}defaultHooks(){return this.importHooks(i)}defaultCommands(){return this.importCommands(r)}}t.default=Component},1637:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AnimatePageTransition=void 0;class AnimatePageTransition extends $e.modules.hookData.After{prefix="settings_page_transitions_";settings=["entrance_animation","exit_animation"];getCommand(){return"document/elements/settings"}getId(){return"animate-page-transitions--document/elements/settings"}getContainerType(){return"document"}getConditions(e){return Object.keys(e.settings).some((e=>(e=e.replace(this.prefix,""),this.settings.includes(e))))}apply(){$e.run("page-transitions/animate")}}t.AnimatePageTransition=AnimatePageTransition;t.default=AnimatePageTransition},9746:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnimatePageTransition",{enumerable:!0,get:function(){return n.AnimatePageTransition}}),Object.defineProperty(t,"ReRenderPageTransition",{enumerable:!0,get:function(){return r.ReRenderPageTransition}});var n=o(1637),r=o(1138)},1138:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReRenderPageTransition=void 0;var n=o(8576);class ReRenderPageTransition extends $e.modules.hookData.After{prefix="settings_page_transitions_";settings=["entrance_animation","preloader_type","preloader_icon","preloader_image","preloader_animation_type"];getCommand(){return"document/elements/settings"}getId(){return"re-render-page-transitions--document/elements/settings"}getContainerType(){return"document"}getConditions(e){return Object.keys(e.settings).some((e=>(e=e.replace(this.prefix,""),this.settings.includes(e))))}apply(e){(0,n.renderPageTransition)(e.container)}}t.ReRenderPageTransition=ReRenderPageTransition;t.default=ReRenderPageTransition},1829:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(9746);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},5660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(8576);t.default=class PageTransitionPreview{run(e,t){"panel/global/settings-page-transitions"===t?((0,n.renderPageTransition)(elementor.documents.getCurrent().container),this.togglePageTransitionPreview(!0)):this.togglePageTransitionPreview(!1)}togglePageTransitionPreview(e=!0){const t=elementor.$previewContents[0].body.querySelector("e-page-transition");t&&t.classList.toggle("e-page-transition--preview",e)}}},8576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageTransitionSettings=getPageTransitionSettings,t.renderPageTransition=function renderPageTransition(e){let t=elementor.$previewContents[0].querySelector("e-page-transition");const n=!!e.settings.get(`${o}entrance_animation`),r=!!e.settings.get(`${o}preloader_type`),i=n||r;t||(t=document.createElement("e-page-transition"),t.classList.add("e-page-transition--preview"),elementor.$previewContents[0].body.append(t));t.toggleAttribute("disabled",!i);const a=getPageTransitionSettings(e);Object.entries(a).forEach((([e,n])=>{e=(e=e.replace(o,"")).replaceAll("_","-"),n?"string"!=typeof n?Object.entries(n).forEach((([o,n])=>{let r=e;"value"!==o&&(r=`${e}-${o}`),t.setAttribute(r,n)})):t.setAttribute(e,n):t.removeAttribute(e)}))};const o="settings_page_transitions_";function getPageTransitionSettings(e){const t=Object.entries(e.settings.getActiveControls()).filter((([e,t])=>e.startsWith(o)&&!t.selectors)),n={};return t.forEach((([t])=>{n[t]=e.settings.get(t)})),n}},8268:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6633));class _default extends elementorModules.editor.utils.Module{onInit(){$e.components.register(new r.default),this.bindEvents()}bindEvents(){window.elementor?this.onAnimateButtonClick():jQuery(window).on("elementor:init",(()=>this.onAnimateButtonClick()))}onAnimateButtonClick(){elementor.channels.editor.on("elementorPageTransitions:animate",(()=>{$e.run("page-transitions/animate")}))}}t.default=_default},9601:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(488));class StripeModule extends elementorModules.editor.utils.Module{onElementorInit(){this.stripeButton=new r.default("stripe-button")}}t.default=StripeModule},488:(e,t,o)=>{"use strict";const n=o(7842);e.exports=n.extend({__construct(){n.prototype.__construct.apply(this,arguments)},getName:()=>"stripe-button",onInit(){elementor.channels.editor.on("editor:widget:stripe-button:section_stripe_account:activated",this.onSectionActive)},onSectionActive(){return elementorPro.ajax.addRequest("get_stripe_tax_rates",{success:e=>{this.updateOptions("stripe_test_env_tax_rates_list",e.test_api_key),this.updateOptions("stripe_live_env_tax_rates_list",e.live_api_key)}},!0)}})},7145:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(5413));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class PopupComponent extends $e.modules.ComponentBase{onPageSettingsCloseHandler=null;getNamespace(){return"document/popup"}defaultHooks(){return this.importHooks(n)}}t.default=PopupComponent},6641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.editor.views.ControlsStack{constructor(...e){super(...e),this.template=_.noop,this.activeTab="content",this.listenTo(this.model,"change",this.onModelChange)}getNamespaceArray(){return["popup","display-settings"]}className(){return super.className()+" elementor-popup__display-settings"}toggleGroup(e,t){t.toggleClass("elementor-active",!!this.model.get(e))}onRenderTemplate(){this.activateFirstSection()}onRender(){const e=this.getOption("name");let t;this.children.each((o=>{if("heading"!==o.model.get("type"))return void(t&&t.append(o.$el));const n=o.model.get("name").replace("_heading","");t=jQuery("<div>",{id:`elementor-popup__${e}-controls-group--${n}`,class:"elementor-popup__display-settings_controls_group"});const r=jQuery("<div>",{class:"elementor-popup__display-settings_controls_group__icon"}),i=jQuery("<img>",{src:elementorPro.config.urls.modules+`popup/assets/images/${e}/${n}.svg`});r.html(i),t.html(r),o.$el.before(t),t.append(o.$el),this.toggleGroup(n,t)}))}onModelChange(){const e=Object.keys(this.model.changed)[0],t=this.getControlViewByName(e);"switcher"===t.model.get("type")&&this.toggleGroup(e,t.$el.parent())}}t.default=_default},4546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PopupSave",{enumerable:!0,get:function(){return n.PopupSave}});var n=o(1193)},1193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupSave=void 0;class PopupSave extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-popup-save"}getConditions(){return"popup"===elementor.config.document.type}apply(){const e={};jQuery.each(elementorPro.modules.popup.displaySettingsTypes,((t,o)=>{e[t]=o.model.toJSON({remove:["default"]})})),elementorPro.ajax.addRequest("popup_save_display_settings",{data:{settings:e}})}}t.PopupSave=PopupSave;t.default=PopupSave},5413:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(4546);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var r=o(6840);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupRemoveLibraryTab=void 0;class PopupRemoveLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-pro-popup-remove-library-tab"}getConditions(e){const{document:t}=e;return"popup"===t.config.type}apply(){$e.components.get("library").removeTab("templates/popups")}}t.PopupRemoveLibraryTab=PopupRemoveLibraryTab;t.default=PopupRemoveLibraryTab},7296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupRemoveTriggers=void 0;class PopupRemoveTriggers extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-pro-popup-remove-triggers"}getConditions(e){const{document:t}=e;return"popup"===t.config.type}apply(){this.removePanelFooterSubmenuItems(),this.removePublishTabs()}removePanelFooterSubmenuItems(){const e=elementorPro.modules.popup.displaySettingsTypes;jQuery.each(e,(e=>{elementor.getPanelView().footer.currentView.removeSubMenuItem("saver-options",{name:e})}))}removePublishTabs(){const e=$e.components.get("theme-builder-publish"),t=elementorPro.modules.popup.displaySettingsTypes;jQuery.each(t,(t=>{e.removeTab(t)}))}}t.PopupRemoveTriggers=PopupRemoveTriggers;t.default=PopupRemoveTriggers},4693:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupAddLibraryTab=void 0;class PopupAddLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-pro-popup-add-library-tab"}getConditions(e){return"popup"===elementor.documents.get(e.id).config.type}apply(){$e.components.get("library").addTab("templates/popups",{title:n("Popups","elementor-pro"),filter:{source:"remote",type:"popup"}},1)}}t.PopupAddLibraryTab=PopupAddLibraryTab;t.default=PopupAddLibraryTab},5195:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupAddTriggers=void 0;var r=n(o(6641));class PopupAddTriggers extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-pro-popup-add-triggers"}getConditions(e){return"popup"===elementor.documents.get(e.id).config.type}apply(){elementor.panel?this.addUI():elementor.once("preview:loaded",this.addUI.bind(this))}addUI(){$e.routes.commands["theme-builder-publish/triggers"]||(this.addPanelFooterSubmenuItems(),this.addPublishTabs())}addPublishTabs(){const e=elementor.config.document.displaySettings,t=$e.components.get("theme-builder-publish"),o=elementorPro.modules.popup;jQuery.each(o.displaySettingsTypes,((o,n)=>{n.model=new elementorModules.editor.elements.models.BaseSettings(e[o].settings,{controls:e[o].controls}),t.addTab(o,{View:r.default,viewOptions:{name:o,id:`elementor-popup-${o}__controls`,model:n.model,controls:n.model.controls},name:o,title:n.title,description:n.publishScreenDescription,image:elementorPro.config.urls.modules+`popup/assets/images/${o}-tab.svg`})}))}addPanelFooterSubmenuItems(){const e=$e.components.get("theme-builder-publish"),t=elementorPro.modules.popup.displaySettingsTypes;jQuery.each(t,((t,o)=>{elementor.getPanelView().footer.currentView.addSubMenuItem("saver-options",{before:"save-template",name:t,icon:o.icon,title:o.title,callback:()=>$e.route(e.getTabRoute(t))})}))}}t.PopupAddTriggers=PopupAddTriggers;t.default=PopupAddTriggers},6840:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PopupAddLibraryTab",{enumerable:!0,get:function(){return n.PopupAddLibraryTab}}),Object.defineProperty(t,"PopupAddTriggers",{enumerable:!0,get:function(){return r.PopupAddTriggers}}),Object.defineProperty(t,"PopupRemoveLibraryTab",{enumerable:!0,get:function(){return i.PopupRemoveLibraryTab}}),Object.defineProperty(t,"PopupRemoveTriggers",{enumerable:!0,get:function(){return a.PopupRemoveTriggers}});var n=o(4693),r=o(5195),i=o(268),a=o(7296)},2908:(e,t,o)=>{"use strict";var n=o(2470).__,r=o(6784)(o(7145));class PopupModule extends elementorModules.editor.utils.Module{constructor(...e){super(...e),this.displaySettingsTypes={triggers:{icon:"eicon-click",title:n("Triggers","elementor-pro"),publishScreenDescription:n("What action the user needs to do for the popup to open.","elementor-pro")},timing:{icon:"eicon-cog",title:n("Advanced Rules","elementor-pro"),publishScreenDescription:n("Requirements that have to be met for the popup to open.","elementor-pro")}}}onElementorLoaded(){this.component=$e.components.register(new r.default({manager:this}))}}e.exports=PopupModule},4620:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorPreviewLoaded(){elementor.addControlView("Query",o(8300)),o.e(93).then(o.bind(o,3093)).then((({default:e})=>elementor.addControlView("template_query",e)))}})},8300:(e,t,o)=>{"use strict";var n=o(2470).__;e.exports=elementor.modules.controls.Select2.extend({cache:null,isTitlesReceived:!1,getSelect2Placeholder:()=>({id:"",text:n("All","elementor-pro")}),getControlValueByName(e){const t=this.model.get("group_prefix")+e;return this.elementSettingsModel.attributes[t]},getQueryDataDeprecated(){return{filter_type:this.model.get("filter_type"),object_type:this.model.get("object_type"),include_type:this.model.get("include_type"),query:this.model.get("query")}},getQueryData(){const e=elementorCommon.helpers.cloneObject(this.model.get("autocomplete"));return _.isEmpty(e.query)&&(e.query={}),"cpt_tax"===e.object&&(e.object="tax",(_.isEmpty(e.query)||_.isEmpty(e.query.post_type))&&(e.query.post_type=this.getControlValueByName("post_type"))),{autocomplete:e}},getSelect2DefaultOptions(){const e=this;return jQuery.extend(elementor.modules.controls.Select2.prototype.getSelect2DefaultOptions.apply(this,arguments),{ajax:{transport(t,o,n){let r={},i="panel_posts_control_filter_autocomplete";return!_.isEmpty(e.model.get("filter_type"))?(r=e.getQueryDataDeprecated(),i="panel_posts_control_filter_autocomplete_deprecated"):r=e.getQueryData(),r.q=t.data.q,elementorPro.ajax.addRequest(i,{data:r,success:o,error:n})},data:e=>({q:e.term,page:e.page}),cache:!0},escapeMarkup:e=>e,minimumInputLength:1})},getValueTitles(){const e=this,t={},o=!_.isEmpty(this.model.get("filter_type"));let n=this.getControlValue(),r="query_control_value_titles",i="autocomplete",a={};o?(i="filter_type",a=this.model.get(i).object,t.filter_type=a,t.object_type=e.model.get("object_type"),t.include_type=e.model.get("include_type"),t.unique_id=""+e.cid+a,r="query_control_value_titles_deprecated"):(a=this.model.get(i).object,t.get_titles=e.getQueryData().autocomplete,t.unique_id=""+e.cid+a),n&&a&&(_.isArray(n)||(n=[n]),elementorCommon.ajax.loadObjects({action:r,ids:n,data:t,before(){e.addControlSpinner()},success(t){e.isTitlesReceived=!0,e.model.set("options",t),e.render()}}))},addControlSpinner(){this.ui.select.prop("disabled",!0),this.$el.find(".elementor-control-title").after('<span class="elementor-control-spinner"> <i class="eicon-spinner eicon-animation-spin"></i> </span>')},onReady(){this.isTitlesReceived||this.getValueTitles()}})},3288:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(7701));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class _default extends $e.modules.ComponentBase{getNamespace(){return"screenshots"}defaultHooks(){return this.importHooks(n)}}t.default=_default},5417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DeleteScreenshot=void 0;class DeleteScreenshot extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getConditions(e){const{status:t}=e,o=elementor.documents.getCurrent().config;return"publish"===t&&o.support_site_editor}getId(){return"document/save/save::delete-screenshot"}apply(){const e=elementor.documents.getCurrent().id;return elementorCommon.ajax.addRequest("screenshot_delete",{unique_id:`delete_screenshot_${e}`,data:{post_id:e}})}}t.DeleteScreenshot=DeleteScreenshot;t.default=DeleteScreenshot},7701:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DeleteScreenshot",{enumerable:!0,get:function(){return n.DeleteScreenshot}});var n=o(5417)},739:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(3288));class Module extends elementorModules.editor.utils.Module{onElementorInit(){$e.components.register(new r.default)}}t.default=Module},1035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(1958));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class ScrollSnapComponent extends $e.modules.ComponentBase{getNamespace(){return"scroll-snap"}defaultHooks(){return this.importHooks(n)}}t.default=ScrollSnapComponent},6635:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FocusPreview=void 0;class FocusPreview extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"focus-preview--document/elements/settings"}getConditions(e){return""!==e.settings.scroll_snap_padding?.size}apply(){setTimeout((()=>{elementor.$preview[0].contentWindow.scrollBy(0,0)}),100)}}t.FocusPreview=FocusPreview;t.default=FocusPreview},1958:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FocusPreview",{enumerable:!0,get:function(){return n.FocusPreview}});var n=o(6635)},2794:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(1035));class Module extends elementorModules.editor.utils.Module{onInit(){super.onInit(),$e.components.register(new r.default)}}t.default=Module},5632:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({config:elementorPro.config.shareButtonsNetworks,networksClassDictionary:{google:"fab fa-google-plus",pocket:"fab fa-get-pocket",email:"fas fa-envelope",print:"fas fa-print"},getNetworkClass(e){let t=this.networksClassDictionary[e]||"fab fa-"+e;return elementor.config.icons_update_needed&&(t="fa "+t),t},getNetworkTitle(e){return e.text||this.getNetworkData(e)?.title},getNetworkData(e){return this.config[e.button]},hasCounter(e,t){return"icon"!==t.view&&"yes"===t.show_counter&&this.config[e].has_counter}})},6259:e=>{"use strict";e.exports=elementor.modules.controls.RepeaterRow.extend({template:"#tmpl-elementor-theme-builder-conditions-repeater-row",childViewContainer:".elementor-theme-builder-conditions-repeater-row-controls",conflictCheckedOnFirstRender:!1,id(){return"elementor-condition-id-"+this.model.get("_id")},onBeforeRender(){var e=this.collection.findWhere({name:"sub_name"}),t=this.collection.findWhere({name:"sub_id"}),o=this.config.conditions[this.model.attributes.sub_name];e.attributes.groups=this.getOptions(),o&&o.controls&&_(o.controls).each((function(e){t.set(e),t.set("name","sub_id")}))},initialize(){elementor.modules.controls.RepeaterRow.prototype.initialize.apply(this,arguments),this.config=elementor.config.document.theme_builder},updateOptions(){(this.model.changed.name&&this.model.set({sub_name:"",sub_id:""}),this.model.changed.name||this.model.changed.sub_name)&&(this.model.set("sub_id","",{silent:!0}),this.collection.findWhere({name:"sub_id"}).set({type:"select",options:{"":"All"}}),this.render());this.model.changed.type&&this.setTypeAttribute()},getOptions(){var e=this,t=e.config.conditions[this.model.get("name")];if(t){var o={"":t.all_label};return _(t.sub_conditions).each((function(t,n){var r,i=e.config.conditions[t];i&&(i.sub_conditions.length?((r={label:i.label,options:{}}).options[t]=i.all_label,_(i.sub_conditions).each((function(t){r.options[t]=e.config.conditions[t].label})),o["key"+n]=r):o[t]=i.label)})),o}},setTypeAttribute(){var e=this.children.findByModel(this.collection.findWhere({name:"type"}));e.$el.attr("data-elementor-condition-type",e.getControlValue())},checkConflicts(){var e=this.model.get("_id"),t="elementor-condition-id-"+e,o="elementor-conditions-conflict-message-"+e,n=jQuery("#"+o);jQuery("#"+t).removeClass("elementor-error"),n.remove(),elementorPro.ajax.addRequest("theme_builder_conditions_check_conflicts",{unique_id:t,data:{condition:this.model.toJSON()},success(e){_.isEmpty(e)||jQuery("#"+t).addClass("elementor-error").after('<div id="'+o+'" class="elementor-conditions-conflict-message">'+e+"</div>")}})},onRender(){var e=this.collection.findWhere({name:"name"}),t=this.collection.findWhere({name:"sub_name"}),o=this.collection.findWhere({name:"sub_id"}),n=this.children.findByModel(e),r=this.children.findByModel(t),i=this.children.findByModel(o),a=this.config.conditions[this.model.attributes.name],s=this.config.conditions[this.model.attributes.sub_name],l=this.config.types[this.config.settings.template_type];l.condition_type!==n.getControlValue()||"general"===n.getControlValue()||_.isEmpty(a.sub_conditions)||n.$el.hide(),(!a||_.isEmpty(a.sub_conditions)&&_.isEmpty(a.controls)||!n.getControlValue()||"general"===n.getControlValue())&&r.$el.hide(),s&&!_.isEmpty(s.controls)&&r.getControlValue()||i.$el.hide(),"singular"===l.condition_type&&""===r.getControlValue()&&r.setValue("post"),this.setTypeAttribute(),this.conflictCheckedOnFirstRender||(this.checkConflicts(),this.conflictCheckedOnFirstRender=!0)},onModelChange(){this.updateOptions(),this.checkConflicts()}})},606:(e,t,o)=>{"use strict";var n=o(2470).__,r=o(6784)(o(6259));e.exports=elementor.modules.controls.Repeater.extend({childView:r.default,updateActiveRow(){},initialize(){elementor.modules.controls.Repeater.prototype.initialize.apply(this,arguments),this.config=elementor.config.document.theme_builder,this.updateConditionsOptions(this.config.settings.template_type)},updateConditionsOptions(e){var t=this,o=t.config.types[e].condition_type,n={};_([o]).each((function(e,o){var r=t.config.conditions[e],i={label:r.label,options:{}};i.options[e]=r.all_label,_(r.sub_conditions).each((function(e){i.options[e]=t.config.conditions[e].label})),n[o]=i}));var r=this.model.get("fields");r[1].default=o,"general"===o?r[1].groups=n:r[2].groups=n},onRender(){this.ui.btnAddRow.text(n("Add Condition","elementor-pro"))}})},2175:(e,t,o)=>{"use strict";var n=o(5184);e.exports=n.extend({id:"elementor-theme-builder-conditions-view",template:"#tmpl-elementor-theme-builder-conditions-view",childViewContainer:"#elementor-theme-builder-conditions-controls",childViewOptions(){return{elementSettingsModel:this.model}}})},6517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ThemeBuilderSaveAndReload",{enumerable:!0,get:function(){return n.ThemeBuilderSaveAndReload}}),Object.defineProperty(t,"ThemeBuilderUpdatePreviewOptions",{enumerable:!0,get:function(){return r.ThemeBuilderUpdatePreviewOptions}});var n=o(2404),r=o(1998)},2404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderSaveAndReload=void 0;class ThemeBuilderSaveAndReload extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-theme-builder-save-and-reload"}getContainerType(){return"document"}getConditions(e){return e.settings&&e.settings.page_template}apply(){$e.run("document/save/auto",{force:!0,onSuccess:()=>{elementor.reloadPreview(),elementor.once("preview:loaded",(()=>{$e.route("panel/page-settings/settings")}))}})}}t.ThemeBuilderSaveAndReload=ThemeBuilderSaveAndReload;t.default=ThemeBuilderSaveAndReload},1998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderUpdatePreviewOptions=void 0;class ThemeBuilderUpdatePreviewOptions extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-theme-builder-update-preview-options"}getContainerType(){return"document"}getConditions(e){return e.settings&&e.settings.preview_type}apply(e){const{containers:t=[e.container]}=e,{themeBuilder:o}=elementorPro.modules;$e.run("document/elements/settings",{containers:t,settings:{preview_id:"",preview_search_term:""}}),$e.routes.is("panel/page-settings/settings")&&o.updatePreviewIdOptions(!0)}}t.ThemeBuilderUpdatePreviewOptions=ThemeBuilderUpdatePreviewOptions;t.default=ThemeBuilderUpdatePreviewOptions},4081:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderSaveConditions=void 0;class ThemeBuilderSaveConditions extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-theme-builder-save-conditions"}getConditions(){return!!elementor.config.document.theme_builder}apply(){const{conditionsModel:e}=elementorPro.modules.themeBuilder;elementorPro.ajax.addRequest("theme_builder_save_conditions",{data:e.toJSON({remove:["default"]}),success:()=>{elementor.config.document.theme_builder.settings.conditions=e.get("conditions")}})}}t.ThemeBuilderSaveConditions=ThemeBuilderSaveConditions;t.default=ThemeBuilderSaveConditions},3941:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderShowConditions=void 0;class ThemeBuilderShowConditions extends $e.modules.hookData.Dependency{getCommand(){return"document/save/default"}getId(){return"elementor-pro-theme-builder-show-conditions"}getConditions(e){const{force:t=!1}=e;if(t)return!1;let o=!1;const n=elementor.config.document.theme_builder;if(n){const e=n.settings.conditions.length,t=n.settings.location,r="draft"===elementor.settings.page.model.get("post_status");!t||e&&!r||(o=!0)}return o}apply(){return $e.route("theme-builder-publish/conditions"),!1}}t.ThemeBuilderShowConditions=ThemeBuilderShowConditions;t.default=ThemeBuilderShowConditions},7921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderPreviewBreak=void 0;class ThemeBuilderPreviewBreak extends $e.modules.hookData.Dependency{getCommand(){return"editor/documents/preview"}getId(){return"elementor-pro-theme-builder-preview-break"}getConditions(e){return!e.force&&!!elementor.documents.get(e.id).config.theme_builder}apply(){return!1}}t.ThemeBuilderPreviewBreak=ThemeBuilderPreviewBreak;t.default=ThemeBuilderPreviewBreak},2399:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ThemeBuilderSaveConditions:!0,ThemeBuilderShowConditions:!0,ThemeBuilderPreviewBreak:!0};Object.defineProperty(t,"ThemeBuilderPreviewBreak",{enumerable:!0,get:function(){return s.ThemeBuilderPreviewBreak}}),Object.defineProperty(t,"ThemeBuilderSaveConditions",{enumerable:!0,get:function(){return i.ThemeBuilderSaveConditions}}),Object.defineProperty(t,"ThemeBuilderShowConditions",{enumerable:!0,get:function(){return a.ThemeBuilderShowConditions}});var r=o(6517);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var i=o(4081),a=o(3941),s=o(7921)},3242:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(2399);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var r=o(5833);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderToggleMenuConditions=void 0;class ThemeBuilderToggleMenuConditions extends $e.modules.hookUI.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-theme-builder-toggle-menu-conditions"}getContainerType(){return"document"}getConditions(e){return e.settings&&e.settings.location}apply(){const{themeBuilder:e}=elementorPro.modules;e.ui.menuConditions.toggle(!!elementor.config.document.theme_builder.settings.location)}}t.ThemeBuilderToggleMenuConditions=ThemeBuilderToggleMenuConditions;t.default=ThemeBuilderToggleMenuConditions},7190:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderRemoveEditorUI=void 0;class ThemeBuilderRemoveEditorUI extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-pro-theme-builder-remove-editor-ui"}getConditions(e){const{document:t}=e;return t.config.theme_builder}apply(){this.removePanelFooterSubmenuItems(),this.removePublishTabs()}removePanelFooterSubmenuItems(){const e=elementor.getPanelView().footer.currentView,t=e._behaviors[Object.keys(e.behaviors()).indexOf("saver")];elementor.getPanelView().footer.currentView.removeSubMenuItem("saver-options",{name:"conditions"}),t.ui.buttonPreview.tipsy("enable").removeClass("elementor-panel-footer-theme-builder-buttons-wrapper elementor-toggle-state")}removePublishTabs(){$e.components.get("theme-builder-publish").removeTab("conditions")}}t.ThemeBuilderRemoveEditorUI=ThemeBuilderRemoveEditorUI;t.default=ThemeBuilderRemoveEditorUI},9391:(e,t,o)=>{"use strict";var n=o(2470).__,r=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderAddEditorUI=void 0;var i=r(o(2175));class ThemeBuilderAddEditorUI extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-pro-theme-builder-add-editor-ui"}getConditions(e){return elementor.documents.get(e.id).config.theme_builder}apply(){elementor.panel?this.addUI():elementor.once("preview:loaded",this.addUI.bind(this))}addUI(){this.addRepeaterControlView(),this.addPanelFooterSubmenuItems(),this.addPublishTabs()}addRepeaterControlView(){elementor.addControlView("Conditions_repeater",o(606))}addPublishTabs(){const e=$e.components.get("theme-builder-publish"),t=elementor.config.document.theme_builder,o=t.settings;e.manager.conditionsModel=new elementorModules.editor.elements.models.BaseSettings(o,{controls:t.template_conditions.controls}),e.addTab("conditions",{title:n("Conditions","elementor-pro"),View:i.default,viewOptions:{model:e.manager.conditionsModel,controls:e.manager.conditionsModel.controls},name:"conditions",description:n("Apply current template to these pages.","elementor-pro"),image:elementorPro.config.urls.modules+"theme-builder/assets/images/conditions-tab.svg"})}addPanelFooterSubmenuItems(){const e=elementor.getPanelView().footer.currentView,t=e._behaviors[Object.keys(e.behaviors()).indexOf("saver")];e.ui.menuConditions=e.addSubMenuItem("saver-options",{before:"save-template",name:"conditions",icon:"eicon-flow",title:n("Display Conditions","elementor-pro"),callback:()=>$e.route("theme-builder-publish/conditions")}),e.ui.menuConditions.toggle(!!elementor.config.document.theme_builder.settings.location),t.ui.buttonPreview.tipsy("disable").html(jQuery("#tmpl-elementor-theme-builder-button-preview").html()).addClass("elementor-panel-footer-theme-builder-buttons-wrapper elementor-toggle-state")}}t.ThemeBuilderAddEditorUI=ThemeBuilderAddEditorUI;t.default=ThemeBuilderAddEditorUI},5833:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ThemeBuilderAddEditorUI",{enumerable:!0,get:function(){return n.ThemeBuilderAddEditorUI}}),Object.defineProperty(t,"ThemeBuilderFooterSaverAfterSave",{enumerable:!0,get:function(){return a.ThemeBuilderFooterSaverAfterSave}}),Object.defineProperty(t,"ThemeBuilderRemoveEditorUI",{enumerable:!0,get:function(){return r.ThemeBuilderRemoveEditorUI}}),Object.defineProperty(t,"ThemeBuilderToggleMenuConditions",{enumerable:!0,get:function(){return i.ThemeBuilderToggleMenuConditions}});var n=o(9391),r=o(7190),i=o(576),a=o(1842)},1842:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeBuilderFooterSaverAfterSave=void 0;class ThemeBuilderFooterSaverAfterSave extends $e.modules.hookUI.After{getCommand(){return"document/save/save"}getId(){return"theme-builder-footer-saver-after-save"}getConditions(){return elementor.config.document.support_site_editor}apply(e,t){const{status:o}=e;t.statusChanged&&this.onPageStatusChange(o)}onPageStatusChange(e){if("publish"!==e)return;const t={classes:"e-theme-builder-save-toaster",message:elementor.config.document.panel.messages.publish_notification,buttons:[{name:"open_site_editor",text:'<i class="eicon-external-link-square"></i><span class="e-theme-builder-toaster-button-text">'+n("Open Site Editor","elementor-pro")+"</span>",callback(){$e.run("app/open")}},{name:"view_live_site",text:'<i class="eicon-preview-medium"></i><span class="e-theme-builder-toaster-button-text">'+n("View Live Site","elementor-pro")+"</span>",callback(){open(elementor.config.document.urls.permalink)}}]};elementor.notifications.showToast(t)}}t.ThemeBuilderFooterSaverAfterSave=ThemeBuilderFooterSaverAfterSave},5565:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(478));class ThemeBuilderModule extends elementorModules.editor.utils.Module{__construct(...e){super.__construct(...e),Object.defineProperty(elementorPro.config,"theme_builder",{get:()=>(elementorCommon.helpers.softDeprecated("theme_builder","2.9.0","elementor.config.document.theme_builder"),elementor.config.document.theme_builder)})}onElementorLoaded(){this.component=$e.components.register(new r.default({manager:this})),elementor.on("document:loaded",this.onDocumentLoaded.bind(this)),elementor.on("document:unload",this.onDocumentUnloaded.bind(this)),this.onApplyPreview=this.onApplyPreview.bind(this),this.onSectionPreviewSettingsActive=this.onSectionPreviewSettingsActive.bind(this),elementor.channels.editor.on("elementorProSiteLogo:change",this.openSiteIdentity)}onDocumentLoaded(e){e.config.theme_builder&&(elementor.getPanelView().on("set:page:page_settings",this.updatePreviewIdOptions),elementor.channels.editor.on("elementorThemeBuilder:ApplyPreview",this.onApplyPreview),elementor.channels.editor.on("page_settings:preview_settings:activated",this.onSectionPreviewSettingsActive))}onDocumentUnloaded(e){e.config.theme_builder&&(elementor.getPanelView().off("set:page:page_settings",this.updatePreviewIdOptions),elementor.channels.editor.off("elementorThemeBuilder:ApplyPreview",this.onApplyPreview),elementor.channels.editor.off("page_settings:preview_settings:activated",this.onSectionPreviewSettingsActive))}saveAndReload(){$e.run("document/save/auto",{force:!0,onSuccess:()=>{elementor.dynamicTags.cleanCache();elementor.config.initial_document.id===elementor.documents.getCurrentId()?elementor.reloadPreview():$e.internal("editor/documents/attach-preview")}})}onApplyPreview(){this.saveAndReload()}onSectionPreviewSettingsActive(){this.updatePreviewIdOptions(!0)}updatePreviewIdOptions=e=>{let t=elementor.settings.page.model.get("preview_type");if(!t)return;t=t.split("/");const o=elementor.getPanelView().getCurrentPageView(),n=o.collection.findWhere({name:"preview_id"}),r=t[0],i=t[1];if("author"===t[1]?n.set({autocomplete:{object:"author"}}):this.isTemplateTypeTaxonomyLoop(r)?n.set({autocomplete:{object:"tax",query:{taxonomy:i}}}):"single"===r?n.set({autocomplete:{object:"post",query:{post_type:i}}}):n.set({autocomplete:{object:""}}),!0===e){const e=o.children.findByModel(n);e.render(),e.$el.toggle(!!n.get("autocomplete").object)}};isTemplateTypeTaxonomyLoop(e){return["post_taxonomy","product_taxonomy"].includes(e)}async openSiteIdentity(){await $e.run("panel/global/open"),$e.route("panel/global/settings-site-identity")}}t.default=ThemeBuilderModule},478:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(6228)),i=n(o(3655)),a=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(3242));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentModalBase{getNamespace(){return"theme-builder-publish"}getModalLayout(){return i.default}defaultCommands(){return{next:()=>{const e=Object.keys(this.tabs)[this.currentTabIndex+1];e&&$e.route(this.getTabRoute(e))},save:()=>{$e.run("document/save/default",{force:!0}),this.layout.hideModal()},"preview-settings":()=>{const e=elementor.getPanelView();$e.route("panel/page-settings/settings"),e.getCurrentPageView().activateSection("preview_settings")._renderChildren()}}}defaultHooks(){return this.importHooks(a)}getTabsWrapperSelector(){return"#elementor-publish__tabs"}renderTab(e){const t=this.getTabs(),o=Object.keys(t),n=t[e];this.currentTabIndex=o.indexOf(e);const r=!o[this.currentTabIndex+1];this.layout.modalContent.currentView.screen.show(new n.View(n.viewOptions)),this.layout.modal.getElements("next").toggle(!r),this.layout.modal.getElements("publish").toggleClass("e-primary",r)}activateTab(e){$e.routes.saveState(this.getNamespace()),super.activateTab(e)}open(){return super.open(),this.layoutContent||(this.layout.showLogo(),this.layout.modalContent.show(new r.default({component:this})),this.layoutContent=!0),!0}}t.default=Component},6228:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends Marionette.LayoutView{id(){return"elementor-publish"}getTemplate(){return Marionette.TemplateCache.get("#tmpl-elementor-component-publish")}regions(){return{screen:"#elementor-publish__screen"}}templateHelpers(){return{tabs:this.getOption("component").getTabs()}}}t.default=_default},3655:(e,t,o)=>{"use strict";var n=o(2470).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.common.views.modal.Layout{getModalOptions(){return{id:"elementor-publish__modal",hide:{onButtonClick:!1}}}getLogoOptions(){return{title:n("Publish Settings","elementor-pro")}}initModal(){super.initModal(),this.modal.addButton({name:"publish",text:n("Save & Close","elementor-pro"),callback:()=>$e.run("theme-builder-publish/save")}),this.modal.getElements("publish").addClass("e-btn-txt"),this.modal.addButton({name:"next",text:n("Next","elementor-pro"),callback:()=>$e.run("theme-builder-publish/next")});const e=this.modal.getElements("publish");this.modal.getElements("next").addClass("e-primary").add(e).addClass("elementor-button").removeClass("dialog-button")}}t.default=_default},4623:e=>{"use strict";e.exports=function(){var e=this;e.onPanelShow=function(e,t){var o=t.get("settings");o.controls._skin.default||o.set("_skin","theme_comments")},e.init=function(){elementor.hooks.addAction("panel/open_editor/widget/post-comments",e.onPanelShow)},e.init()}},618:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorPreviewLoaded(){var e=o(4623);this.commentsSkin=new e}})},63:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(698));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class VideoPlaylistComponent extends $e.modules.ComponentBase{getNamespace(){return"video-playlist"}defaultHooks(){return this.importHooks(n)}}t.default=VideoPlaylistComponent},9224:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ActiveTab=void 0;class ActiveTab extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"active-tab--document/elements/settings"}getContainerType(){return"repeater"}getConditions(e){return e.settings.inner_tab_content_1||e.settings.inner_tab_content_2}apply(e){e.settings.inner_tab_content_1?e.container.view.model.get("editSettings").set("innerActiveIndex",0):e.settings.inner_tab_content_2&&e.container.view.model.get("editSettings").set("innerActiveIndex",1)}}t.ActiveTab=ActiveTab;t.default=ActiveTab},698:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ActiveTab",{enumerable:!0,get:function(){return n.ActiveTab}});var n=o(9224)},5710:(e,t,o)=>{"use strict";var n=o(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(o(63));class Module extends elementorModules.editor.utils.Module{onInit(){super.onInit(),$e.components.register(new r.default)}onElementorLoaded(){elementor.channels.editor.on("elementorPlaylistWidget:setVideoData",(e=>{$e.run("document/elements/settings",{container:e.container,settings:{thumbnail:{url:e.currentItem.thumbnail?e.currentItem.thumbnail.url:""},title:e.currentItem.video_title?e.currentItem.video_title:"",duration:e.currentItem.duration?e.currentItem.duration:""},options:{external:!0}})}))}}t.default=Module},4831:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n}(o(4476));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentBase{getNamespace(){return"woocommerce"}defaultHooks(){return this.importHooks(n)}}t.default=Component},1535:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceCreateWidgetActivateSettingsModal=void 0;class WoocommerceCreateWidgetActivateSettingsModal extends $e.modules.hookData.After{getCommand(){return"document/elements/create"}getId(){return"elementor-pro-woocommerce-create-widget-activate-settings-modal"}getContainerType(){return"column"}getConditions(e,t){return Object.prototype.hasOwnProperty.call(elementorPro.modules.woocommerce.pageSettingsWidgets,t.model.get("widgetType"))}apply(e,t){elementorPro.modules.woocommerce.onCreateWidget(t)}}t.WoocommerceCreateWidgetActivateSettingsModal=WoocommerceCreateWidgetActivateSettingsModal},5487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceDeleteWidgetDeactivateSettingsModal=void 0;class WoocommerceDeleteWidgetDeactivateSettingsModal extends $e.modules.hookData.After{getCommand(){return"document/elements/delete"}getId(){return"elementor-pro-woocommerce-delete-widget-deactivate-settings-modal"}getContainerType(){return"widget"}getConditions(e,t){return Object.prototype.hasOwnProperty.call(elementorPro.modules.woocommerce.pageSettingsWidgets,t.model.get("widgetType"))}apply(e,t){elementorPro.modules.woocommerce.onDeleteWidget(t)}}t.WoocommerceDeleteWidgetDeactivateSettingsModal=WoocommerceDeleteWidgetDeactivateSettingsModal},9276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WoocommerceCreateWidgetActivateSettingsModal",{enumerable:!0,get:function(){return r.WoocommerceCreateWidgetActivateSettingsModal}}),Object.defineProperty(t,"WoocommerceDeleteWidgetDeactivateSettingsModal",{enumerable:!0,get:function(){return i.WoocommerceDeleteWidgetDeactivateSettingsModal}}),Object.defineProperty(t,"WoocommerceNotices",{enumerable:!0,get:function(){return a.WoocommerceNotices}}),Object.defineProperty(t,"WoocommerceSaveShowModal",{enumerable:!0,get:function(){return n.WoocommerceSaveShowModal}});var n=o(7229),r=o(1535),i=o(5487),a=o(6093)},6093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceNotices=void 0;class WoocommerceNotices extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"woocommerce-notices"}getConditions(e){return"kit"===elementor.documents.getCurrent().config.type&&Array.isArray(e.settings.woocommerce_notices_elements)}apply(e){const{woocommerce:t}=elementorPro.modules;t.renderMockNotices(e.settings.woocommerce_notices_elements)}}t.WoocommerceNotices=WoocommerceNotices},7229:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceSaveShowModal=void 0;class WoocommerceSaveShowModal extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-woocommerce-save-show-modal"}getConditions(e){return e.status&&-1!==["private","publish"].indexOf(e.status)}apply(){elementorPro.modules.woocommerce.onUpdateDocument()}}t.WoocommerceSaveShowModal=WoocommerceSaveShowModal},4476:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(9276);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},4062:(e,t,o)=>{"use strict";var n=o(2470).__,r=o(6784);o(5724);var i=r(o(4831));class WoocommerceModule extends elementorModules.editor.utils.Module{constructor(...e){super(...e),this.pageSettingsWidgets={"woocommerce-checkout-page":{headerMessage:n("Want to save this as your checkout page?","elementor-pro"),message:n("Changes you make here will override your existing WooCommerce settings.","elementor-pro"),confirmMessage:n("You've updated your checkout page.","elementor-pro"),cancelMessage:n("<h3>Set up a checkout page</h3><br>Without a checkout page, visitors can't complete transactions on your site. To set one up, go to Site Settings.","elementor-pro"),failedMessage:n("<h3>Sorry, something went wrong.</h3><br>To define a checkout page for your site, head over to Site Settings.","elementor-pro"),optionName:"woocommerce_checkout_page_id",woocommercePageName:"checkout"},"woocommerce-cart":{headerMessage:n("Want to save this as your cart page?","elementor-pro"),message:n("Changes you make here will override your existing WooCommerce settings.","elementor-pro"),confirmMessage:n("You've updated your cart page.","elementor-pro"),cancelMessage:n("<h3>Set up a cart page</h3><br>The cart page shows an order summary. To set one up, go to Site Settings.","elementor-pro"),failedMessage:n("<h3>Sorry, something went wrong.</h3><br>To define a cart page for your site, head over to Site Settings.","elementor-pro"),optionName:"woocommerce_cart_page_id",woocommercePageName:"cart"},"woocommerce-my-account":{headerMessage:n("Want to save this as your my account page?","elementor-pro"),message:n("Changes you make here will override your existing WooCommerce settings.","elementor-pro"),confirmMessage:n("You've updated your my account page.","elementor-pro"),cancelMessage:n("<h3>Set up a My Account page</h3><br>Without it, customers can't update their billing details, review past orders, etc. To set up My Account, go to Site Settings.","elementor-pro"),failedMessage:n("<h3>Sorry, something went wrong.</h3><br>To define a my account page for your site, head over to Site Settings.","elementor-pro"),optionName:"woocommerce_myaccount_page_id",woocommercePageName:"myaccount"},"woocommerce-purchase-summary":{headerMessage:n("Want to save this as your purchase summary page?","elementor-pro"),message:n("Changes you make here will override your WooCommerce default purchase summary page.","elementor-pro"),confirmMessage:n("You've updated your summary page.","elementor-pro"),cancelMessage:n("<h3>Set up a purchase summary page</h3><br>This page shows payment and order details. To set one up, go to Site Settings.","elementor-pro"),failedMessage:n("<h3>Sorry, something went wrong.</h3><br>To define a purchase summary page for your site, head over to Site Settings.","elementor-pro"),optionName:"elementor_woocommerce_purchase_summary_page_id",woocommercePageName:"summary"}},this.createdPageSettingsWidgets=[]}addWooCommerceClassToLoopWrapper(e){e.$element.addClass("woocommerce")}onElementorInit(){elementor.hooks.addAction("editor/widgets/loop-grid/on-init",this.addWooCommerceClassToLoopWrapper)}onElementorFrontendInit(){elementorFrontend.elements.$body.on("added_to_cart",((e,t)=>{if(this.didManuallyTriggerAddToCartEvent(t))return!1})),"loop-item"===elementor.documents.currentDocument.config.type&&"product"===elementor.documents.currentDocument.config.settings.settings.source&&elementor.on("document:loaded",(()=>{elementor.$previewContents[0].querySelector(".e-loop-item").classList.add("woocommerce")}))}didManuallyTriggerAddToCartEvent(e=null){return e?.e_manually_triggered}onElementorLoaded(){this.component=$e.components.register(new i.default({manager:this}));const e=["section_woocommerce_notices","woocommerce_message_notices","woocommerce_info_notices","woocommerce_error_notices"];for(const t of e)elementor.channels.editor.on("kit_settings:"+t+":activated",(()=>{this.renderMockNotices(elementor.documents.getCurrent().container.settings.get("woocommerce_notices_elements"))}));elementor.channels.editor.on("editor:widget:woocommerce-cart:section_additional_options:activated",(()=>{this.onTemplateIdChange("additional_template_select")})),elementor.channels.editor.on("editor:widget:woocommerce-my-account:section_additional_options:activated",(()=>{this.onTemplateIdChange("customize_dashboard_select")}))}renderMockNotices(e){const t=elementor.$previewContents.find(".woocommerce-notices-wrapper");if(e.length<=0)return void t.remove();let o="";for(const t of e){o+="e-"+t.replace("_","-")+"-notice "}elementorFrontend.elements.$body.addClass(o.trim()),t.addClass("elementor-loading"),jQuery(".elementor-select2").attr("disabled","disabled"),elementorPro.ajax.addRequest("woocommerce_mock_notices",{data:{notice_elements:e},success(e){t.remove(),elementor.$previewContents.find(".elementor-editor-preview").prepend(e),t.removeClass("elementor-loading"),jQuery(".elementor-select2").removeAttr("disabled")}})}onTemplateIdChange(e){const t=elementor.getPanelView().getCurrentPageView(),o=t.getOption("editedElementView").getEditModel().get("settings").get(e),n=t.$el.find(".elementor-edit-template");if(o){const e=ElementorConfig.home_url+"?p="+o+"&elementor";n.prop("href",e).removeClass("e-control-tool-disabled").show()}else n.addClass("e-control-tool-disabled").hide()}onCreateWidget(e){const t=e.model.get("widgetType");void 0===this.createdPageSettingsWidgets[t]&&(this.createdPageSettingsWidgets[t]=0),this.createdPageSettingsWidgets[t]++}onDeleteWidget(e){const t=e.model.get("widgetType");this.createdPageSettingsWidgets[t]--,this.createdPageSettingsWidgets[t]||delete this.createdPageSettingsWidgets[t]}onUpdateDocument(){elementorFrontend.elements.$body.trigger("added_to_cart",[{e_manually_triggered:!0}]);const e=Object.keys(this.createdPageSettingsWidgets),t=e[e.length-1],o=elementor.documents.getCurrent().id;if(1!==e.length)return;const r=this.pageSettingsWidgets[t];o!==elementorPro.config.woocommerce.woocommercePages[r.woocommercePageName]&&(elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-woocommerce-save-pages",className:"e-global__confirm-add",headerMessage:r.headerMessage,message:r.message,position:{my:"center center",at:"center center"},strings:{confirm:n("Save","elementor-pro"),cancel:n("No thanks","elementor-pro")},onConfirm:()=>this.onConfirmModal(r),onCancel:()=>this.onCancelModal(r)}).show(),this.createdPageSettingsWidgets=[])}onConfirmModal(e){elementorPro.ajax.addRequest("woocommerce_update_page_option",{data:{option_name:e.optionName},success:()=>{elementor.notifications.showToast({message:e.confirmMessage})},error:()=>this.showPagesSettingsToast(e.failedMessage)})}onCancelModal(e){this.showPagesSettingsToast(e.cancelMessage)}showPagesSettingsToast(e){const t=[];elementor.notifications.initToast(),t.push({name:"take_me_there",text:n("Take me there","elementor"),callback:()=>this.openSiteSettingsTab("settings-woocommerce")}),elementor.notifications.showToast({message:e,buttons:t})}openSiteSettingsTab(e="",t=""){elementorCommon.elements.$body.hasClass("elementor-editor-preview")&&elementor.exitPreviewMode();"panel/global/menu"===elementor.documents.currentDocument.config.panel.default_route?$e.run("panel/global/close"):$e.run("editor/documents/switch",{id:elementor.config.kit_id,mode:"autosave"}).then((()=>{e&&$e.route("panel/global/"+e)})).then((()=>{if(t){const e=jQuery(".elementor-control-"+t);e.length&&e.trigger("click")}}))}}e.exports=WoocommerceModule},1234:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:o,getPrototypeOf:n,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:s}=Object,{apply:l,construct:d}="undefined"!=typeof Reflect&&Reflect;i||(i=function freeze(e){return e}),a||(a=function seal(e){return e}),l||(l=function apply(e,t,o){return e.apply(t,o)}),d||(d=function construct(e,t){return new e(...t)});const c=unapply(Array.prototype.forEach),u=unapply(Array.prototype.pop),m=unapply(Array.prototype.push),p=unapply(String.prototype.toLowerCase),g=unapply(String.prototype.toString),f=unapply(String.prototype.match),_=unapply(String.prototype.replace),h=unapply(String.prototype.indexOf),b=unapply(String.prototype.trim),y=unapply(Object.prototype.hasOwnProperty),v=unapply(RegExp.prototype.test),C=unconstruct(TypeError);function unapply(e){return function(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return l(e,t,n)}}function unconstruct(e){return function(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return d(e,o)}}function addToSet(e,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;t&&t(e,null);let i=n.length;for(;i--;){let t=n[i];if("string"==typeof t){const e=r(t);e!==t&&(o(n)||(n[i]=e),t=e)}e[t]=!0}return e}function cleanArray(e){for(let t=0;t<e.length;t++)y(e,t)||(e[t]=null);return e}function clone(t){const o=s(null);for(const[n,r]of e(t))y(t,n)&&(Array.isArray(r)?o[n]=cleanArray(r):r&&"object"==typeof r&&r.constructor===Object?o[n]=clone(r):o[n]=r);return o}function lookupGetter(e,t){for(;null!==e;){const o=r(e,t);if(o){if(o.get)return unapply(o.get);if("function"==typeof o.value)return unapply(o.value)}e=n(e)}function fallbackValue(){return null}return fallbackValue}const w=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),T=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),k=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),O=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),x=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),E=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),A=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),j=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),I=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),R=a(/<%[\w\W]*|[\w\W]*%>/gm),W=a(/\${[\w\W]*}/gm),D=a(/^data-[\-\w.\u00B7-\uFFFF]/),F=a(/^aria-[\-\w]+$/),$=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),N=a(/^(?:\w+script|data):/i),L=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var B=Object.freeze({__proto__:null,MUSTACHE_EXPR:I,ERB_EXPR:R,TMPLIT_EXPR:W,DATA_ATTR:D,ARIA_ATTR:F,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:L,DOCTYPE_NAME:q,CUSTOM_ELEMENT:V});const U={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},G=function getGlobal(){return"undefined"==typeof window?null:window},z=function _createTrustedTypesPolicy(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let o=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(o=t.getAttribute(n));const r="dompurify"+(o?"#"+o:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function createDOMPurify(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G();const DOMPurify=e=>createDOMPurify(e);if(DOMPurify.version="3.1.7",DOMPurify.removed=[],!t||!t.document||t.document.nodeType!==U.document)return DOMPurify.isSupported=!1,DOMPurify;let{document:o}=t;const n=o,r=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:l,Node:d,Element:I,NodeFilter:R,NamedNodeMap:W=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:D,DOMParser:F,trustedTypes:N}=t,L=I.prototype,V=lookupGetter(L,"cloneNode"),H=lookupGetter(L,"remove"),Q=lookupGetter(L,"nextSibling"),Y=lookupGetter(L,"childNodes"),K=lookupGetter(L,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let X,J="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:oe}=o,{importNode:ne}=n;let re={};DOMPurify.isSupported="function"==typeof e&&"function"==typeof K&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:ie,ERB_EXPR:ae,TMPLIT_EXPR:se,DATA_ATTR:le,ARIA_ATTR:de,IS_SCRIPT_OR_DATA:ce,ATTR_WHITESPACE:ue,CUSTOM_ELEMENT:me}=B;let{IS_ALLOWED_URI:pe}=B,ge=null;const fe=addToSet({},[...w,...T,...P,...k,...M]);let _e=null;const he=addToSet({},[...x,...E,...A,...j]);let be=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ye=null,ve=null,Ce=!0,we=!0,Te=!1,Pe=!0,Se=!1,ke=!0,Oe=!1,Me=!1,xe=!1,Ee=!1,Ae=!1,je=!1,Ie=!0,Re=!1;const We="user-content-";let De=!0,Fe=!1,$e={},Ne=null;const Le=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let qe=null;const Ve=addToSet({},["audio","video","img","source","image","track"]);let Be=null;const Ue=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ge="http://www.w3.org/1998/Math/MathML",ze="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let Qe=He,Ye=!1,Ke=null;const Xe=addToSet({},[Ge,ze,He],g);let Je=null;const Ze=["application/xhtml+xml","text/html"],et="text/html";let tt=null,ot=null;const nt=o.createElement("form"),rt=function isRegexOrFunction(e){return e instanceof RegExp||e instanceof Function},it=function _parseConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ot||ot!==e){if(e&&"object"==typeof e||(e={}),e=clone(e),Je=-1===Ze.indexOf(e.PARSER_MEDIA_TYPE)?et:e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Je?g:p,ge=y(e,"ALLOWED_TAGS")?addToSet({},e.ALLOWED_TAGS,tt):fe,_e=y(e,"ALLOWED_ATTR")?addToSet({},e.ALLOWED_ATTR,tt):he,Ke=y(e,"ALLOWED_NAMESPACES")?addToSet({},e.ALLOWED_NAMESPACES,g):Xe,Be=y(e,"ADD_URI_SAFE_ATTR")?addToSet(clone(Ue),e.ADD_URI_SAFE_ATTR,tt):Ue,qe=y(e,"ADD_DATA_URI_TAGS")?addToSet(clone(Ve),e.ADD_DATA_URI_TAGS,tt):Ve,Ne=y(e,"FORBID_CONTENTS")?addToSet({},e.FORBID_CONTENTS,tt):Le,ye=y(e,"FORBID_TAGS")?addToSet({},e.FORBID_TAGS,tt):{},ve=y(e,"FORBID_ATTR")?addToSet({},e.FORBID_ATTR,tt):{},$e=!!y(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,we=!1!==e.ALLOW_DATA_ATTR,Te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Se=e.SAFE_FOR_TEMPLATES||!1,ke=!1!==e.SAFE_FOR_XML,Oe=e.WHOLE_DOCUMENT||!1,Ee=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,je=e.RETURN_TRUSTED_TYPE||!1,xe=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,Re=e.SANITIZE_NAMED_PROPS||!1,De=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||$,Qe=e.NAMESPACE||He,be=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&rt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(be.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&rt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(be.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(be.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Se&&(we=!1),Ae&&(Ee=!0),$e&&(ge=addToSet({},M),_e=[],!0===$e.html&&(addToSet(ge,w),addToSet(_e,x)),!0===$e.svg&&(addToSet(ge,T),addToSet(_e,E),addToSet(_e,j)),!0===$e.svgFilters&&(addToSet(ge,P),addToSet(_e,E),addToSet(_e,j)),!0===$e.mathMl&&(addToSet(ge,k),addToSet(_e,A),addToSet(_e,j))),e.ADD_TAGS&&(ge===fe&&(ge=clone(ge)),addToSet(ge,e.ADD_TAGS,tt)),e.ADD_ATTR&&(_e===he&&(_e=clone(_e)),addToSet(_e,e.ADD_ATTR,tt)),e.ADD_URI_SAFE_ATTR&&addToSet(Be,e.ADD_URI_SAFE_ATTR,tt),e.FORBID_CONTENTS&&(Ne===Le&&(Ne=clone(Ne)),addToSet(Ne,e.FORBID_CONTENTS,tt)),De&&(ge["#text"]=!0),Oe&&addToSet(ge,["html","head","body"]),ge.table&&(addToSet(ge,["tbody"]),delete ye.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');X=e.TRUSTED_TYPES_POLICY,J=X.createHTML("")}else void 0===X&&(X=z(N,r)),null!==X&&"string"==typeof J&&(J=X.createHTML(""));i&&i(e),ot=e}},at=addToSet({},["mi","mo","mn","ms","mtext"]),st=addToSet({},["annotation-xml"]),lt=addToSet({},["title","style","font","a","script"]),dt=addToSet({},[...T,...P,...S]),ct=addToSet({},[...k,...O]),ut=function _checkValidNamespace(e){let t=K(e);t&&t.tagName||(t={namespaceURI:Qe,tagName:"template"});const o=p(e.tagName),n=p(t.tagName);return!!Ke[e.namespaceURI]&&(e.namespaceURI===ze?t.namespaceURI===He?"svg"===o:t.namespaceURI===Ge?"svg"===o&&("annotation-xml"===n||at[n]):Boolean(dt[o]):e.namespaceURI===Ge?t.namespaceURI===He?"math"===o:t.namespaceURI===ze?"math"===o&&st[n]:Boolean(ct[o]):e.namespaceURI===He?!(t.namespaceURI===ze&&!st[n])&&!(t.namespaceURI===Ge&&!at[n])&&!ct[o]&&(lt[o]||!dt[o]):!("application/xhtml+xml"!==Je||!Ke[e.namespaceURI]))},mt=function _forceRemove(e){m(DOMPurify.removed,{element:e});try{K(e).removeChild(e)}catch(t){H(e)}},pt=function _removeAttribute(e,t){try{m(DOMPurify.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(DOMPurify.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!_e[e])if(Ee||Ae)try{mt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},gt=function _initDocument(e){let t=null,n=null;if(xe)e="<remove></remove>"+e;else{const t=f(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Je&&Qe===He&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=X?X.createHTML(e):e;if(Qe===He)try{t=(new F).parseFromString(r,Je)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=Ye?J:r}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),Qe===He?oe.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:i},ft=function _createNodeIterator(e){return ee.call(e.ownerDocument||e,e,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)},_t=function _isClobbered(e){return e instanceof D&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},ht=function _isNode(e){return"function"==typeof d&&e instanceof d},bt=function _executeHook(e,t,o){re[e]&&c(re[e],(e=>{e.call(DOMPurify,t,o,ot)}))},yt=function _sanitizeElements(e){let t=null;if(bt("beforeSanitizeElements",e,null),_t(e))return mt(e),!0;const o=tt(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:o,allowedTags:ge}),e.hasChildNodes()&&!ht(e.firstElementChild)&&v(/<[/\w]/g,e.innerHTML)&&v(/<[/\w]/g,e.textContent))return mt(e),!0;if(e.nodeType===U.progressingInstruction)return mt(e),!0;if(ke&&e.nodeType===U.comment&&v(/<[/\w]/g,e.data))return mt(e),!0;if(!ge[o]||ye[o]){if(!ye[o]&&Ct(o)){if(be.tagNameCheck instanceof RegExp&&v(be.tagNameCheck,o))return!1;if(be.tagNameCheck instanceof Function&&be.tagNameCheck(o))return!1}if(De&&!Ne[o]){const t=K(e)||e.parentNode,o=Y(e)||e.childNodes;if(o&&t)for(let n=o.length-1;n>=0;--n){const r=V(o[n],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,Q(e))}}return mt(e),!0}return e instanceof I&&!ut(e)?(mt(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!v(/<\/no(script|embed|frames)/i,e.innerHTML)?(Se&&e.nodeType===U.text&&(t=e.textContent,c([ie,ae,se],(e=>{t=_(t,e," ")})),e.textContent!==t&&(m(DOMPurify.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(mt(e),!0)},vt=function _isValidAttribute(e,t,n){if(Ie&&("id"===t||"name"===t)&&(n in o||n in nt))return!1;if(we&&!ve[t]&&v(le,t));else if(Ce&&v(de,t));else if(!_e[t]||ve[t]){if(!(Ct(e)&&(be.tagNameCheck instanceof RegExp&&v(be.tagNameCheck,e)||be.tagNameCheck instanceof Function&&be.tagNameCheck(e))&&(be.attributeNameCheck instanceof RegExp&&v(be.attributeNameCheck,t)||be.attributeNameCheck instanceof Function&&be.attributeNameCheck(t))||"is"===t&&be.allowCustomizedBuiltInElements&&(be.tagNameCheck instanceof RegExp&&v(be.tagNameCheck,n)||be.tagNameCheck instanceof Function&&be.tagNameCheck(n))))return!1}else if(Be[t]);else if(v(pe,_(n,ue,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==h(n,"data:")||!qe[e])if(Te&&!v(ce,_(n,ue,"")));else if(n)return!1;return!0},Ct=function _isBasicCustomElement(e){return"annotation-xml"!==e&&f(e,me)},wt=function _sanitizeAttributes(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};let n=t.length;for(;n--;){const r=t[n],{name:i,namespaceURI:a,value:s}=r,l=tt(i);let d="value"===i?s:b(s);if(o.attrName=l,o.attrValue=d,o.keepAttr=!0,o.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,o),d=o.attrValue,o.forceKeepAttr)continue;if(pt(i,e),!o.keepAttr)continue;if(!Pe&&v(/\/>/i,d)){pt(i,e);continue}Se&&c([ie,ae,se],(e=>{d=_(d,e," ")}));const m=tt(e.nodeName);if(vt(m,l,d))if(!Re||"id"!==l&&"name"!==l||(pt(i,e),d=We+d),ke&&v(/((--!?|])>)|<\/(style|title)/i,d))pt(i,e);else{if(X&&"object"==typeof N&&"function"==typeof N.getAttributeType)if(a);else switch(N.getAttributeType(m,l)){case"TrustedHTML":d=X.createHTML(d);break;case"TrustedScriptURL":d=X.createScriptURL(d)}try{a?e.setAttributeNS(a,i,d):e.setAttribute(i,d),_t(e)?mt(e):u(DOMPurify.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},Tt=function _sanitizeShadowDOM(e){let t=null;const o=ft(e);for(bt("beforeSanitizeShadowDOM",e,null);t=o.nextNode();)bt("uponSanitizeShadowNode",t,null),yt(t)||(t.content instanceof a&&_sanitizeShadowDOM(t.content),wt(t));bt("afterSanitizeShadowDOM",e,null)};return DOMPurify.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,r=null,i=null,s=null;if(Ye=!e,Ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ht(e)){if("function"!=typeof e.toString)throw C("toString is not a function");if("string"!=typeof(e=e.toString()))throw C("dirty is not a string, aborting")}if(!DOMPurify.isSupported)return e;if(Me||it(t),DOMPurify.removed=[],"string"==typeof e&&(Fe=!1),Fe){if(e.nodeName){const t=tt(e.nodeName);if(!ge[t]||ye[t])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof d)o=gt("\x3c!----\x3e"),r=o.ownerDocument.importNode(e,!0),r.nodeType===U.element&&"BODY"===r.nodeName||"HTML"===r.nodeName?o=r:o.appendChild(r);else{if(!Ee&&!Se&&!Oe&&-1===e.indexOf("<"))return X&&je?X.createHTML(e):e;if(o=gt(e),!o)return Ee?null:je?J:""}o&&xe&&mt(o.firstChild);const l=ft(Fe?e:o);for(;i=l.nextNode();)yt(i)||(i.content instanceof a&&Tt(i.content),wt(i));if(Fe)return e;if(Ee){if(Ae)for(s=te.call(o.ownerDocument);o.firstChild;)s.appendChild(o.firstChild);else s=o;return(_e.shadowroot||_e.shadowrootmode)&&(s=ne.call(n,s,!0)),s}let u=Oe?o.outerHTML:o.innerHTML;return Oe&&ge["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&v(q,o.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+u),Se&&c([ie,ae,se],(e=>{u=_(u,e," ")})),X&&je?X.createHTML(u):u},DOMPurify.setConfig=function(){it(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Me=!0},DOMPurify.clearConfig=function(){ot=null,Me=!1},DOMPurify.isValidAttribute=function(e,t,o){ot||it({});const n=tt(e),r=tt(t);return vt(n,r,o)},DOMPurify.addHook=function(e,t){"function"==typeof t&&(re[e]=re[e]||[],m(re[e],t))},DOMPurify.removeHook=function(e){if(re[e])return u(re[e])},DOMPurify.removeHooks=function(e){re[e]&&(re[e]=[])},DOMPurify.removeAllHooks=function(){re={}},DOMPurify}return createDOMPurify()}()},1594:e=>{"use strict";e.exports=React},2470:e=>{"use strict";e.exports=wp.i18n},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},8120:(e,t,o)=>{"use strict";var n=o(1483),r=o(8761),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},2293:(e,t,o)=>{"use strict";var n=o(1704),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},6651:(e,t,o)=>{"use strict";var n=o(5599),r=o(3392),i=o(6960),createMethod=function(e){return function(t,o,a){var s=n(t),l=i(s);if(0===l)return!e&&-1;var d,c=r(a,l);if(e&&o!=o){for(;l>c;)if((d=s[c++])!=d)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===o)return e||c||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},9273:(e,t,o)=>{"use strict";var n=o(382),r=o(4914),i=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(r(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},1278:(e,t,o)=>{"use strict";var n=o(4762),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},6726:(e,t,o)=>{"use strict";var n=o(5755),r=o(9497),i=o(4961),a=o(5835);e.exports=function(e,t,o){for(var s=r(t),l=a.f,d=i.f,c=0;c<s.length;c++){var u=s[c];n(e,u)||o&&n(o,u)||l(e,u,d(t,u))}}},9037:(e,t,o)=>{"use strict";var n=o(382),r=o(5835),i=o(7738);e.exports=n?function(e,t,o){return r.f(e,t,i(1,o))}:function(e,t,o){return e[t]=o,e}},7738:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7914:(e,t,o)=>{"use strict";var n=o(1483),r=o(5835),i=o(169),a=o(2095);e.exports=function(e,t,o,s){s||(s={});var l=s.enumerable,d=void 0!==s.name?s.name:t;if(n(o)&&i(o,d,s),s.global)l?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},2095:(e,t,o)=>{"use strict";var n=o(5578),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(o){n[e]=t}return t}},382:(e,t,o)=>{"use strict";var n=o(8473);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3145:(e,t,o)=>{"use strict";var n=o(5578),r=o(1704),i=n.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},1091:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},4741:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9461:(e,t,o)=>{"use strict";var n=o(5578).navigator,r=n&&n.userAgent;e.exports=r?String(r):""},6477:(e,t,o)=>{"use strict";var n,r,i=o(5578),a=o(9461),s=i.process,l=i.Deno,d=s&&s.versions||l&&l.version,c=d&&d.v8;c&&(r=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},8612:(e,t,o)=>{"use strict";var n=o(5578),r=o(4961).f,i=o(9037),a=o(7914),s=o(2095),l=o(6726),d=o(8730);e.exports=function(e,t){var o,c,u,m,p,g=e.target,f=e.global,_=e.stat;if(o=f?n:_?n[g]||s(g,{}):n[g]&&n[g].prototype)for(c in t){if(m=t[c],u=e.dontCallGetSet?(p=r(o,c))&&p.value:o[c],!d(f?c:g+(_?".":"#")+c,e.forced)&&void 0!==u){if(typeof m==typeof u)continue;l(m,u)}(e.sham||u&&u.sham)&&i(m,"sham",!0),a(o,c,m,e)}}},8473:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},274:(e,t,o)=>{"use strict";var n=o(8473);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},1807:(e,t,o)=>{"use strict";var n=o(274),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},2048:(e,t,o)=>{"use strict";var n=o(382),r=o(5755),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=r(i,"name"),l=s&&"something"===function something(){}.name,d=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:d}},4762:(e,t,o)=>{"use strict";var n=o(274),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},1409:(e,t,o)=>{"use strict";var n=o(5578),r=o(1483);e.exports=function(e,t){return arguments.length<2?(o=n[e],r(o)?o:void 0):n[e]&&n[e][t];var o}},2564:(e,t,o)=>{"use strict";var n=o(8120),r=o(5983);e.exports=function(e,t){var o=e[t];return r(o)?void 0:n(o)}},5578:function(e,t,o){"use strict";var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof o.g&&o.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5755:(e,t,o)=>{"use strict";var n=o(4762),r=o(2347),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return i(r(e),t)}},1507:e=>{"use strict";e.exports={}},1799:(e,t,o)=>{"use strict";var n=o(382),r=o(8473),i=o(3145);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2121:(e,t,o)=>{"use strict";var n=o(4762),r=o(8473),i=o(1278),a=Object,s=n("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},7268:(e,t,o)=>{"use strict";var n=o(4762),r=o(1483),i=o(1831),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},4483:(e,t,o)=>{"use strict";var n,r,i,a=o(4644),s=o(5578),l=o(1704),d=o(9037),c=o(5755),u=o(1831),m=o(5409),p=o(1507),g="Object already initialized",f=s.TypeError,_=s.WeakMap;if(a||u.state){var h=u.state||(u.state=new _);h.get=h.get,h.has=h.has,h.set=h.set,n=function(e,t){if(h.has(e))throw new f(g);return t.facade=e,h.set(e,t),t},r=function(e){return h.get(e)||{}},i=function(e){return h.has(e)}}else{var b=m("state");p[b]=!0,n=function(e,t){if(c(e,b))throw new f(g);return t.facade=e,d(e,b,t),t},r=function(e){return c(e,b)?e[b]:{}},i=function(e){return c(e,b)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var o;if(!l(t)||(o=r(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return o}}}},4914:(e,t,o)=>{"use strict";var n=o(1278);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},1483:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8730:(e,t,o)=>{"use strict";var n=o(8473),r=o(1483),i=/#|\.prototype\./,isForced=function(e,t){var o=s[a(e)];return o===d||o!==l&&(r(t)?n(t):!!t)},a=isForced.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=isForced.data={},l=isForced.NATIVE="N",d=isForced.POLYFILL="P";e.exports=isForced},5983:e=>{"use strict";e.exports=function(e){return null==e}},1704:(e,t,o)=>{"use strict";var n=o(1483);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},9557:e=>{"use strict";e.exports=!1},1423:(e,t,o)=>{"use strict";var n=o(1409),r=o(1483),i=o(4815),a=o(5022),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,s(e))}},6960:(e,t,o)=>{"use strict";var n=o(8324);e.exports=function(e){return n(e.length)}},169:(e,t,o)=>{"use strict";var n=o(4762),r=o(8473),i=o(1483),a=o(5755),s=o(382),l=o(2048).CONFIGURABLE,d=o(7268),c=o(4483),u=c.enforce,m=c.get,p=String,g=Object.defineProperty,f=n("".slice),_=n("".replace),h=n([].join),b=s&&!r((function(){return 8!==g((function(){}),"length",{value:8}).length})),y=String(String).split("String"),v=e.exports=function(e,t,o){"Symbol("===f(p(t),0,7)&&(t="["+_(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?g(e,"name",{value:t,configurable:!0}):e.name=t),b&&o&&a(o,"arity")&&e.length!==o.arity&&g(e,"length",{value:o.arity});try{o&&a(o,"constructor")&&o.constructor?s&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=u(e);return a(n,"source")||(n.source=h(y,"string"==typeof t?t:"")),e};Function.prototype.toString=v((function toString(){return i(this)&&m(this).source||d(this)}),"toString")},1703:e=>{"use strict";var t=Math.ceil,o=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?o:t)(n)}},5835:(e,t,o)=>{"use strict";var n=o(382),r=o(1799),i=o(3896),a=o(2293),s=o(3815),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",m="configurable",p="writable";t.f=n?i?function defineProperty(e,t,o){if(a(e),t=s(t),a(o),"function"==typeof e&&"prototype"===t&&"value"in o&&p in o&&!o[p]){var n=c(e,t);n&&n[p]&&(e[t]=o.value,o={configurable:m in o?o[m]:n[m],enumerable:u in o?o[u]:n[u],writable:!1})}return d(e,t,o)}:d:function defineProperty(e,t,o){if(a(e),t=s(t),a(o),r)try{return d(e,t,o)}catch(e){}if("get"in o||"set"in o)throw new l("Accessors not supported");return"value"in o&&(e[t]=o.value),e}},4961:(e,t,o)=>{"use strict";var n=o(382),r=o(1807),i=o(7611),a=o(7738),s=o(5599),l=o(3815),d=o(5755),c=o(1799),u=Object.getOwnPropertyDescriptor;t.f=n?u:function getOwnPropertyDescriptor(e,t){if(e=s(e),t=l(t),c)try{return u(e,t)}catch(e){}if(d(e,t))return a(!r(i.f,e,t),e[t])}},2278:(e,t,o)=>{"use strict";var n=o(6742),r=o(4741).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,r)}},4347:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},4815:(e,t,o)=>{"use strict";var n=o(4762);e.exports=n({}.isPrototypeOf)},6742:(e,t,o)=>{"use strict";var n=o(4762),r=o(5755),i=o(5599),a=o(6651).indexOf,s=o(1507),l=n([].push);e.exports=function(e,t){var o,n=i(e),d=0,c=[];for(o in n)!r(s,o)&&r(n,o)&&l(c,o);for(;t.length>d;)r(n,o=t[d++])&&(~a(c,o)||l(c,o));return c}},7611:(e,t)=>{"use strict";var o={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!o.call({1:2},1);t.f=r?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:o},348:(e,t,o)=>{"use strict";var n=o(1807),r=o(1483),i=o(1704),a=TypeError;e.exports=function(e,t){var o,s;if("string"===t&&r(o=e.toString)&&!i(s=n(o,e)))return s;if(r(o=e.valueOf)&&!i(s=n(o,e)))return s;if("string"!==t&&r(o=e.toString)&&!i(s=n(o,e)))return s;throw new a("Can't convert object to primitive value")}},9497:(e,t,o)=>{"use strict";var n=o(1409),r=o(4762),i=o(2278),a=o(4347),s=o(2293),l=r([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=i.f(s(e)),o=a.f;return o?l(t,o(e)):t}},3312:(e,t,o)=>{"use strict";var n=o(5983),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},5409:(e,t,o)=>{"use strict";var n=o(7255),r=o(1866),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},1831:(e,t,o)=>{"use strict";var n=o(9557),r=o(5578),i=o(2095),a="__core-js_shared__",s=e.exports=r[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},7255:(e,t,o)=>{"use strict";var n=o(1831);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},6029:(e,t,o)=>{"use strict";var n=o(6477),r=o(8473),i=o(5578).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3392:(e,t,o)=>{"use strict";var n=o(3005),r=Math.max,i=Math.min;e.exports=function(e,t){var o=n(e);return o<0?r(o+t,0):i(o,t)}},5599:(e,t,o)=>{"use strict";var n=o(2121),r=o(3312);e.exports=function(e){return n(r(e))}},3005:(e,t,o)=>{"use strict";var n=o(1703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8324:(e,t,o)=>{"use strict";var n=o(3005),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},2347:(e,t,o)=>{"use strict";var n=o(3312),r=Object;e.exports=function(e){return r(n(e))}},2355:(e,t,o)=>{"use strict";var n=o(1807),r=o(1704),i=o(1423),a=o(2564),s=o(348),l=o(1),d=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var o,l=a(e,c);if(l){if(void 0===t&&(t="default"),o=n(l,e,t),!r(o)||i(o))return o;throw new d("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},3815:(e,t,o)=>{"use strict";var n=o(2355),r=o(1423);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},8761:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1866:(e,t,o)=>{"use strict";var n=o(4762),r=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+i,36)}},5022:(e,t,o)=>{"use strict";var n=o(6029);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3896:(e,t,o)=>{"use strict";var n=o(382),r=o(8473);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4644:(e,t,o)=>{"use strict";var n=o(5578),r=o(1483),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},1:(e,t,o)=>{"use strict";var n=o(5578),r=o(7255),i=o(5755),a=o(1866),s=o(6029),l=o(5022),d=n.Symbol,c=r("wks"),u=l?d.for||d:d&&d.withoutSetter||a;e.exports=function(e){return i(c,e)||(c[e]=s&&i(d,e)?d[e]:u("Symbol."+e)),c[e]}},5724:(e,t,o)=>{"use strict";var n=o(8612),r=o(2347),i=o(6960),a=o(9273),s=o(1091);n({target:"Array",proto:!0,arity:1,forced:o(8473)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=r(this),o=i(t),n=arguments.length;s(o+n);for(var l=0;l<n;l++)t[o]=arguments[l],o++;return a(t,o),o}})}},n={};function __webpack_require__(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=o,__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,o)=>(__webpack_require__.f[o](e,t),t)),[])),__webpack_require__.u=e=>811===e?"mega-menu-editor.bf20b71b37f3d569ab77.bundle.min.js":625===e?"nested-carousel-editor.6d7500036d0766bbe2fc.bundle.min.js":994===e?"loop-filter-editor.67dfa5d044d7bd86bd6f.bundle.min.js":367===e?"off-canvas-editor.0b71c4c17860dfe25d59.bundle.min.js":93===e?"d241154d3774d66da9eb.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="elementor-pro:",__webpack_require__.l=(o,n,r,i)=>{if(e[o])e[o].push(n);else{var a,s;if(void 0!==r)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var c=l[d];if(c.getAttribute("src")==o||c.getAttribute("data-webpack")==t+r){a=c;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+r),a.src=o),e[o]=[n];var onScriptComplete=(t,n)=>{a.onerror=a.onload=null,clearTimeout(u);var r=e[o];if(delete e[o],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},u=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=onScriptComplete.bind(null,a.onerror),a.onload=onScriptComplete.bind(null,a.onload),s&&document.head.appendChild(a)}},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={706:0};__webpack_require__.f.j=(t,o)=>{var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{var r=new Promise(((o,r)=>n=e[t]=[o,r]));o.push(n[2]=r);var i=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(i,(o=>{if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var r=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+i+")",a.name="ChunkLoadError",a.type=r,a.request=i,n[1](a)}}),"chunk-"+t,t)}};var webpackJsonpCallback=(t,o)=>{var n,r,[i,a,s]=o,l=0;if(i.some((t=>0!==e[t]))){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);if(s)s(__webpack_require__)}for(t&&t(o);l<i.length;l++)r=i[l],__webpack_require__.o(e,r)&&e[r]&&e[r][0](),e[r]=0},t=self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[];t.forEach(webpackJsonpCallback.bind(null,0)),t.push=webpackJsonpCallback.bind(null,t.push.bind(t))})(),(()=>{"use strict";var e=__webpack_require__(2470).__,t=__webpack_require__(6784),o=t(__webpack_require__(6714)),n=t(__webpack_require__(7240)),r=t(__webpack_require__(2908)),i=t(__webpack_require__(7652)),a=t(__webpack_require__(5565)),s=t(__webpack_require__(5341)),l=t(__webpack_require__(739)),d=t(__webpack_require__(2146)),c=t(__webpack_require__(5710)),u=t(__webpack_require__(4062)),m=t(__webpack_require__(2794)),p=t(__webpack_require__(9601)),g=t(__webpack_require__(1410)),f=__webpack_require__(1570),_=t(__webpack_require__(8656)),h=t(__webpack_require__(8268)),b=__webpack_require__(1521),y=Marionette.Application.extend({config:{},modules:{},initModules(){var e=__webpack_require__(4620),t=__webpack_require__(9286),f=__webpack_require__(564),_=__webpack_require__(5632),b=__webpack_require__(2100),y=__webpack_require__(618);this.modules={queryControl:new e,forms:new s.default,library:new t,customCSS:new o.default,globalWidget:new i.default,flipBox:new f,motionFX:new n.default,shareButtons:new _,assetsManager:new b,themeElements:new y,themeBuilder:new a.default,siteEditor:new d.default,screenshots:new l.default,woocommerce:new u.default,stripe:new p.default,loopBuilder:new g.default,pageTransitions:new h.default,popup:new r.default,videoPlaylistModule:new c.default,ScrollSnapModule:new m.default},elementorCommon.config.experimentalFeatures["mega-menu"]&&elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",(async()=>{this.modules.megaMenu=new((await __webpack_require__.e(811).then(__webpack_require__.bind(__webpack_require__,2644))).default)})),elementorCommon.config.experimentalFeatures["nested-elements"]&&elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",(async()=>{this.modules.nestedCarousel=new((await __webpack_require__.e(625).then(__webpack_require__.bind(__webpack_require__,9886))).default)})),__webpack_require__.e(994).then(__webpack_require__.bind(__webpack_require__,1865)).then((({default:e})=>{this.modules.loopFilter=new e})),elementorCommon.config.experimentalFeatures["nested-elements"]&&elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",(async()=>{this.modules.offCanvas=new((await __webpack_require__.e(367).then(__webpack_require__.bind(__webpack_require__,4582))).default)}))},initHelperFunctions(){(0,b.maybeAddHelperSanitizeUrl)()},ajax:{prepareArgs:e=>(e[0]="pro_"+e[0],e),send(){return elementorCommon.ajax.send.apply(elementorCommon.ajax,this.prepareArgs(arguments))},addRequest(){return elementorCommon.ajax.addRequest.apply(elementorCommon.ajax,this.prepareArgs(arguments))}},translate(e,t){return elementorCommon.translate(e,null,t,this.config.i18n)},onStart(){this.config=elementorProEditorConfig,this.initModules(),jQuery(window).on("elementor:init",(()=>this.onElementorInit())).on("elementor/connect/success/editor-pro-activate",this.onActivateSuccess)},onElementorInit(){elementor.on("preview:loaded",(()=>this.onElementorPreviewLoaded())),elementorPro.libraryRemoveGetProButtons(),elementorCommon.debug.addURLToWatch("elementor-pro/assets"),elementorPro.config.should_show_promotion&&new _.default,this.initHelperFunctions()},onElementorPreviewLoaded(){elementor.$preview[0].contentWindow.elementorPro=this},libraryRemoveGetProButtons(){elementor.hooks.addFilter("elementor/editor/template-library/template/action-button",((e,t)=>{if(!t.accessTier||!elementor.config?.library_connect?.current_access_tier)return this.getProButtonViewIdBC(e,t);if(t.accessTier!==elementor.config.library_connect.base_access_tier&&!elementorPro.config.isActive)return"#tmpl-elementor-pro-template-library-activate-license-button";return(0,f.isTierAtLeast)(elementor.config.library_connect.current_access_tier,t.accessTier)?"#tmpl-elementor-template-library-insert-button":e}))},getProButtonViewIdBC:(e,t)=>t.accessLevel>0&&!elementorPro.config.isActive?"#tmpl-elementor-pro-template-library-activate-license-button":t.accessLevel>elementor.config.library_connect.current_access_level?e:"#tmpl-elementor-template-library-insert-button",onActivateSuccess(){elementor.noticeBar.onCloseClick(),elementor.config.library_connect.is_connected=!0,elementorPro.config.isActive=!0,elementor.notifications.showToast({message:e("Connected Successfully","elementor")})}});window.elementorPro=new y,elementorPro.start()})()})();