Version Description
Visit the Github release page.
Download this release
Release Info
Developer | nikeo |
Plugin | Nimble Page Builder |
Version | 3.1.18 |
Comparing to | |
See all releases |
Code changes from version 3.1.17 to 3.1.18
- assets/czr/sek/js/ccat-sek-control.js +4 -2
- assets/czr/sek/js/ccat-sek-control.min.js +1 -1
- assets/czr/sek/js/ccat-sek-preview.js +3 -2
- assets/czr/sek/js/ccat-sek-preview.min.js +1 -1
- assets/front/css/modules/menu-module.css +4 -0
- assets/front/css/modules/menu-module.min.css +1 -1
- assets/front/css/modules/post-grid-module.css +36 -2
- assets/front/css/modules/post-grid-module.min.css +1 -1
- assets/front/css/sek-base-rtl.css +40 -2
- assets/front/css/sek-base-rtl.css.map +1 -1
assets/czr/sek/js/ccat-sek-control.js
CHANGED
@@ -5629,7 +5629,7 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
5629 |
expandAndFocusOnInit : false,
|
5630 |
priority : 10,
|
5631 |
icon : '<i class="fas fa-grip-vertical sek-level-option-icon"></i>',
|
5632 |
-
is_new :
|
5633 |
},
|
5634 |
});//
|
5635 |
|
@@ -5641,6 +5641,7 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
5641 |
_.each([
|
5642 |
'sek_intro_sec_picker_module',
|
5643 |
'sek_features_sec_picker_module',
|
|
|
5644 |
'sek_about_sec_picker_module',
|
5645 |
'sek_contact_sec_picker_module',
|
5646 |
'sek_team_sec_picker_module',
|
@@ -5655,7 +5656,8 @@ var CZRSeksPrototype = CZRSeksPrototype || {};
|
|
5655 |
content_type : 'section',
|
5656 |
expandAndFocusOnInit : 0 === key,//<= first section group is expanded on start
|
5657 |
priority : 30,
|
5658 |
-
icon : '<i class="fas fa-grip-vertical sek-level-option-icon"></i>'
|
|
|
5659 |
};
|
5660 |
});
|
5661 |
|
5629 |
expandAndFocusOnInit : false,
|
5630 |
priority : 10,
|
5631 |
icon : '<i class="fas fa-grip-vertical sek-level-option-icon"></i>',
|
5632 |
+
is_new : false
|
5633 |
},
|
5634 |
});//
|
5635 |
|
5641 |
_.each([
|
5642 |
'sek_intro_sec_picker_module',
|
5643 |
'sek_features_sec_picker_module',
|
5644 |
+
'sek_post_grids_sec_picker_module',
|
5645 |
'sek_about_sec_picker_module',
|
5646 |
'sek_contact_sec_picker_module',
|
5647 |
'sek_team_sec_picker_module',
|
5656 |
content_type : 'section',
|
5657 |
expandAndFocusOnInit : 0 === key,//<= first section group is expanded on start
|
5658 |
priority : 30,
|
5659 |
+
icon : '<i class="fas fa-grip-vertical sek-level-option-icon"></i>',
|
5660 |
+
is_new : 'sek_post_grids_sec_picker_module' === mod_type
|
5661 |
};
|
5662 |
});
|
5663 |
|
assets/czr/sek/js/ccat-sek-control.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(u,m){u.CZR_Helpers.getInputSubTemplate=function(e){return 0<m("#tmpl-nimble-subtemplate___"+e).length?wp.template("nimble-subtemplate___"+e):(u.errare("problem in api.czr_sektions.getInputSubTemplate(), missing js template in the DOM for template_name : "+e),null)};var f=u.CZR_Helpers.getModuleTmpl;u.CZR_Helpers.getModuleTmpl=function(n){if(-1===(n=_.extend({tmpl:"",module_type:"",module_id:"",cache:!0,nonce:u.settings.nonce.save},n)).module_id.indexOf("__nimble__"))return f(n);var o=m.Deferred();if((_.isEmpty(n.tmpl)||_.isEmpty(n.module_type))&&o.reject("api.CZR_Helpers.getModuleTmpl => missing tmpl or module_type param"),!u.czr_sektions.isModuleRegistered(n.module_type))return o.reject("api.CZR_Helpers.getModuleTmpl => module type not registered"),o.resolve(),f(n);if(_.contains([],n.module_type))return o.resolve(),f(n);var e=u.czr_sektions.getRegisteredModuleProperty(n.module_type,"tmpl"),t=_.isObject(e)&&e[n.tmpl]?e[n.tmpl]:{};!_.isEmpty(t)&&_.isObject(t)||(u.errare("getModuleTmpl => Error empty or invalid input map for module : ",n.module_type),o.reject("getModuleTmpl => Error empty or invalid input map for module : ",n.module_type));var r=n.item_model,i=m.extend(!0,{},u.czr_sektions.getDefaultItemModelFromRegisteredModuleData(n.module_type)),s=m.extend(!0,{},i);r=m.extend(s,r),_.isEmpty(r)&&(u.errare("getModuleTmpl => Error invalid item model for module : ",n.module_type),o.reject("getModuleTmpl => Error invalid item model for module : ",n.module_type));var a,l="",c=function(e){var i="";return _.each(e,function(e,t){a=e.input_type;try{i+=wp.template("nimble-input-wrapper")({input_type:a,input_data:e,input_id:t,item_model:r,input_tmpl:function(e){var t=e;switch(e){case"czr_layouts":case"select":case"simpleselect":case"fa_icon_picker":case"font_picker":case"animation_picker":t="simpleselect";break;case"simpleselectWithDeviceSwitcher":t="simpleselect_deviceswitcher";break;case"multiselect":case"category_picker":t="multiselect";break;case"h_alignment":case"horizAlignmentWithDeviceSwitcher":t="h_alignment";break;case"h_text_alignment":case"horizTextAlignmentWithDeviceSwitcher":t="h_text_alignment";break;case"range_simple":case"range_simple_device_switcher":t="range_simple";break;case"number_simple":t="number_simple";break;case"font_size":case"line_height":case"range_with_unit_picker":case"range_with_unit_picker_device_switcher":t="range_with_unit_picker";break;case"spacing":case"spacingWithDeviceSwitcher":t="spacing";break;case"upload":case"upload_url":t="upload";break;case"bg_position":case"bgPositionWithDeviceSwitcher":t="bg_position";break;case"verticalAlignWithDeviceSwitcher":t="v_alignment"}return 0<m("#tmpl-nimble-input___"+t).length?wp.template("nimble-input___"+t):(u.errare("problem in getInputTemplate(), missing js template in the DOM for input_type : "+e),null)}(a),control_id:n.control_id})}catch(e){return u.errare("getModuleTmpl => Error when parsing the nimble-input-wrapper template",e),o.reject("getModuleTmpl => Error when parsing the nimble-input-wrapper template"),!1}}),i};if(t.tabs){var d="",p="";_.each(t.tabs,function(e,t){var i=m.extend(!0,{},e);i=m.extend({inputs:{},title:""},i);var n=_.isEmpty(i.attributes)?"":i.attributes;d+='<li data-tab-id="section-topline-'+(+t+1)+'" '+n+'><a href="#" title="'+i.title+'"><span>'+i.title+"</span></a></li>";var o=c(i.inputs);p+='<section id="section-topline-'+(+t+1)+'">'+o+"</section>"}),l+=['<div class="tabs tabs-style-topline">',"<nav>","<ul>",d,"</ul>","</nav>",'<div class="content-wrap">',p,"</div>","</div>"].join("")}else l=c(t);return o.resolve(l).promise()}}(wp.customize,jQuery);var CZRSeksPrototype=CZRSeksPrototype||{};!function(r,s){s.extend(CZRSeksPrototype,{cachedElements:{$body:s("body"),$window:s(window)},initialize:function(){var e=this;if(_.isUndefined(window.sektionsLocalizedData))throw new Error("CZRSeksPrototype => missing localized server params sektionsLocalizedData");if(!_.isFunction(r.czr_activeSkopes))throw new Error("CZRSeksPrototype => api.czr_activeSkopes");e.SECTION_ID_FOR_GLOBAL_OPTIONS="__globalOptionsSectionId",e.SECTION_ID_FOR_LOCAL_OPTIONS="__localOptionsSection",e.SECTION_ID_FOR_CONTENT_PICKER="__content_picker__",e.MAX_NUMBER_OF_COLUMNS=12,e.SETTING_UPDATE_BUFFER=100,e.TINYMCE_EDITOR_HEIGHT=100,e.defaultLocalSektionSettingValue=e.getDefaultSektionSettingValue("local"),e.localSectionsSettingId=new r.Value({}),e.registered=new r.Value([]),wp.customize.apiIsReady?e.doSektionThinksOnApiReady():r.bind("ready",function(){e.doSektionThinksOnApiReady()}),r.bind("save-request-params",function(e){s.extend(e,{local_skope_id:r.czr_skopeBase.getSkopeProperty("skope_id"),group_skope_id:r.czr_skopeBase.getSkopeProperty("skope_id","group"),active_locations:r.czr_sektions.activeLocations(),inherit_group_template:!0})});var t=function(){_.isArray(r.czrActiveWPEditors)&&(_.each(r.czrActiveWPEditors,function(e){wp.oldEditor.remove(e)}),r.czrActiveWPEditors=[])};r.bind("sek-before-clean-registered",t),r.bind("czr-all-items-closed",t)},doSektionThinksOnApiReady:function(){var o=this;o.registerAndSetupDefaultPanelSectionOptions(),o.localSectionsSettingId.callbacks.add(function(e,t){try{o.setupSettingsToBeSaved()}catch(e){r.errare("Error in self.localSectionsSettingId.callbacks => self.setupSettingsToBeSaved()",e)}o.initializeHistoryLogWhenSettingsRegistered(),r.previewer.send("sek-request-active-locations")});var i=function(e,t){o.setContextualCollectionSettingIdWhenSkopeSet(e,t),r.section(o.SECTION_ID_FOR_LOCAL_OPTIONS,function(e){e.deferred.embedded.done(function(){!0!==e.boundForLocalOptionGeneration&&(e.boundForLocalOptionGeneration=!0,e.expanded.bind(function(e){!0===e&&o.generateUI({action:"sek-generate-local-skope-options-ui"})}))})}),r.section(o.SECTION_ID_FOR_GLOBAL_OPTIONS,function(e){!0!==e.nimbleGlobalOptionGenerated&&(o.generateUI({action:"sek-generate-global-options-ui"}),e.nimbleGlobalOptionGenerated=!0,e.expanded.bind(function(){o.templateGalleryExpanded&&o.templateGalleryExpanded(!1)}))}),o.nb_is_ready=!0,r.trigger("nimble-ready-for-current-skope")};_.isEmpty(r.czr_activeSkopes().local)||i(),r.czr_activeSkopes.callbacks.add(function(e,t){i(e,t)}),o.reactToPreviewMsg(),o.setupDnd(),o.setupTinyMceEditor(),o.schedulePrintSectionJson(),r.previewedDevice.bind(function(t){var e=_.filter(o.registered(),function(e){return"control"==e.what});_.each(e||[],function(e){r.control(e.id,function(e){e.container.find('[data-sek-device="'+t+'"]').each(function(){s(this).trigger("click")})})})}),s("#customize-notifications-area").on("click",'[data-sek-reset="true"]',function(){r.previewer.trigger("sek-reset-collection",{scope:"local"})}),o.bind("sek-ui-pre-removal",function(e){"control"==e.what&&-1<e.id.indexOf("draggable")&&r.control(e.id,function(e){e.container.find("[draggable]").each(function(){s(this).off("dragstart dragend")})}),"control"==e.what&&r.control(e.id,function(e){e.container.find("select").each(function(){_.isUndefined(s(this).data("czrSelect2"))||s(this).czrSelect2("destroy")})})}),r.bind("czr-new-registered",function(e){if(_.isUndefined(e.origin))throw new Error("czr-new-registered event => missing params.origin");if("nimble"===e.origin&&!1!==e.track){var t=o.registered(),i=s.extend(!0,[],t),n=_.findWhere(i,{id:e.id});if(!_.isEmpty(n)&&_.isEqual(n,e))throw new Error("register => duplicated element in self.registered() collection "+e.id);i.push(e),o.registered(i)}}),o.activeLocations=new r.Value([]),o.activeLocationsInfo=new r.Value([]),r.previewer.bind("sek-active-locations-in-preview",function(e){o.activeLocations(_.isObject(e)&&_.isArray(e.active_locations)?e.active_locations:[]),o.activeLocationsInfo(_.isObject(e)&&_.isArray(e.active_locs_info)?e.active_locs_info:[])}),o.setupTopBar(),o.setupSaveSectionUI(),o.setupSaveTmplUI(),o.lastClickedTargetInPreview=new r.Value,o.lastClickedTargetInPreview.bind(function(e,t){_.isObject(e)&&e.id?r.previewer.send("sek-set-double-click-target",e):r.previewer.send("sek-reset-double-click-target"),clearTimeout(o.cachedElements.$window.data("_preview_target_timer_")),o.cachedElements.$window.data("_preview_target_timer_",setTimeout(function(){o.lastClickedTargetInPreview({}),r.previewer.send("sek-reset-double-click-target")},2e4))}),r.previewer.bind("sek-clean-target-drop-zone",function(){o.lastClickedTargetInPreview({})}),s(document).keydown(function(e){e&&27===e.keyCode&&o.lastClickedTargetInPreview({})}),sektionsLocalizedData.hasActiveCachePlugin&&_.delay(function(){r.previewer.trigger("sek-notify",{notif_id:"has-active-cache-plugin",type:"info",duration:2e4,message:['<span style="color:#0075a2">',sektionsLocalizedData.i18n["You seem to be using a cache plugin."],!_.isString(sektionsLocalizedData.hasActiveCachePlugin)||sektionsLocalizedData.hasActiveCachePlugin.length<2?"":"<strong> ("+sektionsLocalizedData.hasActiveCachePlugin+")</strong><br/>"," <strong>",sektionsLocalizedData.i18n["It is recommended to disable your cache plugin when customizing your website."],"</strong>","</span>"].join("")})},2e3),r.previewer.bind("multi-items-module-refreshed",function(t){_.isUndefined(t.apiParams.control_id)||r.control(t.apiParams.control_id,function(e){_.isUndefined(e.params.sek_registration_params)||r.control(e.id).params.sek_registration_params.module_id===t.apiParams.id&&e.czr_Module.each(function(e){e.czr_Item.each(function(e){"expanded"===e.viewState()&&e.trigger("sek-request-item-focus-in-preview")})})})}),o.setupTemplateGallery(),r.previewer.bind("czr-new-skopes-synced",function(e){var t=r.czr_skopeBase.getSkopeProperty("sektions","local");sektionsLocalizedData.isDevMode&&r.infoLog("::czr-new-skopes-synced => SEKTIONS DATA ? ",t),_.isEmpty(t)&&r.errare("::czr-new-skopes-synced => no sektionsData"),_.isEmpty(t.setting_id)&&r.errare("::czr-new-skopes-synced => missing setting_id")})},registerAndSetupDefaultPanelSectionOptions:function(){var n=this,e=r.Panel.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}});r.panel(sektionsLocalizedData.sektionsPanelId,function(n){n.deferred.embedded.done(function(){var e=n.container.first().find("h3.accordion-section-title"),t=(n.container.first().find(".panel-meta .accordion-section-title"),['<img class="sek-nimble-logo" alt="'+n.params.title+'" src="',sektionsLocalizedData.baseUrl,"/assets/img/nimble/nimble_horizontal.svg?ver="+sektionsLocalizedData.nimbleVersion,'"/>'].join(""));if(sektionsLocalizedData.isPro&&(t+=['<img class="sek-nimble-logo sek-pro-pastil" src="',sektionsLocalizedData.baseUrl,"/assets/czr/sek/img/pro_white.svg?ver="+sektionsLocalizedData.nimbleVersion,'"/>'].join("")),0<e.length){var i=e.find("span");e.addClass("sek-side-nimble-logo-wrapper").html(t).append(i)}})}),r.CZR_Helpers.register({origin:"nimble",what:"panel",id:sektionsLocalizedData.sektionsPanelId,title:sektionsLocalizedData.i18n["Nimble Builder"],priority:-1e3,constructWith:e,track:!1}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:n.SECTION_ID_FOR_GLOBAL_OPTIONS,title:sektionsLocalizedData.i18n["Site wide options"],panel:sektionsLocalizedData.sektionsPanelId,priority:20,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section(n.SECTION_ID_FOR_GLOBAL_OPTIONS,function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-globe sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-globe sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:n.SECTION_ID_FOR_LOCAL_OPTIONS,title:sektionsLocalizedData.i18n["Current page options"],panel:sektionsLocalizedData.sektionsPanelId,priority:10,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section(n.SECTION_ID_FOR_LOCAL_OPTIONS,function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"setting",id:sektionsLocalizedData.optNameForGlobalOptions,dirty:!1,value:sektionsLocalizedData.globalOptionDBValues,transport:"postMessage",type:"option"}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:n.SECTION_ID_FOR_CONTENT_PICKER,title:sektionsLocalizedData.i18n["Content Picker"],panel:sektionsLocalizedData.sektionsPanelId,priority:30,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section(n.SECTION_ID_FOR_CONTENT_PICKER,function(e){"resolved"!=r.czr_initialSkopeCollectionPopulated.state()?r.czr_initialSkopeCollectionPopulated.done(function(){r.previewer.trigger("sek-pick-content",{focus:!1})}):r.previewer.trigger("sek-pick-content",{focus:!1})})})},setContextualCollectionSettingIdWhenSkopeSet:function(e,t){t=t||{},!_.isEmpty(t.local)&&r.panel(sektionsLocalizedData.sektionsPanelId).expanded()&&(!_.isUndefined(r._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate)&&r._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate||r.previewer.trigger("sek-pick-content")),sektionsData=r.czr_skopeBase.getSkopeProperty("sektions","local"),sektionsLocalizedData.isDevMode&&r.infoLog("::setContextualCollectionSettingIdWhenSkopeSet => SEKTIONS DATA ? ",sektionsData),_.isEmpty(sektionsData)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => no sektionsData"),_.isEmpty(sektionsData.setting_id)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => missing setting_id"),this.localSectionsSettingId(sektionsData.setting_id)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,p){p.extend(CZRSeksPrototype,{setupTopBar:function(){var t=this;t.topBarId="#nimble-top-bar",t.topBarVisible=new d.Value(!1),t.topBarVisible.bind(function(e){t.levelTreeExpanded()||t.toggleTopBar(e)}),t.mouseMovedRecently=new d.Value({}),t.mouseMovedRecently.bind(function(e){t.topBarVisible(!_.isEmpty(e))});var e=function(e){t.mouseMovedRecently({x:e.clientX,y:e.clientY}),clearTimeout(t.cachedElements.$window.data("_scroll_move_timer_")),t.cachedElements.$window.data("_scroll_move_timer_",setTimeout(function(){t.mouseMovedRecently.set({})},4e3))};t.cachedElements.$window.on("mousemove scroll,",_.throttle(e,50)),d.previewer.bind("ready",function(){p(d.previewer.targetWindow().document).on("mousemove scroll,",_.throttle(e,50))}),t.setupLevelTree()},toggleTopBar:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?p.when(i.renderAndSetupTopBarTmpl({})).done(function(e){i.topBarContainer=e,_.delay(function(){i.cachedElements.$body.addClass("nimble-top-bar-visible")},200)}):(t=p.Deferred(),i.cachedElements.$body.removeClass("nimble-top-bar-visible"),i.topBarContainer&&i.topBarContainer.length?_.delay(function(){t.resolve()},300):t.resolve(),t.promise()).done(function(){i.topBarVisible(!1)})},renderAndSetupTopBarTmpl:function(e){var t,c=this;if(0<p(c.topBarId).length)return p(c.topBarId);try{t=wp.template("nimble-top-bar")({})}catch(e){return d.errare("Error when parsing the the top note template",e),!1}p("#customize-preview").after(p(t)),p("#customize-preview").trigger("nimble-top-bar-rendered"),p(document).keydown(function(e){if(e.ctrlKey&&_.contains([89,90],e.keyCode))try{c.navigateHistory(90===e.keyCode?"undo":"redo")}catch(e){d.errare("Error when firing self.navigateHistory",e)}}),p(".sek-add-content",c.topBarId).on("click",function(e){e.preventDefault(),d.previewer.trigger("sek-pick-content",{content_type:"module"})}),p(".sek-level-tree",c.topBarId).on("click",function(e){e.preventDefault(),c.levelTreeExpanded(!c.levelTreeExpanded())}),p("[data-nimble-history]",c.topBarId).on("click",function(e){try{c.navigateHistory(p(this).data("nimble-history"))}catch(e){d.errare("Error when firing self.navigateHistory",e)}}),p(".sek-settings",c.topBarId).on("click",function(e){d.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.rootPanelFocus(),e.focus()})}),p(".sek-nimble-doc, .sek-notifications",c.topBarId).on("click",function(e){e.preventDefault(),p(this).data("doc-href")&&window.open(p(this).data("doc-href"),"_blank")}),p(".sek-tmpl-saving",c.topBarId).on("click",function(e){e.preventDefault(),c.tmplDialogVisible(!c.tmplDialogVisible())}),p(c.topBarId).on("click",".sek-reset-local-sektions",function(e){d.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.rootPanelFocus(),e.focus(),d.section(c.SECTION_ID_FOR_LOCAL_OPTIONS,function(e){e.focus(),setTimeout(function(){d.control(c.getLocalSkopeOptionId()+"__local_reset",function(e){e.focus(),e.container.find(".customize-control-title").trigger("click"),e.container.addClass("button-see-me"),_.delay(function(){e.container.removeClass("button-see-me")},800)})},500)})})}),p(c.topBarId).on("click",".sek-goto-site-tmpl-options",function(e){d.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.rootPanelFocus(),e.focus(),d.section(c.SECTION_ID_FOR_GLOBAL_OPTIONS,function(e){e.focus(),setTimeout(function(){d.control(sektionsLocalizedData.prefixForSettingsNotSaved+sektionsLocalizedData.optNameForGlobalOptions+"__site_templates",function(e){e.focus(),e.container.find(".customize-control-title").trigger("click")})},500)})})});var i=function(e){if(!(p(c.topBarId).length<1||sektionsLocalizedData.isDebugMode)){var t=!1;t=e&&e.on_init?d.czr_skopeBase.getSkopeProperty("has_local_nimble_customizations","local"):(!e||!e.after_reset)&&c.hasLocalSettingBeenCustomized();var i,n=c.getGroupSkopeForSiteTemplate(),o=!1,r=d(sektionsLocalizedData.optNameForGlobalOptions)(),s=!0,a=d(c.localSectionsSettingId())().local_options;a&&_.isObject(a)&&a.local_reset&&!_.isUndefined(a.local_reset.inherit_group_scope)&&(s=a.local_reset.inherit_group_scope),_.isObject(r)&&r.site_templates&&_.isObject(r.site_templates)&&_.each(r.site_templates,function(e,t){o||(o=n===t)}),i=o&&!t&&s;var l=sektionsLocalizedData.i18n["This page is not customized with NB"];i?l='<span class="sek-goto-site-tmpl-options">'+sektionsLocalizedData.i18n["This page inherits a NB site template"]+"</span>":t&&(l=sektionsLocalizedData.i18n["This page is customized with NB"],l+='<button type="button" class="far fa-trash-alt sek-reset-local-sektions" title="'+sektionsLocalizedData.i18n["Remove all sections and options of this page"]+'" data-nimble-state="enabled"><span class="screen-reader-text">'+sektionsLocalizedData.i18n["Remove all sections and options of this page"]+"</span></button>"),p(c.topBarId).find(".sek-notifications").html(['<span class="fas fa-info-circle"></span>',l].join(" "))}};d.bind("nimble-update-topbar-skope-status",i);var n=function(){d(c.localSectionsSettingId(),function(e){i({on_init:!0})})};return n(),d.bind("nimble-ready-for-current-skope",function(){n()}),p(c.topBarId)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{initializeHistoryLogWhenSettingsRegistered:function(){this.historyLog=new c.Value([{status:"current",value:{local:c(this.localSectionsSettingId())(),global:c(this.getGlobalSectionsSettingId())()},action:"initial"}]),this.historyLog.bind(function(e){if(!_.isEmpty(e)){var t=_.findKey(e,{status:"current"});t=Number(t),d("#nimble-top-bar").find("[data-nimble-history]").each(function(){"undo"===d(this).data("nimble-history")?d(this).attr("data-nimble-state",t<=0?"disabled":"enabled"):d(this).attr("data-nimble-state",e.length<=t+1?"disabled":"enabled")})}})},trackHistoryLog:function(e,t){var i=this,n=e.id===i.getGlobalSectionsSettingId();if(!_.isObject(t)||!_.isFunction(i.historyLog)||!_.isArray(i.historyLog()))throw c.errare("params, self.historyLog() ",t,i.historyLog()),new Error("trackHistoryLog => invalid params or historyLog value");var o,r=[],s=d.extend(!0,[],i.historyLog());_.isEmpty(t.in_sektion)?_.isEmpty(t.to_sektion)||(o=t.to_sektion):o=t.in_sektion,_.each(s,function(e){"future"!=e.status&&(d.extend(e,{status:"previous"}),r.push(e))}),r.push({status:"current",value:n?{global:e()}:{local:e()},action:_.isObject(t)&&t.action||"",sektionToRefresh:o}),i.historyLog(r)},navigateHistory:function(i){var t,n,o,r,e=this,s=d.extend(!0,[],e.historyLog()),a=[];if(_.each(s,function(e){if(_.isEmpty(r)){switch(e.status){case"previous":t=e;break;case"current":n=e;break;case"future":o=e}switch(i){case"undo":_.isEmpty(n)||_.isEmpty(t)||(r=t.value,n.sektionToRefresh,t.sektionToRefresh);break;case"redo":_.isEmpty(o)||(r=o.value,n.sektionToRefresh,o.sektionToRefresh)}}}),!_.isUndefined(r)){_.isEmpty(r.local)||(c(e.localSectionsSettingId())(e.validateSettingValue(r.local,"local"),{navigatingHistoryLogs:!0}),c.czr_sektions.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0})),_.isEmpty(r.global)||c(e.getGlobalSectionsSettingId())(e.validateSettingValue(r.global,"global"),{navigatingHistoryLogs:!0});c.previewer.refresh(),c.previewer.trigger("sek-pick-content",{}),e.cleanRegisteredAndLargeSelectInput(),e.cleanRegisteredLevelSettings()}var l=_.findKey(s,{status:"current"});l=Number(l),_.isNumber(l)?(_.each(s,function(e,t){switch(newLog=d.extend(!0,{},e),t=Number(t),i){case"undo":0<l&&(t===l-1?newLog.status="current":t===l&&(newLog.status="future"));break;case"redo":s.length>l+1&&(t===l?newLog.status="previous":t===l+1&&(newLog.status="current"))}a.push(newLog)}),e.historyLog(a)):c.errare("Error when navigating the history log, the current key should be a number")}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(b,z){z.extend(CZRSeksPrototype,{setupLevelTree:function(){var t,i=this;i.levelTree=new b.Value([]),i.levelTree.bind(function(e){i.levelTreeExpanded()&&i.renderOrRefreshTree()});var n=function(e){try{t=JSON.stringify(e)}catch(e){b.errorLog("::setupLevelTree => error when JSON.stringify Level Tree")}_.isString(t)&&(-1!==t.indexOf("__nimble__")?z(".sek-level-tree button",i.topBarId).css("color","#46d2ff"):z(".sek-level-tree button",i.topBarId).css("color",""))};i.levelTree.bind(_.debounce(function(e){n(e)},1e3)),z("#customize-preview").one("nimble-top-bar-rendered",function(){n(i.setLevelTreeValue())}),i.levelTreeExpanded=new b.Value(!1),i.levelTreeExpanded.bind(function(e){if(i.cachedElements.$body.toggleClass("sek-level-tree-expanded",e),e){if(i.templateGalleryExpanded(!1),i.tmplDialogVisible(!1),i.saveSectionDialogVisible&&i.saveSectionDialogVisible(!1),i.setLevelTreeValue(),_.isEmpty(i.levelTree()))return b.previewer.trigger("sek-notify",{type:"info",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["No sections to navigate"]+"</strong>","</span>"].join("")}),void i.levelTreeExpanded(!1);z("#customize-preview iframe").css("z-index",1),i.renderOrRefreshTree()}else 0<z("#nimble-level-tree").length&&_.delay(function(){z("#nimble-level-tree").remove(),z("#customize-preview iframe").css("z-index","")},300)}),i.activeLocations.bind(function(){_.isEmpty(i.levelTree())||i.renderOrRefreshTree()}),b.previewer.bind("ready",function(){i.localSectionsSettingId.callbacks.add(function(){i.levelTreeExpanded(!1),_.each([i.getGlobalSectionsSettingId(),i.localSectionsSettingId(),sektionsLocalizedData.optNameForGlobalOptions],function(e){b(e)._isBoundForNimbleLevelTree||(b(e).bind(function(e){i.setLevelTreeValue()}),b(e)._isBoundForNimbleLevelTree=!0)})})}),i.cachedElements.$body.on("click","#nimble-level-tree [data-nimb-level]",function(e){e.preventDefault(),e.stopPropagation();var i=z(e.target).closest("[data-nimb-level]");b.previewer.send("sek-animate-to-level",{id:i.data("nimb-id")}),b.previewer.send("sek-clean-level-uis"),_.delay(function(){b.previewer.send("sek-display-level-ui",{id:i.data("nimb-id")});var e=i.data("nimb-id"),t=i.data("nimb-level");"column"===t||"section"===t?b.previewer.trigger("sek-edit-options",{id:e,level:t}):"module"===t&&b.previewer.trigger("sek-edit-module",{id:e,level:t})},100)}),i.cachedElements.$body.on("click","#nimble-level-tree .sek-remove-level",function(e){e.preventDefault(),e.stopPropagation();var t=z(e.target).closest("[data-nimb-level]");b.previewer.trigger("sek-remove",{level:t.data("nimb-level"),id:t.data("nimb-id"),location:t.closest('[data-nimb-level="location"]').data("nimb-id"),in_sektion:t.closest('[data-nimb-level="section"]').data("nimb-id"),in_column:t.closest('[data-nimb-level="column"]').data("nimb-id")}),t.fadeOut("slow"),i.renderOrRefreshTree()}),i.cachedElements.$body.on("click",".sek-close-level-tree",function(e){e.preventDefault(),i.levelTreeExpanded(!1)})},setLevelTreeValue:function(){var e,t,i,n,o,r=this.getGlobalSectionsSettingId(),s=this.localSectionsSettingId(),a=sektionsLocalizedData.optNameForGlobalOptions,l=!1;if(_.each([r,s,a],function(e){b.has(e)||(l=e)}),!1===l){e=b(r)(),i=_.isObject(e)?z.extend(!0,{},e):{},i=_.isEmpty(i.collection)?[]:i.collection,i=_.isArray(i)?i:[],t=b(s)(),t=_.isObject(t)?t:{},n=z.extend(!0,{},t),n=_.isEmpty(n.collection)?[]:n.collection,n=_.isArray(n)?n:[];var c,d=_.union(i,n),p=!1,u=!1;o=b(a)(),o=_.isObject(o)?o:{},t.local_options&&t.local_options.local_header_footer&&(p="nimble_local"===(c=t.local_options.local_header_footer["header-footer"])),o.global_header_footer&&!p&&"theme"!==c&&(u="nimble_global"===o.global_header_footer["header-footer"]||"nimble_global"===c);var m,f,g=z.extend(!0,[],d);g=_.filter(g,function(e,t){return!_.contains(["nimble_global_header","nimble_global_footer","nimble_local_header","nimble_local_footer"],e.id)});var h=function(e){m=_.findWhere(d,{id:"nimble_"+e+"_header"}),f=_.findWhere(d,{id:"nimble_"+e+"_footer"}),g.unshift(m),g.push(f)};p?h("local"):u&&h("global");var v,k=this.activeLocations(),y=[];return _.isEmpty(k)?y=g:_.each(k,function(e){v=_.findWhere(g,{id:e}),_.isUndefined(v)||y.push(v)}),this.levelTree(y),y}b.errare("::setLevelTreeValue => a setting id is not registered ")},renderOrRefreshTree:function(){var e;if(z("#nimble-level-tree").length<1){try{e=wp.template("nimble-level-tree")({})}catch(e){return b.errare("Error when parsing the nimble-level-tree template",e),!1}z("#customize-preview").after(z(e))}z("#nimble-level-tree").find(".sek-tree-wrap").html(this.getLevelTreeHtml())},getLevelTreeHtml:function(e,t){var i=this;e=e||i.levelTree();var n,o,r,s=!1;if(!_.isArray(e)||_.isEmpty(e))return b.errare("::buildLevelTree => invalid collection param",e),r;var a='<i class="material-icons sek-remove-level" title="'+sektionsLocalizedData.i18n["Remove this element"]+'">delete_forever</i>';return r="<ul>",_.each(e,function(e){_.isUndefined(e.level)?b.errare("::buildLevelTree => missing level property",e):_.isUndefined(e.id)?b.errare("::buildLevelTree => missing id property",e):(n=e.level,"location"===(o=n)&&(s=!_.contains(i.activeLocations(),e.id)),s||(sektionsLocalizedData.i18n[n]&&(o=sektionsLocalizedData.i18n[n]),!0===e.is_nested&&(o=sektionsLocalizedData.i18n["nested section"]),a="location"!==n?a:"",r+='<li data-nimb-level="'+n+'" data-nimb-id="'+e.id+'">',r+='<div class="sek-level-infos"><div class="sek-inner-level-infos">',"module"===n&&(r+=[i.getTreeModuleIcon(e.module_type),i.getTreeModuleTitle(e.module_type)].join(" ")),r+=[" ",o,"( id :",e.id,")",a].join(" "),r+="</div></div>",_.isArray(e.collection)&&!_.isEmpty(e.collection)&&(r+=i.getLevelTreeHtml(e.collection,t)),r+="</li>"))}),r+="</ul>"},getTreeModuleIcon:function(t){var i,n={};return _.each(sektionsLocalizedData.moduleCollection,function(e){_.isEmpty(n)&&t===e["content-id"]&&(_.isEmpty(e.icon)||(i="http"===e.icon.substring(0,4)?e.icon:sektionsLocalizedData.moduleIconPath+e.icon,n={svg:e.icon?i:"",font:e.font_icon?e.font_icon:""}))}),_.isEmpty(n.svg)?_.isEmpty(n.font)?void 0:n.font:'<img class="sek-svg-mod-icon" src="'+n.svg+'"/>'},getTreeModuleTitle:function(t){var i={};return _.each(sektionsLocalizedData.moduleCollection,function(e){_.isEmpty(i)&&t===e["content-id"]&&(i=e.title)}),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupSaveSectionUI:function(){var r=this;r.saveSectionDialogVisible=new c.Value(!1),r.saveSectionDialogVisible.bind(function(e){e&&(r.templateGalleryExpanded(!1),r.levelTreeExpanded(!1),r.tmplDialogVisible&&r.tmplDialogVisible(!1)),r.toggleSaveSectionUI(e)}),r.allSavedSections=new c.Value("_not_populated_"),r.allSavedSections.bind(function(e){_.isObject(e)?(e=_.isEmpty(e)?{}:e,r.refreshSectionPickerHtml(e)):c.errare("error setupSaveSectionUI => section collection should be an object")}),r.saveSectionDialogMode=new c.Value("hidden"),r.saveSectionDialogMode.bind(function(e){_.contains(["hidden","save","update","remove","edit"],e)||(c.errare("error setupSaveSectionUI => unknown section dialog mode",e),e="save");var t,i=d("#nimble-top-section-save-ui"),n=i.find("#sek-saved-section-title"),o=i.find("#sek-saved-section-description");switch(i.find("[data-section-mode-switcher]").attr("aria-pressed",!1),i.find('[data-section-mode-switcher="'+e+'"]').attr("aria-pressed",!0),d("#nimble-top-section-save-ui").attr("data-sek-section-dialog-mode",e),i.removeClass("sek-removal-confirmation-opened"),e){case"save":n.val(""),o.val("");break;case"update":case"edit":(t=i.find(".sek-saved-section-picker")).val("none").trigger("change"),r.setSavedSectionCollection().done(function(e){r.refreshSectionPickerHtml(),t.val(r.userSectionToEdit||"none").trigger("change"),r.userSectionToEdit=null});break;case"remove":console.log("sOOO ?",r.userSectionToRemove),(t=i.find(".sek-saved-section-picker")).val("none").trigger("change"),r.setSavedSectionCollection().done(function(e){r.refreshSectionPickerHtml(),t.val(r.userSectionToRemove||"none").trigger("change"),r.userSectionToRemove=null})}"remove"===e&&_.isEmpty(r.idOfSectionToSave)?i.addClass("sek-is-removal-only"):i.removeClass("sek-is-removal-only")})},refreshSectionPickerHtml:function(e){e=e||this.allSavedSections();var t=d("#nimble-top-section-save-ui"),i=t.find(".sek-saved-section-picker");i.val("none").trigger("change"),i.find("option").each(function(){"none"!==d(this).attr("value")&&d(this).remove()});var n,o,r="";_.each(e,function(e,t){_.isObject(e)&&(o=e.last_modified_date?e.last_modified_date:"",n=e.title?e.title:"section title not set",r+='<option value="'+t+'">'+[n,sektionsLocalizedData.i18n["Last modified"]+" : "+o].join(" | ")+"</option>")}),i.append(r),t.addClass("section-collection-populated")},renderSectionSaveUI:function(e){if(0<d("#nimble-top-section-save-ui").length)return d("#nimble-top-section-save-ui");try{_tmpl=wp.template("nimble-top-section-save-ui")({})}catch(e){return c.errare("Error when parsing nimble-top-section-save-ui template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("#nimble-top-section-save-ui")},maybeScheduleSectionSaveDOMEvents:function(){var i=this,n=d("#nimble-top-section-save-ui");n.data("nimble-sec-save-dom-events-scheduled")||(n.on("click","[data-section-mode-switcher]",function(e){e.preventDefault(),i.saveSectionDialogMode(d(this).data("section-mode-switcher"))}).on("change",".sek-saved-section-picker",function(e){i.reactOnSectionSelection(e,d(this))}).on("click",".sek-do-save-section",function(e){n.addClass("nimble-section-processing-ajax"),i.saveOrUpdateSavedSection(e).done(function(e){n.removeClass("nimble-section-processing-ajax"),e.success&&(i.saveSectionDialogVisible(!1),i.setSavedSectionCollection({refresh:!0}))})}).on("click",".sek-do-update-section",function(e){var t=n.find(".sek-saved-section-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-section-processing-ajax"),i.saveOrUpdateSavedSection(e,t).done(function(e){n.removeClass("nimble-section-processing-ajax"),e.success&&(i.saveSectionDialogVisible(!1),i.setSavedSectionCollection({refresh:!0}).done(function(e){i.refreshSectionPickerHtml()}))}))}).on("click",".sek-open-remove-confirmation",function(e){n.addClass("sek-removal-confirmation-opened")}).on("click",".sek-do-remove-section",function(e){var t=n.find(".sek-saved-section-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-section-processing-ajax"),i.removeSavedSection(e,t).done(function(e){n.removeClass("nimble-section-processing-ajax"),n.removeClass("sek-removal-confirmation-opened"),e.success&&i.setSavedSectionCollection({refresh:!0})}))}).on("click",".sek-cancel-remove-section",function(e){n.removeClass("sek-removal-confirmation-opened")}),d(".sek-close-dialog",n).on("click",function(e){e.preventDefault(),i.saveSectionDialogVisible(!1)}),n.data("nimble-sec-save-dom-events-scheduled",!0))},reactOnSectionSelection:function(e,t){var i=d("#nimble-top-section-save-ui"),n=t.val(),o=i.find("#sek-saved-section-title"),r=i.find("#sek-saved-section-description"),s="update"===this.saveSectionDialogMode()?"sek-section-update-selected":"sek-section-remove-selected";if("none"===n)o.val(""),r.val(""),i.removeClass(s);else{var a=this.allSavedSections();(a=_.isObject(a)&&!_.isArray(a)?a:{})[n]=d.extend({title:"",description:"",last_modified_date:""},a[n]||{}),o.val(a[n].title),r.val(a[n].description),i.addClass(s)}},saveOrUpdateSavedSection:function(e,t){var i=this,n=d.Deferred(),o="edit"===i.saveSectionDialogMode();if(!o&&(!i.idOfSectionToSave||_.isEmpty(i.idOfSectionToSave)))return c.errare("saveOrUpdateSavedSection => error => missing section id"),n.resolve({success:!1});e.preventDefault();var r,s=d("#sek-saved-section-title"),a=s.val(),l=d("#sek-saved-section-description").val();if(!o){if("no_match"==(r=d.extend(!0,{},i.getLevelModel(i.idOfSectionToSave))))return c.errare("saveOrUpdateSavedSection => error => no section model with id "+i.idOfSectionToSave),n.resolve({success:!1});if(r=i.preProcessSection(r),!_.isObject(r))return c.errare("::saveOrUpdateSavedSection => error => invalid sectionModel"),n.resolve({success:!1})}return _.isEmpty(a)?(s.addClass("error"),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["A title is required"]+"</strong>","</span>"].join("")}),n.resolve({success:!1})):(d("#sek-saved-section-title").removeClass("error"),wp.ajax.post("sek_save_user_section",{nonce:c.settings.nonce.save,section_data:o?"":JSON.stringify(r),section_title:a,section_description:l,section_post_name:t||"",skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),edit_metas_only:o?"yes":"no"}).done(function(e){n.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template saved"]+"</strong>","</span>"].join("")})}).fail(function(e){n.resolve({success:!1}),c.errorLog("ajax sek_save_section => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing template"]+"</strong>","</span>"].join("")})}).always(function(){i.idOfSectionToSave=null}),n)},preProcessSection:function(e){if(!_.isObject(e))return null;var t=d.extend({},!0,e);return _.has(t,"is_nested")&&(t=_.omit(t,"is_nested")),t},removeSavedSection:function(e,t){var i=this,n=d.Deferred();return e.preventDefault(),wp.ajax.post("sek_remove_user_section",{nonce:c.settings.nonce.save,section_post_name:t}).done(function(e){n.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template removed"]+"</strong>","</span>"].join("")})}).fail(function(e){n.resolve({success:!1}),c.errorLog("ajax sek_remove_section => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")})}).always(function(){i.idOfSectionToSave=null}),n},toggleSaveSectionUI:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?d.when(i.renderSectionSaveUI({})).done(function(e){i.maybeScheduleSectionSaveDOMEvents(),i.saveUIContainer=e,_.delay(function(){i.saveSectionDialogMode("save"),i.cachedElements.$body.addClass("sek-save-section-ui-visible")},200)}):(t=d.Deferred(),i.cachedElements.$body.removeClass("sek-save-section-ui-visible"),0<d("#nimble-top-section-save-ui").length?_.delay(function(){i.saveSectionDialogMode=i.saveSectionDialogMode?i.saveSectionDialogMode:new c.Value,i.saveSectionDialogMode("hidden"),i.saveUIContainer.remove(),i.idOfSectionToSave=null,t.resolve()},250):t.resolve(),t.promise()).done(function(){i.saveSectionDialogVisible(!1)})},setSavedSectionCollection:function(e){var t=this,i=d.Deferred();return(e=e||{refresh:!1}).refresh||"_not_populated_"===t.allSavedSections()?((t.sectionCollectionPromise&&"pending"===t.sectionCollectionPromise.state()?t.sectionCollectionPromise:t.getSavedSectionCollection(e)).done(function(e){t.allSavedSections(e),i.resolve(e)}),i.promise()):i.resolve(t.allSavedSections())},getSavedSectionCollection:function(e){var t=this;return e=e||{refresh:!1},t.sectionCollectionPromise=d.Deferred(),e.refresh||"_not_populated_"===t.allSavedSections()?wp.ajax.post("sek_get_all_saved_sections",{nonce:c.settings.nonce.save}).done(function(e){_.isObject(e)&&!_.isArray(e)?t.sectionCollectionPromise.resolve(e):(t.sectionCollectionPromise.resolve({}),_.isEmpty(e)||c.errorLog("control::getSavedSectionCollection => collection is empty or invalid"))}).fail(function(e){c.errorLog("ajax sek_get_all_saved_section => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")}),t.sectionCollectionPromise.resolve({})}):t.sectionCollectionPromise.resolve(t.allSavedSections()),t.sectionCollectionPromise}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupSaveTmplUI:function(){var r=this;r.tmplDialogVisible=new c.Value(!1),sektionsLocalizedData.isTemplateSaveEnabled&&(r.tmplDialogVisible.bind(function(e){e&&(r.templateGalleryExpanded(!1),r.levelTreeExpanded(!1),r.saveSectionDialogVisible&&r.saveSectionDialogVisible(!1)),r.toggleSaveTmplUI(e)}),r.allSavedTemplates=new c.Value("_not_populated_"),r.allSavedTemplates.bind(function(e){_.isObject(e)?(e=_.isEmpty(e)?{}:e,r.refreshTmplPickerHtml(e)):c.errare("error setupSaveTmplUI => tmpl collection should be an object")}),r.allApiTemplates=new c.Value("_not_populated_"),r.tmplDialogMode=new c.Value("hidden"),r.tmplDialogMode.bind(function(e){_.contains(["hidden","save","update","remove","edit"],e)||(c.errare("::setupSaveTmplUI => unknown tmpl dialog mode",e),e="save");var t,i=d("#nimble-top-tmpl-save-ui"),n=i.find("#sek-saved-tmpl-title"),o=i.find("#sek-saved-tmpl-description");switch(i.find("[data-tmpl-mode-switcher]").attr("aria-pressed",!1),i.find('[data-tmpl-mode-switcher="'+e+'"]').attr("aria-pressed",!0),d("#nimble-top-tmpl-save-ui").attr("data-sek-tmpl-dialog-mode",e),i.removeClass("sek-removal-confirmation-opened"),e){case"save":n.val(""),o.val("");break;case"update":case"remove":(t=i.find(".sek-saved-tmpl-picker")).val("none").trigger("change"),r.setSavedTmplCollection().done(function(e){r.refreshTmplPickerHtml(),t.val(r.tmplToRemove||"none").trigger("change"),r.tmplToRemove=null});break;case"edit":(t=i.find(".sek-saved-tmpl-picker")).val("none").trigger("change"),r.setSavedTmplCollection().done(function(e){r.refreshTmplPickerHtml(),t.val(r.tmplToEdit||"none").trigger("change"),r.tmplToEdit=null})}}))},refreshTmplPickerHtml:function(e){e=e||this.allSavedTemplates();var t=d("#nimble-top-tmpl-save-ui"),i=t.find(".sek-saved-tmpl-picker");i.val("none").trigger("change"),i.find("option").each(function(){"none"!==d(this).attr("value")&&d(this).remove()});var n,o,r="";_.each(e,function(e,t){_.isObject(e)&&(o=e.last_modified_date?e.last_modified_date:"",n=e.title?e.title:"template title not set",r+='<option value="'+t+'">'+[n,sektionsLocalizedData.i18n["Last modified"]+" : "+o].join(" | ")+"</option>")}),i.append(r),t.addClass("tmpl-collection-populated")},renderTmplUI:function(e){if(0<d("#nimble-top-tmpl-save-ui").length)return d("#nimble-top-tmpl-save-ui");try{_tmpl=wp.template("nimble-top-tmpl-save-ui")({})}catch(e){return c.errare("Error when parsing nimble-top-tmpl-save-ui template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("#nimble-top-tmpl-save-ui")},scheduleTmplSaveDOMEvents:function(){var i=this,n=d("#nimble-top-tmpl-save-ui");n.data("nimble-tmpl-dom-events-scheduled")||(n.on("click","[data-tmpl-mode-switcher]",function(e){e.preventDefault(),i.tmplDialogMode(d(this).data("tmpl-mode-switcher"))}),n.on("change",".sek-saved-tmpl-picker",function(e){i.reactOnTemplateSelection(e,d(this))}),n.on("click",".sek-do-save-tmpl",function(e){n.addClass("nimble-tmpl-processing-ajax"),i.saveOrUpdateTemplate(e).done(function(e){n.removeClass("nimble-tmpl-processing-ajax"),e.success&&(i.tmplDialogVisible(!1),i.setSavedTmplCollection({refresh:!0}))})}),n.on("click",".sek-do-update-tmpl",function(e){var t=n.find(".sek-saved-tmpl-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-tmpl-processing-ajax"),i.saveOrUpdateTemplate(e,t).done(function(e){n.removeClass("nimble-tmpl-processing-ajax"),e.success&&(i.tmplDialogVisible(!1),i.setSavedTmplCollection({refresh:!0}).done(function(e){i.refreshTmplPickerHtml()}))}))}),n.on("click",".sek-open-remove-confirmation",function(e){n.addClass("sek-removal-confirmation-opened")}),n.on("click",".sek-do-remove-tmpl",function(e){var t=n.find(".sek-saved-tmpl-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-tmpl-processing-ajax"),i.removeTemplate(e,t).done(function(e){n.removeClass("nimble-tmpl-processing-ajax"),n.removeClass("sek-removal-confirmation-opened"),e.success&&i.setSavedTmplCollection({refresh:!0})}))}),n.on("click",".sek-cancel-remove-tmpl",function(e){n.removeClass("sek-removal-confirmation-opened")}),d(".sek-close-dialog",n).on("click",function(e){e.preventDefault(),i.tmplDialogVisible(!1)}),n.data("nimble-tmpl-dom-events-scheduled",!0))},reactOnTemplateSelection:function(e,t){var i=d("#nimble-top-tmpl-save-ui"),n=t.val(),o=i.find("#sek-saved-tmpl-title"),r=i.find("#sek-saved-tmpl-description"),s="update"===this.tmplDialogMode()?"sek-tmpl-update-selected":"sek-tmpl-remove-selected";if("none"===n)o.val(""),r.val(""),i.removeClass(s);else{var a=this.allSavedTemplates();(a=_.isObject(a)&&!_.isArray(a)?a:{})[n]=d.extend({title:"",description:"",last_modified_date:""},a[n]||{}),o.val(a[n].title),r.val(a[n].description),i.addClass(s)}},saveOrUpdateTemplate:function(e,t){var i=this,n=d.Deferred();e.preventDefault();var o,r=d("#sek-saved-tmpl-title"),s=r.val(),a=d("#sek-saved-tmpl-description").val(),l=i.localSectionsSettingId();try{o=i.preProcessTmpl(c(l)())}catch(e){c.errorLog("error in ::saveOrUpdateTemplate",e),n.resolve({success:!1})}return _.isEmpty(s)?(r.addClass("error"),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["A title is required"]+"</strong>","</span>"].join("")}),n.resolve({success:!1})):(d("#sek-saved-tmpl-title").removeClass("error"),wp.ajax.post("sek_save_user_template",{nonce:c.settings.nonce.save,tmpl_data:"edit"===i.tmplDialogMode()?"":JSON.stringify(o),tmpl_title:s,tmpl_description:a,tmpl_post_name:t||"",edit_metas_only:"edit"===i.tmplDialogMode()?"yes":"no",skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),tmpl_locations:i.getActiveLocationsForTmpl(o),tmpl_header_location:i.getHeaderOrFooterLocationIdForTmpl("header",o),tmpl_footer_location:i.getHeaderOrFooterLocationIdForTmpl("footer",o)}).done(function(e){n.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template saved"]+"</strong>","</span>"].join("")})}).fail(function(e){n.resolve({success:!1}),c.errorLog("ajax sek_save_template => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing template"]+"</strong>","</span>"].join("")})}),n)},getActiveLocationsForTmpl:function(e){if(!_.isObject(e))throw new Error("preProcess Tmpl => error : tmpl_data must be an object");var t=[];return _.each(e.collection,function(e){_.isObject(e)&&e.id&&e.level&&"location"===e.level&&t.push(e.id)}),t},getHeaderOrFooterLocationIdForTmpl:function(t,e){var i=this;if(!_.isObject(e))throw new Error("preProcess Tmpl => error : tmpl_data must be an object");var n="";return _.each(e.collection,function(e){_.isObject(e)&&e.id&&e.level&&("header"===t&&i.isHeaderLocation(e.id)||"footer"===t&&i.isFooterLocation(e.id))&&(n=e.id)}),n},preProcessTmpl:function(e){var t,i;if(!_.isObject(e))throw new Error("preProcess Tmpl => error : tmpl_data must be an object");return(t=d.extend(!0,{},e)).collection=[],i=this.activeLocations(),_.each(e.collection,function(e){_.isObject(e)&&e.id&&e.collection&&_.contains(i,e.id)&&!_.isEmpty(e.collection)&&t.collection.push(e)}),t},removeTemplate:function(e,t){var i=d.Deferred();return e.preventDefault(),wp.ajax.post("sek_remove_user_template",{nonce:c.settings.nonce.save,tmpl_post_name:t}).done(function(e){i.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template removed"]+"</strong>","</span>"].join("")})}).fail(function(e){i.resolve({success:!1}),c.errorLog("ajax sek_remove_template => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")})}),i},toggleSaveTmplUI:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?d.when(i.renderTmplUI({})).done(function(e){i.scheduleTmplSaveDOMEvents(),i.saveUIContainer=e,_.delay(function(){i.tmplDialogMode("save"),i.cachedElements.$body.addClass("sek-save-tmpl-ui-visible")},200)}):(t=d.Deferred(),i.cachedElements.$body.removeClass("sek-save-tmpl-ui-visible"),0<d("#nimble-top-tmpl-save-ui").length?_.delay(function(){i.tmplDialogMode=i.tmplDialogMode?i.tmplDialogMode:new c.Value,i.tmplDialogMode("hidden"),i.saveUIContainer.remove(),t.resolve()},250):t.resolve(),t.promise()).done(function(){i.tmplDialogVisible(!1)})},setSavedTmplCollection:function(e){var t=this,i=d.Deferred();return(e=e||{refresh:!1}).refresh||"_not_populated_"===t.allSavedTemplates()?((t.templateCollectionPromise&&"pending"===t.templateCollectionPromise.state()?t.templateCollectionPromise:t.getSavedTmplCollection()).done(function(e){t.allSavedTemplates(e),i.resolve(e)}),i.promise()):i.resolve(t.allSavedTemplates())},getSavedTmplCollection:function(){var t=this;return t.templateCollectionPromise=d.Deferred(),wp.ajax.post("sek_get_all_saved_tmpl",{nonce:c.settings.nonce.save}).done(function(e){_.isObject(e)&&!_.isArray(e)?t.templateCollectionPromise.resolve(e):(t.templateCollectionPromise.resolve({}),_.isEmpty(e)||c.errare("control::getSavedTmplCollection => error => tmpl collection is invalid",e))}).fail(function(e){c.errorLog("ajax sek_get_all_saved_tmpl => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")}),t.templateCollectionPromise.resolve({})}),t.templateCollectionPromise},getApiTmplCollection:function(){var t=this,i=d.Deferred(),n={};return"_not_populated_"!==t.allApiTemplates()?i.resolve(t.allApiTemplates()):sektionsLocalizedData.useAPItemplates?wp.ajax.post("sek_get_all_api_tmpl",{nonce:c.settings.nonce.save}).done(function(e){_.isObject(e)&&!_.isArray(e)?n=e:c.errare("control::getApiTmplCollection => error => tmpl collection is invalid",e),t.allApiTemplates(n),i.resolve(n)}).fail(function(e){c.errorLog("ajax sek_get_all_api_tmpl => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")}),i.resolve({})}):(t.allApiTemplates([]),i.resolve([])),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(o,r){r.extend(CZRSeksPrototype,{getTmplJsonFromUserTmpl:function(e){var t=r.Deferred();return wp.ajax.post("sek_get_user_tmpl_json",{nonce:o.settings.nonce.save,tmpl_post_name:e}).done(function(e){t.resolve({success:!0,tmpl_json:e})}).fail(function(e){t.resolve({success:!1}),o.errorLog("ajax getTmplJsonFromUserTmpl => error",e),o.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>Error when fetching the template</strong>","</span>"].join("")})}),t},getTmplJsonFromApi:function(e,t){var i=r.Deferred();return wp.ajax.post("sek_get_api_tmpl_json",{nonce:o.settings.nonce.save,api_tmpl_name:e,api_tmpl_is_pro:t?"yes":"no"}).done(function(e){i.resolve({success:!0,tmpl_json:e})}).fail(function(e){i.resolve({success:!1}),o.errorLog("ajax getTmplJsonFromApiTmpl => error",e);var t="Error when fetching the template";_.isString(e)&&!_.isEmpty(e)&&(t=e),o.previewer.trigger("sek-notify",{type:"error",duration:6e4,is_pro_notif:!0,notif_id:"pro_tmpl_error",message:['<span style="font-size:0.95em">',"<strong>"+t+"</strong>","</span>"].join("")})}),i},get_gallery_tmpl_json_and_inject:function(t){var e,i=this,n=(t=r.extend({tmpl_name:"",tmpl_source:"user",tmpl_inject_mode:"replace",tmpl_is_pro:!1},t||{})).tmpl_name;return!_.isEmpty(n)&&_.isString(n)||o.errare("::tmpl inject => error => invalid template name"),(e="api_tmpl"===t.tmpl_source?i.getTmplJsonFromApi(n,t.tmpl_is_pro):i.getTmplJsonFromUserTmpl(n)).done(function(e){e.success?i.inject_tmpl_from_gallery({tmpl_name:n,template_data:e.tmpl_json,tmpl_inject_mode:t.tmpl_inject_mode,tmpl_is_pro:t.tmpl_is_pro}):o.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}).fail(function(){o.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}),_.delay(function(){"pending"===e.state()&&o.previewer.trigger("sek-notify",{notif_id:"import-too-long",type:"error",duration:2e4,message:["<span>","<strong>","Template import failed","</strong>","</span>"].join("")})},3e4),e},inject_tmpl_from_gallery:function(e){e=e||{};if(!(e=r.extend({tmpl_inject_mode:"replace"},e)).template_data)throw new Error("::inject_tmpl => missing remote template data");o.czr_sektions.isImportedContentEligibleForAPI({success:!0,data:e.template_data},e)?(e.template_data.data.collection=this.setIdsForImportedTmpl(e.template_data.data.collection),o.czr_sektions.doUpdateApiSettingAfter_TmplGalleryImport({success:!0,data:e.template_data},e)):o.infoLog("::inject_tmpl problem => !api.czr_sektions.isImportedContentEligibleForAPI",e)},doUpdateApiSettingAfter_TmplGalleryImport:function(e,t){if(t=t||{},o.czr_sektions.isImportedContentEligibleForAPI(e,t)){o.czr_sektions.updateAPISetting({action:"sek-inject-tmpl-from-gallery",scope:"local",injected_content:e.data,tmpl_inject_mode:t.tmpl_inject_mode}).done(function(){var e=function(){o.czr_sektions.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0}),o.previewer.unbind("czr-new-skopes-synced",e)};o.previewer.bind("czr-new-skopes-synced",e),o.previewer.refresh(),o.previewer.trigger("sek-notify",{notif_id:"import-success",type:"success",duration:3e4,message:["<span>","<strong>",sektionsLocalizedData.i18n["Template successfully imported"],"</strong>","</span>"].join("")})}).fail(function(e){o.errare("::doUpdateApiSettingAfter_TmplGalleryImport => error when firing ::updateAPISetting",e),o.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",[sektionsLocalizedData.i18n["Import failed"],e].join(" : "),"</strong>","</span>"].join("")})}),o.previewer.refresh()}else o.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(r,e){jQuery.extend(CZRSeksPrototype,{getRevisionHistory:function(e){return wp.ajax.post("sek_get_revision_history",{nonce:r.settings.nonce.save,skope_id:e.is_local?r.czr_skopeBase.getSkopeProperty("skope_id"):sektionsLocalizedData.globalSkopeId})},setSingleRevision:function(i){var n=this,o=function(e,t){r.previewer.trigger("sek-notify",{notif_id:"restore-revision-error",type:t||"info",duration:1e4,message:['<span style="">',"<strong>",e||"","</strong>","</span>"].join("")})};wp.ajax.post("sek_get_single_revision",{nonce:r.settings.nonce.save,revision_post_id:i.revision_post_id}).done(function(e){var t=i.is_local?n.localSectionsSettingId():n.getGlobalSectionsSettingId();_.isEqual(r(t)(),e)?o(sektionsLocalizedData.i18n["This is the current version."],"info"):n.updateAPISetting({action:"sek-restore-revision",is_global_location:!i.is_local,revision_value:e}).done(function(){r.previewer.refresh()}).fail(function(e){r.errare("::setSingleRevision error when firing ::updateAPISetting",e),o(sektionsLocalizedData.i18n["The revision could not be restored."],"error")})}).fail(function(e){r.errare("::setSingleRevision ajax error",e),o(sektionsLocalizedData.i18n["The revision could not be restored."],"error")})}})}(wp.customize);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupSettingsToBeSaved:function(i){var n,r=this;i=i||{dirty:!1,is_group_inheritance_enabled:!0};var e={local:{collectionSettingId:r.localSectionsSettingId()},global:{collectionSettingId:r.getGlobalSectionsSettingId()}};_.each(e,function(e,o){if(n=c.czr_skopeBase.getSkopeProperty("sektions",o).db_values,_.isEmpty(e.collectionSettingId))throw new Error("setupSettingsToBeSaved => the collectionSettingId is invalid");if(!c.has(e.collectionSettingId)){var t=_.isObject(n)?n:r.getDefaultSektionSettingValue(o);"local"!=o||i.is_group_inheritance_enabled||(t.local_options.local_reset=_.isObject(t.local_options.local_reset)?t.local_options.local_reset:{},t.local_options.local_reset.inherit_group_scope=!1);c.CZR_Helpers.register({what:"setting",id:e.collectionSettingId,value:r.validateSettingValue(t,o),transport:"postMessage",type:"option",track:!1,origin:"nimble",dirty:i.dirty});c(e.collectionSettingId,function(n){n.bind(_.debounce(function(e,t,i){if(!_.isObject(i)||!0!==i.navigatingHistoryLogs)try{r.trackHistoryLog(n,i)}catch(e){c.errare("setupSettingsToBeSaved => trackHistoryLog",e)}"local"===o&&c.trigger("nimble-update-topbar-skope-status")},1e3))})}})},validateSettingValue:function(i,n){if(!_.isObject(i))return c.errare("::validateSettingValue => validation error => the setting should be an object",i),null;if(!_.isEmpty(n)&&_.contains(["local","global"],n)){var o={},r=!1,e=[],s=["collection","local_options","fonts","__inherits_group_skope_tmpl_when_exists__"],a=function(e){c.errare(e,i),sektionsLocalizedData.isDevMode&&c.previewer.trigger("sek-notify",{type:"error",duration:6e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks Nimble Builder, you can try resetting the sections of this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")}),r=!0},l=function(t){if(!r)if(_.isUndefined(t)&&_.isEmpty(o)){if(t=d.extend(!0,{},i),_.isUndefined(t.id)||_.isUndefined(t.level)){if(_.isUndefined(t.collection))return void a("validation error => the root level is missing the collection of locations");if(!_.isEmpty(t.level)||!_.isEmpty(t.id))return void a('validation error => the root level should not have a "level" or an "id" property');_.each(t,function(e,t){switch(n){case"local":if(!_.contains(s,t))return void a("validation error => unauthorized option group for local setting value => "+t);break;case"global":if(!_.contains(["collection","fonts"],t))return void a("validation error => unauthorized option group for global setting value => "+t)}}),_.each(i.collection,function(e){o=t,l(e)})}}else{if(_.isUndefined(t)||!_.isObject(t))return void a("validation error => a level is invalid");if(_.isEmpty(t.id)||!_.isString(t.id))return void a("validation error => a "+t.level+" level must have a valid id");if(_.contains(e,t.id))return void a("validation error => duplicated level id : "+t.id);if(e.push(t.id),_.isEmpty(t.level)||!_.isString(t.level))return void a("validation error => a "+t.level+" level must have a level property");if(!_.contains(["location","section","column","module"],t.level))return void a('validation error => the level "'+t.level+'" is not authorized');if("module"==t.level){if(!_.isUndefined(t.collection))return void a("validation error => a module can not have a collection property")}else if(_.isUndefined(t.collection))return void a("validation error => missing collection property for level => "+t.level+" "+t.id);switch(_.isUndefined(t.ver_ini)&&c.errare("validateSettingValue() => validation error => a "+t.level+' should have a version property : "ver_ini"'),t.level){case"location":if(!_.isEmpty(o.level))return void a("validation error => the parent of location "+t.id+" should have no level set");break;case"section":if(t.is_nested&&"column"!=o.level)return void a("validation error => the nested section "+t.id+" must be child of a column");if(!t.is_nested&&"location"!=o.level)return void a("validation error => the section "+t.id+" must be child of a location");break;case"column":if("section"!=o.level)return void a("validation error => the column "+t.id+" must be child of a section");break;case"module":if("column"!=o.level)return void a("validation error => the module "+t.id+" must be child of a column")}"module"!=t.level&&_.each(t.collection,function(e){o=d.extend(!0,{},t),_.isUndefined(e)?a("validation error => undefined level "):l(e)})}};return l(),r&&c.infoLog("error in ::validateSettingValue",i),i}c.errare("::validateSettingValue => invalid scope provided.",n)},resetCollectionSetting:function(e,t){var i;if(_.isEmpty(e)||!_.contains(["local","global"],e))throw new Error("resetCollectionSetting => invalid scope provided.",e);var n=!0;return"local"===e&&t&&_.isObject(t)&&t.local_reset&&!_.isUndefined(t.local_reset.inherit_group_scope)&&(n=t.local_reset.inherit_group_scope),i=d.extend(!0,{},this.getDefaultSektionSettingValue(e)),n||(i.local_options.local_reset={inherit_group_scope:!1}),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,o){o.extend(CZRSeksPrototype,{reactToPreviewMsg:function(){var r=this,s={},a={},l=!0,e={"sek-add-section":{callback:function(e){return c.previewedDevice("desktop"),l=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,a={},s={action:"sek-add-section",id:sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),before_section:e.before_section,after_section:e.after_section,is_first_section:e.is_first_section},r.updateAPISetting(s)},complete:function(e){e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),c.previewer.trigger("sek-pick-content",{id:e.apiParams?e.apiParams.id:"",content_type:"section"}),c.previewer.send("sek-animate-to-level",{id:e.apiParams.id})}},"sek-add-column":{callback:function(e){return l=!0,a={},s={id:sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),action:"sek-add-column",in_sektion:e.in_sektion,autofocus:e.autofocus},r.updateAPISetting(s)},complete:function(e){!1!==e.apiParams.autofocus&&c.previewer.trigger("sek-pick-content",{})}},"sek-add-module":{callback:function(e){return l=!0,a={},s={id:sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),action:"sek-add-module",in_sektion:e.in_sektion,in_column:e.in_column,module_type:e.content_id,before_module_or_nested_section:e.before_module_or_nested_section,after_module_or_nested_section:e.after_module_or_nested_section},r.updateAPISetting(s)},complete:function(e){c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)}),c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_column,location_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-remove":{callback:function(e){switch(l=!0,a={},e.level){case"section":var t=r.getLevelModel(e.id);if("no_match"===t){c.errare("reactToPreviewMsg => sek-remove-section => no sektionToRemove matched");break}s={action:"sek-remove-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:t.is_nested};break;case"column":s={action:"sek-remove-column",id:e.id,in_sektion:e.in_sektion};break;case"module":s={action:"sek-remove-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;default:c.errare("::reactToPreviewMsg => sek-remove => missing level ",e)}return r.updateAPISetting(s)},complete:function(e){if(c.previewer.trigger("sek-pick-content",{}),r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)}),"sek-remove-section"===e.apiParams.action){var t=r.getLevelModel(e.apiParams.location);_.isEmpty(t.collection)&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location})}}},"sek-move":{callback:function(e){switch(l=!0,a={},e.level){case"section":s={action:"sek-move-section",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),newOrder:e.newOrder,from_location:e.from_location,to_location:e.to_location};break;case"column":s={action:"sek-move-column",id:e.id,newOrder:e.newOrder,from_sektion:e.from_sektion,to_sektion:e.to_sektion};break;case"module":s={action:"sek-move-module",id:e.id,newOrder:e.newOrder,from_column:e.from_column,to_column:e.to_column,from_sektion:e.from_sektion,to_sektion:e.to_sektion}}return r.updateAPISetting(s)},complete:function(e){switch(e.apiParams.action){case"sek-move-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),e.apiParams.from_location!=e.apiParams.to_location&&(c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.to_location}),c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.from_location}));break;case"sek-move-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column});break;case"sek-refresh-modules-in-column":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column})}}},"sek-move-section-up":{callback:function(e){return l=!1,a={},s={action:"sek-move-section-up-down",direction:"up",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),location:e.location,in_column:e.in_column},r.updateAPISetting(s)},complete:function(e){c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location,original_action:"sek-move-section-up",moved_level_id:e.apiParams.id}),e.apiParams.new_location&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.new_location,original_action:"sek-move-section-down",moved_level_id:e.apiParams.id})}},"sek-move-section-down":{callback:function(e){return l=!1,a={},s={action:"sek-move-section-up-down",direction:"down",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),location:e.location,in_column:e.in_column},r.updateAPISetting(s)},complete:function(e){c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location,original_action:"sek-move-section-down",moved_level_id:e.apiParams.id}),e.apiParams.new_location&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.new_location,original_action:"sek-move-section-down",moved_level_id:e.apiParams.id})}},"sek-duplicate":{callback:function(e){switch(l=!0,a={},e.level){case"section":s={action:"sek-duplicate-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column)};break;case"column":s={action:"sek-duplicate-column",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;case"module":s={action:"sek-duplicate-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column}}return r.updateAPISetting(s)},complete:function(e){var t;switch(e.apiParams.action){case"sek-duplicate-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),t=e.apiParams.location,e.apiParams.is_nested&&c.previewer.refresh(),c.previewer.send("sek-animate-to-level",{id:e.apiParams.id});break;case"sek-duplicate-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_sektion;break;case"sek-duplicate-module":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_column}c.previewer.trigger("sek-refresh-stylesheet",{id:t,location_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-resize-columns":function(e){return l=!0,a={},s=e,r.updateAPISetting(s)},"sek-add-content-in-new-sektion":{callback:function(e){switch(l=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,a={},(s=e).action="sek-add-content-in-new-sektion",s.id=sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),e.content_type){case"module":s.droppedModuleId=sektionsLocalizedData.prefixForSettingsNotSaved+r.guid();break;case"preset_section":c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),c.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0})}return r.updateAPISetting(s)},complete:function(e){switch(e.apiParams.content_type){case"module":c.previewer.trigger("sek-edit-module",{level:"module",id:e.apiParams.droppedModuleId});break;case"preset_section":c.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)});var t=e.location_skope_id;_.isUndefined(t)&&(t=!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:c.czr_skopeBase.getSkopeProperty("skope_id")),c.previewer.trigger("sek-refresh-stylesheet",{location_skope_id:t,is_global_location:r.isGlobalLocation(e.apiParams)}),e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),e.apiParams.sektion_to_replace&&c.previewer.trigger("sek-remove",{id:e.apiParams.sektion_to_replace,location:e.apiParams.location,in_column:e.apiParams.in_column,level:"section"})}},"sek-add-preset-section-in-new-nested-sektion":{callback:function(e){return l=!1,a={},(s=e).action="sek-add-preset-section-in-new-nested-sektion",c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),r.updateAPISetting(s)},complete:function(e){r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)}),c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_sektion,location_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")}),c.previewer.trigger("sek-refresh-level",{level:"section",id:e.apiParams.in_sektion})}},"sek-pick-content":function(e){return e=_.isObject(e)?e:{},c.czr_sektions.currentContentPickerType=c.czr_sektions.currentContentPickerType||new c.Value,_.isObject(e)&&e.id&&r.lastClickedTargetInPreview({id:e.id}),l=!0,s={},a={action:"sek-generate-draggable-candidates-picker-ui",content_type:(e=e||{}).content_type||"module",was_triggered:!_.has(e,"was_triggered")||e.was_triggered,focus:!_.has(e,"focus")||e.focus},r.generateUI(a)},"sek-edit-options":function(e){return l=!0,s={},_.isEmpty(e.id)?o.Deferred(function(){this.reject("missing id")}):(a={action:"sek-generate-level-options-ui",location:e.location,level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},r.generateUI(a))},"sek-edit-module":function(e){return l=!0,s={},a={action:"sek-generate-module-ui",level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},r.generateUI(a)},"sek-notify":function(i){l=!1;var n=i.notif_id||"sek-notify";return i.button_see_me=!!_.isUndefined(i.button_see_me)||i.button_see_me,r.lastNimbleNotificationId&&c.notifications.remove(r.lastNimbleNotificationId),o.Deferred(function(){c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification(n,{type:i.type||"info",message:i.message,dismissible:!0})),r.lastNimbleNotificationId=n;var t=function(){i.is_pro_notif&&c.notifications(n).container.css("background","#ffff88"),i.button_see_me&&(c.notifications(n).container.addClass("button-see-me-twice"),_.delay(function(){c.notifications.container.removeClass("button-see-me-twice")},2e3)),c.notifications.unbind("rendered",t)};c.notifications.has(n)&&c.notifications.bind("rendered",t),_.delay(function(){c.notifications.remove(n)},i.duration||5e3)}),this.resolve({is_global_location:r.isGlobalLocation(i)})})},"sek-refresh-level":function(t){return l=!0,o.Deferred(function(e){s={action:"sek-refresh-level",level:t.level,id:t.id,original_action:t.original_action,moved_level_id:t.moved_level_id},a={},e.resolve({is_global_location:r.isGlobalLocation(t)})})},"sek-refresh-stylesheet":function(t){return l=!0,t=t||{},o.Deferred(function(e){s={id:t.id},a={},e.resolve({is_global_location:r.isGlobalLocation(t)})})},"sek-toggle-save-section-ui":function(t){return l=!1,r.idOfSectionToSave=t.id,r.saveSectionDialogVisible(!0),o.Deferred(function(e){s={},a={},e.resolve({is_global_location:r.isGlobalLocation(t)})})},"sek-reset-collection":{callback:function(t){return l=!1,a={},(s=t).action="sek-reset-collection",s.scope=t.scope,r.updateAPISetting(s).done(function(e){if(c.previewer.refresh(),c.previewer.trigger("sek-notify",{notif_id:"reset-success",type:"success",duration:8e3,message:["<span>","<strong>",sektionsLocalizedData.i18n["Reset complete"],"</strong>","</span>"].join("")}),"local"===t.scope){var i=function(){var e=!0,t=c(r.localSectionsSettingId())().local_options;t&&_.isObject(t)&&t.local_reset&&!_.isUndefined(t.local_reset.inherit_group_scope)&&(e=t.local_reset.inherit_group_scope),r.cleanRegisteredLevelSettings(),c.remove(r.localSectionsSettingId());try{r.setupSettingsToBeSaved({dirty:!0,is_group_inheritance_enabled:e})}catch(e){c.errare("Error in self.localSectionsSettingId.callbacks => self.setupSettingsToBeSaved()",e)}c.trigger("nimble-update-topbar-skope-status",{after_reset:!0}),r.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0}),c.previewer.unbind("czr-new-skopes-synced",i)};c.previewer.bind("czr-new-skopes-synced",i)}}).fail(function(e){c.errare("reset_button input => error when firing ::updateAPISetting",e),c.previewer.trigger("sek-notify",{notif_id:"reset-failed",type:"error",duration:8e3,message:["<span>","<strong>",sektionsLocalizedData.i18n["Reset failed"],"<br/>","<i>"+e+"</i>","</strong>","</span>"].join("")})})},complete:function(e){}}};_.each(e,function(t,o){c.previewer.bind(o,function(n){var e;if(_.isFunction(t))e=t;else{if(!_.isFunction(t.callback))return void c.errare("::reactToPreviewMsg => invalid callback for action "+o);e=t.callback}"sek-notify"!==o&&(r.templateGalleryExpanded(!1),r.tmplDialogVisible(!1));try{e(n).done(function(e){if(e=e||{},l){var t={location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:c.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:s,uiParams:a,cloneId:!_.isEmpty(e.cloneId)&&e.cloneId},i=!1;try{JSON.stringify(t)}catch(e){c.errare("JSON.stringify problem when executing the callback of "+o,t),i=!0}i||c.previewer.send(o,t)}else c.previewer.trigger([o,"done"].join("_"),{apiParams:s,uiParams:a});r.trigger([o,"done"].join("_"),n)}).fail(function(e){c.errare("reactToPreviewMsg => problem or error when running action "+o,e),!_.isEmpty(e)&&sektionsLocalizedData.isDevMode&&c.previewer.trigger("sek-notify",{type:"error",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks Nimble Builder, you can try resetting the sections of this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")})})}catch(e){c.errare("reactToPreviewMsg => error when receiving "+o,e)}})}),_.each(e,function(t,i){c.previewer.bind([i,"done"].join("_"),function(e){if(_.isFunction(t.complete))try{t.complete(e)}catch(e){c.errare("reactToPreviewMsg done => error when receiving "+[i,"done"].join("_"),e)}})})},schedulePrintSectionJson:function(){var i=this;c.previewer.bind("sek-to-json",function(e){var t=o.extend(!0,{},i.getLevelModel(e.id));console.log(JSON.stringify(i.cleanIds(t)))})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(y,b){b.extend(CZRSeksPrototype,{generateUI:function(e){var t=this,i=b.Deferred();switch(_.isEmpty(e.action)&&i.reject("generateUI => missing action"),e.action){case"sek-generate-module-ui":try{i=t.generateUIforFrontModules(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}break;case"sek-generate-level-options-ui":try{i=t.generateUIforLevelOptions(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}break;case"sek-generate-draggable-candidates-picker-ui":t.cleanRegisteredAndLargeSelectInput();try{i=t.generateUIforDraggableContent(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}y.czr_sektions.currentContentPickerType(e.content_type||"module");break;case"sek-generate-local-skope-options-ui":t.cleanRegisteredAndLargeSelectInput();try{i=t.generateUIforLocalSkopeOptions(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}break;case"sek-generate-global-options-ui":t.cleanRegisteredAndLargeSelectInput();try{i=t.generateUIforGlobalOptions(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}}return"pending"==i.state()?i.resolve().promise():i.promise()},updateAPISettingAndExecutePreviewActions:function(r){if(!_.isEmpty(r.settingParams)&&_.has(r.settingParams,"to")){var o,s=this,e=r.settingParams.to,t=null,a=!1;if(!_.isEmpty(r.settingParams.args)&&_.has(r.settingParams.args,"moduleRegistrationParams")){var l=r.settingParams.args.moduleRegistrationParams.control,i=r.settingParams.args.moduleRegistrationParams.id,n=l.czr_Module(i);if(_.isEmpty(n)?y.errare("updateAPISettingAndExecutePreviewActions => missing parentModuleInstance",r):(t=n.module_type,a=n.isMultiItem()),!a&&_.isObject(e)?o=s.normalizeAndSanitizeSingleItemInputValues({item_value:e,parent_module_type:t,is_multi_items:!1}):(o=[],_.each(e,function(e){o.push(s.normalizeAndSanitizeSingleItemInputValues({item_value:e,parent_module_type:t,is_multi_items:!0}))})),_.isEmpty(r.defaultPreviewAction))y.errare("updateAPISettingAndExecutePreviewActions => missing defaultPreviewAction in passed params. No action can be triggered to the api.previewer.",r);else{var c,d="refresh_stylesheet"===r.defaultPreviewAction,p="refresh_markup"===r.defaultPreviewAction,u="refresh_fonts"===r.defaultPreviewAction,m="refresh_preview"===r.defaultPreviewAction,f=!1,g=r.settingParams.args.input_changed,h=function(){return c&&_.isString(c.refresh_markup)&&"true"!==c.refresh_markup&&"false"!==c.refresh_markup};_.isUndefined(g)||(c=s.getInputRegistrationParams(g,t),_.isUndefined(c.refresh_stylesheet)||(d=Boolean(c.refresh_stylesheet)),_.isUndefined(c.refresh_markup)||(p=h()?c.refresh_markup:Boolean(c.refresh_markup)),_.isUndefined(c.refresh_fonts)||(u=Boolean(c.refresh_fonts)),_.isUndefined(c.refresh_preview)||(m=Boolean(c.refresh_preview)),_.isUndefined(c.refresh_css_via_post_message)||(f=Boolean(c.refresh_css_via_post_message)));var v=function(){if(!0!==r.isGlobalOptions)return s.updateAPISetting({action:r.uiParams.action,id:r.uiParams.id,value:o,in_column:r.uiParams.in_column,in_sektion:r.uiParams.in_sektion,options_type:r.options_type,settingParams:r.settingParams}).done(function(e){var t;!0===d&&y.previewer.send("sek-refresh-stylesheet",{location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-refresh-stylesheet",id:r.uiParams.id,level:r.uiParams.level}}),a&&r.settingParams.args.inputRegistrationParams&&_.isFunction(r.settingParams.args.inputRegistrationParams.input_parent)&&(t=r.settingParams.args.inputRegistrationParams.input_parent.id);var i=function(){y.previewer.send("sek-refresh-level",{location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-refresh-level",id:r.uiParams.id,level:r.uiParams.level,changed_item_id:t,control_id:l.id,is_multi_items:a},skope_id:y.czr_skopeBase.getSkopeProperty("skope_id")})};if(!0===p&&i(),h()){var n=r.settingParams.args.input_value;if(!_.isString(n))throw new Error("::updateAPISettingAndExecutePreviewActions => _doUpdateWithRequestedAction => refreshMarkupWhenNeededForInput => html content is not a string.");s.htmlIncludesElementsThatNeedAnAjaxRefresh(n)?i():y.previewer.send("sek-update-html-in-selector",{selector:c.refresh_markup,changed_item_id:t,is_multi_items:a,html:n,id:r.uiParams.id,location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-update-html-in-selector",id:r.uiParams.id,level:r.uiParams.level},skope_id:y.czr_skopeBase.getSkopeProperty("skope_id")})}if(!0===f){var o=r.settingParams.args.input_value;if(!_.isString(o))throw new Error("::updateAPISettingAndExecutePreviewActions => _doUpdateWithRequestedAction => refresh css with post message => css content is not a string.");y.previewer.send("sek-update-css-with-postmessage",{changed_item_id:t,is_multi_items:a,css_content:o,id:r.uiParams.id,location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-update-css-with-postmessage",id:r.uiParams.id,level:r.uiParams.level},skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),is_current_page_custom_css:"local_custom_css"===g})}!0===m&&y.previewer.refresh()}).fail(function(e){y.errare("::updateAPISettingAndExecutePreviewActions=> api setting not updated",e),y.errare("::updateAPISettingAndExecutePreviewActions=> api setting not updated => params ",r)});if(_.isEmpty(r.options_type))y.errare("updateAPISettingAndExecutePreviewActions => error when updating the global options => missing options_type");else{var e=y(sektionsLocalizedData.optNameForGlobalOptions)(),t=b.extend(!0,{},_.isObject(e)?e:{}),i={};if(_.each(o||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(i[t]=e)}),t[r.options_type]=i,y(sektionsLocalizedData.optNameForGlobalOptions)(t),!1!==m&&y.previewer.refresh(),!0===u){var n=r.settingParams.args.input_value;if(!_.isString(n))return void y.errare("updateAPISettingAndExecutePreviewActions => font-family must be a string",n);s.updateGlobalGFonts(n)}!0===d&&y.previewer.send("sek-refresh-stylesheet",{local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),location_skope_id:sektionsLocalizedData.globalSkopeId})}};if(!0===u){var k=r.settingParams.args.input_value;if(!_.isString(k))return void y.errare("updateAPISettingAndExecutePreviewActions => font-family must be a string",k);!0===r.isGlobalOptions?v():s.updateAPISetting({action:"sek-update-fonts",font_family:k,is_global_location:s.isGlobalLocation(r.uiParams)}).always(function(){v().then(function(){s.updateAPISetting({action:"sek-update-fonts",is_global_location:s.isGlobalLocation(r.uiParams)})})})}else v()}}else y.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.args.moduleRegistrationParams The api main setting can not be updated",r)}else y.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.to. The api main setting can not be updated",r)},updateGlobalGFonts:function(e){var t=y(sektionsLocalizedData.optNameForGlobalOptions)(),i=b.extend(!0,{},_.isObject(t)?t:{}),n=this.sniffGlobalGFonts(i);!_.isEmpty(e)&&_.isString(e)&&-1<e.indexOf("gfont")&&!_.contains(n,e)&&n.push(e),i.fonts=n,y(sektionsLocalizedData.optNameForGlobalOptions)(i)},sniffGlobalGFonts:function(e){var i=[],n=function(e){_.each(e,function(e,t){"fonts"!==t&&(_.isString(t)&&-1<t.indexOf("font_family")&&-1<e.indexOf("gfont")&&!_.contains(i,e)&&i.push(e),(_.isArray(e)||_.isObject(e))&&n(e))})};return(_.isArray(e)||_.isObject(e))&&n(e),i},normalizeAndSanitizeSingleItemInputValues:function(o){var i,r={},n={},s=null,a=this;return _.each(o.item_value,function(e,t){var i,n;"title"!==t&&((o.is_multi_items||"id"!==t)&&(null!==o.parent_module_type&&"id"!==t&&"no_default_value_specified"===(s=a.getInputDefaultValue(t,o.parent_module_type))&&y.infoLog("::normalizeAndSanitizeSingleItemInputValues => missing default value for input "+t+" in module "+o.parent_module_type),i=e,n=s,(_.isBoolean(i)||_.isBoolean(n)?Boolean(i)===Boolean(n):_.isNumber(i)||_.isNumber(n)?Number(i)===Number(n):_.isString(i)||_.isString(n)?i+""==n+"":_.isObject(i)&&_.isObject(n)?_.isEqual(i,n):_.isArray(i)&&_.isArray(n)?JSON.stringify(i.sort())===JSON.stringify(n.sort()):i===n)||(_.isString(e)||_.isObject(e))&&_.isEmpty(e)||(r[t]=e)))}),_.each(r,function(e,t){switch(a.getInputType(t,o.parent_module_type)){case"text":case"textarea":case"check":case"gutencheck":case"select":case"radio":case"number":case"upload":case"upload_url":case"color":case"wp_color_alpha":case"wp_color":case"content_picker":case"detached_tinymce_editor":case"nimble_tinymce_editor":case"password":case"range":case"range_slider":case"hidden":case"h_alignment":case"h_text_alignment":case"spacing":case"bg_position":case"v_alignment":case"font_size":case"line_height":case"font_picker":default:i=e}n[t]=i}),n},isUIControlAlreadyRegistered:function(t){var e=_.filter(this.registered(),function(e){return e.id==t&&"control"===e.what}),i=!1;return _.isEmpty(e)?i=y.control.has(t):(i=!0,1<e.length&&y.errare("isUIControlAlreadyRegistered => why is this control registered more than once ? => "+t)),i},htmlIncludesElementsThatNeedAnAjaxRefresh:function(e){if(!_.isString(e))return!1;var t=(e=e.replace(/\s+/g,"")).match(/\[+([\w_-])+/g),i=e.match(/\{\{+([\w_-])+/g),n=e.match(/<script[\s\S]*?>[\s\S]*?<\/script>/gi),o=[],r=[];if(t)for(var s=0;s<t.length;s++){var a=t[s].replace(/^\[+/g,"");-1===o.indexOf(a)&&o.push(a)}if(i)for(var l=0;l<i.length;l++){var c=i[l].replace(/^\[+/g,"");-1===r.indexOf(c)&&r.push(c)}return!_.isEmpty(o)||!_.isEmpty(r)||!_.isEmpty(n)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(s,a){a.extend(CZRSeksPrototype,{generateUIforDraggableContent:function(r,e){var n=this,i={};a.extend(i,{sek_content_type_switcher_module:{settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+"_sek_content_type_switcher_ui",module_type:"sek_content_type_switcher_module",controlLabel:n.getRegisteredModuleProperty("sek_content_type_switcher_module","name"),priority:10,settingValue:{content_type:r.content_type}},sek_module_picker_module:{settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+"_sek_draggable_modules_ui",module_type:"sek_module_picker_module",controlLabel:n.getRegisteredModuleProperty("sek_module_picker_module","name"),content_type:"module",priority:20,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_my_sections_sec_picker_module:{settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+n.guid()+"_sek_draggable_sections_ui",module_type:"sek_my_sections_sec_picker_module",controlLabel:n.getRegisteredModuleProperty("sek_my_sections_sec_picker_module","name"),content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>',is_new:!0}}),_.each(["sek_intro_sec_picker_module","sek_features_sec_picker_module","sek_about_sec_picker_module","sek_contact_sec_picker_module","sek_team_sec_picker_module","sek_column_layouts_sec_picker_module","sek_header_sec_picker_module","sek_footer_sec_picker_module"],function(e,t){i[e]={settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+n.guid()+"_sek_draggable_sections_ui",module_type:e,controlLabel:n.getRegisteredModuleProperty(e,"name"),content_type:"section",expandAndFocusOnInit:0===t,priority:30,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'}});var t=_.keys(i)[0],o=i[t].settingControlId;return n.isUIControlAlreadyRegistered(o)?s.control(o,function(t){t.focus({completeCallback:function(){var e=t.container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}})}):(_do_register_=function(){_.each(i,function(o,e){s.has(o.settingControlId)||(s(o.settingControlId,function(e){e.bind(function(e,t){s.errare("generateUIforDraggableContent => the setting() should not changed")})}),s.CZR_Helpers.register({origin:"nimble",level:r.level,what:"setting",id:o.settingControlId,dirty:!1,value:o.settingValue||{},transport:"postMessage",type:"_nimble_ui_"})),s.CZR_Helpers.register({origin:"nimble",level:r.level,what:"control",id:o.settingControlId,label:o.controlLabel,type:"czr_module",module_type:o.module_type,section:n.SECTION_ID_FOR_CONTENT_PICKER,priority:o.priority||10,settings:{default:o.settingControlId},track:!1}).done(function(){s.control(o.settingControlId,function(e){e.content_type=o.content_type,!0===r.focus&&e.focus({completeCallback:function(){}});var t=e.container.find("label > .customize-control-title"),i=t.html();if(t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),o.is_new){var n=t.html();t.html(n+' <span class="sek-new-label">New!</span>')}_.isUndefined(o.icon)||t.addClass("sek-flex-vertical-center").prepend(o.icon),"section"===e.content_type?(e.container.attr("data-sek-expanded","false"),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===o.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&e.container.addClass("sek-expand-on-init")):e.container.attr("data-sek-accordion","no")})})}),s.trigger("nimble-modules-and-sections-controls-registered")},s.section(n.SECTION_ID_FOR_CONTENT_PICKER,function(e){_do_register_();var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.prepend('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),0<i.length&&i.find(".sek-level-option-icon").length<1&&i.find(".customize-action").after('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e,{expand_first_control:!1}),e.container.find(".customize-control.sek-expand-on-init").find("label > .customize-control-title").trigger("click")})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,p){p.extend(CZRSeksPrototype,{generateUIforFrontModules:function(r,e){var s=this;_.isEmpty(r.id)&&e.reject("generateUI => missing id");var i=s.getLevelProperty({property:"value",id:r.id}),t=s.getLevelProperty({property:"module_type",id:r.id}),n=s.getRegisteredModuleProperty(t,"name");_.isEmpty(t)&&e.reject("generateUI => module => invalid module_type");var o={};if(!0===s.getRegisteredModuleProperty(t,"is_father")){var a=s.getRegisteredModuleProperty(t,"children");if(_.isEmpty(a))throw new Error("::generateUIforFrontModules => a father module "+t+" is missing children modules ");_.each(a,function(e,t){o[t]={settingControlId:r.id+"__"+t,module_type:e,controlLabel:s.getRegisteredModuleProperty(e,"name")}})}else o.__no_option_group_to_be_updated_by_children_modules__={settingControlId:r.id,module_type:t,controlLabel:n};var l=_.keys(o)[0],c=o[l].settingControlId;return s.isUIControlAlreadyRegistered(c)?d.control(c).focus({completeCallback:function(){var e=d.control(c).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(s.cleanRegisteredAndLargeSelectInput(),_do_register_=function(){_.each(o,function(n,o){if(!d.has(n.settingControlId)){var t=function(e,t,i){try{s.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_markup",uiParams:_.extend(r,{action:"sek-set-module-value"}),options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){d.errare("::generateUIforFrontModules => Error in updateAPISettingAndExecutePreviewActions",e)}};d(n.settingControlId,function(e){e.bind(_.debounce(t,s.SETTING_UPDATE_BUFFER))});var e=p.extend(!0,{},i);"__no_option_group_to_be_updated_by_children_modules__"!==o&&(e=!_.isEmpty(e)&&_.isObject(e)&&_.isObject(e[o])?e[o]:{}),d.CZR_Helpers.register({origin:"nimble",level:r.level,what:"setting",id:n.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}d.CZR_Helpers.register({origin:"nimble",level:r.level,what:"control",module_id:r.id,id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:r.id,priority:20,settings:{default:n.settingControlId}}).done(function(){}),d.control(n.settingControlId,function(e){d.control(n.settingControlId).focus({completeCallback:function(){}}),e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title"),i=p("<div/>").html(t.html()).text();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false")})})},d.section(r.id,function(e){d.section(r.id).focus(),s.generateModuleOptionSwitcherUI(r.id,r.action),_do_register_(),e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".customize-action").after('<i class="fas fa-pencil-alt sek-level-option-icon"></i>'),s.scheduleModuleAccordion.call(e,{expand_first_control:!0})}),d.CZR_Helpers.register({origin:"nimble",what:"section",id:r.id,title:sektionsLocalizedData.i18n["Content for"]+" "+n,panel:sektionsLocalizedData.sektionsPanelId,priority:1e3}).done(function(){})),e},generateModuleOptionSwitcherUI:function(e,t){var i=e+"__option_switcher";d.has(i)||(d(i,function(e){e.bind(function(e,t){d.errare("generateUIforDraggableContent => the setting() should not changed")})}),d.CZR_Helpers.register({origin:"nimble",level:"module",what:"setting",id:i,dirty:!1,value:"",transport:"postMessage",type:"_nimble_ui_"})),d.CZR_Helpers.register({origin:"nimble",level:"module",what:"control",module_id:e,id:i,label:"",type:"czr_module",module_type:"sek_mod_option_switcher_module",section:e,priority:10,settings:{default:i},has_accordion:!1,ui_action:t}).done(function(){d.control(i,function(e){e.deferred.embedded.done(function(){e.container.find(".customize-control-title").hide(),e.container.attr("data-sek-accordion","no")})})})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{generateUIforLevelOptions:function(s,e){var a=this,l=a.getLevelProperty({property:"options",id:s.id});l=_.isObject(l)?l:{};var t={};c.trigger("nb_setup_level_ui_registration_params",{params:s,modulesRegistrationParams:t}),d.extend(t,{bg:{settingControlId:s.id+"__bg_options",module_type:"sek_level_bg_module",controlLabel:sektionsLocalizedData.i18n["Background settings for the"]+" "+sektionsLocalizedData.i18n[s.level],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">gradient</i>'}}),"section"===s.level&&d.extend(t,{level_text:{settingControlId:s.id+"__text_options",module_type:"sek_level_text_module",controlLabel:sektionsLocalizedData.i18n["Text settings for the"]+" "+sektionsLocalizedData.i18n[s.level],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">text_format</i>'}}),d.extend(t,{border:{settingControlId:s.id+"__border_options",module_type:"sek_level_border_module",controlLabel:sektionsLocalizedData.i18n["Borders settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="material-icons sek-level-option-icon">rounded_corner</i>'},spacing:{settingControlId:s.id+"__spacing_options",module_type:"sek_level_spacing_module",controlLabel:sektionsLocalizedData.i18n["Padding and margin settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="material-icons sek-level-option-icon">center_focus_weak</i>'},anchor:{settingControlId:s.id+"__anchor_options",module_type:"sek_level_anchor_module",controlLabel:sektionsLocalizedData.i18n["Custom anchor ( CSS ID ) and CSS classes for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-anchor sek-level-option-icon"></i>'},visibility:{settingControlId:s.id+"__visibility_options",module_type:"sek_level_visibility_module",controlLabel:sektionsLocalizedData.i18n["Device visibility settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="far fa-eye sek-level-option-icon"></i>'},height:{settingControlId:s.id+"__height_options",module_type:"sek_level_height_module",controlLabel:sektionsLocalizedData.i18n["Height, vertical alignment, z-index for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-vertical sek-level-option-icon"></i>'}}),(sektionsLocalizedData.isUpsellEnabled||sektionsLocalizedData.isPro)&&d.extend(t,{animation:{settingControlId:s.id+"__animate_options",module_type:"sek_level_animation_module",controlLabel:sektionsLocalizedData.i18n["Animation settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="material-icons sek-level-option-icon">movie_filter</i>',isPro:!0}}),"section"===s.level&&(d.extend(t,{width:{settingControlId:s.id+"__width_options",module_type:"sek_level_width_section",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),d.extend(t,{breakpoint:{settingControlId:s.id+"__breakpoint_options",module_type:"sek_level_breakpoint_module",controlLabel:sektionsLocalizedData.i18n["Responsive settings : breakpoint, column direction"],icon:'<i class="material-icons sek-level-option-icon">devices</i>'}})),"column"===s.level&&d.extend(t,{width:{settingControlId:s.id+"__width_options",module_type:"sek_level_width_column",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),"module"===s.level&&d.extend(t,{width:{settingControlId:s.id+"__width_options",module_type:"sek_level_width_module",controlLabel:sektionsLocalizedData.i18n["Width and horizontal alignment for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),(sektionsLocalizedData.isUpsellEnabled||sektionsLocalizedData.isPro)&&d.extend(t,{level_cust_css:{settingControlId:s.id+"__level_custom_css",module_type:"sek_level_cust_css_level",controlLabel:sektionsLocalizedData.i18n["Custom CSS"],icon:'<i class="material-icons sek-level-option-icon">code</i>',isPro:!0}});var i=_.keys(t)[0],n=t[i].settingControlId;return a.isUIControlAlreadyRegistered(n)?c.control(n).focus({completeCallback:function(){var e=c.control(n).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(a.cleanRegisteredAndLargeSelectInput(),_do_register_=function(){_.each(t,function(n,o){if(a.isUIControlAlreadyRegistered(n.settingControlId))c.section(c.control(n.settingControlId).section()).expanded(!0);else{if(!c.has(n.settingControlId)){var t=function(e,t,i){try{a.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_stylesheet",uiParams:s,options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("::_do_register_ => Error in updateAPISettingAndExecutePreviewActions",e)}};c(n.settingControlId,function(e){e.bind(_.debounce(t,a.SETTING_UPDATE_BUFFER))});var e=l[o]||{},i=a.getModuleStartingValue(n.module_type);if("no_starting_value"!==i&&_.isObject(i)){var r=d.extend(!0,{},i);e=d.extend(r,e)}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"setting",id:n.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}c.CZR_Helpers.register({origin:"nimble",level:s.level,level_id:s.id,what:"control",id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:s.id,priority:20,settings:{default:n.settingControlId}}).done(function(){}),c.control(n.settingControlId,function(e){!0===n.expandAndFocusOnInit&&e.focus({completeCallback:function(){}}),e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title"),i=t.html();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),n.isPro&&t.append(['<img class="sek-pro-icon-next-title" src="',sektionsLocalizedData.baseUrl,"/assets/czr/sek/img/pro_orange.svg?ver="+sektionsLocalizedData.nimbleVersion,'"/>'].join("")),e.container.attr("data-sek-expanded","false"),!0===n.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})}})},c.section(s.id,function(e){_do_register_(),"module"===s.level&&a.generateModuleOptionSwitcherUI(s.id,s.action),e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.find(".customize-action").after('<i class="fas fa-sliders-h sek-level-option-icon"></i>'),a.scheduleModuleAccordion.call(e,{expand_first_control:!1})}),c.CZR_Helpers.register({origin:"nimble",what:"section",id:s.id,title:sektionsLocalizedData.i18n["Settings for the"]+" "+s.level,panel:sektionsLocalizedData.sektionsPanelId,priority:10}).done(function(){})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{getLocalSkopeOptionId:function(){var e=c.czr_skopeBase.getSkopeProperty("skope_id");return _.isEmpty(e)?(c.errare("czr_sektions::getLocalSkopeOptionId => empty skope_id "),""):sektionsLocalizedData.prefixForSettingsNotSaved+e+"__localSkopeOptions"},generateUIforLocalSkopeOptions:function(s,e){var a=this,i=a.getLocalSkopeOptionId();if(a.isUIControlAlreadyRegistered(i))return e;if(a.localOptionsRegistrationParams={},_.isUndefined(sektionsLocalizedData.localOptionsMap)||!_.isObject(sektionsLocalizedData.localOptionsMap))return c.errare("::generateUIforGlobalOptions => missing or invalid localOptionsMap"),e;!0===s.clean_settings_and_controls_first&&a.cleanRegisteredLocalOptionSettingsAndControls(),_.each(sektionsLocalizedData.localOptionsMap,function(e,t){switch(t){case"template":a.localOptionsRegistrationParams[t]={settingControlId:i+"__template",module_type:e,controlLabel:sektionsLocalizedData.i18n["Page template"],expandAndFocusOnInit:!1,icon:'<i class="material-icons sek-level-option-icon">check_box_outline_blank</i>'};break;case"local_header_footer":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_header_footer",module_type:e,controlLabel:sektionsLocalizedData.i18n["Page header and footer"],icon:'<i class="material-icons sek-level-option-icon">web</i>'};break;case"widths":a.localOptionsRegistrationParams[t]={settingControlId:i+"__widths",module_type:e,controlLabel:sektionsLocalizedData.i18n["Inner and outer widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'};break;case"custom_css":a.localOptionsRegistrationParams[t]={settingControlId:i+"__custom_css",module_type:e,controlLabel:sektionsLocalizedData.i18n["Custom CSS"],icon:'<i class="material-icons sek-level-option-icon">code</i>'};break;case"local_performances":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_performances",module_type:e,controlLabel:sektionsLocalizedData.i18n["Page speed optimizations"],icon:'<i class="material-icons sek-level-option-icon">network_check</i>'};break;case"local_reset":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_reset",module_type:e,controlLabel:sektionsLocalizedData.i18n["Remove all sections and options of this page"],icon:'<i class="material-icons sek-level-option-icon">delete</i>'};break;case"local_revisions":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_revisions",module_type:e,controlLabel:sektionsLocalizedData.i18n["Revision history of local sections"],icon:'<i class="material-icons sek-level-option-icon">history</i>'};break;case"import_export":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_imp_exp",module_type:e,controlLabel:sektionsLocalizedData.i18n["Export / Import"],icon:'<i class="material-icons sek-level-option-icon">import_export</i>'};break;default:c.errare("::generateUIforLocalOptions => an option group could not be registered => "+e,t)}});var t=c(a.localSectionsSettingId())(),l=d.extend(!0,{},_.isObject(t.local_options)?t.local_options:{});return _do_register_=function(){_.each(a.localOptionsRegistrationParams,function(n,o){var e=a.getModuleStartingValue(n.module_type),t=_.isObject(l[o])?l[o]:{};if(!c.has(n.settingControlId)){var i=function(e,t,i){try{a.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_preview",uiParams:s,options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("::generateUIforLocalSkopeOptions => Error in updateAPISettingAndExecutePreviewActions",e)}};if(c(n.settingControlId,function(e){e.bind(_.debounce(i,a.SETTING_UPDATE_BUFFER))}),"no_starting_value"!==e&&_.isObject(e)){var r=d.extend(!0,{},e);t=d.extend(r,t)}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"setting",id:n.settingControlId,dirty:!1,value:t,transport:"postMessage",type:"_nimble_ui_"})}c.control.has(n.settingControlId)||c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"control",id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:a.SECTION_ID_FOR_LOCAL_OPTIONS,priority:10,settings:{default:n.settingControlId},track:!0}).done(function(){c.control(n.settingControlId,function(e){e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title").first(),i=t.html();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===n.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})})},_do_register_(),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,p){p.extend(CZRSeksPrototype,{generateUIforGlobalOptions:function(a,e){var l=this,i=sektionsLocalizedData.prefixForSettingsNotSaved+sektionsLocalizedData.optNameForGlobalOptions;if(l.isUIControlAlreadyRegistered(i))return e;var n={};if(_.isUndefined(sektionsLocalizedData.globalOptionsMap)||!_.isObject(sektionsLocalizedData.globalOptionsMap))return d.errare("::generateUIforGlobalOptions => missing or invalid globalOptionsMap"),e;_.each(sektionsLocalizedData.globalOptionsMap,function(e,t){switch(t){case"site_templates":n[t]={settingControlId:i+"__site_templates",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site templates"],icon:'<i class="material-icons sek-level-option-icon">devices</i>'};break;case"global_header_footer":n[t]={settingControlId:i+"__header_footer",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide header and footer"],icon:'<i class="material-icons sek-level-option-icon">web</i>'};break;case"global_text":n[t]={settingControlId:i+"__global_text",module_type:e,controlLabel:sektionsLocalizedData.i18n["Global text options for Nimble sections"],icon:'<i class="material-icons sek-level-option-icon">text_format</i>'};break;case"widths":n[t]={settingControlId:i+"__widths",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide inner and outer sections widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'};break;case"breakpoint":n[t]={settingControlId:i+"__breakpoint",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide breakpoint for Nimble sections"],expandAndFocusOnInit:!1,icon:'<i class="material-icons sek-level-option-icon">devices</i>'};break;case"performances":n[t]={settingControlId:i+"__performances",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide page speed optimizations"],icon:'<i class="material-icons sek-level-option-icon">network_check</i>'};break;case"recaptcha":n[t]={settingControlId:i+"__recaptcha",module_type:e,controlLabel:sektionsLocalizedData.i18n["Protect your contact forms with Google reCAPTCHA"],icon:'<i class="material-icons sek-level-option-icon">security</i>'};break;case"global_revisions":n[t]={settingControlId:i+"__global_revisions",module_type:e,controlLabel:sektionsLocalizedData.i18n["Revision history of global sections"],icon:'<i class="material-icons sek-level-option-icon">history</i>'};break;case"global_imp_exp":n[t]={settingControlId:i+"__global_imp_exp",module_type:e,controlLabel:sektionsLocalizedData.i18n["Export / Import global sections"],icon:'<i class="material-icons sek-level-option-icon">import_export</i>'};break;case"global_reset":n[t]={settingControlId:i+"__global_reset",module_type:e,controlLabel:sektionsLocalizedData.i18n["Remove the sections displayed in global locations"],icon:'<i class="material-icons sek-level-option-icon">delete</i>'};break;case"beta_features":break;default:d.errare("::generateUIforGlobalOptions => an option group could not be registered => "+e,t)}});var c=sektionsLocalizedData.globalOptionDBValues;return _do_register_=function(){_.each(n,function(n,o){if("site_templates"===o)var r=function(){d.trigger("nimble-update-topbar-skope-status"),d.previewer.trigger("sek-notify",{type:"info",duration:2e4,message:['<span style="">',sektionsLocalizedData.i18n["Refreshed to home page : site templates must be set when previewing home"],"</span>"].join("")}),d.previewer.unbind("czr-new-skopes-synced",r),setTimeout(function(){d._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate=!1},1e3)};if(!d.has(n.settingControlId)){var t=function(e,t,i){try{l.updateAPISettingAndExecutePreviewActions({isGlobalOptions:!0,defaultPreviewAction:"refresh_preview",uiParams:a,options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){d.errare("::generateUIforGlobalOptions => Error in updateAPISettingAndExecutePreviewActions",e)}};d(n.settingControlId,function(e){"site_templates"===o&&e.bind(function(e){d._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate=!0,d.previewer.bind("czr-new-skopes-synced",r),d.previewer.previewUrl(d.settings.url.home),d.trigger("nimble-update-topbar-skope-status")}),e.bind(_.debounce(t,l.SETTING_UPDATE_BUFFER))});var e=l.getModuleStartingValue(n.module_type),i=_.isObject(c)&&!_.isEmpty(c[o])?c[o]:{};if("no_starting_value"!==e&&_.isObject(e)){var s=p.extend(!0,{},e);i=p.extend(s,i)}d.CZR_Helpers.register({origin:"nimble",level:a.level,what:"setting",id:n.settingControlId,dirty:!1,value:i,transport:"postMessage",type:"_nimble_ui_"})}d.CZR_Helpers.register({origin:"nimble",level:a.level,what:"control",id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:l.SECTION_ID_FOR_GLOBAL_OPTIONS,priority:20,settings:{default:n.settingControlId},track:!1}).done(function(){d.control(n.settingControlId,function(e){e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title"),i=t.html();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===n.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click"),"site_templates"===o&&e.container.one("click",".customize-control-title",function(){d._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate=!0,d.previewer.bind("czr-new-skopes-synced",r),d.previewer.previewUrl(d.settings.url.home),d.trigger("nimble-update-topbar-skope-status")})})})})},_do_register_(),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(g,h){h.extend(CZRSeksPrototype,{updateAPISetting:function(p){var u=this;(p=p||{}).is_global_location="global"===p.scope||u.isGlobalLocation(p);var m=p.is_global_location?u.getGlobalSectionsSettingId():u.localSectionsSettingId(),f=g(m)();u.updAPISetParams={params:p,promise:h.Deferred(),newSetValue:_.isObject(f)?h.extend(!0,{},f):u.getDefaultSektionSettingValue(p.is_global_location?"global":"local"),cloneId:"",sectionInjectPromise:"_not_injection_scenario_"};return g(m,function(e){!function(){switch(u.updAPISetParams.newSetValue.collection=_.isArray(u.updAPISetParams.newSetValue.collection)?u.updAPISetParams.newSetValue.collection:u.getDefaultSektionSettingValue(p.is_global_location?"global":"local").collection,p.action){case"sek-maybe-add-missing-locations":var t,i,e=u.activeLocations();h.extend(!0,[],u.updAPISetParams.newSetValue.collection),_.each(e,function(e){t=_.findWhere(u.updAPISetParams.newSetValue.collection,{id:e}),_.isUndefined(t)&&((i=h.extend(!0,{},sektionsLocalizedData.defaultLocationModel)).id=e,g.infoLog("=> need to add missing location to api setting value",i),u.updAPISetParams.newSetValue.collection.push(i))});break;case"sek-add-section":u._updAPISet_sek_add_sektion();break;case"sek-duplicate-section":u._updAPISet_sek_duplicate_sektion();break;case"sek-remove-section":u._updAPISet_sek_remove_sektion();break;case"sek-move-section":u._updAPISet_sek_move_sektion();break;case"sek-move-section-up-down":u._updAPISet_sek_move_sektion_up_down();break;case"sek-add-column":u._updAPISet_sek_add_column();break;case"sek-remove-column":u._updAPISet_sek_remove_column();break;case"sek-duplicate-column":u._updAPISet_sek_duplicate_column();break;case"sek-resize-columns":u._updAPISet_sek_resize_column();break;case"sek-move-column":u._updAPISet_sek_move_column();break;case"sek-add-module":u._updAPISet_sek_add_module();break;case"sek-duplicate-module":u._updAPISet_sek_duplicate_module();break;case"sek-remove-module":u._updAPISet_sek_remove_module();break;case"sek-move-module":u._updAPISet_sek_move_module();break;case"sek-set-module-value":u._updAPISet_sek_set_module_value();break;case"sek-add-content-in-new-sektion":u._updAPISet_sek_add_content_in_new_sektion();break;case"sek-add-preset-section-in-new-nested-sektion":u._updAPISet_sek_add_preset_sektion_in_new_nested_sektion();break;case"sek-import-from-file":u._updAPISet_sek_import_from_file();break;case"sek-inject-tmpl-from-gallery":u._updAPISet_sek_inject_tmpl_from_gallery();break;case"sek-generate-level-options-ui":var n=u.getLevelModel(p.id,u.updAPISetParams.newSetValue.collection),o={};if("no_match"===n){g.errare("updateAPISetting => "+p.action+" => no parent sektion matched"),u.updAPISetParams.promise.reject("updateAPISetting => "+p.action+" => no parent sektion matched");break}var r=h.extend(!0,{},n.options||{});_.each(p.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(o[t]=e)}),_.isEmpty(p.options_type)&&g.errare("updateAPISetting => "+p.action+" => missing options_type"),r[p.options_type]=o,n.options=r;break;case"sek-generate-local-skope-options-ui":o={};var s=h.extend(!0,{},_.isObject(u.updAPISetParams.newSetValue.local_options)?u.updAPISetParams.newSetValue.local_options:{});if(_.each(p.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(o[t]=e)}),_.isEmpty(p.options_type)||!_.isString(p.options_type))g.errare("updateAPISetting => "+p.action+" => missing options_type");else{var a={};a[p.options_type]=o,u.updAPISetParams.newSetValue.local_options=h.extend(s,a)}break;case"sek-update-fonts":var l=u.sniffGFonts({is_global_location:p&&!0===p.is_global_location});!_.isEmpty(p.font_family)&&_.isString(p.font_family)&&-1<p.font_family.indexOf("gfont")&&!_.contains(l,p.font_family)&&l.push(p.font_family),u.updAPISetParams.newSetValue.fonts=l;break;case"sek-restore-revision":u.updAPISetParams.newSetValue=p.revision_value;break;case"sek-reset-collection":var c;"local"===p.scope&&(c=h.extend(!0,{},_.isObject(u.updAPISetParams.newSetValue.local_options)?u.updAPISetParams.newSetValue.local_options:{}));try{u.updAPISetParams.newSetValue=g.czr_sektions.resetCollectionSetting(p.scope,c)}catch(e){g.errare("sek-reset-collection => error when firing resetCollectionSetting()",e)}}if("pending"==u.updAPISetParams.promise.state()){var d=function(){var e=p.settingParams&&p.settingParams.from&&p.settingParams.to;if(e&&_.isEqual(p.settingParams.from,p.settingParams.to))u.updAPISetParams.promise.reject("updateAPISetting => main sektion setting change => the new setting value is unchanged when firing action : "+p.action);else if(!e&&_.isEqual(f,u.updAPISetParams.newSetValue))u.updAPISetParams.promise.reject("updateAPISetting => the new setting value is unchanged when firing action : "+p.action);else if(null!==u.validateSettingValue(u.updAPISetParams.newSetValue,p.is_global_location?"global":"local")){if(!p.is_global_location){var t=!0,i=u.updAPISetParams.newSetValue;i.local_options&&i.local_options.local_reset&&!_.isUndefined(i.local_options.local_reset.inherit_group_scope)&&(t=i.local_options.local_reset.inherit_group_scope),u.updAPISetParams.newSetValue.__inherits_group_skope_tmpl_when_exists__="sek-reset-collection"===p.action&&t}g(m)(u.updAPISetParams.newSetValue,p),p.is_global_location||g.trigger("nimble-update-topbar-skope-status"),p.cloneId=u.updAPISetParams.cloneId,u.updAPISetParams.promise.resolve(p)}else u.updAPISetParams.promise.reject("Validation problem for action "+p.action)};"_not_injection_scenario_"===u.updAPISetParams.sectionInjectPromise?(d(),"pending"===u.updAPISetParams.promise.state()&&g.errare("::updateAPISetting => The self.updAPISetParams.promise has not been resolved properly.")):u.updAPISetParams.sectionInjectPromise.done(function(){d(),"pending"===u.updAPISetParams.promise.state()&&g.errare("::updateAPISetting => The self.updAPISetParams.promise has not been resolved properly.")}).fail(function(e){g.errare("updateAPISetting => self.updAPISetParams.sectionInjectPromise failed",e)})}}()}),u.updAPISetParams.promise.promise()},resetColumnsWidthInSection:function(e){_.each(e.collection,function(e){e.options&&e.options.width&&e.options.width["custom-width"]&&(e.options.width=_.omit(e.options.width,"custom-width")),e.width=""})},_getApiSingleSectionData:function(t){var e,i=h.Deferred();return _.isEmpty(g.nimble_ApiSections[t])?(_.isUndefined(g.nimble_fetchingApiSection)||"pending"!=g.nimble_fetchingApiSection.state()?(e=wp.ajax.post("sek_get_single_api_section_data",{nonce:g.settings.nonce.save,api_section_id:t}),g.nimble_fetchingApiSection=e):e=g.nimble_fetchingApiSection,e.done(function(e){g.nimble_ApiSections[t]=e,i.resolve(e)}).fail(function(e){g.errorLog("ajax sek_get_single_api_section_data => error",e);var t="Error when fetching the section";_.isString(e)&&!_.isEmpty(e)&&(t=e),g.previewer.trigger("sek-notify",{type:"error",duration:6e4,is_pro_notif:!0,notif_id:"pro_section_error",message:['<span style="font-size:0.95em">',"<strong>"+t+"</strong>","</span>"].join("")})})):i.resolve(g.nimble_ApiSections[t]),i.promise()},getPresetSectionCollectionData:function(i){var n=this,o=h.Deferred();if(i.is_user_section)wp.ajax.post("sek_get_user_section_json",{nonce:g.settings.nonce.save,section_post_name:i.presetSectionId}).done(function(e){if(!_.isObject(e)||_.isEmpty(e)||_.isUndefined(e.data))throw g.errare("getPresetSectionCollectionData => preset section type not found or empty : "+i.presetSectionId,e),new Error("getPresetSectionCollectionData => preset section type not found or empty");var t=h.extend({},!0,e.data);t.id=sektionsLocalizedData.prefixForSettingsNotSaved+n.guid(),t.collection=n.setPresetOrUserSectionIds(t.collection),t.ver_ini=sektionsLocalizedData.nimbleVersion,t.collection=n.setPresetSectionVersion(t.collection),o.resolve(t)}).fail(function(e){o.reject(e)});else{g.nimble_ApiSections=g.nimble_ApiSections||{};var e=function(e){if(_.isEmpty(e)||!_.isObject(e))throw new Error("getPresetSectionCollectionData => Invalid collection");var t=h.extend(!0,{},e);t.collection=n.setPresetOrUserSectionIds(t.collection),t.ver_ini=sektionsLocalizedData.nimbleVersion,t.collection=n.setPresetSectionVersion(t.collection),o.resolve(t)};switch(i.presetSectionId){case"two_columns":e(JSON.parse('{"collection":[{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]}]}'));break;case"three_columns":e(JSON.parse('{"collection":[{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]}]}'));break;case"four_columns":e(JSON.parse('{"collection":[{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]}]}'));break;default:n._getApiSingleSectionData(i.presetSectionId).fail(function(e){o.reject(e)}).done(e)}}return o.promise()},setPresetOrUserSectionIds:function(e){var t=this;return _.isArray(e)&&_.each(e,function(e){e.id=sektionsLocalizedData.prefixForSettingsNotSaved+t.guid(),_.isArray(e.collection)&&t.setPresetOrUserSectionIds(e.collection)}),e},setPresetSectionVersion:function(e){var t=this;return _.each(e,function(e){e.ver_ini=sektionsLocalizedData.nimbleVersion,_.isArray(e.collection)&&t.setPresetSectionVersion(e.collection)}),e},preparePresetSectionForInjection:function(o){var i=this,n={},r=h.Deferred();i.maybeGenerateNewItemIdsForCrudModules(o);var s=function(e){return _.each(e,function(e,t){_.isObject(e)||_.isArray(e)?s(e):_.isString(e)&&-1!=e.indexOf("__img_url__")&&(_.has(n,e)||(n[e]=i.importAttachment(e.replace("__img_url__",""))))}),n},a=function(i,n){return _.each(i,function(e,t){_.isObject(e)||_.isArray(e)?a(e,n):_.isString(e)&&-1!=e.indexOf("__img_url__")&&_.has(n,e)&&_.isObject(n[e])&&(i[t]=n[e].id)}),o};return i.whenAllPromisesInParallel(s(o)).done(function(e){var t=a(o,e);r.resolve(t)}).fail(function(e){r.reject(e)}),r.promise()}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(y,b){b.extend(CZRSeksPrototype,{_updAPISet_sek_add_sektion:function(){var i,e,t,n,o=this;if(i=o.updAPISetParams.params,_.isEmpty(i.id))throw new Error("updateAPISetting => "+i.action+" => missing id");if(_.isEmpty(i.location))throw new Error("updateAPISetting => "+i.action+" => missing location");if(!0===i.is_nested)e=o.getLevelModel(i.in_column,o.updAPISetParams.newSetValue.collection),"no_match"==(t=o.getLevelModel(i.in_sektion,o.updAPISetParams.newSetValue.collection))?o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no grand parent sektion found"):!0===t.is_nested?(o.updAPISetParams.promise.reject(""),y.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]+"</strong>","</span>"].join("")})):"no_match"==e?(y.errare("updateAPISetting => "+i.action+" => no parent column matched"),o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no parent column matched")):(e.collection=_.isArray(e.collection)?e.collection:[],e.collection.push({id:i.id,level:"section",collection:[{id:sektionsLocalizedData.prefixForSettingsNotSaved+o.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion}));else if("no_match"==(n=o.getLevelModel(i.location,o.updAPISetParams.newSetValue.collection)))y.errare("updateAPISetting => "+i.action+" => no location matched"),o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no location matched");else{var r=0;n.collection=_.isArray(n.collection)?n.collection:[],_.each(n.collection,function(e,t){i.before_section===e.id&&(r=t),i.after_section===e.id&&(r=t+1)}),n.collection=_.isArray(n.collection)?n.collection:[],n.collection.splice(r,0,{id:i.id,level:"section",collection:[{id:sektionsLocalizedData.prefixForSettingsNotSaved+o.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion})}},_updAPISet_sek_duplicate_sektion:function(){var t,e,i,n,o=this;if(t=o.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");if(_.isEmpty(t.location))throw new Error("updateAPISetting => "+t.action+" => missing location");try{n=o.cloneLevel(t.id)}catch(e){return void y.errare("updateAPISetting => "+t.action,e)}o.maybeGenerateNewItemIdsForCrudModules(n);var r=o.getLevelPositionInCollection(t.id,o.updAPISetParams.newSetValue.collection);if(!0===t.is_nested){if("no_match"==(e=o.getLevelModel(t.in_column,o.updAPISetParams.newSetValue.collection)))return y.errare("updateAPISetting => "+t.action+" => no parent column matched"),void o.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no parent column matched");e.collection=_.isArray(e.collection)?e.collection:[],e.collection.splice(parseInt(r+1,10),0,n)}else{if("no_match"==(i=o.getLevelModel(t.location,o.updAPISetParams.newSetValue.collection)))return y.errare("updateAPISetting => "+t.action+" => no location matched"),void o.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no location matched");i.collection=_.isArray(i.collection)?i.collection:[],i.collection.splice(parseInt(r+1,10),0,n)}o.updAPISetParams.cloneId=n.id},_updAPISet_sek_remove_sektion:function(){var t,e,i,n=this;if(!0===(t=n.updAPISetParams.params).is_nested)"no_match"!=(e=n.getLevelModel(t.in_column,n.updAPISetParams.newSetValue.collection))?(e.collection=_.isArray(e.collection)?e.collection:[],e.collection=_.filter(e.collection,function(e){return e.id!=t.id})):y.errare("updateAPISetting => "+t.action+" => no parent column matched");else{if("no_match"==(i=n.getLevelModel(t.location,n.updAPISetParams.newSetValue.collection)))return y.errare("updateAPISetting => "+t.action+" => no location matched"),void n.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no location matched");i.collection=_.filter(i.collection,function(e){return e.id!=t.id})}},_updAPISet_sek_move_sektion:function(){var t,i,n,o=this;t=o.updAPISetParams.params;var e,r,s=o.getLevelModel(t.to_location,o.updAPISetParams.newSetValue.collection);if(_.isEmpty(s)||"no_match"==s)throw new Error("updateAPISetting => "+t.action+" => missing target location");if(t.from_location!=t.to_location){var a=o.getLevelModel(t.from_location,o.updAPISetParams.newSetValue.collection);if(_.isEmpty(a)||"no_match"==a)throw new Error("updateAPISetting => "+t.action+" => missing source location");a.collection=_.isArray(a.collection)?a.collection:[],e=o.getLevelModel(t.id,a.collection),r=b.extend(!0,{},e),a.collection=_.filter(a.collection,function(e){return e.id!=t.id})}s.collection=_.isArray(s.collection)?s.collection:[],i=b.extend(!0,[],s.collection),n=[],_.each(t.newOrder,function(e){if(t.from_location!=t.to_location&&e==r.id)n.push(r);else{if(sektionCandidate=o.getLevelModel(e,i),_.isEmpty(sektionCandidate)||"no_match"==sektionCandidate)throw new Error("updateAPISetting => "+t.action+" => missing section candidate");n.push(sektionCandidate)}}),s.collection=n},_updAPISet_sek_move_sektion_up_down:function(){var t,e,i,n,o=this;if(t=o.updAPISetParams.params,e=o.getLevelModel(t.is_nested?t.in_column:t.location,o.updAPISetParams.newSetValue.collection),_.isEmpty(e)||"no_match"==e)throw new Error("updateAPISetting => "+t.action+" => missing target location");e.collection=_.isArray(e.collection)?e.collection:[],i=b.extend(!0,[],e.collection),n=b.extend(!0,[],e.collection);var r=_.findIndex(i,function(e){return e.id===t.id});if(-1===r)throw new Error("updateAPISetting => "+t.action+" => invalid index");var s,a,l=t.direction||"up",c=i.length===r+1,d=0===r,p=o.activeLocationsInfo(),u=_.isArray(p)?_.findWhere(p,{id:t.location}):{};s=_.isObject(u)&&u.is_global,a=_.isObject(u)&&u.is_header_footer;var m=[];_.isArray(p)&&_.each(o.activeLocationsInfo(),function(e){e.is_global||e.is_header_footer||m.push(e.id)});var f,g=_.findIndex(m,function(e){return e===t.location}),h=!t.is_nested&&!s&&!a,v=0===g,k=m.length===g+1;h&&c&&"up"!==l&&!k?(f=m[g+1],o.getLevelModel(f,o.updAPISetParams.newSetValue.collection).collection.unshift(i[r]),e.collection.pop(),t.new_location=f):h&&d&&"up"===l&&!v?(f=m[g-1],o.getLevelModel(f,o.updAPISetParams.newSetValue.collection).collection.push(i[r]),e.collection.shift(),t.new_location=f):"up"!==l&&i.length===r+1?y.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["The section cannot be moved lower."]+"</strong>","</span>"].join("")}):"up"===l&&0===r?y.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["The section cannot be moved higher."]+"</strong>","</span>"].join("")}):(n[r]=i["up"===l?r-1:r+1],n["up"===l?r-1:r+1]=i[r],e.collection=n)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,t){t.extend(CZRSeksPrototype,{_updAPISet_sek_add_content_in_new_sektion:function(){var r,s,a,l=this;r=l.updAPISetParams.params;var e,i=0;if("no_match"==(a=l.getLevelModel(r.location,l.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+r.action+" => no location matched"),void l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => no location matched");switch(a.collection=_.isArray(a.collection)?a.collection:[],_.each(a.collection,function(e,t){r.before_section===e.id&&(i=t),r.after_section===e.id&&(i=t+1)}),r.content_type){case"module":e=l.getModuleStartingValue(r.content_id),a.collection.splice(i,0,{id:r.id,level:"section",collection:[{id:sektionsLocalizedData.prefixForSettingsNotSaved+l.guid(),level:"column",collection:[{id:r.droppedModuleId,level:"module",module_type:r.content_id,value:"no_starting_value"!==e?e:null,ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion});break;case"preset_section":l.updAPISetParams.sectionInjectPromise=t.Deferred();var n=function(e,i){var t=!1;if(!_.isEmpty(r.sektion_to_replace)){var n=l.getLevelModel(r.sektion_to_replace,l.updAPISetParams.newSetValue.collection);"no_match"===n&&(c.errare("updateAPISetting => "+r.action+" => no sektionToReplace matched"),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => no sektionToReplace matched")),t=!0===n.is_nested}var o=sektionsLocalizedData.prefixForSettingsNotSaved+l.guid();r.collection_of_preset_section_id=r.collection_of_preset_section_id||[],r.collection_of_preset_section_id.push(o),t?("no_match"===(s=l.getLevelModel(r.in_column,l.updAPISetParams.newSetValue.collection))&&(c.errare("updateAPISetting => "+r.action+" => no parent column matched"),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => no parent column matched")),s.collection=_.isArray(s.collection)?s.collection:[],_.each(s.collection,function(e,t){r.before_section===e.id&&(i=t),r.after_section===e.id&&(i=t+1)}),s.collection.splice(i,0,{id:o,is_nested:!0,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion})):a.collection.splice(i,0,{id:o,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion})};l.getPresetSectionCollectionData({is_user_section:r.is_user_section,presetSectionId:r.content_id}).fail(function(e){c.errare("updateAPISetting => "+r.action+" => Error with self.getPresetSectionCollectionData()",e),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => Error with self.getPresetSectionCollectionData()")}).done(function(e){var t;_.isObject(e)&&!_.isEmpty(e)||(c.errare("updateAPISetting => "+r.action+" => preset section type not found or empty : "+r.content_id,e),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => preset section type not found or empty")),t=e,l.preparePresetSectionForInjection(t).fail(function(e){l.updAPISetParams.promise.reject("updateAPISetting => error when preparePresetSectionForInjection => "+r.action+" => "+e),l.updAPISetParams.sectionInjectPromise.reject(e)}).done(function(e){"section"===e.collection[0].level?_.each(e.collection,function(e){n(e,i),i++}):n(e,i),l.updAPISetParams.sectionInjectPromise.resolve()})})}},_updAPISet_sek_add_preset_sektion_in_new_nested_sektion:function(){var n,o,e,r=this;if(n=r.updAPISetParams.params,"no_match"===(o=r.getLevelModel(n.in_column,r.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+n.action+" => no parent column matched"),void r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => no parent column matched");var i=0;if(o.collection=_.isArray(o.collection)?o.collection:[],_.each(o.collection,function(e,t){n.before_module_or_nested_section===e.id&&(i=t),n.after_module_or_nested_section===e.id&&(i=t+1)}),"no_match"!=(e=r.getLevelModel(n.in_sektion,r.updAPISetParams.newSetValue.collection))){if(!0===e.is_nested)return r.updAPISetParams.promise.reject(""),void c.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]+"</strong>","</span>"].join("")});r.updAPISetParams.sectionInjectPromise=t.Deferred();r.getPresetSectionCollectionData({is_user_section:n.is_user_section,presetSectionId:n.content_id}).fail(function(){c.errare("updateAPISetting => "+n.action+" => Error with self.getPresetSectionCollectionData()",_er_),r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => Error with self.getPresetSectionCollectionData()")}).done(function(e){var t;_.isObject(e)&&!_.isEmpty(e)||(c.errare("updateAPISetting => "+n.action+" => preset section type not found or empty : "+n.content_id,e),r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => preset section type not found or empty")),t=e,r.preparePresetSectionForInjection(t).fail(function(e){r.updAPISetParams.promise.reject("updateAPISetting => error when preparePresetSectionForInjection => "+n.action+" => "+e),r.updAPISetParams.sectionInjectPromise.reject(e)}).done(function(e){var t=function(e,t){t=t||0;var i=sektionsLocalizedData.prefixForSettingsNotSaved+r.guid();n.collection_of_preset_section_id=n.collection_of_preset_section_id||[],n.collection_of_preset_section_id.push(i),o.collection.splice(t,0,{id:i,level:"section",collection:e.collection,options:e.options||{},is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion})};"section"===e.collection[0].level?_.each(e.collection,function(e){t(e,i),i++}):t(e,i),r.updAPISetParams.sectionInjectPromise.resolve()})})}else r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => no grand parent sektion found")}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{_updAPISet_sek_add_column:function(){var e,t,i=this;if(e=i.updAPISetParams.params,_.isEmpty(e.id))throw new Error("updateAPISetting => "+e.action+" => missing id");if("no_match"==(t=i.getLevelModel(e.in_sektion,i.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+e.action+" => no parent sektion matched"),void i.updAPISetParams.promise.reject("updateAPISetting => "+e.action+" => no parent sektion matched");t.collection=_.isArray(t.collection)?t.collection:[],i.MAX_NUMBER_OF_COLUMNS-1<_.size(t.collection)?i.updAPISetParams.promise.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]):(i.resetColumnsWidthInSection(t),t.collection.push({id:e.id,level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}))},_updAPISet_sek_remove_column:function(){var t,e,i=this;if(t=i.updAPISetParams.params,"no_match"!=(e=i.getLevelModel(t.in_sektion,i.updAPISetParams.newSetValue.collection))){if(1===_.size(e.collection))return void i.updAPISetParams.promise.reject(sektionsLocalizedData.i18n["A section must have at least one column."]);e.collection=_.isArray(e.collection)?e.collection:[],e.collection=_.filter(e.collection,function(e){return e.id!=t.id}),i.resetColumnsWidthInSection(e)}else c.errare("updateAPISetting => "+t.action+" => no parent sektion matched")},_updAPISet_sek_duplicate_column:function(){var t,e,i=this;if(t=i.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");if("no_match"==(e=i.getLevelModel(t.in_sektion,i.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+t.action+" => no parent sektion matched"),void i.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no parent sektion matched");if(e.collection=_.isArray(e.collection)?e.collection:[],i.MAX_NUMBER_OF_COLUMNS-1<_.size(e.collection))i.updAPISetParams.promise.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]);else{var n;try{n=i.cloneLevel(t.id)}catch(e){return void c.errare("updateAPISetting => "+t.action,e)}i.maybeGenerateNewItemIdsForCrudModules(n);var o=i.getLevelPositionInCollection(t.id,i.updAPISetParams.newSetValue.collection);i.updAPISetParams.cloneId=n.id,e.collection.splice(parseInt(o+1,10),0,n),i.resetColumnsWidthInSection(e)}},_updAPISet_sek_resize_column:function(){var o,n=this;if(!((o=n.updAPISetParams.params).col_number<2)){var t=n.getLevelModel(o.resized_column,n.updAPISetParams.newSetValue.collection),i=n.getLevelModel(o.sister_column,n.updAPISetParams.newSetValue.collection);if("no_match"==t)return c.errare("updateAPISetting => "+o.action+" => no resized column matched"),void n.updAPISetParams.promise.reject("updateAPISetting => "+o.action+" => no resized column matched");var r=function(e,t){var i=d.extend(!0,{},e.options||{});return i.width=_.isObject(i.width)&&i.width["custom-width"]?i.width:{},i.width["custom-width"]=t,e.options=i,n.cachedElements.$body.find('[data-sek-width-range-column-id="'+e.id+'"]').val(t).trigger("input",{is_resize_column_trigger:!0}),t},e=r(t,parseFloat(o.resizedColumnWidthInPercent));e=parseFloat(e);var s=n.getLevelModel(o.in_sektion,n.updAPISetParams.newSetValue.collection),a=_.filter(s.collection,function(e){return e.id!=t.id&&e.id!=i.id}),l=parseFloat(e.toFixed(3));_.isEmpty(a)||_.each(a,function(e){var t,i,n;currentColWidth=(t=e,i="_not_set_",n=_.isObject(t.options)?t.options:{},!_.isEmpty(n)&&n.width&&n.width["custom-width"]&&(i=parseFloat(1*n.width["custom-width"])),i),("_not_set_"===currentColWidth||!_.isNumber(1*currentColWidth)||_.isEmpty(currentColWidth+"")||currentColWidth<1)&&(currentColWidth=r(e,parseFloat((100/o.col_number).toFixed(3)))),l=parseFloat((l+currentColWidth).toFixed(3))}),r(i,parseFloat((100-l).toFixed(3)))}},_updAPISet_sek_move_column:function(){var t,i=this;t=i.updAPISetParams.params;var e,n,o=i.getLevelModel(t.to_sektion,i.updAPISetParams.newSetValue.collection);if(_.isEmpty(o)||"no_match"==o)throw new Error("updateAPISetting => "+t.action+" => missing target sektion");if(t.from_sektion!=t.to_sektion){var r=i.getLevelModel(t.from_sektion,i.updAPISetParams.newSetValue.collection);if(_.isEmpty(r)||"no_match"==r)throw new Error("updateAPISetting => "+t.action+" => missing source column");r.collection=_.isArray(r.collection)?r.collection:[],e=i.getLevelModel(t.id,r.collection),n=d.extend(!0,{},e),r.collection=_.filter(r.collection,function(e){return e.id!=t.id}),i.resetColumnsWidthInSection(r)}o.collection=_.isArray(o.collection)?o.collection:[],originalCollection=d.extend(!0,[],o.collection),reorderedCollection=[],_.each(t.newOrder,function(e){if(t.from_sektion!=t.to_sektion&&e==n.id)reorderedCollection.push(n);else{if(columnCandidate=i.getLevelModel(e,originalCollection),_.isEmpty(columnCandidate)||"no_match"==columnCandidate)throw new Error("updateAPISetting => moveColumn => missing columnCandidate");reorderedCollection.push(columnCandidate)}}),o.collection=reorderedCollection,i.resetColumnsWidthInSection(o)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,c){c.extend(CZRSeksPrototype,{_updAPISet_sek_add_module:function(){var i,e,t,n,o=this;if(i=o.updAPISetParams.params,_.isEmpty(i.id))throw new Error("updateAPISetting => "+i.action+" => missing id");if(_.isEmpty(i.module_type))throw new Error("updateAPISetting => "+i.action+" => missing module_type");if("no_match"===(e=o.getLevelModel(i.in_column,o.updAPISetParams.newSetValue.collection)))return l.errare("updateAPISetting => "+i.action+" => no parent column matched"),void o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no parent column matched");n=0,e.collection=_.isArray(e.collection)?e.collection:[],_.each(e.collection,function(e,t){i.before_module_or_nested_section===e.id&&(n=t),i.after_module_or_nested_section===e.id&&(n=t+1)});var r={id:i.id,level:"module",module_type:i.module_type,ver_ini:sektionsLocalizedData.nimbleVersion};"no_starting_value"!==(t=o.getModuleStartingValue(i.module_type))&&(r.value=t),e.collection.splice(n,0,r)},_updAPISet_sek_duplicate_module:function(){var t,e,i,n=this;if(t=n.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");if("no_match"==(e=n.getLevelModel(t.in_column,n.updAPISetParams.newSetValue.collection)))return l.errare("updateAPISetting => "+t.action+" => no parent column matched"),void n.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no parent column matched");e.collection=_.isArray(e.collection)?e.collection:[];try{i=n.cloneLevel(t.id)}catch(e){return l.errare("updateAPISetting => "+t.action,e),void n.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => error when cloning the level")}n.maybeGenerateNewItemIdsForCrudModules(i);var o=n.getLevelPositionInCollection(t.id,n.updAPISetParams.newSetValue.collection);n.updAPISetParams.cloneId=i.id,e.collection.splice(parseInt(o+1,10),0,i)},_updAPISet_sek_remove_module:function(){var t,e;if(t=this.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");"no_match"!=(e=this.getLevelModel(t.in_column,this.updAPISetParams.newSetValue.collection))?(e.collection=_.isArray(e.collection)?e.collection:[],e.collection=_.filter(e.collection,function(e){return e.id!=t.id})):l.errare("updateAPISetting => "+t.action+" => no parent column matched")},_updAPISet_sek_move_module:function(){var t,e,i,n,o=this;if(t=o.updAPISetParams.params,e=o.getLevelModel(t.to_column,o.updAPISetParams.newSetValue.collection),_.isEmpty(e)||"no_match"==e)throw new Error("updateAPISetting => "+t.action+" => missing target column");if(t.from_column!=t.to_column){var r;if(r=o.getLevelModel(t.from_column,o.updAPISetParams.newSetValue.collection),_.isEmpty(r)||"no_match"==r)throw new Error("updateAPISetting => "+t.action+" => missing source column");r.collection=_.isArray(r.collection)?r.collection:[],i=o.getLevelModel(t.id,o.updAPISetParams.newSetValue.collection),n=c.extend(!0,{},i),r.collection=_.filter(r.collection,function(e){return e.id!=t.id})}e.collection=_.isArray(e.collection)?e.collection:[],originalCollection=c.extend(!0,[],e.collection);var s=[];if(_.each(t.newOrder,function(e){if(t.from_column!=t.to_column&&e==n.id)s.push(n);else{if(moduleCandidate=o.getLevelModel(e,o.updAPISetParams.newSetValue.collection),_.isEmpty(moduleCandidate)||"no_match"==moduleCandidate)throw new Error("updateAPISetting => "+t.action+" => missing moduleCandidate");s.push(moduleCandidate)}}),s.length!=_.uniq(s).length)throw new Error("updateAPISetting => "+t.action+" => there are duplicated modules in column : "+e.id);e.collection=s},_updAPISet_sek_set_module_value:function(){var e,t,i=this;e=i.updAPISetParams.params,t=i.getLevelModel(e.id,i.updAPISetParams.newSetValue.collection);var n=e.settingParams.args.moduleRegistrationParams.control,o=e.settingParams.args.moduleRegistrationParams.id,r=n.czr_Module(o);_.isEmpty(r)?l.errare("updateAPISetting => missing parentModuleInstance",e):isMultiItemModule=r.isMultiItem();var s=isMultiItemModule?[]:{};if(_.each(e.value||(isMultiItemModule?[]:{}),function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(s[t]=e)}),"no_match"==t)return l.errare("updateAPISetting => "+e.action+" => no module matched",e),void i.updAPISetParams.promise.reject("updateAPISetting => "+e.action+" => error no module matched");if(_.isEmpty(e.options_type))return l.errare("updateAPISetting => "+e.action+" => missing options_type"),void i.updAPISetParams.promise.reject("updateAPISetting => "+e.action+" => missing options_type");if("__no_option_group_to_be_updated_by_children_modules__"===e.options_type)t.value=s;else{var a=c.extend(!0,{},_.isEmpty(t.value)?{}:t.value);a[e.options_type]=s,t.value=a}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(m,f){f.extend(CZRSeksPrototype,{_updAPISet_sek_import_from_file:function(){var n,o=this;if(n=o.updAPISetParams.params,_.isUndefined(n.imported_content.data)||_.isUndefined(n.imported_content.metas))m.errare("updateAPISetting::sek-import-from-file => invalid imported content",imported_content);else{var i=_.isArray(n.imported_content.data.collection)?f.extend(!0,[],n.imported_content.data.collection):[];if(!0===n.assign_missing_locations){var t,e=n.imported_content.metas.active_locations,r=m.czr_sektions.activeLocations();_.each(r,function(e){o.isHeaderLocation(e)||o.isFooterLocation(e)||t.push(e)});var s=_.first(t);if(!_.isEmpty(s)&&!_.isEmpty(e)&&_.isArray(e)){var a=f(e).not(t).get(),l=o.getLevelModel(s,o.updAPISetParams.newSetValue.collection),c=o.getLevelModel(s,n.imported_content.data.collection),d=[];l.collection=_.isArray(l.collection)?l.collection:[],c.collection=_.isArray(c.collection)?c.collection:[],_.each(e,function(e){var t=o.getLevelModel(e,i);_.isEmpty(t.collection)||(d=_.union(d,t.collection))}),c.collection=d,n.imported_content.data.collection=_.filter(n.imported_content.data.collection,function(e){return!_.contains(a,e.id)})}}if(!0===n.keep_existing_sections){_.each(i,function(e){var t=o.getLevelModel(e.id,o.updAPISetParams.newSetValue.collection);if(!_.isEmpty(t.collection)){var i=o.getLevelModel(e.id,n.imported_content.data.collection);i.collection=_.union(t.collection,i.collection)}});var p=o.updAPISetParams.newSetValue.fonts,u=n.imported_content.data.fonts;p&&!_.isEmpty(p)&&_.isArray(p)&&(u=_.isArray(u)?u:[],n.imported_content.data.fonts=_.uniq(_.union(p,u)))}o.updAPISetParams.newSetValue=n.imported_content.data}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(I,w){w.extend(CZRSeksPrototype,{_updAPISet_sek_inject_tmpl_from_gallery:function(){var t,i=this;if(t=i.updAPISetParams.params,_.isUndefined(t.injected_content.data)||_.isUndefined(t.injected_content.metas))I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => invalid imported content",injected_content);else{var n=function(e){return t.injected_content&&t.injected_content.metas&&e===t.injected_content.metas.tmpl_header_location},o=function(e){return t.injected_content&&t.injected_content.metas&&e===t.injected_content.metas.tmpl_footer_location},r=function(){var t=!1;return _.each(e,function(e){t||(n(e)||o(e))&&(t="no_match"!=(t=i.getLevelModel(e,s)))}),t&&!_.isEmpty(c.local_header_footer)},s=_.isArray(t.injected_content.data.collection)?w.extend(!0,[],t.injected_content.data.collection):[],e=t.injected_content.metas.tmpl_locations,a=[],l=i.updAPISetParams.newSetValue.collection;if(_.each(I.czr_sektions.activeLocations(),function(e){i.isGlobalLocationId(e)||a.push(e)}),_.isArray(e)&&!_.isEmpty(e)){var c=t.injected_content.data.local_options;c=w.extend(!0,{},_.isObject(c)?c:{});var d=t.injected_content.data.fonts;d=_.isArray(d)?w.extend(!0,[],d):[];var p,u,m,f,g=w.extend(!0,[],l),h=[],v="__not_set__";switch(_.each(s,function(e){n(e.id)||o(e.id)||_.isEmpty(e.collection)||(h=_.union(h,e.collection))}),t.tmpl_inject_mode){case"replace":if(f=!0,_.each(e,function(e){f&&(f=_.contains(a,e))}),f){var k,y;g=[],_.each(l,function(e){m=_.findWhere(s,{id:e.id})||{},_.isEmpty(m.collection)?i.isHeaderLocation(e.id)||i.isFooterLocation(e.id)?g.push(e):(k={collection:[],options:[]},y=w.extend(!0,{},e),y=w.extend(y,k),g.push(y)):g.push(m)})}else{if(c&&c.template&&"nimble_template"===c.template.local_template?v="loop_start":_.contains(a,"loop_start")?v="loop_start":_.each(a,function(e){i.isHeaderLocation(e)||i.isFooterLocation(e)||(v=e)}),"__not_set__"===v){I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => target location id is empty");break}if("no_match"===(u=i.getLevelModel(v,g))){I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => target location id "+v);break}(u=w.extend(!0,{},u)).collection=h,g=[],r()&&_.each(e,function(e){if(n(e)||o(e)){if("no_match"===(m=i.getLevelModel(e,s)))return void I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id "+e+" not found in template collection");g.push(m)}}),_.each(a,function(e){v===e&&g.push(u),localLocModel=i.getLevelModel(e,l),"no_match"!==localLocModel?r()||(i.isHeaderLocation(e)||i.isFooterLocation(e))&&g.push(localLocModel):I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id "+e+" not found in current setting collection")})}break;case"before":if(_.each(a,function(e){"__not_set__"==v&&("no_match"!==(p=i.getLevelModel(e,g))?i.isHeaderLocation(e)||i.isFooterLocation(e)||_.isEmpty(p.collection)||(v=e,u=p):I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id not found"+e))}),"__not_set__"===v){I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => target location id is empty");break}(u=w.extend(!0,{},u)).collection=_.union(h,u.collection),g=[],_.each(a,function(e){if(v===e)g.push(u);else{if("no_match"===p)return void I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id not found"+e);g.push(i.getLevelModel(e,l))}});break;case"after":if(_.each(a.reverse(),function(e){"__not_set__"==v&&("no_match"!==(p=i.getLevelModel(e,g))?i.isHeaderLocation(e)||i.isFooterLocation(e)||_.isEmpty(p.collection)||(v=e,u=p):I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id not found"+e))}),"__not_set__"===v){I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => target location id is empty");break}(u=w.extend(!0,{},u)).collection=_.union(u.collection,h),g=[],_.each(a,function(e){if(v===e)g.push(u);else{if("no_match"===(p=i.getLevelModel(e,l)))return void I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => loc id not found"+e);g.push(p)}})}if(i.updAPISetParams.newSetValue.collection=g,!_.isEmpty(c)&&"replace"===t.tmpl_inject_mode){var b=i.updAPISetParams.newSetValue.local_options;b=w.extend(!0,{},_.isObject(b)?b:{}),i.updAPISetParams.newSetValue.local_options=_.extend(b,c)}if(_.isArray(d)&&!_.isEmpty(d))if("replace"!=t.tmpl_inject_mode){var z=i.updAPISetParams.newSetValue.fonts;z=w.extend(!0,[],_.isArray(z)?z:[]),i.updAPISetParams.newSetValue.fonts=_.uniq(_.union(d,z))}else i.updAPISetParams.newSetValue.fonts=d}else I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => invalid imported template locations",t)}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(n,o){o.extend(CZRSeksPrototype,{cleanRegisteredAndLargeSelectInput:function(t){var i=this,e=o.extend(!0,[],i.registered()||[]);n.trigger("sek-before-clean-registered"),e=_.filter(e,function(e){if("setting"!==e.what&&n[e.what].has(e.id)){if(!_.isEmpty(t)&&e.id!==t)return;_.isFunction(n[e.what](e.id).trigger)&&i.trigger("sek-ui-pre-removal",{what:e.what,id:e.id}),o.when(n[e.what](e.id).container.remove()).done(function(){n[e.what].remove(e.id),i.trigger("sek-ui-removed",{what:e.what,id:e.id})})}return"setting"===e.what}),i.registered(e),i.cachedElements.$body.find('[data-input-type="font_picker"]').each(function(){var e=o(this).find("select[data-czrtype]").val();_.isUndefined(o(this).find("select[data-czrtype]").data("czrSelect2"))||o(this).find("select[data-czrtype]").czrSelect2("destroy"),o(this).find("select[data-czrtype]").html(""),o(this).find("select[data-czrtype]").html("").append(o("<option>",{value:e,html:e,selected:"selected"})),o(this).find("select[data-czrtype]").data("selectOptionsSet",!1)})},cleanRegisteredLocalOptionSettingsAndControls:function(){var t=this.getLocalSkopeOptionId(),e=o.extend(!0,[],this.registered()||[]);e=_.filter(e,function(e){return e.id&&-1!==e.id.indexOf(t)&&n.has(e.id)&&n.remove(e.id),e.id&&-1!==e.id.indexOf(t)&&n.control.has(e.id)&&o.when(n.control(e.id).container.remove()).done(function(){n.control.remove(e.id)}),e.id&&-1===e.id.indexOf(t)}),this.registered(e)},cleanRegisteredLevelSettings:function(){var e=o.extend(!0,[],this.registered()||[]);e=_.filter(e,function(e){return!_.isEmpty(e.level)&&"setting"===e.what&&n.has(e.id)&&n.remove(e.id),_.isEmpty(e.level)&&"setting"===e.what}),this.registered(e)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(p,u){u.extend(CZRSeksPrototype,{rootPanelFocus:function(){p.section.has(p.czr_activeSectionId())?p.section(p.czr_activeSectionId()).expanded(!1):p.section.each(function(e){e.expanded(!1)}),p.panel.each(function(e){e.expanded(!1)})},guid:function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+e()},getGlobalSectionsSettingId:function(){return sektionsLocalizedData.settingIdForGlobalSections},getParentSectionFromColumnId:function(i,n){var s=this,a="no_match",l=function(i,e,n,o){if(_.isUndefined(e)){var t=p(n)(),r=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},s.getDefaultSektionSettingValue(o));e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e){var t;"no_match"==a&&("section"==e.level&&(t=_.findWhere(e.collection,{id:i})),_.isEmpty(t)?_.isArray(e.collection)&&l(i,e.collection,n,o):a=e)}),a};return _.isEmpty(n)?_.each({local:s.localSectionsSettingId(),global:s.getGlobalSectionsSettingId()},function(e,t){"no_match"===a&&l(i,n,e,t)}):l(i,n),a},isGlobalLocation:function(e){var t=!1;return e=e||{},_.has(e,"is_global_location")?t=e.is_global_location:_.has(e,"scope")?t="global"===e.scope:_.isEmpty(e.location)?_.isEmpty(e.in_sektion)?_.isEmpty(e.id)||(t=this.isChildOfAGlobalLocation(e.id)):t=this.isChildOfAGlobalLocation(e.in_sektion):t=this.isChildOfAGlobalLocation(e.location),t},isChildOfAGlobalLocation:function(e){var r=this,s=function(t,e){var i="no_match";if(_.isUndefined(e)){var n=p(r.getGlobalSectionsSettingId())(),o=_.isObject(n)?u.extend(!0,{},n):r.getDefaultSektionSettingValue("global");e=_.isArray(o.collection)?o.collection:[]}return _.each(e,function(e){"no_match"==i&&(t===e.id?i=e:_.isArray(e.collection)&&(i=s(t,e.collection)))}),i};return"no_match"!==s(e)},isGlobalLocationId:function(e){var t=this.activeLocationsInfo(),i=_.isArray(t)?_.findWhere(t,{id:e}):{};return _.isObject(i)&&i.is_global},isHeaderLocation:function(e){var t=this.activeLocationsInfo(),i=_.isArray(t)?_.findWhere(t,{id:e}):{};return _.isObject(i)&&i.is_header},isFooterLocation:function(e){var t=this.activeLocationsInfo(),i=_.isArray(t)?_.findWhere(t,{id:e}):{};return _.isObject(i)&&i.is_footer},getLevelModel:function(i,n){var s=this,a="no_match",l=function(t,e,i,n){if(_.isUndefined(e)){var o=p(i)(),r=_.isObject(o)?u.extend(!0,{},o):u.extend(!0,{},s.getDefaultSektionSettingValue(n));e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e){"no_match"==a&&(t===e.id?a=e:_.isArray(e.collection)&&l(t,e.collection,i,n))}),a};return _.isEmpty(n)?_.each({local:s.localSectionsSettingId(),global:s.getGlobalSectionsSettingId()},function(e,t){"no_match"===a&&l(i,n,e,t)}):l(i,n),a},getLevelPositionInCollection:function(i,n){var s=this,a="no_match",l=function(i,e,n,o){if(_.isUndefined(e)){var t=p(n)(),r=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},s.getDefaultSektionSettingValue(o));e=_.isArray(r.collection)?r.collection:[]}_.each(e,function(e,t){"no_match"==a&&(i===e.id?a=t:_.isArray(e.collection)&&l(i,e.collection,n,o))})};return _.isEmpty(n)?_.each({local:s.localSectionsSettingId(),global:s.getGlobalSectionsSettingId()},function(e,t){"no_match"===a&&l(i,e,t,n)}):l(i,n),a},getLevelProperty:function(e){if(e=_.extend({id:"",property:""},e),_.isEmpty(e.id))p.errare("getLevelProperty => invalid id provided");else{var t=this.getLevelModel(e.id);if("no_match"!=t){if(_.isObject(t))return t[e.property];p.errare("getLevelProperty => invalid model for id : "+e.id,t)}else p.errare("getLevelProperty => no level model found for id : "+e.id)}},cloneLevel:function(e){var t=this,i=t.getLevelModel(e);if("no_match"==i)throw new Error("cloneLevel => no match for level id : "+e);var n=u.extend(!0,{},i),o=function(e){if(_.isEmpty(e.id))throw new Error("cloneLevel => missing level id");if(e.id=sektionsLocalizedData.prefixForSettingsNotSaved+t.guid(),!_.isEmpty(e.collection)){if(!_.isArray(e.collection))throw new Error("cloneLevel => the collection must be an array for level id : "+e.id);_.each(e.collection,function(e){e.id=sektionsLocalizedData.prefixForSettingsNotSaved+t.guid(),o(e)})}return e};return o(n)},getDefaultItemModelFromRegisteredModuleData:function(e){if(!this.isModuleRegistered(e))return{};if(sektionsLocalizedData.registeredModules[e].is_father)return p.errare("getDefaultItemModelFromRegisteredModuleData => Father modules should be treated specifically"),{};var t=sektionsLocalizedData.registeredModules[e].tmpl["item-inputs"],i={id:"",title:""};return _.each(t,function(e,t){switch(t){case"tabs":_.each(e,function(e){_.each(e.inputs,function(e,t){i[t]=e.default||""})});break;default:i[t]=e.default||""}}),i},getRegisteredModuleProperty:function(e,t){return this.isModuleRegistered(e)?sektionsLocalizedData.registeredModules[e][t]:"not_set"},isModuleRegistered:function(e){return sektionsLocalizedData.registeredModules&&!_.isUndefined(sektionsLocalizedData.registeredModules[e])},isMultiItemsModule:function(e){return sektionsLocalizedData.registeredModules[e]&&!0===sektionsLocalizedData.registeredModules[e].is_crud},maybeGenerateNewItemIdsForCrudModules:function(t){var i=this;return(_.isArray(t)||_.isObject(t))&&_.each(t,function(e){_.isArray(t)&&_.isObject(e)&&e.id&&!_.has(e,"level")?-1===e.id.indexOf(sektionsLocalizedData.prefixForSettingsNotSaved)&&(e.id=i.guid()):(_.isArray(e)||_.isObject(e))&&i.maybeGenerateNewItemIdsForCrudModules(e)}),t},sniffGFonts:function(e){var o=this,r=[],s=function(i,n,e){if(_.isUndefined(e)){var t=p(i)();e=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},o.getDefaultSektionSettingValue(n))}_.each(e,function(e,t){_.isString(t)&&"_css"===t.substr(t.length-4)&&!0===o.inputIsAFontFamilyModifier(t)&&-1<e.indexOf("gfont")&&!_.contains(r,e)&&r.push(e),(_.isArray(e)||_.isObject(e))&&s(i,n,e)})};return(e=e||{is_global_location:!1}).is_global_location?s(o.getGlobalSectionsSettingId(),"global"):s(o.localSectionsSettingId(),"local"),r},sniffAllFonts:function(){var o=this,r=[],s=function(i,n,e){if(_.isUndefined(e)){var t=p(i)();e=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},o.getDefaultSektionSettingValue(n))}_.each(e,function(e,t){_.isString(t)&&_.isString(e)&&(-1<e.indexOf("[gfont]")||-1<e.indexOf("[cfont]"))&&r.push(e),(_.isArray(e)||_.isObject(e))&&s(i,n,e)})};return _.each([{id:o.localSectionsSettingId(),scope:"local"},{id:o.getGlobalSectionsSettingId(),scope:"global"},{id:sektionsLocalizedData.optNameForGlobalOptions,scope:"global"}],function(e){s(e.id,e.scope)}),r},getInputDefaultValue:function(i,n,e){var o=this;if(o.cachedDefaultInputValues=o.cachedDefaultInputValues||{},o.cachedDefaultInputValues[n]=o.cachedDefaultInputValues[n]||{},_.has(o.cachedDefaultInputValues[n],i))return o.cachedDefaultInputValues[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))p.errare("getInputDefaultValue => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))p.errare("getInputDefaultValue => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_default_value_specified";return _.each(e,function(e,t){"no_default_value_specified"===r&&(i!==t||_.isUndefined(e.default)||(r=e.default),"no_default_value_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputDefaultValue(i,n,e)),"no_default_value_specified"!==r&&(o.cachedDefaultInputValues[n][i]=r))}),r}p.errare("getInputDefaultValue => Father modules should be treated specifically")}},getInputType:function(i,n,e){var o=this;if(o.cachedInputTypes=o.cachedInputTypes||{},o.cachedInputTypes[n]=o.cachedInputTypes[n]||{},_.has(o.cachedInputTypes[n],i))return o.cachedInputTypes[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))p.errare("getInputType => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))p.errare("getInputType => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_input_type_specified";return _.each(e,function(e,t){"no_input_type_specified"===r&&(i!==t||_.isUndefined(e.input_type)||(r=e.input_type),"no_input_type_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputType(i,n,e)),"no_input_type_specified"!==r&&(o.cachedInputTypes[n][i]=r))}),r}p.errare("getInputType => Father modules should be treated specifically")}},getInputRegistrationParams:function(i,n,e){var o=this;if(o.cachedInputRegistrationParams=o.cachedInputRegistrationParams||{},o.cachedInputRegistrationParams[n]=o.cachedInputRegistrationParams[n]||{},_.has(o.cachedInputRegistrationParams[n],i))return o.cachedInputRegistrationParams[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))p.errare("getInputRegistrationParams => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))p.errare("getInputRegistrationParams => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r={};return _.each(e,function(e,t){_.isEmpty(r)&&(i!==t||_.isUndefined(e.input_type)||(r=e),_.isEmpty(r)&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputRegistrationParams(i,n,e)),_.isEmpty(r)||(o.cachedInputRegistrationParams[n][i]=r))}),r}p.errare("getInputRegistrationParams => Father modules should be treated specifically")}},inputIsAFontFamilyModifier:function(i,e){var n=this;if(n.cachedFontFamilyModifier=n.cachedFontFamilyModifier||{},_.has(n.cachedFontFamilyModifier,i))return n.cachedFontFamilyModifier[i];if(!_.isUndefined(sektionsLocalizedData.registeredModules)){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules);var o="not_set";return _.each(e,function(e,t){"not_set"===o&&(i!==t||_.isUndefined(e.input_type)||(o=!_.isUndefined(e.refresh_fonts)&&e.refresh_fonts),"not_set"===o&&(_.isArray(e)||_.isObject(e))&&(o=n.inputIsAFontFamilyModifier(i,e)),"not_set"!==o&&(n.cachedFontFamilyModifier[i]=o))}),o}p.errare("inputIsAFontFamilyModifier => missing sektionsLocalizedData.registeredModules")},getModuleStartingValue:function(e){var a=this;if(!sektionsLocalizedData.registeredModules)return p.errare("getModuleStartingValue => missing sektionsLocalizedData.registeredModules"),"no_starting_value";if(_.isUndefined(sektionsLocalizedData.registeredModules[e]))return p.errare("getModuleStartingValue => the module type "+e+" is not registered"),"no_starting_value";var t,i,n,l=function(e){return readyStartValues=[],_.each(e,function(e){if(_.isObject(e)){var t=u.extend(!0,{},e);t.id=p.czr_sektions.guid(),readyStartValues.push(t)}else p.errare("getModuleStartingValue => multi-item module => items should be objects for module "+mod_type)}),readyStartValues},c={},d=(t=e,sektionsLocalizedData.registeredModules[t]&&sektionsLocalizedData.registeredModules[t].starting_value?sektionsLocalizedData.registeredModules[t].starting_value:{});return n=e,sektionsLocalizedData.registeredModules[n]&&!0===sektionsLocalizedData.registeredModules[n].is_father?_.each((i=e,sektionsLocalizedData.registeredModules[i]&&sektionsLocalizedData.registeredModules[i].children?sektionsLocalizedData.registeredModules[i].children:{}),function(e,t){var i,n,o,r,s=(i=e,r=(o=d)[n=t]?o[n]:{},a.isMultiItemsModule(i)&&_.isArray(r)?l(r):r);_.isEmpty(s)||(c[t]=s)}):c=a.isMultiItemsModule(e)&&_.isArray(d)?l(d):d,_.isEmpty(c)?"no_starting_value":c},selectNextTabbableOrFocusable:function(e){var t=u(e),i=u(":focus"),n=0;if(1===i.length){var o=t.index(i);o+1<t.length&&(n=o+1)}t.eq(n).focus()},selectPrevTabbableOrFocusable:function(e){var t=u(e),i=u(":focus"),n=t.length-1;if(1===i.length){var o=t.index(i);0<o&&(n=o-1)}t.eq(n).focus()},setupSelectInput:function(e){var n=this,t=(n.input_parent,n.module,p.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type)),i={params:e=_.isEmpty(e)?t.choices:e};if(n.module.trigger("nimble-set-select-input-options",i),e=i.params,!_.isEmpty(e)&&_.isObject(e))switch(n.type){case"simpleselect":_.each(e,function(e,t){var i={value:t,html:e};t==n()?u.extend(i,{selected:"selected"}):"px"===t&&u.extend(i,{selected:"selected"}),u("select[data-czrtype]",n.container).append(u("<option>",i))}),u("select[data-czrtype]",n.container).selecter();break;case"multiselect":var o=n();o=_.isString(o)?[o]:o,o=_.isArray(o)?o:[],_.each(e,function(e,t){var i={value:t,html:e};_.contains(o,t)&&u.extend(i,{selected:"selected"}),u("select[data-czrtype]",n.container).append(u("<option>",i))}),u("select[data-czrtype]",n.container).czrSelect2({closeOnSelect:!0,templateSelection:function(e){return e.text.replace(/\u2013|\u2014/g,"")}}),u("select[data-czrtype]",n.container).on("change",function(){0===u(this).find("option:selected").length&&n([])});break;default:p.errare("::setupSelectInput => invalid input type => "+n.type)}else p.errare("api.czr_sektions.setupSelectInput => missing select options for input id => "+n.id+" in module "+n.module.module_type)},maybeSetupDeviceSwitcherForInput:function(){var n=this;if(!n.previewedDevice){var e=['<span class="sek-input-device-switcher">','<i data-sek-device="desktop" class="sek-switcher preview-desktop active" title="'+sektionsLocalizedData.i18n["Settings on desktops"]+'"></i>','<i data-sek-device="tablet" class="sek-switcher preview-tablet" title="'+sektionsLocalizedData.i18n["Settings on tablets"]+'"></i>','<i data-sek-device="mobile" class="sek-switcher preview-mobile" title="'+sektionsLocalizedData.i18n["Settings on mobiles"]+'"></i>',"</span>"].join(" ");n.container.find(".customize-control-title").first().prepend(e),n.previewedDevice=new p.Value(p.previewedDevice()),syncWithPreviewedDevice=function(e){e.stopPropagation(),n.container.find("[data-sek-device]").removeClass("active"),u(this).addClass("active");var t,i="desktop";try{i=u(this).data("sek-device")}catch(e){p.errare("maybeSetupDeviceSwitcherForInput => error when binding sek-switcher",e)}try{p.previewedDevice(i)}catch(e){p.errare("maybeSetupDeviceSwitcherForInput => error when setting the previewed device",e)}n.previewedDevice(i),_.isUndefined(e.isTrigger)&&n.module&&n.module.control&&n.module.control.params.section&&(t=n.module.control.params.section,_.delay(function(){p.previewer.send("sek-animate-to-level",{id:t})},600))},n.container.on("click","[data-sek-device]",syncWithPreviewedDevice);var t=n.container.find('[data-sek-device="'+p.previewedDevice()+'"]');0<t.length&&t.trigger("click")}},scheduleModuleAccordion:function(e){e=e||{expand_first_control:!0};var i=this;if(!0!==i.container.data("sek-module-accordion-has-been-setup")&&(u(i.container).on("click",".customize-control label > .customize-control-title",function(e){e.stopPropagation(),p.czr_sektions.levelTreeExpanded(!1),p.czr_sektions.templateGalleryExpanded(!1),p.czr_sektions.saveSectionDialogVisible(!1),p.czr_sektions.tmplDialogVisible(!1),p.czr_sektions.tmplInjectDialogVisible(!1);var t=u(this).closest(".customize-control");"no"!==t.attr("data-sek-accordion")&&(i.container.find(".customize-control").not(t).each(function(){u(this).attr("data-sek-accordion")||u(this).attr("data-sek-expanded","false")}),t.attr("data-sek-expanded","false"==t.attr("data-sek-expanded")?"true":"false"),t.trigger("true"==t.attr("data-sek-expanded")?"sek-accordion-expanded":"sek-accordion-collapsed"),!0===t.data("module_ready_on_custom_control_event_is_setup")?t.trigger("sek-accordion-expanded"):t.one("module_ready_on_custom_control_event_is_setup",function(){t.trigger("sek-accordion-expanded")}))}),i.container.data("sek-module-accordion-has-been-setup",!0),e.expand_first_control)){var t=_.filter(i.controls(),function(e){return!e.params||!e.params.sek_registration_params||!1!==e.params.sek_registration_params.has_accordion}),n=_.first(t);_.isObject(n)&&!_.isEmpty(n.id)&&p.control(n.id,function(e){e.container.one("items-collection-populated",function(){u(this).find("label > .customize-control-title").trigger("click")}),!0===e.container.data("module_ready_on_custom_control_event_is_setup")?e.container.trigger("sek-accordion-expanded"):e.container.one("module_ready_on_custom_control_event_is_setup",function(){e.container.trigger("sek-accordion-expanded")})})}},isPromise:function(e){return e&&"function"==typeof e.then&&String(u.Deferred().then)===String(e.then)},whenAllPromisesInParallel:function(e){var i=this,t=u.Deferred(),n=[],o=_.keys(e);return _.each(e,function(e,t){n.push(u.Deferred(function(t){(i.isPromise(e)?e:u.Deferred()).done(t.resolve).fail(function(e){t.reject(e)})}))}),u.when.apply(this,n).done(function(){var i={},e=Array.prototype.slice.call(arguments);_.each(e,function(e,t){i[o[t]]=e}),t.resolve(i)}).fail(t.reject),t},whenAllPromisesInSerie:function(t,i,n,o){i=i||0,n=n||{},o=o||u.Deferred();var r=this;if(_.isArray(t)){var e=t[i];(r.isPromise(e)?e:u.Deferred(function(e){e.resolve()})).always(function(e){n[i]=e,i+1==t.length?o.resolve(n):i+1<t.length&&r.whenAllPromisesInSerie(t,i+1,n,o)})}return o},importAttachment:function(t){return wp.ajax.post("sek_import_attachment",{img_url:t,nonce:p.settings.nonce.save}).fail(function(e){p.errare("sek_import_attachment ajax action failed for image "+t,e)})},cleanIds:function(e){e.id="";var t=this;return _.each(e.collection,function(e){e.id="",_.isArray(e.collection)&&t.cleanIds(e)}),e},getDefaultSektionSettingValue:function(e){return!_.isUndefined(e)&&_.contains(["local","global"],e)||p.errare("getDefaultSektionSettingValue => the skope should be set to local or global"),"global"===e?sektionsLocalizedData.defaultGlobalSektionSettingValue:sektionsLocalizedData.defaultLocalSektionSettingValue},scheduleVisibilityOfInputId:function(t,i){var n=this.input_parent;_.isFunction(i)&&!_.isEmpty(t)?n.czr_Input.has(t)?(n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})):p.errare("::scheduleVisibilityOfInputId => missing input id : "+t):p.errare("::scheduleVisibilityOfInputId => error when firing for input id : "+this.id)},hasCurrentPageNBSectionsNotHeaderFooter:function(){var e,t=this,i=!1,n=this.localSectionsSettingId(),o=p(n)();return o=_.isObject(o)?o:{},e=u.extend(!0,{},o),e=_.isEmpty(e.collection)?[]:e.collection,e=_.isArray(e)?e:[],_.each(e,function(e){i||_.isObject(e)&&"location"==e.level&&e.collection&&(t.isHeaderLocation(e.id)||t.isFooterLocation(e.id)||(i=!_.isEmpty(e.collection)))}),i},hasLocalSettingBeenCustomized:function(){var e=this.localSectionsSettingId(),t=p(e)();return!((t=_.isObject(t)?t:{})&&t.__inherits_group_skope_tmpl_when_exists__)},getGroupSkopeForSiteTemplate:function(){var e,t,i=p.czr_skopeBase.getSkopeProperty("skope_id","group");if("_skope_not_set_"===i){e=p.czr_skopeBase.getSkopeProperty("skope_id","local"),t=e,(FlatSkopeLocalizedData&&_.isArray(FlatSkopeLocalizedData.noGroupSkopeList)?(t=(t=_.isString(e)?e:"_skope_not_set_").replace("skp__",""),_.contains(FlatSkopeLocalizedData.noGroupSkopeList,t)):(p.errare(":getGroupSkopeForSiteTemplate => missing localized data FlatSkopeLocalizedData.noGroupSkopeList"),0))?i=e+"_for_site_tmpl":p.errare("::getGroupSkopeForSiteTemplate => group skope could not be set")}return i},isJsonString:function(e){try{JSON.parse(e)}catch(e){return!1}return!0}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,m){m.extend(CZRSeksPrototype,{setupDnd:function(){var t=this;t.bind("sek-refresh-dragzones",function(e){!0!="draggable"in document.createElement("span")&&c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){c.notifications.remove("drag-drop-support")},1e4)}),t.setupNimbleDragZones(e.input_container)}),c.previewer.bind("ready",function(){try{t.setupNimbleDropZones()}catch(e){c.errare("::setupDnd => error on self.setupNimbleDropZones()",e)}_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_intro_sec_picker_module"}))&&_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_module_picker_module"}))||t.rootPanelFocus()}),t.reactToDrop()},setupNimbleDragZones:function(e){var n=this,o=function(){c.notifications.add(new c.Notification("missing-injection-target",{type:"info",message:sektionsLocalizedData.i18n["You first need to click on a target ( with a + icon ) in the preview."],dismissible:!0})),_.delay(function(){c.notifications.remove("missing-injection-target")},3e4)};e.find('[draggable="true"]').each(function(){m(this).on("dragstart",function(e){(function(e){n.lastClickedTargetInPreview({}),e.originalEvent.dataTransfer.setData("sek-content-type",m(this).data("sek-content-type")),e.originalEvent.dataTransfer.setData("sek-eligible-for-module-dropzones",m(this).data("sek-eligible-for-module-dropzones")),e.originalEvent.dataTransfer.setData("sek-content-id",m(this).data("sek-content-id")),e.originalEvent.dataTransfer.setData("sek-section-type",m(this).data("sek-section-type")),e.originalEvent.dataTransfer.setData("sek-is-user-section",m(this).data("sek-is-user-section")),n.dndData={content_type:e.originalEvent.dataTransfer.getData("sek-content-type"),eligible_for_module_dropzones:"true"===e.originalEvent.dataTransfer.getData("sek-eligible-for-module-dropzones"),content_id:e.originalEvent.dataTransfer.getData("sek-content-id"),section_type:e.originalEvent.dataTransfer.getData("sek-section-type"),is_user_section:"true"===e.originalEvent.dataTransfer.getData("sek-is-user-section")};try{e.originalEvent.dataTransfer.setData("browserSupport","browserSupport"),e.originalEvent.dataTransfer.clearData("browserSupport")}catch(e){c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){c.notifications.remove("drag-drop-support")},1e4)})}m(this).addClass("sek-dragged"),n.cachedElements.$body.addClass("sek-dragging"),c.previewer.send("sek-drag-start",{content_type:n.dndData.content_type,eligible_for_module_dropzones:n.dndData.eligible_for_module_dropzones})}).call(m(this),e)}).on("dragend",function(e){(function(e){n.cachedElements.$body.removeClass("sek-dragging"),m(this).removeClass("sek-dragged"),c.previewer.send("sek-drag-stop")}).call(m(this),e)}).on("dblclick",function(e){(function(e){var t,i=n.lastClickedTargetInPreview();!_.isEmpty(i)&&i.id?t=n.dnd_getDropZonesElements().find('[data-sek-id="'+i.id+'"]').find(".sek-module-drop-zone-for-first-module").first():o(),t&&0<t.length?(c.czr_sektions.trigger("sek-content-dropped",{drop_target_element:t,location:t.closest('[data-sek-level="location"]').data("sek-id"),before_module_or_nested_section:t.data("drop-zone-before-module-or-nested-section"),after_module_or_nested_section:t.data("drop-zone-after-module-or-nested-section"),before_section:t.data("drop-zone-before-section"),after_section:t.data("drop-zone-after-section"),content_type:m(this).attr("data-sek-content-type"),content_id:m(this).attr("data-sek-content-id"),section_type:m(this).attr("data-sek-section-type"),is_user_section:"true"===m(this).attr("data-sek-is-user-section")}),n.lastClickedTargetInPreview({})):(o(),c.errare("Double click insertion => the target zone was not found"))}).call(m(this),e)})}),e.find('[draggable="false"][data-sek-is-pro-section="yes"], [draggable="false"][data-sek-is-pro-module="yes"]').each(function(){m(this).on("mousedown",function(e){n.lastClickedTargetInPreview({}),c.previewer.trigger("sek-notify",{type:"info",duration:6e4,notif_id:"go_pro",message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Go pro link when click on pro tmpl or section"]+"</strong>","</span>"].join("")})})})},setupNimbleDropZones:function(){var t=this;if(this.$dropZones=this.dnd_getDropZonesElements(),this.preDropElement=m("<div>",{class:sektionsLocalizedData.preDropElementClass,html:""}),this.$dropZones.length<1)throw new Error("::setupNimbleDropZones => invalid Dom element");this.$dropZones.each(function(){var e=m(this);!0!==e.data("zone-droppable-setup")&&(t.enterOverTimer=null,e.on("dragenter dragover",sektionsLocalizedData.dropSelectors,function(e){_.isNull(t.enterOverTimer)&&(t.enterOverTimer=!0,_.delay(function(){t.currentMousePosition&&t.currentMousePosition+""==e.clientY+""+e.clientX?t.enterOverTimer=null:(t.currentMousePosition=e.clientY+""+e.clientX,t.dnd_toggleDragApproachClassesToDropZones(e))},100)),t.dnd_canDrop({targetEl:m(this),evt:e})&&(e.stopPropagation(),t.dnd_OnEnterOver(m(this),e))}).on("dragleave drop",sektionsLocalizedData.dropSelectors,function(e){switch(e.type){case"dragleave":t.dnd_isOveringDropTarget(m(this),e)||t.dnd_cleanOnLeaveDrop(m(this),e);break;case"drop":this.$cachedDropZoneCandidates=null,t.dnd_canDrop({targetEl:m(this),evt:e})&&(e.preventDefault(),t.dnd_onDrop(m(this),e),t.dnd_cleanOnLeaveDrop(m(this),e),c.previewer.send("sek-drag-stop"))}}).data("zone-droppable-setup",!0))})},dnd_isInTarget:function(e,t){var i=t.clientY,n=t.clientX,o=e[0].getBoundingClientRect(),r=n<=o.right&&o.left<=n;return i>=o.top&&o.bottom>=i&&r},dnd_toggleDragApproachClassesToDropZones:function(p){var u=this;this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.$cachedDropZoneCandidates=_.isEmpty(this.$cachedDropZoneCandidates)?this.$dropZones.find(".sek-drop-zone"):this.$cachedDropZoneCandidates,this.distanceTable=[],this.$dropZones.find(".sek-drop-zone").each(function(){var e,t,i=p.clientY,n=p.clientX,o=m(this)[0].getBoundingClientRect(),r=Math.abs(i-(o.bottom-(o.bottom-o.top)/2)),s=(Math.abs(o.top-i),Math.abs(n-(o.right-(o.right-o.left)/2))),a=(o.right,o.left,r<50),l=s<50,c=n<=o.right&&o.left<=n,d=i>=o.top&&o.bottom>=i;u.distanceTable.push({el:m(this),dist:d&&c?0:(e=s,t=r,Math.sqrt(e*e+t*t))}),m(this).removeClass("sek-drag-is-in"),(a||d)&&(l||c)?(m(this).removeClass("sek-drag-is-approaching"),m(this).removeClass("sek-drag-is-close"),m(this).addClass("sek-drag-is-very-close")):(m(this).removeClass("sek-drag-is-approaching"),m(this).removeClass("sek-drag-is-close"),m(this).removeClass("sek-drag-is-very-close")),m(this).removeClass("sek-drag-is-in")});var t=_.min(_.pluck(u.distanceTable,"dist"));u.$dropTargetCandidate=null,_.each(u.distanceTable,function(e){_.isNull(u.$dropTargetCandidate)&&t===e.dist&&(u.$dropTargetCandidate=e.el)}),u.$dropTargetCandidate&&0<u.$dropTargetCandidate.length&&u.dnd_isInTarget(u.$dropTargetCandidate,p)&&u.$dropTargetCandidate.addClass("sek-drag-is-in"),u.enterOverTimer=null},dnd_getPreDropElementContent:function(e){var t,i,n=m(e.currentTarget);switch(this.dndData.content_type){case"module":t=sektionsLocalizedData.i18n["Insert here"],0<n.length&&("between-sections"!==n.data("sek-location")&&"in-empty-location"!==n.data("sek-location")||(t=sektionsLocalizedData.i18n["Insert in a new section"])),i='<div class="sek-module-placeholder-content"><p>'+t+"</p></div>";break;case"preset_section":i='<div class="sek-module-placeholder-content"><p>'+(t=sektionsLocalizedData.i18n["Insert a new section here"])+"</p></div>";break;default:c.errare("::dnd_getPreDropElementContent => invalid content type provided")}return i},dnd_getDropZonesElements:function(){return m(c.previewer.targetWindow().document)},dnd_canDrop:function(e){var t=this,i=(e=_.extend({targetEl:{},evt:{}},e||{})).targetEl;if(!_.isObject(i)||i.length<1)return!1;if(i.closest('[data-sek-level="location"]').length<1)return!1;var n=i.hasClass("sek-content-preset_section-drop-zone"),o=i.hasClass("sek-module-drop-zone-for-first-module"),r=!0===i.closest('[data-sek-level="location"]').data("sek-is-header-location"),s=!0===i.closest('[data-sek-level="location"]').data("sek-is-footer-location"),a="preset_section"===t.dndData.content_type&&"content"===t.dndData.section_type,l=function(e){m(".sek-no-drop-possible-message",i).length<1&&i.append(['<div class="sek-no-drop-possible-message">','<i class="material-icons">not_interested</i>',e,"</div>"].join(""))};return!!i.hasClass("sek-drop-zone")&&(!t.dndData.is_user_section&&(r||s)&&a?(l(r?sektionsLocalizedData.i18n["Header location only accepts modules and pre-built header sections"]:sektionsLocalizedData.i18n["Footer location only accepts modules and pre-built footer sections"]),!1):s&&"preset_section"===t.dndData.content_type&&"header"===t.dndData.section_type?(l(sektionsLocalizedData.i18n["You can't drop a header section in the footer location"]),!1):r&&"preset_section"===t.dndData.content_type&&"footer"===t.dndData.section_type?(l(sektionsLocalizedData.i18n["You can't drop a footer section in the header location"]),!1):"preset_section"===t.dndData.content_type&&!0===t.dndData.eligible_for_module_dropzones&&!n||("preset_section"===t.dndData.content_type&&n||"module"===t.dndData.content_type&&!n||"preset_section"===t.dndData.content_type&&o))},dnd_OnEnterOver:function(e,t){t.preventDefault(),!0!==e.data("is-drag-entered")&&(e.data("is-drag-entered",!0),e.addClass("sek-active-drop-zone"),this.$dropZones.addClass("sek-is-dragging"));try{this.dnd_mayBePrintPreDropElement(e,t)}catch(e){c.errare("Error when trying to insert the preDrop content",e)}},dnd_cleanOnLeaveDrop:function(e,t){var i=this;this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.preDropElement.remove(),this.$dropZones.removeClass("sek-is-dragging"),m(sektionsLocalizedData.dropSelectors,this.$dropZones).each(function(){i.dnd_cleanSingleDropTarget(m(this))})},dnd_cleanSingleDropTarget:function(e){_.isEmpty(e)||e.length<1||(e.data("is-drag-entered",!1),e.data("preDrop-position",!1),e.removeClass("sek-active-drop-zone"),e.find(".sek-drop-zone").removeClass("sek-drag-is-close"),e.find(".sek-drop-zone").removeClass("sek-drag-is-approaching"),e.removeClass("sek-feed-me-seymore"),e.find(".sek-no-drop-possible-message").remove())},dnd_getPosition:function(e,t){var i=e[0].getBoundingClientRect(),n=i.height;return"before"===e.data("preDrop-position")?n+=this.preDropElement.outerHeight():"after"===e.data("preDrop-position")&&(n-=this.preDropElement.outerHeight()),0<t.originalEvent.clientY-i.top-n/2?"after":"before"},dnd_mayBePrintPreDropElement:function(e,t){var i=this,n=e.data("preDrop-position"),o=this.dnd_getPosition(e,t);if(n!==o&&!0!==i.isPrintingPreDrop){i.isPrintingPreDrop=!0,this.dnd_cleanSingleDropTarget(this.$currentPreDropTarget);var r="between-sections"===e.data("sek-location")||"in-empty-location"===e.data("sek-location");m.when(i.preDropElement.remove()).done(function(){e["before"===o?"prepend":"append"](i.preDropElement).find("."+sektionsLocalizedData.preDropElementClass).html(i.dnd_getPreDropElementContent(t)),e.find("."+sektionsLocalizedData.preDropElementClass).toggleClass("in-new-sektion",r),e.data("preDrop-position",o),e.addClass("sek-feed-me-seymore"),i.isPrintingPreDrop=!1,i.$currentPreDropTarget=e})}},dnd_isOveringDropTarget:function(e,t){var i=e[0].getBoundingClientRect(),n=t.clientX,o=t.clientY,r=i.left,s=i.right,a=i.top,l=i.bottom;return r<=n&&n-r<=s-r&&(a<=o&&o-a<=l-a)},dnd_onDrop:function(e,t){t.stopPropagation();this.dnd_getPosition(e,t),e.index();c.czr_sektions.trigger("sek-content-dropped",{drop_target_element:e,location:e.closest('[data-sek-level="location"]').data("sek-id"),before_module_or_nested_section:e.data("drop-zone-before-module-or-nested-section"),after_module_or_nested_section:e.data("drop-zone-after-module-or-nested-section"),before_section:e.data("drop-zone-before-section"),after_section:e.data("drop-zone-after-section"),content_type:t.originalEvent.dataTransfer.getData("sek-content-type"),eligible_for_module_dropzones:"true"===t.originalEvent.dataTransfer.getData("sek-eligible-for-module-dropzones"),content_id:t.originalEvent.dataTransfer.getData("sek-content-id"),section_type:t.originalEvent.dataTransfer.getData("sek-section-type"),is_user_section:"true"===t.originalEvent.dataTransfer.getData("sek-is-user-section")})},reactToDrop:function(){this.bind("sek-content-dropped",function(e){try{!function(e){if(!_.isObject(e))throw new Error("Invalid params provided");if(e.drop_target_element.length<1)throw new Error("Invalid drop_target_element");var t,i=e.drop_target_element,n="content-in-column";switch(i.data("sek-location")){case"between-sections":n="content-in-a-section-to-create";break;case"in-empty-location":e.is_first_section=!0,e.send_to_preview=!1,n="content-in-empty-location";break;case"between-columns":n="content-in-new-column"}"preset_section"===e.content_type&&(i.hasClass("sek-module-drop-zone-for-first-module")?1<(t=i.closest('div[data-sek-level="section"]')).find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length?(n="preset-section-in-a-nested-section-to-create",e.is_nested=!0,e.in_column=i.closest('[data-sek-level="column"]').data("sek-id"),e.in_sektion=t.data("sek-id")):(e.sektion_to_replace=t.data("sek-id"),e.after_section=e.sektion_to_replace,e.in_column=t.closest('[data-sek-level="column"]').data("sek-id"),n="content-in-a-section-to-replace"):("between-sections"===i.data("sek-location")&&(n="content-in-a-section-to-create"),"between-modules-and-nested-sections"===i.data("sek-location")&&e.eligible_for_module_dropzones&&(n="preset-section-eligible-for-module-dropzones-in-new-nested-sektion",e.is_nested=!0,e.in_column=i.closest('[data-sek-level="column"]').data("sek-id"),t=i.closest('div[data-sek-level="section"]'),e.in_sektion=t.data("sek-id"))));switch(n){case"content-in-column":var o=i.closest("div[data-sek-level]");if(o.length<1)throw new Error("No valid level dom element found");var r=o.data("sek-level"),s=o.data("sek-id");if(_.isEmpty(r)||_.isEmpty(s))throw new Error("No valid level id found");c.previewer.trigger("sek-add-module",{level:r,id:s,in_column:i.closest('div[data-sek-level="column"]').data("sek-id"),in_sektion:i.closest('div[data-sek-level="section"]').data("sek-id"),before_module_or_nested_section:e.before_module_or_nested_section,after_module_or_nested_section:e.after_module_or_nested_section,content_type:e.content_type,content_id:e.content_id});break;case"content-in-a-section-to-create":case"content-in-a-section-to-replace":case"content-in-empty-location":var a=m.extend(!0,{},e);c.previewer.trigger("sek-add-content-in-new-sektion",{in_column:i.closest('div[data-sek-level="column"]').data("sek-id"),in_sektion:i.closest('div[data-sek-level="section"]').data("sek-id"),before_module_or_nested_section:a.before_module_or_nested_section,after_module_or_nested_section:a.after_module_or_nested_section,content_type:a.content_type,content_id:a.content_id,is_user_section:a.is_user_section,after_section:a.after_section,before_section:a.before_section,location:a.location,sektion_to_replace:a.sektion_to_replace});break;case"preset-section-in-a-nested-section-to-create":c.previewer.trigger("sek-add-preset-section-in-new-nested-sektion",e);break;case"preset-section-eligible-for-module-dropzones-in-new-nested-sektion":var l=m.extend(!0,{},e);l=m.extend(l,{before_module_or_nested_section:e.before_module_or_nested_section,after_module_or_nested_section:e.after_module_or_nested_section}),c.previewer.trigger("sek-add-preset-section-in-new-nested-sektion",l);break;default:c.errare("sek control panel => ::reactToDrop => invalid drop case : "+n)}}(e)}catch(e){c.errare("error when reactToDrop",e)}})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupTinyMceEditor:function(){var n=this;c.sekEditorExpanded=new c.Value(!1),n.editorEventsListenerSetup=!1,n.$editorPane=d("#czr-customize-content_editor-pane"),n.$editorDragbar=d("#czr-customize-content_editor-dragbar"),n.$preview=d("#customize-preview"),n.$collapseSidebar=d(".collapse-sidebar"),n.attachResizeEventsToEditor();d("#customize-theme-controls").on("click",'[data-czr-action="open-tinymce-editor"]',function(){var e=d(this).data("czr-control-id"),t=d(this).data("czr-input-id");_.isEmpty(e)||_.isEmpty(t)?c.errare("toggle-tinymce-editor => missing input or control id"):c.sekEditorExpanded(!0)}),c.sekEditorExpanded.bind(function(e,t,i){try{!function(){c.sekTinyMceEditor=tinyMCE.get(sektionsLocalizedData.idOfDetachedTinyMceTextArea);var e=function(){!1===n.editorEventsListenerSetup&&(n.editorEventsListenerSetup=!0,n.trigger("sek-tiny-mce-editor-bound-and-instantiated"))};c.sekTinyMceEditor&&(c.sekTinyMceEditor.initialized?e():c.sekTinyMceEditor.on("init",function(){e()}))}()}catch(e){window.console&&console.log("Error in mayBeAwakeTinyMceEditor ",e)}e&&c.sekTinyMceEditor&&c.sekTinyMceEditor.focus(),d(document.body).toggleClass("czr-customize-content_editor-pane-open",e),n.cachedElements.$window[e?"on":"off"]("resize",function(){c.sekEditorExpanded()&&_.delay(function(){n.czrResizeEditor(window.innerHeight-n.$editorPane.height())},50)}),e?(n.czrResizeEditor(window.innerHeight-n.$editorPane.height()),_.delay(function(){n.cachedElements.$window.trigger("resize")},100)):(n.$preview.css("bottom",""),n.$collapseSidebar.css("bottom",""))}),d("#czr-customize-content_editor-pane").on("click",'[data-czr-action="close-tinymce-editor"]',function(){c.sekEditorExpanded(!1)}),d("#customize-controls").on("click",function(e){"open-tinymce-editor"!=d(e.target).data("czr-action")&&c.sekEditorExpanded(!1,{context:"clicked anywhere"})}),d(document).on("keydown",_.throttle(function(e){27===e.keyCode&&c.sekEditorExpanded(!1)},50)),n.bind("sek-tiny-mce-editor-bound-and-instantiated",function(){var e=d(c.sekTinyMceEditor.iframeElement).contents().get(0);d(e).on("keydown",_.throttle(function(e){27===e.keyCode&&c.sekEditorExpanded(!1)},50))}),_.each(["sek-add-section","sek-add-column","sek-add-module","sek-remove","sek-move","sek-duplicate","sek-resize-columns","sek-add-content-in-new-sektion","sek-pick-content","sek-edit-options","sek-edit-module","sek-notify"],function(e){"sek-edit-module"!=e?c.previewer.bind(e,function(){c.sekEditorExpanded(!1)}):c.previewer.bind(e,function(e){e&&e.module_type&&c.sekEditorExpanded("czr_tiny_mce_editor_module"===e.module_type)})})},attachResizeEventsToEditor:function(){var t=this;d("#czr-customize-content_editor-pane").on("mousedown mouseup",function(e){if(("mousedown"!==e.type||"czr-customize-content_editor-dragbar"===d(e.target).attr("id")||d(e.target).hasClass("czr-resize-handle"))&&c.sekEditorExpanded())switch(e.type){case"mousedown":d(document).on("mousemove."+sektionsLocalizedData.idOfDetachedTinyMceTextArea,function(e){e.preventDefault(),d(document.body).addClass("czr-customize-content_editor-pane-resize"),d("#czr-customize-content_editor_ifr").css("pointer-events","none"),t.czrResizeEditor(e.pageY)});break;case"mouseup":d(document).off("mousemove."+sektionsLocalizedData.idOfDetachedTinyMceTextArea),d(document.body).removeClass("czr-customize-content_editor-pane-resize"),d("#czr-customize-content_editor_ifr").css("pointer-events","")}})},czrResizeEditor:function(e){var t,i=this,n=window.innerHeight,o=(window.innerWidth,{}),r=d("#czr-customize-content_editor_ifr"),s=d("#wp-czr-customize-content_editor-tools"),a=i.$editorPane.find(".mce-toolbar-grp"),l=i.$editorPane.find(".mce-statusbar");c.sekEditorExpanded()&&(_.isNaN(e)||(t=n-e),o.height=t,o.components=s.outerHeight()+a.outerHeight()+l.outerHeight(),t<40&&(o.height=40),n-1<t&&(o.height=n-1),n<i.$editorPane.outerHeight()&&(o.height=n),i.$preview.css("bottom",o.height),i.$editorPane.css("height",o.height),r.css("height",o.height-o.components))}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,a){a.extend(CZRSeksPrototype,{export_template:function(e){e=e||{},e=a.extend({scope:"local"},e);var i=[],t={sek_export_nonce:d.settings.nonce.save,skope_id:"local"===e.scope?d.czr_skopeBase.getSkopeProperty("skope_id"):sektionsLocalizedData.globalSkopeId,active_locations:d.czr_sektions.activeLocations()};_.each(t,function(e,t){i.push(encodeURIComponent(t)+"="+encodeURIComponent(e))}),wp.ajax.post("sek_pre_export_checks",{nonce:d.settings.nonce.save,sek_export_nonce:d.settings.nonce.save,skope_id:"local"===e.scope?d.czr_skopeBase.getSkopeProperty("skope_id"):sektionsLocalizedData.globalSkopeId,active_locations:d.czr_sektions.activeLocations()}).done(function(){a(window).off("beforeunload"),window.location.href=[sektionsLocalizedData.customizerURL,"?",i.join("&")].join(""),a(window).on("beforeunload")}).fail(function(e){d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",[sektionsLocalizedData.i18n["Export failed"],encodeURIComponent(e)].join(" "),"</strong>","</span>"].join("")})})},import_template_from_file:function(i){i=i||{};var e,t,n=(i=a.extend({is_file_import:!0,pre_import_check:!1,assign_missing_locations:!1,input:"",file_input:""},i)).input;if(_.isEmpty(n))throw new Error("::import_template => missing file_input param");if(_.isEmpty(i.file_input))throw new Error("::import_template => missing file_input param");if(i.file_input.length<1||_.isUndefined(i.file_input[0])||!i.file_input[0].files||_.isEmpty(i.file_input.val()))d.previewer.trigger("sek-notify",{notif_id:"missing-import-file",type:"info",duration:3e4,message:['<span style="color:#0075a2">',"<strong>",sektionsLocalizedData.i18n["Missing file"],"</strong>","</span>"].join("")});else{t=d.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type).scope,n.container.find(".sek-uploading").show(),d.notifications.remove("missing-import-file"),d.notifications.remove("import-success"),d.notifications.remove("import-failed"),d.notifications.remove("img-import-errors");var o=new FormData;if(o.append("file_candidate",i.file_input[0].files[0]),o.append("action","sek_get_manually_imported_file_content"),o.append("nonce",d.settings.nonce.save),_.contains(["local","global"],t)){if(o.append("skope",t),i.pre_import_check&&o.append("pre_import_check",i.pre_import_check),o.append("import_img",n.input_parent.czr_Input("import_img")()),n.container.find(".sek-uploading").show(),e=a.ajax({url:wp.ajax.settings.url,data:o,processData:!1,contentType:!1,type:"POST"}),i.pre_import_check)return a.Deferred(function(){var t=this;e.done(function(e){e.success||t.reject(e),d.czr_sektions.isImportedContentEligibleForAPI(e,i)||t.reject(e),t.resolve(e)}).fail(function(e){t.reject(e)})});d.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0,duration:3e4}),_.delay(function(){"pending"===e.state()&&d.previewer.trigger("sek-notify",{notif_id:"import-too-long",type:"error",duration:2e4,message:["<span>","<strong>",sektionsLocalizedData.i18n['Import exceeds server response time, try to uncheck "import images" option.'],"</strong>","</span>"].join("")})},3e4),e.done(function(e){d.czr_sektions.isImportedContentEligibleForAPI(e,i)?(e.data.data.collection=d.czr_sektions.setIdsForImportedTmpl(e.data.data.collection),d.czr_sektions.doUpdateApiSettingAfter_FileImport(e,i)):d.infoLog("::import_template problem => !api.czr_sektions.isImportedContentEligibleForAPI",e,i)}).fail(function(e){d.errare("::import_template => ajax error",e),d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",sektionsLocalizedData.i18n["Import failed, file problem"],"</strong>","</span>"].join("")})}).always(function(){d.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate(i)})}else d.errare("::import_template => invalid scope provided",t)}},pre_checks_from_file_import:function(e,t){if(t=t||{},(t=a.extend({is_file_import:!0,pre_import_check:!1,assign_missing_locations:!1,input:"",file_input:""},t)).is_file_import&&_.isEmpty(t.input))throw new Error("::pre_checks_from_file_import => missing file_input param");var i=d.czr_sektions.activeLocations(),n=a.extend(!0,[],_.isArray(e.data.metas.active_locations)?e.data.metas.active_locations:[]),o=t.input,r=d.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type);if(n=_.filter(n,function(e){return!_.contains(["nimble_local_header","nimble_local_footer"],e)}),_.isArray(n)&&_.isArray(i)){var s=a(n).not(i).get();_.isEmpty(s)?d.czr_sektions.import_template_from_file(t):(t.is_file_import&&(o.container.find('button[data-czr-action="sek-pre-import"]').hide(),"local"===r.scope?o.container.find(".czr-import-dialog.czr-local-import").slideToggle():o.container.find(".czr-import-dialog.czr-global-import").slideToggle()),d.infoLog("sek-pre-import => imported locations missing in current page.",s))}else d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"info",duration:3e4,message:['<span style="color:#0075a2">',"<strong>",sektionsLocalizedData.i18n["Import failed"],"</strong>","</span>"].join("")}),t.is_file_import&&d.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate(t)},setIdsForImportedTmpl:function(i){var n=this;return(_.isObject(i)||_.isArray(i))&&_.each(i,function(e,t){(_.isObject(e)||_.isArray(e))&&(i[t]=n.setIdsForImportedTmpl(e)),"id"!==t||!_.isString(e)||0!==e.indexOf("__rep__me__")&&0!==e.indexOf("__nimble__")||(i[t]=sektionsLocalizedData.prefixForSettingsNotSaved+d.czr_sektions.guid())}),i},isImportedContentEligibleForAPI:function(e,t){var i=!0,n=e.data,o=null;e.success||(o=[sektionsLocalizedData.i18n["Import failed"],n].join(" : ")),_.isNull(o)&&!_.isObject(n)&&(o=sektionsLocalizedData.i18n["Import failed, invalid file content"]);var r=n.data,s=n.metas,a=n.img_errors;_.isNull(o)&&!_.isObject(r)&&(o=sektionsLocalizedData.i18n["Import failed, invalid file content"]),_.isNull(o)&&!_.isObject(s)&&(o=sektionsLocalizedData.i18n["Import failed, invalid file content"]);var l=d.czr_sektions.localSectionsSettingId();if(t.is_file_import){var c=t.input;l="local"===d.czr_sektions.getInputRegistrationParams(c.id,c.module.module_type).scope?l:d.czr_sektions.getGlobalSectionsSettingId()}return _.isNull(o)&&_.isEqual(d(l)(),r)&&(d.infoLog("::isImportedContentEligibleForAPI => Setting unchanged"),i=!1),_.isNull(o)||(d.errare("::isImportedContentEligibleForAPI => invalid data sent from server",n),d.errare("::isImportedContentEligibleForAPI => importErrorMsg",o),d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",o,"</strong>","</span>"].join("")}),i=!1),_.isEmpty(a)||d.previewer.trigger("sek-notify",{notif_id:"img-import-errors",type:"info",duration:6e4,message:['<span style="color:#0075a2">',["<strong>"+sektionsLocalizedData.i18n["Some image(s) could not be imported"]+"</strong><br/>",'<span style="font-size:11px">'+a+"</span>"].join(" : "),"</span>"].join("")}),i},doUpdateApiSettingAfter_FileImport:function(e,t){if(t=t||{},d.czr_sektions.isImportedContentEligibleForAPI(e,t)||!t.is_file_import){var i="local",n=!1;if(t.is_file_import){var o=t.input,r=d.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type);i=r.scope,n="local"===r.scope&&o.input_parent.czr_Input("keep_existing_sections")()}d.czr_sektions.updateAPISetting({action:"sek-import-from-file",scope:i,imported_content:e.data,assign_missing_locations:t.assign_missing_locations,keep_existing_sections:n}).done(function(){if("local"===i){var e=function(){d.czr_sektions.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0}),d.previewer.unbind("czr-new-skopes-synced",e)};d.previewer.bind("czr-new-skopes-synced",e)}d.previewer.refresh(),d.previewer.trigger("sek-notify",{notif_id:"import-success",type:"success",duration:3e4,message:["<span>","<strong>",sektionsLocalizedData.i18n["File successfully imported"],"</strong>","</span>"].join("")})}).fail(function(e){d.errare("::doUpdateApiSettingAfter_FileImport => error when firing ::updateAPISetting",e),d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",[sektionsLocalizedData.i18n["Import failed"],e].join(" : "),"</strong>","</span>"].join("")})}),d.previewer.refresh()}else d.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate(t)},doAlwaysAfterFileImportAndApiSettingUpdate:function(e){if(d.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0}),e=e||{},(e=a.extend({is_file_import:!0,pre_import_check:!1,assign_missing_locations:!1,input:"",file_input:""},e)).is_file_import){var t=e.input;t.container.find(".sek-uploading").hide(),e.file_input.val("").trigger("change"),t.container.find(".czr-import-dialog").hide(),t.container.find('button[data-czr-action="sek-pre-import"]').show()}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,d){d.extend(CZRSeksPrototype,{setupTemplateGallery:function(){var i=this;i.templateGalleryExpanded=new l.Value(!1),i.tmplInjectDialogVisible=new l.Value(!1),sektionsLocalizedData.isTemplateGalleryEnabled&&(i.tmplSearchFieldVisible=new l.Value(!1),i.tmplSearchFieldVisible.bind(function(e){var t=i.cachedElements.$body.find(".sek-tmpl-filter-wrapper");e?t.fadeIn("fast"):t.fadeOut("fast")}),i.templateGalleryExpanded.bind(function(e){i.cachedElements.$body.toggleClass("sek-template-gallery-expanded",e),e?(i.tmplDialogVisible(!1),i.levelTreeExpanded(!1),i.tmplInjectDialogVisible(!1),d("#customize-preview iframe").css("z-index",1),i.renderOrRefreshTempGallery({tmpl_source:"api_tmpl"})):(d("#customize-preview iframe").css("z-index",""),l.trigger("nb-template-gallery-closed"),i._site_tmpl_scope=null,d('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active"))}),i.tmplInjectDialogVisible.bind(function(e){i.cachedElements.$body.toggleClass("sek-tmpl-dialog-expanded",e),e&&(i.tmplDialogVisible(!1),i.levelTreeExpanded(!1),d("#customize-preview iframe").css("z-index",1))}),l.previewer.bind("ready",function(){i.templateGalleryExpanded(!1)}))},renderTmplGalleryUI:function(){if(0<d("#nimble-tmpl-gallery").length)return d("#nimble-tmpl-gallery");try{_tmpl=wp.template("nimble-top-tmpl-gallery")({})}catch(e){return l.errare("Error when parsing nimble-top-tmpl-gallery template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("#nimble-tmpl-gallery")},renderOrRefreshTempGallery:function(t){t=d.extend({tmpl_source:"api_tmpl"},t||{});var i,n=this;d("#nimble-tmpl-gallery").length<1&&d.when(n.renderTmplGalleryUI({})).done(function(){n.setupTmplGalleryDOMEvents()}),d("#nimble-tmpl-gallery").find(".sek-tmpl-gallery-inner").html("");var o=function(t){return n.getTemplateGalleryHtml(t).done(function(e){(i=d("#nimble-tmpl-gallery")).find(".sek-tmpl-gallery-inner").html(e),i.removeClass("sek-is-site-tmpl-mode"),"api_tmpl"===t.tmpl_source&&n._site_tmpl_scope&&!_.isEmpty(n._site_tmpl_scope)&&i.addClass("sek-is-site-tmpl-mode")})};o(t).done(function(e){_.isEmpty(e)&&"api_tmpl"===t.tmpl_source?("function"==typeof window.console.log&&console.log("Nimble Builder API problem => could not fetch templates"),o({tmpl_source:"user_tmpl"})):((i=d("#nimble-tmpl-gallery")).find("#sek-tmpl-source-switcher").show(),i.find("#sek-tmpl-source-switcher button").attr("aria-pressed","false").removeClass("is-selected"),i.find('[data-sek-tmpl-source="'+t.tmpl_source+'"]').attr("aria-pressed","true").addClass("is-selected"))})},getTemplateGalleryHtml:function(n){var o,r,t=this,s="",a=[sektionsLocalizedData.baseUrl,"/assets/admin/img/wire_frame.png","?ver=",sektionsLocalizedData.nimbleVersion].join(""),l=d.Deferred(),c=d("#nimble-tmpl-gallery").find(".czr-css-loader");c.show();return("user_tmpl"===n.tmpl_source?t.setSavedTmplCollection:t.getApiTmplCollection).call(t).done(function(e){setTimeout(function(){!function(e){if(_.isEmpty(e)&&"user_tmpl"===n.tmpl_source){var t=[sektionsLocalizedData.baseUrl,"/assets/admin/img/empty_tmpl_collection_notice.jpg","?ver=",sektionsLocalizedData.nimbleVersion].join(""),i="https://docs.presscustomizr.com/article/426-how-to-save-and-reuse-templates-with-nimble-builder";s+='<div class="sek-tmpl-empty-collection">',s+="<p>"+sektionsLocalizedData.i18n["You did not save any templates yet."]+"</p>",s+='<img src="'+t+'" />',s+='<br/><a href="'+i+'" target="_blank" rel="noreferrer nofollow">'+i+"</a>",s+="</div>"}else _.each(e,function(e,t){o=_.isEmpty(e.description)?[e.title,e.last_modified_date].join(" | "):[e.title,e.last_modified_date,e.description].join(" | "),r=_.isEmpty(e.thumb_url)?a:e.thumb_url,s+='<div class="sek-tmpl-item" data-sek-tmpl-item-id="'+t+'" data-sek-tmpl-item-source="'+n.tmpl_source+'" data-sek-api-site-tmpl="'+(e.is_site_tmpl?"true":"false")+'" data-sek-is-pro-tmpl="'+(e.is_pro_tmpl?"yes":"no")+'">',s+='<div class="tmpl-top-title"><h3>'+e.title+"</h3></div>",s+='<div class="tmpl-thumb-and-info-wrap">',s+='<div class="sek-tmpl-thumb" style="background-image:url('+r+')"></div>',s+='<div class="sek-tmpl-info" title="'+o+'">',s+='<p class="tmpl-desc tmpl-api-hide">'+e.description+"</p>",s+='<p class="tmpl-date tmpl-api-hide"><i>'+[sektionsLocalizedData.i18n["Last modified"]," : ",e.last_modified_date].join(" ")+"</i></p>",s+='<i class="material-icons use-tmpl" title="'+sektionsLocalizedData.i18n["Use this template"]+'">add_circle_outline</i>',"user_tmpl"===n.tmpl_source&&(s+='<i class="material-icons edit-tmpl" title="'+sektionsLocalizedData.i18n["Edit this template"]+'">edit</i>',s+='<i class="material-icons remove-tmpl" title="'+sektionsLocalizedData.i18n["Remove this template"]+'">delete_forever</i>'),e.is_pro_tmpl&&(s+='<div class="sek-is-pro-template"><img src="'+sektionsLocalizedData.czrAssetsPath+'sek/img/pro_orange.svg" alt="Pro feature"/></div>'),"api_tmpl"===n.tmpl_source&&(e.demo_url&&-1!=e.demo_url.indexOf("http")&&(s+='<div class="sek-tmpl-demo-link tmpl-api-hide"><a href="'+e.demo_url+'?utm_source=usersite&utm_medium=link&utm_campaign=tmpl_demos" target="_blank" rel="noopener noreferrer">'+sektionsLocalizedData.i18n["Live demo"]+' <i class="fas fa-external-link-alt"></i></a></div>'),e.is_site_tmpl&&(s+='<div class="sek-is-site-template" title="Site templates include dynamic template tags.">Site Template</div>')),s+="</div>",s+="</div>",s+="</div>"}),"api_tmpl"!==n.tmpl_source||_.isEmpty(s)||(s+='<div class="sek-tmpl-coming-soon">',s+="<p>"+sektionsLocalizedData.i18n["🍥 More templates coming..."]+"</p>",s+="</div>");0<c.length?c.hide({duration:100,complete:function(){l.resolve(s)}}):l.resolve(s)}(e),t.tmplSearchFieldVisible(!_.isEmpty(e))},0)}).fail(function(){console.log("tmpl collection promise failed",n),l.resolve("")}),l.promise()},setupTmplGalleryDOMEvents:function(){var c=d("#nimble-tmpl-gallery"),a=this;c.on("click",".sek-tmpl-item .use-tmpl",function(e){e.preventDefault(),e.stopPropagation();var t=d(this).closest(".sek-tmpl-item").data("sek-tmpl-item-id"),i=d(this).closest(".sek-tmpl-item").data("sek-tmpl-item-source"),n=d(this).closest(".sek-tmpl-item").find(".tmpl-top-title h3").html(),o="yes"===d(this).closest(".sek-tmpl-item").data("sek-is-pro-tmpl");if(_.isEmpty(t))l.errare("::setupTmplGalleryDOMEvents => error => invalid template id");else{if(o){var r;if(!sektionsLocalizedData.isPro)return void l.previewer.trigger("sek-notify",{type:"info",duration:6e4,notif_id:"go_pro",message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Go pro link when click on pro tmpl or section"]+"</strong>","</span>"].join("")});if(_.isEmpty(sektionsLocalizedData.pro_license_key)?r=sektionsLocalizedData.i18n["Missing license key"]:"valid"!==sektionsLocalizedData.pro_license_status&&(r=sektionsLocalizedData.i18n["Pro license problem"]),!_.isEmpty(r))return void l.previewer.trigger("sek-notify",{type:"error",duration:6e4,is_pro_notif:!0,notif_id:"pro_tmpl_error",message:['<span style="font-size:0.95em">',"<strong>"+r+"</strong>","</span>"].join("")})}if(!a._site_tmpl_scope||_.isEmpty(a._site_tmpl_scope))a.hasCurrentPageNBSectionsNotHeaderFooter()?(a._tmplNameWhileImportDialog=t,a._tmplSourceWhileImportDialog=i,a._tmplIsProWhileImportDialog=o,a.tmplInjectDialogVisible(!0)):(l.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0,duration:3e4}),l.czr_sektions.get_gallery_tmpl_json_and_inject({tmpl_name:t,tmpl_source:i,tmpl_is_pro:o}).always(function(){l.previewer.send("sek-clean-loader")}),a.templateGalleryExpanded(!1));else{var s=d('[data-czrtype="'+a._site_tmpl_scope+'"]');if(0<s.length){if(!_.contains(["user_tmpl","api_tmpl"],i))return void l.errare("Error when picking site template => invalid tmpl source");s.trigger("nb-set-site-tmpl",{site_tmpl_id:t,site_tmpl_source:i,site_tmpl_title:n})}}}}).on("click",".sek-tmpl-gal-inject-dialog .sek-ui-button",function(e){e.preventDefault(),e.stopPropagation();var t=d(this).data("sek-tmpl-inject-mode");"cancel"!==t?_.contains(["replace","before","after"],t)?(l.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0,duration:3e4}),l.czr_sektions.get_gallery_tmpl_json_and_inject({tmpl_name:a._tmplNameWhileImportDialog,tmpl_source:a._tmplSourceWhileImportDialog,tmpl_is_pro:a._tmplIsProWhileImportDialog,tmpl_inject_mode:t}).always(function(){l.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}),a.templateGalleryExpanded(!1)):l.errare("::setupTmplGalleryDOMEvents => error => invalid import mode"):a.tmplInjectDialogVisible(!1)}).on("propertychange change click keyup input paste",".sek-filter-tmpl",_.debounce(function(e){e.preventDefault();var t,i,n,o,r,s,a=d(this).val(),l=function(){c.removeClass("search-active"),c.find(".sek-tmpl-item").each(function(){d(this).removeClass("search-match")})};_.isString(a)?(a=a.trim().toLowerCase(),_.isEmpty(a.replace(/\s/g,""))?l():(c.addClass("search-active"),c.find(".sek-tmpl-item").each(function(){t=(d(this).find(".tmpl-title").html()+"").toLowerCase(),i=(d(this).find(".tmpl-desc").html()+"").toLowerCase(),n=(d(this).find(".tmpl-date").html()+"").toLowerCase(),o=-1!=t.indexOf(a),r=-1!=i.indexOf(a),s=-1!=n.indexOf(a),d(this).toggleClass("search-match",o||r||s)}))):l()},100)).on("click",".sek-tmpl-info .edit-tmpl",function(e){e.preventDefault();var t=function(e){a.tmplDialogMode("edit"),a.tmplDialogMode.unbind(t)};a.tmplToEdit=d(this).closest("[data-sek-tmpl-item-id]").data("sek-tmpl-item-id"),a.tmplDialogMode.bind(t),a.tmplDialogVisible(!0)}).on("click",".sek-tmpl-info .remove-tmpl",function(e){e.preventDefault();var t=function(e){a.tmplDialogMode("remove"),a.tmplDialogMode.unbind(t)};a.tmplToRemove=d(this).closest("[data-sek-tmpl-item-id]").data("sek-tmpl-item-id"),a.tmplDialogMode.bind(t),a.tmplDialogVisible(!0)}).on("click",".sek-close-dialog",function(e){e.preventDefault(),a.templateGalleryExpanded(!1)}).on("click","#sek-tmpl-source-switcher button",function(e){e.preventDefault(),d("#sek-tmpl-source-switcher button").removeClass("is-selected").attr("aria-pressed","false"),d(this).addClass("is-selected").attr("aria-pressed","true"),a.renderOrRefreshTempGallery({tmpl_source:d(this).data("sek-tmpl-source")})})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(t,e){jQuery.extend(CZRSeksPrototype,t.Events);var i=t.Class.extend(CZRSeksPrototype);try{t.czr_sektions=new i}catch(e){t.errare("api.czr_sektions => problem on instantiation",e)}}(wp.customize),function(r,s,a){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{content_type_switcher:function(e){var i,n=this,o=r.czr_sektions;if(!r.section.has(n.module.control.section()))throw new Error("api.czrInputMap.content_type_switcher => section not registered");i=r.section(n.module.control.section());var t=function(t){n.container.find('[data-sek-content-type="'+(t||"module")+'"]').trigger("click"),a.each(i.controls(),function(e){a.isUndefined(e.content_type)||e.active(t===e.content_type)})};r.czr_sektions.currentContentPickerType=r.czr_sektions.currentContentPickerType||new r.Value,r.bind("nimble-modules-and-sections-controls-registered",function(){t(r.czr_sektions.currentContentPickerType())}),r.czr_sektions.currentContentPickerType.bind(function(e){t(e)}),r.czr_sektions.currentContentPickerType(n()),n.container.on("click","[data-sek-content-type]",function(e){e.preventDefault();var t=s(this).data("sek-content-type");if(n.container.find("[data-sek-content-type]").attr("aria-pressed",!1),o.levelTreeExpanded(!1),o.tmplDialogVisible&&o.tmplDialogVisible(!1),o.saveSectionDialogVisible&&o.saveSectionDialogVisible(!1),"template"===t){var i=r.czr_sektions.templateGalleryExpanded();s(this).attr("aria-pressed",!i),self._site_tmpl_scope=null,r.czr_sektions.templateGalleryExpanded(!i)}else r.czr_sektions.templateGalleryExpanded(!1),s(this).attr("aria-pressed",!0),r.czr_sektions.currentContentPickerType(t)}),r.bind("nb-template-gallery-closed",function(){n.container.find('[data-sek-content-type="template"]').attr("aria-pressed",!1)}),t(r.czr_sektions.currentContentPickerType())}})}(wp.customize,jQuery,_),function(t,e,i){t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{module_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"module",input_container:this.container})},section_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"preset_section",input_container:this.container})}})}(wp.customize,jQuery,_),function(s,a,l){s.czrInputMap=s.czrInputMap||{},a.extend(s.czrInputMap,{module_option_switcher:function(e){var t=this;if(!s.section.has(t.module.control.section()))throw new Error(t.input_type+" => section not registered");s.section(t.module.control.section());var i,n="",o=t.module.control.params.sek_registration_params;if(l.isUndefined(o))throw new Error(t.input_type+" => missing registration params");if(o&&o.module_id&&(n=o.module_id,i=o.ui_action),l.isEmpty(n))throw new Error(t.input_type+" => missing module id");t.container.on("click","[data-sek-option-type]",function(e){e.preventDefault(),t.container.find("[data-sek-option-type]").removeClass("is-selected").attr("aria-pressed",!1),a(this).addClass("is-selected").attr("aria-pressed",!0),s.previewer.trigger("settings"===a(this).data("sek-option-type")?"sek-edit-options":"sek-edit-module",{id:n,level:"module"})});var r="sek-generate-level-options-ui"===i?"settings":"content";t.container.find("[data-sek-option-type]").removeClass("is-selected").attr("aria-pressed",!1),t.container.find('[data-sek-option-type="'+r+'"]').addClass("is-selected").attr("aria-pressed",!0)}})}(wp.customize,jQuery,_),function(c,d,p){c.czrInputMap=c.czrInputMap||{};var u=function(e){return p.contains(["px","em","%"],e)||(c.errare("error : invalid unit for input "+this.id,e),e="px"),e},_=function(i){var n=this;i.on("click",".sek-ui-button",function(e,t){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),d(this).addClass("is-selected").attr("aria-pressed",!0),n.css_unit(d(this).data("sek-unit"),t)}),i.find('.sek-ui-button[data-sek-unit="'+(n.initial_unit||"px")+'"]').addClass("is-selected").attr("aria-pressed",!0)},m=function(t,i){var n=this;t.on("click",".reset-spacing-wrap",function(e){e.preventDefault(),t.find('input[type="number"]').each(function(){d(this).val("")}),n(i),d(".sek-unit-wrapper",t).find('[data-sek-unit="px"]').trigger("click")})};d.extend(c.czrInputMap,{spacing:function(e){var o=this,i=d(".sek-spacing-wrapper",o.container),t=c.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),n=p.isEmpty(t)||p.isEmpty(t.default)?[]:t.default;if(i.on("input",'input[type="number"]',function(e){var t=d(this).closest("[data-sek-spacing]").data("sek-spacing"),i=d.extend(!0,{},p.isObject(o())?o():{}),n=d(this).val();p.isString(n)&&!p.isEmpty(n)||p.isNumber(n)?i[t]=n:i=p.omit(i,t),o(i)}),m.call(o,i,n),p.isObject(o())){p.each(o(),function(e,t){d('[data-sek-spacing="'+t+'"]',i).find('input[type="number"]').val(e)});var r="px";d(".sek-unit-wrapper .sek-ui-button",o.container).each(function(){var e=d(this).data("sek-unit");p.isEmpty(o())||p.isEmpty(o().unit)||e===o().unit&&(r=e)}),d(".sek-unit-wrapper",o.container).find('[data-sek-unit="'+u.call(o,r)+'"]').trigger("click")}var s=o();o.initial_unit="px",p.isEmpty(s)||(o.initial_unit=p.isEmpty(s.unit)?"px":s.unit),o.css_unit=new c.Value(u.call(o,o.initial_unit)),o.css_unit.bind(function(e){var t;e=p.isEmpty(e)?"px":e,(t=d.extend(!0,{},p.isObject(o())?o():{})).unit=e,o(t)}),_.call(o,i)}}),d.extend(c.czrInputMap,{spacingWithDeviceSwitcher:function(e){var r=this,s=d(".sek-spacing-wrapper",r.container),t=c.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type),a=p.isEmpty(t)||p.isEmpty(t.default)?{}:t.default,l=function(e,t){var i=["mobile","tablet","desktop"];if(p.has(e,t))return e[t];var n=p.findIndex(i,function(e){return t===e});return!p.isEmpty(t)&&n<i.length?l(e,i[n+1]):{}},i=function(e){var t=d.extend(!0,{},p.isObject(r())?r():{}),i=d.extend(!0,{},a);t=p.isObject(t)?d.extend(i,t):i;var n=l(t,e);d("[data-sek-spacing]",s).each(function(){var e=d(this).data("sek-spacing"),t="";p.isEmpty(n)||p.isEmpty(n[e])||(t=n[e]),d(this).find('input[type="number"]').val(t)});var o="px";d(".sek-unit-wrapper .sek-ui-button",r.container).each(function(){var e=d(this).data("sek-unit");p.isEmpty(n)||p.isEmpty(n.unit)||e===n.unit&&(o=e)}),d(".sek-unit-wrapper",r.container).find('[data-sek-unit="'+u.call(r,o)+'"]').trigger("click",{previewed_device_switched:!0})};c.czr_sektions.maybeSetupDeviceSwitcherForInput.call(r);var n=r();r.initial_unit="px",p.isEmpty(n)||p.isEmpty(n[r.previewedDevice()])||(r.initial_unit=p.isEmpty(n[r.previewedDevice()].unit)?"px":n[r.previewedDevice()].unit),r.css_unit=new c.Value(u.call(r,r.initial_unit)),s.on("input",'input[type="number"]',function(e){var t,i=d(this).closest("[data-sek-spacing]").data("sek-spacing"),n=d(this).val(),o=c.previewedDevice()||"desktop";(t=d.extend(!0,{},p.isObject(r())?r():{}))[o]=d.extend(!0,{},t[o]||{}),p.isString(n)&&!p.isEmpty(n)||p.isNumber(n)?t[o][i]=n:t[o]=p.omit(t[o],i),t[o].unit&&r.css_unit()==t[o].unit||(t[o].unit=r.css_unit()),r(t)}),m.call(r,s,a),r.previewedDevice.bind(function(e){try{i(e)}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}),r.css_unit.bind(function(e,t,i){if(!p.isObject(i)||!0!==i.previewed_device_switched){e=p.isEmpty(e)?"px":e;var n,o=r.previewedDevice()||"desktop";(n=d.extend(!0,{},p.isObject(r())?r():{}))[o]=d.extend(!0,{},n[o]||{}),n[o].unit=e,r(n)}}),_.call(r,s);try{i(c.previewedDevice())}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}})}(wp.customize,jQuery,_),function(n,a,l){n.czrInputMap=n.czrInputMap||{},a.extend(n.czrInputMap,{bg_position:function(e){var t=this;a(".sek-bg-pos-wrapper",t.container).on("change",'input[type="radio"]',function(e){t(a(this).val())}),l.isEmpty(t())||t.container.find('input[value="'+t()+'"]').attr("checked",!0).trigger("click")},bgPositionWithDeviceSwitcher:function(e){var o=this,t=n.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=l.isEmpty(t)||l.isEmpty(t.default)?{}:t.default;n.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var s=function(e,t){var i=["mobile","tablet","desktop"];if(l.has(e,t))return e[t];var n=l.findIndex(i,function(e){return t===e});return!l.isEmpty(t)&&n<i.length?s(e,i[n+1]):{}},i=function(e){var t=a.extend(!0,{},l.isObject(o())?o():{}),i=a.extend(!0,{},r);t=l.isObject(t)?a.extend(i,t):i;var n=s(t,e);o.container.find('input[value="'+n+'"]').attr("checked",!0).trigger("click",{previewed_device_switched:!0})};a(".sek-bg-pos-wrapper",o.container).on("change",'input[type="radio"]',function(e){var t,i=a(this).val();(t=a.extend(!0,{},l.isObject(o())?o():{}))[n.previewedDevice()||"desktop"]=i,o(t)}),o.previewedDevice.bind(function(e){try{i(e)}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+o.id,e)}});try{i(n.previewedDevice())}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type bgPositionWithDeviceSwitcher for input id "+o.id,e)}}})}(wp.customize,jQuery,_),function(l,c,d){l.czrInputMap=l.czrInputMap||{};var e=function(e){var o=this,t=l.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=d.isEmpty(t)||d.isEmpty(t.default)?{}:t.default,i="verticalAlignWithDeviceSwitcher"===o.type?".sek-v-align-wrapper":".sek-h-align-wrapper",s=c(i,o.container);l.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var a=function(e,t){var i=["mobile","tablet","desktop"];if(d.has(e,t))return e[t];var n=d.findIndex(i,function(e){return t===e});return!d.isEmpty(t)&&n<i.length?a(e,i[n+1]):{}},n=function(e){var t=c.extend(!0,{},d.isObject(o())?o():{}),i=c.extend(!0,{},r);t=d.isObject(t)?c.extend(i,t):i;var n=a(t,e);s.find(".selected").removeClass("selected"),s.find('div[data-sek-align="'+n+'"]').addClass("selected")};s.on("click","[data-sek-align]",function(e){var t;e.preventDefault(),(t=c.extend(!0,{},d.isObject(o())?o():{}))[l.previewedDevice()||"desktop"]=c(this).data("sek-align"),s.find(".selected").removeClass("selected"),c.when(c(this).addClass("selected")).done(function(){o(t)})}),o.previewedDevice.bind(function(e){try{n(e)}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}});try{n(l.previewedDevice())}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}};c.extend(l.czrInputMap,{horizTextAlignmentWithDeviceSwitcher:e,horizAlignmentWithDeviceSwitcher:e,verticalAlignWithDeviceSwitcher:e})}(wp.customize,jQuery,_),function(f,g,h){f.czrInputMap=f.czrInputMap||{},g.extend(f.czrInputMap,{font_picker:function(e){var p=this,u=p.input_parent,_=g('select[data-czrtype="'+p.id+'"]',p.container),n=function(e,t){u();h.isNull(p())||h.isEmpty(p())?_.append('<option value="none" selected="selected">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>"):_.append('<option value="none">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>");var i=[{title:sektionsLocalizedData.i18n["Web safe fonts"],type:"cfont",list:t.cfonts},{title:sektionsLocalizedData.i18n["Google fonts"],type:"gfont",list:t.gfonts}],n=f.czr_sektions.sniffAllFonts(),o=sektionsLocalizedData.alreadyUsedFonts,r=[],s=[];if(!h.isEmpty(o)&&h.isObject(o)&&h.each(o,function(e){s.push(e)}),h.isArray(n)&&h.each(n,function(e){s.push(e)}),!h.isEmpty(s)){var a={},l=[];s.forEach(function(e){a[e]=(a[e]||0)+1});var c=h.sortBy(a,function(e){return e});h.each(c,function(i){h.each(a,function(e,t){i!==e||h.contains(l,t)||l.unshift(t)})}),h.each(l,function(e){r.push({name:e})}),i.unshift({title:sektionsLocalizedData.i18n["Already used fonts"],type:null,list:r})}h.each(i,function(e){var t,r,s,i=g("<optgroup>",{label:e.title,html:(t=e.list,r=e.type,s="",h.each(t,function(e){var t,i,n=h.isString(e.name)?e.name:"Undefined Font Family",o=n.replace(/[+|:]/g," ");t=n,i=r,n=h.isEmpty(i)?t:h.isString(t)?["[",i,"]",t].join(""):"",o=o.replace("[cfont]","").replace("[gfont]",""),n==p()?s+='<option selected="selected" value="'+n+'">'+o+"</option>":s+='<option value="'+n+'">'+o+"</option>"}),s)});_.append(i)});var d={escapeMarkup:function(e){return e}};e&&g.extend(d,{resultsAdapter:e,closeOnSelect:!1}),_.czrSelect2(d),g(".czrSelect2-selection__rendered",p.container).css(m(p()))},m=function(e){if(!h.isString(e)||h.isEmpty(e))return{};var t,i,n,o=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return t=r(e),i=o[1]?o[1].replace(/[^0-9.]+/g,""):400,i=h.isNumber(i)?i:400,n=o[1]&&-1!=o[1].indexOf("italic")?"italic":"",{"font-family":"none"==t?"inherit":t.replace(/[+|:]/g," "),"font-weight":i||400,"font-style":n||"normal"}},r=function(e){if(!h.isString(e)||h.isEmpty(e))return e;var t=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return h.isString(t[0])?t[0].replace(/[+|:]/g," "):""},t=p();_.append(g("<option>",{value:t,html:t,selected:"selected"})),p.container.on("click",function(){!0!==_.data("selectOptionsSet")&&(_.data("selectOptionsSet",!0),_.html(""),g.when(function(){var e,t=g.Deferred();h.isEmpty(f.sek_fontCollections)?(h.isUndefined(f.sek_fetchingFontCollection)||"pending"!=f.sek_fetchingFontCollection.state()?(e=f.CZR_Helpers.getModuleTmpl({tmpl:"font_list",module_type:"font_picker_input",module_id:p.module.id}),f.sek_fetchingFontCollection=e):e=f.sek_fetchingFontCollection,e.done(function(e){if("string"!=typeof e||"{"!==e[0])throw new Error("font_picker => server list is not JSON.parse-able");f.sek_fontCollections=JSON.parse(e),t.resolve(f.sek_fontCollections)}).fail(function(e){t.reject(e)})):t.resolve(f.sek_fontCollections);return t.promise()}()).done(function(t){var i;(i=g.Deferred(),void 0!==g.fn.czrSelect2&&void 0!==g.fn.czrSelect2.amd&&"function"==typeof g.fn.czrSelect2.amd.require?g.fn.czrSelect2.amd.require(["czrSelect2/results","czrSelect2/utils"],function(e,t){var n=function(e,t,i){n.__super__.constructor.call(this,e,t,i)};t.Extend(n,e),n.prototype.bind=function(e,t){var i=this;e.on("results:focus",function(e){"true"!=e.element.attr("aria-selected")&&i.trigger("select",{data:e.data})}),n.__super__.bind.call(this,e,t)},i.resolve(n)}):i.resolve(!1),i.promise()).done(function(e){n(e,t),h.isUndefined(p.container.find("select[data-czrtype]").data("czrSelect2"))||p.container.find("select[data-czrtype]").czrSelect2("open")})}).fail(function(e){f.errare("font_picker => fail response =>",e)}))})}})}(wp.customize,jQuery,_),function(s,a,l){s.czrInputMap=s.czrInputMap||{},a.extend(s.czrInputMap,{fa_icon_picker:function(){var n=this,o=!1,r=a('select[data-czrtype="'+n.id+'"]',n.container),e=n();r.append(a("<option>",{value:e,html:e,selected:"selected"})),n.container.on("click",function(){!0!==n.iconCollectionSet&&(a.when(a.Deferred(function(t){l.isEmpty(n.sek_faIconCollection)?s.CZR_Helpers.getModuleTmpl({tmpl:"icon_list",module_type:"fa_icon_picker_input",module_id:n.module.id}).done(function(e){if("string"!=typeof e||"["!==e[0])throw new Error("fa_icon_picker => server list is not JSON.parse-able");n.sek_faIconCollection=JSON.parse(e),t.resolve(n.sek_faIconCollection)}).fail(function(e){t.reject(e)}):t.resolve(n.sek_faIconCollection)})).done(function(e){!function(e){l.each(e,function(e){var t={value:e,html:s.CZR_Helpers.capitalize(e.substring(7))};t.value==n()&&(a.extend(t,{selected:"selected"}),o=!0),r.append(a("<option>",t))});var t,i=function(e){return e.id?a('<span class="'+e.element.value+'"></span><span class="social-name"> '+e.text+"</span>"):e.text};t=o?a("<option>"):a("<option>",{selected:"selected"}),r.prepend(t).czrSelect2({templateResult:i,templateSelection:i,placeholder:sektionsLocalizedData.i18n["Select an icon"],allowClear:!0})}(e),l.isUndefined(n.container.find("select[data-czrtype]").data("czrSelect2"))||n.container.find("select[data-czrtype]").czrSelect2("open")}).fail(function(e){s.errare("fa_icon_picker => fail response =>",e)}),n.iconCollectionSet=!0)})}})}(wp.customize,jQuery,_),function(u,_,m){u.czrInputMap=u.czrInputMap||{},_.extend(u.czrInputMap,{code_editor:function(e){var n,r=this,i=this.module.control,o=(r.input_parent(),!1),s=r.container.find("textarea"),a=r.container.find(".customize-control-title"),l=function(){return _.Deferred(function(t){var i=m.isEmpty(s.data("editor-code-type"))?"text/html":s.data("editor-code-type");u.czr_sektions.code_editor_params&&u.czr_sektions.code_editor_params[i]?t.resolve(u.czr_sektions.code_editor_params[i]):wp.ajax.post("sek_get_code_editor_params",{nonce:u.settings.nonce.save,code_type:i}).done(function(e){m.isObject(e)||u.errare(r.id+" => error => invalid code editor params sent by server",e),u.czr_sektions.code_editor_params={},u.czr_sektions.code_editor_params[i]=e,t.resolve(u.czr_sektions.code_editor_params[i])}).fail(function(e){t.reject(e)})})};r.isReady.done(function(){var t=function(e){m.isEmpty(this.editor)&&(m.isEmpty(this.module.control.container.attr("data-sek-expanded"))||"false"==this.module.control.container.attr("data-sek-expanded")||setTimeout(function(){if(o)try{c(o)}catch(e){u.errare("error in sek_control => code_editor() input",e),d()}else d();a.trigger("click")},10))};n=r(),u.czr_sektions.isJsonString(n)&&(n=JSON.parse(n)),s.html(n),_.when(l()).done(function(e){wp.codeEditor&&(m.isUndefined(e)||!1!==e)&&(o=e),t.call(r),r.module.control.container.first().one("sek-accordion-expanded",function(){t.call(r)})}).fail(function(e){u.errare(r.id+" => error when getting the editor params from server")})});var c=function(e){var t,i=!1;t=m.extend({},e,{onTabNext:CZRSeksPrototype.selectNextTabbableOrFocusable(":tabbable"),onTabPrevious:CZRSeksPrototype.selectPrevTabbableOrFocusable(":tabbable"),onUpdateErrorNotice:p}),r.editor=wp.codeEditor.initialize(s,t),_(r.editor.codemirror.display.lineDiv).attr({role:"textbox","aria-multiline":"true","aria-label":a.html(),"aria-describedby":"editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"}),a.on("click",function(e){e.stopPropagation(),r.editor.codemirror.focus()}),r.editor.codemirror.on("change",function(e){i=!0,s.val(e.getValue()).trigger("change"),i=!1}),n=r(),u.czr_sektions.isJsonString(n)&&(n=JSON.parse(n)),r.editor.codemirror.setValue(n),r.bind(r.id+":changed",function(e){i||r.editor.codemirror.setValue(e)}),r.editor.codemirror.on("keydown",function(e,t){27===t.keyCode&&t.stopPropagation()})},d=function(){var o=s[0];r.editor=o,s.on("blur",function(){s.data("next-tab-blurs",!1)}),s.on("keydown",function(e){var t,i,n;27!==e.keyCode?9!==e.keyCode||e.ctrlKey||e.altKey||e.shiftKey||s.data("next-tab-blurs")||(t=o.selectionStart,i=o.selectionEnd,n=o.value,0<=t&&(o.value=n.substring(0,t).concat("\t",n.substring(i)),s.selectionStart=o.selectionEnd=t+1),e.stopPropagation(),e.preventDefault()):s.data("next-tab-blurs")||(s.data("next-tab-blurs",!0),e.stopPropagation())})},p=function(e){var t;i.setting.notifications.remove(r.id),0!==e.length&&(t=1===e.length?sektionsLocalizedData.i18n.codeEditorSingular.replace("%d","1").replace("%s",a.html()):sektionsLocalizedData.i18n.codeEditorPlural.replace("%d",String(e.length)).replace("%s",a.html()),i.setting.notifications.add(r.id,new u.Notification(r.id,{message:t,type:"warning"})))}}})}(wp.customize,jQuery,_),function(e,r,t){e.czrInputMap=e.czrInputMap||{},r.extend(e.czrInputMap,{range_simple:function(e){var t=this,i=r(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]');o.on("input",function(e){n.val(r(this).val()).trigger("input")}),n.on("input",function(e){t(r(this).val()),o.val(r(this).val())}),o.val(n.val()||0)},number_simple:function(e){var t=this;t.container.find('input[type="number"]').on("input",function(e){t(r(this).val())})}})}(wp.customize,jQuery,_),function(d,p,u){d.czrInputMap=d.czrInputMap||{},p.extend(d.czrInputMap,{range_simple_device_switcher:function(e){var s=this,t=p(".sek-range-with-unit-picker-wrapper",s.container),a=t.find('input[type="number"]'),r=t.find('input[type="range"]'),i=d.czr_sektions.getInputRegistrationParams(s.id,s.module.module_type),l=u.isEmpty(i)||u.isEmpty(i.default)?{}:i.default,c=function(e,t){var i=["mobile","tablet","desktop"];if(u.has(e,t))return e[t];var n=u.findIndex(i,function(e){return t===e});return!u.isEmpty(t)&&n<i.length?c(e,i[n+1]):p.extend(!0,{desktop:""},l).desktop},n=function(e){var t=s(),i={};i=p.extend(!0,{},l),u.isObject(t)?i=p.extend(!0,{},t):u.isString(t)&&!u.isEmpty(t)&&(i={desktop:t});var n,o=c(i,e),r=(n=o,u.isEmpty(n)||!u.isString(n)?"16":n.replace(/px|em|%/g,""));a.val(r).trigger("input",{previewed_device_switched:!0})};d.czr_sektions.maybeSetupDeviceSwitcherForInput.call(s),r.on("input",function(e){a.val(p(this).val()).trigger("input")}),a.on("input",function(e,t){var i,n=d.previewedDevice()||"desktop",o=p(this).val();(i=p.extend(!0,{},u.isObject(s())?s():{}))[n]=p.extend(!0,{},i[n]||{}),u.isString(o)&&!u.isEmpty(o)&&(i[n]=o),(u.isEmpty(t)||u.isObject(t)&&!0!==t.previewed_device_switched)&&s(i),r.val(p(this).val())}),s.previewedDevice.bind(function(e){try{n(e)}catch(e){d.errare("Error when firing syncWithPreviewedDevice for input type "+s.type+" for input id "+s.id,e)}}),r.val(a.val()||0);try{n(d.previewedDevice())}catch(e){d.errare("Error when firing syncWithPreviewedDevice for input type "+s.type+" for input id "+s.id,e)}}})}(wp.customize,jQuery,_),function(a,l,c){a.czrInputMap=a.czrInputMap||{},l.extend(a.czrInputMap,{range_with_unit_picker:function(e){var t=this,i=l(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]'),r=i.find("input[data-czrtype]").data("sek-unit"),s=function(e){return c.contains(["px","em","%"],e)||(a.errare("error : invalid unit for input "+t.id,e),e="px"),e};t.css_unit=new a.Value(c.isEmpty(r)?"px":s(r)),t.css_unit.bind(function(e){e=c.isEmpty(e)?"px":e,i.find('input[type="number"]').trigger("input")}),o.on("input",function(e){n.val(l(this).val()).trigger("input")}),n.on("input",function(e){t(l(this).val()+s(t.css_unit())),o.val(l(this).val())}),o.val(n.val()||0),i.on("click",".sek-ui-button",function(e){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),l(this).addClass("is-selected").attr("aria-pressed",!0),i.find("input[data-czrtype]").data("sek-unit",l(this).data("sek-unit")),t.css_unit(l(this).data("sek-unit"))}),i.find('.sek-ui-button[data-sek-unit="'+r+'"]').addClass("is-selected").attr("aria-pressed",!0)}})}(wp.customize,jQuery,_),function(a,_,m){a.czrInputMap=a.czrInputMap||{},_.extend(a.czrInputMap,{range_with_unit_picker_device_switcher:function(e){var l=this,c=_(".sek-range-with-unit-picker-wrapper",l.container),d=c.find('input[type="number"]'),r=c.find('input[type="range"]'),s=function(e){return m.contains(["px","em","%"],e)||(a.errare("range_with_unit_picker_device_switcher => error : invalid unit for input "+l.id,e),e="px"),e},t=a.czr_sektions.getInputRegistrationParams(l.id,l.module.module_type),p=m.isEmpty(t)||m.isEmpty(t.default)?{}:t.default,i=function(){return c.find("input[data-czrtype]").data("sek-unit")||"px"},u=function(e,t){var i=["mobile","tablet","desktop"];if(m.has(e,t))return e[t];var n=m.findIndex(i,function(e){return t===e});return!m.isEmpty(t)&&n<i.length?u(e,i[n+1]):_.extend(!0,{desktop:""},p).desktop},n=function(e){var t=l(),i={};i=_.extend(!0,{},p),m.isObject(t)?i=_.extend(!0,{},t):m.isString(t)&&!m.isEmpty(t)&&(i={desktop:t});var n,o,r=u(i,e),s=(o=r,m.isEmpty(o)||!m.isString(o)?"px":o.replace(/[0-9]|\.|,/g,"")),a=(n=r,m.isEmpty(n)||!m.isString(n)?"16":n.replace(/px|em|%/g,""));_(".sek-unit-wrapper",c).find('[data-sek-unit="'+s+'"]').trigger("click",{previewed_device_switched:!0}),c.find('.sek-ui-button[data-sek-unit="'+s+'"]').addClass("is-selected").attr("aria-pressed",!0),d.val(a).trigger("input",{previewed_device_switched:!0})};a.czr_sektions.maybeSetupDeviceSwitcherForInput.call(l),l.css_unit=new a.Value(m.isEmpty(i())?"px":s(i()));var o='<button type="button" class="button sek-reset-button sek-float-right">'+sektionsLocalizedData.i18n.Reset+"</button>";l.container.find(".customize-control-title").append(o),l.css_unit.bind(function(e,t,i){m.isObject(i)&&!0===i.previewed_device_switched||d.trigger("input")}),r.on("input",function(e){d.val(_(this).val()).trigger("input")}),d.on("input",function(e,t){var i,n=a.previewedDevice()||"desktop",o=_(this).val()+s(l.css_unit());(i=_.extend(!0,{},m.isObject(l())?l():{}))[n]=_.extend(!0,{},i[n]||{}),m.isString(o)&&!m.isEmpty(o)&&(i[n]=o),(m.isEmpty(t)||m.isObject(t)&&!0!==t.previewed_device_switched)&&l(i),r.val(_(this).val())}),c.on("click",".sek-ui-button",function(e,t){e.stopPropagation(),c.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),_(this).addClass("is-selected").attr("aria-pressed",!0),c.find("input[data-czrtype]").data("sek-unit",_(this).data("sek-unit")),l.css_unit(_(this).data("sek-unit"),t)}),l.previewedDevice.bind(function(e){try{n(e)}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+l.id,e)}}),l.container.on("click",".sek-reset-button",function(e){var t=a.previewedDevice(),i=_.extend(!0,{},m.isObject(l())?l():{});m.isEmpty(i[t])||(i=m.omit(i,t),l(i),n(a.previewedDevice()))}),r.val(d.val()||0);try{n(a.previewedDevice())}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+l.id,e)}}})}(wp.customize,jQuery,_),function(g,h,v){g.czrInputMap=g.czrInputMap||{},h.extend(g.czrInputMap,{borders:function(e){var a=this,l=h(".sek-borders",a.container),c=l.find('input[type="number"]'),d=l.find('input[type="range"]'),p=l.find(".sek-alpha-color-input"),u=function(e){return v.contains(["px","em","%"],e)||(g.errare("borders => error : invalid unit for input "+a.id,e),e="px"),e},_=function(e){return v.isEmpty(e)||!v.isString(e)?"16":e.replace(/px|em|%/g,"")},m=function(e){return v.isEmpty(e)||!v.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=g.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),f=v.isEmpty(t)||v.isEmpty(t.default)?{}:t.default;a.cssBorderTypes=["top","left","right","bottom"];var i,n,o=function(){var e=a(),t="px";return v.isObject(e)&&v.has(e,"_all_")&&v.isObject(e._all_)&&!v.isEmpty(e._all_.wght)&&(t=u(m(e._all_.wght))),t},r=function(){var e=a(),t="#000000";return v.isObject(e)&&v.has(e,"_all_")&&v.isObject(e._all_)&&!v.isEmpty(e._all_.col)&&(t=e._all_.col),t},s=function(e){if(!v.contains(v.union(a.cssBorderTypes,["_all_"]),e))throw new Error("Error in syncWithBorderType : the border type must be one of those values '_all_', 'top', 'left', 'right', 'bottom'");var t=a(),i={},n=h.extend(!0,{},f);v.isObject(t)?i=h.extend(!0,{},t):v.isString(t)&&(i={_all_:{wght:t}});var o,r,s=function(e,t){var i,n=h.extend(!0,{},f);if(!v.has(n,"_all_"))throw new Error("Error when firing getCurrentBorderTypeOrAllValue : the default value of the borders input must be php registered as an array formed : array( 'wght' => '1px', 'col' => '#000000' )");return i=v.isObject(e)&&v.has(e,"_all_")?v.extend(n._all_,e._all_):n._all_,v.has(e,t)&&v.isObject(e[t])?v.extend(i,e[t]):n._all_}(i=h.extend(n,i),e);if(v.isEmpty(s)||!v.isObject(s)||v.isEmpty(s.wght)||v.isEmpty(s.col))throw new Error("Error in syncWithBorderType : getCurrentBorderTypeOrAllValue must return an object formed : array( 'wght' => '1px', 'col' => '#000000' )");o=m(s.wght),r=_(s.wght),h(".sek-unit-wrapper",l).find('[data-sek-unit="'+o+'"]').trigger("click",{border_type_switched:!0}),l.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),c.val(r).trigger("input",{border_type_switched:!0}),p.data("border_type_switched",!0),p.val(s.col).trigger("change"),p.data("border_type_switched",!1)};a.borderColor=new g.Value(v.isEmpty(r())?"#000000":r()),a.css_unit=new g.Value(v.isEmpty(o())?"px":u(o())),a.borderType=new g.Value("_all_"),c.val((i=a(),n=1,v.isObject(i)&&v.has(i,"_all_")&&v.isObject(i._all_)&&!v.isEmpty(i._all_.wght)&&(n=_(i._all_.wght)),n=parseInt(n,10),(!v.isNumber(n)||n<0)&&(g.errare("Error in borders input type for module : "+a.module.module_type+" the initial border width is invalid : "+n),n=1),n)),p.val(a.borderColor()),p.wpColorPicker({palettes:!0,width:1440<=window.innerWidth?271:251,change:function(e,t){h(this).val(t.color.toString()).trigger("colorpickerchange"),a.borderColor(t.color.toString(),{border_type_switched:!0===h(this).data("border_type_switched")})},clear:function(e,t){h(this).val("").trigger("colorpickerchange"),a.borderColor("")}}),a.css_unit.bind(function(e,t,i){(!v.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_unit)&&c.trigger("input",i)}),a.borderColor.bind(function(e,t,i){(!v.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_color)&&c.trigger("input",i)}),a.borderType.bind(function(e){try{s(e)}catch(e){g.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}}),d.on("input",function(e){c.val(h(this).val()).trigger("input")}),c.on("input",function(e,t){var i,n=a.borderType()||"_all_",o=a.borderColor(),r=h(this).val()+u(a.css_unit()),s=h.extend(!0,{},f);(i=h.extend(!0,{},v.isObject(a())?a():s))[n]=h.extend(!0,{},i[n]||s[n]),v.isString(r)&&!v.isEmpty(r)&&(i[n].wght=r),i[n].col=o,(v.isEmpty(t)||v.isObject(t)&&!0!==t.border_type_switched)&&("_all_"===n&&v.each(a.cssBorderTypes,function(e){i=v.omit(i,e)}),a(i)),d.val(h(this).val())}),l.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),l.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),h(this).addClass("is-selected").attr("aria-pressed",!0),l.find("input[data-czrtype]").data("sek-unit",h(this).data("sek-unit")),a.css_unit(h(this).data("sek-unit"),t)}),l.on("click","[data-sek-border-type]",function(e,t){e.preventDefault(),l.find("[data-sek-border-type]").removeClass("is-selected").attr("aria-pressed",!1),h(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=h(this).data("sek-border-type")}catch(e){g.errare("borders input type => error when attaching click event",e)}a.borderType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.borderType()||"_all_",i=h.extend(!0,{},v.isObject(a())?a():{});v.isEmpty(i[t])||(i=v.omit(i,t),a(i),s(t))}),d.val(c.val()||0);try{s(a.borderType())}catch(e){g.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}h('[data-sek-unit="'+a.css_unit()+'"]',l).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(m,f,g){m.czrInputMap=m.czrInputMap||{},f.extend(m.czrInputMap,{border_radius:function(e){var a=this,l=f(".sek-borders",a.container),c=l.find('input[type="number"]'),s=l.find('input[type="range"]'),d=function(e){return g.contains(["px","em","%"],e)||(m.errare("border_radius => error : invalid unit for input "+a.id,e),e="px"),e},p=function(e){return g.isEmpty(e)||!g.isString(e)?"16":e.replace(/px|em|%/g,"")},u=function(e){return g.isEmpty(e)||!g.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=m.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),_=g.isEmpty(t)||g.isEmpty(t.default)?{}:t.default;a.cssRadiusTypes=["top_left","top_right","bottom_right","bottom_left"];var i,n,o=function(){var e=a(),t="px";return g.isObject(e)&&g.has(e,"_all_")&&(t=d(u(e._all_))),t},r=function(e){if(!g.contains(["_all_","top_left","top_right","bottom_right","bottom_left"],e))throw new Error("Error in syncWithRadiusType : the radius type must be one of those values '_all_', 'top_left', 'top_right', 'bottom_right', 'bottom_left', => radius type => "+e);var t=a(),i={},n=f.extend(!0,{},_);g.isObject(t)?i=f.extend(!0,{},t):g.isString(t)&&(i={_all_:"0px"});var o,r,s=function(e,t){var i,n=f.extend(!0,{},_);if(!g.has(n,"_all_"))throw new Error("Error when firing getCurrentRadiusTypeOrAllValue : the default value of the border_radius input must be php registered as an array");return i=g.isObject(e)&&g.has(e,"_all_")?e._all_:n._all_,g.has(e,t)?e[t]:i}(i=f.extend(n,i),e);if(g.isEmpty(s)||!g.isString(s))throw new Error("Error in syncWithRadiusType : getCurrentRadiusTypeOrAllValue must return a string like 3em");o=u(s),r=p(s),f(".sek-unit-wrapper",l).find('[data-sek-unit="'+o+'"]').trigger("click",{radius_type_switched:!0}),l.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),c.val(r).trigger("input",{radius_type_switched:!0})};a.css_unit=new m.Value(g.isEmpty(o())?"px":d(o())),a.radiusType=new m.Value("_all_"),c.val((i=a(),n=0,g.isObject(i)&&g.has(i,"_all_")&&(n=p(i._all_)),n=parseInt(n,10),(!g.isNumber(n)||n<0)&&(m.errare("Error in border_radius input type for module : "+a.module.module_type+" the initial radius is invalid : "+n),n=0),n)),a.css_unit.bind(function(e,t,i){(!g.isObject(i)||!0!==i.radius_type_switched&&!0!==i.initializing_the_unit)&&c.trigger("input",i)}),a.radiusType.bind(function(e){try{r(e)}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}}),s.on("input",function(e){c.val(f(this).val()).trigger("input")}),c.on("input",function(e,t){var i,n=a.radiusType()||"_all_",o=f(this).val()+d(a.css_unit()),r=f.extend(!0,{},_);(i=f.extend(!0,{},g.isObject(a())?a():r))[n]=f.extend(!0,{},i[n]||r[n]),g.isString(o)&&!g.isEmpty(o)&&(i[n]=o),(g.isEmpty(t)||g.isObject(t)&&!0!==t.radius_type_switched)&&("_all_"===n&&g.each(a.cssRadiusTypes,function(e){i=g.omit(i,e)}),a(i)),s.val(f(this).val())}),l.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),l.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0),l.find("input[data-czrtype]").data("sek-unit",f(this).data("sek-unit")),a.css_unit(f(this).data("sek-unit"),t)}),l.on("click","[data-sek-radius-type]",function(e,t){e.preventDefault(),l.find("[data-sek-radius-type]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=f(this).data("sek-radius-type")}catch(e){m.errare("border_radius input type => error when attaching click event",e)}a.radiusType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.radiusType()||"_all_",i=f.extend(!0,{},g.isObject(a())?a():{});g.isEmpty(i[t])||(i=g.omit(i,t),a(i),r(t))}),s.val(c.val()||0);try{r(a.radiusType())}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}f('[data-sek-unit="'+a.css_unit()+'"]',l).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(r,s,a){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{buttons_choice:function(e){var n=this,o=s(".sek-button-choice-wrapper",n.container),t=o.find('input[type="number"]'),i=r.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type);a.isEmpty(i)||a.isEmpty(i.default)||i.default;t.val(n()),o.on("click","[data-sek-choice]",function(e,t){var i;e.stopPropagation(),o.find("[data-sek-choice]").removeClass("is-selected").attr("aria-pressed",!1),s(this).addClass("is-selected").attr("aria-pressed",!0);try{i=s(this).data("sek-choice")}catch(e){r.errare("buttons_choice input type => error when attaching click event",e)}n(i)}),s('[data-sek-choice="'+n()+'"]',o).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(n,o,r){n.czrInputMap=n.czrInputMap||{},o.extend(n.czrInputMap,{reset_button:function(e){this.container.on("click","[data-sek-reset-scope]",function(e,t){e.stopPropagation();var i=o(this).data("sek-reset-scope");!r.isEmpty(i)&&r.contains(["local","global"],i)?n.previewer.trigger("sek-reset-collection",{scope:"local"}):n.errare("reset_button input => invalid scope provided.",i)})}})}(wp.customize,jQuery,_),function(i,r,s){i.czrInputMap=i.czrInputMap||{},r.extend(i.czrInputMap,{revision_history:function(e){var o=this;_selected_found=!1;var t=function(t){!0!==o.revisionHistorySet&&(r.when(r.Deferred(function(t){s.isEmpty(o.sek_revisionHistory)?i.czr_sektions.getRevisionHistory({is_local:"local_revisions"===o.id}).done(function(e){if(!s.isObject(e))throw new Error("_getRevisionHistory => server list is not a object");o.sek_revisionHistory=e,t.resolve(o.sek_revisionHistory)}).fail(function(e){t.reject(e)}):t.resolve(o.sek_revisionHistory)})).done(function(e){!function(e){if(!(0<o.container.find(".sek-revision-history").length))if(s.isEmpty(e))o.container.append(["<i>",sektionsLocalizedData.i18n["No revision history available for the moment."],"</i>"].join(""));else{o.container.append(r("<select/>",{class:"sek-revision-history",html:['<option value="_select_">'," -",sektionsLocalizedData.i18n.Select,"- ","</option>"].join("")}));var n=[];s.each(e,function(e,t){var i={value:t,html:e};i.value==o()&&(r.extend(i,{selected:"selected"}),_selected_found=!0),n.unshift(r("<option>",i))}),n[0].html([n[0].html(),sektionsLocalizedData.i18n["(currently published version)"]].join(" ")),s.each(n,function(e){r("select.sek-revision-history",o.container).append(e)}),r("select.sek-revision-history",o.container).selecter()}}(e),t&&!0===t.open_on_init&&s.delay(function(){try{r("select[data-czrtype]",o.container).czrSelect2("open")}catch(e){}},100)}).fail(function(e){i.errare("_getRevisionHistory => fail response =>",e)}),o.revisionHistorySet=!0)};o.container.on("change",".sek-revision-history",function(){var e=r(this).val();"_select_"!==e&&i.czr_sektions.setSingleRevision({revision_post_id:e,is_local:"local_revisions"===o.id})}),s.delay(function(){t({open_on_init:!1})},1e3)}})}(wp.customize,jQuery,_),function(p,u,_){p.czrInputMap=p.czrInputMap||{},u.extend(p.czrInputMap,{nimble_tinymce_editor:function(){var t=this,e=t.container.find("textarea").first(),i=0<e.length?e.attr("id"):null,n=p.czr_sektions.getInputRegistrationParams(t.id,t.module.module_type),o=sektionsLocalizedData.defaultToolbarBtns;if(_.isNull(i))throw new Error("api.czrInputMap.nimble_tinymce_editor => missing textarea for module :"+t.module.id);if(!window.tinyMCE)throw new Error("api.czrInputMap.nimble_tinymce_editor => tinyMCE not defined.");if(tinyMCE.get(i))throw new Error("api.czrInputMap.nimble_tinymce_editor => duplicate editor id.");var r=function(){return n&&n.editor_params&&!0===n.editor_params.autop},s={tinymce:{toolbar1:function(){var e=o.split(",");if(n.editor_params&&_.isArray(n.editor_params.excludedBtns)){var t=n.editor_params.excludedBtns;e=_.filter(e,function(e){return!_.contains(t,e)})}if(n.editor_params&&_.isString(n.editor_params.includedBtns)){var i=n.editor_params.includedBtns;_.isEmpty(i)||!_.isArray(sektionsLocalizedData[i])?p.errare("nimble_tinymce_editor input => invalid set of buttons provided",i):(i=sektionsLocalizedData[i],e=_.filter(e,function(e){return _.contains(i,e)}))}return e.join(",")}(),content_css:function(){var e=[sektionsLocalizedData.tinyMceNimbleEditorStylesheetUrl];if(!wp.oldEditor.getDefaultSetting)return e;var t=wp.oldEditor.getDefaultSettings();return t&&t.tinymce&&t.tinymce.content_css&&(e=_.union(t.tinymce.content_css.split(","),e)),e.join(",")}(),min_height:40,height:n.editor_params&&_.isNumber(n.editor_params.height)?n.editor_params.height:p.czr_sektions.TINYMCE_EDITOR_HEIGHT},quicktags:{buttons:"strong,em,link,code"},mediaButtons:!n.editor_params||!1!==n.editor_params.media_button};s.tinymce.wpautop=r(),r()||(s.tinymce.forced_root_block=""),wp.oldEditor.initialize(i,s);var a=tinyMCE.get(i);if(!a)throw new Error("setupTinyMceEditor => missing editor instance for module :"+t.module.id);p.czrActiveWPEditors=p.czrActiveWPEditors||[];var l=u.extend(!0,[],p.czrActiveWPEditors);l.push(i),p.czrActiveWPEditors=l;var c,d=function(){c=t(),p.czr_sektions.isJsonString(c)&&(c=JSON.parse(c)),e.html(c),a.setContent(c)};a.initialized?d():a.on("init",d),a.on("input change keyup",function(e){t(a.getContent())})},detached_tinymce_editor:function(){var e,t=this,i=u("textarea#"+sektionsLocalizedData.idOfDetachedTinyMceTextArea),n=p.czr_sektions.getInputRegistrationParams(t.id,t.module.module_type);if(!(0<i.length))throw new Error("api.czrInputMap::detached_tinymce_editor => missing textarea element");if(e=i.attr("id"),window.tinymce&&(mceInstance=window.tinymce.get(e),mceInstance&&mceInstance.remove()),!window.nimbleTinyMCEPreInit||!window.nimbleTinyMCEPreInit.mceInit||!window.nimbleTinyMCEPreInit.mceInit[e])throw new Error("setupDetachedTinyMceEditor => invalid nimbleTinyMCEPreInit global var");var o=nimbleTinyMCEPreInit.mceInit[e];o.content_css=function(){var e=[sektionsLocalizedData.tinyMceNimbleEditorStylesheetUrl];if(!wp.oldEditor.getDefaultSetting)return e;var t=wp.oldEditor.getDefaultSettings();return t&&t.tinymce&&t.tinymce.content_css&&(e=_.union(t.tinymce.content_css.split(","),e)),e.join(",")}();var r,s=t.input_parent,a=function(){var e=s();return _.isUndefined(e.autop)?n&&n.editor_params&&!0===n.editor_params.autop:e.autop};o.wpautop=a(),a()||(o.forced_root_block=""),o.toolbar1=sektionsLocalizedData.defaultToolbarBtns,o.toolbar2="",window.tinymce?(window.tinymce.init(o),window.QTags.getInstance(e)):window.console&&console.log("Error in ::detached_tinymce_editor => window.tinymce not defined "),window.tinyMCE?r=tinyMCE.get(e):window.console&&console.log("Error in ::detached_tinymce_editor => window.tinyMCE not defined ");var l,c=function(){l=t(),p.czr_sektions.isJsonString(l)&&(l=JSON.parse(l)),r.setContent(l),p.sekEditorExpanded(!0),u(window).trigger("resize")};r&&(r.initialized?c():r.on("init",c),r.on("input change keyup keydown click SetContent BeforeSetContent",function(e){t(a()?r.getContent():wp.oldEditor.removep(r.getContent()))})),p.sekCurrentDetachedTinyMceInput=t,i.data("czr-bound-for-detached-editor")||(i.on("input",function(e,t){p.sekCurrentDetachedTinyMceInput(u(this).val())}),i.data("czr-bound-for-detached-editor",!0))}})}(wp.customize,jQuery,_),function(c,d,p){c.czrInputMap=c.czrInputMap||{},d.extend(c.czrInputMap,{import_export:function(){var r=this,t=r.container.find('button[data-czr-action="sek-pre-import"]'),s=r.container.find("input[name=sek-import-file]"),e=c.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type),a=e.scope,l="local"===e.scope?c.czr_sektions.localSectionsSettingId():c.czr_sektions.getGlobalSectionsSettingId();p.contains(["local","global"],a)||c.errare("api.czrInputMap.import_export => invalid currentScope",a),s.on("change",function(e){t.toggleClass("disabled",p.isEmpty(d(this).val()))});r.container.on("click","[data-czr-action]",function(e){var i,t;switch(e.stopPropagation(),d(this).data("czr-action")){case"sek-export":if(i=!1,t=wp.customize.dirtyValues(),p.isEmpty(t)||p.each(t,function(e,t){i||(i=-1!==t.indexOf("nimble"))}),i){alert(sektionsLocalizedData.i18n["You need to publish before exporting."]);break}var n=c(l)(),o=!0;if(p.each(n.collection,function(e){o&&(p.isEmpty(e.collection)||(o=!1))}),o){alert(sektionsLocalizedData.i18n["Nothing to export."]);break}c.czr_sektions.export_template({scope:a});break;case"sek-pre-import":if(p.isEmpty(c.czr_sektions.activeLocations())){alert(sektionsLocalizedData.i18n["The current page has no available locations to import Nimble Builder sections."]);break}c.czr_sektions.import_template_from_file({pre_import_check:!0,input:r,file_input:s}).done(function(e){c.czr_sektions.pre_checks_from_file_import(e,{pre_import_check:!1,input:r,file_input:s})}).fail(function(e){c.errare("import_export_ input => pre_checks_from_file_import failed",e),c.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate({input:r,file_input:s}),c.czr_sektions.import_template_from_file({input:r,file_input:s})});break;case"sek-import-as-is":c.czr_sektions.import_template_from_file({input:r,file_input:s});break;case"sek-import-assign":c.czr_sektions.import_template_from_file({assign_missing_locations:!0,input:r,file_input:s});break;case"sek-cancel-import":c.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate({input:r,file_input:s})}})}})}(wp.customize,jQuery,_),function(l,c,d){l.czrInputMap=l.czrInputMap||{},c.extend(l.czrInputMap,{simpleselect:function(e){l.czr_sektions.setupSelectInput.call(this,e)},multiselect:function(e){l.czr_sektions.setupSelectInput.call(this,e)},simpleselectWithDeviceSwitcher:function(e){var r=this,t=(r.input_parent,r.module,l.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type)),o=c("select",r.container),s=d.isEmpty(t)||d.isEmpty(t.default)?{}:t.default,i={params:e=d.isEmpty(e)?t.choices:e};if(r.module.trigger("nimble-set-select-input-options",i),e=i.params,!d.isEmpty(e)&&d.isObject(e)){d.each(e,function(e,t){var i={value:t,html:e};t==r()?c.extend(i,{selected:"selected"}):"px"===t&&c.extend(i,{selected:"selected"}),o.append(c("<option>",i))});var a=function(e,t){var i=["mobile","tablet","desktop"];if(d.has(e,t))return e[t];var n=d.findIndex(i,function(e){return t===e});return!d.isEmpty(t)&&n<i.length?a(e,i[n+1]):c.extend(!0,{desktop:""},s).desktop};l.czr_sektions.maybeSetupDeviceSwitcherForInput.call(r),o.on("change",function(e,t){var i,n=l.previewedDevice()||"desktop",o=c(this).val();(i=c.extend(!0,{},d.isObject(r())?r():{}))[n]=c.extend(!0,{},i[n]||{}),d.isString(o)&&!d.isEmpty(o)&&(i[n]=o),(d.isEmpty(t)||d.isObject(t)&&!0!==t.previewed_device_switched)&&r(i)}),r.previewedDevice.bind(function(e){try{!function(e){var t=r(),i={};i=c.extend(!0,{},s),d.isObject(t)?i=c.extend(!0,{},t):d.isString(t)&&!d.isEmpty(t)&&(i={desktop:t});var n=a(i,e);o.val(n).trigger("change",{previewed_device_switched:!0})}(e)}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type "+r.type+" for input id "+r.id,e)}})}else l.errare("api.czr_sektions.setupSelectInput => missing select options for input id => "+r.id+" in module "+r.module.module_type)}})}(wp.customize,jQuery,_),function(a,l,c){a.czrInputMap=a.czrInputMap||{},l.extend(a.czrInputMap,{category_picker:function(e){var n=this,o=l("select[data-czrtype]",n.container),r=function(){var e=n();return e=c.isString(e)?[e]:e,c.isArray(e)?e:[]},t=function(t){!0!==n.catCollectionSet&&(l.when(l.Deferred(function(i){c.isEmpty(a.czr_sektions.post_categories)?wp.ajax.post("sek_get_post_categories",{nonce:a.settings.nonce.save}).done(function(e){c.isArray(e)||a.errare(n.id+" => error => invalid category collection sent by server");var t={};c.each(e,function(e){c.isEmpty(e.slug)||c.isEmpty(e.name)?i.reject("missing slug or name for at least one category"):t[e.slug]=e.name}),a.czr_sektions.post_categories=t,i.resolve(a.czr_sektions.post_categories)}).fail(function(e){i.reject(e)}):i.resolve(a.czr_sektions.post_categories)})).done(function(e){i(e),t&&!0===t.open_on_init&&c.delay(function(){try{o.czrSelect2("open")}catch(e){}},100)}).fail(function(e){a.errare(n.id+" => fail response when _getCategoryCollection()",e)}),n.catCollectionSet=!0)},i=function(e){c.each(e,function(e,t){var i={value:t,html:e};c.contains(r(),t)&&l.extend(i,{selected:"selected"}),o.append(l("<option>",i))}),o.czrSelect2({closeOnSelect:!0,templateSelection:function(e){return e.text.replace(/\u2013|\u2014/g,"")}}),o.on("change",function(){0===l(this).find("option:selected").length&&n([])})},s={};c.each(r(),function(e){s[e]=(e+"").replace(/-/g," ")}),i(s),n.container.on("click",function(){!0!==n.catCollectionSet&&(o.czrSelect2("destroy"),l.when(o.find("option").remove()).done(function(){t({open_on_init:!0})}))})}})}(wp.customize,jQuery,_),function(r,s,e){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{grid_layout:function(e){var n=this,o=s(".sek-grid-layout-wrapper",n.container);o.find('input[type="hidden"]').val(n()),o.on("click","[data-sek-grid-layout]",function(e,t){var i;e.stopPropagation(),o.find("[data-sek-grid-layout]").removeClass("selected").attr("aria-pressed",!1),s(this).addClass("selected").attr("aria-pressed",!0);try{i=s(this).data("sek-grid-layout")}catch(e){r.errare(n.type+" => error when attaching click event",e)}n(i)}),s('[data-sek-grid-layout="'+n()+'"]',o).trigger("click")}})}(wp.customize,jQuery,_),function(i,e,t){i.czrInputMap=i.czrInputMap||{},e.extend(i.czrInputMap,{refresh_preview_button:function(e){this.container.on("click",".sek-refresh-button",function(e,t){e.stopPropagation(),i.previewer.refresh()})}})}(wp.customize,jQuery,_),function(_,m,f){_.czrInputMap=_.czrInputMap||{},m.extend(_.czrInputMap,{site_tmpl_picker:function(n){var o,i,r,s,a,l,c=this,d=m("[data-czrtype]",c.container),p={site_tmpl_id:"_no_site_tmpl_",site_tmpl_source:"user_tmpl",site_tmpl_title:""};c.container.one("site-tmpl-input-rendered",function(){_.czr_sektions.allSavedTemplates.bind(function(e){var t=c();if(r=m.extend(!0,{},f.isObject(t)?t:{}),f.isObject(r)&&!f.isArray(r)||(r=m.extend(!0,{},p)),s=r.site_tmpl_id,a=r.site_tmpl_source,l=r.site_tmpl_title,!f.isEmpty(s)&&f.isString(s)&&f.isObject(e)&&"user_tmpl"==a)if(e[s])try{u()}catch(e){_.errare("Error when printing template val",e)}else d.trigger("nb-set-site-tmpl",p)})});var u=function(i){i=m.extend({see_me:!1},i||{});var t=function(e,t){o='<span class="sek-current-site-tmpl">',"_no_site_tmpl_"===e||f.isEmpty(e)?(o+=sektionsLocalizedData.i18n["No template set."],c.container.removeClass("sek-has-site-tmpl"),c.container.removeClass("sek-site-tmpl-not-found")):"_tmpl_not_found_"===e||f.isEmpty(e)?(o+=sektionsLocalizedData.i18n["Template not found : reset or pick another one."],c.container.removeClass("sek-has-site-tmpl"),c.container.addClass("sek-site-tmpl-not-found")):(o+=sektionsLocalizedData.i18n["Active template : "]+(f.isEmpty(t)?e:t),c.container.addClass("sek-has-site-tmpl"),c.container.removeClass("sek-site-tmpl-not-found")),o+="</span>",c.container.find(".sek-current-site-tmpl").remove(),c.container.find(".czr-input").prepend(o),i.see_me&&"_no_site_tmpl_"!=e&&(c.container.addClass("button-see-me"),f.delay(function(){c.container.removeClass("button-see-me")},800)),c.container.trigger("site-tmpl-input-rendered")},e=c();r=m.extend(!0,{},f.isObject(e)?e:{}),f.isObject(r)&&!f.isArray(r)||(r=m.extend(!0,{},p)),s=r.site_tmpl_id,a=r.site_tmpl_source,l=r.site_tmpl_title,f.isString(s)&&!f.isEmpty(s)||(_.errare("printCurrentTemplateName : Error => site template must be a string"),s="_no_site_tmpl_"),"_no_site_tmpl_"===s?t(r.site_tmpl_id,l):(_tmpl_collection_promise="user_tmpl"===a?_.czr_sektions.setSavedTmplCollection:_.czr_sektions.getApiTmplCollection,_tmpl_collection_promise.call(_.czr_sektions).done(function(e){f.isObject(e)&&e[s]&&e[s].title?l=e[s].title:"user_tmpl"===a&&(_.errare("::printCurrentTemplateName => site template not found in collection => previously removed => id : "+s+" | source : "+a),s="_tmpl_not_found_"),t(s,l)}).fail(function(){_.errare("printCurrentTemplateName error when getting collection promise failed",n),_dfd_.resolve("")}))};c.container.on("click","[data-sek-group-scope]",function(e,t){e.stopPropagation();var i=m(this).data("sek-group-scope");f.isEmpty(i)?_.errare("site_tmpl_picker input => invalid scope provided.",i):c.container.hasClass("sek-site-tmpl-picking-active")?(_.czr_sektions._site_tmpl_scope=null,_.czr_sektions.templateGalleryExpanded(!1),m('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active")):(_.czr_sektions._site_tmpl_scope=c.id,_.czr_sektions.templateGalleryExpanded(!0),m('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active"),c.container.addClass("sek-site-tmpl-picking-active"))}),c.container.on("click",".sek-remove-site-tmpl",function(e,t){e.stopPropagation(),d.trigger("nb-set-site-tmpl",p)}),d.on("nb-set-site-tmpl",function(e,t){if(f.isObject(t))if(f.isUndefined(t.site_tmpl_id)||f.isUndefined(t.site_tmpl_source)||f.isUndefined(t.site_tmpl_title))_.errare("site_tmpl_picker => error => invalid args passed on tmpl pick",t);else{i=m.extend(!0,{},p),i=m.extend(i,t),c(i);try{u({see_me:!0})}catch(e){_.errare("Error when printing template val",e)}"_no_site_tmpl_"!==i.site_tmpl_id&&(_.czr_sektions.templateGalleryExpanded(!1),m('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active"))}else _.errare("site_tmpl_picker => error => wrong args on tmpl pick",t)});try{u()}catch(e){_.errare("Error when printing template val",e)}}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_content_type_switcher_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_content_type_switcher_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_content_type_switcher_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_module_picker_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_module_picker_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_module_picker_module"))}})}(wp.customize,jQuery,_),function(t,e,i){t.czrModuleMap=t.czrModuleMap||{};var n=sektionsLocalizedData.presetSectionsModules;i.isArray(n)&&!i.isEmpty(n)?i.each(n,function(e){t.czrModuleMap[e]={crud:!1,name:t.czr_sektions.getRegisteredModuleProperty(e,"name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData(e))}}):t.errare("api.czrModuleMap => error when adding section modules")}(wp.customize,jQuery,_),function(a,n,l){var e={initialize:function(e,t){this.inputConstructor=a.CZRInput.extend({initialize:function(e,t){var i=this;a.CZRInput.prototype.initialize.call(i,e,t),i.isReady.then(function(){i.renderUserSavedSections(),i.attachDomEvents()})},getUserSavedSections:function(){var t=n.Deferred();return l.isEmpty(a.czr_sektions.userSavedSections)?a.czr_sektions.getSavedSectionCollection().done(function(e){t.resolve(e)}):t.resolve(a.czr_sektions.userSavedSections),t.promise()},renderUserSavedSections:function(){var o=this,r="",s=o.container.find(".sek-content-type-wrapper"),t=function(e){if(s.find(".sek-user-section-wrapper").remove(),l.isEmpty(e)){var t=[sektionsLocalizedData.baseUrl,"/assets/admin/img/save_section_notice.png","?ver=",sektionsLocalizedData.nimbleVersion].join(""),i="https://docs.presscustomizr.com/article/417-how-to-save-and-reuse-sections-with-nimble-builder";r=['<div class="sek-user-section-wrapper">','<img src="'+t+'" />','<br/><a href="'+i+'" target="_blank" rel="noreferrer nofollow">'+i+"</a>","</div>"].join(""),s.append(r),o.module.container.find(".czr-item-content .customize-control-title").html(sektionsLocalizedData.i18n["You did not save any section yet."])}else{var n="background: url("+[sektionsLocalizedData.baseUrl,"/assets/admin/img/nb_sec_pholder.png","?ver=",sektionsLocalizedData.nimbleVersion].join("")+") 50% 50% / cover no-repeat;";l.each(e,function(e,t){l.isEmpty(e.description)?_titleAttr=[e.title,e.last_modified_date].join(" | "):_titleAttr=[e.title,e.last_modified_date,e.description].join(" | "),r=['<div class="sek-user-section-wrapper">','<div draggable="true" data-sek-is-user-section="true" data-sek-section-type="content" data-sek-content-type="preset_section" data-sek-content-id="'+t+'" style="" title="'+e.title+'">','<div class="sek-sec-thumb" style="'+n+'"></div>','<div class="sek-overlay"></div>','<div class="sek-sec-info" title="'+_titleAttr+'">','<h3 class="sec-title">'+e.title+"</h3>",'<p class="sec-date"><i>'+[sektionsLocalizedData.i18n["Last modified"]," : ",e.last_modified_date].join(" ")+"</i></p>",'<p class="sec-desc">'+e.description+"</p>",'<i class="material-icons edit-user-sec" title="'+sektionsLocalizedData.i18n["Edit this template"]+'">edit</i>','<i class="material-icons remove-user-sec" title="'+sektionsLocalizedData.i18n["Remove this template"]+'">delete_forever</i>',"</div>","</div>","</div>"].join(""),s.append(r)})}s.find(".czr-css-loader").remove(),a.czr_sektions.trigger("sek-refresh-dragzones",{type:"preset_section",input_container:o.container})};s.append('<div class="czr-css-loader czr-mr-loader" style="display:block"><div></div><div></div><div></div></div>'),o.getUserSavedSections().done(function(e){t(e)}),a.czr_sektions.allSavedSections.bind(function(e){t(e)})},attachDomEvents:function(){this.container.on("click",".sek-sec-info .remove-user-sec",function(e){e.preventDefault();var t=a.czr_sektions;t.saveSectionDialogVisible(!1);var i=function(e){t.saveSectionDialogMode("remove"),t.saveSectionDialogMode.unbind(i)};t.userSectionToRemove=n(this).closest("[data-sek-content-id]").data("sek-content-id"),t.saveSectionDialogMode.bind(i),t.saveSectionDialogVisible(!0)}).on("click",".sek-sec-info .edit-user-sec",function(e){e.preventDefault();var t=a.czr_sektions;t.saveSectionDialogVisible(!1);var i=function(e){t.saveSectionDialogMode("edit"),t.saveSectionDialogMode.unbind(i)};t.userSectionToEdit=n(this).closest("[data-sek-content-id]").data("sek-content-id"),t.saveSectionDialogMode.bind(i),t.saveSectionDialogVisible(!0)})}}),a.CZRDynModule.prototype.initialize.call(this,e,t)}};a.czrModuleMap=a.czrModuleMap||{},n.extend(a.czrModuleMap,{sek_my_sections_sec_picker_module:{mthds:e,crud:!1,name:a.czr_sektions.getRegisteredModuleProperty("sek_my_sections_sec_picker_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:a.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_my_sections_sec_picker_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_mod_option_switcher_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_mod_option_switcher_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_mod_option_switcher_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_anchor_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_anchor_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_anchor_module"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var t=this,n=t.module;t.czr_Input.each(function(i){switch(i.id){case"bg-apply-overlay":r.each(["bg-color-overlay","bg-opacity-overlay"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return o.CZR_Helpers.isChecked(i())})}catch(e){o.errare(n.id+" => error in setInputVisibilityDeps",e)}});break;case"bg-parallax":r.each(["bg-parallax-force","bg-scale","bg-repeat"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"bg-parallax-force":e=o.CZR_Helpers.isChecked(i());break;case"bg-repeat":case"bg-scale":e=!o.CZR_Helpers.isChecked(i())}return e})}catch(e){o.errare(n.id+" => error in setInputVisibilityDeps",e)}}),i.bind(function(e){o.CZR_Helpers.isChecked(i())&&o.CZR_Helpers.isChecked(t.czr_Input("bg-attachment")())&&t.czr_Input("bg-attachment").container.find("input[type=checkbox]").trigger("click")});break;case"bg-attachment":i.bind(function(e){o.CZR_Helpers.isChecked(i())&&o.CZR_Helpers.isChecked(t.czr_Input("bg-parallax")())&&t.czr_Input("bg-parallax").container.find("input[type=checkbox]").trigger("click")});break;case"bg-use-video":r.each(["bg-video","bg-video-loop","bg-video-delay-start","bg-video-on-mobile","bg-video-start-time","bg-video-end-time"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return o.CZR_Helpers.isChecked(i())})}catch(e){o.errare(n.id+" => error in setInputVisibilityDeps",e)}})}}),n.control&&n.control.params&&n.control.params.sek_registration_params&&(r.contains(["section","column"],n.control.params.sek_registration_params.level)||r.each(["bg-use-video","bg-video","bg-video-loop","bg-video-on-mobile","bg-video-start-time","bg-video-end-time"],function(e){t.czr_Input(e).visible(!1)}))}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{sek_level_bg_module:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("sek_level_bg_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:r.extend({id:"",title:""},o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_bg_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_text_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_text_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_text_module")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_border_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_border_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_border_module"))}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use-custom-breakpoint":o.each(["custom-breakpoint","apply-to-all"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(i.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_breakpoint_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_breakpoint_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_breakpoint_module"))}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"height-type":o.each(["custom-height","overflow_hidden"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"custom"===t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_height_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_height_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_height_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_visibility_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_visibility_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_visibility_module"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"width-type":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"custom-width",function(){return"custom"===e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_width_module:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_width_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_module"))}})}(wp.customize,jQuery,_),function(d,p,u){var e={initialize:function(e,t){var i=this;i.inputConstructor=d.CZRInput.extend(i.CZRInputConstructor||{}),i.itemConstructor=d.CZRItem.extend(i.CZRItemConstructor||{}),d.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputConstructor:{range_simple:function(e){var t,i=this,n=p(".sek-range-with-unit-picker-wrapper",i.container),o=n.find('input[type="number"]'),r=n.find('input[type="range"]');try{t=i.module.control.params.sek_registration_params}catch(e){return void d.errare("Error when getting the module registration params",e)}if(u.isUndefined(t.level_id))d.errare("Error : missing column id",er);else if(i.columnId=t.level_id,i.columnModel=p.extend(!0,{},d.czr_sektions.getLevelModel(i.columnId)),i.parentSectionModel=d.czr_sektions.getParentSectionFromColumnId(i.columnId),"no_match"!=i.columnModel)if("no_match"!=i.parentSectionModel){i.colNb=u.size(i.parentSectionModel.collection),o.attr("data-sek-width-range-column-id",i.columnId),1===i.colNb?i.container.html(["<p>",sektionsLocalizedData.i18n["This is a single-column section with a width of 100%. You can act on the internal width of the parent section, or adjust padding and margin."]].join("")):i.container.show();var s,a=d.czr_sektions.getLevelModel(i.columnId),l="_not_set_";if("no_match"!=a){var c=a.options&&a.options.width&&a.options.width["custom-width"]&&u.isNumber(+a.options.width["custom-width"]);c?l=a.options.width["custom-width"]:!c&&a.width&&u.isNumber(+a.width)&&(l=a.width),s="_not_set_"!==l?l:"_not_set_"===i()?Math.floor(100/i.colNb):i(),s=1*+parseFloat(s).toFixed(3),(!u.isNumber(s)||100<s||s<0)&&(d.errare("Error => invalid column width",s),s=50),r.on("input",function(e,t){o.val(p(this).val()).trigger("input",t)}),o.on("input",u.debounce(function(e,t){r.val(p(this).val()),t&&t.is_init||i(+parseFloat(p(this).val()).toFixed(3))},300)),o.on("input",u.debounce(function(e,t){t&&(t.is_init||t.is_resize_column_trigger)||i.sayItToApi(p(this).val())},300)),r.val(s).trigger("input",{is_init:!0})}else d.errare("sek_level_width_column module => invalid column model")}else d.errare("sek_level_width_column module => invalid parent section model");else d.errare("sek_level_width_column module => invalid column model")},sayItToApi:function(e,t){var i=this,n=u.findIndex(i.parentSectionModel.collection,{id:i.columnId}),o=n+1==i.colNb?n-1:n+1,r=u.find(i.parentSectionModel.collection,function(e,t){return o===t});"no_match"===r&&d.errare("sek_level_width_column module => invalid sister column model"),d.previewer.trigger("sek-resize-columns",{action:"sek-resize-columns",level:"column",in_sektion:i.parentSectionModel.id,id:i.columnId,resized_column:i.columnId,sister_column:r.id,resizedColumnWidthInPercent:e,col_number:i.colNb})}}};d.czrModuleMap=d.czrModuleMap||{},p.extend(d.czrModuleMap,{sek_level_width_column:{mthds:e,crud:!1,name:d.czr_sektions.getRegisteredModuleProperty("sek_level_width_column","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:u.extend({id:"",title:""},d.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_column"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_width_section:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_width_section","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_section"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_spacing_module:{mthds:"",crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_spacing_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_spacing_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_cust_css_level:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_cust_css_level","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_cust_css_level"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this.module;i.trigger("nb_setup_visibility_deps_for_animation_module",{item:this,module:e})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_animation_module:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_animation_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_animation_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_template:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_template","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_template"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_custom_css:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_custom_css","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_custom_css"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_reset:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_reset","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_reset"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_performances:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_performances"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_header_footer:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_header_footer","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_header_footer"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_revisions:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_revisions","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_revisions"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_imp_exp:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_imp_exp","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_imp_exp"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"links_underline":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"links_underline_hover",function(){return!e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_text:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_text","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_text"))}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use-custom-breakpoint":o.each(["global-custom-breakpoint","apply-to-all"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(i.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_global_breakpoint:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_global_breakpoint","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_breakpoint"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_performances:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_performances"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_header_footer:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_header_footer","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_header_footer"))}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.itemConstructor=r.CZRItem.extend(this.CZRItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=n.module;n.czr_Input.each(function(i){switch(i.id){case"enable":s.each(["public_key","private_key","badge","show_failure_message","failure_message","score"],function(t){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"failure_message":e=i()&&n.czr_Input("show_failure_message")();break;default:e=i()}return e})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_failure_message":s.each(["failure_message"],function(e){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()&&n.czr_Input("enable")()})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{sek_global_recaptcha:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("sek_global_recaptcha","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:s.extend({id:"",title:""},r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_recaptcha"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_revisions:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_revisions","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_revisions"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_reset:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_reset","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_reset"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_imp_exp:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_imp_exp","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_imp_exp"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_beta_features:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_beta_features","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_beta_features"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_site_tmpl_pickers:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_site_tmpl_pickers","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_site_tmpl_pickers"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e})},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"===i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":e="url"===i();break;case"link-target":e=!r.contains(["no-link","img-lightbox"],i())}return e})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"border-type":r.each(["borders"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return"none"!==i()})}catch(e){o.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"use_custom_width":r.each(["custom_width"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"use_custom_height":r.each(["custom_height"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"use_custom_title_attr":r.each(["heading_title"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}})}}),o.trigger("nb_setup_visibility_deps_for_img_module",{item:n,module:t})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_image_main_settings_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_image_main_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_main_settings_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this,i=e.module;e.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_image_borders_corners_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_image_borders_corners_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_borders_corners_child")}})}(wp.customize,jQuery,_),function(n,e,t){var i={initialize:function(e,t){this.inputConstructor=n.CZRInput.extend(this.CZRTextEditorInputMths||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRTextEditorInputMths:{initialize:function(e,t){var i=this;"detached_tinymce_editor"==i.type&&i.isReady.then(function(){i.container.find('[data-czr-action="open-tinymce-editor"]').trigger("click")}),n.CZRInput.prototype.initialize.call(i,e,t)}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_tinymce_child:{mthds:i,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_tinymce_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_tinymce_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_html_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_html_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_html_module")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(i){switch(i.id){case"img-type":o.each(["img-id","img-size"],function(t){try{n.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"img-id":e="custom"===i();break;default:e="none"!==i()}return e})}catch(e){n.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"content-type":o.each(["content-custom-text"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return"custom"===i()})}catch(e){n.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"btn-display":o.each(["btn-custom-text"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){n.errare("Featured pages module => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_featured_pages_module:{mthds:t,crud:n.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","is_crud"),hasPreItem:!1,refresh_on_add_item:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_featured_pages_module")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.itemConstructor=r.CZRItem.extend(this.CZRItemConstructor||{}),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":s.each(["link-pick-url","link-custom-url","link-target"],function(t){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":r.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"use_custom_color_on_hover":s.each(["color_hover"],function(e){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_icon_settings_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_icon_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_settings_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this,i=e.module;e.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_icon_spacing_border_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_icon_spacing_border_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_spacing_border_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e})},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e=i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":case"link-target":e=i()}return e})}catch(e){o.errare("Heading module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&!0===n.czr_Input("link-to")()})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_heading_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_heading_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_heading_spacing_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_heading_spacing_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_spacing_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_divider_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_divider_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_divider_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_spacer_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_spacer_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_spacer_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_map_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_map_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_map_module")}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRButtonItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(t){switch(t.id){case"quote_design":n.each(["border_width_css","border_color_css"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"border-before"==t()})}catch(e){i.errare("Quote module => error in setInputVisibilityDeps",e)}}),n.each(["icon_color_css","icon_size_css"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"quote-icon-before"==t()})}catch(e){i.errare("Quote module => error in setInputVisibilityDeps",e)}})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_quote_design_child:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_quote_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_design_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_quote_quote_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_quote_quote_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_quote_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_quote_cite_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_quote_cite_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_cite_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){o.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"icon":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"icon-side",function(){return!r.isEmpty(i())})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_btn_content_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_btn_content_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_content_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this,i=e.module;e.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":o.each(["bg_color_hover"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":o.each(["push_effect"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"width-type":n.czr_sektions.scheduleVisibilityOfInputId.call(t,"custom-width",function(){return"custom"===t()}),o.each(["custom-width","h_inner_align_css"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"custom"===t()})}catch(e){n.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"height-type":n.czr_sektions.scheduleVisibilityOfInputId.call(t,"custom-height",function(){return"custom"===t()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_btn_design_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_btn_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_design_child")}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var r=this;r.module;r.czr_Input.each(function(o){switch(o.id){case"use_current_query":n.each(["replace_query","post_number","posts_per_page","include_sticky","categories","must_have_all_cats","order_by"],function(t){i.czr_sektions.scheduleVisibilityOfInputId.call(o,t,function(){var e=!1;switch(_replace_query=r.czr_Input("replace_query")(),_display_pagination=r.czr_Input("display_pagination")(),t){case"replace_query":e=o();break;case"post_number":e=!o()&&!_display_pagination||o()&&_replace_query&&!_display_pagination;break;case"posts_per_page":e=!o()&&_display_pagination||o()&&_replace_query&&_display_pagination;break;case"include_sticky":case"categories":case"must_have_all_cats":case"order_by":e=!o()||o()&&r.czr_Input("replace_query")()}return e})});break;case"replace_query":n.each(["post_number","posts_per_page","include_sticky","categories","must_have_all_cats","order_by"],function(n){i.czr_sektions.scheduleVisibilityOfInputId.call(o,n,function(){var e=r.czr_Input("use_current_query")(),t=r.czr_Input("display_pagination")(),i=!1;switch(n){case"post_number":i=!e&&!t||o()&&!t;break;case"posts_per_page":i=!e&&t||o()&&t;break;case"include_sticky":case"categories":case"must_have_all_cats":case"order_by":i=!e||o()}return i})});break;case"layout":n.each(["columns","img_column_width","has_tablet_breakpoint","has_mobile_breakpoint"],function(t){i.czr_sektions.scheduleVisibilityOfInputId.call(o,t,function(){var e=!1;switch(t){case"columns":e="grid"===o();break;case"has_tablet_breakpoint":case"has_mobile_breakpoint":case"img_column_width":e="list"===o()}return e})});break;case"categories":n.each(["must_have_all_cats"],function(e){i.czr_sektions.scheduleVisibilityOfInputId.call(o,e,function(){var e=o();return n.isArray(e)&&1<e.length})});break;case"display_pagination":n.each(["posts_per_page","post_number"],function(n){i.czr_sektions.scheduleVisibilityOfInputId.call(o,n,function(){var e=r.czr_Input("replace_query")(),t=r.czr_Input("use_current_query")(),i=!1;switch(n){case"posts_per_page":i=o()&&!t||o()&&t&&e;break;case"post_number":i=!o()&&!t||!o()&&t&&e}return i})});break;case"custom_grid_spaces":n.each(["column_gap","row_gap"],function(e){i.czr_sektions.scheduleVisibilityOfInputId.call(o,e,function(){return o()})});break;case"show_excerpt":n.each(["excerpt_length"],function(e){i.czr_sektions.scheduleVisibilityOfInputId.call(o,e,function(){return o()})})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_post_grid_main_child:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_post_grid_main_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_main_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(i){switch(i.id){case"show_thumb":r.each(["img_size","img_has_custom_height","img_height","border_radius_css","use_post_thumb_placeholder"],function(t){o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"img_height":e=i()&&n.czr_Input("img_has_custom_height")();break;default:e=i()}return e})});break;case"img_has_custom_height":r.each(["img_height"],function(e){o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()&&n.czr_Input("show_thumb")()})})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_post_grid_thumb_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_post_grid_thumb_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_thumb_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_post_grid_metas_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_post_grid_metas_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_metas_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_post_grid_fonts_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_post_grid_fonts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_fonts_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_menu_content_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_menu_content_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_menu_content_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_menu_mobile_options:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_menu_mobile_options","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_menu_mobile_options")}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(t){switch(t.id){case"show_name_field":n.each(["name_field_label","name_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_subject_field":n.each(["subject_field_label","subject_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_message_field":n.each(["message_field_label","message_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_privacy_field":n.each(["privacy_field_label","privacy_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,"link-custom-url",function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_simple_form_fields_child:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fields_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fields_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_simple_form_design_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_simple_form_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_design_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":o.each(["bg_color_hover"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":o.each(["push_effect"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_simple_form_button_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_simple_form_button_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_button_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_form_fonts_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fonts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fonts_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_form_submission_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_form_submission_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_submission_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_font_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_font_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_font_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.bind("nimble-set-select-input-options",function(e){e.params=sektionsLocalizedData.registeredWidgetZones}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_widget_area_module:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_widget_area_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_widget_area_module")}})}(wp.customize,jQuery,_),function(s,a,l){var e={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=s.CZRItem.extend(i.CZRItemConstructor||{}),s.CZRDynModule.prototype.initialize.call(i,e,t)},generateItemId:function(){return s.czr_sektions.guid()},_makeItemsSortable:function(e){if(!wp.media.isTouchDevice&&a.fn.sortable){var i=this;a("."+i.control.css_attr.items_wrapper,i.container).sortable({handle:"."+i.control.css_attr.item_sort_handle,start:function(){},update:function(e,t){i._getSortedDOMItemCollection().done(function(e){i.itemCollection.set(e)}).then(function(){l.has(i,"preItem")&&i.preItemExpanded.set(!1),i.closeAllItems().closeRemoveDialogs(),i.trigger("item-collection-sorted")})}})}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!l.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){s.errorLog("item.setInputVisibilityDeps() : "+e)}}),s.CZRItem.prototype.ready.call(t)},_buildTitle:function(e,t,i){var n=this.module;return e=e||("string"==typeof t?s.CZR_Helpers.capitalize(t.replace("fa-","")):""),e=s.CZR_Helpers.truncate(e,20),'<div><span class="'+t+'" style="color:'+(i=i||n.defaultSocialColor)+'"></span> '+e+"</div>"},writeItemViewTitle:function(e){var t=this.module,i=e||this(),n=(i.icon?i.icon:"").replace("fa-","").replace("envelope","email").replace("far","").replace("fab","").replace("fas","");a("."+t.control.css_attr.item_title,this.container).html(this._buildTitle(n,i.icon,i.color_css))},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(t){switch(t.id){case"use_custom_color_on_hover":l.each(["social_color_hover"],function(e){try{s.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){s.errare("Featured pages module => error in setInputVisibilityDeps",e)}})}})},toggleRemoveAlert:function(){this.removeItem()},removeItem:function(e){e=e||{};var t=this,i=this.module,n=l.clone(i.itemCollection());i.trigger("pre_item_dom_remove",t()),t._destroyView(),n=l.without(n,l.findWhere(n,{id:t.id})),i.itemCollection.set(n),i.trigger("pre_item_api_remove",t());var o=a.extend(!0,{},t());if(i.czr_Item.remove(t.id),"postMessage"!=s(i.control.id).transport||!l.has(e,"dom_event")||l.has(e.dom_event,"isTrigger")||s.CZR_Helpers.hasPartRefresh(i.control.id))i.trigger("item-removed",o),i.control.trigger("item-removed",o);else{var r=function(){s.previewer.unbind("ready",r),i.trigger("item-removed",o)};s.previewer.bind("ready",r)}}}};s.czrModuleMap=s.czrModuleMap||{},a.extend(s.czrModuleMap,{czr_social_icons_settings_child:{mthds:e,crud:!0,hasPreItem:!1,refresh_on_add_item:!1,name:s.czr_sektions.getRegisteredModuleProperty("czr_social_icons_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:s.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_social_icons_settings_child"),items_are_clonable:!0}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_social_icons_style_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_social_icons_style_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_social_icons_style_child")}})}(wp.customize,jQuery,_),function(g,h,v){var e={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=g.CZRItem.extend(i.CZRItemConstructor||{}),g.CZRDynModule.prototype.initialize.call(i,e,t)},generateItemId:function(){return g.czr_sektions.guid()},_makeItemsSortable:function(e){if(!wp.media.isTouchDevice&&h.fn.sortable){var i=this;h("."+i.control.css_attr.items_wrapper,i.container).sortable({handle:"."+i.control.css_attr.item_sort_handle,start:function(){},update:function(e,t){i._getSortedDOMItemCollection().done(function(e){i.itemCollection.set(e)}).then(function(){v.has(i,"preItem")&&i.preItemExpanded.set(!1),i.closeAllItems().closeRemoveDialogs(),i.trigger("item-collection-sorted")})}})}},getPreItem:function(){var e=g.czr_sektions.getRegisteredModuleProperty("czr_img_slider_collection_child","starting_value"),t=h.extend(!0,{},this.preItem());if(v.isObject(e)){var i=h.extend(!0,{},e);return h.extend(t,i)}return this.preItem()},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!v.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){g.errorLog("item.setInputVisibilityDeps() : "+e)}}),g.CZRItem.prototype.ready.call(t);var i=function(){g.previewer.send("sek-item-focus",{control_id:t.module.control.id,item_id:t.id,item_value:t()})};t.viewState.callbacks.add(function(e,t){"expanded"===e&&i()}),t.callbacks.add(i),t.bind("sek-request-item-focus-in-preview",i)},writeItemViewTitle:function(e,t){var i=this,n=i.module,o=e||i(),r="",s="",a="not_set",l=!v.isUndefined(t)&&v.isObject(t);if(!l||!t.input_changed||v.contains(["img","text_content"],t.input_changed)){if(v.isEmpty(o.title)){var c=v.findIndex(n.itemCollection(),function(e){return e.id===i.id});c=v.isUndefined(c)?1:c+1}else r=o.title;r=g.CZR_Helpers.truncate(r,15),o.img&&(s=o.img,v.isString(o.img)&&(s=-1!==o.img.indexOf("http")?o.img:parseInt(o.img,10)));var d=function(){return h.Deferred(function(){var e=this;v.isUndefined(s)||v.isEmpty(""+s)?e.resolve(""):v.isString(s)&&-1!==s.indexOf("http")?e.resolve(s):wp.media.attachment(s).fetch().always(function(){if(v.isObject(this)&&v.has(this,"attributes")&&v.has(this.attributes,"sizes")){var i=this.get("sizes");i&&v.isObject(i)&&v.each(["thumbnail","medium","large","full"],function(e,t){"not_set"===a&&i[e]&&v.isObject(i[e])&&i[e].url&&(a=i[e].url)}),e.resolve(a)}})}).promise()},p=h("."+n.control.css_attr.item_title,i.container).find(".sek-slide-title"),u=h("."+n.control.css_attr.item_title,i.container).find(".sek-slide-thumb"),_=o.text_content?o.text_content:"";_=(_=h("<div>").html(_).text()).substring(0,60),p.length<1?(h("."+n.control.css_attr.item_title,i.container).html(""),h("."+n.control.css_attr.item_title,i.container).append(h("<div/>",{class:"sek-slide-title",html:_}))):p.html(_);var m=l&&t.input_changed&&"img"===t.input_changed,f=function(e){return v.isEmpty(""+e)||"not_set"===e?"":'<img src="'+e+'" width="32" alt="'+r+'" />'};h("."+n.control.css_attr.item_title,i.container).css("padding","0 4px"),u.length<1?d().done(function(e){h("."+n.control.css_attr.item_title,i.container).prepend(h("<div/>",{class:"sek-slide-thumb",html:f(e)}))}):!m&&l||d().done(function(e){u.html(f(e))})}},setInputVisibilityDeps:function(){var n=this,t=n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":v.each(["link-pick-url","link-custom-url","link-target"],function(t){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"===i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":e="url"===i();break;case"link-target":e=!v.contains(["no-link"],i())}return e})}catch(e){g.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":g.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"apply-overlay":v.each(["color-overlay","opacity-overlay"],function(e){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return g.CZR_Helpers.isChecked(i())})}catch(e){g.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"enable_text":v.each(["text_content","font_family_css","font_size_css","line_height_css","color_css","h_alignment_css","v_alignment","spacing_css"],function(e){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return g.CZR_Helpers.isChecked(i())})}catch(e){g.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"apply_overlay":v.each(["color-overlay","opacity-overlay"],function(e){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return g.CZR_Helpers.isChecked(i())})}catch(e){g.errare(t.id+" => error in setInputVisibilityDeps",e)}})}})},toggleRemoveAlert:function(){this.removeItem()},removeItem:function(e){e=e||{};var t=this,i=this.module,n=v.clone(i.itemCollection());i.trigger("pre_item_dom_remove",t()),t._destroyView(),n=v.without(n,v.findWhere(n,{id:t.id})),i.itemCollection.set(n),i.trigger("pre_item_api_remove",t());var o=h.extend(!0,{},t());if(i.czr_Item.remove(t.id),"postMessage"!=g(i.control.id).transport||!v.has(e,"dom_event")||v.has(e.dom_event,"isTrigger")||g.CZR_Helpers.hasPartRefresh(i.control.id))i.trigger("item-removed",o),i.control.trigger("item-removed",o);else{var r=function(){g.previewer.unbind("ready",r),i.trigger("item-removed",o)};g.previewer.bind("ready",r)}}}};g.czrModuleMap=g.czrModuleMap||{},h.extend(g.czrModuleMap,{czr_img_slider_collection_child:{mthds:e,crud:!0,hasPreItem:!1,refresh_on_add_item:!1,name:g.czr_sektions.getRegisteredModuleProperty("czr_img_slider_collection_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:g.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_img_slider_collection_child"),items_are_clonable:!0}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"height-type":o.each(["custom-height"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"custom"===t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"autoplay":o.each(["autoplay_delay","pause_on_hover"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return n.CZR_Helpers.isChecked(t())})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_img_slider_opts_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_img_slider_opts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_img_slider_opts_child")}})}(wp.customize,jQuery,_),function(d,p,u){var e={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=d.CZRItem.extend(i.CZRItemConstructor||{}),d.CZRDynModule.prototype.initialize.call(i,e,t)},generateItemId:function(){return d.czr_sektions.guid()},_makeItemsSortable:function(e){if(!wp.media.isTouchDevice&&p.fn.sortable){var i=this;p("."+i.control.css_attr.items_wrapper,i.container).sortable({handle:"."+i.control.css_attr.item_sort_handle,start:function(){},update:function(e,t){i._getSortedDOMItemCollection().done(function(e){i.itemCollection.set(e)}).then(function(){u.has(i,"preItem")&&i.preItemExpanded.set(!1),i.closeAllItems().closeRemoveDialogs(),i.trigger("item-collection-sorted")})}})}},getPreItem:function(){var e=d.czr_sektions.getRegisteredModuleProperty("czr_accordion_collection_child","starting_value"),t=p.extend(!0,{},this.preItem());if(u.isObject(e)){var i=p.extend(!0,{},e);return p.extend(t,i)}return this.preItem()},CZRItemConstructor:{ready:function(){var e=this;d.CZRItem.prototype.ready.call(e);var i=function(){d.previewer.send("sek-item-focus",{control_id:e.module.control.id,item_id:e.id,item_value:e()})};e.viewState.callbacks.add(function(e,t){"expanded"===e&&i()}),e.callbacks.add(i),e.bind("sek-request-item-focus-in-preview",i),e.module.bind("item-collection-sorted",function(){e.writeItemViewTitle(e(),{input_changed:"title_text"})})},writeItemViewTitle:function(e,t){var i=this,n=i.module,o=e||i(),r="";if(!(!u.isUndefined(t)&&u.isObject(t))||!t.input_changed||u.contains(["title_text"],t.input_changed)){if(u.isEmpty(o.title)){var s=u.findIndex(n.itemCollection(),function(e){return e.id===i.id});s=u.isUndefined(s)?1:s+1}else r=o.title;r=d.CZR_Helpers.truncate(r,25);var a=p("."+n.control.css_attr.item_title,i.container).find(".sek-accord-title"),l=o.title_text?o.title_text:"";l=p("<div>").html(l).text();var c=i.module.container.find(".czr-items-wrapper > li").index(i.container);l=(l=u.isEmpty(l)?sektionsLocalizedData.i18n["Accordion title"]+" #"+(+c+1):l).substring(0,60),a.length<1?(p("."+n.control.css_attr.item_title,i.container).html(""),p("."+n.control.css_attr.item_title,i.container).append(p("<div/>",{class:"sek-accord-title",html:l}))):a.html(l)}},toggleRemoveAlert:function(){this.removeItem()},removeItem:function(e){e=e||{};var t=this,i=this.module,n=u.clone(i.itemCollection());i.trigger("pre_item_dom_remove",t()),t._destroyView(),n=u.without(n,u.findWhere(n,{id:t.id})),i.itemCollection.set(n),i.trigger("pre_item_api_remove",t());var o=p.extend(!0,{},t());if(i.czr_Item.remove(t.id),"postMessage"!=d(i.control.id).transport||!u.has(e,"dom_event")||u.has(e.dom_event,"isTrigger")||d.CZR_Helpers.hasPartRefresh(i.control.id))i.trigger("item-removed",o),i.control.trigger("item-removed",o);else{var r=function(){d.previewer.unbind("ready",r),i.trigger("item-removed",o)};d.previewer.bind("ready",r)}}}};d.czrModuleMap=d.czrModuleMap||{},p.extend(d.czrModuleMap,{czr_accordion_collection_child:{mthds:e,crud:!0,hasPreItem:!1,refresh_on_add_item:!1,name:d.czr_sektions.getRegisteredModuleProperty("czr_accordion_collection_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:d.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_accordion_collection_child"),items_are_clonable:!0}})}(wp.customize,jQuery,_),function(n,e,t){var i={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRItemConstructor:{ready:function(){n.CZRItem.prototype.ready.call(this)}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_accordion_opts_child:{mthds:i,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_accordion_opts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_accordion_opts_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRButtonItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use_flex":o.each(["h_alignment_css"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_shortcode_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_shortcode_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_shortcode_module")}})}(wp.customize,jQuery,_);
|
1 |
+
!function(u,m){u.CZR_Helpers.getInputSubTemplate=function(e){return 0<m("#tmpl-nimble-subtemplate___"+e).length?wp.template("nimble-subtemplate___"+e):(u.errare("problem in api.czr_sektions.getInputSubTemplate(), missing js template in the DOM for template_name : "+e),null)};var f=u.CZR_Helpers.getModuleTmpl;u.CZR_Helpers.getModuleTmpl=function(n){if(-1===(n=_.extend({tmpl:"",module_type:"",module_id:"",cache:!0,nonce:u.settings.nonce.save},n)).module_id.indexOf("__nimble__"))return f(n);var o=m.Deferred();if((_.isEmpty(n.tmpl)||_.isEmpty(n.module_type))&&o.reject("api.CZR_Helpers.getModuleTmpl => missing tmpl or module_type param"),!u.czr_sektions.isModuleRegistered(n.module_type))return o.reject("api.CZR_Helpers.getModuleTmpl => module type not registered"),o.resolve(),f(n);if(_.contains([],n.module_type))return o.resolve(),f(n);var e=u.czr_sektions.getRegisteredModuleProperty(n.module_type,"tmpl"),t=_.isObject(e)&&e[n.tmpl]?e[n.tmpl]:{};!_.isEmpty(t)&&_.isObject(t)||(u.errare("getModuleTmpl => Error empty or invalid input map for module : ",n.module_type),o.reject("getModuleTmpl => Error empty or invalid input map for module : ",n.module_type));var r=n.item_model,i=m.extend(!0,{},u.czr_sektions.getDefaultItemModelFromRegisteredModuleData(n.module_type)),s=m.extend(!0,{},i);r=m.extend(s,r),_.isEmpty(r)&&(u.errare("getModuleTmpl => Error invalid item model for module : ",n.module_type),o.reject("getModuleTmpl => Error invalid item model for module : ",n.module_type));var a,l="",c=function(e){var i="";return _.each(e,function(e,t){a=e.input_type;try{i+=wp.template("nimble-input-wrapper")({input_type:a,input_data:e,input_id:t,item_model:r,input_tmpl:function(e){var t=e;switch(e){case"czr_layouts":case"select":case"simpleselect":case"fa_icon_picker":case"font_picker":case"animation_picker":t="simpleselect";break;case"simpleselectWithDeviceSwitcher":t="simpleselect_deviceswitcher";break;case"multiselect":case"category_picker":t="multiselect";break;case"h_alignment":case"horizAlignmentWithDeviceSwitcher":t="h_alignment";break;case"h_text_alignment":case"horizTextAlignmentWithDeviceSwitcher":t="h_text_alignment";break;case"range_simple":case"range_simple_device_switcher":t="range_simple";break;case"number_simple":t="number_simple";break;case"font_size":case"line_height":case"range_with_unit_picker":case"range_with_unit_picker_device_switcher":t="range_with_unit_picker";break;case"spacing":case"spacingWithDeviceSwitcher":t="spacing";break;case"upload":case"upload_url":t="upload";break;case"bg_position":case"bgPositionWithDeviceSwitcher":t="bg_position";break;case"verticalAlignWithDeviceSwitcher":t="v_alignment"}return 0<m("#tmpl-nimble-input___"+t).length?wp.template("nimble-input___"+t):(u.errare("problem in getInputTemplate(), missing js template in the DOM for input_type : "+e),null)}(a),control_id:n.control_id})}catch(e){return u.errare("getModuleTmpl => Error when parsing the nimble-input-wrapper template",e),o.reject("getModuleTmpl => Error when parsing the nimble-input-wrapper template"),!1}}),i};if(t.tabs){var d="",p="";_.each(t.tabs,function(e,t){var i=m.extend(!0,{},e);i=m.extend({inputs:{},title:""},i);var n=_.isEmpty(i.attributes)?"":i.attributes;d+='<li data-tab-id="section-topline-'+(+t+1)+'" '+n+'><a href="#" title="'+i.title+'"><span>'+i.title+"</span></a></li>";var o=c(i.inputs);p+='<section id="section-topline-'+(+t+1)+'">'+o+"</section>"}),l+=['<div class="tabs tabs-style-topline">',"<nav>","<ul>",d,"</ul>","</nav>",'<div class="content-wrap">',p,"</div>","</div>"].join("")}else l=c(t);return o.resolve(l).promise()}}(wp.customize,jQuery);var CZRSeksPrototype=CZRSeksPrototype||{};!function(r,s){s.extend(CZRSeksPrototype,{cachedElements:{$body:s("body"),$window:s(window)},initialize:function(){var e=this;if(_.isUndefined(window.sektionsLocalizedData))throw new Error("CZRSeksPrototype => missing localized server params sektionsLocalizedData");if(!_.isFunction(r.czr_activeSkopes))throw new Error("CZRSeksPrototype => api.czr_activeSkopes");e.SECTION_ID_FOR_GLOBAL_OPTIONS="__globalOptionsSectionId",e.SECTION_ID_FOR_LOCAL_OPTIONS="__localOptionsSection",e.SECTION_ID_FOR_CONTENT_PICKER="__content_picker__",e.MAX_NUMBER_OF_COLUMNS=12,e.SETTING_UPDATE_BUFFER=100,e.TINYMCE_EDITOR_HEIGHT=100,e.defaultLocalSektionSettingValue=e.getDefaultSektionSettingValue("local"),e.localSectionsSettingId=new r.Value({}),e.registered=new r.Value([]),wp.customize.apiIsReady?e.doSektionThinksOnApiReady():r.bind("ready",function(){e.doSektionThinksOnApiReady()}),r.bind("save-request-params",function(e){s.extend(e,{local_skope_id:r.czr_skopeBase.getSkopeProperty("skope_id"),group_skope_id:r.czr_skopeBase.getSkopeProperty("skope_id","group"),active_locations:r.czr_sektions.activeLocations(),inherit_group_template:!0})});var t=function(){_.isArray(r.czrActiveWPEditors)&&(_.each(r.czrActiveWPEditors,function(e){wp.oldEditor.remove(e)}),r.czrActiveWPEditors=[])};r.bind("sek-before-clean-registered",t),r.bind("czr-all-items-closed",t)},doSektionThinksOnApiReady:function(){var o=this;o.registerAndSetupDefaultPanelSectionOptions(),o.localSectionsSettingId.callbacks.add(function(e,t){try{o.setupSettingsToBeSaved()}catch(e){r.errare("Error in self.localSectionsSettingId.callbacks => self.setupSettingsToBeSaved()",e)}o.initializeHistoryLogWhenSettingsRegistered(),r.previewer.send("sek-request-active-locations")});var i=function(e,t){o.setContextualCollectionSettingIdWhenSkopeSet(e,t),r.section(o.SECTION_ID_FOR_LOCAL_OPTIONS,function(e){e.deferred.embedded.done(function(){!0!==e.boundForLocalOptionGeneration&&(e.boundForLocalOptionGeneration=!0,e.expanded.bind(function(e){!0===e&&o.generateUI({action:"sek-generate-local-skope-options-ui"})}))})}),r.section(o.SECTION_ID_FOR_GLOBAL_OPTIONS,function(e){!0!==e.nimbleGlobalOptionGenerated&&(o.generateUI({action:"sek-generate-global-options-ui"}),e.nimbleGlobalOptionGenerated=!0,e.expanded.bind(function(){o.templateGalleryExpanded&&o.templateGalleryExpanded(!1)}))}),o.nb_is_ready=!0,r.trigger("nimble-ready-for-current-skope")};_.isEmpty(r.czr_activeSkopes().local)||i(),r.czr_activeSkopes.callbacks.add(function(e,t){i(e,t)}),o.reactToPreviewMsg(),o.setupDnd(),o.setupTinyMceEditor(),o.schedulePrintSectionJson(),r.previewedDevice.bind(function(t){var e=_.filter(o.registered(),function(e){return"control"==e.what});_.each(e||[],function(e){r.control(e.id,function(e){e.container.find('[data-sek-device="'+t+'"]').each(function(){s(this).trigger("click")})})})}),s("#customize-notifications-area").on("click",'[data-sek-reset="true"]',function(){r.previewer.trigger("sek-reset-collection",{scope:"local"})}),o.bind("sek-ui-pre-removal",function(e){"control"==e.what&&-1<e.id.indexOf("draggable")&&r.control(e.id,function(e){e.container.find("[draggable]").each(function(){s(this).off("dragstart dragend")})}),"control"==e.what&&r.control(e.id,function(e){e.container.find("select").each(function(){_.isUndefined(s(this).data("czrSelect2"))||s(this).czrSelect2("destroy")})})}),r.bind("czr-new-registered",function(e){if(_.isUndefined(e.origin))throw new Error("czr-new-registered event => missing params.origin");if("nimble"===e.origin&&!1!==e.track){var t=o.registered(),i=s.extend(!0,[],t),n=_.findWhere(i,{id:e.id});if(!_.isEmpty(n)&&_.isEqual(n,e))throw new Error("register => duplicated element in self.registered() collection "+e.id);i.push(e),o.registered(i)}}),o.activeLocations=new r.Value([]),o.activeLocationsInfo=new r.Value([]),r.previewer.bind("sek-active-locations-in-preview",function(e){o.activeLocations(_.isObject(e)&&_.isArray(e.active_locations)?e.active_locations:[]),o.activeLocationsInfo(_.isObject(e)&&_.isArray(e.active_locs_info)?e.active_locs_info:[])}),o.setupTopBar(),o.setupSaveSectionUI(),o.setupSaveTmplUI(),o.lastClickedTargetInPreview=new r.Value,o.lastClickedTargetInPreview.bind(function(e,t){_.isObject(e)&&e.id?r.previewer.send("sek-set-double-click-target",e):r.previewer.send("sek-reset-double-click-target"),clearTimeout(o.cachedElements.$window.data("_preview_target_timer_")),o.cachedElements.$window.data("_preview_target_timer_",setTimeout(function(){o.lastClickedTargetInPreview({}),r.previewer.send("sek-reset-double-click-target")},2e4))}),r.previewer.bind("sek-clean-target-drop-zone",function(){o.lastClickedTargetInPreview({})}),s(document).keydown(function(e){e&&27===e.keyCode&&o.lastClickedTargetInPreview({})}),sektionsLocalizedData.hasActiveCachePlugin&&_.delay(function(){r.previewer.trigger("sek-notify",{notif_id:"has-active-cache-plugin",type:"info",duration:2e4,message:['<span style="color:#0075a2">',sektionsLocalizedData.i18n["You seem to be using a cache plugin."],!_.isString(sektionsLocalizedData.hasActiveCachePlugin)||sektionsLocalizedData.hasActiveCachePlugin.length<2?"":"<strong> ("+sektionsLocalizedData.hasActiveCachePlugin+")</strong><br/>"," <strong>",sektionsLocalizedData.i18n["It is recommended to disable your cache plugin when customizing your website."],"</strong>","</span>"].join("")})},2e3),r.previewer.bind("multi-items-module-refreshed",function(t){_.isUndefined(t.apiParams.control_id)||r.control(t.apiParams.control_id,function(e){_.isUndefined(e.params.sek_registration_params)||r.control(e.id).params.sek_registration_params.module_id===t.apiParams.id&&e.czr_Module.each(function(e){e.czr_Item.each(function(e){"expanded"===e.viewState()&&e.trigger("sek-request-item-focus-in-preview")})})})}),o.setupTemplateGallery(),r.previewer.bind("czr-new-skopes-synced",function(e){var t=r.czr_skopeBase.getSkopeProperty("sektions","local");sektionsLocalizedData.isDevMode&&r.infoLog("::czr-new-skopes-synced => SEKTIONS DATA ? ",t),_.isEmpty(t)&&r.errare("::czr-new-skopes-synced => no sektionsData"),_.isEmpty(t.setting_id)&&r.errare("::czr-new-skopes-synced => missing setting_id")})},registerAndSetupDefaultPanelSectionOptions:function(){var n=this,e=r.Panel.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}});r.panel(sektionsLocalizedData.sektionsPanelId,function(n){n.deferred.embedded.done(function(){var e=n.container.first().find("h3.accordion-section-title"),t=(n.container.first().find(".panel-meta .accordion-section-title"),['<img class="sek-nimble-logo" alt="'+n.params.title+'" src="',sektionsLocalizedData.baseUrl,"/assets/img/nimble/nimble_horizontal.svg?ver="+sektionsLocalizedData.nimbleVersion,'"/>'].join(""));if(sektionsLocalizedData.isPro&&(t+=['<img class="sek-nimble-logo sek-pro-pastil" src="',sektionsLocalizedData.baseUrl,"/assets/czr/sek/img/pro_white.svg?ver="+sektionsLocalizedData.nimbleVersion,'"/>'].join("")),0<e.length){var i=e.find("span");e.addClass("sek-side-nimble-logo-wrapper").html(t).append(i)}})}),r.CZR_Helpers.register({origin:"nimble",what:"panel",id:sektionsLocalizedData.sektionsPanelId,title:sektionsLocalizedData.i18n["Nimble Builder"],priority:-1e3,constructWith:e,track:!1}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:n.SECTION_ID_FOR_GLOBAL_OPTIONS,title:sektionsLocalizedData.i18n["Site wide options"],panel:sektionsLocalizedData.sektionsPanelId,priority:20,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section(n.SECTION_ID_FOR_GLOBAL_OPTIONS,function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-globe sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-globe sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:n.SECTION_ID_FOR_LOCAL_OPTIONS,title:sektionsLocalizedData.i18n["Current page options"],panel:sektionsLocalizedData.sektionsPanelId,priority:10,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section(n.SECTION_ID_FOR_LOCAL_OPTIONS,function(e){var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.prepend('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),0<i.length&&i.find(".customize-action").after('<i class="fas fa-map-marker-alt sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e)})}),r.CZR_Helpers.register({origin:"nimble",what:"setting",id:sektionsLocalizedData.optNameForGlobalOptions,dirty:!1,value:sektionsLocalizedData.globalOptionDBValues,transport:"postMessage",type:"option"}),r.CZR_Helpers.register({origin:"nimble",what:"section",id:n.SECTION_ID_FOR_CONTENT_PICKER,title:sektionsLocalizedData.i18n["Content Picker"],panel:sektionsLocalizedData.sektionsPanelId,priority:30,track:!1,constructWith:r.Section.extend({isContextuallyActive:function(){return this.active()},_toggleActive:function(){return!0}})}).done(function(){r.section(n.SECTION_ID_FOR_CONTENT_PICKER,function(e){"resolved"!=r.czr_initialSkopeCollectionPopulated.state()?r.czr_initialSkopeCollectionPopulated.done(function(){r.previewer.trigger("sek-pick-content",{focus:!1})}):r.previewer.trigger("sek-pick-content",{focus:!1})})})},setContextualCollectionSettingIdWhenSkopeSet:function(e,t){t=t||{},!_.isEmpty(t.local)&&r.panel(sektionsLocalizedData.sektionsPanelId).expanded()&&(!_.isUndefined(r._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate)&&r._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate||r.previewer.trigger("sek-pick-content")),sektionsData=r.czr_skopeBase.getSkopeProperty("sektions","local"),sektionsLocalizedData.isDevMode&&r.infoLog("::setContextualCollectionSettingIdWhenSkopeSet => SEKTIONS DATA ? ",sektionsData),_.isEmpty(sektionsData)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => no sektionsData"),_.isEmpty(sektionsData.setting_id)&&r.errare("::setContextualCollectionSettingIdWhenSkopeSet() => missing setting_id"),this.localSectionsSettingId(sektionsData.setting_id)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,p){p.extend(CZRSeksPrototype,{setupTopBar:function(){var t=this;t.topBarId="#nimble-top-bar",t.topBarVisible=new d.Value(!1),t.topBarVisible.bind(function(e){t.levelTreeExpanded()||t.toggleTopBar(e)}),t.mouseMovedRecently=new d.Value({}),t.mouseMovedRecently.bind(function(e){t.topBarVisible(!_.isEmpty(e))});var e=function(e){t.mouseMovedRecently({x:e.clientX,y:e.clientY}),clearTimeout(t.cachedElements.$window.data("_scroll_move_timer_")),t.cachedElements.$window.data("_scroll_move_timer_",setTimeout(function(){t.mouseMovedRecently.set({})},4e3))};t.cachedElements.$window.on("mousemove scroll,",_.throttle(e,50)),d.previewer.bind("ready",function(){p(d.previewer.targetWindow().document).on("mousemove scroll,",_.throttle(e,50))}),t.setupLevelTree()},toggleTopBar:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?p.when(i.renderAndSetupTopBarTmpl({})).done(function(e){i.topBarContainer=e,_.delay(function(){i.cachedElements.$body.addClass("nimble-top-bar-visible")},200)}):(t=p.Deferred(),i.cachedElements.$body.removeClass("nimble-top-bar-visible"),i.topBarContainer&&i.topBarContainer.length?_.delay(function(){t.resolve()},300):t.resolve(),t.promise()).done(function(){i.topBarVisible(!1)})},renderAndSetupTopBarTmpl:function(e){var t,c=this;if(0<p(c.topBarId).length)return p(c.topBarId);try{t=wp.template("nimble-top-bar")({})}catch(e){return d.errare("Error when parsing the the top note template",e),!1}p("#customize-preview").after(p(t)),p("#customize-preview").trigger("nimble-top-bar-rendered"),p(document).keydown(function(e){if(e.ctrlKey&&_.contains([89,90],e.keyCode))try{c.navigateHistory(90===e.keyCode?"undo":"redo")}catch(e){d.errare("Error when firing self.navigateHistory",e)}}),p(".sek-add-content",c.topBarId).on("click",function(e){e.preventDefault(),d.previewer.trigger("sek-pick-content",{content_type:"module"})}),p(".sek-level-tree",c.topBarId).on("click",function(e){e.preventDefault(),c.levelTreeExpanded(!c.levelTreeExpanded())}),p("[data-nimble-history]",c.topBarId).on("click",function(e){try{c.navigateHistory(p(this).data("nimble-history"))}catch(e){d.errare("Error when firing self.navigateHistory",e)}}),p(".sek-settings",c.topBarId).on("click",function(e){d.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.rootPanelFocus(),e.focus()})}),p(".sek-nimble-doc, .sek-notifications",c.topBarId).on("click",function(e){e.preventDefault(),p(this).data("doc-href")&&window.open(p(this).data("doc-href"),"_blank")}),p(".sek-tmpl-saving",c.topBarId).on("click",function(e){e.preventDefault(),c.tmplDialogVisible(!c.tmplDialogVisible())}),p(c.topBarId).on("click",".sek-reset-local-sektions",function(e){d.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.rootPanelFocus(),e.focus(),d.section(c.SECTION_ID_FOR_LOCAL_OPTIONS,function(e){e.focus(),setTimeout(function(){d.control(c.getLocalSkopeOptionId()+"__local_reset",function(e){e.focus(),e.container.find(".customize-control-title").trigger("click"),e.container.addClass("button-see-me"),_.delay(function(){e.container.removeClass("button-see-me")},800)})},500)})})}),p(c.topBarId).on("click",".sek-goto-site-tmpl-options",function(e){d.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.rootPanelFocus(),e.focus(),d.section(c.SECTION_ID_FOR_GLOBAL_OPTIONS,function(e){e.focus(),setTimeout(function(){d.control(sektionsLocalizedData.prefixForSettingsNotSaved+sektionsLocalizedData.optNameForGlobalOptions+"__site_templates",function(e){e.focus(),e.container.find(".customize-control-title").trigger("click")})},500)})})});var i=function(e){if(!(p(c.topBarId).length<1||sektionsLocalizedData.isDebugMode)){var t=!1;t=e&&e.on_init?d.czr_skopeBase.getSkopeProperty("has_local_nimble_customizations","local"):(!e||!e.after_reset)&&c.hasLocalSettingBeenCustomized();var i,n=c.getGroupSkopeForSiteTemplate(),o=!1,r=d(sektionsLocalizedData.optNameForGlobalOptions)(),s=!0,a=d(c.localSectionsSettingId())().local_options;a&&_.isObject(a)&&a.local_reset&&!_.isUndefined(a.local_reset.inherit_group_scope)&&(s=a.local_reset.inherit_group_scope),_.isObject(r)&&r.site_templates&&_.isObject(r.site_templates)&&_.each(r.site_templates,function(e,t){o||(o=n===t)}),i=o&&!t&&s;var l=sektionsLocalizedData.i18n["This page is not customized with NB"];i?l='<span class="sek-goto-site-tmpl-options">'+sektionsLocalizedData.i18n["This page inherits a NB site template"]+"</span>":t&&(l=sektionsLocalizedData.i18n["This page is customized with NB"],l+='<button type="button" class="far fa-trash-alt sek-reset-local-sektions" title="'+sektionsLocalizedData.i18n["Remove all sections and options of this page"]+'" data-nimble-state="enabled"><span class="screen-reader-text">'+sektionsLocalizedData.i18n["Remove all sections and options of this page"]+"</span></button>"),p(c.topBarId).find(".sek-notifications").html(['<span class="fas fa-info-circle"></span>',l].join(" "))}};d.bind("nimble-update-topbar-skope-status",i);var n=function(){d(c.localSectionsSettingId(),function(e){i({on_init:!0})})};return n(),d.bind("nimble-ready-for-current-skope",function(){n()}),p(c.topBarId)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{initializeHistoryLogWhenSettingsRegistered:function(){this.historyLog=new c.Value([{status:"current",value:{local:c(this.localSectionsSettingId())(),global:c(this.getGlobalSectionsSettingId())()},action:"initial"}]),this.historyLog.bind(function(e){if(!_.isEmpty(e)){var t=_.findKey(e,{status:"current"});t=Number(t),d("#nimble-top-bar").find("[data-nimble-history]").each(function(){"undo"===d(this).data("nimble-history")?d(this).attr("data-nimble-state",t<=0?"disabled":"enabled"):d(this).attr("data-nimble-state",e.length<=t+1?"disabled":"enabled")})}})},trackHistoryLog:function(e,t){var i=this,n=e.id===i.getGlobalSectionsSettingId();if(!_.isObject(t)||!_.isFunction(i.historyLog)||!_.isArray(i.historyLog()))throw c.errare("params, self.historyLog() ",t,i.historyLog()),new Error("trackHistoryLog => invalid params or historyLog value");var o,r=[],s=d.extend(!0,[],i.historyLog());_.isEmpty(t.in_sektion)?_.isEmpty(t.to_sektion)||(o=t.to_sektion):o=t.in_sektion,_.each(s,function(e){"future"!=e.status&&(d.extend(e,{status:"previous"}),r.push(e))}),r.push({status:"current",value:n?{global:e()}:{local:e()},action:_.isObject(t)&&t.action||"",sektionToRefresh:o}),i.historyLog(r)},navigateHistory:function(i){var t,n,o,r,e=this,s=d.extend(!0,[],e.historyLog()),a=[];if(_.each(s,function(e){if(_.isEmpty(r)){switch(e.status){case"previous":t=e;break;case"current":n=e;break;case"future":o=e}switch(i){case"undo":_.isEmpty(n)||_.isEmpty(t)||(r=t.value,n.sektionToRefresh,t.sektionToRefresh);break;case"redo":_.isEmpty(o)||(r=o.value,n.sektionToRefresh,o.sektionToRefresh)}}}),!_.isUndefined(r)){_.isEmpty(r.local)||(c(e.localSectionsSettingId())(e.validateSettingValue(r.local,"local"),{navigatingHistoryLogs:!0}),c.czr_sektions.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0})),_.isEmpty(r.global)||c(e.getGlobalSectionsSettingId())(e.validateSettingValue(r.global,"global"),{navigatingHistoryLogs:!0});c.previewer.refresh(),c.previewer.trigger("sek-pick-content",{}),e.cleanRegisteredAndLargeSelectInput(),e.cleanRegisteredLevelSettings()}var l=_.findKey(s,{status:"current"});l=Number(l),_.isNumber(l)?(_.each(s,function(e,t){switch(newLog=d.extend(!0,{},e),t=Number(t),i){case"undo":0<l&&(t===l-1?newLog.status="current":t===l&&(newLog.status="future"));break;case"redo":s.length>l+1&&(t===l?newLog.status="previous":t===l+1&&(newLog.status="current"))}a.push(newLog)}),e.historyLog(a)):c.errare("Error when navigating the history log, the current key should be a number")}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(b,z){z.extend(CZRSeksPrototype,{setupLevelTree:function(){var t,i=this;i.levelTree=new b.Value([]),i.levelTree.bind(function(e){i.levelTreeExpanded()&&i.renderOrRefreshTree()});var n=function(e){try{t=JSON.stringify(e)}catch(e){b.errorLog("::setupLevelTree => error when JSON.stringify Level Tree")}_.isString(t)&&(-1!==t.indexOf("__nimble__")?z(".sek-level-tree button",i.topBarId).css("color","#46d2ff"):z(".sek-level-tree button",i.topBarId).css("color",""))};i.levelTree.bind(_.debounce(function(e){n(e)},1e3)),z("#customize-preview").one("nimble-top-bar-rendered",function(){n(i.setLevelTreeValue())}),i.levelTreeExpanded=new b.Value(!1),i.levelTreeExpanded.bind(function(e){if(i.cachedElements.$body.toggleClass("sek-level-tree-expanded",e),e){if(i.templateGalleryExpanded(!1),i.tmplDialogVisible(!1),i.saveSectionDialogVisible&&i.saveSectionDialogVisible(!1),i.setLevelTreeValue(),_.isEmpty(i.levelTree()))return b.previewer.trigger("sek-notify",{type:"info",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["No sections to navigate"]+"</strong>","</span>"].join("")}),void i.levelTreeExpanded(!1);z("#customize-preview iframe").css("z-index",1),i.renderOrRefreshTree()}else 0<z("#nimble-level-tree").length&&_.delay(function(){z("#nimble-level-tree").remove(),z("#customize-preview iframe").css("z-index","")},300)}),i.activeLocations.bind(function(){_.isEmpty(i.levelTree())||i.renderOrRefreshTree()}),b.previewer.bind("ready",function(){i.localSectionsSettingId.callbacks.add(function(){i.levelTreeExpanded(!1),_.each([i.getGlobalSectionsSettingId(),i.localSectionsSettingId(),sektionsLocalizedData.optNameForGlobalOptions],function(e){b(e)._isBoundForNimbleLevelTree||(b(e).bind(function(e){i.setLevelTreeValue()}),b(e)._isBoundForNimbleLevelTree=!0)})})}),i.cachedElements.$body.on("click","#nimble-level-tree [data-nimb-level]",function(e){e.preventDefault(),e.stopPropagation();var i=z(e.target).closest("[data-nimb-level]");b.previewer.send("sek-animate-to-level",{id:i.data("nimb-id")}),b.previewer.send("sek-clean-level-uis"),_.delay(function(){b.previewer.send("sek-display-level-ui",{id:i.data("nimb-id")});var e=i.data("nimb-id"),t=i.data("nimb-level");"column"===t||"section"===t?b.previewer.trigger("sek-edit-options",{id:e,level:t}):"module"===t&&b.previewer.trigger("sek-edit-module",{id:e,level:t})},100)}),i.cachedElements.$body.on("click","#nimble-level-tree .sek-remove-level",function(e){e.preventDefault(),e.stopPropagation();var t=z(e.target).closest("[data-nimb-level]");b.previewer.trigger("sek-remove",{level:t.data("nimb-level"),id:t.data("nimb-id"),location:t.closest('[data-nimb-level="location"]').data("nimb-id"),in_sektion:t.closest('[data-nimb-level="section"]').data("nimb-id"),in_column:t.closest('[data-nimb-level="column"]').data("nimb-id")}),t.fadeOut("slow"),i.renderOrRefreshTree()}),i.cachedElements.$body.on("click",".sek-close-level-tree",function(e){e.preventDefault(),i.levelTreeExpanded(!1)})},setLevelTreeValue:function(){var e,t,i,n,o,r=this.getGlobalSectionsSettingId(),s=this.localSectionsSettingId(),a=sektionsLocalizedData.optNameForGlobalOptions,l=!1;if(_.each([r,s,a],function(e){b.has(e)||(l=e)}),!1===l){e=b(r)(),i=_.isObject(e)?z.extend(!0,{},e):{},i=_.isEmpty(i.collection)?[]:i.collection,i=_.isArray(i)?i:[],t=b(s)(),t=_.isObject(t)?t:{},n=z.extend(!0,{},t),n=_.isEmpty(n.collection)?[]:n.collection,n=_.isArray(n)?n:[];var c,d=_.union(i,n),p=!1,u=!1;o=b(a)(),o=_.isObject(o)?o:{},t.local_options&&t.local_options.local_header_footer&&(p="nimble_local"===(c=t.local_options.local_header_footer["header-footer"])),o.global_header_footer&&!p&&"theme"!==c&&(u="nimble_global"===o.global_header_footer["header-footer"]||"nimble_global"===c);var m,f,g=z.extend(!0,[],d);g=_.filter(g,function(e,t){return!_.contains(["nimble_global_header","nimble_global_footer","nimble_local_header","nimble_local_footer"],e.id)});var h=function(e){m=_.findWhere(d,{id:"nimble_"+e+"_header"}),f=_.findWhere(d,{id:"nimble_"+e+"_footer"}),g.unshift(m),g.push(f)};p?h("local"):u&&h("global");var v,k=this.activeLocations(),y=[];return _.isEmpty(k)?y=g:_.each(k,function(e){v=_.findWhere(g,{id:e}),_.isUndefined(v)||y.push(v)}),this.levelTree(y),y}b.errare("::setLevelTreeValue => a setting id is not registered ")},renderOrRefreshTree:function(){var e;if(z("#nimble-level-tree").length<1){try{e=wp.template("nimble-level-tree")({})}catch(e){return b.errare("Error when parsing the nimble-level-tree template",e),!1}z("#customize-preview").after(z(e))}z("#nimble-level-tree").find(".sek-tree-wrap").html(this.getLevelTreeHtml())},getLevelTreeHtml:function(e,t){var i=this;e=e||i.levelTree();var n,o,r,s=!1;if(!_.isArray(e)||_.isEmpty(e))return b.errare("::buildLevelTree => invalid collection param",e),r;var a='<i class="material-icons sek-remove-level" title="'+sektionsLocalizedData.i18n["Remove this element"]+'">delete_forever</i>';return r="<ul>",_.each(e,function(e){_.isUndefined(e.level)?b.errare("::buildLevelTree => missing level property",e):_.isUndefined(e.id)?b.errare("::buildLevelTree => missing id property",e):(n=e.level,"location"===(o=n)&&(s=!_.contains(i.activeLocations(),e.id)),s||(sektionsLocalizedData.i18n[n]&&(o=sektionsLocalizedData.i18n[n]),!0===e.is_nested&&(o=sektionsLocalizedData.i18n["nested section"]),a="location"!==n?a:"",r+='<li data-nimb-level="'+n+'" data-nimb-id="'+e.id+'">',r+='<div class="sek-level-infos"><div class="sek-inner-level-infos">',"module"===n&&(r+=[i.getTreeModuleIcon(e.module_type),i.getTreeModuleTitle(e.module_type)].join(" ")),r+=[" ",o,"( id :",e.id,")",a].join(" "),r+="</div></div>",_.isArray(e.collection)&&!_.isEmpty(e.collection)&&(r+=i.getLevelTreeHtml(e.collection,t)),r+="</li>"))}),r+="</ul>"},getTreeModuleIcon:function(t){var i,n={};return _.each(sektionsLocalizedData.moduleCollection,function(e){_.isEmpty(n)&&t===e["content-id"]&&(_.isEmpty(e.icon)||(i="http"===e.icon.substring(0,4)?e.icon:sektionsLocalizedData.moduleIconPath+e.icon,n={svg:e.icon?i:"",font:e.font_icon?e.font_icon:""}))}),_.isEmpty(n.svg)?_.isEmpty(n.font)?void 0:n.font:'<img class="sek-svg-mod-icon" src="'+n.svg+'"/>'},getTreeModuleTitle:function(t){var i={};return _.each(sektionsLocalizedData.moduleCollection,function(e){_.isEmpty(i)&&t===e["content-id"]&&(i=e.title)}),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupSaveSectionUI:function(){var r=this;r.saveSectionDialogVisible=new c.Value(!1),r.saveSectionDialogVisible.bind(function(e){e&&(r.templateGalleryExpanded(!1),r.levelTreeExpanded(!1),r.tmplDialogVisible&&r.tmplDialogVisible(!1)),r.toggleSaveSectionUI(e)}),r.allSavedSections=new c.Value("_not_populated_"),r.allSavedSections.bind(function(e){_.isObject(e)?(e=_.isEmpty(e)?{}:e,r.refreshSectionPickerHtml(e)):c.errare("error setupSaveSectionUI => section collection should be an object")}),r.saveSectionDialogMode=new c.Value("hidden"),r.saveSectionDialogMode.bind(function(e){_.contains(["hidden","save","update","remove","edit"],e)||(c.errare("error setupSaveSectionUI => unknown section dialog mode",e),e="save");var t,i=d("#nimble-top-section-save-ui"),n=i.find("#sek-saved-section-title"),o=i.find("#sek-saved-section-description");switch(i.find("[data-section-mode-switcher]").attr("aria-pressed",!1),i.find('[data-section-mode-switcher="'+e+'"]').attr("aria-pressed",!0),d("#nimble-top-section-save-ui").attr("data-sek-section-dialog-mode",e),i.removeClass("sek-removal-confirmation-opened"),e){case"save":n.val(""),o.val("");break;case"update":case"edit":(t=i.find(".sek-saved-section-picker")).val("none").trigger("change"),r.setSavedSectionCollection().done(function(e){r.refreshSectionPickerHtml(),t.val(r.userSectionToEdit||"none").trigger("change"),r.userSectionToEdit=null});break;case"remove":console.log("sOOO ?",r.userSectionToRemove),(t=i.find(".sek-saved-section-picker")).val("none").trigger("change"),r.setSavedSectionCollection().done(function(e){r.refreshSectionPickerHtml(),t.val(r.userSectionToRemove||"none").trigger("change"),r.userSectionToRemove=null})}"remove"===e&&_.isEmpty(r.idOfSectionToSave)?i.addClass("sek-is-removal-only"):i.removeClass("sek-is-removal-only")})},refreshSectionPickerHtml:function(e){e=e||this.allSavedSections();var t=d("#nimble-top-section-save-ui"),i=t.find(".sek-saved-section-picker");i.val("none").trigger("change"),i.find("option").each(function(){"none"!==d(this).attr("value")&&d(this).remove()});var n,o,r="";_.each(e,function(e,t){_.isObject(e)&&(o=e.last_modified_date?e.last_modified_date:"",n=e.title?e.title:"section title not set",r+='<option value="'+t+'">'+[n,sektionsLocalizedData.i18n["Last modified"]+" : "+o].join(" | ")+"</option>")}),i.append(r),t.addClass("section-collection-populated")},renderSectionSaveUI:function(e){if(0<d("#nimble-top-section-save-ui").length)return d("#nimble-top-section-save-ui");try{_tmpl=wp.template("nimble-top-section-save-ui")({})}catch(e){return c.errare("Error when parsing nimble-top-section-save-ui template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("#nimble-top-section-save-ui")},maybeScheduleSectionSaveDOMEvents:function(){var i=this,n=d("#nimble-top-section-save-ui");n.data("nimble-sec-save-dom-events-scheduled")||(n.on("click","[data-section-mode-switcher]",function(e){e.preventDefault(),i.saveSectionDialogMode(d(this).data("section-mode-switcher"))}).on("change",".sek-saved-section-picker",function(e){i.reactOnSectionSelection(e,d(this))}).on("click",".sek-do-save-section",function(e){n.addClass("nimble-section-processing-ajax"),i.saveOrUpdateSavedSection(e).done(function(e){n.removeClass("nimble-section-processing-ajax"),e.success&&(i.saveSectionDialogVisible(!1),i.setSavedSectionCollection({refresh:!0}))})}).on("click",".sek-do-update-section",function(e){var t=n.find(".sek-saved-section-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-section-processing-ajax"),i.saveOrUpdateSavedSection(e,t).done(function(e){n.removeClass("nimble-section-processing-ajax"),e.success&&(i.saveSectionDialogVisible(!1),i.setSavedSectionCollection({refresh:!0}).done(function(e){i.refreshSectionPickerHtml()}))}))}).on("click",".sek-open-remove-confirmation",function(e){n.addClass("sek-removal-confirmation-opened")}).on("click",".sek-do-remove-section",function(e){var t=n.find(".sek-saved-section-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-section-processing-ajax"),i.removeSavedSection(e,t).done(function(e){n.removeClass("nimble-section-processing-ajax"),n.removeClass("sek-removal-confirmation-opened"),e.success&&i.setSavedSectionCollection({refresh:!0})}))}).on("click",".sek-cancel-remove-section",function(e){n.removeClass("sek-removal-confirmation-opened")}),d(".sek-close-dialog",n).on("click",function(e){e.preventDefault(),i.saveSectionDialogVisible(!1)}),n.data("nimble-sec-save-dom-events-scheduled",!0))},reactOnSectionSelection:function(e,t){var i=d("#nimble-top-section-save-ui"),n=t.val(),o=i.find("#sek-saved-section-title"),r=i.find("#sek-saved-section-description"),s="update"===this.saveSectionDialogMode()?"sek-section-update-selected":"sek-section-remove-selected";if("none"===n)o.val(""),r.val(""),i.removeClass(s);else{var a=this.allSavedSections();(a=_.isObject(a)&&!_.isArray(a)?a:{})[n]=d.extend({title:"",description:"",last_modified_date:""},a[n]||{}),o.val(a[n].title),r.val(a[n].description),i.addClass(s)}},saveOrUpdateSavedSection:function(e,t){var i=this,n=d.Deferred(),o="edit"===i.saveSectionDialogMode();if(!o&&(!i.idOfSectionToSave||_.isEmpty(i.idOfSectionToSave)))return c.errare("saveOrUpdateSavedSection => error => missing section id"),n.resolve({success:!1});e.preventDefault();var r,s=d("#sek-saved-section-title"),a=s.val(),l=d("#sek-saved-section-description").val();if(!o){if("no_match"==(r=d.extend(!0,{},i.getLevelModel(i.idOfSectionToSave))))return c.errare("saveOrUpdateSavedSection => error => no section model with id "+i.idOfSectionToSave),n.resolve({success:!1});if(r=i.preProcessSection(r),!_.isObject(r))return c.errare("::saveOrUpdateSavedSection => error => invalid sectionModel"),n.resolve({success:!1})}return _.isEmpty(a)?(s.addClass("error"),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["A title is required"]+"</strong>","</span>"].join("")}),n.resolve({success:!1})):(d("#sek-saved-section-title").removeClass("error"),wp.ajax.post("sek_save_user_section",{nonce:c.settings.nonce.save,section_data:o?"":JSON.stringify(r),section_title:a,section_description:l,section_post_name:t||"",skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),edit_metas_only:o?"yes":"no"}).done(function(e){n.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template saved"]+"</strong>","</span>"].join("")})}).fail(function(e){n.resolve({success:!1}),c.errorLog("ajax sek_save_section => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing template"]+"</strong>","</span>"].join("")})}).always(function(){i.idOfSectionToSave=null}),n)},preProcessSection:function(e){if(!_.isObject(e))return null;var t=d.extend({},!0,e);return _.has(t,"is_nested")&&(t=_.omit(t,"is_nested")),t},removeSavedSection:function(e,t){var i=this,n=d.Deferred();return e.preventDefault(),wp.ajax.post("sek_remove_user_section",{nonce:c.settings.nonce.save,section_post_name:t}).done(function(e){n.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template removed"]+"</strong>","</span>"].join("")})}).fail(function(e){n.resolve({success:!1}),c.errorLog("ajax sek_remove_section => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")})}).always(function(){i.idOfSectionToSave=null}),n},toggleSaveSectionUI:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?d.when(i.renderSectionSaveUI({})).done(function(e){i.maybeScheduleSectionSaveDOMEvents(),i.saveUIContainer=e,_.delay(function(){i.saveSectionDialogMode("save"),i.cachedElements.$body.addClass("sek-save-section-ui-visible")},200)}):(t=d.Deferred(),i.cachedElements.$body.removeClass("sek-save-section-ui-visible"),0<d("#nimble-top-section-save-ui").length?_.delay(function(){i.saveSectionDialogMode=i.saveSectionDialogMode?i.saveSectionDialogMode:new c.Value,i.saveSectionDialogMode("hidden"),i.saveUIContainer.remove(),i.idOfSectionToSave=null,t.resolve()},250):t.resolve(),t.promise()).done(function(){i.saveSectionDialogVisible(!1)})},setSavedSectionCollection:function(e){var t=this,i=d.Deferred();return(e=e||{refresh:!1}).refresh||"_not_populated_"===t.allSavedSections()?((t.sectionCollectionPromise&&"pending"===t.sectionCollectionPromise.state()?t.sectionCollectionPromise:t.getSavedSectionCollection(e)).done(function(e){t.allSavedSections(e),i.resolve(e)}),i.promise()):i.resolve(t.allSavedSections())},getSavedSectionCollection:function(e){var t=this;return e=e||{refresh:!1},t.sectionCollectionPromise=d.Deferred(),e.refresh||"_not_populated_"===t.allSavedSections()?wp.ajax.post("sek_get_all_saved_sections",{nonce:c.settings.nonce.save}).done(function(e){_.isObject(e)&&!_.isArray(e)?t.sectionCollectionPromise.resolve(e):(t.sectionCollectionPromise.resolve({}),_.isEmpty(e)||c.errorLog("control::getSavedSectionCollection => collection is empty or invalid"))}).fail(function(e){c.errorLog("ajax sek_get_all_saved_section => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")}),t.sectionCollectionPromise.resolve({})}):t.sectionCollectionPromise.resolve(t.allSavedSections()),t.sectionCollectionPromise}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupSaveTmplUI:function(){var r=this;r.tmplDialogVisible=new c.Value(!1),sektionsLocalizedData.isTemplateSaveEnabled&&(r.tmplDialogVisible.bind(function(e){e&&(r.templateGalleryExpanded(!1),r.levelTreeExpanded(!1),r.saveSectionDialogVisible&&r.saveSectionDialogVisible(!1)),r.toggleSaveTmplUI(e)}),r.allSavedTemplates=new c.Value("_not_populated_"),r.allSavedTemplates.bind(function(e){_.isObject(e)?(e=_.isEmpty(e)?{}:e,r.refreshTmplPickerHtml(e)):c.errare("error setupSaveTmplUI => tmpl collection should be an object")}),r.allApiTemplates=new c.Value("_not_populated_"),r.tmplDialogMode=new c.Value("hidden"),r.tmplDialogMode.bind(function(e){_.contains(["hidden","save","update","remove","edit"],e)||(c.errare("::setupSaveTmplUI => unknown tmpl dialog mode",e),e="save");var t,i=d("#nimble-top-tmpl-save-ui"),n=i.find("#sek-saved-tmpl-title"),o=i.find("#sek-saved-tmpl-description");switch(i.find("[data-tmpl-mode-switcher]").attr("aria-pressed",!1),i.find('[data-tmpl-mode-switcher="'+e+'"]').attr("aria-pressed",!0),d("#nimble-top-tmpl-save-ui").attr("data-sek-tmpl-dialog-mode",e),i.removeClass("sek-removal-confirmation-opened"),e){case"save":n.val(""),o.val("");break;case"update":case"remove":(t=i.find(".sek-saved-tmpl-picker")).val("none").trigger("change"),r.setSavedTmplCollection().done(function(e){r.refreshTmplPickerHtml(),t.val(r.tmplToRemove||"none").trigger("change"),r.tmplToRemove=null});break;case"edit":(t=i.find(".sek-saved-tmpl-picker")).val("none").trigger("change"),r.setSavedTmplCollection().done(function(e){r.refreshTmplPickerHtml(),t.val(r.tmplToEdit||"none").trigger("change"),r.tmplToEdit=null})}}))},refreshTmplPickerHtml:function(e){e=e||this.allSavedTemplates();var t=d("#nimble-top-tmpl-save-ui"),i=t.find(".sek-saved-tmpl-picker");i.val("none").trigger("change"),i.find("option").each(function(){"none"!==d(this).attr("value")&&d(this).remove()});var n,o,r="";_.each(e,function(e,t){_.isObject(e)&&(o=e.last_modified_date?e.last_modified_date:"",n=e.title?e.title:"template title not set",r+='<option value="'+t+'">'+[n,sektionsLocalizedData.i18n["Last modified"]+" : "+o].join(" | ")+"</option>")}),i.append(r),t.addClass("tmpl-collection-populated")},renderTmplUI:function(e){if(0<d("#nimble-top-tmpl-save-ui").length)return d("#nimble-top-tmpl-save-ui");try{_tmpl=wp.template("nimble-top-tmpl-save-ui")({})}catch(e){return c.errare("Error when parsing nimble-top-tmpl-save-ui template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("#nimble-top-tmpl-save-ui")},scheduleTmplSaveDOMEvents:function(){var i=this,n=d("#nimble-top-tmpl-save-ui");n.data("nimble-tmpl-dom-events-scheduled")||(n.on("click","[data-tmpl-mode-switcher]",function(e){e.preventDefault(),i.tmplDialogMode(d(this).data("tmpl-mode-switcher"))}),n.on("change",".sek-saved-tmpl-picker",function(e){i.reactOnTemplateSelection(e,d(this))}),n.on("click",".sek-do-save-tmpl",function(e){n.addClass("nimble-tmpl-processing-ajax"),i.saveOrUpdateTemplate(e).done(function(e){n.removeClass("nimble-tmpl-processing-ajax"),e.success&&(i.tmplDialogVisible(!1),i.setSavedTmplCollection({refresh:!0}))})}),n.on("click",".sek-do-update-tmpl",function(e){var t=n.find(".sek-saved-tmpl-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-tmpl-processing-ajax"),i.saveOrUpdateTemplate(e,t).done(function(e){n.removeClass("nimble-tmpl-processing-ajax"),e.success&&(i.tmplDialogVisible(!1),i.setSavedTmplCollection({refresh:!0}).done(function(e){i.refreshTmplPickerHtml()}))}))}),n.on("click",".sek-open-remove-confirmation",function(e){n.addClass("sek-removal-confirmation-opened")}),n.on("click",".sek-do-remove-tmpl",function(e){var t=n.find(".sek-saved-tmpl-picker").val();"none"===t||_.isEmpty(t)||(n.addClass("nimble-tmpl-processing-ajax"),i.removeTemplate(e,t).done(function(e){n.removeClass("nimble-tmpl-processing-ajax"),n.removeClass("sek-removal-confirmation-opened"),e.success&&i.setSavedTmplCollection({refresh:!0})}))}),n.on("click",".sek-cancel-remove-tmpl",function(e){n.removeClass("sek-removal-confirmation-opened")}),d(".sek-close-dialog",n).on("click",function(e){e.preventDefault(),i.tmplDialogVisible(!1)}),n.data("nimble-tmpl-dom-events-scheduled",!0))},reactOnTemplateSelection:function(e,t){var i=d("#nimble-top-tmpl-save-ui"),n=t.val(),o=i.find("#sek-saved-tmpl-title"),r=i.find("#sek-saved-tmpl-description"),s="update"===this.tmplDialogMode()?"sek-tmpl-update-selected":"sek-tmpl-remove-selected";if("none"===n)o.val(""),r.val(""),i.removeClass(s);else{var a=this.allSavedTemplates();(a=_.isObject(a)&&!_.isArray(a)?a:{})[n]=d.extend({title:"",description:"",last_modified_date:""},a[n]||{}),o.val(a[n].title),r.val(a[n].description),i.addClass(s)}},saveOrUpdateTemplate:function(e,t){var i=this,n=d.Deferred();e.preventDefault();var o,r=d("#sek-saved-tmpl-title"),s=r.val(),a=d("#sek-saved-tmpl-description").val(),l=i.localSectionsSettingId();try{o=i.preProcessTmpl(c(l)())}catch(e){c.errorLog("error in ::saveOrUpdateTemplate",e),n.resolve({success:!1})}return _.isEmpty(s)?(r.addClass("error"),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["A title is required"]+"</strong>","</span>"].join("")}),n.resolve({success:!1})):(d("#sek-saved-tmpl-title").removeClass("error"),wp.ajax.post("sek_save_user_template",{nonce:c.settings.nonce.save,tmpl_data:"edit"===i.tmplDialogMode()?"":JSON.stringify(o),tmpl_title:s,tmpl_description:a,tmpl_post_name:t||"",edit_metas_only:"edit"===i.tmplDialogMode()?"yes":"no",skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),tmpl_locations:i.getActiveLocationsForTmpl(o),tmpl_header_location:i.getHeaderOrFooterLocationIdForTmpl("header",o),tmpl_footer_location:i.getHeaderOrFooterLocationIdForTmpl("footer",o)}).done(function(e){n.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template saved"]+"</strong>","</span>"].join("")})}).fail(function(e){n.resolve({success:!1}),c.errorLog("ajax sek_save_template => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing template"]+"</strong>","</span>"].join("")})}),n)},getActiveLocationsForTmpl:function(e){if(!_.isObject(e))throw new Error("preProcess Tmpl => error : tmpl_data must be an object");var t=[];return _.each(e.collection,function(e){_.isObject(e)&&e.id&&e.level&&"location"===e.level&&t.push(e.id)}),t},getHeaderOrFooterLocationIdForTmpl:function(t,e){var i=this;if(!_.isObject(e))throw new Error("preProcess Tmpl => error : tmpl_data must be an object");var n="";return _.each(e.collection,function(e){_.isObject(e)&&e.id&&e.level&&("header"===t&&i.isHeaderLocation(e.id)||"footer"===t&&i.isFooterLocation(e.id))&&(n=e.id)}),n},preProcessTmpl:function(e){var t,i;if(!_.isObject(e))throw new Error("preProcess Tmpl => error : tmpl_data must be an object");return(t=d.extend(!0,{},e)).collection=[],i=this.activeLocations(),_.each(e.collection,function(e){_.isObject(e)&&e.id&&e.collection&&_.contains(i,e.id)&&!_.isEmpty(e.collection)&&t.collection.push(e)}),t},removeTemplate:function(e,t){var i=d.Deferred();return e.preventDefault(),wp.ajax.post("sek_remove_user_template",{nonce:c.settings.nonce.save,tmpl_post_name:t}).done(function(e){i.resolve({success:!0}),c.previewer.trigger("sek-notify",{type:"success",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Template removed"]+"</strong>","</span>"].join("")})}).fail(function(e){i.resolve({success:!1}),c.errorLog("ajax sek_remove_template => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")})}),i},toggleSaveTmplUI:function(e){e=!!_.isUndefined(e)||e;var t,i=this;e?d.when(i.renderTmplUI({})).done(function(e){i.scheduleTmplSaveDOMEvents(),i.saveUIContainer=e,_.delay(function(){i.tmplDialogMode("save"),i.cachedElements.$body.addClass("sek-save-tmpl-ui-visible")},200)}):(t=d.Deferred(),i.cachedElements.$body.removeClass("sek-save-tmpl-ui-visible"),0<d("#nimble-top-tmpl-save-ui").length?_.delay(function(){i.tmplDialogMode=i.tmplDialogMode?i.tmplDialogMode:new c.Value,i.tmplDialogMode("hidden"),i.saveUIContainer.remove(),t.resolve()},250):t.resolve(),t.promise()).done(function(){i.tmplDialogVisible(!1)})},setSavedTmplCollection:function(e){var t=this,i=d.Deferred();return(e=e||{refresh:!1}).refresh||"_not_populated_"===t.allSavedTemplates()?((t.templateCollectionPromise&&"pending"===t.templateCollectionPromise.state()?t.templateCollectionPromise:t.getSavedTmplCollection()).done(function(e){t.allSavedTemplates(e),i.resolve(e)}),i.promise()):i.resolve(t.allSavedTemplates())},getSavedTmplCollection:function(){var t=this;return t.templateCollectionPromise=d.Deferred(),wp.ajax.post("sek_get_all_saved_tmpl",{nonce:c.settings.nonce.save}).done(function(e){_.isObject(e)&&!_.isArray(e)?t.templateCollectionPromise.resolve(e):(t.templateCollectionPromise.resolve({}),_.isEmpty(e)||c.errare("control::getSavedTmplCollection => error => tmpl collection is invalid",e))}).fail(function(e){c.errorLog("ajax sek_get_all_saved_tmpl => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")}),t.templateCollectionPromise.resolve({})}),t.templateCollectionPromise},getApiTmplCollection:function(){var t=this,i=d.Deferred(),n={};return"_not_populated_"!==t.allApiTemplates()?i.resolve(t.allApiTemplates()):sektionsLocalizedData.useAPItemplates?wp.ajax.post("sek_get_all_api_tmpl",{nonce:c.settings.nonce.save}).done(function(e){_.isObject(e)&&!_.isArray(e)?n=e:c.errare("control::getApiTmplCollection => error => tmpl collection is invalid",e),t.allApiTemplates(n),i.resolve(n)}).fail(function(e){c.errorLog("ajax sek_get_all_api_tmpl => error",e),c.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Error when processing templates"]+"</strong>","</span>"].join("")}),i.resolve({})}):(t.allApiTemplates([]),i.resolve([])),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(o,r){r.extend(CZRSeksPrototype,{getTmplJsonFromUserTmpl:function(e){var t=r.Deferred();return wp.ajax.post("sek_get_user_tmpl_json",{nonce:o.settings.nonce.save,tmpl_post_name:e}).done(function(e){t.resolve({success:!0,tmpl_json:e})}).fail(function(e){t.resolve({success:!1}),o.errorLog("ajax getTmplJsonFromUserTmpl => error",e),o.previewer.trigger("sek-notify",{type:"error",duration:1e4,message:['<span style="font-size:0.95em">',"<strong>Error when fetching the template</strong>","</span>"].join("")})}),t},getTmplJsonFromApi:function(e,t){var i=r.Deferred();return wp.ajax.post("sek_get_api_tmpl_json",{nonce:o.settings.nonce.save,api_tmpl_name:e,api_tmpl_is_pro:t?"yes":"no"}).done(function(e){i.resolve({success:!0,tmpl_json:e})}).fail(function(e){i.resolve({success:!1}),o.errorLog("ajax getTmplJsonFromApiTmpl => error",e);var t="Error when fetching the template";_.isString(e)&&!_.isEmpty(e)&&(t=e),o.previewer.trigger("sek-notify",{type:"error",duration:6e4,is_pro_notif:!0,notif_id:"pro_tmpl_error",message:['<span style="font-size:0.95em">',"<strong>"+t+"</strong>","</span>"].join("")})}),i},get_gallery_tmpl_json_and_inject:function(t){var e,i=this,n=(t=r.extend({tmpl_name:"",tmpl_source:"user",tmpl_inject_mode:"replace",tmpl_is_pro:!1},t||{})).tmpl_name;return!_.isEmpty(n)&&_.isString(n)||o.errare("::tmpl inject => error => invalid template name"),(e="api_tmpl"===t.tmpl_source?i.getTmplJsonFromApi(n,t.tmpl_is_pro):i.getTmplJsonFromUserTmpl(n)).done(function(e){e.success?i.inject_tmpl_from_gallery({tmpl_name:n,template_data:e.tmpl_json,tmpl_inject_mode:t.tmpl_inject_mode,tmpl_is_pro:t.tmpl_is_pro}):o.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}).fail(function(){o.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}),_.delay(function(){"pending"===e.state()&&o.previewer.trigger("sek-notify",{notif_id:"import-too-long",type:"error",duration:2e4,message:["<span>","<strong>","Template import failed","</strong>","</span>"].join("")})},3e4),e},inject_tmpl_from_gallery:function(e){e=e||{};if(!(e=r.extend({tmpl_inject_mode:"replace"},e)).template_data)throw new Error("::inject_tmpl => missing remote template data");o.czr_sektions.isImportedContentEligibleForAPI({success:!0,data:e.template_data},e)?(e.template_data.data.collection=this.setIdsForImportedTmpl(e.template_data.data.collection),o.czr_sektions.doUpdateApiSettingAfter_TmplGalleryImport({success:!0,data:e.template_data},e)):o.infoLog("::inject_tmpl problem => !api.czr_sektions.isImportedContentEligibleForAPI",e)},doUpdateApiSettingAfter_TmplGalleryImport:function(e,t){if(t=t||{},o.czr_sektions.isImportedContentEligibleForAPI(e,t)){o.czr_sektions.updateAPISetting({action:"sek-inject-tmpl-from-gallery",scope:"local",injected_content:e.data,tmpl_inject_mode:t.tmpl_inject_mode}).done(function(){var e=function(){o.czr_sektions.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0}),o.previewer.unbind("czr-new-skopes-synced",e)};o.previewer.bind("czr-new-skopes-synced",e),o.previewer.refresh(),o.previewer.trigger("sek-notify",{notif_id:"import-success",type:"success",duration:3e4,message:["<span>","<strong>",sektionsLocalizedData.i18n["Template successfully imported"],"</strong>","</span>"].join("")})}).fail(function(e){o.errare("::doUpdateApiSettingAfter_TmplGalleryImport => error when firing ::updateAPISetting",e),o.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",[sektionsLocalizedData.i18n["Import failed"],e].join(" : "),"</strong>","</span>"].join("")})}),o.previewer.refresh()}else o.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(r,e){jQuery.extend(CZRSeksPrototype,{getRevisionHistory:function(e){return wp.ajax.post("sek_get_revision_history",{nonce:r.settings.nonce.save,skope_id:e.is_local?r.czr_skopeBase.getSkopeProperty("skope_id"):sektionsLocalizedData.globalSkopeId})},setSingleRevision:function(i){var n=this,o=function(e,t){r.previewer.trigger("sek-notify",{notif_id:"restore-revision-error",type:t||"info",duration:1e4,message:['<span style="">',"<strong>",e||"","</strong>","</span>"].join("")})};wp.ajax.post("sek_get_single_revision",{nonce:r.settings.nonce.save,revision_post_id:i.revision_post_id}).done(function(e){var t=i.is_local?n.localSectionsSettingId():n.getGlobalSectionsSettingId();_.isEqual(r(t)(),e)?o(sektionsLocalizedData.i18n["This is the current version."],"info"):n.updateAPISetting({action:"sek-restore-revision",is_global_location:!i.is_local,revision_value:e}).done(function(){r.previewer.refresh()}).fail(function(e){r.errare("::setSingleRevision error when firing ::updateAPISetting",e),o(sektionsLocalizedData.i18n["The revision could not be restored."],"error")})}).fail(function(e){r.errare("::setSingleRevision ajax error",e),o(sektionsLocalizedData.i18n["The revision could not be restored."],"error")})}})}(wp.customize);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupSettingsToBeSaved:function(i){var n,r=this;i=i||{dirty:!1,is_group_inheritance_enabled:!0};var e={local:{collectionSettingId:r.localSectionsSettingId()},global:{collectionSettingId:r.getGlobalSectionsSettingId()}};_.each(e,function(e,o){if(n=c.czr_skopeBase.getSkopeProperty("sektions",o).db_values,_.isEmpty(e.collectionSettingId))throw new Error("setupSettingsToBeSaved => the collectionSettingId is invalid");if(!c.has(e.collectionSettingId)){var t=_.isObject(n)?n:r.getDefaultSektionSettingValue(o);"local"!=o||i.is_group_inheritance_enabled||(t.local_options.local_reset=_.isObject(t.local_options.local_reset)?t.local_options.local_reset:{},t.local_options.local_reset.inherit_group_scope=!1);c.CZR_Helpers.register({what:"setting",id:e.collectionSettingId,value:r.validateSettingValue(t,o),transport:"postMessage",type:"option",track:!1,origin:"nimble",dirty:i.dirty});c(e.collectionSettingId,function(n){n.bind(_.debounce(function(e,t,i){if(!_.isObject(i)||!0!==i.navigatingHistoryLogs)try{r.trackHistoryLog(n,i)}catch(e){c.errare("setupSettingsToBeSaved => trackHistoryLog",e)}"local"===o&&c.trigger("nimble-update-topbar-skope-status")},1e3))})}})},validateSettingValue:function(i,n){if(!_.isObject(i))return c.errare("::validateSettingValue => validation error => the setting should be an object",i),null;if(!_.isEmpty(n)&&_.contains(["local","global"],n)){var o={},r=!1,e=[],s=["collection","local_options","fonts","__inherits_group_skope_tmpl_when_exists__"],a=function(e){c.errare(e,i),sektionsLocalizedData.isDevMode&&c.previewer.trigger("sek-notify",{type:"error",duration:6e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks Nimble Builder, you can try resetting the sections of this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")}),r=!0},l=function(t){if(!r)if(_.isUndefined(t)&&_.isEmpty(o)){if(t=d.extend(!0,{},i),_.isUndefined(t.id)||_.isUndefined(t.level)){if(_.isUndefined(t.collection))return void a("validation error => the root level is missing the collection of locations");if(!_.isEmpty(t.level)||!_.isEmpty(t.id))return void a('validation error => the root level should not have a "level" or an "id" property');_.each(t,function(e,t){switch(n){case"local":if(!_.contains(s,t))return void a("validation error => unauthorized option group for local setting value => "+t);break;case"global":if(!_.contains(["collection","fonts"],t))return void a("validation error => unauthorized option group for global setting value => "+t)}}),_.each(i.collection,function(e){o=t,l(e)})}}else{if(_.isUndefined(t)||!_.isObject(t))return void a("validation error => a level is invalid");if(_.isEmpty(t.id)||!_.isString(t.id))return void a("validation error => a "+t.level+" level must have a valid id");if(_.contains(e,t.id))return void a("validation error => duplicated level id : "+t.id);if(e.push(t.id),_.isEmpty(t.level)||!_.isString(t.level))return void a("validation error => a "+t.level+" level must have a level property");if(!_.contains(["location","section","column","module"],t.level))return void a('validation error => the level "'+t.level+'" is not authorized');if("module"==t.level){if(!_.isUndefined(t.collection))return void a("validation error => a module can not have a collection property")}else if(_.isUndefined(t.collection))return void a("validation error => missing collection property for level => "+t.level+" "+t.id);switch(_.isUndefined(t.ver_ini)&&c.errare("validateSettingValue() => validation error => a "+t.level+' should have a version property : "ver_ini"'),t.level){case"location":if(!_.isEmpty(o.level))return void a("validation error => the parent of location "+t.id+" should have no level set");break;case"section":if(t.is_nested&&"column"!=o.level)return void a("validation error => the nested section "+t.id+" must be child of a column");if(!t.is_nested&&"location"!=o.level)return void a("validation error => the section "+t.id+" must be child of a location");break;case"column":if("section"!=o.level)return void a("validation error => the column "+t.id+" must be child of a section");break;case"module":if("column"!=o.level)return void a("validation error => the module "+t.id+" must be child of a column")}"module"!=t.level&&_.each(t.collection,function(e){o=d.extend(!0,{},t),_.isUndefined(e)?a("validation error => undefined level "):l(e)})}};return l(),r&&c.infoLog("error in ::validateSettingValue",i),i}c.errare("::validateSettingValue => invalid scope provided.",n)},resetCollectionSetting:function(e,t){var i;if(_.isEmpty(e)||!_.contains(["local","global"],e))throw new Error("resetCollectionSetting => invalid scope provided.",e);var n=!0;return"local"===e&&t&&_.isObject(t)&&t.local_reset&&!_.isUndefined(t.local_reset.inherit_group_scope)&&(n=t.local_reset.inherit_group_scope),i=d.extend(!0,{},this.getDefaultSektionSettingValue(e)),n||(i.local_options.local_reset={inherit_group_scope:!1}),i}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,o){o.extend(CZRSeksPrototype,{reactToPreviewMsg:function(){var r=this,s={},a={},l=!0,e={"sek-add-section":{callback:function(e){return c.previewedDevice("desktop"),l=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,a={},s={action:"sek-add-section",id:sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),before_section:e.before_section,after_section:e.after_section,is_first_section:e.is_first_section},r.updateAPISetting(s)},complete:function(e){e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),c.previewer.trigger("sek-pick-content",{id:e.apiParams?e.apiParams.id:"",content_type:"section"}),c.previewer.send("sek-animate-to-level",{id:e.apiParams.id})}},"sek-add-column":{callback:function(e){return l=!0,a={},s={id:sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),action:"sek-add-column",in_sektion:e.in_sektion,autofocus:e.autofocus},r.updateAPISetting(s)},complete:function(e){!1!==e.apiParams.autofocus&&c.previewer.trigger("sek-pick-content",{})}},"sek-add-module":{callback:function(e){return l=!0,a={},s={id:sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),action:"sek-add-module",in_sektion:e.in_sektion,in_column:e.in_column,module_type:e.content_id,before_module_or_nested_section:e.before_module_or_nested_section,after_module_or_nested_section:e.after_module_or_nested_section},r.updateAPISetting(s)},complete:function(e){c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)}),c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_column,location_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-remove":{callback:function(e){switch(l=!0,a={},e.level){case"section":var t=r.getLevelModel(e.id);if("no_match"===t){c.errare("reactToPreviewMsg => sek-remove-section => no sektionToRemove matched");break}s={action:"sek-remove-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:t.is_nested};break;case"column":s={action:"sek-remove-column",id:e.id,in_sektion:e.in_sektion};break;case"module":s={action:"sek-remove-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;default:c.errare("::reactToPreviewMsg => sek-remove => missing level ",e)}return r.updateAPISetting(s)},complete:function(e){if(c.previewer.trigger("sek-pick-content",{}),r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)}),"sek-remove-section"===e.apiParams.action){var t=r.getLevelModel(e.apiParams.location);_.isEmpty(t.collection)&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location})}}},"sek-move":{callback:function(e){switch(l=!0,a={},e.level){case"section":s={action:"sek-move-section",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),newOrder:e.newOrder,from_location:e.from_location,to_location:e.to_location};break;case"column":s={action:"sek-move-column",id:e.id,newOrder:e.newOrder,from_sektion:e.from_sektion,to_sektion:e.to_sektion};break;case"module":s={action:"sek-move-module",id:e.id,newOrder:e.newOrder,from_column:e.from_column,to_column:e.to_column,from_sektion:e.from_sektion,to_sektion:e.to_sektion}}return r.updateAPISetting(s)},complete:function(e){switch(e.apiParams.action){case"sek-move-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),e.apiParams.from_location!=e.apiParams.to_location&&(c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.to_location}),c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.from_location}));break;case"sek-move-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column});break;case"sek-refresh-modules-in-column":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column})}}},"sek-move-section-up":{callback:function(e){return l=!1,a={},s={action:"sek-move-section-up-down",direction:"up",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),location:e.location,in_column:e.in_column},r.updateAPISetting(s)},complete:function(e){c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location,original_action:"sek-move-section-up",moved_level_id:e.apiParams.id}),e.apiParams.new_location&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.new_location,original_action:"sek-move-section-down",moved_level_id:e.apiParams.id})}},"sek-move-section-down":{callback:function(e){return l=!1,a={},s={action:"sek-move-section-up-down",direction:"down",id:e.id,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column),location:e.location,in_column:e.in_column},r.updateAPISetting(s)},complete:function(e){c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location,original_action:"sek-move-section-down",moved_level_id:e.apiParams.id}),e.apiParams.new_location&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.new_location,original_action:"sek-move-section-down",moved_level_id:e.apiParams.id})}},"sek-duplicate":{callback:function(e){switch(l=!0,a={},e.level){case"section":s={action:"sek-duplicate-section",id:e.id,location:e.location,in_sektion:e.in_sektion,in_column:e.in_column,is_nested:!_.isEmpty(e.in_sektion)&&!_.isEmpty(e.in_column)};break;case"column":s={action:"sek-duplicate-column",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column};break;case"module":s={action:"sek-duplicate-module",id:e.id,in_sektion:e.in_sektion,in_column:e.in_column}}return r.updateAPISetting(s)},complete:function(e){var t;switch(e.apiParams.action){case"sek-duplicate-section":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"section",in_sektion:e.apiParams.id}),t=e.apiParams.location,e.apiParams.is_nested&&c.previewer.refresh(),c.previewer.send("sek-animate-to-level",{id:e.apiParams.id});break;case"sek-duplicate-column":c.previewer.trigger("sek-edit-options",{id:e.apiParams.id,level:"column",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_sektion;break;case"sek-duplicate-module":c.previewer.trigger("sek-edit-module",{id:e.apiParams.id,level:"module",in_sektion:e.apiParams.in_sektion,in_column:e.apiParams.in_column}),t=e.apiParams.in_column}c.previewer.trigger("sek-refresh-stylesheet",{id:t,location_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")})}},"sek-resize-columns":function(e){return l=!0,a={},s=e,r.updateAPISetting(s)},"sek-add-content-in-new-sektion":{callback:function(e){switch(l=!!_.isUndefined(e.send_to_preview)||e.send_to_preview,a={},(s=e).action="sek-add-content-in-new-sektion",s.id=sektionsLocalizedData.prefixForSettingsNotSaved+r.guid(),e.content_type){case"module":s.droppedModuleId=sektionsLocalizedData.prefixForSettingsNotSaved+r.guid();break;case"preset_section":c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),c.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0})}return r.updateAPISetting(s)},complete:function(e){switch(e.apiParams.content_type){case"module":c.previewer.trigger("sek-edit-module",{level:"module",id:e.apiParams.droppedModuleId});break;case"preset_section":c.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)});var t=e.location_skope_id;_.isUndefined(t)&&(t=!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:c.czr_skopeBase.getSkopeProperty("skope_id")),c.previewer.trigger("sek-refresh-stylesheet",{location_skope_id:t,is_global_location:r.isGlobalLocation(e.apiParams)}),e.apiParams.is_first_section&&c.previewer.trigger("sek-refresh-level",{level:"location",id:e.apiParams.location}),e.apiParams.sektion_to_replace&&c.previewer.trigger("sek-remove",{id:e.apiParams.sektion_to_replace,location:e.apiParams.location,in_column:e.apiParams.in_column,level:"section"})}},"sek-add-preset-section-in-new-nested-sektion":{callback:function(e){return l=!1,a={},(s=e).action="sek-add-preset-section-in-new-nested-sektion",c.previewer.send("sek-maybe-print-loader",{loader_located_in_level_id:e.location}),r.updateAPISetting(s)},complete:function(e){r.updateAPISetting({action:"sek-update-fonts",is_global_location:r.isGlobalLocation(e.apiParams)}),c.previewer.trigger("sek-refresh-stylesheet",{id:e.apiParams.in_sektion,location_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id")}),c.previewer.trigger("sek-refresh-level",{level:"section",id:e.apiParams.in_sektion})}},"sek-pick-content":function(e){return e=_.isObject(e)?e:{},c.czr_sektions.currentContentPickerType=c.czr_sektions.currentContentPickerType||new c.Value,_.isObject(e)&&e.id&&r.lastClickedTargetInPreview({id:e.id}),l=!0,s={},a={action:"sek-generate-draggable-candidates-picker-ui",content_type:(e=e||{}).content_type||"module",was_triggered:!_.has(e,"was_triggered")||e.was_triggered,focus:!_.has(e,"focus")||e.focus},r.generateUI(a)},"sek-edit-options":function(e){return l=!0,s={},_.isEmpty(e.id)?o.Deferred(function(){this.reject("missing id")}):(a={action:"sek-generate-level-options-ui",location:e.location,level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},r.generateUI(a))},"sek-edit-module":function(e){return l=!0,s={},a={action:"sek-generate-module-ui",level:e.level,id:e.id,in_sektion:e.in_sektion,in_column:e.in_column,options:e.options||[]},r.generateUI(a)},"sek-notify":function(i){l=!1;var n=i.notif_id||"sek-notify";return i.button_see_me=!!_.isUndefined(i.button_see_me)||i.button_see_me,r.lastNimbleNotificationId&&c.notifications.remove(r.lastNimbleNotificationId),o.Deferred(function(){c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification(n,{type:i.type||"info",message:i.message,dismissible:!0})),r.lastNimbleNotificationId=n;var t=function(){i.is_pro_notif&&c.notifications(n).container.css("background","#ffff88"),i.button_see_me&&(c.notifications(n).container.addClass("button-see-me-twice"),_.delay(function(){c.notifications.container.removeClass("button-see-me-twice")},2e3)),c.notifications.unbind("rendered",t)};c.notifications.has(n)&&c.notifications.bind("rendered",t),_.delay(function(){c.notifications.remove(n)},i.duration||5e3)}),this.resolve({is_global_location:r.isGlobalLocation(i)})})},"sek-refresh-level":function(t){return l=!0,o.Deferred(function(e){s={action:"sek-refresh-level",level:t.level,id:t.id,original_action:t.original_action,moved_level_id:t.moved_level_id},a={},e.resolve({is_global_location:r.isGlobalLocation(t)})})},"sek-refresh-stylesheet":function(t){return l=!0,t=t||{},o.Deferred(function(e){s={id:t.id},a={},e.resolve({is_global_location:r.isGlobalLocation(t)})})},"sek-toggle-save-section-ui":function(t){return l=!1,r.idOfSectionToSave=t.id,r.saveSectionDialogVisible(!0),o.Deferred(function(e){s={},a={},e.resolve({is_global_location:r.isGlobalLocation(t)})})},"sek-reset-collection":{callback:function(t){return l=!1,a={},(s=t).action="sek-reset-collection",s.scope=t.scope,r.updateAPISetting(s).done(function(e){if(c.previewer.refresh(),c.previewer.trigger("sek-notify",{notif_id:"reset-success",type:"success",duration:8e3,message:["<span>","<strong>",sektionsLocalizedData.i18n["Reset complete"],"</strong>","</span>"].join("")}),"local"===t.scope){var i=function(){var e=!0,t=c(r.localSectionsSettingId())().local_options;t&&_.isObject(t)&&t.local_reset&&!_.isUndefined(t.local_reset.inherit_group_scope)&&(e=t.local_reset.inherit_group_scope),r.cleanRegisteredLevelSettings(),c.remove(r.localSectionsSettingId());try{r.setupSettingsToBeSaved({dirty:!0,is_group_inheritance_enabled:e})}catch(e){c.errare("Error in self.localSectionsSettingId.callbacks => self.setupSettingsToBeSaved()",e)}c.trigger("nimble-update-topbar-skope-status",{after_reset:!0}),r.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0}),c.previewer.unbind("czr-new-skopes-synced",i)};c.previewer.bind("czr-new-skopes-synced",i)}}).fail(function(e){c.errare("reset_button input => error when firing ::updateAPISetting",e),c.previewer.trigger("sek-notify",{notif_id:"reset-failed",type:"error",duration:8e3,message:["<span>","<strong>",sektionsLocalizedData.i18n["Reset failed"],"<br/>","<i>"+e+"</i>","</strong>","</span>"].join("")})})},complete:function(e){}}};_.each(e,function(t,o){c.previewer.bind(o,function(n){var e;if(_.isFunction(t))e=t;else{if(!_.isFunction(t.callback))return void c.errare("::reactToPreviewMsg => invalid callback for action "+o);e=t.callback}"sek-notify"!==o&&(r.templateGalleryExpanded(!1),r.tmplDialogVisible(!1));try{e(n).done(function(e){if(e=e||{},l){var t={location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:c.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:c.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:s,uiParams:a,cloneId:!_.isEmpty(e.cloneId)&&e.cloneId},i=!1;try{JSON.stringify(t)}catch(e){c.errare("JSON.stringify problem when executing the callback of "+o,t),i=!0}i||c.previewer.send(o,t)}else c.previewer.trigger([o,"done"].join("_"),{apiParams:s,uiParams:a});r.trigger([o,"done"].join("_"),n)}).fail(function(e){c.errare("reactToPreviewMsg => problem or error when running action "+o,e),!_.isEmpty(e)&&sektionsLocalizedData.isDevMode&&c.previewer.trigger("sek-notify",{type:"error",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+e+"</strong>","<br>",sektionsLocalizedData.i18n["If this problem locks Nimble Builder, you can try resetting the sections of this page."],"<br>",'<span style="text-align:center;display:block">','<button type="button" class="button" aria-label="'+sektionsLocalizedData.i18n.Reset+'" data-sek-reset="true">'+sektionsLocalizedData.i18n.Reset+"</button>","</span>","</span>"].join("")})})}catch(e){c.errare("reactToPreviewMsg => error when receiving "+o,e)}})}),_.each(e,function(t,i){c.previewer.bind([i,"done"].join("_"),function(e){if(_.isFunction(t.complete))try{t.complete(e)}catch(e){c.errare("reactToPreviewMsg done => error when receiving "+[i,"done"].join("_"),e)}})})},schedulePrintSectionJson:function(){var i=this;c.previewer.bind("sek-to-json",function(e){var t=o.extend(!0,{},i.getLevelModel(e.id));console.log(JSON.stringify(i.cleanIds(t)))})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(y,b){b.extend(CZRSeksPrototype,{generateUI:function(e){var t=this,i=b.Deferred();switch(_.isEmpty(e.action)&&i.reject("generateUI => missing action"),e.action){case"sek-generate-module-ui":try{i=t.generateUIforFrontModules(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}break;case"sek-generate-level-options-ui":try{i=t.generateUIforLevelOptions(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}break;case"sek-generate-draggable-candidates-picker-ui":t.cleanRegisteredAndLargeSelectInput();try{i=t.generateUIforDraggableContent(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}y.czr_sektions.currentContentPickerType(e.content_type||"module");break;case"sek-generate-local-skope-options-ui":t.cleanRegisteredAndLargeSelectInput();try{i=t.generateUIforLocalSkopeOptions(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}break;case"sek-generate-global-options-ui":t.cleanRegisteredAndLargeSelectInput();try{i=t.generateUIforGlobalOptions(e,i)}catch(e){y.errare("::generateUI() => error",e),i=b.Deferred()}}return"pending"==i.state()?i.resolve().promise():i.promise()},updateAPISettingAndExecutePreviewActions:function(r){if(!_.isEmpty(r.settingParams)&&_.has(r.settingParams,"to")){var o,s=this,e=r.settingParams.to,t=null,a=!1;if(!_.isEmpty(r.settingParams.args)&&_.has(r.settingParams.args,"moduleRegistrationParams")){var l=r.settingParams.args.moduleRegistrationParams.control,i=r.settingParams.args.moduleRegistrationParams.id,n=l.czr_Module(i);if(_.isEmpty(n)?y.errare("updateAPISettingAndExecutePreviewActions => missing parentModuleInstance",r):(t=n.module_type,a=n.isMultiItem()),!a&&_.isObject(e)?o=s.normalizeAndSanitizeSingleItemInputValues({item_value:e,parent_module_type:t,is_multi_items:!1}):(o=[],_.each(e,function(e){o.push(s.normalizeAndSanitizeSingleItemInputValues({item_value:e,parent_module_type:t,is_multi_items:!0}))})),_.isEmpty(r.defaultPreviewAction))y.errare("updateAPISettingAndExecutePreviewActions => missing defaultPreviewAction in passed params. No action can be triggered to the api.previewer.",r);else{var c,d="refresh_stylesheet"===r.defaultPreviewAction,p="refresh_markup"===r.defaultPreviewAction,u="refresh_fonts"===r.defaultPreviewAction,m="refresh_preview"===r.defaultPreviewAction,f=!1,g=r.settingParams.args.input_changed,h=function(){return c&&_.isString(c.refresh_markup)&&"true"!==c.refresh_markup&&"false"!==c.refresh_markup};_.isUndefined(g)||(c=s.getInputRegistrationParams(g,t),_.isUndefined(c.refresh_stylesheet)||(d=Boolean(c.refresh_stylesheet)),_.isUndefined(c.refresh_markup)||(p=h()?c.refresh_markup:Boolean(c.refresh_markup)),_.isUndefined(c.refresh_fonts)||(u=Boolean(c.refresh_fonts)),_.isUndefined(c.refresh_preview)||(m=Boolean(c.refresh_preview)),_.isUndefined(c.refresh_css_via_post_message)||(f=Boolean(c.refresh_css_via_post_message)));var v=function(){if(!0!==r.isGlobalOptions)return s.updateAPISetting({action:r.uiParams.action,id:r.uiParams.id,value:o,in_column:r.uiParams.in_column,in_sektion:r.uiParams.in_sektion,options_type:r.options_type,settingParams:r.settingParams}).done(function(e){var t;!0===d&&y.previewer.send("sek-refresh-stylesheet",{location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-refresh-stylesheet",id:r.uiParams.id,level:r.uiParams.level}}),a&&r.settingParams.args.inputRegistrationParams&&_.isFunction(r.settingParams.args.inputRegistrationParams.input_parent)&&(t=r.settingParams.args.inputRegistrationParams.input_parent.id);var i=function(){y.previewer.send("sek-refresh-level",{location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-refresh-level",id:r.uiParams.id,level:r.uiParams.level,changed_item_id:t,control_id:l.id,is_multi_items:a},skope_id:y.czr_skopeBase.getSkopeProperty("skope_id")})};if(!0===p&&i(),h()){var n=r.settingParams.args.input_value;if(!_.isString(n))throw new Error("::updateAPISettingAndExecutePreviewActions => _doUpdateWithRequestedAction => refreshMarkupWhenNeededForInput => html content is not a string.");s.htmlIncludesElementsThatNeedAnAjaxRefresh(n)?i():y.previewer.send("sek-update-html-in-selector",{selector:c.refresh_markup,changed_item_id:t,is_multi_items:a,html:n,id:r.uiParams.id,location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-update-html-in-selector",id:r.uiParams.id,level:r.uiParams.level},skope_id:y.czr_skopeBase.getSkopeProperty("skope_id")})}if(!0===f){var o=r.settingParams.args.input_value;if(!_.isString(o))throw new Error("::updateAPISettingAndExecutePreviewActions => _doUpdateWithRequestedAction => refresh css with post message => css content is not a string.");y.previewer.send("sek-update-css-with-postmessage",{changed_item_id:t,is_multi_items:a,css_content:o,id:r.uiParams.id,location_skope_id:!0===e.is_global_location?sektionsLocalizedData.globalSkopeId:y.czr_skopeBase.getSkopeProperty("skope_id"),local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),apiParams:{action:"sek-update-css-with-postmessage",id:r.uiParams.id,level:r.uiParams.level},skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),is_current_page_custom_css:"local_custom_css"===g})}!0===m&&y.previewer.refresh()}).fail(function(e){y.errare("::updateAPISettingAndExecutePreviewActions=> api setting not updated",e),y.errare("::updateAPISettingAndExecutePreviewActions=> api setting not updated => params ",r)});if(_.isEmpty(r.options_type))y.errare("updateAPISettingAndExecutePreviewActions => error when updating the global options => missing options_type");else{var e=y(sektionsLocalizedData.optNameForGlobalOptions)(),t=b.extend(!0,{},_.isObject(e)?e:{}),i={};if(_.each(o||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(i[t]=e)}),t[r.options_type]=i,y(sektionsLocalizedData.optNameForGlobalOptions)(t),!1!==m&&y.previewer.refresh(),!0===u){var n=r.settingParams.args.input_value;if(!_.isString(n))return void y.errare("updateAPISettingAndExecutePreviewActions => font-family must be a string",n);s.updateGlobalGFonts(n)}!0===d&&y.previewer.send("sek-refresh-stylesheet",{local_skope_id:y.czr_skopeBase.getSkopeProperty("skope_id"),location_skope_id:sektionsLocalizedData.globalSkopeId})}};if(!0===u){var k=r.settingParams.args.input_value;if(!_.isString(k))return void y.errare("updateAPISettingAndExecutePreviewActions => font-family must be a string",k);!0===r.isGlobalOptions?v():s.updateAPISetting({action:"sek-update-fonts",font_family:k,is_global_location:s.isGlobalLocation(r.uiParams)}).always(function(){v().then(function(){s.updateAPISetting({action:"sek-update-fonts",is_global_location:s.isGlobalLocation(r.uiParams)})})})}else v()}}else y.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.args.moduleRegistrationParams The api main setting can not be updated",r)}else y.errare("updateAPISettingAndExecutePreviewActions => missing params.settingParams.to. The api main setting can not be updated",r)},updateGlobalGFonts:function(e){var t=y(sektionsLocalizedData.optNameForGlobalOptions)(),i=b.extend(!0,{},_.isObject(t)?t:{}),n=this.sniffGlobalGFonts(i);!_.isEmpty(e)&&_.isString(e)&&-1<e.indexOf("gfont")&&!_.contains(n,e)&&n.push(e),i.fonts=n,y(sektionsLocalizedData.optNameForGlobalOptions)(i)},sniffGlobalGFonts:function(e){var i=[],n=function(e){_.each(e,function(e,t){"fonts"!==t&&(_.isString(t)&&-1<t.indexOf("font_family")&&-1<e.indexOf("gfont")&&!_.contains(i,e)&&i.push(e),(_.isArray(e)||_.isObject(e))&&n(e))})};return(_.isArray(e)||_.isObject(e))&&n(e),i},normalizeAndSanitizeSingleItemInputValues:function(o){var i,r={},n={},s=null,a=this;return _.each(o.item_value,function(e,t){var i,n;"title"!==t&&((o.is_multi_items||"id"!==t)&&(null!==o.parent_module_type&&"id"!==t&&"no_default_value_specified"===(s=a.getInputDefaultValue(t,o.parent_module_type))&&y.infoLog("::normalizeAndSanitizeSingleItemInputValues => missing default value for input "+t+" in module "+o.parent_module_type),i=e,n=s,(_.isBoolean(i)||_.isBoolean(n)?Boolean(i)===Boolean(n):_.isNumber(i)||_.isNumber(n)?Number(i)===Number(n):_.isString(i)||_.isString(n)?i+""==n+"":_.isObject(i)&&_.isObject(n)?_.isEqual(i,n):_.isArray(i)&&_.isArray(n)?JSON.stringify(i.sort())===JSON.stringify(n.sort()):i===n)||(_.isString(e)||_.isObject(e))&&_.isEmpty(e)||(r[t]=e)))}),_.each(r,function(e,t){switch(a.getInputType(t,o.parent_module_type)){case"text":case"textarea":case"check":case"gutencheck":case"select":case"radio":case"number":case"upload":case"upload_url":case"color":case"wp_color_alpha":case"wp_color":case"content_picker":case"detached_tinymce_editor":case"nimble_tinymce_editor":case"password":case"range":case"range_slider":case"hidden":case"h_alignment":case"h_text_alignment":case"spacing":case"bg_position":case"v_alignment":case"font_size":case"line_height":case"font_picker":default:i=e}n[t]=i}),n},isUIControlAlreadyRegistered:function(t){var e=_.filter(this.registered(),function(e){return e.id==t&&"control"===e.what}),i=!1;return _.isEmpty(e)?i=y.control.has(t):(i=!0,1<e.length&&y.errare("isUIControlAlreadyRegistered => why is this control registered more than once ? => "+t)),i},htmlIncludesElementsThatNeedAnAjaxRefresh:function(e){if(!_.isString(e))return!1;var t=(e=e.replace(/\s+/g,"")).match(/\[+([\w_-])+/g),i=e.match(/\{\{+([\w_-])+/g),n=e.match(/<script[\s\S]*?>[\s\S]*?<\/script>/gi),o=[],r=[];if(t)for(var s=0;s<t.length;s++){var a=t[s].replace(/^\[+/g,"");-1===o.indexOf(a)&&o.push(a)}if(i)for(var l=0;l<i.length;l++){var c=i[l].replace(/^\[+/g,"");-1===r.indexOf(c)&&r.push(c)}return!_.isEmpty(o)||!_.isEmpty(r)||!_.isEmpty(n)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(s,a){a.extend(CZRSeksPrototype,{generateUIforDraggableContent:function(r,e){var n=this,i={};a.extend(i,{sek_content_type_switcher_module:{settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+"_sek_content_type_switcher_ui",module_type:"sek_content_type_switcher_module",controlLabel:n.getRegisteredModuleProperty("sek_content_type_switcher_module","name"),priority:10,settingValue:{content_type:r.content_type}},sek_module_picker_module:{settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+"_sek_draggable_modules_ui",module_type:"sek_module_picker_module",controlLabel:n.getRegisteredModuleProperty("sek_module_picker_module","name"),content_type:"module",priority:20,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>'},sek_my_sections_sec_picker_module:{settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+n.guid()+"_sek_draggable_sections_ui",module_type:"sek_my_sections_sec_picker_module",controlLabel:n.getRegisteredModuleProperty("sek_my_sections_sec_picker_module","name"),content_type:"section",expandAndFocusOnInit:!1,priority:10,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>',is_new:!1}}),_.each(["sek_intro_sec_picker_module","sek_features_sec_picker_module","sek_post_grids_sec_picker_module","sek_about_sec_picker_module","sek_contact_sec_picker_module","sek_team_sec_picker_module","sek_column_layouts_sec_picker_module","sek_header_sec_picker_module","sek_footer_sec_picker_module"],function(e,t){i[e]={settingControlId:sektionsLocalizedData.prefixForSettingsNotSaved+n.guid()+"_sek_draggable_sections_ui",module_type:e,controlLabel:n.getRegisteredModuleProperty(e,"name"),content_type:"section",expandAndFocusOnInit:0===t,priority:30,icon:'<i class="fas fa-grip-vertical sek-level-option-icon"></i>',is_new:"sek_post_grids_sec_picker_module"===e}});var t=_.keys(i)[0],o=i[t].settingControlId;return n.isUIControlAlreadyRegistered(o)?s.control(o,function(t){t.focus({completeCallback:function(){var e=t.container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}})}):(_do_register_=function(){_.each(i,function(o,e){s.has(o.settingControlId)||(s(o.settingControlId,function(e){e.bind(function(e,t){s.errare("generateUIforDraggableContent => the setting() should not changed")})}),s.CZR_Helpers.register({origin:"nimble",level:r.level,what:"setting",id:o.settingControlId,dirty:!1,value:o.settingValue||{},transport:"postMessage",type:"_nimble_ui_"})),s.CZR_Helpers.register({origin:"nimble",level:r.level,what:"control",id:o.settingControlId,label:o.controlLabel,type:"czr_module",module_type:o.module_type,section:n.SECTION_ID_FOR_CONTENT_PICKER,priority:o.priority||10,settings:{default:o.settingControlId},track:!1}).done(function(){s.control(o.settingControlId,function(e){e.content_type=o.content_type,!0===r.focus&&e.focus({completeCallback:function(){}});var t=e.container.find("label > .customize-control-title"),i=t.html();if(t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),o.is_new){var n=t.html();t.html(n+' <span class="sek-new-label">New!</span>')}_.isUndefined(o.icon)||t.addClass("sek-flex-vertical-center").prepend(o.icon),"section"===e.content_type?(e.container.attr("data-sek-expanded","false"),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===o.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&e.container.addClass("sek-expand-on-init")):e.container.attr("data-sek-accordion","no")})})}),s.trigger("nimble-modules-and-sections-controls-registered")},s.section(n.SECTION_ID_FOR_CONTENT_PICKER,function(e){_do_register_();var t=e.container.find(".accordion-section-title"),i=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.prepend('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),0<i.length&&i.find(".sek-level-option-icon").length<1&&i.find(".customize-action").after('<i class="fas fa-grip-vertical sek-level-option-icon"></i>'),n.scheduleModuleAccordion.call(e,{expand_first_control:!1}),e.container.find(".customize-control.sek-expand-on-init").find("label > .customize-control-title").trigger("click")})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,p){p.extend(CZRSeksPrototype,{generateUIforFrontModules:function(r,e){var s=this;_.isEmpty(r.id)&&e.reject("generateUI => missing id");var i=s.getLevelProperty({property:"value",id:r.id}),t=s.getLevelProperty({property:"module_type",id:r.id}),n=s.getRegisteredModuleProperty(t,"name");_.isEmpty(t)&&e.reject("generateUI => module => invalid module_type");var o={};if(!0===s.getRegisteredModuleProperty(t,"is_father")){var a=s.getRegisteredModuleProperty(t,"children");if(_.isEmpty(a))throw new Error("::generateUIforFrontModules => a father module "+t+" is missing children modules ");_.each(a,function(e,t){o[t]={settingControlId:r.id+"__"+t,module_type:e,controlLabel:s.getRegisteredModuleProperty(e,"name")}})}else o.__no_option_group_to_be_updated_by_children_modules__={settingControlId:r.id,module_type:t,controlLabel:n};var l=_.keys(o)[0],c=o[l].settingControlId;return s.isUIControlAlreadyRegistered(c)?d.control(c).focus({completeCallback:function(){var e=d.control(c).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(s.cleanRegisteredAndLargeSelectInput(),_do_register_=function(){_.each(o,function(n,o){if(!d.has(n.settingControlId)){var t=function(e,t,i){try{s.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_markup",uiParams:_.extend(r,{action:"sek-set-module-value"}),options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){d.errare("::generateUIforFrontModules => Error in updateAPISettingAndExecutePreviewActions",e)}};d(n.settingControlId,function(e){e.bind(_.debounce(t,s.SETTING_UPDATE_BUFFER))});var e=p.extend(!0,{},i);"__no_option_group_to_be_updated_by_children_modules__"!==o&&(e=!_.isEmpty(e)&&_.isObject(e)&&_.isObject(e[o])?e[o]:{}),d.CZR_Helpers.register({origin:"nimble",level:r.level,what:"setting",id:n.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}d.CZR_Helpers.register({origin:"nimble",level:r.level,what:"control",module_id:r.id,id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:r.id,priority:20,settings:{default:n.settingControlId}}).done(function(){}),d.control(n.settingControlId,function(e){d.control(n.settingControlId).focus({completeCallback:function(){}}),e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title"),i=p("<div/>").html(t.html()).text();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false")})})},d.section(r.id,function(e){d.section(r.id).focus(),s.generateModuleOptionSwitcherUI(r.id,r.action),_do_register_(),e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".customize-action").after('<i class="fas fa-pencil-alt sek-level-option-icon"></i>'),s.scheduleModuleAccordion.call(e,{expand_first_control:!0})}),d.CZR_Helpers.register({origin:"nimble",what:"section",id:r.id,title:sektionsLocalizedData.i18n["Content for"]+" "+n,panel:sektionsLocalizedData.sektionsPanelId,priority:1e3}).done(function(){})),e},generateModuleOptionSwitcherUI:function(e,t){var i=e+"__option_switcher";d.has(i)||(d(i,function(e){e.bind(function(e,t){d.errare("generateUIforDraggableContent => the setting() should not changed")})}),d.CZR_Helpers.register({origin:"nimble",level:"module",what:"setting",id:i,dirty:!1,value:"",transport:"postMessage",type:"_nimble_ui_"})),d.CZR_Helpers.register({origin:"nimble",level:"module",what:"control",module_id:e,id:i,label:"",type:"czr_module",module_type:"sek_mod_option_switcher_module",section:e,priority:10,settings:{default:i},has_accordion:!1,ui_action:t}).done(function(){d.control(i,function(e){e.deferred.embedded.done(function(){e.container.find(".customize-control-title").hide(),e.container.attr("data-sek-accordion","no")})})})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{generateUIforLevelOptions:function(s,e){var a=this,l=a.getLevelProperty({property:"options",id:s.id});l=_.isObject(l)?l:{};var t={};c.trigger("nb_setup_level_ui_registration_params",{params:s,modulesRegistrationParams:t}),d.extend(t,{bg:{settingControlId:s.id+"__bg_options",module_type:"sek_level_bg_module",controlLabel:sektionsLocalizedData.i18n["Background settings for the"]+" "+sektionsLocalizedData.i18n[s.level],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">gradient</i>'}}),"section"===s.level&&d.extend(t,{level_text:{settingControlId:s.id+"__text_options",module_type:"sek_level_text_module",controlLabel:sektionsLocalizedData.i18n["Text settings for the"]+" "+sektionsLocalizedData.i18n[s.level],expandAndFocusOnInit:!0,icon:'<i class="material-icons sek-level-option-icon">text_format</i>'}}),d.extend(t,{border:{settingControlId:s.id+"__border_options",module_type:"sek_level_border_module",controlLabel:sektionsLocalizedData.i18n["Borders settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="material-icons sek-level-option-icon">rounded_corner</i>'},spacing:{settingControlId:s.id+"__spacing_options",module_type:"sek_level_spacing_module",controlLabel:sektionsLocalizedData.i18n["Padding and margin settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="material-icons sek-level-option-icon">center_focus_weak</i>'},anchor:{settingControlId:s.id+"__anchor_options",module_type:"sek_level_anchor_module",controlLabel:sektionsLocalizedData.i18n["Custom anchor ( CSS ID ) and CSS classes for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-anchor sek-level-option-icon"></i>'},visibility:{settingControlId:s.id+"__visibility_options",module_type:"sek_level_visibility_module",controlLabel:sektionsLocalizedData.i18n["Device visibility settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="far fa-eye sek-level-option-icon"></i>'},height:{settingControlId:s.id+"__height_options",module_type:"sek_level_height_module",controlLabel:sektionsLocalizedData.i18n["Height, vertical alignment, z-index for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-vertical sek-level-option-icon"></i>'}}),(sektionsLocalizedData.isUpsellEnabled||sektionsLocalizedData.isPro)&&d.extend(t,{animation:{settingControlId:s.id+"__animate_options",module_type:"sek_level_animation_module",controlLabel:sektionsLocalizedData.i18n["Animation settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="material-icons sek-level-option-icon">movie_filter</i>',isPro:!0}}),"section"===s.level&&(d.extend(t,{width:{settingControlId:s.id+"__width_options",module_type:"sek_level_width_section",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),d.extend(t,{breakpoint:{settingControlId:s.id+"__breakpoint_options",module_type:"sek_level_breakpoint_module",controlLabel:sektionsLocalizedData.i18n["Responsive settings : breakpoint, column direction"],icon:'<i class="material-icons sek-level-option-icon">devices</i>'}})),"column"===s.level&&d.extend(t,{width:{settingControlId:s.id+"__width_options",module_type:"sek_level_width_column",controlLabel:sektionsLocalizedData.i18n["Width settings for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),"module"===s.level&&d.extend(t,{width:{settingControlId:s.id+"__width_options",module_type:"sek_level_width_module",controlLabel:sektionsLocalizedData.i18n["Width and horizontal alignment for the"]+" "+sektionsLocalizedData.i18n[s.level],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'}}),(sektionsLocalizedData.isUpsellEnabled||sektionsLocalizedData.isPro)&&d.extend(t,{level_cust_css:{settingControlId:s.id+"__level_custom_css",module_type:"sek_level_cust_css_level",controlLabel:sektionsLocalizedData.i18n["Custom CSS"],icon:'<i class="material-icons sek-level-option-icon">code</i>',isPro:!0}});var i=_.keys(t)[0],n=t[i].settingControlId;return a.isUIControlAlreadyRegistered(n)?c.control(n).focus({completeCallback:function(){var e=c.control(n).container;e.hasClass("button-see-me")||(e.addClass("button-see-me"),_.delay(function(){e.removeClass("button-see-me")},800))}}):(a.cleanRegisteredAndLargeSelectInput(),_do_register_=function(){_.each(t,function(n,o){if(a.isUIControlAlreadyRegistered(n.settingControlId))c.section(c.control(n.settingControlId).section()).expanded(!0);else{if(!c.has(n.settingControlId)){var t=function(e,t,i){try{a.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_stylesheet",uiParams:s,options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("::_do_register_ => Error in updateAPISettingAndExecutePreviewActions",e)}};c(n.settingControlId,function(e){e.bind(_.debounce(t,a.SETTING_UPDATE_BUFFER))});var e=l[o]||{},i=a.getModuleStartingValue(n.module_type);if("no_starting_value"!==i&&_.isObject(i)){var r=d.extend(!0,{},i);e=d.extend(r,e)}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"setting",id:n.settingControlId,dirty:!1,value:e,transport:"postMessage",type:"_nimble_ui_"})}c.CZR_Helpers.register({origin:"nimble",level:s.level,level_id:s.id,what:"control",id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:s.id,priority:20,settings:{default:n.settingControlId}}).done(function(){}),c.control(n.settingControlId,function(e){!0===n.expandAndFocusOnInit&&e.focus({completeCallback:function(){}}),e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title"),i=t.html();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),n.isPro&&t.append(['<img class="sek-pro-icon-next-title" src="',sektionsLocalizedData.baseUrl,"/assets/czr/sek/img/pro_orange.svg?ver="+sektionsLocalizedData.nimbleVersion,'"/>'].join("")),e.container.attr("data-sek-expanded","false"),!0===n.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})}})},c.section(s.id,function(e){_do_register_(),"module"===s.level&&a.generateModuleOptionSwitcherUI(s.id,s.action),e.container.find(".accordion-section-title").first().hide();var t=e.container.find(".customize-section-title h3");0<t.length&&t.find(".sek-level-option-icon").length<1&&t.find(".customize-action").after('<i class="fas fa-sliders-h sek-level-option-icon"></i>'),a.scheduleModuleAccordion.call(e,{expand_first_control:!1})}),c.CZR_Helpers.register({origin:"nimble",what:"section",id:s.id,title:sektionsLocalizedData.i18n["Settings for the"]+" "+s.level,panel:sektionsLocalizedData.sektionsPanelId,priority:10}).done(function(){})),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{getLocalSkopeOptionId:function(){var e=c.czr_skopeBase.getSkopeProperty("skope_id");return _.isEmpty(e)?(c.errare("czr_sektions::getLocalSkopeOptionId => empty skope_id "),""):sektionsLocalizedData.prefixForSettingsNotSaved+e+"__localSkopeOptions"},generateUIforLocalSkopeOptions:function(s,e){var a=this,i=a.getLocalSkopeOptionId();if(a.isUIControlAlreadyRegistered(i))return e;if(a.localOptionsRegistrationParams={},_.isUndefined(sektionsLocalizedData.localOptionsMap)||!_.isObject(sektionsLocalizedData.localOptionsMap))return c.errare("::generateUIforGlobalOptions => missing or invalid localOptionsMap"),e;!0===s.clean_settings_and_controls_first&&a.cleanRegisteredLocalOptionSettingsAndControls(),_.each(sektionsLocalizedData.localOptionsMap,function(e,t){switch(t){case"template":a.localOptionsRegistrationParams[t]={settingControlId:i+"__template",module_type:e,controlLabel:sektionsLocalizedData.i18n["Page template"],expandAndFocusOnInit:!1,icon:'<i class="material-icons sek-level-option-icon">check_box_outline_blank</i>'};break;case"local_header_footer":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_header_footer",module_type:e,controlLabel:sektionsLocalizedData.i18n["Page header and footer"],icon:'<i class="material-icons sek-level-option-icon">web</i>'};break;case"widths":a.localOptionsRegistrationParams[t]={settingControlId:i+"__widths",module_type:e,controlLabel:sektionsLocalizedData.i18n["Inner and outer widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'};break;case"custom_css":a.localOptionsRegistrationParams[t]={settingControlId:i+"__custom_css",module_type:e,controlLabel:sektionsLocalizedData.i18n["Custom CSS"],icon:'<i class="material-icons sek-level-option-icon">code</i>'};break;case"local_performances":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_performances",module_type:e,controlLabel:sektionsLocalizedData.i18n["Page speed optimizations"],icon:'<i class="material-icons sek-level-option-icon">network_check</i>'};break;case"local_reset":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_reset",module_type:e,controlLabel:sektionsLocalizedData.i18n["Remove all sections and options of this page"],icon:'<i class="material-icons sek-level-option-icon">delete</i>'};break;case"local_revisions":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_revisions",module_type:e,controlLabel:sektionsLocalizedData.i18n["Revision history of local sections"],icon:'<i class="material-icons sek-level-option-icon">history</i>'};break;case"import_export":a.localOptionsRegistrationParams[t]={settingControlId:i+"__local_imp_exp",module_type:e,controlLabel:sektionsLocalizedData.i18n["Export / Import"],icon:'<i class="material-icons sek-level-option-icon">import_export</i>'};break;default:c.errare("::generateUIforLocalOptions => an option group could not be registered => "+e,t)}});var t=c(a.localSectionsSettingId())(),l=d.extend(!0,{},_.isObject(t.local_options)?t.local_options:{});return _do_register_=function(){_.each(a.localOptionsRegistrationParams,function(n,o){var e=a.getModuleStartingValue(n.module_type),t=_.isObject(l[o])?l[o]:{};if(!c.has(n.settingControlId)){var i=function(e,t,i){try{a.updateAPISettingAndExecutePreviewActions({defaultPreviewAction:"refresh_preview",uiParams:s,options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){c.errare("::generateUIforLocalSkopeOptions => Error in updateAPISettingAndExecutePreviewActions",e)}};if(c(n.settingControlId,function(e){e.bind(_.debounce(i,a.SETTING_UPDATE_BUFFER))}),"no_starting_value"!==e&&_.isObject(e)){var r=d.extend(!0,{},e);t=d.extend(r,t)}c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"setting",id:n.settingControlId,dirty:!1,value:t,transport:"postMessage",type:"_nimble_ui_"})}c.control.has(n.settingControlId)||c.CZR_Helpers.register({origin:"nimble",level:s.level,what:"control",id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:a.SECTION_ID_FOR_LOCAL_OPTIONS,priority:10,settings:{default:n.settingControlId},track:!0}).done(function(){c.control(n.settingControlId,function(e){e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title").first(),i=t.html();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===n.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click")})})})},_do_register_(),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,p){p.extend(CZRSeksPrototype,{generateUIforGlobalOptions:function(a,e){var l=this,i=sektionsLocalizedData.prefixForSettingsNotSaved+sektionsLocalizedData.optNameForGlobalOptions;if(l.isUIControlAlreadyRegistered(i))return e;var n={};if(_.isUndefined(sektionsLocalizedData.globalOptionsMap)||!_.isObject(sektionsLocalizedData.globalOptionsMap))return d.errare("::generateUIforGlobalOptions => missing or invalid globalOptionsMap"),e;_.each(sektionsLocalizedData.globalOptionsMap,function(e,t){switch(t){case"site_templates":n[t]={settingControlId:i+"__site_templates",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site templates"],icon:'<i class="material-icons sek-level-option-icon">devices</i>'};break;case"global_header_footer":n[t]={settingControlId:i+"__header_footer",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide header and footer"],icon:'<i class="material-icons sek-level-option-icon">web</i>'};break;case"global_text":n[t]={settingControlId:i+"__global_text",module_type:e,controlLabel:sektionsLocalizedData.i18n["Global text options for Nimble sections"],icon:'<i class="material-icons sek-level-option-icon">text_format</i>'};break;case"widths":n[t]={settingControlId:i+"__widths",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide inner and outer sections widths"],icon:'<i class="fas fa-ruler-horizontal sek-level-option-icon"></i>'};break;case"breakpoint":n[t]={settingControlId:i+"__breakpoint",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide breakpoint for Nimble sections"],expandAndFocusOnInit:!1,icon:'<i class="material-icons sek-level-option-icon">devices</i>'};break;case"performances":n[t]={settingControlId:i+"__performances",module_type:e,controlLabel:sektionsLocalizedData.i18n["Site wide page speed optimizations"],icon:'<i class="material-icons sek-level-option-icon">network_check</i>'};break;case"recaptcha":n[t]={settingControlId:i+"__recaptcha",module_type:e,controlLabel:sektionsLocalizedData.i18n["Protect your contact forms with Google reCAPTCHA"],icon:'<i class="material-icons sek-level-option-icon">security</i>'};break;case"global_revisions":n[t]={settingControlId:i+"__global_revisions",module_type:e,controlLabel:sektionsLocalizedData.i18n["Revision history of global sections"],icon:'<i class="material-icons sek-level-option-icon">history</i>'};break;case"global_imp_exp":n[t]={settingControlId:i+"__global_imp_exp",module_type:e,controlLabel:sektionsLocalizedData.i18n["Export / Import global sections"],icon:'<i class="material-icons sek-level-option-icon">import_export</i>'};break;case"global_reset":n[t]={settingControlId:i+"__global_reset",module_type:e,controlLabel:sektionsLocalizedData.i18n["Remove the sections displayed in global locations"],icon:'<i class="material-icons sek-level-option-icon">delete</i>'};break;case"beta_features":break;default:d.errare("::generateUIforGlobalOptions => an option group could not be registered => "+e,t)}});var c=sektionsLocalizedData.globalOptionDBValues;return _do_register_=function(){_.each(n,function(n,o){if("site_templates"===o)var r=function(){d.trigger("nimble-update-topbar-skope-status"),d.previewer.trigger("sek-notify",{type:"info",duration:2e4,message:['<span style="">',sektionsLocalizedData.i18n["Refreshed to home page : site templates must be set when previewing home"],"</span>"].join("")}),d.previewer.unbind("czr-new-skopes-synced",r),setTimeout(function(){d._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate=!1},1e3)};if(!d.has(n.settingControlId)){var t=function(e,t,i){try{l.updateAPISettingAndExecutePreviewActions({isGlobalOptions:!0,defaultPreviewAction:"refresh_preview",uiParams:a,options_type:o,settingParams:{to:e,from:t,args:i}})}catch(e){d.errare("::generateUIforGlobalOptions => Error in updateAPISettingAndExecutePreviewActions",e)}};d(n.settingControlId,function(e){"site_templates"===o&&e.bind(function(e){d._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate=!0,d.previewer.bind("czr-new-skopes-synced",r),d.previewer.previewUrl(d.settings.url.home),d.trigger("nimble-update-topbar-skope-status")}),e.bind(_.debounce(t,l.SETTING_UPDATE_BUFFER))});var e=l.getModuleStartingValue(n.module_type),i=_.isObject(c)&&!_.isEmpty(c[o])?c[o]:{};if("no_starting_value"!==e&&_.isObject(e)){var s=p.extend(!0,{},e);i=p.extend(s,i)}d.CZR_Helpers.register({origin:"nimble",level:a.level,what:"setting",id:n.settingControlId,dirty:!1,value:i,transport:"postMessage",type:"_nimble_ui_"})}d.CZR_Helpers.register({origin:"nimble",level:a.level,what:"control",id:n.settingControlId,label:n.controlLabel,type:"czr_module",module_type:n.module_type,section:l.SECTION_ID_FOR_GLOBAL_OPTIONS,priority:20,settings:{default:n.settingControlId},track:!1}).done(function(){d.control(n.settingControlId,function(e){e.container.attr("data-sek-expanded","false");var t=e.container.find("label > .customize-control-title"),i=t.html();t.html(['<span class="sek-ctrl-accordion-title">',i,"</span>"].join("")),_.isUndefined(n.icon)||t.addClass("sek-flex-vertical-center").prepend(n.icon),t.prepend('<span class="sek-animated-arrow" data-name="icon-chevron-down"><span class="fa fa-chevron-down"></span></span>'),e.container.attr("data-sek-expanded","false"),!0===n.expandAndFocusOnInit&&"false"==e.container.attr("data-sek-expanded")&&t.trigger("click"),"site_templates"===o&&e.container.one("click",".customize-control-title",function(){d._nimbleRefreshingPreviewHomeWhenSettingSiteTemplate=!0,d.previewer.bind("czr-new-skopes-synced",r),d.previewer.previewUrl(d.settings.url.home),d.trigger("nimble-update-topbar-skope-status")})})})})},_do_register_(),e}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(g,h){h.extend(CZRSeksPrototype,{updateAPISetting:function(p){var u=this;(p=p||{}).is_global_location="global"===p.scope||u.isGlobalLocation(p);var m=p.is_global_location?u.getGlobalSectionsSettingId():u.localSectionsSettingId(),f=g(m)();u.updAPISetParams={params:p,promise:h.Deferred(),newSetValue:_.isObject(f)?h.extend(!0,{},f):u.getDefaultSektionSettingValue(p.is_global_location?"global":"local"),cloneId:"",sectionInjectPromise:"_not_injection_scenario_"};return g(m,function(e){!function(){switch(u.updAPISetParams.newSetValue.collection=_.isArray(u.updAPISetParams.newSetValue.collection)?u.updAPISetParams.newSetValue.collection:u.getDefaultSektionSettingValue(p.is_global_location?"global":"local").collection,p.action){case"sek-maybe-add-missing-locations":var t,i,e=u.activeLocations();h.extend(!0,[],u.updAPISetParams.newSetValue.collection),_.each(e,function(e){t=_.findWhere(u.updAPISetParams.newSetValue.collection,{id:e}),_.isUndefined(t)&&((i=h.extend(!0,{},sektionsLocalizedData.defaultLocationModel)).id=e,g.infoLog("=> need to add missing location to api setting value",i),u.updAPISetParams.newSetValue.collection.push(i))});break;case"sek-add-section":u._updAPISet_sek_add_sektion();break;case"sek-duplicate-section":u._updAPISet_sek_duplicate_sektion();break;case"sek-remove-section":u._updAPISet_sek_remove_sektion();break;case"sek-move-section":u._updAPISet_sek_move_sektion();break;case"sek-move-section-up-down":u._updAPISet_sek_move_sektion_up_down();break;case"sek-add-column":u._updAPISet_sek_add_column();break;case"sek-remove-column":u._updAPISet_sek_remove_column();break;case"sek-duplicate-column":u._updAPISet_sek_duplicate_column();break;case"sek-resize-columns":u._updAPISet_sek_resize_column();break;case"sek-move-column":u._updAPISet_sek_move_column();break;case"sek-add-module":u._updAPISet_sek_add_module();break;case"sek-duplicate-module":u._updAPISet_sek_duplicate_module();break;case"sek-remove-module":u._updAPISet_sek_remove_module();break;case"sek-move-module":u._updAPISet_sek_move_module();break;case"sek-set-module-value":u._updAPISet_sek_set_module_value();break;case"sek-add-content-in-new-sektion":u._updAPISet_sek_add_content_in_new_sektion();break;case"sek-add-preset-section-in-new-nested-sektion":u._updAPISet_sek_add_preset_sektion_in_new_nested_sektion();break;case"sek-import-from-file":u._updAPISet_sek_import_from_file();break;case"sek-inject-tmpl-from-gallery":u._updAPISet_sek_inject_tmpl_from_gallery();break;case"sek-generate-level-options-ui":var n=u.getLevelModel(p.id,u.updAPISetParams.newSetValue.collection),o={};if("no_match"===n){g.errare("updateAPISetting => "+p.action+" => no parent sektion matched"),u.updAPISetParams.promise.reject("updateAPISetting => "+p.action+" => no parent sektion matched");break}var r=h.extend(!0,{},n.options||{});_.each(p.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(o[t]=e)}),_.isEmpty(p.options_type)&&g.errare("updateAPISetting => "+p.action+" => missing options_type"),r[p.options_type]=o,n.options=r;break;case"sek-generate-local-skope-options-ui":o={};var s=h.extend(!0,{},_.isObject(u.updAPISetParams.newSetValue.local_options)?u.updAPISetParams.newSetValue.local_options:{});if(_.each(p.value||{},function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(o[t]=e)}),_.isEmpty(p.options_type)||!_.isString(p.options_type))g.errare("updateAPISetting => "+p.action+" => missing options_type");else{var a={};a[p.options_type]=o,u.updAPISetParams.newSetValue.local_options=h.extend(s,a)}break;case"sek-update-fonts":var l=u.sniffGFonts({is_global_location:p&&!0===p.is_global_location});!_.isEmpty(p.font_family)&&_.isString(p.font_family)&&-1<p.font_family.indexOf("gfont")&&!_.contains(l,p.font_family)&&l.push(p.font_family),u.updAPISetParams.newSetValue.fonts=l;break;case"sek-restore-revision":u.updAPISetParams.newSetValue=p.revision_value;break;case"sek-reset-collection":var c;"local"===p.scope&&(c=h.extend(!0,{},_.isObject(u.updAPISetParams.newSetValue.local_options)?u.updAPISetParams.newSetValue.local_options:{}));try{u.updAPISetParams.newSetValue=g.czr_sektions.resetCollectionSetting(p.scope,c)}catch(e){g.errare("sek-reset-collection => error when firing resetCollectionSetting()",e)}}if("pending"==u.updAPISetParams.promise.state()){var d=function(){var e=p.settingParams&&p.settingParams.from&&p.settingParams.to;if(e&&_.isEqual(p.settingParams.from,p.settingParams.to))u.updAPISetParams.promise.reject("updateAPISetting => main sektion setting change => the new setting value is unchanged when firing action : "+p.action);else if(!e&&_.isEqual(f,u.updAPISetParams.newSetValue))u.updAPISetParams.promise.reject("updateAPISetting => the new setting value is unchanged when firing action : "+p.action);else if(null!==u.validateSettingValue(u.updAPISetParams.newSetValue,p.is_global_location?"global":"local")){if(!p.is_global_location){var t=!0,i=u.updAPISetParams.newSetValue;i.local_options&&i.local_options.local_reset&&!_.isUndefined(i.local_options.local_reset.inherit_group_scope)&&(t=i.local_options.local_reset.inherit_group_scope),u.updAPISetParams.newSetValue.__inherits_group_skope_tmpl_when_exists__="sek-reset-collection"===p.action&&t}g(m)(u.updAPISetParams.newSetValue,p),p.is_global_location||g.trigger("nimble-update-topbar-skope-status"),p.cloneId=u.updAPISetParams.cloneId,u.updAPISetParams.promise.resolve(p)}else u.updAPISetParams.promise.reject("Validation problem for action "+p.action)};"_not_injection_scenario_"===u.updAPISetParams.sectionInjectPromise?(d(),"pending"===u.updAPISetParams.promise.state()&&g.errare("::updateAPISetting => The self.updAPISetParams.promise has not been resolved properly.")):u.updAPISetParams.sectionInjectPromise.done(function(){d(),"pending"===u.updAPISetParams.promise.state()&&g.errare("::updateAPISetting => The self.updAPISetParams.promise has not been resolved properly.")}).fail(function(e){g.errare("updateAPISetting => self.updAPISetParams.sectionInjectPromise failed",e)})}}()}),u.updAPISetParams.promise.promise()},resetColumnsWidthInSection:function(e){_.each(e.collection,function(e){e.options&&e.options.width&&e.options.width["custom-width"]&&(e.options.width=_.omit(e.options.width,"custom-width")),e.width=""})},_getApiSingleSectionData:function(t){var e,i=h.Deferred();return _.isEmpty(g.nimble_ApiSections[t])?(_.isUndefined(g.nimble_fetchingApiSection)||"pending"!=g.nimble_fetchingApiSection.state()?(e=wp.ajax.post("sek_get_single_api_section_data",{nonce:g.settings.nonce.save,api_section_id:t}),g.nimble_fetchingApiSection=e):e=g.nimble_fetchingApiSection,e.done(function(e){g.nimble_ApiSections[t]=e,i.resolve(e)}).fail(function(e){g.errorLog("ajax sek_get_single_api_section_data => error",e);var t="Error when fetching the section";_.isString(e)&&!_.isEmpty(e)&&(t=e),g.previewer.trigger("sek-notify",{type:"error",duration:6e4,is_pro_notif:!0,notif_id:"pro_section_error",message:['<span style="font-size:0.95em">',"<strong>"+t+"</strong>","</span>"].join("")})})):i.resolve(g.nimble_ApiSections[t]),i.promise()},getPresetSectionCollectionData:function(i){var n=this,o=h.Deferred();if(i.is_user_section)wp.ajax.post("sek_get_user_section_json",{nonce:g.settings.nonce.save,section_post_name:i.presetSectionId}).done(function(e){if(!_.isObject(e)||_.isEmpty(e)||_.isUndefined(e.data))throw g.errare("getPresetSectionCollectionData => preset section type not found or empty : "+i.presetSectionId,e),new Error("getPresetSectionCollectionData => preset section type not found or empty");var t=h.extend({},!0,e.data);t.id=sektionsLocalizedData.prefixForSettingsNotSaved+n.guid(),t.collection=n.setPresetOrUserSectionIds(t.collection),t.ver_ini=sektionsLocalizedData.nimbleVersion,t.collection=n.setPresetSectionVersion(t.collection),o.resolve(t)}).fail(function(e){o.reject(e)});else{g.nimble_ApiSections=g.nimble_ApiSections||{};var e=function(e){if(_.isEmpty(e)||!_.isObject(e))throw new Error("getPresetSectionCollectionData => Invalid collection");var t=h.extend(!0,{},e);t.collection=n.setPresetOrUserSectionIds(t.collection),t.ver_ini=sektionsLocalizedData.nimbleVersion,t.collection=n.setPresetSectionVersion(t.collection),o.resolve(t)};switch(i.presetSectionId){case"two_columns":e(JSON.parse('{"collection":[{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]}]}'));break;case"three_columns":e(JSON.parse('{"collection":[{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]}]}'));break;case"four_columns":e(JSON.parse('{"collection":[{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]},{"id":"","level":"column","collection":[]}]}'));break;default:n._getApiSingleSectionData(i.presetSectionId).fail(function(e){o.reject(e)}).done(e)}}return o.promise()},setPresetOrUserSectionIds:function(e){var t=this;return _.isArray(e)&&_.each(e,function(e){e.id=sektionsLocalizedData.prefixForSettingsNotSaved+t.guid(),_.isArray(e.collection)&&t.setPresetOrUserSectionIds(e.collection)}),e},setPresetSectionVersion:function(e){var t=this;return _.each(e,function(e){e.ver_ini=sektionsLocalizedData.nimbleVersion,_.isArray(e.collection)&&t.setPresetSectionVersion(e.collection)}),e},preparePresetSectionForInjection:function(o){var i=this,n={},r=h.Deferred();i.maybeGenerateNewItemIdsForCrudModules(o);var s=function(e){return _.each(e,function(e,t){_.isObject(e)||_.isArray(e)?s(e):_.isString(e)&&-1!=e.indexOf("__img_url__")&&(_.has(n,e)||(n[e]=i.importAttachment(e.replace("__img_url__",""))))}),n},a=function(i,n){return _.each(i,function(e,t){_.isObject(e)||_.isArray(e)?a(e,n):_.isString(e)&&-1!=e.indexOf("__img_url__")&&_.has(n,e)&&_.isObject(n[e])&&(i[t]=n[e].id)}),o};return i.whenAllPromisesInParallel(s(o)).done(function(e){var t=a(o,e);r.resolve(t)}).fail(function(e){r.reject(e)}),r.promise()}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(y,b){b.extend(CZRSeksPrototype,{_updAPISet_sek_add_sektion:function(){var i,e,t,n,o=this;if(i=o.updAPISetParams.params,_.isEmpty(i.id))throw new Error("updateAPISetting => "+i.action+" => missing id");if(_.isEmpty(i.location))throw new Error("updateAPISetting => "+i.action+" => missing location");if(!0===i.is_nested)e=o.getLevelModel(i.in_column,o.updAPISetParams.newSetValue.collection),"no_match"==(t=o.getLevelModel(i.in_sektion,o.updAPISetParams.newSetValue.collection))?o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no grand parent sektion found"):!0===t.is_nested?(o.updAPISetParams.promise.reject(""),y.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]+"</strong>","</span>"].join("")})):"no_match"==e?(y.errare("updateAPISetting => "+i.action+" => no parent column matched"),o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no parent column matched")):(e.collection=_.isArray(e.collection)?e.collection:[],e.collection.push({id:i.id,level:"section",collection:[{id:sektionsLocalizedData.prefixForSettingsNotSaved+o.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion}));else if("no_match"==(n=o.getLevelModel(i.location,o.updAPISetParams.newSetValue.collection)))y.errare("updateAPISetting => "+i.action+" => no location matched"),o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no location matched");else{var r=0;n.collection=_.isArray(n.collection)?n.collection:[],_.each(n.collection,function(e,t){i.before_section===e.id&&(r=t),i.after_section===e.id&&(r=t+1)}),n.collection=_.isArray(n.collection)?n.collection:[],n.collection.splice(r,0,{id:i.id,level:"section",collection:[{id:sektionsLocalizedData.prefixForSettingsNotSaved+o.guid(),level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion})}},_updAPISet_sek_duplicate_sektion:function(){var t,e,i,n,o=this;if(t=o.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");if(_.isEmpty(t.location))throw new Error("updateAPISetting => "+t.action+" => missing location");try{n=o.cloneLevel(t.id)}catch(e){return void y.errare("updateAPISetting => "+t.action,e)}o.maybeGenerateNewItemIdsForCrudModules(n);var r=o.getLevelPositionInCollection(t.id,o.updAPISetParams.newSetValue.collection);if(!0===t.is_nested){if("no_match"==(e=o.getLevelModel(t.in_column,o.updAPISetParams.newSetValue.collection)))return y.errare("updateAPISetting => "+t.action+" => no parent column matched"),void o.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no parent column matched");e.collection=_.isArray(e.collection)?e.collection:[],e.collection.splice(parseInt(r+1,10),0,n)}else{if("no_match"==(i=o.getLevelModel(t.location,o.updAPISetParams.newSetValue.collection)))return y.errare("updateAPISetting => "+t.action+" => no location matched"),void o.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no location matched");i.collection=_.isArray(i.collection)?i.collection:[],i.collection.splice(parseInt(r+1,10),0,n)}o.updAPISetParams.cloneId=n.id},_updAPISet_sek_remove_sektion:function(){var t,e,i,n=this;if(!0===(t=n.updAPISetParams.params).is_nested)"no_match"!=(e=n.getLevelModel(t.in_column,n.updAPISetParams.newSetValue.collection))?(e.collection=_.isArray(e.collection)?e.collection:[],e.collection=_.filter(e.collection,function(e){return e.id!=t.id})):y.errare("updateAPISetting => "+t.action+" => no parent column matched");else{if("no_match"==(i=n.getLevelModel(t.location,n.updAPISetParams.newSetValue.collection)))return y.errare("updateAPISetting => "+t.action+" => no location matched"),void n.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no location matched");i.collection=_.filter(i.collection,function(e){return e.id!=t.id})}},_updAPISet_sek_move_sektion:function(){var t,i,n,o=this;t=o.updAPISetParams.params;var e,r,s=o.getLevelModel(t.to_location,o.updAPISetParams.newSetValue.collection);if(_.isEmpty(s)||"no_match"==s)throw new Error("updateAPISetting => "+t.action+" => missing target location");if(t.from_location!=t.to_location){var a=o.getLevelModel(t.from_location,o.updAPISetParams.newSetValue.collection);if(_.isEmpty(a)||"no_match"==a)throw new Error("updateAPISetting => "+t.action+" => missing source location");a.collection=_.isArray(a.collection)?a.collection:[],e=o.getLevelModel(t.id,a.collection),r=b.extend(!0,{},e),a.collection=_.filter(a.collection,function(e){return e.id!=t.id})}s.collection=_.isArray(s.collection)?s.collection:[],i=b.extend(!0,[],s.collection),n=[],_.each(t.newOrder,function(e){if(t.from_location!=t.to_location&&e==r.id)n.push(r);else{if(sektionCandidate=o.getLevelModel(e,i),_.isEmpty(sektionCandidate)||"no_match"==sektionCandidate)throw new Error("updateAPISetting => "+t.action+" => missing section candidate");n.push(sektionCandidate)}}),s.collection=n},_updAPISet_sek_move_sektion_up_down:function(){var t,e,i,n,o=this;if(t=o.updAPISetParams.params,e=o.getLevelModel(t.is_nested?t.in_column:t.location,o.updAPISetParams.newSetValue.collection),_.isEmpty(e)||"no_match"==e)throw new Error("updateAPISetting => "+t.action+" => missing target location");e.collection=_.isArray(e.collection)?e.collection:[],i=b.extend(!0,[],e.collection),n=b.extend(!0,[],e.collection);var r=_.findIndex(i,function(e){return e.id===t.id});if(-1===r)throw new Error("updateAPISetting => "+t.action+" => invalid index");var s,a,l=t.direction||"up",c=i.length===r+1,d=0===r,p=o.activeLocationsInfo(),u=_.isArray(p)?_.findWhere(p,{id:t.location}):{};s=_.isObject(u)&&u.is_global,a=_.isObject(u)&&u.is_header_footer;var m=[];_.isArray(p)&&_.each(o.activeLocationsInfo(),function(e){e.is_global||e.is_header_footer||m.push(e.id)});var f,g=_.findIndex(m,function(e){return e===t.location}),h=!t.is_nested&&!s&&!a,v=0===g,k=m.length===g+1;h&&c&&"up"!==l&&!k?(f=m[g+1],o.getLevelModel(f,o.updAPISetParams.newSetValue.collection).collection.unshift(i[r]),e.collection.pop(),t.new_location=f):h&&d&&"up"===l&&!v?(f=m[g-1],o.getLevelModel(f,o.updAPISetParams.newSetValue.collection).collection.push(i[r]),e.collection.shift(),t.new_location=f):"up"!==l&&i.length===r+1?y.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["The section cannot be moved lower."]+"</strong>","</span>"].join("")}):"up"===l&&0===r?y.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["The section cannot be moved higher."]+"</strong>","</span>"].join("")}):(n[r]=i["up"===l?r-1:r+1],n["up"===l?r-1:r+1]=i[r],e.collection=n)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,t){t.extend(CZRSeksPrototype,{_updAPISet_sek_add_content_in_new_sektion:function(){var r,s,a,l=this;r=l.updAPISetParams.params;var e,i=0;if("no_match"==(a=l.getLevelModel(r.location,l.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+r.action+" => no location matched"),void l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => no location matched");switch(a.collection=_.isArray(a.collection)?a.collection:[],_.each(a.collection,function(e,t){r.before_section===e.id&&(i=t),r.after_section===e.id&&(i=t+1)}),r.content_type){case"module":e=l.getModuleStartingValue(r.content_id),a.collection.splice(i,0,{id:r.id,level:"section",collection:[{id:sektionsLocalizedData.prefixForSettingsNotSaved+l.guid(),level:"column",collection:[{id:r.droppedModuleId,level:"module",module_type:r.content_id,value:"no_starting_value"!==e?e:null,ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion}],ver_ini:sektionsLocalizedData.nimbleVersion});break;case"preset_section":l.updAPISetParams.sectionInjectPromise=t.Deferred();var n=function(e,i){var t=!1;if(!_.isEmpty(r.sektion_to_replace)){var n=l.getLevelModel(r.sektion_to_replace,l.updAPISetParams.newSetValue.collection);"no_match"===n&&(c.errare("updateAPISetting => "+r.action+" => no sektionToReplace matched"),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => no sektionToReplace matched")),t=!0===n.is_nested}var o=sektionsLocalizedData.prefixForSettingsNotSaved+l.guid();r.collection_of_preset_section_id=r.collection_of_preset_section_id||[],r.collection_of_preset_section_id.push(o),t?("no_match"===(s=l.getLevelModel(r.in_column,l.updAPISetParams.newSetValue.collection))&&(c.errare("updateAPISetting => "+r.action+" => no parent column matched"),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => no parent column matched")),s.collection=_.isArray(s.collection)?s.collection:[],_.each(s.collection,function(e,t){r.before_section===e.id&&(i=t),r.after_section===e.id&&(i=t+1)}),s.collection.splice(i,0,{id:o,is_nested:!0,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion})):a.collection.splice(i,0,{id:o,level:"section",collection:e.collection,options:e.options||{},ver_ini:sektionsLocalizedData.nimbleVersion})};l.getPresetSectionCollectionData({is_user_section:r.is_user_section,presetSectionId:r.content_id}).fail(function(e){c.errare("updateAPISetting => "+r.action+" => Error with self.getPresetSectionCollectionData()",e),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => Error with self.getPresetSectionCollectionData()")}).done(function(e){var t;_.isObject(e)&&!_.isEmpty(e)||(c.errare("updateAPISetting => "+r.action+" => preset section type not found or empty : "+r.content_id,e),l.updAPISetParams.promise.reject("updateAPISetting => "+r.action+" => preset section type not found or empty")),t=e,l.preparePresetSectionForInjection(t).fail(function(e){l.updAPISetParams.promise.reject("updateAPISetting => error when preparePresetSectionForInjection => "+r.action+" => "+e),l.updAPISetParams.sectionInjectPromise.reject(e)}).done(function(e){"section"===e.collection[0].level?_.each(e.collection,function(e){n(e,i),i++}):n(e,i),l.updAPISetParams.sectionInjectPromise.resolve()})})}},_updAPISet_sek_add_preset_sektion_in_new_nested_sektion:function(){var n,o,e,r=this;if(n=r.updAPISetParams.params,"no_match"===(o=r.getLevelModel(n.in_column,r.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+n.action+" => no parent column matched"),void r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => no parent column matched");var i=0;if(o.collection=_.isArray(o.collection)?o.collection:[],_.each(o.collection,function(e,t){n.before_module_or_nested_section===e.id&&(i=t),n.after_module_or_nested_section===e.id&&(i=t+1)}),"no_match"!=(e=r.getLevelModel(n.in_sektion,r.updAPISetParams.newSetValue.collection))){if(!0===e.is_nested)return r.updAPISetParams.promise.reject(""),void c.previewer.trigger("sek-notify",{type:"info",duration:3e4,message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["You've reached the maximum number of allowed nested sections."]+"</strong>","</span>"].join("")});r.updAPISetParams.sectionInjectPromise=t.Deferred();r.getPresetSectionCollectionData({is_user_section:n.is_user_section,presetSectionId:n.content_id}).fail(function(){c.errare("updateAPISetting => "+n.action+" => Error with self.getPresetSectionCollectionData()",_er_),r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => Error with self.getPresetSectionCollectionData()")}).done(function(e){var t;_.isObject(e)&&!_.isEmpty(e)||(c.errare("updateAPISetting => "+n.action+" => preset section type not found or empty : "+n.content_id,e),r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => preset section type not found or empty")),t=e,r.preparePresetSectionForInjection(t).fail(function(e){r.updAPISetParams.promise.reject("updateAPISetting => error when preparePresetSectionForInjection => "+n.action+" => "+e),r.updAPISetParams.sectionInjectPromise.reject(e)}).done(function(e){var t=function(e,t){t=t||0;var i=sektionsLocalizedData.prefixForSettingsNotSaved+r.guid();n.collection_of_preset_section_id=n.collection_of_preset_section_id||[],n.collection_of_preset_section_id.push(i),o.collection.splice(t,0,{id:i,level:"section",collection:e.collection,options:e.options||{},is_nested:!0,ver_ini:sektionsLocalizedData.nimbleVersion})};"section"===e.collection[0].level?_.each(e.collection,function(e){t(e,i),i++}):t(e,i),r.updAPISetParams.sectionInjectPromise.resolve()})})}else r.updAPISetParams.promise.reject("updateAPISetting => "+n.action+" => no grand parent sektion found")}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{_updAPISet_sek_add_column:function(){var e,t,i=this;if(e=i.updAPISetParams.params,_.isEmpty(e.id))throw new Error("updateAPISetting => "+e.action+" => missing id");if("no_match"==(t=i.getLevelModel(e.in_sektion,i.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+e.action+" => no parent sektion matched"),void i.updAPISetParams.promise.reject("updateAPISetting => "+e.action+" => no parent sektion matched");t.collection=_.isArray(t.collection)?t.collection:[],i.MAX_NUMBER_OF_COLUMNS-1<_.size(t.collection)?i.updAPISetParams.promise.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]):(i.resetColumnsWidthInSection(t),t.collection.push({id:e.id,level:"column",collection:[],ver_ini:sektionsLocalizedData.nimbleVersion}))},_updAPISet_sek_remove_column:function(){var t,e,i=this;if(t=i.updAPISetParams.params,"no_match"!=(e=i.getLevelModel(t.in_sektion,i.updAPISetParams.newSetValue.collection))){if(1===_.size(e.collection))return void i.updAPISetParams.promise.reject(sektionsLocalizedData.i18n["A section must have at least one column."]);e.collection=_.isArray(e.collection)?e.collection:[],e.collection=_.filter(e.collection,function(e){return e.id!=t.id}),i.resetColumnsWidthInSection(e)}else c.errare("updateAPISetting => "+t.action+" => no parent sektion matched")},_updAPISet_sek_duplicate_column:function(){var t,e,i=this;if(t=i.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");if("no_match"==(e=i.getLevelModel(t.in_sektion,i.updAPISetParams.newSetValue.collection)))return c.errare("updateAPISetting => "+t.action+" => no parent sektion matched"),void i.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no parent sektion matched");if(e.collection=_.isArray(e.collection)?e.collection:[],i.MAX_NUMBER_OF_COLUMNS-1<_.size(e.collection))i.updAPISetParams.promise.reject(sektionsLocalizedData.i18n["You've reached the maximum number of columns allowed in this section."]);else{var n;try{n=i.cloneLevel(t.id)}catch(e){return void c.errare("updateAPISetting => "+t.action,e)}i.maybeGenerateNewItemIdsForCrudModules(n);var o=i.getLevelPositionInCollection(t.id,i.updAPISetParams.newSetValue.collection);i.updAPISetParams.cloneId=n.id,e.collection.splice(parseInt(o+1,10),0,n),i.resetColumnsWidthInSection(e)}},_updAPISet_sek_resize_column:function(){var o,n=this;if(!((o=n.updAPISetParams.params).col_number<2)){var t=n.getLevelModel(o.resized_column,n.updAPISetParams.newSetValue.collection),i=n.getLevelModel(o.sister_column,n.updAPISetParams.newSetValue.collection);if("no_match"==t)return c.errare("updateAPISetting => "+o.action+" => no resized column matched"),void n.updAPISetParams.promise.reject("updateAPISetting => "+o.action+" => no resized column matched");var r=function(e,t){var i=d.extend(!0,{},e.options||{});return i.width=_.isObject(i.width)&&i.width["custom-width"]?i.width:{},i.width["custom-width"]=t,e.options=i,n.cachedElements.$body.find('[data-sek-width-range-column-id="'+e.id+'"]').val(t).trigger("input",{is_resize_column_trigger:!0}),t},e=r(t,parseFloat(o.resizedColumnWidthInPercent));e=parseFloat(e);var s=n.getLevelModel(o.in_sektion,n.updAPISetParams.newSetValue.collection),a=_.filter(s.collection,function(e){return e.id!=t.id&&e.id!=i.id}),l=parseFloat(e.toFixed(3));_.isEmpty(a)||_.each(a,function(e){var t,i,n;currentColWidth=(t=e,i="_not_set_",n=_.isObject(t.options)?t.options:{},!_.isEmpty(n)&&n.width&&n.width["custom-width"]&&(i=parseFloat(1*n.width["custom-width"])),i),("_not_set_"===currentColWidth||!_.isNumber(1*currentColWidth)||_.isEmpty(currentColWidth+"")||currentColWidth<1)&&(currentColWidth=r(e,parseFloat((100/o.col_number).toFixed(3)))),l=parseFloat((l+currentColWidth).toFixed(3))}),r(i,parseFloat((100-l).toFixed(3)))}},_updAPISet_sek_move_column:function(){var t,i=this;t=i.updAPISetParams.params;var e,n,o=i.getLevelModel(t.to_sektion,i.updAPISetParams.newSetValue.collection);if(_.isEmpty(o)||"no_match"==o)throw new Error("updateAPISetting => "+t.action+" => missing target sektion");if(t.from_sektion!=t.to_sektion){var r=i.getLevelModel(t.from_sektion,i.updAPISetParams.newSetValue.collection);if(_.isEmpty(r)||"no_match"==r)throw new Error("updateAPISetting => "+t.action+" => missing source column");r.collection=_.isArray(r.collection)?r.collection:[],e=i.getLevelModel(t.id,r.collection),n=d.extend(!0,{},e),r.collection=_.filter(r.collection,function(e){return e.id!=t.id}),i.resetColumnsWidthInSection(r)}o.collection=_.isArray(o.collection)?o.collection:[],originalCollection=d.extend(!0,[],o.collection),reorderedCollection=[],_.each(t.newOrder,function(e){if(t.from_sektion!=t.to_sektion&&e==n.id)reorderedCollection.push(n);else{if(columnCandidate=i.getLevelModel(e,originalCollection),_.isEmpty(columnCandidate)||"no_match"==columnCandidate)throw new Error("updateAPISetting => moveColumn => missing columnCandidate");reorderedCollection.push(columnCandidate)}}),o.collection=reorderedCollection,i.resetColumnsWidthInSection(o)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,c){c.extend(CZRSeksPrototype,{_updAPISet_sek_add_module:function(){var i,e,t,n,o=this;if(i=o.updAPISetParams.params,_.isEmpty(i.id))throw new Error("updateAPISetting => "+i.action+" => missing id");if(_.isEmpty(i.module_type))throw new Error("updateAPISetting => "+i.action+" => missing module_type");if("no_match"===(e=o.getLevelModel(i.in_column,o.updAPISetParams.newSetValue.collection)))return l.errare("updateAPISetting => "+i.action+" => no parent column matched"),void o.updAPISetParams.promise.reject("updateAPISetting => "+i.action+" => no parent column matched");n=0,e.collection=_.isArray(e.collection)?e.collection:[],_.each(e.collection,function(e,t){i.before_module_or_nested_section===e.id&&(n=t),i.after_module_or_nested_section===e.id&&(n=t+1)});var r={id:i.id,level:"module",module_type:i.module_type,ver_ini:sektionsLocalizedData.nimbleVersion};"no_starting_value"!==(t=o.getModuleStartingValue(i.module_type))&&(r.value=t),e.collection.splice(n,0,r)},_updAPISet_sek_duplicate_module:function(){var t,e,i,n=this;if(t=n.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");if("no_match"==(e=n.getLevelModel(t.in_column,n.updAPISetParams.newSetValue.collection)))return l.errare("updateAPISetting => "+t.action+" => no parent column matched"),void n.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => no parent column matched");e.collection=_.isArray(e.collection)?e.collection:[];try{i=n.cloneLevel(t.id)}catch(e){return l.errare("updateAPISetting => "+t.action,e),void n.updAPISetParams.promise.reject("updateAPISetting => "+t.action+" => error when cloning the level")}n.maybeGenerateNewItemIdsForCrudModules(i);var o=n.getLevelPositionInCollection(t.id,n.updAPISetParams.newSetValue.collection);n.updAPISetParams.cloneId=i.id,e.collection.splice(parseInt(o+1,10),0,i)},_updAPISet_sek_remove_module:function(){var t,e;if(t=this.updAPISetParams.params,_.isEmpty(t.id))throw new Error("updateAPISetting => "+t.action+" => missing id");"no_match"!=(e=this.getLevelModel(t.in_column,this.updAPISetParams.newSetValue.collection))?(e.collection=_.isArray(e.collection)?e.collection:[],e.collection=_.filter(e.collection,function(e){return e.id!=t.id})):l.errare("updateAPISetting => "+t.action+" => no parent column matched")},_updAPISet_sek_move_module:function(){var t,e,i,n,o=this;if(t=o.updAPISetParams.params,e=o.getLevelModel(t.to_column,o.updAPISetParams.newSetValue.collection),_.isEmpty(e)||"no_match"==e)throw new Error("updateAPISetting => "+t.action+" => missing target column");if(t.from_column!=t.to_column){var r;if(r=o.getLevelModel(t.from_column,o.updAPISetParams.newSetValue.collection),_.isEmpty(r)||"no_match"==r)throw new Error("updateAPISetting => "+t.action+" => missing source column");r.collection=_.isArray(r.collection)?r.collection:[],i=o.getLevelModel(t.id,o.updAPISetParams.newSetValue.collection),n=c.extend(!0,{},i),r.collection=_.filter(r.collection,function(e){return e.id!=t.id})}e.collection=_.isArray(e.collection)?e.collection:[],originalCollection=c.extend(!0,[],e.collection);var s=[];if(_.each(t.newOrder,function(e){if(t.from_column!=t.to_column&&e==n.id)s.push(n);else{if(moduleCandidate=o.getLevelModel(e,o.updAPISetParams.newSetValue.collection),_.isEmpty(moduleCandidate)||"no_match"==moduleCandidate)throw new Error("updateAPISetting => "+t.action+" => missing moduleCandidate");s.push(moduleCandidate)}}),s.length!=_.uniq(s).length)throw new Error("updateAPISetting => "+t.action+" => there are duplicated modules in column : "+e.id);e.collection=s},_updAPISet_sek_set_module_value:function(){var e,t,i=this;e=i.updAPISetParams.params,t=i.getLevelModel(e.id,i.updAPISetParams.newSetValue.collection);var n=e.settingParams.args.moduleRegistrationParams.control,o=e.settingParams.args.moduleRegistrationParams.id,r=n.czr_Module(o);_.isEmpty(r)?l.errare("updateAPISetting => missing parentModuleInstance",e):isMultiItemModule=r.isMultiItem();var s=isMultiItemModule?[]:{};if(_.each(e.value||(isMultiItemModule?[]:{}),function(e,t){!_.isBoolean(e)&&_.isEmpty(e+"")||(s[t]=e)}),"no_match"==t)return l.errare("updateAPISetting => "+e.action+" => no module matched",e),void i.updAPISetParams.promise.reject("updateAPISetting => "+e.action+" => error no module matched");if(_.isEmpty(e.options_type))return l.errare("updateAPISetting => "+e.action+" => missing options_type"),void i.updAPISetParams.promise.reject("updateAPISetting => "+e.action+" => missing options_type");if("__no_option_group_to_be_updated_by_children_modules__"===e.options_type)t.value=s;else{var a=c.extend(!0,{},_.isEmpty(t.value)?{}:t.value);a[e.options_type]=s,t.value=a}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(m,f){f.extend(CZRSeksPrototype,{_updAPISet_sek_import_from_file:function(){var n,o=this;if(n=o.updAPISetParams.params,_.isUndefined(n.imported_content.data)||_.isUndefined(n.imported_content.metas))m.errare("updateAPISetting::sek-import-from-file => invalid imported content",imported_content);else{var i=_.isArray(n.imported_content.data.collection)?f.extend(!0,[],n.imported_content.data.collection):[];if(!0===n.assign_missing_locations){var t,e=n.imported_content.metas.active_locations,r=m.czr_sektions.activeLocations();_.each(r,function(e){o.isHeaderLocation(e)||o.isFooterLocation(e)||t.push(e)});var s=_.first(t);if(!_.isEmpty(s)&&!_.isEmpty(e)&&_.isArray(e)){var a=f(e).not(t).get(),l=o.getLevelModel(s,o.updAPISetParams.newSetValue.collection),c=o.getLevelModel(s,n.imported_content.data.collection),d=[];l.collection=_.isArray(l.collection)?l.collection:[],c.collection=_.isArray(c.collection)?c.collection:[],_.each(e,function(e){var t=o.getLevelModel(e,i);_.isEmpty(t.collection)||(d=_.union(d,t.collection))}),c.collection=d,n.imported_content.data.collection=_.filter(n.imported_content.data.collection,function(e){return!_.contains(a,e.id)})}}if(!0===n.keep_existing_sections){_.each(i,function(e){var t=o.getLevelModel(e.id,o.updAPISetParams.newSetValue.collection);if(!_.isEmpty(t.collection)){var i=o.getLevelModel(e.id,n.imported_content.data.collection);i.collection=_.union(t.collection,i.collection)}});var p=o.updAPISetParams.newSetValue.fonts,u=n.imported_content.data.fonts;p&&!_.isEmpty(p)&&_.isArray(p)&&(u=_.isArray(u)?u:[],n.imported_content.data.fonts=_.uniq(_.union(p,u)))}o.updAPISetParams.newSetValue=n.imported_content.data}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(I,w){w.extend(CZRSeksPrototype,{_updAPISet_sek_inject_tmpl_from_gallery:function(){var t,i=this;if(t=i.updAPISetParams.params,_.isUndefined(t.injected_content.data)||_.isUndefined(t.injected_content.metas))I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => invalid imported content",injected_content);else{var n=function(e){return t.injected_content&&t.injected_content.metas&&e===t.injected_content.metas.tmpl_header_location},o=function(e){return t.injected_content&&t.injected_content.metas&&e===t.injected_content.metas.tmpl_footer_location},r=function(){var t=!1;return _.each(e,function(e){t||(n(e)||o(e))&&(t="no_match"!=(t=i.getLevelModel(e,s)))}),t&&!_.isEmpty(c.local_header_footer)},s=_.isArray(t.injected_content.data.collection)?w.extend(!0,[],t.injected_content.data.collection):[],e=t.injected_content.metas.tmpl_locations,a=[],l=i.updAPISetParams.newSetValue.collection;if(_.each(I.czr_sektions.activeLocations(),function(e){i.isGlobalLocationId(e)||a.push(e)}),_.isArray(e)&&!_.isEmpty(e)){var c=t.injected_content.data.local_options;c=w.extend(!0,{},_.isObject(c)?c:{});var d=t.injected_content.data.fonts;d=_.isArray(d)?w.extend(!0,[],d):[];var p,u,m,f,g=w.extend(!0,[],l),h=[],v="__not_set__";switch(_.each(s,function(e){n(e.id)||o(e.id)||_.isEmpty(e.collection)||(h=_.union(h,e.collection))}),t.tmpl_inject_mode){case"replace":if(f=!0,_.each(e,function(e){f&&(f=_.contains(a,e))}),f){var k,y;g=[],_.each(l,function(e){m=_.findWhere(s,{id:e.id})||{},_.isEmpty(m.collection)?i.isHeaderLocation(e.id)||i.isFooterLocation(e.id)?g.push(e):(k={collection:[],options:[]},y=w.extend(!0,{},e),y=w.extend(y,k),g.push(y)):g.push(m)})}else{if(c&&c.template&&"nimble_template"===c.template.local_template?v="loop_start":_.contains(a,"loop_start")?v="loop_start":_.each(a,function(e){i.isHeaderLocation(e)||i.isFooterLocation(e)||(v=e)}),"__not_set__"===v){I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => target location id is empty");break}if("no_match"===(u=i.getLevelModel(v,g))){I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => target location id "+v);break}(u=w.extend(!0,{},u)).collection=h,g=[],r()&&_.each(e,function(e){if(n(e)||o(e)){if("no_match"===(m=i.getLevelModel(e,s)))return void I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id "+e+" not found in template collection");g.push(m)}}),_.each(a,function(e){v===e&&g.push(u),localLocModel=i.getLevelModel(e,l),"no_match"!==localLocModel?r()||(i.isHeaderLocation(e)||i.isFooterLocation(e))&&g.push(localLocModel):I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id "+e+" not found in current setting collection")})}break;case"before":if(_.each(a,function(e){"__not_set__"==v&&("no_match"!==(p=i.getLevelModel(e,g))?i.isHeaderLocation(e)||i.isFooterLocation(e)||_.isEmpty(p.collection)||(v=e,u=p):I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id not found"+e))}),"__not_set__"===v){I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => target location id is empty");break}(u=w.extend(!0,{},u)).collection=_.union(h,u.collection),g=[],_.each(a,function(e){if(v===e)g.push(u);else{if("no_match"===p)return void I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id not found"+e);g.push(i.getLevelModel(e,l))}});break;case"after":if(_.each(a.reverse(),function(e){"__not_set__"==v&&("no_match"!==(p=i.getLevelModel(e,g))?i.isHeaderLocation(e)||i.isFooterLocation(e)||_.isEmpty(p.collection)||(v=e,u=p):I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => location id not found"+e))}),"__not_set__"===v){I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => target location id is empty");break}(u=w.extend(!0,{},u)).collection=_.union(u.collection,h),g=[],_.each(a,function(e){if(v===e)g.push(u);else{if("no_match"===(p=i.getLevelModel(e,l)))return void I.errare("::_updAPISet_sek_inject_tmpl_from_gallery => error => loc id not found"+e);g.push(p)}})}if(i.updAPISetParams.newSetValue.collection=g,!_.isEmpty(c)&&"replace"===t.tmpl_inject_mode){var b=i.updAPISetParams.newSetValue.local_options;b=w.extend(!0,{},_.isObject(b)?b:{}),i.updAPISetParams.newSetValue.local_options=_.extend(b,c)}if(_.isArray(d)&&!_.isEmpty(d))if("replace"!=t.tmpl_inject_mode){var z=i.updAPISetParams.newSetValue.fonts;z=w.extend(!0,[],_.isArray(z)?z:[]),i.updAPISetParams.newSetValue.fonts=_.uniq(_.union(d,z))}else i.updAPISetParams.newSetValue.fonts=d}else I.errare("updateAPISetting::sek-inject-tmpl-from-gallery => invalid imported template locations",t)}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(n,o){o.extend(CZRSeksPrototype,{cleanRegisteredAndLargeSelectInput:function(t){var i=this,e=o.extend(!0,[],i.registered()||[]);n.trigger("sek-before-clean-registered"),e=_.filter(e,function(e){if("setting"!==e.what&&n[e.what].has(e.id)){if(!_.isEmpty(t)&&e.id!==t)return;_.isFunction(n[e.what](e.id).trigger)&&i.trigger("sek-ui-pre-removal",{what:e.what,id:e.id}),o.when(n[e.what](e.id).container.remove()).done(function(){n[e.what].remove(e.id),i.trigger("sek-ui-removed",{what:e.what,id:e.id})})}return"setting"===e.what}),i.registered(e),i.cachedElements.$body.find('[data-input-type="font_picker"]').each(function(){var e=o(this).find("select[data-czrtype]").val();_.isUndefined(o(this).find("select[data-czrtype]").data("czrSelect2"))||o(this).find("select[data-czrtype]").czrSelect2("destroy"),o(this).find("select[data-czrtype]").html(""),o(this).find("select[data-czrtype]").html("").append(o("<option>",{value:e,html:e,selected:"selected"})),o(this).find("select[data-czrtype]").data("selectOptionsSet",!1)})},cleanRegisteredLocalOptionSettingsAndControls:function(){var t=this.getLocalSkopeOptionId(),e=o.extend(!0,[],this.registered()||[]);e=_.filter(e,function(e){return e.id&&-1!==e.id.indexOf(t)&&n.has(e.id)&&n.remove(e.id),e.id&&-1!==e.id.indexOf(t)&&n.control.has(e.id)&&o.when(n.control(e.id).container.remove()).done(function(){n.control.remove(e.id)}),e.id&&-1===e.id.indexOf(t)}),this.registered(e)},cleanRegisteredLevelSettings:function(){var e=o.extend(!0,[],this.registered()||[]);e=_.filter(e,function(e){return!_.isEmpty(e.level)&&"setting"===e.what&&n.has(e.id)&&n.remove(e.id),_.isEmpty(e.level)&&"setting"===e.what}),this.registered(e)}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(p,u){u.extend(CZRSeksPrototype,{rootPanelFocus:function(){p.section.has(p.czr_activeSectionId())?p.section(p.czr_activeSectionId()).expanded(!1):p.section.each(function(e){e.expanded(!1)}),p.panel.each(function(e){e.expanded(!1)})},guid:function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+e()},getGlobalSectionsSettingId:function(){return sektionsLocalizedData.settingIdForGlobalSections},getParentSectionFromColumnId:function(i,n){var s=this,a="no_match",l=function(i,e,n,o){if(_.isUndefined(e)){var t=p(n)(),r=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},s.getDefaultSektionSettingValue(o));e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e){var t;"no_match"==a&&("section"==e.level&&(t=_.findWhere(e.collection,{id:i})),_.isEmpty(t)?_.isArray(e.collection)&&l(i,e.collection,n,o):a=e)}),a};return _.isEmpty(n)?_.each({local:s.localSectionsSettingId(),global:s.getGlobalSectionsSettingId()},function(e,t){"no_match"===a&&l(i,n,e,t)}):l(i,n),a},isGlobalLocation:function(e){var t=!1;return e=e||{},_.has(e,"is_global_location")?t=e.is_global_location:_.has(e,"scope")?t="global"===e.scope:_.isEmpty(e.location)?_.isEmpty(e.in_sektion)?_.isEmpty(e.id)||(t=this.isChildOfAGlobalLocation(e.id)):t=this.isChildOfAGlobalLocation(e.in_sektion):t=this.isChildOfAGlobalLocation(e.location),t},isChildOfAGlobalLocation:function(e){var r=this,s=function(t,e){var i="no_match";if(_.isUndefined(e)){var n=p(r.getGlobalSectionsSettingId())(),o=_.isObject(n)?u.extend(!0,{},n):r.getDefaultSektionSettingValue("global");e=_.isArray(o.collection)?o.collection:[]}return _.each(e,function(e){"no_match"==i&&(t===e.id?i=e:_.isArray(e.collection)&&(i=s(t,e.collection)))}),i};return"no_match"!==s(e)},isGlobalLocationId:function(e){var t=this.activeLocationsInfo(),i=_.isArray(t)?_.findWhere(t,{id:e}):{};return _.isObject(i)&&i.is_global},isHeaderLocation:function(e){var t=this.activeLocationsInfo(),i=_.isArray(t)?_.findWhere(t,{id:e}):{};return _.isObject(i)&&i.is_header},isFooterLocation:function(e){var t=this.activeLocationsInfo(),i=_.isArray(t)?_.findWhere(t,{id:e}):{};return _.isObject(i)&&i.is_footer},getLevelModel:function(i,n){var s=this,a="no_match",l=function(t,e,i,n){if(_.isUndefined(e)){var o=p(i)(),r=_.isObject(o)?u.extend(!0,{},o):u.extend(!0,{},s.getDefaultSektionSettingValue(n));e=_.isArray(r.collection)?r.collection:[]}return _.each(e,function(e){"no_match"==a&&(t===e.id?a=e:_.isArray(e.collection)&&l(t,e.collection,i,n))}),a};return _.isEmpty(n)?_.each({local:s.localSectionsSettingId(),global:s.getGlobalSectionsSettingId()},function(e,t){"no_match"===a&&l(i,n,e,t)}):l(i,n),a},getLevelPositionInCollection:function(i,n){var s=this,a="no_match",l=function(i,e,n,o){if(_.isUndefined(e)){var t=p(n)(),r=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},s.getDefaultSektionSettingValue(o));e=_.isArray(r.collection)?r.collection:[]}_.each(e,function(e,t){"no_match"==a&&(i===e.id?a=t:_.isArray(e.collection)&&l(i,e.collection,n,o))})};return _.isEmpty(n)?_.each({local:s.localSectionsSettingId(),global:s.getGlobalSectionsSettingId()},function(e,t){"no_match"===a&&l(i,e,t,n)}):l(i,n),a},getLevelProperty:function(e){if(e=_.extend({id:"",property:""},e),_.isEmpty(e.id))p.errare("getLevelProperty => invalid id provided");else{var t=this.getLevelModel(e.id);if("no_match"!=t){if(_.isObject(t))return t[e.property];p.errare("getLevelProperty => invalid model for id : "+e.id,t)}else p.errare("getLevelProperty => no level model found for id : "+e.id)}},cloneLevel:function(e){var t=this,i=t.getLevelModel(e);if("no_match"==i)throw new Error("cloneLevel => no match for level id : "+e);var n=u.extend(!0,{},i),o=function(e){if(_.isEmpty(e.id))throw new Error("cloneLevel => missing level id");if(e.id=sektionsLocalizedData.prefixForSettingsNotSaved+t.guid(),!_.isEmpty(e.collection)){if(!_.isArray(e.collection))throw new Error("cloneLevel => the collection must be an array for level id : "+e.id);_.each(e.collection,function(e){e.id=sektionsLocalizedData.prefixForSettingsNotSaved+t.guid(),o(e)})}return e};return o(n)},getDefaultItemModelFromRegisteredModuleData:function(e){if(!this.isModuleRegistered(e))return{};if(sektionsLocalizedData.registeredModules[e].is_father)return p.errare("getDefaultItemModelFromRegisteredModuleData => Father modules should be treated specifically"),{};var t=sektionsLocalizedData.registeredModules[e].tmpl["item-inputs"],i={id:"",title:""};return _.each(t,function(e,t){switch(t){case"tabs":_.each(e,function(e){_.each(e.inputs,function(e,t){i[t]=e.default||""})});break;default:i[t]=e.default||""}}),i},getRegisteredModuleProperty:function(e,t){return this.isModuleRegistered(e)?sektionsLocalizedData.registeredModules[e][t]:"not_set"},isModuleRegistered:function(e){return sektionsLocalizedData.registeredModules&&!_.isUndefined(sektionsLocalizedData.registeredModules[e])},isMultiItemsModule:function(e){return sektionsLocalizedData.registeredModules[e]&&!0===sektionsLocalizedData.registeredModules[e].is_crud},maybeGenerateNewItemIdsForCrudModules:function(t){var i=this;return(_.isArray(t)||_.isObject(t))&&_.each(t,function(e){_.isArray(t)&&_.isObject(e)&&e.id&&!_.has(e,"level")?-1===e.id.indexOf(sektionsLocalizedData.prefixForSettingsNotSaved)&&(e.id=i.guid()):(_.isArray(e)||_.isObject(e))&&i.maybeGenerateNewItemIdsForCrudModules(e)}),t},sniffGFonts:function(e){var o=this,r=[],s=function(i,n,e){if(_.isUndefined(e)){var t=p(i)();e=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},o.getDefaultSektionSettingValue(n))}_.each(e,function(e,t){_.isString(t)&&"_css"===t.substr(t.length-4)&&!0===o.inputIsAFontFamilyModifier(t)&&-1<e.indexOf("gfont")&&!_.contains(r,e)&&r.push(e),(_.isArray(e)||_.isObject(e))&&s(i,n,e)})};return(e=e||{is_global_location:!1}).is_global_location?s(o.getGlobalSectionsSettingId(),"global"):s(o.localSectionsSettingId(),"local"),r},sniffAllFonts:function(){var o=this,r=[],s=function(i,n,e){if(_.isUndefined(e)){var t=p(i)();e=_.isObject(t)?u.extend(!0,{},t):u.extend(!0,{},o.getDefaultSektionSettingValue(n))}_.each(e,function(e,t){_.isString(t)&&_.isString(e)&&(-1<e.indexOf("[gfont]")||-1<e.indexOf("[cfont]"))&&r.push(e),(_.isArray(e)||_.isObject(e))&&s(i,n,e)})};return _.each([{id:o.localSectionsSettingId(),scope:"local"},{id:o.getGlobalSectionsSettingId(),scope:"global"},{id:sektionsLocalizedData.optNameForGlobalOptions,scope:"global"}],function(e){s(e.id,e.scope)}),r},getInputDefaultValue:function(i,n,e){var o=this;if(o.cachedDefaultInputValues=o.cachedDefaultInputValues||{},o.cachedDefaultInputValues[n]=o.cachedDefaultInputValues[n]||{},_.has(o.cachedDefaultInputValues[n],i))return o.cachedDefaultInputValues[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))p.errare("getInputDefaultValue => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))p.errare("getInputDefaultValue => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_default_value_specified";return _.each(e,function(e,t){"no_default_value_specified"===r&&(i!==t||_.isUndefined(e.default)||(r=e.default),"no_default_value_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputDefaultValue(i,n,e)),"no_default_value_specified"!==r&&(o.cachedDefaultInputValues[n][i]=r))}),r}p.errare("getInputDefaultValue => Father modules should be treated specifically")}},getInputType:function(i,n,e){var o=this;if(o.cachedInputTypes=o.cachedInputTypes||{},o.cachedInputTypes[n]=o.cachedInputTypes[n]||{},_.has(o.cachedInputTypes[n],i))return o.cachedInputTypes[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))p.errare("getInputType => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))p.errare("getInputType => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r="no_input_type_specified";return _.each(e,function(e,t){"no_input_type_specified"===r&&(i!==t||_.isUndefined(e.input_type)||(r=e.input_type),"no_input_type_specified"===r&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputType(i,n,e)),"no_input_type_specified"!==r&&(o.cachedInputTypes[n][i]=r))}),r}p.errare("getInputType => Father modules should be treated specifically")}},getInputRegistrationParams:function(i,n,e){var o=this;if(o.cachedInputRegistrationParams=o.cachedInputRegistrationParams||{},o.cachedInputRegistrationParams[n]=o.cachedInputRegistrationParams[n]||{},_.has(o.cachedInputRegistrationParams[n],i))return o.cachedInputRegistrationParams[n][i];if(_.isUndefined(sektionsLocalizedData.registeredModules))p.errare("getInputRegistrationParams => missing sektionsLocalizedData.registeredModules");else if(_.isUndefined(sektionsLocalizedData.registeredModules[n]))p.errare("getInputRegistrationParams => missing "+n+" in sektionsLocalizedData.registeredModules");else{if(!sektionsLocalizedData.registeredModules[n].is_father){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules[n].tmpl);var r={};return _.each(e,function(e,t){_.isEmpty(r)&&(i!==t||_.isUndefined(e.input_type)||(r=e),_.isEmpty(r)&&(_.isArray(e)||_.isObject(e))&&(r=o.getInputRegistrationParams(i,n,e)),_.isEmpty(r)||(o.cachedInputRegistrationParams[n][i]=r))}),r}p.errare("getInputRegistrationParams => Father modules should be treated specifically")}},inputIsAFontFamilyModifier:function(i,e){var n=this;if(n.cachedFontFamilyModifier=n.cachedFontFamilyModifier||{},_.has(n.cachedFontFamilyModifier,i))return n.cachedFontFamilyModifier[i];if(!_.isUndefined(sektionsLocalizedData.registeredModules)){_.isUndefined(e)&&(e=sektionsLocalizedData.registeredModules);var o="not_set";return _.each(e,function(e,t){"not_set"===o&&(i!==t||_.isUndefined(e.input_type)||(o=!_.isUndefined(e.refresh_fonts)&&e.refresh_fonts),"not_set"===o&&(_.isArray(e)||_.isObject(e))&&(o=n.inputIsAFontFamilyModifier(i,e)),"not_set"!==o&&(n.cachedFontFamilyModifier[i]=o))}),o}p.errare("inputIsAFontFamilyModifier => missing sektionsLocalizedData.registeredModules")},getModuleStartingValue:function(e){var a=this;if(!sektionsLocalizedData.registeredModules)return p.errare("getModuleStartingValue => missing sektionsLocalizedData.registeredModules"),"no_starting_value";if(_.isUndefined(sektionsLocalizedData.registeredModules[e]))return p.errare("getModuleStartingValue => the module type "+e+" is not registered"),"no_starting_value";var t,i,n,l=function(e){return readyStartValues=[],_.each(e,function(e){if(_.isObject(e)){var t=u.extend(!0,{},e);t.id=p.czr_sektions.guid(),readyStartValues.push(t)}else p.errare("getModuleStartingValue => multi-item module => items should be objects for module "+mod_type)}),readyStartValues},c={},d=(t=e,sektionsLocalizedData.registeredModules[t]&&sektionsLocalizedData.registeredModules[t].starting_value?sektionsLocalizedData.registeredModules[t].starting_value:{});return n=e,sektionsLocalizedData.registeredModules[n]&&!0===sektionsLocalizedData.registeredModules[n].is_father?_.each((i=e,sektionsLocalizedData.registeredModules[i]&&sektionsLocalizedData.registeredModules[i].children?sektionsLocalizedData.registeredModules[i].children:{}),function(e,t){var i,n,o,r,s=(i=e,r=(o=d)[n=t]?o[n]:{},a.isMultiItemsModule(i)&&_.isArray(r)?l(r):r);_.isEmpty(s)||(c[t]=s)}):c=a.isMultiItemsModule(e)&&_.isArray(d)?l(d):d,_.isEmpty(c)?"no_starting_value":c},selectNextTabbableOrFocusable:function(e){var t=u(e),i=u(":focus"),n=0;if(1===i.length){var o=t.index(i);o+1<t.length&&(n=o+1)}t.eq(n).focus()},selectPrevTabbableOrFocusable:function(e){var t=u(e),i=u(":focus"),n=t.length-1;if(1===i.length){var o=t.index(i);0<o&&(n=o-1)}t.eq(n).focus()},setupSelectInput:function(e){var n=this,t=(n.input_parent,n.module,p.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type)),i={params:e=_.isEmpty(e)?t.choices:e};if(n.module.trigger("nimble-set-select-input-options",i),e=i.params,!_.isEmpty(e)&&_.isObject(e))switch(n.type){case"simpleselect":_.each(e,function(e,t){var i={value:t,html:e};t==n()?u.extend(i,{selected:"selected"}):"px"===t&&u.extend(i,{selected:"selected"}),u("select[data-czrtype]",n.container).append(u("<option>",i))}),u("select[data-czrtype]",n.container).selecter();break;case"multiselect":var o=n();o=_.isString(o)?[o]:o,o=_.isArray(o)?o:[],_.each(e,function(e,t){var i={value:t,html:e};_.contains(o,t)&&u.extend(i,{selected:"selected"}),u("select[data-czrtype]",n.container).append(u("<option>",i))}),u("select[data-czrtype]",n.container).czrSelect2({closeOnSelect:!0,templateSelection:function(e){return e.text.replace(/\u2013|\u2014/g,"")}}),u("select[data-czrtype]",n.container).on("change",function(){0===u(this).find("option:selected").length&&n([])});break;default:p.errare("::setupSelectInput => invalid input type => "+n.type)}else p.errare("api.czr_sektions.setupSelectInput => missing select options for input id => "+n.id+" in module "+n.module.module_type)},maybeSetupDeviceSwitcherForInput:function(){var n=this;if(!n.previewedDevice){var e=['<span class="sek-input-device-switcher">','<i data-sek-device="desktop" class="sek-switcher preview-desktop active" title="'+sektionsLocalizedData.i18n["Settings on desktops"]+'"></i>','<i data-sek-device="tablet" class="sek-switcher preview-tablet" title="'+sektionsLocalizedData.i18n["Settings on tablets"]+'"></i>','<i data-sek-device="mobile" class="sek-switcher preview-mobile" title="'+sektionsLocalizedData.i18n["Settings on mobiles"]+'"></i>',"</span>"].join(" ");n.container.find(".customize-control-title").first().prepend(e),n.previewedDevice=new p.Value(p.previewedDevice()),syncWithPreviewedDevice=function(e){e.stopPropagation(),n.container.find("[data-sek-device]").removeClass("active"),u(this).addClass("active");var t,i="desktop";try{i=u(this).data("sek-device")}catch(e){p.errare("maybeSetupDeviceSwitcherForInput => error when binding sek-switcher",e)}try{p.previewedDevice(i)}catch(e){p.errare("maybeSetupDeviceSwitcherForInput => error when setting the previewed device",e)}n.previewedDevice(i),_.isUndefined(e.isTrigger)&&n.module&&n.module.control&&n.module.control.params.section&&(t=n.module.control.params.section,_.delay(function(){p.previewer.send("sek-animate-to-level",{id:t})},600))},n.container.on("click","[data-sek-device]",syncWithPreviewedDevice);var t=n.container.find('[data-sek-device="'+p.previewedDevice()+'"]');0<t.length&&t.trigger("click")}},scheduleModuleAccordion:function(e){e=e||{expand_first_control:!0};var i=this;if(!0!==i.container.data("sek-module-accordion-has-been-setup")&&(u(i.container).on("click",".customize-control label > .customize-control-title",function(e){e.stopPropagation(),p.czr_sektions.levelTreeExpanded(!1),p.czr_sektions.templateGalleryExpanded(!1),p.czr_sektions.saveSectionDialogVisible(!1),p.czr_sektions.tmplDialogVisible(!1),p.czr_sektions.tmplInjectDialogVisible(!1);var t=u(this).closest(".customize-control");"no"!==t.attr("data-sek-accordion")&&(i.container.find(".customize-control").not(t).each(function(){u(this).attr("data-sek-accordion")||u(this).attr("data-sek-expanded","false")}),t.attr("data-sek-expanded","false"==t.attr("data-sek-expanded")?"true":"false"),t.trigger("true"==t.attr("data-sek-expanded")?"sek-accordion-expanded":"sek-accordion-collapsed"),!0===t.data("module_ready_on_custom_control_event_is_setup")?t.trigger("sek-accordion-expanded"):t.one("module_ready_on_custom_control_event_is_setup",function(){t.trigger("sek-accordion-expanded")}))}),i.container.data("sek-module-accordion-has-been-setup",!0),e.expand_first_control)){var t=_.filter(i.controls(),function(e){return!e.params||!e.params.sek_registration_params||!1!==e.params.sek_registration_params.has_accordion}),n=_.first(t);_.isObject(n)&&!_.isEmpty(n.id)&&p.control(n.id,function(e){e.container.one("items-collection-populated",function(){u(this).find("label > .customize-control-title").trigger("click")}),!0===e.container.data("module_ready_on_custom_control_event_is_setup")?e.container.trigger("sek-accordion-expanded"):e.container.one("module_ready_on_custom_control_event_is_setup",function(){e.container.trigger("sek-accordion-expanded")})})}},isPromise:function(e){return e&&"function"==typeof e.then&&String(u.Deferred().then)===String(e.then)},whenAllPromisesInParallel:function(e){var i=this,t=u.Deferred(),n=[],o=_.keys(e);return _.each(e,function(e,t){n.push(u.Deferred(function(t){(i.isPromise(e)?e:u.Deferred()).done(t.resolve).fail(function(e){t.reject(e)})}))}),u.when.apply(this,n).done(function(){var i={},e=Array.prototype.slice.call(arguments);_.each(e,function(e,t){i[o[t]]=e}),t.resolve(i)}).fail(t.reject),t},whenAllPromisesInSerie:function(t,i,n,o){i=i||0,n=n||{},o=o||u.Deferred();var r=this;if(_.isArray(t)){var e=t[i];(r.isPromise(e)?e:u.Deferred(function(e){e.resolve()})).always(function(e){n[i]=e,i+1==t.length?o.resolve(n):i+1<t.length&&r.whenAllPromisesInSerie(t,i+1,n,o)})}return o},importAttachment:function(t){return wp.ajax.post("sek_import_attachment",{img_url:t,nonce:p.settings.nonce.save}).fail(function(e){p.errare("sek_import_attachment ajax action failed for image "+t,e)})},cleanIds:function(e){e.id="";var t=this;return _.each(e.collection,function(e){e.id="",_.isArray(e.collection)&&t.cleanIds(e)}),e},getDefaultSektionSettingValue:function(e){return!_.isUndefined(e)&&_.contains(["local","global"],e)||p.errare("getDefaultSektionSettingValue => the skope should be set to local or global"),"global"===e?sektionsLocalizedData.defaultGlobalSektionSettingValue:sektionsLocalizedData.defaultLocalSektionSettingValue},scheduleVisibilityOfInputId:function(t,i){var n=this.input_parent;_.isFunction(i)&&!_.isEmpty(t)?n.czr_Input.has(t)?(n.czr_Input(t).visible(i()),this.bind(function(e){n.czr_Input(t).visible(i())})):p.errare("::scheduleVisibilityOfInputId => missing input id : "+t):p.errare("::scheduleVisibilityOfInputId => error when firing for input id : "+this.id)},hasCurrentPageNBSectionsNotHeaderFooter:function(){var e,t=this,i=!1,n=this.localSectionsSettingId(),o=p(n)();return o=_.isObject(o)?o:{},e=u.extend(!0,{},o),e=_.isEmpty(e.collection)?[]:e.collection,e=_.isArray(e)?e:[],_.each(e,function(e){i||_.isObject(e)&&"location"==e.level&&e.collection&&(t.isHeaderLocation(e.id)||t.isFooterLocation(e.id)||(i=!_.isEmpty(e.collection)))}),i},hasLocalSettingBeenCustomized:function(){var e=this.localSectionsSettingId(),t=p(e)();return!((t=_.isObject(t)?t:{})&&t.__inherits_group_skope_tmpl_when_exists__)},getGroupSkopeForSiteTemplate:function(){var e,t,i=p.czr_skopeBase.getSkopeProperty("skope_id","group");if("_skope_not_set_"===i){e=p.czr_skopeBase.getSkopeProperty("skope_id","local"),t=e,(FlatSkopeLocalizedData&&_.isArray(FlatSkopeLocalizedData.noGroupSkopeList)?(t=(t=_.isString(e)?e:"_skope_not_set_").replace("skp__",""),_.contains(FlatSkopeLocalizedData.noGroupSkopeList,t)):(p.errare(":getGroupSkopeForSiteTemplate => missing localized data FlatSkopeLocalizedData.noGroupSkopeList"),0))?i=e+"_for_site_tmpl":p.errare("::getGroupSkopeForSiteTemplate => group skope could not be set")}return i},isJsonString:function(e){try{JSON.parse(e)}catch(e){return!1}return!0}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,m){m.extend(CZRSeksPrototype,{setupDnd:function(){var t=this;t.bind("sek-refresh-dragzones",function(e){!0!="draggable"in document.createElement("span")&&c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){c.notifications.remove("drag-drop-support")},1e4)}),t.setupNimbleDragZones(e.input_container)}),c.previewer.bind("ready",function(){try{t.setupNimbleDropZones()}catch(e){c.errare("::setupDnd => error on self.setupNimbleDropZones()",e)}_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_intro_sec_picker_module"}))&&_.isUndefined(_.findWhere(t.registered(),{module_type:"sek_module_picker_module"}))||t.rootPanelFocus()}),t.reactToDrop()},setupNimbleDragZones:function(e){var n=this,o=function(){c.notifications.add(new c.Notification("missing-injection-target",{type:"info",message:sektionsLocalizedData.i18n["You first need to click on a target ( with a + icon ) in the preview."],dismissible:!0})),_.delay(function(){c.notifications.remove("missing-injection-target")},3e4)};e.find('[draggable="true"]').each(function(){m(this).on("dragstart",function(e){(function(e){n.lastClickedTargetInPreview({}),e.originalEvent.dataTransfer.setData("sek-content-type",m(this).data("sek-content-type")),e.originalEvent.dataTransfer.setData("sek-eligible-for-module-dropzones",m(this).data("sek-eligible-for-module-dropzones")),e.originalEvent.dataTransfer.setData("sek-content-id",m(this).data("sek-content-id")),e.originalEvent.dataTransfer.setData("sek-section-type",m(this).data("sek-section-type")),e.originalEvent.dataTransfer.setData("sek-is-user-section",m(this).data("sek-is-user-section")),n.dndData={content_type:e.originalEvent.dataTransfer.getData("sek-content-type"),eligible_for_module_dropzones:"true"===e.originalEvent.dataTransfer.getData("sek-eligible-for-module-dropzones"),content_id:e.originalEvent.dataTransfer.getData("sek-content-id"),section_type:e.originalEvent.dataTransfer.getData("sek-section-type"),is_user_section:"true"===e.originalEvent.dataTransfer.getData("sek-is-user-section")};try{e.originalEvent.dataTransfer.setData("browserSupport","browserSupport"),e.originalEvent.dataTransfer.clearData("browserSupport")}catch(e){c.panel(sektionsLocalizedData.sektionsPanelId,function(e){c.notifications.add(new c.Notification("drag-drop-support",{type:"error",message:sektionsLocalizedData.i18n["This browser does not support drag and drop. You might need to update your browser or use another one."],dismissible:!0})),_.delay(function(){c.notifications.remove("drag-drop-support")},1e4)})}m(this).addClass("sek-dragged"),n.cachedElements.$body.addClass("sek-dragging"),c.previewer.send("sek-drag-start",{content_type:n.dndData.content_type,eligible_for_module_dropzones:n.dndData.eligible_for_module_dropzones})}).call(m(this),e)}).on("dragend",function(e){(function(e){n.cachedElements.$body.removeClass("sek-dragging"),m(this).removeClass("sek-dragged"),c.previewer.send("sek-drag-stop")}).call(m(this),e)}).on("dblclick",function(e){(function(e){var t,i=n.lastClickedTargetInPreview();!_.isEmpty(i)&&i.id?t=n.dnd_getDropZonesElements().find('[data-sek-id="'+i.id+'"]').find(".sek-module-drop-zone-for-first-module").first():o(),t&&0<t.length?(c.czr_sektions.trigger("sek-content-dropped",{drop_target_element:t,location:t.closest('[data-sek-level="location"]').data("sek-id"),before_module_or_nested_section:t.data("drop-zone-before-module-or-nested-section"),after_module_or_nested_section:t.data("drop-zone-after-module-or-nested-section"),before_section:t.data("drop-zone-before-section"),after_section:t.data("drop-zone-after-section"),content_type:m(this).attr("data-sek-content-type"),content_id:m(this).attr("data-sek-content-id"),section_type:m(this).attr("data-sek-section-type"),is_user_section:"true"===m(this).attr("data-sek-is-user-section")}),n.lastClickedTargetInPreview({})):(o(),c.errare("Double click insertion => the target zone was not found"))}).call(m(this),e)})}),e.find('[draggable="false"][data-sek-is-pro-section="yes"], [draggable="false"][data-sek-is-pro-module="yes"]').each(function(){m(this).on("mousedown",function(e){n.lastClickedTargetInPreview({}),c.previewer.trigger("sek-notify",{type:"info",duration:6e4,notif_id:"go_pro",message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Go pro link when click on pro tmpl or section"]+"</strong>","</span>"].join("")})})})},setupNimbleDropZones:function(){var t=this;if(this.$dropZones=this.dnd_getDropZonesElements(),this.preDropElement=m("<div>",{class:sektionsLocalizedData.preDropElementClass,html:""}),this.$dropZones.length<1)throw new Error("::setupNimbleDropZones => invalid Dom element");this.$dropZones.each(function(){var e=m(this);!0!==e.data("zone-droppable-setup")&&(t.enterOverTimer=null,e.on("dragenter dragover",sektionsLocalizedData.dropSelectors,function(e){_.isNull(t.enterOverTimer)&&(t.enterOverTimer=!0,_.delay(function(){t.currentMousePosition&&t.currentMousePosition+""==e.clientY+""+e.clientX?t.enterOverTimer=null:(t.currentMousePosition=e.clientY+""+e.clientX,t.dnd_toggleDragApproachClassesToDropZones(e))},100)),t.dnd_canDrop({targetEl:m(this),evt:e})&&(e.stopPropagation(),t.dnd_OnEnterOver(m(this),e))}).on("dragleave drop",sektionsLocalizedData.dropSelectors,function(e){switch(e.type){case"dragleave":t.dnd_isOveringDropTarget(m(this),e)||t.dnd_cleanOnLeaveDrop(m(this),e);break;case"drop":this.$cachedDropZoneCandidates=null,t.dnd_canDrop({targetEl:m(this),evt:e})&&(e.preventDefault(),t.dnd_onDrop(m(this),e),t.dnd_cleanOnLeaveDrop(m(this),e),c.previewer.send("sek-drag-stop"))}}).data("zone-droppable-setup",!0))})},dnd_isInTarget:function(e,t){var i=t.clientY,n=t.clientX,o=e[0].getBoundingClientRect(),r=n<=o.right&&o.left<=n;return i>=o.top&&o.bottom>=i&&r},dnd_toggleDragApproachClassesToDropZones:function(p){var u=this;this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.$cachedDropZoneCandidates=_.isEmpty(this.$cachedDropZoneCandidates)?this.$dropZones.find(".sek-drop-zone"):this.$cachedDropZoneCandidates,this.distanceTable=[],this.$dropZones.find(".sek-drop-zone").each(function(){var e,t,i=p.clientY,n=p.clientX,o=m(this)[0].getBoundingClientRect(),r=Math.abs(i-(o.bottom-(o.bottom-o.top)/2)),s=(Math.abs(o.top-i),Math.abs(n-(o.right-(o.right-o.left)/2))),a=(o.right,o.left,r<50),l=s<50,c=n<=o.right&&o.left<=n,d=i>=o.top&&o.bottom>=i;u.distanceTable.push({el:m(this),dist:d&&c?0:(e=s,t=r,Math.sqrt(e*e+t*t))}),m(this).removeClass("sek-drag-is-in"),(a||d)&&(l||c)?(m(this).removeClass("sek-drag-is-approaching"),m(this).removeClass("sek-drag-is-close"),m(this).addClass("sek-drag-is-very-close")):(m(this).removeClass("sek-drag-is-approaching"),m(this).removeClass("sek-drag-is-close"),m(this).removeClass("sek-drag-is-very-close")),m(this).removeClass("sek-drag-is-in")});var t=_.min(_.pluck(u.distanceTable,"dist"));u.$dropTargetCandidate=null,_.each(u.distanceTable,function(e){_.isNull(u.$dropTargetCandidate)&&t===e.dist&&(u.$dropTargetCandidate=e.el)}),u.$dropTargetCandidate&&0<u.$dropTargetCandidate.length&&u.dnd_isInTarget(u.$dropTargetCandidate,p)&&u.$dropTargetCandidate.addClass("sek-drag-is-in"),u.enterOverTimer=null},dnd_getPreDropElementContent:function(e){var t,i,n=m(e.currentTarget);switch(this.dndData.content_type){case"module":t=sektionsLocalizedData.i18n["Insert here"],0<n.length&&("between-sections"!==n.data("sek-location")&&"in-empty-location"!==n.data("sek-location")||(t=sektionsLocalizedData.i18n["Insert in a new section"])),i='<div class="sek-module-placeholder-content"><p>'+t+"</p></div>";break;case"preset_section":i='<div class="sek-module-placeholder-content"><p>'+(t=sektionsLocalizedData.i18n["Insert a new section here"])+"</p></div>";break;default:c.errare("::dnd_getPreDropElementContent => invalid content type provided")}return i},dnd_getDropZonesElements:function(){return m(c.previewer.targetWindow().document)},dnd_canDrop:function(e){var t=this,i=(e=_.extend({targetEl:{},evt:{}},e||{})).targetEl;if(!_.isObject(i)||i.length<1)return!1;if(i.closest('[data-sek-level="location"]').length<1)return!1;var n=i.hasClass("sek-content-preset_section-drop-zone"),o=i.hasClass("sek-module-drop-zone-for-first-module"),r=!0===i.closest('[data-sek-level="location"]').data("sek-is-header-location"),s=!0===i.closest('[data-sek-level="location"]').data("sek-is-footer-location"),a="preset_section"===t.dndData.content_type&&"content"===t.dndData.section_type,l=function(e){m(".sek-no-drop-possible-message",i).length<1&&i.append(['<div class="sek-no-drop-possible-message">','<i class="material-icons">not_interested</i>',e,"</div>"].join(""))};return!!i.hasClass("sek-drop-zone")&&(!t.dndData.is_user_section&&(r||s)&&a?(l(r?sektionsLocalizedData.i18n["Header location only accepts modules and pre-built header sections"]:sektionsLocalizedData.i18n["Footer location only accepts modules and pre-built footer sections"]),!1):s&&"preset_section"===t.dndData.content_type&&"header"===t.dndData.section_type?(l(sektionsLocalizedData.i18n["You can't drop a header section in the footer location"]),!1):r&&"preset_section"===t.dndData.content_type&&"footer"===t.dndData.section_type?(l(sektionsLocalizedData.i18n["You can't drop a footer section in the header location"]),!1):"preset_section"===t.dndData.content_type&&!0===t.dndData.eligible_for_module_dropzones&&!n||("preset_section"===t.dndData.content_type&&n||"module"===t.dndData.content_type&&!n||"preset_section"===t.dndData.content_type&&o))},dnd_OnEnterOver:function(e,t){t.preventDefault(),!0!==e.data("is-drag-entered")&&(e.data("is-drag-entered",!0),e.addClass("sek-active-drop-zone"),this.$dropZones.addClass("sek-is-dragging"));try{this.dnd_mayBePrintPreDropElement(e,t)}catch(e){c.errare("Error when trying to insert the preDrop content",e)}},dnd_cleanOnLeaveDrop:function(e,t){var i=this;this.$dropZones=this.$dropZones||this.dnd_getDropZonesElements(),this.preDropElement.remove(),this.$dropZones.removeClass("sek-is-dragging"),m(sektionsLocalizedData.dropSelectors,this.$dropZones).each(function(){i.dnd_cleanSingleDropTarget(m(this))})},dnd_cleanSingleDropTarget:function(e){_.isEmpty(e)||e.length<1||(e.data("is-drag-entered",!1),e.data("preDrop-position",!1),e.removeClass("sek-active-drop-zone"),e.find(".sek-drop-zone").removeClass("sek-drag-is-close"),e.find(".sek-drop-zone").removeClass("sek-drag-is-approaching"),e.removeClass("sek-feed-me-seymore"),e.find(".sek-no-drop-possible-message").remove())},dnd_getPosition:function(e,t){var i=e[0].getBoundingClientRect(),n=i.height;return"before"===e.data("preDrop-position")?n+=this.preDropElement.outerHeight():"after"===e.data("preDrop-position")&&(n-=this.preDropElement.outerHeight()),0<t.originalEvent.clientY-i.top-n/2?"after":"before"},dnd_mayBePrintPreDropElement:function(e,t){var i=this,n=e.data("preDrop-position"),o=this.dnd_getPosition(e,t);if(n!==o&&!0!==i.isPrintingPreDrop){i.isPrintingPreDrop=!0,this.dnd_cleanSingleDropTarget(this.$currentPreDropTarget);var r="between-sections"===e.data("sek-location")||"in-empty-location"===e.data("sek-location");m.when(i.preDropElement.remove()).done(function(){e["before"===o?"prepend":"append"](i.preDropElement).find("."+sektionsLocalizedData.preDropElementClass).html(i.dnd_getPreDropElementContent(t)),e.find("."+sektionsLocalizedData.preDropElementClass).toggleClass("in-new-sektion",r),e.data("preDrop-position",o),e.addClass("sek-feed-me-seymore"),i.isPrintingPreDrop=!1,i.$currentPreDropTarget=e})}},dnd_isOveringDropTarget:function(e,t){var i=e[0].getBoundingClientRect(),n=t.clientX,o=t.clientY,r=i.left,s=i.right,a=i.top,l=i.bottom;return r<=n&&n-r<=s-r&&(a<=o&&o-a<=l-a)},dnd_onDrop:function(e,t){t.stopPropagation();this.dnd_getPosition(e,t),e.index();c.czr_sektions.trigger("sek-content-dropped",{drop_target_element:e,location:e.closest('[data-sek-level="location"]').data("sek-id"),before_module_or_nested_section:e.data("drop-zone-before-module-or-nested-section"),after_module_or_nested_section:e.data("drop-zone-after-module-or-nested-section"),before_section:e.data("drop-zone-before-section"),after_section:e.data("drop-zone-after-section"),content_type:t.originalEvent.dataTransfer.getData("sek-content-type"),eligible_for_module_dropzones:"true"===t.originalEvent.dataTransfer.getData("sek-eligible-for-module-dropzones"),content_id:t.originalEvent.dataTransfer.getData("sek-content-id"),section_type:t.originalEvent.dataTransfer.getData("sek-section-type"),is_user_section:"true"===t.originalEvent.dataTransfer.getData("sek-is-user-section")})},reactToDrop:function(){this.bind("sek-content-dropped",function(e){try{!function(e){if(!_.isObject(e))throw new Error("Invalid params provided");if(e.drop_target_element.length<1)throw new Error("Invalid drop_target_element");var t,i=e.drop_target_element,n="content-in-column";switch(i.data("sek-location")){case"between-sections":n="content-in-a-section-to-create";break;case"in-empty-location":e.is_first_section=!0,e.send_to_preview=!1,n="content-in-empty-location";break;case"between-columns":n="content-in-new-column"}"preset_section"===e.content_type&&(i.hasClass("sek-module-drop-zone-for-first-module")?1<(t=i.closest('div[data-sek-level="section"]')).find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length?(n="preset-section-in-a-nested-section-to-create",e.is_nested=!0,e.in_column=i.closest('[data-sek-level="column"]').data("sek-id"),e.in_sektion=t.data("sek-id")):(e.sektion_to_replace=t.data("sek-id"),e.after_section=e.sektion_to_replace,e.in_column=t.closest('[data-sek-level="column"]').data("sek-id"),n="content-in-a-section-to-replace"):("between-sections"===i.data("sek-location")&&(n="content-in-a-section-to-create"),"between-modules-and-nested-sections"===i.data("sek-location")&&e.eligible_for_module_dropzones&&(n="preset-section-eligible-for-module-dropzones-in-new-nested-sektion",e.is_nested=!0,e.in_column=i.closest('[data-sek-level="column"]').data("sek-id"),t=i.closest('div[data-sek-level="section"]'),e.in_sektion=t.data("sek-id"))));switch(n){case"content-in-column":var o=i.closest("div[data-sek-level]");if(o.length<1)throw new Error("No valid level dom element found");var r=o.data("sek-level"),s=o.data("sek-id");if(_.isEmpty(r)||_.isEmpty(s))throw new Error("No valid level id found");c.previewer.trigger("sek-add-module",{level:r,id:s,in_column:i.closest('div[data-sek-level="column"]').data("sek-id"),in_sektion:i.closest('div[data-sek-level="section"]').data("sek-id"),before_module_or_nested_section:e.before_module_or_nested_section,after_module_or_nested_section:e.after_module_or_nested_section,content_type:e.content_type,content_id:e.content_id});break;case"content-in-a-section-to-create":case"content-in-a-section-to-replace":case"content-in-empty-location":var a=m.extend(!0,{},e);c.previewer.trigger("sek-add-content-in-new-sektion",{in_column:i.closest('div[data-sek-level="column"]').data("sek-id"),in_sektion:i.closest('div[data-sek-level="section"]').data("sek-id"),before_module_or_nested_section:a.before_module_or_nested_section,after_module_or_nested_section:a.after_module_or_nested_section,content_type:a.content_type,content_id:a.content_id,is_user_section:a.is_user_section,after_section:a.after_section,before_section:a.before_section,location:a.location,sektion_to_replace:a.sektion_to_replace});break;case"preset-section-in-a-nested-section-to-create":c.previewer.trigger("sek-add-preset-section-in-new-nested-sektion",e);break;case"preset-section-eligible-for-module-dropzones-in-new-nested-sektion":var l=m.extend(!0,{},e);l=m.extend(l,{before_module_or_nested_section:e.before_module_or_nested_section,after_module_or_nested_section:e.after_module_or_nested_section}),c.previewer.trigger("sek-add-preset-section-in-new-nested-sektion",l);break;default:c.errare("sek control panel => ::reactToDrop => invalid drop case : "+n)}}(e)}catch(e){c.errare("error when reactToDrop",e)}})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(c,d){d.extend(CZRSeksPrototype,{setupTinyMceEditor:function(){var n=this;c.sekEditorExpanded=new c.Value(!1),n.editorEventsListenerSetup=!1,n.$editorPane=d("#czr-customize-content_editor-pane"),n.$editorDragbar=d("#czr-customize-content_editor-dragbar"),n.$preview=d("#customize-preview"),n.$collapseSidebar=d(".collapse-sidebar"),n.attachResizeEventsToEditor();d("#customize-theme-controls").on("click",'[data-czr-action="open-tinymce-editor"]',function(){var e=d(this).data("czr-control-id"),t=d(this).data("czr-input-id");_.isEmpty(e)||_.isEmpty(t)?c.errare("toggle-tinymce-editor => missing input or control id"):c.sekEditorExpanded(!0)}),c.sekEditorExpanded.bind(function(e,t,i){try{!function(){c.sekTinyMceEditor=tinyMCE.get(sektionsLocalizedData.idOfDetachedTinyMceTextArea);var e=function(){!1===n.editorEventsListenerSetup&&(n.editorEventsListenerSetup=!0,n.trigger("sek-tiny-mce-editor-bound-and-instantiated"))};c.sekTinyMceEditor&&(c.sekTinyMceEditor.initialized?e():c.sekTinyMceEditor.on("init",function(){e()}))}()}catch(e){window.console&&console.log("Error in mayBeAwakeTinyMceEditor ",e)}e&&c.sekTinyMceEditor&&c.sekTinyMceEditor.focus(),d(document.body).toggleClass("czr-customize-content_editor-pane-open",e),n.cachedElements.$window[e?"on":"off"]("resize",function(){c.sekEditorExpanded()&&_.delay(function(){n.czrResizeEditor(window.innerHeight-n.$editorPane.height())},50)}),e?(n.czrResizeEditor(window.innerHeight-n.$editorPane.height()),_.delay(function(){n.cachedElements.$window.trigger("resize")},100)):(n.$preview.css("bottom",""),n.$collapseSidebar.css("bottom",""))}),d("#czr-customize-content_editor-pane").on("click",'[data-czr-action="close-tinymce-editor"]',function(){c.sekEditorExpanded(!1)}),d("#customize-controls").on("click",function(e){"open-tinymce-editor"!=d(e.target).data("czr-action")&&c.sekEditorExpanded(!1,{context:"clicked anywhere"})}),d(document).on("keydown",_.throttle(function(e){27===e.keyCode&&c.sekEditorExpanded(!1)},50)),n.bind("sek-tiny-mce-editor-bound-and-instantiated",function(){var e=d(c.sekTinyMceEditor.iframeElement).contents().get(0);d(e).on("keydown",_.throttle(function(e){27===e.keyCode&&c.sekEditorExpanded(!1)},50))}),_.each(["sek-add-section","sek-add-column","sek-add-module","sek-remove","sek-move","sek-duplicate","sek-resize-columns","sek-add-content-in-new-sektion","sek-pick-content","sek-edit-options","sek-edit-module","sek-notify"],function(e){"sek-edit-module"!=e?c.previewer.bind(e,function(){c.sekEditorExpanded(!1)}):c.previewer.bind(e,function(e){e&&e.module_type&&c.sekEditorExpanded("czr_tiny_mce_editor_module"===e.module_type)})})},attachResizeEventsToEditor:function(){var t=this;d("#czr-customize-content_editor-pane").on("mousedown mouseup",function(e){if(("mousedown"!==e.type||"czr-customize-content_editor-dragbar"===d(e.target).attr("id")||d(e.target).hasClass("czr-resize-handle"))&&c.sekEditorExpanded())switch(e.type){case"mousedown":d(document).on("mousemove."+sektionsLocalizedData.idOfDetachedTinyMceTextArea,function(e){e.preventDefault(),d(document.body).addClass("czr-customize-content_editor-pane-resize"),d("#czr-customize-content_editor_ifr").css("pointer-events","none"),t.czrResizeEditor(e.pageY)});break;case"mouseup":d(document).off("mousemove."+sektionsLocalizedData.idOfDetachedTinyMceTextArea),d(document.body).removeClass("czr-customize-content_editor-pane-resize"),d("#czr-customize-content_editor_ifr").css("pointer-events","")}})},czrResizeEditor:function(e){var t,i=this,n=window.innerHeight,o=(window.innerWidth,{}),r=d("#czr-customize-content_editor_ifr"),s=d("#wp-czr-customize-content_editor-tools"),a=i.$editorPane.find(".mce-toolbar-grp"),l=i.$editorPane.find(".mce-statusbar");c.sekEditorExpanded()&&(_.isNaN(e)||(t=n-e),o.height=t,o.components=s.outerHeight()+a.outerHeight()+l.outerHeight(),t<40&&(o.height=40),n-1<t&&(o.height=n-1),n<i.$editorPane.outerHeight()&&(o.height=n),i.$preview.css("bottom",o.height),i.$editorPane.css("height",o.height),r.css("height",o.height-o.components))}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(d,a){a.extend(CZRSeksPrototype,{export_template:function(e){e=e||{},e=a.extend({scope:"local"},e);var i=[],t={sek_export_nonce:d.settings.nonce.save,skope_id:"local"===e.scope?d.czr_skopeBase.getSkopeProperty("skope_id"):sektionsLocalizedData.globalSkopeId,active_locations:d.czr_sektions.activeLocations()};_.each(t,function(e,t){i.push(encodeURIComponent(t)+"="+encodeURIComponent(e))}),wp.ajax.post("sek_pre_export_checks",{nonce:d.settings.nonce.save,sek_export_nonce:d.settings.nonce.save,skope_id:"local"===e.scope?d.czr_skopeBase.getSkopeProperty("skope_id"):sektionsLocalizedData.globalSkopeId,active_locations:d.czr_sektions.activeLocations()}).done(function(){a(window).off("beforeunload"),window.location.href=[sektionsLocalizedData.customizerURL,"?",i.join("&")].join(""),a(window).on("beforeunload")}).fail(function(e){d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",[sektionsLocalizedData.i18n["Export failed"],encodeURIComponent(e)].join(" "),"</strong>","</span>"].join("")})})},import_template_from_file:function(i){i=i||{};var e,t,n=(i=a.extend({is_file_import:!0,pre_import_check:!1,assign_missing_locations:!1,input:"",file_input:""},i)).input;if(_.isEmpty(n))throw new Error("::import_template => missing file_input param");if(_.isEmpty(i.file_input))throw new Error("::import_template => missing file_input param");if(i.file_input.length<1||_.isUndefined(i.file_input[0])||!i.file_input[0].files||_.isEmpty(i.file_input.val()))d.previewer.trigger("sek-notify",{notif_id:"missing-import-file",type:"info",duration:3e4,message:['<span style="color:#0075a2">',"<strong>",sektionsLocalizedData.i18n["Missing file"],"</strong>","</span>"].join("")});else{t=d.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type).scope,n.container.find(".sek-uploading").show(),d.notifications.remove("missing-import-file"),d.notifications.remove("import-success"),d.notifications.remove("import-failed"),d.notifications.remove("img-import-errors");var o=new FormData;if(o.append("file_candidate",i.file_input[0].files[0]),o.append("action","sek_get_manually_imported_file_content"),o.append("nonce",d.settings.nonce.save),_.contains(["local","global"],t)){if(o.append("skope",t),i.pre_import_check&&o.append("pre_import_check",i.pre_import_check),o.append("import_img",n.input_parent.czr_Input("import_img")()),n.container.find(".sek-uploading").show(),e=a.ajax({url:wp.ajax.settings.url,data:o,processData:!1,contentType:!1,type:"POST"}),i.pre_import_check)return a.Deferred(function(){var t=this;e.done(function(e){e.success||t.reject(e),d.czr_sektions.isImportedContentEligibleForAPI(e,i)||t.reject(e),t.resolve(e)}).fail(function(e){t.reject(e)})});d.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0,duration:3e4}),_.delay(function(){"pending"===e.state()&&d.previewer.trigger("sek-notify",{notif_id:"import-too-long",type:"error",duration:2e4,message:["<span>","<strong>",sektionsLocalizedData.i18n['Import exceeds server response time, try to uncheck "import images" option.'],"</strong>","</span>"].join("")})},3e4),e.done(function(e){d.czr_sektions.isImportedContentEligibleForAPI(e,i)?(e.data.data.collection=d.czr_sektions.setIdsForImportedTmpl(e.data.data.collection),d.czr_sektions.doUpdateApiSettingAfter_FileImport(e,i)):d.infoLog("::import_template problem => !api.czr_sektions.isImportedContentEligibleForAPI",e,i)}).fail(function(e){d.errare("::import_template => ajax error",e),d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",sektionsLocalizedData.i18n["Import failed, file problem"],"</strong>","</span>"].join("")})}).always(function(){d.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate(i)})}else d.errare("::import_template => invalid scope provided",t)}},pre_checks_from_file_import:function(e,t){if(t=t||{},(t=a.extend({is_file_import:!0,pre_import_check:!1,assign_missing_locations:!1,input:"",file_input:""},t)).is_file_import&&_.isEmpty(t.input))throw new Error("::pre_checks_from_file_import => missing file_input param");var i=d.czr_sektions.activeLocations(),n=a.extend(!0,[],_.isArray(e.data.metas.active_locations)?e.data.metas.active_locations:[]),o=t.input,r=d.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type);if(n=_.filter(n,function(e){return!_.contains(["nimble_local_header","nimble_local_footer"],e)}),_.isArray(n)&&_.isArray(i)){var s=a(n).not(i).get();_.isEmpty(s)?d.czr_sektions.import_template_from_file(t):(t.is_file_import&&(o.container.find('button[data-czr-action="sek-pre-import"]').hide(),"local"===r.scope?o.container.find(".czr-import-dialog.czr-local-import").slideToggle():o.container.find(".czr-import-dialog.czr-global-import").slideToggle()),d.infoLog("sek-pre-import => imported locations missing in current page.",s))}else d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"info",duration:3e4,message:['<span style="color:#0075a2">',"<strong>",sektionsLocalizedData.i18n["Import failed"],"</strong>","</span>"].join("")}),t.is_file_import&&d.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate(t)},setIdsForImportedTmpl:function(i){var n=this;return(_.isObject(i)||_.isArray(i))&&_.each(i,function(e,t){(_.isObject(e)||_.isArray(e))&&(i[t]=n.setIdsForImportedTmpl(e)),"id"!==t||!_.isString(e)||0!==e.indexOf("__rep__me__")&&0!==e.indexOf("__nimble__")||(i[t]=sektionsLocalizedData.prefixForSettingsNotSaved+d.czr_sektions.guid())}),i},isImportedContentEligibleForAPI:function(e,t){var i=!0,n=e.data,o=null;e.success||(o=[sektionsLocalizedData.i18n["Import failed"],n].join(" : ")),_.isNull(o)&&!_.isObject(n)&&(o=sektionsLocalizedData.i18n["Import failed, invalid file content"]);var r=n.data,s=n.metas,a=n.img_errors;_.isNull(o)&&!_.isObject(r)&&(o=sektionsLocalizedData.i18n["Import failed, invalid file content"]),_.isNull(o)&&!_.isObject(s)&&(o=sektionsLocalizedData.i18n["Import failed, invalid file content"]);var l=d.czr_sektions.localSectionsSettingId();if(t.is_file_import){var c=t.input;l="local"===d.czr_sektions.getInputRegistrationParams(c.id,c.module.module_type).scope?l:d.czr_sektions.getGlobalSectionsSettingId()}return _.isNull(o)&&_.isEqual(d(l)(),r)&&(d.infoLog("::isImportedContentEligibleForAPI => Setting unchanged"),i=!1),_.isNull(o)||(d.errare("::isImportedContentEligibleForAPI => invalid data sent from server",n),d.errare("::isImportedContentEligibleForAPI => importErrorMsg",o),d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",o,"</strong>","</span>"].join("")}),i=!1),_.isEmpty(a)||d.previewer.trigger("sek-notify",{notif_id:"img-import-errors",type:"info",duration:6e4,message:['<span style="color:#0075a2">',["<strong>"+sektionsLocalizedData.i18n["Some image(s) could not be imported"]+"</strong><br/>",'<span style="font-size:11px">'+a+"</span>"].join(" : "),"</span>"].join("")}),i},doUpdateApiSettingAfter_FileImport:function(e,t){if(t=t||{},d.czr_sektions.isImportedContentEligibleForAPI(e,t)||!t.is_file_import){var i="local",n=!1;if(t.is_file_import){var o=t.input,r=d.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type);i=r.scope,n="local"===r.scope&&o.input_parent.czr_Input("keep_existing_sections")()}d.czr_sektions.updateAPISetting({action:"sek-import-from-file",scope:i,imported_content:e.data,assign_missing_locations:t.assign_missing_locations,keep_existing_sections:n}).done(function(){if("local"===i){var e=function(){d.czr_sektions.generateUI({action:"sek-generate-local-skope-options-ui",clean_settings_and_controls_first:!0}),d.previewer.unbind("czr-new-skopes-synced",e)};d.previewer.bind("czr-new-skopes-synced",e)}d.previewer.refresh(),d.previewer.trigger("sek-notify",{notif_id:"import-success",type:"success",duration:3e4,message:["<span>","<strong>",sektionsLocalizedData.i18n["File successfully imported"],"</strong>","</span>"].join("")})}).fail(function(e){d.errare("::doUpdateApiSettingAfter_FileImport => error when firing ::updateAPISetting",e),d.previewer.trigger("sek-notify",{notif_id:"import-failed",type:"error",duration:3e4,message:["<span>","<strong>",[sektionsLocalizedData.i18n["Import failed"],e].join(" : "),"</strong>","</span>"].join("")})}),d.previewer.refresh()}else d.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate(t)},doAlwaysAfterFileImportAndApiSettingUpdate:function(e){if(d.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0}),e=e||{},(e=a.extend({is_file_import:!0,pre_import_check:!1,assign_missing_locations:!1,input:"",file_input:""},e)).is_file_import){var t=e.input;t.container.find(".sek-uploading").hide(),e.file_input.val("").trigger("change"),t.container.find(".czr-import-dialog").hide(),t.container.find('button[data-czr-action="sek-pre-import"]').show()}}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(l,d){d.extend(CZRSeksPrototype,{setupTemplateGallery:function(){var i=this;i.templateGalleryExpanded=new l.Value(!1),i.tmplInjectDialogVisible=new l.Value(!1),sektionsLocalizedData.isTemplateGalleryEnabled&&(i.tmplSearchFieldVisible=new l.Value(!1),i.tmplSearchFieldVisible.bind(function(e){var t=i.cachedElements.$body.find(".sek-tmpl-filter-wrapper");e?t.fadeIn("fast"):t.fadeOut("fast")}),i.templateGalleryExpanded.bind(function(e){i.cachedElements.$body.toggleClass("sek-template-gallery-expanded",e),e?(i.tmplDialogVisible(!1),i.levelTreeExpanded(!1),i.tmplInjectDialogVisible(!1),d("#customize-preview iframe").css("z-index",1),i.renderOrRefreshTempGallery({tmpl_source:"api_tmpl"})):(d("#customize-preview iframe").css("z-index",""),l.trigger("nb-template-gallery-closed"),i._site_tmpl_scope=null,d('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active"))}),i.tmplInjectDialogVisible.bind(function(e){i.cachedElements.$body.toggleClass("sek-tmpl-dialog-expanded",e),e&&(i.tmplDialogVisible(!1),i.levelTreeExpanded(!1),d("#customize-preview iframe").css("z-index",1))}),l.previewer.bind("ready",function(){i.templateGalleryExpanded(!1)}))},renderTmplGalleryUI:function(){if(0<d("#nimble-tmpl-gallery").length)return d("#nimble-tmpl-gallery");try{_tmpl=wp.template("nimble-top-tmpl-gallery")({})}catch(e){return l.errare("Error when parsing nimble-top-tmpl-gallery template",e),!1}return d("#customize-preview").after(d(_tmpl)),d("#nimble-tmpl-gallery")},renderOrRefreshTempGallery:function(t){t=d.extend({tmpl_source:"api_tmpl"},t||{});var i,n=this;d("#nimble-tmpl-gallery").length<1&&d.when(n.renderTmplGalleryUI({})).done(function(){n.setupTmplGalleryDOMEvents()}),d("#nimble-tmpl-gallery").find(".sek-tmpl-gallery-inner").html("");var o=function(t){return n.getTemplateGalleryHtml(t).done(function(e){(i=d("#nimble-tmpl-gallery")).find(".sek-tmpl-gallery-inner").html(e),i.removeClass("sek-is-site-tmpl-mode"),"api_tmpl"===t.tmpl_source&&n._site_tmpl_scope&&!_.isEmpty(n._site_tmpl_scope)&&i.addClass("sek-is-site-tmpl-mode")})};o(t).done(function(e){_.isEmpty(e)&&"api_tmpl"===t.tmpl_source?("function"==typeof window.console.log&&console.log("Nimble Builder API problem => could not fetch templates"),o({tmpl_source:"user_tmpl"})):((i=d("#nimble-tmpl-gallery")).find("#sek-tmpl-source-switcher").show(),i.find("#sek-tmpl-source-switcher button").attr("aria-pressed","false").removeClass("is-selected"),i.find('[data-sek-tmpl-source="'+t.tmpl_source+'"]').attr("aria-pressed","true").addClass("is-selected"))})},getTemplateGalleryHtml:function(n){var o,r,t=this,s="",a=[sektionsLocalizedData.baseUrl,"/assets/admin/img/wire_frame.png","?ver=",sektionsLocalizedData.nimbleVersion].join(""),l=d.Deferred(),c=d("#nimble-tmpl-gallery").find(".czr-css-loader");c.show();return("user_tmpl"===n.tmpl_source?t.setSavedTmplCollection:t.getApiTmplCollection).call(t).done(function(e){setTimeout(function(){!function(e){if(_.isEmpty(e)&&"user_tmpl"===n.tmpl_source){var t=[sektionsLocalizedData.baseUrl,"/assets/admin/img/empty_tmpl_collection_notice.jpg","?ver=",sektionsLocalizedData.nimbleVersion].join(""),i="https://docs.presscustomizr.com/article/426-how-to-save-and-reuse-templates-with-nimble-builder";s+='<div class="sek-tmpl-empty-collection">',s+="<p>"+sektionsLocalizedData.i18n["You did not save any templates yet."]+"</p>",s+='<img src="'+t+'" />',s+='<br/><a href="'+i+'" target="_blank" rel="noreferrer nofollow">'+i+"</a>",s+="</div>"}else _.each(e,function(e,t){o=_.isEmpty(e.description)?[e.title,e.last_modified_date].join(" | "):[e.title,e.last_modified_date,e.description].join(" | "),r=_.isEmpty(e.thumb_url)?a:e.thumb_url,s+='<div class="sek-tmpl-item" data-sek-tmpl-item-id="'+t+'" data-sek-tmpl-item-source="'+n.tmpl_source+'" data-sek-api-site-tmpl="'+(e.is_site_tmpl?"true":"false")+'" data-sek-is-pro-tmpl="'+(e.is_pro_tmpl?"yes":"no")+'">',s+='<div class="tmpl-top-title"><h3>'+e.title+"</h3></div>",s+='<div class="tmpl-thumb-and-info-wrap">',s+='<div class="sek-tmpl-thumb" style="background-image:url('+r+')"></div>',s+='<div class="sek-tmpl-info" title="'+o+'">',s+='<p class="tmpl-desc tmpl-api-hide">'+e.description+"</p>",s+='<p class="tmpl-date tmpl-api-hide"><i>'+[sektionsLocalizedData.i18n["Last modified"]," : ",e.last_modified_date].join(" ")+"</i></p>",s+='<i class="material-icons use-tmpl" title="'+sektionsLocalizedData.i18n["Use this template"]+'">add_circle_outline</i>',"user_tmpl"===n.tmpl_source&&(s+='<i class="material-icons edit-tmpl" title="'+sektionsLocalizedData.i18n["Edit this template"]+'">edit</i>',s+='<i class="material-icons remove-tmpl" title="'+sektionsLocalizedData.i18n["Remove this template"]+'">delete_forever</i>'),e.is_pro_tmpl&&(s+='<div class="sek-is-pro-template"><img src="'+sektionsLocalizedData.czrAssetsPath+'sek/img/pro_orange.svg" alt="Pro feature"/></div>'),"api_tmpl"===n.tmpl_source&&(e.demo_url&&-1!=e.demo_url.indexOf("http")&&(s+='<div class="sek-tmpl-demo-link tmpl-api-hide"><a href="'+e.demo_url+'?utm_source=usersite&utm_medium=link&utm_campaign=tmpl_demos" target="_blank" rel="noopener noreferrer">'+sektionsLocalizedData.i18n["Live demo"]+' <i class="fas fa-external-link-alt"></i></a></div>'),e.is_site_tmpl&&(s+='<div class="sek-is-site-template" title="Site templates include dynamic template tags.">Site Template</div>')),s+="</div>",s+="</div>",s+="</div>"}),"api_tmpl"!==n.tmpl_source||_.isEmpty(s)||(s+='<div class="sek-tmpl-coming-soon">',s+="<p>"+sektionsLocalizedData.i18n["🍥 More templates coming..."]+"</p>",s+="</div>");0<c.length?c.hide({duration:100,complete:function(){l.resolve(s)}}):l.resolve(s)}(e),t.tmplSearchFieldVisible(!_.isEmpty(e))},0)}).fail(function(){console.log("tmpl collection promise failed",n),l.resolve("")}),l.promise()},setupTmplGalleryDOMEvents:function(){var c=d("#nimble-tmpl-gallery"),a=this;c.on("click",".sek-tmpl-item .use-tmpl",function(e){e.preventDefault(),e.stopPropagation();var t=d(this).closest(".sek-tmpl-item").data("sek-tmpl-item-id"),i=d(this).closest(".sek-tmpl-item").data("sek-tmpl-item-source"),n=d(this).closest(".sek-tmpl-item").find(".tmpl-top-title h3").html(),o="yes"===d(this).closest(".sek-tmpl-item").data("sek-is-pro-tmpl");if(_.isEmpty(t))l.errare("::setupTmplGalleryDOMEvents => error => invalid template id");else{if(o){var r;if(!sektionsLocalizedData.isPro)return void l.previewer.trigger("sek-notify",{type:"info",duration:6e4,notif_id:"go_pro",message:['<span style="font-size:0.95em">',"<strong>"+sektionsLocalizedData.i18n["Go pro link when click on pro tmpl or section"]+"</strong>","</span>"].join("")});if(_.isEmpty(sektionsLocalizedData.pro_license_key)?r=sektionsLocalizedData.i18n["Missing license key"]:"valid"!==sektionsLocalizedData.pro_license_status&&(r=sektionsLocalizedData.i18n["Pro license problem"]),!_.isEmpty(r))return void l.previewer.trigger("sek-notify",{type:"error",duration:6e4,is_pro_notif:!0,notif_id:"pro_tmpl_error",message:['<span style="font-size:0.95em">',"<strong>"+r+"</strong>","</span>"].join("")})}if(!a._site_tmpl_scope||_.isEmpty(a._site_tmpl_scope))a.hasCurrentPageNBSectionsNotHeaderFooter()?(a._tmplNameWhileImportDialog=t,a._tmplSourceWhileImportDialog=i,a._tmplIsProWhileImportDialog=o,a.tmplInjectDialogVisible(!0)):(l.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0,duration:3e4}),l.czr_sektions.get_gallery_tmpl_json_and_inject({tmpl_name:t,tmpl_source:i,tmpl_is_pro:o}).always(function(){l.previewer.send("sek-clean-loader")}),a.templateGalleryExpanded(!1));else{var s=d('[data-czrtype="'+a._site_tmpl_scope+'"]');if(0<s.length){if(!_.contains(["user_tmpl","api_tmpl"],i))return void l.errare("Error when picking site template => invalid tmpl source");s.trigger("nb-set-site-tmpl",{site_tmpl_id:t,site_tmpl_source:i,site_tmpl_title:n})}}}}).on("click",".sek-tmpl-gal-inject-dialog .sek-ui-button",function(e){e.preventDefault(),e.stopPropagation();var t=d(this).data("sek-tmpl-inject-mode");"cancel"!==t?_.contains(["replace","before","after"],t)?(l.previewer.send("sek-maybe-print-loader",{fullPageLoader:!0,duration:3e4}),l.czr_sektions.get_gallery_tmpl_json_and_inject({tmpl_name:a._tmplNameWhileImportDialog,tmpl_source:a._tmplSourceWhileImportDialog,tmpl_is_pro:a._tmplIsProWhileImportDialog,tmpl_inject_mode:t}).always(function(){l.previewer.send("sek-clean-loader",{cleanFullPageLoader:!0})}),a.templateGalleryExpanded(!1)):l.errare("::setupTmplGalleryDOMEvents => error => invalid import mode"):a.tmplInjectDialogVisible(!1)}).on("propertychange change click keyup input paste",".sek-filter-tmpl",_.debounce(function(e){e.preventDefault();var t,i,n,o,r,s,a=d(this).val(),l=function(){c.removeClass("search-active"),c.find(".sek-tmpl-item").each(function(){d(this).removeClass("search-match")})};_.isString(a)?(a=a.trim().toLowerCase(),_.isEmpty(a.replace(/\s/g,""))?l():(c.addClass("search-active"),c.find(".sek-tmpl-item").each(function(){t=(d(this).find(".tmpl-title").html()+"").toLowerCase(),i=(d(this).find(".tmpl-desc").html()+"").toLowerCase(),n=(d(this).find(".tmpl-date").html()+"").toLowerCase(),o=-1!=t.indexOf(a),r=-1!=i.indexOf(a),s=-1!=n.indexOf(a),d(this).toggleClass("search-match",o||r||s)}))):l()},100)).on("click",".sek-tmpl-info .edit-tmpl",function(e){e.preventDefault();var t=function(e){a.tmplDialogMode("edit"),a.tmplDialogMode.unbind(t)};a.tmplToEdit=d(this).closest("[data-sek-tmpl-item-id]").data("sek-tmpl-item-id"),a.tmplDialogMode.bind(t),a.tmplDialogVisible(!0)}).on("click",".sek-tmpl-info .remove-tmpl",function(e){e.preventDefault();var t=function(e){a.tmplDialogMode("remove"),a.tmplDialogMode.unbind(t)};a.tmplToRemove=d(this).closest("[data-sek-tmpl-item-id]").data("sek-tmpl-item-id"),a.tmplDialogMode.bind(t),a.tmplDialogVisible(!0)}).on("click",".sek-close-dialog",function(e){e.preventDefault(),a.templateGalleryExpanded(!1)}).on("click","#sek-tmpl-source-switcher button",function(e){e.preventDefault(),d("#sek-tmpl-source-switcher button").removeClass("is-selected").attr("aria-pressed","false"),d(this).addClass("is-selected").attr("aria-pressed","true"),a.renderOrRefreshTempGallery({tmpl_source:d(this).data("sek-tmpl-source")})})}})}(wp.customize,jQuery);CZRSeksPrototype=CZRSeksPrototype||{};!function(t,e){jQuery.extend(CZRSeksPrototype,t.Events);var i=t.Class.extend(CZRSeksPrototype);try{t.czr_sektions=new i}catch(e){t.errare("api.czr_sektions => problem on instantiation",e)}}(wp.customize),function(r,s,a){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{content_type_switcher:function(e){var i,n=this,o=r.czr_sektions;if(!r.section.has(n.module.control.section()))throw new Error("api.czrInputMap.content_type_switcher => section not registered");i=r.section(n.module.control.section());var t=function(t){n.container.find('[data-sek-content-type="'+(t||"module")+'"]').trigger("click"),a.each(i.controls(),function(e){a.isUndefined(e.content_type)||e.active(t===e.content_type)})};r.czr_sektions.currentContentPickerType=r.czr_sektions.currentContentPickerType||new r.Value,r.bind("nimble-modules-and-sections-controls-registered",function(){t(r.czr_sektions.currentContentPickerType())}),r.czr_sektions.currentContentPickerType.bind(function(e){t(e)}),r.czr_sektions.currentContentPickerType(n()),n.container.on("click","[data-sek-content-type]",function(e){e.preventDefault();var t=s(this).data("sek-content-type");if(n.container.find("[data-sek-content-type]").attr("aria-pressed",!1),o.levelTreeExpanded(!1),o.tmplDialogVisible&&o.tmplDialogVisible(!1),o.saveSectionDialogVisible&&o.saveSectionDialogVisible(!1),"template"===t){var i=r.czr_sektions.templateGalleryExpanded();s(this).attr("aria-pressed",!i),self._site_tmpl_scope=null,r.czr_sektions.templateGalleryExpanded(!i)}else r.czr_sektions.templateGalleryExpanded(!1),s(this).attr("aria-pressed",!0),r.czr_sektions.currentContentPickerType(t)}),r.bind("nb-template-gallery-closed",function(){n.container.find('[data-sek-content-type="template"]').attr("aria-pressed",!1)}),t(r.czr_sektions.currentContentPickerType())}})}(wp.customize,jQuery,_),function(t,e,i){t.czrInputMap=t.czrInputMap||{},e.extend(t.czrInputMap,{module_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"module",input_container:this.container})},section_picker:function(e){t.czr_sektions.trigger("sek-refresh-dragzones",{type:"preset_section",input_container:this.container})}})}(wp.customize,jQuery,_),function(s,a,l){s.czrInputMap=s.czrInputMap||{},a.extend(s.czrInputMap,{module_option_switcher:function(e){var t=this;if(!s.section.has(t.module.control.section()))throw new Error(t.input_type+" => section not registered");s.section(t.module.control.section());var i,n="",o=t.module.control.params.sek_registration_params;if(l.isUndefined(o))throw new Error(t.input_type+" => missing registration params");if(o&&o.module_id&&(n=o.module_id,i=o.ui_action),l.isEmpty(n))throw new Error(t.input_type+" => missing module id");t.container.on("click","[data-sek-option-type]",function(e){e.preventDefault(),t.container.find("[data-sek-option-type]").removeClass("is-selected").attr("aria-pressed",!1),a(this).addClass("is-selected").attr("aria-pressed",!0),s.previewer.trigger("settings"===a(this).data("sek-option-type")?"sek-edit-options":"sek-edit-module",{id:n,level:"module"})});var r="sek-generate-level-options-ui"===i?"settings":"content";t.container.find("[data-sek-option-type]").removeClass("is-selected").attr("aria-pressed",!1),t.container.find('[data-sek-option-type="'+r+'"]').addClass("is-selected").attr("aria-pressed",!0)}})}(wp.customize,jQuery,_),function(c,d,p){c.czrInputMap=c.czrInputMap||{};var u=function(e){return p.contains(["px","em","%"],e)||(c.errare("error : invalid unit for input "+this.id,e),e="px"),e},_=function(i){var n=this;i.on("click",".sek-ui-button",function(e,t){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),d(this).addClass("is-selected").attr("aria-pressed",!0),n.css_unit(d(this).data("sek-unit"),t)}),i.find('.sek-ui-button[data-sek-unit="'+(n.initial_unit||"px")+'"]').addClass("is-selected").attr("aria-pressed",!0)},m=function(t,i){var n=this;t.on("click",".reset-spacing-wrap",function(e){e.preventDefault(),t.find('input[type="number"]').each(function(){d(this).val("")}),n(i),d(".sek-unit-wrapper",t).find('[data-sek-unit="px"]').trigger("click")})};d.extend(c.czrInputMap,{spacing:function(e){var o=this,i=d(".sek-spacing-wrapper",o.container),t=c.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),n=p.isEmpty(t)||p.isEmpty(t.default)?[]:t.default;if(i.on("input",'input[type="number"]',function(e){var t=d(this).closest("[data-sek-spacing]").data("sek-spacing"),i=d.extend(!0,{},p.isObject(o())?o():{}),n=d(this).val();p.isString(n)&&!p.isEmpty(n)||p.isNumber(n)?i[t]=n:i=p.omit(i,t),o(i)}),m.call(o,i,n),p.isObject(o())){p.each(o(),function(e,t){d('[data-sek-spacing="'+t+'"]',i).find('input[type="number"]').val(e)});var r="px";d(".sek-unit-wrapper .sek-ui-button",o.container).each(function(){var e=d(this).data("sek-unit");p.isEmpty(o())||p.isEmpty(o().unit)||e===o().unit&&(r=e)}),d(".sek-unit-wrapper",o.container).find('[data-sek-unit="'+u.call(o,r)+'"]').trigger("click")}var s=o();o.initial_unit="px",p.isEmpty(s)||(o.initial_unit=p.isEmpty(s.unit)?"px":s.unit),o.css_unit=new c.Value(u.call(o,o.initial_unit)),o.css_unit.bind(function(e){var t;e=p.isEmpty(e)?"px":e,(t=d.extend(!0,{},p.isObject(o())?o():{})).unit=e,o(t)}),_.call(o,i)}}),d.extend(c.czrInputMap,{spacingWithDeviceSwitcher:function(e){var r=this,s=d(".sek-spacing-wrapper",r.container),t=c.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type),a=p.isEmpty(t)||p.isEmpty(t.default)?{}:t.default,l=function(e,t){var i=["mobile","tablet","desktop"];if(p.has(e,t))return e[t];var n=p.findIndex(i,function(e){return t===e});return!p.isEmpty(t)&&n<i.length?l(e,i[n+1]):{}},i=function(e){var t=d.extend(!0,{},p.isObject(r())?r():{}),i=d.extend(!0,{},a);t=p.isObject(t)?d.extend(i,t):i;var n=l(t,e);d("[data-sek-spacing]",s).each(function(){var e=d(this).data("sek-spacing"),t="";p.isEmpty(n)||p.isEmpty(n[e])||(t=n[e]),d(this).find('input[type="number"]').val(t)});var o="px";d(".sek-unit-wrapper .sek-ui-button",r.container).each(function(){var e=d(this).data("sek-unit");p.isEmpty(n)||p.isEmpty(n.unit)||e===n.unit&&(o=e)}),d(".sek-unit-wrapper",r.container).find('[data-sek-unit="'+u.call(r,o)+'"]').trigger("click",{previewed_device_switched:!0})};c.czr_sektions.maybeSetupDeviceSwitcherForInput.call(r);var n=r();r.initial_unit="px",p.isEmpty(n)||p.isEmpty(n[r.previewedDevice()])||(r.initial_unit=p.isEmpty(n[r.previewedDevice()].unit)?"px":n[r.previewedDevice()].unit),r.css_unit=new c.Value(u.call(r,r.initial_unit)),s.on("input",'input[type="number"]',function(e){var t,i=d(this).closest("[data-sek-spacing]").data("sek-spacing"),n=d(this).val(),o=c.previewedDevice()||"desktop";(t=d.extend(!0,{},p.isObject(r())?r():{}))[o]=d.extend(!0,{},t[o]||{}),p.isString(n)&&!p.isEmpty(n)||p.isNumber(n)?t[o][i]=n:t[o]=p.omit(t[o],i),t[o].unit&&r.css_unit()==t[o].unit||(t[o].unit=r.css_unit()),r(t)}),m.call(r,s,a),r.previewedDevice.bind(function(e){try{i(e)}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}),r.css_unit.bind(function(e,t,i){if(!p.isObject(i)||!0!==i.previewed_device_switched){e=p.isEmpty(e)?"px":e;var n,o=r.previewedDevice()||"desktop";(n=d.extend(!0,{},p.isObject(r())?r():{}))[o]=d.extend(!0,{},n[o]||{}),n[o].unit=e,r(n)}}),_.call(r,s);try{i(c.previewedDevice())}catch(e){c.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+r.id,e)}}})}(wp.customize,jQuery,_),function(n,a,l){n.czrInputMap=n.czrInputMap||{},a.extend(n.czrInputMap,{bg_position:function(e){var t=this;a(".sek-bg-pos-wrapper",t.container).on("change",'input[type="radio"]',function(e){t(a(this).val())}),l.isEmpty(t())||t.container.find('input[value="'+t()+'"]').attr("checked",!0).trigger("click")},bgPositionWithDeviceSwitcher:function(e){var o=this,t=n.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=l.isEmpty(t)||l.isEmpty(t.default)?{}:t.default;n.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var s=function(e,t){var i=["mobile","tablet","desktop"];if(l.has(e,t))return e[t];var n=l.findIndex(i,function(e){return t===e});return!l.isEmpty(t)&&n<i.length?s(e,i[n+1]):{}},i=function(e){var t=a.extend(!0,{},l.isObject(o())?o():{}),i=a.extend(!0,{},r);t=l.isObject(t)?a.extend(i,t):i;var n=s(t,e);o.container.find('input[value="'+n+'"]').attr("checked",!0).trigger("click",{previewed_device_switched:!0})};a(".sek-bg-pos-wrapper",o.container).on("change",'input[type="radio"]',function(e){var t,i=a(this).val();(t=a.extend(!0,{},l.isObject(o())?o():{}))[n.previewedDevice()||"desktop"]=i,o(t)}),o.previewedDevice.bind(function(e){try{i(e)}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type spacingWithDeviceSwitcher for input id "+o.id,e)}});try{i(n.previewedDevice())}catch(e){n.errare("Error when firing syncWithPreviewedDevice for input type bgPositionWithDeviceSwitcher for input id "+o.id,e)}}})}(wp.customize,jQuery,_),function(l,c,d){l.czrInputMap=l.czrInputMap||{};var e=function(e){var o=this,t=l.czr_sektions.getInputRegistrationParams(o.id,o.module.module_type),r=d.isEmpty(t)||d.isEmpty(t.default)?{}:t.default,i="verticalAlignWithDeviceSwitcher"===o.type?".sek-v-align-wrapper":".sek-h-align-wrapper",s=c(i,o.container);l.czr_sektions.maybeSetupDeviceSwitcherForInput.call(o);var a=function(e,t){var i=["mobile","tablet","desktop"];if(d.has(e,t))return e[t];var n=d.findIndex(i,function(e){return t===e});return!d.isEmpty(t)&&n<i.length?a(e,i[n+1]):{}},n=function(e){var t=c.extend(!0,{},d.isObject(o())?o():{}),i=c.extend(!0,{},r);t=d.isObject(t)?c.extend(i,t):i;var n=a(t,e);s.find(".selected").removeClass("selected"),s.find('div[data-sek-align="'+n+'"]').addClass("selected")};s.on("click","[data-sek-align]",function(e){var t;e.preventDefault(),(t=c.extend(!0,{},d.isObject(o())?o():{}))[l.previewedDevice()||"desktop"]=c(this).data("sek-align"),s.find(".selected").removeClass("selected"),c.when(c(this).addClass("selected")).done(function(){o(t)})}),o.previewedDevice.bind(function(e){try{n(e)}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}});try{n(l.previewedDevice())}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type : "+o.type+" for input id "+o.id,e)}};c.extend(l.czrInputMap,{horizTextAlignmentWithDeviceSwitcher:e,horizAlignmentWithDeviceSwitcher:e,verticalAlignWithDeviceSwitcher:e})}(wp.customize,jQuery,_),function(f,g,h){f.czrInputMap=f.czrInputMap||{},g.extend(f.czrInputMap,{font_picker:function(e){var p=this,u=p.input_parent,_=g('select[data-czrtype="'+p.id+'"]',p.container),n=function(e,t){u();h.isNull(p())||h.isEmpty(p())?_.append('<option value="none" selected="selected">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>"):_.append('<option value="none">'+sektionsLocalizedData.i18n["Select a font family"]+"</option>");var i=[{title:sektionsLocalizedData.i18n["Web safe fonts"],type:"cfont",list:t.cfonts},{title:sektionsLocalizedData.i18n["Google fonts"],type:"gfont",list:t.gfonts}],n=f.czr_sektions.sniffAllFonts(),o=sektionsLocalizedData.alreadyUsedFonts,r=[],s=[];if(!h.isEmpty(o)&&h.isObject(o)&&h.each(o,function(e){s.push(e)}),h.isArray(n)&&h.each(n,function(e){s.push(e)}),!h.isEmpty(s)){var a={},l=[];s.forEach(function(e){a[e]=(a[e]||0)+1});var c=h.sortBy(a,function(e){return e});h.each(c,function(i){h.each(a,function(e,t){i!==e||h.contains(l,t)||l.unshift(t)})}),h.each(l,function(e){r.push({name:e})}),i.unshift({title:sektionsLocalizedData.i18n["Already used fonts"],type:null,list:r})}h.each(i,function(e){var t,r,s,i=g("<optgroup>",{label:e.title,html:(t=e.list,r=e.type,s="",h.each(t,function(e){var t,i,n=h.isString(e.name)?e.name:"Undefined Font Family",o=n.replace(/[+|:]/g," ");t=n,i=r,n=h.isEmpty(i)?t:h.isString(t)?["[",i,"]",t].join(""):"",o=o.replace("[cfont]","").replace("[gfont]",""),n==p()?s+='<option selected="selected" value="'+n+'">'+o+"</option>":s+='<option value="'+n+'">'+o+"</option>"}),s)});_.append(i)});var d={escapeMarkup:function(e){return e}};e&&g.extend(d,{resultsAdapter:e,closeOnSelect:!1}),_.czrSelect2(d),g(".czrSelect2-selection__rendered",p.container).css(m(p()))},m=function(e){if(!h.isString(e)||h.isEmpty(e))return{};var t,i,n,o=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return t=r(e),i=o[1]?o[1].replace(/[^0-9.]+/g,""):400,i=h.isNumber(i)?i:400,n=o[1]&&-1!=o[1].indexOf("italic")?"italic":"",{"font-family":"none"==t?"inherit":t.replace(/[+|:]/g," "),"font-weight":i||400,"font-style":n||"normal"}},r=function(e){if(!h.isString(e)||h.isEmpty(e))return e;var t=(e=e.replace("[gfont]","").replace("[cfont]","")).split(":");return h.isString(t[0])?t[0].replace(/[+|:]/g," "):""},t=p();_.append(g("<option>",{value:t,html:t,selected:"selected"})),p.container.on("click",function(){!0!==_.data("selectOptionsSet")&&(_.data("selectOptionsSet",!0),_.html(""),g.when(function(){var e,t=g.Deferred();h.isEmpty(f.sek_fontCollections)?(h.isUndefined(f.sek_fetchingFontCollection)||"pending"!=f.sek_fetchingFontCollection.state()?(e=f.CZR_Helpers.getModuleTmpl({tmpl:"font_list",module_type:"font_picker_input",module_id:p.module.id}),f.sek_fetchingFontCollection=e):e=f.sek_fetchingFontCollection,e.done(function(e){if("string"!=typeof e||"{"!==e[0])throw new Error("font_picker => server list is not JSON.parse-able");f.sek_fontCollections=JSON.parse(e),t.resolve(f.sek_fontCollections)}).fail(function(e){t.reject(e)})):t.resolve(f.sek_fontCollections);return t.promise()}()).done(function(t){var i;(i=g.Deferred(),void 0!==g.fn.czrSelect2&&void 0!==g.fn.czrSelect2.amd&&"function"==typeof g.fn.czrSelect2.amd.require?g.fn.czrSelect2.amd.require(["czrSelect2/results","czrSelect2/utils"],function(e,t){var n=function(e,t,i){n.__super__.constructor.call(this,e,t,i)};t.Extend(n,e),n.prototype.bind=function(e,t){var i=this;e.on("results:focus",function(e){"true"!=e.element.attr("aria-selected")&&i.trigger("select",{data:e.data})}),n.__super__.bind.call(this,e,t)},i.resolve(n)}):i.resolve(!1),i.promise()).done(function(e){n(e,t),h.isUndefined(p.container.find("select[data-czrtype]").data("czrSelect2"))||p.container.find("select[data-czrtype]").czrSelect2("open")})}).fail(function(e){f.errare("font_picker => fail response =>",e)}))})}})}(wp.customize,jQuery,_),function(s,a,l){s.czrInputMap=s.czrInputMap||{},a.extend(s.czrInputMap,{fa_icon_picker:function(){var n=this,o=!1,r=a('select[data-czrtype="'+n.id+'"]',n.container),e=n();r.append(a("<option>",{value:e,html:e,selected:"selected"})),n.container.on("click",function(){!0!==n.iconCollectionSet&&(a.when(a.Deferred(function(t){l.isEmpty(n.sek_faIconCollection)?s.CZR_Helpers.getModuleTmpl({tmpl:"icon_list",module_type:"fa_icon_picker_input",module_id:n.module.id}).done(function(e){if("string"!=typeof e||"["!==e[0])throw new Error("fa_icon_picker => server list is not JSON.parse-able");n.sek_faIconCollection=JSON.parse(e),t.resolve(n.sek_faIconCollection)}).fail(function(e){t.reject(e)}):t.resolve(n.sek_faIconCollection)})).done(function(e){!function(e){l.each(e,function(e){var t={value:e,html:s.CZR_Helpers.capitalize(e.substring(7))};t.value==n()&&(a.extend(t,{selected:"selected"}),o=!0),r.append(a("<option>",t))});var t,i=function(e){return e.id?a('<span class="'+e.element.value+'"></span><span class="social-name"> '+e.text+"</span>"):e.text};t=o?a("<option>"):a("<option>",{selected:"selected"}),r.prepend(t).czrSelect2({templateResult:i,templateSelection:i,placeholder:sektionsLocalizedData.i18n["Select an icon"],allowClear:!0})}(e),l.isUndefined(n.container.find("select[data-czrtype]").data("czrSelect2"))||n.container.find("select[data-czrtype]").czrSelect2("open")}).fail(function(e){s.errare("fa_icon_picker => fail response =>",e)}),n.iconCollectionSet=!0)})}})}(wp.customize,jQuery,_),function(u,_,m){u.czrInputMap=u.czrInputMap||{},_.extend(u.czrInputMap,{code_editor:function(e){var n,r=this,i=this.module.control,o=(r.input_parent(),!1),s=r.container.find("textarea"),a=r.container.find(".customize-control-title"),l=function(){return _.Deferred(function(t){var i=m.isEmpty(s.data("editor-code-type"))?"text/html":s.data("editor-code-type");u.czr_sektions.code_editor_params&&u.czr_sektions.code_editor_params[i]?t.resolve(u.czr_sektions.code_editor_params[i]):wp.ajax.post("sek_get_code_editor_params",{nonce:u.settings.nonce.save,code_type:i}).done(function(e){m.isObject(e)||u.errare(r.id+" => error => invalid code editor params sent by server",e),u.czr_sektions.code_editor_params={},u.czr_sektions.code_editor_params[i]=e,t.resolve(u.czr_sektions.code_editor_params[i])}).fail(function(e){t.reject(e)})})};r.isReady.done(function(){var t=function(e){m.isEmpty(this.editor)&&(m.isEmpty(this.module.control.container.attr("data-sek-expanded"))||"false"==this.module.control.container.attr("data-sek-expanded")||setTimeout(function(){if(o)try{c(o)}catch(e){u.errare("error in sek_control => code_editor() input",e),d()}else d();a.trigger("click")},10))};n=r(),u.czr_sektions.isJsonString(n)&&(n=JSON.parse(n)),s.html(n),_.when(l()).done(function(e){wp.codeEditor&&(m.isUndefined(e)||!1!==e)&&(o=e),t.call(r),r.module.control.container.first().one("sek-accordion-expanded",function(){t.call(r)})}).fail(function(e){u.errare(r.id+" => error when getting the editor params from server")})});var c=function(e){var t,i=!1;t=m.extend({},e,{onTabNext:CZRSeksPrototype.selectNextTabbableOrFocusable(":tabbable"),onTabPrevious:CZRSeksPrototype.selectPrevTabbableOrFocusable(":tabbable"),onUpdateErrorNotice:p}),r.editor=wp.codeEditor.initialize(s,t),_(r.editor.codemirror.display.lineDiv).attr({role:"textbox","aria-multiline":"true","aria-label":a.html(),"aria-describedby":"editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"}),a.on("click",function(e){e.stopPropagation(),r.editor.codemirror.focus()}),r.editor.codemirror.on("change",function(e){i=!0,s.val(e.getValue()).trigger("change"),i=!1}),n=r(),u.czr_sektions.isJsonString(n)&&(n=JSON.parse(n)),r.editor.codemirror.setValue(n),r.bind(r.id+":changed",function(e){i||r.editor.codemirror.setValue(e)}),r.editor.codemirror.on("keydown",function(e,t){27===t.keyCode&&t.stopPropagation()})},d=function(){var o=s[0];r.editor=o,s.on("blur",function(){s.data("next-tab-blurs",!1)}),s.on("keydown",function(e){var t,i,n;27!==e.keyCode?9!==e.keyCode||e.ctrlKey||e.altKey||e.shiftKey||s.data("next-tab-blurs")||(t=o.selectionStart,i=o.selectionEnd,n=o.value,0<=t&&(o.value=n.substring(0,t).concat("\t",n.substring(i)),s.selectionStart=o.selectionEnd=t+1),e.stopPropagation(),e.preventDefault()):s.data("next-tab-blurs")||(s.data("next-tab-blurs",!0),e.stopPropagation())})},p=function(e){var t;i.setting.notifications.remove(r.id),0!==e.length&&(t=1===e.length?sektionsLocalizedData.i18n.codeEditorSingular.replace("%d","1").replace("%s",a.html()):sektionsLocalizedData.i18n.codeEditorPlural.replace("%d",String(e.length)).replace("%s",a.html()),i.setting.notifications.add(r.id,new u.Notification(r.id,{message:t,type:"warning"})))}}})}(wp.customize,jQuery,_),function(e,r,t){e.czrInputMap=e.czrInputMap||{},r.extend(e.czrInputMap,{range_simple:function(e){var t=this,i=r(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]');o.on("input",function(e){n.val(r(this).val()).trigger("input")}),n.on("input",function(e){t(r(this).val()),o.val(r(this).val())}),o.val(n.val()||0)},number_simple:function(e){var t=this;t.container.find('input[type="number"]').on("input",function(e){t(r(this).val())})}})}(wp.customize,jQuery,_),function(d,p,u){d.czrInputMap=d.czrInputMap||{},p.extend(d.czrInputMap,{range_simple_device_switcher:function(e){var s=this,t=p(".sek-range-with-unit-picker-wrapper",s.container),a=t.find('input[type="number"]'),r=t.find('input[type="range"]'),i=d.czr_sektions.getInputRegistrationParams(s.id,s.module.module_type),l=u.isEmpty(i)||u.isEmpty(i.default)?{}:i.default,c=function(e,t){var i=["mobile","tablet","desktop"];if(u.has(e,t))return e[t];var n=u.findIndex(i,function(e){return t===e});return!u.isEmpty(t)&&n<i.length?c(e,i[n+1]):p.extend(!0,{desktop:""},l).desktop},n=function(e){var t=s(),i={};i=p.extend(!0,{},l),u.isObject(t)?i=p.extend(!0,{},t):u.isString(t)&&!u.isEmpty(t)&&(i={desktop:t});var n,o=c(i,e),r=(n=o,u.isEmpty(n)||!u.isString(n)?"16":n.replace(/px|em|%/g,""));a.val(r).trigger("input",{previewed_device_switched:!0})};d.czr_sektions.maybeSetupDeviceSwitcherForInput.call(s),r.on("input",function(e){a.val(p(this).val()).trigger("input")}),a.on("input",function(e,t){var i,n=d.previewedDevice()||"desktop",o=p(this).val();(i=p.extend(!0,{},u.isObject(s())?s():{}))[n]=p.extend(!0,{},i[n]||{}),u.isString(o)&&!u.isEmpty(o)&&(i[n]=o),(u.isEmpty(t)||u.isObject(t)&&!0!==t.previewed_device_switched)&&s(i),r.val(p(this).val())}),s.previewedDevice.bind(function(e){try{n(e)}catch(e){d.errare("Error when firing syncWithPreviewedDevice for input type "+s.type+" for input id "+s.id,e)}}),r.val(a.val()||0);try{n(d.previewedDevice())}catch(e){d.errare("Error when firing syncWithPreviewedDevice for input type "+s.type+" for input id "+s.id,e)}}})}(wp.customize,jQuery,_),function(a,l,c){a.czrInputMap=a.czrInputMap||{},l.extend(a.czrInputMap,{range_with_unit_picker:function(e){var t=this,i=l(".sek-range-with-unit-picker-wrapper",t.container),n=i.find('input[type="number"]'),o=i.find('input[type="range"]'),r=i.find("input[data-czrtype]").data("sek-unit"),s=function(e){return c.contains(["px","em","%"],e)||(a.errare("error : invalid unit for input "+t.id,e),e="px"),e};t.css_unit=new a.Value(c.isEmpty(r)?"px":s(r)),t.css_unit.bind(function(e){e=c.isEmpty(e)?"px":e,i.find('input[type="number"]').trigger("input")}),o.on("input",function(e){n.val(l(this).val()).trigger("input")}),n.on("input",function(e){t(l(this).val()+s(t.css_unit())),o.val(l(this).val())}),o.val(n.val()||0),i.on("click",".sek-ui-button",function(e){e.preventDefault(),i.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),l(this).addClass("is-selected").attr("aria-pressed",!0),i.find("input[data-czrtype]").data("sek-unit",l(this).data("sek-unit")),t.css_unit(l(this).data("sek-unit"))}),i.find('.sek-ui-button[data-sek-unit="'+r+'"]').addClass("is-selected").attr("aria-pressed",!0)}})}(wp.customize,jQuery,_),function(a,_,m){a.czrInputMap=a.czrInputMap||{},_.extend(a.czrInputMap,{range_with_unit_picker_device_switcher:function(e){var l=this,c=_(".sek-range-with-unit-picker-wrapper",l.container),d=c.find('input[type="number"]'),r=c.find('input[type="range"]'),s=function(e){return m.contains(["px","em","%"],e)||(a.errare("range_with_unit_picker_device_switcher => error : invalid unit for input "+l.id,e),e="px"),e},t=a.czr_sektions.getInputRegistrationParams(l.id,l.module.module_type),p=m.isEmpty(t)||m.isEmpty(t.default)?{}:t.default,i=function(){return c.find("input[data-czrtype]").data("sek-unit")||"px"},u=function(e,t){var i=["mobile","tablet","desktop"];if(m.has(e,t))return e[t];var n=m.findIndex(i,function(e){return t===e});return!m.isEmpty(t)&&n<i.length?u(e,i[n+1]):_.extend(!0,{desktop:""},p).desktop},n=function(e){var t=l(),i={};i=_.extend(!0,{},p),m.isObject(t)?i=_.extend(!0,{},t):m.isString(t)&&!m.isEmpty(t)&&(i={desktop:t});var n,o,r=u(i,e),s=(o=r,m.isEmpty(o)||!m.isString(o)?"px":o.replace(/[0-9]|\.|,/g,"")),a=(n=r,m.isEmpty(n)||!m.isString(n)?"16":n.replace(/px|em|%/g,""));_(".sek-unit-wrapper",c).find('[data-sek-unit="'+s+'"]').trigger("click",{previewed_device_switched:!0}),c.find('.sek-ui-button[data-sek-unit="'+s+'"]').addClass("is-selected").attr("aria-pressed",!0),d.val(a).trigger("input",{previewed_device_switched:!0})};a.czr_sektions.maybeSetupDeviceSwitcherForInput.call(l),l.css_unit=new a.Value(m.isEmpty(i())?"px":s(i()));var o='<button type="button" class="button sek-reset-button sek-float-right">'+sektionsLocalizedData.i18n.Reset+"</button>";l.container.find(".customize-control-title").append(o),l.css_unit.bind(function(e,t,i){m.isObject(i)&&!0===i.previewed_device_switched||d.trigger("input")}),r.on("input",function(e){d.val(_(this).val()).trigger("input")}),d.on("input",function(e,t){var i,n=a.previewedDevice()||"desktop",o=_(this).val()+s(l.css_unit());(i=_.extend(!0,{},m.isObject(l())?l():{}))[n]=_.extend(!0,{},i[n]||{}),m.isString(o)&&!m.isEmpty(o)&&(i[n]=o),(m.isEmpty(t)||m.isObject(t)&&!0!==t.previewed_device_switched)&&l(i),r.val(_(this).val())}),c.on("click",".sek-ui-button",function(e,t){e.stopPropagation(),c.find(".sek-ui-button").removeClass("is-selected").attr("aria-pressed",!1),_(this).addClass("is-selected").attr("aria-pressed",!0),c.find("input[data-czrtype]").data("sek-unit",_(this).data("sek-unit")),l.css_unit(_(this).data("sek-unit"),t)}),l.previewedDevice.bind(function(e){try{n(e)}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+l.id,e)}}),l.container.on("click",".sek-reset-button",function(e){var t=a.previewedDevice(),i=_.extend(!0,{},m.isObject(l())?l():{});m.isEmpty(i[t])||(i=m.omit(i,t),l(i),n(a.previewedDevice()))}),r.val(d.val()||0);try{n(a.previewedDevice())}catch(e){a.errare("Error when firing syncWithPreviewedDevice for input type range_with_unit_picker_device_switcher for input id "+l.id,e)}}})}(wp.customize,jQuery,_),function(g,h,v){g.czrInputMap=g.czrInputMap||{},h.extend(g.czrInputMap,{borders:function(e){var a=this,l=h(".sek-borders",a.container),c=l.find('input[type="number"]'),d=l.find('input[type="range"]'),p=l.find(".sek-alpha-color-input"),u=function(e){return v.contains(["px","em","%"],e)||(g.errare("borders => error : invalid unit for input "+a.id,e),e="px"),e},_=function(e){return v.isEmpty(e)||!v.isString(e)?"16":e.replace(/px|em|%/g,"")},m=function(e){return v.isEmpty(e)||!v.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=g.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),f=v.isEmpty(t)||v.isEmpty(t.default)?{}:t.default;a.cssBorderTypes=["top","left","right","bottom"];var i,n,o=function(){var e=a(),t="px";return v.isObject(e)&&v.has(e,"_all_")&&v.isObject(e._all_)&&!v.isEmpty(e._all_.wght)&&(t=u(m(e._all_.wght))),t},r=function(){var e=a(),t="#000000";return v.isObject(e)&&v.has(e,"_all_")&&v.isObject(e._all_)&&!v.isEmpty(e._all_.col)&&(t=e._all_.col),t},s=function(e){if(!v.contains(v.union(a.cssBorderTypes,["_all_"]),e))throw new Error("Error in syncWithBorderType : the border type must be one of those values '_all_', 'top', 'left', 'right', 'bottom'");var t=a(),i={},n=h.extend(!0,{},f);v.isObject(t)?i=h.extend(!0,{},t):v.isString(t)&&(i={_all_:{wght:t}});var o,r,s=function(e,t){var i,n=h.extend(!0,{},f);if(!v.has(n,"_all_"))throw new Error("Error when firing getCurrentBorderTypeOrAllValue : the default value of the borders input must be php registered as an array formed : array( 'wght' => '1px', 'col' => '#000000' )");return i=v.isObject(e)&&v.has(e,"_all_")?v.extend(n._all_,e._all_):n._all_,v.has(e,t)&&v.isObject(e[t])?v.extend(i,e[t]):n._all_}(i=h.extend(n,i),e);if(v.isEmpty(s)||!v.isObject(s)||v.isEmpty(s.wght)||v.isEmpty(s.col))throw new Error("Error in syncWithBorderType : getCurrentBorderTypeOrAllValue must return an object formed : array( 'wght' => '1px', 'col' => '#000000' )");o=m(s.wght),r=_(s.wght),h(".sek-unit-wrapper",l).find('[data-sek-unit="'+o+'"]').trigger("click",{border_type_switched:!0}),l.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),c.val(r).trigger("input",{border_type_switched:!0}),p.data("border_type_switched",!0),p.val(s.col).trigger("change"),p.data("border_type_switched",!1)};a.borderColor=new g.Value(v.isEmpty(r())?"#000000":r()),a.css_unit=new g.Value(v.isEmpty(o())?"px":u(o())),a.borderType=new g.Value("_all_"),c.val((i=a(),n=1,v.isObject(i)&&v.has(i,"_all_")&&v.isObject(i._all_)&&!v.isEmpty(i._all_.wght)&&(n=_(i._all_.wght)),n=parseInt(n,10),(!v.isNumber(n)||n<0)&&(g.errare("Error in borders input type for module : "+a.module.module_type+" the initial border width is invalid : "+n),n=1),n)),p.val(a.borderColor()),p.wpColorPicker({palettes:!0,width:1440<=window.innerWidth?271:251,change:function(e,t){h(this).val(t.color.toString()).trigger("colorpickerchange"),a.borderColor(t.color.toString(),{border_type_switched:!0===h(this).data("border_type_switched")})},clear:function(e,t){h(this).val("").trigger("colorpickerchange"),a.borderColor("")}}),a.css_unit.bind(function(e,t,i){(!v.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_unit)&&c.trigger("input",i)}),a.borderColor.bind(function(e,t,i){(!v.isObject(i)||!0!==i.border_type_switched&&!0!==i.initializing_the_color)&&c.trigger("input",i)}),a.borderType.bind(function(e){try{s(e)}catch(e){g.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}}),d.on("input",function(e){c.val(h(this).val()).trigger("input")}),c.on("input",function(e,t){var i,n=a.borderType()||"_all_",o=a.borderColor(),r=h(this).val()+u(a.css_unit()),s=h.extend(!0,{},f);(i=h.extend(!0,{},v.isObject(a())?a():s))[n]=h.extend(!0,{},i[n]||s[n]),v.isString(r)&&!v.isEmpty(r)&&(i[n].wght=r),i[n].col=o,(v.isEmpty(t)||v.isObject(t)&&!0!==t.border_type_switched)&&("_all_"===n&&v.each(a.cssBorderTypes,function(e){i=v.omit(i,e)}),a(i)),d.val(h(this).val())}),l.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),l.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),h(this).addClass("is-selected").attr("aria-pressed",!0),l.find("input[data-czrtype]").data("sek-unit",h(this).data("sek-unit")),a.css_unit(h(this).data("sek-unit"),t)}),l.on("click","[data-sek-border-type]",function(e,t){e.preventDefault(),l.find("[data-sek-border-type]").removeClass("is-selected").attr("aria-pressed",!1),h(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=h(this).data("sek-border-type")}catch(e){g.errare("borders input type => error when attaching click event",e)}a.borderType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.borderType()||"_all_",i=h.extend(!0,{},v.isObject(a())?a():{});v.isEmpty(i[t])||(i=v.omit(i,t),a(i),s(t))}),d.val(c.val()||0);try{s(a.borderType())}catch(e){g.errare("Error when firing syncWithBorderType for input type borders for module type "+a.module.module_type,e)}h('[data-sek-unit="'+a.css_unit()+'"]',l).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(m,f,g){m.czrInputMap=m.czrInputMap||{},f.extend(m.czrInputMap,{border_radius:function(e){var a=this,l=f(".sek-borders",a.container),c=l.find('input[type="number"]'),s=l.find('input[type="range"]'),d=function(e){return g.contains(["px","em","%"],e)||(m.errare("border_radius => error : invalid unit for input "+a.id,e),e="px"),e},p=function(e){return g.isEmpty(e)||!g.isString(e)?"16":e.replace(/px|em|%/g,"")},u=function(e){return g.isEmpty(e)||!g.isString(e)?"px":e.replace(/[0-9]|\.|,/g,"")},t=m.czr_sektions.getInputRegistrationParams(a.id,a.module.module_type),_=g.isEmpty(t)||g.isEmpty(t.default)?{}:t.default;a.cssRadiusTypes=["top_left","top_right","bottom_right","bottom_left"];var i,n,o=function(){var e=a(),t="px";return g.isObject(e)&&g.has(e,"_all_")&&(t=d(u(e._all_))),t},r=function(e){if(!g.contains(["_all_","top_left","top_right","bottom_right","bottom_left"],e))throw new Error("Error in syncWithRadiusType : the radius type must be one of those values '_all_', 'top_left', 'top_right', 'bottom_right', 'bottom_left', => radius type => "+e);var t=a(),i={},n=f.extend(!0,{},_);g.isObject(t)?i=f.extend(!0,{},t):g.isString(t)&&(i={_all_:"0px"});var o,r,s=function(e,t){var i,n=f.extend(!0,{},_);if(!g.has(n,"_all_"))throw new Error("Error when firing getCurrentRadiusTypeOrAllValue : the default value of the border_radius input must be php registered as an array");return i=g.isObject(e)&&g.has(e,"_all_")?e._all_:n._all_,g.has(e,t)?e[t]:i}(i=f.extend(n,i),e);if(g.isEmpty(s)||!g.isString(s))throw new Error("Error in syncWithRadiusType : getCurrentRadiusTypeOrAllValue must return a string like 3em");o=u(s),r=p(s),f(".sek-unit-wrapper",l).find('[data-sek-unit="'+o+'"]').trigger("click",{radius_type_switched:!0}),l.find('.sek-ui-button[data-sek-unit="'+o+'"]').addClass("is-selected").attr("aria-pressed",!0),c.val(r).trigger("input",{radius_type_switched:!0})};a.css_unit=new m.Value(g.isEmpty(o())?"px":d(o())),a.radiusType=new m.Value("_all_"),c.val((i=a(),n=0,g.isObject(i)&&g.has(i,"_all_")&&(n=p(i._all_)),n=parseInt(n,10),(!g.isNumber(n)||n<0)&&(m.errare("Error in border_radius input type for module : "+a.module.module_type+" the initial radius is invalid : "+n),n=0),n)),a.css_unit.bind(function(e,t,i){(!g.isObject(i)||!0!==i.radius_type_switched&&!0!==i.initializing_the_unit)&&c.trigger("input",i)}),a.radiusType.bind(function(e){try{r(e)}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}}),s.on("input",function(e){c.val(f(this).val()).trigger("input")}),c.on("input",function(e,t){var i,n=a.radiusType()||"_all_",o=f(this).val()+d(a.css_unit()),r=f.extend(!0,{},_);(i=f.extend(!0,{},g.isObject(a())?a():r))[n]=f.extend(!0,{},i[n]||r[n]),g.isString(o)&&!g.isEmpty(o)&&(i[n]=o),(g.isEmpty(t)||g.isObject(t)&&!0!==t.radius_type_switched)&&("_all_"===n&&g.each(a.cssRadiusTypes,function(e){i=g.omit(i,e)}),a(i)),s.val(f(this).val())}),l.on("click","[data-sek-unit]",function(e,t){e.preventDefault(),l.find("[data-sek-unit]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0),l.find("input[data-czrtype]").data("sek-unit",f(this).data("sek-unit")),a.css_unit(f(this).data("sek-unit"),t)}),l.on("click","[data-sek-radius-type]",function(e,t){e.preventDefault(),l.find("[data-sek-radius-type]").removeClass("is-selected").attr("aria-pressed",!1),f(this).addClass("is-selected").attr("aria-pressed",!0);var i="_all_";try{i=f(this).data("sek-radius-type")}catch(e){m.errare("border_radius input type => error when attaching click event",e)}a.radiusType(i,t)}),a.container.on("click",".sek-reset-button",function(e){var t=a.radiusType()||"_all_",i=f.extend(!0,{},g.isObject(a())?a():{});g.isEmpty(i[t])||(i=g.omit(i,t),a(i),r(t))}),s.val(c.val()||0);try{r(a.radiusType())}catch(e){m.errare("Error when firing syncWithRadiusType for input type border_radius for module type "+a.module.module_type,e)}f('[data-sek-unit="'+a.css_unit()+'"]',l).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(r,s,a){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{buttons_choice:function(e){var n=this,o=s(".sek-button-choice-wrapper",n.container),t=o.find('input[type="number"]'),i=r.czr_sektions.getInputRegistrationParams(n.id,n.module.module_type);a.isEmpty(i)||a.isEmpty(i.default)||i.default;t.val(n()),o.on("click","[data-sek-choice]",function(e,t){var i;e.stopPropagation(),o.find("[data-sek-choice]").removeClass("is-selected").attr("aria-pressed",!1),s(this).addClass("is-selected").attr("aria-pressed",!0);try{i=s(this).data("sek-choice")}catch(e){r.errare("buttons_choice input type => error when attaching click event",e)}n(i)}),s('[data-sek-choice="'+n()+'"]',o).trigger("click",{initializing_the_unit:!0})}})}(wp.customize,jQuery,_),function(n,o,r){n.czrInputMap=n.czrInputMap||{},o.extend(n.czrInputMap,{reset_button:function(e){this.container.on("click","[data-sek-reset-scope]",function(e,t){e.stopPropagation();var i=o(this).data("sek-reset-scope");!r.isEmpty(i)&&r.contains(["local","global"],i)?n.previewer.trigger("sek-reset-collection",{scope:"local"}):n.errare("reset_button input => invalid scope provided.",i)})}})}(wp.customize,jQuery,_),function(i,r,s){i.czrInputMap=i.czrInputMap||{},r.extend(i.czrInputMap,{revision_history:function(e){var o=this;_selected_found=!1;var t=function(t){!0!==o.revisionHistorySet&&(r.when(r.Deferred(function(t){s.isEmpty(o.sek_revisionHistory)?i.czr_sektions.getRevisionHistory({is_local:"local_revisions"===o.id}).done(function(e){if(!s.isObject(e))throw new Error("_getRevisionHistory => server list is not a object");o.sek_revisionHistory=e,t.resolve(o.sek_revisionHistory)}).fail(function(e){t.reject(e)}):t.resolve(o.sek_revisionHistory)})).done(function(e){!function(e){if(!(0<o.container.find(".sek-revision-history").length))if(s.isEmpty(e))o.container.append(["<i>",sektionsLocalizedData.i18n["No revision history available for the moment."],"</i>"].join(""));else{o.container.append(r("<select/>",{class:"sek-revision-history",html:['<option value="_select_">'," -",sektionsLocalizedData.i18n.Select,"- ","</option>"].join("")}));var n=[];s.each(e,function(e,t){var i={value:t,html:e};i.value==o()&&(r.extend(i,{selected:"selected"}),_selected_found=!0),n.unshift(r("<option>",i))}),n[0].html([n[0].html(),sektionsLocalizedData.i18n["(currently published version)"]].join(" ")),s.each(n,function(e){r("select.sek-revision-history",o.container).append(e)}),r("select.sek-revision-history",o.container).selecter()}}(e),t&&!0===t.open_on_init&&s.delay(function(){try{r("select[data-czrtype]",o.container).czrSelect2("open")}catch(e){}},100)}).fail(function(e){i.errare("_getRevisionHistory => fail response =>",e)}),o.revisionHistorySet=!0)};o.container.on("change",".sek-revision-history",function(){var e=r(this).val();"_select_"!==e&&i.czr_sektions.setSingleRevision({revision_post_id:e,is_local:"local_revisions"===o.id})}),s.delay(function(){t({open_on_init:!1})},1e3)}})}(wp.customize,jQuery,_),function(p,u,_){p.czrInputMap=p.czrInputMap||{},u.extend(p.czrInputMap,{nimble_tinymce_editor:function(){var t=this,e=t.container.find("textarea").first(),i=0<e.length?e.attr("id"):null,n=p.czr_sektions.getInputRegistrationParams(t.id,t.module.module_type),o=sektionsLocalizedData.defaultToolbarBtns;if(_.isNull(i))throw new Error("api.czrInputMap.nimble_tinymce_editor => missing textarea for module :"+t.module.id);if(!window.tinyMCE)throw new Error("api.czrInputMap.nimble_tinymce_editor => tinyMCE not defined.");if(tinyMCE.get(i))throw new Error("api.czrInputMap.nimble_tinymce_editor => duplicate editor id.");var r=function(){return n&&n.editor_params&&!0===n.editor_params.autop},s={tinymce:{toolbar1:function(){var e=o.split(",");if(n.editor_params&&_.isArray(n.editor_params.excludedBtns)){var t=n.editor_params.excludedBtns;e=_.filter(e,function(e){return!_.contains(t,e)})}if(n.editor_params&&_.isString(n.editor_params.includedBtns)){var i=n.editor_params.includedBtns;_.isEmpty(i)||!_.isArray(sektionsLocalizedData[i])?p.errare("nimble_tinymce_editor input => invalid set of buttons provided",i):(i=sektionsLocalizedData[i],e=_.filter(e,function(e){return _.contains(i,e)}))}return e.join(",")}(),content_css:function(){var e=[sektionsLocalizedData.tinyMceNimbleEditorStylesheetUrl];if(!wp.oldEditor.getDefaultSetting)return e;var t=wp.oldEditor.getDefaultSettings();return t&&t.tinymce&&t.tinymce.content_css&&(e=_.union(t.tinymce.content_css.split(","),e)),e.join(",")}(),min_height:40,height:n.editor_params&&_.isNumber(n.editor_params.height)?n.editor_params.height:p.czr_sektions.TINYMCE_EDITOR_HEIGHT},quicktags:{buttons:"strong,em,link,code"},mediaButtons:!n.editor_params||!1!==n.editor_params.media_button};s.tinymce.wpautop=r(),r()||(s.tinymce.forced_root_block=""),wp.oldEditor.initialize(i,s);var a=tinyMCE.get(i);if(!a)throw new Error("setupTinyMceEditor => missing editor instance for module :"+t.module.id);p.czrActiveWPEditors=p.czrActiveWPEditors||[];var l=u.extend(!0,[],p.czrActiveWPEditors);l.push(i),p.czrActiveWPEditors=l;var c,d=function(){c=t(),p.czr_sektions.isJsonString(c)&&(c=JSON.parse(c)),e.html(c),a.setContent(c)};a.initialized?d():a.on("init",d),a.on("input change keyup",function(e){t(a.getContent())})},detached_tinymce_editor:function(){var e,t=this,i=u("textarea#"+sektionsLocalizedData.idOfDetachedTinyMceTextArea),n=p.czr_sektions.getInputRegistrationParams(t.id,t.module.module_type);if(!(0<i.length))throw new Error("api.czrInputMap::detached_tinymce_editor => missing textarea element");if(e=i.attr("id"),window.tinymce&&(mceInstance=window.tinymce.get(e),mceInstance&&mceInstance.remove()),!window.nimbleTinyMCEPreInit||!window.nimbleTinyMCEPreInit.mceInit||!window.nimbleTinyMCEPreInit.mceInit[e])throw new Error("setupDetachedTinyMceEditor => invalid nimbleTinyMCEPreInit global var");var o=nimbleTinyMCEPreInit.mceInit[e];o.content_css=function(){var e=[sektionsLocalizedData.tinyMceNimbleEditorStylesheetUrl];if(!wp.oldEditor.getDefaultSetting)return e;var t=wp.oldEditor.getDefaultSettings();return t&&t.tinymce&&t.tinymce.content_css&&(e=_.union(t.tinymce.content_css.split(","),e)),e.join(",")}();var r,s=t.input_parent,a=function(){var e=s();return _.isUndefined(e.autop)?n&&n.editor_params&&!0===n.editor_params.autop:e.autop};o.wpautop=a(),a()||(o.forced_root_block=""),o.toolbar1=sektionsLocalizedData.defaultToolbarBtns,o.toolbar2="",window.tinymce?(window.tinymce.init(o),window.QTags.getInstance(e)):window.console&&console.log("Error in ::detached_tinymce_editor => window.tinymce not defined "),window.tinyMCE?r=tinyMCE.get(e):window.console&&console.log("Error in ::detached_tinymce_editor => window.tinyMCE not defined ");var l,c=function(){l=t(),p.czr_sektions.isJsonString(l)&&(l=JSON.parse(l)),r.setContent(l),p.sekEditorExpanded(!0),u(window).trigger("resize")};r&&(r.initialized?c():r.on("init",c),r.on("input change keyup keydown click SetContent BeforeSetContent",function(e){t(a()?r.getContent():wp.oldEditor.removep(r.getContent()))})),p.sekCurrentDetachedTinyMceInput=t,i.data("czr-bound-for-detached-editor")||(i.on("input",function(e,t){p.sekCurrentDetachedTinyMceInput(u(this).val())}),i.data("czr-bound-for-detached-editor",!0))}})}(wp.customize,jQuery,_),function(c,d,p){c.czrInputMap=c.czrInputMap||{},d.extend(c.czrInputMap,{import_export:function(){var r=this,t=r.container.find('button[data-czr-action="sek-pre-import"]'),s=r.container.find("input[name=sek-import-file]"),e=c.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type),a=e.scope,l="local"===e.scope?c.czr_sektions.localSectionsSettingId():c.czr_sektions.getGlobalSectionsSettingId();p.contains(["local","global"],a)||c.errare("api.czrInputMap.import_export => invalid currentScope",a),s.on("change",function(e){t.toggleClass("disabled",p.isEmpty(d(this).val()))});r.container.on("click","[data-czr-action]",function(e){var i,t;switch(e.stopPropagation(),d(this).data("czr-action")){case"sek-export":if(i=!1,t=wp.customize.dirtyValues(),p.isEmpty(t)||p.each(t,function(e,t){i||(i=-1!==t.indexOf("nimble"))}),i){alert(sektionsLocalizedData.i18n["You need to publish before exporting."]);break}var n=c(l)(),o=!0;if(p.each(n.collection,function(e){o&&(p.isEmpty(e.collection)||(o=!1))}),o){alert(sektionsLocalizedData.i18n["Nothing to export."]);break}c.czr_sektions.export_template({scope:a});break;case"sek-pre-import":if(p.isEmpty(c.czr_sektions.activeLocations())){alert(sektionsLocalizedData.i18n["The current page has no available locations to import Nimble Builder sections."]);break}c.czr_sektions.import_template_from_file({pre_import_check:!0,input:r,file_input:s}).done(function(e){c.czr_sektions.pre_checks_from_file_import(e,{pre_import_check:!1,input:r,file_input:s})}).fail(function(e){c.errare("import_export_ input => pre_checks_from_file_import failed",e),c.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate({input:r,file_input:s}),c.czr_sektions.import_template_from_file({input:r,file_input:s})});break;case"sek-import-as-is":c.czr_sektions.import_template_from_file({input:r,file_input:s});break;case"sek-import-assign":c.czr_sektions.import_template_from_file({assign_missing_locations:!0,input:r,file_input:s});break;case"sek-cancel-import":c.czr_sektions.doAlwaysAfterFileImportAndApiSettingUpdate({input:r,file_input:s})}})}})}(wp.customize,jQuery,_),function(l,c,d){l.czrInputMap=l.czrInputMap||{},c.extend(l.czrInputMap,{simpleselect:function(e){l.czr_sektions.setupSelectInput.call(this,e)},multiselect:function(e){l.czr_sektions.setupSelectInput.call(this,e)},simpleselectWithDeviceSwitcher:function(e){var r=this,t=(r.input_parent,r.module,l.czr_sektions.getInputRegistrationParams(r.id,r.module.module_type)),o=c("select",r.container),s=d.isEmpty(t)||d.isEmpty(t.default)?{}:t.default,i={params:e=d.isEmpty(e)?t.choices:e};if(r.module.trigger("nimble-set-select-input-options",i),e=i.params,!d.isEmpty(e)&&d.isObject(e)){d.each(e,function(e,t){var i={value:t,html:e};t==r()?c.extend(i,{selected:"selected"}):"px"===t&&c.extend(i,{selected:"selected"}),o.append(c("<option>",i))});var a=function(e,t){var i=["mobile","tablet","desktop"];if(d.has(e,t))return e[t];var n=d.findIndex(i,function(e){return t===e});return!d.isEmpty(t)&&n<i.length?a(e,i[n+1]):c.extend(!0,{desktop:""},s).desktop};l.czr_sektions.maybeSetupDeviceSwitcherForInput.call(r),o.on("change",function(e,t){var i,n=l.previewedDevice()||"desktop",o=c(this).val();(i=c.extend(!0,{},d.isObject(r())?r():{}))[n]=c.extend(!0,{},i[n]||{}),d.isString(o)&&!d.isEmpty(o)&&(i[n]=o),(d.isEmpty(t)||d.isObject(t)&&!0!==t.previewed_device_switched)&&r(i)}),r.previewedDevice.bind(function(e){try{!function(e){var t=r(),i={};i=c.extend(!0,{},s),d.isObject(t)?i=c.extend(!0,{},t):d.isString(t)&&!d.isEmpty(t)&&(i={desktop:t});var n=a(i,e);o.val(n).trigger("change",{previewed_device_switched:!0})}(e)}catch(e){l.errare("Error when firing syncWithPreviewedDevice for input type "+r.type+" for input id "+r.id,e)}})}else l.errare("api.czr_sektions.setupSelectInput => missing select options for input id => "+r.id+" in module "+r.module.module_type)}})}(wp.customize,jQuery,_),function(a,l,c){a.czrInputMap=a.czrInputMap||{},l.extend(a.czrInputMap,{category_picker:function(e){var n=this,o=l("select[data-czrtype]",n.container),r=function(){var e=n();return e=c.isString(e)?[e]:e,c.isArray(e)?e:[]},t=function(t){!0!==n.catCollectionSet&&(l.when(l.Deferred(function(i){c.isEmpty(a.czr_sektions.post_categories)?wp.ajax.post("sek_get_post_categories",{nonce:a.settings.nonce.save}).done(function(e){c.isArray(e)||a.errare(n.id+" => error => invalid category collection sent by server");var t={};c.each(e,function(e){c.isEmpty(e.slug)||c.isEmpty(e.name)?i.reject("missing slug or name for at least one category"):t[e.slug]=e.name}),a.czr_sektions.post_categories=t,i.resolve(a.czr_sektions.post_categories)}).fail(function(e){i.reject(e)}):i.resolve(a.czr_sektions.post_categories)})).done(function(e){i(e),t&&!0===t.open_on_init&&c.delay(function(){try{o.czrSelect2("open")}catch(e){}},100)}).fail(function(e){a.errare(n.id+" => fail response when _getCategoryCollection()",e)}),n.catCollectionSet=!0)},i=function(e){c.each(e,function(e,t){var i={value:t,html:e};c.contains(r(),t)&&l.extend(i,{selected:"selected"}),o.append(l("<option>",i))}),o.czrSelect2({closeOnSelect:!0,templateSelection:function(e){return e.text.replace(/\u2013|\u2014/g,"")}}),o.on("change",function(){0===l(this).find("option:selected").length&&n([])})},s={};c.each(r(),function(e){s[e]=(e+"").replace(/-/g," ")}),i(s),n.container.on("click",function(){!0!==n.catCollectionSet&&(o.czrSelect2("destroy"),l.when(o.find("option").remove()).done(function(){t({open_on_init:!0})}))})}})}(wp.customize,jQuery,_),function(r,s,e){r.czrInputMap=r.czrInputMap||{},s.extend(r.czrInputMap,{grid_layout:function(e){var n=this,o=s(".sek-grid-layout-wrapper",n.container);o.find('input[type="hidden"]').val(n()),o.on("click","[data-sek-grid-layout]",function(e,t){var i;e.stopPropagation(),o.find("[data-sek-grid-layout]").removeClass("selected").attr("aria-pressed",!1),s(this).addClass("selected").attr("aria-pressed",!0);try{i=s(this).data("sek-grid-layout")}catch(e){r.errare(n.type+" => error when attaching click event",e)}n(i)}),s('[data-sek-grid-layout="'+n()+'"]',o).trigger("click")}})}(wp.customize,jQuery,_),function(i,e,t){i.czrInputMap=i.czrInputMap||{},e.extend(i.czrInputMap,{refresh_preview_button:function(e){this.container.on("click",".sek-refresh-button",function(e,t){e.stopPropagation(),i.previewer.refresh()})}})}(wp.customize,jQuery,_),function(_,m,f){_.czrInputMap=_.czrInputMap||{},m.extend(_.czrInputMap,{site_tmpl_picker:function(n){var o,i,r,s,a,l,c=this,d=m("[data-czrtype]",c.container),p={site_tmpl_id:"_no_site_tmpl_",site_tmpl_source:"user_tmpl",site_tmpl_title:""};c.container.one("site-tmpl-input-rendered",function(){_.czr_sektions.allSavedTemplates.bind(function(e){var t=c();if(r=m.extend(!0,{},f.isObject(t)?t:{}),f.isObject(r)&&!f.isArray(r)||(r=m.extend(!0,{},p)),s=r.site_tmpl_id,a=r.site_tmpl_source,l=r.site_tmpl_title,!f.isEmpty(s)&&f.isString(s)&&f.isObject(e)&&"user_tmpl"==a)if(e[s])try{u()}catch(e){_.errare("Error when printing template val",e)}else d.trigger("nb-set-site-tmpl",p)})});var u=function(i){i=m.extend({see_me:!1},i||{});var t=function(e,t){o='<span class="sek-current-site-tmpl">',"_no_site_tmpl_"===e||f.isEmpty(e)?(o+=sektionsLocalizedData.i18n["No template set."],c.container.removeClass("sek-has-site-tmpl"),c.container.removeClass("sek-site-tmpl-not-found")):"_tmpl_not_found_"===e||f.isEmpty(e)?(o+=sektionsLocalizedData.i18n["Template not found : reset or pick another one."],c.container.removeClass("sek-has-site-tmpl"),c.container.addClass("sek-site-tmpl-not-found")):(o+=sektionsLocalizedData.i18n["Active template : "]+(f.isEmpty(t)?e:t),c.container.addClass("sek-has-site-tmpl"),c.container.removeClass("sek-site-tmpl-not-found")),o+="</span>",c.container.find(".sek-current-site-tmpl").remove(),c.container.find(".czr-input").prepend(o),i.see_me&&"_no_site_tmpl_"!=e&&(c.container.addClass("button-see-me"),f.delay(function(){c.container.removeClass("button-see-me")},800)),c.container.trigger("site-tmpl-input-rendered")},e=c();r=m.extend(!0,{},f.isObject(e)?e:{}),f.isObject(r)&&!f.isArray(r)||(r=m.extend(!0,{},p)),s=r.site_tmpl_id,a=r.site_tmpl_source,l=r.site_tmpl_title,f.isString(s)&&!f.isEmpty(s)||(_.errare("printCurrentTemplateName : Error => site template must be a string"),s="_no_site_tmpl_"),"_no_site_tmpl_"===s?t(r.site_tmpl_id,l):(_tmpl_collection_promise="user_tmpl"===a?_.czr_sektions.setSavedTmplCollection:_.czr_sektions.getApiTmplCollection,_tmpl_collection_promise.call(_.czr_sektions).done(function(e){f.isObject(e)&&e[s]&&e[s].title?l=e[s].title:"user_tmpl"===a&&(_.errare("::printCurrentTemplateName => site template not found in collection => previously removed => id : "+s+" | source : "+a),s="_tmpl_not_found_"),t(s,l)}).fail(function(){_.errare("printCurrentTemplateName error when getting collection promise failed",n),_dfd_.resolve("")}))};c.container.on("click","[data-sek-group-scope]",function(e,t){e.stopPropagation();var i=m(this).data("sek-group-scope");f.isEmpty(i)?_.errare("site_tmpl_picker input => invalid scope provided.",i):c.container.hasClass("sek-site-tmpl-picking-active")?(_.czr_sektions._site_tmpl_scope=null,_.czr_sektions.templateGalleryExpanded(!1),m('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active")):(_.czr_sektions._site_tmpl_scope=c.id,_.czr_sektions.templateGalleryExpanded(!0),m('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active"),c.container.addClass("sek-site-tmpl-picking-active"))}),c.container.on("click",".sek-remove-site-tmpl",function(e,t){e.stopPropagation(),d.trigger("nb-set-site-tmpl",p)}),d.on("nb-set-site-tmpl",function(e,t){if(f.isObject(t))if(f.isUndefined(t.site_tmpl_id)||f.isUndefined(t.site_tmpl_source)||f.isUndefined(t.site_tmpl_title))_.errare("site_tmpl_picker => error => invalid args passed on tmpl pick",t);else{i=m.extend(!0,{},p),i=m.extend(i,t),c(i);try{u({see_me:!0})}catch(e){_.errare("Error when printing template val",e)}"_no_site_tmpl_"!==i.site_tmpl_id&&(_.czr_sektions.templateGalleryExpanded(!1),m('[data-input-type="site_tmpl_picker"]').removeClass("sek-site-tmpl-picking-active"))}else _.errare("site_tmpl_picker => error => wrong args on tmpl pick",t)});try{u()}catch(e){_.errare("Error when printing template val",e)}}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_content_type_switcher_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_content_type_switcher_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_content_type_switcher_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_module_picker_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_module_picker_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_module_picker_module"))}})}(wp.customize,jQuery,_),function(t,e,i){t.czrModuleMap=t.czrModuleMap||{};var n=sektionsLocalizedData.presetSectionsModules;i.isArray(n)&&!i.isEmpty(n)?i.each(n,function(e){t.czrModuleMap[e]={crud:!1,name:t.czr_sektions.getRegisteredModuleProperty(e,"name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},t.czr_sektions.getDefaultItemModelFromRegisteredModuleData(e))}}):t.errare("api.czrModuleMap => error when adding section modules")}(wp.customize,jQuery,_),function(a,n,l){var e={initialize:function(e,t){this.inputConstructor=a.CZRInput.extend({initialize:function(e,t){var i=this;a.CZRInput.prototype.initialize.call(i,e,t),i.isReady.then(function(){i.renderUserSavedSections(),i.attachDomEvents()})},getUserSavedSections:function(){var t=n.Deferred();return l.isEmpty(a.czr_sektions.userSavedSections)?a.czr_sektions.getSavedSectionCollection().done(function(e){t.resolve(e)}):t.resolve(a.czr_sektions.userSavedSections),t.promise()},renderUserSavedSections:function(){var o=this,r="",s=o.container.find(".sek-content-type-wrapper"),t=function(e){if(s.find(".sek-user-section-wrapper").remove(),l.isEmpty(e)){var t=[sektionsLocalizedData.baseUrl,"/assets/admin/img/save_section_notice.png","?ver=",sektionsLocalizedData.nimbleVersion].join(""),i="https://docs.presscustomizr.com/article/417-how-to-save-and-reuse-sections-with-nimble-builder";r=['<div class="sek-user-section-wrapper">','<img src="'+t+'" />','<br/><a href="'+i+'" target="_blank" rel="noreferrer nofollow">'+i+"</a>","</div>"].join(""),s.append(r),o.module.container.find(".czr-item-content .customize-control-title").html(sektionsLocalizedData.i18n["You did not save any section yet."])}else{var n="background: url("+[sektionsLocalizedData.baseUrl,"/assets/admin/img/nb_sec_pholder.png","?ver=",sektionsLocalizedData.nimbleVersion].join("")+") 50% 50% / cover no-repeat;";l.each(e,function(e,t){l.isEmpty(e.description)?_titleAttr=[e.title,e.last_modified_date].join(" | "):_titleAttr=[e.title,e.last_modified_date,e.description].join(" | "),r=['<div class="sek-user-section-wrapper">','<div draggable="true" data-sek-is-user-section="true" data-sek-section-type="content" data-sek-content-type="preset_section" data-sek-content-id="'+t+'" style="" title="'+e.title+'">','<div class="sek-sec-thumb" style="'+n+'"></div>','<div class="sek-overlay"></div>','<div class="sek-sec-info" title="'+_titleAttr+'">','<h3 class="sec-title">'+e.title+"</h3>",'<p class="sec-date"><i>'+[sektionsLocalizedData.i18n["Last modified"]," : ",e.last_modified_date].join(" ")+"</i></p>",'<p class="sec-desc">'+e.description+"</p>",'<i class="material-icons edit-user-sec" title="'+sektionsLocalizedData.i18n["Edit this template"]+'">edit</i>','<i class="material-icons remove-user-sec" title="'+sektionsLocalizedData.i18n["Remove this template"]+'">delete_forever</i>',"</div>","</div>","</div>"].join(""),s.append(r)})}s.find(".czr-css-loader").remove(),a.czr_sektions.trigger("sek-refresh-dragzones",{type:"preset_section",input_container:o.container})};s.append('<div class="czr-css-loader czr-mr-loader" style="display:block"><div></div><div></div><div></div></div>'),o.getUserSavedSections().done(function(e){t(e)}),a.czr_sektions.allSavedSections.bind(function(e){t(e)})},attachDomEvents:function(){this.container.on("click",".sek-sec-info .remove-user-sec",function(e){e.preventDefault();var t=a.czr_sektions;t.saveSectionDialogVisible(!1);var i=function(e){t.saveSectionDialogMode("remove"),t.saveSectionDialogMode.unbind(i)};t.userSectionToRemove=n(this).closest("[data-sek-content-id]").data("sek-content-id"),t.saveSectionDialogMode.bind(i),t.saveSectionDialogVisible(!0)}).on("click",".sek-sec-info .edit-user-sec",function(e){e.preventDefault();var t=a.czr_sektions;t.saveSectionDialogVisible(!1);var i=function(e){t.saveSectionDialogMode("edit"),t.saveSectionDialogMode.unbind(i)};t.userSectionToEdit=n(this).closest("[data-sek-content-id]").data("sek-content-id"),t.saveSectionDialogMode.bind(i),t.saveSectionDialogVisible(!0)})}}),a.CZRDynModule.prototype.initialize.call(this,e,t)}};a.czrModuleMap=a.czrModuleMap||{},n.extend(a.czrModuleMap,{sek_my_sections_sec_picker_module:{mthds:e,crud:!1,name:a.czr_sektions.getRegisteredModuleProperty("sek_my_sections_sec_picker_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:a.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_my_sections_sec_picker_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_mod_option_switcher_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_mod_option_switcher_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_mod_option_switcher_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_anchor_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_anchor_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_anchor_module"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var t=this,n=t.module;t.czr_Input.each(function(i){switch(i.id){case"bg-apply-overlay":r.each(["bg-color-overlay","bg-opacity-overlay"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return o.CZR_Helpers.isChecked(i())})}catch(e){o.errare(n.id+" => error in setInputVisibilityDeps",e)}});break;case"bg-parallax":r.each(["bg-parallax-force","bg-scale","bg-repeat"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"bg-parallax-force":e=o.CZR_Helpers.isChecked(i());break;case"bg-repeat":case"bg-scale":e=!o.CZR_Helpers.isChecked(i())}return e})}catch(e){o.errare(n.id+" => error in setInputVisibilityDeps",e)}}),i.bind(function(e){o.CZR_Helpers.isChecked(i())&&o.CZR_Helpers.isChecked(t.czr_Input("bg-attachment")())&&t.czr_Input("bg-attachment").container.find("input[type=checkbox]").trigger("click")});break;case"bg-attachment":i.bind(function(e){o.CZR_Helpers.isChecked(i())&&o.CZR_Helpers.isChecked(t.czr_Input("bg-parallax")())&&t.czr_Input("bg-parallax").container.find("input[type=checkbox]").trigger("click")});break;case"bg-use-video":r.each(["bg-video","bg-video-loop","bg-video-delay-start","bg-video-on-mobile","bg-video-start-time","bg-video-end-time"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return o.CZR_Helpers.isChecked(i())})}catch(e){o.errare(n.id+" => error in setInputVisibilityDeps",e)}})}}),n.control&&n.control.params&&n.control.params.sek_registration_params&&(r.contains(["section","column"],n.control.params.sek_registration_params.level)||r.each(["bg-use-video","bg-video","bg-video-loop","bg-video-on-mobile","bg-video-start-time","bg-video-end-time"],function(e){t.czr_Input(e).visible(!1)}))}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{sek_level_bg_module:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("sek_level_bg_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:r.extend({id:"",title:""},o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_bg_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_text_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_text_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_text_module")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_border_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_border_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_border_module"))}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use-custom-breakpoint":o.each(["custom-breakpoint","apply-to-all"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(i.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_breakpoint_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_breakpoint_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_breakpoint_module"))}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"height-type":o.each(["custom-height","overflow_hidden"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"custom"===t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_level_height_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_level_height_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_height_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_visibility_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_visibility_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_visibility_module"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"width-type":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"custom-width",function(){return"custom"===e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_width_module:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_width_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_module"))}})}(wp.customize,jQuery,_),function(d,p,u){var e={initialize:function(e,t){var i=this;i.inputConstructor=d.CZRInput.extend(i.CZRInputConstructor||{}),i.itemConstructor=d.CZRItem.extend(i.CZRItemConstructor||{}),d.CZRDynModule.prototype.initialize.call(i,e,t)},CZRInputConstructor:{range_simple:function(e){var t,i=this,n=p(".sek-range-with-unit-picker-wrapper",i.container),o=n.find('input[type="number"]'),r=n.find('input[type="range"]');try{t=i.module.control.params.sek_registration_params}catch(e){return void d.errare("Error when getting the module registration params",e)}if(u.isUndefined(t.level_id))d.errare("Error : missing column id",er);else if(i.columnId=t.level_id,i.columnModel=p.extend(!0,{},d.czr_sektions.getLevelModel(i.columnId)),i.parentSectionModel=d.czr_sektions.getParentSectionFromColumnId(i.columnId),"no_match"!=i.columnModel)if("no_match"!=i.parentSectionModel){i.colNb=u.size(i.parentSectionModel.collection),o.attr("data-sek-width-range-column-id",i.columnId),1===i.colNb?i.container.html(["<p>",sektionsLocalizedData.i18n["This is a single-column section with a width of 100%. You can act on the internal width of the parent section, or adjust padding and margin."]].join("")):i.container.show();var s,a=d.czr_sektions.getLevelModel(i.columnId),l="_not_set_";if("no_match"!=a){var c=a.options&&a.options.width&&a.options.width["custom-width"]&&u.isNumber(+a.options.width["custom-width"]);c?l=a.options.width["custom-width"]:!c&&a.width&&u.isNumber(+a.width)&&(l=a.width),s="_not_set_"!==l?l:"_not_set_"===i()?Math.floor(100/i.colNb):i(),s=1*+parseFloat(s).toFixed(3),(!u.isNumber(s)||100<s||s<0)&&(d.errare("Error => invalid column width",s),s=50),r.on("input",function(e,t){o.val(p(this).val()).trigger("input",t)}),o.on("input",u.debounce(function(e,t){r.val(p(this).val()),t&&t.is_init||i(+parseFloat(p(this).val()).toFixed(3))},300)),o.on("input",u.debounce(function(e,t){t&&(t.is_init||t.is_resize_column_trigger)||i.sayItToApi(p(this).val())},300)),r.val(s).trigger("input",{is_init:!0})}else d.errare("sek_level_width_column module => invalid column model")}else d.errare("sek_level_width_column module => invalid parent section model");else d.errare("sek_level_width_column module => invalid column model")},sayItToApi:function(e,t){var i=this,n=u.findIndex(i.parentSectionModel.collection,{id:i.columnId}),o=n+1==i.colNb?n-1:n+1,r=u.find(i.parentSectionModel.collection,function(e,t){return o===t});"no_match"===r&&d.errare("sek_level_width_column module => invalid sister column model"),d.previewer.trigger("sek-resize-columns",{action:"sek-resize-columns",level:"column",in_sektion:i.parentSectionModel.id,id:i.columnId,resized_column:i.columnId,sister_column:r.id,resizedColumnWidthInPercent:e,col_number:i.colNb})}}};d.czrModuleMap=d.czrModuleMap||{},p.extend(d.czrModuleMap,{sek_level_width_column:{mthds:e,crud:!1,name:d.czr_sektions.getRegisteredModuleProperty("sek_level_width_column","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:u.extend({id:"",title:""},d.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_column"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_width_section:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_width_section","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_width_section"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_spacing_module:{mthds:"",crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_spacing_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_spacing_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_level_cust_css_level:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_level_cust_css_level","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_cust_css_level"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this.module;i.trigger("nb_setup_visibility_deps_for_animation_module",{item:this,module:e})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_level_animation_module:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_level_animation_module","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_level_animation_module"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_template:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_template","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_template"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_local_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_local_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_custom_css:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_custom_css","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_custom_css"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_reset:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_reset","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_reset"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_performances:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_performances"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_header_footer:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_header_footer","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_header_footer"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_revisions:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_revisions","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_revisions"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_local_imp_exp:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_local_imp_exp","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_local_imp_exp"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"links_underline":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"links_underline_hover",function(){return!e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_text:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_text","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_text"))}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use-custom-breakpoint":o.each(["global-custom-breakpoint","apply-to-all"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(i.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{sek_global_breakpoint:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("sek_global_breakpoint","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:o.extend({id:"",title:""},n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_breakpoint"))}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(e){switch(e.id){case"use-custom-outer-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"outer-section-width",function(){return e()});break;case"use-custom-inner-width":i.czr_sektions.scheduleVisibilityOfInputId.call(e,"inner-section-width",function(){return e()})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{sek_global_widths:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("sek_global_widths","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:n.extend({id:"",title:""},i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_widths"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_performances:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_performances","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_performances"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_header_footer:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_header_footer","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_header_footer"))}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.itemConstructor=r.CZRItem.extend(this.CZRItemConstructor||{}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=n.module;n.czr_Input.each(function(i){switch(i.id){case"enable":s.each(["public_key","private_key","badge","show_failure_message","failure_message","score"],function(t){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"failure_message":e=i()&&n.czr_Input("show_failure_message")();break;default:e=i()}return e})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_failure_message":s.each(["failure_message"],function(e){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()&&n.czr_Input("enable")()})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{sek_global_recaptcha:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("sek_global_recaptcha","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:s.extend({id:"",title:""},r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_recaptcha"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_revisions:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_revisions","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_revisions"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_reset:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_reset","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_reset"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_imp_exp:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_imp_exp","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_imp_exp"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_global_beta_features:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_global_beta_features","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_global_beta_features"))}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{sek_site_tmpl_pickers:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("sek_site_tmpl_pickers","name"),has_mod_opt:!1,ready_on_section_expanded:!0,defaultItemModel:i.extend({id:"",title:""},e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("sek_site_tmpl_pickers"))}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e})},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,t=n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"===i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":e="url"===i();break;case"link-target":e=!r.contains(["no-link","img-lightbox"],i())}return e})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"border-type":r.each(["borders"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return"none"!==i()})}catch(e){o.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"use_custom_width":r.each(["custom_width"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"use_custom_height":r.each(["custom_height"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"use_custom_title_attr":r.each(["heading_title"],function(e){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){o.errare("Image module => error in setInputVisibilityDeps",e)}})}}),o.trigger("nb_setup_visibility_deps_for_img_module",{item:n,module:t})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_image_main_settings_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_image_main_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_main_settings_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this,i=e.module;e.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_image_borders_corners_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_image_borders_corners_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_image_borders_corners_child")}})}(wp.customize,jQuery,_),function(n,e,t){var i={initialize:function(e,t){this.inputConstructor=n.CZRInput.extend(this.CZRTextEditorInputMths||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRTextEditorInputMths:{initialize:function(e,t){var i=this;"detached_tinymce_editor"==i.type&&i.isReady.then(function(){i.container.find('[data-czr-action="open-tinymce-editor"]').trigger("click")}),n.CZRInput.prototype.initialize.call(i,e,t)}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_tinymce_child:{mthds:i,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_tinymce_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_tinymce_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_html_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_html_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_html_module")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(i){switch(i.id){case"img-type":o.each(["img-id","img-size"],function(t){try{n.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"img-id":e="custom"===i();break;default:e="none"!==i()}return e})}catch(e){n.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"content-type":o.each(["content-custom-text"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return"custom"===i()})}catch(e){n.errare("Featured pages module => error in setInputVisibilityDeps",e)}});break;case"btn-display":o.each(["btn-custom-text"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){n.errare("Featured pages module => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_featured_pages_module:{mthds:t,crud:n.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","is_crud"),hasPreItem:!1,refresh_on_add_item:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_featured_pages_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_featured_pages_module")}})}(wp.customize,jQuery,_),function(r,e,s){var t={initialize:function(e,t){this.itemConstructor=r.CZRItem.extend(this.CZRItemConstructor||{}),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),r.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!s.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){r.errorLog("item.setInputVisibilityDeps() : "+e)}}),r.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this,o=n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":s.each(["link-pick-url","link-custom-url","link-target"],function(t){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":r.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"use_custom_color_on_hover":s.each(["color_hover"],function(e){try{r.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()})}catch(e){r.errare(o.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};r.czrModuleMap=r.czrModuleMap||{},e.extend(r.czrModuleMap,{czr_icon_settings_child:{mthds:t,crud:!1,name:r.czr_sektions.getRegisteredModuleProperty("czr_icon_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:r.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_settings_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this,i=e.module;e.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_icon_spacing_border_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_icon_spacing_border_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_icon_spacing_border_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e})},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e=i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":case"link-target":e=i()}return e})}catch(e){o.errare("Heading module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&!0===n.czr_Input("link-to")()})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_heading_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_heading_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_heading_spacing_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_heading_spacing_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_heading_spacing_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_divider_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_divider_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_divider_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_spacer_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_spacer_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_spacer_module")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_map_module:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_map_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_map_module")}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRButtonItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(t){switch(t.id){case"quote_design":n.each(["border_width_css","border_color_css"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"border-before"==t()})}catch(e){i.errare("Quote module => error in setInputVisibilityDeps",e)}}),n.each(["icon_color_css","icon_size_css"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"quote-icon-before"==t()})}catch(e){i.errare("Quote module => error in setInputVisibilityDeps",e)}})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_quote_design_child:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_quote_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_design_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_quote_quote_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_quote_quote_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_quote_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_quote_cite_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_quote_cite_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_quote_cite_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),this.bind("set_default_content_picker_options",function(e){return e.defaultContentPickerOption.defaultOption={title:'<span style="font-weight:bold">'+sektionsLocalizedData.i18n["Set a custom url"]+"</span>",type:"",type_label:"",object:"",id:"_custom_",url:""},e}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":r.each(["link-pick-url","link-custom-url","link-target"],function(t){try{o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"==i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;default:e="url"==i()}return e})}catch(e){o.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"icon":o.czr_sektions.scheduleVisibilityOfInputId.call(i,"icon-side",function(){return!r.isEmpty(i())})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_btn_content_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_btn_content_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_content_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var e=this,i=e.module;e.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":o.each(["bg_color_hover"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":o.each(["push_effect"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"width-type":n.czr_sektions.scheduleVisibilityOfInputId.call(t,"custom-width",function(){return"custom"===t()}),o.each(["custom-width","h_inner_align_css"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"custom"===t()})}catch(e){n.errare("Button module => error in setInputVisibilityDeps",e)}});break;case"height-type":n.czr_sektions.scheduleVisibilityOfInputId.call(t,"custom-height",function(){return"custom"===t()})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_btn_design_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_btn_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_btn_design_child")}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var r=this;r.module;r.czr_Input.each(function(o){switch(o.id){case"use_current_query":n.each(["replace_query","post_number","posts_per_page","include_sticky","categories","must_have_all_cats","order_by"],function(t){i.czr_sektions.scheduleVisibilityOfInputId.call(o,t,function(){var e=!1;switch(_replace_query=r.czr_Input("replace_query")(),_display_pagination=r.czr_Input("display_pagination")(),t){case"replace_query":e=o();break;case"post_number":e=!o()&&!_display_pagination||o()&&_replace_query&&!_display_pagination;break;case"posts_per_page":e=!o()&&_display_pagination||o()&&_replace_query&&_display_pagination;break;case"include_sticky":case"categories":case"must_have_all_cats":case"order_by":e=!o()||o()&&r.czr_Input("replace_query")()}return e})});break;case"replace_query":n.each(["post_number","posts_per_page","include_sticky","categories","must_have_all_cats","order_by"],function(n){i.czr_sektions.scheduleVisibilityOfInputId.call(o,n,function(){var e=r.czr_Input("use_current_query")(),t=r.czr_Input("display_pagination")(),i=!1;switch(n){case"post_number":i=!e&&!t||o()&&!t;break;case"posts_per_page":i=!e&&t||o()&&t;break;case"include_sticky":case"categories":case"must_have_all_cats":case"order_by":i=!e||o()}return i})});break;case"layout":n.each(["columns","img_column_width","has_tablet_breakpoint","has_mobile_breakpoint"],function(t){i.czr_sektions.scheduleVisibilityOfInputId.call(o,t,function(){var e=!1;switch(t){case"columns":e="grid"===o();break;case"has_tablet_breakpoint":case"has_mobile_breakpoint":case"img_column_width":e="list"===o()}return e})});break;case"categories":n.each(["must_have_all_cats"],function(e){i.czr_sektions.scheduleVisibilityOfInputId.call(o,e,function(){var e=o();return n.isArray(e)&&1<e.length})});break;case"display_pagination":n.each(["posts_per_page","post_number"],function(n){i.czr_sektions.scheduleVisibilityOfInputId.call(o,n,function(){var e=r.czr_Input("replace_query")(),t=r.czr_Input("use_current_query")(),i=!1;switch(n){case"posts_per_page":i=o()&&!t||o()&&t&&e;break;case"post_number":i=!o()&&!t||!o()&&t&&e}return i})});break;case"custom_grid_spaces":n.each(["column_gap","row_gap"],function(e){i.czr_sektions.scheduleVisibilityOfInputId.call(o,e,function(){return o()})});break;case"show_excerpt":n.each(["excerpt_length"],function(e){i.czr_sektions.scheduleVisibilityOfInputId.call(o,e,function(){return o()})})}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_post_grid_main_child:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_post_grid_main_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_main_child")}})}(wp.customize,jQuery,_),function(o,e,r){var t={initialize:function(e,t){this.itemConstructor=o.CZRItem.extend(this.CZRItemConstructor||{}),o.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!r.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){o.errorLog("item.setInputVisibilityDeps() : "+e)}}),o.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var n=this;n.module;n.czr_Input.each(function(i){switch(i.id){case"show_thumb":r.each(["img_size","img_has_custom_height","img_height","border_radius_css","use_post_thumb_placeholder"],function(t){o.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"img_height":e=i()&&n.czr_Input("img_has_custom_height")();break;default:e=i()}return e})});break;case"img_has_custom_height":r.each(["img_height"],function(e){o.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return i()&&n.czr_Input("show_thumb")()})})}})}}};o.czrModuleMap=o.czrModuleMap||{},e.extend(o.czrModuleMap,{czr_post_grid_thumb_child:{mthds:t,crud:!1,name:o.czr_sektions.getRegisteredModuleProperty("czr_post_grid_thumb_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:o.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_thumb_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_post_grid_metas_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_post_grid_metas_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_metas_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_post_grid_fonts_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_post_grid_fonts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_post_grid_fonts_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_menu_content_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_menu_content_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_menu_content_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_menu_mobile_options:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_menu_mobile_options","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_menu_mobile_options")}})}(wp.customize,jQuery,_),function(i,e,n){var t={initialize:function(e,t){this.itemConstructor=i.CZRItem.extend(this.CZRItemConstructor||{}),i.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!n.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){i.errorLog("item.setInputVisibilityDeps() : "+e)}}),i.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(t){switch(t.id){case"show_name_field":n.each(["name_field_label","name_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_subject_field":n.each(["subject_field_label","subject_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_message_field":n.each(["message_field_label","message_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"show_privacy_field":n.each(["privacy_field_label","privacy_field_required"],function(e){try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":try{i.czr_sektions.scheduleVisibilityOfInputId.call(t,"link-custom-url",function(){return t()})}catch(e){i.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}}})}}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_simple_form_fields_child:{mthds:t,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fields_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fields_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_simple_form_design_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_simple_form_design_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_design_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use_custom_bg_color_on_hover":o.each(["bg_color_hover"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}});break;case"border-type":o.each(["borders"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"none"!==t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"use_box_shadow":o.each(["push_effect"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(t.module.module_type+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_simple_form_button_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_simple_form_button_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_button_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_form_fonts_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_form_fonts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_fonts_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_simple_form_submission_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_simple_form_submission_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_simple_form_submission_child")}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_font_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_font_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_font_child")}})}(wp.customize,jQuery,_),function(i,e,t){var n={initialize:function(e,t){this.bind("nimble-set-select-input-options",function(e){e.params=sektionsLocalizedData.registeredWidgetZones}),i.CZRDynModule.prototype.initialize.call(this,e,t)}};i.czrModuleMap=i.czrModuleMap||{},e.extend(i.czrModuleMap,{czr_widget_area_module:{mthds:n,crud:!1,name:i.czr_sektions.getRegisteredModuleProperty("czr_widget_area_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:i.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_widget_area_module")}})}(wp.customize,jQuery,_),function(s,a,l){var e={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=s.CZRItem.extend(i.CZRItemConstructor||{}),s.CZRDynModule.prototype.initialize.call(i,e,t)},generateItemId:function(){return s.czr_sektions.guid()},_makeItemsSortable:function(e){if(!wp.media.isTouchDevice&&a.fn.sortable){var i=this;a("."+i.control.css_attr.items_wrapper,i.container).sortable({handle:"."+i.control.css_attr.item_sort_handle,start:function(){},update:function(e,t){i._getSortedDOMItemCollection().done(function(e){i.itemCollection.set(e)}).then(function(){l.has(i,"preItem")&&i.preItemExpanded.set(!1),i.closeAllItems().closeRemoveDialogs(),i.trigger("item-collection-sorted")})}})}},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!l.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){s.errorLog("item.setInputVisibilityDeps() : "+e)}}),s.CZRItem.prototype.ready.call(t)},_buildTitle:function(e,t,i){var n=this.module;return e=e||("string"==typeof t?s.CZR_Helpers.capitalize(t.replace("fa-","")):""),e=s.CZR_Helpers.truncate(e,20),'<div><span class="'+t+'" style="color:'+(i=i||n.defaultSocialColor)+'"></span> '+e+"</div>"},writeItemViewTitle:function(e){var t=this.module,i=e||this(),n=(i.icon?i.icon:"").replace("fa-","").replace("envelope","email").replace("far","").replace("fab","").replace("fas","");a("."+t.control.css_attr.item_title,this.container).html(this._buildTitle(n,i.icon,i.color_css))},setInputVisibilityDeps:function(){this.module;this.czr_Input.each(function(t){switch(t.id){case"use_custom_color_on_hover":l.each(["social_color_hover"],function(e){try{s.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){s.errare("Featured pages module => error in setInputVisibilityDeps",e)}})}})},toggleRemoveAlert:function(){this.removeItem()},removeItem:function(e){e=e||{};var t=this,i=this.module,n=l.clone(i.itemCollection());i.trigger("pre_item_dom_remove",t()),t._destroyView(),n=l.without(n,l.findWhere(n,{id:t.id})),i.itemCollection.set(n),i.trigger("pre_item_api_remove",t());var o=a.extend(!0,{},t());if(i.czr_Item.remove(t.id),"postMessage"!=s(i.control.id).transport||!l.has(e,"dom_event")||l.has(e.dom_event,"isTrigger")||s.CZR_Helpers.hasPartRefresh(i.control.id))i.trigger("item-removed",o),i.control.trigger("item-removed",o);else{var r=function(){s.previewer.unbind("ready",r),i.trigger("item-removed",o)};s.previewer.bind("ready",r)}}}};s.czrModuleMap=s.czrModuleMap||{},a.extend(s.czrModuleMap,{czr_social_icons_settings_child:{mthds:e,crud:!0,hasPreItem:!1,refresh_on_add_item:!1,name:s.czr_sektions.getRegisteredModuleProperty("czr_social_icons_settings_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:s.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_social_icons_settings_child"),items_are_clonable:!0}})}(wp.customize,jQuery,_),function(e,t,i){e.czrModuleMap=e.czrModuleMap||{},t.extend(e.czrModuleMap,{czr_social_icons_style_child:{crud:!1,name:e.czr_sektions.getRegisteredModuleProperty("czr_social_icons_style_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:e.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_social_icons_style_child")}})}(wp.customize,jQuery,_),function(g,h,v){var e={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=g.CZRItem.extend(i.CZRItemConstructor||{}),g.CZRDynModule.prototype.initialize.call(i,e,t)},generateItemId:function(){return g.czr_sektions.guid()},_makeItemsSortable:function(e){if(!wp.media.isTouchDevice&&h.fn.sortable){var i=this;h("."+i.control.css_attr.items_wrapper,i.container).sortable({handle:"."+i.control.css_attr.item_sort_handle,start:function(){},update:function(e,t){i._getSortedDOMItemCollection().done(function(e){i.itemCollection.set(e)}).then(function(){v.has(i,"preItem")&&i.preItemExpanded.set(!1),i.closeAllItems().closeRemoveDialogs(),i.trigger("item-collection-sorted")})}})}},getPreItem:function(){var e=g.czr_sektions.getRegisteredModuleProperty("czr_img_slider_collection_child","starting_value"),t=h.extend(!0,{},this.preItem());if(v.isObject(e)){var i=h.extend(!0,{},e);return h.extend(t,i)}return this.preItem()},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!v.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){g.errorLog("item.setInputVisibilityDeps() : "+e)}}),g.CZRItem.prototype.ready.call(t);var i=function(){g.previewer.send("sek-item-focus",{control_id:t.module.control.id,item_id:t.id,item_value:t()})};t.viewState.callbacks.add(function(e,t){"expanded"===e&&i()}),t.callbacks.add(i),t.bind("sek-request-item-focus-in-preview",i)},writeItemViewTitle:function(e,t){var i=this,n=i.module,o=e||i(),r="",s="",a="not_set",l=!v.isUndefined(t)&&v.isObject(t);if(!l||!t.input_changed||v.contains(["img","text_content"],t.input_changed)){if(v.isEmpty(o.title)){var c=v.findIndex(n.itemCollection(),function(e){return e.id===i.id});c=v.isUndefined(c)?1:c+1}else r=o.title;r=g.CZR_Helpers.truncate(r,15),o.img&&(s=o.img,v.isString(o.img)&&(s=-1!==o.img.indexOf("http")?o.img:parseInt(o.img,10)));var d=function(){return h.Deferred(function(){var e=this;v.isUndefined(s)||v.isEmpty(""+s)?e.resolve(""):v.isString(s)&&-1!==s.indexOf("http")?e.resolve(s):wp.media.attachment(s).fetch().always(function(){if(v.isObject(this)&&v.has(this,"attributes")&&v.has(this.attributes,"sizes")){var i=this.get("sizes");i&&v.isObject(i)&&v.each(["thumbnail","medium","large","full"],function(e,t){"not_set"===a&&i[e]&&v.isObject(i[e])&&i[e].url&&(a=i[e].url)}),e.resolve(a)}})}).promise()},p=h("."+n.control.css_attr.item_title,i.container).find(".sek-slide-title"),u=h("."+n.control.css_attr.item_title,i.container).find(".sek-slide-thumb"),_=o.text_content?o.text_content:"";_=(_=h("<div>").html(_).text()).substring(0,60),p.length<1?(h("."+n.control.css_attr.item_title,i.container).html(""),h("."+n.control.css_attr.item_title,i.container).append(h("<div/>",{class:"sek-slide-title",html:_}))):p.html(_);var m=l&&t.input_changed&&"img"===t.input_changed,f=function(e){return v.isEmpty(""+e)||"not_set"===e?"":'<img src="'+e+'" width="32" alt="'+r+'" />'};h("."+n.control.css_attr.item_title,i.container).css("padding","0 4px"),u.length<1?d().done(function(e){h("."+n.control.css_attr.item_title,i.container).prepend(h("<div/>",{class:"sek-slide-thumb",html:f(e)}))}):!m&&l||d().done(function(e){u.html(f(e))})}},setInputVisibilityDeps:function(){var n=this,t=n.module;n.czr_Input.each(function(i){switch(i.id){case"link-to":v.each(["link-pick-url","link-custom-url","link-target"],function(t){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,t,function(){var e=!1;switch(t){case"link-custom-url":e="url"===i()&&"_custom_"==n.czr_Input("link-pick-url")().id;break;case"link-pick-url":e="url"===i();break;case"link-target":e=!v.contains(["no-link"],i())}return e})}catch(e){g.errare("Image module => error in setInputVisibilityDeps",e)}});break;case"link-pick-url":g.czr_sektions.scheduleVisibilityOfInputId.call(i,"link-custom-url",function(){return"_custom_"==i().id&&"url"==n.czr_Input("link-to")()});break;case"apply-overlay":v.each(["color-overlay","opacity-overlay"],function(e){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return g.CZR_Helpers.isChecked(i())})}catch(e){g.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"enable_text":v.each(["text_content","font_family_css","font_size_css","line_height_css","color_css","h_alignment_css","v_alignment","spacing_css"],function(e){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return g.CZR_Helpers.isChecked(i())})}catch(e){g.errare(t.id+" => error in setInputVisibilityDeps",e)}});break;case"apply_overlay":v.each(["color-overlay","opacity-overlay"],function(e){try{g.czr_sektions.scheduleVisibilityOfInputId.call(i,e,function(){return g.CZR_Helpers.isChecked(i())})}catch(e){g.errare(t.id+" => error in setInputVisibilityDeps",e)}})}})},toggleRemoveAlert:function(){this.removeItem()},removeItem:function(e){e=e||{};var t=this,i=this.module,n=v.clone(i.itemCollection());i.trigger("pre_item_dom_remove",t()),t._destroyView(),n=v.without(n,v.findWhere(n,{id:t.id})),i.itemCollection.set(n),i.trigger("pre_item_api_remove",t());var o=h.extend(!0,{},t());if(i.czr_Item.remove(t.id),"postMessage"!=g(i.control.id).transport||!v.has(e,"dom_event")||v.has(e.dom_event,"isTrigger")||g.CZR_Helpers.hasPartRefresh(i.control.id))i.trigger("item-removed",o),i.control.trigger("item-removed",o);else{var r=function(){g.previewer.unbind("ready",r),i.trigger("item-removed",o)};g.previewer.bind("ready",r)}}}};g.czrModuleMap=g.czrModuleMap||{},h.extend(g.czrModuleMap,{czr_img_slider_collection_child:{mthds:e,crud:!0,hasPreItem:!1,refresh_on_add_item:!1,name:g.czr_sektions.getRegisteredModuleProperty("czr_img_slider_collection_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:g.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_img_slider_collection_child"),items_are_clonable:!0}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"height-type":o.each(["custom-height"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return"custom"===t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}});break;case"autoplay":o.each(["autoplay_delay","pause_on_hover"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return n.CZR_Helpers.isChecked(t())})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_img_slider_opts_child:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_img_slider_opts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_img_slider_opts_child")}})}(wp.customize,jQuery,_),function(d,p,u){var e={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=d.CZRItem.extend(i.CZRItemConstructor||{}),d.CZRDynModule.prototype.initialize.call(i,e,t)},generateItemId:function(){return d.czr_sektions.guid()},_makeItemsSortable:function(e){if(!wp.media.isTouchDevice&&p.fn.sortable){var i=this;p("."+i.control.css_attr.items_wrapper,i.container).sortable({handle:"."+i.control.css_attr.item_sort_handle,start:function(){},update:function(e,t){i._getSortedDOMItemCollection().done(function(e){i.itemCollection.set(e)}).then(function(){u.has(i,"preItem")&&i.preItemExpanded.set(!1),i.closeAllItems().closeRemoveDialogs(),i.trigger("item-collection-sorted")})}})}},getPreItem:function(){var e=d.czr_sektions.getRegisteredModuleProperty("czr_accordion_collection_child","starting_value"),t=p.extend(!0,{},this.preItem());if(u.isObject(e)){var i=p.extend(!0,{},e);return p.extend(t,i)}return this.preItem()},CZRItemConstructor:{ready:function(){var e=this;d.CZRItem.prototype.ready.call(e);var i=function(){d.previewer.send("sek-item-focus",{control_id:e.module.control.id,item_id:e.id,item_value:e()})};e.viewState.callbacks.add(function(e,t){"expanded"===e&&i()}),e.callbacks.add(i),e.bind("sek-request-item-focus-in-preview",i),e.module.bind("item-collection-sorted",function(){e.writeItemViewTitle(e(),{input_changed:"title_text"})})},writeItemViewTitle:function(e,t){var i=this,n=i.module,o=e||i(),r="";if(!(!u.isUndefined(t)&&u.isObject(t))||!t.input_changed||u.contains(["title_text"],t.input_changed)){if(u.isEmpty(o.title)){var s=u.findIndex(n.itemCollection(),function(e){return e.id===i.id});s=u.isUndefined(s)?1:s+1}else r=o.title;r=d.CZR_Helpers.truncate(r,25);var a=p("."+n.control.css_attr.item_title,i.container).find(".sek-accord-title"),l=o.title_text?o.title_text:"";l=p("<div>").html(l).text();var c=i.module.container.find(".czr-items-wrapper > li").index(i.container);l=(l=u.isEmpty(l)?sektionsLocalizedData.i18n["Accordion title"]+" #"+(+c+1):l).substring(0,60),a.length<1?(p("."+n.control.css_attr.item_title,i.container).html(""),p("."+n.control.css_attr.item_title,i.container).append(p("<div/>",{class:"sek-accord-title",html:l}))):a.html(l)}},toggleRemoveAlert:function(){this.removeItem()},removeItem:function(e){e=e||{};var t=this,i=this.module,n=u.clone(i.itemCollection());i.trigger("pre_item_dom_remove",t()),t._destroyView(),n=u.without(n,u.findWhere(n,{id:t.id})),i.itemCollection.set(n),i.trigger("pre_item_api_remove",t());var o=p.extend(!0,{},t());if(i.czr_Item.remove(t.id),"postMessage"!=d(i.control.id).transport||!u.has(e,"dom_event")||u.has(e.dom_event,"isTrigger")||d.CZR_Helpers.hasPartRefresh(i.control.id))i.trigger("item-removed",o),i.control.trigger("item-removed",o);else{var r=function(){d.previewer.unbind("ready",r),i.trigger("item-removed",o)};d.previewer.bind("ready",r)}}}};d.czrModuleMap=d.czrModuleMap||{},p.extend(d.czrModuleMap,{czr_accordion_collection_child:{mthds:e,crud:!0,hasPreItem:!1,refresh_on_add_item:!1,name:d.czr_sektions.getRegisteredModuleProperty("czr_accordion_collection_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:d.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_accordion_collection_child"),items_are_clonable:!0}})}(wp.customize,jQuery,_),function(n,e,t){var i={initialize:function(e,t){var i=this;i.crudModulePart="nimble-crud-module-part",i.rudItemPart="nimble-rud-item-part",i.itemConstructor=n.CZRItem.extend(i.CZRItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(i,e,t)},CZRItemConstructor:{ready:function(){n.CZRItem.prototype.ready.call(this)}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_accordion_opts_child:{mthds:i,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_accordion_opts_child","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_accordion_opts_child")}})}(wp.customize,jQuery,_),function(n,e,o){var t={initialize:function(e,t){this.itemConstructor=n.CZRItem.extend(this.CZRButtonItemConstructor||{}),n.CZRDynModule.prototype.initialize.call(this,e,t)},CZRButtonItemConstructor:{ready:function(){var t=this;t.inputCollection.bind(function(e){if(!o.isEmpty(e))try{t.setInputVisibilityDeps()}catch(e){n.errorLog("item.setInputVisibilityDeps() : "+e)}}),n.CZRItem.prototype.ready.call(t)},setInputVisibilityDeps:function(){var i=this.module;this.czr_Input.each(function(t){switch(t.id){case"use_flex":o.each(["h_alignment_css"],function(e){try{n.czr_sektions.scheduleVisibilityOfInputId.call(t,e,function(){return t()})}catch(e){n.errare(i.id+" => error in setInputVisibilityDeps",e)}})}})}}};n.czrModuleMap=n.czrModuleMap||{},e.extend(n.czrModuleMap,{czr_shortcode_module:{mthds:t,crud:!1,name:n.czr_sektions.getRegisteredModuleProperty("czr_shortcode_module","name"),has_mod_opt:!1,ready_on_section_expanded:!1,ready_on_control_event:"sek-accordion-expanded",defaultItemModel:n.czr_sektions.getDefaultItemModelFromRegisteredModuleData("czr_shortcode_module")}})}(wp.customize,jQuery,_);
|
assets/czr/sek/js/ccat-sek-preview.js
CHANGED
@@ -1799,8 +1799,9 @@ var SekPreviewPrototype = SekPreviewPrototype || {};
|
|
1799 |
} else {
|
1800 |
$placeHolder.after( html_content );
|
1801 |
}
|
1802 |
-
|
1803 |
-
|
|
|
1804 |
|
1805 |
//=> 'sek-level-refreshed' is listened to ( for example ) clean the loader overlay in time
|
1806 |
$( '[data-sek-id="' + params.apiParams.id + '"]' ).trigger( 'sek-level-refreshed', { level : params.apiParams.level, id : params.apiParams.id } );
|
1799 |
} else {
|
1800 |
$placeHolder.after( html_content );
|
1801 |
}
|
1802 |
+
if ( $placeHolder.length > 0 ) {
|
1803 |
+
$placeHolder.remove();
|
1804 |
+
}
|
1805 |
|
1806 |
//=> 'sek-level-refreshed' is listened to ( for example ) clean the loader overlay in time
|
1807 |
$( '[data-sek-id="' + params.apiParams.id + '"]' ).trigger( 'sek-level-refreshed', { level : params.apiParams.level, id : params.apiParams.id } );
|
assets/czr/sek/js/ccat-sek-preview.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var SekPreviewPrototype=SekPreviewPrototype||{};!function(a,n,i){n.extend(SekPreviewPrototype,{cachedElements:{$body:n("body"),$window:n(window)},initialize:function(){var t=this;try{this.skope_id=i.findWhere(_wpCustomizeSettings.czr_new_skopes,{skope:"local"}).skope_id}catch(e){return void this.errare("Preview => error when storing the skope_id",e)}this.scheduleHighlightActiveLevel(),t.setupLoader(),n(function(){t.setupSortable(),t.setupResizable(),t.setupUiHoverVisibility(),t.scheduleUiClickReactions(),t.schedulePanelMsgReactions()}),t.cachedElements.$body.on("sek-columns-refreshed sek-modules-refreshed",function(e,t){if(!i.isUndefined(t)&&!i.isUndefined(t.in_sektion)&&0<n('[data-sek-id="'+t.in_sektion+'"]').length){var a=n('[data-sek-id="'+t.in_sektion+'"]');a.toggleClass("sek-has-modules",0<a.find('[data-sek-level="module"]').length)}}),t.deactivateLinks(),t.cachedElements.$body.on(["sek-modules-refreshed","sek-columns-refreshed","sek-section-added","sek-level-refreshed","sek-edit-module"].join(" "),function(e){t.deactivateLinks(e)});var e=function(){var e=[],t=[];n('[data-sek-level="location"]').each(function(){e.push(n(this).data("sek-id")),t.push({id:n(this).data("sek-id"),is_global:!0===n(this).data("sek-is-global-location"),is_header_footer:!0===n(this).data("sek-is-header-location")||!0===n(this).data("sek-is-footer-location"),is_header:!0===n(this).data("sek-is-header-location"),is_footer:!0===n(this).data("sek-is-footer-location")})}),a.preview.send("sek-active-locations-in-preview",{active_locations:e,active_locs_info:t})};a.preview.bind("sek-request-active-locations",e),e()},deactivateLinks:function(e){e=e||{};this.cachedElements.$body.find('[data-sek-level="module"]').each(function(){n(this).find("a").each(function(){try{(function(){if("yes"!==n(this).data("sek-unlinked")){var e=i.isString(n(this)[0].protocol)&&-1!==n(this)[0].protocol.indexOf("javascript");!e&&a.isLinkPreviewable(n(this)[0])?(n(this).addClass("nimble-shift-clickable"),n(this).data("sek-unlinked","yes").attr("data-nimble-href",n(this).attr("href")).attr("href","javascript:void(0)"),n(this).removeAttr("target"),n(this).on("mouseenter",function(){n(this).attr("title",sekPreviewLocalized.i18n["Shift-click to visit the link"])}),n(this).on("mouseleave",function(){n(this).removeAttr("title")}),n(this).on("click",function(e){e.shiftKey&&(e.preventDefault(),window.location.href=n(this).attr("data-nimble-href"))})):(n(this).addClass("nimble-unclickable"),n(this).data("sek-unlinked","yes").attr("data-nimble-href",n(this).attr("href")).attr("href","javascript:void(0)"),n(this).on("mouseenter",function(){n(this).attr("title",e?sekPreviewLocalized.i18n["Link deactivated while previewing"]:sekPreviewLocalized.i18n["External links are disabled when customizing"])}).on("mouseleave",function(){n(this).removeAttr("title")}),n(this).on("click",function(e){e.preventDefault()}))}}).call(n(this))}catch(e){a.errare("::deactivateLinks => error ",e)}})})},scheduleHighlightActiveLevel:function(){var s=this;this.activeLevelUI=new a.Value(""),this.activeLevelEl=new a.Value(null),this.activeUIChangedRecently=new a.Value(!1),this.activeLevelUI.bind(function(e,t){var a=n('[data-sek-id="'+e+'"]'),i=n('[data-sek-id="'+t+'"]');0<a.length&&(a.addClass("sek-active-ui sek-highlight-active-ui"),s.activeLevelEl(a)),0<i.length&&i.removeClass("sek-active-ui sek-highlight-active-ui"),s.activeUIChangedRecently(Date.now())}),s.activeLevelEl.bind(function(e){if(i.isObject(e)&&0<e.length&&!nb_.isInScreen(e[0]))try{e[0].scrollIntoView()}catch(e){s.errare("activeLevelEl error",e)}}),i.each(["sek-refresh-stylesheet","sek-refresh-level"],function(e){a.preview.bind(e,function(e){s.activeUIChangedRecently(Date.now())})}),this.activeUIChangedRecently.bind(function(e){var t=n('[data-sek-id="'+s.activeLevelUI()+'"]');n(".sek-highlight-active-ui").length&&n(".sek-highlight-active-ui").removeClass("sek-highlight-active-ui"),0<t.length&&t.toggleClass("sek-highlight-active-ui",!1!==e),clearTimeout(n.data(this,"_ui_change_timer_")),n.data(this,"_ui_change_timer_",setTimeout(function(){s.activeUIChangedRecently(!1)},3e3))})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(m,p,h){p.extend(SekPreviewPrototype,{setupSortable:function(){var a=this;return this.sortableDefaultParams={placeholder:"sortable-placeholder",over:function(e,t){},cursorAt:{top:0,left:0},tolerance:"pointer"},p('[data-sek-level="location"]').each(function(){a.makeSektionsSortableInLocation(p(this).data("sek-id"))}),a.cachedElements.$body.on("sek-section-added sek-level-refreshed sek-location-refreshed",'[data-sek-level="location"]',function(e,t){a.makeSektionsSortableInLocation(p(this).data("sek-id"))}),p('[data-sek-level="location"]').each(function(){p(this).find('[data-sek-level="section"]').each(function(){a.makeColumnsSortableInSektion(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-columns-refreshed sek-section-added",'[data-sek-level="section"]',function(e){a.makeColumnsSortableInSektion(p(this).data("sek-id"))}),a.cachedElements.$body.on("sek-level-refreshed",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="section"]').each(function(){a.makeColumnsSortableInSektion(p(this).data("sek-id"))})}),p('[data-sek-level="location"]').each(function(){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-modules-refreshed",'[data-sek-level="column"]',function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))}),a.cachedElements.$body.on("sek-columns-refreshed",'[data-sek-level="section"]',function(){p(this).find(".sek-sektion-inner").first().children('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-level-refreshed",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-section-added",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-location-refreshed",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),this},printAllLevelsUi:function(){var e=this;e.cachedElements.$body.find("[data-sek-level]").each(function(){e.printLevelUI(p(this)),p(this).find(".sek-dyn-ui-wrapper").stop(!0,!0).show()})},makeSektionsSortableInLocation:function(e){var a,i,t,s=this,n=[];!0!==p('[data-sek-id="'+e+'"]').data("sek-is-global-location")&&(t=p.extend(!0,{},s.sortableDefaultParams),p('[data-sek-id="'+e+'"]').sortable(h.extend(t,{items:'[data-sek-level="section"]',handle:".sek-move-section",connectWith:'[data-sek-is-global-location="false"]',placeholder:{element:function(e){return p('<div class="sortable-placeholder"><div class="sek-module-placeholder-content"><p>'+sekPreviewLocalized.i18n["Insert here"]+"</p></div></div>")[0]},update:function(e,t){}},start:function(e,t){s.cachedElements.$body.addClass("sek-moving-section"),s.isDraggingElement=!0,$sourceLocation=t.item.closest('[data-sek-level="location"]'),a=$sourceLocation.data("sek-id"),s.printAllLevelsUi()},stop:function(e,t){s.cachedElements.$body.removeClass("sek-moving-section"),s.isDraggingElement=!1,n=[],$targetLocation=t.item.closest('[data-sek-level="location"]'),i=$targetLocation.data("sek-id"),$targetLocation.children('[data-sek-level="section"]').each(function(){n.push(p(this).data("sek-id"))}),m.preview.send("sek-move",{id:t.item.data("sek-id"),level:"section",newOrder:n,from_location:a,to_location:i})},over:function(e,t){t.placeholder.addClass("sek-sortable-section-over")},out:function(e,t){t.placeholder.removeClass("sek-sortable-section-over")}})))},makeColumnsSortableInSektion:function(e){var a,i,s,n,o=this,t=p.extend(!0,{},o.sortableDefaultParams),r=[],d=[],l=p('[data-sek-id="'+e+'"]').find(".sek-sektion-inner").first(),c=function(e){if(e=p.extend({forTarget:!0},e||{}),!h.isEmpty(p(this).data("_sortable_columns_css_classes_")))return p(this).data("_sortable_columns_css_classes_");var t,a=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length,i=Math.floor(100/a);t=!0===e.forTarget?12<a+1?12:a+1:a-1<1?1:a-1;var s={current:"sek-col-"+i,next:"sek-col-"+Math.floor(100/t)};return p(this).data("_sortable_columns_css_classes_",s),s};l.sortable(h.extend(t,{handle:".sek-move-column",connectWith:".sek-sektion-inner",over:function(e,t){var a,i=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]');!0!==p(this).data("sek-is-sender")?(a=c.call(p(this)),h.isEmpty(a)||i.each(function(){p(this).removeClass(a.current).addClass(a.next)})):(a=c.call(p(this),{forTarget:!1}),h.isEmpty(a)||i.each(function(){p(this).addClass(a.current).removeClass(a.next)}))},out:function(e,t){var a,i=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]');!0!==p(this).data("sek-is-sender")?(a=c.call(p(this)),h.isEmpty(a)||i.each(function(){p(this).addClass(a.current).removeClass(a.next)})):(a=c.call(p(this),{forTarget:!1}),h.isEmpty(a)||i.each(function(){p(this).removeClass(a.current).addClass(a.next)}))},remove:function(e,t){s=t.item.closest('[data-sek-level="location"]'),to_location=s.data("sek-id"),n=!0===s.data("sek-is-global-location");var a=to_location!=from_location;return i!==n||!0===i&&!0===n&&a?(m.preview.send("sek-notify",{message:sekPreviewLocalized.i18n["Moving elements between global and local sections is not allowed."]}),!1):($targetSektionCandidate=t.item.closest('[data-sek-level="section"]'),!(0<$targetSektionCandidate.length&&12<$targetSektionCandidate.find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length)||(m.preview.send("sek-notify",{message:sekPreviewLocalized.i18n["You've reached the maximum number of columns allowed in this section."]}),!1))},start:function(e,t){a=t.item.closest('[data-sek-level="location"]'),from_location=a.data("sek-id"),i=!0===a.data("sek-is-global-location"),r=[],d=[],from_sektion=t.item.closest('[data-sek-level="section"]').data("sek-id"),t.item.closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]').each(function(){r.push(p(this).data("sek-id"))}),p(this).data("sek-is-sender",!0),h.isEmpty(r)?o.errare("column sortable => startOrder should not be empty"):o.printAllLevelsUi()},stop:function(e,t){$targetSektion=t.item.closest('[data-sek-level="section"]'),to_sektion=$targetSektion.data("sek-id"),$targetSektion.find(".sek-sektion-inner").first().children('[data-sek-level="column"]').each(function(){d.push(p(this).data("sek-id"))});var a,i=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]');!0!==p(this).data("sek-is-sender")?(a=c.call(p(this)),h.isEmpty(a)||i.each(function(){p(this).removeClass(a.current).addClass(a.next)})):(a=c.call(p(this),{forTarget:!1}),h.isEmpty(a)||i.each(function(){p(this).addClass(a.current).removeClass(a.next)})),p('[data-sek-level="section"]').find(".sek-sektion-inner").each(function(){p(this).data("sek-is-sender",null).data("_sortable_columns_css_classes_",null)}),h.isEmpty(d)?o.errare("column sortable => newOrder should not be empty"):h.isEqual(d,r)&&to_sektion===from_sektion?sekPreviewLocalized.isDevMode&&o.errare("preview => makeModulesSortableInColumn => start and stop positions are identical"):(m.preview.send("sek-move",{id:t.item.data("sek-id"),level:"column",newOrder:d,from_sektion:from_sektion,to_sektion:to_sektion}),p('div[data-sek-id="'+from_sektion+'"]').trigger("sek-level-refreshed"),from_sektion!==to_sektion&&p('div[data-sek-id="'+to_sektion+'"]').trigger("sek-level-refreshed"))}}))},makeModulesSortableInColumn:function(e){var a,i,s,n,t,o,r,d,l,c=[],k=[],u=this;t=p.extend(!0,{},u.sortableDefaultParams),p('[data-sek-id="'+e+'"]').find(".sek-column-inner").first().sortable(h.extend(t,{handle:".sek-move-module",connectWith:".sek-column-inner",over:function(e,t){p('[data-sek-level="location"]').find(".sek-sortable-overing").each(function(){p(this).removeClass("sek-sortable-overing")}),p(e.target).addClass("sek-sortable-overing")},remove:function(e,t){d=t.item.closest('[data-sek-level="location"]'),to_location=d.data("sek-id"),l=!0===d.data("sek-is-global-location");var a=to_location!=from_location;return!(r!==l||!0===r&&!0===l&&a)||(m.preview.send("sek-notify",{message:sekPreviewLocalized.i18n["Moving elements between global and local sections is not allowed."]}),!1)},start:function(e,t){o=t.item.closest('[data-sek-level="location"]'),from_location=o.data("sek-id"),r=!0===o.data("sek-is-global-location"),c=[],k=[],u.cachedElements.$body.addClass("sek-dragging-element"),i=t.item.closest('[data-sek-level="column"]').data("sek-id"),a=t.item.closest('[data-sek-level="section"]').data("sek-id"),t.item.closest('[data-sek-level="column"]').find(".sek-column-inner").first().children('[data-sek-level="module"]').each(function(){c.push(p(this).data("sek-id"))}),h.isEmpty(c)?u.errare("makeModulesSortableInColumn => startOrder should not be empty"):u.printAllLevelsUi()},stop:function(e,t){n=t.item.closest('[data-sek-level="column"]'),s=n.data("sek-id"),n.find(".sek-column-inner").first().children("[data-sek-id]").each(function(){k.push(p(this).data("sek-id"))}),h.isEmpty(k)?u.errare("makeModulesSortableInColumn => newOrder should not be empty"):h.isEqual(k,c)&&s===i?u.errare("preview => makeModulesSortableInColumn => start and stop positions are identical"):(m.preview.send("sek-move",{id:t.item.data("sek-id"),level:"module",newOrder:k,from_column:i,to_column:s,from_sektion:a,to_sektion:t.item.closest('[data-sek-level="section"]').data("sek-id")}),u.cachedElements.$body.removeClass("sek-dragging-element"))}})),p('[data-sek-id="'+e+'"]').addClass("sek-module-sortable-setup")}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(l,c,k){c.extend(SekPreviewPrototype,{setupResizable:function(){var t=this;return c(".sektion-wrapper").find('div[data-sek-level="section"]').each(function(){t.maybeMakeColumnResizableInSektion.call(this)}),t.cachedElements.$body.on("sek-level-refreshed sek-modules-refreshed sek-columns-refreshed sek-section-added sek-location-refreshed",'[data-sek-level="location"]',function(e){c(this).find('[data-sek-level="section"]').each(function(){t.maybeMakeColumnResizableInSektion.call(this)})}),this},maybeMakeColumnResizableInSektion:function(){var a,i,s,n,o,r,d,e=c(this).find(".sek-sektion-inner").first().children('div[data-sek-level="column"]');if(!(e.length<2)){var t=c(this).find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').last();e.not(t).each(function(){c(this).resizable({resize:function(e,t){c(".sektion-wrapper").data("sek-resizing-columns",!0)},start:function(e,t){if(a=t.element.closest('div[data-sek-level="section"]'),a.data("sek-id"),i=a.find(".sek-sektion-inner")[0].getBoundingClientRect().width,!((o=a.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length)<2)){if((s=t.element.closest('div[data-sek-level="column"]')).length<1)throw new Error("ERROR => resizable => No valid level dom element found");d=s.index()+1==o,r=d?s.prev():s.next(),c(".sektion-wrapper").data("sek-resizing-columns",!0),k.delay(function(){c(".sektion-wrapper").data("sek-resizing-columns",!1)},3e3)}},stop:function(e,t){if(!(o<2)){if(s.length<1)throw new Error("ERROR => resizable => No valid level dom element found");s.css({width:"",height:""}),n=(parseFloat(t.size.width)/parseFloat(i)*100).toFixed(3),l.preview.send("sek-resize-columns",{action:"sek-resize-columns",level:s.data("sek-level"),in_sektion:a.data("sek-id"),id:s.data("sek-id"),resized_column:s.data("sek-id"),sister_column:r.data("sek-id"),resizedColumnWidthInPercent:n,col_number:o}),c(".sektion-wrapper").data("sek-resizing-columns",!1)}},helper:"ui-resizable-helper",handles:"e"});var e=c(this);k.delay(function(){e.find(".ui-resizable-handle").find(".fa-arrows-alt-h").length<1&&e.find(".ui-resizable-handle").append('<i class="fas fa-arrows-alt-h"></i>')},500)})}}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(c,p,h){p.extend(SekPreviewPrototype,{printLevelUI:function(e){var t,a,i,s;if((h.isUndefined(e)||e.length<1)&&this.errare("sekPreview::printeLevelUI => invalid level element => ",e),"location"!=(a=e.data("sek-level"))&&!(0<(s=e).children(".sek-dyn-ui-wrapper").length)){var n=s[0].getBoundingClientRect(),o=s.data("sek-level");switch(s.toggleClass("sek-shrink-my-ui",n.width&&n.width<("section"===o?350:"column"===o?300:200)),i={id:s.data("sek-id"),level:o},a){case"section":var r,d,l=s.closest('div[data-sek-level="location"]'),c=s.closest('div[data-sek-level="column"]'),k=!0===s.data("sek-is-nested");k?0<c.length&&(r=c.find(".sek-column-inner").first().children("div[data-sek-level]").length==s.index()+1,d=0===s.index()):0<l.length&&(r=l.children('div[data-sek-level="section"]').length==s.index()+1,d=0===s.index()),i=h.extend(i,{is_nested:k,can_have_more_columns:s.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length<12,is_global_location:!0===l.data("sek-is-global-location"),is_last_section_in_parent:r,is_first_section_in_parent:d,is_header_location:!0===l.data("sek-is-header-location"),is_footer_location:!0===l.data("sek-is-footer-location")});break;case"column":var u=s.closest('div[data-sek-level="section"]');i=h.extend(i,{parent_can_have_more_columns:u.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length<12,parent_is_single_column:u.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length<2,parent_is_last_allowed_nested:!0===u.data("sek-is-nested"),has_nested_section:0<s.find('[data-sek-is-nested="true"]').length});break;case"module":var m=this.getRegisteredModuleProperty(s.data("sek-module-type"),"name");i=h.extend(i,{module_name:"not_set"!=m?m:""})}!0===p(".sektion-wrapper").data("sek-resizing-columns")&&h.contains(["column","module"],a)||(t=this.parseTemplate("#sek-dyn-ui-tmpl-"+a),p.when(s.prepend(t(i))).done(function(){s.find(".sek-dyn-ui-wrapper").stop(!0,!0).fadeIn({duration:150,complete:function(){}})}))}},setupUiHoverVisibility:function(){var i,e,r=this,d=function(){(e=p(this)).children(".sek-dyn-ui-wrapper").length<1||sekPreviewLocalized.isPreviewUIDebugMode||r.isDraggingElement||(e.data("UIisFadingOut",!0),e.children(".sek-dyn-ui-wrapper").stop(!0,!0).fadeOut({duration:150,complete:function(){p(this).remove(),e.data("UIisFadingOut",!1)}}))},s=function(){r.cachedElements.$body.stop(!0,!0).find(".sek-add-content-button").each(function(){p(this).fadeOut({duration:200,complete:function(){p(this).remove()}})})};r.cachedElements.$body.on("sek-location-refreshed sek-section-added sek-level-refreshed",'[data-sek-level="location"]',function(e,t){s()});var t,a=function(){var e=p(this);clearTimeout(e.data("_toggle_ui_menu_")),e.data("_toggle_ui_menu_",setTimeout(function(){n.call(e)},1e4))},n=function(e){var t=p(this),a=p(this).closest(".sek-dyn-ui-location-type"),i=t.closest(".sek-dyn-ui-wrapper").find(".sek-dyn-ui-inner");!0===e?(t.removeClass("sek-collapsed"),i.addClass("sek-is-expanded"),a.hide()):(t.addClass("sek-collapsed"),i.removeClass("sek-is-expanded"),a.show())};r.cachedElements.$body.on("click",".sek-dyn-ui-location-inner",function(e){var t=p(this).find(".sek-dyn-ui-hamb-menu-wrapper");p(this).closest('[data-sek-level="section"]').find(".sek-dyn-ui-hamb-menu-wrapper").each(function(){n.call(p(this))}),n.call(t,!0),a.call(t)}),r.cachedElements.$body.on("mouseenter mouseover mouseleave",".sek-dyn-ui-wrapper",h.throttle(function(e){var t=p(this).find(".sek-dyn-ui-hamb-menu-wrapper");h.isUndefined(t.data("_toggle_ui_menu_"))||t.hasClass("sek-collapsed")||0<t.length&&a.call(t)},50)),r.cachedElements.$body.on("click",".sek-minimize-ui",function(e){p(this).closest(".sek-dyn-ui-location-type").slideToggle("fast")}),r.cachedElements.$body.on("mouseenter",".sek-wp-content-wrapper",function(e){0<(t=p(this)).children(".sek-dyn-ui-wrapper").length&&!0!==t.data("UIisFadingOut")||(i=r.parseTemplate("#sek-dyn-ui-tmpl-wp-content"),p.when(t.prepend(i({}))).done(function(){t.find(".sek-dyn-ui-wrapper").stop(!0,!0).fadeIn({duration:150,complete:function(){}})}))}).on("mouseleave",".sek-wp-content-wrapper",function(e){p(this).data("UIisFadingOut",!0),t=p(this),p(this).children(".sek-dyn-ui-wrapper").stop(!0,!0).fadeOut({duration:150,complete:function(){p(this).remove(),t.data("UIisFadingOut",!1)}})});var l=function(n,e){var o,t=[];o=h.isUndefined(e)||e.length<1?(r.cachedElements.$body.find('[data-sek-level][data-sek-preview-level-guid="'+sekPreviewLocalized.previewLevelGuid+'"]').each(function(){t.push(p(this))}),"printOrScheduleRemoval"):(t.push(e),"mayBeRemove"),h.each(t,function(e){var t=e[0].getBoundingClientRect(),a=n.x<=t.right&&t.left<=n.x,i=n.y>=t.top&&t.bottom>=n.y,s=e;switch(o){case"mayBeRemove":s.data("sek-ui-removal-scheduled",!1),a&&i||d.call(s);break;case"printOrScheduleRemoval":a&&i?(s.data("sek-ui-removal-scheduled",!1),r.printLevelUI(s)):!0!==s.data("sek-ui-removal-scheduled")&&(s.data("sek-ui-removal-scheduled",!0),s.children(".sek-dyn-ui-wrapper").find(".sek-is-expanded").length<1?l(n,s):h.delay(function(){!0===s.data("sek-ui-removal-scheduled")&&l(r.mouseMovedRecently(),s)},3500))}})};r.mouseMovedRecently=new c.Value({}),r.mouseMovedRecently.bind(function(e){var k,t,a;h.isEmpty(e)?sekPreviewLocalized.isPreviewUIDebugMode||(s(),r.cachedElements.$body.stop(!0,!0).find("[data-sek-level]").each(function(){p(this).children(".sek-dyn-ui-wrapper").find(".sek-is-expanded").length<1&&d.call(p(this))})):(r.cachedElements.$body.find('div[data-sek-level="location"]').each(function(){var e;$sectionCollection=p(this).children('div[data-sek-level="section"]'),i=r.parseTemplate("#sek-tmpl-add-content-button"),t=p(this).data("sek-id"),a=!0===p(this).data("sek-is-global-location"),$sectionCollection.each(function(){0<p(this).find(".sek-add-content-button").length||(p.when(p(this).prepend(i({location:t,is_global_location:a}))).done(function(){e=p(this).find(".sek-add-content-button"),p(this).data("sek-id")&&e.attr("data-sek-before-section",p(this).data("sek-id")),e.fadeIn(300)}),$sectionCollection.length==p(this).index()+1&&p.when(p(this).append(i({is_last:!0,location:t,is_global_location:a}))).done(function(){e=p(this).find(".sek-add-content-button").last(),p(this).data("sek-id")&&e.attr("data-sek-after-section",p(this).data("sek-id")),e.fadeIn(300)}))})}),p(".sek-empty-location-placeholder").each(function(){0<p(this).find(".sek-add-content-button").length||(t=p(this).closest('div[data-sek-level="location"]').data("sek-id"),a=!0===p(this).closest('div[data-sek-level="location"]').data("sek-is-global-location"),p.when(p(this).append(i({location:t,is_global_location:a}))).done(function(){$btn_el=p(this).find(".sek-add-content-button"),$btn_el.attr("data-sek-is-first-section",!0),$btn_el.fadeIn(300)}))}),k=e,r.cachedElements.$body.find(".sek-add-content-button").each(function(){var e=p(this)[0].getBoundingClientRect(),t=k.y,a=k.x,i=Math.abs(t-e.bottom),s=Math.abs(e.top-t),n=a-e.right,o=e.left-a,r=i<40||s<40,d=0<n&&n<40||0<o&&o<40,l=a<=e.right&&e.left<=a,c=t>=e.top&&e.bottom>=t;p(this).toggleClass("sek-mouse-is-close",(r||c)&&(d||l))}),l(e))});var o=function(){clearTimeout(r.cachedElements.$window.data("_scroll_move_timer_")),r.mouseMovedRecently.set({})};return r.cachedElements.$window.on("mousemove scroll",h.throttle(function(e){r.mouseMovedRecently({x:e.clientX,y:e.clientY}),clearTimeout(r.cachedElements.$window.data("_scroll_move_timer_")),r.cachedElements.$window.data("_scroll_move_timer_",setTimeout(function(){r.mouseMovedRecently.set({})},4e3))},50)),c.preview.bind("sek-drag-start",function(){o()}),r.cachedElements.$body.on("sek-section-added",'[data-sek-level="location"]',function(e,t){o()}),this}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(m,p,h){p.extend(SekPreviewPrototype,{scheduleUiClickReactions:function(){var u=this;u.cachedElements.$body.on("click",function(e){m.preview.send("sek-clean-target-drop-zone");var t,a="inactiveZone",i=p(e.target),s=i.closest('[data-sek-level="location"][data-sek-preview-level-guid="'+sekPreviewLocalized.previewLevelGuid+'"]'),n=i.closest('[data-sek-preview-level-guid="'+sekPreviewLocalized.previewLevelGuid+'"]'),o=i.closest("[data-sek-click-on]"),r=s.data("sek-id"),d=n.data("sek-level"),l=n.data("sek-id");switch(a="add-content"==i.data("sek-click-on")||0<i.closest("[data-sek-click-on]").length&&"add-content"==i.closest("[data-sek-click-on]").data("sek-click-on")?"addContentButton":!h.isEmpty(i.data("sek-click-on"))||0<o.length?"UIIcon":"module"==n.data("sek-level")?"moduleWrapper":"column"==n.data("sek-level")&&!0===n.data("sek-no-modules")?"noModulesColumn":i.hasClass("sek-to-json")?"sekToJson":"column"==n.data("sek-level")?"columnOutsideModules":"section"==n.data("sek-level")?"sectionOutsideColumns":h.isEmpty(i.data("sek-add"))?i.hasClass("sek-wp-content-wrapper")||i.hasClass("sek-wp-content-dyn-ui")?"wpContent":i.hasClass("sek-edit-wp-content")?"editWpContent":"inactiveZone":"addSektion",0<s.length&&h.isEmpty(r)&&u.errare("::scheduleUiClickReactions => error location id can not be empty"),a){case"addContentButton":var c=!0===i.closest("[data-sek-is-first-section]").data("sek-is-first-section");m.preview.send("sek-add-section",{location:r,level:"section",before_section:i.closest("[data-sek-before-section]").data("sek-before-section"),after_section:i.closest("[data-sek-after-section]").data("sek-after-section"),is_first_section:c,send_to_preview:!c});break;case"UIIcon":if(n.length<1)throw new Error("ERROR => sek-front-preview => No valid level dom element found");if(t=i.closest("[data-sek-click-on]").data("sek-click-on"),h.isEmpty(t))throw new Error("Invalid action");if(h.isEmpty(d)||h.isEmpty(l))throw new Error("ERROR => sek-front-preview => No valid level id found");u._send_(i,{action:t,location:r,level:d,id:l,was_triggered:!1});break;case"moduleWrapper":if(0<i.parent(".sek-dyn-ui-icons").length)return;u._send_(i,{action:"edit-module",level:d,id:l});break;case"noModulesColumn":if(0<i.parent(".sek-dyn-ui-icons").length)return;u._send_(i,{action:"edit-options",location:r,level:d,id:l});break;case"columnOutsideModules":case"sectionOutsideColumns":u._send_(i,{action:"edit-options",location:r,level:d,id:l});break;case"addSektion":m.preview.send("sek-add-section",{location:r,level:i.data("sek-add")});break;case"sekToJson":m.preview.send("sek-to-json",{id:l});break;case"wpContent":m.preview.send("sek-notify",{type:"info",duration:8e3,message:sekPreviewLocalized.i18n["This content has been created with the WordPress editor."]});break;case"editWpContent":var k=i.closest("[data-sek-wp-edit-link]").data("sek-wp-edit-link");h.isEmpty(k)||window.open(k,"_blank");break;case"inactiveZone":m.preview.send("sek-click-on-inactive-zone")}})},_send_:function(e,t){var a=p.extend(!0,{},t),i="",s=e.closest('div[data-sek-level="module"]'),n="module"===t.level?s.data("sek-module-type"):"";"module"===t.level&&"czr_tiny_mce_editor_module"===n&&(i=0<s.find("div[data-sek-input-id]").length?s.find("div[data-sek-input-id]").data("sek-input-id"):""),m.preview.send("sek-"+t.action,h.extend({location:t.location,level:t.level,id:t.id,content_type:e.data("sek-content-type"),module_type:n,in_column:0<e.closest('div[data-sek-level="column"]').length?e.closest('div[data-sek-level="column"]').data("sek-id"):"",in_sektion:0<e.closest('div[data-sek-level="section"]').length?e.closest('div[data-sek-level="section"]').data("sek-id"):"",clicked_input_type:0<e.closest("div[data-sek-input-type]").length?e.closest("div[data-sek-input-type]").data("sek-input-type"):"",clicked_input_id:0<e.closest("div[data-sek-input-id]").length?e.closest("div[data-sek-input-id]").data("sek-input-id"):"",was_triggered:t.was_triggered,syncedTinyMceInputId:i},a))}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,n,o){n.extend(SekPreviewPrototype,{setupLoader:function(){var t=this;this._css_loader_html='<div class="sek-css-loader sek-mr-loader" style="display:none"><div></div><div></div><div></div></div>',t.cachedElements.$body.on(["sek-modules-refreshed","sek-columns-refreshed","sek-section-added","sek-level-refreshed","sek-stylesheet-refreshed","sek-ajax-error"].join(" "),function(e){t.cleanLoader()})},mayBePrintLoader:function(e){e=o.isObject(e)?e:{};var t=this,a=e.loader_located_in_level_id;if(!o.isEmpty(a)){var i=n('[data-sek-id="'+a+'"]');0<i.length&&n(".sek-level-clone ").length<1&&($levelClone=n("<div>",{class:"sek-level-clone"}),i.find("[data-sek-level]").each(function(){n(this).addClass("sek-refreshing")}),i.prepend($levelClone),$levelClone.css({width:i.outerWidth()+"px",height:i.outerHeight()+"px"}).append(t._css_loader_html).find(".sek-css-loader").fadeIn("fast"),clearTimeout(n.data(this,"_nimble_loader_active_timer_")),n.data(this,"_nimble_loader_active_timer_",setTimeout(function(){t.cleanLoader()},e.duration||4e3)))}if(!0===e.fullPageLoader){var s=n("<div>",{id:"nimble-full-page-loader-wrapper",class:"white-loader"});t.cachedElements.$body.append(s),s.fadeIn("fast").append(t._css_loader_html).find(".sek-css-loader").fadeIn("fast"),n('[data-sek-level="location"]').each(function(){n(this).addClass("sek-blur")}),clearTimeout(n.data(this,"_nimble_full_page_loader_active_timer_")),n.data(this,"_nimble_full_page_loader_active_timer_",setTimeout(function(){t.cleanLoader({cleanFullPageLoader:!0})},e.duration||6e3))}},cleanLoader:function(e){n(".sek-level-clone").remove(),n("[data-sek-level]").each(function(){n(this).removeClass("sek-refreshing")}),!0===(e=e||{}).cleanFullPageLoader&&(n('[data-sek-level="location"]').each(function(){n(this).removeClass("sek-blur")}),n("#nimble-full-page-loader-wrapper").remove())}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(k,u,m){u.extend(SekPreviewPrototype,{schedulePanelMsgReactions:function(){var t,c=this,e={"sek-add-section":"ajaxAddSektion","sek-add-content-in-new-sektion":"ajaxAddSektion","sek-add-content-in-new-nested-sektion":"ajaxAddSektion","sek-add-column":"ajaxRefreshColumns","sek-add-module":"ajaxRefreshModulesAndNestedSections","sek-refresh-stylesheet-in-the-background-for-custom-css":"ajaxRefreshStylesheet","sek-refresh-stylesheet":"ajaxRefreshStylesheet","sek-resize-columns":"ajaxResizeColumns","sek-maybe-print-loader":function(e){try{c.mayBePrintLoader(e)}catch(e){k.errare("sek-print-loader => error",e)}},"sek-clean-loader":function(e){try{c.cleanLoader(e)}catch(e){k.errare("sek-clean-loader => error",e)}},"sek-remove":function(e){var t,a=e.apiParams.id,i=u('div[data-sek-id="'+a+'"]');switch(e.apiParams.action){case"sek-remove-section":c.mayBePrintLoader({loader_located_in_level_id:e.apiParams.location}),!0===e.apiParams.is_nested?t=c.ajaxRefreshModulesAndNestedSections(e):((m.isEmpty(a)||i.length<1)&&c.errare("reactToPanelMsg => sek-remove => invalid candidate id => ",a),c.cachedElements.$body.find(i).remove(),u('[data-sek-id="'+e.apiParams.location+'"]').trigger("sek-level-refreshed"));break;case"sek-remove-column":t=c.ajaxRefreshColumns(e);break;case"sek-remove-module":t=c.ajaxRefreshModulesAndNestedSections(e)}return m.isEmpty(t)?u.Deferred(function(){this.resolve()}):t},"sek-duplicate":function(e){var t;switch(e.apiParams.action){case"sek-duplicate-section":e.apiParams.id=e.cloneId,t=c.ajaxAddSektion(e);break;case"sek-duplicate-column":e.apiParams.id=e.cloneId,t=c.ajaxRefreshColumns(e);break;case"sek-duplicate-module":e.apiParams.id=e.cloneId,t=c.ajaxRefreshModulesAndNestedSections(e)}return t},"sek-refresh-level":function(n){return c.mayBePrintLoader({loader_located_in_level_id:n.apiParams.id}),c.doAjax({location_skope_id:n.location_skope_id,local_skope_id:n.local_skope_id,action:"sek_get_content",id:n.apiParams.id,level:n.apiParams.level,sek_action:n.apiParams.action}).fail(function(e){c.errare("ERROR reactToPanelMsg => sek-refresh-level => ",e),u('[data-sek-id="'+n.apiParams.id+'"]').trigger("sek-ajax-error")}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(c.errare("SekPreviewPrototype::sek-refresh-level => ajax_response.data.contents is undefined ",e),c.errare("params ?",n));var a='<span class="sek-placeholder" data-sek-placeholder-for="'+n.apiParams.id+'"></span>',i=u('div[data-sek-id="'+n.apiParams.id+'"]');if(i.length<1)c.errare("reactToPanelMsg => sek-refresh-level ajax done => the level to refresh is not rendered in the page",e);else{i.before(a);var s=u('[data-sek-placeholder-for="'+n.apiParams.id+'"]');i.remove(),m.isUndefined(t)?c.errare("reactToPanelMsg => sek-refresh-level ajax done => missing html_content",e):s.after(t),s.remove(),u('[data-sek-id="'+n.apiParams.id+'"]').trigger("sek-level-refreshed",{level:n.apiParams.level,id:n.apiParams.id}),n.apiParams.moved_level_id&&k.preview.trigger("sek-animate-to-level",{id:n.apiParams.moved_level_id})}})},"sek-move":function(e){switch(e.apiParams.action){case"sek-move-column":if(e.apiParams.from_sektion!=e.apiParams.to_sektion){var t=u.extend(!0,{},e),a=u.extend(!0,{},e);u('[data-sek-id="'+e.apiParams.from_sektion+'"]',".sektion-wrapper").find('div[data-sek-level="column"]').length<1?k.preview.send("sek-add-column",{in_sektion:e.apiParams.from_sektion,autofocus:!1}):(t.apiParams=m.extend(t.apiParams,{in_sektion:e.apiParams.from_sektion,action:"sek-refresh-columns-in-sektion"}),c.ajaxRefreshColumns(t)),a.apiParams=m.extend(a.apiParams,{in_sektion:e.apiParams.to_sektion,action:"sek-refresh-columns-in-sektion"}),c.ajaxRefreshColumns(a)}break;case"sek-move-module":var i=u.extend(!0,{},e),s=u.extend(!0,{},e);i.apiParams.from_column!=i.apiParams.to_column&&(i.apiParams=m.extend(i.apiParams,{in_column:i.apiParams.from_column,in_sektion:i.apiParams.from_sektion,action:"sek-refresh-modules-in-column"}),c.ajaxRefreshModulesAndNestedSections(i)),e.apiParams=m.extend(s.apiParams,{in_column:s.apiParams.to_column,in_sektion:s.apiParams.to_sektion,action:"sek-refresh-modules-in-column"}),c.ajaxRefreshModulesAndNestedSections(s),u('[data-sek-id="'+e.apiParams.to_column+'"]',".sektion-wrapper").find(".sek-column-inner").sortable("refresh")}},"sek-edit-options":function(e){c.activeLevelUI(e.uiParams.id)},"sek-edit-module":function(e){c.activeLevelUI(e.uiParams.id)},"sek-drag-start":function(s){var n=1,o=!1;u('[data-sek-level="location"]').children('[data-sek-level="section"]').each(function(){var e=u(this).data("sek-id"),t=u(this).find('[data-sek-level="column"]').length,a=u(this).find('[data-sek-level="module"]').length,i=t<2&&a<1;!o&&!i&&u('[data-drop-zone-before-section="'+e+'"]').length<1&&u(this).before('<div class="sek-content-'+s.content_type+'-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-sections" data-drop-zone-before-section="'+e+'"></div>'),i||n!=u(".sektion-wrapper").children('[data-sek-level="section"]').length||u(this).after('<div class="sek-content-'+s.content_type+'-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-sections" data-drop-zone-after-section="'+e+'"></div>'),n++,o=i}),u(".sek-empty-location-placeholder").each(function(){u.when(u(this).append('<div class="sek-content-'+s.content_type+'-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="in-empty-location"></div>'))}),("module"==s.content_type||"preset_section"==s.content_type&&!0===s.eligible_for_module_dropzones)&&u('[data-sek-level="column"]').each(function(){var e=u(this).children(".sek-column-inner").children('[data-sek-level="module"]'),t=u(this).children(".sek-column-inner").children('[data-sek-is-nested="true"]');e=e.add(t);var a=1;e.each(function(){u('[data-drop-zone-before-module-or-nested-section="'+u(this).data("sek-id")+'"]').length<1&&u(this).before('<div class="sek-content-module-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-modules-and-nested-sections" data-drop-zone-before-module-or-nested-section="'+u(this).data("sek-id")+'"></div>'),a==e.length&&u('[data-drop-zone-after-module-or-nested-section="'+u(this).data("sek-id")+'"]').length<1&&u(this).after('<div class="sek-content-module-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-modules-and-nested-sections" data-drop-zone-after-module-or-nested-section="'+u(this).data("sek-id")+'"></div>'),a++})}),c.cachedElements.$body.addClass("sek-dragging"),m.delay(function(){u(".sek-dynamic-drop-zone").css({opacity:1})},100)},"sek-drag-stop":function(e){c.cachedElements.$body.removeClass("sek-dragging"),u(".sortable-placeholder").remove(),u(".sek-dynamic-drop-zone").remove()},"sek-animate-to-level":function(e){var t=u('[data-sek-id="'+e.id+'"]');0<t.length&&!nb_.isInScreen(t[0])&&t[0].scrollIntoView({behavior:"auto",block:"center",inline:"center"})},"sek-clean-level-uis":function(e){u(".sek-dyn-ui-wrapper").each(function(){u(this).remove()})},"sek-display-level-ui":function(e){var t=u('[data-sek-id="'+e.id+'"]');0<t.length&&c.printLevelUI(t)},"sek-set-double-click-target":function(e){if(u(".sek-target-for-double-click-insertion").removeClass("sek-target-for-double-click-insertion"),m.isObject(e)&&e.id){var t=u('[data-sek-id="'+e.id+'"]');1===t.length&&t.addClass("sek-target-for-double-click-insertion")}},"sek-reset-double-click-target":function(e){u(".sek-target-for-double-click-insertion").removeClass("sek-target-for-double-click-insertion")},"sek-update-html-in-selector":function(e){var t,a=u('[data-sek-id="'+e.id+'"]');t=m.isEmpty(e.changed_item_id)?u(e.selector,a):e.selector?u('[data-sek-item-id="'+e.changed_item_id+'"] '+e.selector,a):u('[data-sek-item-id="'+e.changed_item_id+'"]',a),0<a.length&&0<t.length?t.html(e.html):c.errare("reactToPanelMsg => sek-update-html-in-selector => missing level or target dom element",e)},"sek-update-css-with-postmessage":function(e){if(!m.isUndefined(e.css_content)&&m.isString(e.css_content)){var t,a,i;e.css_content=e.css_content.replace(/\/\*.+?\*\/|\/\/.*(?=[\n\r])/g,""),i=e.is_current_page_custom_css?(t="nb-custom-css-for-local-page",""):(t="nb-custom-css-for-level"+e.id,'body .sektion-wrapper [data-sek-id="'+e.id+'"]'),(a=u("#"+t)).length<1&&(u("head").append(u("<style/>",{id:t})),a=u("#"+t));var s,n,o,r,d=[],l="";s=e.css_content.split("}"),m.each(s,function(t){t=t.replace(/\n|\r/g,""),m.isEmpty(t)||-1===t.indexOf("{")||(t=t.replace(/.nimble-level/g,""),n=t.substr(0,t.indexOf("{")),o=n.replace(/ /g,""),t=t.replace(n,""),m.isEmpty(o)?d.push(i+t+"}css_delimiter"):(r=n.split(","),m.each(r,function(e){m.isEmpty(e)||d.push(i+" "+e+t+"}css_delimiter")})))}),m.isEmpty(d)||(l=(l=d.join("css_delimiter")).replace(/css_delimiter/g,"")),m.isEmpty(l.replace(/ /g,""))?a.remove():a.html(l),(e=u.extend({},!0,e)).dont_print_loader=!0,k.preview.trigger("sek-refresh-stylesheet-in-the-background-for-custom-css",e)}else c.errare("error => sek-update-css-with-postmessage => css content is not a string")},"sek-print-confettis":function(e){if(window.confetti&&window.requestAnimationFrame){var t=(e=e||{}).duration||Date.now()+1e3,a=["#f18700","#684F2F","#eea236"];!function e(){confetti({particleCount:2,angle:60,spread:55,origin:{x:0,y:.8},colors:a}),confetti({particleCount:4,angle:120,spread:55,origin:{x:1,y:.8},colors:a}),Date.now()<t&&window.requestAnimationFrame(e)}()}}},i=function(a,e,i){a=m.extend({location_skope_id:"",apiParams:{},uiParams:{}},a||{});c.cachedElements.$body.addClass(i);try{u.when(m.isFunction(e)?e(a):c[e].call(c,a)).done(function(e){var t;t=e,k.preview.send([i,"done"].join("_"),a),a.apiParams.is_multi_items&&"sek-refresh-level"===a.apiParams.action&&k.preview.send("multi-items-module-refreshed",a),m.isUndefined(t)||t.data&&t.data.setting_validities&&k.preview.send("selective-refresh-setting-validities",t.data.setting_validities)}).fail(function(){k.preview.send("sek-notify",{type:"error",duration:1e4,message:sekPreviewLocalized.i18n["Something went wrong, please refresh this page."]})}).always(function(e){c.cachedElements.$body.removeClass(i)}).then(function(){k.preview.trigger("control-panel-requested-action-done",{action:i,args:a}),c.mayBeAnimateToEditedLevel(a)})}catch(e){c.errare("reactToPanelMsg => Error when firing the callback of "+i,e),c.cachedElements.$body.removeClass(i)}m.isObject(a)&&a.apiParams&&a.apiParams.id&&(!(t=c.activeLevelEl())||!m.isObject(t)||t.length<1||c.activeLevelUI()!==a.apiParams.id)&&(c.activeLevelEl(u('[data-sek-id="'+a.apiParams.id+'"]')),t=c.activeLevelEl()),c.mayBeAnimateToEditedLevel(a)};m.each(e,function(t,a){"sek-refresh-stylesheet"===a?(k.preview.bind(a,function(e){i(e,t,a)}),k.preview.bind(a,m.debounce(function(e){i(e,t,a),e&&e.apiParams&&e.apiParams.id&&k.preview.trigger("sek-animate-to-level",{id:e.apiParams.id})},1e3))):"sek-refresh-stylesheet-in-the-background-for-custom-css"===a?k.preview.bind(a,m.debounce(function(e){i(e,t,a),e&&e.apiParams&&e.apiParams.id&&k.preview.trigger("sek-animate-to-level",{id:e.apiParams.id})},500)):k.preview.bind(a,function(e){i(e,t,a)})})},mayBeAnimateToEditedLevel:function(e){m.isObject(e)&&e.apiParams&&e.apiParams.id&&($elToFocusOn=u('[data-sek-id="'+e.apiParams.id+'"]'),0<$elToFocusOn.length&&!nb_.isInScreen($elToFocusOn[0])&&$elToFocusOn[0].scrollIntoView({behavior:"auto",block:"center",inline:"center"}))}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,o,r){o.extend(SekPreviewPrototype,{ajaxAddSektion:function(s){var n=this;return n.mayBePrintLoader({loader_located_in_level_id:s.apiParams.location}),n.doAjax({action:"sek_get_content",id:s.apiParams.id,in_sektion:s.apiParams.in_sektion,in_column:s.apiParams.in_column,location_skope_id:s.location_skope_id,local_skope_id:s.local_skope_id,sek_action:s.apiParams.action,is_nested:s.apiParams.is_nested,content_type:s.apiParams&&s.apiParams.content_type?s.apiParams.content_type:null,collection_of_preset_section_id:s.apiParams&&s.apiParams.collection_of_preset_section_id?s.apiParams.collection_of_preset_section_id:[]}).done(function(e){var t,a="";if(e.data&&e.data.contents?a=e.data.contents:(n.errare("SekPreviewPrototype::ajaxAddSektion => ajax_response.data.contents is undefined ",e),n.errare("params ?",s)),s.apiParams.is_nested){(t=o(".sektion-wrapper").find('div[data-sek-id="'+s.apiParams.in_column+'"]')).length<1&&n.errare("preview => reactToPanelMsg => sek-add-column => no DOM node for parent column => ",s.apiParams.in_column);var i='<span class="sek-placeholder" data-sek-placeholder-for="'+s.apiParams.in_column+'"></span>';t.before(i),t.remove(),o(".sektion-wrapper").find(".sek-placeholder").after(a),o(".sektion-wrapper").find(".sek-placeholder").remove()}else"sek-duplicate-section"!=s.apiParams.action||r.isEmpty(s.cloneId)?($beforeCandidate=o('.sektion-wrapper[data-sek-id="'+s.apiParams.location+'"]').find('div[data-sek-id="'+s.apiParams.before_section+'"]'),$afterCandidate=o('.sektion-wrapper[data-sek-id="'+s.apiParams.location+'"]').find('div[data-sek-id="'+s.apiParams.after_section+'"]'),!r.isEmpty(s.apiParams.before_section)&&0<$beforeCandidate.length?$beforeCandidate.before(a):!r.isEmpty(s.apiParams.after_section)&&0<$afterCandidate.length?$afterCandidate.after(a):o('[data-sek-id="'+s.apiParams.location+'"]').append(a)):o(".sektion-wrapper").find('div[data-sek-id="'+s.apiParams.in_sektion+'"]').after(a);"sek-duplicate-section"==s.apiParams.action&&o('div[data-sek-id="'+s.cloneId+'"]',".sektion-wrapper").each(function(){o(this).trigger("sek-columns-refreshed")}),s.apiParams.is_nested&&(n.makeModulesSortableInColumn(s.apiParams.in_column),o(".sektion-wrapper").find('div[data-sek-id="'+s.apiParams.in_sektion+'"]').each(function(){n.maybeMakeColumnResizableInSektion.call(this)})),s.cloneId&&o('div[data-sek-id="'+s.cloneId+'"]').trigger("sek-section-added",s),o('div[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-section-added",s),o('div[data-sek-id="'+s.apiParams.location+'"]').trigger("sek-location-refreshed",s)}).fail(function(e){n.errare("ERROR in sek_get_html_for_injection ? ",e),o('[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-ajax-error")})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(o,r,e){r.extend(SekPreviewPrototype,{ajaxRefreshColumns:function(s){var n=this;return n.mayBePrintLoader({loader_located_in_level_id:s.apiParams.in_sektion}),n.doAjax({action:"sek_get_content",id:s.apiParams.id,in_sektion:s.apiParams.in_sektion,location_skope_id:s.location_skope_id,local_skope_id:s.local_skope_id,sek_action:s.apiParams.action}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(n.errare("SekPreviewPrototype::ajaxRefreshColumns => ajax_response.data.contents is undefined ",e),n.errare("params ?",s));var a=r('div[data-sek-id="'+s.apiParams.in_sektion+'"]');a.length<1&&n.errare("reactToPanelMsg => "+s.apiParams.action+" => no DOM node for parent sektion => ",s.apiParams.in_sektion);var i='<span class="sek-placeholder" data-sek-placeholder-for="'+s.apiParams.in_sektion+'"></span>';a.before(i),a.remove(),r(".sektion-wrapper").find(".sek-placeholder").after(t),r(".sektion-wrapper").find(".sek-placeholder").remove(),o.preview.trigger("sek-refresh-stylesheet",s),r('div[data-sek-id="'+s.apiParams.in_sektion+'"]').trigger("sek-columns-refreshed",{in_sektion:s.apiParams.in_sektion})}).fail(function(e){n.errare("ERROR reactToPanelMsg => sek-add-column => ",e),r('[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-ajax-error")})},ajaxResizeColumns:function(a){var i=this;return i.mayBePrintLoader({loader_located_in_level_id:a.apiParams.in_sektion}),i.doAjax({action:"sek_get_content",resized_column:a.apiParams.resized_column,sister_column:a.apiParams.sister_column,location_skope_id:a.location_skope_id,local_skope_id:a.local_skope_id,sek_action:"sek-resize-columns"}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(i.errare("SekPreviewPrototype::ajaxResizeColumns => ajax_response.data.contents is undefined ",e),i.errare("params ?",a)),r('[data-sek-id="'+a.apiParams.resized_column+'"]').css({width:"",height:""}),i.appendDynStyleSheet(a.location_skope_id,t),r('div[data-sek-id="'+a.apiParams.in_sektion+'"]').trigger("sek-columns-refreshed")}).fail(function(e){i.errare("ERROR reactToPanelMsg => sek-resize-columns => ",e),r('[data-sek-id="'+a.apiParams.in_sektion+'"]').trigger("sek-ajax-error")})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,o,t){o.extend(SekPreviewPrototype,{ajaxRefreshModulesAndNestedSections:function(s){var n=this;return n.mayBePrintLoader({loader_located_in_level_id:s.apiParams.in_column}),n.doAjax({action:"sek_get_content",id:s.apiParams.id,in_sektion:s.apiParams.in_sektion,in_column:s.apiParams.in_column,location_skope_id:s.location_skope_id,local_skope_id:s.local_skope_id,sek_action:s.apiParams.action,is_nested:s.apiParams.is_nested}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(n.errare("SekPreviewPrototype::ajaxRefreshModulesAndNestedSections => ajax_response.data.contents is undefined ",e),n.errare("params ?",s));var a=o('[data-sek-id="'+s.apiParams.in_column+'"]');a.length<1&&n.errare("reactToPanelMsg => ajaxRefreshModulesAndNestedSections => no DOM node for parent column => ",s.apiParams.in_column);var i='<span class="sek-placeholder" data-sek-placeholder-for="'+s.apiParams.in_column+'"></span>';a.before(i),a.remove(),o('[data-sek-placeholder-for="'+s.apiParams.in_column+'"]').after(t),o('[data-sek-placeholder-for="'+s.apiParams.in_column+'"]').remove(),o('[data-sek-id="'+s.apiParams.in_column+'"]').trigger("sek-modules-refreshed",{in_column:s.apiParams.in_column,in_sektion:s.apiParams.in_sektion})}).fail(function(e){n.errare("ERROR reactToPanelMsg => sek-add-module => ",e),o('[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-ajax-error")})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,n,o){n.extend(SekPreviewPrototype,{ajaxRefreshStylesheet:function(a){var i=this;return!0!==a.dont_print_loader&&i.mayBePrintLoader({loader_located_in_level_id:a.apiParams.id}),i.doAjax({action:"sek_get_content",location_skope_id:a.location_skope_id,local_skope_id:a.local_skope_id,sek_action:"sek-refresh-stylesheet"}).done(function(e){var t="";e.data&&e.data.contents&&(t=e.data.contents),i.appendDynStyleSheet(a.location_skope_id,t),n('[data-sek-id="'+a.apiParams.id+'"]').trigger("sek-stylesheet-refreshed",{level:a.apiParams.level,id:a.apiParams.id})}).fail(function(e){i.errare("sek-refresh-stylesheet fail !"),n('[data-sek-id="'+a.apiParams.id+'"]').trigger("sek-ajax-error")})},appendDynStyleSheet:function(e,t){var a="#sek-"+e,i="#"+sekPreviewLocalized.googleFontsStyleId,s="#"+sekPreviewLocalized.globalOptionsStyleId;0<n("head").find(a).length&&n("head").find(a).remove(),0<n("head").find(i).length&&n("head").find(i).remove(),0<n("head").find(s).length&&n("head").find(s).remove(),o.isEmpty(t)||n("head").append(t),!o.isEmpty(t)&&n("head").find(a).length<1&&n("head").find(i).length<1&&n("head").find(s).length<1?this.errare("sek-preview => problem when printing the dynamic inline style for : "+a,t):n("head").find(a).attr("sek-data-origin","customizer")}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(r,d,l){d.extend(SekPreviewPrototype,{parseTemplate:l.memoize(function(t){var a,i=this,s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(e){if(d(t).length<1)return i.errare("preview => parseTemplate => the requested tmpl does not exist =>"+t),"";try{a=a||l.template(d(t).html(),s)}catch(e){i.errare("preview => parseTemplate => problem when parsing tmpl =>"+t,e)}return a(e)}}),_prettyPrintLog:function(e){e=l.extend({bgCol:"#5ed1f5",textCol:"#000",consoleArguments:[]},e);var t,a=Array.from(e.consoleArguments);return a=l.isEmpty(l.filter(a,function(e){return!l.isString(e)}))?a.join(" "):JSON.stringify(a.join(" ")),["%c "+(t=a,l.isString(t)?300<t.length?t.substr(0,299)+"...":t:""),["background:"+e.bgCol,"color:"+e.textCol,"display: block;"].join(";")]},_wrapLogInsideTags:function(e,t,a){l.isUndefined(console)&&"function"!=typeof window.console.log||(sekPreviewLocalized.isDevMode?l.isUndefined(t)?console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:["<"+e+">"]})):(console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:["<"+e+">"]})),console.log(t),console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:["</"+e+">"]}))):console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:[e]})))},errare:function(e,t){this._wrapLogInsideTags(e,t,"#ffd5a0")},infoLog:function(e,t){this._wrapLogInsideTags(e,t,"#5ed1f5")},doAjax:function(e){var t=this,a=(e=e||(l.isObject(e)?e:{})).ajaxUrl||sekPreviewLocalized.ajaxUrl,i=sekPreviewLocalized.frontNonce,s=d.Deferred(),n=l.extend({action:"",withNonce:!1},e),o=document.createElement("a");return o.href=a,r.isLinkPreviewable(o,{allowAdminAjax:!0})?("https:"==document.location.protocol&&(a=a.replace("http://","https://")),l.isEmpty(n.action)||!l.isString(n.action)?(t.errare("self.doAjax : unproper action provided"),s.resolve().promise()):(n[i.id]=i.handle,!l.isObject(i)||l.isUndefined(i.id)||l.isUndefined(i.handle)?(t.errare("self.doAjax : unproper nonce"),s.resolve().promise()):(n["preview-level-guid"]=sekPreviewLocalized.previewLevelGuid,n.czr_query_params=JSON.stringify(l.isObject(_wpCustomizeSettings.czr_query_params)?_wpCustomizeSettings.czr_query_params:[]),d.post(a,n).done(function(e){"0"!==e&&"-1"!==e&&!1!==e.success||(t.errare("self.doAjax : done ajax error for action : "+n.action,e),s.reject(e)),s.resolve(e)}).fail(function(e){t.errare("self.doAjax : failed ajax error for : "+n.action,e),s.reject(e)}),s.promise()))):(t.errare("self.doAjax => error => !api.isLinkPreviewable for action "+n.action,o),s.resolve().promise())},isModuleRegistered:function(e){return sekPreviewLocalized.registeredModules&&!l.isUndefined(sekPreviewLocalized.registeredModules[e])},getRegisteredModuleProperty:function(e,t){return this.isModuleRegistered(e)?sekPreviewLocalized.registeredModules[e][t]:"not_set"},getLevelModel:function(t,e){var a=this,i="no_match";return l.isUndefined(e)&&a.errare("getLevelModel => a collection must be provided"),l.each(e,function(e){"no_match"==i&&(t===e.id?i=e:l.isArray(e.collection)&&(i=a.getLevelModel(t,e.collection)))}),i}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,t,a){t.extend(SekPreviewPrototype,e.Events);var i=e.Class.extend(SekPreviewPrototype);e.bind("preview-ready",function(){e.preview.bind("active",function(){try{e.sekPreview=new i}catch(e){SekPreviewPrototype.errare("SekPreviewConstructor => problem on instantiation",e)}})})}(wp.customize,jQuery,_);
|
1 |
+
var SekPreviewPrototype=SekPreviewPrototype||{};!function(a,n,i){n.extend(SekPreviewPrototype,{cachedElements:{$body:n("body"),$window:n(window)},initialize:function(){var t=this;try{this.skope_id=i.findWhere(_wpCustomizeSettings.czr_new_skopes,{skope:"local"}).skope_id}catch(e){return void this.errare("Preview => error when storing the skope_id",e)}this.scheduleHighlightActiveLevel(),t.setupLoader(),n(function(){t.setupSortable(),t.setupResizable(),t.setupUiHoverVisibility(),t.scheduleUiClickReactions(),t.schedulePanelMsgReactions()}),t.cachedElements.$body.on("sek-columns-refreshed sek-modules-refreshed",function(e,t){if(!i.isUndefined(t)&&!i.isUndefined(t.in_sektion)&&0<n('[data-sek-id="'+t.in_sektion+'"]').length){var a=n('[data-sek-id="'+t.in_sektion+'"]');a.toggleClass("sek-has-modules",0<a.find('[data-sek-level="module"]').length)}}),t.deactivateLinks(),t.cachedElements.$body.on(["sek-modules-refreshed","sek-columns-refreshed","sek-section-added","sek-level-refreshed","sek-edit-module"].join(" "),function(e){t.deactivateLinks(e)});var e=function(){var e=[],t=[];n('[data-sek-level="location"]').each(function(){e.push(n(this).data("sek-id")),t.push({id:n(this).data("sek-id"),is_global:!0===n(this).data("sek-is-global-location"),is_header_footer:!0===n(this).data("sek-is-header-location")||!0===n(this).data("sek-is-footer-location"),is_header:!0===n(this).data("sek-is-header-location"),is_footer:!0===n(this).data("sek-is-footer-location")})}),a.preview.send("sek-active-locations-in-preview",{active_locations:e,active_locs_info:t})};a.preview.bind("sek-request-active-locations",e),e()},deactivateLinks:function(e){e=e||{};this.cachedElements.$body.find('[data-sek-level="module"]').each(function(){n(this).find("a").each(function(){try{(function(){if("yes"!==n(this).data("sek-unlinked")){var e=i.isString(n(this)[0].protocol)&&-1!==n(this)[0].protocol.indexOf("javascript");!e&&a.isLinkPreviewable(n(this)[0])?(n(this).addClass("nimble-shift-clickable"),n(this).data("sek-unlinked","yes").attr("data-nimble-href",n(this).attr("href")).attr("href","javascript:void(0)"),n(this).removeAttr("target"),n(this).on("mouseenter",function(){n(this).attr("title",sekPreviewLocalized.i18n["Shift-click to visit the link"])}),n(this).on("mouseleave",function(){n(this).removeAttr("title")}),n(this).on("click",function(e){e.shiftKey&&(e.preventDefault(),window.location.href=n(this).attr("data-nimble-href"))})):(n(this).addClass("nimble-unclickable"),n(this).data("sek-unlinked","yes").attr("data-nimble-href",n(this).attr("href")).attr("href","javascript:void(0)"),n(this).on("mouseenter",function(){n(this).attr("title",e?sekPreviewLocalized.i18n["Link deactivated while previewing"]:sekPreviewLocalized.i18n["External links are disabled when customizing"])}).on("mouseleave",function(){n(this).removeAttr("title")}),n(this).on("click",function(e){e.preventDefault()}))}}).call(n(this))}catch(e){a.errare("::deactivateLinks => error ",e)}})})},scheduleHighlightActiveLevel:function(){var s=this;this.activeLevelUI=new a.Value(""),this.activeLevelEl=new a.Value(null),this.activeUIChangedRecently=new a.Value(!1),this.activeLevelUI.bind(function(e,t){var a=n('[data-sek-id="'+e+'"]'),i=n('[data-sek-id="'+t+'"]');0<a.length&&(a.addClass("sek-active-ui sek-highlight-active-ui"),s.activeLevelEl(a)),0<i.length&&i.removeClass("sek-active-ui sek-highlight-active-ui"),s.activeUIChangedRecently(Date.now())}),s.activeLevelEl.bind(function(e){if(i.isObject(e)&&0<e.length&&!nb_.isInScreen(e[0]))try{e[0].scrollIntoView()}catch(e){s.errare("activeLevelEl error",e)}}),i.each(["sek-refresh-stylesheet","sek-refresh-level"],function(e){a.preview.bind(e,function(e){s.activeUIChangedRecently(Date.now())})}),this.activeUIChangedRecently.bind(function(e){var t=n('[data-sek-id="'+s.activeLevelUI()+'"]');n(".sek-highlight-active-ui").length&&n(".sek-highlight-active-ui").removeClass("sek-highlight-active-ui"),0<t.length&&t.toggleClass("sek-highlight-active-ui",!1!==e),clearTimeout(n.data(this,"_ui_change_timer_")),n.data(this,"_ui_change_timer_",setTimeout(function(){s.activeUIChangedRecently(!1)},3e3))})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(m,p,h){p.extend(SekPreviewPrototype,{setupSortable:function(){var a=this;return this.sortableDefaultParams={placeholder:"sortable-placeholder",over:function(e,t){},cursorAt:{top:0,left:0},tolerance:"pointer"},p('[data-sek-level="location"]').each(function(){a.makeSektionsSortableInLocation(p(this).data("sek-id"))}),a.cachedElements.$body.on("sek-section-added sek-level-refreshed sek-location-refreshed",'[data-sek-level="location"]',function(e,t){a.makeSektionsSortableInLocation(p(this).data("sek-id"))}),p('[data-sek-level="location"]').each(function(){p(this).find('[data-sek-level="section"]').each(function(){a.makeColumnsSortableInSektion(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-columns-refreshed sek-section-added",'[data-sek-level="section"]',function(e){a.makeColumnsSortableInSektion(p(this).data("sek-id"))}),a.cachedElements.$body.on("sek-level-refreshed",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="section"]').each(function(){a.makeColumnsSortableInSektion(p(this).data("sek-id"))})}),p('[data-sek-level="location"]').each(function(){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-modules-refreshed",'[data-sek-level="column"]',function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))}),a.cachedElements.$body.on("sek-columns-refreshed",'[data-sek-level="section"]',function(){p(this).find(".sek-sektion-inner").first().children('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-level-refreshed",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-section-added",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),a.cachedElements.$body.on("sek-location-refreshed",'[data-sek-level="location"]',function(e,t){p(this).find('[data-sek-level="column"]').each(function(){a.makeModulesSortableInColumn(p(this).data("sek-id"))})}),this},printAllLevelsUi:function(){var e=this;e.cachedElements.$body.find("[data-sek-level]").each(function(){e.printLevelUI(p(this)),p(this).find(".sek-dyn-ui-wrapper").stop(!0,!0).show()})},makeSektionsSortableInLocation:function(e){var a,i,t,s=this,n=[];!0!==p('[data-sek-id="'+e+'"]').data("sek-is-global-location")&&(t=p.extend(!0,{},s.sortableDefaultParams),p('[data-sek-id="'+e+'"]').sortable(h.extend(t,{items:'[data-sek-level="section"]',handle:".sek-move-section",connectWith:'[data-sek-is-global-location="false"]',placeholder:{element:function(e){return p('<div class="sortable-placeholder"><div class="sek-module-placeholder-content"><p>'+sekPreviewLocalized.i18n["Insert here"]+"</p></div></div>")[0]},update:function(e,t){}},start:function(e,t){s.cachedElements.$body.addClass("sek-moving-section"),s.isDraggingElement=!0,$sourceLocation=t.item.closest('[data-sek-level="location"]'),a=$sourceLocation.data("sek-id"),s.printAllLevelsUi()},stop:function(e,t){s.cachedElements.$body.removeClass("sek-moving-section"),s.isDraggingElement=!1,n=[],$targetLocation=t.item.closest('[data-sek-level="location"]'),i=$targetLocation.data("sek-id"),$targetLocation.children('[data-sek-level="section"]').each(function(){n.push(p(this).data("sek-id"))}),m.preview.send("sek-move",{id:t.item.data("sek-id"),level:"section",newOrder:n,from_location:a,to_location:i})},over:function(e,t){t.placeholder.addClass("sek-sortable-section-over")},out:function(e,t){t.placeholder.removeClass("sek-sortable-section-over")}})))},makeColumnsSortableInSektion:function(e){var a,i,s,n,o=this,t=p.extend(!0,{},o.sortableDefaultParams),r=[],d=[],l=p('[data-sek-id="'+e+'"]').find(".sek-sektion-inner").first(),c=function(e){if(e=p.extend({forTarget:!0},e||{}),!h.isEmpty(p(this).data("_sortable_columns_css_classes_")))return p(this).data("_sortable_columns_css_classes_");var t,a=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length,i=Math.floor(100/a);t=!0===e.forTarget?12<a+1?12:a+1:a-1<1?1:a-1;var s={current:"sek-col-"+i,next:"sek-col-"+Math.floor(100/t)};return p(this).data("_sortable_columns_css_classes_",s),s};l.sortable(h.extend(t,{handle:".sek-move-column",connectWith:".sek-sektion-inner",over:function(e,t){var a,i=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]');!0!==p(this).data("sek-is-sender")?(a=c.call(p(this)),h.isEmpty(a)||i.each(function(){p(this).removeClass(a.current).addClass(a.next)})):(a=c.call(p(this),{forTarget:!1}),h.isEmpty(a)||i.each(function(){p(this).addClass(a.current).removeClass(a.next)}))},out:function(e,t){var a,i=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]');!0!==p(this).data("sek-is-sender")?(a=c.call(p(this)),h.isEmpty(a)||i.each(function(){p(this).addClass(a.current).removeClass(a.next)})):(a=c.call(p(this),{forTarget:!1}),h.isEmpty(a)||i.each(function(){p(this).removeClass(a.current).addClass(a.next)}))},remove:function(e,t){s=t.item.closest('[data-sek-level="location"]'),to_location=s.data("sek-id"),n=!0===s.data("sek-is-global-location");var a=to_location!=from_location;return i!==n||!0===i&&!0===n&&a?(m.preview.send("sek-notify",{message:sekPreviewLocalized.i18n["Moving elements between global and local sections is not allowed."]}),!1):($targetSektionCandidate=t.item.closest('[data-sek-level="section"]'),!(0<$targetSektionCandidate.length&&12<$targetSektionCandidate.find(".sek-sektion-inner").first().children('[data-sek-level="column"]').length)||(m.preview.send("sek-notify",{message:sekPreviewLocalized.i18n["You've reached the maximum number of columns allowed in this section."]}),!1))},start:function(e,t){a=t.item.closest('[data-sek-level="location"]'),from_location=a.data("sek-id"),i=!0===a.data("sek-is-global-location"),r=[],d=[],from_sektion=t.item.closest('[data-sek-level="section"]').data("sek-id"),t.item.closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]').each(function(){r.push(p(this).data("sek-id"))}),p(this).data("sek-is-sender",!0),h.isEmpty(r)?o.errare("column sortable => startOrder should not be empty"):o.printAllLevelsUi()},stop:function(e,t){$targetSektion=t.item.closest('[data-sek-level="section"]'),to_sektion=$targetSektion.data("sek-id"),$targetSektion.find(".sek-sektion-inner").first().children('[data-sek-level="column"]').each(function(){d.push(p(this).data("sek-id"))});var a,i=p(this).closest('[data-sek-level="section"]').find(".sek-sektion-inner").first().children('[data-sek-level="column"]');!0!==p(this).data("sek-is-sender")?(a=c.call(p(this)),h.isEmpty(a)||i.each(function(){p(this).removeClass(a.current).addClass(a.next)})):(a=c.call(p(this),{forTarget:!1}),h.isEmpty(a)||i.each(function(){p(this).addClass(a.current).removeClass(a.next)})),p('[data-sek-level="section"]').find(".sek-sektion-inner").each(function(){p(this).data("sek-is-sender",null).data("_sortable_columns_css_classes_",null)}),h.isEmpty(d)?o.errare("column sortable => newOrder should not be empty"):h.isEqual(d,r)&&to_sektion===from_sektion?sekPreviewLocalized.isDevMode&&o.errare("preview => makeModulesSortableInColumn => start and stop positions are identical"):(m.preview.send("sek-move",{id:t.item.data("sek-id"),level:"column",newOrder:d,from_sektion:from_sektion,to_sektion:to_sektion}),p('div[data-sek-id="'+from_sektion+'"]').trigger("sek-level-refreshed"),from_sektion!==to_sektion&&p('div[data-sek-id="'+to_sektion+'"]').trigger("sek-level-refreshed"))}}))},makeModulesSortableInColumn:function(e){var a,i,s,n,t,o,r,d,l,c=[],k=[],u=this;t=p.extend(!0,{},u.sortableDefaultParams),p('[data-sek-id="'+e+'"]').find(".sek-column-inner").first().sortable(h.extend(t,{handle:".sek-move-module",connectWith:".sek-column-inner",over:function(e,t){p('[data-sek-level="location"]').find(".sek-sortable-overing").each(function(){p(this).removeClass("sek-sortable-overing")}),p(e.target).addClass("sek-sortable-overing")},remove:function(e,t){d=t.item.closest('[data-sek-level="location"]'),to_location=d.data("sek-id"),l=!0===d.data("sek-is-global-location");var a=to_location!=from_location;return!(r!==l||!0===r&&!0===l&&a)||(m.preview.send("sek-notify",{message:sekPreviewLocalized.i18n["Moving elements between global and local sections is not allowed."]}),!1)},start:function(e,t){o=t.item.closest('[data-sek-level="location"]'),from_location=o.data("sek-id"),r=!0===o.data("sek-is-global-location"),c=[],k=[],u.cachedElements.$body.addClass("sek-dragging-element"),i=t.item.closest('[data-sek-level="column"]').data("sek-id"),a=t.item.closest('[data-sek-level="section"]').data("sek-id"),t.item.closest('[data-sek-level="column"]').find(".sek-column-inner").first().children('[data-sek-level="module"]').each(function(){c.push(p(this).data("sek-id"))}),h.isEmpty(c)?u.errare("makeModulesSortableInColumn => startOrder should not be empty"):u.printAllLevelsUi()},stop:function(e,t){n=t.item.closest('[data-sek-level="column"]'),s=n.data("sek-id"),n.find(".sek-column-inner").first().children("[data-sek-id]").each(function(){k.push(p(this).data("sek-id"))}),h.isEmpty(k)?u.errare("makeModulesSortableInColumn => newOrder should not be empty"):h.isEqual(k,c)&&s===i?u.errare("preview => makeModulesSortableInColumn => start and stop positions are identical"):(m.preview.send("sek-move",{id:t.item.data("sek-id"),level:"module",newOrder:k,from_column:i,to_column:s,from_sektion:a,to_sektion:t.item.closest('[data-sek-level="section"]').data("sek-id")}),u.cachedElements.$body.removeClass("sek-dragging-element"))}})),p('[data-sek-id="'+e+'"]').addClass("sek-module-sortable-setup")}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(l,c,k){c.extend(SekPreviewPrototype,{setupResizable:function(){var t=this;return c(".sektion-wrapper").find('div[data-sek-level="section"]').each(function(){t.maybeMakeColumnResizableInSektion.call(this)}),t.cachedElements.$body.on("sek-level-refreshed sek-modules-refreshed sek-columns-refreshed sek-section-added sek-location-refreshed",'[data-sek-level="location"]',function(e){c(this).find('[data-sek-level="section"]').each(function(){t.maybeMakeColumnResizableInSektion.call(this)})}),this},maybeMakeColumnResizableInSektion:function(){var a,i,s,n,o,r,d,e=c(this).find(".sek-sektion-inner").first().children('div[data-sek-level="column"]');if(!(e.length<2)){var t=c(this).find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').last();e.not(t).each(function(){c(this).resizable({resize:function(e,t){c(".sektion-wrapper").data("sek-resizing-columns",!0)},start:function(e,t){if(a=t.element.closest('div[data-sek-level="section"]'),a.data("sek-id"),i=a.find(".sek-sektion-inner")[0].getBoundingClientRect().width,!((o=a.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length)<2)){if((s=t.element.closest('div[data-sek-level="column"]')).length<1)throw new Error("ERROR => resizable => No valid level dom element found");d=s.index()+1==o,r=d?s.prev():s.next(),c(".sektion-wrapper").data("sek-resizing-columns",!0),k.delay(function(){c(".sektion-wrapper").data("sek-resizing-columns",!1)},3e3)}},stop:function(e,t){if(!(o<2)){if(s.length<1)throw new Error("ERROR => resizable => No valid level dom element found");s.css({width:"",height:""}),n=(parseFloat(t.size.width)/parseFloat(i)*100).toFixed(3),l.preview.send("sek-resize-columns",{action:"sek-resize-columns",level:s.data("sek-level"),in_sektion:a.data("sek-id"),id:s.data("sek-id"),resized_column:s.data("sek-id"),sister_column:r.data("sek-id"),resizedColumnWidthInPercent:n,col_number:o}),c(".sektion-wrapper").data("sek-resizing-columns",!1)}},helper:"ui-resizable-helper",handles:"e"});var e=c(this);k.delay(function(){e.find(".ui-resizable-handle").find(".fa-arrows-alt-h").length<1&&e.find(".ui-resizable-handle").append('<i class="fas fa-arrows-alt-h"></i>')},500)})}}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(c,p,h){p.extend(SekPreviewPrototype,{printLevelUI:function(e){var t,a,i,s;if((h.isUndefined(e)||e.length<1)&&this.errare("sekPreview::printeLevelUI => invalid level element => ",e),"location"!=(a=e.data("sek-level"))&&!(0<(s=e).children(".sek-dyn-ui-wrapper").length)){var n=s[0].getBoundingClientRect(),o=s.data("sek-level");switch(s.toggleClass("sek-shrink-my-ui",n.width&&n.width<("section"===o?350:"column"===o?300:200)),i={id:s.data("sek-id"),level:o},a){case"section":var r,d,l=s.closest('div[data-sek-level="location"]'),c=s.closest('div[data-sek-level="column"]'),k=!0===s.data("sek-is-nested");k?0<c.length&&(r=c.find(".sek-column-inner").first().children("div[data-sek-level]").length==s.index()+1,d=0===s.index()):0<l.length&&(r=l.children('div[data-sek-level="section"]').length==s.index()+1,d=0===s.index()),i=h.extend(i,{is_nested:k,can_have_more_columns:s.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length<12,is_global_location:!0===l.data("sek-is-global-location"),is_last_section_in_parent:r,is_first_section_in_parent:d,is_header_location:!0===l.data("sek-is-header-location"),is_footer_location:!0===l.data("sek-is-footer-location")});break;case"column":var u=s.closest('div[data-sek-level="section"]');i=h.extend(i,{parent_can_have_more_columns:u.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length<12,parent_is_single_column:u.find(".sek-sektion-inner").first().children('div[data-sek-level="column"]').length<2,parent_is_last_allowed_nested:!0===u.data("sek-is-nested"),has_nested_section:0<s.find('[data-sek-is-nested="true"]').length});break;case"module":var m=this.getRegisteredModuleProperty(s.data("sek-module-type"),"name");i=h.extend(i,{module_name:"not_set"!=m?m:""})}!0===p(".sektion-wrapper").data("sek-resizing-columns")&&h.contains(["column","module"],a)||(t=this.parseTemplate("#sek-dyn-ui-tmpl-"+a),p.when(s.prepend(t(i))).done(function(){s.find(".sek-dyn-ui-wrapper").stop(!0,!0).fadeIn({duration:150,complete:function(){}})}))}},setupUiHoverVisibility:function(){var i,e,r=this,d=function(){(e=p(this)).children(".sek-dyn-ui-wrapper").length<1||sekPreviewLocalized.isPreviewUIDebugMode||r.isDraggingElement||(e.data("UIisFadingOut",!0),e.children(".sek-dyn-ui-wrapper").stop(!0,!0).fadeOut({duration:150,complete:function(){p(this).remove(),e.data("UIisFadingOut",!1)}}))},s=function(){r.cachedElements.$body.stop(!0,!0).find(".sek-add-content-button").each(function(){p(this).fadeOut({duration:200,complete:function(){p(this).remove()}})})};r.cachedElements.$body.on("sek-location-refreshed sek-section-added sek-level-refreshed",'[data-sek-level="location"]',function(e,t){s()});var t,a=function(){var e=p(this);clearTimeout(e.data("_toggle_ui_menu_")),e.data("_toggle_ui_menu_",setTimeout(function(){n.call(e)},1e4))},n=function(e){var t=p(this),a=p(this).closest(".sek-dyn-ui-location-type"),i=t.closest(".sek-dyn-ui-wrapper").find(".sek-dyn-ui-inner");!0===e?(t.removeClass("sek-collapsed"),i.addClass("sek-is-expanded"),a.hide()):(t.addClass("sek-collapsed"),i.removeClass("sek-is-expanded"),a.show())};r.cachedElements.$body.on("click",".sek-dyn-ui-location-inner",function(e){var t=p(this).find(".sek-dyn-ui-hamb-menu-wrapper");p(this).closest('[data-sek-level="section"]').find(".sek-dyn-ui-hamb-menu-wrapper").each(function(){n.call(p(this))}),n.call(t,!0),a.call(t)}),r.cachedElements.$body.on("mouseenter mouseover mouseleave",".sek-dyn-ui-wrapper",h.throttle(function(e){var t=p(this).find(".sek-dyn-ui-hamb-menu-wrapper");h.isUndefined(t.data("_toggle_ui_menu_"))||t.hasClass("sek-collapsed")||0<t.length&&a.call(t)},50)),r.cachedElements.$body.on("click",".sek-minimize-ui",function(e){p(this).closest(".sek-dyn-ui-location-type").slideToggle("fast")}),r.cachedElements.$body.on("mouseenter",".sek-wp-content-wrapper",function(e){0<(t=p(this)).children(".sek-dyn-ui-wrapper").length&&!0!==t.data("UIisFadingOut")||(i=r.parseTemplate("#sek-dyn-ui-tmpl-wp-content"),p.when(t.prepend(i({}))).done(function(){t.find(".sek-dyn-ui-wrapper").stop(!0,!0).fadeIn({duration:150,complete:function(){}})}))}).on("mouseleave",".sek-wp-content-wrapper",function(e){p(this).data("UIisFadingOut",!0),t=p(this),p(this).children(".sek-dyn-ui-wrapper").stop(!0,!0).fadeOut({duration:150,complete:function(){p(this).remove(),t.data("UIisFadingOut",!1)}})});var l=function(n,e){var o,t=[];o=h.isUndefined(e)||e.length<1?(r.cachedElements.$body.find('[data-sek-level][data-sek-preview-level-guid="'+sekPreviewLocalized.previewLevelGuid+'"]').each(function(){t.push(p(this))}),"printOrScheduleRemoval"):(t.push(e),"mayBeRemove"),h.each(t,function(e){var t=e[0].getBoundingClientRect(),a=n.x<=t.right&&t.left<=n.x,i=n.y>=t.top&&t.bottom>=n.y,s=e;switch(o){case"mayBeRemove":s.data("sek-ui-removal-scheduled",!1),a&&i||d.call(s);break;case"printOrScheduleRemoval":a&&i?(s.data("sek-ui-removal-scheduled",!1),r.printLevelUI(s)):!0!==s.data("sek-ui-removal-scheduled")&&(s.data("sek-ui-removal-scheduled",!0),s.children(".sek-dyn-ui-wrapper").find(".sek-is-expanded").length<1?l(n,s):h.delay(function(){!0===s.data("sek-ui-removal-scheduled")&&l(r.mouseMovedRecently(),s)},3500))}})};r.mouseMovedRecently=new c.Value({}),r.mouseMovedRecently.bind(function(e){var k,t,a;h.isEmpty(e)?sekPreviewLocalized.isPreviewUIDebugMode||(s(),r.cachedElements.$body.stop(!0,!0).find("[data-sek-level]").each(function(){p(this).children(".sek-dyn-ui-wrapper").find(".sek-is-expanded").length<1&&d.call(p(this))})):(r.cachedElements.$body.find('div[data-sek-level="location"]').each(function(){var e;$sectionCollection=p(this).children('div[data-sek-level="section"]'),i=r.parseTemplate("#sek-tmpl-add-content-button"),t=p(this).data("sek-id"),a=!0===p(this).data("sek-is-global-location"),$sectionCollection.each(function(){0<p(this).find(".sek-add-content-button").length||(p.when(p(this).prepend(i({location:t,is_global_location:a}))).done(function(){e=p(this).find(".sek-add-content-button"),p(this).data("sek-id")&&e.attr("data-sek-before-section",p(this).data("sek-id")),e.fadeIn(300)}),$sectionCollection.length==p(this).index()+1&&p.when(p(this).append(i({is_last:!0,location:t,is_global_location:a}))).done(function(){e=p(this).find(".sek-add-content-button").last(),p(this).data("sek-id")&&e.attr("data-sek-after-section",p(this).data("sek-id")),e.fadeIn(300)}))})}),p(".sek-empty-location-placeholder").each(function(){0<p(this).find(".sek-add-content-button").length||(t=p(this).closest('div[data-sek-level="location"]').data("sek-id"),a=!0===p(this).closest('div[data-sek-level="location"]').data("sek-is-global-location"),p.when(p(this).append(i({location:t,is_global_location:a}))).done(function(){$btn_el=p(this).find(".sek-add-content-button"),$btn_el.attr("data-sek-is-first-section",!0),$btn_el.fadeIn(300)}))}),k=e,r.cachedElements.$body.find(".sek-add-content-button").each(function(){var e=p(this)[0].getBoundingClientRect(),t=k.y,a=k.x,i=Math.abs(t-e.bottom),s=Math.abs(e.top-t),n=a-e.right,o=e.left-a,r=i<40||s<40,d=0<n&&n<40||0<o&&o<40,l=a<=e.right&&e.left<=a,c=t>=e.top&&e.bottom>=t;p(this).toggleClass("sek-mouse-is-close",(r||c)&&(d||l))}),l(e))});var o=function(){clearTimeout(r.cachedElements.$window.data("_scroll_move_timer_")),r.mouseMovedRecently.set({})};return r.cachedElements.$window.on("mousemove scroll",h.throttle(function(e){r.mouseMovedRecently({x:e.clientX,y:e.clientY}),clearTimeout(r.cachedElements.$window.data("_scroll_move_timer_")),r.cachedElements.$window.data("_scroll_move_timer_",setTimeout(function(){r.mouseMovedRecently.set({})},4e3))},50)),c.preview.bind("sek-drag-start",function(){o()}),r.cachedElements.$body.on("sek-section-added",'[data-sek-level="location"]',function(e,t){o()}),this}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(m,p,h){p.extend(SekPreviewPrototype,{scheduleUiClickReactions:function(){var u=this;u.cachedElements.$body.on("click",function(e){m.preview.send("sek-clean-target-drop-zone");var t,a="inactiveZone",i=p(e.target),s=i.closest('[data-sek-level="location"][data-sek-preview-level-guid="'+sekPreviewLocalized.previewLevelGuid+'"]'),n=i.closest('[data-sek-preview-level-guid="'+sekPreviewLocalized.previewLevelGuid+'"]'),o=i.closest("[data-sek-click-on]"),r=s.data("sek-id"),d=n.data("sek-level"),l=n.data("sek-id");switch(a="add-content"==i.data("sek-click-on")||0<i.closest("[data-sek-click-on]").length&&"add-content"==i.closest("[data-sek-click-on]").data("sek-click-on")?"addContentButton":!h.isEmpty(i.data("sek-click-on"))||0<o.length?"UIIcon":"module"==n.data("sek-level")?"moduleWrapper":"column"==n.data("sek-level")&&!0===n.data("sek-no-modules")?"noModulesColumn":i.hasClass("sek-to-json")?"sekToJson":"column"==n.data("sek-level")?"columnOutsideModules":"section"==n.data("sek-level")?"sectionOutsideColumns":h.isEmpty(i.data("sek-add"))?i.hasClass("sek-wp-content-wrapper")||i.hasClass("sek-wp-content-dyn-ui")?"wpContent":i.hasClass("sek-edit-wp-content")?"editWpContent":"inactiveZone":"addSektion",0<s.length&&h.isEmpty(r)&&u.errare("::scheduleUiClickReactions => error location id can not be empty"),a){case"addContentButton":var c=!0===i.closest("[data-sek-is-first-section]").data("sek-is-first-section");m.preview.send("sek-add-section",{location:r,level:"section",before_section:i.closest("[data-sek-before-section]").data("sek-before-section"),after_section:i.closest("[data-sek-after-section]").data("sek-after-section"),is_first_section:c,send_to_preview:!c});break;case"UIIcon":if(n.length<1)throw new Error("ERROR => sek-front-preview => No valid level dom element found");if(t=i.closest("[data-sek-click-on]").data("sek-click-on"),h.isEmpty(t))throw new Error("Invalid action");if(h.isEmpty(d)||h.isEmpty(l))throw new Error("ERROR => sek-front-preview => No valid level id found");u._send_(i,{action:t,location:r,level:d,id:l,was_triggered:!1});break;case"moduleWrapper":if(0<i.parent(".sek-dyn-ui-icons").length)return;u._send_(i,{action:"edit-module",level:d,id:l});break;case"noModulesColumn":if(0<i.parent(".sek-dyn-ui-icons").length)return;u._send_(i,{action:"edit-options",location:r,level:d,id:l});break;case"columnOutsideModules":case"sectionOutsideColumns":u._send_(i,{action:"edit-options",location:r,level:d,id:l});break;case"addSektion":m.preview.send("sek-add-section",{location:r,level:i.data("sek-add")});break;case"sekToJson":m.preview.send("sek-to-json",{id:l});break;case"wpContent":m.preview.send("sek-notify",{type:"info",duration:8e3,message:sekPreviewLocalized.i18n["This content has been created with the WordPress editor."]});break;case"editWpContent":var k=i.closest("[data-sek-wp-edit-link]").data("sek-wp-edit-link");h.isEmpty(k)||window.open(k,"_blank");break;case"inactiveZone":m.preview.send("sek-click-on-inactive-zone")}})},_send_:function(e,t){var a=p.extend(!0,{},t),i="",s=e.closest('div[data-sek-level="module"]'),n="module"===t.level?s.data("sek-module-type"):"";"module"===t.level&&"czr_tiny_mce_editor_module"===n&&(i=0<s.find("div[data-sek-input-id]").length?s.find("div[data-sek-input-id]").data("sek-input-id"):""),m.preview.send("sek-"+t.action,h.extend({location:t.location,level:t.level,id:t.id,content_type:e.data("sek-content-type"),module_type:n,in_column:0<e.closest('div[data-sek-level="column"]').length?e.closest('div[data-sek-level="column"]').data("sek-id"):"",in_sektion:0<e.closest('div[data-sek-level="section"]').length?e.closest('div[data-sek-level="section"]').data("sek-id"):"",clicked_input_type:0<e.closest("div[data-sek-input-type]").length?e.closest("div[data-sek-input-type]").data("sek-input-type"):"",clicked_input_id:0<e.closest("div[data-sek-input-id]").length?e.closest("div[data-sek-input-id]").data("sek-input-id"):"",was_triggered:t.was_triggered,syncedTinyMceInputId:i},a))}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,n,o){n.extend(SekPreviewPrototype,{setupLoader:function(){var t=this;this._css_loader_html='<div class="sek-css-loader sek-mr-loader" style="display:none"><div></div><div></div><div></div></div>',t.cachedElements.$body.on(["sek-modules-refreshed","sek-columns-refreshed","sek-section-added","sek-level-refreshed","sek-stylesheet-refreshed","sek-ajax-error"].join(" "),function(e){t.cleanLoader()})},mayBePrintLoader:function(e){e=o.isObject(e)?e:{};var t=this,a=e.loader_located_in_level_id;if(!o.isEmpty(a)){var i=n('[data-sek-id="'+a+'"]');0<i.length&&n(".sek-level-clone ").length<1&&($levelClone=n("<div>",{class:"sek-level-clone"}),i.find("[data-sek-level]").each(function(){n(this).addClass("sek-refreshing")}),i.prepend($levelClone),$levelClone.css({width:i.outerWidth()+"px",height:i.outerHeight()+"px"}).append(t._css_loader_html).find(".sek-css-loader").fadeIn("fast"),clearTimeout(n.data(this,"_nimble_loader_active_timer_")),n.data(this,"_nimble_loader_active_timer_",setTimeout(function(){t.cleanLoader()},e.duration||4e3)))}if(!0===e.fullPageLoader){var s=n("<div>",{id:"nimble-full-page-loader-wrapper",class:"white-loader"});t.cachedElements.$body.append(s),s.fadeIn("fast").append(t._css_loader_html).find(".sek-css-loader").fadeIn("fast"),n('[data-sek-level="location"]').each(function(){n(this).addClass("sek-blur")}),clearTimeout(n.data(this,"_nimble_full_page_loader_active_timer_")),n.data(this,"_nimble_full_page_loader_active_timer_",setTimeout(function(){t.cleanLoader({cleanFullPageLoader:!0})},e.duration||6e3))}},cleanLoader:function(e){n(".sek-level-clone").remove(),n("[data-sek-level]").each(function(){n(this).removeClass("sek-refreshing")}),!0===(e=e||{}).cleanFullPageLoader&&(n('[data-sek-level="location"]').each(function(){n(this).removeClass("sek-blur")}),n("#nimble-full-page-loader-wrapper").remove())}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(k,u,m){u.extend(SekPreviewPrototype,{schedulePanelMsgReactions:function(){var t,c=this,e={"sek-add-section":"ajaxAddSektion","sek-add-content-in-new-sektion":"ajaxAddSektion","sek-add-content-in-new-nested-sektion":"ajaxAddSektion","sek-add-column":"ajaxRefreshColumns","sek-add-module":"ajaxRefreshModulesAndNestedSections","sek-refresh-stylesheet-in-the-background-for-custom-css":"ajaxRefreshStylesheet","sek-refresh-stylesheet":"ajaxRefreshStylesheet","sek-resize-columns":"ajaxResizeColumns","sek-maybe-print-loader":function(e){try{c.mayBePrintLoader(e)}catch(e){k.errare("sek-print-loader => error",e)}},"sek-clean-loader":function(e){try{c.cleanLoader(e)}catch(e){k.errare("sek-clean-loader => error",e)}},"sek-remove":function(e){var t,a=e.apiParams.id,i=u('div[data-sek-id="'+a+'"]');switch(e.apiParams.action){case"sek-remove-section":c.mayBePrintLoader({loader_located_in_level_id:e.apiParams.location}),!0===e.apiParams.is_nested?t=c.ajaxRefreshModulesAndNestedSections(e):((m.isEmpty(a)||i.length<1)&&c.errare("reactToPanelMsg => sek-remove => invalid candidate id => ",a),c.cachedElements.$body.find(i).remove(),u('[data-sek-id="'+e.apiParams.location+'"]').trigger("sek-level-refreshed"));break;case"sek-remove-column":t=c.ajaxRefreshColumns(e);break;case"sek-remove-module":t=c.ajaxRefreshModulesAndNestedSections(e)}return m.isEmpty(t)?u.Deferred(function(){this.resolve()}):t},"sek-duplicate":function(e){var t;switch(e.apiParams.action){case"sek-duplicate-section":e.apiParams.id=e.cloneId,t=c.ajaxAddSektion(e);break;case"sek-duplicate-column":e.apiParams.id=e.cloneId,t=c.ajaxRefreshColumns(e);break;case"sek-duplicate-module":e.apiParams.id=e.cloneId,t=c.ajaxRefreshModulesAndNestedSections(e)}return t},"sek-refresh-level":function(n){return c.mayBePrintLoader({loader_located_in_level_id:n.apiParams.id}),c.doAjax({location_skope_id:n.location_skope_id,local_skope_id:n.local_skope_id,action:"sek_get_content",id:n.apiParams.id,level:n.apiParams.level,sek_action:n.apiParams.action}).fail(function(e){c.errare("ERROR reactToPanelMsg => sek-refresh-level => ",e),u('[data-sek-id="'+n.apiParams.id+'"]').trigger("sek-ajax-error")}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(c.errare("SekPreviewPrototype::sek-refresh-level => ajax_response.data.contents is undefined ",e),c.errare("params ?",n));var a='<span class="sek-placeholder" data-sek-placeholder-for="'+n.apiParams.id+'"></span>',i=u('div[data-sek-id="'+n.apiParams.id+'"]');if(i.length<1)c.errare("reactToPanelMsg => sek-refresh-level ajax done => the level to refresh is not rendered in the page",e);else{i.before(a);var s=u('[data-sek-placeholder-for="'+n.apiParams.id+'"]');i.remove(),m.isUndefined(t)?c.errare("reactToPanelMsg => sek-refresh-level ajax done => missing html_content",e):s.after(t),0<s.length&&s.remove(),u('[data-sek-id="'+n.apiParams.id+'"]').trigger("sek-level-refreshed",{level:n.apiParams.level,id:n.apiParams.id}),n.apiParams.moved_level_id&&k.preview.trigger("sek-animate-to-level",{id:n.apiParams.moved_level_id})}})},"sek-move":function(e){switch(e.apiParams.action){case"sek-move-column":if(e.apiParams.from_sektion!=e.apiParams.to_sektion){var t=u.extend(!0,{},e),a=u.extend(!0,{},e);u('[data-sek-id="'+e.apiParams.from_sektion+'"]',".sektion-wrapper").find('div[data-sek-level="column"]').length<1?k.preview.send("sek-add-column",{in_sektion:e.apiParams.from_sektion,autofocus:!1}):(t.apiParams=m.extend(t.apiParams,{in_sektion:e.apiParams.from_sektion,action:"sek-refresh-columns-in-sektion"}),c.ajaxRefreshColumns(t)),a.apiParams=m.extend(a.apiParams,{in_sektion:e.apiParams.to_sektion,action:"sek-refresh-columns-in-sektion"}),c.ajaxRefreshColumns(a)}break;case"sek-move-module":var i=u.extend(!0,{},e),s=u.extend(!0,{},e);i.apiParams.from_column!=i.apiParams.to_column&&(i.apiParams=m.extend(i.apiParams,{in_column:i.apiParams.from_column,in_sektion:i.apiParams.from_sektion,action:"sek-refresh-modules-in-column"}),c.ajaxRefreshModulesAndNestedSections(i)),e.apiParams=m.extend(s.apiParams,{in_column:s.apiParams.to_column,in_sektion:s.apiParams.to_sektion,action:"sek-refresh-modules-in-column"}),c.ajaxRefreshModulesAndNestedSections(s),u('[data-sek-id="'+e.apiParams.to_column+'"]',".sektion-wrapper").find(".sek-column-inner").sortable("refresh")}},"sek-edit-options":function(e){c.activeLevelUI(e.uiParams.id)},"sek-edit-module":function(e){c.activeLevelUI(e.uiParams.id)},"sek-drag-start":function(s){var n=1,o=!1;u('[data-sek-level="location"]').children('[data-sek-level="section"]').each(function(){var e=u(this).data("sek-id"),t=u(this).find('[data-sek-level="column"]').length,a=u(this).find('[data-sek-level="module"]').length,i=t<2&&a<1;!o&&!i&&u('[data-drop-zone-before-section="'+e+'"]').length<1&&u(this).before('<div class="sek-content-'+s.content_type+'-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-sections" data-drop-zone-before-section="'+e+'"></div>'),i||n!=u(".sektion-wrapper").children('[data-sek-level="section"]').length||u(this).after('<div class="sek-content-'+s.content_type+'-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-sections" data-drop-zone-after-section="'+e+'"></div>'),n++,o=i}),u(".sek-empty-location-placeholder").each(function(){u.when(u(this).append('<div class="sek-content-'+s.content_type+'-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="in-empty-location"></div>'))}),("module"==s.content_type||"preset_section"==s.content_type&&!0===s.eligible_for_module_dropzones)&&u('[data-sek-level="column"]').each(function(){var e=u(this).children(".sek-column-inner").children('[data-sek-level="module"]'),t=u(this).children(".sek-column-inner").children('[data-sek-is-nested="true"]');e=e.add(t);var a=1;e.each(function(){u('[data-drop-zone-before-module-or-nested-section="'+u(this).data("sek-id")+'"]').length<1&&u(this).before('<div class="sek-content-module-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-modules-and-nested-sections" data-drop-zone-before-module-or-nested-section="'+u(this).data("sek-id")+'"></div>'),a==e.length&&u('[data-drop-zone-after-module-or-nested-section="'+u(this).data("sek-id")+'"]').length<1&&u(this).after('<div class="sek-content-module-drop-zone sek-dynamic-drop-zone sek-drop-zone" data-sek-location="between-modules-and-nested-sections" data-drop-zone-after-module-or-nested-section="'+u(this).data("sek-id")+'"></div>'),a++})}),c.cachedElements.$body.addClass("sek-dragging"),m.delay(function(){u(".sek-dynamic-drop-zone").css({opacity:1})},100)},"sek-drag-stop":function(e){c.cachedElements.$body.removeClass("sek-dragging"),u(".sortable-placeholder").remove(),u(".sek-dynamic-drop-zone").remove()},"sek-animate-to-level":function(e){var t=u('[data-sek-id="'+e.id+'"]');0<t.length&&!nb_.isInScreen(t[0])&&t[0].scrollIntoView({behavior:"auto",block:"center",inline:"center"})},"sek-clean-level-uis":function(e){u(".sek-dyn-ui-wrapper").each(function(){u(this).remove()})},"sek-display-level-ui":function(e){var t=u('[data-sek-id="'+e.id+'"]');0<t.length&&c.printLevelUI(t)},"sek-set-double-click-target":function(e){if(u(".sek-target-for-double-click-insertion").removeClass("sek-target-for-double-click-insertion"),m.isObject(e)&&e.id){var t=u('[data-sek-id="'+e.id+'"]');1===t.length&&t.addClass("sek-target-for-double-click-insertion")}},"sek-reset-double-click-target":function(e){u(".sek-target-for-double-click-insertion").removeClass("sek-target-for-double-click-insertion")},"sek-update-html-in-selector":function(e){var t,a=u('[data-sek-id="'+e.id+'"]');t=m.isEmpty(e.changed_item_id)?u(e.selector,a):e.selector?u('[data-sek-item-id="'+e.changed_item_id+'"] '+e.selector,a):u('[data-sek-item-id="'+e.changed_item_id+'"]',a),0<a.length&&0<t.length?t.html(e.html):c.errare("reactToPanelMsg => sek-update-html-in-selector => missing level or target dom element",e)},"sek-update-css-with-postmessage":function(e){if(!m.isUndefined(e.css_content)&&m.isString(e.css_content)){var t,a,i;e.css_content=e.css_content.replace(/\/\*.+?\*\/|\/\/.*(?=[\n\r])/g,""),i=e.is_current_page_custom_css?(t="nb-custom-css-for-local-page",""):(t="nb-custom-css-for-level"+e.id,'body .sektion-wrapper [data-sek-id="'+e.id+'"]'),(a=u("#"+t)).length<1&&(u("head").append(u("<style/>",{id:t})),a=u("#"+t));var s,n,o,r,d=[],l="";s=e.css_content.split("}"),m.each(s,function(t){t=t.replace(/\n|\r/g,""),m.isEmpty(t)||-1===t.indexOf("{")||(t=t.replace(/.nimble-level/g,""),n=t.substr(0,t.indexOf("{")),o=n.replace(/ /g,""),t=t.replace(n,""),m.isEmpty(o)?d.push(i+t+"}css_delimiter"):(r=n.split(","),m.each(r,function(e){m.isEmpty(e)||d.push(i+" "+e+t+"}css_delimiter")})))}),m.isEmpty(d)||(l=(l=d.join("css_delimiter")).replace(/css_delimiter/g,"")),m.isEmpty(l.replace(/ /g,""))?a.remove():a.html(l),(e=u.extend({},!0,e)).dont_print_loader=!0,k.preview.trigger("sek-refresh-stylesheet-in-the-background-for-custom-css",e)}else c.errare("error => sek-update-css-with-postmessage => css content is not a string")},"sek-print-confettis":function(e){if(window.confetti&&window.requestAnimationFrame){var t=(e=e||{}).duration||Date.now()+1e3,a=["#f18700","#684F2F","#eea236"];!function e(){confetti({particleCount:2,angle:60,spread:55,origin:{x:0,y:.8},colors:a}),confetti({particleCount:4,angle:120,spread:55,origin:{x:1,y:.8},colors:a}),Date.now()<t&&window.requestAnimationFrame(e)}()}}},i=function(a,e,i){a=m.extend({location_skope_id:"",apiParams:{},uiParams:{}},a||{});c.cachedElements.$body.addClass(i);try{u.when(m.isFunction(e)?e(a):c[e].call(c,a)).done(function(e){var t;t=e,k.preview.send([i,"done"].join("_"),a),a.apiParams.is_multi_items&&"sek-refresh-level"===a.apiParams.action&&k.preview.send("multi-items-module-refreshed",a),m.isUndefined(t)||t.data&&t.data.setting_validities&&k.preview.send("selective-refresh-setting-validities",t.data.setting_validities)}).fail(function(){k.preview.send("sek-notify",{type:"error",duration:1e4,message:sekPreviewLocalized.i18n["Something went wrong, please refresh this page."]})}).always(function(e){c.cachedElements.$body.removeClass(i)}).then(function(){k.preview.trigger("control-panel-requested-action-done",{action:i,args:a}),c.mayBeAnimateToEditedLevel(a)})}catch(e){c.errare("reactToPanelMsg => Error when firing the callback of "+i,e),c.cachedElements.$body.removeClass(i)}m.isObject(a)&&a.apiParams&&a.apiParams.id&&(!(t=c.activeLevelEl())||!m.isObject(t)||t.length<1||c.activeLevelUI()!==a.apiParams.id)&&(c.activeLevelEl(u('[data-sek-id="'+a.apiParams.id+'"]')),t=c.activeLevelEl()),c.mayBeAnimateToEditedLevel(a)};m.each(e,function(t,a){"sek-refresh-stylesheet"===a?(k.preview.bind(a,function(e){i(e,t,a)}),k.preview.bind(a,m.debounce(function(e){i(e,t,a),e&&e.apiParams&&e.apiParams.id&&k.preview.trigger("sek-animate-to-level",{id:e.apiParams.id})},1e3))):"sek-refresh-stylesheet-in-the-background-for-custom-css"===a?k.preview.bind(a,m.debounce(function(e){i(e,t,a),e&&e.apiParams&&e.apiParams.id&&k.preview.trigger("sek-animate-to-level",{id:e.apiParams.id})},500)):k.preview.bind(a,function(e){i(e,t,a)})})},mayBeAnimateToEditedLevel:function(e){m.isObject(e)&&e.apiParams&&e.apiParams.id&&($elToFocusOn=u('[data-sek-id="'+e.apiParams.id+'"]'),0<$elToFocusOn.length&&!nb_.isInScreen($elToFocusOn[0])&&$elToFocusOn[0].scrollIntoView({behavior:"auto",block:"center",inline:"center"}))}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,o,r){o.extend(SekPreviewPrototype,{ajaxAddSektion:function(s){var n=this;return n.mayBePrintLoader({loader_located_in_level_id:s.apiParams.location}),n.doAjax({action:"sek_get_content",id:s.apiParams.id,in_sektion:s.apiParams.in_sektion,in_column:s.apiParams.in_column,location_skope_id:s.location_skope_id,local_skope_id:s.local_skope_id,sek_action:s.apiParams.action,is_nested:s.apiParams.is_nested,content_type:s.apiParams&&s.apiParams.content_type?s.apiParams.content_type:null,collection_of_preset_section_id:s.apiParams&&s.apiParams.collection_of_preset_section_id?s.apiParams.collection_of_preset_section_id:[]}).done(function(e){var t,a="";if(e.data&&e.data.contents?a=e.data.contents:(n.errare("SekPreviewPrototype::ajaxAddSektion => ajax_response.data.contents is undefined ",e),n.errare("params ?",s)),s.apiParams.is_nested){(t=o(".sektion-wrapper").find('div[data-sek-id="'+s.apiParams.in_column+'"]')).length<1&&n.errare("preview => reactToPanelMsg => sek-add-column => no DOM node for parent column => ",s.apiParams.in_column);var i='<span class="sek-placeholder" data-sek-placeholder-for="'+s.apiParams.in_column+'"></span>';t.before(i),t.remove(),o(".sektion-wrapper").find(".sek-placeholder").after(a),o(".sektion-wrapper").find(".sek-placeholder").remove()}else"sek-duplicate-section"!=s.apiParams.action||r.isEmpty(s.cloneId)?($beforeCandidate=o('.sektion-wrapper[data-sek-id="'+s.apiParams.location+'"]').find('div[data-sek-id="'+s.apiParams.before_section+'"]'),$afterCandidate=o('.sektion-wrapper[data-sek-id="'+s.apiParams.location+'"]').find('div[data-sek-id="'+s.apiParams.after_section+'"]'),!r.isEmpty(s.apiParams.before_section)&&0<$beforeCandidate.length?$beforeCandidate.before(a):!r.isEmpty(s.apiParams.after_section)&&0<$afterCandidate.length?$afterCandidate.after(a):o('[data-sek-id="'+s.apiParams.location+'"]').append(a)):o(".sektion-wrapper").find('div[data-sek-id="'+s.apiParams.in_sektion+'"]').after(a);"sek-duplicate-section"==s.apiParams.action&&o('div[data-sek-id="'+s.cloneId+'"]',".sektion-wrapper").each(function(){o(this).trigger("sek-columns-refreshed")}),s.apiParams.is_nested&&(n.makeModulesSortableInColumn(s.apiParams.in_column),o(".sektion-wrapper").find('div[data-sek-id="'+s.apiParams.in_sektion+'"]').each(function(){n.maybeMakeColumnResizableInSektion.call(this)})),s.cloneId&&o('div[data-sek-id="'+s.cloneId+'"]').trigger("sek-section-added",s),o('div[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-section-added",s),o('div[data-sek-id="'+s.apiParams.location+'"]').trigger("sek-location-refreshed",s)}).fail(function(e){n.errare("ERROR in sek_get_html_for_injection ? ",e),o('[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-ajax-error")})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(o,r,e){r.extend(SekPreviewPrototype,{ajaxRefreshColumns:function(s){var n=this;return n.mayBePrintLoader({loader_located_in_level_id:s.apiParams.in_sektion}),n.doAjax({action:"sek_get_content",id:s.apiParams.id,in_sektion:s.apiParams.in_sektion,location_skope_id:s.location_skope_id,local_skope_id:s.local_skope_id,sek_action:s.apiParams.action}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(n.errare("SekPreviewPrototype::ajaxRefreshColumns => ajax_response.data.contents is undefined ",e),n.errare("params ?",s));var a=r('div[data-sek-id="'+s.apiParams.in_sektion+'"]');a.length<1&&n.errare("reactToPanelMsg => "+s.apiParams.action+" => no DOM node for parent sektion => ",s.apiParams.in_sektion);var i='<span class="sek-placeholder" data-sek-placeholder-for="'+s.apiParams.in_sektion+'"></span>';a.before(i),a.remove(),r(".sektion-wrapper").find(".sek-placeholder").after(t),r(".sektion-wrapper").find(".sek-placeholder").remove(),o.preview.trigger("sek-refresh-stylesheet",s),r('div[data-sek-id="'+s.apiParams.in_sektion+'"]').trigger("sek-columns-refreshed",{in_sektion:s.apiParams.in_sektion})}).fail(function(e){n.errare("ERROR reactToPanelMsg => sek-add-column => ",e),r('[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-ajax-error")})},ajaxResizeColumns:function(a){var i=this;return i.mayBePrintLoader({loader_located_in_level_id:a.apiParams.in_sektion}),i.doAjax({action:"sek_get_content",resized_column:a.apiParams.resized_column,sister_column:a.apiParams.sister_column,location_skope_id:a.location_skope_id,local_skope_id:a.local_skope_id,sek_action:"sek-resize-columns"}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(i.errare("SekPreviewPrototype::ajaxResizeColumns => ajax_response.data.contents is undefined ",e),i.errare("params ?",a)),r('[data-sek-id="'+a.apiParams.resized_column+'"]').css({width:"",height:""}),i.appendDynStyleSheet(a.location_skope_id,t),r('div[data-sek-id="'+a.apiParams.in_sektion+'"]').trigger("sek-columns-refreshed")}).fail(function(e){i.errare("ERROR reactToPanelMsg => sek-resize-columns => ",e),r('[data-sek-id="'+a.apiParams.in_sektion+'"]').trigger("sek-ajax-error")})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,o,t){o.extend(SekPreviewPrototype,{ajaxRefreshModulesAndNestedSections:function(s){var n=this;return n.mayBePrintLoader({loader_located_in_level_id:s.apiParams.in_column}),n.doAjax({action:"sek_get_content",id:s.apiParams.id,in_sektion:s.apiParams.in_sektion,in_column:s.apiParams.in_column,location_skope_id:s.location_skope_id,local_skope_id:s.local_skope_id,sek_action:s.apiParams.action,is_nested:s.apiParams.is_nested}).done(function(e){var t="";e.data&&e.data.contents?t=e.data.contents:(n.errare("SekPreviewPrototype::ajaxRefreshModulesAndNestedSections => ajax_response.data.contents is undefined ",e),n.errare("params ?",s));var a=o('[data-sek-id="'+s.apiParams.in_column+'"]');a.length<1&&n.errare("reactToPanelMsg => ajaxRefreshModulesAndNestedSections => no DOM node for parent column => ",s.apiParams.in_column);var i='<span class="sek-placeholder" data-sek-placeholder-for="'+s.apiParams.in_column+'"></span>';a.before(i),a.remove(),o('[data-sek-placeholder-for="'+s.apiParams.in_column+'"]').after(t),o('[data-sek-placeholder-for="'+s.apiParams.in_column+'"]').remove(),o('[data-sek-id="'+s.apiParams.in_column+'"]').trigger("sek-modules-refreshed",{in_column:s.apiParams.in_column,in_sektion:s.apiParams.in_sektion})}).fail(function(e){n.errare("ERROR reactToPanelMsg => sek-add-module => ",e),o('[data-sek-id="'+s.apiParams.id+'"]').trigger("sek-ajax-error")})}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,n,o){n.extend(SekPreviewPrototype,{ajaxRefreshStylesheet:function(a){var i=this;return!0!==a.dont_print_loader&&i.mayBePrintLoader({loader_located_in_level_id:a.apiParams.id}),i.doAjax({action:"sek_get_content",location_skope_id:a.location_skope_id,local_skope_id:a.local_skope_id,sek_action:"sek-refresh-stylesheet"}).done(function(e){var t="";e.data&&e.data.contents&&(t=e.data.contents),i.appendDynStyleSheet(a.location_skope_id,t),n('[data-sek-id="'+a.apiParams.id+'"]').trigger("sek-stylesheet-refreshed",{level:a.apiParams.level,id:a.apiParams.id})}).fail(function(e){i.errare("sek-refresh-stylesheet fail !"),n('[data-sek-id="'+a.apiParams.id+'"]').trigger("sek-ajax-error")})},appendDynStyleSheet:function(e,t){var a="#sek-"+e,i="#"+sekPreviewLocalized.googleFontsStyleId,s="#"+sekPreviewLocalized.globalOptionsStyleId;0<n("head").find(a).length&&n("head").find(a).remove(),0<n("head").find(i).length&&n("head").find(i).remove(),0<n("head").find(s).length&&n("head").find(s).remove(),o.isEmpty(t)||n("head").append(t),!o.isEmpty(t)&&n("head").find(a).length<1&&n("head").find(i).length<1&&n("head").find(s).length<1?this.errare("sek-preview => problem when printing the dynamic inline style for : "+a,t):n("head").find(a).attr("sek-data-origin","customizer")}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(r,d,l){d.extend(SekPreviewPrototype,{parseTemplate:l.memoize(function(t){var a,i=this,s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(e){if(d(t).length<1)return i.errare("preview => parseTemplate => the requested tmpl does not exist =>"+t),"";try{a=a||l.template(d(t).html(),s)}catch(e){i.errare("preview => parseTemplate => problem when parsing tmpl =>"+t,e)}return a(e)}}),_prettyPrintLog:function(e){e=l.extend({bgCol:"#5ed1f5",textCol:"#000",consoleArguments:[]},e);var t,a=Array.from(e.consoleArguments);return a=l.isEmpty(l.filter(a,function(e){return!l.isString(e)}))?a.join(" "):JSON.stringify(a.join(" ")),["%c "+(t=a,l.isString(t)?300<t.length?t.substr(0,299)+"...":t:""),["background:"+e.bgCol,"color:"+e.textCol,"display: block;"].join(";")]},_wrapLogInsideTags:function(e,t,a){l.isUndefined(console)&&"function"!=typeof window.console.log||(sekPreviewLocalized.isDevMode?l.isUndefined(t)?console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:["<"+e+">"]})):(console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:["<"+e+">"]})),console.log(t),console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:["</"+e+">"]}))):console.log.apply(console,this._prettyPrintLog({bgCol:a,textCol:"#000",consoleArguments:[e]})))},errare:function(e,t){this._wrapLogInsideTags(e,t,"#ffd5a0")},infoLog:function(e,t){this._wrapLogInsideTags(e,t,"#5ed1f5")},doAjax:function(e){var t=this,a=(e=e||(l.isObject(e)?e:{})).ajaxUrl||sekPreviewLocalized.ajaxUrl,i=sekPreviewLocalized.frontNonce,s=d.Deferred(),n=l.extend({action:"",withNonce:!1},e),o=document.createElement("a");return o.href=a,r.isLinkPreviewable(o,{allowAdminAjax:!0})?("https:"==document.location.protocol&&(a=a.replace("http://","https://")),l.isEmpty(n.action)||!l.isString(n.action)?(t.errare("self.doAjax : unproper action provided"),s.resolve().promise()):(n[i.id]=i.handle,!l.isObject(i)||l.isUndefined(i.id)||l.isUndefined(i.handle)?(t.errare("self.doAjax : unproper nonce"),s.resolve().promise()):(n["preview-level-guid"]=sekPreviewLocalized.previewLevelGuid,n.czr_query_params=JSON.stringify(l.isObject(_wpCustomizeSettings.czr_query_params)?_wpCustomizeSettings.czr_query_params:[]),d.post(a,n).done(function(e){"0"!==e&&"-1"!==e&&!1!==e.success||(t.errare("self.doAjax : done ajax error for action : "+n.action,e),s.reject(e)),s.resolve(e)}).fail(function(e){t.errare("self.doAjax : failed ajax error for : "+n.action,e),s.reject(e)}),s.promise()))):(t.errare("self.doAjax => error => !api.isLinkPreviewable for action "+n.action,o),s.resolve().promise())},isModuleRegistered:function(e){return sekPreviewLocalized.registeredModules&&!l.isUndefined(sekPreviewLocalized.registeredModules[e])},getRegisteredModuleProperty:function(e,t){return this.isModuleRegistered(e)?sekPreviewLocalized.registeredModules[e][t]:"not_set"},getLevelModel:function(t,e){var a=this,i="no_match";return l.isUndefined(e)&&a.errare("getLevelModel => a collection must be provided"),l.each(e,function(e){"no_match"==i&&(t===e.id?i=e:l.isArray(e.collection)&&(i=a.getLevelModel(t,e.collection)))}),i}})}(wp.customize,jQuery,_);SekPreviewPrototype=SekPreviewPrototype||{};!function(e,t,a){t.extend(SekPreviewPrototype,e.Events);var i=e.Class.extend(SekPreviewPrototype);e.bind("preview-ready",function(){e.preview.bind("active",function(){try{e.sekPreview=new i}catch(e){SekPreviewPrototype.errare("SekPreviewConstructor => problem on instantiation",e)}})})}(wp.customize,jQuery,_);
|
assets/front/css/modules/menu-module.css
CHANGED
@@ -580,6 +580,10 @@ li.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {
|
|
580 |
padding: 15px;
|
581 |
}
|
582 |
|
|
|
|
|
|
|
|
|
583 |
[data-sek-module-type="czr_menu_module"] .nb-search-expand .nb-search-expand-inner [role=search].search-form {
|
584 |
display: -ms-flexbox;
|
585 |
display: flex;
|
580 |
padding: 15px;
|
581 |
}
|
582 |
|
583 |
+
.nb-search-expand .nb-search-expand-inner [role=search].search-form label::after {
|
584 |
+
content: none;
|
585 |
+
}
|
586 |
+
|
587 |
[data-sek-module-type="czr_menu_module"] .nb-search-expand .nb-search-expand-inner [role=search].search-form {
|
588 |
display: -ms-flexbox;
|
589 |
display: flex;
|
assets/front/css/modules/menu-module.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.sek-nav-wrap{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:.5rem 0}.sek-mobile-menu-expanded-below .sek-nav-wrap{padding:0}.sek-nav-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.sek-nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.sek-module .sek-module-inner .sek-nav{margin-right:-10px!important;margin-left:-10px!important}.sek-module .sek-module-inner .sek-nav,.sek-module .sek-module-inner .sek-nav ul{list-style:none!important;padding:0!important;margin:0!important}.sek-module .sek-module-inner .sek-nav li{list-style:none;padding:0}.sek-module .sek-module-inner .sek-nav li>ul li{padding:0}.sek-nav li{font-size:16px}.sek-nav li a{line-height:1.5em;padding:.6em .8em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:inherit;overflow:hidden}.sek-nav-wrap .sek-nav li a{text-decoration:none}.sek-nav li a:hover .sek-nav__title{text-decoration:underline}.sek-nav li:not(:last-of-type){border-bottom:1px solid;border-color:rgba(49,49,49,.09)}.sek-nav .menu-item-has-children,.sek-nav .page_item_has_children{position:relative}.sek-nav .menu-item-has-children>a::after,.sek-nav .page_item_has_children>a::after{content:"\203A";font-family:"Arial Unicode MS",Arial;moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:none;font-style:normal;font-variant:normal;text-rendering:auto;font-weight:900;transition:all .3s ease;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px;padding:0 .45em;font-size:1em;position:relative;-webkit-transform:translateZ(0) rotate(90deg);transform:translateZ(0) rotate(90deg);-ms-transform:rotate(90deg)}.sek-nav .menu-item-has-children.show>a::after,.sek-nav .page_item_has_children.show>a::after{-webkit-transform:translateZ(0) rotate(-90deg)!important;transform:translateZ(0) rotate(-90deg)!important;-ms-transform:rotate(-90deg)!important}.sek-nav .children,.sek-nav .sub-menu{position:static;float:none;list-style:none;border-radius:0;border:0;margin:0;padding:0;font-size:inherit}@media (min-width:768px){.sek-nav .children,.sek-nav .sub-menu{position:absolute;display:none;top:100%;left:0;z-index:1000;min-width:10rem;max-width:50vw}}@media (min-width:768px){.sek-nav{-ms-flex-direction:row;flex-direction:row}.sek-nav .menu-item-has-children>a::after,.sek-nav .page_item_has_children>a::after{display:inline-block}.sek-nav>li:not(:last-of-type){border-bottom:none}.sek-nav>li>a{padding:5px}.sek-module .sek-module-inner .sek-nav li{margin:0 5px}.sek-module .sek-module-inner .sek-nav li>ul li{padding:0 0 0 .9rem}.sek-nav-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto;justify-content:flex-end;-webkit-box-pack:end;-ms-flex-pack:end}.sek-mobile-menu-expanded-below{display:none!important}.sek-nav-toggler{display:none}.sek-dropdown-menu{background:#fff;box-shadow:1px 2px 2px 2px rgba(0,0,0,.15)}.sek-nav .sek-dropdown-menu li{padding:0 10px!important;margin:0!important}.sek-nav .sek-dropdown-menu li a{padding:10px 12px}.sek-dropdown-menu ul{left:100%}.sek-dropdown-menu .sek-menu-link__row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.sek-dropdown-menu .sek-nav__title{word-break:normal;white-space:nowrap}.sek-dropdown-submenu .sek-dropdown-menu{top:15px}.sek-submenu-fade .sek-dropdown-menu a{transition:all .25s ease;-webkit-transform:translate(0,0);transform:translate(0,0)}.sek-submenu-fade .sek-dropdown-menu a:hover{-webkit-transform:translate(3px,0);transform:translate(3px,0)}.sek-submenu-fade .menu-item-has-children,.sek-submenu-fade .page_item_has_children{-webkit-perspective:1000px;perspective:1000px}.sek-submenu-fade .menu-item-has-children>ul,.sek-submenu-fade .page_item_has_children>ul{position:fixed;opacity:0;visibility:hidden;display:block;transition:all .25s ease-in-out;-webkit-transform:translate(0,-10px);transform:translate(0,-10px)}.sek-submenu-fade .menu-item-has-children:not(.show),.sek-submenu-fade .page_item_has_children:not(.show){overflow:hidden}.sek-submenu-fade .menu-item-has-children:not(.show) ul,.sek-submenu-fade .page_item_has_children:not(.show) ul{pointer-events:none;cursor:not-allowed}.sek-submenu-fade li.show{-webkit-perspective:none;perspective:none}.sek-submenu-fade li.show>ul{position:absolute;visibility:visible;opacity:1;-webkit-transform:translate(0,0);transform:translate(0,0)}.nb-collapsible-mobile-menu .nb-dd-mm-toggle-wrapper{display:none}}.sek-dropdown-submenu>a::after{-webkit-transform:translateZ(0) rotate(0)!important;transform:translateZ(0) rotate(0)!important;-ms-transform:rotate(0)!important}.sek-dropdown-submenu>a[class*=-reverse]::after{top:.1em;-webkit-transform:translateZ(0) rotate(-180deg)!important;transform:translateZ(0) rotate(-180deg)!important;-ms-transform:rotate(-180deg)!important}.sek-dropdown-menu{position:static;float:none;list-style:none;border-radius:0;border:0;margin:0;padding:0;font-size:inherit}@media (min-width:768px){.sek-dropdown-menu{position:absolute;display:none;top:100%;left:0;z-index:1000;min-width:10rem;max-width:50vw}}.show>.sek-dropdown-menu{display:block}.sek-dropdown-menu .sek-nav .sek-nav__title{word-break:break-word;white-space:normal}.sek-dropdown-menu.open-right{left:0;right:auto}.sek-dropdown-menu ul.open-right,.sek-dropdown-menu.open-right ul:not(.open-left){left:100%;right:auto;top:0}.sek-dropdown-menu.open-left{left:auto;right:0}.sek-dropdown-menu ul.open-left,.sek-dropdown-menu.open-left ul:not(.open-right){right:100%;left:auto}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded]{overflow:auto;max-height:80vh;padding-bottom:10px}nav.nb-collapsible-mobile-menu li .sub-menu li a{font-size:.88em}nav.nb-collapsible-mobile-menu li .sub-menu li>a{padding:.6em 32px}nav.nb-collapsible-mobile-menu li .sub-menu li li>a{padding:.6em 60px}nav.nb-collapsible-mobile-menu li .sub-menu li li li>a{padding:.6em 80px}nav.nb-collapsible-mobile-menu li .sub-menu li li li li>a{padding:.6em 100px}nav.nb-collapsible-mobile-menu [data-sek-mm-state]{display:none}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded]{display:block}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded],nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] li,nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] ul{background:#fff}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .sub-menu,nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] li{position:relative}[data-sek-is-mobile-vertical-menu=yes] .sek-nav li a{min-height:45px;box-sizing:border-box;justify-content:flex-start;-webkit-box-pack:start;-ms-flex-pack:start}[data-sek-is-mobile-vertical-menu=yes] .sub-menu{display:none}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .sub-menu{display:none}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .sub-menu.expanded{display:block}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .menu-item-has-children>a,nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .page_item_has_children>a{padding-right:60px}.nb-dd-mm-toggle-wrapper{position:absolute;top:1px;right:0;text-align:center;line-height:1;bottom:1px;height:45px;width:60px}.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .nb-dd-mm-toggle-wrapper{display:block}.nb-dd-mm-toggle{background:0 0!important;-webkit-appearance:none;outline:0;border:none;padding:0;cursor:pointer;display:block;height:45px;width:60px;box-sizing:border-box;overflow:hidden}.nb-dd-mm-toggle i{display:block;transition:all .3s ease;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;color:#000}li.expanded>.nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.nb-arrow-for-mobile-menu::after{content:"\25BE";font-family:"Arial Unicode MS",Arial;moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;font-weight:900;transition:all .3s ease;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px;padding:0 .45em;font-size:18px;line-height:45px;position:relative}.nb-loc .sek-module-inner nav .sek-nav-toggler{-webkit-appearance:none!important;cursor:pointer;height:40px;width:40px;padding:0;vertical-align:middle}.nb-loc .sek-module-inner nav .sek-nav-toggler,.nb-loc .sek-module-inner nav .sek-nav-toggler:focus,.nb-loc .sek-module-inner nav .sek-nav-toggler:hover{background:0 0;background-color:rgba(0,0,0,0);color:#000;outline:0;border:none}.sek-ham__span-wrapper{height:12px;position:relative;display:block}.sek-ham__span-wrapper .line{display:block;height:1.5px;position:absolute;left:10px;border-radius:5px;background-clip:padding-box;transition:all ease .35s;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-top:1.5px solid}.sek-ham__span-wrapper .line-1{top:0}.sek-ham__span-wrapper .line-2{top:50%}.sek-ham__span-wrapper .line-3{top:100%}.sek-nav-toggler .line-1{-webkit-transform:translate(-3px,6px) rotate(45deg);transform:translate(-3px,6px) rotate(45deg);width:28px}.sek-nav-toggler .line-2{opacity:0}.sek-nav-toggler .line-3{-webkit-transform:translate(-3px,-6px) rotate(-45deg);transform:translate(-3px,-6px) rotate(-45deg);width:28px}.sek-nav-toggler.sek-collapsed .line{width:20px;-webkit-transform:translate(0,0) rotate(0);transform:translate(0,0) rotate(0);opacity:1}.sek-nav-toggler.sek-collapsed.hovering .line{-webkit-transform:translateX(-3px);transform:translateX(-3px);width:26px}.nb-module-menu-search{position:relative}[data-sek-is-mobile-vertical-menu=yes] .nb-module-menu-search{display:none}.nb-svg-search-icon{cursor:pointer;padding:0}.nb-module-menu-search .nb-search-expand{display:none;background:#fff;position:absolute;z-index:100;top:49px;right:0;left:0;width:340px;box-shadow:0 1px 0 rgba(255,255,255,.1)}.nb-search-expand .nb-search-expand-inner{border:1px solid #eee;box-shadow:0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.15);transition:-webkit-transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;transition:height .25s ease-in-out,background-color .45s ease-in-out,-webkit-transform .35s ease-in-out;transition:transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;transition:transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out,-webkit-transform .35s ease-in-out;padding:15px}[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner [role=search].search-form{display:-ms-flexbox;display:flex;float:none}[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner label input[type=search]{max-width:100%}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search form input[type=submit],[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner input[type=submit]{margin:0;background:grey!important;color:#fff;font-size:16px;padding:10px 10px;font-weight:400;display:inline-block;border:none;cursor:pointer;border-radius:3px}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search form input[type=submit],[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search input[type=search],[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner input[type=search],[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner input[type=submit]{text-transform:none!important}.nb-mobile-search{display:none}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search{display:block;padding:6px 14px 15px}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search input{font-size:16px}.nb-mobile-search input[type=search],.nb-search-expand-inner input[type=search]{color:#000!important}.nb-mobile-search input[type=submit],.nb-search-expand-inner input[type=submit]{color:#fff!important}
|
1 |
+
.sek-nav-wrap{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;padding:.5rem 0}.sek-mobile-menu-expanded-below .sek-nav-wrap{padding:0}.sek-nav-collapse{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.sek-nav{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column}.sek-module .sek-module-inner .sek-nav{margin-right:-10px!important;margin-left:-10px!important}.sek-module .sek-module-inner .sek-nav,.sek-module .sek-module-inner .sek-nav ul{list-style:none!important;padding:0!important;margin:0!important}.sek-module .sek-module-inner .sek-nav li{list-style:none;padding:0}.sek-module .sek-module-inner .sek-nav li>ul li{padding:0}.sek-nav li{font-size:16px}.sek-nav li a{line-height:1.5em;padding:.6em .8em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:inherit;overflow:hidden}.sek-nav-wrap .sek-nav li a{text-decoration:none}.sek-nav li a:hover .sek-nav__title{text-decoration:underline}.sek-nav li:not(:last-of-type){border-bottom:1px solid;border-color:rgba(49,49,49,.09)}.sek-nav .menu-item-has-children,.sek-nav .page_item_has_children{position:relative}.sek-nav .menu-item-has-children>a::after,.sek-nav .page_item_has_children>a::after{content:"\203A";font-family:"Arial Unicode MS",Arial;moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:none;font-style:normal;font-variant:normal;text-rendering:auto;font-weight:900;transition:all .3s ease;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px;padding:0 .45em;font-size:1em;position:relative;-webkit-transform:translateZ(0) rotate(90deg);transform:translateZ(0) rotate(90deg);-ms-transform:rotate(90deg)}.sek-nav .menu-item-has-children.show>a::after,.sek-nav .page_item_has_children.show>a::after{-webkit-transform:translateZ(0) rotate(-90deg)!important;transform:translateZ(0) rotate(-90deg)!important;-ms-transform:rotate(-90deg)!important}.sek-nav .children,.sek-nav .sub-menu{position:static;float:none;list-style:none;border-radius:0;border:0;margin:0;padding:0;font-size:inherit}@media (min-width:768px){.sek-nav .children,.sek-nav .sub-menu{position:absolute;display:none;top:100%;left:0;z-index:1000;min-width:10rem;max-width:50vw}}@media (min-width:768px){.sek-nav{-ms-flex-direction:row;flex-direction:row}.sek-nav .menu-item-has-children>a::after,.sek-nav .page_item_has_children>a::after{display:inline-block}.sek-nav>li:not(:last-of-type){border-bottom:none}.sek-nav>li>a{padding:5px}.sek-module .sek-module-inner .sek-nav li{margin:0 5px}.sek-module .sek-module-inner .sek-nav li>ul li{padding:0 0 0 .9rem}.sek-nav-collapse{display:-ms-flexbox!important;display:flex!important;-ms-flex-preferred-size:auto;flex-basis:auto;justify-content:flex-end;-webkit-box-pack:end;-ms-flex-pack:end}.sek-mobile-menu-expanded-below{display:none!important}.sek-nav-toggler{display:none}.sek-dropdown-menu{background:#fff;box-shadow:1px 2px 2px 2px rgba(0,0,0,.15)}.sek-nav .sek-dropdown-menu li{padding:0 10px!important;margin:0!important}.sek-nav .sek-dropdown-menu li a{padding:10px 12px}.sek-dropdown-menu ul{left:100%}.sek-dropdown-menu .sek-menu-link__row-reverse{-ms-flex-direction:row-reverse!important;flex-direction:row-reverse!important}.sek-dropdown-menu .sek-nav__title{word-break:normal;white-space:nowrap}.sek-dropdown-submenu .sek-dropdown-menu{top:15px}.sek-submenu-fade .sek-dropdown-menu a{transition:all .25s ease;-webkit-transform:translate(0,0);transform:translate(0,0)}.sek-submenu-fade .sek-dropdown-menu a:hover{-webkit-transform:translate(3px,0);transform:translate(3px,0)}.sek-submenu-fade .menu-item-has-children,.sek-submenu-fade .page_item_has_children{-webkit-perspective:1000px;perspective:1000px}.sek-submenu-fade .menu-item-has-children>ul,.sek-submenu-fade .page_item_has_children>ul{position:fixed;opacity:0;visibility:hidden;display:block;transition:all .25s ease-in-out;-webkit-transform:translate(0,-10px);transform:translate(0,-10px)}.sek-submenu-fade .menu-item-has-children:not(.show),.sek-submenu-fade .page_item_has_children:not(.show){overflow:hidden}.sek-submenu-fade .menu-item-has-children:not(.show) ul,.sek-submenu-fade .page_item_has_children:not(.show) ul{pointer-events:none;cursor:not-allowed}.sek-submenu-fade li.show{-webkit-perspective:none;perspective:none}.sek-submenu-fade li.show>ul{position:absolute;visibility:visible;opacity:1;-webkit-transform:translate(0,0);transform:translate(0,0)}.nb-collapsible-mobile-menu .nb-dd-mm-toggle-wrapper{display:none}}.sek-dropdown-submenu>a::after{-webkit-transform:translateZ(0) rotate(0)!important;transform:translateZ(0) rotate(0)!important;-ms-transform:rotate(0)!important}.sek-dropdown-submenu>a[class*=-reverse]::after{top:.1em;-webkit-transform:translateZ(0) rotate(-180deg)!important;transform:translateZ(0) rotate(-180deg)!important;-ms-transform:rotate(-180deg)!important}.sek-dropdown-menu{position:static;float:none;list-style:none;border-radius:0;border:0;margin:0;padding:0;font-size:inherit}@media (min-width:768px){.sek-dropdown-menu{position:absolute;display:none;top:100%;left:0;z-index:1000;min-width:10rem;max-width:50vw}}.show>.sek-dropdown-menu{display:block}.sek-dropdown-menu .sek-nav .sek-nav__title{word-break:break-word;white-space:normal}.sek-dropdown-menu.open-right{left:0;right:auto}.sek-dropdown-menu ul.open-right,.sek-dropdown-menu.open-right ul:not(.open-left){left:100%;right:auto;top:0}.sek-dropdown-menu.open-left{left:auto;right:0}.sek-dropdown-menu ul.open-left,.sek-dropdown-menu.open-left ul:not(.open-right){right:100%;left:auto}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded]{overflow:auto;max-height:80vh;padding-bottom:10px}nav.nb-collapsible-mobile-menu li .sub-menu li a{font-size:.88em}nav.nb-collapsible-mobile-menu li .sub-menu li>a{padding:.6em 32px}nav.nb-collapsible-mobile-menu li .sub-menu li li>a{padding:.6em 60px}nav.nb-collapsible-mobile-menu li .sub-menu li li li>a{padding:.6em 80px}nav.nb-collapsible-mobile-menu li .sub-menu li li li li>a{padding:.6em 100px}nav.nb-collapsible-mobile-menu [data-sek-mm-state]{display:none}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded]{display:block}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded],nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] li,nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] ul{background:#fff}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .sub-menu,nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] li{position:relative}[data-sek-is-mobile-vertical-menu=yes] .sek-nav li a{min-height:45px;box-sizing:border-box;justify-content:flex-start;-webkit-box-pack:start;-ms-flex-pack:start}[data-sek-is-mobile-vertical-menu=yes] .sub-menu{display:none}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .sub-menu{display:none}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .sub-menu.expanded{display:block}nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .menu-item-has-children>a,nav.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .page_item_has_children>a{padding-right:60px}.nb-dd-mm-toggle-wrapper{position:absolute;top:1px;right:0;text-align:center;line-height:1;bottom:1px;height:45px;width:60px}.nb-collapsible-mobile-menu [data-sek-mm-state=expanded] .nb-dd-mm-toggle-wrapper{display:block}.nb-dd-mm-toggle{background:0 0!important;-webkit-appearance:none;outline:0;border:none;padding:0;cursor:pointer;display:block;height:45px;width:60px;box-sizing:border-box;overflow:hidden}.nb-dd-mm-toggle i{display:block;transition:all .3s ease;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;color:#000}li.expanded>.nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.nb-arrow-for-mobile-menu::after{content:"\25BE";font-family:"Arial Unicode MS",Arial;moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;text-rendering:auto;font-weight:900;transition:all .3s ease;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px;padding:0 .45em;font-size:18px;line-height:45px;position:relative}.nb-loc .sek-module-inner nav .sek-nav-toggler{-webkit-appearance:none!important;cursor:pointer;height:40px;width:40px;padding:0;vertical-align:middle}.nb-loc .sek-module-inner nav .sek-nav-toggler,.nb-loc .sek-module-inner nav .sek-nav-toggler:focus,.nb-loc .sek-module-inner nav .sek-nav-toggler:hover{background:0 0;background-color:rgba(0,0,0,0);color:#000;outline:0;border:none}.sek-ham__span-wrapper{height:12px;position:relative;display:block}.sek-ham__span-wrapper .line{display:block;height:1.5px;position:absolute;left:10px;border-radius:5px;background-clip:padding-box;transition:all ease .35s;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-top:1.5px solid}.sek-ham__span-wrapper .line-1{top:0}.sek-ham__span-wrapper .line-2{top:50%}.sek-ham__span-wrapper .line-3{top:100%}.sek-nav-toggler .line-1{-webkit-transform:translate(-3px,6px) rotate(45deg);transform:translate(-3px,6px) rotate(45deg);width:28px}.sek-nav-toggler .line-2{opacity:0}.sek-nav-toggler .line-3{-webkit-transform:translate(-3px,-6px) rotate(-45deg);transform:translate(-3px,-6px) rotate(-45deg);width:28px}.sek-nav-toggler.sek-collapsed .line{width:20px;-webkit-transform:translate(0,0) rotate(0);transform:translate(0,0) rotate(0);opacity:1}.sek-nav-toggler.sek-collapsed.hovering .line{-webkit-transform:translateX(-3px);transform:translateX(-3px);width:26px}.nb-module-menu-search{position:relative}[data-sek-is-mobile-vertical-menu=yes] .nb-module-menu-search{display:none}.nb-svg-search-icon{cursor:pointer;padding:0}.nb-module-menu-search .nb-search-expand{display:none;background:#fff;position:absolute;z-index:100;top:49px;right:0;left:0;width:340px;box-shadow:0 1px 0 rgba(255,255,255,.1)}.nb-search-expand .nb-search-expand-inner{border:1px solid #eee;box-shadow:0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.15);transition:-webkit-transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;transition:height .25s ease-in-out,background-color .45s ease-in-out,-webkit-transform .35s ease-in-out;transition:transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;transition:transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out,-webkit-transform .35s ease-in-out;padding:15px}.nb-search-expand .nb-search-expand-inner [role=search].search-form label::after{content:none}[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner [role=search].search-form{display:-ms-flexbox;display:flex;float:none}[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner label input[type=search]{max-width:100%}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search form input[type=submit],[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner input[type=submit]{margin:0;background:grey!important;color:#fff;font-size:16px;padding:10px 10px;font-weight:400;display:inline-block;border:none;cursor:pointer;border-radius:3px}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search form input[type=submit],[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search input[type=search],[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner input[type=search],[data-sek-module-type=czr_menu_module] .nb-search-expand .nb-search-expand-inner input[type=submit]{text-transform:none!important}.nb-mobile-search{display:none}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search{display:block;padding:6px 14px 15px}[data-sek-is-mobile-vertical-menu=yes] .nb-mobile-search input{font-size:16px}.nb-mobile-search input[type=search],.nb-search-expand-inner input[type=search]{color:#000!important}.nb-mobile-search input[type=submit],.nb-search-expand-inner input[type=submit]{color:#fff!important}
|
assets/front/css/modules/post-grid-module.css
CHANGED
@@ -18,6 +18,10 @@
|
|
18 |
margin-bottom: 10px;
|
19 |
}
|
20 |
|
|
|
|
|
|
|
|
|
21 |
.sek-post-grid-wrapper .sek-grid-items article > :first-child {
|
22 |
margin-top: 0 !important;
|
23 |
}
|
@@ -55,9 +59,12 @@
|
|
55 |
}
|
56 |
|
57 |
.sek-post-grid-wrapper .sek-pg-thumbnail {
|
58 |
-
|
59 |
-
background-color: #fff;
|
60 |
overflow: hidden;
|
|
|
|
|
|
|
|
|
61 |
border-radius: 4px;
|
62 |
}
|
63 |
|
@@ -72,6 +79,10 @@
|
|
72 |
height: auto;
|
73 |
}
|
74 |
|
|
|
|
|
|
|
|
|
75 |
.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {
|
76 |
height: 0;
|
77 |
padding-top: 65%;
|
@@ -276,6 +287,29 @@
|
|
276 |
-ms-grid-column: 3;
|
277 |
}
|
278 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
.sek-post-navigation #sek-nav-below {
|
280 |
background-color: #f7f8f9;
|
281 |
margin-top: 20px;
|
18 |
margin-bottom: 10px;
|
19 |
}
|
20 |
|
21 |
+
.sek-post-grid-wrapper .sek-grid-items article {
|
22 |
+
overflow: hidden;
|
23 |
+
}
|
24 |
+
|
25 |
.sek-post-grid-wrapper .sek-grid-items article > :first-child {
|
26 |
margin-top: 0 !important;
|
27 |
}
|
59 |
}
|
60 |
|
61 |
.sek-post-grid-wrapper .sek-pg-thumbnail {
|
62 |
+
background: inherit;
|
|
|
63 |
overflow: hidden;
|
64 |
+
}
|
65 |
+
|
66 |
+
.sek-post-grid-wrapper .sek-pg-thumbnail img {
|
67 |
+
box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
|
68 |
border-radius: 4px;
|
69 |
}
|
70 |
|
79 |
height: auto;
|
80 |
}
|
81 |
|
82 |
+
.sek-post-grid-wrapper.nb-thumb-box-shadow article .sek-pg-thumbnail img {
|
83 |
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
|
84 |
+
}
|
85 |
+
|
86 |
.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {
|
87 |
height: 0;
|
88 |
padding-top: 65%;
|
287 |
-ms-grid-column: 3;
|
288 |
}
|
289 |
|
290 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items.nb-masonry-grid-images-loaded {
|
291 |
+
grid-auto-rows: 5px;
|
292 |
+
}
|
293 |
+
|
294 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items article {
|
295 |
+
overflow: hidden;
|
296 |
+
}
|
297 |
+
|
298 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail a {
|
299 |
+
height: auto;
|
300 |
+
padding-top: 0;
|
301 |
+
}
|
302 |
+
|
303 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail img {
|
304 |
+
position: relative;
|
305 |
+
height: auto;
|
306 |
+
width: 100%;
|
307 |
+
}
|
308 |
+
|
309 |
+
.sek-module-inner .nb-item-box-shadow .sek-grid-items article {
|
310 |
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
|
311 |
+
}
|
312 |
+
|
313 |
.sek-post-navigation #sek-nav-below {
|
314 |
background-color: #f7f8f9;
|
315 |
margin-top: 20px;
|
assets/front/css/modules/post-grid-module.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.sek-post-grid-wrapper{margin-top:1.5rem;margin-bottom:1.5rem}.sek-post-grid-wrapper .sek-grid-items{grid-row-gap:25px}.sek-post-grid-wrapper .sek-grid-items.sek-list-layout article>:not(:last-child):not(.sek-pg-thumbnail){margin-bottom:10px}.sek-post-grid-wrapper .sek-grid-items.sek-grid-layout article>:not(:last-child){margin-bottom:10px}.sek-post-grid-wrapper .sek-grid-items article>:first-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article>:last-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article>:not(:last-child){margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content>:not(:last-child){margin-top:0!important;margin-bottom:10px}.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content>:first-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content>:last-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article{box-shadow:0 0 40px 0 rgba(0,0,0,.05);transition:all .3s cubic-bezier(.25,.8,.25,1)}.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article:hover{-webkit-transform:translateY(-4px);transform:translateY(-4px);box-shadow:0 14px 28px rgba(0,0,0,.18),0 10px 10px rgba(0,0,0,.15)}.sek-post-grid-wrapper .sek-pg-thumbnail{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);
|
1 |
+
.sek-post-grid-wrapper{margin-top:1.5rem;margin-bottom:1.5rem}.sek-post-grid-wrapper .sek-grid-items{grid-row-gap:25px}.sek-post-grid-wrapper .sek-grid-items.sek-list-layout article>:not(:last-child):not(.sek-pg-thumbnail){margin-bottom:10px}.sek-post-grid-wrapper .sek-grid-items.sek-grid-layout article>:not(:last-child){margin-bottom:10px}.sek-post-grid-wrapper .sek-grid-items article{overflow:hidden}.sek-post-grid-wrapper .sek-grid-items article>:first-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article>:last-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article>:not(:last-child){margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content>:not(:last-child){margin-top:0!important;margin-bottom:10px}.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content>:first-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content>:last-child{margin-top:0!important}.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article{box-shadow:0 0 40px 0 rgba(0,0,0,.05);transition:all .3s cubic-bezier(.25,.8,.25,1)}.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article:hover{-webkit-transform:translateY(-4px);transform:translateY(-4px);box-shadow:0 14px 28px rgba(0,0,0,.18),0 10px 10px rgba(0,0,0,.15)}.sek-post-grid-wrapper .sek-pg-thumbnail{background:inherit;overflow:hidden}.sek-post-grid-wrapper .sek-pg-thumbnail img{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);border-radius:4px}.sek-post-grid-wrapper .sek-pg-thumbnail a{display:block;position:relative}.sek-post-grid-wrapper .sek-pg-thumbnail img{display:block;width:100%;height:auto}.sek-post-grid-wrapper.nb-thumb-box-shadow article .sek-pg-thumbnail img{box-shadow:0 3px 8px rgba(0,0,0,.2)}.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a{height:0;padding-top:65%}@media all and (-ms-high-contrast:none){.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a{height:auto!important;padding-top:inherit!important}}.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail img{position:absolute;height:100%;width:100%;max-height:none;max-width:none;top:0;left:0;right:0;bottom:0;-o-object-fit:cover;object-fit:cover}@media all and (-ms-high-contrast:none){.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail img{height:auto!important;position:relative}}.sek-post-grid-wrapper .sek-pg-metas>span:not(:last-child)::after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.sek-post-grid-wrapper .sek-pg-content{text-align:left}.sek-post-grid-wrapper .sek-excerpt>:last-child{margin-bottom:0}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category{line-height:1.2em;color:#767676}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category a{text-transform:uppercase;font-size:13px;text-decoration:none;color:#767676}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category a:hover{color:inherit;text-decoration:underline}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title{font-size:28px;line-height:1.1em}@media (max-width:991.98px){.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title{font-size:22px}}@media (max-width:575.98px){.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title{font-size:20px}}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a{text-decoration:none;color:#121212;font-size:28px;font-weight:400;line-height:1.1em;-ms-word-wrap:break-word;word-wrap:break-word}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a:hover{color:#666}@media (max-width:991.98px){.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a{font-size:22px}}@media (max-width:575.98px){.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a{font-size:20px}}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas{line-height:1.2em}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas a,.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas span{text-transform:uppercase;font-size:13px;letter-spacing:1px;color:#767676}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas a:hover{text-decoration:underline;color:inherit}.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-content p{margin:0 0 10px 0;line-height:1.3em;font-size:14px;color:#555}.sek-post-grid-wrapper .sek-list-layout{display:-ms-grid;display:grid;-ms-grid-columns:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}@media all and (-ms-high-contrast:none){.sek-post-grid-wrapper .sek-list-layout{display:block!important}}.sek-post-grid-wrapper .sek-list-layout article{display:-ms-grid;display:grid;-ms-grid-columns:minmax(0,1fr);grid-template-columns:minmax(0,1fr);-ms-grid-rows:1fr;grid-template-rows:1fr;grid-column-gap:20px}@media all and (-ms-high-contrast:none){.sek-post-grid-wrapper .sek-list-layout article{display:block!important;padding-top:10px}}.sek-post-grid-wrapper .sek-list-layout article>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.sek-post-grid-wrapper .sek-list-layout article.sek-has-thumb{-ms-grid-columns:30% minmax(0,1fr);grid-template-columns:30% minmax(0,1fr)}.sek-post-grid-wrapper .sek-list-layout article .sek-pg-thumbnail{margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start}.sek-post-grid-wrapper .sek-grid-layout{display:-ms-grid;display:grid;-ms-grid-columns:1fr 20px 1fr;grid-template-columns:1fr 1fr;-ms-grid-rows:1fr;grid-template-rows:1fr;grid-row-gap:20px;grid-column-gap:20px}@media all and (-ms-high-contrast:none){.sek-post-grid-wrapper .sek-grid-layout{display:block!important}}.sek-post-grid-wrapper .sek-grid-layout>:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.sek-post-grid-wrapper .sek-grid-layout>:nth-child(2){-ms-grid-row:1;-ms-grid-column:3}.sek-module-inner .nb-masonry-post-grid .sek-grid-items.nb-masonry-grid-images-loaded{grid-auto-rows:5px}.sek-module-inner .nb-masonry-post-grid .sek-grid-items article{overflow:hidden}.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail a{height:auto;padding-top:0}.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail img{position:relative;height:auto;width:100%}.sek-module-inner .nb-item-box-shadow .sek-grid-items article{box-shadow:0 3px 8px rgba(0,0,0,.2)}.sek-post-navigation #sek-nav-below{background-color:#f7f8f9;margin-top:20px;padding:5px}.sek-post-navigation #sek-nav-below .sek-pagination{text-align:center}.sek-post-navigation #sek-nav-below .sek-pagination ul{display:inline-block;vertical-align:middle;margin:0}.sek-post-navigation #sek-nav-below .sek-pagination .page-numbers{font-family:inherit;opacity:.7;text-decoration:none!important}.sek-post-navigation #sek-nav-below .sek-pagination .current{font-weight:600;opacity:1}.sek-post-navigation #sek-nav-below .sek-pagination .sek-pag-list>*{margin:0 5px}.sek-post-navigation #sek-nav-below .sek-pagination .sek-pag-list{margin:0 -5px}.sek-post-navigation #sek-nav-below nav{padding-top:20px;padding-bottom:20px}.sek-post-navigation #sek-nav-below ul.sek-czr-pager{margin:0}.sek-post-navigation #sek-nav-below li{display:inline-block;font-size:16px}.sek-post-navigation #sek-nav-below .sek-meta-nav-title,.sek-post-navigation #sek-nav-below a{text-transform:uppercase;letter-spacing:2px;color:#5a5a5a}.sek-post-navigation #sek-nav-below .sek-meta-nav-title:hover,.sek-post-navigation #sek-nav-below a:hover{color:#3b3b3b;opacity:1!important}.sek-post-navigation #sek-nav-below .sek-czr-pager>li{display:block}.sek-post-navigation #sek-nav-below .sek-nav-dir{display:block}.sek-post-navigation #sek-nav-below .sek-nav-dir>a{max-width:100%}.sek-post-navigation #sek-nav-below a i.arrow{font-size:.9em}.sek-post-navigation #sek-nav-below .page-numbers,.sek-post-navigation #sek-nav-below a{font-family:inherit;line-height:30px;height:30px;display:inline-block;vertical-align:middle;transition:all .3s ease;position:relative}.sek-post-navigation #sek-nav-below .sek-meta-nav{display:-ms-flexbox;display:flex;transition:all .2s,.6s ease;opacity:.7}.sek-post-navigation #sek-nav-below a:hover .sek-meta-nav{opacity:1;text-decoration:underline}.sek-post-navigation #sek-nav-below .sek-meta-nav-title{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;font-size:.9em}
|
assets/front/css/sek-base-rtl.css
CHANGED
@@ -1653,6 +1653,10 @@ li.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {
|
|
1653 |
padding: 15px;
|
1654 |
}
|
1655 |
|
|
|
|
|
|
|
|
|
1656 |
[data-sek-module-type="czr_menu_module"] .nb-search-expand .nb-search-expand-inner [role=search].search-form {
|
1657 |
display: -ms-flexbox;
|
1658 |
display: flex;
|
@@ -2290,6 +2294,10 @@ li.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {
|
|
2290 |
margin-bottom: 10px;
|
2291 |
}
|
2292 |
|
|
|
|
|
|
|
|
|
2293 |
.sek-post-grid-wrapper .sek-grid-items article > :first-child {
|
2294 |
margin-top: 0 !important;
|
2295 |
}
|
@@ -2327,9 +2335,12 @@ li.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {
|
|
2327 |
}
|
2328 |
|
2329 |
.sek-post-grid-wrapper .sek-pg-thumbnail {
|
2330 |
-
|
2331 |
-
background-color: #fff;
|
2332 |
overflow: hidden;
|
|
|
|
|
|
|
|
|
2333 |
border-radius: 4px;
|
2334 |
}
|
2335 |
|
@@ -2344,6 +2355,10 @@ li.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {
|
|
2344 |
height: auto;
|
2345 |
}
|
2346 |
|
|
|
|
|
|
|
|
|
2347 |
.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {
|
2348 |
height: 0;
|
2349 |
padding-top: 65%;
|
@@ -2548,6 +2563,29 @@ li.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {
|
|
2548 |
-ms-grid-column: 3;
|
2549 |
}
|
2550 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2551 |
.sek-post-navigation #sek-nav-below {
|
2552 |
background-color: #f7f8f9;
|
2553 |
margin-top: 20px;
|
1653 |
padding: 15px;
|
1654 |
}
|
1655 |
|
1656 |
+
.nb-search-expand .nb-search-expand-inner [role=search].search-form label::after {
|
1657 |
+
content: none;
|
1658 |
+
}
|
1659 |
+
|
1660 |
[data-sek-module-type="czr_menu_module"] .nb-search-expand .nb-search-expand-inner [role=search].search-form {
|
1661 |
display: -ms-flexbox;
|
1662 |
display: flex;
|
2294 |
margin-bottom: 10px;
|
2295 |
}
|
2296 |
|
2297 |
+
.sek-post-grid-wrapper .sek-grid-items article {
|
2298 |
+
overflow: hidden;
|
2299 |
+
}
|
2300 |
+
|
2301 |
.sek-post-grid-wrapper .sek-grid-items article > :first-child {
|
2302 |
margin-top: 0 !important;
|
2303 |
}
|
2335 |
}
|
2336 |
|
2337 |
.sek-post-grid-wrapper .sek-pg-thumbnail {
|
2338 |
+
background: inherit;
|
|
|
2339 |
overflow: hidden;
|
2340 |
+
}
|
2341 |
+
|
2342 |
+
.sek-post-grid-wrapper .sek-pg-thumbnail img {
|
2343 |
+
box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
|
2344 |
border-radius: 4px;
|
2345 |
}
|
2346 |
|
2355 |
height: auto;
|
2356 |
}
|
2357 |
|
2358 |
+
.sek-post-grid-wrapper.nb-thumb-box-shadow article .sek-pg-thumbnail img {
|
2359 |
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
|
2360 |
+
}
|
2361 |
+
|
2362 |
.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {
|
2363 |
height: 0;
|
2364 |
padding-top: 65%;
|
2563 |
-ms-grid-column: 3;
|
2564 |
}
|
2565 |
|
2566 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items.nb-masonry-grid-images-loaded {
|
2567 |
+
grid-auto-rows: 5px;
|
2568 |
+
}
|
2569 |
+
|
2570 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items article {
|
2571 |
+
overflow: hidden;
|
2572 |
+
}
|
2573 |
+
|
2574 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail a {
|
2575 |
+
height: auto;
|
2576 |
+
padding-top: 0;
|
2577 |
+
}
|
2578 |
+
|
2579 |
+
.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail img {
|
2580 |
+
position: relative;
|
2581 |
+
height: auto;
|
2582 |
+
width: 100%;
|
2583 |
+
}
|
2584 |
+
|
2585 |
+
.sek-module-inner .nb-item-box-shadow .sek-grid-items article {
|
2586 |
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
|
2587 |
+
}
|
2588 |
+
|
2589 |
.sek-post-navigation #sek-nav-below {
|
2590 |
background-color: #f7f8f9;
|
2591 |
margin-top: 20px;
|
assets/front/css/sek-base-rtl.css.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"sources":["../scss/_1_4_reboot.scss","../scss/_1_5_base.scss","sek-base-rtl.css","../scss/_1_6_typography.scss","../scss/_1_2_variables.scss","../scss/_1_7_grid.scss","../scss/mixins/_grid.scss","../scss/mixins/_breakpoints.scss","../scss/mixins/_grid-framework.scss","../scss/_1_8_transitions.scss","../scss/mixins/_clearfix.scss","../scss/utilities/_screenreaders.scss","../scss/mixins/_screen-reader.scss","../scss/utilities/_embed.scss","../scss/_2_1_formatting.scss","../scss/mixins/_utilities.scss","../scss/_2_2_buttons.scss","../scss/_2_3_wpspecifics.scss","../scss/modules/_heading.scss","../scss/modules/_menu.scss","../scss/modules/_image.scss","../scss/modules/_special_image.scss","../scss/modules/_advanced_list.scss","../scss/modules/_divider.scss","../scss/modules/_spacer.scss","../scss/modules/_icon.scss","../scss/modules/_quote.scss","../scss/modules/_button.scss","../scss/modules/_post_grid.scss","../scss/modules/_simple_form.scss","../scss/modules/_tiny_mce_editor.scss","../scss/modules/_social_icons.scss","../scss/modules/_img_slider.scss","../scss/modules/_accordion.scss","../scss/modules/_shortcode.scss","../scss/_3_3_modules_commons.scss"],"names":[],"mappings":"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","file":"sek-base-rtl.css","sourcesContent":[null,null,"/* -------------------------------------------------------------------------- */\n/* <SCOPED RESET>\r\n/* -------------------------------------------------------------------------- */\n.sektion-wrapper *,\n.sektion-wrapper *::before,\n.sektion-wrapper *::after {\n box-sizing: border-box;\n}\n\n.sektion-wrapper span, .sektion-wrapper applet, .sektion-wrapper object, .sektion-wrapper iframe,\n.sektion-wrapper h1, .sektion-wrapper h2, .sektion-wrapper h3, .sektion-wrapper h4, .sektion-wrapper h5, .sektion-wrapper h6, .sektion-wrapper p, .sektion-wrapper blockquote, .sektion-wrapper pre,\n.sektion-wrapper a, .sektion-wrapper abbr, .sektion-wrapper acronym, .sektion-wrapper address, .sektion-wrapper big, .sektion-wrapper cite, .sektion-wrapper code,\n.sektion-wrapper del, .sektion-wrapper dfn, .sektion-wrapper em, .sektion-wrapper img, .sektion-wrapper ins, .sektion-wrapper kbd, .sektion-wrapper q, .sektion-wrapper s, .sektion-wrapper samp,\n.sektion-wrapper small, .sektion-wrapper strike, .sektion-wrapper strong, .sektion-wrapper sub, .sektion-wrapper sup, .sektion-wrapper tt, .sektion-wrapper var,\n.sektion-wrapper b, .sektion-wrapper u, .sektion-wrapper i, .sektion-wrapper center,\n.sektion-wrapper dl, .sektion-wrapper dt, .sektion-wrapper dd, .sektion-wrapper ol, .sektion-wrapper ul, .sektion-wrapper li,\n.sektion-wrapper fieldset, .sektion-wrapper form, .sektion-wrapper label, .sektion-wrapper legend,\n.sektion-wrapper table, .sektion-wrapper caption, .sektion-wrapper tbody, .sektion-wrapper tfoot, .sektion-wrapper thead, .sektion-wrapper tr, .sektion-wrapper th, .sektion-wrapper td,\n.sektion-wrapper article, .sektion-wrapper aside, .sektion-wrapper canvas, .sektion-wrapper details, .sektion-wrapper embed,\n.sektion-wrapper figure:not([class*=\"wp-block-\"]), .sektion-wrapper figcaption, .sektion-wrapper footer, .sektion-wrapper header, .sektion-wrapper hgroup,\n.sektion-wrapper menu, .sektion-wrapper nav, .sektion-wrapper output, .sektion-wrapper ruby, .sektion-wrapper section, .sektion-wrapper summary,\n.sektion-wrapper time, .sektion-wrapper mark, .sektion-wrapper audio, .sektion-wrapper video {\n border: none;\n font-size: inherit;\n line-height: inherit;\n margin: 0;\n padding: 0;\n}\n\n.sektion-wrapper blockquote::before,\n.sektion-wrapper blockquote::after, .sektion-wrapper q:before, .sektion-wrapper q:after {\n content: \"\";\n}\n\n.sektion-wrapper ol, .sektion-wrapper ul {\n list-style: none;\n}\n\n.sektion-wrapper img {\n max-width: 100%;\n vertical-align: middle;\n border-style: none;\n display: inline;\n}\n\n.sektion-wrapper svg:not(:root) {\n overflow: hidden;\n}\n\n.sektion-wrapper embed, .sektion-wrapper iframe, .sektion-wrapper object {\n max-width: 100%;\n}\n\n/* -------------------------------------------------------------------------- */\n/* </SCOPED RESET>\r\n/* -------------------------------------------------------------------------- */\n/* make sure that the location level occupies 100% of the width */\n[data-sek-level=\"location\"] {\n clear: both;\n font-size: 16px;\n}\n\n/* To make vertical alignment possible in sections */\n.sek-section, .sek-column, .sek-module {\n display: flex;\n align-items: center;\n}\n\n.sek-column-inner, .sek-module-inner {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n/* To allow horizontal centering of modules\r\n @see https://github.com/presscustomizr/nimble-builder/issues/119\r\n*/\n/* - sections in locations */\n/* - columns in sections */\n/* - modules in columns */\n.sek-column-inner {\n display: flex;\n flex-direction: column;\n}\n\n.sek-module {\n align-self: center;\n width: 100%;\n max-width: 100%;\n}\n\n/* a nested sektion should reset its parent column padding\r\n@see https://github.com/presscustomizr/nimble-builder/issues/25\r\n*/\n[data-sek-is-nested=\"true\"] .sek-container-fluid {\n padding-right: 0;\n padding-left: 0;\n}\n\n/* MODULE PLACEHOLDER */\n/*@font-face {\r\n font-family: 'Material Icons';\r\n font-style: normal;\r\n font-weight: 400;\r\n src: url('../fonts/material-icons/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');\r\n}*/\n/* @see https://github.com/google/material-design-icons/blob/master/iconfont/material-icons.css */\n.sek-module-placeholder {\n text-align: center;\n}\n\n.sek-module-placeholder .material-icons {\n font-size: inherit;\n color: #cfcfcf;\n}\n\n/* LEVEL VISIBILITY BY DEVICE */\n/* NIMBLE TEMPLATE GENERAL STYLING */\n/* <inspired by Twenty Seventeed WP theme> */\n.sek-screen-reader-text {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute !important;\n width: 1px;\n word-wrap: normal !important;\n}\n\n#nimble-page {\n position: relative;\n word-wrap: break-word;\n}\n\n/* </inspired by Twenty Seventeen WP theme> */\n/* Nimble btn in admin top bar */\n#wpadminbar .sek-nimble-icon {\n display: inline-block;\n}\n\n#wpadminbar .sek-nimble-icon img {\n width: 28px;\n position: absolute;\n top: 2px;\n -webkit-filter: grayscale(100%);\n filter: grayscale(100%);\n -webkit-filter: gray;\n filter: gray;\n -webkit-transition: all 0.3s ease-in-out;\n -moz-transition: all, 0.3s ease-in-out;\n -ms-transition: all, 0.3s ease-in-out;\n -o-transition: all, 0.3s ease-in-out;\n transition: all 0.3s ease-in-out;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n\n#wpadminbar .sek-nimble-icon:hover img {\n -webkit-filter: none;\n filter: none;\n -webkit-filter: none;\n filter: none;\n}\n\n#wpadminbar .sek-nimble-icon .sek-nimble-admin-bar-title {\n padding-left: 30px;\n}\n\n[data-sek-has-bg=\"true\"] {\n background-size: cover;\n background-repeat: no-repeat;\n background-position: 50% 50%;\n}\n\n[data-sek-level=\"location\"] [data-sek-bg-parallax=\"true\"] {\n background-attachment: fixed;\n background-size: cover;\n}\n\n[data-sek-level=\"location\"] .sek-has-bg {\n position: relative;\n}\n\n@supports (-webkit-overflow-scrolling: touch) {\n body [data-sek-level=\"location\"] [data-sek-bg-parallax=\"true\"], body [data-sek-level=\"location\"] [data-sek-bg-fixed=\"true\"] {\n background-attachment: scroll;\n }\n}\n\n[data-sek-level=\"location\"] [data-sek-level] {\n -webkit-transition: 0s linear;\n -o-transition: 0s linear;\n transition: 0s linear;\n -webkit-transition-property: background-position;\n -o-transition-property: background-position;\n transition-property: background-position;\n}\n\n.sek-module .sek-module-inner .alx-tab.thumbs-enabled > li {\n padding-left: 94px;\n}\n\n.sek-module .sek-module-inner .widget_hu_tabs ul,\n.sek-module .sek-module-inner .widget_hu_tabs ol {\n margin-left: 0;\n margin-bottom: 0;\n}\n\n.sek-module .sek-module-inner .widget_hu_tabs .alx-tabs-nav {\n margin-bottom: 10px;\n}\n\n[data-sek-level].sek-level-has-shadow {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n}\n\n.customizer-preview [data-sek-level].sek-level-has-shadow {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px !important;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px !important;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px !important;\n}\n\n[data-sek-level][data-sek-video-bg-src] {\n position: relative;\n}\n\n[data-sek-level] embed,\n[data-sek-level] iframe,\n[data-sek-level] object,\n[data-sek-level] video {\n max-width: 100%;\n width: 100%;\n margin: 0;\n line-height: 1;\n border: none;\n}\n\n[data-sek-level] .sek-custom-embed {\n line-height: 0;\n}\n\n[data-sek-level] .sek-bg-video-wrapper,\n[data-sek-level] .sek-background {\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n position: absolute !important;\n overflow: hidden;\n z-index: 0;\n direction: ltr;\n}\n\n[data-sek-level] .sek-bg-video-wrapper {\n -webkit-transition: opacity 0.5s linear;\n -o-transition: opacity 0.5s linear;\n transition: opacity 0.5s linear;\n pointer-events: none;\n opacity: 0;\n}\n\n[data-sek-level] .sek-bg-video-wrapper.sek-bg-loading {\n opacity: 0;\n visibility: hidden;\n}\n\n[data-sek-level] .sek-bg-youtube-video-wrapper, [data-sek-level] .sek-background-vimeo-element {\n max-width: none;\n}\n\n[data-sek-level] .sek-bg-youtube-video-wrapper, [data-sek-level] .sek-background-video-local, [data-sek-level] .sek-background-vimeo-element {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translateX(-50%) translateY(-50%);\n -ms-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n}\n\n[data-sek-level] .sek-background-video-local {\n -o-object-fit: cover;\n object-fit: cover;\n}\n\n.sek-module-inner .sek-debug-modules {\n margin: 1em;\n padding: 5px;\n border: 1px solid rgba(221, 221, 221, 0.43);\n box-shadow: 1px 1px 2px 0 rgba(75, 75, 85, 0.2);\n -webkit-box-shadow: 1px 1px 2px 0 rgba(75, 75, 85, 0.2);\n background-color: #fff;\n font-size: 15px;\n font-weight: normal;\n color: #6d6d6d;\n background: rgba(255, 255, 255, 0.6);\n}\n\n@media (max-width: 575px) {\n .customizer-preview [data-sek-video-bg-on-mobile=\"false\"] .sek-bg-video-wrapper {\n display: none;\n }\n}\n\n.sek-animate-candidate:not(.sek-animate-displayed-before-starting) {\n opacity: 0;\n}\n\n.sek-overflow-hidden-while-animating {\n overflow: hidden;\n}\n\n.nb-scroll-down #nimble-header:not(.sek-header-mobile-menu-expanded), .nb-scroll-up #nimble-header:not(.sek-header-mobile-menu-expanded) {\n background-color: rgba(255, 255, 255, 0.9);\n}\n\n.sek-service-font, .sek-module .sek-module-inner .sek-btn {\n font-family: sans-serif;\n}\n\n.sek-container {\n width: 100%;\n padding-right: 10px;\n padding-left: 10px;\n margin-right: auto;\n margin-left: auto;\n}\n\n@media (min-width: 576px) {\n .sek-container {\n max-width: 540px;\n }\n}\n\n@media (min-width: 768px) {\n .sek-container {\n max-width: 720px;\n }\n}\n\n@media (min-width: 992px) {\n .sek-container {\n max-width: 960px;\n }\n}\n\n@media (min-width: 1200px) {\n .sek-container {\n max-width: 1140px;\n }\n}\n\n.sek-container-fluid {\n width: 100%;\n padding-right: 10px;\n padding-left: 10px;\n margin-right: auto;\n margin-left: auto;\n}\n\n.sek-row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -10px;\n margin-left: -10px;\n}\n\n.sek-container-no-padding {\n padding-right: 0;\n padding-left: 0;\n overflow-x: hidden;\n}\n\n.sek-no-gutters {\n margin-right: 0;\n margin-left: 0;\n}\n\n.sek-no-gutters > .sek-col,\n.sek-no-gutters > [class*=\"sek-col-\"] {\n padding-right: 0;\n padding-left: 0;\n}\n\n.sek-col-8, .sek-col-9, .sek-col-10, .sek-col-11, .sek-col-12, .sek-col-14, .sek-col-16, .sek-col-20, .sek-col-25, .sek-col-30, .sek-col-33, .sek-col-40, .sek-col-50, .sek-col-60, .sek-col-66, .sek-col-70, .sek-col-75, .sek-col-80, .sek-col-83, .sek-col-90, .sek-col-100, .sek-col-base,\n.sek-col,\n.sek-col-auto {\n position: relative;\n width: 100%;\n min-height: 1px;\n padding-right: 10px;\n padding-left: 10px;\n}\n\n.sek-col-base {\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n.sek-col {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n}\n\n.sek-col-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: 100%;\n}\n\n@media (min-width: 768px) {\n .sek-col-8 {\n flex: 0 0 8.333%;\n max-width: 8.333%;\n }\n .sek-col-9 {\n flex: 0 0 9.090909%;\n max-width: 9.090909%;\n }\n .sek-col-10 {\n flex: 0 0 10%;\n max-width: 10%;\n }\n .sek-col-11 {\n flex: 0 0 11.111%;\n max-width: 11.111%;\n }\n .sek-col-12 {\n flex: 0 0 12.5%;\n max-width: 12.5%;\n }\n .sek-col-14 {\n flex: 0 0 14.285%;\n max-width: 14.285%;\n }\n .sek-col-16 {\n flex: 0 0 16.666%;\n max-width: 16.666%;\n }\n .sek-col-20 {\n flex: 0 0 20%;\n max-width: 20%;\n }\n .sek-col-25 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .sek-col-30 {\n flex: 0 0 30%;\n max-width: 30%;\n }\n .sek-col-33 {\n flex: 0 0 33.333%;\n max-width: 33.333%;\n }\n .sek-col-40 {\n flex: 0 0 40%;\n max-width: 40%;\n }\n .sek-col-50 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .sek-col-60 {\n flex: 0 0 60%;\n max-width: 60%;\n }\n .sek-col-66 {\n flex: 0 0 66.666%;\n max-width: 66.666%;\n }\n .sek-col-70 {\n flex: 0 0 70%;\n max-width: 70%;\n }\n .sek-col-75 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .sek-col-80 {\n flex: 0 0 80%;\n max-width: 80%;\n }\n .sek-col-83 {\n flex: 0 0 83.333%;\n max-width: 83.333%;\n }\n .sek-col-90 {\n flex: 0 0 90%;\n max-width: 90%;\n }\n .sek-col-100 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .sek-order-first {\n order: -1;\n }\n .sek-order-last {\n order: 13;\n }\n .sek-order-0 {\n order: 0;\n }\n .sek-order-1 {\n order: 1;\n }\n .sek-order-2 {\n order: 2;\n }\n .sek-order-3 {\n order: 3;\n }\n .sek-order-4 {\n order: 4;\n }\n .sek-order-5 {\n order: 5;\n }\n .sek-order-6 {\n order: 6;\n }\n .sek-order-7 {\n order: 7;\n }\n .sek-order-8 {\n order: 8;\n }\n .sek-order-9 {\n order: 9;\n }\n .sek-order-10 {\n order: 10;\n }\n .sek-order-11 {\n order: 11;\n }\n .sek-order-12 {\n order: 12;\n }\n}\n\n/*\r\n.sek-collapsing {\r\n position: relative;\r\n height: 0;\r\n overflow: hidden;\r\n //@include transition($transition-collapse);\r\n}*/\n.sek-clearfix::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.sek-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.sek-sr-only-focusable:active, .sek-sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n clip: auto;\n white-space: normal;\n}\n\n.sek-embed {\n position: relative;\n}\n\n.sek-embed::before {\n display: block;\n content: '';\n}\n\n.sek-embed .sek-embed-inner,\n.sek-embed iframe {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n}\n\n.sektion-wrapper {\n word-wrap: break-word;\n}\n\n.sek-text-right {\n text-align: right !important;\n}\n\n.sek-text-left {\n text-align: left !important;\n}\n\n.sek-module .sek-module-inner ul {\n list-style: disc;\n}\n\n.sek-module .sek-module-inner ol {\n list-style: decimal;\n}\n\n.sek-module .sek-module-inner ol > li::before {\n content: none;\n}\n\n.sek-module .sek-module-inner ul, .sek-module .sek-module-inner ol {\n padding: 0;\n line-height: 1.5;\n margin: 0 1.5rem 3rem 0;\n}\n\n.sek-module .sek-module-inner ul > li, .sek-module .sek-module-inner ol > li {\n padding: .15rem .25rem;\n}\n\n.sek-module .sek-module-inner li > ul, .sek-module .sek-module-inner li > ol {\n margin-bottom: 0;\n}\n\n.sek-module-inner pre code, .sek-module-inner tt {\n box-sizing: border-box;\n font-size: inherit;\n white-space: pre-wrap !important;\n background: transparent;\n border: none;\n padding: 0;\n font-family: monospace;\n}\n\n.sek-module-inner pre {\n background: #f7f8f9;\n padding: 2.5em;\n word-wrap: normal;\n white-space: pre-wrap !important;\n color: #313131;\n font-family: monospace !important;\n}\n\n.sek-module-inner figure {\n text-align: center;\n}\n\n.sek-module-inner figcaption {\n text-align: center;\n}\n\n.sek-module-inner cite {\n color: #313131;\n font-weight: 300;\n font-style: normal;\n position: relative;\n display: inline-block;\n}\n\n.sek-module-inner caption, .sek-module-inner code, .sek-module-inner code, .sek-module-inner kbd, .sek-module-inner samp, .sek-module-inner .wp-block-table.is-style-stripes tbody tr:nth-child(odd), .sek-module-inner :root .has-subtle-background-background-color {\n background-color: #dbdbdb;\n}\n\n.sek-module-inner sub {\n bottom: -0.25em;\n}\n\n.sek-module-inner sub, .sek-module-inner sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\n.sek-module-inner blockquote {\n border-right: 5px solid rgba(0, 0, 0, 0.1);\n background: none;\n font-size: 1.2em;\n font-style: inherit;\n margin-right: 0;\n margin-left: 0;\n padding: 15px;\n}\n\n.sek-module-inner table {\n width: 100%;\n border-collapse: collapse;\n /*&:not([id^=wp-calendar]) {\r\n border: 2px solid $grey-lightest;\r\n th { @extend .caps; @extend .letter-spacing-2; font-family: $serviceFont; }\r\n th, td { @extend .demi-small; padding: $base-line-height; border: 1px solid $grey-lightest; }\r\n td { color: $grey-dark; }\r\n }*/\n}\n\n@media (max-width: 767.98px) {\n .sek-module-inner table {\n table-layout: fixed;\n }\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) {\n border: 2px solid #eceeef;\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) th {\n text-transform: uppercase;\n letter-spacing: 2px;\n font-family: sans-serif;\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) th, .sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) td {\n font-size: 0.95em;\n padding: 1.25em;\n border: 1px solid #eceeef;\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) td {\n color: #777;\n}\n\n.sek-search-form {\n float: none;\n}\n\n.sek-search-form .sek-search-form-group {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n\n.sek-search-form .sek-search-form-group label {\n position: relative;\n margin-right: 5px;\n}\n\n.sek-search-form .sek-search-form-group label input[type=search] {\n max-width: 100%;\n margin: 0;\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-border-radius: 0;\n border-radius: 0;\n background: #fff;\n border: 2px solid #ddd;\n color: #777;\n display: block;\n max-width: 100%;\n padding: 7px 8px;\n padding-left: 5px;\n line-height: 1.5em;\n width: 100%;\n}\n\n.sek-search-form .sek-search-form-group [type=submit] {\n line-height: 15px;\n margin: 0;\n background: #808080 !important;\n color: #fff;\n font-size: 16px;\n padding: 10px 10px;\n font-weight: normal;\n display: inline-block;\n border: none;\n cursor: pointer;\n border-radius: 3px;\n}\n\n.sek-module .sek-module-inner .sek-btn {\n display: inline-block;\n font-weight: normal;\n line-height: 1.25em;\n text-align: center;\n /*white-space: nowrap;*/\n white-space: normal;\n word-break: break-all;\n vertical-align: middle;\n user-select: none;\n border: 1px solid transparent;\n padding: 0.5em 1em;\n border-radius: 2px;\n border-width: 2px;\n border-style: solid;\n font-size: 1em;\n cursor: pointer;\n text-decoration: none;\n text-transform: none;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n transition: all 0.2s ease-in-out;\n}\n\n.sek-module .sek-module-inner .sek-btn:focus, .sek-module .sek-module-inner .sek-btn:hover {\n text-decoration: none;\n}\n\n.sek-module .sek-module-inner .sek-btn:focus, .sek-module .sek-module-inner .focus.sek-btn {\n outline: 0;\n box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);\n}\n\n.sek-module .sek-module-inner .disabled.sek-btn, .sek-module .sek-module-inner .sek-btn:disabled {\n cursor: not-allowed;\n opacity: .65;\n box-shadow: none;\n}\n\n.sek-module .sek-module-inner .sek-btn:active, .sek-module .sek-module-inner .active.sek-btn {\n background-image: none;\n box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);\n}\n\na.sek-btn.disabled,\nfieldset[disabled] a.sek-btn {\n pointer-events: none;\n}\n\n.sektion-wrapper button,\n.sektion-wrapper [type=\"button\"],\n.sektion-wrapper [type=\"reset\"],\n.sektion-wrapper [type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n.sektion-wrapper button::-moz-focus-inner,\n.sektion-wrapper [type=\"button\"]::-moz-focus-inner,\n.sektion-wrapper [type=\"reset\"]::-moz-focus-inner,\n.sektion-wrapper [type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton.sek-btn,\n[type=\"button\"].sek-btn,\n[type=\"reset\"].sek-btn,\n[type=\"submit\"].sek-btn {\n -wekbit-appearance: none !important;\n background: transparent;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner {\n /* WP Search Widget */\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-caption figcaption {\n color: #6d6d6d;\n font-style: italic;\n max-width: 100%;\n font-size: 14px;\n font-weight: 500;\n line-height: 1.4;\n /* Keep wide captions from overflowing their container. */\n padding: 4px;\n margin-top: 1rem;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner figure {\n display: block;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-block-image .aligncenter, [data-sek-level=\"module\"] .sek-module-inner .wp-block-image .alignleft, [data-sek-level=\"module\"] .sek-module-inner .wp-block-image .alignright {\n display: table;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-block-image figcaption {\n font-size: 13px;\n text-align: center;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-block-gallery, [data-sek-level=\"module\"] .sek-module-inner ul.blocks-gallery-grid {\n margin-right: 0;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [class*=\"wp-block-\"]:not(:last-child) {\n margin-bottom: 1.5em;\n}\n\n.sek-col-100 .sek-module-inner .alignfull {\n margin-left: calc(-100vw / 2 + 100% / 2);\n margin-right: calc(-100vw / 2 + 100% / 2);\n max-width: 100vw;\n width: auto;\n}\n\n.sek-col-100 .sek-module-inner .alignwide {\n margin-left: calc((100% - 80vw) / 2);\n width: 80vw;\n max-width: 80vw;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .aligncenter, [data-sek-level=\"module\"] .sek-module-inner .aligncenter img {\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .alignleft {\n float: left;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .alignright {\n float: right;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .alignnone, [data-sek-level=\"module\"] .sek-module-inner .aligncenter, [data-sek-level=\"module\"] .sek-module-inner .alignleft, [data-sek-level=\"module\"] .sek-module-inner .alignright {\n margin-top: 1.5rem;\n margin-right: auto;\n margin-bottom: 1.5rem;\n margin-left: auto;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n max-width: 100%;\n float: left;\n}\n\n@media (max-width: 767.98px) {\n [data-sek-level=\"module\"] .sek-module-inner [role=search].search-form {\n float: none;\n }\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form label {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin-right: 5px;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form label input {\n padding-left: 5px;\n line-height: 20px;\n width: 100%;\n max-width: 185px;\n min-width: 80px;\n}\n\n@media (max-width: 767.98px) {\n [data-sek-level=\"module\"] .sek-module-inner [role=search].search-form label input {\n max-width: none;\n }\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form input[type=submit] {\n line-height: 15px;\n /*width: 25%;*/\n}\n\n[data-sek-level=\"module\"] .sek-module-inner input[type=\"submit\"] {\n background: #808080;\n color: #fff;\n padding: 10px 10px;\n font-weight: normal;\n display: inline-block;\n border: none;\n cursor: pointer;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .search-form input[type=\"search\"] {\n margin: 0;\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-border-radius: 0;\n border-radius: 0;\n background: #fff;\n border: 2px solid #ddd;\n color: #777;\n display: block;\n max-width: 100%;\n padding: 7px 8px;\n}\n\n.sektion-wrapper.sek-password-protected {\n display: flex;\n align-items: center;\n justify-content: center;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.sektion-wrapper.sek-password-protected form.post-password-form {\n max-width: 450px;\n height: auto;\n padding: 4em 1em;\n font-size: 1em;\n}\n\n.sektion-wrapper .sek-module-inner .avatar {\n border-radius: 50%;\n}\n\n.sek-next-post-link::after, .sek-previous-post-link::before {\n width: 15px;\n height: 10px;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n border-left-color: inherit;\n border-right-color: inherit;\n}\n\n.sek-previous-post-link::before {\n content: '';\n border-left: 6px solid;\n left: 7px;\n}\n\n.sek-next-post-link::after {\n content: '';\n border-right: 6px solid;\n right: 7px;\n}\n\n/*************************************\r\n* HEADING MODULE\r\n*************************************/\n.sek-module-inner .sek-heading {\n text-align: center;\n margin: 0.6em 0;\n display: block;\n}\n\n.sek-module-inner .sek-heading > a {\n color: inherit;\n font-size: inherit;\n}\n\n/*************************************\r\n* MENU MODULE\r\n*************************************/\n.sek-nav-wrap {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-end;\n padding: .5rem 0;\n}\n\n.sek-mobile-menu-expanded-below .sek-nav-wrap {\n padding: 0;\n}\n\n.sek-nav-collapse {\n flex-basis: 100%;\n flex-grow: 1;\n align-items: center;\n}\n\n.sek-nav {\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.sek-module .sek-module-inner .sek-nav {\n margin-right: -10px !important;\n margin-left: -10px !important;\n}\n\n.sek-module .sek-module-inner .sek-nav,\n.sek-module .sek-module-inner .sek-nav ul {\n list-style: none !important;\n padding: 0 !important;\n margin: 0 !important;\n}\n\n.sek-module .sek-module-inner .sek-nav li {\n list-style: none;\n padding: 0;\n}\n\n.sek-module .sek-module-inner .sek-nav li > ul li {\n padding: 0;\n}\n\n.sek-nav li {\n font-size: 16px;\n}\n\n.sek-nav li a {\n line-height: 1.5em;\n padding: .6em .8em;\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: inherit;\n overflow: hidden;\n}\n\n.sek-nav-wrap .sek-nav li a {\n text-decoration: none;\n}\n\n.sek-nav li a:hover .sek-nav__title {\n text-decoration: underline;\n}\n\n.sek-nav li:not(:last-of-type) {\n border-bottom: 1px solid;\n border-color: rgba(49, 49, 49, 0.09);\n}\n\n.sek-nav .menu-item-has-children,\n.sek-nav .page_item_has_children {\n position: relative;\n}\n\n.sek-nav .menu-item-has-children > a::after,\n.sek-nav .page_item_has_children > a::after {\n content: \"\\203A\";\n font-family: \"Arial Unicode MS\", Arial;\n moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: none;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n font-weight: 900;\n transition: all 0.3s ease;\n transform-style: preserve-3d;\n backface-visibility: hidden;\n perspective: 1000px;\n padding: 0 .45em;\n font-size: 1em;\n position: relative;\n transform: translateZ(0) rotate(90deg);\n -ms-transform: rotate(90deg);\n}\n\n.sek-nav .menu-item-has-children.show > a::after,\n.sek-nav .page_item_has_children.show > a::after {\n transform: translateZ(0) rotate(90deg) !important;\n -ms-transform: rotate(90deg) !important;\n}\n\n.sek-nav .sub-menu,\n.sek-nav .children {\n position: static;\n float: none;\n list-style: none;\n border-radius: 0;\n border: 0;\n margin: 0;\n padding: 0;\n font-size: inherit;\n}\n\n@media (min-width: 768px) {\n .sek-nav .sub-menu,\n .sek-nav .children {\n position: absolute;\n display: none;\n top: 100%;\n right: 0;\n z-index: 1000;\n min-width: 10rem;\n max-width: 50vw;\n }\n}\n\n@media (min-width: 768px) {\n .sek-nav {\n flex-direction: row;\n }\n .sek-nav .menu-item-has-children > a::after,\n .sek-nav .page_item_has_children > a::after {\n display: inline-block;\n }\n .sek-nav > li:not(:last-of-type) {\n border-bottom: none;\n }\n .sek-nav > li > a {\n padding: 5px;\n }\n .sek-module .sek-module-inner .sek-nav li {\n margin: 0 5px;\n }\n .sek-module .sek-module-inner .sek-nav li > ul li {\n padding: 0 .9rem 0 0;\n }\n .sek-nav-collapse {\n display: flex !important;\n flex-basis: auto;\n justify-content: flex-end;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n }\n .sek-mobile-menu-expanded-below {\n display: none !important;\n }\n .sek-nav-toggler {\n display: none;\n }\n .sek-dropdown-menu {\n background: white;\n box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.15);\n }\n .sek-nav .sek-dropdown-menu li {\n padding: 0 10px !important;\n margin: 0 !important;\n }\n .sek-nav .sek-dropdown-menu li a {\n padding: 10px 12px;\n }\n .sek-dropdown-menu ul {\n right: 100%;\n }\n .sek-dropdown-menu .sek-menu-link__row-reverse {\n flex-direction: row-reverse !important;\n }\n .sek-dropdown-menu .sek-nav__title {\n word-break: normal;\n white-space: nowrap;\n }\n .sek-dropdown-submenu .sek-dropdown-menu {\n top: 15px;\n }\n .sek-submenu-fade .sek-dropdown-menu a {\n transition: all 0.25s ease;\n transform: translate(0, 0);\n }\n .sek-submenu-fade .sek-dropdown-menu a:hover {\n transform: translate(3px, 0);\n }\n .sek-submenu-fade .page_item_has_children,\n .sek-submenu-fade .menu-item-has-children {\n perspective: 1000px;\n }\n .sek-submenu-fade .page_item_has_children > ul,\n .sek-submenu-fade .menu-item-has-children > ul {\n position: fixed;\n opacity: 0;\n visibility: hidden;\n display: block;\n transition: all 0.25s ease-in-out;\n transform: translate(0, -10px);\n }\n .sek-submenu-fade .page_item_has_children:not(.show),\n .sek-submenu-fade .menu-item-has-children:not(.show) {\n overflow: hidden;\n }\n .sek-submenu-fade .page_item_has_children:not(.show) ul,\n .sek-submenu-fade .menu-item-has-children:not(.show) ul {\n pointer-events: none;\n cursor: not-allowed;\n }\n .sek-submenu-fade li.show {\n perspective: none;\n }\n .sek-submenu-fade li.show > ul {\n position: absolute;\n visibility: visible;\n opacity: 1;\n transform: translate(0, 0);\n }\n .nb-collapsible-mobile-menu .nb-dd-mm-toggle-wrapper {\n display: none;\n }\n}\n\n.sek-dropdown-submenu > a::after {\n transform: translateZ(0) rotate(0deg) !important;\n -ms-transform: rotate(0deg) !important;\n}\n\n.sek-dropdown-submenu > a[class*=-reverse]::after {\n top: .1em;\n transform: translateZ(0) rotate(180deg) !important;\n -ms-transform: rotate(180deg) !important;\n}\n\n.sek-dropdown-menu {\n position: static;\n float: none;\n list-style: none;\n border-radius: 0;\n border: 0;\n margin: 0;\n padding: 0;\n font-size: inherit;\n}\n\n@media (min-width: 768px) {\n .sek-dropdown-menu {\n position: absolute;\n display: none;\n top: 100%;\n right: 0;\n z-index: 1000;\n min-width: 10rem;\n max-width: 50vw;\n }\n}\n\n.show > .sek-dropdown-menu {\n display: block;\n}\n\n.sek-dropdown-menu .sek-nav .sek-nav__title {\n word-break: break-word;\n white-space: normal;\n}\n\n.sek-dropdown-menu.open-right {\n left: 0;\n right: auto;\n}\n\n.sek-dropdown-menu.open-right ul:not(.open-left),\n.sek-dropdown-menu ul.open-right {\n left: 100%;\n right: auto;\n top: 0;\n}\n\n.sek-dropdown-menu.open-left {\n left: auto;\n right: 0;\n}\n\n.sek-dropdown-menu.open-left ul:not(.open-right),\n.sek-dropdown-menu ul.open-left {\n right: 100%;\n left: auto;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] {\n overflow: auto;\n max-height: 80vh;\n padding-bottom: 10px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li a {\n font-size: 0.88em;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li > a {\n padding: .6em 32px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li li > a {\n padding: .6em 60px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li li li > a {\n padding: .6em 80px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li li li li > a {\n padding: .6em 100px;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state] {\n display: none;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] {\n display: block;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"],\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] li,\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] ul {\n background: #ffffff;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .sub-menu,\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] li {\n position: relative;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .sek-nav li a {\n min-height: 45px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n justify-content: flex-start;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .sub-menu {\n display: none;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .sub-menu {\n display: none;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .sub-menu.expanded {\n display: block;\n}\n\n/*\r\n* Mobile dropdown on click\r\n*/\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .page_item_has_children > a,\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .menu-item-has-children > a {\n padding-right: 60px;\n}\n\n.nb-dd-mm-toggle-wrapper {\n position: absolute;\n top: 1px;\n right: 0;\n text-align: center;\n line-height: 1;\n bottom: 1px;\n height: 45px;\n width: 60px;\n}\n\n.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .nb-dd-mm-toggle-wrapper {\n display: block;\n}\n\n.nb-dd-mm-toggle {\n background: none !important;\n -webkit-appearance: none;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n display: block;\n height: 45px;\n width: 60px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n.nb-dd-mm-toggle i {\n display: block;\n -webkit-transition: all .3s ease;\n -o-transition: all .3s ease;\n transition: all .3s ease;\n -webkit-transform-style: preserve-3d;\n -moz-transform-style: preserve-3d;\n transform-style: preserve-3d;\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n width: 100%;\n color: #000000;\n}\n\nli.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {\n -webkit-transform: rotate(-180deg);\n -moz-transform: rotate(-180deg);\n transform: rotate(-180deg);\n}\n\n.nb-arrow-for-mobile-menu::after {\n content: \"\\25BE\";\n font-family: \"Arial Unicode MS\", Arial;\n moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n font-weight: 900;\n transition: all 0.3s ease;\n transform-style: preserve-3d;\n backface-visibility: hidden;\n perspective: 1000px;\n padding: 0 .45em;\n font-size: 18px;\n line-height: 45px;\n position: relative;\n}\n\n.nb-loc .sek-module-inner nav .sek-nav-toggler {\n -webkit-appearance: none !important;\n cursor: pointer;\n height: 40px;\n width: 40px;\n padding: 0;\n vertical-align: middle;\n}\n\n.nb-loc .sek-module-inner nav .sek-nav-toggler, .nb-loc .sek-module-inner nav .sek-nav-toggler:hover, .nb-loc .sek-module-inner nav .sek-nav-toggler:focus {\n background: 0 0;\n background-color: rgba(0, 0, 0, 0);\n color: black;\n outline: none;\n border: none;\n}\n\n.sek-ham__span-wrapper {\n height: 12px;\n position: relative;\n display: block;\n}\n\n.sek-ham__span-wrapper .line {\n display: block;\n height: 1.5px;\n position: absolute;\n left: 10px;\n border-radius: 5px;\n background-clip: padding-box;\n transition: all ease .35s;\n backface-visibility: hidden;\n border-top: 1.5px solid;\n}\n\n.sek-ham__span-wrapper .line-1 {\n top: 0;\n}\n\n.sek-ham__span-wrapper .line-2 {\n top: 50%;\n}\n\n.sek-ham__span-wrapper .line-3 {\n top: 100%;\n}\n\n.sek-nav-toggler .line-1 {\n transform: translate(-3px, 6px) rotate(45deg);\n width: 28px;\n}\n\n.sek-nav-toggler .line-2 {\n opacity: 0;\n}\n\n.sek-nav-toggler .line-3 {\n transform: translate(-3px, -6px) rotate(-45deg);\n width: 28px;\n}\n\n.sek-nav-toggler.sek-collapsed .line {\n width: 20px;\n transform: translate(0, 0) rotate(0);\n opacity: 1;\n}\n\n.sek-nav-toggler.sek-collapsed.hovering .line {\n transform: translateX(-3px);\n width: 26px;\n}\n\n.nb-module-menu-search {\n position: relative;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .nb-module-menu-search {\n display: none;\n}\n\n.nb-svg-search-icon {\n cursor: pointer;\n padding: 0;\n}\n\n.nb-module-menu-search .nb-search-expand {\n display: none;\n background: #fff;\n position: absolute;\n z-index: 100;\n top: 49px;\n right: 0;\n left: 0;\n width: 340px;\n -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);\n box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);\n}\n\n.nb-search-expand .nb-search-expand-inner {\n border: 1px solid #eee;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.15);\n transition: -webkit-transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;\n transition: transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;\n padding: 15px;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner [role=search].search-form {\n display: flex;\n float: none;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner label input[type=search] {\n max-width: 100%;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner input[type=submit], [data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search form input[type=submit] {\n margin: 0;\n background: #808080 !important;\n color: #fff;\n font-size: 16px;\n padding: 10px 10px;\n font-weight: normal;\n display: inline-block;\n border: none;\n cursor: pointer;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner input[type=search], [data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search input[type=search],\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner input[type=submit], [data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search form input[type=submit] {\n text-transform: none !important;\n}\n\n.nb-mobile-search {\n display: none;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search {\n display: block;\n padding: 6px 14px 15px;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search input {\n font-size: 16px;\n}\n\n.nb-search-expand-inner input[type=\"search\"], .nb-mobile-search input[type=\"search\"] {\n color: #000000 !important;\n}\n\n.nb-search-expand-inner input[type=\"submit\"], .nb-mobile-search input[type=\"submit\"] {\n color: #ffffff !important;\n}\n\n/*************************************\r\n* IMAGE MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_image_module\"] {\n text-align: center;\n}\n\n[data-sek-module-type=\"czr_image_module\"] img {\n border: 0 solid #f2f2f2;\n}\n\n[data-sek-module-type=\"czr_image_module\"] .box-shadow img {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;\n}\n\n/* image module transitions for better animations when effects are used */\n[data-sek-module-type=\"czr_image_module\"] figure img {\n -webkit-transition: all 0.2s ease-out;\n -o-transition: all 0.2s ease-out;\n transition: all 0.2s ease-out;\n}\n\n[data-sek-module-type=\"czr_image_module\"] figure.has-custom-height {\n overflow: hidden;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_image_module\"] figure.has-custom-height img {\n object-fit: cover;\n}\n\n.sek-hover-effect-opacity img:hover {\n opacity: .7;\n}\n\n.sek-hover-effect-zoom-out img:hover {\n transform: scale(1.05);\n}\n\n.sek-hover-effect-zoom-in img:hover {\n transform: scale(0.95);\n}\n\n.sek-hover-effect-move-up img:hover {\n transform: translateY(-6px);\n}\n\n.sek-hover-effect-move-down img:hover {\n transform: translateY(6px);\n}\n\n.sek-hover-effect-blur img:hover {\n filter: blur(2px);\n}\n\n.sek-hover-effect-grayscale img:hover {\n filter: grayscale(0%);\n}\n\n.sek-hover-effect-grayscale img:hover {\n filter: grayscale(100%);\n filter: gray;\n}\n\n.sek-hover-effect-reverse-grayscale img {\n filter: grayscale(100%);\n filter: gray;\n}\n\n.sek-hover-effect-reverse-grayscale img:hover {\n filter: grayscale(0%);\n}\n\n/*************************************\r\n* NIMBLE IMAGE MODULE\r\n*************************************/\n.sek-nimble-image-wrapper {\n max-width: 100%;\n overflow: hidden;\n width: 100%;\n position: relative;\n display: block;\n background-position: center center;\n background-size: cover;\n display: flex;\n align-items: center;\n justify-content: center;\n backface-visibility: hidden;\n transform-style: preserve-3d;\n}\n\n.sek-nimble-image-wrapper::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n\n.nb-loc [data-sek-level] .sek-module-inner .sek-nimble-image-wrapper a {\n color: #ffffff;\n}\n\n.nb-loc [data-sek-level] .sek-module-inner .sek-nimble-image-wrapper a:hover {\n color: #ffffff;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n top: 0;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-icon {\n font-size: 80px;\n line-height: 1em;\n color: #000000;\n transition: all .3s ease;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-text, .sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-text * {\n color: #000000;\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 400;\n transition: all .3s ease;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-text p {\n margin: 0;\n padding: 0;\n}\n\n.sek-nimble-image-wrapper.nb-icon-has-hover-color:hover .nb-pro-img-icon {\n color: #969696;\n}\n\n.sek-nimble-image-mask {\n position: absolute;\n border-color: #fff;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.sek-nimble-image-mask::before {\n position: absolute;\n content: '';\n z-index: 1;\n border: 150vw solid;\n border-color: inherit;\n box-sizing: content-box;\n transition: all .3s ease;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n}\n\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-expand:hover .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-shrink .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-always-expanded .sek-nimble-image-mask::before {\n width: 88%;\n padding-bottom: 88%;\n}\n\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-shrink:hover .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-expand .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-always-shrinked .sek-nimble-image-mask::before {\n width: 63%;\n padding-bottom: 63%;\n}\n\n.sek-nimble-image-wrapper.nb-circle-mask .sek-nimble-image-mask::before {\n border-radius: 50%;\n}\n\n.sek-nimble-image {\n position: absolute;\n width: 100%;\n height: 100%;\n background-position: center center;\n background-size: cover;\n background-repeat: no-repeat;\n z-index: 0;\n top: 0;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"none\"] > ul {\n list-style-type: none;\n margin-right: 0 !important;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"circle\"] > ul {\n list-style-type: circle;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"disc\"] > ul {\n list-style-type: disc;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"square\"] > ul {\n list-style-type: square;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"decimal\"] > ol {\n list-style-type: decimal;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"lower-alpha\"] > ol {\n list-style-type: lower-alpha;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"lower-roman\"] > ol {\n list-style-type: lower-roman;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"upper-roman\"] > ol {\n list-style-type: upper-roman;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"upper-alpha\"] > ol {\n list-style-type: upper-alpha;\n}\n\n.sek-module-inner .sek-adv-list-wrapper ul, .sek-module-inner .sek-adv-list-wrapper ol {\n padding: 0;\n line-height: 1.5;\n margin: 0;\n margin-right: 25px;\n}\n\n.sek-module-inner .sek-adv-list-wrapper ul li, .sek-module-inner .sek-adv-list-wrapper ol li {\n text-indent: 0px;\n}\n\n.sek-module-inner [data-sek-adv-list-layout=\"vertical\"] ul li, .sek-module-inner [data-sek-adv-list-layout=\"vertical\"] ol li {\n display: list-item;\n}\n\n.sek-module-inner [data-sek-adv-list-layout=\"horizontal\"] ul li, .sek-module-inner [data-sek-adv-list-layout=\"horizontal\"] ol li {\n display: inline-block;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-inner {\n display: -ms-flexbox;\n display: flex;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text {\n -webkit-transition: color 0.2s ease-in-out;\n -o-transition: color 0.2s ease-in-out;\n transition: color 0.2s ease-in-out;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text p {\n margin: 0;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text a {\n cursor: pointer;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text a:hover {\n text-decoration: underline;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-icon {\n margin-right: 10px;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -webkit-box-flex: 0;\n -ms-flex-positive: 0;\n flex-grow: 0;\n}\n\n.sek-module-inner .sek-adv-list-item [data-sek-icon-border=\"circle\"], .sek-module-inner .sek-adv-list-item [data-sek-icon-border=\"square\"] {\n border: 1px solid;\n width: 2.2em;\n height: 2.2em;\n display: -ms-flexbox;\n display: -webkit-box;\n display: flex;\n -ms-flex-align: center;\n -webkit-box-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.sek-module-inner .sek-adv-list-item [data-sek-icon-border=\"circle\"] {\n border-radius: 2em;\n}\n\n/*************************************\r\n* DIVIDER MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_divider_module\"] {\n text-align: center;\n}\n\n[data-sek-module-type=\"czr_divider_module\"] .sek-module-inner {\n font-size: 0;\n line-height: 0;\n}\n\n.sek-module-inner .sek-divider {\n border-top: 1px solid #5a5a5a;\n display: inline-block;\n width: 100%;\n margin-top: 15px;\n margin-bottom: 15px;\n font-size: 1rem;\n}\n\n/*************************************\r\n* SPACER MODULE\r\n*************************************/\n.sek-module-inner .sek-spacer {\n height: 20px;\n}\n\n/*************************************\r\n* ICON MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_icon_module\"] {\n text-align: center;\n color: #5a5a5a;\n font-size: 15px;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:hover,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:focus,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:active,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon.active {\n color: inherit;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .box-shadow .sek-icon-wrapper {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .sek-icon i {\n -webkit-transition: all 0.15s ease-in-out;\n -o-transition: all 0.15s ease-in-out;\n transition: all 0.15s ease-in-out;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .sek-icon .fas, [data-sek-module-type=\"czr_icon_module\"] .sek-icon .far, [data-sek-module-type=\"czr_icon_module\"] .sek-icon .fab {\n width: 1em;\n height: 1em;\n text-align: center;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon {\n box-shadow: none;\n -webkit-box-shadow: none;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:hover, [data-sek-module-type=\"czr_icon_module\"] a.sek-icon:focus, [data-sek-module-type=\"czr_icon_module\"] a.sek-icon:active {\n box-shadow: none;\n -webkit-box-shadow: none;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .sek-icon-wrapper {\n display: inline-block;\n line-height: 1em;\n}\n\n/*************************************\r\n* QUOTE MODULE\r\n*************************************/\n.sek-quote p {\n margin: 0 0 .5em;\n padding: 0;\n}\n\n.sek-quote .sek-cite {\n font-size: 14px;\n line-height: 1.5em;\n font-style: inherit;\n}\n\n.sek-quote[data-sek-quote-design=\"none\"] {\n border-left: none;\n}\n\n.sek-quote .sek-quote-content {\n font-weight: 400;\n font-size: 1.2em;\n line-height: 1.5em;\n color: inherit;\n}\n\n.sek-quote.sek-quote-design {\n background: none;\n font-style: inherit;\n margin-right: 0;\n margin-left: 0;\n padding: 15px 0;\n border: none;\n}\n\n.sek-quote.sek-quote-design > * {\n padding: 0;\n margin: 0;\n}\n\n.sek-quote.sek-quote-design::before, .sek-quote.sek-quote-design::after {\n display: none;\n}\n\n.sek-quote.sek-quote-design .sek-cite {\n padding: 0;\n font-weight: normal;\n}\n\n.sek-quote.sek-quote-design .sek-cite::before {\n display: none;\n}\n\n.sek-quote.sek-quote-design .sek-quote-inner {\n color: inherit;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-inner {\n padding-right: calc( 10px + 0.7 * 50px);\n}\n\n.sek-quote.sek-quote-design.sek-border-before {\n padding-right: 15px;\n border-right: 5px solid rgba(0, 0, 0, 0.1);\n}\n\n.sek-quote.sek-quote-design.sek-border-before .sek-cite {\n clear: both;\n display: block;\n margin-top: 1.5em;\n position: relative;\n padding-right: 2.2em;\n padding-left: 0.25em;\n}\n\n.sek-quote.sek-quote-design.sek-border-before .sek-cite::before {\n display: block;\n content: '';\n top: 1em;\n position: absolute;\n background: none;\n width: 2em;\n height: auto;\n right: 0;\n border-top: 1px solid;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before {\n position: relative;\n display: flex;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-content *:last-child {\n margin-bottom: .75em;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before::before {\n content: \"\\275D\";\n font-family: \"Arial Unicode MS\", Code2000;\n font-size: 50px;\n line-height: 1em;\n color: #ccc;\n font-style: normal;\n text-align: center;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-variant: normal;\n text-rendering: auto;\n display: flex;\n width: auto;\n margin: 0;\n right: 0;\n position: absolute;\n top: 10px;\n}\n\n/*************************************\r\n* BUTTON MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_button_module\"] .sek-module-inner {\n text-align: center;\n}\n\n.nb-loc .sek-module .sek-module-inner .sek-btn {\n background: #020202;\n color: #ffffff;\n padding: 0.5em 1em;\n margin: 0.5em;\n}\n\n.nb-loc .sek-module .sek-module-inner .sek-btn i {\n margin: 0 8px;\n}\n\n.nb-loc .sek-module .sek-module-inner .sek-btn:hover, .nb-loc .sek-module .sek-module-inner .sek-btn:focus, .nb-loc .sek-module .sek-module-inner .sek-btn:active {\n color: #ffffff;\n background-color: #282828;\n text-decoration: none;\n}\n\n[data-sek-module-type=\"czr_button_module\"] .sek-module-inner .sek-btn:focus, [data-sek-module-type=\"czr_button_module\"] .sek-module-inner .sek-btn:hover {\n text-decoration: none;\n}\n\n.sek-btn-inner {\n display: flex;\n align-items: center;\n}\n\n.sek-btn-inner .sek-btn-text {\n width: 100%;\n text-align: center;\n}\n\n.sek-btn.box-shadow {\n -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n}\n\n.sek-btn.box-shadow.push-effect:active {\n transform: translateY(2px);\n}\n\n/*************************************\r\n* POST GRID MODULE\r\n*************************************/\n.sek-post-grid-wrapper {\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n}\n\n.sek-post-grid-wrapper .sek-grid-items {\n grid-row-gap: 25px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-list-layout article > *:not(:last-child):not(.sek-pg-thumbnail) {\n margin-bottom: 10px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-grid-layout article > *:not(:last-child) {\n margin-bottom: 10px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article > :first-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article > :last-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article > *:not(:last-child) {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content > *:not(:last-child) {\n margin-top: 0 !important;\n margin-bottom: 10px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content > :first-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content > :last-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article {\n -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.05);\n box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.05);\n -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n -o-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article:hover {\n -webkit-transform: translateY(-4px);\n -ms-transform: translateY(-4px);\n transform: translateY(-4px);\n -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18), 0 10px 10px rgba(0, 0, 0, 0.15);\n box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18), 0 10px 10px rgba(0, 0, 0, 0.15);\n}\n\n.sek-post-grid-wrapper .sek-pg-thumbnail {\n box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);\n background-color: #fff;\n overflow: hidden;\n border-radius: 4px;\n}\n\n.sek-post-grid-wrapper .sek-pg-thumbnail a {\n display: block;\n position: relative;\n}\n\n.sek-post-grid-wrapper .sek-pg-thumbnail img {\n display: block;\n width: 100%;\n height: auto;\n}\n\n.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {\n height: 0;\n padding-top: 65%;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {\n height: auto !important;\n padding-top: inherit !important;\n }\n}\n\n.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail img {\n position: absolute;\n height: 100%;\n width: 100%;\n max-height: none;\n max-width: none;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n -o-object-fit: cover;\n object-fit: cover;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail img {\n height: auto !important;\n position: relative;\n }\n}\n\n.sek-post-grid-wrapper .sek-pg-metas > span:not(:last-child)::after {\n content: \"\\B7\";\n vertical-align: middle;\n margin: 0 5px;\n line-height: 1;\n}\n\n.sek-post-grid-wrapper .sek-pg-content {\n text-align: right;\n}\n\n.sek-post-grid-wrapper .sek-excerpt > :last-child {\n margin-bottom: 0;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category {\n line-height: 1.2em;\n color: #767676;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category a {\n text-transform: uppercase;\n font-size: 13px;\n text-decoration: none;\n color: #767676;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category a:hover {\n color: inherit;\n text-decoration: underline;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title {\n font-size: 28px;\n line-height: 1.1em;\n}\n\n@media (max-width: 991.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title {\n font-size: 22px;\n }\n}\n\n@media (max-width: 575.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title {\n font-size: 20px;\n }\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a {\n text-decoration: none;\n color: #121212;\n font-size: 28px;\n font-weight: 400;\n line-height: 1.1em;\n -ms-word-wrap: break-word;\n word-wrap: break-word;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a:hover {\n color: #666;\n}\n\n@media (max-width: 991.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a {\n font-size: 22px;\n }\n}\n\n@media (max-width: 575.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a {\n font-size: 20px;\n }\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas {\n line-height: 1.2em;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas span, .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas a {\n text-transform: uppercase;\n font-size: 13px;\n letter-spacing: 1px;\n color: #767676;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas a:hover {\n text-decoration: underline;\n color: inherit;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-content p {\n margin: 0 0 10px 0;\n line-height: 1.3em;\n font-size: 14px;\n color: #555;\n}\n\n.sek-post-grid-wrapper .sek-list-layout {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: minmax(0, 1fr);\n grid-template-columns: minmax(0, 1fr);\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-list-layout {\n display: block !important;\n }\n}\n\n.sek-post-grid-wrapper .sek-list-layout article {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: minmax(0, 1fr);\n grid-template-columns: minmax(0, 1fr);\n -ms-grid-rows: 1fr;\n grid-template-rows: 1fr;\n grid-column-gap: 20px;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-list-layout article {\n display: block !important;\n padding-top: 10px;\n }\n}\n\n.sek-post-grid-wrapper .sek-list-layout article > *:nth-child(1) {\n -ms-grid-row: 1;\n -ms-grid-column: 1;\n}\n\n.sek-post-grid-wrapper .sek-list-layout article.sek-has-thumb {\n -ms-grid-columns: 30% minmax(0, 1fr);\n grid-template-columns: 30% minmax(0, 1fr);\n}\n\n.sek-post-grid-wrapper .sek-list-layout article .sek-pg-thumbnail {\n margin-bottom: 0;\n -ms-flex-item-align: start;\n align-self: flex-start;\n}\n\n.sek-post-grid-wrapper .sek-grid-layout {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: 1fr 20px 1fr;\n grid-template-columns: 1fr 1fr;\n -ms-grid-rows: 1fr;\n grid-template-rows: 1fr;\n grid-row-gap: 20px;\n grid-column-gap: 20px;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-grid-layout {\n display: block !important;\n }\n}\n\n.sek-post-grid-wrapper .sek-grid-layout > *:nth-child(1) {\n -ms-grid-row: 1;\n -ms-grid-column: 1;\n}\n\n.sek-post-grid-wrapper .sek-grid-layout > *:nth-child(2) {\n -ms-grid-row: 1;\n -ms-grid-column: 3;\n}\n\n.sek-post-navigation #sek-nav-below {\n background-color: #f7f8f9;\n margin-top: 20px;\n padding: 5px;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination {\n text-align: center;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination ul {\n display: inline-block;\n vertical-align: middle;\n margin: 0;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .page-numbers {\n font-family: inherit;\n opacity: 0.7;\n text-decoration: none !important;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .current {\n font-weight: 600;\n opacity: 1;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .sek-pag-list > * {\n margin: 0 5px;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .sek-pag-list {\n margin: 0 -5px;\n}\n\n.sek-post-navigation #sek-nav-below nav {\n padding-top: 20px;\n padding-bottom: 20px;\n}\n\n.sek-post-navigation #sek-nav-below ul.sek-czr-pager {\n margin: 0;\n}\n\n.sek-post-navigation #sek-nav-below li {\n display: inline-block;\n font-size: 16px;\n}\n\n.sek-post-navigation #sek-nav-below a, .sek-post-navigation #sek-nav-below .sek-meta-nav-title {\n text-transform: uppercase;\n letter-spacing: 2px;\n color: #5A5A5A;\n}\n\n.sek-post-navigation #sek-nav-below a:hover, .sek-post-navigation #sek-nav-below .sek-meta-nav-title:hover {\n color: #3b3b3b;\n opacity: 1 !important;\n}\n\n.sek-post-navigation #sek-nav-below .sek-czr-pager > li {\n display: block;\n}\n\n.sek-post-navigation #sek-nav-below .sek-nav-dir {\n display: block;\n}\n\n.sek-post-navigation #sek-nav-below .sek-nav-dir > a {\n max-width: 100%;\n}\n\n.sek-post-navigation #sek-nav-below a i.arrow {\n font-size: 0.9em;\n}\n\n.sek-post-navigation #sek-nav-below .page-numbers, .sek-post-navigation #sek-nav-below a {\n font-family: inherit;\n line-height: 30px;\n height: 30px;\n display: inline-block;\n vertical-align: middle;\n transition: all 0.3s ease;\n position: relative;\n}\n\n.sek-post-navigation #sek-nav-below .sek-meta-nav {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n transition: all .2s,.6s ease;\n opacity: .7;\n}\n\n.sek-post-navigation #sek-nav-below a:hover .sek-meta-nav {\n opacity: 1;\n text-decoration: underline;\n}\n\n.sek-post-navigation #sek-nav-below .sek-meta-nav-title {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n vertical-align: middle;\n font-size: 0.9em;\n}\n\n/*************************************\r\n* SIMPLE FORM MODULE\r\n*************************************/\n.sek-simple-form-wrapper input[type=text], .sek-simple-form-wrapper textarea {\n font-size: 16px;\n width: 100% !important;\n padding: 0.4em 0.5em;\n border-radius: 3px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n outline: none;\n font-weight: normal;\n max-width: 100%;\n border: none;\n color: #555555;\n background-color: #ffffff;\n}\n\n.sek-simple-form-wrapper textarea {\n height: auto;\n max-height: 150px;\n}\n\n.sek-simple-form-wrapper .sek-form-field {\n margin-bottom: 15px;\n clear: both;\n}\n\n.sek-simple-form-wrapper label {\n color: #444444;\n font-weight: bold;\n text-align: left;\n margin: 0;\n padding: 0 0 3px 0;\n width: auto;\n display: block;\n}\n\n.sek-simple-form-wrapper.use-outset-shadow .sek-form-field input[type=\"text\"], .sek-simple-form-wrapper.use-outset-shadow .sek-form-field textarea {\n -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n}\n\n.sek-simple-form-wrapper.use-inset-shadow .sek-form-field input[type=\"text\"], .sek-simple-form-wrapper.use-inset-shadow .sek-form-field textarea {\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;\n}\n\n.sek-simple-form-wrapper #sek-form-respond {\n padding: 20px 0;\n}\n\n.sek-simple-form-wrapper input[type=\"checkbox\"] + label {\n display: inline;\n font-weight: bold;\n margin-left: 0.5rem;\n}\n\n.sek-form-message {\n padding: 10px;\n margin: 10px 0;\n text-align: center;\n line-height: 1.5em;\n font-size: 16px;\n border-radius: 4px;\n}\n\n.sek-form-message.sek-mail-failure {\n color: #ff0000;\n border: 1px solid #ff0000;\n background: none;\n background: rgba(255, 0, 0, 0.05);\n}\n\n.sek-form-message.sek-mail-success {\n color: #008000;\n border: 1px solid #008000;\n background: none;\n background: rgba(0, 128, 0, 0.05);\n}\n\n.sek-form-message.sek-mail-aborted {\n color: #ffa500;\n border: 1px solid #ffa500;\n background: none;\n background: rgba(255, 165, 0, 0.05);\n}\n\n.grecaptcha-badge {\n z-index: 1;\n}\n\n.sek-hide-rc-badge .grecaptcha-badge {\n display: none;\n}\n\n.sek-show-rc-badge .grecaptcha-badge {\n display: block;\n visibility: visible !important;\n}\n\n/*************************************\r\n* TINY MCE EDITOR MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_tiny_mce_editor_module\"] a {\n text-decoration: underline;\n}\n\n/*************************************\r\n* SOCIAL ICONS MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_social_icons_module\"] .sek-module-inner .sek-social-icons-wrapper {\n margin: 10px 0;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper {\n text-align: center;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > *:not(:last-child) {\n padding-right: 8px;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li {\n display: inline-block;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li a {\n color: #707070;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li .sek-social-icon {\n font-size: 28px;\n line-height: 1.5em;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li .sek-social-icon {\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n transition: all 0.2s ease-in-out;\n}\n\n/*************************************\r\n* IMAGE SLIDER MODULE\r\n*************************************/\n.sek-column-inner [data-sek-module-type=\"czr_img_slider_module\"] {\n width: calc(100% + 20px);\n max-width: calc(100% + 20px);\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] {\n /* SWIPER BULLETS */\n /* SWIPER ARROWS */\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-carousel-img [src*=\"data:image/gif;\"] {\n display: none;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-loading .sek-carousel-img img {\n display: none;\n}\n\n.customizer-preview .swiper-wrapper .swiper-lazy-preloader {\n display: none;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container {\n width: 100%;\n height: 100%;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container .swiper-wrapper {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n height: 400px;\n}\n\n@media (max-width: 575.98px) {\n [data-sek-module-type=\"czr_img_slider_module\"] .swiper-container .swiper-wrapper {\n height: 200px;\n }\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"nimble-wizard\"] .sek-carousel-img {\n height: 100%;\n overflow: hidden;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"nimble-wizard\"] .sek-carousel-img img {\n max-width: none;\n opacity: 0;\n -webkit-transition: opacity 0.15s ease-in-out;\n -moz-transition: opacity, 0.15s ease-in-out;\n -ms-transition: opacity, 0.15s ease-in-out;\n -o-transition: opacity, 0.15s ease-in-out;\n transition: opacity 0.15s ease-in-out;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"height-100\"] .sek-carousel-img {\n height: 100%;\n width: auto;\n overflow: hidden;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"height-100\"] .sek-carousel-img img {\n width: auto;\n height: 100%;\n max-width: none;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"cover\"] .sek-carousel-img {\n height: 100%;\n width: 100%;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"cover\"] .sek-carousel-img img {\n width: 100%;\n height: 100%;\n max-width: none;\n object-fit: cover;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide {\n text-align: center;\n font-size: 18px;\n /* Center slide image vertically */\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img {\n width: 100%;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img img {\n width: 100%;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img img.sek-h-centrd {\n width: auto !important;\n max-width: none !important;\n position: relative;\n opacity: 1;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img img.sek-v-centrd {\n height: auto !important;\n max-height: none !important;\n vertical-align: top;\n position: relative;\n max-width: none !important;\n opacity: 1;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide[data-sek-has-overlay=\"true\"] .sek-carousel-img::after {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n position: absolute;\n background-color: #000000;\n opacity: 0.3;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-slider-text-wrapper {\n height: 100%;\n width: 100%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform: translate3d(-50%, -50%, 0);\n transform: translate3d(-50%, -50%, 0);\n top: 50%;\n left: 50%;\n position: absolute;\n /* Center slide text vertically\r\n => consistent with defaults in module registration */\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-slider-text-content {\n height: auto;\n max-height: 100%;\n width: 100%;\n padding: 5%;\n text-align: center;\n z-index: 3;\n overflow: hidden;\n color: #e2e2e2;\n font-size: 16px;\n line-height: 1.5em;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-slider-text-content * {\n font-size: 16px;\n line-height: 1.5em;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-pagination-bullet-active {\n background-color: #ffffff;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav {\n cursor: pointer;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-chevron {\n display: inline-block;\n border-right: 2px solid #ffffff;\n border-bottom: 2px solid #ffffff;\n width: 11px;\n height: 11px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev {\n left: 0;\n border-top-left-radius: 0px;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n border-bottom-left-radius: 0px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev .sek-chevron {\n -webkit-transform: rotate(-225deg);\n -ms-transform: rotate(-225deg);\n transform: rotate(-225deg);\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next {\n right: 0;\n border-top-left-radius: 2px;\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 2px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next .sek-chevron {\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev, [data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next {\n position: absolute;\n z-index: 2;\n top: calc((100% - 60px)/2);\n text-align: center;\n margin-top: 0px;\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n -ms-backface-visibility: hidden;\n -o-backface-visibility: hidden;\n backface-visibility: hidden;\n display: block;\n height: 60px;\n width: 50px;\n opacity: 0.6;\n background-color: rgba(32, 32, 32, 0.4);\n -webkit-transition: all 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);\n transition: all 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);\n line-height: 64px;\n cursor: pointer;\n font-size: 18px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev:hover, [data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next:hover {\n background-color: rgba(32, 32, 32, 0.7);\n opacity: 1;\n width: 100px;\n}\n\n@media (max-width: 575.98px) {\n [data-sek-module-type=\"czr_img_slider_module\"] [data-sek-hide-nav-on-mobile=\"true\"] .swiper-pagination {\n display: none;\n }\n [data-sek-module-type=\"czr_img_slider_module\"] [data-sek-hide-nav-on-mobile=\"true\"] .sek-swiper-nav {\n display: none;\n }\n}\n\n/*************************************\r\n* ACCORDION MODULE\r\n*************************************/\n.sek-accord-wrapper {\n text-align: left;\n}\n\n.sek-accord-wrapper .sek-accord-item {\n border: 1px solid #e3e3e3;\n overflow: hidden;\n}\n\n.sek-accord-wrapper .sek-accord-item:not(:last-child) {\n margin-bottom: 0px;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title {\n cursor: pointer;\n color: #565656;\n background: #ffffff;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n padding: 15px 20px;\n border-top: none;\n border-right: none;\n border-left: none;\n border-bottom: 1px solid #e3e3e3;\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 600;\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title:hover * {\n color: #1e261f;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title:hover .expander span {\n background: #1e261f;\n}\n\n[data-sek-expanded=\"true\"] .sek-accord-title * {\n color: #1e261f;\n}\n\n[data-sek-expanded=\"true\"] .sek-accord-title .expander span {\n background: #1e261f;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .sek-inner-accord-title {\n padding-right: 10px;\n max-width: calc(100% - 30px);\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .sek-inner-accord-title, .sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span {\n -webkit-transition: all 0.15s ease-in-out;\n -moz-transition: all, 0.15s ease-in-out;\n -ms-transition: all, 0.15s ease-in-out;\n -o-transition: all, 0.15s ease-in-out;\n transition: all 0.15s ease-in-out;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander {\n color: #1e261f;\n width: 30px;\n height: 30px;\n padding: 0;\n margin: 0;\n outline: none;\n border: 0;\n background: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n font-size: 1.5em;\n position: relative;\n cursor: pointer;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span {\n position: absolute;\n -webkit-transition: .3s;\n -o-transition: .3s;\n transition: .3s;\n background: #565656;\n border-radius: 2px;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span:first-of-type {\n top: 25%;\n bottom: 25%;\n width: 10%;\n left: 45%;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span:last-of-type {\n left: 25%;\n right: 25%;\n height: 10%;\n top: 45%;\n}\n\n[data-sek-expanded=\"true\"] .expander span:first-of-type, [data-sek-expanded=\"true\"] .expander span:last-of-type {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n[data-sek-expanded=\"true\"] .expander span:last-of-type {\n left: 50%;\n right: 50%;\n}\n\n[data-sek-has-global-border=\"true\"][data-sek-has-title-border=\"true\"] [data-sek-expanded=\"false\"] .sek-accord-title {\n border-bottom: none;\n}\n\n[data-sek-has-global-border=\"true\"][data-sek-has-title-border=\"true\"] .sek-accord-item:not(:last-child) {\n border-bottom: none;\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] .sek-accord-title .expander span:first-of-type, .sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] .sek-accord-title .expander span:last-of-type {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] .sek-accord-title .expander span:last-of-type {\n left: 50%;\n right: 50%;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-content {\n padding: 15px 20px;\n background: #f2f2f2;\n color: #1e261f;\n font-size: 16px;\n line-height: 1.5em;\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] > .sek-accord-content {\n display: block;\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"false\"] > .sek-accord-content {\n display: none;\n}\n\n/*************************************\r\n* SHORTCODE MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_shortcode_module\"] [data-sek-use-flexbox=\"true\"] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.sek-module-inner {\n line-height: 1.5em;\n}\n\n.sek-module-inner h1, .sek-module-inner h2, .sek-module-inner h3, .sek-module-inner h4, .sek-module-inner h5, .sek-module-inner h6, .sek-module-inner p {\n line-height: 1.5em;\n font-weight: 400;\n margin: 0.6em 0;\n}\n\n.sek-module-inner h1 {\n font-size: 2.48em;\n}\n\n.sek-module-inner h2 {\n font-size: 2.07em;\n}\n\n.sek-module-inner h3 {\n font-size: 1.73em;\n}\n\n.sek-module-inner h4 {\n font-size: 1.44em;\n}\n\n.sek-module-inner h5 {\n font-size: 1.2em;\n}\n\n.sek-module-inner h6 {\n font-size: 1em;\n}\n\n.sek-module-inner p {\n margin: 0 0 1em;\n padding: 0;\n}\n\n.sek-module-inner a {\n text-decoration: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n -webkit-transition: color 0.2s ease-in-out;\n -o-transition: color 0.2s ease-in-out;\n transition: color 0.2s ease-in-out;\n}\n\n.sek-module-inner img {\n height: auto;\n max-width: 100%;\n border: none;\n -webkit-border-radius: 0;\n border-radius: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n\n[data-sek-module-type=\"czr_tiny_mce_editor_module\"] .sek-module-inner a:not(.wp-block-button__link),\n[data-sek-module-type=\"czr_shortcode_module\"] .sek-module-inner a:not(.wp-block-button__link),\n[data-sek-module-type=\"czr_accordion_module\"] .sek-module-inner a:not(.wp-block-button__link),\n[data-sek-module-type=\"czr_simple_html_module\"] .sek-module-inner a:not(.wp-block-button__link) {\n text-decoration: underline;\n}\n\nbody .sektion-wrapper .sek-row [data-sek-level=\"module\"] .sek-module-inner a:not(.sek-btn):not(.button):focus {\n background: none;\n color: initial;\n}\n\nbody .sek-module-inner h1:before, body .sek-module-inner h2:before, body .sek-module-inner h3:before, body .sek-module-inner h4:before, body .sek-module-inner h5:before, body .sek-module-inner h6:before {\n content: none;\n background: none;\n}\n\n/*# sourceMappingURL=sek-base-rtl.css.map */",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]}
|
1 |
+
{"version":3,"sources":["../scss/_1_4_reboot.scss","../scss/_1_5_base.scss","sek-base-rtl.css","../scss/_1_6_typography.scss","../scss/_1_2_variables.scss","../scss/_1_7_grid.scss","../scss/mixins/_grid.scss","../scss/mixins/_breakpoints.scss","../scss/mixins/_grid-framework.scss","../scss/_1_8_transitions.scss","../scss/mixins/_clearfix.scss","../scss/utilities/_screenreaders.scss","../scss/mixins/_screen-reader.scss","../scss/utilities/_embed.scss","../scss/_2_1_formatting.scss","../scss/mixins/_utilities.scss","../scss/_2_2_buttons.scss","../scss/_2_3_wpspecifics.scss","../scss/modules/_heading.scss","../scss/modules/_menu.scss","../scss/modules/_image.scss","../scss/modules/_special_image.scss","../scss/modules/_advanced_list.scss","../scss/modules/_divider.scss","../scss/modules/_spacer.scss","../scss/modules/_icon.scss","../scss/modules/_quote.scss","../scss/modules/_button.scss","../scss/modules/_post_grid.scss","../scss/modules/_simple_form.scss","../scss/modules/_tiny_mce_editor.scss","../scss/modules/_social_icons.scss","../scss/modules/_img_slider.scss","../scss/modules/_accordion.scss","../scss/modules/_shortcode.scss","../scss/_3_3_modules_commons.scss"],"names":[],"mappings":"AAEA,gFAAgF;AAChF;gFACgF;AAIhF;;;EAMI,uBAAsB;CACvB;;AAPH;;;;;;;;;;;;;EAsBI,aAAY;EACZ,mBAAkB;EAClB,qBAAoB;EACpB,UAAS;EACT,WAAU;CAEX;;AA5BH;;EAgCI,YAAW;CACZ;;AAjCH;EAmCI,iBAAgB;CACjB;;AApCH;EAuCI,gBAAe;EACf,uBAAsB;EACtB,mBAAkB;EAClB,gBAAe;CAChB;;AA3CH;EA6CI,iBAAgB;CACjB;;AA9CH;EAmDI,gBAAe;CAChB;;AAEH,gFAAgF;AAChF;gFACgF;AC5DhF,kEAAkE;ACqDlE;EDnDE,YAAW;EACX,gBAAe;CAChB;;AAED,qDAAqD;AACrD;EACE,qBAAa;EAAb,cAAa;EACb,uBAAmB;EAAnB,oBAAmB;CACpB;;AAED;EACE,mBAAkB;EAClB,eAAc;EACd,gBAAe;CAChB;;AAED;;EAEE;AACF,8BAA8B;AAW9B,4BAA4B;AAQ5B,2BAA2B;AAC3B;EACE,qBAAa;EAAb,cAAa;EACb,2BAAsB;EAAtB,uBAAsB;CACvB;;AACD;EACE,4BAAkB;EAAlB,2BAAkB;EAAlB,mBAAkB;EAClB,YAAW;EAEX,gBAAe;CAChB;;AAKD;;EAEE;ACiCF;ED/BI,iBAAgB;EAChB,gBAAe;CAClB;;AAKD,wBAAwB;AACxB;;;;;GAKG;AACH,kGAAkG;AAqClG;EACE,mBAAkB;CACnB;;AACD;EACE,mBAAkB;EAClB,eAAc;CACf;;AAGD,gCAAgC;AAchC,qCAAqC;AACrC,6CAA6C;AAC7C;EACI,UAAS;EACT,uBAAsB;EACtB,YAAW;EACX,iBAAgB;EAChB,WAAU;EACV,8BAA6B;EAC7B,WAAU;EACV,6BAA4B;CAC/B;;AACD;EACI,mBAAkB;EAClB,sBAAqB;CACxB;;AACD,8CAA8C;AAE9C,iCAAiC;AACjC;EAEE,sBAAqB;CACtB;;AACD;EACE,YAAU;EACV,mBAAiB;EACjB,SAAQ;EACR,gCAA+B;EAC/B,wBAAuB;EACvB,qBAAoB;EACpB,aAAY;EAKZ,iCAAgC;EAEhC,iBAAgB;CACjB;;AACD;EACE,qBAAoB;EACpB,aAAY;EACZ,qBAAoB;EACpB,aAAY;CACb;;AACD;EACE,mBACF;CAAC;;ACfD;EDoBE,uBAAsB;EACtB,6BAA4B;EAC5B,6BAA4B;CAC7B;;ACjBD;EDoBE,6BAA4B;EAC5B,uBAAsB;CACvB;;ACjBD;EDoBE,mBAAkB;CACnB;;AAI2C;EACxC;IACI,8BAA6B;GAChC;CCpBJ;;AAED;ED0BE,sBAAqB;EAGrB,yCAAwC;CACzC;;AAKD;EACI,mBAAkB;CACrB;;AACD;;EAEI,eAAc;EACd,iBAAgB;CACnB;;AACD;EACI,oBAAmB;CACtB;;ACtBD;ED4BE,iDAAgD;CACjD;;AACD;EAGE,4DAA0D;CAC3D;;ACtBD;ED2BE,mBAAkB;CACnB;;ACxBD;;;;ED8BE,gBAAe;EACf,YAAW;EACX,UAAS;EACT,eAAc;EACd,aAAY;CACb;;ACxBD;ED0BE,eAAc;CACf;;ACvBD;;ED0BE,aAAY;EACZ,YAAW;EACX,OAAM;EACN,QAAO;EACP,8BAA4B;EAC5B,iBAAgB;EAChB,WAAU;EACV,eAAc;CACf;;ACtBD;ED0BE,gCAA+B;EAC/B,qBAAoB;EACpB,WAAU;CACX;;ACrBD;EDuBE,WAAU;EACV,mBAAkB;CACnB;;ACpBD;EDsBE,gBAAe;CAChB;;ACnBD;EDqBE,mBAAkB;EAClB,SAAQ;EACR,UAAS;EACT,qDAAoD;EAE5C,6CAA4C;CACrD;;AClBD;EDoBE,qBAAoB;EACjB,kBAAiB;CACrB;;AAGD;EACI,YAAW;EACX,aAAY;EACZ,4CAA2C;EAC3C,gDAA+C;EAC/C,wDAAuD;EACvD,uBAAsB;EACtB,gBAAe;EACf,oBAAmB;EACnB,eAAc;EACd,qCAAoC;CACvC;;AASD;EACE;IACE,cAAa;GACd;CC1BF;;AD8BD;EAAqE,WAAU;CAAG;;AAClF;EAAuC,iBAAgB;CAAG;;AAI1D;EACE,2CAAuC;CACxC;;AErVD;EACE,wBC2GuB;CD1GxB;;AEGC;ECAA,YAAW;EACX,oBAAuC;EACvC,mBAAsC;EACtC,mBAAkB;EAClB,kBAAiB;CDDhB;;AEoDC;EFvDF;ICWI,iBFoDK;GC5DR;CHsUF;;AKlRG;EFvDF;ICWI,iBFqDK;GC7DR;CH4UF;;AKxRG;EFvDF;ICWI,iBFsDK;GC9DR;CHkVF;;AK9RG;EFvDF;ICWI,kBFuDM;GC/DT;CHwVF;;AG/UC;ECZA,YAAW;EACX,oBAAuC;EACvC,mBAAsC;EACtC,mBAAkB;EAClB,kBAAiB;CDUhB;;AAQD;ECLA,qBAAa;EAAb,cAAa;EACb,oBAAe;EAAf,gBAAe;EACf,oBAAuC;EACvC,mBAAsC;CDIrC;;AACD;EACE,iBAAgB;EAChB,gBAAe;EACf,mBAAkB;CACnB;;AAID;EACE,gBAAe;EACf,eAAc;CAOf;;AATD;;EAMI,iBAAgB;EAChB,gBAAe;CAChB;;AGtCH;;;EACE,mBAAkB;EAClB,YAAW;EACX,gBAAe;EACf,oBAA4B;EAC5B,mBAA2B;CAC5B;;AAgBD;EFWA,mBAAsC;EAAtC,eAAsC;EAItC,gBAAuC;CEbtC;;AAED;EACE,2BAAa;EAAb,cAAa;EACb,qBAAY;EAAZ,aAAY;EACZ,gBAAe;CAChB;;AACD;EACE,mBAAc;EAAd,eAAc;EACd,YAAW;EACX,gBAAe;CAChB;;ADiBC;ECXI;IFRN,qBAAsC;IAAtC,iBAAsC;IAItC,kBAAuC;GEMhC;EAFD;IFRN,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,sBAAsC;IAAtC,kBAAsC;IAItC,mBAAuC;GEMhC;EAFD;IFRN,oBAAsC;IAAtC,gBAAsC;IAItC,iBAAuC;GEMhC;EAFD;IFRN,sBAAsC;IAAtC,kBAAsC;IAItC,mBAAuC;GEMhC;EAFD;IFRN,sBAAsC;IAAtC,kBAAsC;IAItC,mBAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,sBAAsC;IAAtC,kBAAsC;IAItC,mBAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,sBAAsC;IAAtC,kBAAsC;IAItC,mBAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,sBAAsC;IAAtC,kBAAsC;IAItC,mBAAuC;GEMhC;EAFD;IFRN,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;GEMhC;EAFD;IFRN,mBAAsC;IAAtC,eAAsC;IAItC,gBAAuC;GEMhC;EAGH;IAAiC,mBAAS;IAAT,UAAS;GAAI;EAE9C;IAAgC,mBJyBN;IIzBM,UJyBN;GIzB6B;EAGrD;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,kBADrB;IACqB,SADrB;GACkC;EAA9C;IAAiC,mBADrB;IACqB,UADrB;GACkC;EAA9C;IAAiC,mBADrB;IACqB,UADrB;GACkC;EAA9C;IAAiC,mBADrB;IACqB,UADrB;GACkC;CNoerD;;AOthBD;;;;;;GAMG;ACdD;EACE,eAAc;EACd,YAAW;EACX,YAAW;CACZ;;ACDH;ECEE,mBAAkB;EAClB,WAAU;EACV,YAAW;EACX,WAAU;EACV,iBAAgB;EAChB,uBAAsB;EACtB,oBAAmB;EACnB,UAAS;CDPV;;ACiBC;EAEE,iBAAgB;EAChB,YAAW;EACX,aAAY;EACZ,kBAAiB;EACjB,WAAU;EACV,oBAAmB;CACpB;;AC1BH;EACC,mBAAkB;CAalB;;AAdD;EAGE,eAAc;EACd,YAAW;CACX;;AALF;;EAQE,mBAAkB;EAClB,YAAW;EACX,aAAY;EACZ,OAAM;EACN,QAAO;CACP;;AClBF;EACI,sBAAqB;CACxB;;AAGD;EAAkB,6BAA4B;CAAI;;AAClD;EAAiB,4BAA2B;CAAI;;AAIhD;EAEM,iBAAgB;CACjB;;AAHL;EAKM,oBAAmB;CAMpB;;AAXL;EAQU,cAAa;CACd;;AATT;EAaM,WAAU;EACV,iBAAgB;EAEZ,wBAAuB;CAQ5B;;AAxBL;EAsBQ,uBAAsB;CACvB;;AAvBP;EA0BQ,iBAAgB;CACnB;;AAML;ECUI,uBDgB8B;EAC9B,mBAAkB;EAClB,iCAAgC;EAChC,wBAAuB;EACvB,aAAY;EACZ,WAAU;EACV,uBVkCqB;CUjCtB;;AAjCH;EAmCI,oBVwBoB;EUvBpB,eAA4B;EAC5B,kBAAiB;EACjB,iCAAgC;EAChC,eVsBoB;EUrBpB,kCAAqC;CACtC;;AAzCH;EA2CW,mBAAkB;CAAI;;AA3CjC;EA4Ce,mBAAiB;CAAI;;AA5CpC;EA8CI,eVeoB;EUdpB,iBAAgB;EAChB,mBAAkB;EAClB,mBAAkB;EAClB,sBAAqB;CACtB;;AAnDH;EAsDI,0BAAyB;CAC1B;;AAvDH;EAyDI,gBAAe;CAChB;;AA1DH;EA4DI,eAAc;EACd,eAAc;EACd,mBAAkB;EAClB,yBAAwB;CACzB;;AAhEH;EAoEM,2CAAsC;EAKxC,iBAAgB;EAChB,iBAAgB;EAChB,oBAAmB;EACnB,gBAAe;EACf,eAAc;EACd,cAAa;CACd;;AAQH;EACE,YAAW;EACX,0BAAyB;EAIzB;;;;;KAKG;CACJ;;APrEG;EOyDJ;IAII,oBAAmB;GAQtB;CZujBA;;AYtjBD;EACI,0BV3CoB;CU+CvB;;AAHG;EAAK,0BAAyB;EAAE,oBAAmB;EAAE,wBVrChC;CUqC6D;;AAClF;EAAS,kBAAiB;EAAG,gBVrBJ;EUqBgC,0BV7CrC;CU6CsE;;AAC1F;EAAK,YV5CY;CU4CS;;AAW9B;EACE,YAAW;CA4CZ;;AA7CD;EAII,qBAAoB;EACpB,cAAa;CAuCd;;AA5CH;EAUM,mBAAkB;EAClB,kBAAiB;CAmBlB;;AA9BL;EAaQ,gBAAe;EACf,UAAS;EAGT,uBAAsB;EAEtB,iBAAgB;EAChB,iBAAgB;EAChB,uBAAsB;EACtB,YAAW;EACX,eAAc;EACd,gBAAe;EACf,iBAAgB;EAChB,kBAAiB;EACjB,mBAAkB;EAClB,YAAW;CACZ;;AA7BP;EAgCM,kBAAiB;EACjB,UAAS;EACT,+BAA8B;EAC9B,YAAW;EACX,gBAAe;EACf,mBAAkB;EAClB,oBAAmB;EACnB,sBAAqB;EACrB,aAAY;EACZ,gBAAe;EACf,mBAAkB;CACnB;;AEtML;EACE,sBAAqB;EACrB,oBAAmB;EACnB,oBAAmB;EACnB,mBAAkB;EAClB,wBAAwB;EACxB,oBAAmB;EACnB,sBAAqB;EACrB,uBAAsB;EACtB,0BAAiB;EAAjB,uBAAiB;EAAjB,sBAAiB;EAAjB,kBAAiB;EACjB,8BAA6B;EAC7B,mBAAkB;EAClB,mBAAkB;EAClB,kBAAiB;EACjB,oBAAmB;EACnB,eAAc;EAEd,gBAAe;EACf,sBAAqB;EACrB,qBAAoB;EAGpB,iCAAgC;CAyBjC;;AD3CG;ECsBA,sBAAqB;CDnBpB;;ACPL;EA8BI,WAAU;EACV,8CAA6C;CAC9C;;AAhCH;EAqCI,oBZ+C2B;EY9C3B,aAAY;EACZ,iBAAgB;CACjB;;AAxCH;EA4CI,uBAAsB;EACtB,8CAA6C;CAC9C;;AASH;;EAEE,qBAAoB;CACrB;;AAED;;;;EAKI,2BAA0B;CAC3B;;AANH;;;;EAYI,WAAU;EACV,mBAAkB;CAOnB;;AAGH;;;;EAKI,oCAAmC;EACnC,wBAAuB;CACxB;;AdsvBH;EevwBE,sBAAsB;CAoEvB;;AfusBD;Eel1BI,eAAc;EACd,mBAAkB;EAClB,gBAAe;EACf,gBAAe;EACf,iBAAgB;EAChB,iBAAgB;EAChB,0DAA0D;EAC1D,aAAY;EACZ,iBAAgB;CACjB;;Afq1BH;Een1BI,eAAc;CACf;;Afs1BH;Een1BI,eAAc;CACf;;Afs1BH;Eep1BI,gBAAe;EACf,mBAAkB;CACnB;;Afu1BH;Eel1BM,gBAAe;CAKlB;;Afi1BH;Ee70BI,qBAAoB;CACrB;;AAGQ;EAEH,+BAAwC;EACxC,gCAAyC;EACzC,iBAAgB;EAChB,YAAW;CACd;;AANM;EAQL,8BAAoC;EACpC,YAAW;EACX,gBAAe;CAChB;;Af+0BL;Ee10BI,eAAc;EACd,kBAAiB;EACjB,mBAAkB;CACnB;;Af60BH;Ee30BI,YAAW;CACZ;;Af80BH;Ee50BI,aAAY;CACb;;Af+0BH;Ee70BI,mBAAkB;EAClB,mBAAkB;EAClB,sBAAqB;EACrB,kBAAiB;CAClB;;Afg1BH;Ee30BI,qBAAoB;EACpB,cAAa;EACb,gBAAe;EAEb,YAAU;CAQb;;AVlBC;EL01BF;Ie10BI,YAAW;GAEd;Cf20BF;;AAED;Ee10BI,mBAAkB;EAElB,YAAW;EACX,QAAO;EACP,kBAAiB;CAClB;;Af60BH;Ee10BI,kBAAiB;EACjB,kBAAiB;EACjB,YAAW;EACX,iBAAgB;EAChB,gBAAe;CAKhB;;AVtCC;ELg3BF;Ie50BM,gBAAe;GAEpB;Cf60BF;;AAED;Ee50BI,kBAAiB;EACjB,eAAe;CAChB;;Af+0BH;Ee50BI,oBbpBW;EaqBX,YAAW;EACX,mBAAkB;EAClB,oBAAmB;EACnB,sBAAqB;EACrB,aAAY;EACZ,gBAAe;EAEf,mBAAkB;CACnB;;Af+0BH;Ee50BI,UAAS;EAGT,uBAAsB;EAEtB,iBAAgB;EAChB,iBAAgB;EAChB,uBAAsB;EACtB,YAAW;EACX,eAAc;EACd,gBAAe;EACf,iBAAgB;CACjB;;AAKH;EACE,qBAAa;EAAb,cAAa;EACb,uBAAmB;EAAnB,oBAAmB;EACnB,sBAAuB;EAAvB,wBAAuB;EACvB,2BAA0B;EAC1B,uBAAsB;CAOvB;;AAZD;EAOI,iBAAgB;EAChB,aAAY;EACZ,iBAAgB;EAChB,eAAc;CACf;;AAGH;EACE,mBAAkB;CACnB;;AAED;EACE,YAAW;EACX,aAAY;EACZ,sBAAqB;EACrB,mBAAkB;EAClB,uBAAsB;EACtB,kCAAiC;EACjC,qCAAoC;EACpC,2BAA0B;EAC1B,4BAA2B;CAC5B;;AAGC;EACE,YAAW;EACX,uBAAsB;EACtB,UAAS;CACV;;AACD;EACE,YAAW;EACX,wBAAuB;EACvB,WAAU;CACX;;AC3LH;;sCAEsC;AACtC;EAEM,mBAAkB;EAElB,gBAAe;EACf,eAAc;CAKjB;;AAVH;EAOU,eAAc;EACd,mBAAkB;CACrB;;ACbP;;sCAEsC;AA6BtC;EACI,mBAAkB;EAClB,qBAAa;EAAb,cAAa;EACb,oBAAe;EAAf,gBAAe;EACf,uBAAmB;EAAnB,oBAAmB;EACnB,mBAAyB;EAAzB,0BAAyB;EACzB,iBAAgB;CAMnB;;AAHG;EACI,WAAU;CACb;;AAEL;EACI,8BAAgB;EAAhB,iBAAgB;EAChB,qBAAY;EAAZ,aAAY;EACZ,uBAAmB;EAAnB,oBAAmB;CAKtB;;AACD;EACI,qBAAa;EAAb,cAAa;EACb,oBAAe;EAAf,gBAAe;EACf,2BAAsB;EAAtB,uBAAsB;CAuFzB;;AArFG;EAOI,+BAA8B;EAC9B,8BAA6B;CAQhC;;AAhBD;;EAGQ,4BAA2B;EAC3B,sBAAqB;EACrB,qBAAoB;CACvB;;AANL;EAUQ,iBAAgB;EAChB,WAAU;CAIb;;AAfL;EAaY,WAAU;CACb;;AAnBb;EAwBQ,gBAAe;CAwBlB;;AAhDL;EA0BY,mBAAkB;EAClB,mBAAkB;EAClB,qBAAa;EAAb,cAAa;EACb,uBAAmB;EAAnB,oBAAmB;EACnB,uBAA8B;EAA9B,+BAA8B;EAC9B,eAAc;EACd,iBAAe;CASlB;;AARG;EACI,sBAAqB;CACxB;;AAnCb;EAsCoB,2BAA0B;CAC7B;;AAvCjB;EA4CY,yBAAwB;EAExB,qCAAgC;CACnC;;AA/CT;;EAoDQ,mBAAkB;CAiCrB;;AArFL;;EAwDY,iBAAgB;EAChB,uCAAsC;EACtC,kCAAiC;EACjC,oCAAmC;EACnC,cAAa;EACb,mBAAkB;EAClB,qBAAoB;EACpB,qBAAoB;EACpB,iBAAgB;EAChB,0BAAyB;EACzB,qCAA4B;EAA5B,6BAA4B;EAC5B,oCAA2B;EAA3B,4BAA2B;EAC3B,4BAAmB;EAAnB,oBAAmB;EACnB,iBAAgB;EAChB,eAAc;EACd,mBAAkB;EAClB,+CAAsC;EAAtC,uCAAsC;EACtC,6BAA4B;CAC/B;;AA1ET;;EA6EgB,0DAAiD;EAAjD,kDAAiD;EACjD,wCAAsC;CAM7C;;AApFT;;EAjDI,iBAAgB;EAChB,YAAW;EACX,iBAAgB;EAChB,iBAAgB;EAChB,UAAQ;EACR,UAAS;EACT,WAAU;EACV,mBAAkB;CAmIjB;;AZlFD;EYPJ;;IAtCQ,mBAAkB;IAClB,cAAa;IACb,UAAS;IAEL,SAAQ;IAKZ,cAAa;IACb,iBAAgB;IAChB,gBAAe;GAoHlB;CjB6gCJ;;AK/lCG;EYPJ;IAoGQ,wBAAmB;IAAnB,oBAAmB;GAyBtB;EA7HL;;IAwGgB,sBAAoB;GACvB;EANT;IASQ,oBAAmB;GACtB;EAVL;IAYQ,aAAY;GACf;EA3GL;IA8GY,cAAa;GAQhB;EAtHT;IAiHoB,qBAAoB;GAI3B;EAnIjB;IAwIQ,gCAAuB;IAAvB,yBAAuB;IACvB,8BAAgB;IAAhB,iBAAgB;IAEhB,0BAAyB;IACzB,sBAAqB;IACrB,mBAAkB;GACrB;EAED;IACI,yBAAuB;GAC1B;EACD;IACI,cAAa;GAChB;EAED;IAWI,kBAAiB;IACjB,gDAA2C;GAwB9C;EAlCG;IACI,2BAA0B;IAC1B,qBAAoB;GAIvB;EAND;IAIQ,mBAAkB;GACrB;EAPT;IAgBY,YAAW;GAKlB;EArBL;IAwBQ,2CAAsC;IAAtC,uCAAsC;GACzC;EAzBL;IA6BQ,mBAAmB;IACnB,oBAAmB;GACtB;EAED;IACI,UAAS;GACZ;EAGG;IACJ,2BAA0B;IAC1B,mCAA0B;IAA1B,2BAA0B;GAI7B;EANQ;IAID,qCAA4B;IAA5B,6BAA4B;GAC/B;EAWI;;IAGD,4BAAmB;IAAnB,oBAAmB;GAyBtB;EA5BI;;IAKG,gBAAe;IACf,WAAU;IACV,mBAAkB;IAClB,eAAc;IACd,kCAAiC;IACjC,uCAAgC;IAAhC,+BAAgC;GACnC;EAXA;;IAiBG,iBAAgB;GAUnB;EA3BA;;IAwBO,qBAAoB;IACpB,oBf3LW;Ge4Ld;EA1BJ;IA+BD,0BAAiB;IAAjB,kBAAiB;GAOpB;EAtCI;IAiCG,mBAAkB;IAClB,oBAAmB;IACnB,WAAU;IACV,mCAA2B;IAA3B,2BAA2B;GAC9B;EAKR;IACG,cAAa;GAChB;CjB09BJ;;AiB/8BD;EAIgB,yDAA+C;EAA/C,iDAA+C;EAC/C,uCAAqC;CAM5C;;AAXT;EAcY,UAAS;EAEL,2DAAiD;EAAjD,mDAAiD;EACjD,yCAAuC;CAM9C;;AApIL;EA/LA,iBAAgB;EAChB,YAAW;EACX,iBAAgB;EAChB,iBAAgB;EAChB,UAAQ;EACR,UAAS;EACT,WAAU;EACV,mBAAkB;CAsXrB;;AZrUG;EYuIA;IApLI,mBAAkB;IAClB,cAAa;IACb,UAAS;IAEL,SAAQ;IAKZ,cAAa;IACb,iBAAgB;IAChB,gBAAe;GAuWtB;CjBg6BA;;AiBl9BG;EACI,eAAc;CACjB;;AALL;EASQ,uBAAsB;EACtB,oBAAmB;CACtB;;AAXL;EAcQ,QAAO;EACP,YAAW;CACd;;AAhBL;;EAmBQ,WAAU;EACV,YAAW;EACX,OAAM;CACT;;AAtBL;EAyBQ,WAAU;EACV,SAAQ;CACX;;AA3BL;;EA8BQ,YAAW;EACX,WAAU;CACb;;AAyCL;EAEQ,eAAc;EACd,iBAAgB;EAChB,qBAAoB;CAEvB;;AANL;EAQe,kBAAiB;CAAI;;AARpC;EASiB,mBAAkB;CAAI;;AATvC;EAUoB,mBAAkB;CAAI;;AAV1C;EAWuB,mBAAkB;CAAI;;AAX7C;EAY0B,oBAAmB;CAAI;;AAKjD;EAAqD,cAAc;CAAE;;AAjBrE;EAkBgE,eAAc;CAAI;;AAElF;;;EAEmE,oBAAmB;CAAI;;AAE1F;;EAEI,mBAAkB;CACrB;;AjBg8BD;EiB77BI,iBAAgB;EAGhB,uBAAsB;EAItB,4BAA2B;EAC3B,wBAAuB;EACvB,qBAAoB;CACvB;;AjB67BD;EiBv7BqD,cAAa;CAAI;;AACtE;EAA0E,cAAa;CAAI;;AAC3F;EAAmF,eAAc;CAAI;;AAUrG;;EAEE;AACF;;EAGI,oBAAmB;CACtB;;AACD;EACI,mBAAkB;EAClB,SAAQ;EACR,SAAQ;EACR,mBAAkB;EAClB,eAAc;EACd,YAAW;EACX,aAAY;EACZ,YAAW;CACd;;AAED;EACI,eAAc;CACjB;;AAED;EACI,4BAA0B;EAC1B,yBAAwB;EACxB,cAAa;EACb,aAAY;EACZ,WAAU;EACV,gBAAe;EACf,eAAc;EACd,aAAY;EACZ,YAAW;EAGX,uBAAsB;EACtB,iBAAgB;CACnB;;AAED;EACI,eAAc;EAGd,yBAAwB;EACxB,qCAAoC;EAEpC,6BAA4B;EAC5B,oCAAmC;EAEnC,4BAA2B;EAC3B,YAAW;EACX,eAAa;CAChB;;AAED;EACI,mCAAkC;EAElC,2BAA0B;CAC7B;;AAED;EACI,iBAAgB;EAChB,uCAAsC;EACtC,kCAAiC;EACjC,oCAAmC;EAEnC,mBAAkB;EAClB,qBAAoB;EACpB,qBAAoB;EACpB,iBAAgB;EAChB,0BAAyB;EACzB,qCAA4B;EAA5B,6BAA4B;EAC5B,oCAA2B;EAA3B,4BAA2B;EAC3B,4BAAmB;EAAnB,oBAAmB;EACnB,iBAAgB;EAChB,gBAAe;EACf,kBAAiB;EACjB,mBAAkB;CACrB;;AAMD;EACI,oCAAmC;EACnC,gBAAe;EAUf,aAAY;EACZ,YAAW;EACX,WAAU;EACV,uBAAsB;CA0DzB;;AAzED;EAKQ,gBAAe;EACf,mCAAkC;EAClC,aAAY;EACZ,cAAa;EACb,aAAY;CACf;;AAeO;EACJ,aAAY;EACZ,mBAAkB;EAClB,eAAc;CA4CjB;;AA/CQ;EAKD,eAAc;EACd,cAAa;EACb,mBAAkB;EAClB,WAAU;EACV,mBAAkB;EAClB,6BAA4B;EAC5B,0BAAyB;EACzB,oCAA2B;EAA3B,4BAA2B;EAC3B,wBAAuB;CAC1B;;AAdI;EAgBD,OAAM;CACT;;AAjBI;EAmBD,SAAQ;CACX;;AApBI;EAsBD,UAAS;CACZ;;AAEQ;EAED,sDAA6C;EAA7C,8CAA6C;EAC7C,YAAW;CACd;;AAJI;EAMD,WAAU;CACb;;AAPI;EASD,wDAA+C;EAA/C,gDAA+C;EAC/C,YAAW;CACd;;AAEG;EACJ,YAAW;EACX,6CAAmC;EAAnC,qCAAmC;EACnC,WAAU;CACb;;AACO;EACJ,oCAA2B;EAA3B,4BAA2B;EAC3B,YAAW;CACd;;AAaT;EACI,mBAAkB;CACnB;;AjBw6BH;EiBr6BI,cAAa;CAChB;;AACD;EACI,gBAAe;EACf,WAAU;CACb;;AACD;EACI,cAAY;EACZ,iBAAgB;EAChB,mBAAkB;EAClB,aAAY;EACZ,UAAS;EACT,SAAQ;EACR,QAAO;EACP,aAAY;EAEZ,6CAAwC;CAC3C;;AACD;EACI,uBAAsB;EACtB,0EAAgE;EAChE,yGAAwG;EACxG,yGAAgG;EAAhG,iGAAgG;EAAhG,oIAAgG;EAChG,cAAa;CAKhB;;AAVD;EAQQ,cAAa;CAChB;;AjB46BL;EiBx6BI,qBAAa;EAAb,cAAa;EACb,YAAW;CACd;;AjB26BD;EiBx6BI,gBAAe;CAClB;;AjB26BD;EiBz6BI,UAAS;EACT,+BAA6B;EAC7B,YAAW;EACX,gBAAe;EACf,mBAAkB;EAClB,oBAAmB;EACnB,sBAAqB;EACrB,aAAY;EACZ,gBAAe;EAEf,mBAAkB;CACrB;;AjB46BD;;EiBx6BI,gCAA8B;CACjC;;AACD;EACI,cAAa;CAChB;;AjB66BD;EiB16BI,eAAc;EACd,uBAAsB;CACzB;;AjB66BD;EiB36BI,gBAAe;CAClB;;AACD;EAGY,0BAAwB;CAC3B;;AAJT;EAMY,0BAAwB;CAC3B;;ACtsBT;;sCAEsC;AlBqnDtC;EkBnnDI,mBAAkB;CACrB;;AlBsnDD;EkBpnDE,wBAAuB;CACxB;;AlBunDD;EkBnnDE,+CAA8C;CAC/C;;AACD,0EAA0E;AlBwnD1E;EkBnnDI,8BAA6B;CAC9B;;AlBwnDH;EkBtnDI,iBAAgB;EAChB,qBAAoB;EACpB,cAAa;EACb,sBAAqB;EACrB,wBAAuB;EACvB,uBAAsB;EACtB,oBAAmB;CAIpB;;AlBsnDH;EkBxnDM,qBAAiB;EAAjB,kBAAiB;CAClB;;AAUL;EACE,YAAW;CACZ;;AACD;EACE,+BAAsB;EAAtB,uBAAsB;CACvB;;AACD;EACE,+BAAsB;EAAtB,uBAAsB;CACvB;;AACD;EACE,oCAA2B;EAA3B,4BAA2B;CAC5B;;AACD;EACE,mCAA0B;EAA1B,2BAA0B;CAC3B;;AACD;EACE,0BAAiB;EAAjB,kBAAiB;CAClB;;AACD;EACE,8BAAqB;EAArB,sBAAqB;CACtB;;AAFD;EAIE,gCAAuB;EAAvB,wBAAuB;EACvB,qBAAY;EAAZ,aAAY;CACb;;AACD;EACE,gCAAuB;EAAvB,wBAAuB;EACrB,qBAAY;EAAZ,aAAY;CACf;;AACD;EACE,8BAAqB;EAArB,sBAAqB;CACtB;;ACxED;;sCAEsC;AACtC;EACI,gBAAe;EACf,iBAAgB;EAChB,YAAW;EACX,mBAAkB;EAClB,eAAc;EACd,mCAAkC;EAClC,uBAAsB;EAMtB,qBAAa;EAAb,cAAa;EACb,uBAAmB;EAAnB,oBAAmB;EACnB,sBAAuB;EAAvB,wBAAuB;EACvB,oCAA2B;EAA3B,4BAA2B;EAC3B,qCAA4B;EAA5B,6BAA4B;CA6C/B;;AA9DD;EASQ,YAAW;EACX,eAAc;EACd,kBAAiB;CACpB;;AAMO;EACN,eAAc;CAIf;;AALQ;EAGL,eAAc;CACf;;AAtBP;EAyBM,mBAAkB;EAClB,YAAW;EACX,aAAY;EACZ,WAAU;EACV,OAAM;EAGN,qBAAoB;EAEpB,cAAa;EACb,2BAA0B;EAC1B,uBAAsB;EACtB,uBAAmB;EAAnB,oBAAmB;EACnB,sBAAuB;EAAvB,wBAAuB;CAmBxB;;AAzDL;EAyCQ,gBAAe;EACf,iBAAgB;EAChB,eAAc;EACd,yBAAwB;CACzB;;AA7CP;EA+CQ,eAAc;EACd,gBAAe;EACf,mBAAkB;EAClB,iBAAgB;EAChB,yBAAwB;CACzB;;AApDP;EAsDQ,UAAS;EACT,WAAU;CACX;;AAxDP;EA4DM,eAAc;CACf;;AAGL;EACI,mBAAkB;EAClB,mBAAkB;EAClB,QAAO;EACP,SAAQ;EACR,OAAM;EACN,UAAS;EACT,iBAAgB;EAChB,WAAU;EACV,qBAAa;EAAb,cAAa;EACb,uBAAmB;EAAnB,oBAAmB;EACnB,sBAAuB;EAAvB,wBAAuB;CA2C1B;;AAtDD;EAaQ,mBAAkB;EAClB,YAAW;EACX,WAAU;EACV,oBAAmB;EACnB,sBAAqB;EACrB,wBAAuB;EACvB,yBAAwB;EACxB,oCAAmC;EACnC,4BAA2B;CA4B9B;;AAjBG;;;EAGI,WAAU;EACV,oBAAmB;CACtB;;AACD;;;EAGI,WAAU;EACV,oBAAmB;CACtB;;AAQL;EACI,mBAAkB;CACrB;;AAGL;EACI,mBAAkB;EAClB,YAAW;EACX,aAAY;EACZ,mCAAkC;EAClC,uBAAsB;EACtB,6BAA4B;EAC5B,WAAU;EACV,OAAM;CACT;;ACnID;EAEQ,sBAAqB;EAEjB,2BAAyB;CAKhC;;AATL;EAU6C,wBAAuB;CAAG;;AAVvE;EAW2C,sBAAqB;CAAG;;AAXnE;EAY6C,wBAAuB;CAAG;;AAZvE;EAa8C,yBAAwB;CAAG;;AAbzE;EAckD,6BAA4B;CAAG;;AAdjF;EAekD,6BAA4B;CAAG;;AAfjF;EAgBkD,6BAA4B;CAAG;;AAhBjF;EAiBkD,6BAA4B;CAAG;;AAjBjF;EAmBQ,WAAU;EACV,iBAAgB;EAChB,UAAS;EAEL,mBAAkB;CAMzB;;AA7BL;EA4BY,iBAAgB;CAAG;;AA5B/B;EAgCgB,mBAAkB;CAAG;;AAhCrC;EAqCgB,sBAAqB;CAAG;;AArCxC;EA2CY,qBAAoB;EACpB,cAAa;CAGhB;;AA/CT;EAmDY,mCAAkC;EAE9B,uBAAsB;EAClB,oBAAmB;EAE3B,qBAAoB;EACpB,cAAa;CAUhB;;AAnET;EA2DgB,UAAS;CACZ;;AA5Db;EA8DgB,gBAAc;CAIjB;;AAlEb;EAgEoB,2BAAyB;CAC5B;;AAjEjB;EAqEY,mBAAkB;EAClB,qBAAoB;EAChB,eAAc;EAEd,qBAAoB;EAChB,aAAY;CACvB;;AA3ET;EA6EY,kBAAiB;EACjB,aAAY;EACZ,cAAa;EACb,qBAAoB;EAEpB,cAAa;EACb,uBAAsB;EAEd,oBAAmB;EAEvB,sBAAqB;EACjB,wBAAuB;CAClC;;AAzFT;EA2FY,mBAAkB;CACrB;;AC7FT;;sCAEsC;ArBs7DtC;EqBp7DI,mBAAkB;CAKrB;;ArBm7DD;EqBt7DQ,aAAY;EACZ,eAAc;CACjB;;AAEL;EACI,8BAA6B;EAC7B,sBAAqB;EACrB,YAAW;EACX,iBAAgB;EAChB,oBAAmB;EACnB,gBAAe;CAClB;;ACjBD;;sCAEsC;AACtC;EACI,aAAY;CACf;;ACLD;;sCAEsC;AvBk9DtC;EuBh9DI,mBAAkB;EAClB,eAAc;EACd,gBAAe;CAyClB;;AvB26DD;;;;;EuB78DQ,eAAc;CACjB;;AvBo9DL;EuBh9DM,+CAA8C;CAC/C;;AvBq9DL;EuBh9DQ,kCAAiC;CAClC;;AvBq9DP;EuBj9DQ,WAAU;EACV,YAAW;EACX,mBAAkB;CACnB;;AvBo9DP;EuBh9DM,iBAAgB;EAChB,yBAAwB;CAKzB;;AvB+8DL;EuBl9DQ,iBAAgB;EAChB,yBAAwB;CACzB;;AvBq9DP;EuBl9DM,sBAAqB;EACrB,iBAAgB;CACjB;;AC9CL;;sCAEsC;AACtC;EAEQ,iBAAgB;EAChB,WAAU;CACb;;AAJL;EAMQ,gBAAe;EACf,mBAAkB;EAClB,oBAAmB;CACtB;;AATL;EAUsC,kBAAiB;CAAG;;AAV1D;EAYM,iBAAgB;EAChB,iBAAgB;EAChB,mBAAkB;EAClB,eAAc;CACf;;AAhBL;EAmBQ,iBAAgB;EAChB,oBAAmB;EACnB,gBAAe;EACf,eAAc;EACd,gBAAe;EACf,aAAY;CAuGf;;AA/HL;EA0BY,WAAU;EACV,UAAS;CACZ;;AA5BT;EA8BY,cAAa;CAChB;;AA/BT;EAiCY,WAAU;EAIV,oBAAmB;CACtB;;AAtCT;EAmCgB,cAAa;CAChB;;AApCb;EAwCY,eAAc;CACjB;;AAzCT;EA4CY,oBAAwC;CAK3C;;AAjDT;EAqDc,oBAAmB;EACnB,2CAAsC;CAsC3C;;AA5FT;EA6DgB,YAAW;EACX,eAAc;EACd,kBAAiB;EACjB,mBAAkB;EAGhB,qBAAoB;EACpB,qBAAoB;CAuBzB;;AA3Fb;EA2EoB,eAAc;EACd,YAAW;EACX,SAAQ;EACR,mBAAkB;EAClB,iBAAgB;EAChB,WAAU;EACV,aAAY;EAEV,SAAQ;EAMV,sBAAqB;CACxB;;AA1FjB;EA+FY,mBAAkB;EAClB,qBAAa;EAAb,cAAa;CA8BhB;;AA9HT;EAkGgB,qBAAoB;CACvB;;AAnGb;EAuGgB,iBAAgB;EAChB,0CAAyC;EACzC,gBAAe;EACf,iBAAgB;EAChB,YAAW;EACX,mBAAkB;EAClB,mBAAkB;EAClB,mCAAkC;EAClC,oCAAmC;EACnC,qBAAoB;EACpB,qBAAoB;EACpB,qBAAa;EAAb,cAAa;EACb,YAAW;EACX,UAAS;EAEP,SAAQ;EAKV,mBAAkB;EAClB,UAAS;CACZ;;AC/Hb;;sCAEsC;AzBsnEtC;EyBpnEE,mBAAkB;CACnB;;AACD;EAEI,oBAAkB;EAClB,eAAc;EACd,mBAAkB;EAClB,cAAa;CASd;;AAdH;EAOM,cAAa;CACd;;AARL;EAUM,eAAc;EACd,0BAAyB;EACzB,sBAAoB;CACrB;;AzB0nEL;EyBpnEE,sBAAqB;CACtB;;AAED;EACI,qBAAa;EAAb,cAAa;EACb,uBAAmB;EAAnB,oBAAmB;CAKtB;;AAPD;EAIQ,YAAW;EACX,mBAAkB;CACrB;;AAEL;EAEI,oDAAmD;CAItD;;AAND;EAIQ,mCAA0B;EAA1B,2BAA0B;CAC7B;;ACzCL;;sCAEsC;AAEtC;EACE,mBAAkB;EAClB,sBAAqB;CAyItB;;AA3ID;EAKI,mBAAkB;CA8CnB;;AAnDH;EAOM,oBAAmB;CACpB;;AARL;EAUM,oBAAmB;CACpB;;AAXL;EAuBM,iBAAgB;CAajB;;AApCL;EAeQ,yBAAuB;CACxB;;AAhBP;EAkBQ,yBAAuB;CACxB;;AAnBP;EAqBQ,yBAAuB;CACxB;;AAtBP;EA0BU,yBAAuB;EACvB,oBAAmB;CACpB;;AA5BT;EA8BU,yBAAuB;CACxB;;AA/BT;EAiCU,yBAAuB;CACxB;;AAlCT;EAuCc,2CAAsC;EAGtC,sDAA+C;CAQxD;;AAlDL;EA4CO,oCAAmC;EAE3B,4BAA2B;EAE3B,6EAAsE;CAC9E;;AAjDP;EA2DI,oBAAmB;EACnB,iBAAgB;CAgBjB;;AA5EH;EAwDM,oFAA2E;EAC3E,mBAAkB;CACnB;;AA1DL;EAoEM,eAAc;EACd,mBAAkB;CACnB;;AAtEL;EAwEM,eAAc;EACd,YAAW;EACX,aAAY;CACb;;AA3EL;EAiFI,yCAAyC;CAC1C;;AAlFH;EA2FM,UAAS;EACT,iBAAgB;CAMjB;;AAJC;EA9FN;IA+FQ,wBAAsB;IACtB,gCAA6B;GAEhC;C1BmqEJ;;A0BrwED;EAoGQ,mBAAkB;EAClB,aAAY;EACZ,YAAW;EACX,iBAAgB;EAChB,gBAAe;EACf,OAAM;EACN,QAAO;EACP,SAAQ;EACR,UAAS;EACT,qBAAoB;EACpB,kBAAiB;CAMpB;;AAJG;EAhHR;IAiHU,wBAAsB;IACtB,mBAAkB;GAEvB;C1BsqEJ;;A0B1xED;EAyHM,eAAc;EACd,uBAAsB;EACtB,cAAa;EACb,eAAc;CACjB;;AA7HH;EAiI8B,kBAAiB;CAE5C;;AAnIH;EAwII,iBAAgB;CACjB;;AAWH;EAGI,mBAAkB;EAClB,eAAc;CAWf;;AAfH;EAMM,0BAAyB;EACzB,gBAAe;EACf,sBAAqB;EACrB,eAAc;CAKf;;AAdL;EAWQ,eAAc;EACd,2BAA0B;CAC3B;;AAbP;EAmBI,gBAAe;EAOf,mBAAkB;CAmBnB;;ArB7HC;EqBgFJ;IAqBM,gBAAe;GAwBlB;C1BooEF;;AKjwEG;EqBgFJ;IAwBM,gBAAe;GAqBlB;C1B0oEF;;A0BvrED;EA4BM,sBAAqB;EACrB,eAAc;EACd,gBAAe;EACf,iBAAgB;EAChB,mBAAkB;EAClB,0BAAyB;EACzB,sBAAqB;CAUtB;;AA5CL;EAoCQ,YACF;CAAC;;ArBrHH;EqBgFJ;IAuCQ,gBAAe;GAKlB;C1B+pEJ;;AK3xEG;EqBgFJ;IA0CQ,gBAAe;GAElB;C1BqqEJ;;A0BjtED;EAgDM,mBAAkB;CAWrB;;AA3DH;EAkDM,0BAAyB;EACzB,gBAAe;EACf,oBAAmB;EACnB,eAAc;CACf;;AAtDL;EAwDM,2BAA0B;EAC1B,eAAc;CACf;;AA1DL;EA8DI,mBAAkB;EAClB,mBAAkB;EAClB,gBAAe;EACf,YAAW;CACZ;;AAWH;EAEI,kBAAiB;EACjB,cAAa;EACb,iCAA+B;EAC/B,sCAAoC;CAKrC;;AAHC;EAPJ;IAQM,0BAAwB;GAE3B;C1B8pEF;;A0BxqED;EAYI,kBAAiB;EACjB,cAAa;EACb,iCAA+B;EAC/B,sCAAoC;EACpC,mBAAkB;EAClB,wBAAuB;EACvB,sBAAqB;CAMtB;;AAJC;EApBJ;IAqBM,0BAAwB;IACxB,kBAAiB;GAEpB;C1BiqEF;;A0BzrED;EA4BI,gBAAe;EACf,mBAAkB;CACnB;;AA9BH;EAiCI,qCAAmC;EACnC,0CAAwC;CACzC;;AAnCH;EA0CI,iBAAgB;EAChB,2BAA0B;EACtB,uBAAsB;CAC3B;;AASH;EAEI,kBAAiB;EACjB,cAAa;EACb,+BAA8B;EAC9B,+BAA8B;EAC9B,mBAAkB;EAClB,wBAAuB;EACvB,mBAAkB;EAClB,sBAAqB;CAKtB;;AAHC;EAXJ;IAYM,0BAAwB;GAE3B;C1BspEF;;A0BpqED;EAkBI,gBAAe;EACf,mBAAkB;CACnB;;AApBH;EAsBI,gBAAe;EACf,mBAAkB;CACnB;;AAIH;EAmBM,oBAAmB;CACpB;;AApBL;EAqBc,iBAAgB;CAAG;;AArBjC;EAwBQ,aAAY;EACZ,eAAc;CACf;;AA1BP;EA4BQ,mBAAkB;EAClB,aAAY;EACZ,YAAW;CACZ;;AAOP;EAEE,yCAAyC;CAC1C;;AAOD;EACE,0BAAyB;EACzB,iBAAgB;EAChB,aAAY;CAqGb;;AAxGD;EAKI,mBAAkB;CA2BnB;;AAhCH;EAOM,sBAAqB;EACrB,uBACM;EACN,UACF;CAAC;;AAXL;EAiBM,qBAAoB;EACpB,aAAW;EACX,iCAA+B;CAChC;;AApBL;EAsBM,iBAAgB;EAChB,WAAS;CACV;;AAxBL;EA2BM,cAAa;CACd;;AA5BL;EA8BM,eAAc;CACf;;AA/BL;EAkCI,kBAAiB;EACjB,qBAAoB;CACrB;;AApCH;EAsCI,UAAS;CACV;;AAvCH;EAyCI,sBAAqB;EACrB,gBAAe;CAChB;;AA3CH;EA6CI,0BAAyB;EACzB,oBAAmB;EACnB,eAAc;CAKf;;AApDH;EAiDM,eAAc;EACd,sBAAoB;CACrB;;AAnDL;EAsDI,eAAc;CACf;;AAvDH;EAyDI,eAAc;CAIf;;AA7DH;EA2DM,gBAAe;CAChB;;AA5DL;EA+DI,iBAAgB;CACjB;;AAhEH;EAkEI,qBAAoB;EACpB,kBAAiB;EACjB,aAAY;EACZ,sBAAqB;EACrB,uBAAsB;EACtB,0BAAyB;EACzB,mBAAkB;CAInB;;AA5EH;EAqFI,qBAAoB;EACpB,cAAa;EACb,6BAA4B;EAC5B,YAAW;CACZ;;AAzFH;EA4FM,WAAU;EACV,2BAA0B;CAC3B;;AA9FL;EAiGI,sBAAqB;EACrB,iBAAgB;EAChB,wBAAuB;EACvB,oBAAmB;EACnB,uBAAsB;EACtB,iBAAgB;CACjB;;AC/cH;;sCAEsC;AACtC;EAEQ,gBAAe;EACf,uBAAsB;EACtB,qBAAoB;EACpB,mBAAkB;EAElB,uBAAsB;EACtB,cAAa;EACb,oBAAmB;EACnB,gBAAe;EACf,aAAY;EACZ,eAAc;EACd,0BAAyB;CAC5B;;AAdL;EAgBQ,aAAY;EACZ,kBAAiB;CACpB;;AAlBL;EAoBQ,oBAAmB;EACnB,YAAW;CACd;;AAtBL;EAyBQ,eAAc;EACd,kBAAiB;EACjB,iBAAgB;EAChB,UAAS;EACT,mBAAkB;EAClB,YAAW;EACX,eAAc;CACjB;;AAhCL;EAmCQ,oDAAmD;CACtD;;AApCL;EAuCQ,iDAAgD;CACnD;;AAxCL;EA0CM,gBAAe;CAChB;;AA3CL;EA6CQ,gBAAe;EACf,kBAAiB;EACjB,oBAAmB;CACtB;;AAIL;EACI,cAAa;EACb,eAAc;EACd,mBAAkB;EAClB,mBAAkB;EAClB,gBAAe;EACf,mBAAkB;CAmBrB;;AAzBD;EAQM,eAAc;EACd,0BAAyB;EACzB,iBAAgB;EAChB,kCAAiC;CAClC;;AAZL;EAcM,eAAc;EACd,0BAAyB;EACzB,iBAAgB;EAChB,kCAAiC;CAClC;;AAlBL;EAoBM,eAAc;EACd,0BAAyB;EACzB,iBAAgB;EAChB,oCAAmC;CACpC;;AAKL;EACE,WAAU;CACX;;AACD;EACE,cAAa;CACd;;AACD;EACE,eAAc;EACd,+BAA6B;CAC9B;;AC7FD;;sCAEsC;A5BsrFtC;E4BlrFM,2BAA0B;CAAG;;ACNnC;;sCAEsC;A7B6rFtC;E6B3rFE,eAAc;CACf;;AACD;EACE,mBAAkB;CAenB;;AAhBD;EAEyB,mBAAkB;CAAI;;AAF/C;EAII,sBAAqB;CAWtB;;AAfH;EAKQ,eAAc;CAAI;;AAL1B;EAOM,gBAAe;EACf,mBAAkB;CACnB;;AATL;EAaM,iCAAgC;CACjC;;ACpBL;;sCAEsC;AACtC;EAGI,yBAAwB;EACxB,6BAA4B;CAC/B;;A9B8tFD;E8BxjFI,oBAAoB;EAKpB,mBAAmB;CAkFtB;;A9Bs+ED;E8B/tFM,cAAa;CACd;;A9BkuFL;E8BhuFM,cAAa;CACd;;AAEO;EACJ,cAAa;CAChB;;A9BmuFL;E8BjuFM,YAAW;EACX,aAAY;CAuDb;;A9B8qFL;E8BnuFQ,qBAAoB;EACpB,cAAa;EACb,uBAAsB;EACtB,oBAAmB;EACnB,cAAa;CAId;;AzBwCH;EL4rFF;I8BtuFQ,cAAa;GAEhB;C9BuuFN;;AAED;E8BtuFU,aAAY;EACZ,iBAAgB;CAUjB;;A9BguFT;E8BxuFY,gBAAe;EACf,WAAS;EAKT,sCAAqC;CACtC;;A9B2uFX;E8BtuFU,aAAY;EACZ,YAAW;EACX,iBAAgB;CAMjB;;A9BouFT;E8BxuFY,YAAW;EACX,aAAY;EACZ,gBAAe;CAChB;;A9B2uFX;E8BruFU,aAAY;EACZ,YAAW;EACX,iBAAgB;EAChB,qBAAa;EAAb,cAAa;EACb,sBAAuB;EAAvB,wBAAuB;EACvB,uBAAmB;EAAnB,oBAAmB;CAOpB;;A9BkuFT;E8BvuFY,YAAW;EACX,aAAY;EACZ,gBAAe;EACf,qBAAiB;EAAjB,kBAAiB;CAClB;;A9B0uFX;E8BpuFM,mBAAkB;EAClB,gBAAe;EAEf,mCAAmC;EAEnC,qBAAoB;EAEpB,cAAa;EAEb,sBAAqB;EAErB,wBAAuB;EAEvB,uBAAsB;EAEtB,oBAAmB;CA4EpB;;A9B2pFL;E8BruFQ,YAAW;CAoBZ;;A9BqtFP;E8BvuFU,YAAW;CAgBZ;;A9B2tFT;E8BxuFY,uBAAsB;EACtB,2BAA0B;EAC1B,mBAAkB;EAClB,WAAU;CACX;;A9B2uFX;E8BzuFY,wBAAuB;EACvB,4BAA2B;EAC3B,oBAAmB;EACnB,mBAAkB;EAClB,2BAA0B;EAC1B,WAAU;CACX;;A9B4uFX;E8BvuFQ,YAAW;EACX,QAAO;EACP,SAAQ;EACR,UAAS;EACT,OAAM;EACN,mBAAkB;EAElB,0BAAyB;EACzB,aAAY;CACb;;A9ByuFP;E8BvuFQ,aAAY;EACZ,YAAW;EACX,yCAAuC;EACvC,iCAA+B;EAC/B,8CAA2C;EAC3C,sCAAmC;EACnC,SAAQ;EACR,UAAS;EACT,mBAAkB;EAClB;8DACsD;EAEtD,qBAAoB;EAEpB,cAAa;EAEb,sBAAqB;EAErB,wBAAuB;EAEvB,uBAAsB;EAEtB,oBAAmB;CACpB;;A9B0uFP;E8BxuFQ,aAAY;EACZ,iBAAgB;EAChB,YAAW;EACX,YAAU;EACV,mBAAkB;EAClB,WAAU;EACV,iBAAgB;EAEhB,eAAc;EACd,gBAAc;EACd,mBAAiB;CAKlB;;A9BsuFP;E8BzuFU,gBAAc;EACd,mBAAiB;CAClB;;A9B4uFT;E8BtuFM,0BAAyB;CAC1B;;A9ByuFL;E8BruFM,gBAAe;CAkEhB;;A9BuqFL;E8BpuFQ,sBAAqB;EACrB,gCAA+B;EAC/B,iCAAgC;EAChC,YAAW;EACX,aAAY;CACb;;A9BuuFP;E8BpuFQ,QAAO;EACP,4BAA2B;EAC3B,6BAA4B;EAC5B,gCAA+B;EAC/B,+BAA8B;CAM/B;;A9BkuFP;E8BtuFU,mCAAkC;EAElC,2BAA0B;CAC3B;;A9ByuFT;E8BtuFQ,SAAQ;EACR,4BAA2B;EAC3B,6BAA4B;EAC5B,gCAA+B;EAC/B,+BAA8B;CAM/B;;A9BouFP;E8BxuFU,kCAAiC;EAEjC,0BAAyB;CAC1B;;A9B2uFT;E8BtuFU,mBAAkB;EAClB,WAAU;EACV,sBAA0B;EAC1B,mBAAkB;EAClB,gBAAe;EACf,oCAAmC;EAInC,4BAA2B;EAC3B,eAAc;EACd,aAAY;EACZ,YAAW;EACX,aAAY;EACZ,wCAAuC;EAEvC,yDAAwD;EACxD,kBAAiB;EACjB,gBAAe;EACf,gBAAe;CAClB;;A9ByuFP;E8BtuFU,wCAAuC;EACvC,WAAU;EACV,aAAY;CACf;;AzB7KH;ELu5FF;I8BpuF0B,cAAa;GAAG;E9BuuF1C;I8BtuFsB,cAAa;GAAG;C9ByuFvC;;A+Bl+FD;;sCAEsC;AACtC;EACE,iBAAgB;CA4JjB;;AA7JD;EAGI,0BAAyB;EACzB,iBAAgB;CAwJjB;;AA5JH;EAMM,mBAAkB;CACnB;;AAPL;EASM,gBAAe;EACf,eAAc;EACd,oBAAmB;EAEnB,qBAAoB;EACpB,cAAa;EAET,uBAAsB;EAClB,oBAAmB;EAE5B,uBAAsB;EACtB,+BAA8B;EAE7B,mBAAkB;EAElB,iBAAgB;EAChB,mBAAkB;EAClB,kBAAiB;EACjB,iCAAgC;EAChC,gBAAe;EACf,mBAAkB;EAClB,iBAAgB;EAEhB,qBAAoB;EACpB,aAAY;CAqFb;;AAtHL;EAqCU,eAAc;CACjB;;AAtCP;EAwCU,oBAAkB;CACrB;;A/B0+FP;E+Bv+FY,eAAc;CACjB;;A/B0+FT;E+Bx+FY,oBAAkB;CACrB;;AAhDT;EAqDQ,oBAAmB;EACnB,6BAA4B;CAC7B;;AAvDP;EA8DU,kCAAiC;CACpC;;AA/DP;EAmEQ,eAAc;EACd,YAAW;EACX,aAAY;EAEZ,WAAU;EACV,UAAS;EACT,cAAa;EACb,UAAS;EACT,iBAAgB;EAGhB,iBAAgB;EAChB,iBAAgB;EAChB,mBAAkB;EAClB,gBAAe;CAChB;;AAlFP;EAqFQ,mBAAkB;EAGZ,gBAAe;EACrB,oBAAmB;EACnB,mBAAkB;CACnB;;AA3FP;EA8FQ,SAAQ;EACR,YAAW;EACX,WAAU;EACV,UAAS;CACV;;AAlGP;EAqGQ,UAAS;EACT,WAAU;EACV,YAAW;EACX,SAAQ;CACT;;A/Bs+FP;E+Bl+FU,iCAAgC;EAE1B,yBAAwB;CAC/B;;A/Bq+FT;E+Bn+FU,UAAS;EACT,WAAU;CACX;;A/Bs+FT;E+B/9FM,oBAAmB;CACpB;;A/Bk+FL;E+B/9FM,oBAAmB;CACpB;;AAhIL;EAoIQ,iCAAgC;EAExB,yBAAwB;CACjC;;AAvIP;EAyIQ,UAAS;EACT,WAAU;CACX;;AA3IP;EA+IM,mBAAkB;EAClB,oBAAmB;EACnB,eAAc;EACd,gBAAe;EACf,mBAAkB;CACnB;;AApJL;EAsJM,eAAc;CACf;;AAvJL;EAyJM,cAAa;CACd;;ACjKL;;sCAEsC;AhCqoGtC;EgCjoGI,qBAAoB;EACpB,cAAa;EAEb,sBAAqB;EACrB,wBAAuB;CAC1B;;ACTD;EACI,mBAAkB;CAkCnB;;AAnCH;EAGM,mBAAkB;EAClB,iBAAgB;EAChB,gBAAe;CAChB;;AANL;EAQQ,kBAAiB;CAAG;;AAR5B;EASQ,kBAAiB;CAAG;;AAT5B;EAUQ,kBAAiB;CAAG;;AAV5B;EAWQ,kBAAiB;CAAG;;AAX5B;EAYQ,iBAAgB;CAAG;;AAZ3B;EAaQ,eAAc;CAAG;;AAbzB;EAeM,gBAAe;EACf,WAAU;CACX;;AAjBL;EAmBM,sBAAqB;EAErB,iBAAgB;EAGhB,mCAAkC;CACnC;;AAzBL;EA2BM,aAAY;EACZ,gBAAe;EACf,aAAY;EAEZ,iBAAgB;EAEhB,iBAAgB;CACjB;;AjCsqGL;;;;EiC7pGI,2BAA0B;CAC3B;;AAIH;EACE,iBAAgB;EAChB,eAAc;CACf;;AAID;EAGM,cAAa;EACb,iBAAgB;CACjB","file":"sek-base-rtl.css","sourcesContent":[null,null,"/* -------------------------------------------------------------------------- */\n/* <SCOPED RESET>\r\n/* -------------------------------------------------------------------------- */\n.sektion-wrapper *,\n.sektion-wrapper *::before,\n.sektion-wrapper *::after {\n box-sizing: border-box;\n}\n\n.sektion-wrapper span, .sektion-wrapper applet, .sektion-wrapper object, .sektion-wrapper iframe,\n.sektion-wrapper h1, .sektion-wrapper h2, .sektion-wrapper h3, .sektion-wrapper h4, .sektion-wrapper h5, .sektion-wrapper h6, .sektion-wrapper p, .sektion-wrapper blockquote, .sektion-wrapper pre,\n.sektion-wrapper a, .sektion-wrapper abbr, .sektion-wrapper acronym, .sektion-wrapper address, .sektion-wrapper big, .sektion-wrapper cite, .sektion-wrapper code,\n.sektion-wrapper del, .sektion-wrapper dfn, .sektion-wrapper em, .sektion-wrapper img, .sektion-wrapper ins, .sektion-wrapper kbd, .sektion-wrapper q, .sektion-wrapper s, .sektion-wrapper samp,\n.sektion-wrapper small, .sektion-wrapper strike, .sektion-wrapper strong, .sektion-wrapper sub, .sektion-wrapper sup, .sektion-wrapper tt, .sektion-wrapper var,\n.sektion-wrapper b, .sektion-wrapper u, .sektion-wrapper i, .sektion-wrapper center,\n.sektion-wrapper dl, .sektion-wrapper dt, .sektion-wrapper dd, .sektion-wrapper ol, .sektion-wrapper ul, .sektion-wrapper li,\n.sektion-wrapper fieldset, .sektion-wrapper form, .sektion-wrapper label, .sektion-wrapper legend,\n.sektion-wrapper table, .sektion-wrapper caption, .sektion-wrapper tbody, .sektion-wrapper tfoot, .sektion-wrapper thead, .sektion-wrapper tr, .sektion-wrapper th, .sektion-wrapper td,\n.sektion-wrapper article, .sektion-wrapper aside, .sektion-wrapper canvas, .sektion-wrapper details, .sektion-wrapper embed,\n.sektion-wrapper figure:not([class*=\"wp-block-\"]), .sektion-wrapper figcaption, .sektion-wrapper footer, .sektion-wrapper header, .sektion-wrapper hgroup,\n.sektion-wrapper menu, .sektion-wrapper nav, .sektion-wrapper output, .sektion-wrapper ruby, .sektion-wrapper section, .sektion-wrapper summary,\n.sektion-wrapper time, .sektion-wrapper mark, .sektion-wrapper audio, .sektion-wrapper video {\n border: none;\n font-size: inherit;\n line-height: inherit;\n margin: 0;\n padding: 0;\n}\n\n.sektion-wrapper blockquote::before,\n.sektion-wrapper blockquote::after, .sektion-wrapper q:before, .sektion-wrapper q:after {\n content: \"\";\n}\n\n.sektion-wrapper ol, .sektion-wrapper ul {\n list-style: none;\n}\n\n.sektion-wrapper img {\n max-width: 100%;\n vertical-align: middle;\n border-style: none;\n display: inline;\n}\n\n.sektion-wrapper svg:not(:root) {\n overflow: hidden;\n}\n\n.sektion-wrapper embed, .sektion-wrapper iframe, .sektion-wrapper object {\n max-width: 100%;\n}\n\n/* -------------------------------------------------------------------------- */\n/* </SCOPED RESET>\r\n/* -------------------------------------------------------------------------- */\n/* make sure that the location level occupies 100% of the width */\n[data-sek-level=\"location\"] {\n clear: both;\n font-size: 16px;\n}\n\n/* To make vertical alignment possible in sections */\n.sek-section, .sek-column, .sek-module {\n display: flex;\n align-items: center;\n}\n\n.sek-column-inner, .sek-module-inner {\n -ms-flex: 0 0 100%;\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n/* To allow horizontal centering of modules\r\n @see https://github.com/presscustomizr/nimble-builder/issues/119\r\n*/\n/* - sections in locations */\n/* - columns in sections */\n/* - modules in columns */\n.sek-column-inner {\n display: flex;\n flex-direction: column;\n}\n\n.sek-module {\n align-self: center;\n width: 100%;\n max-width: 100%;\n}\n\n/* a nested sektion should reset its parent column padding\r\n@see https://github.com/presscustomizr/nimble-builder/issues/25\r\n*/\n[data-sek-is-nested=\"true\"] .sek-container-fluid {\n padding-right: 0;\n padding-left: 0;\n}\n\n/* MODULE PLACEHOLDER */\n/*@font-face {\r\n font-family: 'Material Icons';\r\n font-style: normal;\r\n font-weight: 400;\r\n src: url('../fonts/material-icons/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');\r\n}*/\n/* @see https://github.com/google/material-design-icons/blob/master/iconfont/material-icons.css */\n.sek-module-placeholder {\n text-align: center;\n}\n\n.sek-module-placeholder .material-icons {\n font-size: inherit;\n color: #cfcfcf;\n}\n\n/* LEVEL VISIBILITY BY DEVICE */\n/* NIMBLE TEMPLATE GENERAL STYLING */\n/* <inspired by Twenty Seventeed WP theme> */\n.sek-screen-reader-text {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute !important;\n width: 1px;\n word-wrap: normal !important;\n}\n\n#nimble-page {\n position: relative;\n word-wrap: break-word;\n}\n\n/* </inspired by Twenty Seventeen WP theme> */\n/* Nimble btn in admin top bar */\n#wpadminbar .sek-nimble-icon {\n display: inline-block;\n}\n\n#wpadminbar .sek-nimble-icon img {\n width: 28px;\n position: absolute;\n top: 2px;\n -webkit-filter: grayscale(100%);\n filter: grayscale(100%);\n -webkit-filter: gray;\n filter: gray;\n -webkit-transition: all 0.3s ease-in-out;\n -moz-transition: all, 0.3s ease-in-out;\n -ms-transition: all, 0.3s ease-in-out;\n -o-transition: all, 0.3s ease-in-out;\n transition: all 0.3s ease-in-out;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n\n#wpadminbar .sek-nimble-icon:hover img {\n -webkit-filter: none;\n filter: none;\n -webkit-filter: none;\n filter: none;\n}\n\n#wpadminbar .sek-nimble-icon .sek-nimble-admin-bar-title {\n padding-left: 30px;\n}\n\n[data-sek-has-bg=\"true\"] {\n background-size: cover;\n background-repeat: no-repeat;\n background-position: 50% 50%;\n}\n\n[data-sek-level=\"location\"] [data-sek-bg-parallax=\"true\"] {\n background-attachment: fixed;\n background-size: cover;\n}\n\n[data-sek-level=\"location\"] .sek-has-bg {\n position: relative;\n}\n\n@supports (-webkit-overflow-scrolling: touch) {\n body [data-sek-level=\"location\"] [data-sek-bg-parallax=\"true\"], body [data-sek-level=\"location\"] [data-sek-bg-fixed=\"true\"] {\n background-attachment: scroll;\n }\n}\n\n[data-sek-level=\"location\"] [data-sek-level] {\n -webkit-transition: 0s linear;\n -o-transition: 0s linear;\n transition: 0s linear;\n -webkit-transition-property: background-position;\n -o-transition-property: background-position;\n transition-property: background-position;\n}\n\n.sek-module .sek-module-inner .alx-tab.thumbs-enabled > li {\n padding-left: 94px;\n}\n\n.sek-module .sek-module-inner .widget_hu_tabs ul,\n.sek-module .sek-module-inner .widget_hu_tabs ol {\n margin-left: 0;\n margin-bottom: 0;\n}\n\n.sek-module .sek-module-inner .widget_hu_tabs .alx-tabs-nav {\n margin-bottom: 10px;\n}\n\n[data-sek-level].sek-level-has-shadow {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n}\n\n.customizer-preview [data-sek-level].sek-level-has-shadow {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px !important;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px !important;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px !important;\n}\n\n[data-sek-level][data-sek-video-bg-src] {\n position: relative;\n}\n\n[data-sek-level] embed,\n[data-sek-level] iframe,\n[data-sek-level] object,\n[data-sek-level] video {\n max-width: 100%;\n width: 100%;\n margin: 0;\n line-height: 1;\n border: none;\n}\n\n[data-sek-level] .sek-custom-embed {\n line-height: 0;\n}\n\n[data-sek-level] .sek-bg-video-wrapper,\n[data-sek-level] .sek-background {\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n position: absolute !important;\n overflow: hidden;\n z-index: 0;\n direction: ltr;\n}\n\n[data-sek-level] .sek-bg-video-wrapper {\n -webkit-transition: opacity 0.5s linear;\n -o-transition: opacity 0.5s linear;\n transition: opacity 0.5s linear;\n pointer-events: none;\n opacity: 0;\n}\n\n[data-sek-level] .sek-bg-video-wrapper.sek-bg-loading {\n opacity: 0;\n visibility: hidden;\n}\n\n[data-sek-level] .sek-bg-youtube-video-wrapper, [data-sek-level] .sek-background-vimeo-element {\n max-width: none;\n}\n\n[data-sek-level] .sek-bg-youtube-video-wrapper, [data-sek-level] .sek-background-video-local, [data-sek-level] .sek-background-vimeo-element {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translateX(-50%) translateY(-50%);\n -ms-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n}\n\n[data-sek-level] .sek-background-video-local {\n -o-object-fit: cover;\n object-fit: cover;\n}\n\n.sek-module-inner .sek-debug-modules {\n margin: 1em;\n padding: 5px;\n border: 1px solid rgba(221, 221, 221, 0.43);\n box-shadow: 1px 1px 2px 0 rgba(75, 75, 85, 0.2);\n -webkit-box-shadow: 1px 1px 2px 0 rgba(75, 75, 85, 0.2);\n background-color: #fff;\n font-size: 15px;\n font-weight: normal;\n color: #6d6d6d;\n background: rgba(255, 255, 255, 0.6);\n}\n\n@media (max-width: 575px) {\n .customizer-preview [data-sek-video-bg-on-mobile=\"false\"] .sek-bg-video-wrapper {\n display: none;\n }\n}\n\n.sek-animate-candidate:not(.sek-animate-displayed-before-starting) {\n opacity: 0;\n}\n\n.sek-overflow-hidden-while-animating {\n overflow: hidden;\n}\n\n.nb-scroll-down #nimble-header:not(.sek-header-mobile-menu-expanded), .nb-scroll-up #nimble-header:not(.sek-header-mobile-menu-expanded) {\n background-color: rgba(255, 255, 255, 0.9);\n}\n\n.sek-service-font, .sek-module .sek-module-inner .sek-btn {\n font-family: sans-serif;\n}\n\n.sek-container {\n width: 100%;\n padding-right: 10px;\n padding-left: 10px;\n margin-right: auto;\n margin-left: auto;\n}\n\n@media (min-width: 576px) {\n .sek-container {\n max-width: 540px;\n }\n}\n\n@media (min-width: 768px) {\n .sek-container {\n max-width: 720px;\n }\n}\n\n@media (min-width: 992px) {\n .sek-container {\n max-width: 960px;\n }\n}\n\n@media (min-width: 1200px) {\n .sek-container {\n max-width: 1140px;\n }\n}\n\n.sek-container-fluid {\n width: 100%;\n padding-right: 10px;\n padding-left: 10px;\n margin-right: auto;\n margin-left: auto;\n}\n\n.sek-row {\n display: flex;\n flex-wrap: wrap;\n margin-right: -10px;\n margin-left: -10px;\n}\n\n.sek-container-no-padding {\n padding-right: 0;\n padding-left: 0;\n overflow-x: hidden;\n}\n\n.sek-no-gutters {\n margin-right: 0;\n margin-left: 0;\n}\n\n.sek-no-gutters > .sek-col,\n.sek-no-gutters > [class*=\"sek-col-\"] {\n padding-right: 0;\n padding-left: 0;\n}\n\n.sek-col-8, .sek-col-9, .sek-col-10, .sek-col-11, .sek-col-12, .sek-col-14, .sek-col-16, .sek-col-20, .sek-col-25, .sek-col-30, .sek-col-33, .sek-col-40, .sek-col-50, .sek-col-60, .sek-col-66, .sek-col-70, .sek-col-75, .sek-col-80, .sek-col-83, .sek-col-90, .sek-col-100, .sek-col-base,\n.sek-col,\n.sek-col-auto {\n position: relative;\n width: 100%;\n min-height: 1px;\n padding-right: 10px;\n padding-left: 10px;\n}\n\n.sek-col-base {\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n.sek-col {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n}\n\n.sek-col-auto {\n flex: 0 0 auto;\n width: auto;\n max-width: 100%;\n}\n\n@media (min-width: 768px) {\n .sek-col-8 {\n flex: 0 0 8.333%;\n max-width: 8.333%;\n }\n .sek-col-9 {\n flex: 0 0 9.090909%;\n max-width: 9.090909%;\n }\n .sek-col-10 {\n flex: 0 0 10%;\n max-width: 10%;\n }\n .sek-col-11 {\n flex: 0 0 11.111%;\n max-width: 11.111%;\n }\n .sek-col-12 {\n flex: 0 0 12.5%;\n max-width: 12.5%;\n }\n .sek-col-14 {\n flex: 0 0 14.285%;\n max-width: 14.285%;\n }\n .sek-col-16 {\n flex: 0 0 16.666%;\n max-width: 16.666%;\n }\n .sek-col-20 {\n flex: 0 0 20%;\n max-width: 20%;\n }\n .sek-col-25 {\n flex: 0 0 25%;\n max-width: 25%;\n }\n .sek-col-30 {\n flex: 0 0 30%;\n max-width: 30%;\n }\n .sek-col-33 {\n flex: 0 0 33.333%;\n max-width: 33.333%;\n }\n .sek-col-40 {\n flex: 0 0 40%;\n max-width: 40%;\n }\n .sek-col-50 {\n flex: 0 0 50%;\n max-width: 50%;\n }\n .sek-col-60 {\n flex: 0 0 60%;\n max-width: 60%;\n }\n .sek-col-66 {\n flex: 0 0 66.666%;\n max-width: 66.666%;\n }\n .sek-col-70 {\n flex: 0 0 70%;\n max-width: 70%;\n }\n .sek-col-75 {\n flex: 0 0 75%;\n max-width: 75%;\n }\n .sek-col-80 {\n flex: 0 0 80%;\n max-width: 80%;\n }\n .sek-col-83 {\n flex: 0 0 83.333%;\n max-width: 83.333%;\n }\n .sek-col-90 {\n flex: 0 0 90%;\n max-width: 90%;\n }\n .sek-col-100 {\n flex: 0 0 100%;\n max-width: 100%;\n }\n .sek-order-first {\n order: -1;\n }\n .sek-order-last {\n order: 13;\n }\n .sek-order-0 {\n order: 0;\n }\n .sek-order-1 {\n order: 1;\n }\n .sek-order-2 {\n order: 2;\n }\n .sek-order-3 {\n order: 3;\n }\n .sek-order-4 {\n order: 4;\n }\n .sek-order-5 {\n order: 5;\n }\n .sek-order-6 {\n order: 6;\n }\n .sek-order-7 {\n order: 7;\n }\n .sek-order-8 {\n order: 8;\n }\n .sek-order-9 {\n order: 9;\n }\n .sek-order-10 {\n order: 10;\n }\n .sek-order-11 {\n order: 11;\n }\n .sek-order-12 {\n order: 12;\n }\n}\n\n/*\r\n.sek-collapsing {\r\n position: relative;\r\n height: 0;\r\n overflow: hidden;\r\n //@include transition($transition-collapse);\r\n}*/\n.sek-clearfix::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.sek-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.sek-sr-only-focusable:active, .sek-sr-only-focusable:focus {\n position: static;\n width: auto;\n height: auto;\n overflow: visible;\n clip: auto;\n white-space: normal;\n}\n\n.sek-embed {\n position: relative;\n}\n\n.sek-embed::before {\n display: block;\n content: '';\n}\n\n.sek-embed .sek-embed-inner,\n.sek-embed iframe {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n}\n\n.sektion-wrapper {\n word-wrap: break-word;\n}\n\n.sek-text-right {\n text-align: right !important;\n}\n\n.sek-text-left {\n text-align: left !important;\n}\n\n.sek-module .sek-module-inner ul {\n list-style: disc;\n}\n\n.sek-module .sek-module-inner ol {\n list-style: decimal;\n}\n\n.sek-module .sek-module-inner ol > li::before {\n content: none;\n}\n\n.sek-module .sek-module-inner ul, .sek-module .sek-module-inner ol {\n padding: 0;\n line-height: 1.5;\n margin: 0 1.5rem 3rem 0;\n}\n\n.sek-module .sek-module-inner ul > li, .sek-module .sek-module-inner ol > li {\n padding: .15rem .25rem;\n}\n\n.sek-module .sek-module-inner li > ul, .sek-module .sek-module-inner li > ol {\n margin-bottom: 0;\n}\n\n.sek-module-inner pre code, .sek-module-inner tt {\n box-sizing: border-box;\n font-size: inherit;\n white-space: pre-wrap !important;\n background: transparent;\n border: none;\n padding: 0;\n font-family: monospace;\n}\n\n.sek-module-inner pre {\n background: #f7f8f9;\n padding: 2.5em;\n word-wrap: normal;\n white-space: pre-wrap !important;\n color: #313131;\n font-family: monospace !important;\n}\n\n.sek-module-inner figure {\n text-align: center;\n}\n\n.sek-module-inner figcaption {\n text-align: center;\n}\n\n.sek-module-inner cite {\n color: #313131;\n font-weight: 300;\n font-style: normal;\n position: relative;\n display: inline-block;\n}\n\n.sek-module-inner caption, .sek-module-inner code, .sek-module-inner code, .sek-module-inner kbd, .sek-module-inner samp, .sek-module-inner .wp-block-table.is-style-stripes tbody tr:nth-child(odd), .sek-module-inner :root .has-subtle-background-background-color {\n background-color: #dbdbdb;\n}\n\n.sek-module-inner sub {\n bottom: -0.25em;\n}\n\n.sek-module-inner sub, .sek-module-inner sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\n.sek-module-inner blockquote {\n border-right: 5px solid rgba(0, 0, 0, 0.1);\n background: none;\n font-size: 1.2em;\n font-style: inherit;\n margin-right: 0;\n margin-left: 0;\n padding: 15px;\n}\n\n.sek-module-inner table {\n width: 100%;\n border-collapse: collapse;\n /*&:not([id^=wp-calendar]) {\r\n border: 2px solid $grey-lightest;\r\n th { @extend .caps; @extend .letter-spacing-2; font-family: $serviceFont; }\r\n th, td { @extend .demi-small; padding: $base-line-height; border: 1px solid $grey-lightest; }\r\n td { color: $grey-dark; }\r\n }*/\n}\n\n@media (max-width: 767.98px) {\n .sek-module-inner table {\n table-layout: fixed;\n }\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) {\n border: 2px solid #eceeef;\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) th {\n text-transform: uppercase;\n letter-spacing: 2px;\n font-family: sans-serif;\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) th, .sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) td {\n font-size: 0.95em;\n padding: 1.25em;\n border: 1px solid #eceeef;\n}\n\n.sek-module-inner table:not([id^=wp-calendar]):not(.ui-datepicker-calendar):not(.tribe-mini-calendar) td {\n color: #777;\n}\n\n.sek-search-form {\n float: none;\n}\n\n.sek-search-form .sek-search-form-group {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n\n.sek-search-form .sek-search-form-group label {\n position: relative;\n margin-right: 5px;\n}\n\n.sek-search-form .sek-search-form-group label input[type=search] {\n max-width: 100%;\n margin: 0;\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-border-radius: 0;\n border-radius: 0;\n background: #fff;\n border: 2px solid #ddd;\n color: #777;\n display: block;\n max-width: 100%;\n padding: 7px 8px;\n padding-left: 5px;\n line-height: 1.5em;\n width: 100%;\n}\n\n.sek-search-form .sek-search-form-group [type=submit] {\n line-height: 15px;\n margin: 0;\n background: #808080 !important;\n color: #fff;\n font-size: 16px;\n padding: 10px 10px;\n font-weight: normal;\n display: inline-block;\n border: none;\n cursor: pointer;\n border-radius: 3px;\n}\n\n.sek-module .sek-module-inner .sek-btn {\n display: inline-block;\n font-weight: normal;\n line-height: 1.25em;\n text-align: center;\n /*white-space: nowrap;*/\n white-space: normal;\n word-break: break-all;\n vertical-align: middle;\n user-select: none;\n border: 1px solid transparent;\n padding: 0.5em 1em;\n border-radius: 2px;\n border-width: 2px;\n border-style: solid;\n font-size: 1em;\n cursor: pointer;\n text-decoration: none;\n text-transform: none;\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n transition: all 0.2s ease-in-out;\n}\n\n.sek-module .sek-module-inner .sek-btn:focus, .sek-module .sek-module-inner .sek-btn:hover {\n text-decoration: none;\n}\n\n.sek-module .sek-module-inner .sek-btn:focus, .sek-module .sek-module-inner .focus.sek-btn {\n outline: 0;\n box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);\n}\n\n.sek-module .sek-module-inner .disabled.sek-btn, .sek-module .sek-module-inner .sek-btn:disabled {\n cursor: not-allowed;\n opacity: .65;\n box-shadow: none;\n}\n\n.sek-module .sek-module-inner .sek-btn:active, .sek-module .sek-module-inner .active.sek-btn {\n background-image: none;\n box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);\n}\n\na.sek-btn.disabled,\nfieldset[disabled] a.sek-btn {\n pointer-events: none;\n}\n\n.sektion-wrapper button,\n.sektion-wrapper [type=\"button\"],\n.sektion-wrapper [type=\"reset\"],\n.sektion-wrapper [type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n.sektion-wrapper button::-moz-focus-inner,\n.sektion-wrapper [type=\"button\"]::-moz-focus-inner,\n.sektion-wrapper [type=\"reset\"]::-moz-focus-inner,\n.sektion-wrapper [type=\"submit\"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\nbutton.sek-btn,\n[type=\"button\"].sek-btn,\n[type=\"reset\"].sek-btn,\n[type=\"submit\"].sek-btn {\n -wekbit-appearance: none !important;\n background: transparent;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner {\n /* WP Search Widget */\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-caption figcaption {\n color: #6d6d6d;\n font-style: italic;\n max-width: 100%;\n font-size: 14px;\n font-weight: 500;\n line-height: 1.4;\n /* Keep wide captions from overflowing their container. */\n padding: 4px;\n margin-top: 1rem;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner figure {\n display: block;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-block-image .aligncenter, [data-sek-level=\"module\"] .sek-module-inner .wp-block-image .alignleft, [data-sek-level=\"module\"] .sek-module-inner .wp-block-image .alignright {\n display: table;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-block-image figcaption {\n font-size: 13px;\n text-align: center;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .wp-block-gallery, [data-sek-level=\"module\"] .sek-module-inner ul.blocks-gallery-grid {\n margin-right: 0;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [class*=\"wp-block-\"]:not(:last-child) {\n margin-bottom: 1.5em;\n}\n\n.sek-col-100 .sek-module-inner .alignfull {\n margin-left: calc(-100vw / 2 + 100% / 2);\n margin-right: calc(-100vw / 2 + 100% / 2);\n max-width: 100vw;\n width: auto;\n}\n\n.sek-col-100 .sek-module-inner .alignwide {\n margin-left: calc((100% - 80vw) / 2);\n width: 80vw;\n max-width: 80vw;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .aligncenter, [data-sek-level=\"module\"] .sek-module-inner .aligncenter img {\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .alignleft {\n float: left;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .alignright {\n float: right;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .alignnone, [data-sek-level=\"module\"] .sek-module-inner .aligncenter, [data-sek-level=\"module\"] .sek-module-inner .alignleft, [data-sek-level=\"module\"] .sek-module-inner .alignright {\n margin-top: 1.5rem;\n margin-right: auto;\n margin-bottom: 1.5rem;\n margin-left: auto;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n max-width: 100%;\n float: left;\n}\n\n@media (max-width: 767.98px) {\n [data-sek-level=\"module\"] .sek-module-inner [role=search].search-form {\n float: none;\n }\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form label {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin-right: 5px;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form label input {\n padding-left: 5px;\n line-height: 20px;\n width: 100%;\n max-width: 185px;\n min-width: 80px;\n}\n\n@media (max-width: 767.98px) {\n [data-sek-level=\"module\"] .sek-module-inner [role=search].search-form label input {\n max-width: none;\n }\n}\n\n[data-sek-level=\"module\"] .sek-module-inner [role=search].search-form input[type=submit] {\n line-height: 15px;\n /*width: 25%;*/\n}\n\n[data-sek-level=\"module\"] .sek-module-inner input[type=\"submit\"] {\n background: #808080;\n color: #fff;\n padding: 10px 10px;\n font-weight: normal;\n display: inline-block;\n border: none;\n cursor: pointer;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n[data-sek-level=\"module\"] .sek-module-inner .search-form input[type=\"search\"] {\n margin: 0;\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-border-radius: 0;\n border-radius: 0;\n background: #fff;\n border: 2px solid #ddd;\n color: #777;\n display: block;\n max-width: 100%;\n padding: 7px 8px;\n}\n\n.sektion-wrapper.sek-password-protected {\n display: flex;\n align-items: center;\n justify-content: center;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.sektion-wrapper.sek-password-protected form.post-password-form {\n max-width: 450px;\n height: auto;\n padding: 4em 1em;\n font-size: 1em;\n}\n\n.sektion-wrapper .sek-module-inner .avatar {\n border-radius: 50%;\n}\n\n.sek-next-post-link::after, .sek-previous-post-link::before {\n width: 15px;\n height: 10px;\n display: inline-block;\n position: relative;\n vertical-align: middle;\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n border-left-color: inherit;\n border-right-color: inherit;\n}\n\n.sek-previous-post-link::before {\n content: '';\n border-left: 6px solid;\n left: 7px;\n}\n\n.sek-next-post-link::after {\n content: '';\n border-right: 6px solid;\n right: 7px;\n}\n\n/*************************************\r\n* HEADING MODULE\r\n*************************************/\n.sek-module-inner .sek-heading {\n text-align: center;\n margin: 0.6em 0;\n display: block;\n}\n\n.sek-module-inner .sek-heading > a {\n color: inherit;\n font-size: inherit;\n}\n\n/*************************************\r\n* MENU MODULE\r\n*************************************/\n.sek-nav-wrap {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-end;\n padding: .5rem 0;\n}\n\n.sek-mobile-menu-expanded-below .sek-nav-wrap {\n padding: 0;\n}\n\n.sek-nav-collapse {\n flex-basis: 100%;\n flex-grow: 1;\n align-items: center;\n}\n\n.sek-nav {\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.sek-module .sek-module-inner .sek-nav {\n margin-right: -10px !important;\n margin-left: -10px !important;\n}\n\n.sek-module .sek-module-inner .sek-nav,\n.sek-module .sek-module-inner .sek-nav ul {\n list-style: none !important;\n padding: 0 !important;\n margin: 0 !important;\n}\n\n.sek-module .sek-module-inner .sek-nav li {\n list-style: none;\n padding: 0;\n}\n\n.sek-module .sek-module-inner .sek-nav li > ul li {\n padding: 0;\n}\n\n.sek-nav li {\n font-size: 16px;\n}\n\n.sek-nav li a {\n line-height: 1.5em;\n padding: .6em .8em;\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: inherit;\n overflow: hidden;\n}\n\n.sek-nav-wrap .sek-nav li a {\n text-decoration: none;\n}\n\n.sek-nav li a:hover .sek-nav__title {\n text-decoration: underline;\n}\n\n.sek-nav li:not(:last-of-type) {\n border-bottom: 1px solid;\n border-color: rgba(49, 49, 49, 0.09);\n}\n\n.sek-nav .menu-item-has-children,\n.sek-nav .page_item_has_children {\n position: relative;\n}\n\n.sek-nav .menu-item-has-children > a::after,\n.sek-nav .page_item_has_children > a::after {\n content: \"\\203A\";\n font-family: \"Arial Unicode MS\", Arial;\n moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: none;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n font-weight: 900;\n transition: all 0.3s ease;\n transform-style: preserve-3d;\n backface-visibility: hidden;\n perspective: 1000px;\n padding: 0 .45em;\n font-size: 1em;\n position: relative;\n transform: translateZ(0) rotate(90deg);\n -ms-transform: rotate(90deg);\n}\n\n.sek-nav .menu-item-has-children.show > a::after,\n.sek-nav .page_item_has_children.show > a::after {\n transform: translateZ(0) rotate(90deg) !important;\n -ms-transform: rotate(90deg) !important;\n}\n\n.sek-nav .sub-menu,\n.sek-nav .children {\n position: static;\n float: none;\n list-style: none;\n border-radius: 0;\n border: 0;\n margin: 0;\n padding: 0;\n font-size: inherit;\n}\n\n@media (min-width: 768px) {\n .sek-nav .sub-menu,\n .sek-nav .children {\n position: absolute;\n display: none;\n top: 100%;\n right: 0;\n z-index: 1000;\n min-width: 10rem;\n max-width: 50vw;\n }\n}\n\n@media (min-width: 768px) {\n .sek-nav {\n flex-direction: row;\n }\n .sek-nav .menu-item-has-children > a::after,\n .sek-nav .page_item_has_children > a::after {\n display: inline-block;\n }\n .sek-nav > li:not(:last-of-type) {\n border-bottom: none;\n }\n .sek-nav > li > a {\n padding: 5px;\n }\n .sek-module .sek-module-inner .sek-nav li {\n margin: 0 5px;\n }\n .sek-module .sek-module-inner .sek-nav li > ul li {\n padding: 0 .9rem 0 0;\n }\n .sek-nav-collapse {\n display: flex !important;\n flex-basis: auto;\n justify-content: flex-end;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n }\n .sek-mobile-menu-expanded-below {\n display: none !important;\n }\n .sek-nav-toggler {\n display: none;\n }\n .sek-dropdown-menu {\n background: white;\n box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.15);\n }\n .sek-nav .sek-dropdown-menu li {\n padding: 0 10px !important;\n margin: 0 !important;\n }\n .sek-nav .sek-dropdown-menu li a {\n padding: 10px 12px;\n }\n .sek-dropdown-menu ul {\n right: 100%;\n }\n .sek-dropdown-menu .sek-menu-link__row-reverse {\n flex-direction: row-reverse !important;\n }\n .sek-dropdown-menu .sek-nav__title {\n word-break: normal;\n white-space: nowrap;\n }\n .sek-dropdown-submenu .sek-dropdown-menu {\n top: 15px;\n }\n .sek-submenu-fade .sek-dropdown-menu a {\n transition: all 0.25s ease;\n transform: translate(0, 0);\n }\n .sek-submenu-fade .sek-dropdown-menu a:hover {\n transform: translate(3px, 0);\n }\n .sek-submenu-fade .page_item_has_children,\n .sek-submenu-fade .menu-item-has-children {\n perspective: 1000px;\n }\n .sek-submenu-fade .page_item_has_children > ul,\n .sek-submenu-fade .menu-item-has-children > ul {\n position: fixed;\n opacity: 0;\n visibility: hidden;\n display: block;\n transition: all 0.25s ease-in-out;\n transform: translate(0, -10px);\n }\n .sek-submenu-fade .page_item_has_children:not(.show),\n .sek-submenu-fade .menu-item-has-children:not(.show) {\n overflow: hidden;\n }\n .sek-submenu-fade .page_item_has_children:not(.show) ul,\n .sek-submenu-fade .menu-item-has-children:not(.show) ul {\n pointer-events: none;\n cursor: not-allowed;\n }\n .sek-submenu-fade li.show {\n perspective: none;\n }\n .sek-submenu-fade li.show > ul {\n position: absolute;\n visibility: visible;\n opacity: 1;\n transform: translate(0, 0);\n }\n .nb-collapsible-mobile-menu .nb-dd-mm-toggle-wrapper {\n display: none;\n }\n}\n\n.sek-dropdown-submenu > a::after {\n transform: translateZ(0) rotate(0deg) !important;\n -ms-transform: rotate(0deg) !important;\n}\n\n.sek-dropdown-submenu > a[class*=-reverse]::after {\n top: .1em;\n transform: translateZ(0) rotate(180deg) !important;\n -ms-transform: rotate(180deg) !important;\n}\n\n.sek-dropdown-menu {\n position: static;\n float: none;\n list-style: none;\n border-radius: 0;\n border: 0;\n margin: 0;\n padding: 0;\n font-size: inherit;\n}\n\n@media (min-width: 768px) {\n .sek-dropdown-menu {\n position: absolute;\n display: none;\n top: 100%;\n right: 0;\n z-index: 1000;\n min-width: 10rem;\n max-width: 50vw;\n }\n}\n\n.show > .sek-dropdown-menu {\n display: block;\n}\n\n.sek-dropdown-menu .sek-nav .sek-nav__title {\n word-break: break-word;\n white-space: normal;\n}\n\n.sek-dropdown-menu.open-right {\n left: 0;\n right: auto;\n}\n\n.sek-dropdown-menu.open-right ul:not(.open-left),\n.sek-dropdown-menu ul.open-right {\n left: 100%;\n right: auto;\n top: 0;\n}\n\n.sek-dropdown-menu.open-left {\n left: auto;\n right: 0;\n}\n\n.sek-dropdown-menu.open-left ul:not(.open-right),\n.sek-dropdown-menu ul.open-left {\n right: 100%;\n left: auto;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] {\n overflow: auto;\n max-height: 80vh;\n padding-bottom: 10px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li a {\n font-size: 0.88em;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li > a {\n padding: .6em 32px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li li > a {\n padding: .6em 60px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li li li > a {\n padding: .6em 80px;\n}\n\nnav.nb-collapsible-mobile-menu li .sub-menu li li li li > a {\n padding: .6em 100px;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state] {\n display: none;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] {\n display: block;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"],\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] li,\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] ul {\n background: #ffffff;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .sub-menu,\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] li {\n position: relative;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .sek-nav li a {\n min-height: 45px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n justify-content: flex-start;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .sub-menu {\n display: none;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .sub-menu {\n display: none;\n}\n\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .sub-menu.expanded {\n display: block;\n}\n\n/*\r\n* Mobile dropdown on click\r\n*/\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .page_item_has_children > a,\nnav.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .menu-item-has-children > a {\n padding-right: 60px;\n}\n\n.nb-dd-mm-toggle-wrapper {\n position: absolute;\n top: 1px;\n right: 0;\n text-align: center;\n line-height: 1;\n bottom: 1px;\n height: 45px;\n width: 60px;\n}\n\n.nb-collapsible-mobile-menu [data-sek-mm-state=\"expanded\"] .nb-dd-mm-toggle-wrapper {\n display: block;\n}\n\n.nb-dd-mm-toggle {\n background: none !important;\n -webkit-appearance: none;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n display: block;\n height: 45px;\n width: 60px;\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n}\n\n.nb-dd-mm-toggle i {\n display: block;\n -webkit-transition: all .3s ease;\n -o-transition: all .3s ease;\n transition: all .3s ease;\n -webkit-transform-style: preserve-3d;\n -moz-transform-style: preserve-3d;\n transform-style: preserve-3d;\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n backface-visibility: hidden;\n width: 100%;\n color: #000000;\n}\n\nli.expanded > .nb-dd-mm-toggle-wrapper .nb-arrow-for-mobile-menu {\n -webkit-transform: rotate(-180deg);\n -moz-transform: rotate(-180deg);\n transform: rotate(-180deg);\n}\n\n.nb-arrow-for-mobile-menu::after {\n content: \"\\25BE\";\n font-family: \"Arial Unicode MS\", Arial;\n moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n font-weight: 900;\n transition: all 0.3s ease;\n transform-style: preserve-3d;\n backface-visibility: hidden;\n perspective: 1000px;\n padding: 0 .45em;\n font-size: 18px;\n line-height: 45px;\n position: relative;\n}\n\n.nb-loc .sek-module-inner nav .sek-nav-toggler {\n -webkit-appearance: none !important;\n cursor: pointer;\n height: 40px;\n width: 40px;\n padding: 0;\n vertical-align: middle;\n}\n\n.nb-loc .sek-module-inner nav .sek-nav-toggler, .nb-loc .sek-module-inner nav .sek-nav-toggler:hover, .nb-loc .sek-module-inner nav .sek-nav-toggler:focus {\n background: 0 0;\n background-color: rgba(0, 0, 0, 0);\n color: black;\n outline: none;\n border: none;\n}\n\n.sek-ham__span-wrapper {\n height: 12px;\n position: relative;\n display: block;\n}\n\n.sek-ham__span-wrapper .line {\n display: block;\n height: 1.5px;\n position: absolute;\n left: 10px;\n border-radius: 5px;\n background-clip: padding-box;\n transition: all ease .35s;\n backface-visibility: hidden;\n border-top: 1.5px solid;\n}\n\n.sek-ham__span-wrapper .line-1 {\n top: 0;\n}\n\n.sek-ham__span-wrapper .line-2 {\n top: 50%;\n}\n\n.sek-ham__span-wrapper .line-3 {\n top: 100%;\n}\n\n.sek-nav-toggler .line-1 {\n transform: translate(-3px, 6px) rotate(45deg);\n width: 28px;\n}\n\n.sek-nav-toggler .line-2 {\n opacity: 0;\n}\n\n.sek-nav-toggler .line-3 {\n transform: translate(-3px, -6px) rotate(-45deg);\n width: 28px;\n}\n\n.sek-nav-toggler.sek-collapsed .line {\n width: 20px;\n transform: translate(0, 0) rotate(0);\n opacity: 1;\n}\n\n.sek-nav-toggler.sek-collapsed.hovering .line {\n transform: translateX(-3px);\n width: 26px;\n}\n\n.nb-module-menu-search {\n position: relative;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .nb-module-menu-search {\n display: none;\n}\n\n.nb-svg-search-icon {\n cursor: pointer;\n padding: 0;\n}\n\n.nb-module-menu-search .nb-search-expand {\n display: none;\n background: #fff;\n position: absolute;\n z-index: 100;\n top: 49px;\n right: 0;\n left: 0;\n width: 340px;\n -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);\n box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);\n}\n\n.nb-search-expand .nb-search-expand-inner {\n border: 1px solid #eee;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.15);\n transition: -webkit-transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;\n transition: transform .35s ease-in-out,height .25s ease-in-out,background-color .45s ease-in-out;\n padding: 15px;\n}\n\n.nb-search-expand .nb-search-expand-inner [role=search].search-form label::after {\n content: none;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner [role=search].search-form {\n display: flex;\n float: none;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner label input[type=search] {\n max-width: 100%;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner input[type=submit], [data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search form input[type=submit] {\n margin: 0;\n background: #808080 !important;\n color: #fff;\n font-size: 16px;\n padding: 10px 10px;\n font-weight: normal;\n display: inline-block;\n border: none;\n cursor: pointer;\n -webkit-border-radius: 3px;\n border-radius: 3px;\n}\n\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner input[type=search], [data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search input[type=search],\n[data-sek-module-type=\"czr_menu_module\"] .nb-search-expand .nb-search-expand-inner input[type=submit], [data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search form input[type=submit] {\n text-transform: none !important;\n}\n\n.nb-mobile-search {\n display: none;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search {\n display: block;\n padding: 6px 14px 15px;\n}\n\n[data-sek-is-mobile-vertical-menu=\"yes\"] .nb-mobile-search input {\n font-size: 16px;\n}\n\n.nb-search-expand-inner input[type=\"search\"], .nb-mobile-search input[type=\"search\"] {\n color: #000000 !important;\n}\n\n.nb-search-expand-inner input[type=\"submit\"], .nb-mobile-search input[type=\"submit\"] {\n color: #ffffff !important;\n}\n\n/*************************************\r\n* IMAGE MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_image_module\"] {\n text-align: center;\n}\n\n[data-sek-module-type=\"czr_image_module\"] img {\n border: 0 solid #f2f2f2;\n}\n\n[data-sek-module-type=\"czr_image_module\"] .box-shadow img {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;\n}\n\n/* image module transitions for better animations when effects are used */\n[data-sek-module-type=\"czr_image_module\"] figure img {\n -webkit-transition: all 0.2s ease-out;\n -o-transition: all 0.2s ease-out;\n transition: all 0.2s ease-out;\n}\n\n[data-sek-module-type=\"czr_image_module\"] figure.has-custom-height {\n overflow: hidden;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_image_module\"] figure.has-custom-height img {\n object-fit: cover;\n}\n\n.sek-hover-effect-opacity img:hover {\n opacity: .7;\n}\n\n.sek-hover-effect-zoom-out img:hover {\n transform: scale(1.05);\n}\n\n.sek-hover-effect-zoom-in img:hover {\n transform: scale(0.95);\n}\n\n.sek-hover-effect-move-up img:hover {\n transform: translateY(-6px);\n}\n\n.sek-hover-effect-move-down img:hover {\n transform: translateY(6px);\n}\n\n.sek-hover-effect-blur img:hover {\n filter: blur(2px);\n}\n\n.sek-hover-effect-grayscale img:hover {\n filter: grayscale(0%);\n}\n\n.sek-hover-effect-grayscale img:hover {\n filter: grayscale(100%);\n filter: gray;\n}\n\n.sek-hover-effect-reverse-grayscale img {\n filter: grayscale(100%);\n filter: gray;\n}\n\n.sek-hover-effect-reverse-grayscale img:hover {\n filter: grayscale(0%);\n}\n\n/*************************************\r\n* NIMBLE IMAGE MODULE\r\n*************************************/\n.sek-nimble-image-wrapper {\n max-width: 100%;\n overflow: hidden;\n width: 100%;\n position: relative;\n display: block;\n background-position: center center;\n background-size: cover;\n display: flex;\n align-items: center;\n justify-content: center;\n backface-visibility: hidden;\n transform-style: preserve-3d;\n}\n\n.sek-nimble-image-wrapper::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n\n.nb-loc [data-sek-level] .sek-module-inner .sek-nimble-image-wrapper a {\n color: #ffffff;\n}\n\n.nb-loc [data-sek-level] .sek-module-inner .sek-nimble-image-wrapper a:hover {\n color: #ffffff;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 1;\n top: 0;\n display: -webkit-box;\n display: -moz-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-icon {\n font-size: 80px;\n line-height: 1em;\n color: #000000;\n transition: all .3s ease;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-text, .sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-text * {\n color: #000000;\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 400;\n transition: all .3s ease;\n}\n\n.sek-nimble-image-wrapper .nb-icon-text-wrapper .nb-pro-img-text p {\n margin: 0;\n padding: 0;\n}\n\n.sek-nimble-image-wrapper.nb-icon-has-hover-color:hover .nb-pro-img-icon {\n color: #969696;\n}\n\n.sek-nimble-image-mask {\n position: absolute;\n border-color: #fff;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.sek-nimble-image-mask::before {\n position: absolute;\n content: '';\n z-index: 1;\n border: 150vw solid;\n border-color: inherit;\n box-sizing: content-box;\n transition: all .3s ease;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n}\n\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-expand:hover .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-shrink .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-always-expanded .sek-nimble-image-mask::before {\n width: 88%;\n padding-bottom: 88%;\n}\n\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-shrink:hover .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-expand .sek-nimble-image-mask::before,\n.sek-module-inner .sek-nimble-image-wrapper.nb-mask-always-shrinked .sek-nimble-image-mask::before {\n width: 63%;\n padding-bottom: 63%;\n}\n\n.sek-nimble-image-wrapper.nb-circle-mask .sek-nimble-image-mask::before {\n border-radius: 50%;\n}\n\n.sek-nimble-image {\n position: absolute;\n width: 100%;\n height: 100%;\n background-position: center center;\n background-size: cover;\n background-repeat: no-repeat;\n z-index: 0;\n top: 0;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"none\"] > ul {\n list-style-type: none;\n margin-right: 0 !important;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"circle\"] > ul {\n list-style-type: circle;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"disc\"] > ul {\n list-style-type: disc;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"square\"] > ul {\n list-style-type: square;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"decimal\"] > ol {\n list-style-type: decimal;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"lower-alpha\"] > ol {\n list-style-type: lower-alpha;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"lower-roman\"] > ol {\n list-style-type: lower-roman;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"upper-roman\"] > ol {\n list-style-type: upper-roman;\n}\n\n.sek-module-inner [data-sek-adv-list-type=\"upper-alpha\"] > ol {\n list-style-type: upper-alpha;\n}\n\n.sek-module-inner .sek-adv-list-wrapper ul, .sek-module-inner .sek-adv-list-wrapper ol {\n padding: 0;\n line-height: 1.5;\n margin: 0;\n margin-right: 25px;\n}\n\n.sek-module-inner .sek-adv-list-wrapper ul li, .sek-module-inner .sek-adv-list-wrapper ol li {\n text-indent: 0px;\n}\n\n.sek-module-inner [data-sek-adv-list-layout=\"vertical\"] ul li, .sek-module-inner [data-sek-adv-list-layout=\"vertical\"] ol li {\n display: list-item;\n}\n\n.sek-module-inner [data-sek-adv-list-layout=\"horizontal\"] ul li, .sek-module-inner [data-sek-adv-list-layout=\"horizontal\"] ol li {\n display: inline-block;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-inner {\n display: -ms-flexbox;\n display: flex;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text {\n -webkit-transition: color 0.2s ease-in-out;\n -o-transition: color 0.2s ease-in-out;\n transition: color 0.2s ease-in-out;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text p {\n margin: 0;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text a {\n cursor: pointer;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-text a:hover {\n text-decoration: underline;\n}\n\n.sek-module-inner .sek-adv-list-item .sek-adv-list-item-icon {\n margin-right: 10px;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n -webkit-box-flex: 0;\n -ms-flex-positive: 0;\n flex-grow: 0;\n}\n\n.sek-module-inner .sek-adv-list-item [data-sek-icon-border=\"circle\"], .sek-module-inner .sek-adv-list-item [data-sek-icon-border=\"square\"] {\n border: 1px solid;\n width: 2.2em;\n height: 2.2em;\n display: -ms-flexbox;\n display: -webkit-box;\n display: flex;\n -ms-flex-align: center;\n -webkit-box-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.sek-module-inner .sek-adv-list-item [data-sek-icon-border=\"circle\"] {\n border-radius: 2em;\n}\n\n/*************************************\r\n* DIVIDER MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_divider_module\"] {\n text-align: center;\n}\n\n[data-sek-module-type=\"czr_divider_module\"] .sek-module-inner {\n font-size: 0;\n line-height: 0;\n}\n\n.sek-module-inner .sek-divider {\n border-top: 1px solid #5a5a5a;\n display: inline-block;\n width: 100%;\n margin-top: 15px;\n margin-bottom: 15px;\n font-size: 1rem;\n}\n\n/*************************************\r\n* SPACER MODULE\r\n*************************************/\n.sek-module-inner .sek-spacer {\n height: 20px;\n}\n\n/*************************************\r\n* ICON MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_icon_module\"] {\n text-align: center;\n color: #5a5a5a;\n font-size: 15px;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:hover,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:focus,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:active,\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon.active {\n color: inherit;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .box-shadow .sek-icon-wrapper {\n -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n -moz-box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px;\n box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .sek-icon i {\n -webkit-transition: all 0.15s ease-in-out;\n -o-transition: all 0.15s ease-in-out;\n transition: all 0.15s ease-in-out;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .sek-icon .fas, [data-sek-module-type=\"czr_icon_module\"] .sek-icon .far, [data-sek-module-type=\"czr_icon_module\"] .sek-icon .fab {\n width: 1em;\n height: 1em;\n text-align: center;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon {\n box-shadow: none;\n -webkit-box-shadow: none;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] a.sek-icon:hover, [data-sek-module-type=\"czr_icon_module\"] a.sek-icon:focus, [data-sek-module-type=\"czr_icon_module\"] a.sek-icon:active {\n box-shadow: none;\n -webkit-box-shadow: none;\n}\n\n[data-sek-module-type=\"czr_icon_module\"] .sek-icon-wrapper {\n display: inline-block;\n line-height: 1em;\n}\n\n/*************************************\r\n* QUOTE MODULE\r\n*************************************/\n.sek-quote p {\n margin: 0 0 .5em;\n padding: 0;\n}\n\n.sek-quote .sek-cite {\n font-size: 14px;\n line-height: 1.5em;\n font-style: inherit;\n}\n\n.sek-quote[data-sek-quote-design=\"none\"] {\n border-left: none;\n}\n\n.sek-quote .sek-quote-content {\n font-weight: 400;\n font-size: 1.2em;\n line-height: 1.5em;\n color: inherit;\n}\n\n.sek-quote.sek-quote-design {\n background: none;\n font-style: inherit;\n margin-right: 0;\n margin-left: 0;\n padding: 15px 0;\n border: none;\n}\n\n.sek-quote.sek-quote-design > * {\n padding: 0;\n margin: 0;\n}\n\n.sek-quote.sek-quote-design::before, .sek-quote.sek-quote-design::after {\n display: none;\n}\n\n.sek-quote.sek-quote-design .sek-cite {\n padding: 0;\n font-weight: normal;\n}\n\n.sek-quote.sek-quote-design .sek-cite::before {\n display: none;\n}\n\n.sek-quote.sek-quote-design .sek-quote-inner {\n color: inherit;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-inner {\n padding-right: calc( 10px + 0.7 * 50px);\n}\n\n.sek-quote.sek-quote-design.sek-border-before {\n padding-right: 15px;\n border-right: 5px solid rgba(0, 0, 0, 0.1);\n}\n\n.sek-quote.sek-quote-design.sek-border-before .sek-cite {\n clear: both;\n display: block;\n margin-top: 1.5em;\n position: relative;\n padding-right: 2.2em;\n padding-left: 0.25em;\n}\n\n.sek-quote.sek-quote-design.sek-border-before .sek-cite::before {\n display: block;\n content: '';\n top: 1em;\n position: absolute;\n background: none;\n width: 2em;\n height: auto;\n right: 0;\n border-top: 1px solid;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before {\n position: relative;\n display: flex;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before .sek-quote-content *:last-child {\n margin-bottom: .75em;\n}\n\n.sek-quote.sek-quote-design.sek-quote-icon-before::before {\n content: \"\\275D\";\n font-family: \"Arial Unicode MS\", Code2000;\n font-size: 50px;\n line-height: 1em;\n color: #ccc;\n font-style: normal;\n text-align: center;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-variant: normal;\n text-rendering: auto;\n display: flex;\n width: auto;\n margin: 0;\n right: 0;\n position: absolute;\n top: 10px;\n}\n\n/*************************************\r\n* BUTTON MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_button_module\"] .sek-module-inner {\n text-align: center;\n}\n\n.nb-loc .sek-module .sek-module-inner .sek-btn {\n background: #020202;\n color: #ffffff;\n padding: 0.5em 1em;\n margin: 0.5em;\n}\n\n.nb-loc .sek-module .sek-module-inner .sek-btn i {\n margin: 0 8px;\n}\n\n.nb-loc .sek-module .sek-module-inner .sek-btn:hover, .nb-loc .sek-module .sek-module-inner .sek-btn:focus, .nb-loc .sek-module .sek-module-inner .sek-btn:active {\n color: #ffffff;\n background-color: #282828;\n text-decoration: none;\n}\n\n[data-sek-module-type=\"czr_button_module\"] .sek-module-inner .sek-btn:focus, [data-sek-module-type=\"czr_button_module\"] .sek-module-inner .sek-btn:hover {\n text-decoration: none;\n}\n\n.sek-btn-inner {\n display: flex;\n align-items: center;\n}\n\n.sek-btn-inner .sek-btn-text {\n width: 100%;\n text-align: center;\n}\n\n.sek-btn.box-shadow {\n -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n}\n\n.sek-btn.box-shadow.push-effect:active {\n transform: translateY(2px);\n}\n\n/*************************************\r\n* POST GRID MODULE\r\n*************************************/\n.sek-post-grid-wrapper {\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n}\n\n.sek-post-grid-wrapper .sek-grid-items {\n grid-row-gap: 25px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-list-layout article > *:not(:last-child):not(.sek-pg-thumbnail) {\n margin-bottom: 10px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-grid-layout article > *:not(:last-child) {\n margin-bottom: 10px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article {\n overflow: hidden;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article > :first-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article > :last-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article > *:not(:last-child) {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content > *:not(:last-child) {\n margin-top: 0 !important;\n margin-bottom: 10px;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content > :first-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items article .sek-pg-content > :last-child {\n margin-top: 0 !important;\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article {\n -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.05);\n box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.05);\n -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n -o-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);\n}\n\n.sek-post-grid-wrapper .sek-grid-items.sek-shadow-on-hover article:hover {\n -webkit-transform: translateY(-4px);\n -ms-transform: translateY(-4px);\n transform: translateY(-4px);\n -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18), 0 10px 10px rgba(0, 0, 0, 0.15);\n box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18), 0 10px 10px rgba(0, 0, 0, 0.15);\n}\n\n.sek-post-grid-wrapper .sek-pg-thumbnail {\n background: inherit;\n overflow: hidden;\n}\n\n.sek-post-grid-wrapper .sek-pg-thumbnail img {\n box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);\n border-radius: 4px;\n}\n\n.sek-post-grid-wrapper .sek-pg-thumbnail a {\n display: block;\n position: relative;\n}\n\n.sek-post-grid-wrapper .sek-pg-thumbnail img {\n display: block;\n width: 100%;\n height: auto;\n}\n\n.sek-post-grid-wrapper.nb-thumb-box-shadow article .sek-pg-thumbnail img {\n -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);\n}\n\n.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {\n height: 0;\n padding-top: 65%;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail a {\n height: auto !important;\n padding-top: inherit !important;\n }\n}\n\n.sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail img {\n position: absolute;\n height: 100%;\n width: 100%;\n max-height: none;\n max-width: none;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n -o-object-fit: cover;\n object-fit: cover;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-thumb-custom-height .sek-pg-thumbnail img {\n height: auto !important;\n position: relative;\n }\n}\n\n.sek-post-grid-wrapper .sek-pg-metas > span:not(:last-child)::after {\n content: \"\\B7\";\n vertical-align: middle;\n margin: 0 5px;\n line-height: 1;\n}\n\n.sek-post-grid-wrapper .sek-pg-content {\n text-align: right;\n}\n\n.sek-post-grid-wrapper .sek-excerpt > :last-child {\n margin-bottom: 0;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category {\n line-height: 1.2em;\n color: #767676;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category a {\n text-transform: uppercase;\n font-size: 13px;\n text-decoration: none;\n color: #767676;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-category a:hover {\n color: inherit;\n text-decoration: underline;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title {\n font-size: 28px;\n line-height: 1.1em;\n}\n\n@media (max-width: 991.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title {\n font-size: 22px;\n }\n}\n\n@media (max-width: 575.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title {\n font-size: 20px;\n }\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a {\n text-decoration: none;\n color: #121212;\n font-size: 28px;\n font-weight: 400;\n line-height: 1.1em;\n -ms-word-wrap: break-word;\n word-wrap: break-word;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a:hover {\n color: #666;\n}\n\n@media (max-width: 991.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a {\n font-size: 22px;\n }\n}\n\n@media (max-width: 575.98px) {\n .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-title a {\n font-size: 20px;\n }\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas {\n line-height: 1.2em;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas span, .nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas a {\n text-transform: uppercase;\n font-size: 13px;\n letter-spacing: 1px;\n color: #767676;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-metas a:hover {\n text-decoration: underline;\n color: inherit;\n}\n\n.nb-loc .sek-module-inner .sek-post-grid-wrapper .sek-pg-content p {\n margin: 0 0 10px 0;\n line-height: 1.3em;\n font-size: 14px;\n color: #555;\n}\n\n.sek-post-grid-wrapper .sek-list-layout {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: minmax(0, 1fr);\n grid-template-columns: minmax(0, 1fr);\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-list-layout {\n display: block !important;\n }\n}\n\n.sek-post-grid-wrapper .sek-list-layout article {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: minmax(0, 1fr);\n grid-template-columns: minmax(0, 1fr);\n -ms-grid-rows: 1fr;\n grid-template-rows: 1fr;\n grid-column-gap: 20px;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-list-layout article {\n display: block !important;\n padding-top: 10px;\n }\n}\n\n.sek-post-grid-wrapper .sek-list-layout article > *:nth-child(1) {\n -ms-grid-row: 1;\n -ms-grid-column: 1;\n}\n\n.sek-post-grid-wrapper .sek-list-layout article.sek-has-thumb {\n -ms-grid-columns: 30% minmax(0, 1fr);\n grid-template-columns: 30% minmax(0, 1fr);\n}\n\n.sek-post-grid-wrapper .sek-list-layout article .sek-pg-thumbnail {\n margin-bottom: 0;\n -ms-flex-item-align: start;\n align-self: flex-start;\n}\n\n.sek-post-grid-wrapper .sek-grid-layout {\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: 1fr 20px 1fr;\n grid-template-columns: 1fr 1fr;\n -ms-grid-rows: 1fr;\n grid-template-rows: 1fr;\n grid-row-gap: 20px;\n grid-column-gap: 20px;\n}\n\n@media all and (-ms-high-contrast: none) {\n .sek-post-grid-wrapper .sek-grid-layout {\n display: block !important;\n }\n}\n\n.sek-post-grid-wrapper .sek-grid-layout > *:nth-child(1) {\n -ms-grid-row: 1;\n -ms-grid-column: 1;\n}\n\n.sek-post-grid-wrapper .sek-grid-layout > *:nth-child(2) {\n -ms-grid-row: 1;\n -ms-grid-column: 3;\n}\n\n.sek-module-inner .nb-masonry-post-grid .sek-grid-items.nb-masonry-grid-images-loaded {\n grid-auto-rows: 5px;\n}\n\n.sek-module-inner .nb-masonry-post-grid .sek-grid-items article {\n overflow: hidden;\n}\n\n.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail a {\n height: auto;\n padding-top: 0;\n}\n\n.sek-module-inner .nb-masonry-post-grid .sek-grid-items.sek-thumb-no-custom-height .sek-pg-thumbnail img {\n position: relative;\n height: auto;\n width: 100%;\n}\n\n.sek-module-inner .nb-item-box-shadow .sek-grid-items article {\n -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);\n}\n\n.sek-post-navigation #sek-nav-below {\n background-color: #f7f8f9;\n margin-top: 20px;\n padding: 5px;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination {\n text-align: center;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination ul {\n display: inline-block;\n vertical-align: middle;\n margin: 0;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .page-numbers {\n font-family: inherit;\n opacity: 0.7;\n text-decoration: none !important;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .current {\n font-weight: 600;\n opacity: 1;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .sek-pag-list > * {\n margin: 0 5px;\n}\n\n.sek-post-navigation #sek-nav-below .sek-pagination .sek-pag-list {\n margin: 0 -5px;\n}\n\n.sek-post-navigation #sek-nav-below nav {\n padding-top: 20px;\n padding-bottom: 20px;\n}\n\n.sek-post-navigation #sek-nav-below ul.sek-czr-pager {\n margin: 0;\n}\n\n.sek-post-navigation #sek-nav-below li {\n display: inline-block;\n font-size: 16px;\n}\n\n.sek-post-navigation #sek-nav-below a, .sek-post-navigation #sek-nav-below .sek-meta-nav-title {\n text-transform: uppercase;\n letter-spacing: 2px;\n color: #5A5A5A;\n}\n\n.sek-post-navigation #sek-nav-below a:hover, .sek-post-navigation #sek-nav-below .sek-meta-nav-title:hover {\n color: #3b3b3b;\n opacity: 1 !important;\n}\n\n.sek-post-navigation #sek-nav-below .sek-czr-pager > li {\n display: block;\n}\n\n.sek-post-navigation #sek-nav-below .sek-nav-dir {\n display: block;\n}\n\n.sek-post-navigation #sek-nav-below .sek-nav-dir > a {\n max-width: 100%;\n}\n\n.sek-post-navigation #sek-nav-below a i.arrow {\n font-size: 0.9em;\n}\n\n.sek-post-navigation #sek-nav-below .page-numbers, .sek-post-navigation #sek-nav-below a {\n font-family: inherit;\n line-height: 30px;\n height: 30px;\n display: inline-block;\n vertical-align: middle;\n transition: all 0.3s ease;\n position: relative;\n}\n\n.sek-post-navigation #sek-nav-below .sek-meta-nav {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n transition: all .2s,.6s ease;\n opacity: .7;\n}\n\n.sek-post-navigation #sek-nav-below a:hover .sek-meta-nav {\n opacity: 1;\n text-decoration: underline;\n}\n\n.sek-post-navigation #sek-nav-below .sek-meta-nav-title {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n vertical-align: middle;\n font-size: 0.9em;\n}\n\n/*************************************\r\n* SIMPLE FORM MODULE\r\n*************************************/\n.sek-simple-form-wrapper input[type=text], .sek-simple-form-wrapper textarea {\n font-size: 16px;\n width: 100% !important;\n padding: 0.4em 0.5em;\n border-radius: 3px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n outline: none;\n font-weight: normal;\n max-width: 100%;\n border: none;\n color: #555555;\n background-color: #ffffff;\n}\n\n.sek-simple-form-wrapper textarea {\n height: auto;\n max-height: 150px;\n}\n\n.sek-simple-form-wrapper .sek-form-field {\n margin-bottom: 15px;\n clear: both;\n}\n\n.sek-simple-form-wrapper label {\n color: #444444;\n font-weight: bold;\n text-align: left;\n margin: 0;\n padding: 0 0 3px 0;\n width: auto;\n display: block;\n}\n\n.sek-simple-form-wrapper.use-outset-shadow .sek-form-field input[type=\"text\"], .sek-simple-form-wrapper.use-outset-shadow .sek-form-field textarea {\n -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;\n}\n\n.sek-simple-form-wrapper.use-inset-shadow .sek-form-field input[type=\"text\"], .sek-simple-form-wrapper.use-inset-shadow .sek-form-field textarea {\n -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;\n}\n\n.sek-simple-form-wrapper #sek-form-respond {\n padding: 20px 0;\n}\n\n.sek-simple-form-wrapper input[type=\"checkbox\"] + label {\n display: inline;\n font-weight: bold;\n margin-left: 0.5rem;\n}\n\n.sek-form-message {\n padding: 10px;\n margin: 10px 0;\n text-align: center;\n line-height: 1.5em;\n font-size: 16px;\n border-radius: 4px;\n}\n\n.sek-form-message.sek-mail-failure {\n color: #ff0000;\n border: 1px solid #ff0000;\n background: none;\n background: rgba(255, 0, 0, 0.05);\n}\n\n.sek-form-message.sek-mail-success {\n color: #008000;\n border: 1px solid #008000;\n background: none;\n background: rgba(0, 128, 0, 0.05);\n}\n\n.sek-form-message.sek-mail-aborted {\n color: #ffa500;\n border: 1px solid #ffa500;\n background: none;\n background: rgba(255, 165, 0, 0.05);\n}\n\n.grecaptcha-badge {\n z-index: 1;\n}\n\n.sek-hide-rc-badge .grecaptcha-badge {\n display: none;\n}\n\n.sek-show-rc-badge .grecaptcha-badge {\n display: block;\n visibility: visible !important;\n}\n\n/*************************************\r\n* TINY MCE EDITOR MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_tiny_mce_editor_module\"] a {\n text-decoration: underline;\n}\n\n/*************************************\r\n* SOCIAL ICONS MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_social_icons_module\"] .sek-module-inner .sek-social-icons-wrapper {\n margin: 10px 0;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper {\n text-align: center;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > *:not(:last-child) {\n padding-right: 8px;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li {\n display: inline-block;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li a {\n color: #707070;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li .sek-social-icon {\n font-size: 28px;\n line-height: 1.5em;\n}\n\n.nb-loc .sek-module-inner .sek-social-icons-wrapper > li .sek-social-icon {\n -webkit-transition: all 0.2s ease-in-out;\n -o-transition: all 0.2s ease-in-out;\n transition: all 0.2s ease-in-out;\n}\n\n/*************************************\r\n* IMAGE SLIDER MODULE\r\n*************************************/\n.sek-column-inner [data-sek-module-type=\"czr_img_slider_module\"] {\n width: calc(100% + 20px);\n max-width: calc(100% + 20px);\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] {\n /* SWIPER BULLETS */\n /* SWIPER ARROWS */\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-carousel-img [src*=\"data:image/gif;\"] {\n display: none;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-loading .sek-carousel-img img {\n display: none;\n}\n\n.customizer-preview .swiper-wrapper .swiper-lazy-preloader {\n display: none;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container {\n width: 100%;\n height: 100%;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container .swiper-wrapper {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n height: 400px;\n}\n\n@media (max-width: 575.98px) {\n [data-sek-module-type=\"czr_img_slider_module\"] .swiper-container .swiper-wrapper {\n height: 200px;\n }\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"nimble-wizard\"] .sek-carousel-img {\n height: 100%;\n overflow: hidden;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"nimble-wizard\"] .sek-carousel-img img {\n max-width: none;\n opacity: 0;\n -webkit-transition: opacity 0.15s ease-in-out;\n -moz-transition: opacity, 0.15s ease-in-out;\n -ms-transition: opacity, 0.15s ease-in-out;\n -o-transition: opacity, 0.15s ease-in-out;\n transition: opacity 0.15s ease-in-out;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"height-100\"] .sek-carousel-img {\n height: 100%;\n width: auto;\n overflow: hidden;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"height-100\"] .sek-carousel-img img {\n width: auto;\n height: 100%;\n max-width: none;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"cover\"] .sek-carousel-img {\n height: 100%;\n width: 100%;\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-container[data-sek-image-layout=\"cover\"] .sek-carousel-img img {\n width: 100%;\n height: 100%;\n max-width: none;\n object-fit: cover;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide {\n text-align: center;\n font-size: 18px;\n /* Center slide image vertically */\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img {\n width: 100%;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img img {\n width: 100%;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img img.sek-h-centrd {\n width: auto !important;\n max-width: none !important;\n position: relative;\n opacity: 1;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-carousel-img img.sek-v-centrd {\n height: auto !important;\n max-height: none !important;\n vertical-align: top;\n position: relative;\n max-width: none !important;\n opacity: 1;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide[data-sek-has-overlay=\"true\"] .sek-carousel-img::after {\n content: '';\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n position: absolute;\n background-color: #000000;\n opacity: 0.3;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-slider-text-wrapper {\n height: 100%;\n width: 100%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform: translate3d(-50%, -50%, 0);\n transform: translate3d(-50%, -50%, 0);\n top: 50%;\n left: 50%;\n position: absolute;\n /* Center slide text vertically\r\n => consistent with defaults in module registration */\n display: -webkit-box;\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-slider-text-content {\n height: auto;\n max-height: 100%;\n width: 100%;\n padding: 5%;\n text-align: center;\n z-index: 3;\n overflow: hidden;\n color: #e2e2e2;\n font-size: 16px;\n line-height: 1.5em;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-slide .sek-slider-text-content * {\n font-size: 16px;\n line-height: 1.5em;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .swiper-pagination-bullet-active {\n background-color: #ffffff;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav {\n cursor: pointer;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-chevron {\n display: inline-block;\n border-right: 2px solid #ffffff;\n border-bottom: 2px solid #ffffff;\n width: 11px;\n height: 11px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev {\n left: 0;\n border-top-left-radius: 0px;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n border-bottom-left-radius: 0px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev .sek-chevron {\n -webkit-transform: rotate(-225deg);\n -ms-transform: rotate(-225deg);\n transform: rotate(-225deg);\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next {\n right: 0;\n border-top-left-radius: 2px;\n border-top-right-radius: 0px;\n border-bottom-right-radius: 0px;\n border-bottom-left-radius: 2px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next .sek-chevron {\n -webkit-transform: rotate(-45deg);\n -ms-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev, [data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next {\n position: absolute;\n z-index: 2;\n top: calc((100% - 60px)/2);\n text-align: center;\n margin-top: 0px;\n -webkit-backface-visibility: hidden;\n -moz-backface-visibility: hidden;\n -ms-backface-visibility: hidden;\n -o-backface-visibility: hidden;\n backface-visibility: hidden;\n display: block;\n height: 60px;\n width: 50px;\n opacity: 0.6;\n background-color: rgba(32, 32, 32, 0.4);\n -webkit-transition: all 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);\n transition: all 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);\n line-height: 64px;\n cursor: pointer;\n font-size: 18px;\n}\n\n[data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-prev:hover, [data-sek-module-type=\"czr_img_slider_module\"] .sek-swiper-nav .sek-swiper-next:hover {\n background-color: rgba(32, 32, 32, 0.7);\n opacity: 1;\n width: 100px;\n}\n\n@media (max-width: 575.98px) {\n [data-sek-module-type=\"czr_img_slider_module\"] [data-sek-hide-nav-on-mobile=\"true\"] .swiper-pagination {\n display: none;\n }\n [data-sek-module-type=\"czr_img_slider_module\"] [data-sek-hide-nav-on-mobile=\"true\"] .sek-swiper-nav {\n display: none;\n }\n}\n\n/*************************************\r\n* ACCORDION MODULE\r\n*************************************/\n.sek-accord-wrapper {\n text-align: left;\n}\n\n.sek-accord-wrapper .sek-accord-item {\n border: 1px solid #e3e3e3;\n overflow: hidden;\n}\n\n.sek-accord-wrapper .sek-accord-item:not(:last-child) {\n margin-bottom: 0px;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title {\n cursor: pointer;\n color: #565656;\n background: #ffffff;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n padding: 15px 20px;\n border-top: none;\n border-right: none;\n border-left: none;\n border-bottom: 1px solid #e3e3e3;\n font-size: 16px;\n line-height: 1.5em;\n font-weight: 600;\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title:hover * {\n color: #1e261f;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title:hover .expander span {\n background: #1e261f;\n}\n\n[data-sek-expanded=\"true\"] .sek-accord-title * {\n color: #1e261f;\n}\n\n[data-sek-expanded=\"true\"] .sek-accord-title .expander span {\n background: #1e261f;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .sek-inner-accord-title {\n padding-right: 10px;\n max-width: calc(100% - 30px);\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .sek-inner-accord-title, .sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span {\n -webkit-transition: all 0.15s ease-in-out;\n -moz-transition: all, 0.15s ease-in-out;\n -ms-transition: all, 0.15s ease-in-out;\n -o-transition: all, 0.15s ease-in-out;\n transition: all 0.15s ease-in-out;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander {\n color: #1e261f;\n width: 30px;\n height: 30px;\n padding: 0;\n margin: 0;\n outline: none;\n border: 0;\n background: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n font-size: 1.5em;\n position: relative;\n cursor: pointer;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span {\n position: absolute;\n -webkit-transition: .3s;\n -o-transition: .3s;\n transition: .3s;\n background: #565656;\n border-radius: 2px;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span:first-of-type {\n top: 25%;\n bottom: 25%;\n width: 10%;\n left: 45%;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-title .expander span:last-of-type {\n left: 25%;\n right: 25%;\n height: 10%;\n top: 45%;\n}\n\n[data-sek-expanded=\"true\"] .expander span:first-of-type, [data-sek-expanded=\"true\"] .expander span:last-of-type {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n[data-sek-expanded=\"true\"] .expander span:last-of-type {\n left: 50%;\n right: 50%;\n}\n\n[data-sek-has-global-border=\"true\"][data-sek-has-title-border=\"true\"] [data-sek-expanded=\"false\"] .sek-accord-title {\n border-bottom: none;\n}\n\n[data-sek-has-global-border=\"true\"][data-sek-has-title-border=\"true\"] .sek-accord-item:not(:last-child) {\n border-bottom: none;\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] .sek-accord-title .expander span:first-of-type, .sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] .sek-accord-title .expander span:last-of-type {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] .sek-accord-title .expander span:last-of-type {\n left: 50%;\n right: 50%;\n}\n\n.sek-accord-wrapper .sek-accord-item .sek-accord-content {\n padding: 15px 20px;\n background: #f2f2f2;\n color: #1e261f;\n font-size: 16px;\n line-height: 1.5em;\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"true\"] > .sek-accord-content {\n display: block;\n}\n\n.sek-accord-wrapper .sek-accord-item[data-sek-expanded=\"false\"] > .sek-accord-content {\n display: none;\n}\n\n/*************************************\r\n* SHORTCODE MODULE\r\n*************************************/\n[data-sek-module-type=\"czr_shortcode_module\"] [data-sek-use-flexbox=\"true\"] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n\n.sek-module-inner {\n line-height: 1.5em;\n}\n\n.sek-module-inner h1, .sek-module-inner h2, .sek-module-inner h3, .sek-module-inner h4, .sek-module-inner h5, .sek-module-inner h6, .sek-module-inner p {\n line-height: 1.5em;\n font-weight: 400;\n margin: 0.6em 0;\n}\n\n.sek-module-inner h1 {\n font-size: 2.48em;\n}\n\n.sek-module-inner h2 {\n font-size: 2.07em;\n}\n\n.sek-module-inner h3 {\n font-size: 1.73em;\n}\n\n.sek-module-inner h4 {\n font-size: 1.44em;\n}\n\n.sek-module-inner h5 {\n font-size: 1.2em;\n}\n\n.sek-module-inner h6 {\n font-size: 1em;\n}\n\n.sek-module-inner p {\n margin: 0 0 1em;\n padding: 0;\n}\n\n.sek-module-inner a {\n text-decoration: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n -webkit-transition: color 0.2s ease-in-out;\n -o-transition: color 0.2s ease-in-out;\n transition: color 0.2s ease-in-out;\n}\n\n.sek-module-inner img {\n height: auto;\n max-width: 100%;\n border: none;\n -webkit-border-radius: 0;\n border-radius: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n\n[data-sek-module-type=\"czr_tiny_mce_editor_module\"] .sek-module-inner a:not(.wp-block-button__link),\n[data-sek-module-type=\"czr_shortcode_module\"] .sek-module-inner a:not(.wp-block-button__link),\n[data-sek-module-type=\"czr_accordion_module\"] .sek-module-inner a:not(.wp-block-button__link),\n[data-sek-module-type=\"czr_simple_html_module\"] .sek-module-inner a:not(.wp-block-button__link) {\n text-decoration: underline;\n}\n\nbody .sektion-wrapper .sek-row [data-sek-leve
|