/home/suroeste/public_html/wp-content/plugins/elementor/assets/js
NameSizeModeActions
packages/-0777rm
0e842fae60df2bcb2a30.bundle.min.js136070644editdlrm
2f08057553c95b827d30.bundle.min.js251010644editdlrm
7dc832afac0230c2012d.bundle.min.js41310644editdlrm
9c42cff515a6191fddaf.bundle.min.js598180644editdlrm
46e544e5863270fc32f2.bundle.js113830644editdlrm
343f4c6fd2ee68785472.bundle.min.js54850644editdlrm
869c0bb89d87e0d81450.bundle.min.js57920644editdlrm
4586b3ce03181d93c8bf.bundle.js162610644editdlrm
4748df03726015eef04f.bundle.min.js274970644editdlrm
5975ee58d21883e10a11.bundle.min.js423950644editdlrm
5975ee58d21883e10a11.bundle.min.js.LICENSE.txt4870644editdlrm
152486453d0e39071cdb.bundle.js715240644editdlrm
a730ee9caa710006b307.bundle.js2720420644editdlrm
accordion.8799675460c73eb48972.bundle.min.js37430644editdlrm
accordion.c16b88b2e8a0c50189bc.bundle.js75290644editdlrm
admin-feedback.js46400644editdlrm
admin-feedback.min.js19760644editdlrm
admin-modules.js390780644editdlrm
admin-modules.min.js178950644editdlrm
admin-modules.min.js.LICENSE.txt1490644editdlrm
admin-notifications.js2600920644editdlrm
admin-notifications.min.js861510644editdlrm
admin-top-bar.js705700644editdlrm
admin-top-bar.min.js126400644editdlrm
admin.js1182180644editdlrm
admin.min.js558510644editdlrm
admin.min.js.LICENSE.txt1490644editdlrm
ai-admin.js19289740644editdlrm
ai-admin.min.js5903070644editdlrm
ai-admin.min.js.LICENSE.txt7580644editdlrm
ai-gutenberg.js20534110644editdlrm
ai-gutenberg.min.js6086210644editdlrm
ai-gutenberg.min.js.LICENSE.txt9190644editdlrm
ai-layout.js5978100644editdlrm
ai-layout.min.js2405360644editdlrm
ai-layout.min.js.LICENSE.txt6370644editdlrm
ai-media-library.js20639260644editdlrm
ai-media-library.min.js6137870644editdlrm
ai-media-library.min.js.LICENSE.txt9190644editdlrm
ai.js19720740644editdlrm
ai.min.js6087320644editdlrm
ai.min.js.LICENSE.txt7580644editdlrm
alert.c3c6a3fdf4745bd26b7f.bundle.js11400644editdlrm
alert.cbc2a0fee74ee3ed0419.bundle.min.js6240644editdlrm
announcements-app.js1039230644editdlrm
announcements-app.min.js284370644editdlrm
announcements-app.min.js.LICENSE.txt1490644editdlrm
app-loader.js2674360644editdlrm
app-loader.min.js925820644editdlrm
app-packages.js3599580644editdlrm
app-packages.min.js1240750644editdlrm
app-packages.min.js.LICENSE.txt1490644editdlrm
app.js8153190644editdlrm
app.min.js2992550644editdlrm
app.min.js.LICENSE.txt6370644editdlrm
beta-tester.js230850644editdlrm
beta-tester.min.js94370644editdlrm
common-modules.js3029280644editdlrm
common-modules.min.js1057730644editdlrm
common.js4274750644editdlrm
common.min.js1607830644editdlrm
common.min.js.LICENSE.txt1490644editdlrm
container-converter.js551490644editdlrm
container-converter.min.js193120644editdlrm
container.a7f0a15dfa05df34e1f7.bundle.js182650644editdlrm
container.c65a2a923085e1120e75.bundle.min.js98220644editdlrm
counter.02cef29c589e742d4c8c.bundle.min.js9120644editdlrm
counter.3f74a246dff765f39aea.bundle.js16280644editdlrm
dev-tools.js243800644editdlrm
dev-tools.min.js76780644editdlrm
e-home-screen.js17882700644editdlrm
e-home-screen.min.js3316350644editdlrm
e-home-screen.min.js.LICENSE.txt14470644editdlrm
e3f753621bf9be55ec4d.bundle.js157730644editdlrm
e8a7573e654d921656ab.bundle.js273700644editdlrm
editor-document.js753220644editdlrm
editor-document.min.js271220644editdlrm
editor-environment-v2.js6700644editdlrm
editor-environment-v2.min.js2460644editdlrm
editor-loader-v1.js4020644editdlrm
editor-loader-v1.min.js880644editdlrm
editor-loader-v2.js8900644editdlrm
editor-loader-v2.min.js4430644editdlrm
editor-modules.js1210040644editdlrm
editor-modules.min.js520960644editdlrm
editor-modules.min.js.LICENSE.txt1490644editdlrm
editor-notifications.js2706730644editdlrm
editor-notifications.min.js901030644editdlrm
editor.js28575260644editdlrm
editor.min.js11808330644editdlrm
editor.min.js.LICENSE.txt3400644editdlrm
element-manager-admin.js1880920644editdlrm
element-manager-admin.min.js487370644editdlrm
element-manager-admin.min.js.LICENSE.txt3100644editdlrm
elementor-admin-bar.js197050644editdlrm
elementor-admin-bar.min.js75320644editdlrm
f45f06ab7bc79ea02cfc.bundle.js831330644editdlrm
fa0cbd4c7b6a8ad83224.bundle.js680070644editdlrm
fd6a00ae23a1bc2c6190.bundle.js449560644editdlrm
frontend-modules.js1921280644editdlrm
frontend-modules.min.js673660644editdlrm
frontend.js1038020644editdlrm
frontend.min.js402540644editdlrm
gutenberg.js76810644editdlrm
gutenberg.min.js41170644editdlrm
image-carousel.4455c6362492d9067512.bundle.min.js4320644editdlrm
image-carousel.9399f19d95d7300cbc2e.bundle.js9290644editdlrm
import-export-admin.js154730644editdlrm
import-export-admin.min.js63170644editdlrm
kit-elements-defaults-editor.js894930644editdlrm
kit-elements-defaults-editor.min.js362090644editdlrm
kit-elements-defaults-editor.min.js.LICENSE.txt1490644editdlrm
kit-library.1f8d31888dc9d19dd031.bundle.min.js899480644editdlrm
kit-library.ac1a4cd5deae5526ce49.bundle.js2321710644editdlrm
lightbox.94b920846d1e37cafb78.bundle.min.js302520644editdlrm
lightbox.6565606db58088dcec66.bundle.js528050644editdlrm
media-hints.js123500644editdlrm
media-hints.min.js61410644editdlrm
nested-accordion.js269590644editdlrm
nested-accordion.min.js125530644editdlrm
nested-accordion.min.js.LICENSE.txt1490644editdlrm
nested-elements.js209350644editdlrm
nested-elements.min.js64010644editdlrm
nested-tabs.js269190644editdlrm
nested-tabs.min.js125520644editdlrm
nested-tabs.min.js.LICENSE.txt1490644editdlrm
new-template.js157800644editdlrm
new-template.min.js68300644editdlrm
notes.js263230644editdlrm
notes.min.js98530644editdlrm
onboarding.1cb5860100647c216467.bundle.min.js600500644editdlrm
onboarding.d6ea272a04bd56212e9d.bundle.js1355520644editdlrm
progress.6d15c16f0f5c4792940f.bundle.js15400644editdlrm
progress.985f012a6336ab21cb44.bundle.min.js7910644editdlrm
responsive-bar.js266580644editdlrm
responsive-bar.min.js119870644editdlrm
styleguide-app-initiator.js352830644editdlrm
styleguide-app-initiator.min.js151910644editdlrm
styleguide-app-initiator.min.js.LICENSE.txt1490644editdlrm
styleguide.js1040910644editdlrm
styleguide.min.js468680644editdlrm
tabs.520bc2ed4560c561029e.bundle.js74560644editdlrm
tabs.c2af5be7f9cb3cdcf3d5.bundle.min.js37050644editdlrm
text-editor.2c35aafbe5bf0e127950.bundle.min.js13600644editdlrm
text-editor.2f2f7e0ea1e16387a004.bundle.js28000644editdlrm
text-path.2bc8a9cd0e50cf1a5a9c.bundle.min.js252440644editdlrm
text-path.2bc8a9cd0e50cf1a5a9c.bundle.min.js.LICENSE.txt1900644editdlrm
text-path.fa44919c1abfe9244186.bundle.js739590644editdlrm
toggle.31881477c45ff5cf9d4d.bundle.min.js37700644editdlrm
toggle.d79746a764407a0828ee.bundle.js75600644editdlrm
video.57bb05ea17924bda3c02.bundle.js61140644editdlrm
video.d11c91c1b2b642a34601.bundle.min.js31710644editdlrm
web-cli.js5113440644editdlrm
web-cli.min.js1793470644editdlrm
web-cli.min.js.LICENSE.txt1490644editdlrm
webpack.runtime.js155050644editdlrm
webpack.runtime.min.js49970644editdlrm
wp-audio.75f0ced143febb8cd31a.bundle.min.js3490644editdlrm
wp-audio.b8efdc046bc9df72a075.bundle.js7810644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/elementor/assets/js/styleguide.min.js (46868B)
/*! elementor - v3.22.0 - 17-06-2024 */ (()=>{var t={85422:(t,r,o)=>{"use strict";var i=o(38003).__,a=o(73203)(o(93231)),l=o(12406);t.exports=Marionette.Behavior.extend({tagView:null,listenerAttached:!1,initialize:function initialize(){this.listenerAttached||(this.listenTo(this.view.options.container.settings,"change:external:__dynamic__",this.onAfterExternalChange),this.listenerAttached=!0)},shouldRenderTools:function shouldRenderTools(){if(this.getOption("dynamicSettings").default)return!1;var t=elementor.helpers.hasPro()&&!elementor.helpers.hasProAndNotConnected(),r=this.getOption("tags").length>0;return!t||r},renderTools:function renderTools(){var t=this;if(this.shouldRenderTools()){var r=jQuery(Marionette.Renderer.render("#tmpl-elementor-control-dynamic-switcher"));r.on("click",(function(r){return t.onDynamicSwitcherClick(r)})),this.$el.find(".elementor-control-dynamic-switcher-wrapper").append(r),this.ui.dynamicSwitcher=r,"color"===this.view.model.get("type")&&(this.view.colorPicker?this.moveDynamicSwitcherToColorPicker():setTimeout((function(){return t.moveDynamicSwitcherToColorPicker()}))),this.ui.dynamicSwitcher.tipsy({title:function title(){return this.getAttribute("data-tooltip")},gravity:"s"})}},moveDynamicSwitcherToColorPicker:function moveDynamicSwitcherToColorPicker(){var t=this.view.colorPicker.$pickerToolsContainer;this.ui.dynamicSwitcher.removeClass("elementor-control-unit-1").addClass("e-control-tool");var r=t.find(".elementor-control-element-color-picker");r.length?this.ui.dynamicSwitcher.insertBefore(r):t.append(this.ui.dynamicSwitcher)},toggleDynamicClass:function toggleDynamicClass(){this.$el.toggleClass("elementor-control-dynamic-value",this.isDynamicMode())},isDynamicMode:function isDynamicMode(){var t=this.view.container.settings.get("__dynamic__");return!(!t||!t[this.view.model.get("name")])},createTagsList:function createTagsList(){var t=_.groupBy(this.getOption("tags"),"group"),r=elementor.dynamicTags.getConfig("groups"),o=this.ui.tagsList=jQuery("
",{class:"elementor-tags-list"}),i=jQuery("
",{class:"elementor-tags-list__inner"});if(o.append(i),jQuery.each(r,(function(r){var o=t[r];if(o){var a=jQuery("
",{class:"elementor-tags-list__group-title"}).text(this.title);i.append(a),o.forEach((function(t){var r=jQuery("
",{class:"elementor-tags-list__item"});r.text(t.title).attr("data-tag-name",t.name),i.append(r)}))}})),!elementor.helpers.hasPro()&&Object.keys(t).length){var a=Marionette.Renderer.render("#tmpl-elementor-dynamic-tags-promo",{promotionUrl:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name"))});i.append(a)}i.on("click",".elementor-tags-list__item",this.onTagsListItemClick.bind(this)),elementorCommon.elements.$body.append(o)},getTagsList:function getTagsList(){return this.ui.tagsList||this.createTagsList(),this.ui.tagsList},toggleTagsList:function toggleTagsList(){var t=this.getTagsList();if(t.is(":visible"))t.hide();else{var r=elementorCommon.config.isRTL?"left":"right";t.show().position({my:"".concat(r," top"),at:"".concat(r," bottom+5"),of:this.ui.dynamicSwitcher})}},setTagView:function setTagView(t,r,o){this.tagView&&this.tagView.destroy();var i=this.tagView=new l({id:t,name:r,settings:o,controlName:this.view.model.get("name"),dynamicSettings:this.getOption("dynamicSettings")}),a=this.view.options.container,u=a.controls[i.options.controlName].label;i.options.container=new elementorModules.editor.Container({type:"dynamic",id:t,model:i.model,settings:i.model,view:i,parent:a,label:a.label+" "+u,controls:i.model.options.controls,renderer:a}),i.render(),this.$el.find(".elementor-control-tag-area").after(i.el),this.listenTo(i,"remove",this.onTagViewRemove.bind(this))},setDefaultTagView:function setDefaultTagView(){var t=elementor.dynamicTags.tagTextToTagData(this.getDynamicValue());this.setTagView(t.id,t.name,t.settings)},tagViewToTagText:function tagViewToTagText(){var t=this.tagView;return elementor.dynamicTags.tagDataToTagText(t.getOption("id"),t.getOption("name"),t.model)},getDynamicValue:function getDynamicValue(){return this.view.container.dynamic.get(this.view.model.get("name"))},destroyTagView:function destroyTagView(){this.tagView&&(this.tagView.destroy(),this.tagView=null)},showPromotion:function showPromotion(){var t=elementor.helpers.hasProAndNotConnected(),r={title:i("Dynamic Content","elementor"),content:i("Create more personalized and dynamic sites by populating data from various sources with dozens of dynamic tags to choose from.","elementor"),targetElement:this.ui.dynamicSwitcher,position:{blockStart:"-10"},actionButton:{url:t?elementorProEditorConfig.urls.connect:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name")),text:i(t?"Connect & Activate":"Upgrade","elementor")}};elementor.promotion.showDialog(r)},onRender:function onRender(){this.$el.addClass("elementor-control-dynamic"),this.renderTools(),this.toggleDynamicClass(),this.isDynamicMode()&&this.setDefaultTagView()},onDynamicSwitcherClick:function onDynamicSwitcherClick(t){t.stopPropagation(),this.getOption("tags").length?this.toggleTagsList():this.showPromotion()},onTagsListItemClick:function onTagsListItemClick(t){var r=jQuery(t.currentTarget);this.setTagView(elementorCommon.helpers.getUniqueId(),r.data("tagName"),{}),this.view.getGlobalKey()&&this.view.triggerMethod("unset:global:value"),this.isDynamicMode()?$e.run("document/dynamic/settings",{container:this.view.options.container,settings:(0,a.default)({},this.view.model.get("name"),this.tagViewToTagText())}):$e.run("document/dynamic/enable",{container:this.view.options.container,settings:(0,a.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass(),this.toggleTagsList(),this.tagView.getTagConfig().settings_required&&this.tagView.showSettingsPopup()},onTagViewRemove:function onTagViewRemove(){$e.run("document/dynamic/disable",{container:this.view.options.container,settings:(0,a.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass()},onAfterExternalChange:function onAfterExternalChange(){this.destroyTagView(),this.isDynamicMode()&&this.setDefaultTagView(),this.toggleDynamicClass()},onDestroy:function onDestroy(){this.destroyTagView(),this.ui.tagsList&&this.ui.tagsList.remove()}})},8061:t=>{"use strict";t.exports=Marionette.ItemView.extend({className:"elementor-tag-controls-stack-empty",template:"#tmpl-elementor-tag-controls-stack-empty"})},52099:(t,r,o)=>{"use strict";var i=o(8061);t.exports=elementorModules.editor.views.ControlsStack.extend({activeTab:"content",template:_.noop,emptyView:i,isEmpty:function isEmpty(){return this.collection.length<2},childViewOptions:function childViewOptions(){return{container:this.options.container}},getNamespaceArray:function getNamespaceArray(){var t=elementor.getPanelView().getCurrentPageView(),r=t.getNamespaceArray();return r.push(t.activeSection),r.push(this.getOption("controlName")),r.push(this.getOption("name")),r},onRenderTemplate:function onRenderTemplate(){this.activateFirstSection()}})},12406:(t,r,o)=>{"use strict";var i=o(52099);t.exports=Marionette.ItemView.extend({className:"elementor-dynamic-cover e-input-style",tagControlsStack:null,templateHelpers:function templateHelpers(){var t={};return this.model&&(t.controls=this.model.options.controls),t},ui:{remove:".elementor-dynamic-cover__remove"},events:function events(){var events={"click @ui.remove":"onRemoveClick"};return this.hasSettings()&&(events.click="onClick"),events},getTemplate:function getTemplate(){var t=this.getTagConfig(),r=Marionette.TemplateCache.get("#tmpl-elementor-control-dynamic-cover"),o=Marionette.Renderer.render(r,{hasSettings:this.hasSettings(),isRemovable:!this.getOption("dynamicSettings").default,title:t.title,content:t.panel_template});return Marionette.TemplateCache.prototype.compileTemplate(o.trim())},getTagConfig:function getTagConfig(){return elementor.dynamicTags.getConfig("tags."+this.getOption("name"))},initSettingsPopup:function initSettingsPopup(){var t={className:"elementor-tag-settings-popup",position:{my:"left top+5",at:"left bottom",of:this.$el,autoRefresh:!0},hide:{ignore:".select2-container"}},r=elementorCommon.dialogsManager.createWidget("buttons",t);this.getSettingsPopup=function(){return r}},hasSettings:function hasSettings(){return!!Object.values(this.getTagConfig().controls).length},showSettingsPopup:function showSettingsPopup(){this.tagControlsStack||this.initTagControlsStack();var t=this.getSettingsPopup();t.isVisible()||t.show()},initTagControlsStack:function initTagControlsStack(){this.tagControlsStack=new i({model:this.model,controls:this.model.controls,name:this.options.name,controlName:this.options.controlName,container:this.options.container,el:this.getSettingsPopup().getElements("message")[0]}),this.tagControlsStack.render()},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getOption("settings"),{controls:this.getTagConfig().controls})},initialize:function initialize(){this.initModel(),this.hasSettings()&&(this.initSettingsPopup(),this.listenTo(this.model,"change",this.render))},onClick:function onClick(){this.showSettingsPopup()},onRemoveClick:function onRemoveClick(t){t.stopPropagation(),this.destroy(),this.trigger("remove")},onDestroy:function onDestroy(){this.hasSettings()&&this.getSettingsPopup().destroy(),this.tagControlsStack&&this.tagControlsStack.destroy()}})},96731:t=>{"use strict";t.exports=elementorModules.Module.extend({errors:[],__construct:function __construct(t){var r=t.customValidationMethod;r&&(this.validationMethod=r)},getDefaultSettings:function getDefaultSettings(){return{validationTerms:{}}},isValid:function isValid(){var t=this.validationMethod.apply(this,arguments);return!t.length||(this.errors=t,!1)},validationMethod:function validationMethod(t){var r=[];return this.getSettings("validationTerms").required&&((""+t).length||r.push("Required value is empty")),r}})},33273:(t,r,o)=>{"use strict";var i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=i(o(78983)),l=i(o(42081)),u=i(o(58724)),c=i(o(71173)),d=i(o(74910));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,d.default)(t);if(r){var a=(0,d.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,c.default)(this,o)}}var p=o(12161),h=function(t){(0,u.default)(BreakpointValidator,t);var r=_createSuper(BreakpointValidator);function BreakpointValidator(){return(0,a.default)(this,BreakpointValidator),r.apply(this,arguments)}return(0,l.default)(BreakpointValidator,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{validationTerms:{max:5120}}}},{key:"getPanelActiveBreakpoints",value:function getPanelActiveBreakpoints(){var t=elementor.documents.currentDocument.config.settings.settings.active_breakpoints.map((function(t){return t.replace("viewport_","")})),r={};return t.forEach((function(t){r[t]=elementorFrontend.config.responsive.breakpoints[t]})),r}},{key:"initBreakpointProperties",value:function initBreakpointProperties(){var t,r,o=this.getSettings("validationTerms"),i=this.getPanelActiveBreakpoints(),a=Object.keys(i);this.breakpointIndex=a.indexOf(o.breakpointName),this.topBreakpoint=null===(t=i[a[this.breakpointIndex+1]])||void 0===t?void 0:t.value,this.bottomBreakpoint=null===(r=i[a[this.breakpointIndex-1]])||void 0===r?void 0:r.value}},{key:"validationMethod",value:function validationMethod(t){var r=this.getSettings("validationTerms"),o=p.prototype.validationMethod.call(this,t);return(_.isFinite(t)||""===t)&&(this.validateMinMaxForBreakpoint(t,r)||o.push("Value is not between the breakpoints above or under the edited breakpoint")),o}},{key:"validateMinMaxForBreakpoint",value:function validateMinMaxForBreakpoint(t,r){var o=elementorFrontend.config.responsive.breakpoints[r.breakpointName].default_value,i=!0;return this.initBreakpointProperties(),"mobile"===r.breakpointName&&320===this.bottomBreakpoint&&(this.bottomBreakpoint-=1),this.bottomBreakpoint&&(""!==t&&t<=this.bottomBreakpoint&&(i=!1),""===t&&o<=this.bottomBreakpoint&&(i=!1)),this.topBreakpoint&&(""!==t&&t>=this.topBreakpoint&&(i=!1),""===t&&o>=this.topBreakpoint&&(i=!1)),i}}]),BreakpointValidator}(p);r.default=h},12161:(t,r,o)=>{"use strict";var i=o(96731);t.exports=i.extend({validationMethod:function validationMethod(t){var r=this.getSettings("validationTerms"),o=[];return _.isFinite(t)&&(void 0!==r.min&&tr.max&&o.push("Value is greater than maximum")),o}})},53005:(t,r,o)=>{"use strict";var i=o(73203),a=i(o(40131)),l=i(o(93231)),u=i(o(33273));function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,r)}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var i=0,a=function F(){};return{s:a,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,c=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return u=t.done,t},e:function e(t){c=!0,l=t},f:function f(){try{u||null==o.return||o.return()}finally{if(c)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,i=new Array(r);o{"use strict";var i,a=o(73203)(o(93231));function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread(t){for(var r=1;r{"use strict";var i=o(53005);t.exports=i.extend({setInputValue:function setInputValue(t,r){this.$(t).prop("checked",this.model.get("return_value")===r)}},{onPasteStyle:function onPasteStyle(t,r){return!r||r===t.return_value}})},23933:(t,r,o)=>{"use strict";var i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Enable=void 0;var a=i(o(78983)),l=i(o(42081)),u=i(o(58724)),c=i(o(71173)),d=i(o(74910));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,d.default)(t);if(r){var a=(0,d.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,c.default)(this,o)}}var p=function(t){(0,u.default)(Enable,t);var r=_createSuper(Enable);function Enable(){return(0,a.default)(this,Enable),r.apply(this,arguments)}return(0,l.default)(Enable,[{key:"apply",value:function apply(t){$e.components.get("preview/styleguide").enableStyleguidePreview(t)}}]),Enable}($e.modules.CommandBase);r.Enable=p;var h=p;r.default=h},59304:(t,r,o)=>{"use strict";var i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.GlobalColors=void 0;var a=i(o(78983)),l=i(o(42081)),u=i(o(58724)),c=i(o(71173)),d=i(o(74910));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,d.default)(t);if(r){var a=(0,d.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,c.default)(this,o)}}var p=function(t){(0,u.default)(GlobalColors,t);var r=_createSuper(GlobalColors);function GlobalColors(){return(0,a.default)(this,GlobalColors),r.apply(this,arguments)}return(0,l.default)(GlobalColors,[{key:"apply",value:function apply(){$e.components.get("preview/styleguide").showStyleguidePreview()}}]),GlobalColors}($e.modules.CommandBase);r.GlobalColors=p;var h=p;r.default=h},55520:(t,r,o)=>{"use strict";var i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.GlobalTypography=void 0;var a=i(o(78983)),l=i(o(42081)),u=i(o(58724)),c=i(o(71173)),d=i(o(74910));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,d.default)(t);if(r){var a=(0,d.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,c.default)(this,o)}}var p=function(t){(0,u.default)(GlobalTypography,t);var r=_createSuper(GlobalTypography);function GlobalTypography(){return(0,a.default)(this,GlobalTypography),r.apply(this,arguments)}return(0,l.default)(GlobalTypography,[{key:"apply",value:function apply(){$e.components.get("preview/styleguide").showStyleguidePreview()}}]),GlobalTypography}($e.modules.CommandBase);r.GlobalTypography=p;var h=p;r.default=h},96589:(t,r,o)=>{"use strict";var i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Hide=void 0;var a=i(o(78983)),l=i(o(42081)),u=i(o(58724)),c=i(o(71173)),d=i(o(74910));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,d.default)(t);if(r){var a=(0,d.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,c.default)(this,o)}}var p=function(t){(0,u.default)(Hide,t);var r=_createSuper(Hide);function Hide(){return(0,a.default)(this,Hide),r.apply(this,arguments)}return(0,l.default)(Hide,[{key:"apply",value:function apply(){$e.components.get("preview/styleguide").hideStyleguidePreview()}}]),Hide}($e.modules.CommandBase);r.Hide=p;var h=p;r.default=h},42052:(t,r,o)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Enable",{enumerable:!0,get:function get(){return i.Enable}}),Object.defineProperty(r,"GlobalColors",{enumerable:!0,get:function get(){return a.GlobalColors}}),Object.defineProperty(r,"GlobalTypography",{enumerable:!0,get:function get(){return l.GlobalTypography}}),Object.defineProperty(r,"Hide",{enumerable:!0,get:function get(){return u.Hide}}),Object.defineProperty(r,"SwitcherChange",{enumerable:!0,get:function get(){return c.SwitcherChange}});var i=o(23933),a=o(59304),l=o(55520),u=o(96589),c=o(96654)},96654:(t,r,o)=>{"use strict";var i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.SwitcherChange=void 0;var a=i(o(78983)),l=i(o(42081)),u=i(o(58724)),c=i(o(71173)),d=i(o(74910));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,d.default)(t);if(r){var a=(0,d.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,c.default)(this,o)}}var p=function(t){(0,u.default)(SwitcherChange,t);var r=_createSuper(SwitcherChange);function SwitcherChange(){return(0,a.default)(this,SwitcherChange),r.apply(this,arguments)}return(0,l.default)(SwitcherChange,[{key:"validateArgs",value:function validateArgs(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgumentType("name","string",t),this.requireArgumentType("value","string",t)}},{key:"apply",value:function apply(t){t.name.includes("enable_styleguide_preview")&&$e.components.get("preview/styleguide").enableStyleguidePreview({value:t.value})}}]),SwitcherChange}($e.modules.CommandBase);r.SwitcherChange=p;var h=p;r.default=h},40342:(t,r,o)=>{"use strict";var i=o(73203);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=i(o(78983)),l=i(o(42081)),u=i(o(51121)),c=i(o(58724)),d=i(o(71173)),p=i(o(74910)),h=i(o(4073)),g=i(o(53005));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,p.default)(t);if(r){var a=(0,p.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,d.default)(this,o)}}var m=function(t){(0,c.default)(_default,t);var r=_createSuper(_default);function _default(){return(0,a.default)(this,_default),r.apply(this,arguments)}return(0,l.default)(_default,[{key:"initialize",value:function initialize(){g.default.prototype.initialize.apply(this,arguments),this.$el.addClass("elementor-control-type-switcher")}},{key:"onBeforeRender",value:function onBeforeRender(){for(var t,r=arguments.length,o=new Array(r),i=0;i{"use strict";var i=o(73203),a=o(7501);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=i(o(78983)),u=i(o(42081)),c=i(o(58724)),d=i(o(71173)),p=i(o(74910)),h=function _interopRequireWildcard(t,r){if(!r&&t&&t.__esModule)return t;if(null===t||"object"!==a(t)&&"function"!=typeof t)return{default:t};var o=_getRequireWildcardCache(r);if(o&&o.has(t))return o.get(t);var i={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var c=l?Object.getOwnPropertyDescriptor(t,u):null;c&&(c.get||c.set)?Object.defineProperty(i,u,c):i[u]=t[u]}i.default=t,o&&o.set(t,i);return i}(o(42052)),g=i(o(40342));function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var r=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(t){return t?o:r})(t)}function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,p.default)(t);if(r){var a=(0,p.default)(this).constructor;o=Reflect.construct(i,arguments,a)}else o=i.apply(this,arguments);return(0,d.default)(this,o)}}var m=function(t){(0,c.default)(_default,t);var r=_createSuper(_default);function _default(t){var o;return(0,l.default)(this,_default),o=r.call(this,t),elementor.addControlView("global-style-switcher",g.default),o.registerStyleguideDialogType(),elementor.once("preview:loaded",(function(){o.initModal()})),o}return(0,u.default)(_default,[{key:"getNamespace",value:function getNamespace(){return"preview/styleguide"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(h)}},{key:"registerStyleguideDialogType",value:function registerStyleguideDialogType(){DialogsManager.addWidgetType("styleguide",DialogsManager.getWidgetType("lightbox").extend("alert",{buildWidget:function buildWidget(){DialogsManager.getWidgetType("lightbox").prototype.buildWidget.apply(this,arguments);var t=this.addElement("widgetContent"),r=this.getElements();t.append(r.message),r.widget.html(t)}}))}},{key:"initModal",value:function initModal(){var t;this.getModal=function(){return t||(t=elementorCommon.dialogsManager.createWidget("styleguide",{id:"e-styleguide-preview-dialog",message:'
',position:{my:"center center",at:"center center"},hide:{onOutsideClick:!1,onEscKeyPress:!1,onClick:!1,onBackgroundClick:!1},container:elementor.$previewContents.find("body")}))}}},{key:"showStyleguidePreview",value:function showStyleguidePreview(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.getModal().isVisible()||!t&&!elementor.getPreferences("enable_styleguide_preview")||(this.getPreviewFrame().postMessage({name:"elementor/styleguide/preview/show"},"*"),this.getModal().show())}},{key:"hideStyleguidePreview",value:function hideStyleguidePreview(){this.getPreviewFrame().postMessage({name:"elementor/styleguide/preview/hide"},"*"),this.getModal().hide()}},{key:"enableStyleguidePreview",value:function enableStyleguidePreview(t){t.value?this.showStyleguidePreview(!0):this.hideStyleguidePreview(),$e.run("document/elements/settings",{container:elementor.settings.editorPreferences.getEditedView().getContainer(),settings:{enable_styleguide_preview:t.value},options:{external:!0}})}},{key:"isInEditor",value:function isInEditor(){return!!window.elementor}},{key:"getPreviewFrame",value:function getPreviewFrame(){return this.isInEditor()?elementor.$preview[0].contentWindow:window}}]),_default}($e.modules.ComponentBase);r.default=m},38003:t=>{"use strict";t.exports=wp.i18n},98106:t=>{t.exports=function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,i=new Array(r);o{t.exports=function _arrayWithHoles(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},77266:t=>{t.exports=function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},78983:t=>{t.exports=function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},42081:(t,r,o)=>{var i=o(74040);function _defineProperties(t,r){for(var o=0;o{var i=o(74040);t.exports=function _defineProperty(t,r,o){return(r=i(r))in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t},t.exports.__esModule=!0,t.exports.default=t.exports},51121:(t,r,o)=>{var i=o(79443);function _get(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=_get=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=_get=function _get(t,r,o){var a=i(t,r);if(a){var l=Object.getOwnPropertyDescriptor(a,r);return l.get?l.get.call(arguments.length<3?t:o):l.value}},t.exports.__esModule=!0,t.exports.default=t.exports),_get.apply(this,arguments)}t.exports=_get,t.exports.__esModule=!0,t.exports.default=t.exports},74910:t=>{function _getPrototypeOf(r){return t.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,_getPrototypeOf(r)}t.exports=_getPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},58724:(t,r,o)=>{var i=o(96196);t.exports=function _inherits(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&i(t,r)},t.exports.__esModule=!0,t.exports.default=t.exports},73203:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},40608:t=>{t.exports=function _iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i,a,l,u,c=[],d=!0,p=!1;try{if(l=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;d=!1}else for(;!(d=(i=l.call(o)).done)&&(c.push(i.value),c.length!==r);d=!0);}catch(t){p=!0,a=t}finally{try{if(!d&&null!=o.return&&(u=o.return(),Object(u)!==u))return}finally{if(p)throw a}}return c}},t.exports.__esModule=!0,t.exports.default=t.exports},56894:t=>{t.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.")},t.exports.__esModule=!0,t.exports.default=t.exports},71173:(t,r,o)=>{var i=o(7501).default,a=o(77266);t.exports=function _possibleConstructorReturn(t,r){if(r&&("object"===i(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return a(t)},t.exports.__esModule=!0,t.exports.default=t.exports},96196:t=>{function _setPrototypeOf(r,o){return t.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,r){return t.__proto__=r,t},t.exports.__esModule=!0,t.exports.default=t.exports,_setPrototypeOf(r,o)}t.exports=_setPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},40131:(t,r,o)=>{var i=o(17358),a=o(40608),l=o(35068),u=o(56894);t.exports=function _slicedToArray(t,r){return i(t)||a(t,r)||l(t,r)||u()},t.exports.__esModule=!0,t.exports.default=t.exports},79443:(t,r,o)=>{var i=o(74910);t.exports=function _superPropBase(t,r){for(;!Object.prototype.hasOwnProperty.call(t,r)&&null!==(t=i(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},56027:(t,r,o)=>{var i=o(7501).default;t.exports=function toPrimitive(t,r){if("object"!=i(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var a=o.call(t,r||"default");if("object"!=i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},74040:(t,r,o)=>{var i=o(7501).default,a=o(56027);t.exports=function toPropertyKey(t){var r=a(t,"string");return"symbol"==i(r)?r:String(r)},t.exports.__esModule=!0,t.exports.default=t.exports},7501:t=>{function _typeof(r){return t.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,_typeof(r)}t.exports=_typeof,t.exports.__esModule=!0,t.exports.default=t.exports},35068:(t,r,o)=>{var i=o(98106);t.exports=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return i(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(t,r):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports}},r={};function __webpack_require__(o){var i=r[o];if(void 0!==i)return i.exports;var a=r[o]={exports:{}};return t[o](a,a.exports,__webpack_require__),a.exports}(()=>{"use strict";var t=__webpack_require__(73203),r=t(__webpack_require__(78983)),o=t(__webpack_require__(42081)),i=t(__webpack_require__(58724)),a=t(__webpack_require__(71173)),l=t(__webpack_require__(74910)),u=t(__webpack_require__(78006));function _createSuper(t){var r=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(t){return!1}}();return function _createSuperInternal(){var o,i=(0,l.default)(t);if(r){var u=(0,l.default)(this).constructor;o=Reflect.construct(i,arguments,u)}else o=i.apply(this,arguments);return(0,a.default)(this,o)}}new(function(t){(0,i.default)(Styleguide,t);var a=_createSuper(Styleguide);function Styleguide(){return(0,r.default)(this,Styleguide),a.apply(this,arguments)}return(0,o.default)(Styleguide,[{key:"onInit",value:function onInit(){$e.components.register(new u.default),this.addHooks()}},{key:"getGlobalRoutes",value:function getGlobalRoutes(){return{"global-colors":"panel/global/global-colors","global-typography":"panel/global/global-typography"}}},{key:"addHooks",value:function addHooks(){elementor.hooks.addAction("panel/global/tab/before-show",this.show.bind(this)),elementor.hooks.addAction("panel/global/tab/before-destroy",this.hide.bind(this))}},{key:"show",value:function show(t){t.id&&t.id in this.getGlobalRoutes()&&$e.run("preview/styleguide/".concat(t.id))}},{key:"hide",value:function hide(t){t.id&&t.id in this.getGlobalRoutes()&&(Object.values(this.getGlobalRoutes()).some((function(t){return $e.routes.current.panel===t}))||$e.run("preview/styleguide/hide"))}}]),Styleguide}(elementorModules.editor.utils.Module))})()})();