",{class:"elementor-tags-list__group-title"}).text(this.title);r.append(a),i.forEach(function(t){var o=jQuery("
",{class:"elementor-tags-list__item"});o.text(t.title).attr("data-tag-name",t.name),r.append(o)})}}),!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"))});r.append(a)}r.on("click",".elementor-tags-list__item",this.onTagsListItemClick.bind(this)),elementorCommon.elements.$body.append(i)},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 o=elementorCommon.config.isRTL?"left":"right";t.show().position({my:"".concat(o," top"),at:"".concat(o," bottom+5"),of:this.ui.dynamicSwitcher})}},setTagView:function setTagView(t,o,i){this.tagView&&this.tagView.destroy();var r=this.tagView=new l({id:t,name:o,settings:i,controlName:this.view.model.get("name"),dynamicSettings:this.getOption("dynamicSettings")}),a=this.view.options.container,c=a.controls[r.options.controlName].label;r.options.container=new elementorModules.editor.Container({type:"dynamic",id:t,model:r.model,settings:r.model,view:r,parent:a,label:a.label+" "+c,controls:r.model.options.controls,renderer:a}),r.render(),this.$el.find(".elementor-control-tag-area").after(r.el),this.listenTo(r,"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(),o={title:r("Dynamic Content","elementor"),content:r("Create more personalized and dynamic sites by populating data from various sources with dozens of dynamic tags to choose from.","elementor"),targetElement:this.ui.dynamicSwitcher,position:{blockStart:"-10"},actionButton:{url:t?elementorProEditorConfig.urls.connect:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name")),text:r(t?"Connect & Activate":"Upgrade","elementor")}};elementor.promotion.showDialog(o)},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 o=jQuery(t.currentTarget);this.setTagView(elementorCommon.helpers.getUniqueId(),o.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()}})},10564:t=>{function _typeof(o){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(o)}t.exports=_typeof,t.exports.__esModule=!0,t.exports.default=t.exports},11018: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},11327:(t,o,i)=>{var r=i(10564).default;t.exports=function toPrimitive(t,o){if("object"!=r(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!=r(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},12227:(t,o,i)=>{"use strict";var r=i(96784);Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(39805)),l=r(i(40989)),c=r(i(15118)),u=r(i(29402)),p=r(i(87861)),d=r(i(73487));function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}o.default=function(t){function Module(){return(0,a.default)(this,Module),function _callSuper(t,o,i){return o=(0,u.default)(o),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(o,i||[],(0,u.default)(t).constructor):o.apply(t,i))}(this,Module,arguments)}return(0,p.default)(Module,t),(0,l.default)(Module,[{key:"onElementorInit",value:function onElementorInit(){elementor.addControlView("promotion_control",d.default)}}])}(elementorModules.editor.utils.Module)},12470:t=>{"use strict";t.exports=wp.i18n},15118:(t,o,i)=>{var r=i(10564).default,a=i(36417);t.exports=function _possibleConstructorReturn(t,o){if(o&&("object"==r(o)||"function"==typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return a(t)},t.exports.__esModule=!0,t.exports.default=t.exports},18821:(t,o,i)=>{var r=i(70569),a=i(65474),l=i(37744),c=i(11018);t.exports=function _slicedToArray(t,o){return r(t)||a(t,o)||l(t,o)||c()},t.exports.__esModule=!0,t.exports.default=t.exports},29402:t=>{function _getPrototypeOf(o){return t.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,_getPrototypeOf(o)}t.exports=_getPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},35741:(t,o,i)=>{"use strict";var r=i(96784),a=r(i(18821)),l=r(i(85707)),c=r(i(7895));function _createForOfIteratorHelper(t,o){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function _unsupportedIterableToArray(t,o){if(t){if("string"==typeof t)return _arrayLikeToArray(t,o);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_arrayLikeToArray(t,o):void 0}}(t))||o&&t&&"number"==typeof t.length){i&&(t=i);var r=0,a=function F(){};return{s:a,n:function n(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},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,c=!0,u=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return c=t.done,t},e:function e(t){u=!0,l=t},f:function f(){try{c||null==i.return||i.return()}finally{if(u)throw l}}}}function _arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,r=Array(o);i
{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},37744:(t,o,i)=>{var r=i(78113);t.exports=function _unsupportedIterableToArray(t,o){if(t){if("string"==typeof t)return r(t,o);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(t,o):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},38190:(t,o,i)=>{"use strict";var r=i(96784);Object.defineProperty(o,"__esModule",{value:!0}),o.AppManager=void 0;var a=r(i(41594)),l=r(i(39805)),c=r(i(40989)),u=r(i(38316)),p=i(7470);o.AppManager=function(){return(0,c.default)(function AppManager(){(0,l.default)(this,AppManager),this.promotionInfoTip=null,this.onRoute=function(){}},[{key:"getPromotionData",value:function getPromotionData(t){return elementorPromotionsData[t]||{}}},{key:"mount",value:function mount(t,o){var i,r,l,c=this;if(!this.promotionInfoTip){var d=null==t?void 0:t.closest(o.wrapperElement),h=null==d?void 0:d.querySelector(o.reactAnchor);if(h){this.attachEditorEventListeners(),this.promotionInfoTip=(0,p.createRoot)(h);var g=(null===(i=elementor)||void 0===i||null===(r=i.getPreferences)||void 0===r?void 0:r.call(i,"ui_theme"))||"auto",m=elementorCommon.config.isRTL,v=null===(l=h.getAttribute("data-promotion"))||void 0===l?void 0:l.replace("_promotion","");this.promotionInfoTip.render(a.default.createElement(u.default,{colorScheme:g,isRTL:m,promotionsData:this.getPromotionData(v),onClose:function onClose(){return c.unmount()}}))}}}},{key:"unmount",value:function unmount(){this.promotionInfoTip&&(this.detachEditorEventListeners(),this.promotionInfoTip.unmount()),this.promotionInfoTip=null}},{key:"attachEditorEventListeners",value:function attachEditorEventListeners(){var t=this;this.onRoute=function(o,i){"panel/elements/categories"!==i&&"panel/editor/content"!==i||t.unmount()},$e.routes.on("run:after",this.onRoute)}},{key:"detachEditorEventListeners",value:function detachEditorEventListeners(){$e.routes.off("run:after",this.onRoute)}}])}()},38316:(t,o,i)=>{"use strict";var r=i(62688),a=i(96784);Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(41594)),c=i(86956),u=a(i(96316)),p=function App(t){return l.default.createElement(c.DirectionProvider,{rtl:t.isRTL},l.default.createElement(c.LocalizationProvider,null,l.default.createElement(c.ThemeProvider,{colorScheme:t.colorScheme},l.default.createElement(c.Infotip,{content:l.default.createElement(u.default,{doClose:t.onClose,promotionsData:t.promotionsData}),placement:"right",arrow:!0,open:!0,disableHoverListener:!0,PopperProps:{modifiers:[{name:"offset",options:{offset:[-24,8]}}]}},l.default.createElement("span",null)))))};p.propTypes={colorScheme:r.oneOf(["auto","light","dark"]),isRTL:r.bool,promotionsData:r.object,onClose:r.func.isRequired};o.default=p},39805:t=>{t.exports=function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},40362:(t,o,i)=>{"use strict";var r=i(56441);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,t.exports=function(){function shim(t,o,i,a,l,c){if(c!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function getShim(){return shim}shim.isRequired=shim;var t={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return t.PropTypes=t,t}},40989:(t,o,i)=>{var r=i(45498);function _defineProperties(t,o){for(var i=0;i{"use strict";t.exports=React},45498:(t,o,i)=>{var r=i(10564).default,a=i(11327);t.exports=function toPropertyKey(t){var o=a(t,"string");return"symbol"==r(o)?o:o+""},t.exports.__esModule=!0,t.exports.default=t.exports},47697:t=>{"use strict";t.exports=elementorModules.Module.extend({errors:[],__construct:function __construct(t){var o=t.customValidationMethod;o&&(this.validationMethod=o)},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 o=[];return this.getSettings("validationTerms").required&&((""+t).length||o.push("Required value is empty")),o}})},47838:(t,o,i)=>{"use strict";var r=i(77109);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(),o=Marionette.TemplateCache.get("#tmpl-elementor-control-dynamic-cover"),i=Marionette.Renderer.render(o,{hasSettings:this.hasSettings(),isRemovable:!this.getOption("dynamicSettings").default,title:t.title,content:t.panel_template});return Marionette.TemplateCache.prototype.compileTemplate(i.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"}},o=elementorCommon.dialogsManager.createWidget("buttons",t);this.getSettingsPopup=function(){return o}},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 r({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()}})},56441:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62133:(t,o,i)=>{"use strict";var r=i(47697);t.exports=r.extend({validationMethod:function validationMethod(t){var o=this.getSettings("validationTerms"),i=[];return _.isFinite(t)&&(void 0!==o.min&&to.max&&i.push("Value is greater than maximum")),i}})},62688:(t,o,i)=>{t.exports=i(40362)()},65474:t=>{t.exports=function _iterableToArrayLimit(t,o){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,a,l,c,u=[],p=!0,d=!1;try{if(l=(i=i.call(t)).next,0===o){if(Object(i)!==i)return;p=!1}else for(;!(p=(r=l.call(i)).done)&&(u.push(r.value),u.length!==o);p=!0);}catch(t){d=!0,a=t}finally{try{if(!p&&null!=i.return&&(c=i.return(),Object(c)!==c))return}finally{if(d)throw a}}return u}},t.exports.__esModule=!0,t.exports.default=t.exports},70569:t=>{t.exports=function _arrayWithHoles(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},73487:(t,o,i)=>{"use strict";var r=i(96784);Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var a=r(i(39805)),l=r(i(40989)),c=r(i(15118)),u=r(i(29402)),p=r(i(87861)),d=r(i(85707)),h=r(i(35741)),g=i(38190);function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}o.default=function(t){function _default(t){var o;return(0,a.default)(this,_default),o=function _callSuper(t,o,i){return o=(0,u.default)(o),(0,c.default)(t,_isNativeReflectConstruct()?Reflect.construct(o,i||[],(0,u.default)(t).constructor):o.apply(t,i))}(this,_default,[t]),(0,d.default)(o,"promotionInfoTip",null),(0,d.default)(o,"selectors",{wrapperElement:".elementor-control-type-switcher",reactAnchor:".e-promotion-react-wrapper"}),o.AppManager=new g.AppManager,o}return(0,p.default)(_default,t),(0,l.default)(_default,[{key:"ui",value:function ui(){return{switcher:"[data-promotion].elementor-control-type-switcher"}}},{key:"events",value:function events(){return{"click @ui.switcher":"onClickControlSwitcher"}}},{key:"promotionData",value:function promotionData(t){return elementorPromotionsData[t]||{}}},{key:"onClickControlSwitcher",value:function onClickControlSwitcher(t){t.stopPropagation(),this.AppManager.mount(t.target,this.selectors)}}])}(h.default)},75206:t=>{"use strict";t.exports=ReactDOM},77109:(t,o,i)=>{"use strict";var r=i(84593);t.exports=elementorModules.editor.views.ControlsStack.extend({activeTab:"content",template:_.noop,emptyView:r,isEmpty:function isEmpty(){return this.collection.length<2},childViewOptions:function childViewOptions(){return{container:this.options.container}},getNamespaceArray:function getNamespaceArray(){var t=elementor.getPanelView().getCurrentPageView(),o=t.getNamespaceArray();return o.push(t.activeSection),o.push(this.getOption("controlName")),o.push(this.getOption("name")),o},onRenderTemplate:function onRenderTemplate(){this.activateFirstSection()}})},78113:t=>{t.exports=function _arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,r=Array(o);i{"use strict";t.exports=Marionette.ItemView.extend({className:"elementor-tag-controls-stack-empty",template:"#tmpl-elementor-tag-controls-stack-empty"})},85707:(t,o,i)=>{var r=i(45498);t.exports=function _defineProperty(t,o,i){return(o=r(o))in t?Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t},t.exports.__esModule=!0,t.exports.default=t.exports},86956:t=>{"use strict";t.exports=elementorV2.ui},87861:(t,o,i)=>{var r=i(91270);t.exports=function _inherits(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&r(t,o)},t.exports.__esModule=!0,t.exports.default=t.exports},91270:t=>{function _setPrototypeOf(o,i){return t.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,o){return t.__proto__=o,t},t.exports.__esModule=!0,t.exports.default=t.exports,_setPrototypeOf(o,i)}t.exports=_setPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports},95384:(t,o,i)=>{"use strict";var r,a=i(96784)(i(85707));function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),i.push.apply(i,r)}return i}function _objectSpread(t){for(var o=1;o{"use strict";var r=i(62688),a=i(96784);Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var l=a(i(41594)),c=i(12470),u=i(86956),p=function PromotionCard(t){var o=t.doClose,i=t.promotionsData,r=null==i?void 0:i.title,a=null==i?void 0:i.description,p=null==i?void 0:i.image,d=null==i?void 0:i.image_alt,h=null==i?void 0:i.upgrade_text,g=null==i?void 0:i.upgrade_url;return l.default.createElement(u.ClickAwayListener,{disableReactTree:!0,mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:o},l.default.createElement(u.Box,{sx:{width:296},"data-testid":"e-promotion-card"},l.default.createElement(u.Stack,{direction:"row",alignItems:"center",py:1,px:2},l.default.createElement(u.Typography,{variant:"subtitle2"},r),l.default.createElement(u.Chip,{label:(0,c.__)("PRO","elementor"),size:"small",variant:"outlined",color:"promotion",sx:{ml:1}}),l.default.createElement(u.CloseButton,{edge:"end",sx:{ml:"auto"},slotProps:{icon:{fontSize:"small"}},onClick:o})),l.default.createElement(u.Image,{src:p,alt:d,sx:{height:150,width:"100%"}}),l.default.createElement(u.Stack,{px:2},1===a.length?l.default.createElement(u.Typography,{variant:"body2",color:"secondary",sx:{pt:1.5,pb:1}},a[0]):l.default.createElement(u.List,{sx:{pl:2}},a.map(function(t,o){return l.default.createElement(u.ListItem,{key:o,sx:{listStyle:"disc",display:"list-item",color:"text.secondary",p:0}},l.default.createElement(u.Typography,{variant:"body2",color:"secondary"},t))}))),l.default.createElement(u.Stack,{pt:1,pb:1.5,px:2},l.default.createElement(u.Button,{variant:"contained",size:"small",color:"promotion",onClick:function redirectHandler(){return window.open(g,"_blank"),o()},sx:{ml:"auto"}},h))))};p.propTypes={doClose:r.func,promotionsData:r.object};o.default=p},96784:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports}},o={};function __webpack_require__(i){var r=o[i];if(void 0!==r)return r.exports;var a=o[i]={exports:{}};return t[i](a,a.exports,__webpack_require__),a.exports}(()=>{"use strict";new(__webpack_require__(96784)(__webpack_require__(12227)).default)})()})();import { Select2 } from '@elementor/app-ui';
/**
* Main component.
*
* @param {any} props
* @return {any} Element
* @class
*/
export default function ConditionSubId( props ) {
const settings = React.useMemo( () => (
Object.keys( props.subIdAutocomplete ).length
? getSettings( props.subIdAutocomplete )
: null
), [ props.subIdAutocomplete ] );
if ( ! props.sub || ! settings ) {
return '';
}
const onChange = ( e ) => props.updateConditions( props.id, { subId: e.target.value } );
return (
);
}
/**
* Get settings for the select2 base on the autocomplete settings,
* that passes as a prop
*
* @param {any} autocomplete
* @return {Object} Settings
*/
function getSettings( autocomplete ) {
return {
allowClear: false,
placeholder: __( 'All', 'elementor-pro' ),
dir: elementorCommon.config.isRTL ? 'rtl' : 'ltr',
ajax: {
transport( params, success, failure ) {
return elementorCommon.ajax.addRequest( 'pro_panel_posts_control_filter_autocomplete', {
data: {
q: params.data.q,
autocomplete,
},
success,
error: failure,
} );
},
data( params ) {
return {
q: params.term,
page: params.page,
};
},
cache: true,
},
escapeMarkup( markup ) {
return markup;
},
minimumInputLength: 1,
};
}
ConditionSubId.propTypes = {
subIdAutocomplete: PropTypes.object,
id: PropTypes.string.isRequired,
sub: PropTypes.string,
subId: PropTypes.string,
updateConditions: PropTypes.func,
subIdOptions: PropTypes.array,
};
ConditionSubId.defaultProps = {
subId: '',
subIdOptions: [],
};
[rev_slider alias=”slider-2″ slidertitle=”Slider 2″][/rev_slider]
Top brands
TOOLS
You need
Shop now
Up to 40% Off
ENGINE OIL
Run smoothly!
Shop now
Vehicle filter
Featured categories
Interior
Engine
Damping
Air conditioning
Steering
Brakes
Featured products
Top brands
Batteries
Stay charged up!
Shop now
Buy 3 Get 1 For Free
TIRES & WHEELS
Stay safe on road!
Shop now
Big sale
BUY 1 GET 1
FREE
Shop now
Best Deals of the week!
Top Brands
NEW COLLECTION
TAKE CARE OF YOUR TITES
Shop now
What our customers think
Excellent 4.91 based on 225,181 reviews
John Anderson
I found the exact fuel pump I needed for my vintage car, and the speedy delivery exceeded my expectations.
Liam Turner
The quality is top. I purchased brake pads for my SUV, improved my vehicle’s stopping power.
Alex Smith
Mobex delivered on their promise of quality and affordability. I got an air filter for my SUV, and it fit perfectly.
Taylor Laurent
The diverse inventory and personalized support simplified the process. Mobex is a lifesaver for me.
Casey Rossi
Their tutorials guided are incredibly helpful. I recently replaced my car battery and the quality is awesome.
Why choose Mobex Autoparts?
Car parts Shop
Leading car parts online shops due to a long-term experience and thousands of satisfied customers.
High quality brand Auto parts
A large variety of manufacturers and high quality auto parts guarantee mobility and safety on roads.
Original Parts Quality
Certified and reliable suppliers provide the entire range of auto parts. Get top brand spare parts.
Frequently asked questions
What types of auto parts are available in your online shop?Customers often want to know the range of products offered. This question can address whether the shop carries parts for specific makes and models, as well as the variety of categories available, such as engine components, brakes, suspension, etc.How can I be sure the auto parts will fit my vehicle?Concerns about compatibility are common. Addressing how the online shop ensures the accuracy of fitment information or providing a guide on how customers can verify compatibility with their vehicle is crucial.What brands do you carry, and are they genuine or aftermarket parts?Customers often want to know about the quality and authenticity of the parts. Providing information about the brands carried and whether they are genuine OEM (Original Equipment Manufacturer) or aftermarket parts can be important for customer trust.What is your return policy for auto parts?Understanding the return policy is crucial for customers in case they receive the wrong part or if there are issues with the product. This question can cover details such as return period, conditions, and any associated fees.How do you handle shipping and delivery of auto parts?Customers may inquire about shipping options, delivery times, and associated costs. Providing information on the shipping process, tracking orders, and any potential international shipping options can be helpful.Are there any warranties or guarantees on the auto parts?Addressing the longevity and reliability of the parts is important. Customers often want to know if there are any warranties or guarantees on the products, and if so, what they cover and for how long.Can I get assistance in finding the right auto part for my specific needs?Some customers may prefer personalized assistance. This question can cover whether the online shop provides customer support or assistance in identifying the right auto part based on the customer’s specific requirements or vehicle details.
Need Help?
We’ve got you covered!
6668 5555
Call us between
Live Chat
Chat with an Expert
[contact-form-7 id=”27efcde” title=”Contact form”]
Read more
Guides and articles
Articles and Guides that are written with the help of mechanics to ensure you have all the knowledge you need to make the correct purchase here at Mobex.
Featured manufacturers