%PDF- %PDF-
Direktori : /var/www/projetos/nossaradio.com.br/wp-content/plugins/elementor/assets/js/ |
Current File : /var/www/projetos/nossaradio.com.br/wp-content/plugins/elementor/assets/js/admin.min.js |
/*! elementor - v3.11.2 - 22-02-2023 */ (()=>{var e={15511:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:function getDefaultSettings(){return{selectors:{modeSelect:".elementor_maintenance_mode_mode select",maintenanceModeTable:"#tab-maintenance_mode table",maintenanceModeDescriptions:".elementor-maintenance-mode-description",excludeModeSelect:".elementor_maintenance_mode_exclude_mode select",excludeRolesArea:".elementor_maintenance_mode_exclude_roles",templateSelect:".elementor_maintenance_mode_template_id select",editTemplateButton:".elementor-edit-template",maintenanceModeError:".elementor-maintenance-mode-error"},classes:{isEnabled:"elementor-maintenance-mode-is-enabled"}}},getDefaultElements:function getDefaultElements(){var e={},t=this.getSettings("selectors");return e.$modeSelect=jQuery(t.modeSelect),e.$maintenanceModeTable=e.$modeSelect.parents(t.maintenanceModeTable),e.$excludeModeSelect=e.$maintenanceModeTable.find(t.excludeModeSelect),e.$excludeRolesArea=e.$maintenanceModeTable.find(t.excludeRolesArea),e.$templateSelect=e.$maintenanceModeTable.find(t.templateSelect),e.$editTemplateButton=e.$maintenanceModeTable.find(t.editTemplateButton),e.$maintenanceModeDescriptions=e.$maintenanceModeTable.find(t.maintenanceModeDescriptions),e.$maintenanceModeError=e.$maintenanceModeTable.find(t.maintenanceModeError),e},handleModeSelectChange:function handleModeSelectChange(){var e=this.getSettings(),t=this.elements;t.$maintenanceModeTable.toggleClass(e.classes.isEnabled,!!t.$modeSelect.val()),t.$maintenanceModeDescriptions.hide(),t.$maintenanceModeDescriptions.filter('[data-value="'+t.$modeSelect.val()+'"]').show()},handleExcludeModeSelectChange:function handleExcludeModeSelectChange(){var e=this.elements;e.$excludeRolesArea.toggle("custom"===e.$excludeModeSelect.val())},handleTemplateSelectChange:function handleTemplateSelectChange(){var e=this.elements,t=e.$templateSelect.val();if(!t)return e.$editTemplateButton.hide(),void e.$maintenanceModeError.show();var n=elementorAdmin.config.home_url+"?p="+t+"&elementor";e.$editTemplateButton.prop("href",n).show(),e.$maintenanceModeError.hide()},bindEvents:function bindEvents(){var e=this.elements;e.$modeSelect.on("change",this.handleModeSelectChange.bind(this)),e.$excludeModeSelect.on("change",this.handleExcludeModeSelectChange.bind(this)),e.$templateSelect.on("change",this.handleTemplateSelectChange.bind(this))},onAdminInit:function onAdminInit(){this.handleModeSelectChange(),this.handleExcludeModeSelectChange(),this.handleTemplateSelectChange()},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),elementorCommon.elements.$window.on("elementor/admin/init",this.onAdminInit)}})},75389:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(78983)),a=o(n(42081)),i=o(n(51121)),l=o(n(58724)),s=o(n(71173)),u=o(n(74910));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,o=(0,u.default)(e);if(t){var r=(0,u.default)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return(0,s.default)(this,n)}}var c=function(e){(0,l.default)(MenuHandler,e);var t=_createSuper(MenuHandler);function MenuHandler(){return(0,r.default)(this,MenuHandler),t.apply(this,arguments)}return(0,a.default)(MenuHandler,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{currentSubmenuItems:"#adminmenu .current"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings();return{$currentSubmenuItems:jQuery(e.selectors.currentSubmenuItems),$adminPageMenuLink:jQuery('a[href="'.concat(e.path,'"]'))}}},{key:"highlightSubMenuItem",value:function highlightSubMenuItem(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=e||this.elements.$adminPageMenuLink;this.elements.$currentSubmenuItems.length&&this.elements.$currentSubmenuItems.removeClass("current"),t.addClass("current"),t.parent().addClass("current")}},{key:"highlightTopLevelMenuItem",value:function highlightTopLevelMenuItem(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="wp-has-current-submenu wp-menu-open current";e.parent().addClass(n).removeClass("wp-not-current-submenu"),t&&t.removeClass(n)}},{key:"onInit",value:function onInit(){(0,i.default)((0,u.default)(MenuHandler.prototype),"onInit",this).call(this);var e=this.getSettings();window.location.href.includes(e.path)&&this.highlightSubMenuItem()}}]),MenuHandler}(elementorModules.ViewModule);t.default=c},48729:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(40131)),a=o(n(78983)),i=o(n(42081)),l=function(){function TemplateControls(){(0,a.default)(this,TemplateControls)}return(0,i.default)(TemplateControls,[{key:"setDynamicControlsVisibility",value:function setDynamicControlsVisibility(e,t){if(void 0!==t)for(var n=0,o=Object.entries(t);n<o.length;n++){var a=(0,r.default)(o[n],2),i=a[0],l=a[1];this.setVisibilityForControl(e,l,i)}}},{key:"setVisibilityForControl",value:function setVisibilityForControl(e,t,n){var o,r=this;Object.entries(null!==(o=t.conditions)&&void 0!==o?o:{}).forEach((function(t){r.changeVisibilityBasedOnCondition(e,t,n)}))}},{key:"changeVisibilityBasedOnCondition",value:function changeVisibilityBasedOnCondition(e,t,n){var o=(0,r.default)(t,2),a=o[0],i=o[1],l=document.getElementById(e+n+"__wrapper"),s=document.getElementById(e+a);l.classList.toggle("elementor-hidden",!s||i!==s.value)}}]),TemplateControls}();t.default=l},40548:(e,t,n)=>{"use strict";var o=n(38003).__,r=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(78983)),i=r(n(42081)),l=function(){function FilesUploadHandler(){(0,a.default)(this,FilesUploadHandler)}return(0,i.default)(FilesUploadHandler,null,[{key:"isUploadEnabled",value:function isUploadEnabled(e){return!["svg","application/json"].includes(e)||elementorCommon.config.filesUpload.unfilteredFiles}},{key:"setUploadTypeCaller",value:function setUploadTypeCaller(e){e.uploader.uploader.param("uploadTypeCaller","elementor-wp-media-upload")}},{key:"getUnfilteredFilesNotEnabledDialog",value:function getUnfilteredFilesNotEnabledDialog(e){return elementor.helpers.getSimpleDialog("e-enable-unfiltered-files-dialog",o("Enable Unfiltered File Uploads","elementor"),o("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor"),o("Enable","elementor"),(function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{},!0),elementorCommon.config.filesUpload.unfilteredFiles=!0,e()}))}},{key:"getUnfilteredFilesNotEnabledImportTemplateDialog",value:function getUnfilteredFilesNotEnabledImportTemplateDialog(e){return elementorCommon.dialogsManager.createWidget("confirm",{id:"e-enable-unfiltered-files-dialog-import-template",headerMessage:o("Enable Unfiltered File Uploads","elementor"),message:o("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor")+"<br /><br />"+o("If you do not enable uploading unfiltered files, any SVG or JSON (including lottie) files used in the uploaded template will not be imported.","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:o("Enable and Import","elementor"),cancel:o("Import Without Enabling","elementor")},onConfirm:function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{success:function success(){elementorCommon.config.filesUpload.unfilteredFiles=!0,e()}},!0)},onCancel:function onCancel(){return e()}})}}]),FilesUploadHandler}();t.default=l},36404:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Events=void 0;var r=o(n(78983)),a=o(n(42081)),i=function(){function Events(){(0,r.default)(this,Events)}return(0,a.default)(Events,null,[{key:"dispatch",value:function dispatch(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e instanceof jQuery?e[0]:e,o&&e.dispatchEvent(new CustomEvent(o,{detail:n})),e.dispatchEvent(new CustomEvent(t,{detail:n}))}}]),Events}();t.Events=i;var l=i;t.default=l},73308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function matchUserAgent(e){return o.indexOf(e)>=0},o=navigator.userAgent,r=!!window.opr&&!!opr.addons||!!window.opera||n(" OPR/"),a=n("Firefox"),i=/^((?!chrome|android).)*safari/i.test(o)||/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),l=/Trident|MSIE/.test(o)&&!!document.documentMode,s=!l&&!!window.StyleMedia||n("Edg"),u=!!window.chrome&&n("Chrome")&&!(s||r),c=n("Chrome")&&!!window.CSS,d={appleWebkit:n("AppleWebKit")&&!c,blink:c,chrome:u,edge:s,firefox:a,ie:l,mac:n("Macintosh"),opera:r,safari:i,webkit:n("AppleWebKit")};t.default=d},71476:(e,t,n)=>{"use strict";var o=n(38003).__,r=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(9833)),i=r(n(40131)),l=r(n(78983)),s=r(n(42081)),u=r(n(93231)),c="active",d="inactive",m=function(){function ExperimentsDependency(e){var t=e.selects,n=e.submit;(0,l.default)(this,ExperimentsDependency),(0,u.default)(this,"elements",{}),this.elements={selects:t,submit:n}}return(0,s.default)(ExperimentsDependency,[{key:"bindEvents",value:function bindEvents(){var e=this;this.elements.selects.forEach((function(t){t.addEventListener("change",(function(t){return e.onExperimentStateChange(t)}))}))}},{key:"onExperimentStateChange",value:function onExperimentStateChange(e){var t=e.currentTarget.dataset.experimentId;switch(this.getExperimentActualState(t)){case c:this.shouldShowDependenciesDialog(t)&&this.showDependenciesDialog(t);break;case d:this.deactivateDependantExperiments(t)}}},{key:"getExperimentData",value:function getExperimentData(e){return elementorAdminConfig.experiments[e]}},{key:"getExperimentDependencies",value:function getExperimentDependencies(e){var t=this;return this.getExperimentData(e).dependencies.map((function(e){return t.getExperimentData(e)}))}},{key:"getExperimentSelect",value:function getExperimentSelect(e){return this.elements.selects.find((function(t){return t.matches('[data-experiment-id="'.concat(e,'"]'))}))}},{key:"setExperimentState",value:function setExperimentState(e,t){this.getExperimentSelect(e).value=t}},{key:"getExperimentActualState",value:function getExperimentActualState(e){var t=this.getExperimentSelect(e).value;return"default"!==t?t:this.isExperimentActiveByDefault(e)?c:d}},{key:"isExperimentActive",value:function isExperimentActive(e){return this.getExperimentActualState(e)===c}},{key:"isExperimentActiveByDefault",value:function isExperimentActiveByDefault(e){return this.getExperimentData(e).default===c}},{key:"areAllDependenciesActive",value:function areAllDependenciesActive(e){var t=this;return e.every((function(e){return t.isExperimentActive(e.name)}))}},{key:"deactivateDependantExperiments",value:function deactivateDependantExperiments(e){var t=this;Object.entries(elementorAdminConfig.experiments).forEach((function(n){var o=(0,i.default)(n,2),r=o[0];o[1].dependencies.includes(e)&&t.setExperimentState(r,d)}))}},{key:"shouldShowDependenciesDialog",value:function shouldShowDependenciesDialog(e){var t=this.getExperimentDependencies(e);return!this.areAllDependenciesActive(t)}},{key:"showDependenciesDialog",value:function showDependenciesDialog(e){var t=this,n=this.getExperimentData(e),r=this.getExperimentDependencies(e),a=this.joinDepenednciesNames(r.map((function(e){return e.title})),", "," & "),i=o("In order to use %1$s, first you need to activate %2$s.","elementor").replace("%1$s","<strong>".concat(n.title,"</strong>")).replace("%2$s","<strong>".concat(a,"</strong>"));elementorCommon.dialogsManager.createWidget("confirm",{id:"e-experiments-dependency-dialog",headerMessage:o("First, activate another experiment.","elementor"),message:i,position:{my:"center center",at:"center center"},strings:{confirm:o("Activate","elementor"),cancel:o("Cancel","elementor")},hide:{onOutsideClick:!1,onBackgroundClick:!1,onEscKeyPress:!1},onConfirm:function onConfirm(){r.forEach((function(e){t.setExperimentState(e.name,c)})),t.elements.submit.click()},onCancel:function onCancel(){t.setExperimentState(e,d)}}).show()}},{key:"joinDepenednciesNames",value:function joinDepenednciesNames(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(""===n)return e.join(t);if(!e.length)return"";if(1===e.length)return e[0];var o=(0,a.default)(e),r=o.pop();return o.join(t)+n+r}}]),ExperimentsDependency}();t.default=m},72104:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(78983)),a=o(n(42081)),i=o(n(51121)),l=o(n(58724)),s=o(n(71173)),u=o(n(74910)),c=o(n(71476));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,o=(0,u.default)(e);if(t){var r=(0,u.default)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return(0,s.default)(this,n)}}var d=function(e){(0,l.default)(ExperimentsModule,e);var t=_createSuper(ExperimentsModule);function ExperimentsModule(){return(0,r.default)(this,ExperimentsModule),t.apply(this,arguments)}return(0,a.default)(ExperimentsModule,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{experimentIndicators:".e-experiment__title__indicator",experimentForm:"#elementor-settings-form",experimentSelects:".e-experiment__select",experimentsButtons:".e-experiment__button"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings().selectors;return{$experimentIndicators:jQuery(e.experimentIndicators),$experimentForm:jQuery(e.experimentForm),$experimentSelects:jQuery(e.experimentSelects),$experimentsButtons:jQuery(e.experimentsButtons)}}},{key:"bindEvents",value:function bindEvents(){var e=this;this.elements.$experimentsButtons.on("click",(function(t){return e.onExperimentsButtonsClick(t)}))}},{key:"onExperimentsButtonsClick",value:function onExperimentsButtonsClick(e){var t=jQuery(e.currentTarget);this.elements.$experimentSelects.val(t.val()),this.elements.$experimentForm.find("#submit").trigger("click")}},{key:"addTipsy",value:function addTipsy(e){e.tipsy({gravity:"s",offset:8,title:function title(){return this.getAttribute("data-tooltip")}})}},{key:"addIndicatorsTooltips",value:function addIndicatorsTooltips(){var e=this;this.elements.$experimentIndicators.each((function(t,n){return e.addTipsy(jQuery(n))}))}},{key:"onInit",value:function onInit(){var e=this;(0,i.default)((0,u.default)(ExperimentsModule.prototype),"onInit",this).call(this),this.experimentsDependency=new c.default({selects:this.elements.$experimentSelects.toArray(),submit:this.elements.$experimentForm.find("#submit").get(0)}),this.experimentsDependency.bindEvents(),this.elements.$experimentIndicators.length&&import("".concat(elementorCommon.config.urls.assets,"lib/tipsy/tipsy.min.js?ver=1.0.0")).then((function(){return e.addIndicatorsTooltips()}))}}]),ExperimentsModule}(elementorModules.ViewModule);t.default=d},70602:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(78983)),a=o(n(42081)),i=o(n(51121)),l=o(n(58724)),s=o(n(71173)),u=o(n(74910));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,o=(0,u.default)(e);if(t){var r=(0,u.default)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return(0,s.default)(this,n)}}var c=function(e){(0,l.default)(LandingPagesHandler,e);var t=_createSuper(LandingPagesHandler);function LandingPagesHandler(){return(0,r.default)(this,LandingPagesHandler),t.apply(this,arguments)}return(0,a.default)(LandingPagesHandler,[{key:"getDefaultSettings",value:function getDefaultSettings(){var e="e-landing-page",t={landingPagesTablePage:'a[href="edit.php?post_type='+e+'"]',landingPagesAddNewPage:'a[href="edit.php?post_type=elementor_library&page='+e+'"]'};return{selectors:{addButton:".page-title-action:first",pagesMenuItemAndLink:"#menu-pages, #menu-pages > a",landingPagesMenuItem:"".concat(t.landingPagesTablePage,", ").concat(t.landingPagesAddNewPage),templatesMenuItem:".menu-icon-elementor_library"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var e=this.getSettings("selectors"),t=(0,i.default)((0,u.default)(LandingPagesHandler.prototype),"getDefaultElements",this).call(this);return t.$landingPagesMenuItem=jQuery(e.landingPagesMenuItem),t.$templatesMenuItem=jQuery(e.templatesMenuItem),t.$pagesMenuItemAndLink=jQuery(e.pagesMenuItemAndLink),t}},{key:"onInit",value:function onInit(){(0,i.default)((0,u.default)(LandingPagesHandler.prototype),"onInit",this).call(this);var e=this.getSettings(),t=!!window.location.href.includes(e.paths.landingPagesTablePage),n=!!window.location.href.includes(e.paths.landingPagesTrashPage),o=!!window.location.href.includes(e.paths.landingPagesAddNewPage);(t||n||o||e.isLandingPageAdminEdit)&&(this.highlightTopLevelMenuItem(this.elements.$templatesMenuItem,this.elements.$pagesMenuItemAndLink),this.highlightSubMenuItem(this.elements.$landingPagesMenuItem),jQuery(e.selectors.addButton).attr("href",elementorAdminConfig.urls.addNewLandingPageUrl))}}]),LandingPagesHandler}(o(n(75389)).default);t.default=c},71466:(e,t,n)=>{"use strict";var o=n(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(78983)),a=o(n(42081)),i=o(n(58724)),l=o(n(71173)),s=o(n(74910)),u=o(n(70602));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,o=(0,s.default)(e);if(t){var r=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return(0,l.default)(this,n)}}var c=function(e){(0,i.default)(_default,e);var t=_createSuper(_default);function _default(){var e;return(0,r.default)(this,_default),e=t.call(this),elementorCommon.elements.$window.on("elementor/admin/init",(function(){e.runHandler()})),e}return(0,a.default)(_default,[{key:"runHandler",value:function runHandler(){var e,t,n="e-landing-page",o={landingPagesTablePage:"edit.php?post_type="+n,landingPagesAddNewPage:"edit.php?post_type=elementor_library&page="+n,landingPagesTrashPage:"edit.php?post_status=trash&post_type="+n},r={path:null!==(e=elementorAdmin.config.landingPages)&&void 0!==e&&e.landingPagesHasPages?o.landingPagesTablePage:o.landingPagesAddNewPage,isLandingPageAdminEdit:null===(t=elementorAdmin.config.landingPages)||void 0===t?void 0:t.isLandingPageAdminEdit,paths:o};new u.default(r)}}]),_default}(elementorModules.Module);t.default=c},38003:e=>{"use strict";e.exports=wp.i18n},98106:e=>{e.exports=function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o},e.exports.__esModule=!0,e.exports.default=e.exports},17358:e=>{e.exports=function _arrayWithHoles(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},34102:(e,t,n)=>{var o=n(98106);e.exports=function _arrayWithoutHoles(e){if(Array.isArray(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},77266:e=>{e.exports=function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},78983:e=>{e.exports=function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},42081:(e,t,n)=>{var o=n(74040);function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}e.exports=function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},93231:(e,t,n)=>{var o=n(74040);e.exports=function _defineProperty(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},51121:(e,t,n)=>{var o=n(79443);function _get(){return"undefined"!=typeof Reflect&&Reflect.get?(e.exports=_get=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=_get=function _get(e,t,n){var r=o(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},e.exports.__esModule=!0,e.exports.default=e.exports),_get.apply(this,arguments)}e.exports=_get,e.exports.__esModule=!0,e.exports.default=e.exports},74910:e=>{function _getPrototypeOf(t){return e.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,_getPrototypeOf(t)}e.exports=_getPrototypeOf,e.exports.__esModule=!0,e.exports.default=e.exports},58724:(e,t,n)=>{var o=n(96196);e.exports=function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},73203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},68:e=>{e.exports=function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},40608:e=>{e.exports=function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,l=[],s=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=a.call(n)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(e){u=!0,r=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw r}}return l}},e.exports.__esModule=!0,e.exports.default=e.exports},56894:e=>{e.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},91282:e=>{e.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},71173:(e,t,n)=>{var o=n(7501).default,r=n(77266);e.exports=function _possibleConstructorReturn(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},96196:e=>{function _setPrototypeOf(t,n){return e.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,_setPrototypeOf(t,n)}e.exports=_setPrototypeOf,e.exports.__esModule=!0,e.exports.default=e.exports},40131:(e,t,n)=>{var o=n(17358),r=n(40608),a=n(35068),i=n(56894);e.exports=function _slicedToArray(e,t){return o(e)||r(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},79443:(e,t,n)=>{var o=n(74910);e.exports=function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},9833:(e,t,n)=>{var o=n(34102),r=n(68),a=n(35068),i=n(91282);e.exports=function _toConsumableArray(e){return o(e)||r(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},56027:(e,t,n)=>{var o=n(7501).default;e.exports=function _toPrimitive(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},74040:(e,t,n)=>{var o=n(7501).default,r=n(56027);e.exports=function _toPropertyKey(e){var t=r(e,"string");return"symbol"===o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},7501:e=>{function _typeof(t){return e.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports},35068:(e,t,n)=>{var o=n(98106);e.exports=function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},t={};function __webpack_require__(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,__webpack_require__),r.exports}(()=>{"use strict";var e,t,n=__webpack_require__(38003).__,o=__webpack_require__(73203),r=o(__webpack_require__(40131)),a=o(__webpack_require__(71466)),i=o(__webpack_require__(72104)),l=o(__webpack_require__(73308)),s=o(__webpack_require__(36404)),u=o(__webpack_require__(40548)),c=o(__webpack_require__(48729));e=jQuery,t=elementorModules.ViewModule.extend({maintenanceMode:null,config:elementorAdminConfig,getDefaultElements:function getDefaultElements(){var t={$switchMode:e("#elementor-switch-mode"),$goToEditLink:e("#elementor-go-to-edit-page-link"),$switchModeInput:e("#elementor-switch-mode-input"),$switchModeButton:e("#elementor-switch-mode-button"),$elementorLoader:e(".elementor-loader"),$builderEditor:e("#elementor-editor"),$importButton:e("#elementor-import-template-trigger"),$importNowButton:e("#e-import-template-action"),$importArea:e("#elementor-import-template-area"),$importForm:e("#elementor-import-template-form"),$importFormFileInput:e('#elementor-import-template-form input[type="file"]'),$settingsForm:e("#elementor-settings-form"),$settingsTabsWrapper:e("#elementor-settings-tabs-wrapper"),$menuGetHelpLink:e('a[href="admin.php?page=go_knowledge_base_site"]'),$menuGoProLink:e('a[href="admin.php?page=go_elementor_pro"]'),$reMigrateGlobalsButton:e(".elementor-re-migrate-globals-button")};return t.$settingsFormPages=t.$settingsForm.find(".elementor-settings-form-page"),t.$activeSettingsPage=t.$settingsFormPages.filter(".elementor-active"),t.$settingsTabs=t.$settingsTabsWrapper.children(),t.$activeSettingsTab=t.$settingsTabs.filter(".nav-tab-active"),t},toggleStatus:function toggleStatus(){var e=this.isElementorMode();elementorCommon.elements.$body.toggleClass("elementor-editor-active",e).toggleClass("elementor-editor-inactive",!e)},bindEvents:function bindEvents(){var t=this;t.elements.$switchModeButton.on("click",(function(o){if(o.preventDefault(),t.isElementorMode())elementorCommon.dialogsManager.createWidget("confirm",{message:n("Please note that you are switching to WordPress default editor. Your current layout, design and content might break.","elementor"),headerMessage:n("Back to WordPress Editor","elementor"),strings:{confirm:n("Continue","elementor"),cancel:n("Cancel","elementor")},defaultOption:"confirm",onConfirm:function onConfirm(){t.elements.$switchModeInput.val(""),t.toggleStatus()}}).show();else{t.elements.$switchModeInput.val(!0);var r=e("#title");r.val()||r.val("Elementor #"+e("#post_ID").val()),wp.autosave&&wp.autosave.server.triggerSave(),t.animateLoader(),e(document).on("heartbeat-tick.autosave",(function(){elementorCommon.elements.$window.off("beforeunload.edit-post"),location.href=t.elements.$goToEditLink.attr("href")})),t.toggleStatus()}})),t.elements.$goToEditLink.on("click",(function(){t.animateLoader()})),e(".e-notice--dismissible").on("click",".e-notice__dismiss, .e-notice-dismiss",(function(t){t.preventDefault();var n=e(this).closest(".e-notice--dismissible");e.post(ajaxurl,{action:"elementor_set_admin_notice_viewed",notice_id:n.data("notice_id")}),n.fadeTo(100,0,(function(){n.slideUp(100,(function(){n.remove()}))}))})),e("#elementor-clear-cache-button").on("click",(function(t){t.preventDefault();var n=e(this);n.removeClass("success").addClass("loading"),e.post(ajaxurl,{action:"elementor_clear_cache",_nonce:n.data("nonce")}).done((function(){n.removeClass("loading").addClass("success")}))})),e("#elementor-library-sync-button").on("click",(function(t){t.preventDefault();var n=e(this);n.removeClass("success").addClass("loading"),e.post(ajaxurl,{action:"elementor_reset_library",_nonce:n.data("nonce")}).done((function(){n.removeClass("loading").addClass("success")}))})),e("#elementor-recreate-kit-button").on("click",(function(t){t.preventDefault();var n=e(this);n.removeClass("success error").addClass("loading").next(".e-recreate-kit-error-message").remove(),e.post(ajaxurl,{action:"elementor_recreate_kit",_nonce:n.data("nonce")}).done((function(){n.removeClass("loading").addClass("success")})).fail((function(e){var t,o=e.responseJSON;n.removeClass("loading").addClass("error"),null!==(t=o.data)&&void 0!==t&&t.message&&n.after('<div class="e-recreate-kit-error-message">'.concat(o.data.message,"</div>"))}))})),e("#elementor-replace-url-button").on("click",(function(t){t.preventDefault();var n=e(this),o=n.parents("tr"),r=o.find('[name="from"]'),a=o.find('[name="to"]');n.removeClass("success").addClass("loading"),e.post(ajaxurl,{action:"elementor_replace_url",from:r.val(),to:a.val(),_nonce:n.data("nonce")}).done((function(e){n.removeClass("loading"),e.success&&n.addClass("success"),elementorCommon.dialogsManager.createWidget("alert",{message:e.data}).show()}))})),e("#elementor_upgrade_fa_button").on("click",(function(t){t.preventDefault();var o=e(this);o.addClass("loading"),elementorCommon.dialogsManager.createWidget("confirm",{id:"confirm_fa_migration_admin_modal",message:n("I understand that by upgrading to Font Awesome 5,","elementor")+"<br>"+n("I acknowledge that some changes may affect my website and that this action cannot be undone.","elementor"),headerMessage:n("Font Awesome 5 Migration","elementor"),strings:{confirm:n("Continue","elementor"),cancel:n("Cancel","elementor")},defaultOption:"confirm",onConfirm:function onConfirm(){o.removeClass("error").addClass("loading");var t=o.data(),n=t._nonce,r=t.action,a=t.redirectUrl;e.post(ajaxurl,{action:r,_nonce:n}).done((function(t){o.removeClass("loading").addClass("success");var n=document.createElement("p");n.appendChild(document.createTextNode(t.data.message)),e("#elementor_upgrade_fa_button").parent().append(n),a?location.href=decodeURIComponent(a):history.go(-1)})).fail((function(){o.removeClass("loading").addClass("error")}))},onCancel:function onCancel(){o.removeClass("loading").addClass("error")}}).show()})),t.elements.$settingsTabs.on({click:function click(e){e.preventDefault(),e.currentTarget.focus()},focus:function focus(){var e=location.href.replace(/#.*/,"");history.pushState({},"",e+this.hash),t.goToSettingsTabFromHash()}}),e("select.elementor-rollback-select").on("change",(function(){var t=e(this),n=t.next(".elementor-rollback-button"),o=n.data("placeholder-text"),r=n.data("placeholder-url");n.html(o.replace("{VERSION}",t.val())),n.attr("href",r.replace("VERSION",t.val()))})).trigger("change"),e(".elementor-rollback-button").on("click",(function(t){t.preventDefault();var o=e(this);elementorCommon.dialogsManager.createWidget("confirm",{headerMessage:n("Rollback to Previous Version","elementor"),message:n("Are you sure you want to reinstall previous version?","elementor"),strings:{confirm:n("Continue","elementor"),cancel:n("Cancel","elementor")},onConfirm:function onConfirm(){o.addClass("loading"),location.href=o.attr("href")}}).show()})),t.elements.$reMigrateGlobalsButton.on("click",(function(t){t.preventDefault();var o=e(t.currentTarget);elementorCommon.dialogsManager.createWidget("confirm",{headerMessage:n("Migrate to v3.0","elementor"),message:n("Please note that this process will revert all changes made to Global Colors and Fonts since upgrading to v3.x.","elementor"),strings:{confirm:n("Continue","elementor"),cancel:n("Cancel","elementor")},onConfirm:function onConfirm(){o.removeClass("success").addClass("loading"),elementorCommon.ajax.addRequest("re_migrate_globals",{success:function success(){return o.removeClass("loading").addClass("success")}})}}).show()})),e(".elementor_css_print_method select").on("change",(function(){var t=e(".elementor-css-print-method-description");t.hide(),t.filter('[data-value="'+e(this).val()+'"]').show()})).trigger("change"),e(".elementor_google_font select").on("change",(function(){e(".elementor_font_display").toggle("1"===e(this).val())})).trigger("change")},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.initTemplatesImport(),this.initMaintenanceMode(),this.goToSettingsTabFromHash(),this.openLinksInNewTab(),this.addUserAgentClasses(),this.roleManager.init(),elementorCommon.config.experimentalFeatures["landing-pages"]&&new a.default,this.templateControls=new c.default,new i.default},addUserAgentClasses:function addUserAgentClasses(){var e=document.querySelector("body");Object.entries(l.default).forEach((function(t){var n=(0,r.default)(t,2),o=n[0];n[1]&&e.classList.add("e--ua-"+o)}))},openLinksInNewTab:function openLinksInNewTab(){[this.elements.$menuGetHelpLink,this.elements.$menuGoProLink].forEach((function(e){e.length&&e.attr("target","_blank")}))},initTemplatesImport:function initTemplatesImport(){if(elementorCommon.elements.$body.hasClass("post-type-elementor_library")){var t=this,o=t.elements.$importForm,r=t.elements.$importButton,a=t.elements.$importArea,i=t.elements.$importNowButton,l=t.elements.$importFormFileInput;t.elements.$formAnchor=e(".wp-header-end"),e("#wpbody-content").find(".page-title-action").last().after(r),t.elements.$formAnchor.after(a),r.on("click",(function(){e("#elementor-import-template-area").toggle()})),o.on("submit",(function(e){i[0].disabled=!0,i[0].value=n("Importing...","elementor"),l[0].files.length&&!elementorCommon.config.filesUpload.unfilteredFiles&&(e.preventDefault(),u.default.getUnfilteredFilesNotEnabledImportTemplateDialog((function(){o.trigger("submit")})).show())}))}},initMaintenanceMode:function initMaintenanceMode(){var e=__webpack_require__(15511);this.maintenanceMode=new e},isElementorMode:function isElementorMode(){return!!this.elements.$switchModeInput.val()},animateLoader:function animateLoader(){this.elements.$goToEditLink.addClass("elementor-animate")},goToSettingsTabFromHash:function goToSettingsTabFromHash(){var e=location.hash.slice(1);e&&this.goToSettingsTab(e)},goToSettingsTab:function goToSettingsTab(e){var t=this.elements.$settingsFormPages;if(t.length){var n=t.filter("#"+e);this.elements.$activeSettingsPage.removeClass("elementor-active"),this.elements.$activeSettingsTab.removeClass("nav-tab-active");var o=this.elements.$settingsTabs.filter("#elementor-settings-"+e);n.addClass("elementor-active"),o.addClass("nav-tab-active"),this.elements.$settingsForm.attr("action","options.php#"+e),this.elements.$activeSettingsPage=n,this.elements.$activeSettingsTab=o}},translate:function translate(e,t){return elementorCommon.translate(e,null,t,this.config.i18n)},roleManager:{selectors:{body:"elementor-role-manager",row:".elementor-role-row",label:".elementor-role-label",excludedIndicator:".elementor-role-excluded-indicator",excludedField:'input[name="elementor_exclude_user_roles[]"]',controlsContainer:".elementor-role-controls",toggleHandle:".elementor-role-toggle",arrowUp:"dashicons-arrow-up",arrowDown:"dashicons-arrow-down"},toggle:function toggle(e){var t=this,n=e.closest(t.selectors.row),o=n.find(t.selectors.toggleHandle).find(".dashicons"),r=n.find(t.selectors.controlsContainer);r.toggleClass("hidden"),r.hasClass("hidden")?o.removeClass(t.selectors.arrowUp).addClass(t.selectors.arrowDown):o.removeClass(t.selectors.arrowDown).addClass(t.selectors.arrowUp),t.updateLabel(n)},updateLabel:function updateLabel(e){var t=this,n=e.find(t.selectors.excludedIndicator),o=e.find(t.selectors.excludedField).is(":checked");o?n.html(n.data("excluded-label")):n.html(""),t.setAdvancedState(e,o)},setAdvancedState:function setAdvancedState(t,n){t.find('input[type="checkbox"]').not(this.selectors.excludedField).each((function(t,o){e(o).prop("disabled",n)}))},bind:function bind(){var t=this;e(document).on("click",t.selectors.label+","+t.selectors.toggleHandle,(function(n){n.stopPropagation(),n.preventDefault(),t.toggle(e(this))})).on("change",t.selectors.excludedField,(function(){t.updateLabel(e(this).closest(t.selectors.row))}))},init:function init(){var t=this;e('body[class*="'+t.selectors.body+'"]').length&&(t.bind(),e(t.selectors.row).each((function(n,o){t.updateLabel(e(o))})))}}}),e((function(){window.elementorAdmin=new t,s.default.dispatch(elementorCommon.elements.$window,"elementor/admin/init")}))})()})();